/* ==========================================================
   team-single.css  — チームソレイユ詳細ページ
========================================================== */

:root {
  --tsd-deep:   #2C2420;
  --tsd-brand:  #C4714A;
  --tsd-light:  #E8A882;
  --tsd-cream:  #F7EFE5;
  --tsd-muted:  #9A7060;
  --tsd-line:   #EDD5BE;
  --tsd-border: #E5D5C8;
}

.tsd-page { background: #fff; }

/* ==========================================================
   セクション h2 フェードイン + ラインアニメーション
========================================================== */
.tsd-h2-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.75s cubic-bezier(.25,.8,.25,1), transform 0.75s cubic-bezier(.25,.8,.25,1);
  position: relative;
  display: inline-block;
}
.tsd-h2-reveal::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 1px;
  background: currentColor;
  opacity: 0.35;
  transition: width 0.55s cubic-bezier(.25,.8,.25,1) 0.55s;
}
.tsd-h2-reveal.tsd-h2-reveal--in {
  opacity: 1;
  transform: translateY(0);
}
.tsd-h2-reveal.tsd-h2-reveal--in::after {
  width: 40px;
}

/* ==========================================================
   ① HERO — cta-section と同一デザイン（ダーク）
========================================================== */
.tsd-hero {
  background: linear-gradient(155deg, #0d0704 0%, #1e1008 35%, #2a1810 55%, #180c08 75%, #0a0503 100%);
  padding: 72px 0 80px;
  position: relative;
  overflow: hidden;
}

.tsd-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 15% 50%, rgba(196,113,74,0.22) 0%, transparent 55%),
    radial-gradient(ellipse 50% 70% at 85% 20%, rgba(232,168,130,0.12) 0%, transparent 50%),
    radial-gradient(ellipse 55% 75% at 65% 90%, rgba(160,70,30,0.12) 0%, transparent 50%),
    radial-gradient(circle, rgba(237,213,190,0.04) 1px, transparent 1px);
  background-size: auto, auto, auto, 32px 32px;
  pointer-events: none;
  z-index: 0;
}

.tsd-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(196,113,74,0.45) 25%, rgba(237,213,190,0.75) 50%, rgba(196,113,74,0.45) 75%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.tsd-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 50%, transparent 25%, rgba(0,0,0,0.35) 80%),
    radial-gradient(ellipse at 10% 10%, rgba(196,113,74,0.06) 0%, transparent 45%);
  z-index: 0;
  pointer-events: none;
}

.tsd-hero__grid {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.tsd-hero__photo-col { position: relative; }

.tsd-hero__photo-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  display: block;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
}

.tsd-hero__photo-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tsd-hero__photo-badges {
  position: absolute;
  bottom: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.tsd-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 3px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  backdrop-filter: blur(6px);
}

.tsd-badge--breed {
  background: rgba(44,36,32,0.75);
  color: var(--tsd-line);
  border: 1px solid rgba(237,213,190,0.3);
}

.tsd-badge--gender { border: 1px solid transparent; }
.tsd-badge--gender-male   { background: rgba(60,100,160,0.8); color: #d0e4ff; }
.tsd-badge--gender-female { background: rgba(180,60,90,0.8);  color: #ffd0dc; }

.tsd-hero__info {
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tsd-hero__eyebrow {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tsd-light);
  margin: 0;
}

.tsd-hero__name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.tsd-hero__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 46px;
  font-weight: 600;
  line-height: 1.1;
  color: #fff;
  margin: 0;
}

.tsd-hero__sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-style: italic;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.08em;
  margin: 0;
}

.tsd-hero__table {
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(237,213,190,0.2);
}

.tsd-hero__row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(237,213,190,0.12);
}

.tsd-hero__row dt {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  min-width: 90px;
  flex-shrink: 0;
}

.tsd-hero__row dd {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
  margin: 0;
  font-weight: 500;
}

.tsd-unit  { font-size: 11px; color: rgba(255,255,255,0.4); margin-left: 2px; font-weight: 400; }
.tsd-pref  { font-size: 12px; color: rgba(255,255,255,0.4); font-weight: 400; }

.tsd-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--tsd-light);
  text-decoration: none;
  opacity: 0.75;
  margin-top: 4px;
  transition: opacity 0.2s;
}
.tsd-hero__back:hover { opacity: 1; }

/* ==========================================================
   ③ BEFORE / AFTER — リッチデザイン（少し明るめ）
========================================================== */
.tsd-ba {
  background: #12080400;
  background: linear-gradient(160deg, #160a04 0%, #261408 50%, #160a04 100%);
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}

.tsd-ba::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(237,213,190,0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.tsd-ba__bg-deco {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 50%, rgba(196,113,74,0.09) 0%, transparent 65%),
    radial-gradient(ellipse 40% 60% at 5%  50%, rgba(196,113,74,0.06) 0%, transparent 55%),
    radial-gradient(ellipse 40% 60% at 95% 50%, rgba(196,113,74,0.06) 0%, transparent 55%);
  pointer-events: none;
}

.tsd-ba__glow {
  position: absolute;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
}
.tsd-ba__glow--l {
  top: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(196,113,74,0.18) 0%, transparent 70%);
  animation: tsd-glow-pulse 7s ease-in-out infinite alternate;
}
.tsd-ba__glow--r {
  bottom: -120px;
  right: -120px;
  background: radial-gradient(circle, rgba(196,113,74,0.14) 0%, transparent 70%);
  animation: tsd-glow-pulse 7s ease-in-out infinite alternate-reverse;
}

@keyframes tsd-glow-pulse {
  from { opacity: 0.6; transform: scale(1); }
  to   { opacity: 1;   transform: scale(1.12); }
}

.tsd-ba__head {
  text-align: center;
  margin-bottom: 52px;
  position: relative;
  z-index: 1;
}

.tsd-ba__label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tsd-light);
  margin: 0 0 10px;
}

.tsd-ba__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 30px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.04em;
  margin: 0;
}

.tsd-ba__panels-wrap {
  max-width: 840px;
  margin: 0 auto;
  padding: 0 24px;
}

/* パネルグリッド — 矢印は absolute で中央に */
.tsd-ba__panels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
  position: relative;
}

/* 矢印アイコン */
.tsd-ba__arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: var(--tsd-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  color: #fff;
  box-shadow: 0 4px 20px rgba(196,113,74,0.55), 0 0 0 3px rgba(196,113,74,0.25);
  pointer-events: none;
}

.tsd-ba__panel { position: relative; }

.tsd-ba__photo {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
  transition: transform 0.4s cubic-bezier(.25,.8,.25,1), box-shadow 0.4s;
}
.tsd-ba__photo:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 56px rgba(0,0,0,0.55);
}

.tsd-ba__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(.25,.8,.25,1);
}
.tsd-ba__photo:hover .tsd-ba__img { transform: scale(1.04); }

.tsd-ba__img-placeholder {
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.05);
}

/* オーバーレイ — photo の外（sibling）に移動済み、PCでは absolute */
.tsd-ba__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 56px 14px 16px;
  background: linear-gradient(to top,
    rgba(0,0,0,0.92) 0%,
    rgba(0,0,0,0.65) 40%,
    rgba(0,0,0,0.15) 75%,
    transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
  border-radius: 0 0 8px 8px;
  pointer-events: none;
}

/* BEFORE / AFTER バッジ */
.tsd-ba__type {
  display: inline-block;
  align-self: flex-start;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 3px 9px;
  border-radius: 3px;
  margin-bottom: 4px;
  background: var(--tsd-brand);
  color: #fff;
}
.tsd-ba__overlay--after .tsd-ba__type {
  background: rgba(255,255,255,0.22);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.45);
}

.tsd-ba__date {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  margin: 0;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
}

.tsd-ba__weight {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  margin: 2px 0 0;
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
  line-height: 1.1;
}

/* スクロールアニメーション */
.tsd-ba-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease var(--delay, 0s), transform 0.75s ease var(--delay, 0s);
}
.tsd-ba-reveal--in {
  opacity: 1;
  transform: translateY(0);
}

/* お客様コメント */
.tsd-ba__comment {
  max-width: 620px;
  margin: 60px auto 0;
  padding: 0 24px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.tsd-ba__comment-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--tsd-light);
  text-transform: uppercase;
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.tsd-ba__comment-title::before,
.tsd-ba__comment-title::after {
  content: '';
  flex: 1;
  height: 1px;
}
.tsd-ba__comment-title::before {
  background: linear-gradient(90deg, transparent, rgba(232,168,130,0.45));
}
.tsd-ba__comment-title::after {
  background: linear-gradient(90deg, rgba(232,168,130,0.45), transparent);
}

.tsd-ba__comment-bubble {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(232,168,130,0.22);
  border-radius: 14px;
  padding: 26px 30px 22px;
  position: relative;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tsd-ba__comment-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 2;
  color: rgba(255,255,255,0.82);
  font-style: normal;
  margin: 0 0 14px;
  letter-spacing: 0.04em;
  text-align: left;
}

.tsd-ba__comment-sig {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  font-style: italic;
  color: var(--tsd-light);
  letter-spacing: 0.1em;
  margin: 0;
  text-align: right;
  display: block;
}

/* ==========================================================
   ② TIMELINE — クリーム背景
========================================================== */
.tsd-timeline {
  background: var(--tsd-cream);
  padding: 60px 0 72px;
  border-bottom: 1px solid var(--tsd-border);
}

.tsd-tl__head {
  text-align: center;
  margin-bottom: 40px;
}

.tsd-tl__label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tsd-brand);
  margin: 0 0 8px;
}

.tsd-tl__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--tsd-deep);
  letter-spacing: 0.05em;
  margin: 0;
}

.tsd-tl__body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
}

.tsd-tl__line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: var(--tsd-border);
}

.tsd-tl__item {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  align-items: start;
  margin-bottom: 44px;
  position: relative;
}
.tsd-tl__item:last-child { margin-bottom: 0; }

/* rightアイテム: margin-bottom削除＋上方向にオフセット */
.tsd-tl__item--right {
  margin-top: -32px;
  margin-bottom: 0;
}

/* ピボット */
.tsd-tl__pivot {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 8px;
  position: relative;
  z-index: 2;
}

/* 電波・リップルアニメーション */
.tsd-tl__pivot-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--tsd-brand);
  border: 3px solid var(--tsd-cream);
  box-shadow: 0 0 0 1px var(--tsd-border);
  flex-shrink: 0;
  position: relative;
}

.tsd-tl__pivot-dot::before,
.tsd-tl__pivot-dot::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 1.5px solid var(--tsd-brand);
  transform: translate(-50%, -50%);
  animation: tsd-ripple 2.6s ease-out infinite;
  opacity: 0;
}

.tsd-tl__pivot-dot::after {
  animation-delay: 1.3s;
}

@keyframes tsd-ripple {
  0%   { transform: translate(-50%, -50%) scale(1);   opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(4.0); opacity: 0; }
}

.tsd-tl__pivot-info { text-align: center; }

.tsd-tl__pivot-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: var(--tsd-deep);
  letter-spacing: 0.06em;
  margin: 0 0 2px;
  line-height: 1.3;
}

/* カード — 斜め投げ込みアニメーション */
.tsd-tl__card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow:
    0 4px 16px rgba(44,36,32,0.12),
    0 1px 4px rgba(44,36,32,0.08),
    4px 6px 0 rgba(44,36,32,0.04);
  border: 1px solid var(--tsd-border);
  transition: transform 0.72s cubic-bezier(.17,.84,.44,1), opacity 0.6s ease;
}

/* 初期: 斜め外から投げ込まれる状態 */
.tsd-tl__item--left  .tsd-tl__card  {
  grid-column: 1; grid-row: 1;
  transform: translateX(-70px) translateY(-30px) rotate(-12deg);
  opacity: 0;
}
.tsd-tl__item--left  .tsd-tl__pivot { grid-column: 2; grid-row: 1; }
.tsd-tl__item--left::after           { content: ''; grid-column: 3; grid-row: 1; }

.tsd-tl__item--right .tsd-tl__pivot { grid-column: 2; grid-row: 1; }
.tsd-tl__item--right .tsd-tl__card  {
  grid-column: 3; grid-row: 1;
  transform: translateX(70px) translateY(-30px) rotate(12deg);
  opacity: 0;
}
.tsd-tl__item--right::before         { content: ''; grid-column: 1; grid-row: 1; }

/* 着地: わずかに傾いたカード状態 */
.tsd-tl__item--left.tsd-tl--visible  .tsd-tl__card { transform: rotate(-2deg);  opacity: 1; }
.tsd-tl__item--right.tsd-tl--visible .tsd-tl__card { transform: rotate(2deg);   opacity: 1; }

.tsd-tl__card-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.tsd-tl__card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tsd-tl__card-placeholder {
  width: 100%;
  height: 100%;
  background: var(--tsd-cream);
}

.tsd-tl__epoch {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: 3px;
  line-height: 1.5;
}

.tsd-tl__epoch--welcome { background: var(--tsd-deep); color: var(--tsd-light); }
.tsd-tl__epoch--visit   { background: var(--tsd-brand); color: #fff; }

.tsd-tl__card-body {
  padding: 9px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tsd-tl__card-weight {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--tsd-deep);
  margin: 0;
  line-height: 1;
}

.tsd-tl__card-unit {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 11px;
  color: var(--tsd-muted);
  margin-left: 2px;
  vertical-align: baseline;
}

.tsd-tl__card-comment {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  line-height: 1.7;
  color: #666;
  margin: 0;
}

/* ==========================================================
   他のご家族も見る
========================================================== */
.tsd-related {
  background: #fff;
  padding: 72px 0 80px;
  border-top: 1px solid var(--tsd-border);
}

.tsd-related__head {
  text-align: center;
  margin-bottom: 40px;
}

.tsd-related__label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--tsd-brand);
  margin: 0 0 8px;
}

.tsd-related__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 600;
  color: var(--tsd-deep);
  letter-spacing: 0.05em;
  margin: 0;
}

.tsd-related__grid {
  margin-bottom: 0;
}

/* ==========================================================
   RESPONSIVE — タブレット (〜 1024px)
========================================================== */
@media (max-width: 1024px) {
  .tsd-hero__grid {
    grid-template-columns: 320px 1fr;
    gap: 48px;
  }
  .tsd-hero__name { font-size: 38px; }
}

/* ==========================================================
   RESPONSIVE — モバイル (〜 768px)
========================================================== */
@media (max-width: 768px) {

  /* Hero */
  .tsd-hero { padding: 40px 0 48px; }
  .tsd-hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 20px;
  }
  .tsd-hero__photo-col { max-width: 300px; margin: 0 auto; width: 100%; }
  .tsd-hero__name    { font-size: 32px; }
  .tsd-hero__info    { gap: 12px; }

  /* Before/After — スライダー表示 */
  .tsd-ba { padding: 48px 0 56px; }
  .tsd-ba__title  { font-size: 22px; }

  /* panels-wrap: overflow 隠して横幅を確保 */
  .tsd-ba__panels-wrap {
    padding: 0;
    overflow: hidden;
  }

  /* panels: 横スクロールスライダー */
  .tsd-ba__panels {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    padding: 0 10% 12px;
    align-items: flex-start;
  }
  .tsd-ba__panels::-webkit-scrollbar { display: none; }

  .tsd-ba__panel {
    flex: 0 0 80%;
    scroll-snap-align: center;
    padding: 0 8px;
  }

  .tsd-ba__arrow  { display: none; }

  /* オーバーレイをstatic（画像の下）に */
  .tsd-ba__overlay {
    position: static;
    background: rgba(18, 9, 5, 0.96);
    border-radius: 0 0 8px 8px;
    padding: 11px 14px 13px;
    border-top: 1px solid rgba(196,113,74,0.2);
    pointer-events: auto;
  }

  .tsd-ba__weight { font-size: 18px; }

  /* コメントバブル */
  .tsd-ba__comment-bubble { padding: 18px 16px 16px; }
  .tsd-ba__comment-text   { font-size: 13px; }

  /* Timeline */
  .tsd-timeline { padding: 48px 0 60px; }

  .tsd-tl__body {
    padding: 0 12px;
    max-width: 100%;
  }

  /* 縦ライン: 中央に（PC同様） */
  .tsd-tl__line {
    left: 50%;
    transform: translateX(-50%);
  }

  /* アイテム: PC同様 3カラム */
  .tsd-tl__item {
    grid-template-columns: 1fr 48px 1fr;
    margin-bottom: 32px;
    align-items: start;
  }

  /* pivot を中央カラムに（PC同様） */
  .tsd-tl__item--left  .tsd-tl__pivot,
  .tsd-tl__item--right .tsd-tl__pivot {
    grid-column: 2;
    grid-row: 1;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding-top: 4px;
    justify-content: flex-start;
  }

  /* left: card → col1、right: card → col3 */
  .tsd-tl__item--left  .tsd-tl__card { grid-column: 1; grid-row: 1; }
  .tsd-tl__item--right .tsd-tl__card { grid-column: 3; grid-row: 1; }

  /* 反対側の空カラムを復元 */
  .tsd-tl__item--left::after  { content: ''; grid-column: 3; grid-row: 1; display: block; }
  .tsd-tl__item--right::before { content: ''; grid-column: 1; grid-row: 1; display: block; }

  /* pivot-info: 中央揃え */
  .tsd-tl__pivot-info { text-align: center; }
  .tsd-tl__pivot-date { font-size: 9px; white-space: nowrap; }
}
