/* ==========================================================
   TSP 紹介ページ (きっかけ！インターン サブページ)
   style.css のトークン/topbar/footer/btn を前提に、記事レイアウトのみ定義
   ========================================================== */
body.tsp-body { background: var(--cream); }
.tsp-main { position: relative; overflow: hidden; }
.tsp-wrap { max-width: 1040px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

/* 黄色のラフな装飾ブロブ（背面） */
.tsp-blob { position: absolute; z-index: 0; background: var(--yellow); opacity: .45; pointer-events: none; }
.tsp-blob-1 { width: 38vw; max-width: 460px; aspect-ratio: 1; border-radius: 46% 54% 60% 40% / 50% 44% 56% 50%; top: -6rem; right: -6rem; }
.tsp-blob-2 { width: 34vw; max-width: 420px; aspect-ratio: 1; border-radius: 56% 44% 43% 57% / 47% 56% 44% 53%; top: 120vh; left: -8rem; opacity: .35; }
.tsp-blob-3 { width: 30vw; max-width: 380px; aspect-ratio: 1; border-radius: 50% 50% 42% 58% / 56% 45% 55% 44%; top: 230vh; right: -7rem; opacity: .35; }
.tsp-main > * { position: relative; z-index: 1; }

/* 飾りタコス（小） */
.tsp-spot { position: absolute; z-index: 0; width: clamp(48px, 8vw, 88px); height: auto; filter: drop-shadow(3px 4px 0 rgba(43,29,22,.16)); pointer-events: none; }
.tsp-spot-a { top: 6%; left: 2%; transform: rotate(-12deg); }
.tsp-spot-b { top: 52%; right: 1.5%; transform: rotate(10deg); }

/* 共通見出し */
.tsp-eyebrow {
  font-family: var(--font-display); color: var(--orange-text);
  font-size: .8rem; letter-spacing: .22em; display: inline-flex; align-items: center; gap: .7em;
}
.tsp-eyebrow::after { content: ""; height: 3px; width: 2.6em; background: var(--orange-deep); border-radius: 2px; }

/* ---------- hero ---------- */
.tsp-hero { padding: clamp(2.2rem, 6vh, 4.2rem) 0 clamp(1.6rem, 4vh, 3rem); }
.tsp-hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.tsp-title { font-family: var(--font-body); font-weight: 900; font-size: clamp(2rem, 6.6vw, 3.5rem); line-height: 1.32; letter-spacing: .01em; margin: .5em 0 .55em; text-wrap: balance; word-break: keep-all; }
.tsp-lead { font-weight: 700; font-size: clamp(1rem, 2.5vw, 1.15rem); line-height: 1.9; text-wrap: pretty; }
.tsp-collage { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.tsp-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: 16px; box-shadow: 0 10px 26px rgba(43, 29, 22, .13); }
.tsp-collage img:nth-child(1) { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.tsp-collage img:nth-child(2), .tsp-collage img:nth-child(3) { aspect-ratio: 1 / 1; }

/* ---------- intro ---------- */
.tsp-intro { padding-block: clamp(1.5rem, 4vh, 2.5rem); max-width: 720px; }
.tsp-intro p { line-height: 1.95; font-size: clamp(1rem, 2.4vw, 1.08rem); }
.tsp-intro p + p { margin-top: 1.1em; }
.tsp-intro strong { font-weight: 900; }
.tsp-intro .tsp-creed {
  margin-top: 1.4em; font-family: var(--font-body); font-weight: 900; font-size: clamp(1.05rem, 3vw, 1.35rem);
  line-height: 1.7; padding-left: .9em; border-left: 6px solid var(--orange-deep);
}

/* ---------- zigzag rows ---------- */
.tsp-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 4vw, 3.4rem);
  align-items: center; padding-block: clamp(2.2rem, 6vh, 3.8rem);
}
.tsp-row--rev .tsp-figure { order: 2; }
.tsp-h2 { font-family: var(--font-body); font-weight: 900; font-size: clamp(1.45rem, 4.4vw, 2.15rem); line-height: 1.45; margin-bottom: .8em; text-wrap: balance; word-break: keep-all; }
.tsp-prose p { line-height: 1.95; font-size: clamp(1rem, 2.3vw, 1.06rem); }
.tsp-prose p + p { margin-top: 1em; }
.tsp-prose strong { background: linear-gradient(transparent 58%, var(--yellow) 58%); font-weight: 900; }

/* 写真フレーム（枠線なし・やわらかい影／参考デザイン準拠） */
.tsp-figure { position: relative; }
.tsp-figure img { width: 100%; height: auto; display: block; border-radius: 18px; box-shadow: 0 12px 28px rgba(43, 29, 22, .13); }
.tsp-figure figcaption { margin-top: .6rem; font-size: .8rem; opacity: .7; text-align: center; }
.tsp-figure.is-illust img { background: #fff; box-shadow: 0 8px 22px rgba(43, 29, 22, .1); }

/* 2枚並べ（融合セクション用） */
.tsp-figure-stack { display: grid; gap: .9rem; }

/* ---------- pull quote（エディトリアル：箱なし・大きな引用符） ---------- */
.tsp-quote {
  max-width: 46rem; margin: clamp(2.6rem, 7vh, 4rem) auto; padding-inline: clamp(1rem, 4vw, 2rem);
  text-align: center; position: relative;
}
.tsp-quote::before {
  content: "\201C"; display: block; font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.6rem, 12vw, 6.5rem); line-height: .8; color: var(--orange-deep); margin-bottom: -.12em;
}
.tsp-quote p { font-family: var(--font-body); font-weight: 900; color: var(--ink); font-size: clamp(1.35rem, 4.2vw, 2.1rem); line-height: 1.65; }
.tsp-quote cite { display: block; margin-top: 1.4em; font-style: normal; font-weight: 700; font-size: .85rem; color: var(--orange-text); }

/* ---------- 参考・出典 ---------- */
.tsp-sources { background: var(--cream-2); padding-block: clamp(2.2rem, 5vh, 3.2rem); }
.tsp-sources .tsp-lead-small { margin: .6em 0 1.1em; font-size: .92rem; font-weight: 700; }
.tsp-sources ul { list-style: none; display: grid; gap: .6rem; }
.tsp-sources li { position: relative; padding-left: 1.1em; font-size: .84rem; line-height: 1.75; opacity: .9; }
.tsp-sources li::before { content: "🌮"; position: absolute; left: 0; font-size: .8em; opacity: .8; }
.tsp-sources a { color: var(--orange-text); font-weight: 700; text-underline-offset: 2px; }
.tsp-sources .tsp-sources-note { margin-top: 1.3em; font-size: .78rem; opacity: .7; padding-left: 0; }

/* ---------- closing CTA ---------- */
.tsp-cta { background: var(--orange-dark); color: #fff; text-align: center; position: relative; overflow: hidden; padding-block: clamp(3rem, 8vh, 5rem); margin-top: clamp(2.5rem, 6vh, 4rem); }
.tsp-cta .tsp-wrap { max-width: 640px; }
.tsp-cta-title { font-family: var(--font-body); font-weight: 900; font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1.4; margin-bottom: .7em; text-wrap: balance; word-break: keep-all; }
.tsp-cta p { font-weight: 700; line-height: 1.9; margin-bottom: 1.8rem; }
.tsp-cta .cta-group { justify-content: center; }
.tsp-cta .btn-primary { background: var(--ink); color: var(--cream); }
.tsp-cta .btn-primary .btn-note { color: var(--yellow); }
.tsp-cta .btn-primary:hover { background: #1d130e; }
.tsp-cta-sub { margin-top: 1.6rem; font-size: .9rem; font-weight: 700; }
.tsp-cta-sub a { color: var(--yellow); }

/* ---------- responsive ---------- */
@media (max-width: 820px) {
  .tsp-hero-inner { grid-template-columns: 1fr; }
  .tsp-row { grid-template-columns: 1fr; gap: 1.4rem; }
  .tsp-row--rev .tsp-figure { order: 0; }   /* 画像→本文の順で統一 */
  .tsp-spot { display: none; }
}
@media (max-width: 480px) {
  .tsp-collage { grid-template-columns: 1fr 1fr; }
}

/* ---------- 控えめなアニメ ---------- */
@keyframes tspBob { 0%,100% { transform: translateY(0) rotate(var(--r,0deg)); } 50% { transform: translateY(-7px) rotate(var(--r,0deg)); } }
@media (prefers-reduced-motion: no-preference) {
  .tsp-spot-a { --r: -12deg; animation: tspBob 5s ease-in-out infinite; }
  .tsp-spot-b { --r: 10deg; animation: tspBob 4.4s ease-in-out infinite; }
}
