/* =========================================================
   大正セントラルキッチン 共通スタイル（配色C：ティール × パプリカオレンジ）
   色を変える場合は :root の値だけを変更してください
   ========================================================= */
:root {
  /* 看板の配色に合わせた和の配色（墨・瓦・生成り＋朱） */
  --c-main: #362A2B;        /* 墨：看板の文字と柱の色。見出し・電話ボタン */
  --c-main-dark: #241B1C;
  --c-cta: #C2402E;         /* 朱：見学・体験の申込み（文字は白） */
  --c-cta-hover: #A8321F;
  --c-cta-text: #A8321F;    /* 文字として使う朱 */
  --c-sub: #ECE8E3;         /* 瓦の淡いグレー：区切り帯 */
  --c-sub-2: #F2EFEB;       /* 補助面 */
  --c-bg: #FAF8F5;          /* 生成り */
  --c-surface: #FFFFFF;
  --c-ink: #2A2324;
  --c-ink-2: #5A5050;
  --c-line: #DDD6D0;

  --f-body: "BIZ UDPGothic", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --f-head: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;

  --radius: 12px;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --bar-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--c-bg); color: var(--c-ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.85;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}
@media (min-width: 900px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--c-main); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid var(--c-cta); outline-offset: 2px; }
[hidden] { display: none !important; }

.container {
  width: 100%; max-width: 1080px; margin: 0 auto;
  padding-left: var(--gutter); padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; z-index: 100; background: #fff; padding: 8px 12px; }

h1, h2, h3 { font-family: var(--f-head); line-height: 1.45; text-wrap: balance; color: var(--c-main-dark); }
h1 { font-size: clamp(26px, 6vw, 40px); font-weight: 900; margin: 0 0 16px; }
h2 { font-size: clamp(22px, 4.6vw, 30px); font-weight: 900; margin: 0 0 20px; }
h3 { font-size: 19px; font-weight: 700; margin: 0 0 8px; }
p { margin: 0 0 1em; }
.lead { font-size: 17px; color: var(--c-ink); }
.note { font-size: 15px; color: var(--c-ink-2); }

/* ---- ボタン ---- */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 52px; padding: 10px 20px; border-radius: 10px; border: 2px solid transparent;
  font-weight: 700; font-size: 17px; line-height: 1.4; text-decoration: none; text-align: center;
  transition: background-color .15s;
}
.btn small { font-weight: 400; font-size: 13px; }
.btn-cta { background: var(--c-cta); color: #fff; }
.btn-cta:hover { background: var(--c-cta-hover); }
.btn-tel { background: var(--c-main); color: #fff; }
.btn-tel:hover { background: var(--c-main-dark); }
.btn-line { background: transparent; color: var(--c-main); border-color: var(--c-main); }
.btn-line:hover { background: var(--c-sub-2); }
.btn-sm { min-height: 44px; font-size: 15px; padding: 6px 14px; }
.btn.is-unset { background: #EEE; color: #555; border-color: #CCC; cursor: default; }
.btn-group { display: grid; gap: 10px; }
@media (min-width: 640px) { .btn-group { display: flex; flex-wrap: wrap; } }

/* ---- ヘッダー ---- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: #fff;
  border-bottom: 1px solid var(--c-line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 60px; gap: 12px; }
.logo { font-family: var(--f-head); font-weight: 900; font-size: 19px; color: var(--c-main-dark); text-decoration: none; letter-spacing: .02em; }
.menu-btn {
  display: inline-flex; flex-direction: column; align-items: center; gap: 2px;
  background: none; border: 0; padding: 6px; min-width: 52px; min-height: 48px; color: var(--c-main-dark); font: inherit; cursor: pointer;
}
.menu-label { font-size: 11px; line-height: 1; }
.menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 24px; height: 2px; background: currentColor; border-radius: 2px; content: ""; }
.menu-icon { position: relative; margin: 8px 0 7px; }
.menu-icon::before { position: absolute; top: -7px; } .menu-icon::after { position: absolute; top: 7px; }
.global-nav { display: none; }
.global-nav.is-open {
  display: block; position: absolute; left: 0; right: 0; top: 100%;
  background: #fff; border-bottom: 1px solid var(--c-line); padding: 8px var(--gutter) 20px;
  max-height: calc(100vh - 60px); overflow-y: auto;
}
.global-nav ul { list-style: none; margin: 0; padding: 0; }
.global-nav li a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--c-line); color: var(--c-ink); text-decoration: none; font-weight: 700; }
.global-nav a[aria-current="page"] { color: var(--c-main); }
.nav-actions { display: grid; gap: 10px; margin-top: 16px; }
@media (min-width: 1180px) {
  .menu-btn { display: none; }
  .global-nav { display: flex; align-items: center; gap: 16px; }
  .global-nav ul { display: flex; gap: 2px; }
  .global-nav li a { border: 0; padding: 8px 8px; font-size: 14px; border-radius: 6px; }
  .global-nav li a:hover { background: var(--c-sub-2); }
  .global-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--c-cta); border-radius: 0; }
  .nav-actions { display: flex; margin: 0; }
}
.logo, .global-nav li a, .nav-actions .btn { white-space: nowrap; }

/* ---- セクション ---- */
.section { padding-block: 56px; }
.section-alt { background: var(--c-surface); }
.section-sub { background: var(--c-sub); }
.section-head { margin-bottom: 28px; }
.eyebrow { display: block; font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--c-cta-text); margin-bottom: 6px; }

/* ---- ページ見出し（下層） ---- */
.page-hero { background: var(--c-sub-2); padding-block: 36px 32px; }
.page-hero p { margin: 0; color: var(--c-ink-2); }
.breadcrumb { font-size: 13px; margin-bottom: 8px; color: var(--c-ink-2); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }

/* ---- トップ ヒーロー ---- */
.hero { background: linear-gradient(180deg, var(--c-sub) 0, var(--c-bg) 100%); padding-block: 20px 48px; }
.hero-grid { display: grid; gap: 22px; }
.hero .photo { aspect-ratio: 16 / 10; }
.recruit-badge { display: inline-block; background: var(--c-main); color: #fff; font-weight: 700; font-size: 14px; padding: 4px 14px; border-radius: 99px; margin-bottom: 12px; }
.hero h1 { font-size: clamp(27px, 7vw, 46px); }
.hero h1 { word-break: keep-all; overflow-wrap: anywhere; }
.hero h1 span { display: block; }
@media (min-width: 900px) {
  .hero { padding-block: 56px 64px; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; align-items: center; gap: 48px; }
  .hero .photo { order: 2; }
}

/* ---- 写真枠 ---- */
.photo { display: block; margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; background: var(--c-sub-2); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.is-round { border-radius: 50%; aspect-ratio: 1; }
.photo-ph {
  width: 100%; height: 100%; display: grid; place-content: center; gap: 2px; text-align: center; padding: 12px;
  background: repeating-linear-gradient(135deg, rgba(54,42,43,.06) 0 12px, transparent 12px 24px), var(--c-sub-2);
  color: var(--c-main-dark); font-size: 13px; line-height: 1.5;
}
.photo-ph small { font-family: ui-monospace, Menlo, monospace; font-size: 11px; color: var(--c-ink-2); }
.photo-pair { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; }

/* ---- カード・一覧 ---- */
.grid-3, .grid-2 { display: grid; gap: 16px; }
@media (min-width: 760px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 22px 20px; min-width: 0; }
.card > :last-child { margin-bottom: 0; }
.feature-num { font-family: var(--f-head); font-weight: 900; color: var(--c-cta-text); font-size: 15px; display: block; margin-bottom: 4px; }
.work-card { display: grid; gap: 14px; align-content: start; }
.work-card .photo { aspect-ratio: 16 / 10; }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 6px; }
.check-list li { padding-left: 1.6em; position: relative; }
.check-list li::before { content: ""; position: absolute; left: .2em; top: .62em; width: .7em; height: .38em; border-left: 3px solid var(--c-main); border-bottom: 3px solid var(--c-main); transform: rotate(-45deg); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 1em; }
.tag-list li { background: var(--c-sub-2); color: var(--c-main-dark); border-radius: 99px; padding: 4px 14px; font-size: 15px; font-weight: 700; }
.text-link { font-weight: 700; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; }
.text-link::after { content: "→"; }

/* 実績 */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { background: var(--c-surface); border-radius: var(--radius); padding: 18px; border: 1px solid var(--c-line); }
.stat dt { font-size: 15px; color: var(--c-ink-2); }
.stat dd { margin: 0; font-family: var(--f-head); font-weight: 900; font-size: 34px; color: var(--c-main-dark); font-variant-numeric: tabular-nums; line-height: 1.3; }
.stat dd small { font-size: 16px; margin-left: 2px; }

/* 流れ（手順） */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 10px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: center; background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 12px 16px; font-weight: 700; }
.steps li::before { content: counter(step); width: 40px; height: 40px; border-radius: 50%; background: var(--c-main); color: #fff; display: grid; place-items: center; font-family: var(--f-head); font-size: 18px; }

/* 1日の流れ */
.timeline { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--c-sub); }
.timeline li { display: grid; grid-template-columns: 8.5em 1fr; gap: 8px; padding: 10px 0 10px 18px; position: relative; border-bottom: 1px dashed var(--c-line); }
.timeline li::before { content: ""; position: absolute; left: -8px; top: 19px; width: 13px; height: 13px; border-radius: 50%; background: var(--c-main); }
.timeline li.is-rest::before { background: var(--c-cta); }
.timeline time { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--c-main-dark); }
.timeline li.is-rest span { color: var(--c-ink-2); }
@media (max-width: 420px) { .timeline li { grid-template-columns: 1fr; gap: 0; } }

/* 表 */
.table-wrap { overflow-x: auto; }
.info-table { width: 100%; border-collapse: collapse; background: var(--c-surface); }
.info-table th, .info-table td { border: 1px solid var(--c-line); padding: 12px 14px; text-align: left; vertical-align: top; }
.info-table th { background: var(--c-sub-2); width: 34%; font-weight: 700; color: var(--c-main-dark); }
@media (max-width: 560px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table tr { border-bottom: 1px solid var(--c-line); }
  .info-table th { border-bottom: 0; padding-bottom: 6px; }
  .info-table td { border-top: 0; }
}

/* 工賃（更新しやすいよう1か所にまとめる） */
.wage { display: grid; gap: 12px; }
@media (min-width: 640px) { .wage { grid-template-columns: repeat(2, 1fr); } }
.wage div { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 16px; }
.wage dt { font-size: 15px; color: var(--c-ink-2); }
.wage dd { margin: 0; font-weight: 700; font-size: 22px; color: var(--c-main-dark); font-variant-numeric: tabular-nums; }
.wage dd .unit { font-size: 16px; margin-left: 2px; }
.wage dd small { display: block; font-size: 14px; font-weight: 400; color: var(--c-ink-2); margin-top: 2px; }

/* FAQ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); }
.faq summary { cursor: pointer; padding: 16px 48px 16px 18px; font-weight: 700; position: relative; list-style: none; min-height: 52px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; color: var(--c-main); font-family: var(--f-head); font-weight: 900; margin-right: 8px; }
.faq summary::after { content: "＋"; position: absolute; right: 18px; top: 15px; color: var(--c-main); }

.faq-a { padding: 0 18px 16px; }
.faq-a p:last-child { margin-bottom: 0; }

/* 引用（昼食・送迎の定型文） */
.callout { background: var(--c-surface); border-left: 5px solid var(--c-main); border-radius: 0 var(--radius) var(--radius) 0; padding: 16px 18px; }
.callout > :last-child { margin-bottom: 0; }

/* 代表あいさつ・スタッフ */
.greeting { display: grid; gap: 24px; }
.greeting .photo { width: 160px; margin: 0 auto; }
.greeting-rep { display: grid; gap: 10px; justify-items: center; align-content: start; }
.greeting-name { margin: 0; text-align: center; font-family: var(--f-head); font-weight: 900; font-size: 1.2rem; line-height: 1.4; color: var(--c-main); }
.greeting-name span { display: block; font-family: inherit; font-weight: 700; font-size: .85rem; color: var(--c-ink-2); letter-spacing: .06em; }
@media (min-width: 760px) { .greeting { grid-template-columns: 200px 1fr; align-items: start; } .greeting .photo { width: 100%; } }
.staff-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0 0 20px; }
@media (min-width: 760px) { .staff-grid { grid-template-columns: repeat(4, 1fr); } }
.staff-grid li { text-align: center; font-weight: 700; display: grid; gap: 10px; }
.staff-grid .avatar { width: 100%; max-width: 140px; aspect-ratio: 1; margin: 0 auto; border-radius: 50%; background: var(--c-sub-2); display: grid; place-items: center; color: var(--c-ink-2); font-size: 12px; font-weight: 400; }

/* お問い合わせ */
.contact-list { display: grid; gap: 14px; }
.contact-item { background: var(--c-surface); border: 1px solid var(--c-line); border-radius: var(--radius); padding: 20px; display: grid; gap: 8px; }
.contact-item.is-primary { border: 2px solid var(--c-main); }
.contact-item h3 { margin: 0; display: flex; align-items: center; gap: 8px; }
.contact-item .order { font-size: 12px; background: var(--c-sub-2); color: var(--c-main-dark); border-radius: 4px; padding: 0 8px; }
.contact-item p { margin: 0; }
.big-tel { font-family: var(--f-head); font-weight: 900; font-size: clamp(26px, 7vw, 34px); color: var(--c-main-dark); text-decoration: none; font-variant-numeric: tabular-nums; }
.unset-note { font-size: 13px; color: #8A3B00; }
.btn:not(.is-unset) + .unset-note { display: none; }

/* 地図 */
.map { aspect-ratio: 4 / 3; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--c-sub-2); }
.map iframe { width: 100%; height: 100%; border: 0; }
@media (min-width: 760px) { .map { aspect-ratio: 16 / 9; } }

/* たたき台表示（公開前に削除） */
.draft-note { background: #FFF3C4; border: 2px dashed #B98900; border-radius: var(--radius); padding: 14px 16px; font-size: 15px; }
.confirm { background: #FFF3C4; padding: 0 4px; border-radius: 3px; }

/* ---- CTA帯 ---- */
.cta-band { background: var(--c-main); color: #fff; padding-block: 40px; }
.cta-inner { display: grid; gap: 20px; }
.cta-title { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; }
.cta-actions { display: grid; gap: 10px; }
.cta-band .btn-tel { background: #fff; color: var(--c-main-dark); }
.cta-band .btn-tel:hover { background: var(--c-sub-2); }
@media (min-width: 900px) { .cta-inner { grid-template-columns: 1.3fr 1fr; align-items: center; gap: 40px; } }

/* ---- フッター ---- */
.site-footer { background: #241B1C; color: #EDE8E4; padding-block: 40px 20px; font-size: 15px; }
.site-footer a { color: #fff; }
.footer-inner { display: grid; gap: 24px; }
.footer-name { font-family: var(--f-head); font-weight: 900; font-size: 19px; margin-bottom: 8px; }
.footer-nav { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.footer-nav a { display: inline-block; padding: 6px 0; text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; }
.copyright { font-size: 13px; color: #C9BFBA; margin-top: 24px; }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1.4fr 1fr; } }

/* ---- スマホ下部固定ボタン ---- */
.fixed-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: grid; grid-template-columns: 1fr 1.35fr; gap: 8px;
  padding: 8px max(10px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px));
  background: rgba(255,255,255,.97); border-top: 1px solid var(--c-line); box-shadow: 0 -4px 16px rgba(0,0,0,.06);
}
.fixed-bar .btn { min-height: 52px; font-size: 16px; padding: 6px 8px; }
@media (min-width: 900px) { .fixed-bar { display: none; } }

@media (min-width: 1180px) and (max-width: 1399px) { .nav-actions .btn-tel { display: none; } }

/* =========================================================
   トランジション（動き）
   - 動きを減らす設定の端末では、すべて止まります（末尾）
   ========================================================= */

/* ページ移動時のフェード（対応ブラウザのみ。非対応でも通常どおり移動） */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .22s ease both; }
::view-transition-new(root) { animation: vt-in .38s ease both; }
.site-header { view-transition-name: site-header; }
.fixed-bar { view-transition-name: fixed-bar; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* トップの見出しまわり：読み込み時に順番にふわっと表示 */
.hero .recruit-badge, .hero h1, .hero .lead, .hero .btn-group, .hero .photo,
.page-hero h1, .page-hero p { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero h1, .page-hero p { animation-delay: .08s; }
.hero .lead { animation-delay: .16s; }
.hero .btn-group { animation-delay: .24s; }
.hero .photo { animation-delay: .12s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* スクロールで表示（main.js が画面外の要素にだけ付ける） */
main .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
main .reveal.is-visible { opacity: 1; transform: none; }
@media print { .reveal { opacity: 1; transform: none; } }

/* ボタン：浮き上がりと押し込み */
.btn { transition: background-color .2s, color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(54,42,43,.22); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn.is-unset:hover { transform: none; box-shadow: none; }
.text-link::after { transition: transform .2s; }
.text-link:hover::after { transform: translateX(4px); }

/* カード・写真 */
.card, .stat, .contact-item, .steps li { transition: transform .25s, box-shadow .25s, border-color .25s; }
.card:hover, .stat:hover, .contact-item:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(28,38,41,.08); }
.photo img { transition: transform .6s ease; }
.work-card:hover .photo img, .photo:hover img { transform: scale(1.04); }

/* ヘッダー：スクロールすると影がつく */
.site-header { transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 4px 16px rgba(28,38,41,.08); }
.global-nav li a { transition: background-color .2s, color .2s; }

/* スマホメニュー：上からすっと開く */
@media (max-width: 1179px) { .global-nav.is-open { animation: drop .28s ease both; } }
@keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
.menu-icon { transition: background-color .2s; }
.menu-icon::before, .menu-icon::after { transition: transform .25s, top .25s; }
.menu-btn[aria-expanded="true"] .menu-icon { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-icon::after { top: 0; transform: rotate(-45deg); }

/* よくある質問：開くと答えがすっと出る、＋が×に回る */
.faq summary::after { transition: transform .25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] .faq-a { animation: drop .3s ease both; }
.faq details { transition: border-color .2s; }
.faq details:hover { border-color: var(--c-main); }

/* スマホ下部ボタン：読み込み時に下から出る */
.fixed-bar { animation: bar-up .45s .3s cubic-bezier(.2,.7,.2,1) both; }
@keyframes bar-up { from { transform: translateY(100%); } }


/* =========================================================
   トップの看板（店舗看板のデザインを横幅に合わせて組み立て）
   ========================================================= */
.kanban { background: #fff; border-bottom: 6px solid var(--c-main); }
.kanban-roof { height: clamp(36px, 7.5vw, 92px); background: url("../img/kanban-roof.png") repeat-x left top / auto 100%; }
.kanban-board { display: grid; grid-template-columns: clamp(22px, 8vw, 170px) minmax(0, 1fr) clamp(22px, 8vw, 170px); align-items: stretch; }
.kanban-lattice { background: url("../img/kanban-lattice.png") right top / cover no-repeat; min-height: 100%; }
.kanban-lattice.is-right { transform: scaleX(-1); }
.kanban-text { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: clamp(4px, 1vw, 14px); padding-block: clamp(14px, 3.2vw, 44px); padding-inline: clamp(6px, 2vw, 36px); }
.kanban-type { font-family: "Dela Gothic One", var(--f-head); font-weight: 900; font-synthesis: none; color: var(--c-main); font-size: clamp(17px, 3.4vw, 46px); line-height: 1.1; letter-spacing: .18em; padding-left: .18em; }
.kanban-text img { width: min(100%, 1240px); height: auto; }
.kanban .kanban-text img, .kanban .kanban-type { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }

/* 説明文の下に置く写真 */
.photo-below { margin-top: 16px; aspect-ratio: 4 / 3; }

/* 写真の拡大表示 */
.is-zoomable { cursor: zoom-in; position: relative; }
.is-zoomable::after { content: ""; position: absolute; right: 10px; bottom: 10px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(36,27,28,.72) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6'/%3E%3Cpath d='M15 15l5 5M10.5 8v5M8 10.5h5'/%3E%3C/svg%3E") center / 20px no-repeat; pointer-events: none; }
.is-zoomable:focus-visible { outline: 3px solid var(--c-cta); outline-offset: 3px; }
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  padding: calc(56px + env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px)) calc(24px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
  background: rgba(20,15,16,.96); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .2s ease; cursor: zoom-out; }
.lightbox.is-open { opacity: 1; }
.lightbox img { max-width: 100%; max-height: calc(100% - 48px); width: auto; height: auto; object-fit: contain; border-radius: 6px; box-shadow: 0 10px 40px rgba(0,0,0,.4); transform: scale(.96); transition: transform .25s ease; }
.lightbox.is-open img { transform: none; }
.lightbox-cap { color: #EDE8E4; font-size: 15px; margin: 0; text-align: center; max-width: 60ch; }
.lightbox-close { position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); right: max(10px, env(safe-area-inset-right, 0px)); width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: rgba(255,255,255,.15); color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.lightbox-close:hover { background: rgba(255,255,255,.28); }
body.is-lightbox-open { overflow: hidden; }
body.is-lightbox-open .fixed-bar { display: none; }

.footer-sns { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.footer-sns::before { content: ""; width: 20px; height: 20px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Crect x='3' y='3' width='18' height='18' rx='5'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='17.5' cy='6.5' r='1' fill='white'/%3E%3C/svg%3E") center / contain no-repeat; }

.photo-pair .photo-wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; }

#outside .grid-2 { align-items: start; }

/* Instagram案内 */
.insta-band { padding-block: 32px; background: linear-gradient(120deg, #FFF4E6 0%, #FDE8EC 55%, #F3E8F8 100%); border-block: 1px solid var(--c-line); }
.insta-inner { display: grid; gap: 16px; align-items: center; }
.insta-icon { width: 56px; height: 56px; border-radius: 16px; background: linear-gradient(45deg, #F6A623 0%, #E8462E 45%, #C1358A 75%, #7A3AB8 100%); position: relative; }
.insta-icon::before { content: ""; position: absolute; inset: 12px; border: 3.5px solid #fff; border-radius: 10px; }
.insta-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border: 3.5px solid #fff; border-radius: 50%; box-sizing: border-box; }
.insta-title { font-family: var(--f-head); font-weight: 900; font-size: 20px; color: var(--c-main-dark); margin: 0 0 4px; }
.insta-text p:last-child { margin: 0; }
.insta-btn { background: linear-gradient(45deg, #C2402E 0%, #B92F7A 100%); color: #fff; }
.insta-btn:hover { filter: brightness(1.08); }
@media (min-width: 760px) { .insta-inner { grid-template-columns: auto 1fr auto; gap: 24px; } }

/* 地図：読み込めない環境では案内文が見える */
.map { position: relative; }
.map iframe { position: relative; z-index: 1; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px; margin: 0; color: var(--c-ink-2); font-size: 15px; }

/* 1日の流れ：種類ごとに背景色 */
.timeline { --tl-work: #FBE7E2; --tl-work-d: #C2402E; --tl-rest: #E3F1E6; --tl-rest-d: #3E8A57; --tl-lunch: #FDF1D2; --tl-lunch-d: #B9821B; --tl-meet: #E6ECF4; --tl-meet-d: #4A6A93;
  border-left: 0; display: grid; gap: 6px; }
.timeline li { border-bottom: 0; border-radius: 10px; padding: 12px 16px 12px 40px; border-left: 6px solid transparent; }
.timeline li::before { left: 14px; top: 50%; margin-top: -6px; width: 12px; height: 12px; }
.timeline li.is-work  { background: var(--tl-work);  border-left-color: var(--tl-work-d); }
.timeline li.is-rest  { background: var(--tl-rest);  border-left-color: var(--tl-rest-d); }
.timeline li.is-lunch { background: var(--tl-lunch); border-left-color: var(--tl-lunch-d); }
.timeline li.is-meet  { background: var(--tl-meet);  border-left-color: var(--tl-meet-d); }
.timeline li.is-work::before  { background: var(--tl-work-d); }
.timeline li.is-rest::before  { background: var(--tl-rest-d); }
.timeline li.is-lunch::before { background: var(--tl-lunch-d); }
.timeline li.is-meet::before  { background: var(--tl-meet-d); }
.timeline li.is-rest span, .timeline li span { color: var(--c-ink); font-weight: 700; }
.timeline time { color: var(--c-ink); }
.tl-legend { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-wrap: wrap; gap: 8px 14px; font-size: 14px; color: var(--c-ink-2); }
.tl-legend li { display: inline-flex; align-items: center; gap: 6px; }
.tl-legend li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; }
.tl-legend .is-work::before  { background: #FBE7E2; border: 2px solid #C2402E; }
.tl-legend .is-rest::before  { background: #E3F1E6; border: 2px solid #3E8A57; }
.tl-legend .is-lunch::before { background: #FDF1D2; border: 2px solid #B9821B; }
.tl-legend .is-meet::before  { background: #E6ECF4; border: 2px solid #4A6A93; }

/* スマホでも時間と内容を横に並べる */
@media (max-width: 420px) { .timeline li { grid-template-columns: 7.2em 1fr; gap: 6px; padding-left: 34px; font-size: 15px; } .timeline li::before { left: 11px; } }

/* 動きを減らす設定の端末ではすべて停止 */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  @view-transition { navigation: none; }
}
