html,
body {
    overflow-x: hidden;
}

/* 支給の室内写真：縦横比を維持し、主張しすぎないサイズに */
.salon-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.75rem;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}
.salon-photo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(74, 66, 63, 0.08);
}
@media (max-width: 639.98px) {
    .salon-photo-grid {
        gap: 0.5rem;
    }
}

/* ACCESS地図：全体が見切れないよう縦横比を維持 */
.access-map {
    display: block;
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 1px 3px rgba(74, 66, 63, 0.08);
}

body {
    color: #4A423F;
}

/* フッター：運営会社アコーディオン */
.footer-accordion summary::-webkit-details-marker {
    display: none;
}
.footer-accordion summary {
    list-style: none;
}

/* スクリーンリーダー向け（見た目は非表示） */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 引用・citeのブラウザ既定スタイルを打ち消し（見た目維持） */
blockquote {
    margin: 0;
    padding: 0;
    border: 0;
    quotes: none;
}
cite {
    font-style: normal;
}

/* スマホのみ：見出しを画面幅いっぱいに */
.headline-fullwidth-mobile {
    display: block;
    width: 100%;
    white-space: nowrap;
    font-size: calc((100vw - 2rem) / 16.5);
    line-height: 1.3;
    text-align: center;
}
@media (min-width: 768px) {
    .headline-fullwidth-mobile {
        width: auto;
        font-size: 2.25rem; /* md:text-4xl */
        white-space: nowrap;
    }
}

/* スマホのみ：FVの店名・駅表記 */
@media (max-width: 767.98px) {
    .hero-shop-name {
        display: block;
        width: 66.666%;
        margin-left: auto;
        margin-right: auto;
        white-space: nowrap;
        font-size: calc(((100vw - 4rem) * 2 / 3) / 10.5);
        line-height: 1.3;
    }
    .hero-station {
        font-size: 1.575rem; /* 現行1.05remの1.5倍 */
        line-height: 1.4;
    }
    .voice-card-title {
        display: flex !important;
        width: 100%;
        align-items: center;
        justify-content: center;
        gap: 0.35em;
        white-space: nowrap;
        font-size: calc((100vw - 5rem) / 13.2);
        line-height: 1.2;
    }
    .voice-card-title svg {
        width: 1.15em !important;
        height: 1.15em !important;
        flex-shrink: 0;
    }
    .hero-disclaimer {
        font-size: calc((100vw - 2rem) / 42);
        line-height: 1.4;
        white-space: nowrap;
        overflow: hidden;
    }
    .troubles-cta-line {
        display: block;
        width: 100%;
        max-width: none;
        white-space: nowrap;
        font-size: calc((100vw - 2rem) / 19.5);
        line-height: 1.4;
    }
}

/* アコーディオンのデフォルトの三角矢印を消す */
details > summary {
    list-style: none;
}
details > summary::-webkit-details-marker {
    display: none;
}

/* ふんわり表示させるアニメーション用クラス */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* フェードインしない要素 */
.fade-in-up.is-visible .no-fade {
    opacity: 1;
    transform: none;
}

/* 右から左へスライドインするアニメーション */
.fade-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}
@media (max-width: 767px) {
    .fade-in-right {
        transform: translateX(24px);
    }
}

/* マーカーアニメーション */
.marker-line {
    background-color: transparent;
    background-image: linear-gradient(to right, #f39600 0%, #f39600 100%);
    background-size: 0% 100%;
    background-repeat: no-repeat;
    background-position: left center;
    transition: background-size 0.8s ease-out;
    padding: 2px 4px;
}
.marker-line.is-visible {
    background-size: 100% 100%;
}

/* CTAボタン右の小さな「>」アイコン（文字サイズに合わせて縮小） */
.cta-icon {
    flex-shrink: 0;
    width: 0.9em;
    height: 0.9em;
    stroke-width: 2.5;
}

/* キラーンと光るボタンアニメーション */
.btn-shine {
    position: relative;
    overflow: hidden;
}
.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 0, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shine 3s infinite;
}
@keyframes shine {
    0% { left: -100%; }
    25% { left: 200%; }
    100% { left: 200%; }
}

/* チェックアイコンのアニメーション */
.check-icon {
    opacity: 0;
    transform: scale(0);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

/* チェックアイコンの親li要素の文字色アニメーション */
#troubles-list li p {
    color: white; /* 白色 */
    transition: color 0.6s ease-out;
}

#troubles-list li:has(.check-icon.animate) p {
    color: #f39600; /* オレンジ色 */
}

.check-icon.show {
    opacity: 1;
    transform: scale(1);
}

@keyframes checkPop {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.check-icon.animate {
    animation: checkPop 0.6s ease-out forwards;
}

/* ヒアリング画像用の横長サイズ */
.counseling-image {
    width: 606px;
    height: 224px;
    max-width: 100%;
}

/* 下部CTAが見えている間はヘッダーを非表示 */
.header-fade-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* 理由セクションの見出しに縦棒を追加 */
.flex-1 > h3 {
    border-left: 2px solid #f39600;
    padding-left: 12px;
}