/* ========== PC用 ========== */
@media screen and (min-width: 769px) {
  .l-header__btn {
    display: none !important;
  }

  .menu {
    display: flex !important;
  }

  .l-header__inner {
    height: 60px;
    max-width: 960px;
    padding: 10px 40px 10px 20px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
    /* ロゴとメニューの間に間隔 */
  }
}

/* ========== スマホ用 ========== */
/* responsive.css */

@media (max-width: 768px) {

  /* 全体のパディング調整 */
  body {
    margin: 0;
    width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  .l-header__inner {
    display: flex;
    align-items: center;
    max-width: 100%;
    padding: 0 10px;
  }


  /* ヘッダーロゴ中央寄せ */
  .l-header__logo {
    text-align: center;
    margin: 10px;
  }

  .l-header__logo img {
    width: 80%;
    max-width: 300px;
    height: auto;
  }

  /* ハンバーガーボタン調整 */
  .l-header__btn {
    position: relative;
    display: block;
    margin-left: auto;
  }

  .l-header__btn-inner {
    background: none;
    border: none;
    padding: 10px;
    margin-bottom: 10px;
  }

  .l-header__btn-wrap {
    display: inline-block;
  }

  .l-header__btn-wrap .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 4px 0;
  }

  /* メニュー初期非表示 */
  .menu {
    display: none;
    flex-direction: column;
    padding-left: 0;
    margin-top: 10px;
    transition: transform 1s ease, opacity 1s ease;
  }

  .menu.open {
    display: flex;
    transition: max-height 0.8s ease-in;
  }

  .menu li {
    list-style: none;
    padding: 14px 20px;
    font-size: 17px;
    border-bottom: 1px solid #dcdcdc;
    transform: translateY(0);
    opacity: 1;
  }

  .menu li a {
    color: #000;
    text-decoration: none;
    font-weight: bold;
  }

  /* メインテーブルをブロックに変更 */
  .main-table,
  .content-table {
    width: 100% !important;
    max-width: 100%;
    padding: 0 10px;
    table-layout: fixed;
    border-collapse: collapse;
  }

  .main-table,
  .main-content {
    width: 100% !important;
    padding: 0 10px;
    box-sizing: border-box;
  }

  .main-table td,
  .content-table td {
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  /* 見出しの調整 */
  h2 {
    font-size: 18px;
    margin-top: 20px;
  }

  /* テキスト中央寄せ */
  .section p {
    text-align: left;
    padding: 0 5px;
  }

  /* 小さい画像も調整 */
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* フッターのテキストサイズ調整 */
  .footer {
    font-size: 12px;
    text-align: center;
  }

  /* 非表示 */

  .content-table td[rowspan="5"] {
    display: none;
  }

}