@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic:wght@400;500;700&display=swap');

:root {
    --mint: #5ACBC0;
    --blue-gray: #BCBFD3;
    --light-gray: #DDDDDD;
    --navy: #323651;
    --white: #FFFFFF;
}

* {
    box-sizing: border-box;
    font-family: 'Zen Maru Gothic', sans-serif;
}

body {
    background-color: #fcfcfc;
    color: var(--navy);
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ヘッダー：左タイトル・右メニュー */
header {
    background-color: var(--white);
    border-bottom: 2px solid var(--mint);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-logo {
    color: var(--mint);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 0.05em;
}

header nav a {
    color: var(--navy);
    text-decoration: none;
    margin-left: 20px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
}

header nav a:hover {
    color: var(--mint);
}

/* メインコンテンツ */
main {
    flex: 1;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* 進捗バー */
.progress-container {
    width: 100%;
    background: var(--light-gray);
    height: 12px;
    border-radius: 10px;
    margin-bottom: 50px;
    overflow: hidden;
}

#progress-bar {
    width: 0%;
    height: 100%;
    background: var(--mint);
    transition: width 0.4s ease;
}

/* 質問エリア */
.question-block {
    margin-bottom: 60px;
    text-align: center;
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.question-text {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.6;
}

/* 回答オプション */
.answer-options {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(10px, 3vw, 20px);
}

.option-label {
    font-size: 0.85rem;
    color: var(--mint);
    font-weight: 700;
}

/* ラジオボタン：初期選択なし・ホバー反応 */
input[type="radio"] {
    appearance: none;
    width: 38px;
    height: 38px;
    border: 2px solid var(--light-gray);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s all;
    background: var(--white);
}

input[type="radio"]:hover {
    border-color: var(--mint);
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(90, 203, 192, 0.3);
}

input[type="radio"]:checked {
    background-color: var(--mint);
    border-color: var(--mint);
    box-shadow: inset 0 0 0 4px var(--white);
}

/* ボタン */
.btn-area { text-align: center; margin-top: 40px; }
.btn {
    display: inline-block;
    padding: 16px 60px;
    background: var(--mint);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 4px 0 #48a39a;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #48a39a;
    opacity: 0.95;
}
.btn:active {
    transform: translateY(2px);
    box-shadow: none;
}

/* 結果表示 */
.result-card {
    border: 4px solid var(--mint);
    padding: 40px 30px;
    border-radius: 30px;
    background: var(--white);
}
.result-card h2 { color: var(--mint); font-size: 2rem; margin: 10px 0; }
.recommend-section {
    margin-top: 30px;
    background: #f0fdfb;
    padding: 20px;
    border-radius: 15px;
}

footer {
    background-color: var(--navy);
    color: var(--white);
    padding: 20px;
    text-align: center;
    font-size: 0.8rem;
}