@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho+B1:wght@400;500;600;700&family=Zen+Kaku+Gothic+New:wght@300;400;500;700&display=swap');

/* ===== Base ===== */
:root {
  --ink: #23211c;
  --ink-soft: #4a463d;
  --muted: #756f63;
  --bg: #f7f3ec;
  --bg-alt: #efe8da;
  --bg-deep: #1f1d18;
  --paper: #fffdf8;
  --gold: #a8843e;
  --gold-soft: #c4a463;
  --line: #ddd4c2;
  --line-soft: #e7dfcf;
  --shadow: 0 18px 50px rgba(35, 33, 28, 0.10);
  --serif: 'Shippori Mincho B1', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --sans: 'Zen Kaku Gothic New', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.9;
  font-weight: 400;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.wrap { width: min(1120px, 90%); margin: 0 auto; }
.narrow { width: min(820px, 90%); margin: 0 auto; }

/* ===== Typography ===== */
.serif { font-family: var(--serif); }

.section-label {
  font-family: var(--serif);
  font-size: 0.82rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 1.1rem;
}

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.5; letter-spacing: 0.04em; }

.section-title {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.section-title .sub { display: block; font-size: 0.78rem; letter-spacing: 0.3em; color: var(--muted); font-family: var(--sans); margin-top: 0.7rem; font-weight: 400; }

.lead { color: var(--ink-soft); font-size: 1.02rem; }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; flex-direction: column; line-height: 1.2; }
.brand .name { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; letter-spacing: 0.12em; }
.brand .est { font-size: 0.62rem; letter-spacing: 0.34em; color: var(--gold); margin-top: 2px; }

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a { font-size: 0.86rem; color: var(--ink-soft); position: relative; padding: 4px 0; transition: color .25s; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--gold); transition: width .3s; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--ink); }
.nav .cta {
  background: var(--ink); color: var(--paper); padding: 0.6rem 1.3rem; border-radius: 2px;
  font-size: 0.82rem; letter-spacing: 0.1em; transition: background .25s;
}
.nav .cta::after { display: none; }
.nav .cta:hover { background: var(--gold); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; width: 34px; height: 30px; position: relative; }
.nav-toggle span { position: absolute; left: 4px; right: 4px; height: 1.5px; background: var(--ink); transition: .3s; }
.nav-toggle span:nth-child(1) { top: 7px; }
.nav-toggle span:nth-child(2) { top: 14px; }
.nav-toggle span:nth-child(3) { top: 21px; }
.nav-toggle.open span:nth-child(1) { top: 14px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 14px; transform: rotate(-45deg); }

/* ===== Hero ===== */
.hero {
  position: relative; min-height: 86vh; display: flex; align-items: center;
  background: linear-gradient(120deg, #201e18 0%, #2c2920 55%, #3a3326 100%);
  color: var(--paper); overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 78% 25%, rgba(196,164,99,0.16), transparent 45%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.018) 0 2px, transparent 2px 26px);
}
.hero-inner { position: relative; z-index: 2; padding: 6rem 0; }
.hero .eyebrow { font-family: var(--serif); letter-spacing: 0.4em; color: var(--gold-soft); font-size: 0.85rem; margin-bottom: 1.8rem; }
.hero h1 { font-size: clamp(2.1rem, 5.4vw, 3.7rem); font-weight: 600; line-height: 1.55; letter-spacing: 0.06em; }
.hero h1 .accent { color: var(--gold-soft); }
.hero p { margin-top: 1.8rem; max-width: 30em; color: rgba(255,253,248,0.82); font-size: 1.02rem; font-weight: 300; }
.hero .actions { margin-top: 2.6rem; display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== Buttons ===== */
.btn {
  display: inline-block; padding: 0.95rem 2.2rem; font-size: 0.9rem; letter-spacing: 0.12em;
  border-radius: 2px; transition: all .28s; cursor: pointer; border: 1px solid transparent;
  font-family: var(--sans);
}
.btn-gold { background: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-soft); }
.btn-ghost { border-color: rgba(255,253,248,0.4); color: var(--paper); }
.btn-ghost:hover { border-color: var(--gold-soft); color: var(--gold-soft); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-dark:hover { background: var(--gold); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--paper); }

/* ===== Sections ===== */
section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-deep { background: var(--bg-deep); color: var(--paper); }
.section-deep .section-title, .section-deep h2, .section-deep h3 { color: var(--paper); }
.section-deep .lead { color: rgba(255,253,248,0.78); }

.center { text-align: center; }
.center .section-label { display: block; }

/* ===== Philosophy ===== */
.philosophy { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.philosophy .quote { font-family: var(--serif); font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 2; color: var(--ink); }
.philosophy .quote .em { color: var(--gold); }
.philosophy .body p + p { margin-top: 1.2rem; }
.divider-mark { width: 48px; height: 1px; background: var(--gold); margin: 1.6rem 0; }

/* ===== Service grid ===== */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.svc-card {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; padding: 2.2rem 1.8rem;
  transition: transform .3s, box-shadow .3s; position: relative;
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-card .no { font-family: var(--serif); color: var(--gold); font-size: 0.85rem; letter-spacing: 0.2em; }
.svc-card h3 { font-size: 1.18rem; margin: 0.6rem 0 0.8rem; }
.svc-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.85; }

/* ===== Course cards ===== */
.course-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin-top: 3rem; }
.course-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.course-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px; padding: 2.4rem;
  position: relative; overflow: hidden;
}
.course-card.feature { border-color: var(--gold); }
.course-card.feature::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
}
.course-card .tier { font-family: var(--serif); font-size: 0.78rem; letter-spacing: 0.3em; color: var(--gold); }
.course-card h3 { font-size: 1.5rem; margin: 0.5rem 0 0.4rem; }
.course-card .desc { color: var(--muted); font-size: 0.92rem; min-height: 3.4em; }
.course-card .price-lines { margin-top: 1.6rem; border-top: 1px solid var(--line-soft); padding-top: 1.2rem; }
.course-card .price-lines li { list-style: none; display: flex; justify-content: space-between; font-size: 0.9rem; padding: 0.45rem 0; border-bottom: 1px dashed var(--line-soft); }
.course-card .price-lines li span:last-child { font-family: var(--serif); color: var(--ink); }

/* ===== Price tables ===== */
.price-block { margin-top: 3rem; }
.price-block h3 { font-size: 1.25rem; padding-bottom: 0.7rem; border-bottom: 2px solid var(--gold); display: inline-block; margin-bottom: 1.4rem; }
table.price { width: 100%; border-collapse: collapse; background: var(--paper); font-size: 0.92rem; box-shadow: var(--shadow); border-radius: 3px; overflow: hidden; }
table.price thead th { background: var(--bg-deep); color: var(--paper); font-family: var(--serif); font-weight: 500; padding: 1rem; text-align: center; font-size: 0.85rem; letter-spacing: 0.08em; }
table.price thead th:first-child { text-align: left; }
table.price td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--line-soft); text-align: center; }
table.price td:first-child { text-align: left; font-weight: 500; }
table.price tbody tr:hover { background: var(--bg); }
table.price .num { font-family: var(--serif); }
.price-list-inline { columns: 2; column-gap: 2.5rem; margin-top: 0.5rem; }
.price-list-inline li { list-style: none; display: flex; justify-content: space-between; padding: 0.5rem 0; border-bottom: 1px dashed var(--line-soft); break-inside: avoid; font-size: 0.92rem; }
.price-list-inline li span:last-child { font-family: var(--serif); white-space: nowrap; padding-left: 1rem; }

.note { font-size: 0.84rem; color: var(--muted); margin-top: 1.5rem; }

/* ===== Steps ===== */
.steps { margin-top: 3rem; }
.step { display: grid; grid-template-columns: 90px 1fr; gap: 1.8rem; padding: 2rem 0; border-bottom: 1px solid var(--line-soft); align-items: start; }
.step:last-child { border-bottom: none; }
.step .num { font-family: var(--serif); font-size: 2.4rem; color: var(--gold); line-height: 1; }
.step h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ===== Premium hallmarks ===== */
.hallmarks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.8rem; margin-top: 3.5rem; }
.hallmark { border-top: 1px solid rgba(196, 164, 99, 0.4); padding-top: 1.5rem; }
.hallmark .en { font-family: var(--serif); font-size: 0.75rem; letter-spacing: 0.32em; color: var(--gold-soft); }
.hallmark h3 { font-size: 1.25rem; margin: 0.7rem 0 0.7rem; }
.hallmark p { color: rgba(255, 253, 248, 0.72); font-size: 0.92rem; line-height: 1.95; }

/* ===== Stain cases ===== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; margin-top: 3rem; }
.case-card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 3px; padding: 2.4rem 2rem;
  position: relative; transition: transform .3s, box-shadow .3s;
}
.case-card::before { content: ''; position: absolute; top: 0; left: 0; width: 42px; height: 2px; background: var(--gold); }
.case-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.case-card .case-no { font-family: var(--serif); font-size: 0.78rem; letter-spacing: 0.3em; color: var(--gold); text-transform: uppercase; }
.case-card h3 { font-size: 1.25rem; margin: 0.7rem 0 0.8rem; }
.case-card p { color: var(--muted); font-size: 0.92rem; line-height: 1.9; }

/* ===== Before / After photos ===== */
.case-card.with-photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.case-card.with-photo::before { z-index: 2; }
.case-card.with-photo .case-body { padding: 1.5rem 1.8rem 2rem; }
.ba-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line-soft); }
.ba-item { position: relative; }
.ba-item img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.ba-item .tag {
  position: absolute; top: 10px; left: 10px; font-family: var(--serif); font-size: 0.62rem;
  letter-spacing: 0.2em; padding: 0.15rem 0.6rem; background: rgba(31, 29, 24, 0.72);
  color: var(--paper); border-radius: 2px;
}
.ba-item.after .tag { background: var(--gold); }
.case-photo { position: relative; }
.case-photo img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.case-photo .tag {
  position: absolute; top: 10px; left: 10px; font-family: var(--serif); font-size: 0.62rem;
  letter-spacing: 0.2em; padding: 0.15rem 0.6rem; background: rgba(31, 29, 24, 0.72);
  color: var(--paper); border-radius: 2px;
}
.note-mascot { display: flex; align-items: center; justify-content: center; gap: 0.9rem; margin-top: 2rem; }
.note-mascot img { width: 62px; flex: none; }
.note-mascot .note { margin-top: 0; text-align: left; }

/* ===== Step photos (process) ===== */
.step-photos { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.1rem; }
.step-photos figure { margin: 0; width: min(150px, 44%); }
.step-photos img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 3px; border: 1px solid var(--line-soft); }
.step-photos figcaption { font-size: 0.76rem; color: var(--muted); margin-top: 0.35rem; text-align: center; }
.diagram-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; padding: 1.2rem; margin-top: 1.5rem; }
.diagram-card img { margin: 0 auto; }

/* ===== FAQ ===== */
.faq { margin-top: 2.5rem; }
.faq details {
  background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px;
  margin-bottom: 0.9rem; overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 1.35rem 3.4rem 1.35rem 3.6rem;
  font-family: var(--serif); font-size: 1.02rem; font-weight: 600; letter-spacing: 0.04em;
  position: relative; transition: color .25s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: 'Q'; position: absolute; left: 1.5rem; top: 1.3rem;
  font-family: var(--serif); color: var(--gold); font-size: 1.05rem;
}
.faq summary::after {
  content: ''; position: absolute; right: 1.6rem; top: 50%; width: 11px; height: 11px;
  border-right: 1.5px solid var(--gold); border-bottom: 1.5px solid var(--gold);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s;
}
.faq details[open] summary { color: var(--gold); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p {
  padding: 0 1.6rem 1.5rem 3.6rem; color: var(--ink-soft); font-size: 0.94rem; line-height: 1.95;
}
.faq details p a { color: var(--gold); border-bottom: 1px solid var(--gold); }

/* ===== Stores ===== */
.stores { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; margin-top: 3rem; }
.store-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 3px; padding: 2.4rem; }
.store-card h3 { font-size: 1.3rem; margin-bottom: 1.2rem; }
.store-card dl { display: grid; grid-template-columns: 6.5em 1fr; row-gap: 0.7rem; font-size: 0.92rem; }
.store-card dt { color: var(--gold); font-family: var(--serif); }
.store-card dd { color: var(--ink-soft); }
.store-card .tel { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); letter-spacing: 0.05em; }
.store-card .map-link {
  display: inline-block; margin-top: 1.3rem; font-size: 0.84rem; letter-spacing: 0.08em;
  color: var(--gold); border-bottom: 1px solid var(--gold); padding-bottom: 2px; transition: opacity .25s;
}
.store-card .map-link:hover { opacity: 0.7; }

/* ===== CTA band ===== */
.cta-band { background: var(--bg-deep); color: var(--paper); text-align: center; padding: 5rem 0; }
.cta-band h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); margin-bottom: 1rem; }
.cta-band p { color: rgba(255,253,248,0.78); margin-bottom: 2.2rem; }

/* ===== Form ===== */
.form-card { background: var(--paper); border: 1px solid var(--line-soft); border-radius: 4px; padding: 3rem; box-shadow: var(--shadow); margin-top: 2.5rem; }
.field { margin-bottom: 1.6rem; }
.field label { display: block; font-size: 0.9rem; margin-bottom: 0.55rem; font-weight: 500; }
.field label .req { color: var(--gold); font-size: 0.75rem; margin-left: 0.5rem; }
.field input, .field select, .field textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid var(--line); border-radius: 2px; background: var(--bg);
  font-family: var(--sans); font-size: 0.95rem; color: var(--ink); transition: border .25s;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field textarea { min-height: 140px; resize: vertical; }

/* ===== Contact ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: start; }

/* ===== Footer ===== */
.site-footer { background: #19170f; color: rgba(255,253,248,0.7); padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-grid h4 { font-family: var(--serif); color: var(--paper); font-size: 1.05rem; margin-bottom: 1rem; letter-spacing: 0.1em; }
.footer-grid .est { font-size: 0.7rem; letter-spacing: 0.3em; color: var(--gold-soft); }
.footer-grid ul li { list-style: none; padding: 0.35rem 0; font-size: 0.88rem; }
.footer-grid a:hover { color: var(--gold-soft); }
.footer-grid p { font-size: 0.86rem; line-height: 1.8; }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.76rem; color: rgba(255,253,248,0.45); text-align: center; }

/* ===== Page hero (sub pages) ===== */
.page-hero { background: linear-gradient(120deg, #201e18, #322d22); color: var(--paper); padding: 5rem 0 4rem; text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 80% 20%, rgba(196,164,99,0.14), transparent 50%); }
.page-hero .inner { position: relative; z-index: 2; }
.page-hero .section-label { color: var(--gold-soft); }
.page-hero h1 { font-size: clamp(1.9rem, 4.4vw, 2.8rem); }
.breadcrumb { font-size: 0.78rem; color: rgba(255,253,248,0.6); margin-top: 1rem; letter-spacing: 0.1em; }
.breadcrumb a:hover { color: var(--gold-soft); }

/* ===== Animations =====
   JSが動かない環境でも内容が見えるよう、html.js が付いたときだけ非表示にする */
html.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .philosophy, .svc-grid, .course-grid, .course-grid.cols-3, .stores, .footer-grid, .contact-grid, .hallmarks, .case-grid { grid-template-columns: 1fr; }
  .svc-grid { gap: 1rem; }
  .hallmarks { gap: 2rem; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; gap: 0; align-items: stretch;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 0.5rem 0;
    transform: translateY(-130%); transition: transform .35s; box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 1rem 7%; border-bottom: 1px solid var(--line-soft); font-size: 0.95rem; }
  .nav a::after { display: none; }
  .nav .cta { margin: 0.8rem 7%; text-align: center; }
  .price-list-inline { columns: 1; }
  table.price { font-size: 0.82rem; }
  table.price td, table.price thead th { padding: 0.6rem 0.5rem; }
  .step { grid-template-columns: 60px 1fr; gap: 1rem; }
  section { padding: 4rem 0; }
}
