:root {
  --ink: #17202a;
  --muted: #52606d;
  --line: #d7dee5;
  --paper: #fbfcfd;
  --band: #eef5f2;
  --soft: #f6f8f7;
  --accent: #146b63;
  --accent-2: #8a5a18;
  --critical: #a83232;
  --warning: #9a6b13;
  --caution: #4d6791;
  --deep: #102c33;
  --white: #ffffff;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, #ffffff 0, var(--paper) 36%, #f7f4ee 100%);
  line-height: 1.75;
  overflow-x: hidden;
}

h1,
h2,
h3,
p,
a,
li,
label,
strong {
  overflow-wrap: anywhere;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 22px;
  line-height: 1.35;
}

h2 {
  font-size: 30px;
  line-height: 1.45;
  margin-bottom: 12px;
}

h3 {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 8px;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  font-size: 14px;
}

nav a {
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--ink);
}

nav a:hover {
  border-color: var(--line);
  text-decoration: none;
}

.eyebrow {
  margin-bottom: 6px;
  color: var(--accent-2);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.summary-band {
  background:
    linear-gradient(110deg, rgba(238, 245, 242, 0.94), rgba(250, 248, 242, 0.94)),
    repeating-linear-gradient(90deg, rgba(20, 107, 99, 0.06) 0 1px, transparent 1px 80px);
  border-bottom: 1px solid var(--line);
  padding: 62px 24px 42px;
}

.summary-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 36px;
  align-items: start;
}

.summary-copy,
.hero-visual,
.brand-visual,
.brand-copy,
.status-grid,
.section-heading,
.program-summary,
.roadmap,
.section,
.site-footer {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  min-width: 0;
}

.summary-copy {
  width: 100%;
}

.summary-copy p:last-child {
  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.button-link,
.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 16px;
  border-radius: 6px;
  font-weight: 700;
}

.button-link {
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
}

.button-link:hover {
  text-decoration: none;
  background: #0f5b54;
}

.text-link {
  color: var(--accent);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.text-link:hover {
  text-decoration: none;
  border-color: var(--accent);
}

.hero-visual,
.brand-visual {
  margin: 0;
  width: 100%;
  min-width: 0;
  overflow: hidden;
}

.hero-visual img,
.brand-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid rgba(20, 107, 99, 0.18);
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(23, 32, 42, 0.12);
}

.hero-visual figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.status-grid {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.answer-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}

.answer-guide article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.answer-guide span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
}

.answer-guide p {
  color: var(--muted);
}

.status-grid article,
.evidence-item,
.flow article,
.pricing-grid article,
.chapter-list article,
.program-summary article,
.roadmap article,
.architecture article {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.status-grid article {
  padding: 18px;
  min-height: 152px;
  box-shadow: 0 10px 28px rgba(23, 32, 42, 0.05);
}

.status-grid span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.status-grid strong {
  display: block;
  margin: 8px 0;
  font-size: 30px;
  line-height: 1.2;
  color: var(--accent);
}

.status-grid p,
.evidence-item p,
.flow p,
.pricing-grid li,
.chapter-list p,
.chapter-list li,
.architecture p {
  color: var(--muted);
}

.section {
  padding: 64px 24px;
}

.section.muted {
  max-width: none;
  background: #f4f2ed;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section.muted > * {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.section-heading {
  margin-bottom: 24px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
  gap: 32px;
  align-items: end;
}

.section-heading p:last-child {
  max-width: 760px;
  color: var(--muted);
}

.evidence-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.evidence-item {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 290px;
  box-shadow: 0 10px 28px rgba(23, 32, 42, 0.05);
}

.evidence-item a {
  display: inline-block;
  margin-right: 12px;
  font-weight: 700;
}

.badge {
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
}

.badge.critical {
  background: var(--critical);
}

.badge.warning {
  background: var(--warning);
}

.badge.caution {
  background: var(--caution);
}

.flow,
.pricing-grid,
.chapter-list,
.program-summary,
.roadmap,
.architecture {
  display: grid;
  gap: 16px;
}

.flow {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.flow article,
.pricing-grid article,
.chapter-list article,
.architecture article {
  padding: 20px;
  box-shadow: 0 10px 28px rgba(23, 32, 42, 0.05);
}

.flow span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-weight: 700;
}

.brand-section {
  background: #ffffff;
}

.brand-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1.1fr) minmax(0, 0.9fr);
  gap: 36px;
  align-items: center;
}

.brand-copy {
  border-left: 4px solid var(--accent);
  padding-left: 26px;
}

.brand-copy p {
  color: var(--muted);
  font-size: 16px;
}

.roadmap-section {
  position: relative;
}

.roadmap-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background: linear-gradient(90deg, var(--accent), #d0a15f, var(--deep));
}

.program-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-bottom: 22px;
}

.program-summary article {
  padding: 20px;
  background:
    linear-gradient(180deg, #ffffff, #f7faf8);
  box-shadow: 0 14px 32px rgba(23, 32, 42, 0.06);
}

.program-summary span,
.roadmap span {
  display: block;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 700;
}

.program-summary strong {
  display: block;
  margin: 8px 0 4px;
  color: var(--deep);
  font-size: 30px;
  line-height: 1.2;
}

.program-summary p,
.roadmap p {
  margin-bottom: 0;
  color: var(--muted);
}

.roadmap {
  position: relative;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: stretch;
}

.roadmap::before {
  content: "";
  position: absolute;
  top: 35px;
  left: 4%;
  right: 4%;
  height: 2px;
  background: linear-gradient(90deg, rgba(20, 107, 99, 0.28), rgba(138, 90, 24, 0.3));
}

.roadmap article {
  position: relative;
  padding: 62px 18px 20px;
  min-height: 220px;
  box-shadow: 0 16px 36px rgba(23, 32, 42, 0.07);
}

.roadmap article::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 18px;
  width: 18px;
  height: 18px;
  border: 4px solid #e5eee9;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px #ffffff;
}

.roadmap .operation {
  background: var(--deep);
  border-color: var(--deep);
  color: var(--white);
}

.roadmap .operation span,
.roadmap .operation p {
  color: rgba(255, 255, 255, 0.78);
}

.questionnaire {
  display: grid;
  gap: 18px;
}

fieldset {
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

legend {
  padding: 0 8px;
  font-weight: 700;
}

label {
  display: block;
  margin-top: 14px;
  font-weight: 700;
}

textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  font: inherit;
  line-height: 1.6;
  resize: vertical;
}

textarea:focus {
  outline: 2px solid rgba(20, 107, 99, 0.25);
  border-color: var(--accent);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

button {
  min-height: 42px;
  padding: 9px 16px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  background: var(--accent);
  color: var(--white);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

button[type="reset"] {
  background: var(--white);
  color: var(--accent);
}

.form-note {
  color: var(--accent);
  font-weight: 700;
}

.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.chapter-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.chapter-list article {
  min-height: 390px;
  display: flex;
  flex-direction: column;
  border-top: 5px solid var(--accent);
}

.chapter-list article:nth-child(2) {
  border-top-color: #8a5a18;
}

.chapter-list article:nth-child(3) {
  border-top-color: #4d6791;
}

.chapter-list article:nth-child(4) {
  border-top-color: #7a4b62;
}

.chapter-list article:nth-child(5) {
  border-top-color: var(--deep);
}

.chapter-list span {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e3eee9;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.chapter-list ul {
  margin-top: auto;
}

.price {
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
}

.chapter-price {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
}

.term-note {
  margin-top: -4px;
  margin-bottom: 10px;
  color: var(--accent-2);
  font-size: 14px;
  font-weight: 700;
}

ul {
  padding-left: 20px;
  margin-bottom: 0;
}

.architecture {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.architecture article {
  position: relative;
  min-height: 190px;
}

.mini-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  border-radius: 50%;
  background: #e3eee9;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.site-footer {
  padding: 28px 24px 48px;
  color: var(--muted);
  font-size: 14px;
}

.site-footer p {
  margin-bottom: 8px;
}

.footer-note {
  max-width: 960px;
  color: #64717d;
  font-size: 13px;
  line-height: 1.8;
}

.copyright {
  color: var(--ink);
  font-weight: 700;
}

@media (max-width: 980px) {
  .header-inner,
  .summary-inner,
  .split-heading,
  .brand-layout {
    grid-template-columns: 1fr;
  }

  .header-inner {
    display: block;
  }

  nav {
    justify-content: flex-start;
    margin-top: 12px;
  }

  .evidence-list,
  .flow,
  .pricing-grid,
  .chapter-list,
  .program-summary,
  .architecture,
  .answer-guide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .roadmap {
    grid-template-columns: 1fr;
  }

  .roadmap::before {
    display: none;
  }

  .roadmap article {
    min-height: 0;
    padding-top: 54px;
  }

  .status-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  body,
  main,
  .site-header,
  .summary-band,
  .section {
    width: 100vw;
    max-width: 100vw;
  }

  .header-inner {
    padding: 14px 18px;
    max-width: 100vw;
  }

  h1 {
    max-width: 100%;
    font-size: 18px;
    line-height: 1.45;
  }

  h2 {
    font-size: 24px;
  }

  .summary-band,
  .section {
    padding: 36px 18px;
  }

  .summary-band {
    display: block;
  }

  .summary-copy,
  .hero-visual,
  .status-grid,
  .section-heading,
  .program-summary,
  .roadmap,
  .brand-layout,
  .brand-visual,
  .brand-copy {
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }

  .summary-inner {
    display: block;
    width: calc(100vw - 36px);
    max-width: calc(100vw - 36px);
  }

  .hero-visual {
    margin-top: 28px;
  }

  .hero-actions {
    gap: 8px;
  }

  .button-link,
  .text-link {
    width: 100%;
    justify-content: center;
  }

  .brand-copy {
    border-left: 0;
    padding-left: 0;
  }

  .status-grid,
  .evidence-list,
  .flow,
  .pricing-grid,
  .chapter-list,
  .program-summary,
  .answer-guide,
  .roadmap,
  .architecture {
    grid-template-columns: 1fr;
  }
}
