body {
    font-family: 'Helvetica', sans-serif;
    background: linear-gradient(135deg, #fef8f8, #ffe6f0);
    color: #333;
    padding: 1.5rem;
    overflow-x: hidden;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    animation: fadeIn 1.5s ease-in-out;
}

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

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

.header {
    border-bottom: 2px dashed #f48fb1;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    margin-top: 2rem;
}

.header h1 {
    font-size: 2.5rem;
    color: #d81b60;
    margin-bottom: 1rem;
}

@media(max-width:768px) {
    .header h1 {
        font-size: 1.6rem;
    }

    .name-en {
        display: block;
        font-size: 1rem;
        margin-top: 8px;
        margin-left: 32px;
    }
}

.header .title {
    font-size: 1.8rem;
    color: #6a1b9a;
}

.top-content {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

@media(max-width:768px) {
    .top-content {
        gap: 0rem;
    }
}

.chart-area,
.photo-area {
    flex: 1 1 300px;
    min-width: 280px;
    text-align: center;
}

.photo-area img {
    width: 100%;
    transition: transform 0.2s ease-out;
}

.photo-area img:hover {
    transform: scale(1.3);
}

.video-section iframe {
    width: 80%;
    height: 400px;
    display: block;
    border: 3px solid #f48fb1;
    margin: 0 auto 64px;
}

@media(max-width:768px) {
    .video-section iframe {
        width: 100%;
        height: 220px;
        border: 2px solid #f48fb1;
        margin: 0 auto 48px;
    }

    .back-button {
        padding: 1em;
        font-size: 1rem;
        border-radius: 3px;
        width: 240px;
    }
}

.button-section {
    text-align: center;
    margin-bottom: 2rem;
}

.back-button {
    display: inline-block;
    padding: 1.2em;
    font-size: 1.4rem;
    background: #f48fb1;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    width: 320px;
    font-weight: bold;
    transition: background 0.3s;
}

.back-button:hover {
    background: #f06292;
}

@media (max-width: 768px) {
    .top-content {
        flex-direction: column;
    }
}


@media (max-width: 768px) {
    .top-content {
        flex-direction: column;
    }

    .photo-area {
        order: -1;
        /* 写真を上にする */
    }

    .chart-area {
        order: 1;
    }
}

@media(max-width:768px) {
    #radarChart {
        width: 100%;
        height: auto;
    }
}

.video-section video {
   width: 100%;
   margin: 0 auto 48px;
   border: 1px ridge #000;
}