:root {
    --primary: #c5a55a;
    --primary-dark: #b08d3e;
    --primary-light: #faf6ee;
    --accent: #d44d4d;
    --accent-light: #fdf0f0;
    --success: #06C755;
    --line: #06C755;
    --light: #fdfcfa;
    --dark: #3a332c;
    --white: #FFFFFF;
    --border: #e8e0d4;
    --text: #4a4540;
    --text-light: #8a8278;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 2px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
    --gradient-warm: linear-gradient(135deg, #c5a55a 0%, #d4b86a 100%);
}

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

body {
    font-family: 'Hiragino Sans','Hiragino Kaku Gothic ProN','Noto Sans JP','Yu Gothic',Meiryo,sans-serif;
    color: var(--text); background: var(--light); line-height: 1.8; min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.container { max-width: 720px; margin: 0 auto; padding: 0 24px; }

.navbar {
    background: rgba(255,255,255,0.95); box-shadow: 0 1px 0 var(--border);
    padding: 16px 0; position: sticky; top: 0; z-index: 100;
}
.navbar__logo {
    font-size: 1.2rem; font-weight: 700;
    background: var(--gradient-warm);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Hero (start) */
.hero { padding: 60px 16px; text-align: center; }
.hero__label {
    display: inline-block; padding: 6px 16px; background: var(--primary-light);
    color: var(--primary-dark); border-radius: 999px; font-size: 0.85rem;
    font-weight: 600; margin-bottom: 24px;
}
.hero h1 { font-size: 2rem; line-height: 1.4; color: var(--dark); margin-bottom: 20px; }
.hero h1 em {
    font-style: normal;
    background: var(--gradient-warm);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--text-light); font-size: 1rem; margin-bottom: 36px; }

/* Button */
.btn {
    display: inline-block; padding: 14px 32px; border: none;
    background: var(--primary); color: var(--white);
    border-radius: 999px; font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.btn:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; box-shadow: none; }
.btn--lg { padding: 18px 48px; font-size: 1.1rem; }

/* Checklist */
.checklist { padding: 40px 0 80px; }
.checklist__heading {
    font-size: 1.3rem; font-weight: 700; color: var(--dark);
    text-align: center; margin-bottom: 28px; line-height: 1.6;
}
.checklist__items { display: flex; flex-direction: column; gap: 12px; margin-bottom: 36px; }
.check-item {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 16px 18px; background: var(--white); border: 2px solid var(--border);
    border-radius: var(--radius); cursor: pointer; transition: all 0.18s;
    text-align: left; line-height: 1.6; color: var(--text); font-size: 0.95rem;
    width: 100%; font-family: inherit;
}
/* hover はマウス環境のみ（スマホで色が残らないように） */
@media (hover: hover) {
    .check-item:hover { background: var(--primary-light); border-color: var(--primary); }
}
.check-item.is-checked { background: var(--primary-light); border-color: var(--primary); }
.check-item__box {
    flex-shrink: 0; width: 24px; height: 24px; border: 2px solid var(--border);
    border-radius: 6px; background: var(--white); margin-top: 2px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.9rem; color: var(--white); transition: all 0.18s;
}
.check-item.is-checked .check-item__box {
    background: var(--primary); border-color: var(--primary);
}
.check-item__num { font-weight: 700; color: var(--primary-dark); margin-right: 4px; }

#btn-result { display: block; margin: 0 auto; }

/* Result */
.result { padding: 48px 0 80px; text-align: center; }
.result__badge { font-size: 3rem; margin-bottom: 8px; }
.result__count { font-size: 1rem; color: var(--text-light); margin-bottom: 12px; }
.result__count strong { font-size: 1.6rem; color: var(--primary-dark); font-weight: 700; }
.result__headline {
    font-size: 1.25rem; font-weight: 700; color: var(--dark);
    margin-bottom: 28px; line-height: 1.7;
}
.result__headline.is-danger { color: var(--accent); }
.result__body {
    background: var(--white); padding: 24px 20px; border-radius: var(--radius-lg);
    text-align: left; box-shadow: var(--shadow); margin-bottom: 24px;
}
.result__section-title {
    font-size: 0.95rem; font-weight: 700; color: var(--text-light);
    margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.result-item { padding: 12px 0; border-bottom: 1px dashed var(--border); }
.result-item:last-child { border-bottom: none; }
.result-item__label { font-weight: 700; color: var(--dark); font-size: 0.95rem; margin-bottom: 4px; }
.result-item__label .num { color: var(--primary-dark); margin-right: 6px; }
.result-item__why { color: var(--text-light); font-size: 0.9rem; line-height: 1.7; }
.result-item__why::before { content: "→ "; }
.result__none {
    background: var(--white); padding: 28px 20px; border-radius: var(--radius-lg);
    box-shadow: var(--shadow); color: var(--text); font-size: 1rem; line-height: 1.9;
}

.footer {
    padding: 32px 0; text-align: center; color: var(--text-light);
    font-size: 0.85rem; border-top: 1px solid var(--border);
    margin-top: 40px; background: var(--white);
}

/* Responsive */
@media (max-width: 600px) {
    .hero { padding: 40px 16px; }
    .hero h1 { font-size: 1.6rem; }
    .checklist__heading { font-size: 1.1rem; }
    .check-item { padding: 14px 14px; font-size: 0.9rem; }
    .result__headline { font-size: 1.1rem; }
}
