/* モーダル対応のためのコンテナ */
.card-container {
    --card-width: 600px;
    width: var(--card-width);
    max-width: var(--card-width);
    margin: 0 auto;
    background: #fff;
    /*    border-radius: 12px; */
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    --title-bar-height: 64px;
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
}

/* ヘッダーセクション */
.header-top-belt {
    width: 100%;
    height: 10px;
}

.header-section {
    background: linear-gradient(135deg, #8B7FC7 0%, #7B6FB3 100%);
    color: #fff;
    text-align: center;
    padding: 24px 20px;
    margin-bottom: 5px;
    height: var(--title-bar-height);
}

.header-title-en {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.4em;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 8px;
}

.header-title-jp {
    font-size: 1.1em;
    font-weight: 500;
    opacity: 0.95;
}

/* サブヘッダー */
.subheader-section {
    background: linear-gradient(135deg, #6B6B6B 0%, #5A5A5A 100%);
    color: #fff;
    text-align: center;
    padding: 16px 20px;
    height: var(--title-bar-height);
}

.subheader-title-jp {
    font-size: 1.1em;
    font-weight: 500;
    margin-bottom: 4px;
}

.subheader-title-en {
    font-size: 1em;
    font-weight: 500;
    opacity: 0.9;
}

/* カードセクション */
.cards-section {
    padding: 32px 24px;
}

.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    margin-bottom: 24px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:last-child {
    margin-bottom: 0;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.card-content {
    display: flex;
    align-items: center;
    padding: 24px;
}

.card-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    margin-right: 20px;
    flex-shrink: 0;
}

.card-text {
    flex: 1;
}

.card-title {
    font-size: 1.3em;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}

.card-subtitle {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 12px;
}

.card-description {
    display: flex;
    align-items: center;
    font-size: 0.95em;
    color: #555;
}

.card-description::before {
    content: "●";
    margin-right: 8px;
    color: #333;
}

/* ボタンセクション */
.button-section {
    text-align: center;
    padding: 24px;
    background: #f8f9fa;
}

.go-website-btn {
    display: inline-block;
    background: linear-gradient(135deg, #4A4A4A 0%, #333333 100%);
    color: #fff;
    padding: 12px 32px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1em;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.go-website-btn:hover {
    background: linear-gradient(135deg, #333333 0%, #222222 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .card-container {
        margin: 0px;
        /*    max-width: none;*/
    }

    .header-section {
        padding: 20px 16px;
        height: var(--title-bar-height);
    }

    .header-title-en {
        font-size: 1.2em;
    }

    .header-title-jp {
        font-size: 1em;
    }

    .subheader-section {
        padding: 14px 16px;
        height: var(--title-bar-height);
    }

    .cards-section {
        padding: 24px 16px;
    }

    .card-content {
        padding: 20px 16px;
        flex-direction: column;
        text-align: center;
    }

    .card-image {
        margin-right: 0;
        margin-bottom: 16px;
    }

    .card-description {
        justify-content: center;
    }

    .button-section {
        padding: 20px 16px;
    }

    .go-website-btn {
        padding: 10px 24px;
        font-size: 0.95em;
    }
}

/* モーダル用のスタイル（将来的な使用のため） */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: #fff;
    border-radius: 6px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: scale(1);
}