/* Human Story direction shared with the selected corporate LP. */
body {
  background: #fff;
}

.nav {
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  max-width: none;
  min-height: 76px;
  padding: 16px max(24px, calc((100vw - var(--max)) / 2));
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

.brand-logo {
  width: 132px;
}

.nav-cta,
.button {
  border-radius: 3px;
  font-weight: 600;
}

.nav-links {
  gap: 30px;
}

.nav-links a {
  position: relative;
  padding-block: 8px;
}

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

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

.hero {
  min-height: 640px;
  padding: 76px 0 0;
  color: #fff;
  background:
    linear-gradient(
      to top,
      rgba(18, 18, 21, 0.94) 0%,
      rgba(18, 18, 21, 0.72) 40%,
      rgba(18, 18, 21, 0.04) 78%
    ),
    url("assets/hero-visual.jpg") center 45% / cover no-repeat;
}

.hero::after {
  display: none;
}

.hero-layout {
  display: flex;
  min-height: 564px;
  align-items: flex-end;
  padding-bottom: 0;
}

.hero-layout > div {
  width: min(100%, 820px);
}

.label {
  margin-bottom: 16px;
  color: #ff91c3;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.6;
  text-transform: uppercase;
}

.label::before {
  display: none;
}

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(48px, 4.75vw, 64px);
  font-weight: 540;
  line-height: 1.14;
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.85;
}

.hero-actions {
  margin-bottom: 18px;
}

.hero-scope {
  margin-bottom: 30px;
}

.hero-scope li {
  border-color: rgba(255, 255, 255, 0.32);
  color: #e4e4ea;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(20, 20, 24, 0.24);
  color: #fff;
}

.button.secondary:hover {
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(20, 20, 24, 0.48);
}

.hero-proof {
  max-width: 900px;
  border-color: rgba(255, 255, 255, 0.34);
}

.hero-proof div {
  display: flex;
  min-height: 102px;
  flex-direction: column;
  justify-content: center;
  padding: 20px 30px;
  border-color: rgba(255, 255, 255, 0.2);
}

.hero-proof div:first-child {
  padding-left: 0;
}

.hero-proof div:last-child {
  padding-right: 0;
}

.hero-proof strong {
  margin-bottom: 9px;
  color: #fff;
  font-size: 18px;
  font-weight: 560;
  line-height: 1.25;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.55;
}

section {
  padding: 104px 24px;
}

section[id] {
  scroll-margin-top: 76px;
}

.section-head {
  grid-template-columns: minmax(0, 1.18fr) minmax(280px, 0.72fr);
  gap: 80px;
  align-items: start;
  margin-bottom: 60px;
}

.section-kicker {
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.4;
}

.section-title {
  font-size: 44px;
  font-weight: 540;
  line-height: 1.3;
  overflow-wrap: normal;
}

.section-title .heading-line {
  white-space: nowrap;
}

/* 1行が長い見出し(desktopでのnowrap維持のための微調整) */
@media (min-width: 901px) {
  .section-title.is-compact {
    font-size: 40px;
  }
}

@media (min-width: 901px) and (max-width: 1060px) {
  .section-title.is-compact {
    font-size: 34px;
  }
}

.section-lead {
  max-width: 38ch;
  font-size: 14px;
  line-height: 2;
}

.photo {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.photo figcaption {
  display: none;
}

.problem,
.use,
.faq {
  background: #fff;
}

.problem-layout {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 72px;
  align-items: center;
}

.problem .photo,
.use .photo {
  height: 410px;
  aspect-ratio: auto;
}

.problem-row {
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 26px 0;
}

.problem-row:hover {
  transform: none;
}

.problem-row h3 {
  font-size: 18px;
  font-weight: 560;
  line-height: 1.55;
}

.steps {
  margin-top: 52px;
  border-color: var(--ink);
}

.steps li {
  border-color: var(--line);
  font-size: 12px;
}

.framework,
.proof,
.price,
.faq {
  background: #f5f5f7;
}

.flow {
  background: #fff;
}

.proof-board {
  gap: 0;
  overflow: visible;
  border: 0;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.proof-item {
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 34px 30px 30px;
  border-right: 1px solid var(--line-strong);
  background: transparent;
}

.proof-item:last-child {
  border-right: 0;
}

.proof-item:hover {
  background: transparent;
}

.proof-item h3 {
  font-size: 22px;
  font-weight: 560;
}

.proof-item p {
  line-height: 1.9;
}

.proof-item .proof-tags {
  margin-top: auto;
}

.proof-tags li {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
}

.proof-tags li + li::before {
  margin-right: 8px;
  content: "/";
}

.program {
  padding-block: 104px;
  background: var(--graphite);
  color: #fff;
}

.program .section-lead,
.program .program-item p {
  color: rgba(255, 255, 255, 0.66);
}

.program-grid {
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
}

.program-item {
  min-height: 230px;
  padding: 30px 28px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.program-item:nth-child(3n) {
  border-right: 0;
}

.program-item:nth-child(n + 4) {
  border-bottom: 0;
}

.program-item:hover {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: none;
  transform: none;
}

.program-icon {
  width: 34px;
  height: 34px;
  border-radius: 0;
  background: transparent;
  color: var(--accent);
}

/* 年齢・形式のアクセント(暗色セクション用の落ち着いたトーン) */
.program-badge {
  padding: 3px 10px;
  background: rgba(217, 31, 119, 0.26);
  color: #ffa8ce;
  font-size: 11px;
  font-weight: 600;
}

.program-badge.is-age23 {
  background: rgba(214, 170, 74, 0.18);
  color: #e8c98a;
}

.program-badge.is-age45 {
  background: rgba(106, 168, 124, 0.2);
  color: #a0d1b1;
}

.program-badge.is-mixed {
  background: rgba(98, 142, 194, 0.22);
  color: #a9c5e4;
}

.program-badge.is-family {
  background: rgba(216, 124, 100, 0.2);
  color: #eeae97;
}

.program-badge.is-routine {
  background: rgba(94, 164, 158, 0.2);
  color: #9ad0c9;
}

.program-item h3 {
  font-size: 18px;
  font-weight: 560;
  line-height: 1.55;
}

.solution {
  padding-block: 100px;
}

.solution-grid {
  gap: 56px;
  align-items: center;
}

.solution .photo {
  height: 430px;
  aspect-ratio: auto;
}

.solution .photo img,
.use .photo img {
  height: 100%;
}

.solution-cards {
  border-top: 1px solid rgba(255, 255, 255, 0.34);
}

.solution-card {
  min-height: 0;
  padding: 25px 4px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: transparent;
}

.use-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 72px;
  align-items: center;
}

.case-card {
  padding: 0;
  border: 0;
  border-top: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
}

.case-card dl > div {
  grid-template-columns: 88px minmax(0, 1fr);
  padding: 22px 0;
  border-top: 0;
  border-bottom: 1px solid var(--line);
}

.case-card dl > div:first-child {
  padding-top: 22px;
}

.case-card dl > div:last-child {
  padding-bottom: 22px;
}

.price-included {
  padding: 24px 0 4px;
  border: 0;
  border-top: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
}

.price-included li {
  border-color: var(--line-strong);
  border-radius: 0;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.price-item {
  display: flex;
  min-height: 336px;
  flex-direction: column;
  padding: 32px 26px 28px;
  border-right: 1px solid var(--line-strong);
}

.price-item:last-child {
  border-right: 0;
}

.price-item.is-featured {
  background: #fff;
  box-shadow: inset 0 3px 0 var(--accent);
}

.price-item small {
  margin-bottom: 30px;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 650;
  line-height: 1.4;
}

.price-item h3 {
  min-height: 50px;
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 560;
  line-height: 1.5;
}

.price-item strong {
  display: block;
  margin-bottom: 26px;
  font-size: 26px;
  font-weight: 580;
  line-height: 1.25;
  white-space: nowrap;
}

.price-item strong span {
  font-size: 12px;
  font-weight: 500;
}

.price-item .price-consult {
  font-size: 21px;
}

.price-item ul {
  display: grid;
  gap: 9px;
  margin: auto 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
  list-style: none;
}

.price-item li {
  position: relative;
  padding-left: 13px;
}

.price-item li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  content: "";
  background: var(--accent);
}

.price-note {
  margin: 18px 0 0;
  color: var(--subtle);
  font-size: 11px;
  line-height: 1.7;
}

.flow-line {
  gap: 0;
  border-color: var(--ink);
}

.flow-step {
  min-height: 214px;
  padding: 36px 24px 18px;
  border-right: 1px solid var(--line-strong);
}

.flow-step:last-child {
  border-right: 0;
}

.faq-list {
  gap: 0;
  border-top: 1px solid var(--ink);
}

.faq-item {
  min-height: 184px;
  padding: 28px 28px;
  border: 0;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}

.cta {
  padding: 0;
  background: var(--graphite);
}

.cta-panel {
  min-height: 390px;
  padding: 76px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.cta-panel h2 {
  font-size: 44px;
  font-weight: 540;
  line-height: 1.28;
}

@media (max-width: 900px) {
  .nav-links {
    gap: 18px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 52px;
  }

  .section-title {
    font-size: 36px;
  }

  .section-title .heading-line {
    white-space: normal;
  }

  .problem-layout,
  .solution-grid,
  .use-layout {
    grid-template-columns: 1fr;
  }

  .problem .photo,
  .solution .photo,
  .use .photo {
    width: 100%;
    height: 340px;
  }

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

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

  .price-item:nth-child(2n) {
    border-right: 0;
  }

  .price-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line-strong);
  }

  .program-item:nth-child(3n) {
    border-right: 1px solid rgba(255, 255, 255, 0.16);
  }

  .program-item:nth-child(2n) {
    border-right: 0;
  }

  .program-item:nth-child(n + 4) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .program-item:nth-child(n + 5) {
    border-bottom: 0;
  }

  /* 法人LPと同仕様の固定CTA(ヒーロー通過後に表示) */
  .mobile-cta {
    position: fixed;
    z-index: 45;
    right: 10px;
    bottom: 10px;
    left: 10px;
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--accent);
    border-radius: 3px;
    background: var(--accent);
    box-shadow: 0 10px 30px rgba(23, 23, 27, 0.18);
    color: #fff;
    font-size: 13px;
    font-weight: 650;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition:
      opacity 180ms ease-out,
      transform 180ms ease-out;
  }

  .mobile-cta.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .nav {
    top: 0;
    right: 0;
    left: 0;
    width: 100%;
    min-height: 64px;
    padding: 11px 14px;
  }

  section[id] {
    scroll-margin-top: 64px;
  }

  .brand-logo {
    width: 110px;
  }

  .hero {
    min-height: 700px;
    padding: 64px 0 0;
    background-position: 62% center;
  }

  .hero-layout {
    min-height: 636px;
    padding-inline: 14px;
  }

  h1 {
    max-width: 100%;
    font-size: 32px;
  }

  .hero-copy {
    max-width: 350px;
    font-size: 13px;
    line-height: 1.8;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .button {
    width: auto;
    padding-inline: 12px;
    font-size: 12px;
  }

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

  .hero-proof div,
  .hero-proof div:last-child {
    min-height: 98px;
    padding: 16px 12px;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 0;
  }

  .hero-proof div:first-child {
    padding-left: 0;
  }

  .hero-proof div:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .hero-proof strong {
    margin-bottom: 7px;
    font-size: 14px;
  }

  .hero-proof span {
    font-size: 9px;
    line-height: 1.5;
  }

  section {
    padding: 84px 14px;
  }

  .section-title {
    font-size: 29px;
    line-height: 1.34;
  }

  .section-lead {
    font-size: 13px;
  }

  .problem .photo,
  .solution .photo,
  .use .photo {
    height: 232px;
  }

  .proof-board,
  .program-grid,
  .price-grid,
  .faq-list {
    grid-template-columns: 1fr;
  }

  .proof-item,
  .program-item,
  .price-item,
  .faq-item {
    min-height: 0;
    border-right: 0;
  }

  .proof-item,
  .program-item {
    padding: 28px 4px;
  }

  .price-item,
  .price-item:nth-child(2n) {
    min-height: 0;
    padding: 28px 4px;
    border-right: 0;
    border-bottom: 1px solid var(--line-strong);
  }

  .price-item:last-child {
    border-bottom: 0;
  }

  .price-item h3 {
    min-height: 0;
  }

  .program-item:nth-child(2n),
  .program-item:nth-child(3n),
  .program-item:nth-child(n + 5) {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .program-item:last-child {
    border-bottom: 0;
  }

  .solution-card {
    padding-inline: 4px;
  }

  .flow-step {
    min-height: 0;
    padding: 0 0 28px 28px;
    border-right: 0;
  }

  .cta-panel {
    min-height: 440px;
    padding: 72px 14px;
  }

  .cta-panel h2 {
    font-size: 29px;
  }

  .case-card dl > div,
  .case-card dl > div:first-child {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 18px 0;
  }

  .price-included {
    padding-top: 20px;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 28px;
  }

  .section-title,
  .cta-panel h2 {
    font-size: 24px;
    line-height: 1.4;
  }

  .hero-actions .button {
    padding-inline: 8px;
    font-size: 11px;
  }
}
