:root {
  --navy-900: #0f2038;
  --navy-700: #1b3557;
  --navy-500: #35567f;
  --green-600: #2a7a4b;
  --green-500: #36935c;
  --green-100: #e3f2e9;
  --cream: #f7f6f1;
  --paper: #ffffff;
  --ink: #1c2430;
  --muted: #5b6676;
  --line: #dfe3e8;
  --warn-bg: #fff6e5;
  --warn-line: #e8c47a;
  --radius: 14px;
  --serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  --sans: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --shadow: 0 1px 2px rgba(15, 32, 56, 0.06), 0 8px 24px rgba(15, 32, 56, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
.icon { height: 1em; display: inline-block; vertical-align: -0.125em; fill: currentColor; flex: none; overflow: visible; }
a { color: var(--green-600); text-underline-offset: 3px; }
a:hover { color: var(--navy-700); }
:focus-visible { outline: 3px solid var(--green-500); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 760px; }

.skip { position: absolute; left: -999px; top: 0; background: var(--navy-900); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }

/* header */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy-900); font-family: var(--serif); font-weight: 700; font-size: 18px; line-height: 1.3; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--navy-900); color: #fff; display: grid; place-items: center; font-size: 16px; flex: none; }
.brand small { display: block; font-family: var(--sans); font-weight: 500; font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { white-space: nowrap; padding: 10px 14px; text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { background: var(--cream); }
.nav a[aria-current="page"] { color: var(--green-600); font-weight: 700; }
.nav .btn-nav { background: var(--green-600); color: #fff; margin-left: 6px; }
.nav .btn-nav:hover { background: var(--navy-700); color: #fff; }

@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }
  .nav { width: 100%; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { white-space: nowrap; padding: 10px 12px; }
}
@media (max-width: 600px) {
  .nav { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
}

/* hero */
.hero { background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-700) 100%); color: #fff; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle at 85% 20%, rgba(54,147,92,0.28), transparent 45%), repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 22px); pointer-events: none; }
.hero-inner { position: relative; padding-top: 72px; padding-bottom: 56px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 0.08em; color: #bfe3cd; border: 1px solid rgba(191,227,205,0.4); padding: 4px 12px; border-radius: 999px; margin: 0 0 20px; }
.hero h1 { word-break: auto-phrase; font-family: var(--serif); font-weight: 700; font-size: clamp(32px, 6vw, 56px); line-height: 1.3; margin: 0 0 20px; letter-spacing: 0.01em; }
.hero h1 em { font-style: normal; color: #9fdcb8; }
.hero .lead { font-size: clamp(16px, 2vw, 18px); max-width: 640px; color: #dce6f2; margin: 0 0 32px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: 10px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green-600); color: #fff; }
.btn-primary:hover { background: var(--navy-700); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-solid { background: var(--navy-900); color: #fff; }
.btn-solid:hover { background: var(--navy-700); color: #fff; }

/* baseline figure */
.baseline { position: relative; margin-top: 52px; padding: 28px 24px 20px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius); }
.baseline h2 { font-family: var(--sans); font-size: 14px; font-weight: 500; color: #bfe3cd; letter-spacing: 0.06em; margin: 0 0 18px; }
.bases { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; counter-reset: base; }
.bases::before { content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 21px; height: 3px; background: linear-gradient(90deg, var(--green-500), #9fdcb8); transform-origin: left; animation: draw 1.1s .3s ease-out both; border-radius: 2px; }
.bases li { position: relative; text-align: center; padding: 0 8px; animation: pop .5s ease-out both; }
.bases li:nth-child(1) { animation-delay: .2s; }
.bases li:nth-child(2) { animation-delay: .5s; }
.bases li:nth-child(3) { animation-delay: .8s; }
.bases li:nth-child(4) { animation-delay: 1.1s; }
.base-mark { width: 44px; height: 44px; margin: 0 auto 14px; display: grid; place-items: center; position: relative; }
.base-mark::before { content: ""; position: absolute; inset: 6px; background: var(--paper); transform: rotate(45deg); border-radius: 5px; box-shadow: 0 0 0 3px var(--green-500); }
.base-mark span { position: relative; font-weight: 700; font-size: 12px; color: var(--navy-900); }
.base-level { font-family: var(--serif); font-weight: 700; font-size: 22px; line-height: 1.2; }
.base-label { font-size: 13px; color: #cfdbea; margin-top: 4px; line-height: 1.6; }
.baseline-note { font-size: 12px; color: #a9b9cc; margin: 18px 0 0; }
.baseline-note a { color: #bfe3cd; }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes pop { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) {
  .bases { grid-template-columns: 1fr; gap: 18px; }
  .bases::before { left: 21px; right: auto; top: 22px; bottom: 22px; width: 3px; height: auto; transform-origin: top; animation-name: drawv; }
  .bases li { display: grid; grid-template-columns: 44px 1fr; text-align: left; gap: 0 16px; align-items: center; }
  .base-mark { margin: 0; grid-row: span 2; }
  @keyframes drawv { from { transform: scaleY(0); } to { transform: scaleY(1); } }
}
@media (prefers-reduced-motion: reduce) {
  .bases::before, .bases li { animation: none; }
  html { scroll-behavior: auto; }
  .btn:hover { transform: none; }
}

/* sections */
.section { padding-top: 64px; padding-bottom: 64px; }
.section-alt { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section h2 { font-family: var(--serif); font-size: clamp(24px, 3.4vw, 32px); line-height: 1.4; color: var(--navy-900); margin: 0 0 12px; }
.section .sub { color: var(--muted); margin: 0 0 32px; max-width: 680px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 860px) { .grid-3 { grid-template-columns: 1fr; } .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { font-family: var(--serif); font-size: 19px; line-height: 1.5; margin: 12px 0 8px; color: var(--navy-900); }
.card p { margin: 0; color: #3d4757; font-size: 15px; }
.icon-chip { width: 44px; height: 44px; border-radius: 12px; background: var(--green-100); color: var(--green-600); display: grid; place-items: center; font-size: 19px; }

.article-card { display: flex; flex-direction: column; text-decoration: none; color: inherit; height: 100%; transition: transform .15s ease, box-shadow .15s ease; }
.article-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(15,32,56,.08), 0 14px 30px rgba(15,32,56,.1); color: inherit; }
.article-card .meta { font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.article-card h3 { margin-top: 8px; }
.article-card .more { margin-top: auto; padding-top: 16px; color: var(--green-600); font-weight: 700; font-size: 14px; display: inline-flex; gap: 8px; align-items: center; }
@media (prefers-reduced-motion: reduce) { .article-card:hover { transform: none; } }

.notice { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: var(--radius); padding: 20px 22px; font-size: 15px; }
.notice strong { color: #7a4d00; }
.notice p { margin: 0 0 8px; } .notice p:last-child { margin: 0; }

.cta-band { background: var(--navy-900); color: #fff; border-radius: 20px; padding: 40px 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.cta-band h2 { color: #fff; margin: 0 0 6px; font-size: 24px; }
.cta-band p { margin: 0; color: #cfdbea; }

/* article */
.page-head { background: var(--paper); border-bottom: 1px solid var(--line); padding-top: 40px; padding-bottom: 32px; }
.crumbs { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.crumbs a { color: var(--muted); } .crumbs span[aria-hidden] { margin: 0 6px; }
.page-head h1 { word-break: auto-phrase; font-family: var(--serif); font-size: clamp(26px, 4.4vw, 38px); line-height: 1.45; color: var(--navy-900); margin: 0 0 12px; }
.page-head .lead { color: #3d4757; margin: 0 0 12px; }
.byline { font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; }

.article { padding-top: 40px; padding-bottom: 24px; }
.article h2 { font-family: var(--serif); font-size: 24px; line-height: 1.5; color: var(--navy-900); margin: 48px 0 14px; padding-left: 14px; border-left: 5px solid var(--green-500); }
.article h3 { font-family: var(--serif); font-size: 19px; margin: 32px 0 10px; color: var(--navy-700); }
.article p { margin: 0 0 18px; }
.article ul, .article ol { padding-left: 1.4em; margin: 0 0 20px; } .article li { margin-bottom: 6px; }
.article table { width: 100%; border-collapse: collapse; margin: 8px 0 24px; font-size: 15px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: block; overflow-x: auto; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; min-width: 120px; }
.article th { background: var(--navy-900); color: #fff; font-weight: 500; white-space: nowrap; }
.article tbody tr:nth-child(even) { background: #fafbfc; }
.article strong { background: linear-gradient(transparent 62%, #d4ecdc 62%); }
.toc { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 32px; font-size: 15px; }
.toc-title { font-weight: 700; color: var(--navy-900); margin: 0 0 6px; }
.toc ul { margin: 0; padding-left: 1.2em; } .toc li { margin: 4px 0; }
.article-aside { margin-top: 40px; }
.related { margin: 40px 0 0; }
.related h2 { border: none; padding: 0; font-size: 20px; margin: 0 0 14px; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.related a { display: flex; align-items: center; gap: 10px; padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 10px; text-decoration: none; font-weight: 500; min-height: 48px; }
.related a:hover { border-color: var(--green-500); }
.disclaimer { font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); margin-top: 40px; padding-top: 16px; }

/* faq */
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 700; color: var(--navy-900); list-style: none; display: flex; justify-content: space-between; gap: 12px; align-items: center; min-height: 48px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--green-600); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq .answer { padding: 0 0 18px; color: #333c4a; }
.faq .answer p { margin: 0 0 10px; }

/* footer */
.site-footer { background: var(--navy-900); color: #cfdbea; padding-top: 48px; padding-bottom: 28px; margin-top: 64px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 { font-size: 14px; color: #fff; margin: 0 0 10px; font-family: var(--sans); }
.site-footer ul { list-style: none; padding: 0; margin: 0; } .site-footer li { margin-bottom: 4px; }
.site-footer a { color: #cfdbea; display: inline-block; padding: 6px 0; } .site-footer a:hover { color: #fff; }
.footer-note { border-top: 1px solid rgba(255,255,255,0.15); margin-top: 28px; padding-top: 18px; font-size: 12px; color: #9fb0c6; }
.footer-brand { font-family: var(--serif); font-size: 18px; color: #fff; margin: 0 0 8px; }

/* ---- service page ---- */
.toc-mini { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 0; padding: 0; }
.toc-mini a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); font-size: 14px; text-decoration: none; color: var(--navy-700); }
.toc-mini a:hover { border-color: var(--green-500); color: var(--green-600, var(--navy-900)); }
.split, .feature { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; margin-top: 24px; }
.feature { margin-top: 36px; }
.split h3, .feature h3 { font-family: var(--serif); font-size: 20px; color: var(--navy-900); margin: 0 0 8px; }
.shot { margin: 0; }
.shot img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.shot figcaption { margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.shot figcaption strong { color: var(--navy-900); }
.card-shot { background: var(--paper); }
.svc-table { overflow-x: auto; margin: 16px 0 8px; }
.svc-table table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--paper); border: 1px solid var(--line); }
.svc-table th, .svc-table td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.7; }
.svc-table thead th { background: var(--navy-900); color: #fff; white-space: nowrap; }
.svc-table tbody th { width: 9em; background: #f3f0e8; color: var(--navy-900); white-space: nowrap; }
.note-small { font-size: 13px; color: var(--muted); margin: 4px 0 16px; }
.flow-list { list-style: none; counter-reset: step; margin: 20px 0; padding: 0; }
.flow-list li { counter-increment: step; position: relative; padding: 4px 0 18px 52px; }
.flow-list li::before { content: counter(step); position: absolute; left: 0; top: 2px; width: 34px; height: 34px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; font-weight: 700; }
@media (max-width: 760px) {
  .split, .feature { grid-template-columns: 1fr; gap: 16px; }
  .svc-table th, .svc-table td { padding: 10px; font-size: 14px; }
}
.wrap.section { padding-left: 20px; padding-right: 20px; }

/* ---- v2: business-facing ---- */
.fact-strip { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 36px 0 0; padding: 0; }
.fact-strip li { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18); border-radius: 12px; padding: 14px 16px; }
.fact-strip strong { display: block; font-family: var(--serif); font-size: 20px; color: #fff; }
.fact-strip span { font-size: 13px; color: #cfdbea; }
.hero-band .hero-inner { padding-top: 48px; padding-bottom: 40px; }
.hero-band .baseline { margin-top: 28px; }
.band-title { font-family: var(--serif); font-size: clamp(22px, 3.4vw, 30px); margin: 0 0 12px; color: #fff; }
.card-link { display: block; text-decoration: none; color: inherit; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.card-link:hover { transform: translateY(-2px); border-color: var(--green-500); }
.card-link .more { margin-top: 14px; font-weight: 700; color: var(--green-600); font-size: 14px; }
.soon-box { display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; padding: 16px 18px; border: 1px dashed var(--line); border-radius: var(--radius); background: var(--paper); }
.soon-box p { margin: 4px 0 0; font-size: 14px; color: #3d4757; }
.badge-soon { flex: none; background: #fff3d6; color: #7a4d00; border: 1px solid #f0d58a; border-radius: 999px; padding: 2px 12px; font-size: 12px; font-weight: 700; margin-top: 2px; }
.subnav { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.subnav .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 8px; padding-bottom: 8px; }
.subnav a { flex: none; padding: 6px 14px; border-radius: 999px; font-size: 14px; text-decoration: none; color: var(--navy-700); border: 1px solid transparent; }
.subnav a:hover { border-color: var(--line); }
.subnav a[aria-current="page"] { background: var(--navy-900); color: #fff; }
.compare td:first-child { min-width: 11em; }
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.steps p { margin: 4px 0 0; font-size: 15px; color: #3d4757; }
.step-n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center; font-weight: 700; }
@media (max-width: 760px) {
  .fact-strip { grid-template-columns: repeat(2, 1fr); }
  .soon-box { flex-direction: column; }
}

/* contact form */
.contact-form{display:grid;gap:16px;margin-top:16px;position:relative}
.contact-form label{display:grid;gap:6px;font-weight:600;font-size:15px}
.contact-form input,.contact-form select,.contact-form textarea{font:inherit;font-weight:400;padding:12px 14px;border:1px solid #c9d2de;border-radius:10px;background:#fff;width:100%;box-sizing:border-box}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{outline:2px solid var(--green,#2f8f5b);outline-offset:1px}
.contact-form button{justify-self:start;border:0;cursor:pointer}
#cf-msg{margin:0;min-height:1.5em}
.svc-table + h2{margin-top:40px}
.asof{margin:0 0 24px;padding:12px 16px;font-size:14px}
.asof p{margin:0}
.review{background:#ffe066;color:#5a4300;font-size:12px;font-weight:700;padding:2px 6px;border-radius:4px;margin:0 4px;display:inline-block}
.contact-form .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.contact-form .field-error{color:#b42318;font-size:14px;font-weight:500}
.contact-form [aria-invalid="true"]{border-color:#b42318;background:#fff8f7}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
