@charset "UTF-8";
/* =============================================================================
   個別レポートページ 追加CSS
   /data/reports/<slug>/
   ============================================================================= */


/* =============================================================================
   0. トークン
   ============================================================================= */
:root{
  --report-line:#a9bbd2;
  --report-text:#5d7596;
  --report-body:#4a5561;
  --report-muted:#66727f;
  --report-rule:#e1e8f2;      /* 表の行罫線 */
}
html{scroll-padding-top:calc(var(--header-h,62px) + 16px);}


/* 共通 */
.report-tag{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:3px 11px;
  border:1px solid var(--report-line);
  background:#fff;
  color:var(--report-text);
  font-size:13px;
  font-weight:500;
  line-height:1.8;
  white-space:nowrap;
}
.report-tag__dot{
  flex:0 0 auto;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--report-dot,#9aa7b4);
}
.report-tag__dot--industry{--report-dot:#1c9fd0;}
.report-tag__dot--theme   {--report-dot:#b5651d;}
.report-tag__dot--period  {--report-dot:#66727f;}

.report-tag-list{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  list-style:none;
  margin:0;
  padding:0;
}

.report-thumb{
  position:relative;
  overflow:hidden;
  aspect-ratio:16/9;
  background:var(--light);
}
.report-thumb__img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.report-date{
  color:var(--report-muted);
  font-family:var(--font-number);
  font-size:16px;
  font-weight:500;
  letter-spacing:.06em;
}

.report-card{
  position:relative;
  display:flex;
  flex-direction:column;
  width:100%;
  border:1px solid var(--line-light);
  background:#fff;
  transition:transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.report-card:hover{
  transform:translateY(-3px);
  border-color:#b9cde4;
  box-shadow:0 14px 30px rgba(0,36,109,.10);
}
.report-card__body{
  display:flex;
  flex:1;
  flex-direction:column;
  gap:10px;
  padding:24px 22px 26px;
}
.report-card__meta{display:flex;align-items:center;gap:12px;}
.report-card__title{margin:0;font-size:16px;font-weight:700;line-height:1.85;}
.report-card__link{color:inherit;text-decoration:none;}
.report-card__link::before{content:"";position:absolute;inset:0;z-index:1;}
.report-card__tags{margin-top:auto;padding-top:14px;}

.report-head-text{
  margin: 56px 0 20px 0;
}

/* 記事ページ */
.report-article{
  background:var(--light);
  padding:44px 0 96px;
}
.report-article__layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 320px;
  gap:56px;
  align-items:start;
}

/* ---- 記事の見出しまわり ---- */
.report-article__head{
  padding-bottom:26px;
  border-bottom:1px solid var(--line-light);
  margin-bottom:32px;
}
.report-article__title{
  font-size:clamp(24px,2.6vw,30px);
  font-weight:700;
  line-height:1.65;
  letter-spacing:.02em;
  color:var(--ink);
  margin:6px 0 22px;
}
.report-article__meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px 16px;
}

/* 記事本文 */
.report-prose{
  color:var(--ink);
  font-size:16px;
  font-weight:500;
  line-height:2.05;
}
.report-prose > * + *{margin-top:1.6em;}

.report-prose h2{
  position:relative;
  margin-top:2.6em;
  padding-bottom:16px;
  color:var(--Accent-navy);
  font-size:clamp(18px,1.7vw,24px);
  font-weight:700;
  line-height:1.75;
  letter-spacing:.02em;
}
.report-prose h2::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:2px;
  background:linear-gradient(to right,
    rgba(0,212,255,1) 0%,
    rgba(26,108,240,1) 15%,
    rgba(0,212,255,.32) 45%,
    rgba(0,212,255,0) 100%);
}
.report-prose h2 + *{margin-top:1.8em;}

.report-prose h3{
  margin-top:2.2em;
  padding-left:16px;
  border-left:3px solid var(--cyan-2);
  color:var(--ink);
  font-size:17px;
  font-weight:700;
  line-height:1.7;
}
.report-prose h3 + *{margin-top:1.2em;}

.report-prose a{
  text-underline-offset:.18em;
}
.report-prose a span{
  color: var(--Accent-navy);
  }
.report-prose a:hover{color:var(--blue-500);}

/* ---- 本文中のリンク行（▶付き） ---- */
.report-link{font-weight:500;}
.report-link a::before{
  content:"";
  display:inline-block;
  width:0;height:0;
  margin-right:8px;
  border-style:solid;
  border-width:5px 0 5px 8px;
  border-color:transparent transparent transparent currentColor;
  vertical-align:middle;
}

/* 目次 */
.report-toc{
  margin:40px 0 0;
  padding:26px 32px 8px;
  border:1px solid var(--line-light);
  background:#fff;
}
.report-toc__label{
  font-family:var(--font-mono);
  font-size:16px;
  letter-spacing:.1em;
  color:var(--Accent-navy);
  margin-bottom:8px;
}
.report-toc__list{
  list-style:none;
  margin:0;
  padding:0;
  counter-reset:toc;
}
.report-toc__item{
  counter-increment:toc;
  border-bottom:1px solid var(--report-rule);
}
.report-toc__item:last-child{border-bottom:0;}
.report-toc__link{
  display:flex;
  gap:24px;
  padding:14px 0;
  color:var(--ink);
  font-size:16px;
  font-weight:500;
  line-height:1.8;
  text-decoration:none;
}
.report-toc__link::before{
  content:counter(toc,decimal-leading-zero);
  flex:0 0 auto;
  color:var(--cyan-2);
  font-family:var(--font-number);
  font-weight:700;
  letter-spacing:.04em;
}
.report-toc__link:hover{color:var(--Accent-navy);}
.report-toc__link:hover .report-toc__text{text-decoration:underline;}

.report-list-style_disc{
  list-style:disc;
  margin-left: 1em;
}
.report-list-style__none{
  list-style: none;

}
.report-prose .report-notes{
  font-size:14px;
  line-height: 1.5;
  display: inline-block;

}

.report-toc a{
  color: var(--blue-500);
}


/* 図・表の枠 */
.report-figure{
  margin:2.4em 0 0;
  padding:30px 30px 26px;
  border:1px solid var(--line-light);
  background:#fff;
}
.report-figure__img{
  display:block;
  width:100%;
  height:auto;
}
.report-figure figcaption{margin-top:18px;}
.report-figure__caption{
  display:block;
  color:var(--Accent-navy);
  font-size:14px;
  font-weight:700;
  line-height:1.8;
}
.report-figure .source,
.report-table-box .source{
  display:block;
  margin-top:10px;
  color:var(--report-text);
  font-size:12.5px;
}

/* table */
.report-table-box{
  margin:2.4em 0 0;
  padding:30px;
  border:1px solid var(--line-light);
  background:#fff;
}
.report-table-box__caption{
  margin-bottom:16px;
  color:var(--Accent-navy);
  font-size:14px;
  font-weight:700;
  line-height:1.8;
}
.report-table-scroll{overflow-x:auto;}
.report-table-scroll:focus-visible{outline:3px solid var(--Accent-navy);outline-offset:3px;}
.report-table{
  width:100%;
  border-collapse:collapse;
  border:1px solid var(--line-light);
  font-size:14px;
  line-height:1.8;
}
.report-table caption{
  text-align:left;
  color:var(--Accent-navy);
  font-weight:700;
  padding-bottom:12px;
}
.report-table th,
.report-table td{
  padding:8px 14px;
  border-bottom:1px solid var(--report-rule);
  border-right:1px solid var(--report-rule);
  text-align:center;
}
.report-table th:last-child,
.report-table td:last-child{border-right:0;}
.report-table tbody tr:last-child th,
.report-table tbody tr:last-child td{border-bottom:0;}
.report-table thead th{
  background:var(--light);
  color:var(--Accent-navy);
  font-weight:700;
  border-bottom:1px solid var(--line-light);
}
.report-table tbody th{
  color:var(--Accent-navy);
  font-family:var(--font-number);
  font-weight:700;
  white-space:nowrap;
}
.report-table__name{text-align:left;}

/* 一覧へ戻る／コピーライト */
.report-article__foot{
  display:flex;
  align-items:center;
  gap:26px;
  margin-top:64px;
  padding-top:28px;
}
.report-back{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  gap:14px;
  color:var(--Accent-navy);
  font-size:15px;
  font-weight:700;
  letter-spacing:.02em;
  text-decoration:none;
  transition:color .3s ease;
}
.report-back__arrow{position:relative;display:block;width:22px;height:16px;flex:0 0 auto;}
.report-back__arrow::before,
.report-back__arrow::after{
  content:"";position:absolute;transition:transform .34s cubic-bezier(.4,0,.2,1);
}
.report-back__arrow::before{left:2px;right:0;top:50%;height:1.5px;background:currentColor;transform:translateY(-50%);}
.report-back__arrow::after{
  left:2px;top:50%;width:8px;height:8px;
  border-bottom:1.5px solid currentColor;border-left:1.5px solid currentColor;
  transform:translateY(-50%) rotate(45deg);
}
/* 戻るのインタラクション */
.report-article__rule{
  position:relative;
  flex:1;
  height:1px;
  background:var(--line-light);
  overflow:hidden;
}
.report-article__rule::after{
  content:"";
  position:absolute;
  inset:0;
  background:var(--Accent-navy);
  transform:scaleX(0);
  transform-origin:right center;
  transition:transform .5s cubic-bezier(.4,0,.2,1);
}
.report-article__copy{
  flex:0 0 auto;
  color:var(--report-muted);
  font-size:12.5px;
  font-weight:500;
  white-space:nowrap;
}
.report-article__foot:hover .report-article__rule::after,
.report-article__foot:focus-within .report-article__rule::after{transform:scaleX(1);}
.report-article__foot:hover .report-back,
.report-article__foot:focus-within .report-back{color:var(--blue-500);}
.report-article__foot:hover .report-back__arrow::before,
.report-article__foot:focus-within .report-back__arrow::before{transform:translateY(-50%) translateX(-6px);}
.report-article__foot:hover .report-back__arrow::after,
.report-article__foot:focus-within .report-back__arrow::after{transform:translateY(-50%) rotate(45deg) translateX(-4px) translateY(4px);}


/* サイドバー※incファイル */
.report-side{
  position:sticky;
  top:calc(var(--header-h,62px) + 24px);
  display:flex;
  flex-direction:column;
  gap:20px;
}
.report-rank{
  padding:20px 22px 8px;
  border:1px solid var(--line-light);
  background:#fff;
}
.report-rank__title{
  padding-bottom:10px;
  border-bottom:1px solid var(--report-rule);
  color:var(--Accent-navy);
  font-size:16px;
  font-weight:700;
}
.report-rank__list{
  list-style:none;
  margin:0;
  padding:0;
  counter-reset:rank;
}
.report-rank__item{
  counter-increment:rank;
  border-bottom:1px solid var(--report-rule);
}
.report-rank__item:last-child{border-bottom:0;}
.report-rank__link{
  display:grid;
  grid-template-columns:auto 104px minmax(0,1fr);
  gap:12px;
  align-items:start;
  padding:16px 0;
  color:inherit;
  text-decoration:none;
}
.report-rank__link::before{
  content:counter(rank);
  color:var(--blue-500);
  font-family:var(--font-number);
  font-size:17px;
  font-weight:700;
  line-height:1.4;
}
.report-rank__thumb{
  aspect-ratio:4/3;
  overflow:hidden;
  background:var(--light);
}
.report-rank__thumb img{display:block;width:100%;height:100%;object-fit:cover;}
.report-rank__name{
  font-size:14px;
  font-weight:500;
  line-height:1.5;
  display: inline-block;
}
.report-rank__link:hover .report-rank__name{text-decoration:underline;}
.report-rank__date{
  display:block;
  margin-top:6px;
  color:var(--report-text);
  font-family:var(--font-number);
  font-size:13px;
  font-weight:500;
  letter-spacing:.05em;
}


/* ---- データのご案内 ---- */
.report-guide{
  padding:22px 22px 24px;
  border:1px solid var(--line-light);
  background:#fff;
}
.report-guide__title{
  padding-bottom:14px;
  border-bottom:1px solid var(--report-rule);
  color:var(--Accent-navy);
  font-size:15px;
  font-weight:700;
}
.report-guide__text{
  margin-top:14px;
  color:var(--report-body);
  font-size:13.5px;
  font-weight:500;
  line-height:1.95;
}
.report-guide__btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin-top:18px;
  padding:16px 20px;
  background:var(--Accent-navy);
  color:#fff;
  font-size:15px;
  font-weight:700;
  letter-spacing:.02em;
  text-decoration:none;
  transition:background-color .25s ease;
}
.report-guide__btn:hover{background:#0a3a91;}
.report-guide__btn:hover .report-guide__arrow::before{transform:translateY(-50%) translateX(6px);}
.report-guide__btn:hover .report-guide__arrow::after{transform:translateY(-50%) rotate(45deg) translate(4px,-4px);}

/* 矢印 */
.report-guide__arrow{position:relative;display:block;width:22px;height:16px;flex:0 0 auto;}
.report-guide__arrow::before,
.report-guide__arrow::after{content:"";position:absolute;transition:transform .34s cubic-bezier(.4,0,.2,1);}
.report-guide__arrow::before{left:0;right:2px;top:50%;height:1.5px;background:currentColor;transform:translateY(-50%);}
.report-guide__arrow::after{
  right:2px;top:50%;width:8px;height:8px;
  border-top:1.5px solid currentColor;border-right:1.5px solid currentColor;
  transform:translateY(-50%) rotate(45deg);
}

/* ---- すべてのレポートを見る ---- */
.report-side__more{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px 20px;
  border:1px solid var(--Accent-navy);
  background:#fff;
  color:var(--Accent-navy);
  font-size:15px;
  font-weight:700;
  letter-spacing:.02em;
  text-decoration:none;
  transition:background-color .25s ease, color .25s ease;
}
.report-side__more:hover{background:var(--Accent-navy);color:#fff;}


/* 関連レポート */
.report-related{
  background:#fff;
  padding:80px 0 96px;
}
.report-related__heading{
  margin-bottom:36px;
  color:var(--ink);
  font-size:clamp(26px,3vw,32px);
  font-weight:700;
  letter-spacing:.04em;
}
.report-related__list{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:24px;
  list-style:none;
  margin:0;
  padding:0;
}
.report-related__item{display:flex;}


/* レスポンシブ */
@media (max-width:1024px){
  .report-article__layout{grid-template-columns:1fr;gap:48px;}
  .report-side{position:static;}
  .report-related__list{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:820px){
  .report-article{padding:36px 0 72px;}
  .report-related{padding:60px 0 72px;}
  .report-figure,
  .report-table-box{padding:20px;}
  .report-toc{padding:22px 20px 6px;}
}
@media (max-width:640px){
  .report-related__list{grid-template-columns:1fr;}
  .report-prose{font-size:14.5px;}
  .report-toc__link{gap:16px;font-size:14.5px;}
  .report-article__foot{flex-wrap:wrap;gap:14px;margin-top:48px;}
  .report-article__rule{order:1;}
  .report-back{order:1;}
  .report-article__copy{order:3;width:100%;}
  .report-rank__link{grid-template-columns:auto 84px minmax(0,1fr);}
}

@media (prefers-reduced-motion:reduce){
  .report-card,
  .report-back,
  .report-back__arrow::before,
  .report-back__arrow::after,
  .report-article__rule::after,
  .report-side__more{transition:none;}
  .report-card:hover{transform:none;}
}


/* フォールバック */
/* aspect-ratio は Safari 15 / iOS 15 から */
@supports not (aspect-ratio:16/9){
  .report-thumb{height:0;padding-top:56.25%;}
  .report-thumb__img{position:absolute;inset:0;}
  .report-rank__thumb{height:0;padding-top:75%;position:relative;}
  .report-rank__thumb img{position:absolute;inset:0;}
}
/* :focus-visible は Safari 15.4 / iOS 15.4 から */
@supports not selector(:focus-visible){
  .report-table-scroll:focus{outline:3px solid var(--Accent-navy);outline-offset:3px;}
}
/* counter の decimal-leading-zero は全対応。念のため等幅で揃える */
.report-toc__link::before{font-variant-numeric:tabular-nums;}

.report-card__link,
.report-toc__link,
.report-rank__link{-webkit-tap-highlight-color:transparent;}

/* フォーカス */
.report-card__link:focus-visible{outline:0;}
.report-card__link:focus-visible::before{outline:3px solid var(--Accent-navy);outline-offset:2px;}


/* 印刷用 */
@media print{
  .report-side,
  .report-related,
  .report-article__foot{display:none;}
  .report-article{background:#fff;padding:0;}
  .report-article__layout{display:block;}
  .report-figure,
  .report-table-box,
  .report-toc{border-color:#999;break-inside:avoid;}
  .report-prose h2,
  .report-prose h3{break-after:avoid;}
}
