@charset "utf-8";

:root{
    --darker: #121418;
    --dark: #202226;
    --gray: #5A5C60;
    --offw: #E4E6EA;
    --white: #FFFFFF;
}

html,body{
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-optical-sizing: auto;
    line-height: 1.5;
    position: relative;
}

.dark{
    color: var(--white);
    background-color: var(--darker);
}

.all-view{
    width: 100%;
}

.wrapper{
    width: 100%;
}

.inner{
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
}

h1{
    font-weight: 700;
}

h2{
    font-size: 24px;
    font-weight: 500;
}

h3{
    font-size: 20px;
    font-weight: 700;
}

small{
    font-size: 14px;
    font-weight: 500;
}

.flex{
    display: flex;
    flex-flow: row wrap;
}


/*======== ページヘッダー共通項目 ========*/

.page-header{
    height: 60px;
    border-bottom: 1px solid var(--offw);
    position: absolute;
    top: 0;
    left: 0;
    background-color: #12141880;
}

.page-header .inner{
    padding: 0 12px;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.logo{
    padding:10px 3px 2px;
}

.logo h1{
    height: 48px;
}

.logo img{
    display: block;
    width: auto;
    height: 100%;
}

.menu{
    padding: 12px 0;
}

.menu nav{
    width: auto;
    height: 36px;
}

.menu button{
    display: block;
    width: 42px;
    height: 36px;
    background-color: transparent;
    position: relative;
    z-index: 99;
}

.open button{
    position: fixed;
    right: 18px;
}

.menu button span{
    display: block;
    width: 30px;
    height: 2px;
    border-radius: 2px;
    background-color: var(--white);
    position: absolute;
    transform-origin: center;
    transition: all 0.2s ease-out;
}

.menu button span:first-child{
    top: 10px;
    left: 6px;
}

.menu button span:nth-child(2){
    top: 17px;
    left: 6px;
}

.menu button span:last-child{
    top: 24px;
    left: 6px;
}

.open button span:first-child{
    transform: rotate(45deg);
    top: 18px
}

.open button span:nth-child(2){
    opacity: 0;
}

.open button span:last-child{
    transform: rotate(-45deg);
    top: 18px;
}

.menu-area{
    visibility: hidden;
    overflow: hidden;
    position: fixed;
    top: 0;
    right: 0;
    width: 0;
    min-height: 600px;
    height: 100dvh;
    z-index: 9;
    transition: all 0.2s ease-out;
}

.open .menu-area{
    display: flex;
    visibility: visible;
    width: 100%;
    background-color: #121418F2;
}

.menu-list{
    opacity: 0;
}

.open .menu-list{
    width: 100%;
    padding: 90px 0 0 20vw;
    font-size: 24px;
    font-weight: 500;
    opacity: 1;
}

.open .menu-list li{
    margin-bottom: 6px;
    padding: 6px;
    text-align: left;
}

.open .menu-list a{
    display: inline-block;
    width: 180px;
    padding: 6px 15px;
    box-sizing: border-box;
}

@media (hover: hover) {
    .menu-list a:hover{
        background-color: #5A5C6080;
        color: var(--offw);
    }
}

@media (hover: none) {
    .menu-list a:active{
        background-color: #5A5C6080;
        color: var(--offw);
    }
}


/*======== ページフッター共通項目 ========*/

.page-footer{
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 1px solid var(--offw);
}

.page-footer small{
    display: block;
    text-align: right;
    color: var(--gray);
}



/*======== tablet ========*/

@media screen and (min-width: 768px){

    .inner{
        padding-left: 45px;
        padding-right: 45px;
    }

}

/*======== tabPC ========*/

@media screen and (min-width: 1024px){

    .inner{
        max-width: 1200px;
        padding-left: 30px;
        padding-right: 30px;
        margin: 0 auto;
    }

    h2{
        font-size: 36px;
    }

    h3{
        font-size: 24px;
    }

    small{
        font-size: 15px;
    }

    .page-header{
        height: 90px;
    }

    .page-header .inner{
        padding: 16px 30px 1px;
    }

    .logo{
        padding: 0;
    }

    .logo h1{
        height: 72px;
    }

    .menu button{
        display: none;
    }

    .menu-area{
        visibility: visible;
        position: relative;
        width: auto;
        height: auto;
        min-height: auto;
    }

    .menu-list{
        opacity: 1;
    }

    .menu-list li{
        display: inline-block;
        padding: 6px;
        font-size: 16px;
        font-weight: 500;
        text-shadow: 1px 1px 2px #000;
    }

    .menu-list li a{
        padding: 0 6px;
    }
}


/*======== PC ========*/

@media screen and (min-width: 1200px){

    .page-header .inner{
        max-width: 100%;
        padding: 16px 3vw 1px;
    }

    .menu-list li{
        padding: 6px 12px;
        font-size: 18px;
    }

    .menu-list li a{
        padding: 0 12px;
    }

}
