/* 代表ストーリー（/story/）専用スタイル */

.story-hero {
  background:
    radial-gradient(circle at 10% 20%, rgba(33, 211, 229, .12), transparent 30%),
    linear-gradient(135deg, #06152d 0%, #0b2545 62%, #0d314e 100%);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.story-hero::before {
  color: rgba(255, 255, 255, .025);
  content: "ABOUT ME";
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: clamp(88px, 14vw, 220px);
  font-weight: 800;
  left: -1vw;
  letter-spacing: -.07em;
  line-height: .8;
  pointer-events: none;
  position: absolute;
  top: 24px;
  white-space: nowrap;
}

.story-hero > .container {
  position: relative;
  z-index: 1;
}

.story-hero-grid {
  align-items: stretch;
  display: grid;
  gap: clamp(36px, 5vw, 72px);
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  min-height: 650px;
}

.story-hero-copy {
  align-self: center;
  padding: 86px 0;
}

.story-hero-eyebrow {
  align-items: center;
  color: #71e2ec;
  display: flex;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 700;
  gap: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.story-hero-eyebrow b {
  border-left: 1px solid rgba(255, 255, 255, .28);
  color: rgba(255, 255, 255, .68);
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: .06em;
  padding-left: 12px;
}

.story-hero h1 {
  color: #fff;
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: .02em;
  line-height: 1.18;
  margin: 24px 0 0;
}

.story-name-en {
  color: rgba(194, 240, 245, .72);
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .22em;
  margin: 8px 0 0;
}

.story-hero-role {
  color: rgba(255, 255, 255, .72);
  font-size: 15px;
  font-weight: 700;
  margin: 30px 0 0;
}

.story-hero-catch {
  color: #fff;
  font-size: clamp(25px, 3.1vw, 37px);
  font-weight: 700;
  line-height: 1.55;
  margin: 12px 0 0;
}

.story-hero-portrait {
  align-self: stretch;
  margin: 0;
  min-height: 650px;
  overflow: hidden;
  position: relative;
}

.story-hero-portrait::before {
  background: linear-gradient(90deg, #0b2545 0%, rgba(11, 37, 69, .42) 15%, transparent 42%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.story-hero-portrait picture,
.story-hero-portrait img {
  display: block;
  height: 100%;
  width: 100%;
}

.story-hero-portrait img {
  object-fit: cover;
  object-position: 58% center;
}

.story-hero-portrait figcaption {
  bottom: 28px;
  left: 34px;
  position: absolute;
  z-index: 2;
}

.story-hero-portrait figcaption span {
  background: rgba(6, 21, 45, .72);
  border: 1px solid rgba(113, 226, 236, .34);
  border-radius: 999px;
  color: #fff;
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 16px;
}

/* プロフィール */
.story-profile-section {
  overflow: hidden;
  position: relative;
}

.story-profile-word {
  color: rgba(13, 31, 78, .035);
  font-family: "Inter", sans-serif;
  font-size: clamp(90px, 15vw, 190px);
  font-weight: 800;
  left: 50%;
  letter-spacing: -.06em;
  line-height: 1;
  pointer-events: none;
  position: absolute;
  top: 42px;
  transform: translateX(-50%);
  white-space: nowrap;
}

.story-profile-heading {
  display: grid;
  gap: 40px;
  grid-template-columns: 180px minmax(0, 1fr);
  margin-bottom: 54px;
  position: relative;
}

.story-profile-heading .label { margin-top: 10px; }

.story-profile-heading h2 {
  color: var(--navy);
  font-size: clamp(36px, 4.2vw, 50px);
  font-weight: 700;
  line-height: 1.34;
  margin: 0;
}

.story-profile-heading p {
  color: var(--sub);
  font-size: 17px;
  margin-top: 18px;
}

.story-profile-grid {
  align-items: start;
  display: grid;
  gap: clamp(44px, 7vw, 90px);
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  position: relative;
}

.story-profile-intro > p:not(.story-profile-name) {
  color: var(--ink);
  font-size: 17px;
  line-height: 2.05;
  margin: 24px 0 0;
}

.story-profile-name {
  align-items: baseline;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding-bottom: 18px;
}

.story-profile-name strong {
  color: var(--navy);
  font-size: 28px;
  font-weight: 700;
}

.story-profile-name span {
  color: var(--cyan-dark);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
}

.story-profile-belief {
  border-left: 3px solid var(--cyan);
  color: var(--navy) !important;
  font-weight: 700;
  padding: 4px 0 4px 22px;
}

.story-profile-facts {
  background: #f4fafc;
  border: 1px solid #d9eaf0;
  border-radius: 22px;
  margin: 0;
  overflow: hidden;
}

.story-profile-facts > div {
  border-bottom: 1px solid #d9eaf0;
  display: grid;
  gap: 12px;
  grid-template-columns: 118px minmax(0, 1fr);
  padding: 22px 24px;
}

.story-profile-facts > div:last-child { border-bottom: 0; }

.story-profile-facts dt {
  color: var(--cyan-dark);
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.story-profile-facts dd {
  color: var(--navy);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.7;
  margin: 0;
}

.story-profile-facts dd small {
  color: var(--sub);
  display: block;
  font-size: 12px;
  font-weight: 500;
}


/* 現在地の数字 */
.story-metrics {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-metric {
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  display: grid;
  gap: 10px;
  padding: 34px 30px;
}

.story-metric:last-child {
  border-right: 0;
}

.story-metric > span {
  color: var(--sub);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}

.story-metric strong {
  color: var(--navy);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.story-metric strong b {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: clamp(40px, 4.6vw, 56px);
  letter-spacing: -.02em;
  margin-right: 4px;
}

.story-metric small {
  color: var(--sub);
  font-size: 12px;
}

.story-metrics-note {
  color: var(--sub);
  font-size: 16px;
  line-height: 1.95;
  margin-top: 32px;
  max-width: 820px;
}

/* 年表 */
.story-timeline {
  counter-reset: story-step;
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.story-timeline li {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(13, 31, 78, .04);
  counter-increment: story-step;
  display: grid;
  gap: 22px;
  grid-template-columns: 46px 180px minmax(0, 1fr);
  padding: 20px 24px;
}

.story-timeline li::before {
  align-items: center;
  background: #0d1f4e;
  border-radius: 50%;
  color: #fff;
  content: counter(story-step, decimal-leading-zero);
  display: flex;
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 700;
  height: 38px;
  justify-content: center;
  letter-spacing: .04em;
  width: 38px;
}

.story-timeline-when {
  color: var(--cyan-dark);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
}

.story-timeline-what {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.8;
}

/* 本文 */
.story-body {
  display: grid;
  gap: 56px;
  margin-inline: auto;
  max-width: 780px;
}

.story-chapter {
  border-top: 1px solid var(--line);
  padding-top: 34px;
  position: relative;
}

.story-chapter-no {
  color: var(--cyan-dark);
  display: block;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .16em;
  margin-bottom: 14px;
}

.story-chapter h3 {
  color: var(--navy);
  font-size: clamp(23px, 2.6vw, 30px);
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 22px;
}

.story-chapter p {
  color: var(--ink);
  font-size: 17px;
  line-height: 2.1;
  margin: 0 0 20px;
}

.story-chapter p:last-child {
  margin-bottom: 0;
}

.story-pull {
  border-left: 3px solid var(--cyan);
  color: var(--navy) !important;
  font-size: 19px !important;
  font-weight: 700;
  line-height: 1.9 !important;
  padding: 6px 0 6px 24px;
}

.story-chapter .stream-origin {
  margin-top: 30px;
}

.story-creed {
  background:
    radial-gradient(circle at 92% 8%, rgba(110, 231, 183, .24), transparent 34%),
    linear-gradient(135deg, #064e3b 0%, #08745b 58%, #0b8f76 100%);
  border: 1px solid #45c99b;
  border-radius: 20px;
  box-shadow: 0 18px 44px rgba(6, 78, 59, .22);
  margin: 30px 0;
  overflow: hidden;
  padding: 32px 36px;
  position: relative;
}

.story-creed > span {
  color: #a7f3d0;
  display: block;
  font-family: "Inter", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.story-chapter .story-creed p {
  color: rgba(255, 255, 255, .88);
  font-size: 16px;
  line-height: 1.9;
  margin-bottom: 14px;
}

.story-creed strong {
  color: #fff;
  display: block;
  font-size: clamp(24px, 3.2vw, 34px);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.5;
  margin: 8px 0 16px;
}

.story-chapter .story-creed .story-creed-declaration {
  border-top: 1px solid rgba(209, 250, 229, .28);
  color: #fff;
  margin: 22px 0 0;
  padding-top: 20px;
}

.story-creed-declaration b {
  color: #fff;
  display: inline-block;
  font-size: clamp(19px, 2.3vw, 24px);
  font-weight: 800;
  line-height: 1.65;
  margin-top: 6px;
}

/* リンク群 */
.story-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 40px;
  margin-inline: auto;
  margin-top: 56px;
  max-width: 780px;
}

@media (max-width: 900px) {
  .story-hero-grid {
    gap: 0;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
  }

  .story-hero-copy { padding: 68px 0 48px; }

  .story-hero-portrait {
    min-height: 480px;
    width: 100%;
  }

  .story-hero-portrait::before {
    background: linear-gradient(180deg, #0b2545 0%, rgba(11, 37, 69, .16) 22%, transparent 42%);
  }

  .story-profile-grid { grid-template-columns: minmax(0, 1fr); }

  .story-metrics {
    grid-template-columns: minmax(0, 1fr);
  }

  .story-metric {
    border-right: 0;
    padding: 26px 4px;
  }

  .story-timeline li {
    gap: 6px 14px;
    grid-template-columns: 42px minmax(0, 1fr);
  }

  .story-timeline li::before { grid-row: 1 / 3; }
}

@media (max-width: 720px) {
  .story-hero {
    padding-bottom: 0;
  }

  .story-hero::before { font-size: 74px; top: 22px; }
  .story-hero-copy { padding: 54px 0 38px; }
  .story-hero h1 { font-size: clamp(42px, 13vw, 58px); }
  .story-hero-catch { font-size: clamp(23px, 7vw, 30px); }
  .story-hero-portrait { margin-inline: -20px; min-height: 390px; width: calc(100% + 40px); }
  .story-hero-portrait figcaption { bottom: 20px; left: 20px; }

  .story-profile-heading {
    gap: 10px;
    grid-template-columns: minmax(0, 1fr);
    margin-bottom: 38px;
  }

  .story-profile-heading .label { margin-top: 0; }
  .story-profile-heading h2 { font-size: 32px; }
  .story-profile-word { font-size: 72px; top: 62px; }

  .story-profile-facts > div {
    gap: 5px;
    grid-template-columns: minmax(0, 1fr);
    padding: 20px;
  }

  .story-body {
    gap: 44px;
  }

  .story-chapter p,
  .story-timeline-what {
    font-size: 16px;
  }

  .story-pull {
    font-size: 17px !important;
    padding-left: 18px;
  }

  .story-profile-belief {
    font-size: 16px;
    padding-left: 18px;
  }

  .story-timeline li { padding: 17px 16px; }
  .story-timeline-when { font-size: 14px; }

  .story-creed {
    border-radius: 16px;
    padding: 26px 22px;
  }

  .story-creed strong {
    font-size: clamp(22px, 7vw, 28px);
  }

  .story-creed-declaration b {
    font-size: 19px;
  }
}
