* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    background-color: #ffffff;
    color: #333333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.content {
    text-align: center;
    padding: 40px 20px;
}

/* 言語切り替え */
.content input[type="radio"] {
    display: none;
}

.language-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.lang-button {
    padding: 10px 24px;
    background-color: #f5f5f5;
    color: #666666;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 500;
    border: 2px solid transparent;
}

.lang-button:hover {
    background-color: #e8e8e8;
}

#lang-ja:checked ~ .language-buttons label[for="lang-ja"],
#lang-en:checked ~ .language-buttons label[for="lang-en"],
#lang-fr:checked ~ .language-buttons label[for="lang-fr"] {
    background-color: rgb(64, 171, 189);
    color: #ffffff;
    border-color: rgb(64, 171, 189);
}

/* 言語コンテンツ */
.language-content {
    display: none;
}

#lang-ja:checked ~ #content-ja,
#lang-en:checked ~ #content-en,
#lang-fr:checked ~ #content-fr {
    display: block;
}

.title {
    font-size: 28px;
    font-weight: 600;
    color: #000000;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.divider {
    width: 60px;
    height: 3px;
    background-color: rgb(64, 171, 189);
    margin: 0 auto 32px;
}

.intro {
    font-size: 17px;
    color: #000000;
    margin-bottom: 28px;
    font-weight: 500;
}

.message {
    font-size: 16px;
    color: #333333;
    margin-bottom: 20px;
    line-height: 1.8;
}

.image-container {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* タブレット・スマートフォン対応 */
@media (max-width: 768px) {
    .content {
        padding: 30px 15px;
    }

    .language-buttons {
        margin-bottom: 35px;
    }

    .lang-button {
        padding: 9px 20px;
        font-size: 13px;
    }

    .title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .divider {
        margin-bottom: 28px;
    }

    .intro {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .message {
        font-size: 15px;
    }

    .image-container {
        margin-top: 35px;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 20px 10px;
    }

    .language-buttons {
        margin-bottom: 30px;
        gap: 8px;
    }

    .lang-button {
        padding: 8px 16px;
        font-size: 13px;
    }

    .title {
        font-size: 22px;
        margin-bottom: 18px;
    }

    .divider {
        width: 50px;
        margin-bottom: 24px;
    }

    .intro {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .message {
        font-size: 14px;
    }

    .image-container {
        margin-top: 30px;
    }

    .image-container img {
        border-radius: 6px;
    }
}
