@charset "utf-8";
/* スマートフォン用（画面の幅が 700px 以下のときだけ効く） */
@media (max-width: 700px) {
  body{ width:auto; padding:0 16px; font-size:15px;}
  .head{ float:none; height:auto; padding:12px 0 8px;}
  .head a{ width:auto !important;}
  .head img{ width:150px; height:auto;}
  .foot{ float:none; width:auto !important; height:auto !important; line-height:1.6 !important; padding:6px 12px; margin:24px 0 16px !important; border-radius:16px !important;}

  /* トップページ */
  .ad{ float:none; height:auto; padding-bottom:8px;}
  .ad img{ width:100%; height:auto;}
  .content{ float:none; padding-top:16px; padding-bottom:8px !important;}
  .cols2{ width:auto !important;}
  .cols2 .content2, .cols2 .qt, .zp, .lx{ float:none !important; width:auto;}
  .qt{ margin-left:0 !important; margin-top:28px;}
  .lx{ margin-top:28px;}
  .con_hd{ float:none;}
  .con_z{ float:none; width:auto; padding:20px 0 0 15px !important;}
  .con_inp{ float:none; width:100%; height:auto; margin-bottom:10px;}
  .con_inp img{ display:block; width:100%; max-width:420px; height:auto;}
  .cols2 .con_text{ float:none; width:auto; height:auto !important; overflow:visible; padding-bottom:4px;}

  /* 会社案内などのページ：本文を先に、メニューを本文の下に2列で */
  .contenta{ float:none !important; width:auto !important; display:flex; flex-direction:column-reverse; padding-bottom:0 !important;}
  .zright{ float:none; width:auto !important;}
  .zrightn{ float:none; width:auto !important; padding:10px 0 0 !important;}
  .zrighth img, .zrighth2 img, .zrighth3 img, .zrightbr img{ max-width:100%; height:auto;}
  .zleft{ float:none; width:auto !important; padding:12px 0 0 !important; margin-top:28px; border-top:1px solid #dde2ea; display:grid; grid-template-columns:1fr 1fr; column-gap:10px;}
  .zlefth{ grid-column:1 / -1; float:none; width:auto;}
  .zleftn{ float:none; width:auto; padding-bottom:10px;}
  .zleftn img{ display:block; width:100%; height:auto;}
  .bg2 th{ padding-left:12px;}
  .rjyp{ margin-bottom:12px;}
}
