:root {
  /* 生成り（地色）／藍（主役）／墨（本文）／朱（押し印）／抹茶（差し色） */
  --paper: #F5F0E3;
  --paper2: #EEE6D2;
  --ai: #1F3B5A;
  --ai-deep: #16293F;
  --sumi: #29261F;
  --muted: #6B6252;
  --shu: #B8432B;
  --line: #DAD0B8;
  --white: #FFFDF8;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  font-size: 1.125rem;
  line-height: 1.9;
  color: var(--sumi);
  background: var(--white);
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ai); }
:focus-visible { outline: 3px solid var(--sumi); outline-offset: 3px; }
h1, h2, h3 {
  line-height: 1.5; margin: 0;
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 700;
  letter-spacing: .02em;
}
p { margin: 0 0 1em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ボタン */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 56px; padding: 0 28px;
  border: 2px solid var(--ai); border-radius: 3px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  letter-spacing: .02em;
}
.btn--primary { background: var(--ai); color: var(--white); }
.btn--primary:hover { background: var(--ai-deep); border-color: var(--ai-deep); }
.btn--ghost { background: transparent; color: var(--ai); }
.btn--ghost:hover { background: var(--paper2); }

/* ヘッダー */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--white); border-bottom: 1px solid var(--ai); }
.site-head { display: flex; align-items: center; gap: 12px 28px; padding: 10px 0; flex-wrap: wrap; }
.brand img { height: 46px; width: auto; }
.gnav ul { display: flex; flex-wrap: wrap; gap: 0 22px; margin: 0; padding: 0; list-style: none; }
.gnav a {
  display: inline-block; padding: 8px 0; color: var(--sumi);
  font-weight: 700; text-decoration: none; border-bottom: 3px solid transparent;
}
.gnav a:hover { border-bottom-color: var(--shu); }
.head-tel { margin-left: auto; text-align: right; line-height: 1.3; }
.head-tel a {
  position: relative; display: inline-block; padding-left: 30px;
  font-size: 1.5rem; font-weight: 700; color: var(--ai); text-decoration: none; white-space: nowrap;
}
.head-tel a::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 22px; height: 22px;
  transform: translateY(-50%); border-radius: 50%; background: var(--shu);
  -webkit-mask: radial-gradient(circle at 30% 30%, transparent 0, transparent 3px, #000 4px);
}
.head-tel small { display: block; font-size: .85rem; color: var(--muted); }

/* ヒーロー */
.hero { padding: 44px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); }
.hero .lead { margin: 22px 0 28px; font-size: 1.2rem; }
.tel-box {
  position: relative; border: 1px solid var(--ai); border-radius: 2px;
  outline: 1px solid var(--ai); outline-offset: 5px;
  padding: 20px 24px 16px; margin: 6px 6px 26px;
}
.tel-box .label {
  position: relative; margin: 0 0 2px; padding-left: 30px;
  font-weight: 700; color: var(--ai); font-family: "Shippori Mincho", serif;
}
.tel-box .label::before {
  content: "電"; position: absolute; left: -4px; top: 50%; transform: translateY(-50%) rotate(-4deg);
  width: 24px; height: 24px; line-height: 24px; text-align: center;
  font-family: "Shippori Mincho", serif; font-size: .8rem; font-weight: 700; color: var(--white);
  background: var(--shu); border-radius: 50%;
}
.tel-box a.num {
  display: block; font-size: clamp(2.2rem, 7vw, 3.4rem); font-weight: 700; line-height: 1.25;
  color: var(--sumi); text-decoration: none; letter-spacing: .02em;
}
.tel-box .hours { margin: 0; font-size: 1rem; color: var(--muted); }
.hero-photo {
  position: relative; padding: 10px; background: var(--paper);
  border: 1px solid var(--ai); border-radius: 2px;
}
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1px; }
.hero-photo::after {
  content: ""; position: absolute; top: -1px; right: -1px; width: 30px; height: 30px;
  background: var(--shu); clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.points {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
  margin: 48px 0 0; padding: 0; list-style: none;
}
.points li { border-left: 3px solid var(--shu); padding: 2px 0 2px 14px; font-weight: 700; line-height: 1.6; }
.points span { display: block; font-weight: 400; font-size: .95rem; color: var(--muted); }

/* セクション共通 */
.sec { padding: 72px 0; position: relative; }
.sec--sage {
  background: var(--paper);
  border-top: 1px solid var(--ai); border-bottom: 1px solid var(--ai);
  box-shadow: 0 3px 0 -2px var(--ai) inset, 0 -3px 0 -2px var(--ai) inset;
}
.sec h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 16px; }
.sec .intro { max-width: 40em; color: var(--muted); margin-bottom: 40px; }

/* 利用者 */
.audience { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.audience article { border-top: 3px solid var(--ai); padding-top: 18px; }
.audience h3 { font-size: 1.3rem; margin-bottom: 8px; }
.audience p { margin: 0; }

/* メニュー：弁当の仕切りを思わせる非対称グリッド */
.menu-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr;
  gap: 2px; background: var(--ai); border: 1px solid var(--ai);
}
.menu-item { background: var(--white); display: flex; flex-direction: column; }
.menu-item:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.menu-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.menu-item:nth-child(2) img { aspect-ratio: 16 / 10; flex: 1; }
.menu-item .body { padding: 16px 18px 18px; }
.menu-item h3 { font-size: 1.25rem; }
.menu-item:nth-child(2) h3 { font-size: 1.55rem; }
.menu-item .for { margin: 3px 0 8px; font-weight: 700; color: var(--shu); font-size: .95rem; }
.menu-item p.desc { margin: 0; font-size: 1rem; line-height: 1.8; }
.note { font-size: .95rem; color: var(--muted); }

/* 料金表 */
.price-title { margin: 56px 0 14px; font-size: 1.5rem; }
.table-wrap { overflow-x: auto; }
table.price { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--white); }
table.price caption { text-align: left; padding-bottom: 8px; color: var(--muted); font-size: .95rem; }
table.price th, table.price td { padding: 14px 16px; border: 1px solid var(--line); text-align: left; }
table.price thead th { background: var(--ai); color: var(--white); font-weight: 700; }
table.price tbody th { background: var(--paper2); font-weight: 700; }
table.price td.yen { font-weight: 700; font-size: 1.2rem; white-space: nowrap; font-variant-numeric: tabular-nums; }

/* 3分間サービス */
.three {
  background: var(--paper); padding: 56px 0;
  border-top: 1px solid var(--ai); border-bottom: 1px solid var(--ai);
  box-shadow: 0 3px 0 -2px var(--ai) inset, 0 -3px 0 -2px var(--ai) inset;
}
.three .wrap { display: flex; align-items: center; gap: 24px; }
.three::before {
  content: "3"; flex: none; width: 64px; height: 64px; line-height: 64px; text-align: center;
  font-family: "Shippori Mincho", serif; font-size: 1.8rem; font-weight: 700; color: var(--white);
  background: var(--shu); border-radius: 50%;
}
.three h2 { font-size: clamp(1.5rem, 3.2vw, 2rem); margin-bottom: 8px; }
.three p { max-width: 40em; margin: 0; font-size: 1.15rem; }

/* 流れ */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before {
  content: counter(step);
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; margin-bottom: 14px;
  border: 2px solid var(--ai); border-radius: 50%; color: var(--ai);
  font-family: "Shippori Mincho", serif; font-weight: 700; font-size: 1.25rem;
}
.steps h3 { font-size: 1.2rem; margin-bottom: 4px; }
.steps p { margin: 0; font-size: 1rem; line-height: 1.8; }

/* エリア */
.area-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items: start; }
.area-list { margin: 0 0 24px; }
.area-list dt { font-weight: 700; margin-top: 18px; font-family: "Shippori Mincho", serif; }
.area-list dt:first-child { margin-top: 0; }
.area-list dd { margin: 4px 0 0; }
.area-photo {
  position: relative; padding: 10px; background: var(--paper);
  border: 1px solid var(--ai); border-radius: 2px;
}
.area-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 1px; }
.area-photo::after {
  content: ""; position: absolute; top: -1px; right: -1px; width: 30px; height: 30px;
  background: var(--shu); clip-path: polygon(100% 0, 0 0, 100% 100%);
}

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  position: relative; list-style: none; cursor: pointer;
  min-height: 56px; padding: 16px 44px 16px 0; font-weight: 700;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "＋"; position: absolute; right: 8px; top: 16px; color: var(--shu); font-size: 1.3rem; }
.faq details[open] summary::after { content: "－"; }
.faq details[open] summary { color: var(--ai); }
.faq .answer { padding: 0 0 20px; }
.faq .answer p { margin: 0; }

/* お問い合わせ */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 44px; align-items: start; }
.contact-tel { background: var(--ai); color: var(--white); border-radius: 2px; padding: 30px 28px; }
.contact-tel h3 { font-size: 1.3rem; margin-bottom: 8px; }
.contact-tel a.num {
  position: relative; display: block; padding-left: 34px;
  color: var(--white); font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 700;
  text-decoration: none; line-height: 1.3; font-family: "BIZ UDPGothic", sans-serif;
}
.contact-tel a.num::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 24px; height: 24px;
  border-radius: 50%; background: var(--shu);
}
.contact-tel p { margin: 10px 0 0; font-size: 1rem; }
.contact-tel :focus-visible { outline-color: var(--white); }
form.contact label { display: block; margin: 0 0 6px; font-weight: 700; }
form.contact .req { color: var(--shu); font-size: .9rem; margin-left: 4px; }
form.contact .field { margin-bottom: 20px; }
form.contact input, form.contact select, form.contact textarea {
  width: 100%; min-height: 56px; padding: 12px 14px;
  font: inherit; color: var(--sumi); background: var(--white);
  border: 1px solid var(--ai); border-radius: 2px;
}
form.contact textarea { min-height: 150px; resize: vertical; }
form.contact .privacy { font-size: .95rem; color: var(--muted); }

/* フッター */
.site-footer { background: var(--ai-deep); color: var(--white); padding: 48px 0 36px; }
.site-footer h2 { color: var(--white); }
.site-footer a { color: var(--white); }
.site-footer :focus-visible { outline-color: var(--white); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; }
.site-footer h2 { font-size: 1.3rem; margin-bottom: 8px; }
.site-footer p { margin: 0 0 .4em; font-size: 1rem; }
.copy { margin-top: 28px !important; font-size: .9rem !important; opacity: .8; font-family: "BIZ UDPGothic", sans-serif; }

/* スマホ下部の固定バー */
.m-bar { display: none; }

@media (max-width: 900px) {
  .hero-grid, .area-grid, .contact-grid, .foot-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
  .audience { grid-template-columns: 1fr; gap: 28px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .points { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-item:nth-child(2) { grid-column: span 2; grid-row: span 1; }
  .menu-item:nth-child(2) img { aspect-ratio: 4 / 3; }
}
@media (max-width: 720px) {
  body { font-size: 1.0625rem; padding-bottom: 84px; }
  .site-header { position: static; }
  .head-tel { display: none; }
  .hero { padding-top: 24px; }
  .sec { padding: 56px 0; }
  .three .wrap { flex-direction: column; text-align: center; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-item:nth-child(2) { grid-column: span 1; }
  .m-bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--white); border-top: 1px solid var(--ai);
  }
  .m-bar .btn { padding: 0 8px; font-size: 1rem; }
}

/* ---- サブページ共通 ---- */
.page-hero { background: var(--paper); padding: 8px 0 48px; border-bottom: 1px solid var(--ai); }
.page-hero h1 { font-size: clamp(1.85rem, 4vw, 2.5rem); }
.page-hero .lead { max-width: 42em; margin: 16px 0 0; font-size: 1.15rem; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 0; padding: 14px 0 18px; list-style: none; font-size: .95rem; color: var(--muted); }
.crumb li + li::before { content: "›"; margin-right: 10px; }
.prose { max-width: 820px; }
.prose h2 { margin-bottom: 18px; }
.prose p { margin-bottom: 1em; }
ul.plain { margin: 0 0 1em; padding-left: 1.4em; }
ul.plain li { margin-bottom: .4em; }
ul.plain li::marker { color: var(--shu); }
table.price small { display: block; font-size: .85rem; font-weight: 400; color: var(--muted); }
.sec .prose .note { margin-top: 12px; }

.menu-detail-list { margin-top: 28px; }
.menu-detail { display: grid; grid-template-columns: 300px 1fr; gap: 28px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); }
.menu-detail:last-child { border-bottom: 1px solid var(--line); }
.menu-detail img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 2px; }
.menu-detail h3 { font-size: 1.4rem; }
.menu-detail .for { margin: 2px 0 8px; font-weight: 700; color: var(--shu); }
.menu-detail p { margin: 0 0 .6em; }
.menu-detail .yen-line { font-weight: 700; font-size: 1.15rem; }

.cta-band { background: var(--ai); color: var(--white); padding: 56px 0; }
.cta-band h2 { color: var(--white); font-size: clamp(1.5rem, 3.2vw, 2rem); margin-bottom: 10px; }
.cta-band a.num {
  position: relative; display: block; padding-left: 34px;
  color: var(--white); font-size: clamp(2.1rem, 6vw, 3rem); font-weight: 700;
  text-decoration: none; line-height: 1.3; font-family: "BIZ UDPGothic", sans-serif;
}
.cta-band a.num::before {
  content: ""; position: absolute; left: 0; top: 16px; width: 26px; height: 26px;
  border-radius: 50%; background: var(--shu);
}
.cta-band p { margin: 6px 0 22px; font-size: 1rem; }
.cta-band :focus-visible { outline-color: var(--white); }

.foot-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 20px; margin: 0; padding: 0; list-style: none; }
.foot-nav a { display: inline-block; padding: 4px 0; }

.link-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

@media (max-width: 720px) {
  .menu-detail { grid-template-columns: 1fr; gap: 14px; }
  .page-hero { padding-bottom: 36px; }
}
