/*
@font-face {
    font-family: 'HannariMincho';
    font-weight: normal;
    src: url(../fonts/HannariMincho-Regular.otf) format('opentype');
}

@font-face {
    font-family: 'NotoSansJP';
    font-weight: normal;
    src: url(../fonts/NotoSansJP-Regular.ttf) format('truetype');
}
@font-face {
    font-family: 'NotoSansJP';
    font-weight: bold;
    src: url(../fonts/NotoSansJP-Bold.ttf) format('truetype');
}
*/

:root {
    --main-color: rgba(153,199,52,1);
    --main-color-opacity: 153,199,52;
    --accent-color: rgba(255,204,204,1);
    --accent-color-opacity: 255,204,204;
    --text-color: rgba(26,26,26,1);
    --text-color-opacity: 26,26,26;
    --clear-color: rgba(255,255,255,1);
    --clear-color-opacity: 255,255,255;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,
body{
    font-size: clamp(16px, 1.1vw, 18px);
    overflow-x: hidden;
}
@media (max-width: 768px) {
    html,
    body{
        font-size: clamp(14px, 1vw, 16px);
        overflow-x: hidden;
    }
}
body{
    font-family: sans-serif;
    color: var(--text-color);
    letter-spacing: .15rem;
    line-height: 1.8;
}
h1,h2,h3,h4,h5{
    font-family: serif;
    font-weight: normal;
}
ul,ol,li{
    list-style-type: none;
}
img{
    width: 100%;
    height: auto;
    vertical-align: bottom;
}
a{
    text-decoration: none;
    display: block;
}

body{
    display: grid;
    grid-template-columns: 50vw calc(50vw - 76px) 60px;
}

body > header{
    grid-column: 2 / -1;
    grid-row: 1;
}
body > #slider{
    grid-column: 1;
    grid-row: 1 / 4;
    position: relative;
    overflow: hidden;
}
body > #slider > div{
    position: fixed;
    top: 0;
    left: 0;
    width: 50%;
    height: 100vh;
    display: grid;
}
#main-slider,
#thumbnail-slider{
    grid-column: 1;
    grid-row: 1;
}
#main-slider img{
    height: 100vh;
    object-fit: cover;
    object-position: top;
}
#thumbnail-slider{
    align-self: flex-end;
    z-index: 2;
}
ul.banner{
    grid-column: 3;
    grid-row: 1 / 4;
}
body > main{
    grid-column: 2;
    grid-row: 2;
}
body > p{
    grid-column: 2;
    grid-row: 3;
    width: 90%;
    margin: 0 auto;
}
body > footer{
    grid-column: 2 / -1;
    grid-row: 4;
}


body > header{
    padding: 1rem;
}
body > header > section{
    display: flex;
    justify-content: space-between;
}
body > header > section > h1{
    max-width: 15rem;
    width: 90%;
}
#nav-toggle{
    z-index: 100;
    width: 4rem;
    height: 4rem;
    background: var(--main-color);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .5rem;
}
#nav-toggle span{
    background: var(--clear-color);
    width: 2rem;
    height: .15rem;
    transition: 0.3s ease-in-out;
}
.open #nav-toggle{
    gap: 0;
}
.open #nav-toggle span:nth-child(1) {
    transform: rotate(-45deg) translateY(.1rem);
}
.open #nav-toggle span:nth-child(2) {
    display: none;
}
.open #nav-toggle span:nth-child(3) {
    transform: rotate(45deg) translateY(-.1rem);
}

header nav{
    display: none;
}


.open header h1 a img{
    z-index: 30;
    position: fixed;
    top: 7rem;
    left: 75%;
    transform: translateX(-50%);
    max-width: 15rem;
}

.open header nav{
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    width: 50vw;
    height: 100vh;
    background: var(--clear-color);
    z-index: 20;
}
.open header nav ul{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    position: fixed;
    top: 10rem;
    left: 75%;
    transform: translateX(-50%);
    padding: 2rem 0;
}
.open header nav ul::before{
    content: "";
    border-bottom: 4px dotted var(--main-color);
    width: 17rem;
}
.open header nav ul::after{
    content: "";
    border-top: 4px dotted var(--main-color);
    width: 17rem;
}
.open header nav ul li a{
    color: var(--text-color);
}

@media (max-width: 768px) {
    .open header h1 a img{
        top: 5rem;
        left: 50%;
        max-width: 13rem;
    }
    .open header nav{
        width: 100vw;
    }
    .open header nav ul{
        gap: .75rem;
        top: 8rem;
        left: 50%;
        font-size: .9rem;
    }
}

ul.banner{
    position: fixed;
    top: 12.25rem;
    right: 0;
    z-index: 100;
    width: 60px;
}
ul.banner li{
    writing-mode: vertical-rl;
    text-orientation: upright;
}
ul.banner li:first-of-type{
    background: var(--accent-color);
}
ul.banner li:last-of-type{
    background: var(--main-color);
}
ul.banner li a{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem .5rem;
}
ul.banner li:first-of-type a{
    color: var(--text-color);
}
ul.banner li:last-of-type a{
    color: var(--clear-color);
}
ul.banner li a::before{
    content: "";
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: .5rem;
}
ul.banner li:first-of-type a::before{
    background-image: url(../images/furisode_site.webp);
    width: 41px;
    height: 41px;
}
ul.banner li:last-of-type a::before{
    background-image: url(../images/ruf_fine.webp);
    width: 41px;
    height: 41px;
}
@media (max-width: 768px) {
    ul.banner{
        top: 7rem;
        width: 40px;
    }
    ul.banner li a{
        font-size: .8rem;
        padding: 1rem .25rem;
    }
    ul.banner li:first-of-type a::before{
        width: 30px;
        height: 30px;
    }
    ul.banner li:last-of-type a::before{
        width: 30px;
        height: 30px;
    }
}





footer{
    padding-top: 4rem;
}
footer h3{
    width: 90%;
    max-width: 30rem;
    margin: 0 auto 2rem;
}
footer section{
    background: var(--main-color);
    padding: 4rem 0;
}
footer section ul{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
}
footer section ul li a{
    color: var(--clear-color);
}
footer section p{
    color: var(--clear-color);
    text-align: center;
}
footer section p small{
    font-size: .8rem;
}
@media (max-width: 768px) {
    footer{
        padding-top: 2rem;
        letter-spacing: 0;
    }
    footer h3{
        width: 70%;
        max-width: 20rem;
        margin: 0 auto 1rem;
    }
    footer section{
        padding: 2.5rem;
    }
    footer section ul{
        gap: 1rem;
        font-size: .9rem;
    }
}

.fbc-page .fbc-wrap .fbc-items{
    background-color: transparent !important;
    font-size: .9rem;
}
.fbc.fbc-page{
    display: flex !important;
    justify-content: center;
}