/* 淀川文藝社 講座LP共通スタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic', 'Meiryo', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* ヘッダー */
.header {
    background: linear-gradient(135deg, #002955 0%, #343a40 100%);
    color: white;
    padding: 30px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255, 255, 255, 0.1) 25%, transparent 25%);
    background-size: 40px 40px;
    opacity: 0.3;
}

.header-content {
    position: relative;
    z-index: 1;
    /* Support header text + image side-by-side on wide screens */
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}

/* Header two-column layout building blocks */
.header-text {
    flex: 1 1 auto;
}

.header-image {
    flex: 0 0 420px;
    width: 420px;
    height: 240px; /* ~16:9 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-radius: 0; /* remove frame */
    box-shadow: none; /* remove frame */
    background: transparent; /* remove frame */
}

.header-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* avoid cropping header visuals */
}

/* Reuse course-image placeholder styling for header placeholder */
.header-image-placeholder {
    color: #fff;
    font-size: 1rem;
    text-align: center;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 8px;
    position: absolute;
    display: none; /* hide placeholder text/frame by default */
}

/* Wider screens: keep vertical layout */
@media (min-width: 992px) {
    .header-content {
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
    }
    .header-text {
      max-width: 100%;
    }
}

.course-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.course-title {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.course-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 20px;
    line-height: 1.4;
}

.course-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.meta-item {
    text-align: center;
}

.meta-label {
    font-size: 0.9rem;
    opacity: 0.8;
    display: block;
    margin-bottom: 5px;
}

.meta-value {
    font-size: 1.1rem;
    font-weight: bold;
    color: #ffd700;
}

/* メインコンテンツ */
.main-content {
    background: white;
    margin: -15px auto 15px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

/* 講座イメージ */
.course-image {
    width: 640px;
    height: 360px; /* 16:9比率 */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    margin: 20px auto;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* 全体を表示 */
}

.course-image-placeholder {
    color: #666;
    font-size: 1rem;
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
}

/* セクション */
.section {
    padding: 25px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.section:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 1.6rem;
    color: #002955;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 3px solid #002955;
    display: inline-block;
}

/* インフォグラフィック要素 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

/* コース一覧テーブル */
.table-wrap {
  overflow-x: auto;
}

.course-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  font-size: 0.95rem;
}

.course-table th,
.course-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #e9ecef;
  vertical-align: top;
  text-align: left;
}

.course-table thead th {
  background: #f8f9fa;
  color: #002955;
  font-weight: 600;
  position: sticky;
  top: 0;
  z-index: 1;
}

.course-table tbody tr:hover {
  background: rgba(0, 41, 85, 0.04);
}

.course-table td:first-child a {
  color: #002955;
  font-weight: 600;
  text-decoration: none;
}

.course-table td:first-child a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .course-table th,
  .course-table td { padding: 8px 10px; }
  /* モバイルで概要列を非表示にしてコンパクトに */
  .course-table th:nth-child(2),
  .course-table td:nth-child(2) { display: none; }
}

/* おすすめセクション用レイアウト */
.recommend-section {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.recommend-section .info-grid {
    flex: 1;
    margin: 0;
}

.recommend-image {
    flex: 0 0 200px;
    width: 200px;
    height: 150px;
    overflow: hidden;
}

.recommend-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.info-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #002955 0%, #007bff 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin-right: 15px;
}

.info-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #002955;
}

.info-card-content {
    color: #666;
    line-height: 1.7;
}

/* プロセスフロー */
.process-flow {
    margin: 25px 0;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin: 20px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.process-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #002955 0%, #007bff 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 15px;
    box-shadow: 0 4px 12px rgba(0, 41, 85, 0.3);
}

.step-title {
    font-weight: 600;
    color: #002955;
    margin-bottom: 10px;
}

.step-description {
    color: #666;
    font-size: 0.9rem;
}

/* 統計・データ表示 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
    padding: 25px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 12px;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #002955;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* 価格表示 */
.price-section {
    background: #f8f9fa;
    color: #666;
    text-align: center;
    padding: 25px 20px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.price-section h2 {
    font-size: 1.2rem;
    color: #666;
    font-weight: normal;
    margin-bottom: 10px;
}

.price-amount {
    font-size: 2rem;
    font-weight: normal;
    color: #333;
    margin: 10px 0;
}

.price-note {
    font-size: 1.1rem;
    font-weight: 600;
    color: #002955;
    background: rgba(0, 41, 85, 0.1);
    padding: 12px 20px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 15px;
}

/* CTA ボタン */
.cta-section {
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    margin: 30px 0;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #002955 0%, #007bff 100%);
    color: white;
    padding: 16px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(0, 41, 85, 0.3);
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 41, 85, 0.4);
}

/* フッター */
.footer {
    background: #002955;
    color: white;
    text-align: center;
    padding: 30px;
    margin-top: 40px;
}

.footer-logo {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-address {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .course-image {
        width: 320px;
        height: 180px; /* 16:9比率 */
        margin: 15px auto;
    }

    .course-title {
        font-size: 1.8rem;
    }

    .section {
        padding: 30px 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .course-meta {
        flex-direction: column;
        gap: 15px;
    }

    .price-amount {
        font-size: 2.2rem;
    }

    /* モバイルでおすすめセクションを縦並びに */
    .recommend-section {
        flex-direction: column;
    }

    .recommend-image {
        align-self: center;
        margin-top: 15px;
    }
}

/* 印刷用スタイル - A4 2枚厳密制御 */
@media print {
    /* ページサイズとマージン設定 */
    @page {
        size: A4;
        margin: 10mm;
    }

    body {
        background: white;
        font-size: 9pt;
        line-height: 1.2;
        color: #000 !important;
    }

    .header {
        background: #002955 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
        page-break-inside: avoid;
        page-break-after: avoid;
        padding: 15pt 0;
        color: white !important;
    }
    
    .header * {
        color: white !important;
    }

    .course-image {
        width: 280pt;
        height: 157pt; /* 16:9比率 */
        page-break-after: avoid;
        break-after: avoid;
        margin: 10pt auto;
    }

    .main-content {
        box-shadow: none;
        margin: 0;
    }

    /* 超コンパクトなセクション設定 */
    .section {
        page-break-inside: auto;
        break-inside: auto;
        margin-bottom: 8pt;
        padding: 10pt 15pt;
    }

    /* 1ページ目：ヘッダー + 画像 + 課題解決 + 学習プロセス + 効果の一部 */
    .section:nth-child(2) { /* 課題解決セクション */
        page-break-before: avoid;
        page-break-after: avoid;
    }

    .section:nth-child(3) { /* 学習プロセスセクション */
        page-break-before: avoid;
        page-break-after: avoid;
    }

    /* 2ページ目開始：効果セクションから */
    .section:nth-child(4) { /* 効果セクション */
        page-break-before: always;
        break-before: always;
        margin-top: 30pt;
    }

    /* カード要素を超コンパクトに */
    .info-card {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 5pt;
        padding: 8pt;
        font-size: 8pt;
        box-shadow: none !important;
        background: white !important;
        border: 1px solid #ccc !important;
    }

    .stat-item {
        break-inside: avoid;
        margin-bottom: 4pt;
        padding: 6pt;
        box-shadow: none !important;
        background: white !important;
        border: 1px solid #ccc !important;
    }

    .process-step {
        break-inside: avoid;
        margin-bottom: 6pt;
        display: block;
        width: 100%;
        padding: 6pt;
        background: white !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }

    /* 密度の高いグリッドレイアウト */
    .info-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 5pt;
        margin: 8pt 0;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 4pt;
        margin: 8pt 0;
    }

    .process-steps {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8pt;
        margin: 8pt 0;
    }

    /* セクションタイトルをコンパクトに */
    .section-title {
        page-break-after: avoid;
        break-after: avoid;
        margin-top: 6pt;
        margin-bottom: 6pt;
        font-size: 12pt;
        padding-bottom: 3pt;
    }

    /* 価格セクションを最小限に */
    .price-section {
        page-break-before: avoid;
        break-before: avoid;
        page-break-inside: avoid;
        break-inside: avoid;
        text-align: center;
        padding: 10pt;
        margin-top: 15pt;
    }

    /* CTA非表示 */
    .cta-section {
        display: none;
    }

    /* フッター最小限 */
    .footer {
        page-break-before: avoid;
        break-before: avoid;
        margin-top: 10pt;
        font-size: 8pt;
        padding: 5pt 0;
    }

    /* 見出しの制御 */
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        break-after: avoid;
        orphans: 2;
        widows: 2;
    }

    /* テキストの制御 */
    p, li {
        orphans: 1;
        widows: 1;
        color: #000 !important;
    }

    /* 超コンパクトフォントサイズ */
    .course-title {
        font-size: 32pt;
        line-height: 1.0;
        margin-bottom: 8pt;
        color: white !important;
        text-shadow: none !important;
    }

    .course-subtitle {
        font-size: 10pt;
        margin-bottom: 6pt;
        color: white !important;
    }

    .course-category {
        font-size: 8pt;
        padding: 4pt 8pt;
    }

    .course-meta {
        margin-top: 8pt;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 15pt !important;
        flex-wrap: nowrap !important;
    }

    .meta-label {
        font-size: 8pt;
    }

    .meta-value {
        font-size: 10pt;
    }

    .info-card-header {
        margin-bottom: 6pt;
    }

    .info-icon {
        width: 30px;
        height: 30px;
        font-size: 12pt;
        margin-right: 8pt;
    }

    .info-card-title {
        font-size: 12pt;
        font-weight: bold;
    }

    .info-card-content {
        font-size: 8pt;
        line-height: 1.1;
        color: #000 !important;
    }

    .stat-number {
        font-size: 14pt;
        margin-bottom: 2pt;
    }

    .stat-label {
        font-size: 8pt;
    }

    .step-number {
        width: 40px;
        height: 40px;
        font-size: 14pt;
        margin-bottom: 8pt;
        box-shadow: none !important;
    }

    .step-title {
        font-size: 9pt;
        margin-bottom: 4pt;
        font-weight: bold;
    }

    .step-description {
        font-size: 8pt;
        line-height: 1.1;
        color: #000 !important;
    }

    .price-amount {
        font-size: 24pt;
        margin: 8pt 0;
    }

    .price-note {
        font-size: 8pt;
        color: #000 !important;
    }
}
/* ===== 研修カリキュラム・開催日程（training/ 配下専用。接頭辞 tr-） ===== */
.tr-page .header { padding: 32px 0 40px; }
.tr-page .course-category { font-size: 0.8rem; padding: 3px 14px; margin-bottom: 14px; letter-spacing: 0.08em; }
.tr-page .course-title { font-size: 2rem; margin-bottom: 8px; }
.tr-title-part { display: inline-block; }
.tr-page .course-subtitle { font-size: 0.95rem; margin-bottom: 0; }
.tr-page .course-meta { gap: 14px 40px; align-items: flex-start; margin-top: 22px; }
.tr-meta-target .meta-value, .tr-meta-sub .meta-value { font-size: 0.95rem; font-weight: normal; color: #fff; max-width: 30em; line-height: 1.5; }
.tr-page .main-content .container { max-width: 1080px; }
.tr-page .section { padding: 28px 8px; }
.tr-page .section-title { font-size: 1.35rem; margin-bottom: 16px; }

/* 実施目的 */
.tr-lead { font-size: 1rem; line-height: 1.9; margin-bottom: 14px; }
.tr-list { padding-left: 1.4em; line-height: 1.8; font-size: 0.95rem; }
.tr-list li { margin: 4px 0; }
.tr-list li::marker { color: #002955; }

/* 表（既存 .course-table のスマホ時2列目非表示を tr-table では解除） */
@media (max-width: 768px) {
  .course-table.tr-table th:nth-child(2),
  .course-table.tr-table td:nth-child(2) { display: table-cell; }
}
.tr-cur th, .tr-cur td { line-height: 1.75; }
.tr-cur .tr-col-no, .tr-cur .tr-col-time { white-space: nowrap; width: 5.5em; }
.tr-cur .tr-col-theme { width: 26%; color: #002955; font-weight: 600; }
.tr-cur tfoot td { background: #f8f9fa; color: #002955; font-weight: 600; border-bottom: none; }
@media (max-width: 640px) {
  .course-table.tr-cur thead { display: none; }
  .course-table.tr-cur,
  .course-table.tr-cur tbody,
  .course-table.tr-cur tfoot { display: block; }
  .course-table.tr-cur tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas: "no time" "theme theme" "body body";
    gap: 2px 8px;
    padding: 14px 4px;
    border-bottom: 1px solid #e9ecef;
  }
  .course-table.tr-cur td:nth-child(n) { display: block; padding: 0; border: none; width: auto; }
  .course-table.tr-cur tbody td:nth-child(1) { grid-area: no; font-size: 0.8rem; color: #002955; }
  .course-table.tr-cur tbody td:nth-child(2) { grid-area: theme; margin: 2px 0 4px; }
  .course-table.tr-cur tbody td:nth-child(3) { grid-area: body; font-size: 0.9rem; }
  .course-table.tr-cur tbody td:nth-child(4) { grid-area: time; font-size: 0.8rem; color: #666; }
  .course-table.tr-cur tfoot tr { display: flex; justify-content: space-between; padding: 12px 4px; background: #f8f9fa; }
  .course-table.tr-cur tfoot td:empty { display: none; }
}

/* 申込み・連絡先 */
.tr-page .cta-section.tr-apply { padding: 32px 24px; margin: 8px 0 24px; border: 1px solid #e9ecef; }
.tr-apply-title { font-size: 1.2rem; color: #002955; margin-bottom: 16px; }
.tr-contact { max-width: 460px; margin: 0 auto 22px; text-align: left; font-size: 0.92rem; border-top: 1px solid #e3e6ea; }
.tr-contact div { display: flex; gap: 12px; padding: 8px 4px; border-bottom: 1px solid #e3e6ea; }
.tr-contact dt { flex: 0 0 4.5em; color: #666; }
.tr-contact dd { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.tr-contact a { color: #002955; }
.tr-nw { white-space: nowrap; }
.tr-page .cta-button.tr-cta { font-size: 1.05rem; padding: 13px 36px; }
.tr-apply-note { margin-top: 14px; font-size: 0.85rem; color: #666; }
.tr-apply-note a { color: #002955; }

/* フッター */
.tr-footer-links { margin-top: 12px; font-size: 0.85rem; }
.tr-footer-links a { color: #fff; opacity: 0.85; text-decoration: none; margin: 0 10px; }
.tr-footer-links a:hover { text-decoration: underline; opacity: 1; }

/* 開催日程 */
.tr-note { font-size: 0.85rem; color: #666; margin-bottom: 4px; }
.tr-page .section-title a { color: inherit; text-decoration: none; }
.tr-page .section-title a:hover { text-decoration: underline; }
.tr-run { margin: 6px 0 22px; }
.tr-run:last-child { margin-bottom: 0; }
.tr-run-title { font-size: 1rem; color: #333; font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; }
.tr-run-count { font-size: 0.8rem; color: #666; font-weight: normal; }
.tr-sched { max-width: 600px; table-layout: fixed; }
.tr-sched .tr-c-no { width: 18%; }
.tr-sched .tr-c-date, .tr-sched .tr-c-time { width: 32%; }
.tr-sched th.tr-status { width: 18%; }
.tr-sched th, .tr-sched td { white-space: nowrap; }
.tr-sched .tr-status { text-align: right; }
.tr-sched tr.tr-done td.tr-strike { text-decoration: line-through; color: #9aa0a6; }
.tr-tag { display: inline-block; font-size: 0.72rem; line-height: 1.6; padding: 0 8px; color: #5f6670; background: #f1f3f5; border: 1px solid #d5d9de; border-radius: 3px; font-weight: normal; }
.tr-tbd { color: #666; }
.tr-none { font-size: 0.95rem; color: #555; background: #f8f9fa; border-left: 3px solid #c8ccd1; padding: 10px 14px; max-width: 600px; }
@media (max-width: 640px) {
  .tr-sched .tr-c-no { width: 15%; }
  .tr-sched .tr-c-date { width: 34%; }
  .tr-sched .tr-c-time { width: 31%; }
  .tr-sched th.tr-status { width: 20%; }
  .tr-sched th, .tr-sched td { padding: 8px 2px; font-size: 0.82rem; }
  .tr-sched th:first-child, .tr-sched td:first-child { padding-left: 6px; }
  .tr-sched .tr-tag { font-size: 0.66rem; padding: 0 5px; }
}

@media (max-width: 768px) {
  .tr-page .course-title { font-size: 1.5rem; }
  .tr-page .section-title { font-size: 1.15rem; }
  .tr-page .section { padding: 24px 4px; }
  .tr-page .course-meta { gap: 12px; }
}

@media (max-width: 640px) {
  .tr-page .course-meta { align-items: center; }
  .tr-page .cta-section.tr-apply { padding: 26px 12px; }
  .tr-contact { font-size: 0.86rem; }
  .tr-contact div { gap: 8px; }
  .tr-contact dt { flex-basis: 3.6em; }
  .tr-contact a { white-space: nowrap; }
}

@media print {
  .tr-page .cta-section.tr-apply { display: block; }
  .tr-page .section:nth-child(4) { page-break-before: auto; break-before: auto; margin-top: 0; }
}

/* ===== 研修一覧・研修詳細（training/index.html と各研修ページ。接頭辞 tr-） ===== */
.tr-svg { width: 18px; height: 18px; flex: none; }
.tr-localnav { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 14px 8px 12px; border-bottom: 1px solid #eef0f2; font-size: 0.85rem; }
.tr-localnav a { color: #002955; text-decoration: none; }
.tr-localnav a:hover { text-decoration: underline; }
.tr-back { display: inline-flex; align-items: center; gap: 2px; }
.tr-back .tr-back-ico { width: 15px; height: 15px; }
.tr-anchors { display: flex; flex-wrap: wrap; gap: 4px 18px; }

/* 実施目的 */
.tr-purpose { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; align-items: start; }
.tr-purpose:has(> .tr-photo) { grid-template-columns: minmax(0, 1fr) 340px; }
.tr-goals { list-style: none; display: grid; gap: 10px; }
.tr-goals li { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; line-height: 1.75; }
.tr-ico { flex: none; width: 32px; height: 32px; border-radius: 6px; background: #eef2f7; color: #002955; display: flex; align-items: center; justify-content: center; }
.tr-goal-text { padding-top: 3px; min-width: 0; }
.tr-photo { margin: 0; }
.tr-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; background: #eceef1; }
.tr-photo figcaption { margin-top: 6px; font-size: 0.78rem; color: #777; text-align: right; }

/* 各回の内容（ステップ） */
.tr-steps { list-style: none; }
.tr-step { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 0 16px; padding-bottom: 14px; }
.tr-step-rail { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 14px; }
.tr-step:not(:last-child) .tr-step-rail::after { content: ''; position: absolute; left: 50%; top: 66px; bottom: -14px; width: 1px; background: #cfd6df; }
.tr-step-no { display: inline-block; background: #002955; color: #fff; font-size: 0.85rem; padding: 3px 12px; border-radius: 999px; white-space: nowrap; }
.tr-step-time { font-size: 0.8rem; color: #666; white-space: nowrap; }
.tr-step-card { background: #fff; border: 1px solid #e3e6ea; border-radius: 8px; padding: 14px 18px 12px; min-width: 0; }
.tr-step-theme { font-size: 1.02rem; line-height: 1.5; color: #002955; font-weight: 600; margin-bottom: 8px; }
.tr-step-items { list-style: none; font-size: 0.92rem; line-height: 1.7; column-gap: 28px; }
.tr-step-items li { position: relative; padding-left: 1em; margin-bottom: 3px; break-inside: avoid; }
.tr-step-items li::before { content: ''; position: absolute; left: 0.1em; top: 0.72em; width: 5px; height: 5px; border-radius: 50%; background: #8a9bb0; }
@media (min-width: 960px) {
  .tr-step-items { column-count: 2; }
}
.tr-total { display: flex; justify-content: space-between; margin-left: calc(6em + 16px); padding: 10px 18px; background: #f8f9fa; border-radius: 6px; color: #002955; font-weight: 600; }

/* 開催日程（詳細ページ内） */
.tr-asof { font-size: 0.85rem; color: #666; margin: -4px 0 14px; }

.tr-apply-note a + a { margin-left: 16px; }

@media (max-width: 768px) {
  .tr-purpose, .tr-purpose:has(> .tr-photo) { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .tr-photo { order: -1; }
}
@media (max-width: 640px) {
  .tr-step { grid-template-columns: minmax(0, 1fr); padding-bottom: 12px; }
  .tr-step-rail { flex-direction: row; align-items: baseline; gap: 10px; padding: 0 0 6px; }
  .tr-step:not(:last-child) .tr-step-rail::after { display: none; }
  .tr-step-card { padding: 12px 14px 10px; }
  .tr-total { margin-left: 0; }
  .tr-localnav { padding: 12px 4px 10px; }
  .tr-anchors { gap: 4px 14px; }
}
.tr-footer-links a, .tr-anchors a { display: inline-block; white-space: nowrap; }
@media (max-width: 640px) {
  .tr-anchors { gap: 4px 12px; font-size: 0.78rem; }
  .tr-footer-links a { margin: 0 7px; }
}

/* 研修一覧（目次・カリキュラム）と受講料（接頭辞 tr-） */
.tr-toc-section { padding-bottom: 12px; }
.tr-toc { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; border-top: 1px solid #e3e6ea; }
.tr-toc li { border-bottom: 1px solid #e3e6ea; }
.tr-toc a { display: block; padding: 11px 4px; font-size: 1rem; line-height: 1.5; color: #002955; text-decoration: none; }
.tr-toc a:hover { background: #f5f7fa; text-decoration: underline; }
.tr-cur-list { display: grid; gap: 16px; }
.tr-cur-card { background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; padding: 20px 24px 18px; scroll-margin-top: 16px; }
.tr-cur-name { font-size: 1.25rem; line-height: 1.45; color: #002955; margin-bottom: 12px; }
.tr-cur-name a { color: inherit; text-decoration: none; }
.tr-cur-name a:hover { text-decoration: underline; }
.tr-cur-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px 32px; }
.tr-cur-meta { font-size: 0.86rem; border-top: 1px solid #eef0f2; margin-bottom: 12px; }
.tr-cur-meta div { display: flex; gap: 10px; padding: 5px 0; border-bottom: 1px solid #eef0f2; }
.tr-cur-meta dt { flex: 0 0 6.4em; color: #777; }
.tr-cur-meta dd { flex: 1 1 auto; min-width: 0; }
.tr-cur-label { display: block; font-size: 0.78rem; color: #777; margin-bottom: 4px; letter-spacing: 0.04em; }
.tr-cur-lead { font-size: 0.9rem; line-height: 1.8; color: #444; }
.tr-cur-sessions { min-width: 0; }
.tr-cur-themes { list-style: none; font-size: 0.88rem; line-height: 1.55; border-top: 1px solid #eef0f2; }
.tr-cur-themes li { display: flex; gap: 10px; padding: 6px 0; border-bottom: 1px solid #eef0f2; }
.tr-cur-no { flex: none; width: 3.4em; color: #002955; font-size: 0.8rem; padding-top: 1px; white-space: nowrap; }
.tr-cur-theme { min-width: 0; }
.tr-cur-foot { display: flex; justify-content: flex-end; margin-top: 14px; }
.tr-cur-more { display: inline-block; font-size: 0.88rem; color: #fff; background: #002955; padding: 7px 22px; border-radius: 4px; text-decoration: none; }
.tr-cur-more:hover { background: #0b3d73; }

.tr-fee-box { border: 1px solid #d5dbe3; border-radius: 8px; background: #f7f9fb; padding: 20px 24px; max-width: 600px; }
.tr-fee-amount { font-size: 1rem; color: #002955; line-height: 1.4; }
.tr-fee-num { font-size: 2rem; font-weight: 700; letter-spacing: 0.02em; margin-right: 2px; }
.tr-fee-note { margin-top: 10px; padding-top: 10px; border-top: 1px solid #e3e6ea; font-size: 0.92rem; color: #333; }

@media (max-width: 768px) {
  .tr-toc { grid-template-columns: minmax(0, 1fr); }
  .tr-cur-card { padding: 16px 14px 14px; }
  .tr-cur-name { font-size: 1.1rem; }
  .tr-cur-body { grid-template-columns: minmax(0, 1fr); }
  .tr-cur-more { display: block; width: 100%; text-align: center; padding: 9px 16px; }
  .tr-cur-foot { display: block; }
  .tr-fee-box { padding: 16px; }
  .tr-fee-num { font-size: 1.7rem; }
}
