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

:root {
  --bg: #f5f2ed;
  --paper: #fff;
  --text: #1a1a1a;
  --muted: #5d5750;
  --accent: #8a6746;
  --border: #dcd6ce;
  --dark: #1c1b19;
  --serif: 'Noto Serif JP', serif;
  --sans: 'Inter', 'Noto Sans JP', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 42px;
  border-bottom: 1px solid rgba(220, 214, 206, 0.85);
  background: rgba(245, 242, 237, 0.94);
  backdrop-filter: blur(14px);
}

.brand {
  color: var(--text);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.desktop-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.desktop-nav .nav-cta {
  padding: 11px 18px;
  border: 1px solid var(--text);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  display: block;
  width: 26px;
  height: 1px;
  margin: 6px auto;
  background: var(--text);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  background: rgba(28, 27, 25, 0.98);
}

.mobile-menu.open { display: grid; }

.mobile-menu-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.mobile-menu a {
  color: var(--bg);
  font-family: var(--serif);
  font-size: 26px;
  text-decoration: none;
}

.menu-close {
  position: absolute;
  top: 20px;
  right: 22px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--bg);
  font-size: 34px;
  cursor: pointer;
}

.hero {
  min-height: 0;
  border-bottom: 1px solid var(--border);
}

.hero-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 580px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 104px 42px 42px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 780px;
  margin: 0 auto;
  font-family: var(--serif);
  font-size: clamp(38px, 4.5vw, 64px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.hero-lead {
  max-width: 680px;
  margin: 30px auto 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 2;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 38px;
}

.hero-visual {
  position: relative;
  width: 100%;
  min-height: 390px;
  margin-top: 58px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--dark);
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.hero-visual::after {
  position: absolute;
  inset: 38% 0 0;
  content: "";
  background: linear-gradient(transparent, rgba(15, 14, 13, 0.84));
  pointer-events: none;
}

.hero-visual figcaption {
  position: absolute;
  z-index: 1;
  right: 34px;
  bottom: 30px;
  left: 34px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  text-align: left;
}

.hero-visual-copy strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 600;
  line-height: 1.4;
}

.hero-visual-copy span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,0.78);
  font-size: 11px;
  line-height: 1.7;
}

.hero-visual-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 430px;
}

.hero-visual-tags span {
  padding: 9px 12px;
  border: 1px solid rgba(255,255,255,0.48);
  background: rgba(20,19,17,0.26);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  backdrop-filter: blur(5px);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--text);
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
}

.button.primary,
.button:hover {
  background: var(--text);
  color: var(--bg);
}

.hero-side {
  padding: 40px 42px 46px;
  border-top: 1px solid var(--border);
  background: var(--paper);
  text-align: center;
}

.hero-side-label {
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 960px;
  margin: 0 auto;
}

.hero-fact {
  min-height: 112px;
  padding: 18px 28px 0;
  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);
}

.hero-fact:last-child { border-right: 0; }

.hero-fact strong {
  display: block;
  margin-bottom: 7px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
}

.hero-fact span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.visual-break {
  padding: 110px 42px;
  background: var(--bg);
}

.visual-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(320px, 0.82fr);
  max-width: 1180px;
  min-height: 480px;
  margin: 0 auto;
  border: 1px solid var(--border);
  background: var(--paper);
}

.visual-feature.reverse {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
}

.visual-feature.reverse .visual-media { order: 2; }

.visual-media {
  position: relative;
  min-height: 480px;
  overflow: hidden;
  background: #ded8cf;
}

.visual-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visual-media::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 34%;
  content: "";
  background: linear-gradient(transparent, rgba(18, 17, 15, 0.62));
  pointer-events: none;
}

.visual-caption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 20px;
  left: 24px;
  color: #fff;
  font-size: 11px;
  line-height: 1.7;
  text-align: left;
}

.visual-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 54px 48px;
}

.visual-copy .section-kicker { margin-bottom: 18px; }

.visual-copy h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.3vw, 42px);
  font-weight: 600;
  line-height: 1.45;
}

.visual-copy > p {
  margin-top: 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.95;
}

.visual-list {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  list-style: none;
}

.visual-list li {
  position: relative;
  padding: 14px 14px 14px 38px;
  border-top: 1px solid var(--border);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}

.visual-list li::before {
  position: absolute;
  top: 15px;
  left: 8px;
  content: "✓";
  color: var(--accent);
}

.image-showcase {
  padding: 0 42px 110px;
}

.image-showcase-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.image-showcase-head {
  max-width: 760px;
  margin: 0 auto 38px;
  text-align: center;
}

.image-showcase-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 600;
  line-height: 1.45;
}

.image-showcase-head p:last-child {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.image-showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.image-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: var(--dark);
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.image-card:hover img { transform: scale(1.025); }

.image-card figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 58px 22px 20px;
  background: linear-gradient(transparent, rgba(18, 17, 15, 0.82));
  color: #fff;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
}

.section {
  padding: 110px 42px;
}

.section.dark {
  background: var(--dark);
  color: var(--bg);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  margin-bottom: 58px;
  text-align: center;
}

.section-kicker {
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.42;
}

.section-intro {
  max-width: 720px;
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 2;
}

.dark .section-intro { color: rgba(245, 242, 237, 0.72); }

.fit-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.fit-card,
.service-card {
  min-height: 220px;
  padding: 30px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.card-num,
.step-num {
  display: block;
  margin-bottom: 34px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 12px;
  font-feature-settings: "tnum";
  font-weight: 500;
}

.fit-card h3,
.service-card h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.5;
}

.fit-card p,
.service-card p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.dark .service-grid {
  border-color: rgba(255,255,255,0.18);
}

.dark .service-card {
  border-color: rgba(255,255,255,0.18);
}

.dark .service-card p { color: rgba(245, 242, 237, 0.7); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}

.visual-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 46px;
  border: 1px solid var(--border);
  background: var(--paper);
}

.flow-item {
  position: relative;
  min-height: 128px;
  padding: 26px 30px 24px;
  border-right: 1px solid var(--border);
}

.flow-item:last-child { border-right: 0; }

.flow-item:not(:last-child)::after {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: -13px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--paper);
  content: "→";
  color: var(--accent);
  font-family: var(--sans);
  font-size: 13px;
  transform: translateY(-50%);
}

.flow-item span {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 11px;
  font-feature-settings: "tnum";
  font-weight: 600;
  letter-spacing: 0.12em;
}

.flow-item strong {
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}

.flow-item p {
  margin-top: 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.step {
  min-height: 230px;
  padding: 30px 28px;
  border-right: 1px solid var(--border);
}

.step:last-child { border-right: 0; }

.step h3 {
  margin-bottom: 12px;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
}

.step p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.note-box {
  margin-top: 46px;
  padding: 28px 30px;
  border-left: 3px solid var(--accent);
  background: var(--paper);
}

.note-box strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 18px;
}

.note-box p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.85;
}

.faq-list { border-top: 1px solid var(--border); }

.faq-list {
  max-width: 920px;
  margin: 0 auto;
}

.faq-item { border-bottom: 1px solid var(--border); }

.faq-question {
  position: relative;
  width: 100%;
  padding: 24px 46px 24px 4px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-question::after {
  position: absolute;
  top: 50%;
  right: 6px;
  content: "+";
  color: var(--accent);
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 300;
  transform: translateY(-50%);
}

.faq-item.open .faq-question::after { content: "−"; }

.faq-answer {
  display: none;
  max-width: 780px;
  padding: 0 4px 26px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.faq-item.open .faq-answer { display: block; }

.cta {
  padding: 100px 42px;
  background: var(--accent);
  color: #fff;
  text-align: center;
}

.cta h2 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.4;
}

.cta p {
  max-width: 680px;
  margin: 18px auto 30px;
  color: rgba(255,255,255,0.82);
  font-size: 14px;
  line-height: 1.9;
}

.cta .button {
  border-color: #fff;
  color: #fff;
}

.cta .button:hover {
  background: #fff;
  color: var(--accent);
}

.other-services {
  padding: 70px 42px;
  border-bottom: 1px solid var(--border);
}

.other-grid {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.other-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 112px;
  padding: 26px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1264px;
  margin: 0 auto;
  padding: 32px 42px;
  color: var(--muted);
  font-size: 12px;
}

.site-footer a { text-decoration: none; }

@media (max-width: 1100px) and (min-width: 801px) {
  .site-header { padding: 0 24px; }
  .desktop-nav { gap: 16px; }
  .desktop-nav a { font-size: 11px; }
}

@media (max-width: 800px) {
  .site-header { padding: 0 24px; }
  .desktop-nav { display: none; }
  .menu-button { display: block; }
  .hero-main { min-height: 520px; padding: 90px 28px 70px; }
  .hero-visual { min-height: 330px; }
  .hero-visual img { min-height: 330px; }
  .hero-visual figcaption {
    right: 24px;
    bottom: 22px;
    left: 24px;
    display: block;
    text-align: center;
  }
  .hero-visual-tags {
    justify-content: center;
    max-width: none;
    margin-top: 16px;
  }
  .hero-facts { grid-template-columns: 1fr; max-width: 520px; }
  .hero-fact {
    min-height: 0;
    padding: 20px 12px;
    border-right: 0;
  }
  .section { padding: 80px 28px; }
  .visual-break { padding: 80px 28px; }
  .visual-feature,
  .visual-feature.reverse {
    grid-template-columns: 1fr;
  }
  .visual-feature.reverse .visual-media { order: 0; }
  .visual-media { min-height: 360px; }
  .visual-copy { padding: 44px 36px; text-align: center; }
  .visual-list { text-align: left; }
  .image-showcase { padding: 0 28px 80px; }
  .image-showcase-grid { grid-template-columns: 1fr 1fr; }
  .image-card:last-child { grid-column: 1 / -1; min-height: 360px; }
  .fit-grid,
  .service-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .visual-flow { grid-template-columns: 1fr 1fr; }
  .flow-item:nth-child(2) { border-right: 0; }
  .flow-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .flow-item:nth-child(2)::after { display: none; }
  .step { border-bottom: 1px solid var(--border); }
  .other-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .site-header { min-height: 60px; padding: 0 18px; }
  .brand { font-size: 17px; }
  .hero { min-height: 0; }
  .hero-main { min-height: 0; padding: 72px 18px 54px; }
  .hero h1 { font-size: 34px; line-height: 1.35; }
  .hero-lead { margin-top: 22px; font-size: 13px; line-height: 1.85; }
  .hero-actions { margin-top: 28px; }
  .hero-visual {
    min-height: 300px;
    margin-top: 38px;
  }
  .hero-visual img { min-height: 300px; }
  .hero-visual figcaption {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }
  .hero-visual-copy strong { font-size: 23px; }
  .hero-visual-tags span { padding: 7px 9px; font-size: 9px; }
  .button { width: 100%; }
  .hero-side { padding: 34px 18px 38px; }
  .visual-break { padding: 58px 18px; }
  .visual-media { min-height: 260px; }
  .visual-copy { padding: 36px 24px; }
  .visual-copy h2 { font-size: 28px; }
  .image-showcase { padding: 0 18px 58px; }
  .image-showcase-head { margin-bottom: 26px; }
  .image-showcase-grid { grid-template-columns: 1fr; }
  .image-card,
  .image-card:last-child { grid-column: auto; min-height: 280px; }
  .section { padding: 58px 18px; }
  .section-head { margin-bottom: 30px; }
  .section-title { font-size: 28px; }
  .section-intro { font-size: 13px; line-height: 1.85; }
  .fit-grid,
  .service-grid,
  .steps,
  .visual-flow { grid-template-columns: 1fr; }
  .flow-item,
  .flow-item:nth-child(2) {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }
  .flow-item:last-child { border-bottom: 0; }
  .flow-item:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -13px;
    left: 50%;
    content: "↓";
    transform: translateX(-50%);
  }
  .flow-item:nth-child(2)::after { display: grid; }
  .fit-card,
  .service-card,
  .step { min-height: 0; padding: 24px 20px; }
  .step { border-right: 0; }
  .card-num,
  .step-num { margin-bottom: 20px; }
  .cta { padding: 60px 18px; }
  .other-services { padding: 46px 18px; }
  .site-footer { flex-direction: column; padding: 26px 18px; }
}
