        :root {
            --primary-color: #2a3d31; 
            --accent-color: #c5a059;  
            --bg-base: #fdfaf6;       
            --white: #ffffff;
            --text-main: #222;
            --text-sub: #555;
            --line-color: #06c755;
        }

        html { scroll-behavior: smooth; }

        * { margin: 0; padding: 0; box-sizing: border-box; }
        body {
            font-family: 'Noto Serif JP', serif;
            background-color: var(--bg-base);
            color: var(--text-main);
            line-height: 2; /* 抜け感を出すために行間を広げる */
            letter-spacing: 0.05em; /* 視認性向上のために字間を少し広げる */
            overflow-x: hidden;
        }

        /* --- Common --- */
        .container { max-width: 1300px; margin: 0 auto; padding: 0 4%; }
        .section-title { text-align: center; margin-bottom: 70px; }
        .section-title h2 { font-size: 2.2rem; font-weight: 500; position: relative; display: inline-block; padding-bottom: 20px; }
        .section-title h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 50px; height: 1px; background: var(--accent-color); }
        .section-title span { display: block; font-size: 0.85rem; color: var(--accent-color); letter-spacing: 3px; margin-top: 15px; text-transform: uppercase; font-family: 'Montserrat', sans-serif; }
        
        .fade-up { opacity: 0; transform: translateY(30px); transition: all 1s ease-out; }
        .fade-up.active { opacity: 1; transform: translateY(0); }

        /* --- Header --- */
        header {
            padding: 20px 4%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: rgba(255,255,255,0.98);
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid #eee;
            flex-wrap: wrap;
        }
        
        .logo { 
            font-family: 'Noto Serif JP', serif; 
            font-size: 1.6rem; 
            font-weight: 500; 
            color: var(--primary-color); 
            letter-spacing: 2px; 
            text-decoration: none;
        }
        
        .header-nav { display: flex; gap: 35px; }
        .header-nav a { 
            font-family: 'Noto Serif JP', serif; 
            text-decoration: none; 
            color: #222; 
            font-size: 1rem; 
            transition: 0.3s; 
            font-weight: 700; 
            letter-spacing: 0.05em;
        }
        .header-nav a:hover, .header-nav a.active { color: var(--accent-color); }

        .nav-right-btns { display: flex; align-items: center; gap: 15px; }
        .nav-btn { 
            font-family: 'Noto Serif JP', serif;
            text-decoration: none; 
            color: var(--primary-color); 
            background: transparent; 
            border: 1px solid #ddd;
            padding: 8px 18px; 
            font-size: 0.85rem; 
            font-weight: 500; 
            border-radius: 4px; 
            transition: 0.3s; 
            letter-spacing: 2px;
        }
        .nav-btn:hover { border-color: var(--primary-color); background: rgba(42, 61, 49, 0.05); }

        /* --- Hero (Sub Page Style) --- */
        .hero-sub {
            position: relative;
            height: 40vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            color: white;
            text-align: center;
            background: linear-gradient(rgba(42, 61, 49, 0.7), rgba(42, 61, 49, 0.7)), url('../img/before-after/mv.webp') center bottom/cover;
        }
        .hero-sub h1 { font-size: 3rem; font-weight: 500; letter-spacing: 6px; margin-bottom: 15px; font-family: 'Montserrat', sans-serif; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
        .hero-sub p { font-size: 1.1rem; letter-spacing: 4px; opacity: 0.9; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }

        /* --- Breadcrumb --- */
        .breadcrumb {
            max-width: 1300px;
            margin: 30px auto 0;
            padding: 0 4%;
            font-size: 0.95rem;
            color: #888;
            font-family: 'Montserrat', 'Noto Serif JP', sans-serif;
        }
        .breadcrumb a {
            color: #888;
            text-decoration: none;
            transition: 0.3s;
        }
        .breadcrumb a:hover { color: var(--accent-color); }
        .breadcrumb span { margin: 0 8px; }

        /* --- Before/After Grid Layout --- */
        .cases-wrapper {
            margin: 80px auto 120px;
        }
        
        .cases-intro {
            text-align: center;
            max-width: 850px;
            margin: 0 auto 80px;
        }
        .cases-intro p {
            font-size: 1.1rem;
            color: var(--text-sub);
            line-height: 2.2;
        }

        .ba-grid { 
            display: grid; 
            grid-template-columns: repeat(2, 1fr); 
            gap: 50px; 
        }
        
        .ba-card { 
            border: 1px solid #eaddce; 
            padding: 50px; 
            background: white; 
            border-radius: 8px;
            box-shadow: 0 10px 40px rgba(0,0,0,0.03);
            transition: 0.3s;
        }
        .ba-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 50px rgba(0,0,0,0.06);
            border-color: rgba(197, 160, 89, 0.4);
        }

        .ba-imgs { 
            display: flex; 
            gap: 15px; 
            margin-bottom: 30px; 
        }
        .ba-img-wrap {
            flex: 1;
            position: relative;
            aspect-ratio: 3 / 4;
            border-radius: 4px;
            overflow: hidden;
        }
        .ba-img-wrap img { 
            width: 100%; 
            height: 100%; 
            object-fit: cover; 
            display: block; 
            transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
        }
        .ba-card:hover .ba-img-wrap img {
            transform: scale(1.03);
        }
        .ba-img-label { 
            position: absolute; 
            bottom: 0; 
            left: 0; 
            width: 100%; 
            background: rgba(42, 61, 49, 0.85); 
            color: #fff; 
            font-size: 0.85rem; 
            text-align: center; 
            padding: 6px 0; 
            font-family: 'Montserrat', sans-serif; 
            font-weight: 600; 
            letter-spacing: 2px; 
        }
        
        .ba-meta {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }
        .ba-period {
            font-size: 0.9rem;
            color: var(--accent-color);
            background: #fdfaf6;
            border: 1px solid #eaddce;
            padding: 6px 16px;
            border-radius: 30px;
            font-weight: 600;
        }
        
        .ba-card h4 { 
            font-size: 1.35rem; 
            margin-bottom: 20px; 
            color: var(--primary-color); 
            font-weight: 700; 
            line-height: 1.6;
        }
        .ba-card p { 
            font-size: 1.1rem; 
            color: var(--text-main); 
            line-height: 2; 
        }
        
        .ba-details {
            margin-top: 30px;
            padding-top: 25px;
            border-top: 1px dashed #eee;
        }
        .ba-dl {
            display: grid;
            grid-template-columns: 90px 1fr;
            gap: 15px;
            font-size: 1rem;
        }
        .ba-dt {
            color: var(--primary-color);
            font-weight: 700;
        }
        .ba-dd {
            color: var(--text-sub);
        }

        /* afterは最終施術から一定日数経過後の"施術前"写真である旨の注記 */
        .ba-note {
            margin-top: 20px;
            font-size: 0.85rem;
            color: var(--text-sub);
            line-height: 1.7;
        }

        /* --- Pagination --- */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 80px;
        }
        .page-num {
            width: 50px;
            height: 50px;
            display: flex;
            justify-content: center;
            align-items: center;
            border: 1px solid #eee;
            background: var(--white);
            color: var(--text-sub);
            text-decoration: none;
            font-family: 'Montserrat', sans-serif;
            font-weight: 600;
            border-radius: 4px;
            transition: 0.3s;
            font-size: 1.05rem;
        }
        .page-num.active, .page-num:hover {
            background: var(--primary-color);
            color: white;
            border-color: var(--primary-color);
            box-shadow: 0 5px 15px rgba(42, 61, 49, 0.2);
            transform: translateY(-2px);
        }

        /* --- CTA (Bottom) --- */
        .cta-box { background: var(--primary-color); color: white; padding: 100px 20px; text-align: center; }
        .cta-btns { margin-top: 40px; display: flex; justify-content: center; gap: 20px; }
        .btn { padding: 20px 60px; border-radius: 40px; text-decoration: none; font-weight: bold; font-size: 1.1rem; transition: 0.3s; border: none; cursor: pointer; letter-spacing: 1px; }
        .btn-line { background: var(--line-color); color: white; display: inline-block; box-shadow: 0 5px 20px rgba(6, 199, 85, 0.4); }
        .btn:hover { opacity: 0.9; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(6, 199, 85, 0.5); }

        /* --- Floating CTA --- */
        .floating-cta { position: fixed; bottom: 35px; right: 35px; z-index: 2000; opacity: 0; visibility: hidden; transform: translateY(20px); transition: all 0.5s ease; }
        .floating-cta.visible { opacity: 1; visibility: visible; transform: translateY(0); }
        .circle-btn-wrap { position: relative; width: 145px; height: 145px; display: flex; justify-content: center; align-items: center; background: var(--white); border-radius: 50%; box-shadow: 0 10px 35px rgba(0,0,0,0.1); cursor: pointer; text-decoration: none; transition: all 0.3s ease; }
        .circle-btn-wrap:hover { transform: scale(1.05); box-shadow: 0 15px 40px rgba(0,0,0,0.15); }
        .spinning-text { position: absolute; width: 100%; height: 100%; animation: spin-text 25s linear infinite; }
        .spinning-text text { font-family: 'Noto Serif JP', serif; font-size: 10.5px; font-weight: 500; letter-spacing: 2px; fill: var(--accent-color); }
        @keyframes spin-text { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
        .center-content { position: absolute; display: flex; flex-direction: column; align-items: center; justify-content: center; z-index: 2; color: var(--line-color); }
        .center-icon { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.8rem; line-height: 1; margin-bottom: 4px; }
        .center-text { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.5px; }

        /* --- Footer --- */
        footer { background: #fff; padding: 80px 4% 50px; text-align: center; border-top: 1px solid #eee; }
        .footer-nav { display: flex; justify-content: center; gap: 40px; margin-bottom: 40px; flex-wrap: wrap; }
        .footer-nav a { font-family: 'Montserrat', sans-serif; text-decoration: none; color: #444; font-size: 1rem; transition: 0.3s; font-weight: 600; letter-spacing: 0.05em; }
        .footer-nav a:hover { color: var(--accent-color); }
        .footer-copy { font-family: 'Montserrat', sans-serif; font-size: 0.85rem; color: #999; letter-spacing: 2px; margin-top: 30px; }

        @media (max-width: 1024px) { .header-nav { display: none; } }
        @media (max-width: 900px) {
            .ba-grid { grid-template-columns: 1fr; }
            .cta-btns { flex-direction: column; }
            .floating-cta { bottom: 25px; right: 25px; }
            .circle-btn-wrap { width: 120px; height: 120px; }
            .spinning-text text { font-size: 10px; }
            .center-icon { font-size: 1.5rem; }
            .center-text { font-size: 0.7rem; }
            .ba-card { padding: 30px 20px; }
        }

        @media (max-width: 768px) {
            .container,
            .breadcrumb { padding-left: 15px; padding-right: 15px; }
            header { flex-wrap: nowrap; gap: 10px; padding-left: 15px; padding-right: 15px; }
            .logo { flex: 0 1 auto; font-size: 1.25rem; letter-spacing: 1px; white-space: nowrap; }
            .nav-right-btns { flex: 0 0 auto; gap: 0; }
            .nav-btn { padding: 7px 10px; font-size: 0.78rem; letter-spacing: 0.08em; white-space: nowrap; }
            .btn,
            .btn-line { padding-left: 28px; padding-right: 28px; white-space: nowrap; }
            .floating-cta { right: 14px; bottom: 14px; }
        }
