﻿@charset "UTF-8";

/* 基本設定： ページ全体 */
body {
    margin: 0;
    font-family: 'メイリオ', 'Hiragino Kaku Gothic Pro', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
}

img {
    vertical-align:top;
}


/* メインボタン */
.btn_main {
    display: inline-block;
    padding: 5px 15px 3px 15px;
    border-radius: 3px;
    border: none;
    background-color: #000;
    color: #fff;
    font-size: 12px;
    text-decoration: none;
}

    .btn_main:hover {
        background-image: linear-gradient( rgba(255,255,255,0.5), rgba(255,255,255,0.5) );
    }


/* メニュー */
.menu {
    width: calc(100% - 60px);
    display: flex;
    padding: 10px 10px;
    margin: 90px auto 0 auto;
    border: solid 1px #aaa;
    border-radius: 5px;
    background-color: #EEE;
    align-items: baseline;
    justify-content: space-between;
    font-size: 12px;
}

@media (max-width: 767px) {

    /* 小さい画面用の設定 */
    .menu {
        width: calc(100% - 30px);
    }

        .menu .filter_title {
            display: none;
        }
}

/* 検索ページ */
.modal {
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;
    z-index:50;
}

.modal__bg {
    background: rgba(0,0,0,0.8);
    height: 100vh;
    position: absolute;
    width: 100%;
}

.modal__content {
    background: #fff;
    left: 50%;
    padding: 20px;
    position: absolute;
    top: 90px;
    transform: translateX(-50%);
    width: calc(100% - 80px);
    height: calc(100% - 150px);
    overflow-y: scroll;
}

    .modal__content .modal_header {
        width: 100%;
        display: flex;
        align-items: baseline;
        justify-content: space-between;
        padding: 0 0 10px 0;
    }

        .modal__content .modal_header a {
            text-decoration: none;
            color: #000;
        }

        .modal__content .modal_header span {
            font-size: 28px;
            position: absolute;
            top: 10px;
            right: 10px;
        }



.conModal {
    border: solid 1px #999;
}

    .conModal .container {
        align-items: center;
        background-color: #EEE;
        border-bottom: solid 1px #CCC;
    }

        .conModal .container:last-child {
            border-bottom: none;
        }

.modal__content .pict {
    width: 40px;
}

    .modal__content .pict:hover {
        opacity: 0.8;
    }

.conModal .title {
    padding: 5px;
    font-size: 12px;
    font-weight: bold;
    text-align: center;
}

.conModal .text {
    padding: 5px;
    text-align: center;
    background-color: #FFF;
}

@media (min-width: 768px) {

    /* 大きい画面用の設定 */
    .modal__content {
        padding: 40px;
        width: 80%;
        max-width: 800px;
        height: auto;
    }

    .conModal .container {
        display: flex;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    .conModal .title {
        flex: 0 0 150px;
        text-align: left;
        padding: 0 0 0 50px;
    }

    .conModal .text {
        flex: 1;
        text-align: left;
    }
}

.bread {
    padding: 5px 0 5px 20px;
    font-size: 14px;
}

    .bread .label_filter {
        font-size: 14px;
        color: #906;
    }

    .bread .releace {
        color: #09F;
    }


/* コンテンツD： SNS */
.conD {
    padding: 40px 0;
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

    .conD .container {
        display: flex;
        width: 100%;
        max-width: 920px;
        margin-left: auto;
        margin-right: auto;
        padding: 20px 0 40px 0;
        text-align: center;
        background-color: #CCC;
        border-radius: 6px;
    }

    .conD .sns {
        flex: 1;
        padding: 0;
        margin: 0 20px;
    }

    .conD .title {
        padding: 10px 0;
    }

        .conD .title img {
            height: 18px;
        }

/* ヘッダーC： トグルボタン */
@media (max-width: 767px) {

    /* 小さい画面用の設定 */

    .conD .container {
        flex-direction: column;
        position: relative;
        padding: 10px 0 20px 0;
    }

}

/* ヘッダー */
header {
    height: 70px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    width: 100%;
    background-color: rgba(255,255,255,0.9);
    box-sizing: border-box;
}


/* ヘッダーA: サイト名 */
.headA {
    display: inline-block;
    height: 70px;
    width: 250px;
    background-color: #000;
    text-align: center;
}

    .headA img {
        padding-top: 10px;
        height: 50px;
    }

/* ヘッダーB： ナビゲーションメニュー */
.headB ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.headB a {
    display: block;
    padding: 15px;
    color: inherit;
    font-weight: bold;
    text-decoration: none;
}

    .headB a:hover {
        background-color: rgba(0,0,0,0.2);
    }

.headB .selected {
    background-color: rgba(0,0,0,0.2);
}

/* ヘッダーC： トグルボタン */
@media (max-width: 767px) {
       
    /* 小さい画面用の設定 */
    header .container-small {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .headC {
        padding: 5px 10px;
        margin-right: 10px;
        border: solid 1px #000;
        border-radius: 3px;
        outline: none;
        background: none;
        font-size: 14px;
        cursor: pointer;
        align-items: center;
    }

        .headC span {
            padding-left: 2px;
            font-size: 28px;
            vertical-align: middle;
        }

    .headB {
        display: none;
    }

        .headB ul {
            background-color: rgba(255,255,255,0.9);
        }

        .headB span {
            color: #906;
            font-size: 11px;
            padding: 0 0 0 10px;
            vertical-align: middle;
        }
}

@media (min-width: 768px) {
    /* 大きい画面用の設定 */
    header {
        border: solid 1px #000;
    }

        header .container {
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

    .headB {
        padding: 0 10px;
        display: block !important;
    }

        .headB ul,
        .headB ol {
            display: table;
            width: 100%;
            table-layout: fixed;
            margin: 0;
            padding: 0;
            font-size: 14px;
            line-height: 1.4;
            list-style: none;
        }

        .headB li {
            display: table-cell;
            text-align: center;
            *float: left;
        }

            .headB li img {
                display: block;
                width: 100%;
                padding: 0;
                background-color: #FFF;
            }

            .headB li a {
                display: block;
                padding: 10px 5px 10px 5px;
                color: #000;
                text-decoration: none;
            }

            .headB li span {
                display: block;
                font-size: 10px;
                color: #906;
            }

    .headC {
        display: none;
    }
}

/*メニュー*/
@media (min-width: 768px) and (max-width: 999px) {
    header {
        height: 50px;
    }

    .headA {
        height: 50px;
        width: 200px;
    }

        .headA img {
            padding-top: 5px;
            height: 40px;
        }

    .headB li a {
        font-size: 12px;
    }

    .headB li span {
        font-size: 10px;
    }
}

/*大きい画面*/
@media (min-width: 1000px) {
    .headB li a {
        font-size: 16px;
    }

    .headB li span {
        font-size: 13px;
    }
}


/* フッター */
footer {
    color: #fff;
    /*background-color: #2B5566;*/
    background-image: url(img/footer.jpg);
    background-position: center top;
}

    footer .container {
        padding: 10px 20px 0 20px;
    }


/* フッターD： SNSメニュー */
.footD {
    margin: 0 0 20px 0;
}

    .footD ul {
        display: flex;
        margin: 0;
        list-style: none;
        padding-left: 0;
    }

    .footD a {
        display: block;
        margin: 0 5px 0 0;
        padding: 0;
        text-align: center;
    }

    .footD img {
        width: 35px;
    }

        .footD img:hover {
            opacity: 0.5;
        }


/* フッターC： コピーライト */
.footC {
    padding: 15px 0 5px 0;
    font-size: 12px;
    font-family: 'Montserrat', sans-serif;
}

    .footC .container-footer {
        width: 100%;
        display: flex;
        align-items: baseline;
        justify-content: center;
    }

        .footC .container-footer a {
            padding: 20px 0 0 0;
            text-decoration: none;
            color: #FFF;
        }

            .footC .container-footer a:hover {
                text-decoration: underline;
            }


@media (min-width: 768px) {
    footer .container {
        display: flex;
        flex-wrap: wrap;
        max-width: 1000px;
        margin-left: auto;
        margin-right: auto;
    }

    .footC {
        flex: 0 0 100%;
    }

    .footD ul {
        padding-left: 60px;
    }

    .footD a {
        margin: 0 10px 0 0;
    }
}