@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho:wght@400;500;600;700&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }

/* ---------- Tokens ---------- */
:root {
  --indigo-900: #141f33;
  --indigo-800: #1c2f4d;
  --indigo-700: #223a5e;
  --indigo-600: #2c4e78;
  --indigo-500: #3f6690;
  --indigo-100: #e6ecf3;
  --cream: #f8f4ea;
  --cream-dark: #efe7d6;
  --paper: #fffdf8;
  --ink: #262420;
  --ink-soft: #55524a;
  --accent: #a8493f;
  --gold: #b28a4c;
  --radius: 6px;
  --shadow: 0 18px 40px -20px rgba(20, 31, 51, 0.35);
  --maxw: 1120px;
  --font-serif: 'Shippori Mincho', 'Noto Serif JP', serif;
  --font-sans: 'Noto Sans JP', 'Hiragino Sans', sans-serif;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.9;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; color: var(--indigo-900); line-height: 1.5; letter-spacing: .02em; }

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }

.section { padding: 96px 0; position: relative; overflow: hidden; }
.section--tight { padding: 64px 0; }
.section--indigo { background: var(--indigo-900); color: var(--cream); }
.section--indigo h1, .section--indigo h2, .section--indigo h3 { color: var(--paper); }
.section--paper { background: var(--paper); }

.kanji-watermark {
  position: absolute;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(220px, 32vw, 460px);
  line-height: 1;
  color: currentColor;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  user-select: none;
}
.kanji-watermark--right { right: -0.08em; top: -0.12em; }
.kanji-watermark--left { left: -0.08em; bottom: -0.15em; }

.section > .wrap { position: relative; z-index: 1; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  border-radius: 999px;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}
.btn--primary { background: var(--paper); color: var(--indigo-900); box-shadow: var(--shadow); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -18px rgba(20,31,51,.5); }
.btn--outline { border: 1px solid rgba(248, 244, 234, 0.55); color: inherit; }
.btn--outline:hover { background: rgba(248, 244, 234, 0.12); }
.btn--dark { background: var(--indigo-900); color: var(--paper); }
.btn--dark:hover { background: var(--indigo-800); transform: translateY(-2px); }
.btn--tel { background: var(--accent); color: var(--paper); }
.btn--tel:hover { background: #8f3b32; transform: translateY(-2px); }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248, 244, 234, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 31, 51, 0.08);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}
.brand { display: flex; align-items: baseline; gap: 12px; }
.brand-mark {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--indigo-900);
  letter-spacing: 0.06em;
}
.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--ink-soft);
}

.main-nav { display: flex; align-items: center; gap: 40px; }
.main-nav ul { display: flex; gap: 32px; }
.main-nav a {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--indigo-900);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.main-nav a[aria-current="page"] { color: var(--indigo-900); font-weight: 600; }

.header-tel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--indigo-900);
  white-space: nowrap;
}
.header-tel svg { width: 16px; height: 16px; }
.header-tel small { display: block; font-size: 0.6rem; letter-spacing: .1em; color: var(--ink-soft); font-family: var(--font-sans); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span { width: 24px; height: 1px; background: var(--indigo-900); transition: transform .3s ease, opacity .3s ease; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 82% 18%, rgba(178, 138, 76, 0.18), transparent 55%),
    linear-gradient(160deg, var(--indigo-900) 0%, var(--indigo-700) 55%, var(--indigo-600) 100%);
  color: var(--cream);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../assets/pattern.svg');
  background-size: 64px 64px;
  opacity: 0.05;
  mix-blend-mode: screen;
}
.hero .kanji-watermark { color: var(--cream); opacity: 0.06; }
.hero-inner { position: relative; z-index: 1; max-width: 680px; }
.hero-inner .eyebrow { color: var(--gold); }
.hero h1 {
  color: var(--paper);
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  margin-bottom: 22px;
}
.hero p { font-size: 1.02rem; color: rgba(248,244,234,0.85); max-width: 520px; }

.page-hero {
  position: relative;
  padding: 150px 0 80px;
  background: linear-gradient(160deg, var(--indigo-900), var(--indigo-700));
  color: var(--paper);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../assets/pattern.svg');
  background-size: 64px 64px;
  opacity: 0.05;
}
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { color: var(--paper); font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.page-hero p { margin-top: 16px; color: rgba(248,244,234,0.78); max-width: 560px; }
.breadcrumb { font-size: 0.78rem; letter-spacing: .08em; color: rgba(248,244,234,0.6); margin-bottom: 18px; }
.breadcrumb a:hover { color: var(--paper); }

/* ---------- Cards / grids ---------- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.pillar-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: var(--shadow);
  border-top: 2px solid var(--gold);
}
.pillar-card .num { font-family: var(--font-serif); font-size: 0.8rem; color: var(--gold); letter-spacing: .2em; }
.pillar-card h3 { margin: 14px 0 14px; font-size: 1.2rem; }
.pillar-card p { color: var(--ink-soft); font-size: 0.92rem; }
.pillar-icon { width: 40px; height: 40px; color: var(--indigo-700); margin-bottom: 18px; }

.section-head { max-width: 620px; margin-bottom: 20px; }
.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.section-lead { color: var(--ink-soft); margin-top: 18px; max-width: 640px; }

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}
.split.reverse .split-visual { order: 2; }
.split-visual {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--indigo-700), var(--indigo-900));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
}
.split-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../assets/pattern.svg');
  background-size: 48px 48px;
  opacity: 0.12;
}
.split-visual span {
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(4rem, 9vw, 7rem);
  color: rgba(248,244,234,0.9);
  font-weight: 700;
}
.split-body h3 { font-size: 1.5rem; margin-bottom: 18px; }
.split-body p + p { margin-top: 14px; }
.split-body p { color: var(--ink-soft); }

.info-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px;
}
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--cream-dark); }
.info-table tr:last-child { border-bottom: none; }
.info-table th, .info-table td { text-align: left; padding: 18px 12px; vertical-align: top; }
.info-table th {
  width: 140px;
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--indigo-900);
  font-size: 0.92rem;
  letter-spacing: .04em;
}
.info-table td { color: var(--ink-soft); font-size: 0.95rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-dark);
}
.map-frame iframe { width: 100%; height: 360px; border: 0; display: block; filter: grayscale(15%); }

.contact-card {
  background: var(--indigo-900);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 52px;
  text-align: center;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.contact-card::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('../assets/pattern.svg');
  background-size: 64px 64px;
  opacity: 0.06;
}
.contact-card > * { position: relative; z-index: 1; }
.contact-tel {
  display: inline-block;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--paper);
  margin: 18px 0 6px;
  letter-spacing: .04em;
}
.contact-hours { color: rgba(248,244,234,.72); font-size: 0.9rem; margin-bottom: 30px; }

.quote-block {
  border-left: 2px solid var(--gold);
  padding-left: 30px;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--indigo-900);
  line-height: 2;
}

.cta-band {
  background: var(--cream-dark);
  padding: 70px 0;
  text-align: center;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--ink-soft); margin-bottom: 8px; }

.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag {
  font-size: 0.78rem;
  letter-spacing: .05em;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--indigo-700);
  color: var(--indigo-800);
}

.product-list {
  display: grid;
  gap: 28px;
  margin-top: 56px;
}
.product-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px 40px;
  align-items: center;
}
.product-row .label {
  font-family: var(--font-serif);
  color: var(--gold);
  letter-spacing: .12em;
  font-size: 0.85rem;
  border-right: 1px solid var(--cream-dark);
  padding-right: 24px;
}
.product-row h3 { font-size: 1.3rem; margin-bottom: 10px; }
.product-row p { color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--indigo-900);
  color: rgba(248, 244, 234, 0.8);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(248, 244, 234, 0.14);
}
.footer-brand .brand-mark { color: var(--paper); }
.footer-brand p { margin-top: 16px; font-size: 0.85rem; line-height: 1.9; color: rgba(248,244,234,0.65); max-width: 320px; }
.footer-col h4 { color: var(--paper); font-size: 0.85rem; letter-spacing: .1em; margin-bottom: 18px; }
.footer-col li { margin-bottom: 10px; font-size: 0.88rem; }
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 26px;
  font-size: 0.78rem;
  color: rgba(248,244,234,0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .split, .two-col { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .split-visual { order: 0; }
  .product-row { grid-template-columns: 1fr; }
  .product-row .label { border-right: none; border-bottom: 1px solid var(--cream-dark); padding-right: 0; padding-bottom: 12px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .main-nav ul, .header-tel { display: none; }
  .main-nav.is-open ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 84px; left: 0; right: 0;
    background: var(--paper);
    padding: 10px 24px 24px;
    border-bottom: 1px solid var(--cream-dark);
  }
  .main-nav.is-open ul li { padding: 14px 0; border-bottom: 1px solid var(--cream-dark); }
  .main-nav.is-open ul li:last-child { border-bottom: none; }
  .nav-toggle { display: flex; }
  .main-nav { position: static; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .info-card, .contact-card { padding: 30px 24px; }
  .info-table th { width: 100px; font-size: 0.82rem; }
}
