.bgContent{
    background:url(../images/index/main_bg.jpg) no-repeat top center fixed;
    background-size: cover;
}

section#main {
    position: relative;
    width:100%;
    display:flex;
    align-items:center;
    justify-content:flex-start;
    color:white;
    text-align:center;
    background-size: cover;
    /* background-attachment: fixed;  <-- モバイルで挙動不安定なので通常はコメントアウト */
    z-index: 1;

}
section#main .frame{
    width:100% !important;
    max-width:100% !important;
    min-width:100% !important;
    flex: 0 0 100% !important;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 90%);
    overflow: hidden;
    /* または */
    /* transform: skewY(-5deg); */
    box-sizing: border-box;
    margin-bottom:90vh;
    aspect-ratio: 8/6 !important;
    background:url(../images/index/main.jpg) no-repeat top center;
    background-size: 100%;
}

#news{
    position: absolute;
    top:60vh;
    left:5%;
    width:15%;
    min-width:300px;
    min-height:10rem;
    padding:1rem;
    background:rgba(255,255,255,0.5);
    z-index: 10;
}
#news h2{
    margin-bottom:0.7rem;
    font-size: 1rem;
}
#news ul{
}
#news ul li{
    display:flex;
    gap:1rem;
    color: #444;
    font-size: 0.78rem;
}
#news ul li p.date{
}
#news ul li h3{
}
#news ul li a{
    color: #444;
}

/**/
.main-words{
    position: absolute;
    right: 5%;
    top:18%;
    z-index: 10;
}
.main-words .words{
    color:black;
    writing-mode:vertical-rl;
}
.main-words .words .text1{
    font-size: 12rem;
    margin:0;
    white-space: nowrap;
}
.main-words .words .text2{
    font-size: 3rem;
    line-height: 0;
}

/**/
#index-mainArea{
    font-family: 'Noto Serif JP', serif;
    font-weight: 400;
    background:#FCFCFC;
}


/**/
#solution{
    position:relative;
    background:url(../images/index/solution/bg.jpg) no-repeat ;
    background-size: 100%;
    width:100%;
    aspect-ratio: 16 / 9;
}
#solution .list{
    position: absolute;
    top:-12vh;
    right:5vw;
    width:40%;
}
#solution .list span{
    position: absolute;
    top:3rem;
    background:rgba(255,255,255,0.87);
    padding:0.3rem 0.8rem;
    border-radius:50vmax;
    font-size: 0.9rem;
    white-space: nowrap;
}
#solution .list img{
    display: block;
}
/**/
#solution .main{
    position: relative;
    width:60%;
    height: 100%;
    box-sizing: border-box;
    padding:5%;
    font-size: 1.5rem;
    font-weight: 500;
    color: #414141;
}

#solution .section1{
    position: absolute;
    top:28%;
    left:20%;
    width:15%;
}

#solution .section2{
    position: absolute;
    top:70%;
    left:20%;
    width:15%;
}
#solution .section3{
    width:65%;
}
/**/
#solution .sub{
    position: absolute;
    right: 5%;
    top:45%;
    width:30%;
}
#solution dl {
    width:100%;
}
#solution dt {
    margin-bottom:0.5rem;
    font-size:1rem;
    white-space: nowrap;
}
#solution dl dd{
    display:flex;
    justify-content: center;
    gap:0.5rem;
}
#solution dl img{
    width:100%;
}





/**/
#options{
    position:relative;
    background:white;
    background-size: 100%;
    width:100%;
    /* aspect-ratio: 16 / 9; */
    padding-top:6rem;
}
#options h2{
    font-size: clamp(16px,1.5vw,5rem);
    letter-spacing: 0.2rem;
}

/**/

#options .hairmake{
    position: relative;
    background:url(../images/index/options/hairmake/bg.jpg) no-repeat top center;
    background-size: contain;
    aspect-ratio:5 / 4;
    width:100%;
    margin-bottom:8rem;
}
#options .hairmake .title{
    position: absolute;
    top:54%;
    right:5%;
    width:50%;
    text-align: center;
}
#options .hairmake .title img{
    display: block;
    margin-bottom:1rem;
}
#options .hairmake .title h3{
    margin-bottom:4rem;
    color: #9c9084;
    font-size: clamp(16px,1.5vw,5rem);
}
#options .hairmake .sub{
    position: absolute;
    top:56%;
    left:4%;
    width:33vw;
    text-align: center;
}
#options .hairmake .sub img{
    display: block;
    width:100%;
}
#options .hairmake .sub p{
    font-size: clamp(16px,1.1vw,2rem);
}
#options .hairmake .sub p span{
    display: block;
}
#options .hairmake .summary{
    width:90%;
    margin:auto;
    padding:3.5%;
    box-sizing: border-box;
    background:rgba(255,255,255,0.6);
    border:1px solid rgba(150,150,150,0.07);
    border-radius:2px;
    font-size: clamp(14px, 1.1vw, 1.1rem);
}

/**/

#options .retouch{
    padding-bottom:8rem;
}
#options .retouch .main{
    position: relative;
    width:100%;
    margin-bottom:2rem;
    padding:4%;
    box-sizing: border-box;
    aspect-ratio: 2000/1358;
    overflow: hidden;
    background:url(../images/index/options/retouch/bg.jpg) no-repeat top center;
    background-size: contain;
}
#options .retouch h3{
    margin-bottom:1.5rem;
}
#options .retouch .summary{
    width:40%;
    margin:0 ;
    text-align: center;
    font-style: italic;
    white-space: nowrap;
}
#options .retouch .summary h4{
    display: inline-block;
    padding:1% 5%;
    margin-bottom:1.4rem;
    font-size: clamp(18px,2.1vw,5rem);
    background:rgba(39,154,179,0.5);
    color: #fff;
}
#options .retouch .summary p{
    font-size: clamp(16px,1.4vw,2rem);
    color: #37525b;
}


#options .retouch .before{
    position : absolute;
    bottom:5%;
    left:2%;
    width:42%;
}

/**/
#options .retouch .sub{
    display: flex;
    justify-content: space-between;
    padding:5% 8%;
    gap:5%;
    font-family: sans-serif;
}
/**/
#options .retouch .sub .baArea{
    width:58%;
}
#options .retouch .sub .baArea img{
    border-radius:10px;
    box-shadow: 0px 0px 6px rgba(0,0,0,0.09);
}
#options .retouch .sub .baArea p.guide{
    font-size: 0.78rem;
    text-align: center;
}
/**/
#options .retouch .imgArea{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap:8%;
    box-sizing: border-box;
    justify-content: space-between;
    width:40%;
}
#options .retouch .imgArea li{
    display: block;
    font-size: clamp(12px,0.78vw,1rem);
}
#options .retouch .imgArea li img{
    display: block;
    margin-bottom :1rem;
    border-radius:8px;
    box-shadow: 0px 0px 6px rgba(0,0,0,0.09);
}
#options .retouch .imgArea li strong{
    display: block;
    color: #444;
}

/**/
#situation{
    position:relative;
    aspect-ratio: 16 / 9;
    width:100%;
    height: 100%;
    background:url(../images/index/situation/bg.jpg) no-repeat ;
    background-size:contain;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
    overflow: hidden;
}
#situation h2 .copy{
    margin-bottom:0.26rem;
    font-size: clamp(15px, 1vw, 2rem);
    font-weight: bold;
    line-height: 1.1;
    color: #414141;
    text-align: center;
    letter-spacing: 1px;
}
#situation h2{
    padding-top:1rem;
    margin-bottom:1rem;
    font-size: clamp(18px, 3.2vw, 4rem);
    font-weight: bold;
    line-height: 1.1;
    color: #414141;
    letter-spacing: -3px;
    text-shadow: 3px 3px 3px rgba(255,255,255,0.9);
}
#situation h2 span.text1{
}
#situation h2 span.text2{
    display: inline-block;
    margin-left:20rem;
}


#situation > div{
    padding:1% ;
    background: #f7f7f7;
    background: linear-gradient(116deg, rgba(247, 247, 247, 1) 5%, rgba(245, 243, 237, 1) 100%);
    box-shadow: 3px 6px 10px rgba(0,0,0,0.06);
    border-radius:2px;
}
#situation > div > span{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top:-2.5rem;
    background:url(../images/index/situation/title_bg.png) no-repeat center center;
    background-size: 120px;
    height: 2.6rem;
}
#situation > div h3{
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    top:-2rem;
    margin-bottom:-1rem;
    text-align:center;
    font-size:clamp(16px, 1.2vw, 1.1rem);
    white-space: nowrap;
}
#situation > div p{
    position: relative;
    top:-0.8rem;
    font-size: 0.78rem;;
    text-align: center;
    font-family: sans-serif;
    color: #9c867d;
}
#situation .section1{
    position: absolute;
    top:5%;
    left:5%;
    width:24%;
}

#situation .section2{
    position: absolute;
    top:22%;
    left:37%;
    width:24%;
    transform:rotate(-3deg);
}

#situation .section3{
    position: absolute;
    top:4%;
    right:2%;
    width:24%;
    transform:rotate(4deg);
}

#situation .section4{
    position: absolute;
    top:52%;
    left:9%;
    width:24%;
    transform:rotate(3deg);
}
#situation .section5{
    position: absolute;
    top:49%;
    right:9%;
    width:24%;
    transform:rotate(-4deg);
}

/**/

#faq{
    position: relative;
    padding-bottom:6rem;
}
#faq .titleArea{
    position: absolute;
    top:-135px;
    right:15%;
}
#faq .titleArea h2{
    margin-bottom:1rem;
    color: #be9f9f;
    font-size: clamp(20px,6.8vw, 5.8rem);
    text-align: center;
}
#faq .titleArea h2 span{
    display: block;
    font-size: clamp(16px, 1.8vw, 2rem);
}
#faq .titleArea a{
    display: block;
    width:200px;
    margin:auto;
    padding:0.4rem;
    border-radius:6px;
    background:#e6dede;
    text-decoration: none;
    color: #be9f9f;
    text-align: center;
}
#faq .content{
    padding:9% 6%;
}
#faq .content dl{
    margin-bottom:3.5rem;
}
#faq .content dt{
    margin-bottom:1.8rem;
    font-size: clamp(18px, 2vw, 1.9rem);
}
#faq .content dt::before{
    content:'Q';
    margin-right: 0.9rem;
    color:#dacdcd ;
    font-size: 2.3rem;

}
#faq .content dd{
    margin-bottom:1.5rem;
}

/* how it works */
#howItWorks{
    background:#fff5f5;
}

#howItWorks h2{
    position: relative;
    top:-3rem;
    margin:0;
    font-size: clamp(18px, 4vw, 4.9rem);
    color:#be9f9f;
}
#howItWorks .frame{
    width:100%;
    background:#f3eeea;
}
#howItWorks .frame > div{
    position: relative;
    display: flex;
    justify-content: space-between;
    padding:3% 5%;
    background:#fff5f5;
}
#howItWorks .frame > div:nth-child(odd){
    clip-path: polygon(0 0, 100% 0, 100% 70%, 0% 100%);
    overflow: hidden;
}
#howItWorks .frame > div:nth-child(even){
    flex-direction: row-reverse;
    background:#f3eeea;
    padding-top:0rem;
}

#howItWorks .frame > div .img{
    display: block;
    width:30%;
    padding:0;
}
#howItWorks .frame > div .img img{
    display: block;
}
#howItWorks .frame > div .content{
    width:70%;
    padding:4% 10%;
}
#howItWorks .frame > div:nth-child(even) .content{
    text-align: left;
}
#howItWorks .frame > div .content h3{
    margin-bottom:1rem;
    font-size: clamp(16px, 1.8vw, 2.6rem);
}
#howItWorks .frame > div .content p{
    padding:4% 0;
    font-size: clamp(13px, 1.0vw, 1.2rem);
}
#howItWorks .frame > div .content p a{
    display: inline-block;
    padding:0.3rem 1rem;
    background:#f0cbcb;
    font-size:0.8rem;
    text-decoration: none;
    border-radius:3px;
}
#howItWorks .frame > div .content p a:hover{
    background:#e2afaf;
}


/**/

#shopInfo{
    padding-top:4rem;
}
#shopInfo h2{
    position: relative;
    font-size: clamp(18px, 4vw, 4.9rem);
    margin-bottom:2rem;
    color:#333;
}
#shopInfo .flex{
    display: flex;
    justify-content: space-between;
    gap:4rem;
    width:100%;
    padding:10% 5%;
    box-sizing: border-box;
    background: #E1F1F0;
    background: linear-gradient(116deg, rgba(225, 241, 240, 1) 5%, rgba(254, 255, 232, 1) 100%);
}

#shopInfo .flex > div{
    width:46%;
    padding:2% 5%;
    background:rgba(255,255,255,0.4);
    border-radius:5px;
    font-family: sans-serif;
    color: #333;
}
#shopInfo .flex > div p{
    font-size: 0.9rem;
    margin-bottom:1rem;
}
#shopInfo .flex > div p.name{
    font-size: 1.4rem;
}
#shopInfo .flex > div p.access{
    height: 8rem;
    overflow: hidden;
}
#shopInfo .flex > div .link{
    display: flex;
    justify-content: center;
    gap:1rem;
    width:100%;
}
#shopInfo .flex > div .link p{
    width:50%;
}
#shopInfo .flex > div .link a{
    display: flex;
    align-items: center;
    justify-content: center;
    padding:2%;
    background:white;
    border-radius:8px;
    border:1px solid #ddd;
    font-size: 1.1rem;
    color: #999;
    text-align: center;
    line-height: 1.8;
    text-decoration: none;
}
#shopInfo .flex > div .link a i{
    font-size: 0.88rem;
}
#shopInfo .flex > div .link a:hover{
    background:#eee;
}

/* モーダルスタイル */
.map-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
}

.map-modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    object-fit: contain;
    animation: zoom 0.3s;
}

@keyframes zoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.map-modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.map-modal-close:hover,
.map-modal-close:focus {
    color: #bbb;
    text-decoration: none;
}


/* PRODUCT AREAセクション */
#productArea {
    padding:4%;
}
#productArea h2 {
    font-size: clamp(18px, 5vw, 2.5rem);
}

#productArea .explain {
    font-size: clamp(14px, 3vw, 1rem);
    padding: 0 5%;
}

#productArea .photodata {
    padding: 5%;
}

#productArea .photodata p {
    font-size: clamp(13px, 3vw, 0.95rem);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}



/* ============================================================
   レスポンシブ対応 - メディアクエリ
   ============================================================ */

@media screen and (max-width: 768px) {
    /* メインセクション */
    .bgContent {
        width:100%;
        aspect-ratio: 1 / 1.5;
        background-image: none;
        background-size: contain;
        background-position: center 70vh;
        position: relative;
        /* overflow: hidden; */
        z-index: 0;
    }

    section#main {
        position: relative;
        z-index: 1;
        justify-content: flex-start;
        margin-bottom:70vh;
    }

    section#main .frame {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        height: auto;
        flex: 0 0 100% !important;
        aspect-ratio: 1 / 1.5 !important;
        position: relative;

    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 90%);
    overflow: hidden;
    /* または */
    /* transform: skewY(-5deg); */
    box-sizing: border-box;
    margin-bottom:50vh;
    background:url(../images/index/main_sp.jpg) no-repeat top center;
    background-size: 100%;


        z-index: 2;
    }

    /* NEWSセクション */
    #news {
        /* position: relative; */
        top: 70%;
        left: 3%;
        width: 40%;
        min-width: auto;
        margin: 2rem auto;
        padding: 1.5rem;
        z-index: 10;
    }

    #news h2 {
        font-size: 0.9rem;
    }

    #news ul li {
        flex-direction: column;
        gap: 0.5rem;
        font-size: 0.75rem;
    }

    /* メインのテキスト - PCと同様に縦書きで右端に表示 */
    .main-words {
        position: absolute;
        left: 70%;
        top: 15%;
        z-index: 10;
        text-align: center;
        width: 18%;
    }

    .main-words .words {
        writing-mode: vertical-rl;
        color: black;
    }

    .main-words .words .text1 {
        font-size: clamp(3.5rem, 25vw, 9rem);
        white-space: nowrap;
        margin-bottom: 1rem;
    }

    .main-words .words .text2 {
        font-size: clamp(1.8rem, 2vw, 3.2rem);
    }


    /* SOLUTIONセクション */
    #solution {
        aspect-ratio: auto;
        min-height: 400px;
        /* overflow: hidden; */
    }

    #solution .list {
        position: inherit;
        top: 0;
        right: 0;
        width: 90%;
        margin: 0 auto;
    }

    #solution .list span {
        top: 2rem;
        font-size: 0.75rem;
        white-space: normal;
        padding: 0.3rem 0.6rem;
    }

    #solution .list img {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    #solution .main {
        width: 100%;
        padding: 3%;
        box-sizing: border-box;
        font-size: 1rem;
    }

    #solution dl img {
        width: 50%;
        /* max-width: 100%; */
        /* height: auto; */
    }

    #solution .section1 {
        position: relative;
        top: auto;
        left: auto;
        width: 70%;
        margin-bottom: 1rem;
    }

    #solution .section2 {
        position: relative;
        top: auto;
        left: auto;
        width: 70%;
        margin-bottom: 1rem;
    }

    #solution .section3 {
        width: 70%;
    }

    #solution .sub {
        position: relative;
        right: auto;
        top: auto;
        width: 100%;
        margin-top: 1rem;
    }

    #solution dt {
        font-size: 0.85rem;
        white-space: normal;
        margin-bottom: 0.5rem;
    }

    #solution dl dd {
        gap: 0.3rem;
    }

    /* OPTIONSセクション */
    #options {
        padding-top: 4rem;
    }

    #options h2 {
        font-size: clamp(20px, 5vw, 3rem);
        margin-bottom: 3rem;
    }

    /* HAIRMAKEセクション - 形を変えずサイズのみ調整 */
    #options .hairmake {
        aspect-ratio: 4/7;
        margin-bottom: 10vh;
        background-size: cover;
    }

    #options .hairmake .title {
        top: 50%;
        right: 2%;
        width: 48%;
    }

    #options .hairmake .title img {
        width: 80%;
        margin: 0 auto 0.8rem;
    }

    #options .hairmake .title h3 {
        margin-bottom: 2rem;
        font-size: clamp(14px, 3vw, 2rem);
    }

    #options .hairmake .sub {
        top: 52%;
        left: 0%;
        width: 44%;
    }

    #options .hairmake .sub p {
        padding-left:0.2rem;
        margin-top:-0.5rem;
        font-size: clamp(11px, 1.0vw, 1rem);
    }

    #options .hairmake .summary {
        width: 100%;
        padding: 1.5%;
        font-size: clamp(12px, 2.0vw, 0.9rem);
        text-align: left;
    }

    /* RETOUCHセクション */
    #options .retouch {
        padding-bottom: 4rem;
    }

    #options .retouch .main {
        /* aspect-ratio: 4/3; */
        padding: 3%;
    }

    #options .retouch .summary {
        width: 36%;
        margin: 0 0;
    }
    #options .retouch .summary h3 {
        margin-bottom:0.5rem;
    }

    #options .retouch .summary h4 {
        font-size: clamp(12px, 0.5vw, 0.8rem);
        padding: 2% 4%;
        margin-bottom:0.5rem;
    }

    #options .retouch .summary p {
        font-size: clamp(12px, 0.5vw, 0.8rem);
    }

    #options .retouch .sub {
        flex-direction: column;
        padding: 3% 5%;
        gap: 3%;
    }

    #options .retouch .sub .baArea {
        width: 100%;
        margin-bottom: 2rem;
    }

    #options .retouch .imgArea {
        width: 100%;
        /* grid-template-columns: 1fr; */
        gap: 4%;
    }

    #options .retouch .imgArea li {
        font-size: clamp(12px, 2vw, 0.9rem);
    }

    /* SITUATIONセクション - 形を変えずサイズのみ調整 */

    #situation{
        position:relative;
        aspect-ratio: 9 / 16;
        width:100%;
        height: 100%;
        min-height: 500px;
        background:url(../images/index/situation/bg_sp.jpg) no-repeat ;
        background-size:contain;
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
        overflow: hidden;
    }
    #situation h2 {
        padding-top: 1.6rem;
        margin-bottom: 0.5rem;
        font-size: clamp(16px, 5vw, 2rem);
        letter-spacing: -1px;
    }

    #situation h2 .copy {
        font-size: clamp(12px, 2.5vw, 1rem);
        margin-bottom: 0.2rem;
    }

    #situation h2 span.text2 {
        display: block;
        margin-left: 0;
        margin-top: 0.5rem;
    }

    #situation > div {
        padding: 2%;
    }

    #situation > div > span {
        top: -1.5rem;
        background-size: 65px;
        height: 2rem;
    }

    #situation > div h3 {
        top: -1.5rem;
        margin-bottom: -0.8rem;
        font-size: clamp(12px, 2.5vw, 0.9rem);
    }

    #situation > div p {
        top: -0.5rem;
        font-size: clamp(10px, 0.92vw, 0.67rem);
        white-space: nowrap;
    }

    #situation .section1 {
        top: 15%;
        left: 2%;
        width: 38%;
    }

    #situation .section2 {
        top: 34%;
        left: 34%;
        width: 38%;
        transform: rotate(-2deg);
        z-index:5;
    }

    #situation .section3 {
        top: 15%;
        right: 2%;
        width: 40%;
        transform: rotate(2deg);
    }

    #situation .section4 {
        top: 60%;
        left: 2%;
        width: 38%;
        transform: rotate(2deg);
    }

    #situation .section5 {
        top: 58%;
        right: 9%;
        width: 38%;
        transform: rotate(-2deg);
    }

    /* FAQセクション */
    #faq {
        padding-bottom: 4rem;
    }

    #faq .titleArea {
        position: relative;
        top: auto;
        right: auto;
        margin-bottom: 2rem;
        text-align: center;
    }

    #faq .titleArea h2 {
        font-size: clamp(20px, 8vw, 3rem);
    }

    #faq .titleArea h2 span {
        font-size: clamp(14px, 3.5vw, 1.2rem);
    }

    #faq .titleArea a {
        width: 90%;
        max-width: 250px;
        padding: 0.5rem;
        font-size: 0.85rem;
    }

    #faq .content {
        padding: 5% 4%;
    }

    #faq .content dl {
        margin-bottom: 2.5rem;
    }

    #faq .content dt {
        font-size: clamp(16px, 4vw, 1.2rem);
        margin-bottom: 1.2rem;
    }

    #faq .content dt::before {
        font-size: 1.8rem;
        margin-right: 0.7rem;
    }

    #faq .content dd {
        font-size: clamp(14px, 3vw, 1rem);
        line-height: 1.8;
    }

    /* HOW IT WORKSセクション */
    #howItWorks h2 {
        top: -2rem;
        font-size: clamp(18px, 6vw, 2.5rem);
    }

    #howItWorks .frame > div {
        flex-direction: column !important;
        padding: 4% 5%;
    }

    #howItWorks .frame > div:nth-child(even) {
        flex-direction: column !important;
        padding-top: 4%;
    }

    #howItWorks .frame > div .img {
        width: 50%;
        margin-bottom: 1.5rem;
    }

    #howItWorks .frame > div .content {
        width: 70%;
        padding: 0;
    }

    #howItWorks .frame > div .content h3 {
        font-size: clamp(16px, 2vw, 1.1rem);
        margin-bottom: 0.8rem;
    }

    #howItWorks .frame > div .content p {
        font-size: clamp(13px, 1vw, 1rem);
        padding: 2% 0;
        line-height: 1.8;
    }

    #howItWorks .frame > div .content p a {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
    }

    /* SHOP INFOセクション */
    #shopInfo {
        padding-top: 3rem;
    }

    #shopInfo h2 {
        font-size: clamp(18px, 6vw, 2.5rem);
        margin-bottom: 1.5rem;
    }

    #shopInfo .flex {
        flex-direction: column;
        gap: 2rem;
        padding: 5%;
    }

    #shopInfo .flex > div {
        width: 100%;
        padding: 4%;
    }

    #shopInfo .flex > div p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }

    /* モーダルのレスポンシブ対応 */
    .map-modal-content {
        width: 95%;
        max-height: 80vh;
    }

    .map-modal-close {
        top: 10px;
        right: 20px;
        font-size: 35px;
    }

    /* PRODUCT AREAセクション */
    #productArea h2 {
        font-size: clamp(18px, 5vw, 2.5rem);
    }

    #productArea .explain {
        font-size: clamp(14px, 3vw, 1rem);
        padding: 0 5%;
    }

    #productArea .photodata {
        padding: 5%;
    }

    #productArea .photodata p {
        font-size: clamp(13px, 3vw, 0.95rem);
        line-height: 1.8;
        margin-bottom: 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    /* より小さな画面用の追加調整 */
    section#main {
        width:100%;
        max-width: 100%;
        justify-content: flex-start;
        overflow: hidden;
    }

    section#main .frame {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        flex: 0 0 100% !important;
        aspect-ratio: 1.1.5 !important;
        margin-bottom: 50vh;
    }

    /* メインのテキスト - 480px以下でも縦書きで右端に表示 */
    .main-words {
        left: 70%;
        top: 18%;
        max-width: 20%;
    }

    .main-words .words .text1 {
        font-size: clamp(5.5rem, 22vw, 10rem);
    }

    .main-words .words .text2 {
        font-size: clamp(1.2rem, 1.0vw, 2.0rem);
        text-shadow:0px 0px 3px rgba(255,255,255,1);
    }

    #solution .main {
        font-size: 0.9rem;
    }

    #options .hairmake {
        aspect-ratio: 3/2;
    }

    #situation {
        aspect-ratio: 9/16;
    }

    #situation .section1,
    #situation .section2,
    #situation .section3,
    #situation .section4,
    #situation .section5 {
        /* width: 30%; */
    }
}
