/* ===== FAQ追加スタイル：ここからコピー ===== */
/*
 * 制作会社様へ：
 * 別のCSSへ統合する場合は、この開始コメントから
 * 「ここまでコピー」コメントまでをコピーしてください。
 * 既存スタイルとの干渉を避けるため、すべて .map-faq 配下に限定しています。
 */
.map-faq {
  --map-faq-primary: #1a517b;
  --map-faq-line: rgba(26, 81, 123, 0.22);
  width: 100%;
  margin-top: 80px;
  padding: 100px 0 90px;
  color: #222;
  background: rgba(154, 201, 220, 0.14);
}

.map-faq *,
.map-faq *::before,
.map-faq *::after {
  box-sizing: border-box;
}

.map-faq__inner {
  width: 90%;
  max-width: 930px;
  margin-inline: auto;
}

.map-faq__heading {
  text-align: center;
}

.map-faq__heading-en {
  margin: 0;
  font-family: "Cinzel", serif;
  font-size: 44px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.08em;
  color: var(--map-faq-primary);
}

.map-faq__heading-jp {
  margin: 20px 0 0;
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.1em;
  color: #222;
}

.map-faq__tabs {
  position: relative;
  margin-top: 64px;
  font-family: "Noto Serif JP", serif;
}

.map-faq__tab-input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.map-faq__tab-controls {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  border: 1px solid var(--map-faq-primary);
}

.map-faq__tab-controls label {
  position: relative;
  display: grid;
  min-height: 58px;
  padding: 12px 16px;
  place-items: center;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--map-faq-primary);
  background: #fff;
  cursor: pointer;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.map-faq__tab-controls label + label {
  border-left: 1px solid var(--map-faq-primary);
}

#map-faq-tab-access:checked ~ .map-faq__tab-controls label[for="map-faq-tab-access"],
#map-faq-tab-location:checked ~ .map-faq__tab-controls label[for="map-faq-tab-location"],
#map-faq-tab-conditions:checked ~ .map-faq__tab-controls label[for="map-faq-tab-conditions"] {
  color: #fff;
  background: var(--map-faq-primary);
}

#map-faq-tab-access:focus-visible ~ .map-faq__tab-controls label[for="map-faq-tab-access"],
#map-faq-tab-location:focus-visible ~ .map-faq__tab-controls label[for="map-faq-tab-location"],
#map-faq-tab-conditions:focus-visible ~ .map-faq__tab-controls label[for="map-faq-tab-conditions"] {
  outline: 2px solid #222;
  outline-offset: 3px;
}

.map-faq__panels {
  margin-top: 44px;
}

.map-faq__panel {
  display: none;
}

#map-faq-tab-access:checked ~ .map-faq__panels .map-faq__panel--access,
#map-faq-tab-location:checked ~ .map-faq__panels .map-faq__panel--location,
#map-faq-tab-conditions:checked ~ .map-faq__panels .map-faq__panel--conditions {
  display: block;
}

.map-faq__panel-title {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.map-faq__list {
  margin: 0;
}

.map-faq__item {
  padding: 32px 8px;
  border-top: 1px solid var(--map-faq-line);
}

.map-faq__item:last-child {
  border-bottom: 1px solid var(--map-faq-line);
}

.map-faq__item dt,
.map-faq__item dd {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 0;
  margin: 0;
  letter-spacing: 0.05em;
}

.map-faq__item dt {
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--map-faq-primary);
}

.map-faq__item dd {
  margin-top: 16px;
  font-size: 14px;
  line-height: 2;
  color: #222;
}

.map-faq__mark {
  font-family: "Cinzel", serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--map-faq-primary);
}

.map-faq__item a {
  color: var(--map-faq-primary);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.map-faq__note {
  margin: 20px 0 0;
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 0.05em;
}

.map-faq__note + .map-faq__note {
  margin-top: 4px;
}

@media (max-width: 767px) {
  .map-faq {
    margin-top: 40px;
    padding: 65px 0 55px;
  }

  .map-faq__heading-en {
    font-size: 30px;
  }

  .map-faq__tabs {
    margin-top: 40px;
  }

  .map-faq__tab-controls label {
    min-height: 52px;
    padding: 10px 5px;
    font-size: 12px;
    letter-spacing: 0.04em;
  }

  .map-faq__panels {
    margin-top: 28px;
  }

  .map-faq__item {
    padding: 24px 0;
  }

  .map-faq__item dt,
  .map-faq__item dd {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .map-faq__item dt {
    font-size: 13px;
    line-height: 1.75;
  }

  .map-faq__item dd {
    margin-top: 14px;
    font-size: 12px;
    line-height: 1.9;
  }

  .map-faq__mark {
    font-size: 16px;
  }

  .map-faq__note {
    margin-top: 16px;
  }
}

@media print {
  .map-faq__tab-controls {
    display: none;
  }

  .map-faq__panel {
    display: block;
  }

  .map-faq__panel + .map-faq__panel {
    margin-top: 32px;
  }

  .map-faq__panel-title {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 16px;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
  }
}
/* ===== FAQ追加スタイル：ここまでコピー ===== */
