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

:root {
  --ink: #24465b;
  --ink-dark: #173444;
  --orange: #e78a3c;
  --orange-dark: #c96820;
  --green: #7e9b73;
  --cream: #f7f3e8;
  --paper: #fffdf8;
  --brown: #493c32;
  --muted: #65737a;
  --line: #d8dfdc;
  --white: #fff;
  --shadow: 0 18px 50px rgba(26, 53, 66, .12);
  --radius: 26px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--brown);
  background: var(--paper);
  font-family: 'Noto Sans JP', system-ui, sans-serif;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #f6bb67; outline-offset: 3px; }

.skip-link {
  position: fixed; left: 12px; top: -80px; z-index: 999;
  padding: 12px 18px; background: var(--ink); color: white; border-radius: 8px;
}
.skip-link:focus { top: 12px; }
.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { width: min(calc(100% - 40px), 840px); margin-inline: auto; }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 253, 248, .94); border-bottom: 1px solid rgba(36, 70, 91, .1);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 84px; display: flex; align-items: center; gap: 26px; }
.brand { width: 244px; flex: 0 0 auto; }
.brand img { width: 100%; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 24px; font-size: 14px; font-weight: 600; color: var(--ink); }
.nav a:not(.button) { padding-block: 26px; border-bottom: 2px solid transparent; }
.nav a:not(.button):hover { border-color: var(--orange); }
.menu-button { display: none; margin-left: auto; border: 0; background: transparent; color: var(--ink); font-weight: 700; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 52px; padding: 12px 24px; border: 1px solid transparent; border-radius: 999px;
  background: var(--orange); color: #fff; font-weight: 700; line-height: 1.35;
  box-shadow: 0 10px 24px rgba(231, 138, 60, .23); transition: .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--orange-dark); }
.button-outline { background: transparent; color: var(--ink); border-color: rgba(36, 70, 91, .35); box-shadow: none; }
.button-outline:hover { background: var(--ink); color: white; }
.button-light { background: white; color: var(--ink); box-shadow: none; }
.button-small { min-height: 44px; padding: 9px 18px; font-size: 14px; }
.text-link { display: inline-flex; gap: 8px; align-items: center; color: var(--ink); font-weight: 700; border-bottom: 1px solid currentColor; }

.hero { position: relative; overflow: hidden; padding: 74px 0 86px; background: var(--cream); }
.hero::before {
  content: ''; position: absolute; width: 440px; height: 440px; left: -190px; top: -190px;
  border: 80px solid rgba(126, 155, 115, .13); border-radius: 50%;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr 1.08fr; gap: 52px; align-items: center; }
.eyebrow { margin: 0 0 14px; color: var(--orange-dark); font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; color: var(--ink); font-family: 'Kiwi Maru', serif; font-weight: 500; line-height: 1.48; }
h1 { margin-bottom: 24px; font-size: clamp(38px, 4vw, 50px); letter-spacing: .02em; }
h2 { margin-bottom: 18px; font-size: clamp(30px, 3.4vw, 46px); }
h3 { margin-bottom: 10px; font-size: 24px; }
.hero-copy { font-size: 17px; }
.hero-copy > p:not(.eyebrow) { max-width: 570px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-note { margin-top: 18px; color: var(--muted); font-size: 13px; }
.hero-media { position: relative; }
.hero-media::after { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 2px solid var(--green); border-radius: 150px 24px 24px 24px; z-index: 0; }
.hero-media img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 150px 24px 24px 24px; box-shadow: var(--shadow); }
.hero-badge { position: absolute; z-index: 2; left: -34px; bottom: 28px; width: 138px; aspect-ratio: 1; display: grid; place-items: center; text-align: center; border-radius: 50%; background: var(--ink); color: white; font-weight: 700; line-height: 1.5; border: 7px solid var(--cream); }

.quick-help { position: relative; z-index: 2; margin-top: -30px; }
.quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.quick-item { padding: 28px 32px; border-right: 1px solid var(--line); }
.quick-item:last-child { border: 0; }
.quick-item span { display: block; color: var(--orange-dark); font-size: 12px; font-weight: 700; letter-spacing: .1em; }
.quick-item strong { display: block; margin: 5px 0; color: var(--ink); font-size: 19px; }
.quick-item p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.section { padding: 108px 0; }
.section-compact { padding: 70px 0; }
.section-tint { background: var(--cream); }
.section-ink { background: var(--ink); color: white; }
.section-ink h2, .section-ink h3, .section-ink .eyebrow { color: white; }
.section-head { display: grid; grid-template-columns: .65fr 1.35fr; gap: 70px; align-items: end; margin-bottom: 48px; }
.section-head p { margin: 0; color: var(--muted); }
.section-ink .section-head p { color: rgba(255,255,255,.76); }

.worries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.worry { min-height: 220px; padding: 30px 26px; background: white; border: 1px solid var(--line); border-radius: 18px; }
.worry-number { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 28px; border-radius: 50%; background: var(--cream); color: var(--orange-dark); font-weight: 700; }
.worry p { margin: 0; font-size: 15px; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card { display: flex; flex-direction: column; overflow: hidden; background: white; border-radius: var(--radius); box-shadow: 0 8px 34px rgba(30, 54, 64, .08); }
.service-card img { width: 100%; aspect-ratio: 1.55; object-fit: cover; }
.service-body { display: flex; flex: 1; flex-direction: column; padding: 28px; }
.service-label { color: var(--orange-dark); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.service-body p { flex: 1; color: var(--muted); font-size: 14px; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.feature.reverse .feature-media { order: 2; }
.feature-media { position: relative; }
.feature-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 28px 90px 28px 28px; box-shadow: var(--shadow); }
.feature-list { padding: 0; list-style: none; }
.feature-list li { position: relative; margin: 12px 0; padding-left: 30px; }
.feature-list li::before { content: '●'; position: absolute; left: 0; top: 1px; color: var(--orange); font-size: 12px; }
.fact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 30px 0; }
.fact { padding: 18px 10px; text-align: center; border: 1px solid var(--line); border-radius: 14px; }
.fact strong { display: block; color: var(--ink); font-size: 23px; }
.fact span { color: var(--muted); font-size: 12px; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.story-card { display: grid; grid-template-columns: 180px 1fr; overflow: hidden; border-radius: 20px; background: rgba(255,255,255,.08); }
.story-card img { width: 100%; height: 100%; object-fit: cover; }
.story-copy { padding: 30px; }
.story-copy p { margin-bottom: 0; color: rgba(255,255,255,.76); font-size: 14px; }

.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.flow-item { position: relative; padding: 26px; border-top: 3px solid var(--orange); background: white; box-shadow: 0 8px 30px rgba(30,54,64,.07); }
.flow-item::before { counter-increment: step; content: '0' counter(step); display: block; color: var(--green); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.flow-item p { margin: 0; color: var(--muted); font-size: 14px; }

.cta { padding: 68px 0; background: var(--orange); color: white; }
.cta-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 40px; align-items: center; }
.cta h2 { color: white; margin-bottom: 10px; }
.cta p { margin: 0; }
.cta-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.phone-link { display: block; color: white; text-align: center; font-size: 28px; font-weight: 700; line-height: 1.25; }
.phone-link small { display: block; margin-top: 5px; font-size: 12px; font-weight: 500; }

.page-hero { padding: 76px 0; background: var(--cream); }
.page-hero-inner { display: grid; grid-template-columns: 1fr .8fr; gap: 50px; align-items: center; }
.page-hero h1 { font-size: clamp(38px, 5vw, 60px); }
.page-hero img { width: 100%; aspect-ratio: 1.45; object-fit: cover; border-radius: 90px 22px 22px 22px; box-shadow: var(--shadow); }
.breadcrumbs { margin-bottom: 20px; color: var(--muted); font-size: 12px; }
.breadcrumbs a { border-bottom: 1px solid currentColor; }

.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td { padding: 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.info-table th { width: 32%; color: var(--ink); font-weight: 700; }
.price-card { padding: 30px; background: var(--cream); border-radius: 20px; }
.price-card strong { color: var(--ink); font-size: 28px; }
.notice { padding: 22px 26px; border-left: 4px solid var(--orange); background: var(--cream); font-size: 14px; }

.faq details { margin-bottom: 12px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 14px; background: white; }
.faq summary { color: var(--ink); font-weight: 700; cursor: pointer; }
.faq details p { margin: 14px 0 0; color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; }
.contact-panel { align-self: start; padding: 30px; border-radius: 20px; background: var(--ink); color: white; }
.contact-panel h2, .contact-panel h3 { color: white; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field label { color: var(--ink); font-size: 14px; font-weight: 700; }
.required { color: #b84b28; font-size: 11px; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 16px; border: 1px solid #bec9c7; border-radius: 10px; background: white; }
.field textarea { min-height: 130px; resize: vertical; }
.honeypot { position: absolute; left: -9999px; }
.privacy-check { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0; font-size: 14px; }
.form-status { min-height: 1.8em; color: #a33b20; font-weight: 700; }
.form-status[data-success="true"] { color: #28703f; }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.blog-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: white; }
.blog-card time { color: var(--green); font-size: 12px; font-weight: 700; }
.blog-card p { color: var(--muted); font-size: 14px; }

.site-footer { padding: 70px 0 100px; background: #173444; color: rgba(255,255,255,.76); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 50px; }
.footer-logo { width: 250px; margin-bottom: 22px; padding: 10px; border-radius: 8px; background: white; }
.footer-title { color: white; font-weight: 700; }
.footer-links { display: grid; gap: 9px; font-size: 14px; }
.footer-bottom { margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); font-size: 12px; }
.mobile-bar { display: none; }

[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal][data-visible="true"] { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .header-inner { min-height: 72px; }
  .brand { width: 210px; }
  .menu-button { display: block; }
  .nav { display: none; position: absolute; inset: 72px 0 auto; margin: 0; padding: 18px 20px 26px; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav[data-open] { display: flex; }
  .nav a:not(.button) { padding: 12px 4px; }
  .hero-grid, .page-hero-inner, .feature, .contact-layout { grid-template-columns: 1fr; }
  .hero-media { max-width: 760px; }
  .quick-grid, .worries, .service-grid, .flow { grid-template-columns: 1fr 1fr; }
  .quick-item:nth-child(2) { border-right: 0; }
  .quick-item:last-child { grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .section-head { grid-template-columns: 1fr; gap: 10px; }
  .feature.reverse .feature-media { order: initial; }
  .story-grid { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { padding-bottom: 66px; }
  .container, .narrow { width: min(calc(100% - 28px), var(--max)); }
  .hero { padding: 42px 0 68px; }
  .hero-grid { gap: 46px; }
  .hero-media::after { inset: 10px -8px -10px 8px; border-radius: 70px 18px 18px 18px; }
  .hero-media img { border-radius: 70px 18px 18px 18px; }
  .hero-badge { left: -6px; bottom: -30px; width: 110px; border-width: 5px; font-size: 13px; }
  .hero-actions .button { width: 100%; }
  .quick-grid, .worries, .service-grid, .flow, .content-grid, .blog-grid, .form-grid, .fact-row { grid-template-columns: 1fr; }
  .quick-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-item:last-child { grid-column: auto; border-top: 0; border-bottom: 0; }
  .section { padding: 76px 0; }
  .section-compact { padding: 54px 0; }
  .feature { gap: 32px; }
  .story-card { grid-template-columns: 1fr; }
  .story-card img { aspect-ratio: 1.7; }
  .field-full { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .mobile-bar { position: fixed; display: grid; grid-template-columns: 1fr 1fr; inset: auto 0 0; z-index: 80; background: white; box-shadow: 0 -4px 20px rgba(23,52,68,.15); }
  .mobile-bar a { min-height: 66px; display: grid; place-items: center; text-align: center; color: var(--ink); font-weight: 700; }
  .mobile-bar a:last-child { background: var(--orange); color: white; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
