#m_contents a.btn { display:inline-block; box-sizing:border-box; padding:10px 14px; margin:4px 4px 4px 0; border-radius:4px; background:#134ea7; color:#fff; text-decoration:none; text-align:center; font-size:14px; line-height:1.4; }
#m_contents a.btn:hover, #m_contents a.btn:focus { background:#0b3679; text-decoration:underline; }
.item-table-scroll { max-width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; }
@media screen and (max-width: 767px) {
  #container, #general, #wrapper, #inline, #main_area, #main_inline, #m_contents { box-sizing:border-box; width:100% !important; min-width:0 !important; max-width:100% !important; float:none !important; }
  #m_contents { padding:0 10px; }
  #title img { max-width:100%; height:auto; }
  #m_contents a.btn { min-height:44px; }
  .item-table-scroll { margin-bottom:16px; border-right:1px solid #ccc; }
  .item-table-scroll table { width:max-content !important; min-width:100%; }
  .item-table-scroll td { min-width:65px; padding:6px 4px; }
  .item-table-scroll td:first-child { min-width:120px; position:sticky; left:0; z-index:1; background:#e3f1fa; }
}
/* 地区とアイテムの選択ボタン */
#m_contents a.btn[href^="list0"] { position:relative; background:#fff; color:#003a9b; border:2px solid #003a9b; border-radius:0; font-weight:bold; line-height:1.3; }
#m_contents a.btn[href^="list0"]::after { content:""; position:absolute; right:-2px; top:-2px; border-top:10px solid #fff; border-left:10px solid #003a9b; }
#m_contents a.btn[href^="#"] { background:#fff9e6; color:#e98300; border:1px solid #f6ad32; border-radius:0; font-weight:bold; }
#m_contents a.btn[href^="#"]::after { content:" ›"; font-size:1.3em; line-height:0; }
#m_contents a.btn:hover, #m_contents a.btn:focus-visible { filter:brightness(.92); text-decoration:underline; }
@media screen and (max-width:767px) {
  #m_contents a.btn[href^="list0"], #m_contents a.btn[href^="#"] { width:calc(50% - 6px); vertical-align:middle; }
}
/* 元の画像ボタン */
#m_contents a.btn[href^="list0"], #m_contents a.btn[href^="#"] { padding:0; border:0; background:transparent; min-height:0; }
#m_contents a.btn[href^="list0"]::after, #m_contents a.btn[href^="#"]::after { content:none; }
#m_contents a.btn img { display:block; max-width:100%; height:auto; }
/* 地区選択 */
#m_contents a.btn[href^="list0"] { display:inline-flex; align-items:center; justify-content:center; position:relative; box-sizing:border-box; min-height:44px; padding:6px 12px; background:#fff; border:2px solid #003a9b; color:#003a9b; border-radius:0; font-weight:bold; line-height:1.25; text-align:center; }
#m_contents a.btn[href^="list0"]::after { content:""; position:absolute; right:-2px; top:-2px; border-top:9px solid #fff; border-left:9px solid #003a9b; }
@media screen and (max-width:767px) {
  #m_contents a.btn[href^="list0"] { display:inline-flex !important; visibility:visible !important; opacity:1 !important; text-indent:0 !important; font-size:14px !important; color:#003a9b !important; overflow:visible; height:auto !important; }
}
@media screen and (max-width:767px) {
  #m_contents a.btn[href^="list0"] {
    background: #fff !important;
    border: 2px solid #003a9b !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 8px 12px !important;
    min-height: 48px !important;
    box-sizing: border-box !important;
  }
}
#m_contents a.btn:hover { text-decoration: none; }
@media screen and (max-width:767px) {
  #m_contents a.btn[href^="list0"] { height:64px !important; display:inline-flex !important; align-items:center; justify-content:center; flex-direction:column; vertical-align:middle; font-size:clamp(11px, 3.1vw, 14px) !important; line-height:1.3 !important; padding:4px !important; }
  #m_contents a.btn[href^="list0"] br { display:block; content:""; }
}
/* 地区ボタンを画面幅に合わせて整列 */
#m_contents .region-links { display:grid; grid-template-columns:1.15fr 1.45fr 1.5fr .75fr .75fr 1.15fr; gap:5px; width:100%; }
#m_contents .region-links a.btn { display:flex !important; flex-direction:column; align-items:center; justify-content:center; width:auto !important; height:64px !important; min-width:0 !important; margin:0 !important; padding:4px !important; font-size:clamp(10px, 1.05vw, 14px) !important; line-height:1.3 !important; }
@media screen and (max-width:767px) {
  #m_contents .region-links { grid-template-columns:repeat(2, minmax(0, 1fr)); gap:6px; }
  #m_contents .region-links a.btn { font-size:clamp(11px, 3.1vw, 14px) !important; }
}
#m_contents .region-links a.btn { font-size:clamp(9px, .9vw, 12px) !important; word-break:keep-all; overflow-wrap:normal; }
@media screen and (max-width:767px) {
  #m_contents .region-links a.btn { font-size:clamp(9px, 2.6vw, 12px) !important; }
}
@media screen and (max-width:767px) {
  #m_contents .region-links a.btn { font-size:clamp(10px, 3vw, 14px) !important; }
}
@media screen and (max-width:767px) {
  #m_contents .region-links a.btn { font-size:clamp(11px, 3.3vw, 15px) !important; }
}
#m_contents .region-links a.btn { height:48px !important; }
#m_contents .item-links { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:5px; }
#m_contents .item-links a.btn { display:flex !important; align-items:center; justify-content:center; position:relative; box-sizing:border-box; width:auto !important; min-height:36px !important; height:auto !important; margin:0 !important; padding:5px 16px 5px 4px !important; border:1px solid #f6ad32 !important; background:#fff9e6 !important; color:#e98300 !important; font-size:clamp(9px,.9vw,12px) !important; font-weight:bold; line-height:1.3; text-align:center; text-indent:0 !important; text-decoration:none; }
#m_contents .item-links a.btn::after { content:"›"; position:absolute; right:5px; top:50%; transform:translateY(-50%); font-size:20px; line-height:1; }
@media screen and (max-width:767px) {
  #m_contents .item-links { grid-template-columns:repeat(2,minmax(0,1fr)); gap:6px; }
  #m_contents .item-links a.btn { min-height:44px !important; font-size:clamp(11px,3.3vw,15px) !important; }
}
#m_contents .item-links a.btn { min-height:28px !important; padding-top:2px !important; padding-bottom:2px !important; }
@media screen and (max-width:767px) {
  #m_contents .item-links a.btn { min-height:36px !important; }
}
