        @import url('https://fonts.googleapis.com/css2?family=Playfair:ital,wght@0,400;0,700;0,900&family=Noto+Sans+JP:wght@100;400;500;700;900&display=swap');

        :root {
            --white: #ffffff;
            --paper: #E6E2D6;
            --ink: #121212;
            --red: #CE2B37;
            --green: #009246;
            --sun-gold: #D4A044;
            --teal: #4ECDC4;

            --pad-sm: 0.75rem;
            --pad-md: 1.5rem;
            --pad-lg: 3rem;
            --pad-xl: 6rem;
        }

        * { box-sizing: border-box; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }

        html { scroll-behavior: smooth; }

        body {
            color: var(--ink);
            font-family: 'Noto Sans JP', sans-serif;
            overflow-x: clip;
            width: 100vw;
            min-height: 100vh;
        }

        /* ページトップボタン: 固定配置・スクロール後にフェードイン */
        .pagetop-btn {
            position: fixed;
            right: .5rem;
            bottom: .5rem;
            width: clamp(3rem, 5vw, 5rem);
            height: clamp(3rem, 5vw, 5rem);
            border-radius: 50%;
            background-color: transparent;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0;
            opacity: 0;
            visibility: hidden;
            transform: translateY(0.5rem);
            transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
            z-index: 5;
        }
        .pagetop-btn.is-visible {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
            transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0s;
        }
        .pagetop-btn:hover { opacity: 0.85; }
        .pagetop-btn img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .en { font-family: 'Playfair', sans-serif; }
        main { display: flex; flex-direction: column; }
        section{padding: 0 2rem 20vh;}


        /* ===================================
           セクション遷移 — スクロール連動・慣性付き液体スロッシュ + ambient波
        =================================== */
        /* --slosh = GSAP物理シミュ駆動のスクロール由来位置（±CLAMP）
           --ambient = CSS @keyframes駆動の常時oscillating波（±0.4、小さい常在波）
           実効値 = slosh + ambient で合算してクリップパスに適用 */
        @property --slosh {
            syntax: '<number>';
            initial-value: 0;
            inherits: true;
        }
        @property --ambient {
            syntax: '<number>';
            initial-value: 0;
            inherits: false;
        }

        .section-transition {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 20vh;
            z-index: 3;
            bottom: -1px;
            pointer-events: none;
            /* 3波それぞれの振幅と全体傾斜（各sectionで上書きされる） */
            --amp-1: 4%;
            --amp-2: 6%;
            --amp-3: 5%;
            --tilt: 3%;
            /* ambient 常在波（振幅±0.4で小さく揺れる） */
            --ambient: 0;
            animation: section-ambient 4s ease-in-out infinite alternate;
            /* 実効 = slosh + ambient × 各パラメータ（clip-path内で再利用） */
            --st:  calc((var(--slosh) + var(--ambient)) * var(--tilt));
            --sa1: calc((var(--slosh) + var(--ambient)) * var(--amp-1));
            --sa2: calc((var(--slosh) + var(--ambient)) * var(--amp-2));
            --sa3: calc((var(--slosh) + var(--ambient)) * var(--amp-3));
            /* y_i = 50% + (slosh+ambient) × (tilt × frac_i − amp_region × sin_i)
               baseline を 50%（box 中央）に配置、係数 × combined の可動域を ±44% まで許容 */
            clip-path: polygon(
                0%     calc(50% - var(--st)),
                4.17%  calc(50% - var(--st) * 0.917 - var(--sa1) * 0.707),
                8.33%  calc(50% - var(--st) * 0.833 - var(--sa1)),
                12.5%  calc(50% - var(--st) * 0.75  - var(--sa1) * 0.707),
                16.67% calc(50% - var(--st) * 0.667),
                20.83% calc(50% - var(--st) * 0.583 + var(--sa1) * 0.707),
                25%    calc(50% - var(--st) * 0.5   + var(--sa1)),
                29.17% calc(50% - var(--st) * 0.417 + var(--sa1) * 0.707),
                33.33% calc(50% - var(--st) * 0.333),
                37.5%  calc(50% - var(--st) * 0.25  - var(--sa2) * 0.707),
                41.67% calc(50% - var(--st) * 0.167 - var(--sa2)),
                45.83% calc(50% - var(--st) * 0.083 - var(--sa2) * 0.707),
                50%    50%,
                54.17% calc(50% + var(--st) * 0.083 + var(--sa2) * 0.707),
                58.33% calc(50% + var(--st) * 0.167 + var(--sa2)),
                62.5%  calc(50% + var(--st) * 0.25  + var(--sa2) * 0.707),
                66.67% calc(50% + var(--st) * 0.333),
                70.83% calc(50% + var(--st) * 0.417 - var(--sa3) * 0.707),
                75%    calc(50% + var(--st) * 0.5   - var(--sa3)),
                79.17% calc(50% + var(--st) * 0.583 - var(--sa3) * 0.707),
                83.33% calc(50% + var(--st) * 0.667),
                87.5%  calc(50% + var(--st) * 0.75  + var(--sa3) * 0.707),
                91.67% calc(50% + var(--st) * 0.833 + var(--sa3)),
                95.83% calc(50% + var(--st) * 0.917 + var(--sa3) * 0.707),
                100%   calc(50% + var(--st)),
                100% 100%, 0% 100%
            );
        }

        /* ambient は ±0.5 で往復（係数と組み合わせて idle 波高 ~7vh を実現） */
        @keyframes section-ambient {
            from { --ambient: -0.5; }
            to   { --ambient:  0.5; }
        }

        /* 各sectionごとに3波の振幅・傾斜とambientの速度・位相をランダム化
           amp 係数 max 49%、tilt max 4% に拡大 → scroll peak 波高 ~25vh（box 20vh 外に溢れる）*/
        .intro-section .section-transition    { --amp-1: 7%;  --amp-2: 49%; --amp-3: 20%; --tilt: 4%; animation-duration: 2.1s; animation-delay:  0s; }
        .services-section .section-transition { --amp-1: 43%; --amp-2: 14%; --amp-3: 35%; --tilt: 4%; animation-duration: 2.7s; animation-delay: -0.3s; }
        .shops-mugi .section-transition       { --amp-1: 49%; --amp-2: 7%;  --amp-3: 29%; --tilt: 2%; animation-duration: 3.3s; animation-delay: -0.9s; }
        .shops-mio .section-transition        { --amp-1: 14%; --amp-2: 43%; --amp-3: 7%;  --tilt: 4%; animation-duration: 2.4s; animation-delay: -1.5s; }
        .shops-mano .section-transition       { --amp-1: 29%; --amp-2: 49%; --amp-3: 14%; --tilt: 2%; animation-duration: 3.9s; animation-delay: -0.6s; }
        .map-section .section-transition      { --amp-1: 49%; --amp-2: 20%; --amp-3: 43%; --tilt: 2%; animation-duration: 1.8s; animation-delay: -1.2s; }
        .farewell-section .section-transition { --amp-1: 7%;  --amp-2: 35%; --amp-3: 43%; --tilt: 4%; animation-duration: 3.0s; animation-delay: -1.8s; }

        /* transition色 = 次セクションの背景色 */
        .intro-section .section-transition { background: var(--red); }
        .services-section .section-transition { background: var(--green); }
        .shops-mugi .section-transition { background: var(--white); }
        .shops-mio .section-transition { background: var(--red); }
        .shops-mano .section-transition { background: var(--sun-gold); }
        .map-section .section-transition { background: var(--sun-gold); }
        .farewell-section .section-transition { background: var(--green); }

        /* ===================================
           ヘッダー（B修正）
        =================================== */
        header {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 100;
            padding: var(--pad-md);
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            background: transparent;
        }

        .header-brand,
        .header-brand-nav {
            display: flex;
            flex-direction: column;
            gap: 0.25rem;
        }
        .header-brand-nav{
                padding: 1.25rem 2rem;
        }
        /* nav内ブランド: 構造は同じ。色だけ白に上書き（SVGはfilterで白化） */
        .header-brand-nav .header-brand-top a,
        .header-brand-nav .header-tagline {
            color: var(--white);
        }
        .header-brand-nav img {
            filter: brightness(0) invert(1);
        }

        .header-brand-top a{
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.2rem;
            color: var(--red);
            text-decoration: none;
        }

        .header-brand-top a span.en{
            font-size: 3rem;
                display: flex;
    align-items: flex-start;
        }

        .status-dot {
            width: 1rem;
            height: auto;
            animation: pulse 2s infinite;
                display: flex;
                    position: relative;
    top: .5rem;
        }

        .header-tagline {
               font-weight: 500;
    font-size: 1.4rem;
    color: var(--red);
    line-height: 1.2;
        }

        /* ハンバーガーメニューボタン */
        .menu-btn {

    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    position: fixed;
    top: .5rem;
    right: .5rem;
    width: clamp(3rem, 6vw, 7rem);
    height: clamp(3rem, 6vw, 7rem);
    background-color: var(--green);
    border-radius: 50%;
    z-index: 4;
        }

        /* spanは絶対配置で常にbtn中央に配置。closed時のみtranslateYで上下にずらす
           → open時は全てのspan中央が完全一致しX印が綺麗に交差する */
        .menu-btn span {
            position: absolute;
            left: 50%;
            top: 50%;
            display: block;
            width: 2rem;
            height: 1px;
            background-color: var(--white);
            border-radius: 1px;
            transition: transform 0.3s ease, opacity 0.3s ease;
            transform-origin: center;
        }
        .menu-btn span:nth-child(1) {
            transform: translate(-50%, -50%) translateY(-9px);
        }
        .menu-btn span:nth-child(2) {
            transform: translate(-50%, -50%);
        }
        .menu-btn span:nth-child(3) {
            transform: translate(-50%, -50%) translateY(9px);
        }
        /* 開いた時: 上下spanを中央に戻して回転 → X 印、真ん中はフェードアウト */
        .menu-btn.is-open span:nth-child(1) {
            transform: translate(-50%, -50%) rotate(45deg);
        }
        .menu-btn.is-open span:nth-child(2) {
            opacity: 0;
        }
        .menu-btn.is-open span:nth-child(3) {
            transform: translate(-50%, -50%) rotate(-45deg);
        }

        /* メイン ナビゲーション オーバーレイ（ハンバーガー展開時に表示）
           全画面・白透過 0.85 + backdrop-filter ブラー 4px で背景コンテンツを淡くぼかす */
        .main-nav {
            position: fixed;
            inset: 0;
            z-index: 3;                /* menu-btn(z-index:4) の下、他コンテンツの上 */
            background-color: var(--red);
           
            display: flex;
            flex-direction: column;
            justify-content:flex-start;
            align-items: stretch;

            gap: 0;
            padding: 0;
            transform: translateX(-100%);
            transition: transform 0.4s ease;
            overflow-y: auto;
        }
        .main-nav.is-open {
            transform: translateX(0);
        }
        .main-nav-list {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            
            width: 100%;
            
            margin-inline: auto;
        }
        .main-nav-list li.main-nav-section{
            border-bottom: 1px solid rgba(255,255,255,.3);
            overflow: hidden;
        }


        /* 共通のリンクスタイル（店舗・セクション） */
        .main-nav-list a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1.5rem;
            padding: 1.25rem 2rem;
            text-decoration: none;

            font-size: 1.2rem;
            font-weight: 700;
            transition: opacity 0.2s ease, transform 0.2s ease;
        }
        .main-nav-list a:hover {
            opacity: 0.85;
            transform: translateX(0.25rem);
        }
        .main-nav-logo{
                width: 2rem;
                height: 2rem;
            }
        .main-nav-logo img{
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(0) invert(1);
        }
        .main-nav-label {
        flex: 1;
            text-align: left;
            font-size: 1.4rem;
        }
        .main-nav-icon {
            width: 1.6rem;
            height: 1.6rem;
            flex-shrink: 0;
        }
        /* 店舗別の配色 */
        .main-nav-shop--mugi a { background-color: var(--red); color: var(--white); }
        .main-nav-shop--mugi a .main-nav-icon { --fill-0: var(--green); }
        .main-nav-shop--mio  a { background-color: var(--red); color: var(--white); }
        .main-nav-shop--mio  a .main-nav-icon { --fill-0: var(--ink); }
        .main-nav-shop--mano a { background-color: var(--red); color: var(--white); }
        .main-nav-shop--mano a .main-nav-icon { --fill-0: var(--red); }
        /* セクション内アンカーリンク（テキストのみ） */
        .main-nav-section a {
            background-color: transparent;
            color: var(--white);
            
            justify-content: flex-start;
        }

        /* ===================================
           intro（白背景）C修正
        =================================== */
        .intro-section {
            position: relative;
            width: 100%;
            min-height: 120vh;
            background-color: var(--white);
            display: flex;
            flex-direction: column;
            justify-content:center;
            align-items: center;
            
            overflow: clip;
        }

        /* イントロ装飾イラスト */
        .intro-illust {
            position: absolute;
            z-index: 3;
            pointer-events: none;
        }

        .intro-illust img { 
            width: 100%;
             height: 100%; object-fit: contain;
         }

        /* cantare 549x434: 右上（Figma: x=1760 y=598 w=549 h=434 / frame=2560）
           SVGはアニメーション用に上に100px拡張済み（viewBox: 0 -100 550.496 634.26）。
           top値を100/634≒15.77%下にずらして元の位置を維持する。 */
        .intro-illust--cantare { top: 17.73%; right: 9.8%; width: 22vw; aspect-ratio: 550.496 / 634.26; }
        /* mangiare 598x423: 左上（Figma: x=215 y=609 w=598 h=423 / frame=2560） */
        .intro-illust--mangiare { top: 34.1%; left: 8.4%; width: 24vw; aspect-ratio: 599.048 / 424.067; }
        /* amore 385x296: 中央やや下（Figma: x=1097 y=911 w=385 h=296 / frame=2560） */
        .intro-illust--amore { bottom: 22.3%; left: 42.9%; width: 20vw; aspect-ratio: 385.768 / 296.495; }




        /* イントロテキスト（C修正: サイズ拡大） */
        .intro-text {
            position: relative;
            z-index: 5;
            text-align: center;
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1rem;
        }

        .intro-title {
font-size: clamp(3rem, 9vw, 9rem);
    line-height: 1.3;
    color: var(--red);
    writing-mode: vertical-rl;
    text-orientation: upright;
    letter-spacing: 0.05em;
    font-weight: 500;
        }



        /* 動画マスク（C修正） */
        .intro-video-wrapper {
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            height: 20vh;
            aspect-ratio: 2819.9 / 774.1;
            z-index: 4;
            clip-path: url(#video-mask-clip);
        }

        .intro-video-wrapper::before {
            content: '';
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            z-index: 1;
            pointer-events: none;
            background-image:
                radial-gradient(circle, var(--white) 1px, transparent 1px),
                radial-gradient(circle, var(--white) 1px, transparent 1px);
            background-size: 4px 4px;
            background-position: 0 0, 2px 2px;
            opacity: 0.4;
        }

        .intro-video { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }

        /* 動画マスクのアウトライン: .intro-video-wrapper と同じ位置・寸法で重ね、clipPath の3パスを 2px 赤線で描画
           （クリップ対象外の兄弟要素として配置することで、stroke が clip-path に切られず完全に表示される） */
        .intro-video-outline {
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            height: 20vh;
            aspect-ratio: 2819.9 / 774.1;
            z-index: 5;
            fill: none;
            stroke: red;
            stroke-width: 2;
            pointer-events: none;
            overflow: visible;
        }

        /* ===================================
           about（赤背景）D修正
        =================================== */
        .about-section {
            position: relative;
            width: 100%;
            background-color: var(--red);
            color: var(--white);
           padding-bottom: 2rem;
            overflow: clip;
        }

        /* ---- about 上パート: イラスト(左・固有幅) + 見出し(右・残り) ---- */
        .about-top {
           
            display: flex;
            align-items: center;
            justify-content: center;
                gap: 1rem;
    padding: 2rem 0;
            }

        .about-top-illust {
            display: flex;
            justify-content: center;
        }

        /* woman 306x379: 縦長イラスト */
        .about-top-illust img {
            width: clamp(8rem, 14vw, 18rem);
            height: auto;
            aspect-ratio: 305.667 / 379.126;
        }

        .about-headline {
            font-family: 'Playfair', serif;
            font-weight: 900;
            font-size: clamp(2.5rem, 5vw, 6rem);
            line-height: 1.05;
            color: var(--white);
        }

        /* ---- about リード文: 中央100% ---- */
        .about-lead {
            
           
            font-size: 1.4rem;
    line-height: 2.8;
    color: var(--white);
    font-weight: 100;
    text-align: center;
    font-weight: 500;
    padding: 2rem 0 4rem;
        }

        /* ---- about 下パート: DNAラベル(15%) + 縦書き本文(70%) + CTA(15%) ---- */
        .about-bottom {
            
            display: flex;
            align-items: flex-start;
            justify-content: space-evenly;
            gap: 6rem;
    width: calc(100% - 6rem);
        position: relative;
            z-index: 1;
        }
        .about-bottom > * { min-width: 0; }
        /* .about-bottom .about-dna-side { flex: 0 0 15%; }
        .about-bottom .about-body     { flex: 0 0 70%; }
        .about-bottom .about-cta-box  { flex: 0 0 30%; } */

        /* 左から: DNAラベル → 本文 → CTA */
        .about-dna-side {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: var(--pad-md);
            order: 1;
            position: relative;
            align-items: center;
        }

        /* 縦書き本文: column-count と height はJSが動的決定（balanceAboutBody）。
           ここの 110vh / 3段 は JS未実行時のフォールバック */
        .about-body {
            writing-mode: vertical-rl;
            
            column-fill: auto;
            column-gap: var(--pad-md);
            font-size: 1.2rem;
            line-height: 2.2;
            color: var(--white);
            font-weight: 100;
            order: 1;
            padding: 0 var(--pad-md);
        }

        .about-body p { 
    
                font-weight: 500;

        }

        .about-cta-box {
            color: var(--white);
   
   position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    order: 2;
    align-items: center;
        }

        .about-cta-title { 
            font-size: clamp(0.9rem, 1.2vw, 1.2rem);
            background-color: var(--white);
            color: var(--red);
            position: relative;
            padding: .25rem .5rem;

 }

        .about-cta-keywords {
            writing-mode: vertical-rl;
            font-size:1.8rem;
            line-height: 2;
            font-weight: 100;
            color: var(--white);
           padding: 0 0 3rem;
            font-weight: 500;
                position: relative;

        }


        /* about装飾 */
        .about-illust { position: absolute; z-index: 2; pointer-events: none; }
        .about-illust img { width: 100%; height: 100%; object-fit: contain; }
        /* italy-map 492x729: 縦長、右下 */
.about-illust--italy {
    position: relative;

    width: 20vw;
    aspect-ratio: 492.377 / 729.481;
}

.about-illust--italy-bg{
z-index: -1;
    position: absolute;
    right: -10rem;
        transform: scale(1.5);
}

        /* city/group-8 682x263: 横長、右下に街並み */
        .about-illust--city { 
            position:relative;
            width: 25vw;
            aspect-ratio: 682.322 / 263.177;
            
         }

        /* ===================================
           services 事業内容（赤背景）E修正
        =================================== */
        .services-section {
            position: relative;
            width: 100%;
            background-color: var(--red);
            color: var(--white);
            
            overflow: clip;
        }

        .services-header { 
               display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    gap: 4rem;
          }

        .services-label {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            color: var(--white);
            opacity: 0.7;
            
        }

        .services-title { 

font-size: 1.6rem;
    background-color: var(--white);
    color: var(--red);
    padding: .5rem 2rem;
    font-weight: 400;

         }

        .services-grid {
            display: flex;
            gap: var(--pad-lg);
            
        }
        .services-grid .service-card {
            flex: 0 0 calc((100% - var(--pad-lg) * 2) / 3);
            min-width: 0;
        }

        /* サービスカード: SVG背景画像の上にテキストを重ねる */
        .service-card {
            position: relative;
            padding: var(--pad-lg) var(--pad-lg) var(--pad-lg) clamp(2rem, 5vw, 4rem);
            display: flex;
            flex-direction: column;
            gap: var(--pad-md);
            min-height: 20rem;
        }

        /* 背景SVG（有機的な白い紙片形状） */
        .service-card-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 0;
        }

        .service-card-bg img {
            width: 100%;
            height: 100%;
            object-fit: fill;
        }

        .service-card h3,
        .service-card p,
        .service-card .service-list {
            position: relative;
            z-index: 1;
        }

        .service-card h3 { font-size: 1.6rem; font-weight: 700; color: var(--red); }
        .service-card p { 
font-size: 1.2rem;
    line-height: 1.8;
    color: var(--red);

         }

        .service-list { list-style: none; display: flex; flex-direction: column; gap: 0.25rem; padding:0 0 2rem; }
        .service-list li {
                font-size: 1.1rem;
    padding-left: 1.2rem;
    position: relative;
    color: var(--red);
        }
        .service-list li::before { content: '+'; position: absolute; left: 0; }



        /* ===================================
           店舗情報 共通
        =================================== */
        .shop-section {
            position: relative;
            width: 100%;
            min-height: 100vh;
            
            overflow: clip;
        }

        .shop-inner {
    display: flex;
    gap: var(--pad-xl);
    align-items: flex-start;
    justify-content: center;
    padding: 6rem 2rem;
    width: 100%;
        }
        .shop-inner > * {
            flex: 0 0 calc((100% - var(--pad-xl)) / 2);
            min-width: 0;
        }

        /* shop-slider-wrapper: .shop-slider（swiper本体）+ .swiper-pagination を縦積み */
        .shop-slider-wrapper {
            position: relative;       /* ::before の絶対配置基準 */
            isolation: isolate;        /* z-index:-1 の ::before が wrapper 内に閉じるよう独立 stacking context を作る */
            display: flex;
            flex-direction: column;
            gap: var(--pad-sm);
            width: 100%;
        }
        /* shop-slider 背景: clip-bg.svg を .shop-slider の真下に重ねる（マスクで切り抜かれた領域から差し色シェイプが覗く） */
        .shop-slider-wrapper::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            aspect-ratio: 782.9 / 650.9;  /* .shop-swiper と同じ寸法に揃える */
            background: url('../img/svg/clip-bg.svg') no-repeat center / 100% 100%;
            z-index: -1;                  /* .shop-slider の背後 */
            pointer-events: none;
        }
        /* shop-slider にブロブ形マスクを適用（mask.svg のパスを 0-1 正規化したものを clipPath で参照） */
        .shop-slider {
            clip-path: url(#shop-slider-mask);
        }
        /* pagination を wrapper 直下（swiper 外）に配置するため、Swiper の absolute 指定を解除して通常フロー化 */
        .shop-slider-wrapper > .swiper-pagination {
            position: static;
            display: flex;
            justify-content: center;
            gap: 0.5rem;
        }

        /* F修正: ブロブ型マスク（mask.svg）の自然比に合わせる */
        .shop-swiper {
            width: 100%;

            aspect-ratio: 782.9 / 650.9;  /* mask.svg の viewBox 比に同期 → 形状の歪みを防止 */
            overflow: hidden;
        }
        .shop-swiper .swiper-slide img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: contain;
        }
        /* ページネーション（ドット）の色調整 */
        .shop-slider-wrapper .swiper-pagination-bullet {
            background: var(--white);
            opacity: 0.5;
        }
        .shop-slider-wrapper .swiper-pagination-bullet-active {
            opacity: 1;
        }
        /* MIO は白背景なのでドットを赤ベースに */
        .shops-mio .shop-slider-wrapper .swiper-pagination-bullet {
            background: var(--red);
        }

        .shop-info { display: flex; flex-direction: column; gap: var(--pad-md); }
        .shop-title-area{
            display: flex;
            align-items: flex-end;
            gap: 4rem;
        }
        .shop-title h3{
            display: flex;
            flex-direction: column;
        }
        .shop-section-header { 

            display: flex;
            justify-content: center;
                align-items: center;
                gap: 2rem;

          }
        .shop-section-title { 
            font-size: clamp(1.5rem, 3vw, 2.5rem);
            writing-mode: vertical-rl;
    font-size: 1.8rem;
    line-height: 2;
          }

        .shop-label {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            opacity: 0.7;
        }

        .shop-logo { width: clamp(6rem, 12vw, 10rem); height: auto; }
        /* 店舗別ロゴの縦横比（SVGのwidth/height="100%"で自然比が取得できないため明示） */
        .shops-mugi .shop-logo { aspect-ratio: 275.552 / 247.673; }
        .shops-mio .shop-logo { aspect-ratio: 245.104 / 235.854; }
        .shops-mano .shop-logo { aspect-ratio: 302.192 / 238.981; }
        .shop-type { font-size:1.2rem; letter-spacing: 0.1em; padding: 0 0 2rem; }
        .shop-address { font-size:1.6rem; line-height: 1.8; }
        .shop-phone { font-size: 1.2rem; font-weight: 700; }

        .shop-instagram {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            text-decoration: none;
            color: inherit;
            font-size:1.4rem;

            letter-spacing: 0.05em;

        }
        .shop-instagram:hover { opacity: 0.6; }
        .shop-instagram-icon { width: 1.6rem; height: 1.6rem; }
        /* MIO は白背景なのでアイコンを黒に（インライン SVG の --fill-0 を上書き） */
        .shops-mio .shop-instagram-icon { --fill-0: var(--ink); }

        /* A修正: 店舗背景色 MUGI=緑, MIO=白, MANO=赤 */
        .shops-mugi {  background-color: var(--green); color: var(--white); }
        .shops-mio { background-color: var(--white); color: var(--ink); }
        .shops-mano {  background-color: var(--red); color: var(--white); }

        /* 店舗イラスト装飾 */
        .shop-illust { position: absolute; z-index: 2; pointer-events: none; }
        .shop-illust img { width: 100%; height: 100%; object-fit: contain; }

        /* MUGI(緑): cheers 955x467 上部中央, lantern 114x195 右上, dj 735x200 下部右, hatman 453x694 右側 */
        .shop-illust--cheers {  position:relative; width: clamp(15rem, 38vw, 48rem); aspect-ratio: 954.809 / 467.208; }
        .shop-illust--lantern {  position:relative; top: -5rem; width: clamp(2.5rem, 4.5vw, 5rem); aspect-ratio: 113.766 / 195.476; }
        .shop-illust--dj { bottom: 8%; right: 3%; width: clamp(10rem, 25vw, 32rem); aspect-ratio: 735.496 / 199.68; }
        .shop-illust--hatman { top: 15%; right: 3%; width: clamp(6rem, 12vw, 16rem); }

        /* MIO(白): hand 372x429 左上, tokkuri 370x357 左下, onigiri 212x215 右下 */
        .shop-illust--hand { top: 5%; left: 2%; width: clamp(6rem, 10vw, 14rem); aspect-ratio: 372.247 / 429.408; }
        .shop-illust--tokkuri { bottom: 15%; left: 3%; width: clamp(6rem, 10vw, 14rem); aspect-ratio: 370.242 / 357.175; }
        .shop-illust--onigiri { bottom: 5%; right: 4%; width: clamp(4rem, 7vw, 9rem); aspect-ratio: 211.703 / 215.315; }

        /* 吹き出しイラスト — 各店舗右側に配置、中にテキストを重ねる */
        .shop-bubble {
            position: relative;
            z-index: 2;
            pointer-events: none;
            top: 10%;
            
            width: clamp(10rem, 18vw, 22rem);
        }

        /* 店舗別の吹き出しSVG縦横比 */
        .shop-bubble--mugi { aspect-ratio: 439.69 / 681.759; }
        .shop-bubble--mio { aspect-ratio: 439.439 / 642.384; }
        .shop-bubble--mano { aspect-ratio: 453.234 / 693.852; }

        .shop-bubble img {
            display: block;
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        /* 吹き出し内テキスト（縦書き）
           吹き出しSVGの内側に収まるよう、親(.shop-bubble)の幅・高さに対する%で inset 指定。
           width: 100% + right: 15% だと left に overflow するため、left/right を対称にして親に収める。 */
        .shop-bubble-text {
            list-style: none;
            margin: 0;
            padding: 0;
            position: absolute;
            top: 8%;
            left: 15%;
            right: 15%;
            height: 55%;
            writing-mode: vertical-rl;
            font-size: clamp(1rem, 1.3vw, 1.3rem);
            line-height: 2;
            font-weight: 500;
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: center;
            pointer-events: none;
        }
        

        /* 店舗別の微調整（吹き出しSVG毎の balloon body 位置に合わせる） */
        .shop-bubble--mugi .shop-bubble-text { top: 8%;  left: 15%; right: 15%; height: 55%; }
        .shop-bubble--mio  .shop-bubble-text { top: 8%;  left: 15%; right: 15%; height: 55%; }
        .shop-bubble--mano .shop-bubble-text { top: 8%;  left: 15%; right: 15%; height: 55%;justify-content: flex-start; }

        /* MANO(赤): soccer 254x295 左上, batter 263x329 左下, tables 631x488 右下, gifu 69x82 右上, wine 165x300 中央右 */
        .shop-illust--soccer { top: 8%; left: 3%; width: clamp(5rem, 10vw, 13rem); aspect-ratio: 254.128 / 295.031; }
        .shop-illust--batter { bottom: 20%; left: 3%; width: clamp(5rem, 10vw, 13rem); aspect-ratio: 263.062 / 329.25; }
        .shop-illust--tables { bottom: 3%; right: 2%; width: clamp(10rem, 22vw, 28rem); aspect-ratio: 631.136 / 487.645; }
        .shop-illust--gifu { top: 12%; right: 8%; width: clamp(3rem, 6vw, 8rem); aspect-ratio: 69 / 82; }
        .shop-illust--wine { bottom: 35%; right: 14%; width: clamp(3rem, 5vw, 7rem); aspect-ratio: 164.96 / 300.49; }



        /* ===================================
           map-section（オレンジ背景）H修正
        =================================== */
        .map-section {
            position: relative;
            width: 100%;
            min-height: 50vh;
            background-color: var(--sun-gold);
            overflow: clip;
            padding: var(--pad-lg) var(--pad-md);
        }

        /* .shop-section-header と同じレイアウト: 見出しと装飾イラストを横並びでセンタリング */
        .map-header {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 2rem;
            padding: 0 0 4rem;
        }
        /* .shop-section-title と同じ縦書きスタイル + 赤文字 */
        .map-title {
            writing-mode: vertical-rl;
            font-size: 1.8rem;
            line-height: 2;
            font-weight: 700;
            color: var(--red);
        }

        /* map-header 内の samurai は flex アイテムとして inline 配置（基底の absolute を上書き） */
        .map-header .map-illust--samurai {
            position: relative;
            top: auto;
            left: auto;
            /* width / aspect-ratio は基底の .map-illust--samurai 定義をそのまま使用 */
        }

        /* map-header のランタン: インライン SVG の --stroke-0 を赤に上書き（他店舗の白いランタンには影響なし） */
        .map-header .shop-illust--lantern {
            --stroke-0: var(--red);
        }

        /* Google My Maps 埋め込み: 親の padding を無視して画面幅いっぱい（100vw）に拡張
           黒ヘッダー（"Google マイマップで作成されました"）は iframe を 60px 上にずらして
           overflow: hidden で隠す（Google マイマップ embed には非表示パラメータが無いため） */
        .map-embed {
            width: 100vw;
            margin-left: calc(50% - 50vw);
            height: 60vh;
            overflow: hidden;
        }
        .map-embed iframe {
            display: block;
            width: 100%;
            height: calc(100% + 60px);  /* 黒ヘッダー分だけ縦に伸ばす */
            margin-top: -60px;          /* 上にずらしてヘッダーをコンテナ外へ */
            border: 0;
        }

        .map-placeholder {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 40vh;
            font-size: 1rem;
            color: var(--ink);
            opacity: 0.4;
            background-color: var(--paper);
            border-radius: 1rem;
        }

        .map-illust { position: absolute; z-index: 2; pointer-events: none; }
        .map-illust img { width: 100%; height: 100%; object-fit: contain; }
        /* samurai 575x261: マップ左上 */
        .map-illust--samurai { top: 3%; left: 2%; width: clamp(10rem, 22vw, 28rem); aspect-ratio: 575.41 / 260.777; }

        /* ===================================
           farewell（オレンジ背景）I修正
        =================================== */
        .farewell-section {
            position: relative;
            width: 100%;
            
            background-color: var(--sun-gold);
            text-align: center;
            color: var(--ink);
            overflow: clip;
            display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 4rem 0;
        }

        .farewell-illust {  pointer-events: none; }
        .farewell-illust img { width: 100%; height: 100%; object-fit: contain; }
        /* group-27 861x161: Buona giornata横長テキスト、上部中央 */
        .farewell-illust--text { top: 8%; left: 50%; transform: translateX(-50%); width: clamp(18rem, 40vw, 50rem); aspect-ratio: 860.843 / 160.854; }
        /* group-28 661x520: 3人の顔、下部中央 */
        .farewell-illust--faces {  width:30vw; aspect-ratio: 660.621 / 520.36; }

        .farewell-title {

            
        }

        .farewell-title img {
            width: clamp(15rem, 35vw, 45rem);
            height: auto;
            aspect-ratio: 860.843 / 160.854;
        }

        .farewell-subtitle {
            position: relative;
            z-index: 3;
            font-size: clamp(1rem, 2vw, 1.5rem);
            font-weight: 700;
        }

        .shop-map{
            padding: 1rem 0;
        }

        .shop-map a{
                text-decoration: none;
    font-size: 1rem;
    padding: .25rem 1.5rem;
    border-radius: 1rem;
            
        }


        .shop-map.mugi a{
            background-color: var(--green);
            border:1px solid var(--white);
            color: var(--white);
        }

        .shop-map.mio a{
             background-color: var(--white);
             border:1px solid var(--ink);
             color: var(--ink);
        }

        .shop-map.mano a{
             background-color: var(--red);
             border:1px solid var(--white);
             color: var(--white);
        }

        /* ===================================
           footer（緑背景）J修正
        =================================== */
        footer {
    background-color: var(--green);
    color: var(--white);
    padding: 1rem;
    text-align: center;
    font-size: 1.2rem;
        }

        /* ===================================
           アニメーション
        =================================== */
        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.5; }
            100% { opacity: 1; }
        }

        /* ===================================
           レスポンシブ
        =================================== */
        @media (max-width: 780px) {
            .about-top,
            .about-bottom,
            .services-grid,
            .shop-inner {
                flex-direction: column;
                width: 100%;
            }
            .about-bottom{
                width: 100%;
            }
            .about-bottom .about-dna-side,
            .about-bottom .about-body,
            .about-bottom .about-cta-box,
            .services-grid .service-card,
            .shop-inner > * {
                flex: 0 0 auto;
                width: 100%;
            }
            .about-body { writing-mode: horizontal-tb; height: auto; column-count: 1; }
            .about-cta-keywords { padding:0; writing-mode: horizontal-tb; min-height: auto; }
            /* .intro-illust,
            .shop-illust,
            .shop-bubble,
            .about-illust,
            .farewell-illust,
            .map-illust { display: none; } */
            .about-dna-canvas { display: none; }
            .map-section { min-height: 40vh; }
            .intro-section {
                         padding-top: 10vh;
        min-height: 90vh;
                 }
.intro-illust--cantare{
        top: 10%;
    width: 35vw;
}
.intro-illust--mangiare {
    top: 40.1%;
    left:3%;
    width: 42vw;
}
.intro-illust--amore{
      width: 38vw;  
}
.intro-video-outline,
.intro-video-wrapper{
    height: auto;
    width: 90vw;
}
.header-brand-top a span.en{
        font-size: 1.4rem;
}
.header-brand-top a{
    font-size: .9rem;
}
.status-dot{
    width: .5rem;
    top:0;
}
.header-tagline{
    font-size: .8rem;
}

#main-nav .header-brand{
    padding: 2rem;
    color: var(--white);
}
.menu-btn{

        gap: 0;
        width: 4rem;
    height: 4rem;
    top: 1rem;
    right: 1rem;
}
.menu-btn span{
    width: 1.2rem;
}
.about-lead{
        padding: 0 0 4rem;
    text-align: left;
    font-size: 1.1rem;
}
section {
    padding: 0 1rem 20vh;
}
.about-body{
    padding: 0 1rem;
    font-size: 1.1rem;
}
.about-body p {
    padding: 0 0 1rem;
}
.about-lead br{
    display: none;
}
.about-bottom{
    gap: 2rem;
}
.map-title,
.shop-info,
.about-cta-box{
    order: 1;
}
.map-illust--samurai,
.shop-slider-wrapper,
.about-body{
    order: 2;
}
.about-illust--italy{
    width: 50vw;
}

.map-header,
.shop-section-header,
.services-header{
           flex-direction: column;
}

.map-illust--samurai,
.farewell-title,
.farewell-illust--faces,
.shop-illust--cheers,
.about-illust--city{
    width: 100%;
}
.map-title,
.shop-section-title{
    writing-mode: horizontal-tb;
}
.about-cta-keywords{
            font-size: 1.4rem;
}
.shop-illust--lantern{
    display: none;
}
.shop-inner{
    padding: 2rem 0;
    gap: 2rem;
}
.shop-title-area{
        justify-content: space-evenly;
            gap: 0;
}
.shop-address{
        font-size: 1.4rem;
}

.farewell-section{
    padding: 0;
}

.about-illust--italy-bg{
    position: absolute;
    right: inherit;
        transform: scale(1.2);
}

.shop-bubble-text{

    font-size: .9rem;
        }


        /* 中幅(769-1100px): モバイル(@media max-width:1080px)で1段化されるのを上書きして3段に戻す
           ※後置することでカスケード優先順位を確保 */
        /* 中幅(769-1100px): JS未実行時にモバイル(@media max-width:1080px)で1段化される
           のを縦書き3段に戻すフォールバック。JS実行時は inline style で上書きされる */
        @media (min-width: 769px) and (max-width: 1100px) {
            .about-body {
                writing-mode: vertical-rl;
                height: 110vh;
                column-count: 3;
            }
        }

