:root {
      --white: #ffffff;
      --warm: #fff6e8;
      --navy: #2f3b52;
      --red: #e03318;
      --sun: #ffc93c;
      --sky: #3ba7d6;
      --text: #33302c;
      --muted: #6b6159;
      --line: #f0e2cd;
      --photo: #f2e7d6;
      --radius: 20px;
      /* PCで小さく見える対策：1080→1280に拡大（2026-08-24 社長指摘） */
      --container: 1280px;
    }

    * { box-sizing: border-box; }
    /* 流れるカードなど、はみ出す仕掛けが横スクロールを生まないようにする。
       🔴★2026-09-01 修正: html と body の**両方**に overflow-x:hidden を書いていたため、
          Chrome でスクロールの基準がおかしくなり、**ページ内リンクが1つも効かなくなっていた**。
          ナビの「制作事例」「ぶんちゃんねる」等を押しても、画面はトップのまま動かない。
          実測＝`document.querySelector('#youtube').scrollIntoView()` を手で呼んでも scrollY が
          115 から1pxも動かなかった（目的地はページ内 12841px）。
          → html 側は overflow-x を書かない。body 側は `clip` にする。
            `clip` は `hidden` と違ってスクロールの入れ物を作らないので、この事故が起きない。
            （Safari 16 以前は clip 非対応なので hidden にそっと戻る書き方にしてある） */
    html { scroll-behavior: smooth; }
    body {
      margin: 0;
      overflow-x: hidden;
      overflow-x: clip;
      color: var(--text);
      background: var(--white);
      /* ★カード画像（マーシー納品）と同じ極太の角ゴシックに統一 */
      font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
      font-size: 16px;
      line-height: 1.9;
      -webkit-font-smoothing: antialiased;
    }
    a { color: inherit; }
    img { max-width: 100%; }
    h1, h2, h3, p { margin-top: 0; }
    h1, h2, h3 {
      font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
      font-weight: 900;
      letter-spacing: .01em;
      line-height: 1.35;
    }
    button, a { -webkit-tap-highlight-color: transparent; }
    :focus-visible { outline: 3px solid #b8351f; outline-offset: 3px; }
        /* 赤地・緑地の上では白で縁取る（2026-08-26 監査: コントラスト3:1未満だった）*/
        .header-bar :focus-visible,
        footer :focus-visible,
        .cta-line:focus-visible,
        .cb-line:focus-visible,
        .btn--line:focus-visible { outline-color: #ffffff; }

    .container { width: min(100%, calc(var(--container) + 40px)); margin-inline: auto; padding-inline: 20px; }
    /* ★セクションの区切りをはっきりさせる（2026-08-25 社長指示）
       上下の余白を広げ、境目に線を引き、白とクリームを交互にする */
    .section {
      padding-block: 96px;
      border-top: 2px solid var(--line);
    }
    .section:first-of-type { border-top: 0; }
    .warm { background: var(--warm); }
    @media (max-width: 760px) {
      .section { padding-block: 60px; }
    }
    /* 見出しラベル：★ぶんちゃんが吹き出しで話しかけている形
       （2026-08-25 社長「左にロゴ顔／赤枠を吹き出しにして、ロゴが伝えているように」） */
    .eyebrow {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 22px;
      /* 吹き出しの下に細い赤ライン（2026-08-25 社長指示） */
      padding: 0 0 14px;
      border-bottom: 2px solid var(--red);
      background: none;
      color: var(--text);
      font-weight: 900;
      transform: none;
    }
    /* 顔アイコン（img/face.webp を差し替えるだけで変わります） */
    .eyebrow::before {
      content: "";
      width: 54px; height: 54px;
      flex: 0 0 54px;
      background: url("img/face.webp") center/contain no-repeat;
    }
    /* 2026-08-27 社長指示：吹き出しの中を日本語（大）に、外へ英語（小）を出す。
       HTMLは英語→日本語の順のままなので order で並びを入れ替える（全11ページを触らずに済む） */
    .eb-ja {
      order: 1;
      position: relative;
      display: inline-block;
      padding: 11px 24px;
      background: var(--red);
      border-radius: 12px;
      color: #fff;
      font-size: 24px;
      font-weight: 900;
      line-height: 1;
      letter-spacing: .06em;
      white-space: nowrap;
    }
    /* 吹き出しのしっぽ（顔の方を向く） */
    .eb-ja::before {
      content: "";
      position: absolute;
      top: 50%;
      left: -9px;
      width: 0; height: 0;
      border-top: 8px solid transparent;
      border-bottom: 8px solid transparent;
      border-right: 10px solid var(--red);
      transform: translateY(-50%);
    }
    .eb-en {
      order: 2;
      color: var(--muted);
      font-size: 13px;
      font-weight: 900;
      letter-spacing: .14em;
      white-space: nowrap;
    }


    @media (max-width: 760px) {
      /* スマホでも見出しをしっかり見せる（2026-08-25 社長「各項目、もう少し大きくして」） */
      .eyebrow { gap: 10px; margin-bottom: 14px; }
      .eyebrow::before {
        width: 44px; height: 44px; flex-basis: 44px;
      }
      /* 長い日本語（はんこ屋ぶんちゃんねる 等）が390px幅で溢れるため、
         スマホでは吹き出しを詰め、英語は折り返して次の行へ逃がす */
      .eyebrow { flex-wrap: wrap; row-gap: 6px; }
      .eb-ja { padding: 9px 16px; font-size: 19px; letter-spacing: 0; border-radius: 9px; }
      .eb-en { font-size: 12px; letter-spacing: .12em; }
      /* 見出し・本文もひと回り大きく（clampを上書きするため個別指定） */
      /* ★2026-09-04 社長「文言スマホ版2列にして」→ 31px固定だと13文字の行（助けられて開いた店だから、）が折れて3〜4行になる。
         幅に応じて 6.7vw（390pxで26px・430pxで29px）。<br> で切った2行に収まる大きさ */
      .section-title, h2.section-title { font-size: clamp(22px, 6.7vw, 31px); margin-bottom: 16px; line-height: 1.35; }
      .section-lead { font-size: 15px; line-height: 1.95; }
      .contact h2 { font-size: 30px; }
      .item-list h3 { font-size: 17px; }
      .item-list p { font-size: 14px; }
      .flow-step h3 { font-size: 18px; }
      .flow-step p { font-size: 14px; }
      .faq-q { font-size: 16px; }
      .faq-a { font-size: 14px; }
      .story-copy p, .contact-info { font-size: 15px; }
    }
    .section-title { margin-bottom: 18px; color: var(--navy); font-size: clamp(28px, 4vw, 46px); }
    .section-lead { max-width: 680px; color: var(--muted); }
    /* ポップ方針に統一（旧・明朝の差し込みは廃止） */
    .mincho { font-family: inherit; font-weight: 900; }
    .red { color: var(--red); }

    .photo-placeholder {
      display: grid;
      place-items: center;
      overflow: hidden;
      min-height: 300px;
      background: var(--photo);
      color: #686868;
      text-align: center;
      border-radius: var(--radius);
    }
    .photo-placeholder span {
      padding: 10px 14px;
      background: rgba(255,255,255,.74);
      font-size: 13px;
      font-weight: 700;
      line-height: 1.5;
    }

    .cta {
      display: inline-flex;
      min-height: 58px;
      align-items: center;
      justify-content: center;
      padding: 12px 30px;
      border: 3px solid var(--text);
      border-radius: 999px;
      box-shadow: 0 5px 0 var(--text);
      color: #fff;
      background: var(--red);
      font-weight: 900;
      text-decoration: none;
      transition: transform .12s ease, box-shadow .12s ease;
    }
    .cta::after { content: "→"; margin-left: 14px; }
    .cta:hover { transform: translateY(3px); box-shadow: 0 2px 0 var(--text); }
    .cta:active { transform: translateY(5px); box-shadow: none; }

    /* 1. FV（品目スライド） */
    .header {
      display: flex;
      min-height: 82px;
      align-items: center;
      justify-content: space-between;
      gap: 20px;
    }
    .logo { margin: 0; }
    .logo img { display: block; width: auto; height: 52px; }
    .header { position: relative; flex-wrap: wrap; }
    .gnav { display: flex; flex: 1; justify-content: center; gap: clamp(14px, 2.2vw, 34px); }
    .gnav a {
      position: relative;
      padding: 6px 0;
      color: var(--text);
      font-size: 15px;
      font-weight: 900;
      text-decoration: none;
      white-space: nowrap;
    }
    .gnav a::after {
      content: "";
      position: absolute;
      right: 0; bottom: 0; left: 0;
      height: 3px;
      background: var(--red);
      border-radius: 2px;
      transform: scaleX(0);
      transition: transform .18s ease;
    }
    .gnav a:hover::after { transform: scaleX(1); }

    /* スマホ用の三本線ボタン（PCでは隠す） */
    .nav-toggle {
      display: none;
      width: 46px;
      height: 46px;
      padding: 0;
      background: none;
      border: 0;
      cursor: pointer;
    }
    .nav-toggle span {
      display: block;
      width: 26px;
      height: 3px;
      margin: 5px auto;
      background: var(--text);
      border-radius: 2px;
      transition: transform .2s ease, opacity .2s ease;
    }
    .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

    .header-note {
      padding: 7px 16px;
      background: var(--sun);
      border-radius: 999px;
      color: var(--text);
      font-size: 12px;
      font-weight: 900;
      transform: rotate(1.5deg);
    }

    /* ===== ヘッダー =====
       PC＝ロゴ＋横並びナビ（三本線はスマホだけ。2026-08-24 社長指摘で戻した）
       スマホ＝ロゴ＋三本線で固定、開くと全画面の大文字メニュー */
    .header { justify-content: space-between; }
    .gnav-sub, .gnav-foot { display: none; }   /* PCでは出さない */
    .gnav-main { display: contents; }          /* PCでは横並びナビとして扱う */

    /* ===== ヘッダーは赤地（2026-08-24 社長指示）。ロゴと三本線は白に反転 =====
       ヘッダーを包む .container の左右余白ぶん、外へ広げて全幅の帯にする */
    /* ★赤帯は .header-bar（container の外側）が担当。.header 自体は中身の配置のみ */
    .header-bar { background: var(--red); }
    .header-bar > .container { display: block; }
    /* ロゴはアプリと同じカラー版（img/app-logo.webp）。背景は透過のまま赤地に直接置く。
       ★印鑑の枠の中の白や、顔の白は残してある（2026-08-25 社長指示） */
    .logo img { height: 62px; }
    .f-name img { display: block; width: auto; height: 48px; }
    .nav-toggle span { background: #fff; }
    @media (max-width: 760px) {
      .logo img { height: 46px; }
      .f-name img { height: 40px; }
    }

    /* スマホはスクロールしても上に貼り付く（2026-08-24 社長指示）
       ★sticky では親（.container）の高さぶんしか効かないため fixed で固定する */
    @media (max-width: 760px) {
      /* 固定するのは赤帯ごと */
      .header-bar {
        position: fixed;
        top: 0; right: 0; left: 0;
        z-index: 800;
      }
      .header { min-height: 66px; padding-block: 8px; border-bottom: 0; }
      /* 固定したぶん、本文が隠れないよう上に余白 */
      body { padding-top: 66px; }
      /* 開いたメニューが画面から溢れないように */
      .gnav.is-open { max-height: calc(100vh - 84px); overflow-y: auto; }
    }
    /* PCのナビは白文字（赤地のため） */
    .gnav a { color: #fff; }
    .gnav a::after { background: #fff; }
    .header-note { display: none; }

    /* ===== スマホ：開くと全画面の大文字メニュー（2026-08-24 社長指示：dub-design 風）===== */
    @media (max-width: 760px) {
      .nav-toggle { display: block; order: 2; position: relative; z-index: 810; }
      .gnav {
        display: none;
        position: fixed;
        top: 0; right: 0; bottom: 0; left: 0;
        z-index: 790;
        order: 3;
        width: auto;
        flex: none;
        flex-direction: column;
        gap: 0;
        padding: 88px 24px 40px;
        background: var(--white);
        overflow-y: auto;
        overscroll-behavior: contain;
      }
      .gnav.is-open { display: flex; }
      /* 英語（大）＋日本語（小）の2段組。2026-08-24 社長「タブみたいにスタイリッシュに」 */
      .gnav-main { display: grid; }
      .gnav-main a {
        display: flex;
        align-items: baseline;
        gap: 14px;
        padding: 15px 2px;
        border: 0;
        border-bottom: 1px solid var(--line);
        text-decoration: none;
      }
      .gnav-main a:last-child { border-bottom: 0; }
      /* ★2026-09-04 社長「ヘッダー英語と日本語入れ替え」→ 日本語を主（大）・英語を副（小）に。HTMLの順は英→日のまま、order で入れ替える */
      .gm-ja {
        order: 1;
        color: var(--red);
        font-size: clamp(26px, 6.6vw, 40px);
        font-weight: 900;
        line-height: 1;
        letter-spacing: .02em;
        white-space: nowrap;
      }
      .gm-en {
        order: 2;
        color: var(--muted);
        font-size: 12px;
        font-weight: 900;
        letter-spacing: .1em;
      }
      .gnav-sub { display: block; margin-top: 28px; padding-top: 22px; border-top: 2px solid var(--red); }
      .gnav-label { margin: 0 0 14px; color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: .22em; }
      .gnav-items { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
      .gnav-items a {
        padding: 10px 14px;
        background: #fffaf2;
        border: 2px solid var(--line);
        border-radius: 999px;
        color: var(--text);
        font-size: 14px;
        font-weight: 900;
        text-align: center;
      }
      .gnav-foot { display: grid; gap: 10px; margin-top: 30px; }
      .gnav-line, .gnav-tel {
        display: grid;
        place-items: center;
        min-height: 54px;
        border: 3px solid var(--text);
        border-radius: 999px;
        box-shadow: 0 4px 0 var(--text);
        color: #fff;
        font-size: 16px;
        font-weight: 900;
      }
      .gnav-line { background: #06c755; }
      .gnav-tel { background: var(--red); }
    }

    /* 1. オープニング看板 → 品目タイル */
    .hero { position: relative; overflow: hidden; padding-block: 30px 56px; background: var(--warm); }
    .opening { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; animation: openIn .7s ease both; }
    .opening-lead {
      display: inline-flex;
      margin: 0;
      padding: 8px 20px;
      background: var(--sky);
      border-radius: 999px;
      color: #fff;
      font-size: 14px;
      font-weight: 900;
      letter-spacing: .06em;
      transform: rotate(-1.5deg);
    }
    .opening-title {
      margin: 0;
      color: var(--navy);
      font-size: clamp(34px, 6.4vw, 76px);
      font-weight: 900;
      line-height: 1.3;
      letter-spacing: .01em;
    }
    .opening-title .pop { color: var(--red); text-shadow: 5px 5px 0 var(--sun); }
    .opening-note { max-width: 560px; margin: 0; color: var(--muted); font-size: 15px; }
    .opening-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 6px; }
    .opening-safe { margin: 4px 0 0; color: var(--muted); font-size: 13px; font-weight: 700; }
    .cta-line { background: #06c755; }

    /* ===== 品目カード =====
       PC＝常時ゆっくり流れるスライド（2026-08-24 社長「前の方がいい。ゆっくり流れる感じ」）
          カードの大きさは5枚表示相当のまま。マウスが乗ると止まる。
       スマホ＝3列グリッド。 */
    .carousel { position: relative; margin-top: 22px; }
    /* 基本（スマホ）＝3列グリッド。複製カードは出さない */
    .carousel-track {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 8px;
      align-items: stretch;
    }
    .car-btn { display: none; }
    @media (max-width: 760px) {
      .carousel-track > [aria-hidden="true"] { display: none; }
    }

    /* PC＝ゆっくり流れる（5枚表示相当の大きさ）
       ★はみ出しは .carousel の overflow:hidden で隠す。body 側にも保険をかけてある */
    @media (min-width: 761px) {
      .carousel { overflow: hidden; }
      .carousel-track {
        display: flex;
        gap: 20px;
        width: max-content;
        animation: cardFlow var(--flow-duration, 70s) linear infinite;
      }
      .carousel:hover .carousel-track { animation-play-state: paused; }
      .carousel-track .ci { flex: 0 0 240px; width: 240px; }
    }
    /* 項目が見えだすまで止めておく（2026-09-08 社長指示）。script.js が is-waiting を外すと動き出す。
       PCの横流れ（cardFlow）とスマホのウェーブ（cardWave）の両方に効く */
    .carousel-track.is-waiting,
    .carousel-track.is-waiting .ci { animation-play-state: paused !important; }
    @keyframes cardFlow {
      from { transform: translateX(0); }
      to { transform: translateX(calc(var(--flow-distance, 0px) * -1)); }
    }

    /* 見出し下の品目一覧（2026-08-24 社長指示）
       色は各カードの蛍光色（インラインの --c）に合わせ、ボタンは全て同サイズ */
    .item-nav {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
      margin-top: 16px;
    }
    .item-nav a {
      display: grid;
      place-items: center;
      min-width: 104px;
      min-height: 34px;
      padding: 4px 14px;
      background: #fff;
      border: 2px solid var(--c, var(--text));
      border-radius: 999px;
      box-shadow: 0 2px 0 var(--c, var(--text));
      color: var(--c, var(--text));
      font-size: 13px;
      font-weight: 900;
      white-space: nowrap;
      text-decoration: none;
      transition: transform .12s ease, box-shadow .12s ease;
    }
    .item-nav a:hover { transform: translateY(1px); box-shadow: 0 1px 0 var(--c, var(--text)); }
    /* スマホでは品目ボタンは出さない（2026-08-24 社長指示。3列のカード一覧が既に一覧の役を担う） */
    @media (max-width: 760px) {
      .item-nav { display: none; }
    }

    /* 「これ全部つくれます！」の上のキャッチ（2026-08-24 社長指示） */
    .hero-catch {
      margin: 0 0 6px;
      color: var(--navy);
      font-size: clamp(18px, 2.6vw, 32px);
      font-weight: 900;
      line-height: 1.5;
      letter-spacing: .01em;
      text-align: center;
    }
    /* 2語を一回り大きく。モノづくり＝赤、はんこ屋ぶんちゃん＝黒（2026-08-24 社長指示） */
    .hc-big { font-size: 1.35em; font-weight: 900; }
    .hc-red { color: var(--red); }
    .hc-black { color: var(--text); }
    .hc-br { display: none; }
    @media (max-width: 760px) {
      /* スマホは行間・字間・上下の余白を詰める（2026-08-24 社長指示） */
      .hero-catch { font-size: 16px; line-height: 1.25; letter-spacing: -.01em; margin-bottom: 0; }
      .hc-big { font-size: 1.28em; }
      .hc-br { display: inline; }
      .tiles-head { margin-top: 2px; margin-bottom: 8px; }
    }

    /* ===== クチコミ：自動でゆっくり流れる（2026-08-25 社長指示）=====
       品目カードと同じ考え方。途切れないよう同じ並びをもう1組つくり、
       マウスを乗せると止まる。 */
    .voices { position: relative; overflow: hidden; max-width: 100%; }
    .voices-track {
      display: flex;
      gap: 20px;
      width: max-content;
      padding: 6px 2px 10px;
      animation: voiceFlow var(--voice-duration, 90s) linear infinite;
    }
    .voices:hover .voices-track { animation-play-state: paused; }
    @keyframes voiceFlow {
      from { transform: translateX(0); }
      to { transform: translateX(calc(var(--voice-distance, 0px) * -1)); }
    }
    .voice {
      display: grid;
      grid-template-rows: auto 1fr auto;
      gap: 14px;
      flex: 0 0 340px;
      width: 340px;
      margin: 0;
      padding: 26px 24px;
      background: #fff;
      border: 3px solid var(--text);
      border-radius: var(--radius);
      box-shadow: 0 6px 0 var(--text);
    }
    .v-head { display: flex; align-items: center; gap: 12px; }
    .v-avatar {
      display: grid;
      place-items: center;
      width: 46px; height: 46px;
      flex: 0 0 46px;
      background: var(--sky);
      border-radius: 50%;
      color: #fff;
      font-size: 18px;
      font-weight: 900;
    }
    .v-name { display: block; font-size: 15px; font-weight: 900; }
    .v-when { display: block; color: var(--muted); font-size: 12px; }
    .v-text { margin: 0; font-size: 15px; line-height: 1.95; }
    .v-foot { display: flex; align-items: center; justify-content: space-between; }
    .v-stars { color: #f5b301; font-size: 17px; letter-spacing: .08em; }
    .v-g {
      display: grid; place-items: center;
      width: 28px; height: 28px;
      border-radius: 50%;
      background: #fff;
      border: 2px solid var(--line);
      color: #4285f4;
      font-size: 15px; font-weight: 900;
    }
    /* 自動で流れるので矢印は出さない */
    .v-btn { display: none; }
    @media (max-width: 760px) {
      .voice { flex: 0 0 280px; width: 280px; padding: 22px 18px; }
    }

    /* ===== YouTube（2026-08-25 社長指示：特別な背景はやめ、他の項目と同じ扱いに）===== */
    .yt-stats { display: flex; flex-wrap: wrap; gap: 12px 34px; margin: 26px 0 26px; }
    .yt-stat { display: grid; color: var(--text); font-size: 15px; font-weight: 700; }
    .yt-stat b { color: var(--red); font-size: 30px; font-weight: 900; line-height: 1.1; }
    .yt-stat small { color: var(--muted); font-size: 12px; font-weight: 700; }
    .yt-cta { background: #ff0000; }
    .sns-single { grid-template-columns: 1fr; max-width: 640px; }
    @media (max-width: 760px) {
      .yt-stats { gap: 10px 22px; margin: 20px 0 20px; }
      .yt-stat b { font-size: 26px; }
      .yt-cta { width: 100%; }
    }

    /* ===== お問い合わせ（2026-08-24 社長指示：dub-design 参考。メール対応）===== */
    /* ===== 文書ページ（プライバシーポリシー等）2026-08-25 ===== */
    .doc { max-width: 820px; }
    .doc-lead { margin: 0 0 40px; color: var(--muted); font-size: 15px; line-height: 2; }
    .doc h2 {
      margin: 40px 0 14px;
      padding-left: 14px;
      border-left: 6px solid var(--red);
      color: var(--navy);
      font-size: 20px;
      font-weight: 900;
      line-height: 1.4;
    }
    .doc p { margin: 0 0 14px; font-size: 15px; line-height: 2; }
    .doc ul { margin: 0 0 18px; padding-left: 1.4em; }
    .doc li { margin-bottom: 8px; font-size: 15px; line-height: 1.9; }
    .doc a { color: var(--red); font-weight: 700; }
    /* ★.doc a の赤文字がボタンの白文字を上書きして「赤地に赤文字」で消えていた
       （2026-08-27 社長がスマホで発見）。ボタンだけは自前の色に戻す */
    .doc a.cta { color: #fff; }
    .doc a.cta-second { color: var(--text); }
    .doc a.cta-line { color: #fff; }
    .doc-contact {
      padding: 22px 24px;
      background: #fff;
      border: 3px solid var(--text);
      border-radius: var(--radius);
      box-shadow: 0 5px 0 var(--text);
    }
    .doc-date { margin-top: 34px; color: var(--muted); font-size: 13px; }
    @media (max-width: 760px) {
      .doc h2 { font-size: 17px; margin-top: 32px; }
      .doc p, .doc li { font-size: 14px; }
      .doc-contact { padding: 18px 16px; }
    }

    /* ===== 品目ごとの納期（2026-08-25 社長指示）===== */
    .speed-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
    .sp-item {
      padding: 24px 22px;
      background: #fff;
      border: 3px solid var(--text);
      border-radius: var(--radius);
      box-shadow: 0 6px 0 var(--text);
    }
    .sp-name {
      margin: 0 0 14px;
      padding-bottom: 10px;
      border-bottom: 2px solid var(--red);
      color: var(--navy);
      font-size: 20px;
      font-weight: 900;
    }
    .sp-rows { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
    .sp-rows li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
    .sp-label { color: var(--muted); font-size: 14px; font-weight: 700; }
    .sp-time { color: var(--red); font-size: 20px; font-weight: 900; white-space: nowrap; }
    .sp-note { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
    .speed-other { margin: 26px 0 0; font-size: 15px; line-height: 2; }
    @media (max-width: 760px) {
      .speed-list { grid-template-columns: 1fr; gap: 12px; margin-top: 26px; }
      .sp-item { padding: 20px 18px; }
      .sp-name { font-size: 18px; }
      .sp-time { font-size: 19px; }
      .speed-other { font-size: 14px; }
    }

    /* ===== 価格の目安リスト（2026-08-26 社長ヒアリング反映）===== */
    .price-list { margin: 0 0 8px; padding: 0; list-style: none; display: grid; gap: 8px; max-width: 380px; }
    .price-list li {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 14px;
      padding-bottom: 6px;
      border-bottom: 1px dashed var(--line);
    }
    .price-list span { font-size: 14px; font-weight: 700; }
    .price-list b { color: var(--red); font-size: 17px; font-weight: 900; white-space: nowrap; }

    /* 納期の但し書き（景表法まわりの注意書き。2026-08-25） */
    .speed-caution { margin: 28px 0 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
    .speed-caution a { color: inherit; }
    .spec small, .spec-row small { display: inline-block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.7; }

    .contact-lead { margin: 0 0 26px; color: var(--muted); font-size: 15px; line-height: 2; }

    /* 横長の相談ボタン（2026-08-25 社長指示・dub-design 参考） */
    .cta-rows { display: grid; gap: 14px; margin-bottom: 34px; }
    .cta-row {
      display: flex;
      align-items: center;
      gap: 16px;
      padding: 22px 24px;
      background: #fff;
      border: 3px solid var(--text);
      border-radius: 16px;
      box-shadow: 0 5px 0 var(--text);
      color: var(--text);
      text-decoration: none;
      transition: transform .15s ease, box-shadow .15s ease;
    }
    .cta-row:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--text); }
    .cta-row-line { border-color: #06c755; box-shadow: 0 5px 0 #06c755; }
    .cta-row-line:hover { box-shadow: 0 8px 0 #06c755; }
    .cr-icon {
      display: grid;
      place-items: center;
      width: 46px; height: 46px;
      flex: 0 0 46px;
      background: #06c755;
      border-radius: 12px;
      color: #fff;
    }
    .cr-text { flex: 1; display: grid; gap: 5px; }
    .cr-text b { font-size: 16px; font-weight: 900; line-height: 1.5; }
    .cr-text small { color: var(--muted); font-size: 13px; line-height: 1.75; }
    .cr-go {
      display: grid;
      place-items: center;
      width: 46px; height: 46px;
      flex: 0 0 46px;
      background: var(--red);
      border-radius: 50%;
      color: #fff;
      font-size: 18px;
      font-weight: 900;
    }
    .cta-row-line .cr-go { background: #06c755; }
    @media (max-width: 760px) {
      .cta-row { gap: 12px; padding: 18px 16px; }
      .cr-icon, .cr-go { width: 40px; height: 40px; flex-basis: 40px; }
      .cr-text b { font-size: 14px; }
      .cr-text small { font-size: 12px; }
    }
    /* お問い合わせは1つの枠にまとめる（2026-08-25 社長指示） */
    /* ★2026-09-01 社長指示「メールで相談する の右横の空白が気になる」
       ＝枠は720px、器（.container）は1280pxで、左寄せだったため右に560pxの空きが出ていた。
       中央寄せにして左右均等にする。★720pxはフォームの1行が長くなりすぎない幅なので広げない
       （入力欄が1200px幅に伸びると、かえって読みにくく安っぽくなる）。 */
    .contact-one {
      max-width: 720px;
      margin-inline: auto;
      padding: 32px 30px;
      background: #fff;
      border: 3px solid var(--text);
      border-radius: var(--radius);
      box-shadow: 0 6px 0 var(--text);
    }
    .cs-divider { margin: 32px 0 26px; border-top: 2px solid var(--line); }
    .contact-one .cs-label { margin: 0 0 10px; font-size: 15px; font-weight: 900; }
    .contact-one .cs-info { margin: 0; }
    @media (max-width: 760px) {
      .contact-one { padding: 24px 18px; }
      .cs-divider { margin: 26px 0 22px; }
    }
    .cf-title {
      margin: 0 0 20px;
      padding-bottom: 14px;
      border-bottom: 2px solid var(--line);
      font-size: 20px;
      font-weight: 900;
    }
    .contact-form { display: grid; gap: 18px; }
    .cf-row { display: grid; gap: 8px; }
    .cf-label { color: var(--text); font-size: 14px; font-weight: 900; }
    .cf-label em { margin-left: 4px; color: var(--red); font-style: normal; }
    .contact-form input,
    .contact-form select,
    .contact-form textarea {
      width: 100%;
      padding: 14px 16px;
      background: #fff;
      border: 2px solid #ddd2bf;
      border-radius: 12px;
      color: var(--text);
      font-family: inherit;
      font-size: 16px;
    }
    .contact-form ::placeholder { color: #b3a999; }
    .contact-form input:focus,
    .contact-form select:focus,
    .contact-form textarea:focus { outline: none; border-color: var(--red); }
    .contact-form textarea { resize: vertical; line-height: 1.8; }
    .cf-note { margin: 4px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
    .cf-submit { justify-self: start; margin-top: 6px; }
    .cf-done {
      margin: 0;
      padding: 26px 22px;
      background: #f4fbf5;
      border: 3px solid #06c755;
      border-radius: var(--radius);
      color: var(--text);
      font-size: 15px;
      font-weight: 900;
      line-height: 1.9;
      text-align: center;
    }

    .contact-side { display: grid; gap: 20px; }
    .cs-block {
      display: grid;
      gap: 12px;
      padding: 26px 24px;
      background: #fff;
      border: 3px solid var(--text);
      border-radius: var(--radius);
      box-shadow: 0 6px 0 var(--text);
    }
    .cs-label { margin: 0; font-size: 14px; font-weight: 900; }
    .cs-info { margin: 0; font-size: 14px; line-height: 2; color: var(--text); }
    .cs-info a { color: var(--red); font-weight: 900; text-decoration: none; }
    .cs-info a:hover { text-decoration: underline; }
    .cs-map { justify-self: start; font-size: 13px; font-weight: 900; color: var(--text); text-decoration: none; border-bottom: 2px solid var(--red); }
    @media (max-width: 760px) {
      .contact-grid2 { grid-template-columns: 1fr; gap: 18px; }
      .contact-form-wrap { padding: 24px 18px; }
      .cf-submit { justify-self: stretch; }
      .cs-block .cta { width: 100%; }
    }

    /* ===== 姉妹ブランドのカード（2026-08-24 社長指示）===== */
    .brands { display: grid; grid-template-columns: 1fr; gap: 16px; margin-top: 16px; }   /* 2026-09-08 ぶんデザインのカードを一旦外したので1列（戻す時は 1fr 1fr） */
    .brand-card {
      display: grid;
      align-content: start;
      gap: 8px;
      padding: 26px 28px;
      border: 3px solid var(--text);
      border-radius: var(--radius);
      box-shadow: 0 6px 0 var(--text);
      color: #fff;
      text-decoration: none;
      transition: transform .15s ease, box-shadow .15s ease;
    }
    .brand-card:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--text); }
    /* ぶんプリのカード（2026-09-08 社長指示で組み直し）。
       左＝文言＋ボタン、右＝文字ロゴ＋顔の2列。地色はロゴの線の色 #0066FC。
       ラバーバンド（5秒に1回ぷるんと伸び縮み）はカード全体に掛ける。
       伸び幅は7%まで＝スマホでカードが画面からはみ出さない上限（scaleが大きいと横スクロールが出る） */
    /* 2026-09-08 19時 社長「背景白で青縁、トップ画像1枚、ロゴと顔は隙間なく」＝白地・青縁・左＝文言＋ロゴ＋ボタン／右＝写真。ラバーバンドは残す */
    .brand-print {
      background: #fff;
      color: #0066FC;
      border-color: #0066FC;
      box-shadow: 0 6px 0 #0066FC;
      grid-template-columns: 1fr auto;          /* 左＝文言＋ボタン／右＝ロゴ */
      align-items: center;
      gap: 8px 20px;
      padding: 14px 20px;                        /* 2026-09-08 19時半 社長「もっと小さく」＝22/26→14/20 */
      max-width: 760px;
      animation: bcRubber 5s ease-in-out 1.2s infinite;
    }
    .brand-print:hover { transform: none; box-shadow: 0 9px 0 #0066FC; }   /* transformはアニメが持つので影だけ */
    .bc-text { display: grid; gap: 8px; justify-items: start; }
    .brand-print .bc-lead { font-size: clamp(14px, 1.5vw, 17px); font-weight: 900; line-height: 1.4; opacity: 1; color: #0066FC; }
    .bc-visual { display: flex; align-items: center; gap: 0; }                 /* 文字ロゴと顔ロゴは隙間なし */
    .bc-face { margin-left: -14px; }                                            /* 文字ロゴの絵の右余白ぶんだけ寄せる＝隙間なく見える位置（実測） */
    .brand-print .bc-go { background: #0066FC; color: #fff; border-color: #0066FC; margin-top: 0; padding: 7px 16px; font-size: 13px; }
    /* 横長の文字ロゴ（白版）。青いベタだったところが白、白抜きだった文字は
       透明にしてあるので、下のカードの青がそのまま文字の色になる */
    .bc-wordmark { width: 176px; height: auto; display: block; margin: 0; flex: none; }   /* ★min(…,100%)は不可＝autoの列では100%が効かず原寸566pxに広がる（2026-09-08実測） */
    .bc-face { width: 76px; height: 76px; display: block; }
    @keyframes bcRubber {
      0%, 22%, 100% { transform: scale(1); }
      6%  { transform: scale(1.07, .93); }
      9%  { transform: scale(.94, 1.06); }
      12% { transform: scale(1.04, .96); }
      15% { transform: scale(.98, 1.02); }
      18% { transform: scale(1.01, .99); }
    }
    @media (prefers-reduced-motion: reduce) { .brand-print { animation: none; } }
    .brand-design { background: linear-gradient(140deg, #1a6fd4 0%, #0d4a94 100%); }
    .bc-lead { font-size: 14px; font-weight: 700; line-height: 1.7; }
    .bc-name { font-size: clamp(24px, 2.6vw, 34px); font-weight: 900; line-height: 1.2; }
    .bc-name small { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; }
    .bc-go {
      justify-self: start;
      margin-top: 8px;
      padding: 9px 20px;
      background: rgba(255,255,255,.16);
      border: 2px solid rgba(255,255,255,.7);
      border-radius: 999px;
      font-size: 14px;
      font-weight: 900;
    }
    @media (max-width: 760px) {
      .brands { grid-template-columns: 1fr; gap: 12px; }
      .brand-card { padding: 20px 18px; }
      /* スマホも左右2列のまま。右はロゴの下に顔を縦積み */
      .brand-print { grid-template-columns: 1fr; padding: 14px 14px; gap: 10px; max-width: none; }
      .bc-visual { flex-direction: row; gap: 0; }
      .bc-wordmark { width: 150px; }
      .bc-face { width: 62px; height: 62px; margin-left: -11px; }
      .brand-print .bc-go { font-size: 13px; padding: 8px 14px; }
      .brand-print .bc-lead { font-size: 16px; }
      .bc-lead { font-size: 13px; }
    }

    /* 開業パックの横型カード（画像1枚。差し替えは img/band-kaigyo.webp） */
    .pack-card { display: block; margin-top: 24px; border-radius: 12px; overflow: hidden; transition: transform .15s ease; }
    .pack-card img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 1; }
    .pack-card:hover { transform: translateY(-3px); }

    /* ===== 開業・開店パックの横カード（旧・テキスト版。現在未使用）===== */
    .pack-banner {
      display: flex;
      align-items: center;
      gap: 28px;
      margin-top: 24px;
      padding: 24px 30px;
      background: #fff;
      border: 3px solid var(--text);
      border-radius: var(--radius);
      box-shadow: 0 6px 0 var(--text);
      text-decoration: none;
      color: var(--text);
      transition: transform .15s ease, box-shadow .15s ease;
    }
    .pack-banner:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--text); }
    .pb-left { display: grid; gap: 8px; flex: 0 0 auto; }
    .pb-tag {
      justify-self: start;
      padding: 5px 14px;
      background: var(--sun);
      border-radius: 999px;
      font-size: 12px;
      font-weight: 900;
      transform: rotate(-1.5deg);
    }
    .pb-title { color: var(--red); font-size: clamp(20px, 2.2vw, 28px); font-weight: 900; line-height: 1.35; }
    .pb-desc { flex: 1; font-size: 14px; line-height: 1.9; color: var(--muted); }
    .pb-desc b { color: var(--text); }
    .pb-cta {
      flex: 0 0 auto;
      padding: 12px 24px;
      background: #06c755;
      border: 3px solid var(--text);
      border-radius: 999px;
      box-shadow: 0 4px 0 var(--text);
      color: #fff;
      font-size: 14px;
      font-weight: 900;
      white-space: nowrap;
    }
    @media (max-width: 760px) {
      .pack-banner { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px 18px; }
      .pb-br { display: none; }
      .pb-cta { align-self: stretch; text-align: center; }
    }
    /* カードはマーシー納品の画像1枚。画像を差し替えるだけで見た目が変わる */
    .ci {
      position: relative;
      display: block;
      overflow: hidden;
      background: var(--warm);
      border-radius: 6px;
      text-decoration: none;
      transition: transform .18s ease;
    }
    .ci:hover { transform: translateY(-6px); }
    /* ★カード画像は900×1600（9:16）。読み込み前から高さを確保して、
       あとから画像が入ったときにレイアウトがガタつくのを防ぐ */
    .ci-img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; }
    /* 画像が未設置のときだけ品目名を出す（差し替え前の保険） */
    .ci-fallback {
      position: absolute;
      inset: 0;
      z-index: -1;
      display: grid;
      place-items: center;
      color: var(--muted);
      font-size: 18px;
      font-weight: 900;
    }

    /* スマホの微調整 */
    @media (max-width: 760px) {
      .ci:hover { transform: none; }
      /* 左右の余白を詰めて、カードを少しでも大きく見せる */
      .hero > .container { padding-inline: 12px; }
    }

    /* 8品目＝蛍光色で差別化 */
    .c-inkan   { --neon: #35b449; }
    .c-gomuin  { --neon: #e5197f; }
    .c-meishi  { --neon: #d8a800; }
    .c-sticker { --neon: #1e86d6; }
    .c-flyer   { --neon: #e8622c; }
    .c-poster  { --neon: #8248c8; }
    .c-goods   { --neon: #10a5a0; }
    .c-other   { --neon: #c0392b; }


    .tiles-head { margin: 0 0 26px; text-align: center; }
    .tiles-head img { display: block; width: min(100%, 620px); height: auto; margin: 0 auto; }

    .tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
    .tile {
      position: relative;
      display: flex;
      overflow: hidden;
      min-height: 168px;
      flex-direction: column;
      justify-content: flex-end;
      padding: 18px;
      background: #d9d4cb;
      background-size: cover;
      background-position: center;
      border: 3px solid var(--text);
      border-radius: var(--radius);
      box-shadow: 0 6px 0 var(--text);
      color: #fff;
      text-decoration: none;
      opacity: 0;
      transform: translateY(14px);
      animation: tileIn .5s ease forwards;
      transition: transform .14s ease, box-shadow .14s ease;
    }
    .tile:hover { transform: translateY(3px); box-shadow: 0 3px 0 var(--text); }
    .tile::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(35,45,66,.86) 0%, rgba(35,45,66,.42) 55%, rgba(35,45,66,.18) 100%);
    }
    .tile-name { position: relative; margin: 0; font-size: clamp(24px, 2.6vw, 38px); font-weight: 900; line-height: 1.2; text-shadow: 3px 3px 0 var(--red); }
    .tile-catch { position: relative; margin: 8px 0 0; font-size: 12px; font-weight: 700; line-height: 1.6; color: #ffffff; }
    .tile-hint { position: absolute; top: 14px; right: 14px; z-index: 1; padding: 6px 11px; background: rgba(255,255,255,.8); border-radius: 999px; color: #4d4d4d; font-size: 12px; font-weight: 700; }

    .tile-lg { grid-column: span 2; grid-row: span 2; min-height: 352px; }
    .tile-lg .tile-name { font-size: clamp(40px, 5.4vw, 76px); text-shadow: 5px 5px 0 var(--red); }
    .tile-lg .tile-catch { font-size: 14px; }
    .tile-wide { grid-column: span 2; }
    .tile-more { background: var(--navy); }
    .tile-more::before { background: none; }

    .hero-strip { padding-block: 15px; background: var(--sun); border-block: 3px solid var(--text); }
    .hero-strip p { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin: 0; color: var(--text); font-size: 15px; font-weight: 900; }
    .hero-strip .sep { color: var(--red); }

    /* 2. speed */
    .speed-main {
      display: grid;
      grid-template-columns: 1.15fr .85fr;
      gap: 48px;
      align-items: end;
      padding-bottom: 48px;
      border-bottom: 1px solid var(--line);
    }
    .speed-statement { color: var(--navy); font-weight: 700; font-size: clamp(28px, 4.5vw, 56px); line-height: 1.35; }
    .speed-statement strong { color: var(--red); font-size: 1.3em; font-weight: 700; }
    .speed-note { color: var(--muted); }
    .speed-support { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 42px; }
    .proof { padding: 24px 26px; background: #fff; border: 3px solid var(--text); border-radius: var(--radius); box-shadow: 0 5px 0 var(--text); }
    .proof-label { margin-bottom: 4px; color: var(--muted); font-size: 13px; font-weight: 700; }
    .proof-number { margin-bottom: 6px; color: var(--red); font-size: clamp(34px, 4vw, 50px); font-weight: 900; line-height: 1.1; }
    .proof p:last-child { margin-bottom: 0; }

    /* 3. evidence */
    .evidence-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 34px; }
    .years { flex: 0 0 auto; color: var(--navy); line-height: 1; }
    .years strong { color: var(--red); font-size: clamp(58px, 9vw, 112px); font-weight: 700; }
    .years span { font-size: 26px; font-weight: 700; }
    .evidence-photo { width: 100vw; min-height: 560px; margin-left: calc(50% - 50vw); border-radius: 0; }

    /* 4. products */
    .shop-box { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; margin-top: 28px; padding: 26px 30px; background: var(--sky); border: 3px solid var(--text); border-radius: var(--radius); }
    .shop-box p { margin: 0 !important; color: #fff !important; font-weight: 700; }
    .shop-box p { margin-bottom: 18px; color: var(--muted); }
    .item-list {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 18px;
      margin: 28px 0 0;
      padding: 0;
      list-style: none;
    }
    .item-list li {
      padding: 22px 24px;
      background: #fff;
      border: 3px solid var(--text);
      border-radius: var(--radius);
    }
    .item-list h3 { margin: 0 0 8px; color: var(--navy); font-size: 19px; }
    .item-list p { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.8; }
    .item-list a { color: var(--red); font-size: 14px; font-weight: 900; text-decoration: none; }
    .item-list a::after { content: " →"; }
    .item-list a:hover { text-decoration: underline; }

    .brand-note { margin: 16px 0 0; color: var(--muted); font-size: 13px; }
    .hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
    .cta-second { color: var(--text); background: #fff; }
    .make-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 34px; }
    .make-card {
      display: flex;
      flex-direction: column;
      overflow: hidden;
      background: #fff;
      border: 3px solid var(--text);
      border-radius: var(--radius);
      box-shadow: 0 6px 0 var(--text);
      transition: transform .14s ease, box-shadow .14s ease;
    }
    .make-card:hover { transform: translateY(3px); box-shadow: 0 3px 0 var(--text); }
    .make-card:nth-child(4n+1) .make-photo { background: #ffe0d6; }
    .make-card:nth-child(4n+2) .make-photo { background: #d9eefa; }
    .make-card:nth-child(4n+3) .make-photo { background: #fff0c2; }
    .make-card:nth-child(4n+4) .make-photo { background: #e2f0d9; }
    .make-photo { min-height: 190px; border-bottom: 3px solid var(--text); border-radius: 0; }
    .make-body { display: flex; flex-direction: column; gap: 8px; flex-grow: 1; padding: 20px 20px 22px; }
    .make-body h3 { margin: 0; color: var(--navy); font-size: 22px; }
    .make-body p { margin: 0; flex-grow: 1; color: var(--muted); font-size: 13px; line-height: 1.8; }
    /* 目安レンジ（A案・確定額ではない） */
    .price-guide {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 4px 8px;
      margin-top: 12px;
      padding: 10px 14px;
      background: var(--warm);
      border: 2px dashed var(--sun);
      border-radius: 14px;
    }
    .price-guide b { color: var(--red); font-size: 19px; font-weight: 900; }
    .price-guide .unit { color: var(--muted); font-size: 12px; font-weight: 700; }
    .price-note { margin: 8px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
    .make-link { display: inline-flex; align-items: center; margin-top: 14px; color: var(--red); font-weight: 700; font-size: 14px; text-decoration: none; }
    .make-link::after { content: "→"; margin-left: 8px; transition: transform .2s ease; }
    .make-link:hover::after { transform: translateX(4px); }
    .make-other-face { display: grid; place-items: center; min-height: 190px; background: var(--navy); border-radius: 0; }
    .make-other-face span { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: .04em; }
    @media (max-width: 1000px) {
      .make-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }

    /* 5. store */
    .story-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
    .story-photo { min-height: 440px; }
    .story-copy .big-year { margin: 0 0 12px; color: var(--red); font-size: clamp(52px, 8vw, 94px); font-weight: 700; line-height: 1; }
    .address { padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); }

    /* 6. SNS（Instagram / YouTube） */
    .sns-grid { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 30px; }
    .sns-card {
      display: grid;
      gap: 8px;
      padding: 28px 26px 24px;
      background: #fff;
      border: 3px solid var(--text);
      border-radius: var(--radius);
      box-shadow: 0 6px 0 var(--text);
      color: var(--text);
      text-decoration: none;
      transition: transform .15s ease, box-shadow .15s ease;
    }
    .sns-card:hover { transform: translateY(-3px); box-shadow: 0 9px 0 var(--text); }
    .sns-name { font-size: 22px; font-weight: 700; letter-spacing: .04em; }
    .sns-ig .sns-name { color: #d62976; }
    .sns-yt .sns-name { color: #e03318; }
    .sns-id { font-size: 15px; font-weight: 700; color: var(--muted); }
    .sns-num { font-size: 14px; color: var(--muted); }
    .sns-desc { margin-top: 4px; font-size: 15px; line-height: 1.85; }
    .sns-go {
      justify-self: start;
      margin-top: 10px;
      padding: 10px 22px;
      border-radius: 999px;
      background: var(--text);
      color: #fff;
      font-size: 14px;
      font-weight: 700;
    }
    .sns-ig .sns-go { background: #d62976; }
    .sns-yt .sns-go { background: #e03318; }
    @media (min-width: 761px) {
      .sns-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    }

    /* ご注文の流れ */
    .flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 34px 0 0; padding: 0; list-style: none; counter-reset: none; }
    .flow-step { position: relative; padding: 30px 22px 24px; background: #fff; border: 3px solid var(--text); border-radius: var(--radius); box-shadow: 0 6px 0 var(--text); }
    /* 数字は赤丸に白字で 1. 2. 3. 4.（2026-08-25 社長指示） */
    .flow-num {
      position: absolute;
      top: -20px;
      left: 18px;
      display: grid;
      width: 46px;
      height: 46px;
      place-items: center;
      background: var(--red);
      border: 3px solid var(--text);
      border-radius: 999px;
      color: #fff;
      font-size: 19px;
      font-weight: 900;
    }
    .flow-num::after { content: "."; }
    .flow-step h3 { margin: 0 0 8px; color: var(--navy); font-size: 19px; }
    .flow-step p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

    /* FAQ */
    .faq-list { display: flex; flex-direction: column; gap: 16px; max-width: 820px; margin-top: 8px; }
    .faq-item { padding: 24px 26px; background: #fff; border: 3px solid var(--text); border-radius: var(--radius); }
    .faq-q, .faq-a { position: relative; padding-left: 30px; }
    .faq-q { margin-bottom: 8px; color: var(--navy); font-weight: 900; }
    .faq-a { margin: 0; color: var(--muted); }
    .faq-q::before, .faq-a::before { position: absolute; left: 0; font-weight: 900; }
    .faq-q::before { content: "Q"; color: var(--red); }
    .faq-a::before { content: "A"; color: var(--sky); }

    /* 締め */
    .closing { padding-block: 96px; text-align: center; }
    .closing-phrase { margin: 0 0 14px; color: var(--navy); font-size: clamp(26px, 4vw, 46px); font-weight: 900; line-height: 1.6; text-shadow: 4px 4px 0 var(--sun); }
    .closing-note { margin: 0; color: var(--muted); }

    /* 7. contact */
    /* ★お問い合わせは紺地をやめてクリーム地に（2026-08-25 社長「contactがみずらい」）
       白いフォームカードを紺の上に置くと沈んで見えたため */
    .contact { color: var(--text); }
    .contact-grid { display: grid; grid-template-columns: 1fr auto; gap: 42px; align-items: end; }
    .contact-actions { display: flex; flex-direction: column; gap: 14px; }
    /* ★2026-09-01 社長指示「タイトル文字が大きすぎる」＝PCで48pxだった。
       他セクションのh2は46pxだが、ここだけ2行（「こんなの作れる？」／だけでも大歓迎です。）なので
       同じ大きさだと塊の高さが倍になって重い。38pxへ落とす。スマホ側（144行の30px）は据え置き。 */
    .contact h2 { margin-bottom: 16px; color: var(--navy); font-size: clamp(30px, 3vw, 38px); }
    .contact-info { color: var(--muted); }
    .contact-info a { text-decoration: none; }
    /* ===== フッター：赤地（2026-08-25 社長指示・dub-design と同じ形）===== */
    footer { padding: 56px 0 0; background: var(--red); color: #fff; font-size: 13px; }
    .footer-inner {
      display: grid;
      grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
      gap: 40px;
      padding-bottom: 44px;
    }
    .f-name { margin: 0 0 12px; font-size: 22px; font-weight: 900; }
    .f-tagline { margin: 0; color: #ffffff; font-size: 13px; line-height: 1.9; }
    .f-label {
      margin: 0 0 14px;
      color: #ffffff;
      font-size: 12px;
      font-weight: 900;
      letter-spacing: .22em;
    }
    .f-nav { display: grid; align-content: start; gap: 9px; }
    .f-nav a, .f-sns a, .f-address a {
      color: #fff;
      font-size: 13px;
      font-weight: 700;
      text-decoration: none;
    }
    .f-nav a:hover, .f-sns a:hover, .f-address a:hover { text-decoration: underline; }
    .f-address { margin: 0 0 14px; color: #ffffff; font-size: 13px; line-height: 1.95; }
    .f-sns { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; }
    .footer-bottom {
      display: flex;
      justify-content: space-between;
      gap: 16px;
      padding: 16px 20px;
      border-top: 1px solid rgba(255,255,255,.28);
      color: #ffffff;
      font-size: 12px;
    }
    .footer-bottom a { color: #ffffff; text-decoration: none; }
    .footer-bottom a:hover { text-decoration: underline; }
    @media (max-width: 760px) {
      footer { padding-top: 40px; }
      .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding-bottom: 32px; }
      .f-brand { grid-column: span 2; }
      .f-info { grid-column: span 2; }
      .f-name { font-size: 19px; }
      .footer-bottom { flex-direction: column; gap: 8px; }
    }

    /* 地図（2026-08-25 社長指示） */
    .map-wrap {
      margin-top: 34px;
      overflow: hidden;
      border: 3px solid var(--text);
      border-radius: var(--radius);
      box-shadow: 0 6px 0 var(--text);
      line-height: 0;
    }
    .map-wrap iframe { display: block; width: 100%; height: 360px; }
    .cs-map { display: inline-block; margin-top: 16px; }
    @media (max-width: 760px) {
      .map-wrap iframe { height: 260px; }
    }


    /* ===== 全ページ共通：追従お問い合わせバー ===== */
    .contact-bar {
      position: fixed;
      right: 0; bottom: 0; left: 0;
      z-index: 900;
      display: flex;
      gap: 10px;
      padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
      background: rgba(255, 246, 232, .96);
      border-top: 3px solid var(--text);
      backdrop-filter: blur(6px);
    }
    .contact-bar a {
      display: flex;
      flex: 1;
      min-height: 58px;
      align-items: center;
      justify-content: center;
      gap: 10px;
      padding: 8px 14px;
      border: 3px solid var(--text);
      border-radius: 999px;
      box-shadow: 0 4px 0 var(--text);
      color: #fff;
      text-decoration: none;
      transition: transform .12s ease, box-shadow .12s ease;
    }
    .contact-bar a:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--text); }
    .cb-line { background: #06c755; }
    .cb-tel  { background: var(--red); }
    .cb-icon { display: grid; flex: 0 0 auto; place-items: center; }
    .cb-text { display: flex; flex-direction: column; line-height: 1.25; }
    .cb-text b { font-size: 16px; font-weight: 900; }
    .cb-text small { font-size: 12px; }

    /* バーのぶんだけページ下に余白を作る（フッターが隠れないように） */
    body { padding-bottom: 96px; }

    @media (min-width: 761px) {
      .contact-bar {
        right: 22px; bottom: 22px; left: auto;
        flex-direction: column;
        padding: 0;
        background: none;
        border-top: 0;
        backdrop-filter: none;
      }
      .contact-bar a { min-width: 230px; }
      body { padding-bottom: 0; }
    }

    @media (prefers-reduced-motion: reduce) {
      .contact-bar a { transition: none; }
    }

    /* スクロールで「ぬるっ」と出てくる動き
       2026-08-25 社長指示で強化 → 2026-08-27 さらに「ぬるっ」と感じるよう作り直し
       ①セクション全体をゆっくり持ち上げる ②中身を少しずつ順に出す（ずらし）
       ③わずかに拡大しながら出す。この3つが重なると「ぬるっ」と見える */
    /* ★2026-09-04 社長「全体のコメントもっと早くだして」→ 1.05s→.55s／中身 .8s→.4s／ずらし幅を半分に。
       「ぬるっ」の感触（イージング・持ち上げ・拡大）は残し、時間だけ詰めた */
    /* ★2026-09-16 変更: opacity での「薄れながら出る」をやめ、動きだけにした。
       理由＝Lighthouse の実測で、文字が薄い途中の状態を拾って
       コントラスト違反が157件出ていた（本文グレーが #7b7169 → #9c958f 等に見える）。
       社長が 2026-09-04 に挙げた3要素（①持ち上げ ②ずらし ③わずかに拡大）は全部残してある。
       透明度だけを外した。戻すときは opacity の2行を戻す。 */
    .reveal {
      transform: translateY(32px) scale(.99);
      transition: transform .55s cubic-bezier(.16,1,.3,1);
      will-change: transform;
    }
    .reveal.visible { transform: none; }

    /* 中身のずらし出し。見出し→リード→本体の順に少しずつ遅れて出る */
    .reveal > .container > * {
      transform: translateY(14px);
      transition: transform .4s cubic-bezier(.16,1,.3,1) var(--rd, 0s);
    }
    .reveal.visible > .container > * { transform: none; }
    .reveal > .container > *:nth-child(1) { --rd: .04s; }
    .reveal > .container > *:nth-child(2) { --rd: .08s; }
    .reveal > .container > *:nth-child(3) { --rd: .12s; }
    .reveal > .container > *:nth-child(4) { --rd: .16s; }
    .reveal > .container > *:nth-child(5) { --rd: .20s; }
    .reveal > .container > *:nth-child(n+6) { --rd: .24s; }

    /* ★2026-09-04 社長指示：見出しを1文字ずつ打ち込む（script.js の typeTitle と対）
       .is-typing は JS が「演出できる」と確定したときだけ h2 に付ける。
       素で .tw-char を透明にすると、JSが止まった瞬間に見出しが消える事故になるので必ず .is-typing 起点で書く */
    /* 対象＝h2.section-title／.big-year「11年」／.years strong／.review-num／品目ページの h1.pg-title（2026-09-04 拡張） */
    .is-typing .tw-char {
      opacity: 0;
      transform: translateY(.12em);          /* わずかに下から「置く」感じ。大きく動かすと軽くなる */
      transition: opacity .18s ease, transform .18s ease;
      display: inline-block;
    }
    .is-typing .tw-char.is-on { opacity: 1; transform: translateY(0); }
    /* 打つ見出しは「ずらし出し」のフェード対象から外す。フェードと同時に打つと、打っているのが埋もれて見えない
       （2026-09-04 社長「見出し打たれてるのわからない」）。文字だけが順に置かれていく */
    .reveal > .container > .is-typing { transform: none; transition: none; }

    /* アプリページ：告知POP（PWA/告知物_2026-09-01 のスマホ版チラシ表裏）。PC=横2枚／スマホ=縦積み */
    .app-pop { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; max-width: 760px; margin: 22px auto 0; }
    .app-pop a { display: block; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.12); transition: transform .25s ease; }
    .app-pop a:hover { transform: translateY(-4px); }
    .app-pop img { display: block; width: 100%; height: auto; }
    @media (max-width: 760px) { .app-pop { grid-template-columns: 1fr; max-width: 420px; } }
    /* 店舗外観（社長撮影・2026-09-04差し替え・4:3）はスマホでも看板の文字が切れないよう、枠を写真と同じ4:3にする
       （既定の min-height:340px だと幅350×高340の枠になり、左右が大きく切れて「はんこ屋ぶん」が欠ける） */
    @media (max-width: 760px) {
      .photo-placeholder[data-photo="img/shop-outside.webp"] { min-height: 0; aspect-ratio: 4 / 3; }
    }

    /* SNSカードの見出しにロゴ（2026-09-04 社長「インスタロゴ取って」）。色は見出しの色をそのまま使う */
    .sns-name { display: inline-flex; align-items: center; gap: .32em; }
    .sns-ico { width: 1.05em; height: 1.05em; flex: 0 0 auto; }

    /* アプリページの上段画像（hero-app.webp）だけ上端基準で見せる。品目ページの写真は中央基準でよいが、
       この画像は上にアイコンと「アプリ」の文字があるので、中央基準だと肝心な部分が切れる（2026-09-04） */
    .pg-hero .pg-band.pg-band--top { object-position: center top !important; }  /* 後ろの @media 内 .pg-hero .pg-band{center 45%} に勝たせる */

    /* トップの #app：告知POP上段（スマホ画面＋「アプリ、はじめました。」）＋アイコンのカード（2026-09-04 社長「この部分とアイコンをうまく」）
       ★チラシの白いカード（アイコン／公式アプリ・無料／QR）をHTMLで再現。画像は上段だけ切り出して使う */
    .app-hero { max-width: 760px; margin: 22px auto 26px; }
    .app-hero__visual { display: block; border-radius: 22px; overflow: hidden; box-shadow: 0 12px 34px rgba(224,51,24,.28); background: #e03318; }
    .app-hero__visual img { display: block; width: 100%; height: auto; }
    .app-card { display: flex; align-items: center; gap: 18px; margin-top: 16px; padding: 16px 18px; background: #fff; border: 2px solid #f2d9d3; border-radius: 20px; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
    .app-card__icon { flex: 0 0 auto; width: 84px; height: 84px; border-radius: 22%; background: #e03318; box-shadow: 0 4px 12px rgba(0,0,0,.18); display: grid; place-items: center; overflow: hidden; }
    .app-card__icon img { width: 76%; height: 76%; object-fit: contain; }
    .app-card__body { flex: 1 1 auto; min-width: 0; }
    .app-card__name { margin: 0; font-size: clamp(17px, 2.2vw, 22px); font-weight: 900; color: var(--navy); line-height: 1.3; }
    .app-card__free { display: inline-block; margin-left: 8px; padding: 2px 12px; border-radius: 999px; background: #e03318; color: #fff; font-size: 13px; font-weight: 700; vertical-align: middle; }
    .app-card__note { margin: 6px 0 0; font-size: 13px; color: #6b6b6b; }
    .app-card__qr { flex: 0 0 auto; width: 92px; height: 92px; border: 1px solid #e5e5e5; border-radius: 10px; padding: 4px; background: #fff; }
    .app-card__qr img { display: block; width: 100%; height: 100%; }
    /* スマホ＝QRは出さない（スマホで見ている人はカメラで読めない。すぐ下の「アプリを開く」で足りる）。文字に幅を渡す */
    @media (max-width: 560px) {
      .app-card { gap: 14px; padding: 14px 16px; }
      .app-card__icon { width: 64px; height: 64px; }
      .app-card__qr { display: none; }
      .app-card__name { font-size: 17px; }
      .app-card__brand { display: block; font-size: 14px; font-weight: 700; color: #6b6b6b; margin-bottom: 2px; }  /* 店名を上の行に。「公式アプリ」が途中で折れないように */
      .app-card__free { margin-left: 6px; padding: 1px 10px; font-size: 12px; }
      .app-card__note { font-size: 12px; }
    }

    /* ★scroll-behavior: smooth は19行目で既に指定済み。ここには重ねて書かない。 */

    /* 動きを減らす設定の人には出さない（アクセシビリティ） */
    @media (prefers-reduced-motion: reduce) {
      .reveal, .reveal > .container > * { transform: none; transition: none; }
    }
    @keyframes heroIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
    @keyframes openIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
    @keyframes tileIn { to { opacity: 1; transform: none; } }

    @media (max-width: 760px) {
      .section { padding-block: 56px; }
      .header { min-height: 68px; }
      .header-note { display: none; }
      .nav-toggle { display: block; order: 2; }
      /* ★旧・縦並びメニューの指定は撤去（上の大文字メニューを打ち消していたため）
         .gnav の見た目は「開いたメニューの中身」の節にまとめてある */
      .gnav a::after { display: none; }

      /* ★ロゴのサイズは上の指定（46px）を使う。ここでは上書きしない */
      .hero { padding-block: 32px 44px; }
      .opening-actions .cta { width: 100%; }
      .tiles-head { margin: 2px 0 10px; }
      .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
      .tile { min-height: 132px; padding: 14px; }
      .tile-lg { grid-column: span 2; grid-row: span 1; min-height: 210px; }
      .tile-wide { grid-column: span 2; min-height: 132px; }
      .tile-catch { font-size: 12px; }
      /* スマホでは黄色い帯を出さない（2026-08-25 社長指示） */
      .hero-strip { display: none; }
      .flow { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
      .contact-actions { width: 100%; }
      .contact-actions .cta { width: 100%; }
      .speed-main, .story-grid, .contact-grid { grid-template-columns: 1fr; gap: 28px; }
      .speed-main { padding-bottom: 36px; }
      .speed-support { grid-template-columns: 1fr; gap: 30px; padding-top: 34px; }
      .evidence-head { display: block; }
      .years { margin-top: 24px; }
      .evidence-photo { min-height: 440px; }
      /* ★3列グリッドなので、横流し前提の固定幅は使わない */
      .ci.is-card { flex: none; width: auto; }
          .ci-photo { height: 150px; margin: 10px 10px 0; }
      .ci-name { font-size: clamp(26px, 8vw, 40px); padding: 14px 8px 0; }
      .ci-body { padding: 12px 10px 14px; gap: 10px; }
      .ci-catch { font-size: 12px; }
      .ci-price { font-size: 12px; }
      .ci-btn { font-size: 12px; padding: 8px; }
      .item-list { grid-template-columns: 1fr; }
      .make-grid { grid-template-columns: 1fr; }
      .make-others { grid-template-columns: 1fr; }
      .make-others .cta, .hero-actions .cta { width: 100%; }
      .story-photo { min-height: 340px; }
      .closing { padding-block: 64px; }
      .contact-grid .cta { width: 100%; }
      .footer-row { display: block; }
      .footer-row span { display: block; }
    }

    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      *, *::before, *::after { animation: none !important; transition: none !important; }
      /* ★スマホでも「ふわっと出る」動きを使う（2026-08-25 社長指示）
         以前は無効化していたが、スクロールの気持ちよさを優先して有効に戻した */
    }


/* ===== 品目ページ ===== */
.pg-hero { padding-block: 32px 48px; background: var(--warm); }
/* 横バンドを上段に、文言をその下に（2026-08-24 社長指示） */
.pg-hero-inner { display: grid; grid-template-columns: 1fr; gap: 30px; }
.pg-band { display: block; width: 100%; height: auto; border-radius: 8px; }
.pg-crumb { margin: 0 0 10px; color: var(--muted); font-size: 13px; }
.pg-crumb a { color: var(--muted); }
.pg-title {
  margin: 0 0 14px;
  color: var(--neon, var(--navy));
  font-family: "Noto Sans JP", sans-serif;
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 900;
  line-height: 1.1;
}
.pg-text { margin: 0 0 20px; color: var(--text); font-size: 16px; line-height: 2; }
.pg-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* 制作事例のマス */
.works-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.works-cell {
  display: grid;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  background: #efe4d2;
  background-size: cover;
  background-position: center;
  border: 3px solid var(--text);
  border-radius: var(--radius);
}
.works-cell span {
  padding: 7px 12px;
  background: #ffffff;
  border-radius: 999px;
  color: #5f564f;
  font-size: 12px;
  font-weight: 700;
}

/* 仕様の表 */
.spec { margin: 28px 0 0; }
.spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px;
  padding: 18px 4px;
  border-bottom: 2px solid var(--line);
}
.spec dt { margin: 0; color: var(--navy); font-weight: 900; }
.spec dd { margin: 0; color: var(--muted); line-height: 1.9; }

@media (max-width: 760px) {
  .pg-hero-inner { gap: 18px; }
  .pg-actions .cta { width: 100%; }
  .works-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .spec-row { grid-template-columns: 1fr; gap: 6px; }
}


/* ===== 店主紹介・ご利用の流れ ===== */
.story-grid-rev { direction: rtl; }
.story-grid-rev > * { direction: ltr; }

.owner-name {
  margin: 22px 0 18px;
  padding-top: 18px;
  border-top: 2px solid var(--line);
  color: var(--navy);
  font-weight: 900;
}

.flow-entry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 34px;
}
.flow-entry-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  background: #fff;
  border: 3px solid var(--text);
  border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--text);
}
.flow-entry-card h3 { margin: 0; color: var(--navy); font-size: 22px; }
.flow-entry-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.flow-entry-note {
  padding: 8px 12px;
  background: var(--warm);
  border-radius: 10px;
  font-size: 12px !important;
}
.flow-entry-card .cta,
.flow-entry-card .pg-actions { margin-top: auto; }
.flow-entry-card .pg-actions .cta { flex: 1; }

@media (max-width: 760px) {
  .story-grid-rev { direction: ltr; }
  .flow-entry { grid-template-columns: 1fr; }
  .flow-entry-card { padding: 22px; }
  .flow-entry-card .pg-actions { flex-direction: column; }
}


/* ===== Googleクチコミ ===== */
.review-box {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 36px;
  align-items: center;
  margin-top: 28px;
  padding: 32px 36px;
  background: #fff;
  border: 3px solid var(--text);
  border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--text);
}
.review-score { text-align: center; }
.review-num { margin: 0; color: var(--navy); font-size: 62px; font-weight: 900; line-height: 1; }
.review-stars { margin: 6px 0 4px; color: #f5a623; font-size: 24px; letter-spacing: 2px; }
.review-count { margin: 0; color: var(--muted); font-size: 13px; font-weight: 700; }
.review-body p { margin: 0 0 12px; color: var(--text); line-height: 1.9; }
.review-note { color: var(--muted) !important; font-size: 12px !important; }
.review-body .pg-actions { margin-top: 18px; }

@media (max-width: 760px) {
  .review-box { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
  .review-body .pg-actions { flex-direction: column; }
  .review-body .pg-actions .cta { width: 100%; }
}

    /* フッターのSNSリンク */
    .footer-sns {
      display: flex;
      flex-wrap: wrap;
      gap: 8px 22px;
      margin-top: 14px;
      padding-top: 14px;
      border-top: 1px solid rgba(255,255,255,.22);
    }
    .footer-sns a { color: inherit; font-size: 14px; text-decoration: none; }
    .footer-sns a:hover { opacity: 1; text-decoration: underline; }

    /* ===== 広いモニタ対策（2026-08-24 社長「サイドがすごく気になる」）=====
       画面幅に応じて全体を拡大する。実際の倍率は script.js が画面幅から計算して
       body の zoom に設定する（1600px以下では等倍のまま） */

    /* ===== PCヘッダー：ロゴを中央に、ナビは「英字（大）＋日本語（小）」の2段 =====
       2026-08-26 社長指示「ヘッダーロゴ中央へ／ヘッダーの項目 英字大きく 日本語は英字の下に小さく」
       ★スマホ（760px以下）は三本線＋全画面メニューのままなので、ここはPC専用にしてある */
    @media (min-width: 761px) {
      .header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding-block: 12px;
      }
      .logo { align-self: center; }
      .gnav {
        flex: none;
        width: 100%;
        justify-content: center;
        align-items: flex-start;
        gap: clamp(18px, 2.6vw, 40px);
      }
      .gnav-main a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1px;
        padding: 4px 0 8px;
        line-height: 1.15;
      }
      /* ★2026-09-04 社長指示：PCも日本語を上に大きく、英語を下に小さく（order で入れ替え） */
      .gm-ja {
        order: 1;
        font-size: clamp(15px, 1.2vw, 18px);
        font-weight: 900;
        letter-spacing: .04em;
        white-space: nowrap;
      }
      .gm-en {
        order: 2;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .06em;
      }
    }

    /* ===== 開業・開店パック（2026-08-27 社長指示：独立セクションへ格上げ）===== */
    .pack-list {
      list-style: none;
      margin: 26px 0 0;
      padding: 0;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 14px;
    }
    .pack-list li {
      background: var(--white);
      border: 2px solid var(--line);
      border-radius: 14px;
      padding: 16px 18px;
      font-size: 14.5px;
      line-height: 1.8;
      color: var(--muted);
    }
    .pack-list li b {
      display: block;
      margin-bottom: 4px;
      color: var(--text);
      font-size: 16px;
      font-weight: 900;
    }
    .pack-when {
      margin-top: 20px;
      padding: 16px 18px;
      background: var(--white);
      border-left: 5px solid var(--red);
      border-radius: 10px;
      font-size: 14.5px;
      line-height: 1.9;
    }
    @media (max-width: 760px) {
      .pack-list { grid-template-columns: 1fr; gap: 10px; }
      .pack-list li { padding: 14px 16px; font-size: 14px; }
      .pack-list li b { font-size: 15.5px; }
      .pack-when { font-size: 14px; }
    }

    /* ===== ぶんちゃんねる 訪問先一覧（2026-08-27 新設・サムネ付きカード）===== */
    /* チャンネルへのリンク＝ロゴそのもの（2026-08-27 社長指示：赤いボタンをロゴに置き換え）*/
    .bc-logo-link {
      display: block; width: 100%; max-width: 520px;
      border: 3px solid var(--text); border-radius: 14px; overflow: hidden;
      box-shadow: 0 5px 0 var(--text);
      transition: transform .12s ease, box-shadow .12s ease;
    }
    .bc-logo-link img { display: block; width: 100%; height: auto; }
    .bc-logo-link:hover { transform: translateY(3px); box-shadow: 0 2px 0 var(--text); }
    .bc-logo-link:active { transform: translateY(5px); box-shadow: none; }
    .visit-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 18px; }
    .visit {
      display: flex; flex-direction: column; overflow: hidden;
      background: var(--white); border: 2px solid var(--line); border-radius: 16px;
      transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
    }
    .visit:hover { border-color: var(--red); transform: translateY(-3px); box-shadow: 0 8px 22px rgba(0,0,0,.08); }
    .visit__thumb { display: block; background: var(--photo); }
    .visit__thumb img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
    .visit__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
    .visit__head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
    .visit__no {
      flex-shrink: 0; background: var(--red); color: #fff; border-radius: 999px;
      padding: 2px 10px; font-size: 12px; font-weight: 900; letter-spacing: .04em;
    }
    .visit__name { font-size: 18px; font-weight: 900; color: var(--text); line-height: 1.4; }
    /* 2026-08-27 社長指示：地域 → 店名 → 動画タイトル の順 */
    .visit__area { margin: 0 0 4px; font-size: 12px; font-weight: 900; color: var(--red); letter-spacing: .08em; }
    .visit__title {
      margin: 8px 0 0; font-size: 13.5px; line-height: 1.65; color: var(--muted);
      display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden;
    }
    /* サムネの上に載る再生マーク */
    .visit__thumb { position: relative; }
    .visit__play {
      position: absolute; right: 10px; bottom: 10px;
      display: inline-flex; align-items: center; justify-content: center;
      padding: 5px 9px; background: rgba(255,255,255,.94); border-radius: 8px;
      box-shadow: 0 2px 8px rgba(0,0,0,.18);
    }
    .visit__play svg { display: block; }
    .yt-mark { flex: 0 0 auto; vertical-align: -3px; }
    .visit__links a .yt-mark { margin-right: 6px; }
    .visit__links { margin: 12px 0 0; padding-top: 12px; border-top: 1px solid var(--line); display: flex; gap: 14px; flex-wrap: wrap; }
    .visit__links a { color: var(--red); font-size: 13.5px; font-weight: 900; text-decoration: none; }
    .visit__links a:hover { text-decoration: underline; }
    .visit-note {
      margin-top: 28px; padding: 16px 18px; background: var(--warm);
      border-left: 5px solid var(--red); border-radius: 10px; font-size: 14px; line-height: 1.9;
    }
    @media (max-width: 760px) {
      .visit-list { grid-template-columns: 1fr; gap: 14px; }
      .visit__body { padding: 14px 16px 16px; }
      .visit__name { font-size: 17px; }
      .bc-logo { margin-bottom: 20px; }
    }

    /* ===== トップの「ぶんちゃんねる」丸ロゴ（2026-08-27 社長指示）===== */
    .yt-brand {
      display: inline-flex; align-items: center; gap: 16px;
      margin: 0 0 22px; padding: 12px 22px 12px 12px;
      background: var(--white); border: 2px solid var(--line); border-radius: 999px;
      text-decoration: none; transition: border-color .15s ease, transform .15s ease;
    }
    .yt-brand:hover { border-color: var(--red); transform: translateY(-2px); }
    .yt-brand__icon { width: 72px; height: 72px; border-radius: 50%; display: block; }
    .yt-brand__body { display: flex; flex-direction: column; gap: 3px; }
    /* 登録者数などを外したので、名前だけのときは上下の中心に置く */
    .yt-brand__body:not(:has(.yt-brand__sub)) { justify-content: center; }
    .yt-brand__name {
      display: flex; align-items: center; gap: 8px;
      color: var(--text); font-size: 18px; font-weight: 900; line-height: 1.3;
    }
    .yt-brand__sub { color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; }
    .yt-cta .yt-mark { margin-right: 8px; vertical-align: -3px; }
    @media (max-width: 760px) {
      .yt-brand { gap: 12px; padding: 10px 18px 10px 10px; margin-bottom: 18px; }
      .yt-brand__icon { width: 58px; height: 58px; }
      .yt-brand__name { font-size: 16px; }
      .yt-brand__sub { font-size: 11.5px; }
    }


/* ===== トップの制作事例：2段で左右にゆっくり流れる（2026-08-30 社長指示） =====
   上段は右から左、下段は左から右。既存の .carousel-track と同じ考え方。
   はみ出しは .works-marquee の overflow:hidden で隠す。 */
.works-marquee { margin-top: 30px; display: grid; gap: 12px; overflow: hidden; }
.works-track {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
}
.works-dup { display: flex; gap: 12px; margin-left: 12px; }
.works-track--left  { animation: worksFlowLeft  128s linear infinite; }
.works-track--right { animation: worksFlowRight 128s linear infinite; }
.works-marquee:hover .works-track { animation-play-state: paused; }
@keyframes worksFlowLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes worksFlowRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
.works-track .works-cell { flex: 0 0 232px; width: 232px; margin: 0; }
.works-cell--link { position: relative; text-decoration: none; }
.works-cell--link:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.works-cell__label {
  position: absolute; left: 8px; bottom: 8px;
  padding: 4px 11px;
  background: #e03318;
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .02em;
}
.works-note { margin: 20px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  /* 1枚を大きく（150→218px）。3列グリッドの110pxより二回り大きく見せる */
  .works-track .works-cell { flex: 0 0 218px; width: 218px; }
  /* ★2026-09-04 社長「上段左から右、下段右から左に流れるように」→ スマホもPCと同じ向き（8/30の「上下とも左から右」を解除）。
     向きはHTMLのクラスで決まる＝上段 .works-track--right（左→右）／下段 .works-track--left（右→左）。ここでは速さだけ変える */
  .works-track--left  { animation: worksFlowLeft  104s linear infinite; }
  .works-track--right { animation: worksFlowRight 104s linear infinite; }
  .works-cell__label { left: 6px; bottom: 6px; padding: 3px 10px; font-size: 12px; }
  .works-marquee { gap: 10px; }
}


/* ===== 開業・開店パック特集をピンク基調に（2026-08-30 社長指示） =====
   カードの「開店・開業パック」を #e03318 にしたので、下の特集もそこへ揃える。
   ★末尾に置いて既存指定に勝たせている（style.css は同名指定が離れた場所に複数あるため）。 */
#kaigyo { --neon: #e03318; }
#kaigyo .eb-ja { background: #e03318; }
#kaigyo .eb-ja::before { border-right-color: #e03318; }
#kaigyo .section-title { color: #c02f18; }
#kaigyo .section-lead b { color: #c02f18; }

#kaigyo .pack-card {
  display: block;
  margin: 30px 0 0;
  border: 5px solid #e03318;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(200, 60, 30, .18);
  transition: transform .18s ease;
}
#kaigyo .pack-card:hover { transform: translateY(-3px); }
#kaigyo .pack-card:focus-visible { outline: 3px solid #e03318; outline-offset: 3px; }
#kaigyo .pack-card img { display: block; width: 100%; height: auto; }

#kaigyo .pack-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
#kaigyo .pack-list li {
  background: #fff;
  border: 2px solid #e03318;
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 14.5px;
  line-height: 1.9;
  color: var(--text);
}
#kaigyo .pack-list li b {
  display: block;
  margin-bottom: 4px;
  color: #e03318;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .01em;
}
#kaigyo .pack-when {
  margin: 22px 0 24px;
  padding: 16px 20px;
  background: #fff;
  border-left: 6px solid #e03318;
  border-radius: 6px;
  font-size: 14.5px;
  line-height: 1.95;
}
#kaigyo .pack-when b { color: #c02f18; font-weight: 900; }
#kaigyo .pg-actions .cta {
  background: #e03318;
  border-color: #e03318;
  color: #fff;
}
#kaigyo .pg-actions .cta-line {
  background: #fff;
  border: 2px solid #e03318;
  color: #e03318;
}


/* ===== 品目ページの看板：左に写真・右に品目色のベタ地＋白文字（2026-08-30 社長指示） =====
   これまでは「横バンドが上・文言が下」の1カラムだった。
   ★末尾に置いて既存指定に勝たせている（style.css は同名指定が離れた場所に複数あるため）。 */
.pg-hero { padding-block: 0 48px; }
/* 画像を右・文言を左に（2026-08-30 社長指示）。HTMLの順序は変えず order だけで入れ替える */
.pg-hero .pg-band { order: 2; }
.pg-hero .pg-lead { order: 1; }
.pg-hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(88, 64, 32, .12);
  direction: ltr;
}
.pg-hero .pg-band {
  width: 100%;
  height: 100%;
  min-height: 380px;
  /* ★hero-*.jpg はカードの絵そのままで、上下が地色・中央に品物がある。
     cover で敷いたうえで中央（品物のある帯）を見せる。
     contain にすると余白ばかりになって小さく見えた（2026-08-30 実測）。 */
  object-fit: cover;
  object-position: center 45%;
  background: #fff6e8;
  border-radius: 0;
}
.pg-hero .pg-lead {
  background: var(--neon, var(--red));
  color: #fff;
  padding: 42px 38px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pg-hero .pg-title { color: #fff; }
.pg-hero .pg-text { color: #fff; }
.pg-hero .pg-crumb,
.pg-hero .pg-crumb a { color: rgba(255, 255, 255, .88); }
.pg-hero .opening-safe { color: rgba(255, 255, 255, .92); }
/* 色地の上ではボタンを白抜きにする（品目色によっては赤ボタンが沈むため） */
.pg-hero .pg-actions .cta {
  background: #fff;
  color: var(--neon, var(--red));
  border-color: #fff;
}
.pg-hero .pg-actions .cta-line {
  background: rgba(255, 255, 255, .14);
  color: #fff;
  border: 2px solid #fff;
}
@media (max-width: 760px) {
  /* スマホは写真が上・文字が下（2026-08-30 社長指示「画像上にして」） */
  .pg-hero-inner { grid-template-columns: 1fr; }
  .pg-hero .pg-band { order: 1; }
  .pg-hero .pg-lead { order: 2; }
  /* スマホは横長に切って、品物が大きく見えるようにする */
  .pg-hero .pg-band { min-height: 0; aspect-ratio: 5 / 4; object-position: center 45%; }
  .pg-hero .pg-lead { padding: 28px 22px 32px; }
}

/* ★★2026-09-01 商品ページのヒーロー（PC）。この1ブロックが最終形。上の 1798行〜の指定に勝たせている。

   ★同じ日に社長の指示が3回変わっている。**古い指示だけ読んで戻さないこと。**
   ① 朝「上段の画像がでかすぎる」        → 左右2カラムのまま 540px で頭打ち
   ② 「見ずらい。上部に横型の上下短いボックスに」→ 1カラム（帯220px＋下に文言）に組み替え
   ③ 「画像左で文言右にして」            → **左右2カラムへ戻し、画像を【左】・文言を【右】**にした
      （8/30は「画像を右・文言を左」だったので、③でその逆になった）
   ④ 「小さくして」                      → 品目名を72px→52pxに縮め、枠の上限を540→**440px**に ← いまここ

   何が問題だったか＝hero-*.jpg が 800×1422 の【縦長】。左右2カラム（各640px）に入れると
   height:100% が解決できず、画像の元比率がそのまま行の高さになって **1138px** まで伸びる
   （ビューポート950pxより高い＝「でかすぎる」の正体）。→ 540px で頭打ちにする。

   ★高さの数字は【文言側が必要とする高さの実測】から決めている。ここを下げるときは必ず測り直すこと。
     ・品目名72pxのとき＝384〜416px（開業パックのみ527px）→ 上限540px
     ・品目名52pxへ縮めた後＝380〜394px（開業パックのみ426px）→ **上限440px**（④の指示で採用）
     これより小さくすると【開業パック（kaigyo）で画像の下に隙間が出る】。
     下げたいなら先に kaigyo の文言を削ること。順番を逆にすると隙間が出る。
   ★band-*.jpg（1600×800）は使わない。**文字が焼き込まれていて h1・本文と二重になる**うえ、
     8/30の色の振り直し前に作られていて品目色と合っていない（印鑑ページなのに緑地）。
   スマホ（上の max-width:760px）は元から「写真が上・文字が下」なので触っていない。 */
@media (min-width: 761px) {
  .pg-hero-inner { grid-template-columns: 1fr 1fr; }
  /* ★③の入れ替え。HTMLの並びは「画像→文言」なので order を戻すだけでよい */
  .pg-hero .pg-band { order: 1; height: 100%; min-height: 380px; max-height: 440px; object-position: center 45%; }
  .pg-hero .pg-lead { order: 2; padding: 42px 38px; }
  /* ★2026-09-01 社長「小さくして」＝赤いパネルが540pxのうち、品目名（72px）が一番場所を取っていた。
     左右2カラムで文言側の幅が640pxしかないので、72pxだと2〜3文字で幅が埋まって窮屈。52pxへ。
     ★ここはヒーロー内だけ。ページ下部の見出しに使う .pg-title（1377行）は72pxのまま。 */
  .pg-hero .pg-title { font-size: clamp(34px, 3.4vw, 52px); }
}


/* ===== スマホ：品目カードをウェーブのように順番に揺らす（2026-08-30 社長指示） =====
   PC は .carousel-track の横流れがあるので、そちらは触らない。
   3列グリッドのスマホだけ、左上から右下へ波が渡るように遅延を付ける。 */
@media (max-width: 760px) {
  .carousel-track .ci {
    animation: cardWave 2.6s ease-in-out infinite;
    transform-origin: 50% 90%;
    will-change: transform;
  }
  /* 9枚に順番の遅れを付ける。3列なので、1行ずつ波が下りていくように見える */
  .carousel-track .ci:nth-child(1) { animation-delay: 0s; }
  .carousel-track .ci:nth-child(2) { animation-delay: .18s; }
  .carousel-track .ci:nth-child(3) { animation-delay: .36s; }
  .carousel-track .ci:nth-child(4) { animation-delay: .54s; }
  .carousel-track .ci:nth-child(5) { animation-delay: .72s; }
  .carousel-track .ci:nth-child(6) { animation-delay: .90s; }
  .carousel-track .ci:nth-child(7) { animation-delay: 1.08s; }
  .carousel-track .ci:nth-child(8) { animation-delay: 1.26s; }
  .carousel-track .ci:nth-child(9) { animation-delay: 1.44s; }
}
@keyframes cardWave {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25%      { transform: translateY(-7px) rotate(-1.1deg); }
  50%      { transform: translateY(0) rotate(0deg); }
  75%      { transform: translateY(-3px) rotate(.9deg); }
}
/* 動きを減らす設定の人には出さない */
@media (prefers-reduced-motion: reduce) {
  .carousel-track .ci { animation: none !important; }
}


/* 開業パックの中の「ぶんプリへ渡す」項目（2026-08-30 社長指示）
   ぶんちゃんでは衣類を扱わないので、別ブランドへの導線だと分かる見た目にする */
#kaigyo .pack-list__bunpri { border-style: dashed; }
#kaigyo .pack-list__bunpri a {
  display: inline-block;
  margin-top: 6px;
  color: #e03318;
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid #e03318;
}
#kaigyo .pack-list__bunpri a:hover { opacity: .75; }


/* 「これは別ブランドで承ります」という項目（2026-08-31）
   ぶんちゃんで作るものと、ぶんプリ／ぶんデザインへ渡すものを見分けられるように */
.item-elsewhere { border-style: dashed !important; }
.item-elsewhere a {
  display: inline-block;
  margin-top: 6px;
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid var(--red);
}
.item-elsewhere a:hover { opacity: .75; }


/* ===== ぶんちゃんねる：訪問先のサムネをゆっくり左から右へ（2026-08-31 社長指示） =====
   押すと「訪ねたお店の一覧」（bunchannel.html）へ飛ぶ。 */
.yt-strip {
  display: block;
  margin: 26px 0 30px;
  overflow: hidden;
  border-radius: 12px;
  text-decoration: none;
}
.yt-strip:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.yt-strip__track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: ytFlow 140s linear infinite;
  will-change: transform;
}
.yt-strip__dup { display: flex; gap: 12px; margin-left: 12px; }
.yt-strip img {
  display: block;
  flex: 0 0 268px;
  width: 268px;
  height: auto;
  border-radius: 10px;
  border: 3px solid var(--text);
  background: #efe4d2;
}
.yt-strip:hover .yt-strip__track { animation-play-state: paused; }
@keyframes ytFlow {
  /* 右から左へ（2026-08-31 社長指示。以前は左→右だった） */
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (max-width: 760px) {
  .yt-strip img { flex: 0 0 200px; width: 200px; border-width: 2px; }
  .yt-strip__track { animation-duration: 110s; }
  .yt-strip { margin: 20px 0 24px; }
}

/* アンカーで飛んだとき、見出しが固定ヘッダーの下に潜らないようにする（2026-09-01）
   ★これが無いと、ナビの「ぶんちゃんねる」「アプリ」等を押しても見出しが隠れる。
     ヘッダーは .header{min-height:66px}+padding なので、余裕をみて84px。 */
[id] { scroll-margin-top: 84px; }

/* アプリのQRコード（2026-09-01）
   ★スマホで見ている人は自分の画面のQRを読めない。だから押せるボタンを必ず隣に置く。
   ★白地とふちを残すこと。背景色の上に直接置くと読み取り率が落ちる。 */
.app-qr { margin-top: 22px; text-align: center; }
.app-qr img {
  width: 200px; height: 200px;
  background: #fff; padding: 10px;
  border: 3px solid var(--text); border-radius: 14px;
}
.app-qr--sm img { width: 132px; height: 132px; padding: 8px; }
@media (max-width: 600px) { .app-qr img { width: 168px; height: 168px; } }

/* =========================================================
   2026-09-08 社長「これヘッダー下、カードの上に戻してくれ」＝PCの「左1/3＝文言の箱／右2/3＝カードの帯」（9/4）をやめ、
   文言（キャッチ→見出し→品目ボタン・中央ぞろえ）をヘッダー下に置き、その下でカードが流れる元の並びに戻した。
   スマホは変えない（社長「スマホ版は今のままで大丈夫」＝3列＋ウェーブ）。
   ★9/4のグリッド指定はここにあった（git 954f001 の style.css 2105-2126行）。復活させる時はそこから。
   ========================================================= */

/* 指で押しやすい高さに（2026-09-07 2サイト採点：スマホで高さ32px未満の文字リンクが40か所）
   文字は変えず、上下の当たり判定だけ広げる。見た目の行間がわずかに開く。 */
.item-list a, .f-nav a, .f-sns a, .pack-list__bunpri a, .cs-info a, .f-address a {
  display: inline-block; padding: 8px 0; margin: -4px 0; min-height: 40px; line-height: 24px;
}
.f-nav a { display: block; }

/* ===== Instagram 最新の投稿：1行で横に流す（2026-09-15 社長指示「1列にして上段カードみたいに横に流して」） =====
   作りは上の制作事例（.works-marquee）と同じ。track を2組ぶん並べて -50% まで動かすと切れ目なく回る。
   ★中身が全部リール（縦9:16）なので 4:5 で切って高さを揃える。9:16のままだと帯が縦に伸びすぎる。
   ★枠と影は .sns-card / .works-cell と同じ見た目に寄せる。 */
.ig-marquee { display: none; margin-top: 30px; overflow: hidden; }
.ig-marquee.is-ready { display: block; }

.ig-track {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform;
  animation-duration: var(--ig-duration, 40s);
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.ig-track--right { animation-name: igFlowRight; }
.ig-track--left  { animation-name: igFlowLeft; }
.ig-dup { display: flex; gap: 12px; margin-left: 12px; }
.ig-marquee:hover .ig-track { animation-play-state: paused; }

@keyframes igFlowRight {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}
@keyframes igFlowLeft {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ig-item {
  flex: 0 0 232px; width: 232px;
  display: block; position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--photo);
  border: 3px solid var(--text); border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--text);
}
.ig-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-item:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

/* リールには再生の印を出す。写真と動画が混ざったときに区別がつくように */
.ig-item .ig-play {
  position: absolute; right: 8px; top: 8px; width: 26px; height: 26px;
  display: grid; place-items: center;
  background: rgba(51, 48, 44, .72); border-radius: 50%; color: #fff;
}
.ig-item .ig-play svg { width: 12px; height: 12px; fill: currentColor; margin-left: 2px; }

@media (max-width: 760px) {
  /* 制作事例の帯と同じ 218px に揃える */
  .ig-item { flex: 0 0 218px; width: 218px; }
}

/* 動きを減らす設定の人には流さない。横に並べたまま、指でスクロールできるようにする */
@media (prefers-reduced-motion: reduce) {
  .ig-marquee { overflow-x: auto; }
  .ig-track { animation: none; }
}

/* ★2026-09-16 社長決定B: LINEボタンの文字色 =====
   LINE純正の緑 #06c755 に白文字だと、コントラスト比 2.26 で合格ライン 4.5 に届かない
   （実測: Lighthouse 2026-09-16）。緑を濃くする案（#04893b）は社長が不採用。
   採用したのは「緑はLINE純正のまま、文字を濃い緑にする」＝比 6.79。
   ★背景が #06c755 の要素だけを指名している。赤いボタン（--red）は白文字のまま。 */
.gnav-line,
.cta-line,
.doc a.cta-line,
.pb-cta,
.cb-line,
.cr-icon,
.cta-row-line .cr-go { color: #0B2B14; }
/* ★下の固定バーは .contact-bar a { color:#fff } の方が指定が強く、上の1行では勝てない。
   実測（Lighthouse 2026-09-16）で b と small の2件だけ白文字のまま残っていた。 */
.contact-bar a.cb-line,
.contact-bar a.cb-line b,
.contact-bar a.cb-line small { color: #0B2B14; }
