@charset "UTF-8";

/* ========================================
   report2025.php 専用
======================================== */

:root {
  --report2025-bg: #eef3f8;
  --report2025-surface: #ffffff;
  --report2025-border: #d9e2eb;
  --report2025-border-strong: #c9d5e2;
  --report2025-text: #31485f;
  --report2025-heading: #143f69;
  --report2025-subtext: #5a7188;
  --report2025-accent: #c63b2d;
  --report2025-shadow: 0 10px 28px rgba(20, 63, 105, 0.06);
  --report2025-radius: 14px;
}

/* ========================================
   全体
======================================== */

.report-detail-page {
  background: var(--report2025-bg);
  color: var(--report2025-text);
}

.report-detail-page .container {
  width: min(1100px, calc(100% - 40px));
  margin-inline: auto;
}

/* ========================================
   ヒーロー
======================================== */

.report-detail-page .subpage-hero {
  padding: 30px 0 34px;
  background: linear-gradient(180deg, #edf3f8 0%, #e8eff6 100%);
  border-bottom: 1px solid #d9e2ec;
}

.report-detail-page .breadcrumb {
  margin: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #698097;
}

.report-detail-page .breadcrumb a {
  color: #4f6780;
  text-decoration: none;
}

.report-detail-page .breadcrumb a:hover,
.report-detail-page .breadcrumb a:focus {
  text-decoration: underline;
}

.report-detail-page .breadcrumb span {
  margin: 0 0.45em;
}

.report-detail-page .reports-kicker {
  margin: 0 0 10px;
  color: var(--report2025-accent);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.report-detail-page .reports-title {
  margin: 0;
  font-size: clamp(2rem, 3.2vw, 3rem);
  line-height: 1.22;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--report2025-heading);
}

.report-detail-page .reports-lead {
  max-width: 860px;
  margin: 16px 0 0;
  color: var(--report2025-subtext);
  font-size: 1.02rem;
  line-height: 1.95;
}

/* ========================================
   メイン2カラム
======================================== */

.report-detail-section {
  padding: 34px 0 56px;
}

.report-detail-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

/* ========================================
   左サイド
======================================== */

.report-side-nav {
  position: sticky;
  top: 24px;
}

.side-nav-box {
  background: var(--report2025-surface);
  border: 1px solid var(--report2025-border);
  border-radius: var(--report2025-radius);
  box-shadow: var(--report2025-shadow);
  padding: 18px 18px 16px;
}

.side-nav-box + .side-nav-box {
  margin-top: 16px;
}

.side-nav-box h2 {
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--report2025-border);
  color: var(--report2025-heading);
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 800;
}

.side-nav-box ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-nav-box li + li {
  margin-top: 8px;
}

.side-nav-box a,
.side-nav-box .current {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.side-nav-box a {
  color: #45607d;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.side-nav-box a:hover,
.side-nav-box a:focus {
  background: #f1f6fb;
  color: var(--report2025-heading);
}

.side-nav-box .current {
  background: #edf3f8;
  color: var(--report2025-heading);
  font-weight: 700;
}

/* ========================================
   右カラム 共通カード
======================================== */

.report-detail-content {
  min-width: 0;
}

.report-detail-content .reports-card {
  background: var(--report2025-surface);
  border: 1px solid var(--report2025-border);
  border-radius: var(--report2025-radius);
  box-shadow: var(--report2025-shadow);
  padding: 28px 28px 30px;
}

.report-detail-content .reports-card + .reports-card,
.report-detail-block {
  margin-top: 22px;
}

.report-detail-content .reports-section-title {
  position: relative;
  margin: 0 0 22px;
  padding-left: 18px;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1.35;
  font-weight: 800;
  color: var(--report2025-heading);
}

.report-detail-content .reports-section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 6px;
  height: 1.18em;
  border-radius: 999px;
  background: var(--report2025-heading);
}

.report-detail-content .reports-body p {
  margin: 0 0 1.15em;
  font-size: 1rem;
  line-height: 2;
  color: var(--report2025-text);
}

.report-detail-content .reports-body p:last-child {
  margin-bottom: 0;
}

/* ========================================
   刊行概要
======================================== */

.report-cover-intro {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 26px;
  align-items: start;
  margin-top: 4px;
  margin-bottom: 22px;
}

.report-cover-image {
  width: 100%;
}

.report-cover-image img {
  display: block;
  width: 100%;
  height: auto;
  background: #ffffff;
  border: 1px solid #d2d8df;
  padding: 6px;
  box-sizing: border-box;
}

.report-cover-summary {
  min-width: 0;
}

.report-year-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 12px;
  margin: 0 0 14px;
  border: 1px solid var(--report2025-border);
  border-radius: 999px;
  background: #f5f8fb;
  color: var(--report2025-heading);
  font-size: 0.9rem;
  font-weight: 700;
}

.report-cover-summary h3 {
  margin: 0 0 6px;
  color: var(--report2025-heading);
  font-size: 1.45rem;
  line-height: 1.5;
  font-weight: 800;
}

.report-english-title {
  margin: 0 0 16px;
  color: #647d95;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

.report-cover-summary p {
  margin: 0 0 1em;
  color: var(--report2025-text);
  line-height: 1.95;
}

.report-cover-summary p:last-child {
  margin-bottom: 0;
}

/* ========================================
   刊行情報テーブル
======================================== */

.report-detail-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  background: #ffffff;
  border: 1px solid var(--report2025-border);
}

.report-detail-table th,
.report-detail-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--report2025-border);
  vertical-align: top;
  line-height: 1.85;
  font-size: 0.98rem;
}

.report-detail-table th {
  width: 180px;
  background: #f7fafc;
  color: var(--report2025-heading);
  font-weight: 700;
  text-align: left;
}

.report-detail-table td {
  color: var(--report2025-text);
}

.report-detail-table tr:last-child th,
.report-detail-table tr:last-child td {
  border-bottom: none;
}

/* ========================================
   目次
======================================== */

.toc-group + .toc-group {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--report2025-border);
}

.toc-group h3 {
  margin: 0 0 12px;
  color: var(--report2025-heading);
  font-size: 1.1rem;
  line-height: 1.5;
  font-weight: 800;
}

.toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px;
  gap: 14px;
  align-items: start;
  padding: 8px 0;
  border-bottom: 1px dotted #d7e0e9;
}

.toc-list li:last-child {
  border-bottom: none;
}

.toc-title {
  display: block;
  color: var(--report2025-text);
  line-height: 1.9;
}

.toc-page {
  display: block;
  text-align: right;
  color: #607890;
  font-weight: 700;
  line-height: 1.9;
  white-space: nowrap;
}

/* ========================================
   掲載内容 共通
======================================== */

.paper-entry {
  padding: 22px 0;
  border-top: 1px solid var(--report2025-border);
}

.paper-entry:first-of-type {
  padding-top: 4px;
  border-top: none;
}

.paper-entry-full {
  padding-top: 4px;
}

.paper-type {
  margin: 0 0 10px;
  color: var(--report2025-accent);
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.paper-title {
  margin: 0 0 10px;
  color: var(--report2025-heading);
  font-size: 1.18rem;
  line-height: 1.75;
  font-weight: 800;
}

.paper-title span {
  display: block;
  font-size: 0.95em;
}

.paper-author {
  margin: 0 0 10px;
  color: #44607b;
  font-size: 0.98rem;
  line-height: 1.8;
  font-weight: 700;
}

.paper-description {
  margin: 0;
  color: var(--report2025-text);
  font-size: 0.98rem;
  line-height: 1.95;
}

.paper-actions {
  margin-top: 16px;
}

/* ========================================
   研究論文 詳細表示
======================================== */

.paper-title-jp {
  margin: 0 0 10px;
  color: var(--report2025-heading);
  font-size: 1.24rem;
  line-height: 1.8;
  font-weight: 800;
}

.paper-title-jp span {
  display: block;
  font-size: 0.96em;
}

.paper-title-en {
  margin: 0 0 14px;
  color: #4d647d;
  font-size: 1.02rem;
  line-height: 1.8;
  font-weight: 700;
}

.paper-title-en span {
  display: block;
  font-weight: 700;
}

.paper-author-en {
  margin: -4px 0 14px;
  color: #6a8096;
  font-size: 0.95rem;
  line-height: 1.7;
}

.paper-block {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid var(--report2025-border);
  border-radius: 10px;
  background: #fbfdff;
}

.paper-block h4 {
  margin: 0 0 12px;
  color: var(--report2025-heading);
  font-size: 1rem;
  line-height: 1.5;
  font-weight: 800;
}

.paper-block p {
  margin: 0 0 1em;
  color: var(--report2025-text);
  font-size: 0.98rem;
  line-height: 1.95;
    white-space: normal;
}

.paper-block p:last-child {
  margin-bottom: 0;
}

.paper-block-en {
  background: #f8fbfd;
}

.paper-keywords {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #d7e0e9;
  color: #4a627b;
}

.paper-keywords strong {
  color: var(--report2025-heading);
}

/* ========================================
   ボタン
======================================== */

.report-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--report2025-border-strong);
  border-radius: 10px;
  background: #ffffff;
  color: var(--report2025-heading);
  text-decoration: none;
  font-weight: 700;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.report-button:hover,
.report-button:focus {
  background: var(--report2025-heading);
  border-color: var(--report2025-heading);
  color: #ffffff;
  transform: translateY(-1px);
}

/* ========================================
   PDFダウンロード一覧
======================================== */

.download-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.download-item {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--report2025-border);
  border-radius: 10px;
  background: #ffffff;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    transform 0.2s ease;
}

.download-item:hover,
.download-item:focus {
  background: #f7fafc;
  border-color: var(--report2025-border-strong);
  transform: translateY(-1px);
}

.download-label {
  display: block;
  margin-bottom: 4px;
  color: var(--report2025-heading);
  font-weight: 800;
  line-height: 1.5;
}

.download-meta {
  display: block;
  color: var(--report2025-subtext);
  line-height: 1.7;
  font-size: 0.96rem;
}

.report-note {
  margin-top: 14px;
  color: #6a8096;
  font-size: 0.92rem;
  line-height: 1.8;
}

/* ========================================
   レスポンシブ
======================================== */

@media (max-width: 1024px) {
  .report-detail-layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 22px;
  }

  .report-detail-content .reports-card {
    padding: 24px 22px 26px;
  }

  .report-cover-intro {
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 22px;
  }
}

@media (max-width: 900px) {
  .report-detail-layout {
    grid-template-columns: 1fr;
  }

  .report-side-nav {
    position: static;
  }

  .report-cover-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .report-cover-image {
    max-width: 180px;
  }
}

@media (max-width: 767px) {
  .report-detail-page .container {
    width: min(100%, calc(100% - 28px));
  }

  .report-detail-page .subpage-hero {
    padding: 24px 0 28px;
  }

  .report-detail-page .reports-title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
  }

  .report-detail-section {
    padding: 24px 0 40px;
  }

  .side-nav-box {
    padding: 16px 14px 14px;
  }

  .report-detail-content .reports-card {
    padding: 20px 16px 22px;
  }

  .report-detail-content .reports-section-title {
    margin-bottom: 18px;
    padding-left: 15px;
    font-size: 1.3rem;
  }

  .report-detail-table th,
  .report-detail-table td {
    display: block;
    width: 100%;
    padding: 12px 12px;
  }

  .report-detail-table th {
    border-bottom: none;
    padding-bottom: 6px;
  }

  .report-detail-table td {
    padding-top: 0;
  }

  .toc-list li {
    grid-template-columns: minmax(0, 1fr) 34px;
    gap: 10px;
  }

  .paper-title-jp {
    font-size: 1.12rem;
  }

  .paper-title-en {
    font-size: 0.95rem;
  }

  .paper-block {
    padding: 16px 14px;
  }

  .report-button {
    width: 100%;
  }
}