.tabidachi-page { padding-bottom: 76px; background: #fff; }
.tabidachi-content { margin: 0 auto; padding: 20px 15px 40px; }
.tabidachi-content h2:not(.content-page-title) { margin: 68px 0 24px; padding-bottom: 14px; border-bottom: 2px solid var(--rbc-main); font-size: clamp(21px, 2.3vw, 27px); line-height: 1.45; }
.tabidachi-content h3 { margin: 44px 0 14px; padding-left: 20px; font-size: clamp(18px, 2vw, 22px); line-height: 1.5; }
.tabidachi-content h3::before { content: ""; display: inline-block; width: 9px; height: 9px; margin: 0 11px 3px -20px; background: var(--rbc-main); border-radius: 50%; }
.tabidachi-content h4 { margin: 0 0 12px; font-size: 16px; line-height: 1.6; }
.tabidachi-content p { margin: 0 0 1.5em; line-height: 2; }
.tabidachi-content a { color: #1c59ae; text-decoration: underline; }
.tabidachi-lead { padding: clamp(22px, 4vw, 36px); background: #edf4ff; border-radius: 10px; }
.tabidachi-lead p { font-size: clamp(15px, 1.7vw, 17px); }
.tabidachi-lead p:last-child { margin-bottom: 0; }
.tabidachi-signature { text-align: right; }
.tabidachi-voices { display: grid; gap: 16px; }
.tabidachi-voice { margin: 0; padding: 24px; border-radius: 10px; font-weight: 700; line-height: 1.8; }
.tabidachi-voice--green { background: #ccffc1; }
.tabidachi-voice--blue { background: #d5edff; }
.tabidachi-voice--pink { background: #ffd0d0; }
.tabidachi-video { width: min(100%, 1000px); aspect-ratio: 16 / 9; margin: 32px auto; }
.tabidachi-video iframe { width: 100%; height: 100%; border: 0; }
.tabidachi-news { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 24px; }
.tabidachi-news article { padding: 18px; background: #f5f8fc; border-radius: 8px; }
.tabidachi-news .tabidachi-video { margin: 14px 0 0; }
.tabidachi-total { color: #d63638; font-size: 1.08em; font-weight: 700; }
.tabidachi-years { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 28px 0; }
.tabidachi-years a { display: grid; min-height: 52px; place-items: center; color: #172549; background: #eef3fc; border: 1px solid #d4deef; border-radius: 5px; font-weight: 700; text-decoration: none; }
.tabidachi-years a:hover { color: #fff; background: var(--rbc-main); }
.tabidachi-modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; background: rgb(0 0 0 / 75%); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.tabidachi-modal:target { opacity: 1; visibility: visible; }
.tabidachi-modal__panel { position: relative; width: min(900px, 100%); max-height: min(80vh, 800px); overflow: auto; padding: clamp(26px, 5vw, 48px); background: #fff; border-radius: 8px; }
.tabidachi-modal__panel h2 { margin-top: 0; }
.tabidachi-modal__close { position: sticky; z-index: 1; top: -20px; float: right; display: grid; width: 36px; height: 36px; margin: -14px -14px 0 16px; place-items: center; color: #fff !important; background: var(--rbc-main); border-radius: 50%; font-size: 24px; line-height: 1; text-decoration: none !important; }
@media (max-width: 700px) { .tabidachi-content { padding: 12px 12px 28px; } .tabidachi-content h2:not(.content-page-title) { margin-top: 50px; } .tabidachi-news { grid-template-columns: 1fr; } .tabidachi-years { grid-template-columns: repeat(2, 1fr); } .tabidachi-content p { line-height: 1.85; } }
