/* ===== チョモランマ サイト共通CSS =====
   各ページの見た目はHTML内のインラインstyleで定義しています。
   ここにはスマホ対応（レスポンシブ）と全体の基本設定だけを置いています。 */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;font-family:'Noto Sans JP','Hiragino Sans','Yu Gothic',sans-serif}
a{color:#1D5FD1;text-decoration:none}
a:hover{color:#0B3C9C}
a[href]:hover{opacity:.92}
input:focus,select:focus,textarea:focus{outline:2px solid #1D6FE8;outline-offset:1px}
img,svg{max-width:100%}
html{scroll-behavior:smooth}

/* グリッド（列数はHTML側の class="grid grid-N" で指定） */
.grid-2{grid-template-columns:repeat(2,minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.grid-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.grid-5{grid-template-columns:repeat(5,minmax(0,1fr))}

/* タブレット */
@media (max-width: 1024px){
  .grid-5{grid-template-columns:repeat(3,minmax(0,1fr)) !important}
  .grid-4{grid-template-columns:repeat(2,minmax(0,1fr)) !important}
  .hero-h1{font-size:42px !important}
  h2{font-size:30px !important}
}
/* スマホ */
@media (max-width: 720px){
  .grid-2,.grid-3,.grid-4,.grid-5{grid-template-columns:repeat(1,minmax(0,1fr)) !important}
  .hero-h1{font-size:32px !important}
  h1{font-size:30px !important}
  h2{font-size:24px !important}
  h2 br,.hero-h1 br{display:none}
  header > div{height:auto !important;padding:12px 16px !important;gap:12px !important}
  header nav{gap:14px !important;font-size:13px !important;order:3;width:100%}
  section > div{padding-left:16px !important;padding-right:16px !important}
  table{font-size:13px !important}
  th,td{padding:10px 12px !important}
  footer > div{padding:40px 16px 24px !important}
}

/* flexの箇条書き内で <strong> が別カラムに分かれないようにする */
li[style*="display: flex"] > strong{display:contents}
