:root {
  --ink: #314654;
  --ink-soft: #687b87;
  --blue: #6f9db6;
  --blue-deep: #3f6d85;
  --blue-pale: #eaf4f8;
  --blue-wash: #f5fafc;
  --rose: #a65f71;
  --rose-pale: #fbedf1;
  --page: #f3f9fc;
  --paper: #ffffff;
  --line: rgba(68, 107, 127, 0.16);
  --shadow: 0 20px 50px rgba(56, 91, 109, 0.1);
  --serif: "Yu Mincho", YuMincho, "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", serif;
  --sans: "Yu Gothic", YuGothic, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

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

html {
  scroll-behavior: auto;
  background: var(--page);
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 5%, rgba(234, 244, 248, 0.8), transparent 31rem),
    linear-gradient(180deg, var(--page), var(--paper) 18%, var(--paper) 84%, var(--page));
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  line-break: strict;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

br.break-narrow {
  display: none;
}

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

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  transform: translateY(-150%);
  border-radius: 8px;
  color: #fff;
  background: var(--blue-deep);
  font-size: 13px;
  text-decoration: none;
  transition: transform 180ms ease;
}

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

.reading-progress {
  position: fixed;
  z-index: 999;
  top: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.55);
}

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--rose));
  transform-origin: left center;
}

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(74, 116, 137, 0.1);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.96) 0 11%, transparent 34%),
    radial-gradient(circle at 7% 86%, rgba(251, 237, 241, 0.82), transparent 28%),
    linear-gradient(145deg, #f1f9fc 0%, #ffffff 52%, #eaf4f8 100%);
}

.hero::before {
  position: absolute;
  top: -180px;
  right: -160px;
  width: 430px;
  height: 430px;
  border: 1px solid rgba(111, 157, 182, 0.14);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.82fr);
  gap: clamp(54px, 7vw, 98px);
  align-items: center;
  width: min(1120px, calc(100% - 64px));
  min-height: min(820px, 100svh);
  margin: 0 auto;
  padding: 78px 0 88px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  margin-bottom: 28px;
  padding: 7px 15px;
  border: 1px solid rgba(111, 157, 182, 0.28);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero h1 {
  margin-bottom: 31px;
  color: #304b5a;
  font-family: var(--serif);
  font-size: clamp(38px, 3.8vw, 52px);
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.52;
}

.hero h1 span,
.hero h1 em {
  display: block;
  white-space: nowrap;
}

.hero h1 em {
  color: var(--rose);
  font-style: normal;
}

.hero__lead {
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.55vw, 18px);
  line-height: 2;
}

.hero__author {
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.16em;
}

.hero__portrait {
  position: relative;
  width: min(100%, 430px);
  margin: 0 auto;
  padding-bottom: 42px;
}

.hero__portrait::before {
  position: absolute;
  z-index: -1;
  top: -18px;
  right: -25px;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(206, 228, 237, 0.72);
  content: "";
}

.hero__portrait-frame {
  overflow: hidden;
  aspect-ratio: 0.76;
  border: 7px solid rgba(255, 255, 255, 0.86);
  border-radius: 30px 72px 32px 72px;
  background: var(--blue-pale);
  box-shadow: var(--shadow);
}

.hero__portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 48% center;
}

.hero__portrait figcaption {
  position: absolute;
  right: -5px;
  bottom: 18px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 22px rgba(56, 91, 109, 0.08);
  font-size: 12px;
  white-space: nowrap;
}

.story {
  padding: clamp(90px, 11vw, 132px) 0 0;
}

.content-width {
  width: min(680px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.story-section {
  position: relative;
  display: flow-root;
  margin-bottom: clamp(98px, 12vw, 140px);
}

.story-section--blue,
.story-section--pink {
  padding: clamp(38px, 6vw, 54px) clamp(22px, 5vw, 42px);
  border: 1px solid rgba(111, 157, 182, 0.1);
  border-radius: 18px;
  box-shadow: none;
}

.story-section--blue {
  background: rgba(234, 244, 248, 0.62);
}

.story-section--pink {
  border-color: rgba(201, 142, 154, 0.1);
  background: rgba(251, 237, 241, 0.48);
}

.story-section h2 {
  position: relative;
  margin-bottom: 40px;
  padding-bottom: 20px;
  color: #345b70;
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 31px);
  font-weight: 600;
  letter-spacing: 0.025em;
  line-height: 1.62;
}

.story-section h2::after {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--blue), var(--rose));
  content: "";
}

.story-section > p,
.soft-card p,
.dialogue p,
.thought-card p,
.character-note p,
.returning-list p,
.support-message p {
  color: var(--ink);
  font-size: clamp(16.5px, 1.65vw, 18px);
  line-height: 2;
}

.story-section > p {
  margin-bottom: 1.55em;
}

.soft-card,
.dialogue,
.thought-card,
.support-message {
  margin: 36px 0;
  padding: 22px 24px;
  border-left: 3px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: var(--blue-wash);
}

.soft-card--pink,
.thought-card,
.support-message {
  border-left-color: var(--rose);
  background: var(--rose-pale);
}

.soft-card p,
.dialogue p,
.thought-card p,
.support-message p {
  margin: 0 0 0.85em;
}

.soft-card p:last-child,
.dialogue p:last-child,
.thought-card p:last-child,
.support-message p:last-child {
  margin-bottom: 0;
}

.soft-card p,
.support-message p {
  font-weight: 600;
}

.dialogue {
  display: grid;
  gap: 12px;
}

.dialogue p {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
}

.dialogue__speaker {
  color: var(--blue-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.dialogue__text {
  color: var(--ink);
  font-size: inherit;
  font-weight: 500;
  letter-spacing: normal;
}

.dialogue--single p {
  display: block;
  color: var(--blue-deep);
  font-weight: 600;
}

.thought-card {
  text-align: left;
}

.thought-card p {
  font-weight: 600;
}

.character-note {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin: 38px 0;
  padding: 24px 26px;
  border: 1px solid rgba(111, 157, 182, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.character-note--pink {
  border-color: rgba(201, 142, 154, 0.17);
  background: rgba(251, 237, 241, 0.62);
}

.character-note--team {
  background: var(--blue-wash);
}

.character-note img {
  width: 112px;
  max-height: 122px;
  object-fit: contain;
}

.character-note p {
  margin: 0 0 0.55em;
  font-weight: 600;
}

.character-note p:last-child {
  margin-bottom: 0;
}

.story-photo {
  margin: clamp(50px, 7vw, 72px) auto;
}

.story-photo img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(56, 91, 109, 0.1);
}

.story-photo figcaption {
  margin-top: 13px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.75;
  text-align: center;
}

.story-photo--portrait {
  width: min(470px, 88%);
}

.story-photo--portrait img {
  aspect-ratio: 0.78;
  object-fit: cover;
}

.story-photo--talk {
  width: min(760px, calc(100vw - 32px));
  margin-bottom: 0;
  margin-right: 50%;
  margin-left: 50%;
  transform: translateX(-50%);
}

.story-photo--talk img {
  aspect-ratio: 7 / 4;
  object-fit: cover;
}

.story-photo--landscape {
  width: 100%;
}

.story-photo--landscape img {
  aspect-ratio: 1.8;
  object-fit: cover;
}

.returning-list {
  display: grid;
  gap: 12px;
  margin: 36px 0;
  padding: 22px 24px;
  border-left: 3px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: rgba(255, 255, 255, 0.76);
}

.returning-list p {
  position: relative;
  margin: 0;
  padding-left: 20px;
  font-weight: 600;
}

.returning-list p::before {
  position: absolute;
  top: 0.83em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--rose);
  content: "";
}

.support-message {
  padding-top: 25px;
  padding-bottom: 25px;
}

.closing-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(680px, calc(100% - 40px));
  margin: -18px auto 0;
  padding: 14px 0 72px;
  text-align: center;
}

.closing-profile img {
  width: 92px;
  height: 92px;
  margin-bottom: 14px;
  border: 4px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 10px 26px rgba(56, 91, 109, 0.12);
}

.closing-profile p {
  margin: 0;
  color: var(--blue-deep);
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: 0.1em;
}

.closing-profile span {
  display: block;
  margin-top: 5px;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
    width: min(680px, calc(100% - 40px));
    min-height: auto;
    padding: 70px 0 80px;
  }

  .hero__copy {
    text-align: center;
  }

  .hero__portrait {
    width: min(370px, 80vw);
  }

  .hero__portrait figcaption {
    right: 50%;
    transform: translateX(50%);
  }
}

@media (max-width: 600px) {
  body {
    font-size: 16.5px;
  }

  .hero::before {
    top: -150px;
    right: -210px;
  }

  .hero__inner {
    width: min(100% - 32px, 520px);
    gap: 30px;
    padding: 52px 0 64px;
  }

  .eyebrow {
    margin-bottom: 21px;
    padding: 6px 13px;
    font-size: 11px;
  }

  .hero h1 {
    margin-bottom: 24px;
    font-size: clamp(28px, 7.7vw, 30px);
    letter-spacing: 0.01em;
    line-height: 1.52;
  }

  .hero__lead {
    margin-bottom: 23px;
    font-size: 16px;
    line-height: 1.95;
  }

  .hero__author {
    font-size: 17px;
  }

  .hero__portrait {
    width: min(330px, 86vw);
    padding-bottom: 36px;
  }

  .hero__portrait-frame {
    border-width: 5px;
    border-radius: 22px 54px 24px 54px;
  }

  .hero__portrait figcaption {
    bottom: 15px;
    padding: 8px 13px;
    font-size: 11px;
  }

  .story {
    padding-top: 76px;
  }

  .content-width {
    width: min(100% - 36px, 680px);
  }

  .story-section {
    margin-bottom: 84px;
  }

  .story-section--blue,
  .story-section--pink {
    width: calc(100% - 12px);
    padding: 37px 12px 31px;
    border-radius: 14px;
  }

  .story-section h2 {
    margin-bottom: 32px;
    padding-bottom: 17px;
    font-size: 24px;
    line-height: 1.55;
  }

  .story-section > p,
  .soft-card p,
  .dialogue p,
  .thought-card p,
  .character-note p,
  .returning-list p,
  .support-message p {
    font-size: 16.5px;
    line-height: 1.95;
  }

  .story-section > p {
    margin-bottom: 1.5em;
  }

  .soft-card,
  .dialogue,
  .thought-card,
  .support-message {
    margin: 31px 0;
    padding: 19px 17px;
  }

  .dialogue {
    gap: 10px;
  }

  .dialogue p {
    grid-template-columns: 39px minmax(0, 1fr);
    gap: 8px;
  }

  .dialogue__speaker {
    font-size: 11px;
  }

  .character-note {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    margin: 32px 0;
    padding: 18px 16px;
    border-radius: 13px;
  }

  .character-note > div,
  .character-note > p {
    width: 100%;
  }

  .character-note img {
    width: 82px;
    max-height: 92px;
  }

  .story-photo {
    margin-top: 46px;
    margin-bottom: 50px;
  }

  .story-photo img {
    border-radius: 13px;
  }

  .story-photo figcaption {
    margin-top: 11px;
    padding: 0 5px;
    font-size: 11px;
  }

  .story-photo--portrait {
    width: 92%;
  }

  .story-photo--talk {
    width: calc(100vw - 28px);
  }

  .story-photo--talk img {
    min-height: 0;
    aspect-ratio: 7 / 4;
    object-position: center;
  }

  .returning-list {
    gap: 10px;
    margin: 31px 0;
    padding: 19px 17px;
  }

  .returning-list p {
    padding-left: 18px;
  }

  .closing-profile {
    width: min(100% - 36px, 680px);
    padding-bottom: 58px;
  }

  .closing-profile img {
    width: 84px;
    height: 84px;
  }
}

@media (max-width: 340px) {
  .hero h1 {
    font-size: 27px;
  }

  .story-section h2 {
    font-size: 23px;
  }

  br.break-narrow {
    display: initial;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

}

@media print {
  .reading-progress,
  .skip-link {
    display: none;
  }

  body,
  .hero,
  .story-section--blue,
  .story-section--pink {
    color: #222;
    background: #fff;
  }

  .hero__inner {
    min-height: auto;
  }

  .story-photo,
  .soft-card,
  .dialogue,
  .character-note,
  .support-message {
    break-inside: avoid;
  }
}

.intro-video {
  margin-top: clamp(28px, 5vw, 48px);
}

.intro-video video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border-radius: 14px;
  background: #000;
}
