/* 最近の地震(/earthquake) */
.eq { max-width: 1180px; margin: 0 auto; padding: 16px 16px 32px; color: #1f2328; box-sizing: border-box; }
.eq *, .eq *::before, .eq *::after { box-sizing: border-box; }
.eq-head h1 { font-size: 24px; margin: 4px 0 6px; line-height: 1.3; }
.eq-head h1 small { font-size: 14px; color: #6b7280; margin-left: 10px; font-weight: normal; }
.eq-note { font-size: 13px; color: #4b5563; margin: 0 0 14px; line-height: 1.6; }
.eq-note a, .eq-credit a { color: #1d6fb8; }
.eq-empty { padding: 24px; background: #f6f7f9; border-radius: 8px; text-align: center; }

.eq-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.eq-map { height: 640px; border-radius: 8px; background: #e8ecf0; position: sticky; top: 12px; }
.eq-list-wrap { max-height: 640px; overflow-y: auto; border: 1px solid #e3e6ea; border-radius: 8px; }
.eq-list { list-style: none; margin: 0; padding: 0; }

.eq-item { display: flex; gap: 12px; padding: 12px 14px; border-bottom: 1px solid #eef0f3; background: #fff; }
.eq-item:last-child { border-bottom: 0; }
.eq-item.is-clickable { cursor: pointer; }
.eq-item.is-clickable:hover, .eq-item.is-clickable:focus { background: #f4f8fc; outline: none; }
.eq-item.is-active { background: #e9f2fb; }

.eq-scale { flex: 0 0 60px; height: 60px; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center;
    font-weight: bold; font-size: 18px; line-height: 1.1; color: #fff; background: #8a8f98; text-align: center; }
.eq-scale small { font-size: 10px; font-weight: normal; opacity: .9; }
.eq-scale--10 { background: #8fb8d8; }
.eq-scale--20 { background: #3c8fd0; }
.eq-scale--30 { background: #3aa66f; }
.eq-scale--40 { background: #e2c22b; color: #1f2328; }
.eq-scale--45, .eq-scale--46 { background: #f08a24; font-size: 15px; }
.eq-scale--50 { background: #e0561f; font-size: 15px; }
.eq-scale--55 { background: #d1242f; font-size: 15px; }
.eq-scale--60 { background: #a3122b; font-size: 15px; }
.eq-scale--70 { background: #6b0f5a; }
.eq-scale--46 { font-size: 11px; }

.eq-info { min-width: 0; }
.eq-info p { margin: 0; }
.eq-place { font-weight: bold; font-size: 15px; }
.eq-time { font-size: 13px; color: #4b5563; margin-top: 2px !important; }
.eq-meta { font-size: 13px; margin-top: 4px !important; }
.eq-meta span + span { margin-left: 12px; }
.eq-tsunami { font-size: 12px; color: #4b5563; margin-top: 4px !important; }
.eq-tsunami--alert { color: #b42318; font-weight: bold; }

.eq-iw { font-size: 13px; line-height: 1.5; }
.eq-iw strong { display: block; font-size: 14px; margin-bottom: 2px; }
.eq-credit { font-size: 12px; color: #6b7280; margin-top: 14px; }

@media (max-width: 768px) {
    .eq-body { grid-template-columns: 1fr; }
    .eq-map { height: 360px; position: static; }
    .eq-list-wrap { max-height: none; overflow: visible; }
    .eq-head h1 { font-size: 20px; }
}
