@charset "UTF-8";

:root {
  --blue: #0050bf;
  --blue-dark: #073c91;
  --sky: #dff3ff;
  --yellow: #ffd500;
  --yellow-soft: #fff5b7;
  --gold: #ffd500;
  --gold-dark: #0050bf;
  --ink: #101525;
  --muted: #5b6472;
  --line: #d8dee9;
  --white: #ffffff;
  --panel: #f6fbff;
  --font-ja: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --font-en: "Arial Black", "Segoe UI", sans-serif;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-ja);
  color: var(--ink);
  background: var(--white);
  line-height: 1.9;
  letter-spacing: 0;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
.inner { width: min(100%, var(--max)); margin: 0 auto; padding: 0 28px; }

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 82px;
  padding: 18px 36px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 10px 36px rgba(0, 58, 135, .06);
}
.header__logo { display: grid; gap: 2px; flex: 0 0 auto; }
.header__logo .en {
  font-family: var(--font-en);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--ink);
}
.header__logo .en span { color: var(--blue); }
.header__logo .ja { color: var(--blue); font-size: 11px; font-weight: 800; }
.gnav { display: flex; align-items: center; gap: 18px; font-size: 12px; font-weight: 900; }
.gnav a:not(.btn-line-nav) {
  position: relative;
  padding: 7px 0;
  white-space: nowrap;
}
.gnav a:not(.btn-line-nav)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.gnav a.current::after,
.gnav a:hover::after,
.gnav a:focus-visible::after { transform: scaleX(1); }
.btn-line-nav,
.btn-line,
.btn-submit,
.fixed-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 13px 22px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  box-shadow: 0 16px 34px rgba(0,80,191,.22);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
}
.btn-line-nav::before,
.btn-line::before {
  content: "LINE";
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  color: var(--blue);
  background: var(--white);
  font-family: var(--font-en);
  font-size: 8px;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--blue);
}
.nav-toggle span { display: block; width: 20px; height: 2px; margin: 5px auto; background: var(--white); transition: .2s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: 78svh;
  display: grid;
  align-items: center;
  padding: 148px 0 96px;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(104deg, rgba(223,243,255,.78), rgba(255,255,255,.86) 45%, rgba(255,255,255,.94)),
    url("../assets/images/consulting-session.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.hero::before {
  content: "";
  position: absolute;
  right: -90px;
  top: 90px;
  width: 340px;
  height: 480px;
  background: var(--yellow);
  border-radius: 48% 52% 44% 56% / 44% 42% 58% 56%;
  transform: rotate(18deg);
}
.hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: 0;
  width: 240px;
  height: 100%;
  background: rgba(190,231,255,.9);
  clip-path: polygon(48% 0, 100% 0, 100% 100%, 0 100%, 24% 54%);
}
.hero__inner { position: relative; z-index: 1; }
.hero__bg-text {
  position: absolute;
  right: -28px;
  bottom: 36px;
  z-index: 0;
  color: rgba(0,80,191,.08);
  font-family: var(--font-en);
  font-size: clamp(74px, 15vw, 190px);
  font-weight: 900;
  line-height: .8;
  white-space: nowrap;
  pointer-events: none;
}
.breadcrumb {
  margin: 0 0 26px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
}
.hero__label {
  margin: 0 0 16px;
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 900;
}
.hero h1 {
  max-width: 860px;
  margin: 0;
  font-size: clamp(38px, 6.2vw, 76px);
  line-height: 1.16;
  font-weight: 900;
}
.hero h1 em { color: var(--blue); font-style: normal; }
.hero__lead {
  max-width: 690px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 700;
}

.section { position: relative; padding: 96px 0; background: var(--white); scroll-margin-top: 92px; }
.section--white { background: var(--panel); }
.section--dark {
  color: var(--white);
  background:
    linear-gradient(rgba(0,61,145,.82), rgba(0,61,145,.82)),
    url("../assets/images/client-portraits.png") center / cover fixed;
}
.section__head { margin-bottom: 44px; }
.section__num {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 16px;
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 16px;
  font-weight: 900;
}
.section--dark .section__num { color: var(--yellow); }
.section__num strong { font-size: 52px; line-height: .9; }
.section__num::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.section--dark .section__num::after { background: rgba(255,255,255,.32); }
.section__title {
  margin: 0;
  font-size: clamp(28px, 4.6vw, 52px);
  line-height: 1.36;
  font-weight: 900;
}
.section__title em { color: var(--blue); font-style: normal; }
.section--dark .section__title em { color: var(--yellow); }
.section__lead { max-width: 760px; color: var(--muted); font-weight: 700; }
.section--dark .section__lead { color: rgba(255,255,255,.82); }

.issues {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.issues li {
  display: flex;
  gap: 18px;
  min-height: 92px;
  padding: 24px;
  align-items: center;
  background: var(--white);
  font-weight: 800;
}
.issues .no {
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 28px;
  font-weight: 900;
}
.issues__close {
  margin: 44px 0 0;
  padding: 34px;
  background: var(--yellow);
  clip-path: polygon(0 0, 100% 0, 96% 100%, 0 100%);
  font-size: 24px;
  font-weight: 900;
}
.issues__close strong { color: var(--blue); }

.detail-grid,
.cards,
.voice-grid,
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
.detail-card,
.card,
.voice-card,
.blog-card,
.profile,
.contact-form,
.contact-alt,
.legal-table,
.story-close,
.story-intro,
.chapter,
.price-card,
.diagnosis-card,
.flow-card {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px rgba(0,58,135,.08);
}
.detail-card,
.card,
.voice-card,
.blog-card,
.story-intro,
.chapter,
.price-card,
.diagnosis-card,
.flow-card {
  padding: 30px;
}
.detail-card__label,
.chapter__label,
.voice-cat__en,
.blog-card__cat {
  color: var(--blue);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 900;
}
.detail-card h3,
.card h3,
.chapter h3,
.price-card h3,
.diagnosis-card h3,
.flow-card h3,
.blog-card h3 {
  margin: 10px 0 12px;
  font-size: 22px;
  line-height: 1.45;
  font-weight: 900;
}
.detail-card p,
.card p,
.chapter p,
.price-card p,
.diagnosis-card p,
.flow-card p,
.blog-card p {
  margin: 0;
  color: var(--muted);
}

.steps,
.flow-steps {
  counter-reset: step;
  display: grid;
  gap: 18px;
}
.step {
  counter-increment: step;
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 20px;
  padding: 28px 0;
  border-top: 1px solid rgba(255,255,255,.34);
}
.step__num::before {
  content: counter(step, decimal-leading-zero);
  color: var(--yellow);
  font-family: var(--font-en);
  font-size: 44px;
  font-weight: 900;
}
.step h3 { margin: 0 0 8px; font-size: 22px; }
.step p { margin: 0; color: rgba(255,255,255,.82); }

.voices,
.voice-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.voice,
.voice-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
}
.voice__stars { margin: 0 0 12px; color: var(--yellow); letter-spacing: .08em; }
.voice__text,
.voice-card__body { color: var(--ink); font-weight: 700; }
.voice__meta,
.voice-card__meta,
.voice-card__result { color: var(--muted); font-size: 13px; font-weight: 800; }
.voice-card__avatar {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue);
  font-family: var(--font-en);
}
.voice-cat { margin-top: 58px; }
.voice-cat__head {
  display: flex;
  align-items: end;
  gap: 20px;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--line);
  padding-bottom: 14px;
}
.voice-cat__head h2 { margin: 0; font-size: 28px; font-weight: 900; }
.voice-note {
  padding: 20px 24px;
  color: var(--muted);
  background: var(--panel);
  border-left: 8px solid var(--yellow);
  font-weight: 700;
}

.blog-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 34px;
}
.blog-filter button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--blue);
  background: var(--white);
  font-weight: 900;
  cursor: pointer;
}
.blog-filter button.is-active { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.blog-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 22px;
  padding: 0;
  overflow: hidden;
}
.blog-card__thumb {
  min-height: 170px;
  background: var(--blue);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-en);
  font-size: 40px;
  font-weight: 900;
}
.blog-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__body { padding: 24px 24px 24px 0; }
.blog-card__date { display: block; color: var(--muted); font-size: 12px; font-weight: 800; }
.more { color: var(--blue); font-weight: 900; }

.profile { display: grid; grid-template-columns: 260px 1fr; gap: 34px; padding: 34px; }
.profile__photo {
  display: grid;
  place-items: center;
  min-height: 280px;
  color: var(--blue);
  background: var(--yellow);
  font-family: var(--font-en);
  font-weight: 900;
  text-align: center;
  clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
}
.profile__name { margin: 0; font-size: 28px; font-weight: 900; }
.profile__role { color: var(--blue); font-weight: 900; }
.creds li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 22px; background: var(--line); }
.stat { padding: 20px; background: var(--panel); }
.stat__num { color: var(--blue); font-family: var(--font-en); font-size: 28px; font-weight: 900; }
.stat__label { color: var(--muted); font-size: 12px; font-weight: 800; }

.contact-form { max-width: 880px; margin: 0 auto; padding: 36px; }
.form-group { display: grid; gap: 9px; margin-bottom: 22px; }
.form-group label { font-weight: 900; }
.req, .opt {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  color: var(--white);
  background: var(--blue);
}
.opt { color: var(--blue); background: var(--sky); }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 14px 16px;
  font: inherit;
  background: var(--white);
}
textarea { min-height: 170px; resize: vertical; }
.form-note, .form-consent, .legal-note { color: var(--muted); font-size: 13px; }
.form-submit { text-align: center; }
.contact-alt { max-width: 880px; margin: 34px auto 0; padding: 34px; text-align: center; background: var(--yellow-soft); }

.legal-body {
  width: min(100%, 860px);
  margin: 0 auto;
  padding: 96px 28px;
  overflow-wrap: anywhere;
}
.legal-body > p:first-child {
  margin: 0 0 30px;
  color: var(--muted);
  font-weight: 700;
}
.legal-body .legal-note,
.legal-body .legal-date {
  margin-top: 24px;
}
.legal-date {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.legal-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  overflow: hidden;
}
.legal-table th,
.legal-table td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  overflow-wrap: anywhere;
}
.legal-table th { width: 190px; color: var(--blue); background: var(--panel); }
.legal-table tr:last-child th,
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table td p { margin: 0; }
.legal-table td p + p { margin-top: 10px; }
.legal-table td ul,
.legal-table td ol {
  margin: 0;
  padding-left: 1.25em;
}
.legal-table td ul { list-style: disc; }
.legal-table td ol { list-style: decimal; }
.legal-table td li + li { margin-top: 6px; }

.story-close {
  padding: 44px;
  text-align: center;
  background: var(--yellow-soft);
}
.story-close p { margin: 0; font-size: 24px; font-weight: 900; }
.timeline { display: grid; gap: 24px; }
.chapter { position: relative; overflow: hidden; }
.chapter::after {
  content: "";
  position: absolute;
  right: -54px;
  top: -70px;
  width: 150px;
  height: 220px;
  background: var(--yellow);
  border-radius: 50%;
}

.footer {
  padding: 56px 0 36px;
  border-top: 1px solid var(--line);
  background: var(--white);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.8fr;
  gap: 36px;
}
.footer__logo .en {
  margin: 0 0 8px;
  font-family: var(--font-en);
  font-size: 24px;
  font-weight: 900;
}
.footer__logo .en span { color: var(--blue); }
.footer__logo p { color: var(--muted); }
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  justify-content: flex-end;
  font-size: 13px;
  font-weight: 900;
}
.footer__notes,
.footer__copy { color: var(--muted); font-size: 12px; }
.footer__copy { margin-top: 24px; }
.fixed-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
}

.reveal { opacity: 1; transform: none; }

/* 6-month mental strengthening program */
.mental-program { overflow: hidden; }
.program-hero__eyebrow { margin: 0 0 14px; color: var(--blue); font-weight: 900; }
.program-hero__cta { margin-top: 22px; }
.program-definition {
  max-width: 900px;
  padding: 36px;
  border-left: 6px solid var(--blue);
  background: var(--panel);
  font-size: 18px;
  line-height: 2;
}
.program-definition p,
.program-duration__lead { margin: 0; }
.program-duration__lead { max-width: 850px; font-size: 18px; line-height: 2; }
.program-roadmap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.roadmap-card {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  background: var(--white);
  box-shadow: 0 14px 34px rgba(19, 52, 84, .08);
}
.roadmap-card span { color: var(--blue); font-family: var(--font-en); font-size: 13px; font-weight: 900; letter-spacing: .12em; }
.roadmap-card h3 { margin: 10px 0 12px; font-size: 21px; }
.roadmap-card p { margin: 0; color: var(--muted); line-height: 1.9; }
.program-inline-cta { margin-top: 42px; text-align: center; }
.program-inline-cta p { margin-bottom: 18px; font-weight: 800; }
.support-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.support-list li { display: grid; gap: 4px; padding: 22px; border: 1px solid var(--line); background: var(--white); }
.support-list strong { color: var(--blue); font-size: 17px; }
.program-note { margin-top: 20px; color: var(--muted); font-size: 13px; }
.promise-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.promise-grid p { margin: 0; padding: 22px 22px 22px 50px; background: var(--yellow-soft); font-weight: 800; }
.promise-grid p::before { content: "✓"; margin-left: -28px; margin-right: 12px; color: var(--blue); }
.case-disclosure { margin: 0 0 30px; padding: 18px 20px; border-left: 4px solid var(--blue); background: var(--sky); font-weight: 700; }
.case-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.case-card { display: flex; flex-direction: column; min-width: 0; padding: 28px; border: 1px solid var(--line); background: var(--white); }
.case-card__badge { align-self: flex-start; margin: 0 0 12px; padding: 4px 10px; color: var(--blue); background: var(--sky); font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.case-card__meta { margin: 0 0 10px; color: var(--blue); font-size: 13px; font-weight: 900; }
.case-card h3 { margin: 0 0 14px; font-size: 19px; line-height: 1.6; }
.case-card > p:not(.case-card__meta) { margin: 0; color: var(--muted); line-height: 1.9; }
.case-card small { display: block; margin-top: auto; padding-top: 18px; color: var(--muted); line-height: 1.7; }
.case-more { margin-top: 24px; }
.case-more > summary,
.program-faq summary {
  min-height: 44px;
  cursor: pointer;
  padding: 15px 52px 15px 18px;
  border: 1px solid var(--line);
  background: var(--white);
  font-weight: 900;
}
.case-more > summary { margin-bottom: 22px; text-align: center; }
.case-more > summary:focus-visible,
.program-faq summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.program-faq { display: grid; gap: 12px; }
.program-faq details { border: 1px solid var(--line); background: var(--white); }
.program-faq summary { border: 0; }
.program-faq details p { margin: 0; padding: 0 20px 22px; color: var(--muted); line-height: 1.9; }
.program-cautions .inner { max-width: 920px; }
.program-cautions h2 { margin-top: 0; }
.program-cautions ul { list-style: disc; padding-left: 1.3em; }
.program-cautions li + li { margin-top: 10px; }

@media (max-width: 768px) {
  .program-definition { padding: 24px; font-size: 16px; }
  .program-roadmap,
  .support-list,
  .promise-grid,
  .case-grid { grid-template-columns: 1fr; }
  .roadmap-card,
  .case-card { padding: 24px 20px; }
  .program-hero__cta,
  .program-inline-cta .btn-line { width: 100%; max-width: 100%; }
}

@media (max-width: 1380px) {
  .header { padding: 14px 22px; }
  .nav-toggle { display: block; position: relative; z-index: 91; }
  .gnav {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 18px;
    padding: 72px 22px;
    background: rgba(255,255,255,.98);
    transform: translateX(100%);
    transition: transform .24s ease;
    font-size: 18px;
  }
  .gnav.open { transform: translateX(0); }
  .btn-line-nav { width: min(100%, 320px); }
}

@media (max-width: 760px) {
  .inner { padding: 0 22px; }
  .legal-body { padding: 72px 22px; }
  .hero h1,
  .breadcrumb {
    overflow-wrap: anywhere;
  }
  .hero h1 {
    width: 100%;
    max-width: calc(100vw - 44px);
    font-size: 30px;
    line-height: 1.22;
    word-break: break-all;
  }
  .hero {
    min-height: 68svh;
    padding: 120px 0 72px;
    background-attachment: scroll;
  }
  .hero::before { width: 210px; height: 300px; right: -92px; }
  .section { padding: 72px 0; }
  .section--dark { background-attachment: scroll; }
  .issues,
  .detail-grid,
  .cards,
  .voice-grid,
  .blog-grid,
  .voices,
  .voice-list,
  .profile,
  .footer__grid,
  .stats {
    grid-template-columns: 1fr;
  }
  .blog-card { grid-template-columns: 1fr; }
  .blog-card__body { padding: 24px; }
  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: 100%;
    max-width: 100%;
  }
  .legal-table th {
    padding: 16px 16px 10px;
    border-bottom: 0;
  }
  .legal-table td {
    padding: 0 16px 18px;
    word-break: break-all;
  }
  .footer__nav { justify-content: flex-start; }
  .fixed-cta { left: 18px; right: 18px; bottom: 14px; }
}
