@charset "UTF-8";

/* =================================================================================
 *
 * style2510.css --- 共通スタイルシート
 *
 * 構成:
 * 1. 基本スタイル & レイアウト (Base & Layout)
 * 2. ヘッダー & フッター (Header & Footer)
 * 3. 基本要素 (Elements)
 * - テキスト, リンク, 見出し, 引用, リスト
 * 4. コンポーネント (Components)
 * - Accordion (アコーディオン)
 * - Alerts (アラート)
 * - Back-to-Top Button (トップへ戻るボタン)
 * - Box (ボックス)
 * - Buttons (ボタン)
 * - Cards & Comparison (カード & 比較)
 * - Lists (カスタムリスト)
 * - QA Info (Q&A情報)
 * - Tables (テーブル)
 * 5. ユーティリティ (Utility Classes)
 * 6. レスポンシブデザイン (Responsive Design)
 *
 * ================================================================================= */


/* ================================================
 * 1. 基本スタイル & レイアウト (Base & Layout)
 * ================================================ */

body {
    /* IE11でも解釈される標準的なフォントファミリーを指定 */
    font-family: "Meiryo", "メイリオ", "Yu Gothic", "游ゴシック", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #212529;
    background-color: #fff;
}

/* サイト全体のコンテンツ幅を制御 */
.wrapper {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto; /* 左右マージンをautoに設定して中央揃え */
    padding: 0 15px;
}

/* メインコンテンツのセクション */
.content-section {
    padding: 1rem 2rem;
    margin-bottom: 1.5rem;
    background-color: #fff;
    -webkit-border-radius: 0.25rem;
    -moz-border-radius: 0.25rem;
    border-radius: 0.25rem;
}


/* ================================================
 * 2. ヘッダー & フッター (Header & Footer)
 * ================================================ */

/* --- ヘッダー --- */
.site-header {
    margin-bottom: 0.75rem;
    border-bottom: 1px solid #e0e0e0;
}

.top-bar {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.logo-link,
.logo-link:hover,
.logo-link:visited {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

.logo-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.logo-main {
    padding: 6px 12px;
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
    letter-spacing: 1px;
}

.logo-sub {
    margin-left: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

/* --- フッター --- */
.footer {
    padding: 1rem 0;
    font-size: 0.9em;
    color: #6c757d;
    text-align: center;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
}


/* ================================================
 * 3. 基本要素 (Elements)
 * ================================================ */

/* --- 段落・テキスト --- */
p {
    margin-bottom: 1rem;
}

p + br + p {
    margin-top: -0.5rem; /* brタグが連続した場合の余分なスペースを抑制 */
}

strong,
b,
.bold {
    font-weight: bold;
}

/* --- リンク --- */
a {
    color: #337ab7;
    text-decoration: underline;
}

a:hover {
    color: #23527c;
}

/* --- 見出し --- */
.page-title { /* h1相当 */
    margin-top: 0.5rem;
    margin-bottom: 2rem;
    font-size: 2.2em;
    font-weight: normal;
    line-height: 1.4;
    color: #000;
}

.custom-h2 { /* h2相当 */
    position: relative;
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    padding: 0.3rem 1.5rem 0.2rem 1.5rem;
    font-size: 1.4em;
    font-weight: bold;
    color: #000;
    background-color: #EFFAD6;
    border-top: 5px solid #88CC00;
}

.custom-h2::after { /* h2上部の白い1pxライン */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #fff;
}

.custom-h3 { /* h3相当 */
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding: 0.4rem 1.5rem;
    font-size: 1.2em;
    font-weight: bold;
    color: #000;
    background-color: #F2F8E8;
    border-left: 8px solid #88CC00;
}

h4,
.custom-h4 { /* h4相当 */
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.3rem;
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #88CC00;
}

/* --- 引用 --- */
blockquote {
    margin: 0 0 1.5rem;
    padding: 1rem 1.5rem;
    color: #6c757d;
    background-color: #f8f9fa;
    border-left: 5px solid #e9ecef;
}

blockquote p {
    margin-bottom: 0.5rem;
}

blockquote footer {
    font-size: 0.9em;
    color: #868e96;
}

blockquote footer cite {
    font-style: normal;
}

/* --- 標準リスト (ul, ol) --- */
ul,
ol {
    margin: 1.5rem 0;
    padding-left: 0;
    list-style-type: none;
}

li {
    position: relative;
    margin-bottom: 0.6rem;
}

li:last-child {
    margin-bottom: 0;
}

/* ul: 黒丸マーカー */
ul > li {
    padding-left: 1.2em;
}

ul > li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    top: 0.2em;
    font-size: 0.8em;
    color: #333;
}

/* ol: 数字マーカー */
ol {
    counter-reset: list-counter;
}

ol > li {
    padding-left: 1.8em;
    counter-increment: list-counter;
}

ol > li::before {
    content: counter(list-counter) ". ";
    position: absolute;
    left: 0;
    top: 0;
    color: #333;
}

/* 入れ子リスト */
ul ul,
ol ol,
ul ol,
ol ul {
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
    padding-left: 1.5em;
}

ul ul > li::before { /* 入れ子ul: 白丸マーカー */
    content: '○';
    color: #6c757d;
}


/* ================================================
 * 4. コンポーネント (Components)
 * ================================================ */

/* --- Accordion (アコーディオン) --- */
.accordion {
    margin: 1.5rem 0 2.5rem;
    overflow: hidden;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.accordion-item {
    margin-bottom: 0.5rem;
    overflow: hidden;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.accordion-header {
    margin: 0;
}

.accordion-trigger {
    position: relative;
    width: 100%;
    padding: 0.6rem 1.5rem;
    font-size: 1.1em;
    font-weight: bold;
    color: #fff;
    text-align: left;
    background-color: #6B8FAF;
    border: none;
    cursor: pointer;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    -webkit-transition: background-color 0.2s ease;
    transition: background-color 0.2s ease;
}

.accordion-trigger:hover {
    background-color: #587691;
}

.accordion-trigger::after { /* 開閉アイコン (＋/－) */
    content: '＋';
    position: absolute;
    right: 1.5rem;
    font-weight: bold;
    -webkit-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

.accordion-trigger[aria-expanded="true"]::after {
    content: '－';
}

.accordion-panel {
    padding: 0 1.5rem;
    overflow: hidden;
    max-height: 0; /* 初期状態では閉じる */
    background-color: #f1f4f7;
    -webkit-transition: max-height 0.3s ease, padding 0.3s ease;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-panel.is-open { /* JSで付与されるクラス */
    padding: 1rem 1.5rem;
}

/* === ここから修正: 誤って削除したコードを再追加 === */
/* アコーディオン内の標準リストはマーカー表示を防ぐ */
.accordion-panel ul:not([class]) > li,
.accordion-panel ol:not([class]) > li {
    padding-left: 0;
}
.accordion-panel ul:not([class]) > li::before,
.accordion-panel ol:not([class]) > li::before {
    content: none;
}
/* === ここまで修正 === */


/* --- Alerts (アラート) --- */
.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    -webkit-border-radius: 0.25rem;
    -moz-border-radius: 0.25rem;
    border-radius: 0.25rem;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}


/* --- Back-to-Top Button (トップへ戻るボタン) --- */
.back-to-top {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1000;
    display: block;
    width: 50px;
    height: 50px;
    font-size: 20px;
    line-height: 50px;
    color: #fff;
    text-align: center;
    text-decoration: none;
    background-color: #6c757d;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    opacity: 0; /* 初期状態は非表示 */
    visibility: hidden;
    -webkit-transition: opacity 0.3s, visibility 0.3s;
    transition: opacity 0.3s, visibility 0.3s;
}

.back-to-top:hover {
    background-color: #5a6268;
}

.back-to-top.show { /* JSで付与されるクラス */
    opacity: 1;
    visibility: visible;
}


/* --- Box (ボックス) --- */
.content_attend { /* 注意書きボックス */
    padding: 15px 20px;
    margin-bottom: 20px;
    background-color: #FFFBEA;
    border: 4px solid #FDBA74;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.content_attend p.title {
    margin-bottom: 15px;
    padding-bottom: 10px;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.5em;
    color: #B45309;
    border-bottom: 1px solid #FDBA74;
}

.content_gray { /* 補足情報ボックス */
    padding: 15px 20px;
    margin-bottom: 20px;
    background-color: #F9FAFB;
    border: 4px solid #D1D5DB;
}

.content_gray p.title {
    margin-bottom: 15px;
    padding-bottom: 10px;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.5em;
    border-bottom: 1px dotted #ccc;
}


/* --- Buttons (ボタン) --- */
.btn {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    vertical-align: middle;
    text-decoration: none;
    cursor: pointer;
    background-color: transparent;
    border: 1px solid transparent;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-border-radius: 0.25rem;
    -moz-border-radius: 0.25rem;
    border-radius: 0.25rem;
    -webkit-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}

.btn-primary:hover {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}

.btn-secondary {
    color: #fff;
    background-color: #6c757d;
    border-color: #6c757d;
}

.btn-secondary:hover {
    color: #fff;
    background-color: #5a6268;
    border-color: #545b62;
}


/* --- Cards & Comparison (カード & 比較) --- */
.card-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 1.5rem;
}

.card-item {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    overflow: hidden;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}

.card-item + .card-item { /* IE11はgap非対応のため、marginで間隔を表現 */
    margin-left: 0.5rem;
}

.card-item .card-header {
    margin-bottom: 0;
    padding: 0.75rem 1rem;
    font-weight: bold;
    color: #fff;
    background-color: #65B6FF;
}

.card-item .card-list {
    margin: 0;
    padding: 1rem 1.5rem;
}

.card-item .card-list li {
    position: relative;
    list-style-type: none;
    margin-bottom: 0.5rem;
    padding-left: 1.5em;
}

.card-item .card-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    font-weight: bold;
    color: #28a745;
}

.comparison-container {
    width: 80%;
}

.image-comparison {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.comparison-item {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    text-align: center;
    border: 1px solid #ddd;
}

.comparison-item + .comparison-item { /* IE11はgap非対応のため、marginで間隔を表現 */
    margin-left: 0.5rem;
}

.comparison-header {
    margin-bottom: 0;
    padding: 0.75rem;
    font-weight: bold;
    background-color: #f2f2f2;
    border-bottom: 1px solid #ddd;
}

.comparison-image {
    padding: 0.75rem;
}

.comparison-image img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}


/* --- Lists (カスタムリスト) --- */

/* レガシーコンテンツ向けリストスタイル */
.list-disc > li {
    padding-left: 2.2em;
}
.list-disc > li::before {
    content: '\2022';
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 1.8em;
    font-size: 0.8em;
    color: #333333;
    text-align: right;
}

.list-decimal-legacy {
    counter-reset: list-counter;
}
.list-decimal-legacy > li {
    padding-left: 2.2em;
    counter-increment: list-counter;
}
.list-decimal-legacy > li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: 0;
    top: 0;
    width: 1.8em;
    font-weight: bold;
    color: #333;
    text-align: right;
}

/* マーカーなしリスト */
.list-unstyled li {
    padding-left: 0;
}
.list-unstyled li::before {
    content: none;
}

/* アイコン付きリスト */
.list-icon > li {
    padding-left: 2em;
}
.list-icon > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.25em;
    width: 1.2em;
    height: 1.2em;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.list-check > li::before {
    background-image: url('data:image/svg+xml;charset=UTF8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%234CAF50"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"/></svg>');
}
.list-arrow > li::before {
    background-image: url('data:image/svg+xml;charset=UTF8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23337ab7"><path d="M10 17l5-5-5-5v10z"/></svg>');
}

/* 罫線付きリスト */
.list-bordered {
    border-top: 1px solid #e0e0e0;
}
.list-bordered > li {
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}
.list-bordered > li::before {
    content: none;
}

/* ステップリスト */
.list-steps {
    counter-reset: steps-counter;
    border-left: 2px solid #e0e0e0;
}
.list-steps > li {
    position: relative;
    padding-left: 2.5rem;
    padding-bottom: 2rem;
    margin-bottom: 0;
    counter-increment: steps-counter;
}
.list-steps > li:last-child {
    padding-bottom: 0;
}
.list-steps > li::before {
    content: counter(steps-counter);
    position: absolute;
    left: -1.1rem;
    top: -0.2rem;
    width: 2.2rem;
    height: 2.2rem;
    line-height: 1;
    font-weight: bold;
    color: #fff;
    background-color: #88CC00;
    border: 4px solid #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

/* FAQリスト */
.faq-list {
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid #e0e0e0;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}
.faq-list dt,
.faq-list dd {
    position: relative;
    margin-left: 0;
    padding: 1.2rem 1.5rem 1.2rem 4.5rem;
}
.faq-list dt {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
    background-color: #f7f9fc;
    border-bottom: 1px solid #e0e0e0;
}
.faq-list dd {
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
}
.faq-list dt:last-of-type,
.faq-list dd:last-of-type {
    border-bottom: none;
}
.faq-list dt::before,
.faq-list dd::before {
    position: absolute;
    left: 1.5rem;
    width: 2.2rem;
    height: 2.2rem;
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.faq-list dt::before {
    content: 'Q';
    top: 50%;
    background-color: #4299E1;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.faq-list dd::before {
    content: 'A';
    top: 1.2rem;
    background-color: #E57373;
}

/* 定義リスト */
.definition-list {
    margin-bottom: 2rem;
}
.definition-list > dt,
.definition-list > dd {
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
}
.definition-list > dt:first-of-type {
    border-top: 1px solid #e9ecef;
}

/* 縦型定義リスト */
.definition-list-vertical {
    margin-bottom: 2rem;
}
.definition-list-vertical dt {
    margin-top: 1.5rem;
    padding: 0.4rem 0.8rem;
    font-weight: bold;
    color: #333;
    border-left: 5px solid #6B8FAF;
}
.definition-list-vertical dt:first-of-type {
    margin-top: 0;
}
.definition-list-vertical dd {
    margin-left: 0;
    padding: 0.8rem 1rem 1.5rem 1.2rem;
    border-bottom: 1px solid #e9ecef;
}

/* 古いスタイルのリストボックス */
.koumoku {
    margin: 0 70px 20px;
    padding: 20px 34px 10px 44px;
    border: 6px solid #EDEDED;
}
.koumoku p {
    margin-bottom: 15px;
}
.koumoku ul {
    margin-left: 0;
    padding-left: 0;
}
.koumoku ul li {
    padding: 2px 0 2px 20px;
    margin-bottom: 0;
    list-style: none;
    background: url(../img2/arrow_komoku.gif) left 5px no-repeat; /* パスは環境に合わせて要確認 */
}
.koumoku ul li::before {
    content: none;
}


/* --- QA Info (Q&A情報) --- */
.qa-info {
    margin-bottom: 1rem;
}
.qa-meta {
    margin-bottom: 0.8rem;
    font-size: 0.9em;
    color: #6c757d;
}
.qa-tag {
    display: inline-block;
    padding: 0.3em 0.8em;
    font-size: 0.9em;
    font-weight: bold;
    color: #0056b3;
    background-color: #e7f1ff;
    -webkit-border-radius: 0.25rem;
    -moz-border-radius: 0.25rem;
    border-radius: 0.25rem;
}


/* --- Tables (テーブル) --- */
/* 基本スタイル */
table {
    width: 100%;
    margin-bottom: 1.5rem;
    table-layout: fixed;
    border-collapse: collapse;
}

th, td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #ddd;
    word-break: break-all;
}

th {
    font-weight: bold;
    background-color: #f2f2f2;
}

caption {
    padding: 0.75rem 0;
    font-size: 0.9em;
    font-weight: bold;      /* 太字に変更 */
    color: #212529;         /* 黒色に変更 */
    text-align: left;
    caption-side: top;      /* 表示位置を上側に変更 */
}

/* ヘッダー背景色ユーティリティ */
.bg-header-gray th {
    background-color: #f0f2f5;
    color: #212529;
}
.bg-header-blue th {
    background-color: #eaf4ff;
    color: #212529;
}
.bg-header-green th {
    background-color: #e6f4ea;
    color: #212529;
}
.bg-header-beige th {
    background-color: #fdf8f0;
    color: #212529;
}

/* 横スクロールテーブル */
.table-responsive-scroll {
    margin-bottom: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.table-responsive-scroll > table {
    margin-bottom: 0;
    table-layout: auto;
    white-space: normal;
}

/* 特定のテーブルスタイル */
.tb01 th, .tb01 td {
    padding: 10px;
    border: solid 1px #ccc;
}
.tb01 th {
    color: #fff;
    background: #65B6FF;
}

.module-info-table td:first-child {
    width: 33.33%;
    font-weight: bold;
    background-color: #f8f9fa;
}
.module-info-table td:nth-child(2) {
    width: 66.67%;
}

/* 特定のレイアウト用テーブル (上書き) */
.custom-table-layout {
    width: 100%;
    margin-bottom: 1.5rem;
    table-layout: fixed;
    border: 1px solid #ccc;
}
.custom-table-layout th,
.custom-table-layout td {
    padding: 0.75rem;
    text-align: center;
    vertical-align: middle;
    word-break: break-word;
    border: 1px solid #ccc;
}
.custom-table-layout tr:first-child td {
    font-weight: bold;
    color: white;
    background-color: royalblue;
}
.custom-table-layout td:nth-child(1),
.custom-table-layout td:nth-child(2) {
    width: 40%;
}
.custom-table-layout td:last-child {
    width: 20%;
}

/* 索引テーブル */
.index-table {
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #ccc;
}
.index-table td {
    padding: 8px 5px;
    text-align: center;
}
.index-table .index-title {
    padding: 8px 10px;
    text-align: left;
}


/* ================================================
 * 5. ユーティリティ (Utility Classes)
 * ================================================ */

/* --- テキストマーカー --- */
.marker-pink { background: linear-gradient(transparent 60%, #ff99cc 60%); }
.marker-blue { background: linear-gradient(transparent 60%, #99ccff 60%); }
.marker-Purple { background: linear-gradient(transparent 60%, #cc99ff 60%); }
.marker-orange { background: linear-gradient(transparent 60%, #ffa500 60%); }
.marker-green { background: linear-gradient(transparent 60%, #5bed3b 60%); }
.marker-yellow { background: linear-gradient(transparent 60%, #ffff00 60%); }
.marker-P-red { background: linear-gradient(transparent 60%, #ffcccc 60%); }
.marker-P-pink { background: linear-gradient(transparent 60%, #ffd6ff 60%); }

/* --- レイアウト調整 --- */
.indent {
    padding-left: 20px;
}
.ta_c {
    text-align: center !important;
}
.ta_r {
    text-align: right !important;
}
.l_img {
    margin-right: 5px;
    vertical-align: middle;
}


/* ================================================
 * 6. レスポンシブデザイン (Responsive Design)
 * ================================================ */

/* --- 画面幅 768px 以下 --- */
@media screen and (max-width: 768px) {
    /* 基本レイアウト */
    .wrapper { padding: 0 8px; }
    .content-section { padding: 1.5rem 8px; }
    .logo-sub { margin-left: 0.5rem; font-size: 0.7em; }

    /* 基本要素 */
    .page-title { font-size: 1.8em; }
    .custom-h2 { font-size: 1.25em; padding: 0.5rem 1rem 0.3rem 1rem; }
    .custom-h3 { font-size: 1.1em; padding: 0.4rem 8px; margin-left: -8px; margin-right: -8px; }
    h4, .custom-h4 { font-size: 1.05em; }
    table th, table td { white-space: normal; }
    
    /* コンポーネント */
    .accordion-trigger { font-size: 1em; padding: 0.5rem 1rem; }
    .accordion-trigger::after { right: 1rem; }
    .accordion-panel.is-open { padding: 1rem; }
    .koumoku { margin: 0 0 20px; }
    .definition-list > dt { font-weight: bold; padding-bottom: 0.5rem; border-bottom: none; }
    .definition-list > dd { margin-left: 1rem; padding-top: 0; }
    .card-container, .image-comparison {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .card-item + .card-item,
    .comparison-item + .comparison-item {
        margin-left: 0;
        margin-top: 1rem;
    }
    .comparison-container { width: 100%; }

    /* --- テーブルのレスポンシブ調整 --- */
    .table-responsive-scroll > table {
        white-space: nowrap;
    }
    
    /* セルを縦に並べるテーブル */
    .responsive-table th,
    .responsive-table td {
        display: block;
        width: 100%;
        text-align: left;
        box-sizing: border-box;
    }
    .responsive-table th {
        border-bottom: none;
    }
    .responsive-table td {
        border-left: 1px solid #ccc;
    }
    .responsive-table th:not(:last-child),
    .responsive-table td:not(:last-child) {
        border-bottom: 1px dotted #ccc;
    }

    /* .responsive-table: スマホ表示で行の区切りを明確化 */
    .responsive-table tr td:first-child {
        font-weight: bold;
        background-color: #f8f9fa;
        border-top: 2px solid #ddd;
    }
    .responsive-table tr:first-child td:first-child {
        border-top: none; /* テーブル全体の最初の行からは上部ボーダーを削除 */
    }

    /* その他のレスポンシブテーブル */
    .table-responsive-fit { table-layout: auto; }
    .table-responsive-fit th,
    .table-responsive-fit td { padding: 0.5rem; }

    .table-responsive-stack { border: 0; }
    .table-responsive-stack thead { display: none; }
    .table-responsive-stack tr { display: block; margin-bottom: 1rem; overflow: hidden; border: 1px solid #ddd; border-radius: 4px; }
    .table-responsive-stack td { display: block; position: relative; padding-left: 50%; text-align: right; border-bottom: 1px dotted #ccc; }
    .table-responsive-stack td:last-child { border-bottom: 0; }
    .table-responsive-stack td::before { content: attr(data-label); position: absolute; left: 0; width: 45%; padding-left: 0.75rem; font-weight: bold; text-align: left; }

    .table-responsive-reconstruct { border: 0; }
    .table-responsive-reconstruct thead { display: none; }
    .table-responsive-reconstruct tr { display: block; margin-bottom: 1rem; overflow: hidden; border: 1px solid #ddd; border-radius: 4px; }
    .table-responsive-reconstruct td {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: justify;
        -ms-flex-pack: justify;
        justify-content: space-between;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        padding: 0.5rem 0.75rem;
        border-bottom: 1px dotted #ccc;
    }
    .table-responsive-reconstruct td:last-child { border-bottom: 0; }
    .table-responsive-reconstruct td::before { content: attr(data-label); padding-right: 1em; font-weight: bold; }

    .responsive-table-2col tbody { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-flow: row wrap; flex-flow: row wrap; }
    .responsive-table-2col tr { display: contents; }
    .responsive-table-2col td { width: 50%; -webkit-box-flex: 0; -ms-flex: 0 0 50%; flex: 0 0 50%; box-sizing: border-box; }
}

/* --- 画面幅 640px 以下 --- */
@media screen and (max-width: 640px) {
    .indent { padding-left: 12px; }
    .content_attend,
    .content_gray { padding: 12px; }
    .koumoku { padding: 15px; }
    .koumoku ul { margin-left: 10px; }
    
    .tb01 .head { display: none; }
    .tb01 td { display: block; width: 100%; border-bottom: none; }
    .tb01 td:first-child { font-weight: bold; color: #fff; background: #65B6FF; }
    .tb01 tr:last-child td:last-child { border-bottom: solid 1px #ccc; }
}

/* --- 画面幅 480px 以下 --- */
@media screen and (max-width: 480px) {
    .index-table,
    .index-table tbody,
    .index-table tr { display: block; width: 100%; }
    .index-table .index-title { box-sizing: border-box; }
    .index-table tr:not(:first-child) { display: -ms-grid; display: grid; -ms-grid-columns: 1fr 1px 1fr 1px 1fr 1px 1fr 1px 1fr; grid-template-columns: repeat(5, 1fr); gap: 1px; background-color: #ccc; border-top: 1px solid #ccc; }
    .index-table tr:not(:first-child) td { -ms-grid-row: auto; }
    .index-table tr:not(:first-child) td:nth-child(5n+1) { -ms-grid-column: 1; }
    .index-table tr:not(:first-child) td:nth-child(5n+2) { -ms-grid-column: 3; }
    .index-table tr:not(:first-child) td:nth-child(5n+3) { -ms-grid-column: 5; }
    .index-table tr:not(:first-child) td:nth-child(5n+4) { -ms-grid-column: 7; }
    .index-table tr:not(:first-child) td:nth-child(5n) { -ms-grid-column: 9; }
    .index-table td { padding: 8px 0; background-color: #fff; border: none; }

    .responsive-table-2col tbody { -ms-flex-flow: column wrap; flex-flow: column wrap; }
    .responsive-table-2col td { width: 100%; -ms-flex: 0 0 100%; flex: 0 0 100%; text-align: left; }
}

/* --- PCなど画面幅が広い場合 (769px以上) --- */
@media screen and (min-width: 769px) {
    /* definition-listを横並び表示に */
    .definition-list {
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr 2rem 3fr;
        grid-template-columns: 1fr 3fr;
        gap: 0 2rem;
    }
    .definition-list > dt {
        font-weight: bold;
        color: #495057;
        -ms-grid-column: 1;
        grid-column: 1;
    }
    .definition-list > dd {
        margin-left: 0;
        -ms-grid-column: 3;
        grid-column: 2;
    }
    .definition-list > dt:first-of-type + dd {
        border-top: 1px solid #e9ecef;
    }
}