@charset "utf-8";

/* =========================================================
   MY ROOTS — iPhone モックのスワイプ年表

   9 つの章を 3 つの時代（CHAPTER 01-03）に束ね、
   時代ごとにアクセントカラーを切り替える。
   色は style-10th.css のトークンをそのまま使用。
   ========================================================= */

.section-roots {
  --accent: var(--color-blue);
  --accent-soft: rgba(0, 149, 211, 0.14);
  position: relative;
  /* 前セクションの青い面がここまで伸びてくるので、自前の背景で切る。
     本文が青地に半分かかって読めなくなるのを防ぐ */
  z-index: 2;
  background: var(--color-10th-bg);
  overflow: hidden;
  padding: 9rem 0 11rem;
}

.section-roots[data-era='1'] {
  --accent: #4faa9c;
  --accent-soft: rgba(119, 193, 179, 0.2);
}

.section-roots[data-era='2'] {
  --accent: #ef6a4b;
  --accent-soft: rgba(247, 126, 98, 0.18);
}

/* 背面の淡いグロー。時代が変わると色が移る */
.c-roots-bg {
  position: absolute;
  left: 50%;
  top: 12%;
  width: 130vw;
  max-width: 1600px;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, var(--accent-soft) 0%, rgba(240, 251, 255, 0) 62%);
  transition: background 0.9s ease;
  pointer-events: none;
  z-index: 0;
}

.section-roots .c-section-title {
  position: relative;
  z-index: 2;
}

.p-roots {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.6rem, 3vw, 4rem);
  max-width: 1320px;
  margin: 5rem auto 0;
  padding: 0 clamp(2rem, 4vw, 5rem);
}

/* ---------------------------------------------------------
   年表レール
   --------------------------------------------------------- */
.p-roots-rail {
  flex-shrink: 0;
}

.p-roots-rail ol {
  display: flex;
  flex-direction: column;
  list-style: none;
}

.c-roots-rail-head {
  margin: 2.4rem 0 0.8rem;
  padding-left: 3.4rem;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  color: var(--color-text-black);
  opacity: 0.72;
}

.p-roots-rail li:first-child .c-roots-rail-head,
.c-roots-rail-head:first-child {
  margin-top: 0;
}

.c-roots-rail-head span {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  opacity: 0.55;
}

.c-roots-rail-head[data-era='0'] {
  color: var(--color-blue);
}

.c-roots-rail-head[data-era='1'] {
  color: #4faa9c;
}

.c-roots-rail-head[data-era='2'] {
  color: #ef6a4b;
}

.c-roots-rail-item {
  position: relative;
  display: block;
  width: 100%;
  padding: 0.75rem 0 0.75rem 3.4rem;
  border: 0;
  background: transparent;
  color: var(--color-text-black);
  font-family: inherit;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  text-align: left;
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.35s ease, color 0.35s ease, transform 0.35s ease;
}

/* 縦のガイド線 */
.c-roots-rail-item::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 0;
  width: 1px;
  height: 100%;
  background: currentColor;
  opacity: 0.3;
}

.c-roots-rail-item::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 2px solid currentColor;
  background: var(--color-10th-bg);
  transform: translateY(-50%);
  transition: background-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}

.c-roots-rail-item:hover {
  opacity: 0.72;
}

.c-roots-rail-item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.c-roots-rail-item.is-past {
  opacity: 0.6;
}

.c-roots-rail-item.is-past::after {
  background: currentColor;
}

.c-roots-rail-item.is-current {
  opacity: 1;
  color: var(--accent);
  font-weight: 700;
  transform: translateX(3px);
}

.c-roots-rail-item.is-current::after {
  background: var(--accent);
  transform: translateY(-50%) scale(1.25);
  box-shadow: 0 0 0 5px var(--accent-soft);
}

/* ---------------------------------------------------------
   ステージ（端末＋操作パーツ）
   --------------------------------------------------------- */
.p-roots-stage {
  position: relative;
  flex-shrink: 0;
}

/* 背後に浮かぶ巨大な年号 */
.c-roots-ghost {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 150%;
  height: 1em;
  transform: translate(-50%, -50%);
  font-size: clamp(11rem, 17vw, 20rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--accent);
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.c-roots-ghost-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(0.14em);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.c-roots-ghost-item.is-current {
  opacity: 1;
  transform: translateY(0);
}

/* ---------------------------------------------------------
   端末
   --------------------------------------------------------- */
.c-roots-tilt {
  position: relative;
  z-index: 1;
  perspective: 1400px;
}

.c-iphone {
  position: relative;
  width: clamp(266px, 29vw, 318px);
  aspect-ratio: 9 / 19.3;
  padding: 10px;
  border-radius: 52px;
  transform-style: preserve-3d;
  /* チタンフレームの明暗。左右の縁だけ明るくして金属の張りを出す */
  background:
    linear-gradient(100deg,
      #8d949c 0%, #4c5158 4%, #2a2e33 12%,
      #1c1f23 50%,
      #2a2e33 88%, #545a61 96%, #9aa1a9 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 40px 70px -26px rgba(17, 53, 68, 0.6),
    0 14px 28px -14px rgba(17, 53, 68, 0.36),
    0 2px 4px rgba(17, 53, 68, 0.2);
}

/* フレーム上下のアンテナ帯 */
.c-iphone-rail {
  position: absolute;
  inset: 0;
  border-radius: 52px;
  pointer-events: none;
}

.c-iphone-rail::before,
.c-iphone-rail::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.16);
}

.c-iphone-rail::before {
  top: 15%;
}

.c-iphone-rail::after {
  bottom: 15%;
}

.c-iphone-btn {
  position: absolute;
  border-radius: 2px;
  background: linear-gradient(180deg, #6c737b, #3a4046 30%, #2b3036 70%, #5a6068);
}

.c-iphone-btn.is-mute {
  left: -2px;
  top: 15.5%;
  width: 3px;
  height: 24px;
}

.c-iphone-btn.is-vol-up {
  left: -2px;
  top: 22%;
  width: 3px;
  height: 44px;
}

.c-iphone-btn.is-vol-down {
  left: -2px;
  top: 30.5%;
  width: 3px;
  height: 44px;
}

.c-iphone-btn.is-power {
  right: -2px;
  top: 26%;
  width: 3px;
  height: 70px;
}

.c-iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 43px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5) inset;
}

/* Dynamic Island（右端にカメラ） */
.c-iphone-island {
  position: absolute;
  left: 50%;
  top: 10px;
  width: 86px;
  height: 25px;
  border-radius: 999px;
  background: #0a0c0e;
  transform: translateX(-50%);
  z-index: 6;
}

.c-iphone-island i {
  position: absolute;
  right: 7px;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #2f3d4a 0%, #10161c 55%, #05080b 100%);
  transform: translateY(-50%);
}

/* ステータスバー */
.c-iphone-status {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 46px;
  padding: 0 22px;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-text-black);
}

.c-iphone-icons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.c-iphone-icons i {
  display: block;
  background: var(--color-text-black);
}

.c-iphone-icons .is-signal {
  width: 16px;
  height: 10px;
  -webkit-clip-path: polygon(0 68%, 3px 68%, 3px 100%, 0 100%, 4.5px 100%, 4.5px 46%, 7.5px 46%, 7.5px 100%, 9px 100%, 9px 24%, 12px 24%, 12px 100%, 13px 100%, 13px 0, 16px 0, 16px 100%, 0 100%);
  clip-path: polygon(0 68%, 3px 68%, 3px 100%, 0 100%, 4.5px 100%, 4.5px 46%, 7.5px 46%, 7.5px 100%, 9px 100%, 9px 24%, 12px 24%, 12px 100%, 13px 100%, 13px 0, 16px 0, 16px 100%, 0 100%);
}

.c-iphone-icons .is-wifi {
  width: 14px;
  height: 10px;
  -webkit-mask:
    radial-gradient(circle at 50% 100%, #000 2.4px, transparent 2.5px),
    radial-gradient(circle at 50% 100%, transparent 4.6px, #000 4.7px 6.2px, transparent 6.3px),
    radial-gradient(circle at 50% 100%, transparent 8.4px, #000 8.5px 10px, transparent 10.1px);
  mask:
    radial-gradient(circle at 50% 100%, #000 2.4px, transparent 2.5px),
    radial-gradient(circle at 50% 100%, transparent 4.6px, #000 4.7px 6.2px, transparent 6.3px),
    radial-gradient(circle at 50% 100%, transparent 8.4px, #000 8.5px 10px, transparent 10.1px);
}

.c-iphone-icons .is-battery {
  position: relative;
  width: 23px;
  height: 11px;
  border-radius: 3.5px;
  background: transparent;
  border: 1px solid currentColor;
  color: var(--color-text-black);
  opacity: 0.9;
}

.c-iphone-icons .is-battery::before {
  content: '';
  position: absolute;
  inset: 1.5px;
  right: 5px;
  border-radius: 1.5px;
  background: var(--color-text-black);
}

.c-iphone-icons .is-battery::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 50%;
  width: 2px;
  height: 4px;
  border-radius: 0 2px 2px 0;
  background: currentColor;
  transform: translateY(-50%);
}

/* アプリバー＋ストーリー風のセグメント */
.c-iphone-appbar {
  flex-shrink: 0;
  padding: 0.4rem 20px 1.2rem;
}

.c-iphone-appname {
  margin-bottom: 0.9rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  transition: color 0.5s ease;
}

.c-iphone-segs {
  display: flex;
  gap: 3px;
}

.c-iphone-seg {
  flex: 1 1 0;
  height: 3px;
  border-radius: 999px;
  background: rgba(17, 53, 68, 0.14);
  transition: background-color 0.4s ease, transform 0.4s ease;
}

.c-iphone-seg.is-past {
  background: rgba(17, 53, 68, 0.34);
}

.c-iphone-seg.is-current {
  background: var(--accent);
  transform: scaleY(1.6);
}

/* 画面のガラス反射。傾きに追従して動く */
.c-iphone-glare {
  position: absolute;
  inset: -20%;
  background: linear-gradient(112deg,
    rgba(255, 255, 255, 0) 34%,
    rgba(255, 255, 255, 0.5) 46%,
    rgba(255, 255, 255, 0.16) 52%,
    rgba(255, 255, 255, 0) 62%);
  opacity: 0.5;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 5;
  will-change: transform;
}

.c-iphone-home {
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 106px;
  height: 5px;
  border-radius: 999px;
  background: rgba(17, 53, 68, 0.24);
  transform: translateX(-50%);
  z-index: 6;
}

/* ---------------------------------------------------------
   画面の中身
   --------------------------------------------------------- */
.js-roots-swiper {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  margin: 0;
  overflow: hidden;
  cursor: grab;
}

.js-roots-swiper:active {
  cursor: grabbing;
}

.js-roots-swiper .swiper-wrapper {
  height: 100%;
}

/* EffectCreative 用（swiper/css/effect-creative 相当。CDN 不使用のため自前で持つ） */
.swiper-creative .swiper-slide {
  overflow: hidden;
  backface-visibility: hidden;
  transition-property: transform, opacity, height;
}

.c-roots-slide {
  height: 100%;
  box-sizing: border-box;
  background: linear-gradient(178deg, #ffffff 0%, #ffffff 42%, var(--color-10th-bg) 100%);
}

.c-roots-slide-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 2.6rem 22px 4.6rem;
  scrollbar-width: none;
}

/* ページ番号は画面の下端へ */
.c-roots-slide-inner .c-roots-page {
  margin-top: auto;
}

.c-roots-slide-inner::-webkit-scrollbar {
  display: none;
}

.c-roots-chapter {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  transition: color 0.5s ease;
}

.c-roots-chapter span {
  padding-left: 0.7rem;
  border-left: 1px solid currentColor;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.c-roots-year {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1.8rem;
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--color-text-black);
}

.c-roots-age {
  padding: 0.3em 0.9em;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: background-color 0.5s ease;
}

.c-roots-title {
  position: relative;
  margin-bottom: 1.7rem;
  padding-bottom: 1.7rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.65;
}

.c-roots-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 2px;
  background: var(--accent);
  transition: background-color 0.5s ease;
}

.c-roots-text {
  font-size: 1.35rem;
  line-height: 2;
  letter-spacing: 0.03em;
}

.c-roots-page {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 2.4rem;
  color: var(--accent);
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: color 0.5s ease;
}

.c-roots-page span {
  font-size: 1.1rem;
  font-weight: 500;
  opacity: 0.55;
}

/* ---------------------------------------------------------
   操作パーツ
   --------------------------------------------------------- */
.c-roots-control {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.2rem;
  margin-top: 3.4rem;
}

.c-roots-arrow {
  position: relative;
  width: 54px;
  height: 54px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.5s ease, opacity 0.3s ease, transform 0.3s ease;
}

.c-roots-arrow::before {
  content: '';
  position: absolute;
  left: 53%;
  top: 50%;
  width: 9px;
  height: 9px;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: border-color 0.3s ease;
}

.c-roots-arrow.is-next::before {
  left: 47%;
  transform: translate(-50%, -50%) rotate(-135deg);
}

.c-roots-arrow:hover:not(.swiper-button-disabled) {
  background: var(--accent);
  transform: scale(1.06);
}

.c-roots-arrow:hover:not(.swiper-button-disabled)::before {
  border-color: #fff;
}

.c-roots-arrow:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

.c-roots-arrow.swiper-button-disabled {
  opacity: 0.25;
  cursor: default;
}

.c-roots-counter {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  min-width: 5.8em;
  justify-content: center;
  color: var(--accent);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: color 0.5s ease;
}

.c-roots-counter i {
  font-size: 1.3rem;
  font-style: normal;
  font-weight: 500;
  opacity: 0.5;
}

.c-roots-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.8rem;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  text-align: center;
  opacity: 0.55;
}

/* 左右に揺れる指のヒント */
.c-roots-hint span {
  width: 22px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid currentColor;
  position: relative;
  flex-shrink: 0;
}

.c-roots-hint span::after {
  content: '';
  position: absolute;
  left: 2px;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  transform: translateY(-50%);
  animation: rootsHint 2.4s ease-in-out infinite;
}

@keyframes rootsHint {
  0%, 100% { transform: translate(0, -50%); }
  50% { transform: translate(12px, -50%); }
}

.c-roots-live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ---------------------------------------------------------
   タブレット以下：レールを横並びにして上へ
   --------------------------------------------------------- */
@media screen and (max-width: 1024px) {
  .section-roots {
    padding: 8rem 0 10rem;
  }

  .p-roots {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 3rem;
    margin-top: 4rem;
  }

  .p-roots-read {
    width: 100%;
  }

  .p-roots-rail {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .p-roots-rail::-webkit-scrollbar {
    display: none;
  }

  .p-roots-rail ol {
    flex-direction: row;
    align-items: flex-end;
    width: max-content;
    margin: 0 auto;
    padding: 0 1.4rem;
  }

  .c-roots-rail-head {
    margin: 0 0.6rem 0 1.6rem;
    padding: 0 0 0.2rem;
    font-size: 1.15rem;
    text-align: center;
    white-space: nowrap;
  }

  .c-roots-rail-head span {
    font-size: 0.95rem;
  }

  .c-roots-rail-item {
    width: auto;
    padding: 2.4rem 1.3rem 0;
    font-size: 1.35rem;
    text-align: center;
    white-space: nowrap;
  }

  .c-roots-rail-item.is-current {
    transform: none;
  }

  .c-roots-rail-item::before {
    left: 0;
    top: 0.6rem;
    width: 100%;
    height: 1px;
  }

  .c-roots-rail-item::after {
    left: 50%;
    top: 0.6rem;
    width: 11px;
    height: 11px;
    transform: translate(-50%, -50%);
  }

  .c-roots-rail-item.is-current::after {
    transform: translate(-50%, -50%) scale(1.25);
  }

  .c-roots-ghost {
    font-size: clamp(9rem, 26vw, 15rem);
    opacity: 0.1;
  }
}

@media screen and (max-width: 767px) {
  /* 端末が画面の 7 割を占めると、スワイプしてから本文まで遠すぎる。
     端末＋操作パーツで 1 画面の 2/3 に収め、本文が視界に入るようにする */
  .c-iphone {
    width: min(56vw, 224px);
  }

  .c-roots-slide-inner {
    padding: 1.8rem 16px 3.4rem;
  }

  .c-roots-chapter {
    font-size: 0.95rem;
    margin-bottom: 1rem;
  }

  .c-roots-year {
    font-size: 2.6rem;
    margin-bottom: 1.2rem;
  }

  .c-roots-title {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    padding-bottom: 1.2rem;
  }

  .c-iphone-appbar {
    padding: 0.3rem 16px 0.9rem;
  }

  .c-iphone-status {
    height: 40px;
    padding: 0 16px;
    font-size: 1rem;
  }

  .c-roots-control {
    gap: 1.6rem;
    margin-top: 2.8rem;
  }

  .c-roots-arrow {
    width: 48px;
    height: 48px;
  }

  .c-roots-hint {
    font-size: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .c-roots-hint span::after {
    animation: none;
  }

  .c-roots-ghost-item {
    transition: opacity 0.2s ease;
    transform: none;
  }
}

/* =========================================================
   モバイル調整
   ========================================================= */
@media screen and (max-width: 1024px) {
  /* 端末と操作パーツを確実に中央へ（stage の幅は操作列で決まるため） */
  .p-roots-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .c-roots-ghost {
    top: 42%;
  }
}

@media screen and (max-width: 767px) {
  .section-roots {
    padding: 7rem 0 8rem;
  }

  .p-roots {
    margin-top: 3.4rem;
    padding: 0 var(--section-spMargin);
  }

  /* 端末は縦に長いので、狭い画面では高さを抑えて 1 画面に収める */
  .c-roots-slide-inner {
    padding: 0.4rem 16px 3.6rem;
  }

  .c-roots-year {
    font-size: 2.5rem;
    margin-bottom: 1.2rem;
  }

  .c-roots-title {
    font-size: 1.6rem;
    margin-bottom: 1.4rem;
    padding-bottom: 1.4rem;
  }

  .c-roots-text {
    font-size: 1.3rem;
    line-height: 1.9;
  }

  .c-roots-hint {
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
  }
}

/* =========================================================
   本文（端末の外）

   もとは幅 260px の画面の中に 13.5px で押し込んでいて、
   1 行 18 文字しか入らず読み物として成立していなかった。
   端末は「いま何章のどこか」を示す目次に徹し、
   本文は横の余白に、ふつうの記事と同じ大きさで置く。
   ========================================================= */
.p-roots-read {
  position: relative;
  z-index: 2;
  min-height: 32rem;
  padding-left: clamp(1.6rem, 2.5vw, 3.4rem);
  border-left: 1px solid var(--color-pblue);
}

.c-read {
  display: none;
}

.c-read.is-current {
  display: block;
  animation: readIn 0.5s ease both;
}

@keyframes readIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.c-read-chapter {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--accent);
  transition: color 0.5s ease;
}

.c-read-chapter span {
  padding-left: 0.8rem;
  border-left: 1px solid currentColor;
  font-weight: 500;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.c-read-year {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.4rem;
  font-size: clamp(3rem, 3.6vw, 4.4rem);
  font-weight: 700;
  line-height: 1;
  color: var(--color-text-black);
}

.c-read-age {
  padding: 0.35em 1em;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transition: background-color 0.5s ease;
}

.c-read-title {
  position: relative;
  margin-bottom: 2.2rem;
  padding-bottom: 1.8rem;
  font-size: clamp(1.9rem, 2.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.6;
}

.c-read-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 48px;
  height: 2px;
  background: var(--accent);
  transition: background-color 0.5s ease;
}

.c-read-text {
  font-size: 1.6rem;
  line-height: 2.1;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 1024px) {
  .p-roots-read {
    width: 100%;
    min-height: 0;
    padding-left: 0;
    padding-top: 3rem;
    border-left: 0;
    border-top: 1px solid var(--color-pblue);
  }
}

@media screen and (max-width: 767px) {
  .p-roots-read {
    padding-top: 2.6rem;
  }

  .c-read-title {
    margin-bottom: 1.8rem;
    padding-bottom: 1.6rem;
  }

  .c-read-text {
    font-size: 1.55rem;
    line-height: 2;
  }
}
