/* ==========================================================
   朱々 公式サイト  style.css
   色：朱(--shu) / 墨(--sumi) / 生成り(--kinari) / からし(--karashi)
   ※ 金色は使いません
   ========================================================== */
:root {
  --shu: #d2321e;
  --shu-dark: #a8230f;
  --sumi: #1b1715;
  --sumi-soft: #2b2522;
  --kinari: #f6efe2;
  --kinari-deep: #ece2cf;
  --karashi: #c8b21e; /* からし色（黄緑寄りの黄。金色にならないよう調整） */
  --ink: #2a2421;
  --muted: #6d625b;
  --line: rgba(27, 23, 21, .16);
  --serif: "Noto Serif JP", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --header-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--kinari);
  padding-bottom: 64px; /* スマホ下部バー分 */
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 900; line-height: 1.4; margin: 0; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(1120px, 100% - 40px); margin-inline: auto; }
.sp-only { display: inline; }
.pc-only { display: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--karashi); outline-offset: 2px; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 52px; padding: .8em 1.8em;
  font-family: var(--sans); font-weight: 700; font-size: 1rem; line-height: 1.4; text-align: center;
  text-decoration: none; border: 2px solid transparent; border-radius: 4px;
  cursor: pointer; transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-shu { background: var(--shu); color: #fff; }
.btn-shu:hover { background: var(--shu-dark); }
.btn-outline { border-color: currentColor; background: transparent; }
.btn-light { background: var(--kinari); color: var(--sumi); }
.btn-karashi { background: var(--karashi); color: var(--sumi); }
.btn-block { display: flex; width: 100%; }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--kinari);
  border-bottom: 3px solid var(--shu);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.site-logo { display: block; line-height: 0; }
.site-logo img { height: 40px; width: auto; }
.nav-toggle {
  width: 48px; height: 48px; border: 0; background: var(--shu); color: #fff; border-radius: 4px;
  display: grid; place-items: center; cursor: pointer;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: transform .25s, background .25s;
}
.nav-toggle span::before { position: absolute; top: -7px; left: 0; }
.nav-toggle span::after { position: absolute; top: 7px; left: 0; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.global-nav {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--sumi); padding: 24px 24px 96px; overflow-y: auto;
  transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s, transform .25s, visibility .25s;
}
.nav-open .global-nav { opacity: 1; transform: none; visibility: visible; }
.nav-open { overflow: hidden; }
.global-nav ul { display: grid; gap: 0; }
.global-nav li { border-bottom: 1px solid rgba(246, 239, 226, .18); }
.global-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.05em .2em; color: var(--kinari); text-decoration: none;
  font-family: var(--serif); font-weight: 700; font-size: 1.2rem;
}
.global-nav a::after { content: "›"; color: var(--shu); font-size: 1.5em; line-height: 1; }
.global-nav a[aria-current="page"] { color: var(--karashi); }
.global-nav .nav-fc a { margin-top: 20px; background: var(--shu); color: #fff; padding: 1em 1.2em; border-radius: 4px; }
.global-nav .nav-fc a::after { color: #fff; }
.global-nav .nav-fc { border: 0; }

/* ---------- 共通セクション ---------- */
.section { padding: 72px 0; position: relative; }
.section-eyebrow {
  font-family: var(--sans); font-weight: 700; letter-spacing: .25em; font-size: .8rem;
  color: var(--shu); margin-bottom: .6em; display: flex; align-items: center; gap: .8em;
}
.section-eyebrow::before { content: ""; width: 32px; height: 3px; background: var(--shu); }
.section-title { font-size: clamp(1.7rem, 6.4vw, 2.6rem); margin-bottom: .6em; text-wrap: balance; }
.section-title small { display: block; font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--muted); margin-top: .6em; letter-spacing: .06em; }
.section-lead { max-width: 40em; }
.on-dark { background: var(--sumi); color: var(--kinari); }
.on-dark .section-title small { color: rgba(246, 239, 226, .72); }
.on-shu { background: var(--shu); color: #fff; }
.on-shu .section-eyebrow { color: #fff; }
.on-shu .section-eyebrow::before { background: #fff; }

/* スクロール表示 */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- トップ ヒーロー ---------- */
.hero {
  position: relative; color: var(--kinari); background: var(--sumi);
  min-height: calc(100svh - var(--header-h) - 64px); min-height: calc(100vh - var(--header-h) - 64px);
  display: flex; align-items: flex-end; overflow: hidden;
}
@supports (height: 100svh) { .hero { min-height: calc(100svh - var(--header-h) - 64px); } }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; animation: slowzoom 18s ease-out both; }
@keyframes slowzoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27, 23, 21, .35) 0%, rgba(27, 23, 21, .1) 35%, rgba(27, 23, 21, .82) 100%);
}
.hero-inner { position: relative; z-index: 1; padding-top: 40px; padding-bottom: 44px; }
.hero-eyebrow { display: inline-block; background: var(--shu); color: #fff; font-weight: 700; letter-spacing: .18em; font-size: .78rem; padding: .35em 1em; margin-bottom: 1.1em; }
.hero-title { font-size: clamp(2.05rem, 9.2vw, 4.4rem); line-height: 1.3; text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.hero-title .line { display: block; }
.hero-title .big {
  display: inline-block; background: var(--shu); color: #fff; padding: 0 .28em .04em; margin-top: .12em;
  font-size: 1.32em; letter-spacing: .04em; transform: rotate(-1.5deg); text-shadow: none; white-space: nowrap; max-width: 100%;
}
.hero-sub { text-wrap: pretty; margin: 1.4em 0 1.6em; font-weight: 500; text-shadow: 0 1px 10px rgba(0, 0, 0, .55); max-width: 30em; }
.hero-cta { display: grid; gap: 12px; max-width: 420px; }

/* 流れる帯 */
.marquee { background: var(--shu); color: #fff; overflow: hidden; border-block: 3px solid var(--sumi); }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { font-family: var(--serif); font-weight: 900; font-size: 1.25rem; padding: .55em 1.1em; white-space: nowrap; }
.marquee-track span:nth-child(even) { color: var(--sumi); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ニュース */
.news { background: var(--kinari-deep); padding: 40px 0; }
.news-heading { font-size: 1.5rem; margin-bottom: .8em; }
.news-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: .3em .9em; padding: .95em 0; border-top: 1px solid var(--line); }
.news-list li:last-child { border-bottom: 1px solid var(--line); }
.news-date { font-weight: 700; color: var(--shu); font-size: .9rem; font-variant-numeric: tabular-nums; }
.news-tag { display: inline-block; font-size: .72rem; font-weight: 700; line-height: 1; padding: .35em .8em; color: #fff; background: var(--sumi); letter-spacing: .06em; white-space: nowrap; }
.news-tag.is-info { background: var(--sumi); }
.news-tag.is-new { background: var(--shu); }
.news-title { flex: 1 1 100%; min-width: 0; overflow-wrap: anywhere; }
.news-list a { text-decoration-color: var(--shu); text-underline-offset: 3px; }
.news-empty { display: block !important; color: var(--muted); }
.news-more { margin: 24px 0 0; text-align: center; }
@media (min-width: 720px) { .news-title { flex: 1 1 0; } }
.news-page { max-width: 820px; }
.news-detail-title { font-size: clamp(1.4rem, 5.4vw, 2rem); margin: .5em 0 1em; overflow-wrap: anywhere; }
.news-meta { display: flex; align-items: center; gap: .9em; }
.news-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.95; }
.news-body a { color: var(--shu-dark); text-underline-offset: 3px; word-break: break-all; }
.news-back { margin: 2.4em 0 0; }

/* 紹介 */
.intro-body { display: grid; gap: 28px; }
.intro-catch { font-size: clamp(1.5rem, 5.6vw, 2.2rem); }
.intro-catch em { font-style: normal; color: var(--shu); }

.feature-links { display: grid; gap: 0; margin-top: 40px; }
.feature-link {
  position: relative; display: block; color: #fff; text-decoration: none; overflow: hidden; aspect-ratio: 4 / 3;
}
.feature-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.feature-link:hover img { transform: scale(1.06); }
.feature-link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27, 23, 21, 0) 30%, rgba(27, 23, 21, .85)); }
.feature-link .cap { position: absolute; z-index: 1; left: 20px; right: 20px; bottom: 20px; }
.feature-link .cap b { display: block; text-wrap: balance; font-family: var(--serif); font-size: clamp(1.6rem, 6vw, 2.2rem); line-height: 1.3; }
.feature-link .cap span { font-size: .9rem; }
.feature-link .cap i { display: inline-block; font-style: normal; background: var(--shu); font-size: .78rem; font-weight: 700; padding: .1em .8em; margin-bottom: .6em; letter-spacing: .12em; }

/* ---------- 店舗数・エリアチップ（トップ / 店舗一覧） ---------- */
.store-count { margin: 0 0 1.2em; font-weight: 700; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .3em; }
.store-count[hidden] { display: none; }
.store-count b { font-family: var(--serif); font-size: 2.6rem; line-height: 1.1; color: var(--shu); }
.on-dark .store-count b { color: #ff6a52; }
.store-count em { font-style: normal; font-weight: 500; font-size: .9rem; opacity: .85; margin-left: .4em; }
.area-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 8px; }
.area-chips a { display: inline-flex; align-items: center; gap: .6em; min-height: 48px; padding: .5em 1.1em; text-decoration: none; background: transparent; color: var(--kinari); border: 2px solid rgba(246, 239, 226, .55); border-radius: 999px; font-weight: 700; transition: background .2s, border-color .2s; }
.area-chips a:hover { background: var(--shu); border-color: var(--shu); }
.area-chips b { font-size: .8rem; background: var(--shu); color: #fff; border-radius: 999px; padding: 0 .6em; line-height: 1.7; }
.area-chips a:hover b { background: #fff; color: var(--shu-dark); }
.center-cta { margin-top: 32px; text-align: center; }

/* ---------- 店舗一覧：地図 ---------- */
.section.store-top { padding-bottom: 0; }
.map-legend { display: flex; gap: 20px; margin-bottom: 10px; font-weight: 700; font-size: .92rem; }
.map-legend span { display: inline-flex; align-items: center; gap: .5em; }
.map-frame { border: 2px solid var(--sumi); background: #dcd6cc; }
#store-map { height: 62vw; min-height: 340px; max-height: 480px; width: 100%; z-index: 1; }
#store-map[hidden] { display: none; }
.map-hint { font-size: .82rem; color: var(--muted); margin: .7em 0 0; }
.locate { margin-top: 24px; max-width: 460px; }
.locate .btn { font-size: 1.05rem; }
.locate .btn:disabled { opacity: .6; cursor: wait; }
.geo-status:empty { display: none; }
.geo-status { margin: .8em 0 0; font-size: .92rem; color: var(--shu-dark); font-weight: 500; }
.pin-wrap { background: none; border: 0; }
.pin { display: inline-block; width: 26px; height: 26px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); border: 3px solid #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .45); vertical-align: middle; }
.pin-wrap .pin { margin: 4px 2px 0 2px; }
.pin.shushu { background: var(--shu); }
.pin.sister { background: #1f6f78; }
.leaflet-container { font-family: var(--sans); }
.leaflet-container a.pop-more { display: inline-block; margin-top: .5em; color: #fff; background: var(--shu); padding: .35em 1em; border-radius: 3px; text-decoration: none; font-weight: 700; }
.pop { line-height: 1.5; min-width: 130px; }
.pop strong { display: block; font-family: var(--serif); font-size: 1.05rem; }
.pop-tag { display: inline-block; background: #1f6f78; color: #fff; font-size: .72rem; font-weight: 700; padding: 0 .6em; margin-bottom: .3em; }
#store-map.touch { touch-action: pan-y; }

/* ---------- 店舗一覧：エリアタブ・カード ---------- */
.section.store-list-sec { padding-top: 14px; }
@media (min-width: 768px) { .section.store-list-sec { padding-top: 26px; } }
.area-tabs { position: sticky; top: var(--header-h); z-index: 20; background: var(--kinari); margin: 0 -20px 28px; padding: 10px 20px; border-bottom: 1px solid var(--line); }
.area-tabs ul { display: flex; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.area-tabs ul::-webkit-scrollbar { display: none; }
.area-tabs a { flex: none; display: inline-flex; align-items: center; gap: .5em; min-height: 46px; padding: .4em 1.1em; text-decoration: none; font-weight: 700; background: #fff; border: 2px solid var(--sumi); border-radius: 999px; white-space: nowrap; }
.area-tabs a:hover, .area-tabs a:focus-visible { background: var(--shu); border-color: var(--shu); color: #fff; }
.area-tabs b { font-size: .78rem; background: var(--sumi); color: #fff; border-radius: 999px; padding: 0 .6em; line-height: 1.7; }
.area-block { margin-bottom: 56px; scroll-margin-top: calc(var(--header-h) + 76px); }
.area-title { display: flex; align-items: baseline; gap: .8em; font-size: clamp(1.5rem, 6vw, 2.1rem); margin-bottom: 20px; padding-left: .55em; border-left: 8px solid var(--shu); }
.area-title small { font-family: var(--sans); font-size: .9rem; font-weight: 500; color: var(--muted); }
.near-head { display: grid; gap: 8px; margin-bottom: 24px; }
.near-head h2 { scroll-margin-top: calc(var(--header-h) + 12px); }
.near-head h2 { font-size: 1.7rem; padding-left: .55em; border-left: 8px solid var(--shu); }
.near-head p { margin: 0; color: var(--muted); }
.near-head .btn { justify-self: start; }

.s-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.s-card, .s-body, .s-info dd { min-width: 0; overflow-wrap: anywhere; }
.s-card { background: #fff; border: 2px solid var(--sumi); display: flex; flex-direction: column; scroll-margin-top: calc(var(--header-h) + 16px); }
.s-card.sister { border-color: #1f6f78; }
.s-card.is-target { animation: target-flash 2.4s ease-out; }
@keyframes target-flash { 0%, 30% { box-shadow: 0 0 0 6px var(--shu); } 100% { box-shadow: 0 0 0 0 transparent; } }
/* 写真枠：同じ比率で切り抜く。比率を変えたいときは --photo-ratio だけ変更 */
.s-photo { --photo-ratio: 3 / 2; position: relative; aspect-ratio: var(--photo-ratio); background: #b9b5ae; overflow: hidden; display: grid; }
.s-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
/* 複数枚：スマホは横スワイプ（scroll-snap）、PC（マウス操作）は左右の矢印。カードの大きさは変わりません */
.s-track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; }
.s-track::-webkit-scrollbar { display: none; }
.s-slide { flex: 0 0 100%; min-width: 0; height: 100%; scroll-snap-align: start; scroll-snap-stop: always; position: relative; overflow: hidden; }
/* 縦長写真：全体を表示（切らない）＋ 左右は同じ写真のぼかし背景。枠の高さは変わらない */
.s-slide.portrait img { position: relative; object-fit: contain; }
.s-bg { position: absolute; inset: -24px; background-size: cover; background-position: center; filter: blur(16px) brightness(.8); }
.s-photo:not(.multi) .s-track { overflow: hidden; }
.s-arrow { display: none; position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(27, 23, 21, .62); color: #fff; font-size: 1.9rem; line-height: 1; padding: 0 0 .1em; cursor: pointer; }
.s-arrow.prev { left: 8px; } .s-arrow.next { right: 8px; }
.s-arrow:hover:not(:disabled) { background: var(--shu); }
.s-arrow:disabled { opacity: .3; cursor: default; }
@media (hover: hover) and (pointer: fine) { .s-arrow { display: block; } }
.s-dots { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); z-index: 2; display: flex; gap: 0; padding: 0 6px; border-radius: 999px; background: rgba(27, 23, 21, .55); }
.s-dot { position: relative; width: 24px; height: 24px; border: 0; background: none; padding: 0; cursor: pointer; }
.s-dot::before { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; border: 1.5px solid #fff; background: transparent; }
.s-dot.on::before { background: #fff; }
.s-photo.pending { place-items: center; }
/* 姉妹店の札：写真の左上の角。こだわりページの「01」「02」の札（.kodawari-num）と同じ形（角に密着・角丸なし） */
.s-badge { position: absolute; left: 0; top: 0; z-index: 3; background: #1f6f78; color: #fff; font-family: var(--serif); font-weight: 900; font-size: 1.05rem; letter-spacing: .08em; padding: .3em .7em; line-height: 1.2; pointer-events: none; }
.s-body { padding: 20px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.s-dist { margin: 0 0 .5em; display: inline-block; align-self: flex-start; background: var(--sumi); color: var(--kinari); font-weight: 700; padding: .1em .9em; border-radius: 3px; }
.s-name { font-size: 1.35rem; margin: 0 0 .7em; padding-bottom: .45em; border-bottom: 4px solid var(--shu); }
.s-card.sister .s-name { border-bottom-color: #1f6f78; }
.s-info { display: grid; margin: 0 0 1.2em; flex: 1; }
.s-info > div { display: grid; grid-template-columns: 5.2em 1fr; gap: .6em; padding: .7em 0; border-bottom: 1px solid var(--line); }
.s-info dt { font-weight: 700; color: var(--shu); }
.s-card.sister .s-info dt { color: #1f6f78; }
.s-info dd { margin: 0; font-size: .96rem; }
.s-info .line { display: block; }
.tel-link { font-family: var(--serif); font-size: 1.4rem; font-weight: 900; color: var(--sumi); text-decoration: none; white-space: nowrap; }
.s-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.s-actions .btn { min-height: 48px; padding: .6em .5em; white-space: nowrap; word-break: keep-all; }
.s-actions .btn:only-child { grid-column: 1 / -1; }
@media (max-width: 359px) { .s-actions { grid-template-columns: 1fr; } }
.load-error { padding: 1.2em; border: 2px dashed var(--shu); color: var(--shu-dark); background: #fff; }

/* FCバナー */
.fc-banner { position: relative; overflow: hidden; }
.fc-banner-inner { display: grid; gap: 24px; }
.fc-banner h2 { font-size: clamp(1.6rem, 6vw, 2.4rem); }
.fc-banner .badge { display: inline-block; background: var(--karashi); color: var(--sumi); font-weight: 900; font-size: .85rem; padding: .25em .9em; letter-spacing: .1em; margin-bottom: 1em; }
.fc-banner-mark { position: absolute; right: -6%; bottom: -14%; width: min(60%, 340px); opacity: .1; pointer-events: none; }

/* ---------- 下層ページ見出し ---------- */
.page-hero { background: var(--sumi); color: var(--kinari); padding: 56px 0 48px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: var(--shu); }
.page-hero .en { font-weight: 700; letter-spacing: .3em; font-size: .78rem; color: var(--shu); margin-bottom: .8em; }
.page-hero h1 { font-size: clamp(2rem, 8vw, 3.2rem); }
.page-hero p { margin: 1em 0 0; color: rgba(246, 239, 226, .82); max-width: 36em; }
.page-hero .mark { position: absolute; right: -8%; top: -10%; width: min(52%, 300px); opacity: .09; pointer-events: none; }

/* こだわり */
.kodawari { padding: 0; }
.kodawari-block { display: grid; }
.kodawari-photo { position: relative; }
.kodawari-photo img, .photo-pending { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-pending { display: grid; place-items: center; background: #b9b5ae; color: #fff; font-weight: 700; letter-spacing: .3em; font-size: 1.2rem; }
.kodawari-num { position: absolute; left: 0; top: 0; background: var(--shu); color: #fff; font-family: var(--serif); font-weight: 900; font-size: 1.6rem; padding: .3em .7em; line-height: 1.2; }
.kodawari-text { padding: 40px 0 56px; }
.kodawari-inner { padding-inline: 20px; }
.kodawari-text h2 { font-size: clamp(1.6rem, 6vw, 2.3rem); margin-bottom: .7em; }
.kodawari-text h2 em { font-style: normal; color: var(--shu); }
.kodawari-block:nth-child(even) { background: var(--kinari-deep); }
.kodawari-block.dark { background: var(--sumi); color: var(--kinari); }
.kodawari-block.dark .kodawari-text h2 em { color: var(--karashi); }
.kodawari-cta { padding: 64px 0; text-align: center; }
.kodawari-cta h2 { font-size: clamp(1.5rem, 5.6vw, 2.1rem); margin-bottom: 1em; }
.kodawari-cta .btns { display: grid; gap: 12px; max-width: 380px; margin-inline: auto; }

/* 会社概要 / お問い合わせ */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border: 2px solid var(--sumi); }
.info-table th, .info-table td { text-align: left; padding: 1em 1.1em; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 8.5em; background: var(--kinari-deep); font-weight: 700; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }
.placeholder { color: var(--muted); }
.mail-box { background: #fff; border: 2px solid var(--sumi); padding: 32px 22px; text-align: center; }
.mail-box .mail { display: block; margin: .4em 0 1.2em; font-family: var(--serif); font-weight: 900; font-size: clamp(1.25rem, 5.4vw, 1.9rem); word-break: break-all; color: var(--shu); }

/* ---------- フッター ---------- */
.site-footer { background: var(--sumi); color: rgba(246, 239, 226, .85); padding: 48px 0 32px; font-size: .9rem; }
.footer-top { display: grid; gap: 28px; margin-bottom: 32px; }
.footer-logo img { height: 56px; width: auto; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: .4em 1em; }
.footer-nav a { text-decoration: none; padding: .35em 0; display: block; }
.footer-nav a:hover { color: var(--karashi); }
.footer-bottom { border-top: 1px solid rgba(246, 239, 226, .18); padding-top: 18px; display: grid; gap: .6em; }
.footer-legal { display: flex; flex-wrap: wrap; gap: .3em 1.6em; }
.footer-legal a { display: inline-block; padding: .35em 0; font-size: .85rem; text-decoration: underline; text-underline-offset: 3px; }
.footer-legal a:hover { color: var(--karashi); }
.copyright { margin: 0; font-size: .8rem; }

/* スマホ下部の固定バー */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 48; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; height: 64px; background: var(--sumi); border-top: 3px solid var(--shu); padding-bottom: env(safe-area-inset-bottom); }
.mobile-bar a { display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--kinari); font-weight: 700; font-size: .95rem; }
.mobile-bar a.fc { background: var(--shu); color: #fff; }
.mobile-bar[hidden] { display: none; }
.mobile-bar a[hidden] { display: none; }

/* ==========================================================
   FC加盟募集ページ
   ========================================================== */
.fc-page .scarcity-bar { background: var(--shu); color: #fff; text-align: center; padding: .7em 16px; font-size: .88rem; line-height: 1.6; }
.fc-page .scarcity-bar p { margin: 0; }
.fc-page .scarcity-bar .badge-tag { background: var(--sumi); color: var(--kinari); font-weight: 700; padding: .1em .7em; margin-right: .7em; font-size: .8rem; }
.fc-page .scarcity-bar .hl { background: var(--karashi); color: var(--sumi); font-weight: 900; padding: 0 .4em; margin-left: .2em; }

.fc-hero { position: relative; color: var(--kinari); background: var(--sumi); overflow: hidden; }
.fc-hero-bg { position: absolute; inset: 0; }
.fc-hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.fc-hero-bg::after { content: ""; position: absolute; inset: 0; background: rgba(27, 23, 21, .74); }
.fc-hero-inner { position: relative; z-index: 1; padding: 64px 0 60px; }
.fc-hero .eyebrow { display: inline-block; background: var(--shu); color: #fff; font-weight: 700; letter-spacing: .12em; font-size: .8rem; padding: .35em 1em; margin-bottom: 1.2em; }
.fc-hero h1 { font-size: clamp(1.9rem, 7.6vw, 3.4rem); margin-bottom: .7em; }
.fc-hero h1 small { display: block; font-family: var(--sans); font-size: clamp(1rem, 4vw, 1.3rem); font-weight: 700; color: var(--karashi); margin-top: .9em; line-height: 1.6; }
.fc-hero .copy { max-width: 40em; margin-bottom: .5em; }
.fc-hero .copy .nb, .fc-hero .copy strong { display: inline-block; }
.count-note { margin: .8em 0 0; font-size: 12px; line-height: 1.6; color: rgba(246, 239, 226, .6); }
.fc-hero .count-note { margin: 0 0 1.8em; }
.reason-card .count-note { margin-top: 1em; }
.fc-hero .copy strong { color: var(--karashi); font-size: 1.15em; }
.fc-hero-cta { display: grid; gap: 12px; max-width: 460px; }

.founder-box { background: #fff; border: 3px solid var(--shu); padding: 40px 22px 32px; position: relative; text-align: center; }
.founder-label { position: absolute; top: -.95em; left: 50%; transform: translateX(-50%); background: var(--shu); color: #fff; font-weight: 700; letter-spacing: .15em; font-size: .78rem; padding: .3em 1.2em; white-space: nowrap; }
.founder-box .section-title { font-size: clamp(1.4rem, 5.4vw, 2rem); }
.founder-grid { display: grid; gap: 16px; text-align: left; margin: 24px 0; }
.founder-item { background: var(--kinari); padding: 18px 20px; border-left: 6px solid var(--shu); }
.founder-item p { margin: 0; }
.founder-item strong { color: var(--shu-dark); }
.founder-item .note { font-size: .82rem; color: var(--muted); }
.founder-count { display: inline-flex; align-items: baseline; gap: .3em; background: var(--sumi); color: var(--kinari); padding: .3em 1.4em .4em; }
.founder-count .num { font-family: var(--serif); font-weight: 900; font-size: 2.4rem; color: var(--karashi); }
.founder-count .unit { font-weight: 700; }

.nitoryu-grid { display: grid; gap: 12px; margin-top: 32px; }
.nitoryu-card { background: #fff; border: 2px solid var(--sumi); }
.nitoryu-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.nitoryu-body { padding: 20px 22px 26px; }
.nitoryu-body h3 { font-size: 1.3rem; padding-bottom: .4em; margin-bottom: .7em; border-bottom: 3px solid var(--shu); }
.nitoryu-body li { position: relative; padding-left: 1.4em; margin-bottom: .4em; }
.nitoryu-body li::before { content: ""; position: absolute; left: 0; top: .75em; width: .7em; height: .7em; background: var(--shu); transform: translateY(-50%) rotate(45deg); }
.nitoryu-vs { text-align: center; font-family: var(--serif); font-weight: 900; font-size: 2.2rem; color: var(--shu); line-height: 1; }
.nitoryu-conclusion { margin-top: 32px; padding: 20px 22px; background: var(--shu); color: #fff; font-family: var(--serif); font-weight: 700; font-size: 1.1rem; text-align: center; }

.reasons-grid { display: grid; gap: 20px; margin-top: 32px; }
.reason-card { background: var(--sumi-soft); border-top: 5px solid var(--shu); padding: 28px 22px 26px; position: relative; }
.reason-num { font-family: var(--serif); font-weight: 900; font-size: 3rem; line-height: 1; color: var(--shu); margin-bottom: .2em; }
.reason-card h3 { font-size: 1.2rem; margin-bottom: .8em; color: var(--kinari); }
.reason-card p { margin: 0; color: rgba(246, 239, 226, .86); font-size: .95rem; }

.profit-card { background: #fff; border: 2px solid var(--sumi); padding: 28px 20px; margin-top: 32px; }
.profit-numbers { display: grid; gap: 12px; margin-bottom: 32px; }
.profit-item { background: var(--kinari); border-left: 6px solid var(--shu); padding: 14px 18px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2em 1em; }
.profit-label { font-weight: 700; }
.profit-value { font-family: var(--serif); font-weight: 900; font-size: 2.3rem; color: var(--shu); line-height: 1.2; }
.profit-value small { font-size: .5em; margin-left: .15em; color: var(--ink); }
.profit-item.hl { background: var(--sumi); color: var(--kinari); border-left-color: var(--karashi); }
.profit-item.hl .profit-value { color: var(--karashi); }
.profit-item.hl .profit-value small { color: var(--kinari); }
.profit-note { flex-basis: 100%; font-size: .82rem; opacity: .85; }
.roadmap h3 { font-size: 1.3rem; margin-bottom: 1em; }
.roadmap-plan { margin-bottom: 28px; }
.plan-head { display: flex; align-items: center; gap: .8em; margin-bottom: .7em; font-weight: 700; flex-wrap: wrap; }
.plan-tag { background: var(--shu); color: #fff; padding: .1em .9em; font-size: .85rem; }
.plan-tag.b { background: var(--sumi); }
.track { background: var(--kinari-deep); padding: .9em 1em; border-left: 6px solid var(--shu); }
.track strong { font-size: 1.3em; color: var(--shu); font-family: var(--serif); }
.roadmap-steps { display: grid; gap: 8px; }
.step { background: var(--kinari); border: 2px solid var(--sumi); padding: .7em 1em; display: flex; justify-content: space-between; align-items: center; gap: 1em; }
.step .yr { font-family: var(--serif); font-weight: 900; color: var(--shu); font-size: 1.1rem; }
.step.goal { background: var(--shu); color: #fff; border-color: var(--shu); }
.step.goal .yr { color: #fff; }
.step .desc { text-align: right; }
.roadmap-note { margin: 1em 0 0; font-weight: 500; }
.disclaimer { margin: 28px 0 0; font-size: .82rem; color: var(--muted); line-height: 1.7; }

.limit-box { background: var(--kinari); color: var(--sumi); border: 3px solid var(--karashi); padding: 18px 20px; margin-bottom: 40px; }
.limit-box p { margin: 0; }
.limit-box strong { color: var(--shu-dark); }
.fc-contact .section-title { text-align: center; }
.fc-contact .lead { text-align: center; }
.form-wrap { background: #fff; border-radius: 4px; overflow: hidden; }
/* Googleフォームの実際の長さ（送信ボタン＋注意書きの下端）に約50px足した高さ。幅ごとに調整 */
.form-wrap iframe { display: block; width: 100%; height: 1310px; border: 0; }
@media (min-width: 360px) { .form-wrap iframe { height: 1290px; } }
@media (min-width: 390px) { .form-wrap iframe { height: 1260px; } }
@media (min-width: 430px) { .form-wrap iframe { height: 1230px; } }
@media (min-width: 600px) { .form-wrap iframe { height: 1180px; } }
.fc-copyright { text-align: center; padding: 20px 16px; margin: 0; font-size: .8rem; background: var(--sumi); color: rgba(246, 239, 226, .7); border-top: 1px solid rgba(246, 239, 226, .18); }

/* ==========================================================
   タブレット・PC
   ========================================================== */
@media (min-width: 768px) {
  body { font-size: 17px; padding-bottom: 0; }
  :root { --header-h: 72px; }
  .sp-only { display: none; }
  .pc-only { display: inline; }
  .site-logo img { height: 48px; }
  .section { padding: 104px 0; }
  .mobile-bar { display: none; }

  .nav-toggle { display: none; }
  .global-nav { position: static; inset: auto; background: none; padding: 0; overflow: visible; opacity: 1; visibility: visible; transform: none; }
  .global-nav ul { display: flex; align-items: center; gap: 4px; }
  .global-nav li { border: 0; }
  .global-nav a { color: var(--ink); font-size: .98rem; padding: .5em .8em; position: relative; }
  .global-nav a::after { display: none; }
  .global-nav a::before { content: ""; position: absolute; left: .8em; right: .8em; bottom: .2em; height: 3px; background: var(--shu); transform: scaleX(0); transition: transform .25s; }
  .global-nav a:hover::before, .global-nav a[aria-current="page"]::before { transform: scaleX(1); }
  .global-nav a[aria-current="page"] { color: var(--shu); }
  .global-nav .nav-fc a { margin: 0 0 0 10px; padding: .6em 1.2em; }
  .global-nav .nav-fc a::before { display: none; }
  .global-nav .nav-fc a[aria-current="page"] { color: #fff; background: var(--shu-dark); }

  .hero { min-height: min(86vh, 820px); }
  .hero-inner { padding-top: 80px; padding-bottom: 72px; }
  .hero-cta { grid-template-columns: 1fr 1fr; max-width: 600px; }
  .marquee-track span { font-size: 1.6rem; }

  .intro-body { grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
  .feature-links { grid-template-columns: 1fr 1fr; }
  .feature-link { aspect-ratio: 4 / 3.2; }
  .feature-link .cap { left: 32px; bottom: 30px; }
  .fc-banner-inner { grid-template-columns: 1.4fr 1fr; align-items: center; gap: 56px; }

  #store-map { height: 520px; max-height: none; }
  .area-tabs { margin-inline: 0; padding-inline: 0; }
  .s-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .near-head { grid-template-columns: 1fr auto; align-items: end; }
  .near-head p { grid-column: 1; }
  .near-head .btn { grid-column: 2; grid-row: 1 / span 2; }

  .kodawari-block { grid-template-columns: 1fr 1fr; align-items: stretch; }
  .kodawari-photo img, .photo-pending { height: 100%; min-height: 460px; aspect-ratio: auto; }
  .kodawari-text { padding: 72px 8% 72px 8%; align-self: center; }
  .kodawari-inner { padding-inline: 0; }
  .kodawari-block:nth-child(even) .kodawari-photo { order: 2; }
  .kodawari-cta .btns { grid-template-columns: 1fr 1fr; max-width: 640px; }

  .footer-top { grid-template-columns: 1fr 1.4fr; align-items: start; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); }

  .fc-hero-inner { padding: 104px 0 96px; }
  .fc-hero-cta { grid-template-columns: 1fr 1fr; max-width: 760px; }
  .founder-box { padding: 56px 48px 44px; }
  .founder-grid { grid-template-columns: 1fr 1fr; }
  .nitoryu-grid { grid-template-columns: 1fr 64px 1fr; align-items: center; }
  .reasons-grid { grid-template-columns: repeat(3, 1fr); }
  .profit-card { padding: 48px 44px; }
  .profit-numbers { grid-template-columns: repeat(3, 1fr); }
  .profit-item { display: block; }
  .profit-value { display: block; }
  .roadmap-steps { grid-template-columns: repeat(5, 1fr); gap: 6px; }
  .step { flex-direction: column; align-items: flex-start; }
  .step .desc { text-align: left; }
  .form-wrap iframe { height: 1160px; }
}

@media (min-width: 1024px) {
  .s-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .kodawari-text { padding-inline: 10%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg img, .marquee-track { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 360px) { .hero-title .big { font-size: 1.22em; } }

/* ---------- プライバシーポリシー ---------- */
.policy { max-width: 820px; }
.policy h2 { font-size: 1.2rem; margin: 2.2em 0 .7em; padding-left: .6em; border-left: 6px solid var(--shu); }
.policy p { margin: 0 0 1em; }
.policy ol { margin: 0 0 1em; padding-left: 1.6em; list-style: decimal; }
.policy li { margin-bottom: .5em; }
.policy a { color: var(--shu-dark); text-underline-offset: 3px; word-break: break-all; }
.policy-date { margin-top: 2.4em; padding-top: 1em; border-top: 1px solid var(--line); text-align: right; font-weight: 700; }

/* FCフォーム直前の注記 */
.privacy-note { text-align: center; margin: 0 0 1em; font-size: .92rem; }
.privacy-note a { color: #fff; font-weight: 700; text-underline-offset: 3px; }

/* 会社概要のリンク */
.info-table a { color: var(--shu-dark); text-underline-offset: 3px; word-break: break-all; }

/* 404 */
.notfound { text-align: center; }
.notfound .section-eyebrow { justify-content: center; }
.notfound h1 { font-size: clamp(1.6rem, 6vw, 2.4rem); margin-bottom: .8em; }
.notfound .btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 1.6em; }
