:root {
    --bg-color: #f0f2f5;
    --card-bg: #ffffff;
    --text-main: #1a1a1b;
    --accent: #27ae60;
    --danger: #e74c3c;
    --warning: #f1c40f;
    --radius: 12px;
}

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; 
    margin: 0; 
    background: var(--bg-color); 
    color: var(--text-main); 
    line-height: 1.4;
}

.container { 
    padding: 12px; 
    max-width: 600px; 
    margin: auto; 
}

h1 { 
    font-size: 1.4rem; 
    text-align: center; 
    margin: 20px 0 10px; 
    color: #333;
}

.lead-text {
    font-size: 0.85rem;
    color: #555;
    text-align: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

.kana-group { margin-bottom: 25px; }
.kana-title { 
    font-size: 0.9rem; 
    font-weight: bold; 
    color: #666; 
    margin: 0 0 10px 5px; 
    border-left: 4px solid var(--accent); 
    padding-left: 8px; 
}

.card {
    background: var(--card-bg); 
    border-radius: var(--radius); 
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06); 
    overflow: hidden;
}

.card-main {
    display: grid; 
    grid-template-columns: 45px 1fr 65px 55px 40px;
    align-items: center; 
    padding: 12px 8px; 
    gap: 6px;
}

.notice-toggle {
    font-size: 0.65rem;
    font-weight: bold;
    color: #ccc;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 4px 0;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.notice-toggle.active {
    color: var(--danger);
    border-color: var(--danger);
    background: #fff5f5;
}

.stadium-name-btn { 
    font-size: 0.95rem; 
    font-weight: bold; 
    padding: 8px 2px;
    border: 2px solid #ddd;
    border-radius: 6px;
    text-align: center;
    background: #fff;
    cursor: pointer;
}
.stadium-name-btn:active { background: #f0f0f0; transform: scale(0.98); }

.detail-btn {
    background: #333; 
    color: #fff; 
    padding: 8px 0;
    border-radius: 6px; 
    font-size: 0.8rem; 
    font-weight: bold;
    text-align: center; 
    text-decoration: none;
    display: block;
}

.weather-info { text-align: center; font-size: 0.85rem; }
.temp-info { text-align: right; font-weight: bold; font-size: 0.95rem; color: #d35400; }

.card-details { 
    display: none; 
    padding: 0 15px 20px 15px; 
    border-top: 1px solid #eee; 
    background: #fafafa; 
}
.card.active .card-details { display: block; }

.track-box {
    margin-top: 15px; 
    padding: 25px 15px; 
    background: #fff; 
    border-radius: 10px;
    text-align: center; 
    position: relative; 
    border: 1px solid #eee;
}

.track-label { font-size: 0.7rem; color: #999; margin-bottom: 25px; display: block; font-weight: bold; }

.straight-line {
    height: 40px; 
    background: #7f8c8d; 
    border-radius: 4px;
    position: relative; 
    display: flex; 
    align-items: center; 
    justify-content: flex-end;
    margin: 0 10px;
}

.finish-line { width: 8px; height: 100%; background: #fff; border-right: 6px solid var(--danger); }
.goal-text { position: absolute; top: -22px; right: -5px; color: var(--danger); font-size: 10px; font-weight: bold; }

.wind-arrow {
    position: absolute; 
    font-size: 50px; 
    width: 50px; 
    height: 50px;
    line-height: 50px; 
    left: 50%; 
    margin-left: -25px; 
    top: -5px;
    transition: transform 0.6s ease;
}

/* 矢印を太くして視認性をアップ */
.detail-arrow {
    font-size: 2.8rem;
    font-weight: 900; /* 太さを最大に */
    display: inline-block;
    line-height: 1;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1); /* 軽く影をつけて背景から浮かす */
}

.result-text { margin-top: 25px; font-weight: bold; font-size: 1.2rem; }
.sub-text { font-size: 0.8rem; color: #777; margin-top: 5px; }

footer {
    margin-top: 40px;
    padding: 20px 10px;
    background: #e9ecef;
    font-size: 0.75rem;
    color: #666;
    border-radius: 8px;
}