:root {
  --teal: #02b9b2;
  --teal-deep: #00837d;
  --ink: #0b2b26;
  --body: #33443f;
  --muted: #56645f;
  --faint: #97a5a1;
  --line: #e5e5e5;
  --line-soft: #ebebeb;
  --paper: #ffffff;
  --mist: #f7f7f7;
  --mist-2: #f4f4f4;
  --tint: #e0f6f5;
  --yellow: #ffd000;
  --max: 1240px;
  --serif: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --sans: "Noto Sans JP", sans-serif;
  --en: Manrope, "Noto Sans JP", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.02em;
  line-break: strict;
  word-break: normal;
}

h1, h2, h3, h4, p, li, .lead, .hero-lead, .section-head p {
  text-wrap: pretty;
}

img { max-width: 100%; height: auto; display: block; }
.brand-logo,
.footer-logo {
  max-width: none;
  object-fit: contain;
}
a { color: var(--teal-deep); }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; }

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.kicker {
  font-family: var(--en);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--teal-deep);
}

h1, h2, h3, .brand-name {
  font-family: var(--serif);
  letter-spacing: 0.01em;
}

.mark {
  background: linear-gradient(transparent 78%, var(--teal) 78%);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-top: 4px solid var(--teal);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(8px);
}

.header-inner {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex: 0 1 auto;
  min-width: 0;
  max-width: 240px;
}

.brand-logo {
  display: block;
  width: auto;
  height: 44px;
  max-width: 180px;
  flex: 0 0 auto;
}

.brand-name {
  font-family: var(--en);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.08em;
}

.brand-sub {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex: 0 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.2vw, 20px);
  flex: 1 1 auto;
  min-width: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
  font-size: 13px;
  font-weight: 500;
}

.nav a:not(.btn) {
  white-space: nowrap;
}

.nav a {
  color: var(--ink);
  text-decoration: none;
}

.nav a[aria-current="page"] { color: var(--teal-deep); }

.header-cta { display: none; }

.nav-toggle {
  display: none;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  min-height: 40px;
  padding: 0 16px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1.5px solid transparent;
  cursor: pointer;
}

.btn-sm { min-height: 44px; padding: 0 22px; font-size: 14px; }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { color: var(--ink); filter: brightness(0.97); }
.btn-line { background: var(--paper); color: var(--ink); border-color: var(--teal); }
.btn-line:hover { color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-white { background: #fff; color: var(--ink); }

/* Hero */
.hero { border-bottom: 1px solid var(--line-soft); }

.hero-copy { max-width: 36rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 64px;
  align-items: center;
  padding: 88px 0 40px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  display: block;
}

.hero h1 {
  margin: 22px 0 0;
  font-weight: 900;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.28;
}

.hero-lead {
  margin: 22px 0 0;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.9;
  color: var(--body);
  font-weight: 500;
}

.pills, .actions, .chips { display: flex; flex-wrap: wrap; gap: 10px; }
.pills { margin-top: 26px; }
.actions { margin-top: 28px; gap: 14px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
}

.chips { margin-top: 18px; align-items: center; font-family: var(--en); font-weight: 700; font-size: 14px; }
.chip { padding: 6px 14px; background: var(--mist-2); border-radius: 6px; }
.chips span.x { color: var(--faint); }

.panel {
  background: var(--mist);
  border: 1px solid var(--line-soft);
  border-radius: 24px;
  padding: 32px 28px;
}

.panel-label {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 18px;
  font-size: 12px;
  color: var(--muted);
}

.panel-label strong {
  font-family: var(--en);
  letter-spacing: 0.14em;
  font-size: 13px;
}

.stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.stack h3 { margin: 0 0 8px; font-size: 13px; }
.stack .old h3 { color: var(--muted); font-family: var(--sans); font-weight: 700; }
.layer {
  padding: 9px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 14px;
  color: var(--muted);
  margin-top: 6px;
}
.layer.lg {
  padding: 20px 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  border: 1.5px solid var(--teal);
}
.layer.accent { background: var(--teal); border-color: var(--teal); color: var(--ink); }
.layer.dark { background: var(--ink); border-color: var(--ink); color: #fff; }
.arrow { text-align: center; color: var(--teal); font-size: 22px; font-weight: 700; }
.panel p { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--body); }

.roles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  margin: 28px 0 80px;
}
.roles article { padding: 28px 30px; border-right: 1px solid var(--line); }
.roles article:last-child { border-right: 0; background: var(--ink); color: #fff; }
.roles h3 { margin: 8px 0; font-size: 20px; font-weight: 700; }
.roles p { margin: 0; font-size: 14px; color: var(--muted); }
.roles article:last-child p { color: #ddeae7; }
.roles .kicker { color: var(--teal); }

/* Sections */
.section { padding: 96px 0; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--ink); color: #fff; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.section-head.center { text-align: center; align-items: center; }
.section-head h2 {
  margin: 0;
  font-weight: 900;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.45;
}
.section-head p { margin: 0; max-width: 720px; color: var(--body); }
.section-dark .section-head p,
.section-dark p { color: #ddeae7; }
.section-dark .card {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}
.section-dark .card p,
.section-dark .card li { color: #ddeae7; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 40px;
  align-items: start;
}
.section-dark .kicker { color: var(--teal); }

.grid-3, .grid-2, .grid-4 {
  display: grid;
  gap: 20px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 32px 28px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.card h3 { margin: 0; font-size: 24px; font-weight: 900; line-height: 1.4; }
.card p { margin: 0; color: var(--body); font-size: 15px; }
.num {
  font-family: var(--en);
  font-weight: 800;
  font-size: 42px;
  line-height: 1;
  color: #e5e5e5;
}
.card-foot {
  margin-top: auto;
  padding: 14px 16px;
  background: var(--mist);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.card-foot b { font-family: var(--en); font-size: 22px; }

.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--tint);
  color: var(--teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--en);
  font-weight: 800;
}

.problem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li {
  padding: 14px 16px 14px 44px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  position: relative;
}
.checks li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal);
  position: absolute;
  left: 18px;
  top: 22px;
}

.callout {
  margin-top: 28px;
  padding: 28px 32px;
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
}
.callout p {
  margin: 0;
  max-width: none;
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.5;
}

.flow-row, .asset-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.flow-row span, .asset {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 14px;
}
.section-dark .flow-row span { background: transparent; border-color: rgba(255,255,255,.25); color: #fff; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
th { background: var(--mist); font-weight: 700; }
tr:last-child td { border-bottom: 0; }
td.yes { color: var(--teal-deep); font-weight: 700; }

.price-card .yen {
  font-family: var(--en);
  font-weight: 800;
  font-size: 40px;
  line-height: 1;
}
.price-card .yen small { font-size: 16px; margin-left: 4px; }
.price-card ul { margin: 0; padding-left: 1.1em; color: var(--body); }
.price-card.featured { background: var(--ink); color: #fff; border-color: var(--ink); }
.price-card.featured p, .price-card.featured li { color: #ddeae7; }
.price-card.featured .kicker { color: var(--teal); }

details.faq {
  border-bottom: 1px solid var(--line);
  background: #fff;
}
details.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 8px;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-family: var(--en); color: var(--teal-deep); font-size: 22px; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 0; padding: 0 8px 18px; color: var(--body); }

.closing {
  background: var(--ink);
  color: #fff;
  padding: 88px 0;
  text-align: center;
}
.closing h2 { margin: 0; font-size: clamp(28px, 4vw, 44px); font-weight: 900; line-height: 1.4; }
.closing p { color: #ddeae7; }
.closing .actions { justify-content: center; }

.site-footer { background: var(--ink); color: #c9d7d3; padding: 48px 0 28px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-brand {
  display: inline-block;
  background: #fff;
  border-radius: 12px;
  padding: 14px 18px;
  line-height: 0;
  margin: 0 0 12px;
}
.footer-logo {
  display: block;
  width: auto;
  height: 48px;
  max-width: 220px;
}
.site-footer .brand-name { color: #fff; }
.footer-lead {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 8px 0 0;
}
.copy { margin-top: 28px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.15); font-size: 12px; }

/* Inner pages */
.page-hero { padding: 56px 0 20px; }
.crumb { font-size: 13px; color: var(--muted); margin: 0 0 18px; }
.crumb a { color: var(--muted); text-decoration: none; }
.page-hero h1 {
  margin: 10px 0 0;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 900;
  line-height: 1.35;
  max-width: 16em;
}
.page-hero .lead { max-width: 760px; color: var(--body); font-size: 17px; }

.steps { display: grid; gap: 14px; }
.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}
.step b { font-family: var(--en); font-size: 28px; color: var(--teal); line-height: 1; }
.step h3 { margin: 0; font-size: 18px; }
.step p { margin: 4px 0 0; color: var(--body); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filter {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  min-height: 40px;
  padding: 0 16px;
  cursor: pointer;
  color: var(--ink);
  font-weight: 500;
}
.filter.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }

.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  min-height: 100%;
}
.post-card:hover { color: inherit; border-color: var(--teal); }
.post-card img, .ph {
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--tint);
  width: 100%;
}
.ph { display: flex; align-items: flex-end; padding: 16px; font-family: var(--en); font-weight: 800; letter-spacing: 0.12em; color: var(--teal-deep); font-size: 13px; }
.post-card div { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.post-card time, .meta { font-size: 12px; color: var(--muted); letter-spacing: 0.04em; }
.post-card h3 { margin: 0; font-size: 18px; line-height: 1.5; font-weight: 700; }
.post-card p { margin: 0; color: var(--body); font-size: 14px; }

.article { padding-bottom: 40px; }
.article-head { max-width: 760px; }
.cat {
  display: inline-block;
  font-family: var(--en);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--teal-deep);
}
.eyecatch { margin: 28px 0; border-radius: 16px; width: 100%; max-height: 460px; object-fit: cover; }

.prose { max-width: 760px; }
.prose h2 { font-size: 28px; margin: 2em 0 0.6em; padding-left: 14px; border-left: 4px solid var(--teal); line-height: 1.4; }
.prose h3 { font-size: 22px; margin: 1.6em 0 0.5em; padding-bottom: 0.35em; border-bottom: 1px solid var(--line); }
.prose h4 { font-size: 18px; margin: 1.3em 0 0.4em; }
.prose p, .prose li { color: var(--body); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.25em 0; }
.prose a { font-weight: 700; }
.prose img { border-radius: 12px; margin: 1em 0; }
.prose pre {
  background: var(--ink);
  color: #f4fffd;
  padding: 18px 20px;
  border-radius: 12px;
  overflow: auto;
  line-height: 1.6;
}
.prose code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }
.prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--teal);
  color: var(--body);
}
.prose table { min-width: 0; font-size: 14px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

.author {
  max-width: 760px;
  margin-top: 40px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--mist);
}
.author strong { display: block; }

.form {
  display: grid;
  gap: 16px;
  max-width: 720px;
}
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.form label span { font-weight: 500; color: var(--muted); }
.req { color: #b45309; font-weight: 700; font-size: 12px; margin-left: 6px; }
.form input, .form select, .form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  background: #fff;
  color: var(--ink);
}
.form textarea { min-height: 160px; resize: vertical; }
.checks-inline { display: flex; flex-wrap: wrap; gap: 8px 16px; font-weight: 500; }
.hp { position: absolute; left: -9999px; }

.note {
  font-size: 13px;
  color: var(--muted);
}

.empty { padding: 28px; border: 1px dashed var(--line); border-radius: 16px; color: var(--muted); }

@media (min-width: 1180px) {
  .brand-logo { height: 48px; max-width: 200px; }
  .nav { font-size: 14px; gap: 20px; }
}

@media (max-width: 1100px) {
  .brand-sub { display: none; }
  .brand { max-width: 190px; }
  .nav { font-size: 12px; gap: 10px; }
  .nav .btn-sm { min-height: 40px; padding: 0 16px; }
}

@media (max-width: 980px) {
  .hero-grid, .problem, .grid-3, .grid-4, .posts, .footer-grid, .roles, .split { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .roles article { border-right: 0; border-bottom: 1px solid var(--line); }
  .nav-toggle { display: inline-flex; }
  .header-cta { display: inline-flex; flex: 0 0 auto; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { white-space: normal; }
  .header-inner { position: static; flex-wrap: wrap; }
  .brand { max-width: calc(100% - 120px); }
  .brand-logo { height: 40px; max-width: 160px; }
  .site-header { position: sticky; }
}

@media (max-width: 640px) {
  .wrap, .header-inner { width: min(var(--max), calc(100% - 32px)); }
  .stack { grid-template-columns: 1fr; }
  .arrow { transform: rotate(90deg); }
  .hero-grid { padding-top: 48px; gap: 32px; }
  .section { padding: 64px 0; }
}
