.weather-page {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 22px 0 48px;
}

.weather-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    color: #64748b;
    font-size: .875rem;
}

.weather-breadcrumb a { color: #1d4ed8; }

.weather-page-heading {
    margin-bottom: 20px;
    padding: 24px;
    border: 1px solid #bfdbfe;
    border-radius: 14px;
    background: linear-gradient(135deg, #eff6ff, #f8fafc);
}

.weather-page-heading--tottori { border-left: 6px solid #2563eb; }
.weather-page-heading--shimane { border-left: 6px solid #0f766e; }

.weather-page-kicker {
    margin: 0 0 5px;
    color: #1d4ed8;
    font-size: .85rem;
    font-weight: 700;
}

.weather-page-heading h1 {
    margin: 0;
    color: #0f172a;
    font-size: clamp(1.45rem, 4vw, 2rem);
    line-height: 1.35;
}

.weather-page-heading p:last-child { margin: 10px 0 0; }

.weather-prefecture-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.weather-prefecture-card {
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid #cbd5e1;
    border-top: 5px solid #2563eb;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 5px 16px rgba(15, 23, 42, .07);
}

.weather-prefecture-card--shimane { border-top-color: #0f766e; }
.weather-prefecture-card h2 { margin: 2px 0 8px; font-size: 1.25rem; }
.weather-prefecture-card p { margin: 0 0 16px; }
.weather-prefecture-label { color: #64748b; font-size: .8rem; font-weight: 700; }

.weather-prefecture-card a,
.weather-local-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 14px;
    border-radius: 8px;
    background: #1d4ed8;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.weather-prefecture-card a { margin-top: auto; }
.weather-prefecture-card--shimane a { background: #0f766e; }

.weather-local-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 18px;
}

.weather-local-nav a { background: #475569; }

.weather-guide,
.weather-source-note {
    margin-top: 22px;
    padding: 16px 18px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #334155;
}

.weather-guide h2 { margin: 0 0 8px; font-size: 1.1rem; }
.weather-guide p, .weather-source-note { line-height: 1.75; }

.tv-wind-wave {
    margin-top: 5px;
    color: #475569;
    font-size: .78rem;
    line-height: 1.45;
}

.tv-hourly,
.tv-weekly,
.tv-detail-tools,
.tv-typhoon {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid #dbeafe;
    border-radius: 10px;
    background: #f8fafc;
}

.tv-typhoon { border-color: #fdba74; background: #fff7ed; }
.tv-typhoon-heading { margin-bottom: 12px; color: #9a3412; font-size: 1.15rem; font-weight: 800; }
.tv-typhoon-card { padding: 14px; border: 1px solid #fed7aa; border-radius: 9px; background: #fff; }
.tv-typhoon-card + .tv-typhoon-card { margin-top: 10px; }
.tv-typhoon-card h3 { margin: 0; color: #9a3412; font-size: 1.05rem; }
.tv-typhoon-class { margin: 5px 0 0; color: #c2410c; font-weight: 700; }
.tv-typhoon-data { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; margin: 12px 0 0; overflow: hidden; border: 1px solid #fed7aa; border-radius: 7px; background: #fed7aa; }
.tv-typhoon-data > div { display: grid; grid-template-columns: 8em 1fr; background: #fff; }
.tv-typhoon-data dt, .tv-typhoon-data dd { margin: 0; padding: 8px; }
.tv-typhoon-data dt { background: #fff7ed; font-weight: 700; }
.tv-typhoon-headline { margin: 12px 0 0; line-height: 1.7; }
.tv-typhoon > .tv-related-link { margin-top: 12px; }

.tv-hourly h4,
.tv-weekly h3,
.tv-detail-tools h3 { margin: 0 0 10px; color: #1e3a8a; }

.tv-hourly-note,
.tv-weekly-note { margin: -3px 0 10px; color: #64748b; font-size: .78rem; }

.tv-hourly-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
    gap: 7px;
}

.tv-hourly-item {
    padding: 9px 7px;
    border: 1px solid #e2e8f0;
    border-radius: 7px;
    background: #fff;
    text-align: center;
}

.tv-hourly-item span,
.tv-hourly-item strong { display: block; }
.tv-hourly-item span { color: #64748b; font-size: .76rem; }
.tv-hourly-item strong { margin-top: 3px; color: #0284c7; }

.tv-weekly-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(125px, 1fr));
    gap: 9px;
}

.tv-weekly-card {
    padding: 12px 9px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    text-align: center;
}

.tv-weekly-icon { margin: 6px 0 2px; font-size: 1.6rem; }
.tv-weekly-weather { min-height: 2.8em; font-weight: 700; }
.tv-weekly-meta { display: grid; gap: 3px; margin-top: 7px; font-size: .78rem; }

.tv-detail-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.tv-detail-tools-grid a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 8px;
    border-radius: 7px;
    background: #e0f2fe;
    color: #075985;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

@media (max-width: 680px) {
    .weather-page { width: min(100% - 20px, 1120px); padding-top: 14px; }
    .weather-page-heading { padding: 18px 16px; }
    .weather-prefecture-grid { grid-template-columns: 1fr; }
    .weather-local-nav { display: grid; grid-template-columns: 1fr; }
    .tv-detail-tools-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tv-typhoon-data { grid-template-columns: 1fr; }
    .tv-typhoon-data > div { grid-template-columns: 7.5em 1fr; }
}
