/* Slick fade-in on init */
.slick-slider {
    opacity: 0;
    transition: opacity .4s ease;
}
.slick-initialized {
    opacity: 1;
}

/* Fixed plan navigation */
#fixed-plan-nav {
    background: rgba(255, 225, 0, .6);
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    z-index: 1000;
    pointer-events: none;
    opacity: 0;
    translate: 0 100%;
    transition: opacity .3s ease, translate .3s ease;
}
#fixed-plan-nav.is-visible {
    pointer-events: auto;
    opacity: 1;
    translate: 0 0;
}
#fixed-plan-nav {
    font-family: 'Zen Maru Gothic';
    padding-bottom: 1em;
}
#fixed-plan-nav p{
    color: #666;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    margin-top:.6em;
    margin-bottom:.5em;
}
#fixed-plan-nav a {
    box-shadow: 4px 4px 4px rgba(0,0,0,.4);;
    display: block;
    background: #FF76AD;
    border:3px solid #fff;
    border-radius: 40px;
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-left:auto;
    margin-right: auto;
    letter-spacing: .1em;
    padding: .85em 4em;
    text-align: center;
    text-decoration: none;
    width: fit-content;
}

/* Normalize */
body{
    overflow-x: hidden;
}
main {
    margin-top: 0;
    padding-bottom: 4rem;
}
main::before {
    display: none;
}

/* Modules */

.common-wrapper{
    max-width:600px;
    margin-left:auto;
    margin-right:auto;
}
.reserve-buttons {
    display: flex;
    justify-content: center;
    margin-top: 1.571em;
}
.reserve-buttons a {
    color: #fff;
    display: inline-block;
    font-family: 'Noto Sans JP';
    font-size:1.428em;
    letter-spacing: .1em;
    padding: .7em 2em;
}
.reserve-buttons__button--shooting{
    background: #f495ac
}
.reserve-buttons__button--visiting{
    background: #66b7d4
}
.reserve-buttons li + li{
    margin-left: .5rem;
}
.toggle-button{
    border-radius: 26.5px;
    box-shadow: 2px 2px 2px rgba(0,0,0,.2);
    display: block;
    font-weight: 600;
    margin-left: auto;
    margin-right: auto;
    padding: .85em 2.9em .75em 4.1em;
    position: relative;
    width: fit-content;
}
.toggle-button::before{
    content: "";
    height: 3px;
    left: 1.85em;
    position: absolute;
    top: 50%;
    width: 1.15em;
}
.toggle-button::after{
    content: "";
    height: 3px;
    left: 1.85em;
    position: absolute;
    top: 50%;
    transform: rotate(90deg);
    width: 1.15em;
    transition: transform .5s ease;
}
.toggle-button.forPg{
    background: #FFE943;
    color: #666;
}
.toggle-button.forPg::before,.toggle-button.forPg::after{
    background: #666;
}
.toggle-target{
    display: none;
}
.toggle-button.is-open::after{
    transform: rotate(360deg);
}

.link-button{
    border-radius: 26.5px;
    box-shadow: 2px 2px 2px rgba(0,0,0,.2);
    display: block;
    font-weight: 600;
    margin-left: auto;
    margin-right: auto;
    padding: .85em 2.9em .75em;
    position: relative;
    width: fit-content;
}
.link-button.forCg{
    background: #666666;
    color: #fff;
    font-weight: bold;
}

.link-button.forHc{
    color: #666;
    background: #FED8E4;
}

.negative-margin{
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

/* Styles */

#wrapperAll{
    position: relative;
}

#shichigosan-book-header__top {
    align-items: center;
    color: #999;
    display: flex;
    font-family: 'Noto Sans JP';
    justify-content: center;
    letter-spacing: .1em;
    margin-bottom: 1em;
    margin-top: 1em;
    position: relative;
}
.header-top__child--left {
    font-size: clamp(15px, 6vw, 30px);
    font-weight: 500;
    font-weight: 500;
}
.header-top__child--right{
    font-size:.85em;
    margin-left: 1.25em;
}

#shichigosan-book-header__bottom-slick{
    position: relative;
}
#shichigosan-book-header__bottom-slick::after{
    aspect-ratio: 375 / 178;
    background: url(images/753book-top__logo.png);
    background-repeat: no-repeat;
    background-size: cover;
    bottom: -9px;
    content: "";
    left: 0;
    position: absolute;
    width: 100%;
}

#shichigosan-book-main {
    margin-top: 1.642em;
    padding-bottom: 16em;
}

#shichigosan-book-main__first-h2 {
    color: #666;
    font-family: 'Zen Maru Gothic';
    font-weight: bold;
    letter-spacing: .23em;
    text-align: center;
}
#shichigosan-book-main__first-h2 h2 {
    font-size: 1.785em;
}
#shichigosan-book-main__first-h2 p {
    font-size: 1.285em;
    line-height: 1.44;
    margin-top: 1em;
}
#shichigosan-book-main__nav {
    margin-top: 1.714em;
}

#first-nav-h2 {
    color: #666;
    font-family: 'Noto Sans JP';
    letter-spacing: .23em;
    line-height: 1.5;
    margin-top: 1.428em;
    text-align: center;
}
#first-nav-h2 p{
    font-size: 1.142em;
}
#first-nav-h2 h2{
    font-size: 1.785em;
}

#first-nav__top{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left:auto;
    margin-right:auto;
    margin-top:1.642em;
    width:89%;
}
#first-nav__top li{
    width: 48%
}
#first-nav__top li:nth-child(n+3){
    margin-top: 1em;
}

#first-nav__middle{
    margin-top: 1.857em;
}

#first_nav__bottom{
    margin-left: auto;
    margin-right: auto;
    margin-top: 3.357em;
    width: 85%;
}
#first_nav__bottom figure, .shichigosan-style-line-ups__items hgroup, .h2-images-hgroup,.h3-images-hgroup p{
    color: #666;
    font-family: 'Zen Maru Gothic';
    text-align: center;
}
.first-nav-bottom-child{
    position: relative;
    margin-bottom: 1.714em;
    margin-left: auto;
    margin-right: auto;
}
.first-nav-bottom-child.first-nav-bottom-child--guide{
    margin-left: auto;
    margin-right: auto;
    width: 86%;
}
.first-nav-bottom-child.first-nav-bottom-child--shop{
    margin-left: auto;
    margin-right: auto;
    width: 93%;
}
.first-nav-bottom-child::before{
    aspect-ratio: 123 / 58;
    background-size: contain;
    content: "";
    position: absolute;
    width: 47%;
}
.first-nav-bottom-child.first-nav-bottom-child--guide::before{
    background-image: url(images/753book-nav__before-check.png);
    left: -13%;
    top: -7%;
}
.first-nav-bottom-child.first-nav-bottom-child--shop::before{
    background-image: url('images/753book-nav__before-studio.png');
    left: -10%;
    top: -17%;
}
#first_nav__bottom figure figcaption p,.shichigosan-style-line-ups__items hgroup p,.h2-images-hgroup p,.h3-images-hgroup p{
    border-bottom: 1px dashed #000;
    font-size: .89em;
    font-weight: bold;
    letter-spacing: 0.17em;
    line-height: 2.2;
}
#first_nav__bottom figure figcaption a{
    background: #ffe943;
    border-radius: 26.5px;
    box-shadow: 2px 2px 2px rgba(0,0,0,.2);
    display: inline-block;
    font-size: 1.071em;
    font-weight: 500;
    margin-top: 1.357em;
    padding: .7em 2.95em;
}
#first_nav__bottom li+li{
    margin-top: 3.857em;
}

#first-nav__middle li+li{
    margin-top: 8px;
}

.h2-images{
    margin-top: 3.4285em;
}
.shichigosan-style-line-ups__items{
    margin-top: 3.071em;
}
.shichigosan-style-line-ups__items hgroup,.h2-images-hgroup p,.h3-images-hgroup p{
    margin-left: auto;
    margin-right: auto;
    width: 79%;
}
.shichigosan-style-line-ups__items hgroup h3{
    font-size: 1.6428em;
    letter-spacing: .18em;;
    line-height: 1.2;
}
.shichigosan-style-line-ups__items hgroup p:first-of-type{
    margin-top:.95em;
}
.shichigosan-style-line-ups__items__images,.shichigosan-costumer-gallery__flex {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 1em;
}
.shichigosan-style-line-ups__items__images li:first-child{
    width: 100%;
}
.shichigosan-style-line-ups__items__images li:nth-child(n+2){
    margin-top: 2.6%;
    width: 31.6%;
}

.shichigosan-style-line-ups__items__images-slick-top{
    margin-top: 1em;
}
.shichigosan-style-line-ups__items__images-slick-top li img{
    width: 100%;
}
.shichigosan-style-line-ups__items__images-slick-top .slick-track{
    display: flex;
    justify-content: center;
    align-items: center;
}
.shichigosan-style-line-ups__items__images-slick-top .slick-slide{
    display: flex!important;
    align-items: center;
    justify-content: center;
}
.shichigosan-style-line-ups__items__images-slick-bottom .slick-slide {
    margin-left: .3em;
    margin-right: .3em;
}
.shichigosan-style-line-ups__items__images-slick-bottom li img{
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.shichigosan-style-line-ups__items + .reserve-buttons{
    margin-bottom: 4.5em;
    margin-top: 2.7em;
}

.shichigosan-style-line-ups__items__images-slick-bottom-pg .slick-slide li {
    padding: 0 8px; /* 左右の値で間隔調整 */
}
.gallery-3-lines-flex{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.gallery-3-lines-flex li{
    width: 32%;
}
.gallery-3-lines-flex li:nth-child(n+4){
    margin-top:2%;
}

#shichigosan-costume-gallery,shichigosan-costume-gallery-brothers {
    margin-top: 3.2142em;
}
#shichigosan-costume-gallery__header{
    aspect-ratio: 792 / 1289;
    background-image: url('images/costume-gallery/753book-costume-gallery-bg.jpg');
    background-size: contain;
    position: relative;
    width: 100%;
}
#shichigosan-costume-gallery__header figure{
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: 28%;
    width: 70%;
}
#shichigosan-costume-gallery__header figure::before{
    aspect-ratio: 183 / 185;
    background-image: url('images/753book-costume-gallery-top-image__before-new.png');
    background-size: contain;
    content: "";
    position: absolute;
    top: -5%;
    left: -9%;
    width: 29%;
}
#shichigosan-costume-gallery__header figure::after{
    aspect-ratio: 220 / 273;
    background-image: url('images/753book-costume-gallery-top-image__after-twinkle.png');
    background-size: contain;
    content: "";
    position: absolute;
    bottom: 0;
    right: -12%;
    width: 23%;
}
.shichigosan-costumer-gallery__flex li{
    width: 31.6%;
}
.csGallery-slick{
    width: 63%;
    left: 50%;
    transform: translateX(-50%);
    top: 30%;
    position: absolute;
}
.csGallery-slick li{
    width: 100%;
}
.slide-arrow.prev-arrow.slick-arrow{
    left: -27%;
    top: 42%;
    position: absolute;
    z-index: 400;
    width: 30%;
}
.slide-arrow.next-arrow.slick-arrow{
    right: -27%;
    top: 42%;
    position: absolute;
    z-index: 400;
    width: 30%;
}

#shichigosan-hair-collection{
    padding-bottom: 3rem;
}
#shichigosan-hair-collection .h2-images-hgroup{
    margin-bottom: 1.2857em;
}
#shichigosan-hair-collection .h2-images-hgroup .h2-images, #shichigosan-hair-collection .h3-images-hgroup .h3-images{
    margin-bottom: 1em;
}

.shichigosan-hair-collection__contents .h3-images-hgroup .h3-images{
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}
.hair-collection-contents__flex-list{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2.214em;
    width: 89%;
}
.hair-collection-contents__flex-list li{
    box-shadow: 2px 2px 2px rgba(0,0,0,.2);
    position: relative;
    width: 47%;
}
.hair-collection-contents__flex-list__number{
    position: absolute;
    top: -8%;
    left: -8%;
    width: 28%;
}
.spHair  > .hair-collection-contents__flex-list__number{
    width: 54%;
}
.hair-collection-contents__flex-list li:nth-child(n+3){
    margin-top: 6%;
}

.shichigosan-hair-collection__contents + .shichigosan-hair-collection__contents{
    margin-top: 3.6428em;
}
#hair-collection--arrange{
    background-color: #fff5f5;
    padding-bottom: 5em;
    padding-top: 1.2857em;
}
#hair-collection--arrange .hair-collection-contents__flex-list__number{
    bottom: -8%;
    left: unset;
    right: -8%;
    top: unset;
    width:40%;
}

#shichigosan-costume-gallery-brothers__header{
    aspect-ratio: 792 / 1289;
    background-image: url('images/costume-gallery/brothers/753book-costume-gallery-brothers-bg.jpg');
    background-size: contain;
    position: relative;
    width: 100%;
}

#shichigosan-customers-voice{
    margin-left: calc(50% - 50vw);;
    margin-right: calc(50% - 50vw);;
    padding-top: 3.357em;
}
#shichigosan-customers-voice h2{
    color: #333;
    font-family: 'Noto Sans Jp';
    font-size: 1.7857em;
    letter-spacing: .2em;
    text-align: center;
}
#cv-bg{
    background: #fcfae1;
    padding-bottom: 1.7857em;
}
#shichigosan-customers-voice ul{
    margin-left:auto;
    margin-right:auto;
    margin-top:0;
    max-width: 600px;
    
}
#shichigosan-customers-voice ul li{
    margin-left:auto;
    margin-right:auto;
}
#shichigosan-customers-voice ul li + li{
    margin-top: .857em;
}

#shichigosan-perfect-guide h2{
    background-color: #ffe943;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    text-align: center;
}
#shichigosan-perfect-guide h2 img{
    max-width: 600px;
    width: 100%;
}
.csGallery-slick.newCs::before,.csGallery-slick.broCs::before{
    position: absolute;
    content: "";
    background: url(images/costume-gallery/badge-new.png);
    background-size: contain;
    top: -4%;
    left: -10%;
    width: 30%;
    padding-top: 30%;
    z-index: 4;
}

#guide-kisochishiki{
    color: #333;
    font-family: 'Zen Maru Gothic';
    width: 75%;
    margin-left:auto;
    margin-right:auto;
}
#guide-kisochishiki h3{
    font-size:1.7857em;
    font-weight:bold;
    letter-spacing: .15em;
    margin-bottom:1.72em;
    margin-top:1.56em;
    text-align: center;
}
#guide-kisochishiki h4{
    border-bottom: 1px solid #000;
    font-size:1.2857em;
    font-weight:bold;
    letter-spacing: .15em;
    margin-bottom: .666em;
    padding-bottom: .555em;
    text-align: center;
}
#guide-kisochishiki figure figcaption,#guide-kisochishiki h4 + p{
    font-size:.92857em;
    font-weight: bold;
    margin-bottom: 1.923em;
    text-align: justify;
}
#guide-kisochishiki h4:nth-of-type(n+2){
    margin-top: 3em;
}
/* Lightbox */

#lightbox-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#lightbox-overlay.is-open {
    opacity: 1;
    visibility: visible;
}
#lightbox-img {
    width: 90vw;
    height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}
#lightbox-img.is-loading {
    opacity: 0;
}
#lightbox-close,
#lightbox-prev,
#lightbox-next {
    position: fixed;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 2.5rem;
    line-height: 1;
    padding: 0.25em 0.5em;
    user-select: none;
}
#lightbox-close {
    top: 1rem;
    right: 1rem;
}
#lightbox-prev {
    left: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
}
#lightbox-next {
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
}
