        /* ベーススタイル */
html {
  scrollbar-gutter: stable;
}
body {
    font-family: Meiryo;sans-serif;
    margin: 0;
    padding: 0;
    padding-top: 100px; /* ←ここ重要（headerの高さ分） */
    color: #333;
    line-height: 1.6;
}
header {
    background: #fff;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    z-index: 1000;
    border-bottom: 1px solid #c0c0c0;
}
header img{
    text-align: left;
    position: fixed;
    top: 0;
    left: 206px;
    top: 25px;
    height: 90px;
    width:auto;
}
@media (max-width:640px) {
header img{
    text-align: left;
    position: fixed;
    top: 0;
    left: 5px;
    z-index: 800;
    top: 25px;
    height: 90px;
    width:auto;
}
}
/* ハンバーガー */
.hamburger {
    display: block;
    position: fixed;
    top: 50px;
    right: 200px;
    width: 30px;
    height: 25px;
    z-index: 1100;
    cursor: pointer;
}
.hamburger span {
    display: block;
    height: 3px;
    background: #007BFF;
    margin: 5px 0;
}

/* ナビ */
.nav {
    position: fixed;
    top: 100px;
    right: -100%;
    width: 40%;
    height: 100vh;
    background: #fff;
    transition: 0.3s;
    z-index: 900;
}
.nav ul {
    list-style: none;
    padding: 20px;
}
.nav li {
    margin: 20px 0;
    color: #333;
    border-bottom: 1px solid #c0c0c0;
}
.nav a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
}

/* 開いた状態 */
.nav.active {
    right: 0;
}

/* スマホだけ表示 */
@media (max-width:640px) {
    .hamburger {
        display: block;
    right: 20px;
    }
.nav {
    position: fixed;
    top: 100px;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #fff;
    transition: 0.3s;
    z-index: 900;
}
}
.classh2 {
    text-align: center;
    font-size: 30px; /* 固定 */
    font-weight: normal;
}

        /* コンテナの幅設定（PC用） */
        .container {
            width: 90%;
            max-width: 1000px;
            margin: 0 auto;
            background: #fff;
            padding: 20px;
            box-sizing: border-box; /* paddingを含めた幅計算 */
            font-size: 14px; /* 固定 */
        }
        header, footer {
            text-align: center;
            padding: 10px 0;
            font-size: 14px; /* 固定 */
        }
        /* レスポンシブ対応：スマホ用 */
        @media (max-width: 600px) {
            .container {
                width: 100%;
                padding: 15px;
            }
        }


/* アコーディオン */
/* コンテナ */
.accordion {
  max-width: 94%;
  margin: auto;
}

/* アイテム */
.accordion-item {
  background: #007BFF;
  color: #fff;
  border-radius: 10px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  overflow: hidden;

}

/* ヘッダー */
.accordion-header {
  padding: 16px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  transition: background 0.3s;
}

.accordion-header:hover {
  background: #ffa500;
    color: #fff;
}

/* 矢印 */
.accordion-icon {
  transition: transform 0.3s;
}

/* 開いた時の矢印回転 */
.accordion-item.active .accordion-icon {
  transform: rotate(180deg);
}

/* コンテンツ */
.accordion-content {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

/* 中身 */
.accordion-inner {
  padding: 1px 20px 1px 20px;
  background: #fff;
  color: #000;
  line-height: 1.6;
}


.responsive-table {
  width: 100%;
  border-collapse: collapse;
}

.responsive-table th,
.responsive-table td {
  border: 1px solid #ccc;
  padding: 10px;
}

@media screen and (max-width: 600px) {
  .responsive-table tr {
    display: block;
    margin-bottom: 10px;
  }

  .responsive-table th {
    background: #f5f5f5;
  }

  .responsive-table td {
    display: block;
  }
}

.midashi {
  font-size: clamp(16px, 4vw, 20px);
  border-left: 5px solid #007BFF;
  padding-left: 10px;
  margin-bottom: 20px;
}