:root {
  --navy: #17324d;
  --navy-dark: #0f2334;
  --pink: #d71868;
  --warm: #f6f5f2;
  --blue-wash: #eef5f7;
  --white: #ffffff;
  --ink: #27343e;
  --muted: #63707a;
  --line: #dddcd7;
  --shadow-raise: 0 10px 26px rgba(15, 35, 52, 0.06);
  --shadow-float: 0 24px 60px rgba(15, 35, 52, 0.16);
  --radius: 12px;
  --header-height: 78px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  overflow-x: hidden;
}

:where(h1, h2, h3, h4, h5, h6, p, li, dt, dd, td, th, blockquote, summary, figcaption) {
  line-break: strict;
  overflow-wrap: break-word;
  word-break: auto-phrase;
  text-wrap: pretty;
}

:where(h1, h2, h3) {
  text-wrap: balance;
}

.nowrap {
  white-space: nowrap;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(215, 24, 104, 0.48);
  outline-offset: 3px;
}

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

h1,
h2 {
  color: var(--navy-dark);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  letter-spacing: 0.035em;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  line-height: 1.5;
}

h3 {
  color: var(--navy-dark);
  line-height: 1.55;
}

.container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.container-narrow {
  width: min(820px, calc(100% - 48px));
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy-dark);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  border-bottom: 1px solid rgba(23, 50, 77, 0.1);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1240px, calc(100% - 40px));
  height: 100%;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand img {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.brand-copy strong {
  color: #1f2d36;
  font-family: "Playfair Display", "Noto Serif JP", serif;
  font-size: 1.42rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

.brand-copy strong .amp {
  margin-inline: 0.02em;
  font-family: "Libre Baskerville", "Playfair Display", serif;
  font-weight: 700;
}

.brand-copy .brand-sub {
  display: block;
  margin-top: 3px;
  color: #3d4b55;
  font-family: "Playfair Display", "Noto Serif JP", serif;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.11em;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.58rem;
}

.primary-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.primary-nav a {
  position: relative;
  color: #3d4b55;
  font-size: 0.78rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 2px;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-button {
  display: none;
}

.button {
  min-height: 52px;
  padding: 13px 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy);
  border-radius: 6px;
  color: var(--white);
  background: var(--navy);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  border-color: var(--navy-dark);
  background: var(--navy-dark);
}

.button-small {
  min-height: 44px;
  padding: 10px 20px;
  font-size: 0.78rem;
}

.button-outline {
  color: var(--navy);
  background: rgba(255, 255, 255, 0.82);
}

.button-outline:hover {
  color: var(--white);
}

.button-light {
  color: var(--navy-dark);
  border-color: var(--white);
  background: var(--white);
}

.button-light:hover {
  color: var(--white);
  border-color: var(--pink);
  background: var(--pink);
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - var(--header-height)));
  display: grid;
  align-items: center;
  overflow: hidden;
  background: var(--warm);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-media img {
  display: block;
  object-fit: cover;
  object-position: center center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(246, 245, 242, 1) 0%, rgba(246, 245, 242, 0.97) 35%, rgba(246, 245, 242, 0.76) 53%, rgba(246, 245, 242, 0.22) 72%, transparent 83%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(15, 35, 52, 0.08));
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding-block: 80px;
}

.hero-content {
  width: min(660px, 58%);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--navy);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--pink);
}

/* セクションキッカーは装飾線を持たない静かな索引ラベル（装飾はヒーローのeyebrowのみ） */
.section-kicker {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.hero h1 {
  margin: 22px 0 22px;
  font-size: clamp(2.55rem, 4vw, 3.7rem);
  line-height: 1.42;
}

.hero h1 span {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.hero h1 span::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  z-index: -1;
  height: 0.32em;
  background: rgba(215, 24, 104, 0.13);
}

.hero-lead {
  max-width: 570px;
  margin-bottom: 28px;
  color: #41515d;
  font-size: 1rem;
  line-height: 2;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.feature-pills,
.meta-pills,
.industry-tags,
.measurement ul {
  padding: 0;
  list-style: none;
}

.feature-pills {
  margin: 22px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.feature-pills li,
.meta-pills li,
.industry-tags li,
.measurement li {
  padding: 7px 12px;
  border: 1px solid rgba(23, 50, 77, 0.16);
  border-radius: 999px;
  color: #3d5263;
  background: rgba(255, 255, 255, 0.87);
  font-size: 0.72rem;
  font-weight: 700;
}

.section {
  padding-block: clamp(68px, 7vw, 100px);
}

.section-muted {
  padding-block: clamp(84px, 8.5vw, 126px);
  background: var(--warm);
}

/* 転換点（トライアル訴求・最終CTA）は最も広い余白で章の山をつくる */
.section.trial,
.final-cta {
  padding-block: clamp(92px, 9vw, 136px);
}

.section-heading {
  max-width: 840px;
  margin: 0 auto 40px;
  text-align: center;
}

.section-heading h2 {
  margin-top: 6px;
}

.section-heading > p {
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 2;
}

.issue-grid,
.program-steps,
.check-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.issue-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.issue-grid li {
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.issue-grid li > span {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
}

.issue-grid p {
  margin: 1px 0 0;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.85;
}

.program-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.program-steps li {
  position: relative;
  min-height: 300px;
  padding: 30px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.program-steps li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -20px;
  z-index: 2;
  color: var(--pink);
  font-size: 1.4rem;
  font-weight: 800;
  transform: translateY(-50%);
}

.program-steps img {
  width: 68px;
  height: 68px;
  margin-bottom: 20px;
}

.program-steps small {
  display: block;
  margin-bottom: 8px;
  color: var(--pink);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.program-steps h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.program-steps p,
.focus-grid p,
.support-grid p,
.reason-grid p,
.case-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.85;
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.focus-grid article {
  padding: 8px 8px 28px;
  border-bottom: 1px solid rgba(23, 50, 77, 0.2);
}

.focus-grid img {
  width: 78px;
  height: 78px;
  margin-bottom: 22px;
}

.focus-grid h3 {
  margin-bottom: 14px;
  font-size: 1.35rem;
}

.focus-grid small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.75;
}

.trial {
  color: var(--white);
  background: linear-gradient(165deg, var(--navy-dark), var(--navy));
}

.trial-label {
  width: fit-content;
  margin: 0 auto 18px;
  padding: 7px 18px;
  border-radius: 999px;
  background: var(--pink);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.section-heading-light h2 {
  color: var(--white);
}

.section-heading-light .section-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.trial-panel {
  padding: clamp(28px, 5vw, 52px);
  border-radius: 16px;
  color: var(--ink);
  background: var(--warm);
  box-shadow: var(--shadow-float);
}

.trial-panel > h3,
.measurement h3 {
  margin-bottom: 24px;
  font-size: 1.12rem;
}

.check-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 28px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: #3e4a53;
  font-size: 0.86rem;
  line-height: 1.7;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--pink);
  font-weight: 900;
}

.note {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.75;
}

.note::before {
  content: "※";
}

.note-center {
  text-align: center;
}

.measurement {
  margin-top: 32px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.measurement ul {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.measurement li {
  background: #e8eff2;
}

.centered-action {
  margin-top: 34px;
  display: flex;
  justify-content: center;
}

.experience-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 50px;
  align-items: stretch;
}

.experience-photo {
  margin-bottom: 0;
  min-height: 500px;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow-raise);
}

.experience-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.experience-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.experience-lead {
  margin-bottom: 22px;
  color: var(--navy-dark);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.8;
}

.meta-pills,
.industry-tags {
  margin: 0 0 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.experience-steps {
  width: 100%;
  margin: 0 0 22px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  list-style: none;
}

.experience-steps li {
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.experience-steps span {
  color: var(--pink);
  font-size: 0.68rem;
  font-weight: 800;
}

.experience-steps h3 {
  margin: 7px 0;
  font-size: 0.88rem;
}

.experience-steps p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.7;
}

.bridge-copy {
  color: var(--pink);
  font-size: 0.82rem;
  font-weight: 800;
}

.support {
  background: var(--blue-wash);
}

.support-grid,
.reason-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.support-grid article {
  padding: 34px 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.support-grid img {
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
}

.support-grid h3 {
  margin-bottom: 12px;
}

.support-grid a {
  margin-top: 18px;
  display: inline-flex;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
  text-decoration-color: var(--pink);
  text-underline-offset: 4px;
}

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

.reason-grid article {
  padding: 30px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}

.reason-grid strong {
  display: block;
  margin-bottom: 12px;
  color: var(--navy);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.reason-grid h3 {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

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

.case-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.case-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  object-fit: cover;
}

.case-grid h3,
.case-grid p {
  padding-inline: 14px;
  text-align: center;
}

.case-grid h3 {
  margin: 14px 0 4px;
  font-size: 0.87rem;
}

.case-grid p {
  margin-bottom: 16px;
  font-size: 0.7rem;
}

.profile-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 58px;
  align-items: start;
}

.profile-grid > * {
  min-width: 0;
}

.profile-photo {
  position: relative;
  height: 430px;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 16px;
  background: #eef8f9;
  box-shadow: var(--shadow-raise);
}

.profile-photo::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 72px;
  background: linear-gradient(90deg, #eef8f9 0%, rgba(238, 248, 249, 0.96) 48%, rgba(238, 248, 249, 0) 100%);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center 20%;
  transform: translateX(38px);
}

.profile-content > h3 {
  margin-bottom: 2px;
  font-size: 1.6rem;
}

.profile-role {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.profile-content > p:not(.profile-role) {
  color: #47545d;
  font-size: 0.91rem;
  line-height: 2;
}

.book-list {
  margin-top: 24px;
  display: flex;
  gap: 20px;
}

.book-list figure {
  width: 128px;
  margin-bottom: 0;
}

.book-list img {
  width: 128px;
  height: 182px;
  display: block;
  border: 1px solid rgba(23, 50, 77, 0.08);
  object-fit: contain;
  background: var(--white);
  box-shadow: var(--shadow-raise);
}

.book-list figcaption {
  margin-top: 7px;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
  text-align: center;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.faq-item h3 {
  margin: 0;
}

.faq-item button {
  width: 100%;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  color: var(--navy-dark);
  background: transparent;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.faq-item button span::before {
  content: "Q. ";
  color: var(--pink);
}

.faq-item i {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.faq-item i::before,
.faq-item i::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 2px;
  width: 14px;
  height: 2px;
  background: var(--navy);
}

.faq-item i::after {
  transform: rotate(90deg);
  transition: transform 180ms ease;
}

.faq-item button[aria-expanded="true"] i::after {
  transform: rotate(0);
}

.faq-answer {
  padding: 0 24px 22px;
}

.faq-answer p {
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid #ecebe7;
  color: var(--muted);
  font-size: 0.86rem;
}

.final-cta {
  color: var(--white);
  background: linear-gradient(165deg, var(--navy-dark), var(--navy));
  text-align: center;
}

.final-cta h2 {
  color: var(--white);
}

.final-cta .section-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.final-cta h2 {
  margin: 16px 0 22px;
}

.final-cta p {
  margin-bottom: 8px;
  color: rgba(255, 255, 255, 0.85);
}

.final-cta .button {
  margin-top: 28px;
}

.site-footer {
  padding-top: 64px;
  background: var(--white);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2.1fr repeat(4, 1fr);
  gap: 32px;
}

.footer-brand address {
  margin: 20px 0 10px;
  color: var(--muted);
  font-size: 0.75rem;
  font-style: normal;
  line-height: 1.8;
}

.footer-brand address span {
  color: var(--navy-dark);
  font-weight: 800;
}

/* 所在地とメールを続けて並べるため、2つ目以降は間隔を詰める */
.footer-brand address + address {
  margin-top: 12px;
}

.footer-brand address a {
  color: var(--navy);
}

.footer-brand address a:hover {
  color: var(--pink);
}

.footer-brand > a {
  color: var(--navy);
  font-size: 0.75rem;
}

.footer-grid > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-grid h2 {
  margin: 0 0 8px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 800;
}

.footer-grid > div:not(.footer-brand) a {
  color: var(--muted);
  font-size: 0.72rem;
  text-decoration: none;
}

.footer-grid > div:not(.footer-brand) a:hover {
  color: var(--pink);
}

.footer-bottom {
  margin-top: 48px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: right;
}

.mobile-fixed-cta {
  display: none;
}

@media (max-width: 1080px) {
  .brand-copy small {
    display: none;
  }

  .primary-nav {
    gap: 16px;
  }

  .primary-nav a {
    font-size: 0.72rem;
  }

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

  .program-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .program-steps li:not(:last-child)::after {
    display: none;
  }

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

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

@media (max-width: 860px) {
  :root {
    --header-height: 70px;
  }

  .site-header {
    background: var(--white);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .header-inner {
    width: calc(100% - 28px);
    position: relative;
  }

  .brand-copy {
    max-width: 190px;
  }

  .brand-copy strong {
    font-size: 1.15rem;
  }

  .brand-copy .brand-sub {
    font-size: 0.66rem;
    letter-spacing: 0.08em;
  }

  .menu-button {
    width: 44px;
    height: 44px;
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 130;
    padding: 11px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 6px;
    background: var(--navy);
    cursor: pointer;
    transform: translateY(-50%);
  }

  .menu-button span:not(.sr-only) {
    width: 22px;
    height: 2px;
    display: block;
    background: var(--white);
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .menu-button[aria-expanded="true"] span:nth-of-type(2) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-of-type(3) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-of-type(4) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .primary-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 36px 28px 110px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(255, 255, 255, 0.98);
    clip-path: inset(0 0 0 100%);
    visibility: hidden;
    transition: clip-path 220ms ease, visibility 220ms ease;
  }

  .primary-nav.is-open {
    clip-path: inset(0);
    visibility: visible;
  }

  .primary-nav a {
    padding: 17px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 0.95rem;
  }

  .header-cta {
    display: none;
  }

  .hero {
    min-height: 730px;
    align-items: start;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(246, 245, 242, 0.98) 0%, rgba(246, 245, 242, 0.93) 54%, rgba(246, 245, 242, 0.47) 77%, rgba(246, 245, 242, 0.08) 100%),
      linear-gradient(180deg, rgba(246, 245, 242, 0.08), rgba(15, 35, 52, 0.12));
  }

  .hero-media img {
    object-position: 68% center;
  }

  .hero-inner {
    padding-top: 78px;
  }

  .hero-content {
    width: 78%;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 7vw, 3.4rem);
  }

  .focus-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .check-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .experience-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .experience-photo {
    min-height: 420px;
  }

  .profile-photo {
    width: min(420px, 100%);
    height: 480px;
    margin-inline: auto;
  }

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

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

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 600px) {
  body {
    padding-bottom: 58px;
  }

  .container,
  .container-narrow {
    width: min(100% - 32px, 1120px);
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand-copy {
    max-width: 172px;
  }

  .brand-copy strong {
    font-size: 1.05rem;
    line-height: 1.2;
  }

  .brand-copy .brand-sub {
    font-size: 0.62rem;
    letter-spacing: 0.06em;
  }

  .hero {
    min-height: 500px;
  }

  .hero-media img {
    object-position: 63% center;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(246, 245, 242, 0.99) 0%, rgba(246, 245, 242, 0.94) 45%, rgba(246, 245, 242, 0.6) 68%, rgba(246, 245, 242, 0.16) 100%),
      linear-gradient(180deg, rgba(246, 245, 242, 0.1) 62%, rgba(15, 35, 52, 0.16));
  }

  .hero-inner {
    padding-top: 20px;
    padding-bottom: 16px;
  }

  .hero-content {
    width: 100%;
  }

  .eyebrow {
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.8);
    font-size: 0.62rem;
  }

  .hero h1 {
    margin-block: 18px;
    font-size: clamp(1.9rem, 8.2vw, 2.2rem);
    line-height: 1.48;
    letter-spacing: 0;
  }

  .hero-lead {
    font-size: 0.86rem;
    line-height: 1.9;
  }

  .button-group {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
    padding-inline: 16px;
    font-size: 0.8rem;
  }

  .feature-pills {
    display: none;
  }

  .section {
    padding-block: 62px;
  }

  .section-muted {
    padding-block: 76px;
  }

  .section.trial,
  .final-cta {
    padding-block: 84px;
  }

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

  .section-heading h2 {
    font-size: 1.75rem;
  }

  .section-heading > p {
    font-size: 0.87rem;
  }

  .issue-grid,
  .program-steps,
  .check-list,
  .reason-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .issue-grid li {
    min-height: 0;
  }

  .program-steps li {
    min-height: 0;
    padding-left: 116px;
  }

  .program-steps img {
    position: absolute;
    top: 30px;
    left: 28px;
  }

  .trial-panel {
    margin-inline: -4px;
    padding: 26px 20px;
  }

  .measurement ul {
    gap: 6px;
  }

  .experience-photo {
    min-height: 310px;
  }

  .experience-steps {
    grid-template-columns: 1fr;
  }

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

  .case-grid article:last-child {
    grid-column: 1 / -1;
  }

  .profile-grid {
    gap: 34px;
  }

  .profile-photo {
    height: 390px;
  }

  .profile-photo img {
    transform: translateX(28px);
  }

  .book-list {
    justify-content: center;
  }

  .final-cta h2 br {
    display: none;
  }

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

  .footer-brand {
    grid-column: auto;
  }

  .footer-bottom {
    text-align: left;
  }

  .mobile-fixed-cta {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 120;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    background: var(--navy);
    box-shadow: 0 -5px 20px rgba(15, 35, 52, 0.22);
    font-size: 0.9rem;
    font-weight: 800;
    text-decoration: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   下層ページ用コンポーネント
   ============================================================
   トップページ(index.html)では使用しない。
   /service/ /wellness/ /about/ などの各下層ページで共通利用する。
   ============================================================ */

.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(40px, 6vw, 72px) clamp(44px, 6vw, 76px);
  color: var(--white);
  background: linear-gradient(165deg, var(--navy-dark), var(--navy));
}

/* ページ冒頭にイメージ写真を敷く場合の構造（写真がないページは従来どおり紺一色） */
.page-hero-media,
.page-hero-media img,
.page-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero-media img {
  display: block;
  object-fit: cover;
  object-position: center center;
}

/* 白文字が乗る左〜72%は濃度を保ち、文字が来ない右側は薄くして写真を見せる。
   各区間の濃度は全23ページの写真から必要値を逆算し、AA基準の1.25倍を満たす値。 */
.page-hero-overlay {
  background:
    linear-gradient(95deg, rgba(15, 35, 52, 0.78) 0%, rgba(15, 35, 52, 0.75) 45%, rgba(17, 39, 58, 0.73) 72%, rgba(21, 46, 71, 0.4) 84%, rgba(23, 50, 77, 0.16) 100%),
    linear-gradient(180deg, rgba(15, 35, 52, 0.08), rgba(15, 35, 52, 0.2));
}

.page-hero > .container {
  position: relative;
  z-index: 2;
}

.page-hero h1 {
  max-width: 22em;
  margin: 16px 0 0;
  color: var(--white);
  font-size: clamp(1.85rem, 3.2vw, 2.7rem);
  line-height: 1.5;
}

.page-hero .section-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.page-lead {
  max-width: 44em;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.98rem;
  line-height: 2;
}

.breadcrumb {
  margin-bottom: 22px;
  font-size: 0.72rem;
  line-height: 1.9;
}

.breadcrumb ol {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  list-style: none;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.62);
}

.breadcrumb li:not(:last-child)::after {
  content: "";
  width: 5px;
  height: 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  border-right: 1px solid rgba(255, 255, 255, 0.5);
  transform: rotate(45deg);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.breadcrumb a:hover {
  border-bottom-color: rgba(255, 255, 255, 0.6);
}

.breadcrumb [aria-current="page"] {
  color: var(--white);
  font-weight: 700;
}

.anchor-nav {
  margin-top: 30px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.anchor-nav h2 {
  margin: 0 0 14px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.anchor-nav ol {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  list-style: none;
  counter-reset: anchor;
}

.anchor-nav li {
  counter-increment: anchor;
}

.anchor-nav a {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: #3d4b55;
  font-size: 0.86rem;
  font-weight: 700;
  line-height: 1.8;
  text-decoration: none;
}

.anchor-nav a::before {
  content: counter(anchor, decimal-leading-zero);
  color: var(--pink);
  font-size: 0.72rem;
  font-weight: 800;
}

.anchor-nav a:hover {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.section-heading-left {
  max-width: 44em;
  margin-inline: 0;
  text-align: left;
}

.section-heading-left > p {
  margin-inline: 0;
}

.prose {
  max-width: 46em;
}

.prose > * + * {
  margin-top: 22px;
}

.prose h3 {
  margin-top: 46px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 1.28rem;
}

.prose h4 {
  margin-top: 34px;
  margin-bottom: 0;
  color: var(--navy-dark);
  font-size: 1rem;
}

.prose p {
  margin-bottom: 0;
  font-size: 0.94rem;
  line-height: 2.05;
}

.prose ul,
.prose ol {
  margin-block: 0;
  padding-left: 1.4em;
}

.prose li {
  margin-top: 10px;
  font-size: 0.94rem;
  line-height: 2;
}

.prose li::marker {
  color: var(--pink);
  font-weight: 700;
}

.prose strong {
  color: var(--navy-dark);
}

.prose a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.data-table th,
.data-table td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  line-height: 1.9;
  vertical-align: top;
}

.data-table thead th {
  color: var(--white);
  background: var(--navy);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.data-table tbody th {
  width: 11em;
  color: var(--navy-dark);
  background: var(--warm);
  font-weight: 700;
}

.data-table tbody tr:last-child th,
.data-table tbody tr:last-child td {
  border-bottom: 0;
}

.card-grid {
  display: grid;
  gap: 20px;
}

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

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

.card-grid > article {
  padding: 28px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card-grid > article h3 {
  margin-bottom: 12px;
  font-size: 1.12rem;
}

.card-grid > article p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.95;
}

.card-grid > article ul {
  margin: 14px 0 0;
  padding-left: 1.2em;
}

.card-grid > article li {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.85;
}

.card-grid > article li::marker {
  color: var(--pink);
}

.card-tag {
  align-self: flex-start;
  margin-bottom: 14px;
  padding: 4px 12px;
  border: 1px solid var(--navy);
  border-radius: 999px;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
}

.step-flow {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step-flow > li {
  position: relative;
  padding: 0 0 34px 46px;
  counter-increment: step;
}

/* トップページのロードマップと同じ円形番号バッジで番号の視覚言語を統一する */
.step-flow > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(23, 50, 77, 0.07);
  font: 800 0.68rem/1 ui-monospace, Menlo, monospace;
}

.step-flow > li::after {
  content: "";
  position: absolute;
  top: 36px;
  bottom: 0;
  left: 14px;
  border-left: 1px dashed rgba(23, 50, 77, 0.28);
}

.step-flow > li:last-child {
  padding-bottom: 0;
}

.step-flow > li:last-child::after {
  display: none;
}

.step-flow h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.step-flow p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.95;
}

/* 直前に別のブロックがある場合のみ上余白をとる（枠線同士の密着を防ぐ） */
* + .callout {
  margin-top: 34px;
}

.callout {
  padding: 24px 26px;
  border: 1px solid rgba(23, 50, 77, 0.2);
  border-radius: var(--radius);
  background: var(--blue-wash);
}

.callout h3 {
  margin-bottom: 12px;
  font-size: 1rem;
}

.callout p {
  margin-bottom: 0;
  color: #3e4a53;
  font-size: 0.88rem;
  line-height: 1.95;
}

.callout p + p {
  margin-top: 12px;
}

.callout-pink {
  border-color: rgba(215, 24, 104, 0.28);
  background: rgba(215, 24, 104, 0.05);
}

/* 注意ボックスが連続する場合、強調は先頭の1つに絞り2つ目以降は中立にする */
.callout-pink + .callout-pink {
  border-color: rgba(23, 50, 77, 0.2);
  background: var(--white);
}

.link-list {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
}

.link-list a {
  height: 100%;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--navy-dark);
  background: var(--white);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.7;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.link-list a::after {
  content: "→";
  flex: 0 0 auto;
  color: var(--pink);
  font-weight: 800;
}

.link-list a:hover {
  border-color: var(--navy);
  background: #fbfbfa;
}

.cta-band {
  padding-block: clamp(56px, 7vw, 88px);
  color: var(--white);
  text-align: center;
  background: linear-gradient(165deg, var(--navy-dark), var(--navy));
}

.cta-band .section-kicker {
  color: rgba(255, 255, 255, 0.78);
}

.cta-band h2 {
  margin: 14px auto 0;
  max-width: 30em;
  color: var(--white);
  font-size: clamp(1.5rem, 2.6vw, 2.05rem);
}

.cta-band p {
  max-width: 40em;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.94rem;
  line-height: 2;
}

.cta-band .button-group {
  margin-top: 32px;
  justify-content: center;
}

.cta-band .note {
  color: rgba(255, 255, 255, 0.6);
}

.pill-row {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.pill-row li {
  padding: 7px 14px;
  border: 1px solid rgba(23, 50, 77, 0.16);
  border-radius: 999px;
  color: #3d5263;
  background: var(--white);
  font-size: 0.74rem;
  font-weight: 700;
}

.spec-row {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

/* 項目が5つのとき用。4列だと1つだけ次の行に取り残されるため */
.spec-row-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.spec-row-5 > div {
  padding: 20px 12px;
}

.spec-row-5 dd {
  font-size: 1.14rem;
}

/* 見出しが2行になる項目があるので、高さを揃えて数値の位置をそろえる */
.spec-row-5 dt {
  min-height: 3.6em;
}

/* 5列は幅が狭いので、括弧書きの注記だけ一段落とす */
.spec-row-5 dd .nowrap {
  font-size: 0.82em;
}

.spec-row > div {
  padding: 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}

.spec-row dt {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 700;
}

.spec-row dd {
  margin: 10px 0 0;
  color: var(--navy-dark);
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1.28rem;
  font-weight: 700;
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .card-grid-3,
  .spec-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* 5項目は2列だと1つ余るので3列（3＋2）にする */
  .spec-row-5 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  /* 幅が狭いと文字が全幅に回り込むため、全体を一様な濃度にする */
  .page-hero-overlay {
    background: linear-gradient(180deg, rgba(15, 35, 52, 0.76), rgba(19, 42, 63, 0.8));
  }

  .anchor-nav ol,
  .card-grid-2,
  .link-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .prose,
  .page-hero h1,
  .page-lead {
    max-width: none;
  }
}

@media (max-width: 600px) {
  .card-grid-3,
  .spec-row {
    grid-template-columns: minmax(0, 1fr);
  }

  /* 1列では見出しの高さ合わせが不要（余白になるだけ） */
  .spec-row-5 dt {
    min-height: 0;
  }

  .card-grid > article,
  .callout {
    padding: 22px 20px;
  }

  .step-flow > li {
    padding-left: 0;
    padding-top: 40px;
  }

  .step-flow > li::before {
    top: 0;
  }

  .step-flow > li::after {
    display: none;
  }

  .data-table th,
  .data-table td {
    padding: 13px 14px;
  }

  .data-table tbody th {
    width: 8em;
  }
}

/* ------------------------------------------------------------
   下層ページ用コンポーネントの隣接余白
   ------------------------------------------------------------
   .card-grid や .prose などは margin を持たないため、直接続けて
   配置すると枠線同士が密着する。直前に兄弟要素がある場合のみ
   上余白をとる（.section-heading の margin-bottom:50px とは
   マージン相殺されるため見出し直後の余白は変わらない）。
   ------------------------------------------------------------ */
* + .section-heading,
* + .prose,
* + .card-grid,
* + .step-flow,
* + .table-wrap,
* + .link-list,
* + .spec-row,
* + .pill-row,
* + .check-list,
* + .anchor-nav,
* + .faq-list,
* + .measurement {
  margin-top: 34px;
}

/* カード内でリスト直後に締めの一文を置いたときの余白 */
.card-grid > article ul + p,
.card-grid > article p + ul {
  margin-top: 14px;
}

/* 3カラムグリッドにカードが5枚のとき、最終行の2枚を中央に寄せて空きセルを作らない（デスクトップのみ） */
@media (min-width: 1081px) {
  .card-grid-3:has(> article:nth-child(4):nth-last-child(2)) {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .card-grid-3:has(> article:nth-child(4):nth-last-child(2)) > article {
    grid-column: span 2;
  }

  .card-grid-3:has(> article:nth-child(4):nth-last-child(2)) > article:nth-child(4) {
    grid-column: 2 / span 2;
  }
}

/* ============================================================
   導入ロードマップ（トップページ）
   ============================================================
   5ステップを「試す → 確かめる → 続ける」の3フェーズに束ね、
   矢印で連結するインフォグラフィック。フェーズがマークアップ上の
   親子関係になっているため、1カラムに落としてもグループが崩れない。
   ============================================================ */
.roadmap-phases {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  list-style: none;
}

.roadmap-phases > li {
  position: relative;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

/* フェーズ間の矢印 */
.roadmap-phases > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -19px;
  z-index: 2;
  width: 12px;
  height: 12px;
  border-top: 2px solid var(--pink);
  border-right: 2px solid var(--pink);
  transform: translateY(-50%) rotate(45deg);
}

.roadmap-phase-head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.roadmap-phase-head b {
  display: block;
  color: var(--navy-dark);
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.roadmap-phase-head small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.74rem;
  line-height: 1.7;
}

.roadmap-steps {
  margin: 0;
  padding: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.roadmap-steps > li {
  display: flex;
  gap: 13px;
}

.roadmap-steps i {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(23, 50, 77, 0.07);
  font: 800 0.68rem/1 ui-monospace, Menlo, monospace;
  font-style: normal;
}

.roadmap-steps strong {
  display: block;
  color: var(--navy-dark);
  font-size: 0.92rem;
  line-height: 1.55;
}

.roadmap-steps span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.79rem;
  line-height: 1.8;
}

.roadmap-steps em {
  display: inline-block;
  margin-top: 8px;
  padding: 2px 9px;
  border-radius: 999px;
  color: var(--navy);
  background: rgba(23, 50, 77, 0.06);
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 800;
}

/* 3つ目のフェーズは1ステップのみのため、締めの一文で余白を埋める */
.roadmap-phases > li > .note {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

@media (max-width: 860px) {
  .roadmap-phases {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  /* 縦積み時は矢印を下向きに */
  .roadmap-phases > li:not(:last-child)::after {
    top: auto;
    right: auto;
    bottom: -21px;
    left: 50%;
    transform: translateX(-50%) rotate(135deg);
  }
}

@media (max-width: 600px) {
  .roadmap-phases > li {
    padding: 22px 20px;
  }
}

/* ============================================================
   助成金 簡易チェックの整理ツール（/wellness/check/）
   ============================================================
   選んだ項目を3つの観点に整理して相談メモを組み立てる。
   制度の該当性を判定する機能ではないため、点数・合否・制度名は出さない。
   処理はすべてブラウザ内で完結し、送信も保存もしない。
   ============================================================ */
.checker {
  margin-top: 34px;
}

.checker-groups {
  display: grid;
  gap: 18px;
}

.checker-group {
  min-width: 0;
  margin: 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.checker-group > legend {
  padding: 0;
  color: var(--navy-dark);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.checker-group > legend small {
  margin-left: 10px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

/* fieldsetのpadding-topがlegendの下に効くため、ここでは上余白を足さない */
.checker-items {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.checker-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  color: #3e4a53;
  font-size: 0.9rem;
  line-height: 1.7;
  cursor: pointer;
  transition: background 160ms ease;
}

.checker-item:hover {
  background: var(--warm);
}

.checker-item input {
  width: 19px;
  height: 19px;
  margin: 4px 0 0;
  flex: 0 0 auto;
  accent-color: var(--pink);
  cursor: pointer;
}

.checker-item input:checked ~ span {
  color: var(--navy-dark);
  font-weight: 700;
}

.checker-result {
  margin-top: 26px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--warm);
}

.checker-result > h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.checker-empty {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.95;
}

.checker-block {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.checker-block:first-of-type {
  margin-top: 16px;
}

.checker-block > h4 {
  margin: 0 0 10px;
  color: var(--navy-dark);
  font-size: 0.9rem;
  font-weight: 800;
}

.checker-block > h4 small {
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.checker-todo-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.checker-lines + .checker-todo-label {
  margin-top: 14px;
}

.checker-lines {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
}

.checker-lines > li {
  padding-left: 1.5em;
  position: relative;
  color: #3e4a53;
  font-size: 0.86rem;
  line-height: 1.75;
}

.checker-lines > li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--pink);
  font-weight: 900;
}

.checker-lines-todo > li {
  color: var(--muted);
}

.checker-lines-todo > li::before {
  content: "―";
  color: var(--muted);
  font-weight: 700;
}

.checker-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.checker-copied {
  align-self: center;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
}

/* クリップボードAPIが使えない環境向けの手動コピー欄 */
.checker-fallback {
  width: 100%;
  height: 11em;
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #3e4a53;
  background: var(--white);
  font-family: inherit;
  font-size: 0.82rem;
  line-height: 1.8;
  resize: vertical;
}

@media (max-width: 600px) {
  .checker-group {
    padding: 20px 18px;
  }

  .checker-result {
    padding: 22px 20px;
  }

  .checker-actions .button {
    width: 100%;
  }
}

/* ============================================================
   お問い合わせフォーム（/contact/）
   ============================================================ */
.contact-form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.form-row label {
  color: var(--navy-dark);
  font-size: 0.86rem;
  font-weight: 700;
}

.form-row .required {
  margin-left: 4px;
  color: var(--pink);
  font-weight: 800;
}

.form-row .optional {
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 0.92rem;
  line-height: 1.6;
}

.form-row input:focus-visible,
.form-row select:focus-visible,
.form-row textarea:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 1px;
}

.form-row textarea {
  min-height: 10em;
  resize: vertical;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--warm);
}

.form-consent input {
  width: 19px;
  height: 19px;
  margin-top: 2px;
  flex: 0 0 auto;
  accent-color: var(--pink);
}

.form-consent span {
  color: #3e4a53;
  font-size: 0.86rem;
  line-height: 1.8;
}

.form-consent a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-submit {
  display: flex;
  justify-content: center;
}

/* ハニーポット: 人間には見えないが、フォーム欄としてはDOM上に存在する */
.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.form-notice {
  padding: 16px 18px;
  border: 1px solid rgba(215, 24, 104, 0.32);
  border-radius: 8px;
  background: rgba(215, 24, 104, 0.05);
  color: var(--navy-dark);
  font-size: 0.88rem;
  line-height: 1.8;
}

.form-prefill-note {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--blue-wash);
  color: var(--navy-dark);
  font-size: 0.86rem;
  line-height: 1.8;
}

@media (max-width: 600px) {
  .form-row-pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* トップページ各セクション末尾から下層ページへ誘導するリンク */
.section-more {
  margin: 34px 0 0;
  text-align: center;
}

.section-more a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(23, 50, 77, 0.28);
  color: var(--navy);
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: gap 180ms ease, border-color 180ms ease;
}

.section-more a::after {
  content: "→";
  color: var(--pink);
  font-weight: 800;
}

.section-more a:hover {
  gap: 12px;
  border-bottom-color: var(--navy);
}

/* カード内に置いた場合は中央寄せを解除する */
.card-grid > article .section-more,
.support-grid .section-more {
  text-align: left;
}

.trial .section-more a {
  border-bottom-color: rgba(255, 255, 255, 0.45);
  color: rgba(255, 255, 255, 0.94);
}

.trial .section-more a:hover {
  border-bottom-color: var(--white);
}
