body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    background-color: #fffeec;
    scroll-behavior: smooth;
}

header {
    background-color: #cb213c;
    color: #fffeec;
    padding: 40px 20px;
    text-align: center;
}

nav {
    position: sticky;
    top: 0;
    background-color: #911a2e;
    padding: 15px 0;
    text-align: center;
    z-index: 999;
}

nav a {
    color: white;
    text-decoration: none;
    margin: 0 20px;
    font-weight: bold;
    font-size: 16px;
}

nav a:hover {
    text-decoration: underline;
}

section {
    margin: 60px auto;
    padding: 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    width: 90%;
    max-width: 800px;
    animation: fadeIn 1s ease-in;
}

h2,
h3 {
    margin-top: 30px;
    margin-bottom: 20px;
    color: #333;
    border-bottom: 2px solid #cb213c;
    padding-bottom: 8px;
}

ul,
ol,
p {
    line-height: 1.9;
    margin: 12px 0 24px;
    font-size: 16px;
}

.profile-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 30px;
}

.card {
    flex: 1 1 220px;
    background: #fff8f8;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.1);
}

.faq {
    margin-top: 30px;
}

.faq label {
    display: block;
    background: #f2f2f2;
    padding: 15px;
    margin-bottom: 8px;
    cursor: pointer;
    border-radius: 5px;
    font-weight: bold;
}

.faq input[type="checkbox"] {
    display: none;
}

.faq .answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    background: #fff5f0;
    padding: 0 15px;
    border-left: 4px solid #cb213c;
    border-radius: 5px;
}

.faq input[type="checkbox"]:checked+.answer {
    max-height: 200px;
    padding: 15px;
    margin-bottom: 10px;
}

footer {
    background: #b3b5b4;
    color: #fffeec;
    text-align: center;
    padding: 25px;
    font-size: 14px;
    margin-top: 60px;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #cb213c;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.back-to-top:hover {
    background-color: #a8182d;
}

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

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

@media screen and (max-width: 600px) {
    nav a {
        display: block;
        margin: 10px 0;
    }

    .profile-container {
        flex-direction: column;
    }

    section {
        padding: 30px 20px;
    }
}