@charset "UTF-8";
/* CSS Document */
/* =========================
   共通トークン
========================= */ :root {
  --ink: #111;
  --muted: #666;
  --border: #e5e7eb;
  --bg: #fff;
  --pink: #ff4ea3;
}
/* =========================
   HERO（上段：PC 1000px幅）
========================= */
.tif-hero {
  max-width: 1000px;
  margin: 0 auto;
  padding: 12px 16px 24px;
  background: var(--bg);
  color: var(--ink);
}
/* 2カラム：SP=1, PC=2 */
.tif-hero__body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}
@media (min-width: 900px) {
  .tif-hero__body {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}
/* 左：ビジュアル */
.tif-hero__photo {
  margin: 0;
}
.tif-hero__photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--border);
  object-fit: cover;
}
/* 右：要約 */
.tif-hero__summary-head {
  margin: 0 0 4px;
  font-size: clamp(18px, 2.6vw, 26px);
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .02em;
}
.tif-hero__summary-sub {
  color: var(--pink);
display: inline-block;   /* ← margin-bottom を効かせるため */
  margin-bottom: 12px;     /* ← 下に余白を追加 */
}
.tif-hero__summary-lead {
  margin: 6px 0 12px;
  font-weight: 400;
	font-size: clamp(13px, 1.6vw, 15px); /* ← 本文より小さめ */
  line-height: 1.6;
  color: #555; /* 落ち着いた色 */
}
.report-summary-intro, .tif-hero__intro {
  font-size: 12px;
  line-height: 1.6;
  margin: 0 0 12px;
  color: #555;
}
/* 要約内のポイント */
.tif-pts {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.tif-pts li {
  border-top: 2px dashed var(--border);
  padding-top: 12px;
}
.tif-pts li:first-child {
  border-top: 0;
  padding-top: 0;
}
.tif-pts__line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
}
.tif-pts__num {
  display: inline-block;
  width: 28px;
  height: 28px;
  margin-right: 6px;
}
.tif-pts__num img {
  display: block;
  width: 100%;
  height: auto;
}
.tif-pts__head {
  font-weight: 800;
  font-size: clamp(16px, 2.4vw, 18px);
}
.tif-pts__desc {
  margin: 0;
  font-size: clamp(12px, 1.4vw, 14px);
  line-height: 1.6;
  color: #555;
}
.tif-summary__credit {
  font-size: 10px;
  color: #777;
  text-align: right;
  margin-top: 12px;
}
/* レインボー線 */
.tif-hero__rainbow {
  height: 8px;
  margin-top: 18px;
  border-radius: 8px;
  background: linear-gradient(90deg, #e50012 0%, #f39800 16.6%, #fff100 33.2%, #009944 49.8%, #0068b7 66.4%, #1d2088 83%, #920783 100%);
}
/* SP左右余白少し締める */
@media (max-width: 899.98px) {
  .tif-hero {
    padding-left: 14px;
    padding-right: 14px;
  }
}
/* =========================
   レポート本文（カード）
========================= */
.tif-report {
  max-width: 1000px;
  margin: 32px auto;
  padding: 0 16px;
}
/* 見出し＆リード */
.tif-report__h {
  font-size: clamp(18px, 3vw, 26px);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 10px;
}
.tif-report__lead {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  margin: 0 0 24px;
}
/* グリッド：SP=1, PC=2 */
.tif-report__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 900px) {
  .tif-report__grid {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  /* ブロック数が奇数のとき最後を全幅 */
  .tif-report__grid > .tif-report__block:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}
/* 枠付きカード（最終定義・一本化） */
.tif-report__block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  margin: 0 0 20px;
  overflow: hidden; /* 角丸に画像を沿わせる */
}
.tif-report__sub {
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 700;
  margin: 0 0 8px;
}
.tif-report__block p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
}
.tif-report__block figure {
  margin: 0 0 12px;
}
.tif-report__block img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
/* 見出しの色分け（奇数=ブラウン／偶数=ブルー） */
.tif-report__grid > .tif-report__block:nth-child(odd) .tif-report__sub {
  color: #bc6910;
}
.tif-report__grid > .tif-report__block:nth-child(even) .tif-report__sub {
  color: #008de9;
}
/* =========================
   ヒーロー内フェードスライダー
========================= */
.tif-hero__photo .tif-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;   /* 正方形に固定 */
  min-height: 200px;     /* 保険 */
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: #f8fafc;
  -webkit-transform: translateZ(0);
}
.tif-hero__photo .tif-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;     /* 正方形枠に切り取りフィット */
  object-position: center;
  display: block;
}
.tif-hero__photo .tif-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms ease;
}
.tif-hero__photo .tif-slide.is-active {
  opacity: 1;
}
.tif-hero__photo .tif-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
	object-position: center;  /* 縦横ともに中央に配置 */
  display: block;
}
/* aspect-ratio 非対応フォールバック */
@supports not (aspect-ratio: 16/9) {
  .tif-hero__photo .tif-slider::before {
    content: "";
    display: block;
    padding-top: 56.25%;
  }
  .tif-hero__photo .tif-slide {
    position: absolute;
    inset: 0;
  }
}
/* ドット */
.tif-hero__photo .tif-dots {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: inline-flex;
  gap: 6px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, .25);
  border-radius: 999px;
}
.tif-hero__photo .tif-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .6);
  padding: 0;
  cursor: pointer;
}
.tif-hero__photo .tif-dots button[aria-selected="true"] {
  background: #fff;
}
/* 動きを抑制（ユーザー設定尊重） */
@media (prefers-reduced-motion: reduce) {
  .tif-hero__photo .tif-slide {
    transition: none;
  }
}
/* 冒頭要約の背景色をリセット */
.tif-hero {
  background: #fff; /* フッターと同じグレーではなく白 */
}
/* スライダー下のキャプション */
.tif-slider__cap {
  font-size: 10px; /* ← 今12pxなので、1段階小さく */
  line-height: 1.4;
  color: #666;
  margin-top: 6px;
  text-align: center; /* ← 中央寄せにしたい場合 */
}
/* ===== レポートまとめ ===== */
.tif-summary {
  max-width: 1000px;
  margin: 20px auto 48px;
  padding: 24px 16px;
  background: #f9fafb;       /* 薄いグレー背景 */
  border-radius: 12px;
}

.tif-summary__title {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  margin: 0 0 16px;
  color: #111;
}

.tif-summary__lead {
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  margin: 0 0 16px;
  text-align: justify;
}
/* まとめ直下の「特集トップへ戻る」リンク */
.tif-summary__toplink {
  margin: 20px 0 24px;   /* 上は少し詰め気味、下は余裕 */
  text-align: center;
}
.tif-summary__toplink a {
  font-size: 14px;
  color: #ff4ea3;       /* TIFのピンク基調で */
  text-decoration: none;
  font-weight: 600;
}
.tif-summary__toplink a:hover {
  text-decoration: underline;
}

/* ===== ページナビ ===== */
.tif-pagenav ul {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.tif-pagenav li {
  margin: 0;
}

.tif-pagenav a,
.tif-pagenav span {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  text-align: center;
}

/* 現在ページ（ハイライト） */
.tif-pagenav .is-current span {
  background: #1d2088;   /* ネイビーハイライト */
  color: #fff;
}

/* 他ページ（薄ピンクリンク） */
.tif-pagenav a {
  background: #ffe6f1;   /* 薄ピンク */
  color: #c2185b;
}

.tif-pagenav a:hover {
  background: #fdd0e0;   /* hover時に少し濃く */
}
/* カテゴリー帯（大見出し） */
.tif-report__section-head {
  margin: 40px 0 20px;       /* 上下余白 */
  padding: 12px 16px;
  background: #fdf2f8;       /* 薄いピンク背景 */
  border-left: 6px solid #ff4ea3; /* アクセントライン */
  border-radius: 4px;
}

.tif-report__section-title {
  display: flex;
  align-items: center;   /* 数字画像とテキストを縦中央 */
  gap: 10px;             /* 数字とテキストの間隔 */
  margin: 0;
  font-size: clamp(16px, 2.5vw, 20px);
  font-weight: 700;
  color: #000;
}

.tif-report__section-title .tif-report__num {
  width: 28px;   /* 数字アイコンのサイズ */
  height: auto;
  display: block;
}
/* ===== Page Nav（タブ風・横並び）===== */
:root{
  --tab-current: #1f3cff;  /* 今いるページ（濃いブルー） */
  --tab-inactive: #ffd7e6; /* 他ページ（薄いピンク）   */
  --tab-text: #111;
  --tab-bg: #fff;
  --wrap-w: 1000px;        /* 本文幅 */
}

.tif-pagenav{
  max-width: var(--wrap-w);
  margin: 18px auto 0;          /* まとめ直下を少し詰める */
  padding: 0 16px 24px;         /* 下に余白 */
}

.tif-pagenav ul{
  list-style: none;
  margin: 0;
  padding: 0;

  /* タブを横並び */
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;

  /* モバイルでの横スクロール（端末幅よりタブが長い時） */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;    /* Firefox */
}
.tif-pagenav ul::-webkit-scrollbar{ display: none; }

.tif-pagenav li{ flex: 0 0 auto; }

.tif-pagenav a,
.tif-pagenav .is-current > span{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;

  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: clamp(14px, 2.6vw, 16px);
  line-height: 1;

  text-decoration: none;
  color: var(--tab-text);
  background: var(--tab-inactive);
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 1px 0 rgba(0,0,0,.04) inset;
  transition: transform .06s ease, filter .2s ease;
}

.tif-pagenav a:active{ transform: translateY(1px); }

/* ホバー（PCのみ） */
@media (hover:hover){
  .tif-pagenav a:hover{ filter: brightness(0.98); }
}

/* 現在ページ（spanで表示） */
.tif-pagenav .is-current > span{
  background: var(--tab-current);
  color: #fff;
  border-color: transparent;
}

/* 画面が広い時は折り返し許可（中央寄せのまま） */
@media (min-width: 900px){
  .tif-pagenav ul{
    flex-wrap: wrap;
    overflow: visible;
  }
}
/* ===== まとめ下部リンク＆ナビの余白調整 ===== */
.tif-summary__toplink {
  margin: 20px 0 16px;   /* 上20px 下16pxくらいに詰める */
  text-align: center;
}

.tif-pagenav {
  margin-top: 12px;      /* ナビの上余白を詰める */
}

.tif-pagenav ul {
  gap: 12px;             /* ボタン間の隙間も DAY2 に合わせる */
}
.tif-summary__lead:last-of-type {
  margin-bottom: 0;  /* 最後の段落下の余白をなくす */
}
/* まとめエリア調整 */
.tif-summary__toplink {
  margin-bottom: 20px;   /* トップリンク下の余白を少し広めに */
}

.tif-pagenav {
  margin-top: 0;         /* ページナビ上の余白をリセット */
}
/* DAY3専用の余白調整 */
.tif-summary--day3 .tif-summary__toplink {
  margin-bottom: 20px; /* 適度に狭める */
}

.tif-summary--day3 .tif-pagenav {
  margin-top: 0; /* 余計なスペースを消す */
}
