﻿body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f2f8ff;
    margin: 0;
    padding: 0;
    color: #00325E;
}

.container {
    padding: 16px;
}

.top-area {
    background-color: #D1E9FF;
    padding: 20px;
    margin-bottom: 16px;
}



/* アマゾンカード入力モーダル */
.amazon-modal-dialog .modal-content {
    background-color: #D1E9FF;
}



/* 問題カード */
.card {
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

    /* 問題表題 */
    .card strong.exercise-title {
        margin-bottom: 6px;
        display: inline-flex;
        align-items: center;
        font-size: 16px;
    }

    .card .exercise-title .icon-circle {
        position: relative;
        display: inline-block;
        width: 28px;
        height: 28px;
        border-radius: 50%;
        background-color: white;
        margin-right: 12px;
    }

        .card .exercise-title .icon-circle img {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 16px;
            height: 16px;
        }

    .card .exercise-description {
        font-size:10px;
        margin-bottom: 2px;
        color: #000000;
    }

    .card .exercise-point {
        font-size: 10px;
        color: #3D3D3D;
        margin-bottom: 0px;
    }

.pass-count {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.badge-icon,
.badge-empty {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

    .badge-icon img {
        width: 24px;
        height: 24px;
        display: block;
    }

/* 未達は空の○ */
.badge-empty {
    background: #ffffff;
}


    /* 標準ボタン */
.base-button {
    display: flex;
    background-color: #00325E;
    color: white;
    padding: 16px;
    border-radius: 8px;
    justify-content: center; /* ← 中央寄せに変更 */
    align-items: center;
    font-size: 16px;
    cursor: pointer;
    width: 100%;
}

/* 新着アイコン */
.notice-icon{
    width:20px;
    height:20px;
}


/* ヘッダー　*/
.fixed-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 56px;
    background-color: #D1E9FF;
    z-index: 1000;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 12px;
    position: relative;
}

/* 左の戻るボタン */
.header-left {
    width: 50px;
    text-align: left;
}

.back-button {
    background: none;
    border: none;
    font-size: 20px;
    color: #007AFF; /* iOS風ブルー */
}

/* 中央タイトル */
.header-title {
    position: absolute;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    color: #00325D;
    pointer-events: none; /* ← これで下の要素がクリック可能になる */
}

/* 右側のスペース（将来用にアイコン追加可） */
.header-right {
    width: 50px;
    text-align: right;
}

/* ヘッダー高さ分の余白 */
.header-spacer {
    height: 56px;
}

.back-button {
    background: none;
    border: none;
    padding: 0;
    display: flex;
    align-items: center;
    cursor: pointer;
}

    .back-button svg {
        width: 24px;
        height: 24px;
        stroke: #007AFF;
    }



.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 半透明の黒色 */
    z-index: 999; /* 他の要素よりも手前に表示 */
    cursor: wait;
}


.base-background-color {
    background-color: var(--base-color);
    color: white;
}

/* タイトル */
.kid-title {
    color: #fff;
    margin: 0;
}
