/* =========================================================
   08 CROSS — 「季節の素材 × PALLO」の掛け算を軸にしたトップページ案
   色: 紙 #FAFAF7 / 墨 #121212 / 差し色の朱 #FF5A36 / グレー #8A8A85
   ========================================================= */

:root {
  --heading-leading: 1.4;
  --paper: #FAFAF7;
  --ink: #121212;
  --coral: #FF5A36;
  --mute: #8A8A85;
  --line: rgba(18, 18, 18, .14);
  --soft: #F1F0EA;
  --gutter: 40px;
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

h1, h2, h3, h4, h5, h6 { line-height: var(--heading-leading) !important; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
.font-en { font-family: "Inter Tight", "Noto Sans JP", sans-serif; letter-spacing: .01em; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* 小さな英字ラベル */
.eyebrow {
  font-family: "Inter Tight", sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--mute);
  line-height: 1.5;
}
.h2 {
  font-weight: 700;
  font-size: clamp(26px, 2.7vw, 38px);
  letter-spacing: .04em;
  margin-top: 14px;
}
.h3 { font-weight: 700; font-size: 19px; letter-spacing: .03em; }
.sec { padding: 140px 0; }
.sec-head { max-width: 760px; }
.sec-lead { margin-top: 20px; color: #3c3c3a; font-size: 15px; }
.note { margin-top: 10px; color: var(--mute); font-size: 12.5px; }

/* ボタン（ページ内で1種類） */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 30px;
  background: var(--ink); color: var(--paper);
  border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .06em;
  transition: background .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn::before {
  content: ""; width: 9px; height: 9px; flex: none;
  background:
    linear-gradient(45deg, transparent 42%, var(--coral) 42% 58%, transparent 58%),
    linear-gradient(-45deg, transparent 42%, var(--coral) 42% 58%, transparent 58%);
  transition: transform .4s var(--ease);
}
.btn:hover { background: #2a2a28; }
.btn:hover::before { transform: rotate(90deg); }
.btn-sm { height: 40px; padding: 0 20px; font-size: 13.5px; }
.btn-lg { height: 60px; padding: 0 34px; font-size: 16px; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 15px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}
.text-link span { transition: transform .3s var(--ease); }
.text-link:hover span { transform: translateX(4px); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(250, 250, 247, .86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.logo img { width: 112px; height: auto; }
.gnav { display: flex; align-items: center; gap: 30px; font-size: 14px; font-weight: 700; }
.gnav a:not(.btn) { position: relative; }
.gnav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--coral); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.gnav a:not(.btn):hover::after { transform: scaleX(1); }
.menu-btn { display: none; }

/* ---------- 1. ヒーロー ---------- */
.hero {
  --ph-h: clamp(440px, calc(100vh - var(--header-h) - 150px), 660px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 520px minmax(0, 1fr);
  grid-template-areas:
    "left head right"
    "left body right";
  grid-template-rows: auto 1fr;
  column-gap: 36px;
  padding-top: 36px;
  padding-bottom: 72px;
}
.hero-left { grid-area: left; }
.hero-right { grid-area: right; }
.hero-head { grid-area: head; text-align: center; padding-top: 40px; }
.hero-body { grid-area: body; text-align: center; padding-top: 28px; }
.hero-midx { display: none; }

.ph-label {
  display: flex; align-items: baseline; gap: 10px;
  font-size: 13px; font-weight: 700; margin-bottom: 12px; line-height: 1.5;
}
.ph-label .en { font-family: "Inter Tight", sans-serif; font-weight: 700; font-size: 11px; letter-spacing: .16em; color: var(--coral); }
.hero-right .ph-label { justify-content: flex-end; }
.hero-frame {
  position: relative; height: var(--ph-h); overflow: hidden; background: var(--soft);
  border-radius: 4px;
}
.hero-frame img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.1s var(--ease), transform 5s linear;
}
.hero-frame img.on { opacity: 1; transform: scale(1); }
.ph-cap { position: relative; height: 22px; margin-top: 12px; font-size: 12.5px; color: var(--mute); line-height: 1.7; }
.ph-cap span { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .8s; white-space: nowrap; }
.hero-right .ph-cap span { left: auto; right: 0; }
.ph-cap span.on { opacity: 1; }

.hero-title { font-weight: 700; letter-spacing: .04em; font-size: clamp(36px, 3.5vw, 52px); }
.hero-title > span, .ht-line1 > span { display: block; }
.ht-x { display: flex !important; justify-content: center; margin: 4px 0 2px; }
.ht-x svg { width: clamp(84px, 8vw, 118px); height: clamp(84px, 8vw, 118px); color: var(--coral); }
.ht-pallo .font-en { font-weight: 700; letter-spacing: .02em; }
.ht-de { margin-left: .12em; }
.ht-rest { margin-top: 2px; }
.hero-lead { max-width: 430px; margin: 0 auto; font-size: 14.5px; color: #3c3c3a; text-align: left; }
.hero-actions { margin-top: 30px; display: flex; justify-content: center; align-items: center; gap: 28px; }

.x-rot { will-change: transform; }

/* ---------- 2. お店の数字と素材 ---------- */
.sec-record { padding-top: 120px; border-top: 1px solid var(--line); }
.record-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 80px; }
.stats { margin-top: 48px; }
.stat { padding: 26px 0 28px; border-top: 1px solid var(--line); display: flex; flex-direction: column-reverse; }
.stat:last-child { border-bottom: 1px solid var(--line); }
.stat-cap { font-size: 13px; color: #55554f; margin-top: 4px; }
.stat-num { display: flex; align-items: baseline; gap: 8px; }
.stat-num .font-en { font-weight: 700; font-size: clamp(52px, 5vw, 72px); line-height: 1.05; letter-spacing: -.02em; }
.stat-num .unit { font-weight: 700; font-size: 18px; }

.record-right { padding-top: 6px; }
.h3-label { font-size: 13px; font-weight: 700; color: var(--mute); letter-spacing: .08em; }
.eq-list { margin-top: 20px; }
.eq {
  display: grid; grid-template-columns: minmax(0, 1fr) 46px 150px; align-items: center; column-gap: 24px;
  padding: 24px 0; border-top: 1px solid var(--line); position: relative;
}
.eq:last-child { border-bottom: 1px solid var(--line); }
.eq-l { font-weight: 700; font-size: clamp(18px, 1.8vw, 26px); letter-spacing: .04em; line-height: 1.4; }
.eq-x { width: 30px; height: 30px; color: var(--coral); justify-self: center; transition: transform .8s var(--ease); }
.eq-r { font-weight: 700; line-height: 1.4; font-size: clamp(18px, 1.8vw, 26px); color: var(--mute); text-align: right; transition: color .4s; }
.eq:hover .eq-r { color: var(--ink); }
.eq:hover .eq-x { transform: rotate(90deg); }

/* ---------- 3. こんなときに（対応表） ---------- */
.sec-want { background: var(--soft); }
.matrix { margin-top: 64px; }
.mx-head, .mx-row {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) repeat(6, 114px);
  column-gap: 0;
}
.mx-head { position: sticky; top: var(--header-h); z-index: 5; background: var(--soft); padding: 14px 0 16px; border-bottom: 1px solid var(--ink); }
.mx-head-want { grid-column: 1 / 3; align-self: end; font-size: 13px; font-weight: 700; color: var(--mute); letter-spacing: .08em; }
.mx-col {
  align-self: end; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.45; padding: 0; letter-spacing: 0;
  transition: color .3s;
}
.mx-col .en { display: block; font-family: "Inter Tight", sans-serif; font-weight: 500; font-size: 9.5px; letter-spacing: .08em; color: var(--mute); margin-bottom: 6px; line-height: 1.3; }
.mx-col.hl { color: var(--coral); }
.mx-row {
  padding: 30px 0; border-bottom: 1px solid var(--line);
  transition: background .3s;
  position: relative;
}
.mx-row:hover { background: rgba(255, 255, 255, .7); }
.mx-thumb { width: 88px; height: 88px; overflow: hidden; border-radius: 3px; }
.mx-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mx-row:hover .mx-thumb img { transform: scale(1.08); }
.mx-want { padding-right: 36px; }
.mx-desc { margin-top: 8px; font-size: 14px; color: #44443f; line-height: 1.85; }
.mx-tags { display: none; }
.mx-cells { display: contents; }
.mx-cells i { display: flex; align-items: center; justify-content: center; position: relative; }
.mx-cells i::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: rgba(18, 18, 18, .18); }
.mx-cells i.hit::before {
  width: 30px; height: 30px; border-radius: 0; background:
    linear-gradient(45deg, transparent 44.5%, var(--coral) 44.5% 55.5%, transparent 55.5%),
    linear-gradient(-45deg, transparent 44.5%, var(--coral) 44.5% 55.5%, transparent 55.5%);
  transition: transform .6s var(--ease);
}
.mx-row:hover .mx-cells i.hit::before { transform: rotate(90deg) scale(1.15); }
/* 縦の補助線: 列の位置を追いやすくする */
.mx-cells i::after { content: ""; position: absolute; top: -30px; bottom: -30px; left: 50%; width: 1px; background: rgba(18, 18, 18, .05); }

/* ---------- 4. 季節の記録 ---------- */
.works-head { margin-bottom: 72px; }
.converge {
  --p: 1;
  --sh: 11%;
  --cw: min(100vw - 2 * var(--gutter), 1280px);
  position: relative; height: calc(var(--cw) * .39 + 56px);
}
.cv-ph { position: absolute; top: 0; margin: 0; }
.cv-left { left: calc(var(--p) * var(--sh)); width: 50%; top: calc(var(--cw) * .055); z-index: 1; }
.cv-right { right: calc(var(--p) * var(--sh)); width: 31%; z-index: 2; }
.cv-frame { overflow: hidden; border-radius: 4px; background: var(--soft); }
.cv-left .cv-frame { aspect-ratio: 3 / 2; }
.cv-right .cv-frame { aspect-ratio: 4 / 5; box-shadow: 0 30px 60px -30px rgba(18, 18, 18, .35); }
.cv-frame img { width: 100%; height: 100%; object-fit: cover; }
.cv-ph figcaption { margin-top: 12px; font-size: 12.5px; color: var(--mute); }
.cv-right figcaption { text-align: right; }
.cv-x {
  position: absolute; z-index: 3; left: 59.5%; top: 44%;
  width: 120px; height: 120px; margin: -60px 0 0 -60px;
  color: var(--coral);
  transform: rotate(calc(var(--p) * 180deg)) scale(calc(.75 + var(--p) * .35));
}
.cv-x svg { width: 100%; height: 100%; }
.cv-meta { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 28px; align-items: baseline; }

.work-title { font-weight: 700; font-size: 20px; letter-spacing: .03em; }
.wt-x { display: inline-block; color: var(--coral); margin-left: .5em; white-space: nowrap; }
.wt-x .font-en { font-weight: 700; color: var(--ink); }
.work-job { font-size: 14px; color: #44443f; }
.work-year { font-weight: 500; font-size: 13px; color: var(--mute); }

.works-grid {
  margin-top: 120px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 64px; row-gap: 96px;
  padding-bottom: 120px;
}
.work:nth-child(even) { transform: translateY(120px); }
.work { display: flex; flex-direction: column; }
.pair {
  --g: 14px;
  position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: var(--g);
  cursor: pointer; outline: none;
}
.pair:focus-visible { outline: 2px solid var(--coral); outline-offset: 6px; }
.pair-ph { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: var(--soft); transition: transform .9s var(--ease); }
.pair-ph img { width: 100%; height: 100%; object-fit: cover; }
.pair-x {
  position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px;
  color: var(--coral); z-index: 2; transition: transform .9s var(--ease);
  filter: drop-shadow(0 0 1px rgba(250, 250, 247, .9));
}
.pair-x svg { width: 100%; height: 100%; }
.pair:hover .pa, .pair.swap .pa { transform: translateX(calc(100% + var(--g))); }
.pair:hover .pb, .pair.swap .pb { transform: translateX(calc(-100% - var(--g))); }
.pair:hover .pair-x, .pair.swap .pair-x { transform: rotate(180deg); }
.work-meta { margin-top: 24px; flex: 1; display: flex; flex-direction: column; }
.work-jobs { margin-top: 10px; }
.work-jobs li { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.work-jobs li + li { margin-top: 4px; }

/* ---------- 5. フレーバー ---------- */
.sec-flavors { border-top: 1px solid var(--line); }
.flavor-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 80px; align-items: start; }
.fl-list { margin-top: 56px; border-top: 1px solid var(--ink); }
.fl {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 24px;
  padding: 20px 0; border-bottom: 1px solid var(--line); cursor: default; outline: none;
  transition: padding .4s var(--ease);
}
.fl-jp { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: clamp(20px, 2vw, 28px); letter-spacing: .04em; line-height: 1.4; flex-wrap: wrap; }
.fl-x { width: 20px; height: 20px; color: var(--mute); transition: color .3s, transform .5s var(--ease); flex: none; }
.fl-en { font-weight: 500; font-size: 12px; letter-spacing: .14em; color: var(--mute); text-align: right; }
.fl-thumb { display: none; }
.fl.on { padding-left: 14px; }
.fl.on .fl-x, .fl:hover .fl-x, .fl:focus-visible .fl-x { color: var(--coral); transform: rotate(90deg); }
.fl.on .fl-en { color: var(--ink); }
.flavor-view { position: sticky; top: calc(var(--header-h) + 40px); padding-top: 8px; }
.fv-frame { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 4px; background: var(--soft); }
.fv-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s var(--ease), transform .9s var(--ease); }
.fv-frame img.on { opacity: 1; transform: scale(1); }
.fv-cap { margin-top: 14px; font-size: 12px; letter-spacing: .14em; color: var(--mute); text-align: right; }

/* ---------- 6. MVV ---------- */
.sec-mvv { background: var(--ink); color: var(--paper); }
.sec-mvv .eyebrow { color: #a5a5a0; }
.mvv-rows { margin-top: 64px; }
.mvv-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 40px; padding: 40px 0; border-top: 1px solid rgba(250, 250, 247, .18); }
.mvv-label { font-weight: 700; font-size: 13px; letter-spacing: .14em; color: var(--coral); padding-top: 6px; }
.mvv-text { font-weight: 700; font-size: clamp(22px, 2.3vw, 32px); letter-spacing: .04em; line-height: 1.6; }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.values li { display: flex; flex-direction: column; }
.v-num { font-weight: 700; font-size: 13px; color: #a5a5a0; }
.v-title { margin-top: 10px; font-weight: 700; font-size: 18px; letter-spacing: .03em; color: var(--paper); }
.v-desc { margin-top: 10px; font-size: 14px; color: #c9c9c3; }

/* ---------- 7. 進め方 ---------- */
.steps { margin-top: 64px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--ink);
  transform-origin: left; transform: scaleX(var(--draw, 1)); transition: transform 1.6s var(--ease);
}
.step { padding: 34px 28px 0 0; position: relative; }
.step::before {
  content: ""; position: absolute; top: -7px; left: 0; width: 16px; height: 16px;
  background:
    linear-gradient(45deg, transparent 40%, var(--coral) 40% 60%, transparent 60%),
    linear-gradient(-45deg, transparent 40%, var(--coral) 40% 60%, transparent 60%);
  background-color: var(--paper);
}
.step-num { font-weight: 700; font-size: 13px; color: var(--mute); letter-spacing: .1em; }
.step-title { margin-top: 8px; font-weight: 700; font-size: 20px; letter-spacing: .04em; }
.step-desc { margin-top: 10px; font-size: 14px; color: #44443f; }

/* ---------- 8. お知らせ ---------- */
.sec-news { padding-top: 40px; }
.news-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 80px; }
.news { border-top: 1px solid var(--ink); }
.news-item { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.news-item time { font-weight: 500; font-size: 14px; color: var(--mute); padding-top: 2px; }
.news-item p { font-size: 15px; }

/* ---------- 9. お店の情報 ---------- */
.sec-contact { background: var(--soft); padding: 130px 0 140px; }
.contact-eq { display: flex; align-items: center; justify-content: center; gap: 36px; }
.ce-blank {
  width: 260px; height: 150px; border: 1.5px dashed rgba(18, 18, 18, .4); border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.ce-blank span { font-weight: 700; font-size: 13px; letter-spacing: .2em; color: var(--mute); }
.ce-x { width: 76px; height: 76px; color: var(--coral); flex: none; }
.ce-pallo { width: 260px; height: 150px; background: var(--paper); border-radius: 4px; display: flex; align-items: center; justify-content: center; }
.ce-pallo img { width: 150px; }
.contact-body { margin-top: 64px; text-align: center; }
.contact-title { font-size: clamp(30px, 3.2vw, 44px); }
.contact-lead { margin: 20px auto 0; max-width: 620px; color: #3c3c3a; }
.contact-actions { margin-top: 36px; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.contact-public { margin-top: 36px; font-size: 13.5px; color: #55554f; }

/* ---------- フッター ---------- */
.site-footer { padding: 56px 0 72px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-logo { width: 104px; height: auto; }
.footer-links { display: flex; gap: 28px; font-size: 13.5px; font-weight: 500; flex-wrap: wrap; }
.footer-links a:hover { color: var(--coral); }
.copy { font-size: 12px; color: var(--mute); }

/* 10案の一覧へ */
.back-link {
  position: fixed; left: 14px; bottom: 14px; z-index: 60;
  font-size: 11.5px; padding: 6px 12px; border-radius: 999px;
  background: rgba(250, 250, 247, .9); border: 1px solid var(--line); color: #55554f;
  backdrop-filter: blur(6px); line-height: 1.6;
}
.back-link:hover { color: var(--ink); }

/* ---------- スクロールで表示（JS が動くときだけ初期状態を隠す） ---------- */
html.js .rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
html.js .rv.in { opacity: 1; transform: none; }
html.js .work.rv:nth-child(even) { transform: translateY(144px); }
html.js .work.rv.in:nth-child(even) { transform: translateY(120px); }
html.js .eq.rv .eq-x { transform: rotate(-90deg) scale(.4); }
html.js .eq.rv.in .eq-x { transform: none; }

/* =========================================================
   レスポンシブ
   ========================================================= */
@media (max-width: 1279px) {
  .hero { grid-template-columns: minmax(0, 1fr) 440px minmax(0, 1fr); column-gap: 28px; }
  /* 対応表 → 1列の行（タグで選べるメニューを示す） */
  .mx-head { display: none; }
  .mx-row { grid-template-columns: 112px minmax(0, 1fr); }
  .mx-cells { display: none; }
  .mx-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
  .mx-tags-l { font-size: 12px; color: var(--mute); margin-right: 4px; }
  .tag { font-size: 12.5px; font-weight: 700; padding: 3px 12px; border: 1px solid var(--coral); color: var(--ink); border-radius: 999px; line-height: 1.7; }
  .matrix { border-top: 1px solid var(--ink); }
}

@media (max-width: 1023px) {
  :root { --gutter: 28px; }
  .sec { padding: 104px 0; }
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas:
      "head head"
      "left right"
      "body body";
    grid-template-rows: auto auto auto;
    column-gap: 16px;
    --ph-h: 46vw;
  }
  .hero-head { padding-top: 12px; padding-bottom: 32px; }
  .hero-midx {
    display: flex; grid-row: 2; grid-column: 1 / 3; align-self: center; justify-self: center; z-index: 3;
    width: 64px; height: 64px; color: var(--coral); margin-top: 6px;
  }
  .hero-midx svg { width: 100%; height: 100%; }
  .hero-title { font-size: clamp(28px, 5.2vw, 44px); }
  .ht-line1 { white-space: nowrap; }
  .hero-title .ht-brand, .hero-title .ht-x, .hero-title .ht-pallo { display: inline-flex !important; vertical-align: middle; }
  .ht-x { margin: 0 .2em; }
  .ht-x svg { width: .9em; height: .9em; }
  .hero-body { padding-top: 24px; }
  .hero-lead { max-width: 560px; }
  .record-grid, .flavor-grid, .news-grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
  .flavor-view { display: none; }
  .fl { grid-template-columns: minmax(0, 1fr) 72px; padding: 16px 0; }
  .fl.on { padding-left: 0; }
  .fl-en { grid-column: 1; grid-row: 2; text-align: left; margin-top: 2px; }
  .fl-thumb { display: block; grid-column: 2; grid-row: 1 / 3; width: 72px; height: 72px; object-fit: cover; border-radius: 3px; }
  .works-grid { column-gap: 32px; }
  .mvv-row { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .steps { grid-template-columns: minmax(0, 1fr); padding-left: 28px; }
  .steps::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; transform-origin: top; transform: scaleY(var(--draw, 1)); }
  .step { padding: 0 0 36px 20px; }
  .step::before { top: 4px; left: -28px; }
  .step:last-child { padding-bottom: 0; }
  .menu-btn { display: none; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --header-h: 60px; }
  body { font-size: 14.5px; }
  .sec { padding: 88px 0; }
  .logo img { width: 96px; }
  .menu-btn {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 999px; background: var(--ink); color: var(--paper);
  }
  .menu-x { width: 16px; height: 16px; transform: rotate(45deg); transition: transform .4s var(--ease); }
  .menu-btn[aria-expanded="true"] .menu-x { transform: rotate(0deg); color: var(--coral); }
  .gnav {
    position: fixed; left: 0; right: 0; top: var(--header-h);
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 24px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s;
    font-size: 16px;
  }
  .gnav.open { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: opacity .3s, transform .3s var(--ease); }
  .gnav a:not(.btn) { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .gnav a:not(.btn)::after { display: none; }
  .gnav-cta { margin-top: 20px; height: 52px; font-size: 15px; }

  .hero { padding-top: 20px; padding-bottom: 56px; column-gap: 12px; --ph-h: 58vw; }
  .hero-head { padding-bottom: 24px; }
  .hero-title { font-size: clamp(22px, 6.8vw, 30px); }
  .ph-label { flex-direction: column; gap: 0; font-size: 12px; margin-bottom: 8px; }
  .hero-right .ph-label { align-items: flex-end; }
  .ph-cap { font-size: 11px; height: 20px; }
  .ph-cap span { white-space: normal; width: 100%; }
  .hero-right .ph-cap span { text-align: right; }
  .hero-midx { width: 46px; height: 46px; }
  .hero-actions { flex-direction: column; gap: 18px; }
  .hero-actions .btn { width: 100%; }

  .stats { margin-top: 32px; }
  .eq { grid-template-columns: minmax(0, 1fr) 28px auto; column-gap: 12px; padding: 26px 0; }
  .eq-l, .eq-r { font-size: 17px; }
  .eq-x { width: 20px; height: 20px; }

  .matrix { margin-top: 40px; }
  .mx-row { grid-template-columns: 64px minmax(0, 1fr); padding: 24px 0; }
  .mx-thumb { width: 52px; height: 52px; }
  .mx-want { padding-right: 0; }
  .h3 { font-size: 17px; }

  .works-head { margin-bottom: 40px; }
  .converge { --sh: 4%; height: calc(var(--cw) * .7 + 40px); }
  .cv-left { width: 64%; top: calc(var(--cw) * .14); }
  .cv-right { width: 44%; }
  .cv-x { width: 64px; height: 64px; margin: -32px 0 0 -32px; left: 60%; top: 40%; }
  .cv-ph figcaption { font-size: 11px; }
  .cv-meta { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .works-grid { grid-template-columns: minmax(0, 1fr); row-gap: 64px; margin-top: 72px; padding-bottom: 0; }
  .work:nth-child(even), html.js .work.rv.in:nth-child(even) { transform: none; }
  html.js .work.rv:nth-child(even) { transform: translateY(24px); }
  .pair { --g: 8px; }
  .pair-x { width: 40px; height: 40px; margin: -20px 0 0 -20px; }
  .work-title { font-size: 18px; }
  .work-jobs li { flex-direction: column; gap: 0; }
  .work-jobs li + li { margin-top: 10px; }

  .fl-jp { gap: 10px; font-size: 20px; }
  .fl-x { width: 15px; height: 15px; }
  .fl { grid-template-columns: minmax(0, 1fr) 60px; }
  .fl-thumb { width: 60px; height: 60px; }

  .values { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .mvv-row { padding: 32px 0; }

  .news-item { grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 22px 0; }

  .contact-eq { gap: 12px; }
  .ce-blank, .ce-pallo { width: 128px; height: 84px; }
  .ce-blank span { font-size: 10px; letter-spacing: .14em; }
  .ce-pallo img { width: 84px; }
  .ce-x { width: 36px; height: 36px; }
  .contact-body { margin-top: 44px; }
  .contact-actions { flex-direction: column; align-items: stretch; }
  .btn-lg { height: 56px; font-size: 15px; padding: 0 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-links { flex-direction: column; gap: 8px; }
}

/* 動きを減らす設定のとき */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html.js .rv { opacity: 1; transform: none; }
  html.js .work.rv:nth-child(even) { transform: translateY(120px); }
  .converge { --p: 1 !important; }
}
@media (prefers-reduced-motion: reduce) and (max-width: 767px) {
  html.js .work.rv:nth-child(even) { transform: none; }
}

/* 見出しの中の小さな「×」 */
.x-inline { display: inline-flex; vertical-align: middle; margin: 0 .3em; color: var(--coral); }
.x-inline svg { width: .78em; height: .78em; }
/* 本文の折り返しを文節で（対応ブラウザのみ） */
p, li, dd, dt, figcaption { word-break: auto-phrase; }

.works-head .h2 .font-en + .inline-block { margin-left: .25em; }
.eq .sr-only, .fl .sr-only { top: 0; left: 0; }
.fl { position: relative; }
