.btn {
  white-space: normal;
}

a {
  color: #333;
}
a:hover {
  opacity: 0.8;
  text-decoration: none;
} /* 修正後：#back-to-top に統一（常時表示・右下固定） */
#back-to-top {
  position: fixed !important;
  right: 16px !important;
  bottom: 16px !important;
  z-index: 9999 !important;

  display: inline-block !important;
  margin: 0 !important;
  text-align: initial !important; /* 親の中央寄せを打ち消し */

  background: rgba(255, 255, 255, 0.92);
  border-radius: 999px;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  opacity: 1; /* 常に表示 */
}

#back-to-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

#back-to-top img {
  width: 64px !important;
  height: 64px !important;
  max-width: none !important; /* グローバルの max-width:100% を無効化 */
  margin: 0 !important;
  display: block !important;
}

@media (max-width: 480px) {
  #back-to-top img {
    width: 72px !important;
    height: 72px !important;
  }
}
/* Accordion Buttons - 3 Color Variants */
/* Author: 篠山功用テンプレート / Date: 2025-12-22 */

/* ===== ベーススタイル ===== */
.accordion-button {
  --bg: #bee122; /* 背景色（デフォルト：黄緑） */
  --fg: #222; /* 文字色 */
  --bg-hover: #a8cc1d; /* ホバー背景色 */

  width: 100%;
  padding: 8px;
  text-align: left;
  background-color: var(--bg);
  color: var(--fg);
  border: none;
  outline: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  font-size: 18px; /* 初期値18 */
  height: auto;
  word-wrap: break-word;
  white-space: normal;
  line-height: 1.5;
}

/* キーボード操作の視認性 */
.accordion-button:focus-visible {
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.8), 0 0 0 6px rgba(0, 0, 0, 0.25);
}

/* 開閉アイコン（＋／−） */
.accordion-button::after {
  content: "+";
  float: right;
  font-weight: 700;
}
.accordion-button.is-open::after {
  content: "−";
}

/* ホバー／フォーカス */
.accordion-button:hover,
.accordion-button:focus {
  background-color: var(--bg-hover);
}

/* ===== バリエーション：3色 ===== */
/* 1) グリーン系（既定） */
.accordion-button.is-green {
  --bg: #bee122;
  --fg: #222;
  --bg-hover: #a8cc1d;
}

/* 2) ブルー系 */
.accordion-button.is-blue {
  --bg: #2b5da8; /* 落ち着いた紺 */
  --fg: #ffffff;
  --bg-hover: #224c8c;
}

/* 3) グレー系 */
.accordion-button.is-gray {
  --bg: #6b7280; /* Slate Gray */
  --fg: #ffffff;
  --bg-hover: #5b6170;
}

/* ===== レスポンシブ配慮（フォントサイズ調整） ===== */
@media (max-width: 480px) {
  .accordion-button {
    font-size: 16px;
    padding: 10px; /* モバイルはタップしやすく */
  }
}

/* ===== アコーディオンの内容（任意） ===== */
.accordion-panel {
  display: none; /* JSで開閉制御する想定 */
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-top: none; /* ボタンと一体感 */
  background-color: #fff;
  color: #111827;
  line-height: 1.7;
}
.accordion-panel.is-open {
  display: block;
}

/* 境界の重なり対策 */
.accordion-item + .accordion-item {
  margin-top: 8px;
}
