        @import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

        :root {
            --brand-blue: #0A84FF;
            --light-gray: #f9f9f9;
            --text-color: #333;
        }

        body {
            font-family: 'Noto Sans JP', sans-serif;
            margin: 0;
            padding: 0;
            background-color: var(--light-gray);
            color: var(--text-color);
        }

        .report-container {
            max-width: 800px;
            margin: 40px auto;
            padding: 40px;
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
        }

        .report-header h1 {
            font-size: 2rem;
            font-weight: 700;
            color: #222;
            margin-bottom: 24px;
            text-align: center;
        }

        .report-header h1 {
        position: relative;
        font-size: 2rem;
        font-weight: 700;
        color: #222;
        margin-bottom: 24px;
        text-align: center;
        padding: 16px 32px;
        border: 2px solid #0A5CC0;
        border-radius: 4px;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        letter-spacing: 0.5px;
        }

        /* 四隅の十字ライン（ブランドブルー） */
        .report-header h1::before,
        .report-header h1::after {
        content: '';
        position: absolute;
        width: 12px;
        height: 12px;
        border: 2px solid #0A5CC0;
        }

        .report-header h1::before {
        top: -6px;
        left: -6px;
        border-right: none;
        border-bottom: none;
        }

        .report-header h1::after {
        bottom: -6px;
        right: -6px;
        border-left: none;
        border-top: none;
        }

        .spec-table {
        width: 100%;
        border-collapse: collapse;
        margin-top: 24px;
        margin-bottom: 24px; /* ← これを追加するだけでバランス改善 */
        font-size: 15px;
        border-radius: 10px;
        overflow: hidden;
        background: #fff;
        border: 1px solid #bfc6cc; /* ← 外枠線を追加 */
        }

        .spec-table td {
        padding: 10px 12px;
        border-bottom: 1px solid #d0d7de; /* ← 下線をはっきり */
        border-right: 1px solid #d0d7de;  /* ← 縦線を追加 */
        }

        .spec-table tr:last-child td {
        border-bottom: none;
        }

        .spec-table td:last-child {
        border-right: none;
        }

        /* 左列（項目） */
        .spec-table td:first-child {
        width: 120px;
        font-weight: 600;
        color: #005E98;
        background: #f1f5f9; /* ← 白より少し青みを持たせる */
        }

        .report-content a {
        color: #005E98; /* ブランドカラー */
        text-decoration: none; /* 下線を消す */
        border-bottom: 1px solid #b3d0e6; /* 下線代わりに細いボーダー */
        transition: all 0.2s ease;
        }

        .report-content a:hover {
        color: #0078c8; /* ホバー時に少し明るく */
        border-bottom-color: #0078c8; /* 下線もリンク色と合わせて強調 */
        }
        
        .report-content p {
            font-size: 1rem;
            line-height: 1.8;
            margin-bottom: 16px;
        }

        .report-content img {
            width: 100%;
            height: auto;
            object-fit: contain;
            border-radius: 8px;
            margin: 24px 0 18px;
            background-color: #f0f0f0;
        }
        
        .back-button-container {
            text-align: center;
            margin-top: 40px;
        }

        .back-button {
            display: inline-block;
            padding: 12px 30px;
            background-color: var(--brand-blue);
            color: #fff;
            text-decoration: none;
            border-radius: 5px;
            font-weight: 700;
            transition: background-color 0.3s;
        }

        .back-button:hover {
            background-color: #0A4ECF;
        }

        /* ← ここから追記 */
        
        /* ===== レスポンシブ調整（タイトルサイズ） ===== */

        /* タブレット向け（幅900px以下） */
        @media (max-width: 900px) {
        .report-header h1 {
            font-size: 1.6rem;
            padding: 12px 24px;
            border-width: 1.8px;
        }

        .report-header h1::before,
        .report-header h1::after {
            width: 10px;
            height: 10px;
            border-width: 1.8px;
        }
        }

        /* スマホ向け（幅600px以下） */
        @media (max-width: 600px) {
        .report-header h1 {
            font-size: 1.3rem;
            padding: 10px 20px;
            border-width: 1.5px;
        }

        .report-header h1::before,
        .report-header h1::after {
            width: 8px;
            height: 8px;
            border-width: 1.5px;
        }
        }

        /* ===== タブレット・スマホでの余白調整（白ボックスを浮かせる） ===== */

        /* タブレット向け（900px以下） */
        @media (max-width: 900px) {
        .report-container {
            margin: 30px;        /* ← 上下左右に余白を確保（デフォ40pxからやや縮小） */
            padding: 32px;       /* ← 内側も少しコンパクトに */
        }
        }

        /* スマホ向け（600px以下） */
        @media (max-width: 600px) {
        .report-container {
            margin: 20px;        /* ← スマホではさらに狭く */
            padding: 24px;       /* ← 文字が詰まりすぎない程度に調整 */
        }
        }

        figure {
        text-align: center;
        margin: 16px 0;
        }
        figure img {
        display: block;           /* ← これを追加 */
        margin: 0 auto;           /* 中央寄せ */
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        }
        figure figcaption {
        font-size: 0.9rem;
        color: #555;
        margin-top: 8px;
        line-height: 1.5;
        }

        .video-container {
        position: relative;
        width: 100%;
        max-width: 1000px;         /* 最大サイズ（広げたい場合は1200pxなどに変更） */
        margin: 0 auto 40px;       /* 中央寄せ＋下に余白 */
        aspect-ratio: 16 / 9;      /* 画面比率を維持 */
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
        }

        .video-container iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        }

        .pancake-table {
        border-collapse: collapse;
        width: 100%;
        max-width: 800px;
        margin: 24px auto;
        font-size: 0.95rem;
        line-height: 1.6;
        border: 1px solid #e0e0e0;
        border-radius: 8px;
        overflow: hidden;
        background-color: #fff;
        }

        .pancake-table td {
        padding: 10px 14px;
        border-bottom: 1px solid #e0e0e0;
        vertical-align: top;
        }

        .pancake-table tr:last-child td {
        border-bottom: none;
        }

        /* 1列目（課題） */
        .pancake-table td:first-child {
        font-weight: bold;
        background-color: #f9f9f9;
        width: 35%;
        white-space: nowrap;
        }

        /* ✅ スマホ時：列を縦にせずそのまま2列で縮小 */
        @media (max-width: 600px) {
        .pancake-table {
            font-size: 0.9rem;
        }
        .pancake-table td:first-child {
            width: 40%;
            white-space: normal; /* ← スマホで折り返せるように */
        }
        .pancake-table td {
            padding: 8px 10px;
        }
        }

        .card-container {
        display: flex;
        flex-wrap: wrap;
        gap: 32px;
        justify-content: center;
        align-items: stretch;
        margin: 40px auto;
        }

        .card {
        flex: 1 1 300px;
        max-width: 340px;
        background: #fff;
        border-radius: 16px;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
        padding: 20px;
        text-align: left;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        }

        .card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
        }

        /* 🔽 画像を控えめサイズに */
        .card img {
        width: 80%;               /* ← 幅をカードの80%に */
        height: auto;
        max-height: 160px;        /* ← 高さの上限を設けて全体を落ち着かせる */
        object-fit: contain;
        border-radius: 12px;
        margin: 0 auto 14px;
        background-color: #f7f7f7;
        }

        .card h3 {
        font-size: 1.1rem;
        color: #005E98;
        margin-bottom: 8px;
        }

        .card p {
        font-size: 0.9rem;
        color: #333;
        line-height: 1.6;
        flex-grow: 1;
        }
