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

:root {
  --navy: #1c2b45;
  --navy-deep: #10192a;
  --slate: #5b6572;
  --slate-light: #98a1ac;
  --gold: #b28a55;
  --gold-light: #d3b384;
  --bg: #f6f5f2;
  --bg-cool: #efece6;
  --white: #ffffff;
  --ink: #262b33;
  --line: #e3ded4;
  --shadow: 0 20px 50px -25px rgba(16, 25, 42, 0.28);
  --head: 'Shippori Mincho', serif;
  --sans: 'Noto Sans JP', 'Hiragino Sans', '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: 300;
  overflow-x: hidden;
}

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

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

h1, h2, h3, h4 { font-family: var(--head); font-weight: 600; letter-spacing: 0.02em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand { display: flex; align-items: baseline; gap: 12px; font-family: var(--head); }
.brand .mark { font-size: 21px; font-weight: 700; color: var(--navy); letter-spacing: 0.04em; }
.brand .sub { font-size: 10.5px; color: var(--slate-light); font-family: var(--sans); letter-spacing: 0.12em; }
.main-nav { display: flex; align-items: center; gap: 36px; }
.main-nav ul { display: flex; list-style: none; gap: 30px; }
.main-nav a { font-size: 13.5px; letter-spacing: 0.04em; color: var(--ink); position: relative; padding-bottom: 4px; }
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0; width: 0; height: 1.5px;
  background: var(--gold); transition: width .3s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { color: var(--navy); font-weight: 500; }
.nav-cta {
  background: var(--navy); color: var(--white) !important; padding: 12px 26px;
  border-radius: 2px; font-size: 12.5px; letter-spacing: 0.08em; transition: background .3s ease, transform .3s ease;
}
.nav-cta:hover { background: var(--gold); transform: translateY(-1px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 1.5px; background: var(--navy); display: block; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 88vh; min-height: 600px; display: flex; align-items: flex-end; color: var(--white); overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16,25,42,0.35) 0%, rgba(16,25,42,0.30) 40%, rgba(16,25,42,0.92) 100%);
}
.hero-content { position: relative; z-index: 1; padding-bottom: 86px; width: 100%; }
.hero-eyebrow { font-size: 12px; letter-spacing: 0.3em; color: var(--gold-light); margin-bottom: 22px; text-transform: uppercase; }
.hero h1 { font-size: clamp(26px, 4vw, 46px); line-height: 1.75; font-weight: 600; max-width: 760px; margin-bottom: 26px; }
.hero p { max-width: 500px; font-size: 14.5px; color: rgba(255,255,255,0.85); margin-bottom: 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.scroll-cue { position: absolute; right: 40px; bottom: 40px; z-index: 1; display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.7); font-size: 11px; letter-spacing: 0.15em; }
.scroll-cue .line { width: 1px; height: 50px; background: rgba(255,255,255,0.4); position: relative; overflow: hidden; }
.scroll-cue .line::after { content: ''; position: absolute; top: -50px; left: 0; width: 100%; height: 50px; background: var(--gold-light); animation: cueMove 2.2s infinite ease-in-out; }
@keyframes cueMove { to { top: 100px; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 32px; font-size: 13px; letter-spacing: 0.06em; border-radius: 2px; transition: all .3s ease; border: 1px solid transparent; }
.btn-primary { background: var(--gold); color: var(--white); font-weight: 500; }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,0.55); color: var(--white); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-dark { background: var(--navy); color: var(--white); }
.btn-dark:hover { background: var(--gold); }

/* ---------- Sections ---------- */
section { padding: 116px 0; position: relative; }
.section-alt { background: var(--white); }
.section-cool { background: var(--bg-cool); }
.section-navy { background: var(--navy); color: rgba(255,255,255,0.88); }
.section-navy h2 { color: var(--white); }

.section-head { max-width: 620px; margin-bottom: 60px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow { font-size: 12px; letter-spacing: 0.25em; color: var(--gold); text-transform: uppercase; margin-bottom: 18px; display: block; font-weight: 500; }
.section-head h2 { font-size: clamp(23px, 2.6vw, 34px); line-height: 1.7; margin-bottom: 20px; }
.section-head p { color: var(--slate); font-size: 14.5px; }
.section-navy .section-head p { color: rgba(255,255,255,0.7); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.value-card { background: var(--white); border: 1px solid var(--line); padding: 42px 32px; transition: transform .35s ease, box-shadow .35s ease; }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.value-card .num { font-family: var(--head); font-size: 13px; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 20px; display: block; font-weight: 700; }
.value-card h3 { font-size: 18px; margin-bottom: 14px; color: var(--navy); }
.value-card p { font-size: 13.5px; color: var(--slate); }

.service-card { background: var(--white); border: 1px solid var(--line); overflow: hidden; transition: box-shadow .35s ease, transform .35s ease; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.service-card img { height: 190px; width: 100%; object-fit: cover; }
.service-card .body { padding: 28px 26px; }
.service-card .num { font-family: var(--head); color: var(--gold); font-size: 13px; letter-spacing: 0.1em; margin-bottom: 12px; display: block; }
.service-card h3 { font-size: 17px; color: var(--navy); margin-bottom: 12px; }
.service-card p { font-size: 13.5px; color: var(--slate); margin-bottom: 16px; }
.service-card a { font-size: 12.5px; color: var(--gold); letter-spacing: 0.05em; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 68px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split.reverse .split-copy { order: 1; }
.split-media img { width: 100%; height: 440px; object-fit: cover; }
.split-copy .eyebrow { margin-bottom: 16px; }
.split-copy h2 { font-size: clamp(21px, 2.3vw, 27px); margin-bottom: 22px; line-height: 1.75; }
.split-copy p { color: var(--slate); font-size: 14.5px; margin-bottom: 18px; }
.split-copy ul { margin-top: 24px; }
.split-copy li { padding: 14px 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink); display: flex; gap: 12px; }
.split-copy li span.tag { color: var(--gold); font-family: var(--head); flex-shrink: 0; font-weight: 700; }

/* ---------- Stats ---------- */
.stat-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,0.15); border-bottom: 1px solid rgba(255,255,255,0.15); }
.stat-item { padding: 40px 20px; text-align: center; border-left: 1px solid rgba(255,255,255,0.15); }
.stat-item:first-child { border-left: none; }
.stat-num { font-family: var(--head); font-size: 36px; color: var(--gold-light); display: block; margin-bottom: 10px; font-weight: 700; }
.stat-label { font-size: 12px; letter-spacing: 0.05em; color: rgba(255,255,255,0.65); }

/* ---------- Testimonials ---------- */
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.testi-card { background: var(--white); padding: 36px 30px; border: 1px solid var(--line); position: relative; }
.testi-card::before { content: '"'; font-family: var(--head); font-size: 56px; color: var(--line); position: absolute; top: 0px; right: 20px; line-height: 1; }
.testi-card p { font-size: 13.5px; color: var(--ink); margin-bottom: 24px; position: relative; z-index: 1; }
.testi-who { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: var(--gold-light);
  display: flex; align-items: center; justify-content: center; font-family: var(--head); font-size: 14px; font-weight: 700; flex-shrink: 0;
}
.testi-name { font-size: 12.5px; color: var(--ink); font-weight: 500; }
.testi-tag { font-size: 11px; color: var(--slate-light); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--white); padding: 88px 0; text-align: center; }
.cta-band h2 { color: var(--white); font-size: clamp(23px, 3vw, 32px); margin-bottom: 20px; }
.cta-band p { color: rgba(255,255,255,0.7); margin-bottom: 36px; font-size: 14px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,0.6); padding: 78px 0 28px; font-size: 13px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .mark { font-family: var(--head); font-size: 19px; color: var(--white); margin-bottom: 14px; display:block; font-weight: 700; }
.footer-brand p { max-width: 280px; color: rgba(255,255,255,0.5); font-size: 12.5px; }
.footer-col h4 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.1em; color: var(--gold-light); margin-bottom: 20px; font-weight: 500; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; font-size: 11.5px; color: rgba(255,255,255,0.4); flex-wrap: wrap; gap: 12px; }
.footer-note { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); padding: 14px 20px; font-size: 11.5px; color: rgba(255,255,255,0.55); margin-top: 30px; border-radius: 3px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; height: 300px; display: flex; align-items: center; color: var(--white); margin-top: 84px; overflow: hidden; }
.page-hero .hero-media::after { background: linear-gradient(120deg, rgba(16,25,42,0.82), rgba(16,25,42,0.6)); }
.page-hero h1 { font-size: clamp(23px, 3vw, 38px); }
.breadcrumb { font-size: 12px; color: rgba(255,255,255,0.7); margin-top: 16px; letter-spacing: 0.05em; }
.breadcrumb a:hover { color: var(--gold-light); }
.page-hero-plain { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-deep) 100%); }
.page-hero-plain::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 85% 30%, rgba(178,138,85,0.25), transparent 55%);
}

/* ---------- Table ---------- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-top: 1px solid var(--line); }
.info-table tr:last-child { border-bottom: 1px solid var(--line); }
.info-table th, .info-table td { text-align: left; padding: 20px 24px; font-size: 14px; vertical-align: top; }
.info-table th { width: 210px; color: var(--slate); font-weight: 500; font-family: var(--head); letter-spacing: 0.02em; background: var(--bg-cool); }
.info-table td { color: var(--ink); }

.price-table { width: 100%; border-collapse: collapse; margin-top: 10px; }
.price-table th { text-align: left; padding: 16px 20px; font-size: 12px; letter-spacing: 0.08em; color: var(--slate); background: var(--bg-cool); font-weight: 500; }
.price-table td { padding: 20px; font-size: 14px; border-top: 1px solid var(--line); }
.price-table td.price { color: var(--navy); font-family: var(--head); font-weight: 700; font-size: 15px; white-space: nowrap; }
.price-table td.note { color: var(--slate-light); font-size: 12.5px; }

/* ---------- Timeline / Flow ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.step { padding: 32px 26px; border-left: 1px solid var(--line); position: relative; }
.step:first-child { border-left: none; }
.step .step-no { font-family: var(--head); font-size: 22px; color: var(--gold); margin-bottom: 14px; display: block; font-weight: 700; }
.step h4 { font-size: 15px; margin-bottom: 10px; color: var(--navy); }
.step p { font-size: 12.5px; color: var(--slate); }
.section-navy .step { border-left-color: rgba(255,255,255,0.15); }
.section-navy .step h4 { color: var(--white); }
.section-navy .step p { color: rgba(255,255,255,0.7); }

.timeline { position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before { content: ''; position: absolute; left: -40px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--gold); border: 3px solid var(--bg); }
.timeline-label { font-family: var(--head); color: var(--navy); font-size: 15px; margin-bottom: 6px; font-weight: 700; }
.timeline-item p { color: var(--slate); font-size: 13.5px; }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; background: none; border: none; padding: 26px 0; font-size: 15px; font-family: var(--sans); color: var(--ink); display: flex; justify-content: space-between; align-items: center; cursor: pointer; gap: 20px; }
.faq-q .qmark { font-family: var(--head); color: var(--gold); flex-shrink: 0; }
.faq-q .icon { font-family: var(--head); font-size: 20px; color: var(--gold); transition: transform .3s ease; flex-shrink: 0; }
.faq-item.open .faq-q .icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a p { padding-bottom: 26px; font-size: 13.5px; color: var(--slate); max-width: 640px; }

/* ---------- Contact form ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 60px; }
.contact-side h3 { color: var(--navy); font-size: 18px; margin-bottom: 20px; }
.contact-info-item { padding: 22px 0; border-top: 1px solid var(--line); }
.contact-info-item:last-child { border-bottom: 1px solid var(--line); }
.contact-info-item .label { font-size: 11px; letter-spacing: 0.1em; color: var(--gold); text-transform: uppercase; margin-bottom: 8px; display: block; }
.contact-info-item .val { font-size: 15px; color: var(--ink); }
.contact-info-item .val.phone { font-family: var(--head); font-size: 22px; color: var(--navy); font-weight: 700; }
.map-box { margin-top: 26px; border: 1px solid var(--line); height: 220px; overflow: hidden; }
.map-box iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.15) contrast(1.02); }

.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-size: 13px; color: var(--slate); margin-bottom: 8px; }
.form-row label .req { color: #a85c48; margin-left: 6px; font-size: 11px; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); background: var(--white);
  font-family: var(--sans); font-size: 14px; color: var(--ink); transition: border-color .3s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { outline: none; border-color: var(--gold); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form-row.full { grid-column: 1 / -1; }
.form-note { font-size: 11.5px; color: var(--slate-light); margin-top: -8px; margin-bottom: 22px; }
.form-submit { border: none; cursor: pointer; }
.form-success { display: none; background: var(--bg-cool); border: 1px solid var(--gold-light); padding: 30px; text-align: center; color: var(--navy); font-size: 14px; }
.form-success.show { display: block; }
.contact-form.hidden { display: none; }

/* ---------- Profile ---------- */
.profile-block { display: grid; grid-template-columns: 280px 1fr; gap: 56px; align-items: start; }
.profile-photo { width: 100%; height: 340px; object-fit: cover; border: 1px solid var(--line); }
.profile-copy h3 { font-size: 20px; color: var(--navy); margin-bottom: 6px; }
.profile-copy .role { font-size: 12.5px; color: var(--gold); letter-spacing: 0.06em; margin-bottom: 22px; display: block; }
.profile-copy p { font-size: 14px; color: var(--slate); margin-bottom: 16px; }

/* ---------- Misc ---------- */
.divider-label { display: flex; align-items: center; gap: 18px; margin-bottom: 30px; font-size: 12px; letter-spacing: 0.15em; color: var(--gold); }
.divider-label::after { content:''; flex:1; height:1px; background: var(--line); }
.tag-pill { display: inline-block; font-size: 11px; letter-spacing: 0.05em; color: var(--gold); border: 1px solid var(--gold); padding: 4px 12px; border-radius: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-3, .testi-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2, .split, .contact-layout, .profile-block { grid-template-columns: 1fr; gap: 34px; }
  .split.reverse .split-media, .split.reverse .split-copy { order: unset; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(3) { border-left: none; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: none; }
  .profile-photo { height: 300px; }
}
@media (max-width: 780px) {
  .main-nav ul, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .main-nav.open {
    position: fixed; top: 84px; left: 0; right: 0; bottom: 0; background: var(--white);
    display: flex; flex-direction: column; padding: 40px 32px; z-index: 199;
  }
  .main-nav.open ul { display: flex; flex-direction: column; gap: 26px; }
  .main-nav.open .nav-cta { display: inline-flex; margin-top: 30px; width: fit-content; }
  section { padding: 76px 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .steps, .grid-4 { grid-template-columns: 1fr; }
  .step { border-left: none; border-top: 1px solid var(--line); padding-left: 0; }
  .step:first-child { border-top: none; }
  .form-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
}
