:root {
  --page: #faf8f4;
  --paper: #fffefa;
  --ink: #35323a;
  --body: #57535a;
  --muted: #777179;
  --accent: #675d72;
  --warm: #92652f;
  --line: rgba(103, 93, 114, 0.2);
  --lavender: #f3f0f4;
  --sand: #f7f1e8;
  --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 {
  background: var(--page);
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--body);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  line-break: strict;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

p,
li {
  overflow-wrap: normal;
  text-wrap: wrap;
  word-break: normal;
}

h1,
h2 {
  text-wrap: wrap;
  word-break: normal;
}

.jp-typeset {
  overflow-wrap: normal;
  text-wrap: wrap;
  word-break: keep-all;
}

.phone-break {
  display: none;
}

.nowrap {
  white-space: nowrap;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 9px 13px;
  transform: translateY(-170%);
  border-radius: 4px;
  color: #fff;
  background: var(--accent);
  font-size: 13px;
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: none;
}

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

.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
  transform-origin: left center;
}

.hero {
  border-bottom: 1px solid rgba(103, 93, 114, 0.11);
  background:
    radial-gradient(circle at 12% 18%, rgba(247, 241, 232, 0.76), transparent 30rem),
    linear-gradient(145deg, #fffefa 0%, #fffefa 58%, #f4f0f4 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 600px);
  grid-template-areas:
    "copy photo"
    "byline photo";
  column-gap: clamp(52px, 6vw, 76px);
  align-items: center;
  width: min(1120px, calc(100% - 64px));
  margin: 0 auto;
  padding: 94px 0 88px;
}

.hero__copy {
  grid-area: copy;
  align-self: end;
}

.hero h1 {
  margin-bottom: 30px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(43px, 4.35vw, 54px);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.5;
}

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

.hero__lead {
  max-width: 29em;
  margin-bottom: 0;
  color: #625d65;
  font-size: 17px;
  line-height: 2;
}

.hero__photo {
  grid-area: photo;
  margin: 0;
}

.hero__photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  background: var(--lavender);
  box-shadow: 0 20px 48px rgba(58, 49, 66, 0.1);
}

.hero__byline {
  grid-area: byline;
  align-self: start;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45em;
  margin: 27px 0 0;
  color: var(--warm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.035em;
  line-height: 1.8;
}

.story {
  padding-top: 108px;
}

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

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

.story-section h2 {
  margin-bottom: 38px;
  color: var(--ink);
  font-size: 29px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.62;
}

.story-section > p,
.simple-quote p,
.thoughts p,
.friend-words p,
.support-moment p,
.reframe p,
.parenting-axis p,
.supporter-visual p,
.final-words p {
  color: var(--body);
  font-size: 17.5px;
  line-height: 2;
}

.story-section > p {
  margin-bottom: 25px;
}

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

.spoken-line {
  margin: 34px 0 !important;
  padding-left: 19px;
  border-left: 2px solid var(--accent);
  color: var(--ink) !important;
  font-weight: 700;
}

.simple-quote,
.thoughts,
.friend-words {
  margin: 34px 0 39px;
  padding-left: 21px;
  border-left: 1px solid var(--accent);
}

.simple-quote p,
.thoughts p,
.friend-words p {
  margin-bottom: 8px;
}

.simple-quote p:last-child,
.thoughts p:last-child,
.friend-words p:last-child {
  margin-bottom: 0;
}

.thoughts p,
.friend-words p {
  color: var(--ink);
  font-weight: 600;
}

.plain-list {
  margin: 34px 0 38px;
  padding: 0;
  list-style: none;
}

.plain-list li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 22px;
  color: var(--body);
  font-size: 17.5px;
  line-height: 1.9;
}

.plain-list li::before {
  position: absolute;
  top: 0.82em;
  left: 2px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--warm);
  content: "";
}

.story-band {
  margin-bottom: 112px;
  padding: 104px 0 1px;
}

.story-band--lavender {
  background: var(--lavender);
}

.story-band--sand {
  margin-bottom: 0;
  background: var(--sand);
}

.story-band .story-section {
  margin-bottom: 104px;
}

.support-moment {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin: 43px 0;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.support-moment img {
  width: 88px;
  aspect-ratio: 1;
  object-fit: contain;
}

.support-moment p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.reframe {
  margin: 39px 0 42px;
  padding: 28px 30px;
  border-radius: 5px;
  background: var(--sand);
}

.reframe p {
  margin: 0;
}

.reframe span {
  display: block;
  margin: 13px 0;
  color: var(--accent);
  font-size: 18px;
  text-align: center;
}

.story-photo {
  margin: 44px 0 48px;
}

.story-photo--wide,
.story-photo--scene {
  width: min(720px, calc(100vw - 28px));
  margin-left: 50%;
  transform: translateX(-50%);
}

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

.story-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 55%;
  border-radius: 6px;
  box-shadow: 0 16px 40px rgba(58, 49, 66, 0.09);
}

.parenting-axis {
  margin: 38px 0 40px;
  padding: 23px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.parenting-axis p {
  margin-bottom: 13px;
  color: var(--ink);
  font-weight: 650;
}

.parenting-axis p:last-child {
  margin-bottom: 0;
}

.supporter-visual {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 25px;
  align-items: center;
  margin: 4px 0 42px;
  padding: 20px 0 24px;
  border-bottom: 1px solid rgba(146, 101, 47, 0.24);
}

.supporter-visual img {
  width: 100px;
  aspect-ratio: 1;
  object-fit: contain;
}

.supporter-visual p {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
}

.final-words {
  margin: 43px 0 42px;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--warm);
}

.final-words p {
  margin-bottom: 5px;
  color: var(--ink);
  font-weight: 700;
}

.final-words p:last-child {
  margin-bottom: 0;
}

.signature {
  margin-top: 42px !important;
  color: var(--warm) !important;
  font-size: 13px !important;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-align: right;
}

.js .reveal-visual {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 420ms ease,
    transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.js .reveal-visual.is-visible {
  opacity: 1;
  transform: none;
}

.js .story-photo--wide.reveal-visual {
  transform: translateX(-50%) translateY(10px);
}

.js .story-photo--wide.reveal-visual.is-visible,
.js .story-photo--scene.reveal-visual.is-visible {
  transform: translateX(-50%);
}

.js .story-photo--scene.reveal-visual {
  transform: translateX(-50%) translateY(10px);
}

@media (max-width: 800px) {
  body {
    font-size: 16px;
  }

  .hero__inner {
    display: block;
    width: min(350px, calc(100% - 24px));
    padding: 47px 0 56px;
  }

  .hero h1 {
    margin-bottom: 22px;
    font-size: clamp(27px, 7.5vw, 31px);
    line-height: 1.55;
  }

  .hero__lead {
    max-width: none;
    font-size: 16px;
    line-height: 1.9;
  }

  .hero__photo {
    margin-top: 31px;
  }

  .hero__photo img {
    border-radius: 5px;
    box-shadow: 0 14px 32px rgba(58, 49, 66, 0.09);
  }

  .hero__byline {
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.7;
  }

  .story {
    padding-top: 74px;
  }

  .content-width {
    width: min(350px, calc(100% - 24px));
  }

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

  .story-section h2 {
    margin-bottom: 30px;
    font-size: 22px;
    line-height: 1.5;
  }

  .story-section > p,
  .simple-quote p,
  .thoughts p,
  .friend-words p,
  .support-moment p,
  .reframe p,
  .parenting-axis p,
  .supporter-visual p,
  .final-words p,
  .plain-list li {
    font-size: 16px;
    line-height: 1.9;
  }

  .story-section > p {
    margin-bottom: 22px;
  }

  .story-band {
    margin-bottom: 80px;
    padding: 78px 0 1px;
  }

  .story-band--sand {
    margin-bottom: 0;
  }

  .story-band .story-section {
    margin-bottom: 78px;
  }

  .spoken-line {
    margin: 30px 0 !important;
    padding-left: 16px;
  }

  .simple-quote,
  .thoughts,
  .friend-words {
    margin: 31px 0 36px;
    padding-left: 18px;
  }

  .plain-list {
    margin: 31px 0 35px;
  }

  .support-moment {
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 16px;
    margin: 37px 0;
    padding: 19px 0;
  }

  .support-moment img {
    width: 74px;
  }

  .reframe {
    margin: 34px 0 37px;
    padding: 24px 21px;
  }

  .story-photo {
    margin-top: 39px;
    margin-bottom: 42px;
  }

  .story-photo--wide,
  .story-photo--scene {
    width: calc(100vw - 24px);
  }

  .story-photo--scene {
    margin-top: 36px;
    margin-bottom: 42px;
  }

  .parenting-axis {
    margin: 34px 0 37px;
    padding: 20px 0;
  }

  .supporter-visual {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 17px;
    margin-bottom: 36px;
    padding: 17px 0 21px;
  }

  .supporter-visual img {
    width: 82px;
  }

  .final-words {
    margin: 38px 0;
    padding-left: 19px;
  }

  .signature {
    margin-top: 36px !important;
    font-size: 12px !important;
    line-height: 1.8 !important;
  }
}

@media (max-width: 350px) {
  body {
    font-size: 15.5px;
  }

  .hero h1 {
    font-size: 26px;
  }

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

  .hero__lead,
  .story-section > p,
  .simple-quote p,
  .thoughts p,
  .friend-words p,
  .support-moment p,
  .reframe p,
  .parenting-axis p,
  .supporter-visual p,
  .final-words p,
  .plain-list li {
    font-size: 15.5px;
  }

  .support-moment,
  .supporter-visual {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
  }

  .support-moment p,
  .supporter-visual p {
    width: 100%;
  }
}

@media (max-width: 540px) {
  .story-section h2 {
    overflow-wrap: normal;
    text-wrap: wrap;
    word-break: keep-all;
  }

  .phone-break {
    display: initial;
  }
}

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

  .js .reveal-visual {
    opacity: 1;
    transform: none;
  }
}
