@charset "UTF-8";

/* --- 基本設定 --- */
body {
    margin: 0;
    padding: 0;
    font-family: 'M PLUS Rounded 1c', "Hiragino Kaku Gothic ProN", sans-serif;
    color: #4e342e;
    /* 濃い茶色 */
    background-color: #fffef9;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

/* --- 1. ヘッダー --- */
.top-header {
    background-color: #ffffff;
    padding: 0 40px;
    border-bottom: 3px solid #ffb300;
    /* ジムっぽい元気な黄色 */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-img {
    height: 50px;
    width: auto;
    display: block;
}

.top-nav {
    list-style: none;
    display: flex;
    gap: 30px;
}

.top-nav a {
    color: #8d6e63;
    font-weight: bold;
    font-size: 16px;
}

.top-nav a:hover {
    color: #ffca28;
}

/* --- 2. ヒーローセクション（主旨説明） --- */
.hero-section {
    background-color: #fff8e1;
    padding: 60px 20px;
    text-align: center;
    background-image: radial-gradient(#ffe0b2 20%, transparent 20%);
    background-size: 20px 20px;
}

.hero-content h1 {
    font-size: 32px;
    margin: 0 0 30px 0;
    line-height: 1.3;
}

.gym-title {
    font-size: 64px;
    color: #e65100;
    text-shadow: 4px 4px 0px #fff;
    display: block;
    /* 改行 */
    margin-top: 10px;
}

/* 主旨説明ボックス */
.intro-box {
    background: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 15px;
    border: 3px solid #ffcc80;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.intro-box h2 {
    font-size: 24px;
    color: #d84315;
    margin-top: 0;
    border-bottom: 2px dashed #ffcc80;
    padding-bottom: 10px;
    display: inline-block;
}

.intro-box p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.usage-guide {
    background-color: #fff3e0;
    padding: 15px;
    border-radius: 10px;
    font-weight: bold;
    display: inline-block;
}

.guide-label {
    background: #e65100;
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 5px;
    vertical-align: middle;
}

/* --- 3. メイン記事エリア --- */
.main-article-area {
    padding: 60px 20px 40px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.news-article {
    background: #fff;
    padding: 50px;
    border-radius: 20px;
    border: 2px solid #f0f0f0;
}

.date-badge {
    background-color: #d32f2f;
    /* 重要なので赤 */
    color: #fff;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
}

.news-article h2 {
    font-size: 26px;
    margin-top: 20px;
    color: #3e2723;
}

.highlight-box {
    background-color: #fffde7;
    border: 2px dashed #fbc02d;
    padding: 30px;
    border-radius: 15px;
    margin: 30px 0;
}

.highlight-box h3 {
    margin-top: 0;
    color: #f57f17;
}

.article-list {
    list-style: none;
    padding: 0;
}

.article-list li {
    margin-bottom: 15px;
    background: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    font-size: 16px;
}

.link-box {
    text-align: center;
    margin-top: 30px;
}

.link-box a {
    color: #0277bd;
    font-weight: bold;
    text-decoration: underline;
}

/* --- 4. トレーニングメニュー（リンクエリア） --- */
.training-menu-section {
    background-color: #3e2723;
    /* ジムの床のような濃い色 */
    padding: 60px 20px;
}

.menu-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.menu-title {
    color: #fff;
    font-size: 32px;
    margin-bottom: 40px;
    text-shadow: 2px 2px 0 #000;
}

.menu-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.menu-card {
    background: #fff;
    width: 180px;
    /* カードの幅 */
    padding: 30px 10px;
    border-radius: 15px;
    box-shadow: 0 5px 0 rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s;
    border: 3px solid #fff;
}

/* 各科目の色分け */
.color-reading {
    border-color: #e53935;
    color: #e53935;
}

.color-listening {
    border-color: #1e88e5;
    color: #1e88e5;
}

.color-speaking {
    border-color: #43a047;
    color: #43a047;
}

.color-writing {
    border-color: #fb8c00;
    color: #fb8c00;
}

.color-other {
    border-color: #8e24aa;
    color: #8e24aa;
}

.menu-en {
    font-size: 24px;
    font-weight: 800;
    display: block;
}

.menu-ja {
    font-size: 14px;
    color: #555;
    margin: 5px 0 10px 0;
    font-weight: bold;
}

.menu-desc {
    font-size: 12px;
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 4px;
    color: #333;
}

.menu-card:hover {
    transform: translateY(5px);
    /* 押した感じ */
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
    background-color: #fcfcfc;
}

/* --- 5. 宣伝エリア --- */
.promo-section {
    background-color: #ffecb3;
    padding: 60px 20px;
    text-align: center;
    border-top: 5px solid #ffca28;
}

.promo-text h2 {
    font-size: 20px;
    color: #d84315;
}

.promo-text h3 {
    font-size: 32px;
    color: #5d4037;
    margin: 10px 0;
}

.promo-btn {
    display: inline-block;
    background-color: #d84315;
    color: #fff;
    padding: 15px 50px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 18px;
    margin-top: 30px;
    box-shadow: 0 5px 0 #bf360c;
}

.promo-btn:hover {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #bf360c;
}

/* --- 6. フッター --- */
footer {
    background-color: #3e2723;
    color: #d7ccc8;
    text-align: center;
    padding: 30px 20px;
    /* パディングを少し広げました */
    border-top: 1px solid #5d4037;
}

/* プライバシーポリシーのリンクスタイル */
.footer-links {
    margin-bottom: 15px;
}

.footer-links a {
    color: #d7ccc8;
    font-size: 14px;
    text-decoration: underline;
    /* リンクだとわかるように下線を表示 */
}

.footer-links a:hover {
    color: #ffffff;
    /* カーソルを乗せた時に白く光らせる */
    text-decoration: none;
}

footer p {
    margin: 0;
    font-size: 12px;
}

/* =========================================
   ABOUT US ページ用スタイル
   ========================================= */

/* --- ページタイトルエリア --- */
.page-title-section {
    background-color: #fff8e1;
    /* 薄い黄色 */
    padding: 40px 20px;
    text-align: center;
    border-bottom: 2px dashed #ffca28;
    margin-bottom: 40px;
}

.page-title-section h1 {
    margin: 0;
    color: #e65100;
    font-size: 32px;
    text-shadow: 2px 2px 0 #fff;
}

.page-title-section p {
    color: #5d4037;
    margin-top: 10px;
    font-weight: bold;
    opacity: 0.8;
}

/* コンテンツ全体の幅制限 */
.content-wrapper {
    max-width: 960px;
    /* 読みやすい幅に設定 */
    margin: 0 auto;
    padding: 0 20px;
}

/* --- プロフィールエリアのレイアウト --- */
.profile-wrap {
    display: flex;
    gap: 50px;
    /* 画像と文章の間隔 */
    align-items: flex-start;
    /* 上揃え */
    margin-bottom: 60px;
}

/* 左側：画像エリア */
.profile-img-area {
    width: 300px;
    /* 横幅固定 */
    flex-shrink: 0;
    /* 縮まないようにする */
    text-align: center;
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.img-box img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block;
}

.profile-name {
    margin-top: 15px;
    color: #3e2723;
    line-height: 1.4;
    font-size: 14px;
}

.profile-name strong {
    display: block;
    font-size: 20px;
    color: #e65100;
    margin: 5px 0;
}

.en-name {
    display: block;
    font-size: 12px;
    color: #999;
}

/* 右側：コンテンツエリア */
.profile-content {
    flex-grow: 1;
}

.profile-content h3 {
    color: #d84315;
    /* 見出し色 */
    font-size: 20px;
    border-bottom: 2px solid #ffcc80;
    /* 下線 */
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 20px;
}

/* 2つ目以降の見出しには上余白を入れる */
.profile-content h3:not(:first-child) {
    margin-top: 40px;
}

.profile-content p {
    line-height: 1.8;
    color: #4e342e;
    margin-bottom: 15px;
}

/* 資格リスト */
.qualification-list ul {
    list-style: none;
    padding: 0;
    background-color: #fffde7;
    padding: 20px 30px;
    border-radius: 10px;
}

.qualification-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    font-weight: bold;
    color: #5d4037;
}

.qualification-list li::before {
    content: "✔";
    color: #e65100;
    position: absolute;
    left: 0;
}

/* --- CTAエリア（お問い合わせ誘導） --- */
.cta-section {
    background-color: #ffe0b2;
    /* 濃いめのクリーム色 */
    text-align: center;
    padding: 60px 20px;
    border-radius: 20px;
    margin-top: 60px;
    margin-bottom: 60px;
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cta-section h3 {
    color: #bf360c;
    font-size: 24px;
    margin-top: 0;
    margin-bottom: 15px;
}

.cta-section p {
    color: #5d4037;
    margin-bottom: 30px;
}

.cta-button-large {
    background-color: #d84315;
    /* メインカラーの赤茶/オレンジ */
    color: #fff;
    padding: 18px 50px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    display: inline-block;
    box-shadow: 0 4px 0 #a0270b;
    transition: transform 0.2s;
}

.cta-button-large:hover {
    transform: translateY(3px);
    box-shadow: 0 2px 0 #a0270b;
    background-color: #e64a19;
}

/* --- レスポンシブ対応（スマホで縦並びにする） --- */
@media (max-width: 768px) {
    .profile-wrap {
        flex-direction: column;
        /* 縦並び */
        align-items: center;
    }

    .profile-img-area {
        width: 100%;
        max-width: 300px;
    }
}

/* =========================================
   CONTACT US ページ用スタイル
   ========================================= */

/* --- コンテンツ全体のラッパー --- */
.contact-wrapper {
    padding: 60px 20px;
    background-color: #fffef9;
}

/* --- 導入テキスト --- */
.contact-intro {
    text-align: center;
    margin-bottom: 40px;
    color: #4e342e;
    line-height: 1.8;
}

.contact-intro p {
    font-size: 16px;
    margin-bottom: 20px;
}

/* 注釈テキストボックス */
.contact-note {
    background-color: #fff3e0;
    /* 薄いオレンジ */
    display: inline-block;
    padding: 15px 30px;
    border-radius: 10px;
    border: 1px dashed #ffb74d;
}

.contact-note p {
    margin: 5px 0;
    font-size: 14px;
    color: #bf360c;
    font-weight: bold;
}

/* --- Googleフォーム埋め込みエリア --- */
.google-form-container {
    text-align: center;
    /* フォームを中央寄せ */
    margin: 0 auto;
    width: 100%;
    max-width: 700px;
    /* PCでの最大幅 */
    background-color: #fff;
    padding: 20px 10px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    /* 影をつけて浮き上がらせる */
}

.google-form-container iframe {
    width: 100%;
    /* 親要素に合わせて伸縮 */
    display: block;
    margin: 0 auto;
}

/* --- スマホ表示時の調整 --- */
@media (max-width: 600px) {
    .pc-only {
        display: none;
        /* スマホでは改行などの調整用クラスを消す */
    }

    .google-form-container {
        padding: 10px 0;
        box-shadow: none;
        /* スマホでは影を消してスッキリさせる */
        background-color: transparent;
    }
}

/* =========================================
   Training Page (Reading, etc) 共通・専用スタイル
   ========================================= */

/* --- Reading専用テーマ（赤系） --- */
.page-title-section.reading-theme {
    background-color: #ffebee;
    /* 非常に薄い赤 */
    border-bottom: 2px solid #e53935;
    /* 赤いライン */
}

.reading-theme h1 {
    color: #c62828;
    /* 濃い赤 */
}

/* --- トレーニングブロックのコンテナ --- */
.training-container {
    padding: 40px 0;
    background-color: #fff;
}

/* --- 各トレーニングブロック --- */
.training-block {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    margin-bottom: 50px;
    overflow: hidden;
    /* 角丸からはみ出さないように */
}

/* ブロックの見出しエリア */
.block-header {
    background-color: #fce4ec;
    /* 薄いピンク/赤 */
    padding: 20px 30px;
    border-bottom: 1px solid #f8bbd0;
}

.block-header h2 {
    margin: 0;
    font-size: 24px;
    color: #c62828;
    display: flex;
    align-items: center;
    gap: 10px;
}

.block-header .icon {
    font-size: 28px;
}

.block-desc {
    margin: 5px 0 0 0;
    font-size: 14px;
    color: #5d4037;
}

/* --- 問題リスト --- */
.problem-list {
    padding: 20px 30px;
}

.problem-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    background-color: #fff;
    border: 2px solid #eee;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: all 0.2s;
    color: #4e342e;
}

.problem-link:last-child {
    margin-bottom: 0;
}

/* ホバー時の挙動 */
.problem-link:hover {
    background-color: #ffebee;
    /* ホバーで薄い赤 */
    border-color: #ef9a9a;
    transform: translateX(5px);
    /* 少し右に動く */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* 問題番号 */
.p-num {
    font-family: 'Arial', sans-serif;
    font-weight: bold;
    font-size: 18px;
    color: #e53935;
    background-color: #fff;
    border: 2px solid #e53935;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

/* 問題タイトル */
.p-title {
    font-weight: bold;
    font-size: 16px;
    flex-grow: 1;
    /* 余白を埋める */
}

/* 右端の矢印 */
.arrow-icon {
    font-family: monospace;
    /* 等幅フォントで形を整える */
    font-weight: bold;
    color: #bdbdbd;
}

/* ホバー時に矢印も赤くする */
.problem-link:hover .arrow-icon {
    color: #e53935;
}

/* =========================================
   Listening Page 専用スタイル (青系)
   ========================================= */

/* --- ページタイトル（青） --- */
.page-title-section.listening-theme {
    background-color: #e3f2fd;
    /* 薄い青 */
    border-bottom: 2px solid #1e88e5;
    /* 青いライン */
}

.listening-theme h1 {
    color: #1565c0;
    /* 濃い青 */
}

/* --- ブロックヘッダーの上書き（青） --- */
.listening-block .block-header {
    background-color: #bbdefb;
    /* ヘッダー背景を水色に */
    border-bottom: 1px solid #90caf9;
}

.listening-block .block-header h2 {
    color: #0d47a1;
    /* 見出し文字を紺色に */
}

/* --- 問題番号の上書き（青） --- */
.listening-block .p-num {
    color: #1e88e5;
    border-color: #1e88e5;
}

/* --- リンクホバー時の上書き（青） --- */
.listening-block .problem-link:hover {
    background-color: #e3f2fd;
    /* ホバー背景を薄い青に */
    border-color: #90caf9;
}

.listening-block .problem-link:hover .arrow-icon {
    color: #1e88e5;
    /* 矢印を青に */
}

/* =========================================
   Writing Page 専用スタイル (オレンジ系)
   ========================================= */

/* --- ページタイトル（オレンジ） --- */
.page-title-section.writing-theme {
    background-color: #fff3e0;
    /* 薄いオレンジ */
    border-bottom: 2px solid #fb8c00;
    /* オレンジのライン */
}

.writing-theme h1 {
    color: #e65100;
    /* 濃いオレンジ */
}

/* --- ブロックヘッダーの上書き（オレンジ） --- */
.writing-block .block-header {
    background-color: #ffe0b2;
    /* ヘッダー背景を明るいオレンジに */
    border-bottom: 1px solid #ffcc80;
}

.writing-block .block-header h2 {
    color: #ef6c00;
    /* 見出し文字を濃いオレンジに */
}

/* --- 問題番号の上書き（オレンジ） --- */
.writing-block .p-num {
    color: #fb8c00;
    border-color: #fb8c00;
}

/* --- リンクホバー時の上書き（オレンジ） --- */
.writing-block .problem-link:hover {
    background-color: #fff3e0;
    /* ホバー背景 */
    border-color: #ffcc80;
}

.writing-block .problem-link:hover .arrow-icon {
    color: #fb8c00;
    /* 矢印をオレンジに */
}

/* =========================================
   Speaking Page 専用スタイル (緑系)
   ========================================= */

/* --- ページタイトル（緑） --- */
.page-title-section.speaking-theme {
    background-color: #e8f5e9;
    /* 薄い緑 */
    border-bottom: 2px solid #43a047;
    /* 緑のライン */
}

.speaking-theme h1 {
    color: #2e7d32;
    /* 濃い緑 */
}

/* --- ブロックヘッダーの上書き（緑） --- */
.speaking-block .block-header {
    background-color: #c8e6c9;
    /* ヘッダー背景を明るい緑に */
    border-bottom: 1px solid #a5d6a7;
}

.speaking-block .block-header h2 {
    color: #1b5e20;
    /* 見出し文字を深緑に */
}

/* --- 問題番号の上書き（緑） --- */
.speaking-block .p-num {
    color: #43a047;
    border-color: #43a047;
}

/* --- リンクホバー時の上書き（緑） --- */
.speaking-block .problem-link:hover {
    background-color: #e8f5e9;
    /* ホバー背景 */
    border-color: #a5d6a7;
}

.speaking-block .problem-link:hover .arrow-icon {
    color: #43a047;
    /* 矢印を緑に */
}

/* =========================================
   Others Page 専用スタイル (紫系)
   ========================================= */

/* --- ページタイトル（紫） --- */
.page-title-section.others-theme {
    background-color: #f3e5f5;
    /* 薄い紫 */
    border-bottom: 2px solid #8e24aa;
    /* 紫のライン */
}

.others-theme h1 {
    color: #7b1fa2;
    /* 濃い紫 */
}

/* --- ブロックヘッダーの上書き（紫） --- */
.others-block .block-header {
    background-color: #e1bee7;
    /* ヘッダー背景を明るい紫に */
    border-bottom: 1px solid #ce93d8;
}

.others-block .block-header h2 {
    color: #4a148c;
    /* 見出し文字を深紫に */
}

/* --- 問題番号の上書き（紫） --- */
.others-block .p-num {
    color: #8e24aa;
    border-color: #8e24aa;
}

/* --- リンクホバー時の上書き（紫） --- */
.others-block .problem-link:hover {
    background-color: #f3e5f5;
    /* ホバー背景 */
    border-color: #ce93d8;
}

.others-block .problem-link:hover .arrow-icon {
    color: #8e24aa;
    /* 矢印を紫に */
}

/* =========================================
   問題演習ページ専用スタイル (Problem Page)
   ========================================= */

/* --- メインコンテナ（横並びレイアウト） --- */
.gym-problem-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 60px 20px;
    background-color: #f9f9f9;
    min-height: 600px;
}

/* スマホでは縦並び */
@media (max-width: 900px) {
    .gym-problem-container {
        flex-direction: column;
    }
}

/* --- 左側：問題文エリア --- */
.problem-text-area {
    flex: 2;
    /* 画面の2/3くらい */
    max-width: 800px;
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.problem-heading {
    margin-top: 0;
    color: #c62828;
    /* Readingの赤 */
    border-bottom: 2px dashed #ef9a9a;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.instr {
    background-color: #fff3e0;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 30px;
}

.passage-content p {
    font-size: 18px;
    /* 読みやすい大きさ */
    line-height: 2.2;
    /* 行間広め（入力ボックスが入るため） */
    color: #3e2723;
    font-family: 'Times New Roman', "Hiragino Mincho ProN", serif;
    /* アカデミックな雰囲気 */
}

/* --- 入力ボックスのデザイン --- */
.blank {
    white-space: nowrap;
    margin: 0 5px;
}

.blank input {
    width: 24px;
    height: 28px;
    text-align: center;
    font-size: 18px;
    border: 1px solid #bbb;
    /* デフォルトの枠線 */
    border-radius: 4px;
    margin-right: 2px;
    font-family: monospace;
    transition: 0.2s;
}

.blank input:focus {
    border-color: #e53935;
    /* フォーカス時の赤 */
    outline: none;
    box-shadow: 0 0 5px rgba(229, 57, 53, 0.3);
}

.q-num {
    font-size: 12px;
    color: #e53935;
    vertical-align: super;
    font-weight: bold;
    margin-left: 2px;
}

/* --- 右側：コントロールエリア --- */
.problem-control-area {
    flex: 1;
    /* 画面の1/3くらい */
    min-width: 300px;
}

/* スクロールしてもついてくるボックス（PCのみ） */
.sticky-box {
    position: sticky;
    top: 20px;
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 5px solid #c62828;
    /* Readingの赤 */
}

.sticky-box h3 {
    margin-top: 0;
    text-align: center;
    color: #333;
}

.score-display {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #c62828;
    margin-bottom: 20px;
    background: #ffebee;
    padding: 10px;
    border-radius: 10px;
}

/* ボタン */
.btn-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.gym-btn {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
}

.btn-submit {
    background-color: #c62828;
    color: #fff;
}

.btn-submit:hover {
    background-color: #b71c1c;
}

.btn-reset {
    background-color: #757575;
    color: #fff;
}

.btn-reset:hover {
    background-color: #616161;
}

/* 解説ボックス */
.explanation-box {
    margin-top: 20px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.exp-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 300px;
    overflow-y: auto;
    /* 長くなったらスクロール */
}

.exp-list li {
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
}

.res-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    color: #fff;
    margin-right: 5px;
}

.res-badge.ok {
    background-color: #43a047;
}

.res-badge.ng {
    background-color: #e53935;
}

.res-detail {
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    margin-left: 5px;
}

/* 先生のコメント */
.comment-area {
    margin-top: 20px;
    background: #3e2723;
    color: #fff;
    padding: 15px;
    border-radius: 8px;
    font-size: 14px;
    position: relative;
}

.comment-area::before {
    content: "🐔 先生の一言:";
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #ffca28;
}

/* =========================================
   Social Media Post & MCQ Styles
   ========================================= */

/* --- SNS投稿風カード --- */
.social-post-card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    font-family: Helvetica, Arial, sans-serif;
    /* SNSっぽいフォント */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.sp-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.sp-avatar {
    width: 50px;
    height: 50px;
    background-color: #bdbdbd;
    border-radius: 50%;
    margin-right: 12px;
}

.sp-user-info strong {
    font-size: 16px;
    color: #1c1e21;
}

.sp-user-info small {
    color: #65676b;
    font-size: 13px;
}

.sp-body {
    font-size: 15px;
    line-height: 1.6;
    color: #1c1e21;
}

.sp-body p {
    margin-bottom: 15px;
}

/* 投稿内のハッシュタグ風 */
.sp-body a {
    color: #1877f2;
    text-decoration: none;
}

.sp-body a:hover {
    text-decoration: underline;
}

.sp-footer {
    border-top: 1px solid #eee;
    padding-top: 10px;
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    color: #65676b;
    font-size: 14px;
    font-weight: 500;
}

/* --- 選択式問題（MCQ） --- */
.mcq-item {
    margin-bottom: 30px;
    padding-left: 10px;
    /* ボーダー表示用の余白 */
    transition: 0.3s;
}

.q-text {
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.options label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
    font-size: 15px;
    padding: 5px 0;
}

.options input[type="radio"] {
    margin-right: 8px;
    transform: scale(1.2);
}

/* 解説エリア */
.explanation-area {
    margin-top: 10px;
    background-color: #fff9c4;
    /* 薄い黄色 */
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 14px;
    border: 1px solid #fff176;
}

.result-msg {
    font-weight: bold;
    margin-bottom: 5px;
}

.exp-text {
    color: #333;
    line-height: 1.6;
}

/* =========================================
   Notice (Announcement) Styles
   ========================================= */

.notice-card {
    background-color: #fff;
    border: 2px solid #333;
    /* 黒い枠線 */
    padding: 30px;
    box-shadow: 5px 5px 0px rgba(0, 0, 0, 0.1);
    /* 少し影を落とす */
    font-family: 'Helvetica', 'Arial', sans-serif;
    color: #000;
}

.notice-header {
    text-align: center;
    border-bottom: 2px solid #333;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.notice-header h3 {
    margin: 0;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.notice-header h4 {
    margin: 10px 0 0 0;
    font-size: 1.4em;
    font-weight: 800;
}

.notice-body p {
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.notice-footer {
    margin-top: 30px;
    text-align: center;
    font-style: italic;
    font-weight: bold;
    border-top: 1px solid #ccc;
    padding-top: 10px;
}

/* =========================================
   Academic Passage Styles
   ========================================= */

.academic-card {
    background-color: #fff;
    border: 1px solid #ccc;
    padding: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    /* アカデミックな雰囲気を出すためのセリフ体フォント */
    font-family: 'Merriweather', 'Georgia', serif;
    color: #2c3e50;
    line-height: 1.8;
}

.academic-card h3 {
    text-align: center;
    font-size: 1.5em;
    margin-bottom: 25px;
    color: #000;
    font-weight: 700;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.academic-card p {
    margin-bottom: 20px;
    text-align: justify;
    /* 両端揃えで論文っぽく */
    font-size: 1.05em;
}

/* 重要な語句の強調用 */
.academic-card strong {
    color: #d35400;
    /* 落ち着いたオレンジ色 */
}

/* =========================================
   Listening Section Styles
   ========================================= */

/* 背景色設定 */
.listening-body {
    background-color: #f4f7f6;
    /* フォントはstyle.cssの共通設定を引き継ぐため指定不要 */
}

/* レイアウト枠 */
.wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* カードデザイン（左右のコンテンツ） */
.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    flex: 1 1 400px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    margin-bottom: 20px;
}

.card header {
    background: #333;
    color: #fff;
    padding: 15px 20px;
}

.card header h2 {
    margin: 0;
    font-size: 1.2rem;
}

.card header .small {
    font-size: 0.85rem;
    color: #ccc;
    margin-top: 5px;
}

.pad {
    padding: 20px;
}

/* コントロールエリア */
.controls {
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.inline {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

/* ボタンデザイン */
button {
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid #ccc;
    background: #f0f0f0;
    font-weight: bold;
    font-family: inherit;
}

button:hover {
    background: #e0e0e0;
}

.btn-accent {
    background: #333;
    color: #fff;
    border: none;
}

.btn-accent:hover {
    background: #555;
}

.btn-danger {
    background: #d32f2f;
    color: #fff;
    border: none;
}

.btn-danger:hover {
    background: #b71c1c;
}

/* プレイヤーリスト */
#playerList {
    list-style: none;
    padding: 0;
    margin: 0;
}

#playerList li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    background: #fafafa;
    border-radius: 4px;
}

/* スクリプト表示エリア */
.transcript {
    background: #f9f9f9;
    border: 1px solid #ddd;
    padding: 15px;
    margin-top: 20px;
    border-radius: 4px;
    display: none;
    font-size: 0.95rem;
    line-height: 1.6;
}

.transcript.show {
    display: block;
}

.transcript .line {
    margin-bottom: 8px;
    border-bottom: 1px dashed #eee;
    padding-bottom: 4px;
}

.transcript .speaker {
    font-weight: bold;
    color: #d35400;
    margin-right: 5px;
}

/* 問題エリア */
.qblock {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.qblock h3 {
    margin-top: 0;
    color: #333;
    font-size: 1.1em;
}

.qblock label {
    display: block;
    margin-bottom: 8px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
}

.qblock label:hover {
    background-color: #f0f8ff;
}

/* 解説エリア */
.explanation {
    display: none;
    margin-top: 10px;
    background: #e8f5e9;
    padding: 15px;
    border-radius: 4px;
    border-left: 5px solid #4caf50;
    font-size: 0.9rem;
    line-height: 1.5;
}

.explanation .judge {
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 5px;
    display: block;
}

.why {
    font-weight: bold;
    color: #2e7d32;
}

/* 固定アクションバー */
.sticky-cta {
    position: sticky;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-top: 2px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    margin: 0 -20px -20px -20px;
    /* 親要素のpaddingを相殺して幅いっぱいに */
    z-index: 100;
}

.score {
    font-weight: bold;
    font-size: 1.2rem;
    color: #333;
}

/* =========================================
   Lecture Page Specifics
   ========================================= */

/* スライダー（スピード・ピッチ）のコンテナ */
.range {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: 20px;
    margin-bottom: 10px;
    background: #f9f9f9;
    padding: 5px 10px;
    border-radius: 4px;
    border: 1px solid #eee;
}

.range label {
    font-weight: bold;
    font-size: 0.85rem;
    color: #555;
}

/* input[type="range"] の簡易調整 */
.range input[type="range"] {
    cursor: pointer;
    vertical-align: middle;
}

/* タグ（Voices: ... の部分） */
.tag {
    font-weight: bold;
    color: #666;
    font-size: 0.9rem;
    margin-right: 5px;
    background: #e0e0e0;
    padding: 2px 6px;
    border-radius: 3px;
}

/* コントロール内のボタン群の微調整 */
.controls button {
    margin-right: 5px;
    margin-bottom: 5px;
}

/* =========================================
   Transcript Box (Lecture & Conversation)
   ========================================= */

/* トランスクリプト全体のコンテナ */
.transcript {
    display: none;
    /* デフォルトは非表示 */
    background: #fdfdfd;
    border: 1px solid #e0e0e0;
    padding: 15px;
    margin-top: 15px;
    border-radius: 5px;
    max-height: 400px;
    /* 長すぎる場合はスクロール */
    overflow-y: auto;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.03);
}

/* 表示切り替え用クラス */
.transcript.show {
    display: block;
}

/* 各セリフの行 */
.transcript .line {
    margin-bottom: 12px;
    border-bottom: 1px dashed #eee;
    /* 行区切り線（お好みで） */
    padding-bottom: 8px;
}

.transcript .line:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* 話者名（Student: / Professor: など） */
.transcript .speaker {
    font-weight: bold;
    margin-right: 8px;
    color: #333;
    /* デフォルト色（JSで上書きされます） */
}

/* =========================================
   Writing Section - Sentence Building
   ========================================= */

/* ライティングページ用ボディ（必要に応じて背景色などを調整） */
.writing-body {
    background-color: #f4f7f6;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* 並び替え問題のコンテナ */
.sb-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* 問題カード */
.q-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* 問題の文脈文（Context） */
.q-context {
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
    font-size: 1.05rem;
}

/* 解答構築エリア（単語を置く場所） */
.build-area {
    background-color: #f9f9f9;
    border: 2px dashed #ccc;
    border-radius: 5px;
    min-height: 60px;
    padding: 10px;
    margin-bottom: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 1.1rem;
    transition: background-color 0.3s, border-color 0.3s;
}

.build-area.correct {
    border-color: #4caf50;
    background-color: #e8f5e9;
}

.build-area.incorrect {
    border-color: #f44336;
    background-color: #ffebee;
}

/* 単語の選択肢エリア */
.word-bank {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #f0f4f8;
    border-radius: 5px;
}

/* 単語チップ */
.word-chip {
    background-color: #fff;
    border: 1px solid #bbb;
    border-radius: 4px;
    /* 角丸を少し抑えめに */
    padding: 8px 12px;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s;
    font-size: 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.word-chip:hover {
    background-color: #e3f2fd;
    border-color: #2196f3;
    transform: translateY(-2px);
}

.word-chip:active {
    transform: translateY(0);
}

/* 固定テキスト（The ... . ? など） */
.static-text {
    font-family: Georgia, serif;
    font-weight: bold;
    color: #555;
    margin: 0 5px;
}

/* 解説エリア */
.explanation {
    display: none;
    /* 初期状態は非表示 */
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 0.95rem;
    color: #444;
    line-height: 1.6;
}

.correct-answer {
    font-weight: bold;
    color: #2e7d32;
    margin-bottom: 8px;
    display: block;
}

/* リセットボタン */
.reset-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 0.85rem;
    cursor: pointer;
    text-decoration: underline;
    padding: 5px 0;
    margin-left: auto;
    /* 右寄せ用 */
    display: block;
}

.reset-btn:hover {
    color: #555;
}

/* =========================================
   Writing Section - Email Task (Split Layout)
   ========================================= */

.split-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: flex-start;
}

/* 左側：問題エリア */
.problem-pane {
    flex: 1;
    min-width: 300px;
    background: #fff;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.problem-pane h2 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: #333;
    border-bottom: 2px solid #4a90e2;
    padding-bottom: 10px;
}

.instruction-list {
    margin-left: 20px;
    margin-bottom: 20px;
}

.instruction-list li {
    margin-bottom: 8px;
}

/* 右側：解答エリア */
.answer-pane {
    flex: 1;
    min-width: 300px;
    background: #f9f9f9;
    padding: 25px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

/* メール風インターフェース */
.email-header {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
    margin-bottom: 15px;
}

.email-field {
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.email-field label {
    font-weight: bold;
    color: #666;
    margin-right: 10px;
    width: 60px;
    display: inline-block;
}

.email-textarea {
    width: 100%;
    height: 300px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    /* プロポーショナルフォント */
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    margin-bottom: 15px;
}

/* 添削結果エリア */
.feedback-area {
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    display: none;
    /* 初期状態は非表示 */
}

.score-box {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4a90e2;
    margin-bottom: 15px;
    text-align: center;
}

.feedback-section {
    margin-bottom: 15px;
}

.feedback-section h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    border-left: 4px solid #ddd;
    padding-left: 10px;
}

.good-points h4 {
    border-color: #4caf50;
    color: #2e7d32;
}

.improvements h4 {
    border-color: #f44336;
    color: #c62828;
}

.feedback-ul {
    margin-left: 20px;
}

/* ロード中スピナー */
.spinner {
    display: none;
    width: 30px;
    height: 30px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 10px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* =========================================
   Writing Section - Academic Discussion
   ========================================= */

.discussion-post {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

/* 教授の投稿を目立たせる */
.discussion-post.professor {
    background: #e3f2fd;
    /* 薄い青色 */
    border-color: #bbdefb;
}

.author-name {
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    display: block;
    font-size: 1.05rem;
}

.post-content {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
}

.post-content p {
    margin-bottom: 10px;
}

.post-content p:last-child {
    margin-bottom: 0;
}

/* =========================================
   Speaking Section - Interview
   ========================================= */

.interview-container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.interview-step {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.interviewer-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 15px;
}

.interviewer-icon {
    font-size: 2rem;
    background: #e3f2fd;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.interviewer-text {
    background: #f0f4f8;
    padding: 15px;
    border-radius: 0 15px 15px 15px;
    flex: 1;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
}

.user-answer-box {
    margin-left: 65px;
    /* アイコンの分だけずらす */
}

.controls {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.mic-btn {
    background-color: #f44336;
    /* 赤色 */
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background 0.3s;
}

.mic-btn:hover {
    background-color: #d32f2f;
}

.mic-btn.recording {
    background-color: #b71c1c;
    animation: pulse 1.5s infinite;
}

.mic-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.answer-textarea {
    width: 100%;
    height: 80px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    resize: vertical;
    font-family: inherit;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* 読み上げボタン */
.speak-btn {
    background: none;
    border: 1px solid #aaa;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 1rem;
    color: #555;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speak-btn:hover {
    background: #eee;
}

/* =========================================
   Speaking Section - Shadowing (Repeat)
   ========================================= */

.shadowing-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.shadowing-item {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
}

.shadowing-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.play-btn {
    background-color: #4CAF50;
    /* 緑色 */
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.play-btn:hover {
    background-color: #388E3C;
}

.script-toggle-btn {
    background: #f1f1f1;
    border: 1px solid #ccc;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
}

.script-toggle-btn:hover {
    background: #e0e0e0;
}

.script-box {
    margin-top: 10px;
    padding: 10px;
    background: #e8f5e9;
    border-left: 4px solid #4CAF50;
    color: #333;
    font-weight: bold;
    display: none;
    /* デフォルトで非表示 */
}

.script-box.visible {
    display: block;
}

.shadowing-textarea {
    width: 100%;
    height: 60px;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #555;
}

/* shadowing.css */

/* シャドーイングページ固有の背景色 (共通CSSを上書き) */
body {
    background-color: #f4f4f9;
}

/* コンテンツエリアのスタイル */
.shadowing-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 60px;
}

/* スティッキー・スピードコントロールバー */
.sticky-ctrl-bar {
    position: -webkit-sticky;
    /* Safari用 */
    position: sticky;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    z-index: 1000;
    text-align: center;
    border-bottom: 1px solid #ddd;
}

.speed-control {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-weight: bold;
    color: #2c3e50;
}

input[type=range] {
    width: 200px;
    cursor: pointer;
    accent-color: #00897b;
    /* サイトテーマカラー */
}

/* タイトルと説明文 */
h1.app-title {
    text-align: center;
    color: #2c3e50;
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 1.8rem;
    font-family: "M PLUS Rounded 1c", sans-serif;
}

.description {
    text-align: center;
    margin-bottom: 30px;
    color: #666;
    font-size: 0.9em;
}

/* カードスタイル */
.card {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    border-left: 5px solid #00897b;
    /* アクセントカラー */
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* カードヘッダー */
.header-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.number-tag {
    font-size: 1.2em;
    font-weight: bold;
    color: #aaa;
    margin-right: 15px;
    min-width: 40px;
}

.keyword-badge {
    background-color: #e0f2f1;
    /* 薄いTeal */
    color: #00695c;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1em;
}

.simple-word {
    color: #888;
    font-size: 0.9em;
    margin-left: 10px;
}

/* カード内のボタンエリア */
.card-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    padding-left: 55px;
    /* 番号の幅分インデント */
}

button {
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95em;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: background-color 0.2s;
    font-weight: bold;
    font-family: "M PLUS Rounded 1c", sans-serif;
}

.btn-play {
    background-color: #00897b;
    color: white;
}

.btn-play:hover {
    background-color: #00695c;
}

.btn-toggle {
    background-color: #e2e6ea;
    color: #495057;
}

.btn-toggle:hover {
    background-color: #dbe2e8;
}

.btn-toggle.active {
    background-color: #546e7a;
    color: white;
}

/* 例文表示エリア (初期非表示) */
.sentence-area {
    display: none;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    animation: fadeIn 0.3s ease-in-out;
    padding-left: 55px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.english-text {
    font-size: 1.25em;
    font-weight: 500;
    margin-bottom: 8px;
    color: #2c3e50;
    font-family: "Helvetica Neue", Arial, sans-serif;
}

.japanese-text {
    font-size: 0.95em;
    color: #666;
}

/* スマホ対応 */
@media (max-width: 600px) {

    .card-controls,
    .sentence-area {
        padding-left: 0;
    }
}

 /* プライバシーポリシー専用スタイル */
 
        .policy-container {
            max-width: 800px;
            margin: 0 auto;
            padding: 40px 20px;
            background-color: #fff;
        }
        .policy-section {
            margin-bottom: 40px;
        }
        .policy-section h2 {
            font-size: 1.4rem;
            color: #2c3e50;
            border-bottom: 2px solid #ddd;
            padding-bottom: 10px;
            margin-bottom: 20px;
        }
        .policy-section p {
            margin-bottom: 15px;
            line-height: 1.8;
            color: #555;
        }
        .policy-section ul {
            list-style-type: disc;
            margin-left: 20px;
            margin-bottom: 15px;
            color: #555;
        }
        .policy-section li {
            margin-bottom: 8px;
        }