:root {
  --ink: #1f2a2e;
  --ink-soft: #4d5b60;
  --line: #dfe6e5;
  --bg: #ffffff;
  --bg-soft: #f4f8f7;
  --brand: #1d6b66;
  --brand-dark: #14504c;
  --brand-pale: #e3f0ee;
  --accent: #e08a3c;
  --accent-pale: #fdf1e6;
  --radius: 14px;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 72px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-text-size-adjust: 100%;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.45; margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }

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

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 30px; height: 30px; }
.logo-text { font-size: 20px; font-weight: 700; letter-spacing: 0.04em; }
.logo-sub { display: block; font-size: 11px; color: var(--ink-soft); font-weight: 500; line-height: 1.2; letter-spacing: 0.06em; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 500; }
.nav a:hover { color: var(--brand); }
.nav .btn { color: #fff; }
.nav-toggle { display: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; border: 0;
  background: var(--accent); color: #fff; font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; transition: transform .15s, background .15s;
}
.btn:hover { background: #c9762d; transform: translateY(-1px); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-ghost { background: transparent; color: var(--brand); border: 1.5px solid var(--brand); }
.btn-ghost:hover { background: var(--brand-pale); }

/* hero */
.hero { background: linear-gradient(160deg, var(--brand-pale) 0%, #fff 70%); padding: 72px 0 80px; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--brand); background: #fff; border: 1px solid var(--brand-pale); padding: 4px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero h1 { font-size: clamp(26px, 3.3vw, 40px); letter-spacing: 0.03em; }
.hero h1 em { font-style: normal; color: var(--brand); background: linear-gradient(transparent 68%, var(--accent-pale) 68%); }
.hero-lead { margin: 22px 0 30px; color: var(--ink-soft); font-size: 17px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero-note { font-size: 13px; color: var(--ink-soft); }
.hero-visual { position: relative; }
.hero-card { background: #fff; border-radius: 20px; box-shadow: 0 18px 40px rgba(29, 107, 102, 0.14); padding: 22px 20px; }
.hero-card h3 { font-size: 15px; color: var(--ink-soft); margin-bottom: 14px; font-weight: 500; }
.task { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: 14px; line-height: 1.5; }
.task:last-child { border-bottom: 0; }
.task .who { margin-left: auto; font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.who-us { background: var(--brand-pale); color: var(--brand-dark); }
.who-dr { background: var(--accent-pale); color: #a65a17; }
.check { width: 20px; height: 20px; flex: none; }

/* sections */
section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .label { display: block; font-size: 13px; font-weight: 700; color: var(--brand); letter-spacing: 0.16em; margin-bottom: 8px; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); }
.section-head p { margin: 14px auto 0; max-width: 640px; color: var(--ink-soft); }

/* worries */
.worries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.worry { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; }
.worry-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--accent-pale); display: grid; place-items: center; margin-bottom: 16px; }
.worry h3 { font-size: 18px; margin-bottom: 8px; }
.worry p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.answer { margin-top: 40px; text-align: center; font-size: clamp(18px, 2.2vw, 22px); font-weight: 700; }
.answer span { color: var(--brand); }

/* services */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.service { background: #fff; border-radius: var(--radius); padding: 34px 30px; border-top: 5px solid var(--brand); box-shadow: 0 4px 18px rgba(31, 42, 46, 0.06); }
.service.alt { border-top-color: var(--accent); }
.service h3 { font-size: 21px; margin-bottom: 6px; }
.service .sub { color: var(--ink-soft); font-size: 14px; margin-bottom: 18px; }
.service ul { list-style: none; padding: 0; margin: 0; }
.service li { position: relative; padding: 7px 0 7px 28px; border-bottom: 1px solid var(--line); font-size: 15px; }
.service li:last-child { border-bottom: 0; }
.service li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 14px; height: 8px; border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
.service.alt li::before { border-color: var(--accent); }

.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 28px; }
.point { display: flex; gap: 14px; align-items: flex-start; background: var(--brand-pale); border-radius: var(--radius); padding: 20px; }
.point b { display: block; font-size: 16px; margin-bottom: 2px; }
.point p { margin: 0; font-size: 14px; color: var(--ink-soft); }
.point-num { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 15px; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 26px; display: flex; flex-direction: column; }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 12px 30px rgba(29, 107, 102, 0.13); }
.plan .tag { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 14px; border-radius: 999px; white-space: nowrap; }
.plan h3 { font-size: 18px; }
.plan .price { margin: 12px 0 4px; font-size: 15px; color: var(--ink-soft); }
.plan .price strong { font-size: 36px; color: var(--ink); font-family: "Inter", sans-serif; letter-spacing: 0; }
.plan .price small { font-size: 13px; }
.plan .desc { font-size: 14px; color: var(--ink-soft); margin: 10px 0 0; }
.plans-sub { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.plan-wide { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.plan-wide h3 { font-size: 17px; }
.plan-wide p { margin: 2px 0 0; font-size: 14px; color: var(--ink-soft); }
.plan-wide .price { white-space: nowrap; font-size: 14px; color: var(--ink-soft); text-align: right; }
.plan-wide .price strong { font-size: 28px; color: var(--ink); font-family: "Inter", sans-serif; }
.price-note { margin-top: 22px; font-size: 13px; color: var(--ink-soft); text-align: center; }

.scope { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 48px; }
.scope-box { border-radius: var(--radius); padding: 26px 26px 18px; }
.scope-box.yes { background: var(--brand-pale); }
.scope-box.no { background: #f6f6f4; }
.scope-box h3 { font-size: 17px; margin-bottom: 12px; }
.scope-box ul { margin: 0 0 8px; padding-left: 1.2em; font-size: 15px; }
.scope-box li { margin-bottom: 4px; }
.scope-box .small { font-size: 13px; color: var(--ink-soft); }

/* flow */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 26px 20px 22px; border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "STEP " counter(step); display: block; font-family: "Inter", sans-serif; font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 6px; }
.step h3 { font-size: 17px; margin-bottom: 6px; }
.step p { font-size: 14px; color: var(--ink-soft); margin: 0; }
.step:not(:last-child)::after { content: ""; position: absolute; right: -12px; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--brand); border-right: 2px solid var(--brand); transform: translateY(-50%) rotate(45deg); }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 54px; position: relative; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; position: absolute; left: 20px; top: 16px; font-family: "Inter", sans-serif; color: var(--brand); font-size: 18px; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 24px; width: 9px; height: 9px; border-right: 2px solid var(--ink-soft); border-bottom: 2px solid var(--ink-soft); transform: rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq .a { padding: 0 24px 18px 54px; position: relative; color: var(--ink-soft); }
.faq .a::before { content: "A"; position: absolute; left: 20px; top: -2px; font-family: "Inter", sans-serif; font-weight: 700; color: var(--accent); font-size: 18px; }
.faq .a p { margin: 0; }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.message h3 { font-size: 22px; margin-bottom: 18px; }
.message p { color: var(--ink-soft); }
.company { width: 100%; border-collapse: collapse; font-size: 15px; background: #fff; border-radius: var(--radius); overflow: hidden; }
.company th, .company td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.company th { width: 30%; background: var(--bg-soft); font-weight: 700; white-space: nowrap; }
.company tr:last-child th, .company tr:last-child td { border-bottom: 0; }

/* contact */
.contact-wrap { max-width: 760px; margin: 0 auto; background: #fff; border-radius: 20px; padding: 40px; box-shadow: 0 8px 30px rgba(31, 42, 46, 0.07); }
.form-row { margin-bottom: 22px; }
.form-row > label, .form-row > .label-text { display: block; font-weight: 700; font-size: 15px; margin-bottom: 8px; }
.req, .opt { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 4px; margin-left: 8px; vertical-align: 2px; }
.req { background: var(--accent); color: #fff; }
.opt { background: var(--line); color: var(--ink-soft); }
input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: 16px; color: var(--ink); background: #fbfcfc;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); background: #fff; }
textarea { min-height: 140px; resize: vertical; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choices label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 15px; background: #fbfcfc; }
.choices input { accent-color: var(--brand); width: 17px; height: 17px; margin: 0; }
.choices label:has(input:checked) { border-color: var(--brand); background: var(--brand-pale); }
.agree { display: flex; align-items: flex-start; gap: 10px; font-size: 15px; }
.agree input { accent-color: var(--brand); width: 18px; height: 18px; margin-top: 5px; }
.form-submit { text-align: center; margin-top: 30px; }
.form-submit .btn { min-width: 260px; font-size: 17px; }
.form-msg { display: none; margin-top: 18px; padding: 16px 18px; border-radius: 10px; font-size: 15px; }
.form-msg.ok { display: block; background: var(--brand-pale); color: var(--brand-dark); }
.form-msg.err { display: block; background: #fdecec; color: #9b2c2c; }
.contact-alt { text-align: center; margin-top: 28px; color: var(--ink-soft); font-size: 15px; }
.contact-alt a { font-weight: 700; font-size: 20px; text-decoration: none; font-family: "Inter", sans-serif; }
.hp { position: absolute; left: -9999px; }

/* cta band */
.cta-band { background: var(--brand); color: #fff; text-align: center; padding: 64px 0; }
.cta-band h2 { font-size: clamp(22px, 2.8vw, 28px); margin-bottom: 12px; }
.cta-band p { opacity: 0.9; margin-bottom: 26px; }

/* footer */
.site-footer { background: #17282a; color: #b9c6c5; padding: 44px 0 30px; font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; }
.site-footer a { color: #dfe8e7; text-decoration: none; }
.site-footer .logo-text { color: #fff; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.copyright { width: 100%; border-top: 1px solid #2c4245; padding-top: 18px; margin-top: 8px; font-size: 12px; }

/* legal page */
.legal { max-width: 800px; margin: 0 auto; padding: 64px 20px 88px; }
.legal h1 { font-size: 28px; margin-bottom: 28px; }
.legal h2 { font-size: 18px; margin: 36px 0 10px; padding-left: 12px; border-left: 4px solid var(--brand); }
.legal p, .legal li { color: var(--ink-soft); }

/* responsive */
@media (max-width: 900px) {
  .hero .wrap, .about { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .worries, .points, .plans { grid-template-columns: 1fr; }
  .services, .scope, .plans-sub { grid-template-columns: 1fr; }
  .flow { grid-template-columns: 1fr 1fr; }
  .step:not(:last-child)::after { display: none; }
  .plan.featured { order: -1; }
}

@media (max-width: 760px) {
  .nav-toggle { display: grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
  .nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { display: block; width: 22px; height: 2px; background: var(--ink); position: relative; content: ""; }
  .nav-toggle span::before { position: absolute; top: -7px; }
  .nav-toggle span::after { position: absolute; top: 7px; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; border-bottom: 1px solid var(--line); padding: 8px 20px 18px; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav .btn { margin-top: 12px; border-bottom: 0; }
  section { padding: 64px 0; }
  .hero { padding: 48px 0 56px; }
  .wrap { padding: 0 16px; }
  .flow { grid-template-columns: 1fr; }
  .contact-wrap { padding: 26px 18px; }
  .company th { width: 34%; padding: 12px; }
  .company td { padding: 12px; }
  .plan-wide { flex-direction: column; align-items: flex-start; }
  .plan-wide .price { text-align: left; }
  .form-submit .btn { width: 100%; min-width: 0; }
}
.nw { display: inline-block; }
@media (max-width: 520px) { .hero h1 { font-size: 22px; } }

/* ===== motion ===== */
.hero { position: relative; }
.hero .wrap { position: relative; z-index: 1; }
.hero-blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-blobs span { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.45; animation: blob 18s ease-in-out infinite alternate; }
.hero-blobs span:nth-child(1) { width: 420px; height: 420px; background: #bfe0dc; top: -120px; right: 8%; }
.hero-blobs span:nth-child(2) { width: 300px; height: 300px; background: #fbd9b8; bottom: -120px; right: 30%; animation-duration: 22s; animation-delay: -6s; }
.hero-blobs span:nth-child(3) { width: 260px; height: 260px; background: #d6ebe8; top: 30%; left: -80px; animation-duration: 26s; animation-delay: -12s; }
@keyframes blob {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(40px, 30px) scale(1.08); }
  100% { transform: translate(-30px, 10px) scale(0.95); }
}
.site-header { transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 4px 18px rgba(31, 42, 46, 0.08); }
.btn { position: relative; overflow: hidden; }
.hero .btn::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); animation: shine 4.5s ease-in-out 2.5s infinite; }
@keyframes shine { 0% { left: -60%; } 30%, 100% { left: 130%; } }
.hero-card { animation: float 7s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.worry, .service, .plan, .plan-wide, .step, .point { transition: transform .25s, box-shadow .25s; }
.worry:hover, .service:hover, .plan:hover, .plan-wide:hover, .step:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(31, 42, 46, 0.09); }

/* JSが動くときだけ初期状態を隠す */
.js-motion .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0ms); }
.js-motion .reveal.in { opacity: 1; transform: none; }
.js-motion .reveal.done:is(.worry, .service, .plan, .plan-wide, .step) { transition: opacity .7s ease, transform .25s ease, box-shadow .25s ease; }
.js-motion .reveal.done:is(.worry, .service, .plan, .plan-wide, .step):hover { transform: translateY(-4px); }
.js-motion .hero .eyebrow, .js-motion .hero h1, .js-motion .hero-lead, .js-motion .hero-cta, .js-motion .hero-card { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.js-motion .hero.ready .eyebrow { opacity: 1; transform: none; }
.js-motion .hero.ready h1 { opacity: 1; transform: none; transition-delay: .1s; }
.js-motion .hero.ready .hero-lead { opacity: 1; transform: none; transition-delay: .25s; }
.js-motion .hero.ready .hero-cta { opacity: 1; transform: none; transition-delay: .4s; }
.js-motion .hero.ready .hero-card { opacity: 1; transform: none; transition-delay: .3s; }
.hero h1 em { background: linear-gradient(var(--accent-pale), var(--accent-pale)) no-repeat left 88% / 100% 32%; }
.js-motion .hero h1 em { background-size: 0% 32%; transition: background-size .9s cubic-bezier(.6, 0, .2, 1) 1s; }
.js-motion .hero.ready h1 em { background-size: 100% 32%; }
.js-motion .hero.ready h1 em + em { transition-delay: 1.3s; }
.js-motion .hero .task { opacity: 0; transform: translateX(14px); transition: opacity .5s ease, transform .5s ease; }
.js-motion .hero .task.in { opacity: 1; transform: none; }
.js-motion .hero .task .check path { stroke-dasharray: 14; stroke-dashoffset: 14; transition: stroke-dashoffset .45s ease .25s; }
.js-motion .hero .task.in .check path { stroke-dashoffset: 0; }
.js-motion .hero .task .who { transform: scale(.6); opacity: 0; transition: transform .35s cubic-bezier(.3, 1.6, .5, 1) .4s, opacity .3s ease .4s; }
.js-motion .hero .task.in .who { transform: none; opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
