/* 参考：コクヨ「Curiosity is Life」。色付きの四角に文字を入れ、黒い細線で囲む見せ方 */
  :root {
    --ink: #1d1d22;
    --paper: #fdf8ec;
    --lime: #ffd43b;   /* 濃い黄色（オーナー指示で黄緑から変更）*/
    --mint: #86f8bf;
    --sky: #7f96f5;
    --pink: #ff9ccf;
    --yellow: #ffe066;
    --line: 1.5px solid var(--ink);
    --en: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
    --ja: "Zen Kaku Gothic New", "Hiragino Sans", sans-serif;
  }
  * { box-sizing: border-box; }
  html, body { margin: 0; }
  body { background: var(--paper); color: var(--ink); font-family: var(--en), var(--ja); -webkit-font-smoothing: antialiased; }
  a { color: inherit; }

  /* 箱の文字（コクヨ風） */
  .tag { display: inline-block; border: var(--line); background: var(--lime); padding: .12em .38em .16em; line-height: 1.05; font-weight: 700; }
  .tag.ja { font-family: var(--ja); font-weight: 700; background: #fff; }
  .stack { display: flex; flex-direction: column; align-items: flex-start; }
  .stack .tag + .tag { margin-top: -1.5px; }

  header.site { position: fixed; inset: 16px 16px auto 16px; display: flex; justify-content: space-between; align-items: flex-start; z-index: 20; pointer-events: none; }
  header.site > * { pointer-events: auto; }
  .logo { display: block; padding: 6px 0 0; }
  .logo img { display: block; width: clamp(150px, 16vw, 220px); height: auto; }
  nav.menu { display: flex; gap: 0; align-items: flex-start; }
  nav.menu > a, nav.menu .has-sub > a { display: block; font: 700 13px/1 var(--ja); text-decoration: none; border: var(--line); background: #fff; padding: 9px 12px; margin-left: -1.5px; }
  nav.menu > a:hover, nav.menu .has-sub:hover > a { background: var(--lime); }
  /* 事業：カーソルを乗せると下に3つ出る */
  nav.menu .has-sub { position: relative; }
  nav.menu .has-sub > a::after { content: " ▾"; font-size: 10px; }
  nav.menu .sub { position: absolute; right: -1.5px; top: 100%; min-width: 260px; display: flex; flex-direction: column; background: #fff; border: var(--line); margin-top: -1.5px;
    opacity: 0; visibility: hidden; transform: translateY(-4px); transition: .18s ease; z-index: 30; }
  nav.menu .has-sub:hover .sub, nav.menu .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  nav.menu .sub a { display: flex; align-items: center; gap: 8px; font: 700 13px/1 var(--en), var(--ja); text-decoration: none; padding: 11px 14px; border-top: var(--line); }
  nav.menu .sub a:first-child { border-top: 0; }
  nav.menu .sub a small { font: 700 11px/1 var(--ja); margin-left: auto; color: #555; white-space: nowrap; }
  nav.menu .sub .dot { width: 12px; height: 12px; border: var(--line); border-radius: 50%; flex: none; }
  nav.menu .sub .s-ent .dot { background: var(--lime); }
  nav.menu .sub .s-sns .dot { background: var(--sky); }
  nav.menu .sub .s-loc .dot { background: var(--mint); }
  nav.menu .sub .s-ent:hover { background: var(--lime); }
  nav.menu .sub .s-sns:hover { background: var(--sky); }
  nav.menu .sub .s-loc:hover { background: var(--mint); }

  /* ヒーロー（元のアニメーションつきイラスト）：3Dのときと同じく画面いっぱいに */
  .hero { position: relative; height: var(--hero-h, 100svh); min-height: 560px; overflow: hidden; background: var(--paper); }
  .hero-art { position: absolute; inset: 0; display: flex; align-items: center; justify-content: flex-end; padding: 64px 2vw 8px 0; }
  .hero-art img { display: block; width: auto; height: 100%; max-width: 82vw; object-fit: contain; }
  .hero-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
  .hero-copy { position: absolute; left: clamp(16px, 4vw, 64px); bottom: clamp(48px, 9vh, 110px); z-index: 2; }
  .hero-copy .tag { font-size: clamp(32px, 5.4vw, 76px); letter-spacing: -.02em; }
  .hero-copy .ja { font-size: clamp(15px, 1.6vw, 20px); margin-top: 10px; padding: .35em .6em; }

  /* ページの中を旅するキャラ（runner.js が位置を決める） */
  .runner { position: fixed; left: 0; top: 0; z-index: 5; pointer-events: none; width: clamp(36px, 4.6vw, 72px); opacity: 0; transition: opacity .25s ease; will-change: transform; }
  .runner.is-on { opacity: 1; }
  .runner img { display: block; width: 100%; height: auto; transform-origin: 50% 100%; }
  @media (max-width: 720px) { .runner { width: 30px; } }
  /* キャラが乗ったときのポヨン */
  @keyframes poyo { 0% { transform: scale(1); } 30% { transform: scale(1.08, .9); } 55% { transform: scale(.96, 1.05); } 80% { transform: scale(1.02, .98); } 100% { transform: scale(1); } }
  .venn-link circle.poyo { animation: poyo .65s ease-out; }

  /* 下のセクション */
  section.block { padding: clamp(64px, 10vw, 120px) clamp(16px, 6vw, 96px); border-top: var(--line); overflow-x: hidden; }
  .three .card, .works li { min-width: 0; }
  .three .card p, .lead, .venn-note { overflow-wrap: anywhere; }
  .block h2 { margin: 0 0 28px; }
  .block h2 .tag { font-size: clamp(28px, 4.4vw, 56px); }
  .block h2 .tag.ja { font-size: clamp(14px, 1.4vw, 18px); }
  .lead { font: 500 clamp(16px, 1.6vw, 19px)/2.1 var(--ja); max-width: 40em; margin: 0; }
  .venn { display: grid; grid-template-columns: minmax(0, 520px) minmax(0, 1fr); align-items: center; gap: clamp(16px, 4vw, 56px); margin: clamp(110px, 10vw, 170px) 0 clamp(64px, 6vw, 96px); }
  .venn svg { width: 100%; height: auto; display: block; }
  .venn-circles circle { stroke: var(--ink); stroke-width: 2.5; mix-blend-mode: multiply; opacity: .92; transition: transform .3s ease, opacity .3s ease, filter .3s ease; }
  .venn-link { cursor: pointer; outline: none; }
  .venn-link text { font-family: var(--en), var(--ja); fill: var(--ink); font-weight: 700; pointer-events: none; transition: transform .3s ease; }
  .venn-link .en { font-size: 40px; letter-spacing: -.01em; }
  .venn-link .ja { font-family: var(--ja); font-size: 22px; }
  /* カーソルを乗せた円：少し大きくなり、色が濃くなり、手前に出る */
  .venn-link circle, .venn-link text { transform-box: fill-box; transform-origin: center; }
  .venn-link:hover circle, .venn-link:focus-visible circle { transform: scale(1.06); opacity: 1; filter: saturate(1.35) brightness(.96); stroke-width: 4; }
  .venn-link:hover text { transform: scale(1.06); }
  .venn-circles:has(.venn-link:hover) .venn-link:not(:hover) circle { opacity: .55; }
  .venn-note { font: 500 clamp(15px, 1.5vw, 18px)/2.1 var(--ja); margin: 0; }
  .three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 8px; }
  /* 事業カード：クリックで各事業のページへ。カーソルを乗せると少し浮いて色が濃くなる */
  .three .card { display: flex; flex-direction: column; border: var(--line); margin: -0.75px; padding: 28px; background: #fff; font-family: var(--ja); text-decoration: none; color: inherit; position: relative;
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
  .three .card .tag { font-size: 13px; align-self: flex-start; }
  .three .card h3 { font-size: 24px; font-weight: 900; margin: 14px 0 10px; }
  .three .card p { line-height: 1.95; margin: 0 0 14px; font-size: 15px; }
  .three .card .more { margin-top: auto; font-size: 14px; font-weight: 900; transition: transform .25s ease; }
  .three .card.ent { background: #fff6d6; }
  .three .card.loc { background: #e4fbef; }
  .three .card.sns { background: #e9edff; }
  .three .card:hover, .three .card:focus-visible { transform: translate(-4px, -4px); box-shadow: 6px 6px 0 var(--ink); z-index: 1; }
  .three .card.ent:hover { background: var(--lime); }
  .three .card.loc:hover { background: var(--mint); }
  .three .card.sns:hover { background: var(--sky); }
  .three .card:hover .more { transform: translateX(6px); }
  .three .card:hover .tag.ja { background: #fff; }
  .works { list-style: none; padding: 0; margin: clamp(80px, 7.5vw, 120px) 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 0; }
  .works li { border: var(--line); margin: -0.75px; background: #fff; font-family: var(--ja); min-width: 0; }
  .works a { display: block; text-decoration: none; color: inherit; height: 100%; }
  .works figure { margin: 0; aspect-ratio: 3240 / 2700; overflow: hidden; border-bottom: var(--line); background: #f3efe6; }
  .works img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
  .works a:hover img { transform: scale(1.04); }
  .works .body { padding: 18px 20px 22px; }
  .works .tags { margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 4px; }
  .works .tags .tag { font-size: 11px; }
  .works .tags .t-ent { background: var(--lime); }   /* 企画・クリエイティブ ＝ Entertainment */
  .works .tags .t-sns { background: var(--sky); }    /* インフルエンサー・SNS運用 ＝ SNS */
  .works .tags .t-loc { background: var(--mint); }   /* コミュニティ ＝ Local */
  .works h3 { font-size: 17px; font-weight: 900; line-height: 1.5; margin: 0 0 4px; }
  .works .who { font-size: 12px; font-weight: 700; margin: 0 0 8px; color: #555; }
  .works .desc { font-size: 13px; line-height: 1.8; margin: 0; }
  .member-emph { margin: 0 0 18px; }
  .member-emph .tag { font-size: clamp(20px, 2.6vw, 34px); font-weight: 900; background: var(--lime); padding: .3em .55em .36em; line-height: 1.35; max-width: 100%; box-sizing: border-box; overflow-wrap: anywhere; }
  .members { list-style: none; padding: 0; margin: clamp(80px, 7.5vw, 120px) 0 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; }
  .members li { border: var(--line); margin: -0.75px; background: #fff; font-family: var(--ja); min-width: 0; }
  .members a { display: block; text-decoration: none; color: inherit; }
  .members figure { margin: 0; aspect-ratio: 3 / 4; overflow: hidden; border-bottom: var(--line); background: #f3efe6; }
  .members img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
  .members a:hover img { transform: scale(1.05); }
  .members .job { margin: 10px 12px 2px; font-size: 11px; font-weight: 700; color: #555; line-height: 1.4; word-break: break-all; }
  .members .name { margin: 0 12px 12px; font-size: 15px; font-weight: 900; }
  .contact { background: var(--lime); text-align: left; }
  .contact a.btn { display: inline-block; margin-top: 26px; font: 900 18px/1 var(--ja); background: #fff; border: var(--line); padding: 18px 26px; text-decoration: none; }
  .contact a.btn:hover { background: var(--yellow); }
  footer { padding: 28px clamp(16px, 6vw, 96px); border-top: var(--line); font: 500 12px/1.8 var(--ja); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

  @media (max-width: 900px) {
    .three { grid-template-columns: 1fr; }
    .members { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .venn { grid-template-columns: 1fr; }
  }
  @media (max-width: 720px) {
    nav.menu { display: none; }
    .members { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero { height: auto; min-height: 0; }
    .hero-art { position: static; padding: 88px 0 0; }
    .hero-art img { width: 100%; height: auto; transform: none; }
    .hero-copy { position: static; padding: 16px 16px 40px; }
  }

/* ---- 事業ページ（service/*.html） ---- */
.page-hero { padding: 140px clamp(16px, 6vw, 96px) 56px; }
.page-hero .eyebrow { font: 700 13px/1 var(--ja); margin: 0 0 18px; }
.page-hero .eyebrow a { text-decoration: none; }
.page-hero h1 { margin: 0 0 24px; }
.page-hero h1 .tag { font-size: clamp(36px, 6vw, 80px); letter-spacing: -.02em; }
.page-hero h1 .tag.ja { font-size: clamp(16px, 1.8vw, 22px); }
.page-hero .lead { max-width: 42em; }
.howto { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; margin-top: 32px; }
.howto div { border: var(--line); margin: -0.75px; padding: 22px; background: #fff; font-family: var(--ja); }
.howto .num { font: 800 28px/1 var(--en); display: block; margin-bottom: 10px; }
.howto h3 { font-size: 17px; font-weight: 900; margin: 0 0 8px; }
.howto p { font-size: 14px; line-height: 1.9; margin: 0; }
.page-hero.ent { background: #fff6d6; }
.page-hero.loc { background: #e4fbef; }
.page-hero.sns { background: #e9edff; }
.back { display: inline-block; margin-top: 28px; font: 900 15px/1 var(--ja); background: #fff; border: var(--line); padding: 14px 20px; text-decoration: none; }
.back:hover { background: var(--lime); }

/* ---- 個別ページ（member/*.html・works/*.html） ---- */
.detail { padding: 120px clamp(16px, 6vw, 96px) 72px; }
.detail .eyebrow { font: 700 13px/1 var(--ja); margin: 0 0 22px; }
.detail .eyebrow a { text-decoration: none; }
.detail-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 4vw, 56px); align-items: start; }
.detail-head figure { margin: 0; border: var(--line); background: #fff; overflow: hidden; }
.detail-head img { display: block; width: 100%; height: auto; }
.detail-head .portrait { aspect-ratio: 3 / 4; }
.detail-head .portrait img { height: 100%; object-fit: cover; }
.detail-head .meta { font-family: var(--ja); }
.detail-head .meta .tag { font-size: 13px; }
.detail-head h1 { font-size: clamp(28px, 3.6vw, 44px); font-weight: 900; margin: 12px 0 14px; line-height: 1.3; }
.detail-head .who { font-size: 14px; font-weight: 700; color: #555; margin: -6px 0 16px; }
.detail-head .summary { font-size: clamp(15px, 1.4vw, 17px); line-height: 2; margin: 0 0 22px; font-weight: 700; }
.detail-head .tags { margin: 0 0 6px; display: flex; flex-wrap: wrap; gap: 4px; }
.detail-head .tags .tag { font-size: 11px; }
.sns-row { display: flex; flex-wrap: wrap; gap: 0; margin: 0 0 22px; }
.sns-row .sns { font: 700 12px/1 var(--en); text-decoration: none; border: var(--line); background: #fff; padding: 8px 12px; margin-left: -1.5px; text-transform: capitalize; }
.sns-row .sns:hover { background: var(--lime); }
.member-detail dl { margin: 0; display: grid; grid-template-columns: 1fr; gap: 0; }
.member-detail dt { font: 900 12px/1 var(--ja); background: var(--lime); border: var(--line); display: inline-block; padding: 5px 8px; margin: 0 0 8px; width: max-content; }
.member-detail dd { margin: 0 0 20px; font-size: 15px; line-height: 2; }
.facts { margin: 0; border: var(--line); background: #fff; }
.facts div { display: grid; grid-template-columns: 90px 1fr; border-top: var(--line); }
.facts div:first-child { border-top: 0; }
.facts dt { font: 900 12px/1.6 var(--ja); padding: 12px 14px; border-right: var(--line); background: #fff8e0; }
.facts dd { margin: 0; font-size: 14px; line-height: 1.8; padding: 10px 14px; }
.detail-body { max-width: 820px; margin: 56px auto 0; font-family: var(--ja); }
.detail-body h2 { margin: 44px 0 16px; }
.detail-body h2 .tag { font-size: 18px; font-weight: 900; background: var(--lime); }
.detail-body p { font-size: 15px; line-height: 2.1; margin: 0 0 16px; }
.detail-body p.strong { font-weight: 700; font-size: 16px; }
.detail-body figure { margin: 20px 0 28px; border: var(--line); background: #fff; }
.detail-body figure img { display: block; width: 100%; height: auto; }
.pn { display: flex; align-items: stretch; margin-top: 56px; font-family: var(--ja); }
.pn a { flex: 1 1 0; display: flex; align-items: center; justify-content: center; font: 900 14px/1.4 var(--ja); text-decoration: none; border: var(--line); background: #fff; padding: 14px 18px; margin-left: -1.5px; }
.pn a:first-child { justify-content: flex-start; }
.pn a:last-child { justify-content: flex-end; }
.pn a.back { flex: 0 0 auto; background: var(--lime); }
.pn a:hover { background: var(--yellow); }
.pn a.off { visibility: hidden; }
@media (max-width: 760px) {
  .detail-head { grid-template-columns: 1fr; }
  .detail-head .portrait { max-width: 320px; }
  .pn { flex-direction: column; }
  .pn a.off { display: none; }
  .pn a { margin: -1.5px 0 0; justify-content: center !important; }
}

/* ---- お問い合わせ（contact.html / contact-thanks.html） ---- */
.contact-hero { background: var(--lime); border-bottom: var(--line); }
.contact-hero h1 .tag { background: #fff; }
.steps { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 34px 0 0; }
.steps li { display: flex; align-items: stretch; opacity: .45; }
.steps li .tag { font: 800 15px/1 var(--en); padding: .5em .6em; background: #fff; }
.steps li .tag.ja { font: 700 14px/1 var(--ja); margin-left: -1.5px; }
.steps li.is-on { opacity: 1; }
.steps li.is-on .tag:first-child { background: var(--ink); color: #fff; }
.form-wrap { padding: clamp(48px, 7vw, 96px) clamp(16px, 6vw, 96px) clamp(64px, 9vw, 120px); }
.cform { max-width: 860px; }
.cform .row { margin: 0 0 30px; border: 0; padding: 0; min-width: 0; }
.cform .row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; }
.cform .lab { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font: 700 15px/1.5 var(--ja); padding: 0; }
.cform .req, .cform .opt { display: inline-block; border: var(--line); font: 700 11px/1 var(--ja); padding: .3em .5em; background: var(--lime); }
.cform .opt { background: #fff; }
.cform input[type=text], .cform input[type=email], .cform input[type=tel], .cform select, .cform textarea {
  width: 100%; font: 500 16px/1.6 var(--ja); color: var(--ink); background: #fff; border: var(--line); border-radius: 0; padding: 13px 14px; outline: none;
  transition: box-shadow .15s ease, background .15s ease; -webkit-appearance: none; appearance: none; }
.cform textarea { resize: vertical; min-height: 120px; }
.cform input::placeholder, .cform textarea::placeholder { color: #a7a39a; }
.cform input:focus, .cform select:focus, .cform textarea:focus { box-shadow: 5px 5px 0 var(--lime); background: #fffdf4; }
.cform .select { position: relative; max-width: 420px; }
.cform .select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.cform select { padding-right: 44px; cursor: pointer; }
/* お問い合わせ内容：箱のボタン */
.cform .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.cform .chips label { cursor: pointer; }
.cform .chips input { position: absolute; opacity: 0; pointer-events: none; }
.cform .chips span { display: inline-block; border: var(--line); background: #fff; font: 700 15px/1 var(--ja); padding: 12px 18px; transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.cform .chips label:hover span { transform: translate(-2px, -2px); box-shadow: 3px 3px 0 var(--ink); }
.cform .chips input:checked + span { background: var(--lime); box-shadow: 3px 3px 0 var(--ink); transform: translate(-2px, -2px); }
.cform .chips input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
/* 同意 */
.cform .agree { margin-top: 40px; }
.cform .check { display: inline-flex; align-items: center; gap: 12px; font: 700 15px/1.5 var(--ja); cursor: pointer; }
.cform .check input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink); cursor: pointer; }
/* エラー */
.cform .is-err { border-color: #e2445c !important; box-shadow: 4px 4px 0 #ffd0d8 !important; }
.cform .err { margin: 8px 0 0; font: 700 13px/1.5 var(--ja); color: #c42a43; }
.cform .err::before { content: "！ "; }
.form-error { margin: 0 0 18px; padding: 12px 16px; border: var(--line); background: #ffe3e8; font: 700 14px/1.6 var(--ja); }
/* ボタン */
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn-main, .btn-sub { display: inline-block; font: 900 18px/1 var(--ja); color: var(--ink); background: var(--lime); border: var(--line); padding: 20px 30px; text-decoration: none; cursor: pointer;
  box-shadow: 5px 5px 0 var(--ink); transition: transform .12s ease, box-shadow .12s ease; }
.btn-main:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.btn-main:active { transform: translate(3px, 3px); box-shadow: 2px 2px 0 var(--ink); }
.btn-sub { background: #fff; box-shadow: none; }
.btn-sub:hover { background: var(--yellow); }
/* 確認画面 */
.view-confirm .lead { margin: 0 0 22px; }
.confirm { display: grid; grid-template-columns: minmax(0, 15em) minmax(0, 1fr); border: var(--line); background: #fff; margin: 0; }
.confirm dt, .confirm dd { margin: 0; padding: 16px 18px; border-bottom: var(--line); font: 500 15px/1.8 var(--ja); overflow-wrap: anywhere; }
.confirm dt { font-weight: 700; background: #fff6d6; border-right: var(--line); }
.confirm dt:nth-last-of-type(1), .confirm dd:last-child { border-bottom: 0; }
.note { margin: 18px 0 0; font: 500 12px/1.7 var(--ja); color: #6b675e; }
/* 完了 */
.thanks .lead { margin: 18px 0 0; }
.thanks .box { margin-top: 34px; border: var(--line); background: #fff; padding: 22px 24px; max-width: 860px; }
.thanks .box h2 { margin: 0 0 10px; }
.thanks .box h2 .tag { font-size: 15px; background: var(--lime); }
.thanks .box p { margin: 0; font: 500 14px/2 var(--ja); }
@media (max-width: 720px) {
  .cform .row.two { grid-template-columns: 1fr; }
  .cform .row.two > div + div { margin-top: 30px; }
  .confirm { grid-template-columns: 1fr; }
  .confirm dt { border-right: 0; border-bottom: 0; padding-bottom: 4px; }
  .btn-main, .btn-sub { width: 100%; text-align: center; }
}

/* ---- らふがきストアへの案内（お問い合わせの後）：ストアのカードを並べる ---- */
.store { background: var(--pink); }
.store h2 .tag:first-child { background: #fff; }
.store-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; }
.store-lead { margin: 26px 0 14px; }
.store-lead .tag { font-size: clamp(18px, 2vw, 26px); font-weight: 900; background: var(--lime); padding: .3em .5em .34em; }
.store .lead { margin: 0; }
.store-head .btn-main { flex: none; }
.store-cards { display: flex; align-items: flex-start; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: clamp(16px, 6vw, 96px);
  margin: clamp(32px, 4vw, 52px) calc(-1 * clamp(16px, 6vw, 96px)) 0; padding: 6px clamp(16px, 6vw, 96px) 18px; scrollbar-width: thin; scrollbar-color: rgba(0,0,0,.25) transparent; }
.store-cards::-webkit-scrollbar { height: 8px; }
.store-cards::-webkit-scrollbar-thumb { background: rgba(0,0,0,.2); }
/* ストアのイベントカードと同じ横幅 340px。画像は高さなりで切り取らない */
.scard { flex: 0 0 min(340px, 78vw); scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: var(--line); text-decoration: none; color: inherit; transition: transform .2s ease, box-shadow .2s ease; }
.scard:hover { transform: translate(-4px, -4px); box-shadow: 6px 6px 0 var(--ink); }
.scard figure { margin: 0; border-bottom: var(--line); background: #fff; overflow: hidden; }
.scard img { display: block; width: 100%; height: auto; transition: transform .4s ease; }
.scard:hover img { transform: scale(1.03); }
.scard .b { padding: 12px 12px 14px; }
.scard .tag { font-size: 11px; }
.scard .k-ev { background: var(--lime); }
.scard .k-br { background: var(--sky); }
.scard .k-gd { background: var(--mint); }
.scard .b { flex: none; height: 104px; overflow: hidden; }  /* 白いブロックは全カード同じ高さ。カード全体の高さは画像なりでばらついてよい */
.scard h3 { margin: 8px 0 4px; font: 900 16px/1.45 var(--ja); }
.scard p { margin: 0; font: 500 12px/1.5 var(--ja); color: #55524b; }
@media (max-width: 900px) {
  .store-head .btn-main { width: 100%; text-align: center; }
}
.cform .is-err-row .chips span { border-color: #e2445c; }
.send-error { margin: 16px 0 0; padding: 12px 16px; border: var(--line); background: #ffe3e8; font: 700 14px/1.6 var(--ja); }
.btn-main:disabled { opacity: .6; cursor: wait; }

/* スマホ：実績カードは2列（列の間に隙間）。文字は小さめ、説明は3行まで */
@media (max-width: 720px) {
  .works { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
  .works li { margin: 0; }
  .works .body { padding: 10px 10px 12px; }
  .works .tags { gap: 3px; margin-bottom: 6px; }
  .works .tags .tag { font-size: 9px; }
  .works h3 { font-size: 13px; line-height: 1.45; }
  .works .who { font-size: 10px; margin-bottom: 4px; }
  .works .desc { font-size: 11px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
/* スマホ：キャラが記事に重ならずに走れるよう、左右の余白を少し広げる（元の指定より後ろに置く） */
@media (max-width: 720px) {
  section.block { padding-left: 36px; padding-right: 36px; }
  .store-cards { margin-left: -36px; margin-right: -36px; padding-left: 36px; padding-right: 36px; scroll-padding-left: 36px; }
}

/* ---- フッターのリンク・プライバシーポリシー ---- */
footer .foot-link { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
footer .foot-link:hover { background: var(--lime); }
.policy-hero { background: #fff; border-bottom: var(--line); }
.policy { padding: clamp(40px, 6vw, 80px) clamp(16px, 6vw, 96px) clamp(64px, 9vw, 120px); max-width: 980px; font: 500 15px/2 var(--ja); }
.policy h2 { margin: 44px 0 14px; }
.policy h2 .tag { font-size: clamp(15px, 1.5vw, 18px); background: var(--lime); padding: .3em .5em .34em; }
.policy p { margin: 0 0 14px; }
.policy ol, .policy ul { margin: 0 0 16px; padding-left: 1.6em; }
.policy li { margin: 0 0 4px; }
.policy .window { border: var(--line); background: #fff; padding: 18px 22px; margin-top: 18px; }
@media (max-width: 720px) { .policy { padding-left: 36px; padding-right: 36px; font-size: 14px; } }
