/* FAQ section headings — confirmed後にcommon.cssへ統合予定 */

/* desktop (min-width: 980px) */
@media screen and (min-width: 980px) {
  .faq_section {
    margin-bottom: 80px;
  }

  .faq_section:last-child {
    margin-bottom: 0;
  }

  .faq_section .faq_box {
    margin-bottom: 0;
  }

  .faq_section:last-child .faq_box {
    margin-bottom: 200px;
  }

  .faq_section_ttl {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-family: "Noto Serif JP", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3",
      "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-size: 2rem;
    letter-spacing: 0.25em;
    color: #fff;
    margin-bottom: 3rem;
    padding: 0.25rem 0;
  }

  .faq_section_ttl::before,
  .faq_section_ttl::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #f4d686;
  }
}

/* tablet (600px – 980px) */
@media screen and (min-width: 600px) and (max-width: 980px) {
  .faq_section {
    margin-bottom: 60px;
  }

  .faq_section:last-child {
    margin-bottom: 0;
  }

  .faq_section_ttl {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: "Noto Serif JP", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3",
      "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-size: 1.3rem;
    letter-spacing: 0.2em;
    color: #ffffff;
    margin-bottom: 2.5rem;
  }

  .faq_section_ttl::before,
  .faq_section_ttl::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #f4d686;
  }
}

/* mobile (max-width: 600px) */
@media screen and (max-width: 600px) {
  .faq_section {
    margin-bottom: 50px;
  }

  .faq_section:last-child {
    margin-bottom: 0;
  }

  .faq_section_ttl {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: "Noto Serif JP", "游明朝", YuMincho, "ヒラギノ明朝 ProN W3",
      "Hiragino Mincho ProN", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    color: #ffffff;
    margin-bottom: 2rem;
  }

  .faq_section_ttl::before,
  .faq_section_ttl::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #ba9e75;
  }
}

/* --------------------------------------------------------
  料金目安テーブル (model page)
  confirmed後にcommon.cssへ統合予定
-------------------------------------------------------- */

/* desktop (min-width: 980px) */
@media screen and (min-width: 980px) {
  .price_table_wrap {
    margin: 0 auto 80px;
    padding: 30px;
    max-width: 800px;
    border: 1px solid #ba9e75;
  }

  .price_table_ttl {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 1.2em;
    padding-left: 0.75em;
    border-left: 3px solid #ba9e75;
  }

  .price_table {
    width: 100%;
    border-collapse: collapse;
  }

  .price_table th,
  .price_table td {
    padding: 0.7em 0.5em;
    border-bottom: 1px solid #e0d5c5;
    font-size: 0.9rem;
    vertical-align: middle;
  }

  .price_table th {
    text-align: left;
    font-weight: normal;
  }

  .price_table td {
    text-align: right;
    font-weight: bold;
    white-space: nowrap;
    color: #ba9e75;
  }

  .price_notes {
    margin-top: 1.2em;
    font-size: 14px;
    color: #fff;
    line-height: 1.8;
  }

  .price_notes a {
    color: #ba9e75;
    text-decoration: underline;
  }
}

/* tablet (600px – 980px) */
@media screen and (min-width: 600px) and (max-width: 980px) {
  .price_table_wrap {
    margin: 0 auto 60px;
    padding: 24px;
    max-width: 100%;
    border: 1px solid #ba9e75;
  }

  .price_table_ttl {
    font-size: 1.35rem;
    letter-spacing: 0.1em;
    margin-bottom: 1em;
    padding-left: 0.75em;
    border-left: 3px solid #ba9e75;
  }

  .price_table {
    width: 100%;
    border-collapse: collapse;
  }

  .price_table th,
  .price_table td {
    padding: 0.65em 0.5em;
    border-bottom: 1px solid #e0d5c5;
    font-size: 0.9rem;
    vertical-align: middle;
  }

  .price_table th {
    text-align: left;
    font-weight: normal;
  }

  .price_table td {
    text-align: right;
    font-weight: bold;
    white-space: nowrap;
    color: #ba9e75;
  }

  .price_notes {
    margin-top: 1em;
    font-size: 14px;
    color: #fff;
    line-height: 1.8;
  }

  .price_notes a {
    color: #ba9e75;
    text-decoration: underline;
  }
}

/* mobile (max-width: 600px) */
@media screen and (max-width: 600px) {
  .price_table_wrap {
    margin: 0 auto 50px;
    padding: 20px 16px;
    max-width: 100%;
    border: 1px solid #ba9e75;
  }

  .price_table_ttl {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    margin-bottom: 1em;
    padding-left: 0.6em;
    border-left: 3px solid #ba9e75;
  }

  .price_table {
    width: 100%;
    border-collapse: collapse;
  }

  .price_table th,
  .price_table td {
    padding: 0.6em 0.4em;
    border-bottom: 1px solid #e0d5c5;
    font-size: 0.85rem;
    vertical-align: middle;
  }

  .price_table th {
    text-align: left;
    font-weight: normal;
  }

  .price_table td {
    text-align: right;
    font-weight: bold;
    white-space: nowrap;
    color: #ba9e75;
  }

  .price_notes {
    margin-top: 1em;
    font-size: 14px;
    color: #fff;
    line-height: 1.8;
  }

  .price_notes a {
    color: #ba9e75;
    text-decoration: underline;
  }
}

/* 料金表キャプション（全ブレークポイント共通） */
.price_table_cap {
  margin-bottom: 1.2em;
  font-size: 1rem;
  line-height: 1.7;
  color: #fff;
  text-align: left;
  caption-side: top;
}

/* 目的地テーブルのゼブラ（交互背景）で一覧を追いやすく */
.price_table tbody tr:nth-child(even) th,
.price_table tbody tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.05);
}

/* 列見出し（目的地／所要時間／料金） */
.price_table thead th {
  font-weight: bold;
  color: #ba9e75;
  border-bottom: 2px solid #ba9e75;
}

.price_table thead th:last-child {
  text-align: right;
}

/* 所要時間列は料金（ゴールド太字）と区別し、白・中央寄せの控えめ表示 */
.price_table th.price_table_time,
.price_table td.price_table_time {
  text-align: center;
  font-weight: normal;
  color: #fff;
  white-space: nowrap;
}

/* 観光貸切（時間制）は定額送迎と料金体系が別なので独立ボックスに分離 */
.charter_box {
  margin-top: 1.5em;
  padding: 1.2em 1.4em;
  border: 1px solid #ba9e75;
  border-radius: 6px;
  background: rgba(186, 158, 117, 0.08);
}

.charter_box_label {
  margin-bottom: 0.5em;
  font-size: 1.25rem;
  letter-spacing: 0.12em;
  color: #ba9e75;
}

.charter_box_main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.1em 0.6em;
  color: #fff;
  font-size: 1.05rem;
}

.charter_box_price {
  font-size: 1.7rem;
  font-weight: bold;
  color: #ba9e75;
}

.charter_box_calc {
  margin-top: 0.7em;
  font-size: 0.8rem;
  line-height: 1.8;
  color: #fff;
}

/* width/height属性付き画像が幅縮小時に縦伸びするのを防ぐ（SP崩れ対策） */
.serv img,
.textC img {
  max-width: 100%;
  height: auto;
}

/* サービス画像ギャラリー（正方形サムネ：PC4列 / SP2列） */
.serv_gallery {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(6px, 1.2vw, 12px);
  max-width: 1110px;            /* ヒーロー画像と同じ幅に揃える */
  /* 中央寄せ＋上は最小限。下は他ナンバー見出しと同じ余白（.serv_inner img margin-bottom:50px に合わせる） */
  margin: clamp(6px, 1.2vw, 12px) auto 50px;
  padding: 0;
}

/* 共通CSSの .serv_inner img { margin-bottom:50px } を、この5枚だけ打ち消して一体化
   （ヒーロー画像＋サムネ4枚。詳細度を上げて確実に上書き） */
.textC:has(+ .serv_gallery) img,
.serv_inner .serv_gallery img {
  margin-bottom: 0;
}

.serv_gallery li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.serv_gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 2px;
}

/* SPは2×2に */
@media screen and (max-width: 600px) {
  .serv_gallery {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 10px; /* SPは他ナンバー見出しと同じ余白（.serv_inner img margin-bottom:10px） */
  }
}

/* --------------------------------------------------------
  お客様の声 (service page)
  confirmed後にcommon.cssへ統合予定
-------------------------------------------------------- */

/* desktop (min-width: 980px) */
@media screen and (min-width: 980px) {
  .voice_box {
    margin: 2.5rem 0 0;
    padding: 1.5rem 2rem;
    border-top: 1px solid rgba(186, 158, 117, 0.4);
    border-bottom: 1px solid rgba(186, 158, 117, 0.4);
    background: rgba(186, 158, 117, 0.04);
  }

  .voice_box .voice_heading {
    font-size: 1.3rem;
    letter-spacing: 0.25em;
    color: #ba9e75;
    font-weight: bold;
    margin-bottom: 1em;
  }

  .voice_txt {
    font-size: 1rem;
    line-height: 2;
    color: #ccc;
    margin-bottom: 0.8em;
  }

  .voice_cite {
    display: block;
    font-size: 14px;
    color: #ba9e75;
    font-style: normal;
    text-align: right;
  }
}

/* tablet (600px – 980px) */
@media screen and (min-width: 600px) and (max-width: 980px) {
  .voice_box {
    margin: 2rem 0 0;
    padding: 1.2rem 1.5rem;
    border-top: 1px solid rgba(186, 158, 117, 0.4);
    border-bottom: 1px solid rgba(186, 158, 117, 0.4);
    background: rgba(186, 158, 117, 0.04);
  }

  .voice_box .voice_heading {
    font-size: 1.1rem;
    letter-spacing: 0.25em;
    color: #ba9e75;
    font-weight: bold;
    margin-bottom: 1em;
  }

  .voice_txt {
    font-size: 1rem;
    line-height: 2;
    color: #ccc;
    margin-bottom: 0.8em;
  }

  .voice_cite {
    display: block;
    font-size: 14px;
    color: #ba9e75;
    font-style: normal;
    text-align: right;
  }
}

/* mobile (max-width: 600px) */
@media screen and (max-width: 600px) {
  .voice_box {
    margin: 1.8rem 0 0;
    padding: 1rem 1.2rem;
    border-top: 1px solid rgba(186, 158, 117, 0.4);
    border-bottom: 1px solid rgba(186, 158, 117, 0.4);
    background: rgba(186, 158, 117, 0.04);
  }

  .voice_box .voice_heading {
    font-size: 1rem;
    letter-spacing: 0.18em;
    color: #ba9e75;
    margin-bottom: 0.8em;
    font-weight: bold;
  }

  .voice_txt {
    font-size: 1rem;
    line-height: 2;
    color: #ccc;
    margin-bottom: 0.8em;
  }

  .voice_cite {
    display: block;
    font-size: 14px;
    color: #ba9e75;
    font-style: normal;
    text-align: right;
  }
}

/* ─── 福祉付帯料金シミュレーター ─── */
[hidden] { display: none !important; }

.welfare_calc {
  margin-top: 2.5rem;
  border: 1px solid rgba(186, 158, 117, 0.4);
  border-radius: 4px;
  overflow: hidden;
}

.welfare_calc_ttl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  background: rgba(186, 158, 117, 0.08);
  border-bottom: 1px solid rgba(186, 158, 117, 0.3);
  padding: 0.85em 1.5em;
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #ba9e75;
  font-weight: bold;
  margin: 0;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

/* デフォルトの開閉マーカー（▶）を消してカスタムアイコンに置換 */
.welfare_calc_ttl::-webkit-details-marker {
  display: none;
}

/* 閉じている時は下線を消して1本の見出しバーに見せる */
.welfare_calc:not([open]) .welfare_calc_ttl {
  border-bottom: none;
}

/* 開閉アイコン（シェブロン）。開くと反転 */
.welfare_calc_ttl_icon {
  flex-shrink: 0;
  width: 0.5em;
  height: 0.5em;
  margin-top: -0.2em;
  border-right: 2px solid #ba9e75;
  border-bottom: 2px solid #ba9e75;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.welfare_calc[open] .welfare_calc_ttl_icon {
  margin-top: 0.15em;
  transform: rotate(225deg);
}

.welfare_calc_body {
  padding: 1.5rem;
}

/* 概算であることの注意書き（総額直下） */
.calc_disclaimer {
  margin-top: 1rem;
  font-size: 0.78rem;
  line-height: 1.7;
  color: #ba9e75;
}

.welfare_calc_grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.welfare_calc_results {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.calc_field {
  margin-bottom: 1.2rem;
}

.calc_label {
  display: block;
  font-size: 0.875rem;
  font-weight: bold;
  color: #ccc;
  margin-bottom: 0.3em;
}

.calc_note {
  display: block;
  font-size: 0.75rem;
  color: rgba(186, 158, 117, 0.8);
  margin-bottom: 0.3em;
}

.calc_input {
  padding: 0.6em 0.8em;
  border: 1px solid rgba(186, 158, 117, 0.3);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 1rem;
  border-radius: 4px;
  box-sizing: border-box;
}

.calc_input:focus {
  outline: none;
  border-color: #ba9e75;
}

.calc_input_row {
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.calc_input_row .calc_input {
  flex: 1;
  min-width: 0;
}

.calc_unit {
  font-size: 0.875rem;
  color: #888;
  white-space: nowrap;
  flex-shrink: 0;
}


.calc_rate {
  font-size: 1rem;
  font-weight: normal;
  color: rgba(186, 158, 117, 0.7);
  margin-left: 0.25em;
}

.calc_result {
  margin-top: 1.5rem;
}

.calc_breakdown {
  border: 1px solid rgba(186, 158, 117, 0.2);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.calc_breakdown_ttl {
  background: rgba(186, 158, 117, 0.06);
  border-bottom: 1px solid rgba(186, 158, 117, 0.2);
  padding: 0.6em 1em;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: #ba9e75;
  font-weight: bold;
  margin: 0;
}

.calc_breakdown_list {
  display: grid;
  grid-template-columns: 1fr auto;
  margin: 0;
}

.calc_breakdown_list dt,
.calc_breakdown_list dd {
  padding: 0.6em 1em;
  font-size: 0.875rem;
  border-bottom: 1px solid rgba(186, 158, 117, 0.08);
  margin: 0;
  color: #aaa;
}

.calc_breakdown_list > *:nth-last-child(-n+2) {
  border-bottom: none;
}

.calc_breakdown_list dd {
  text-align: right;
  color: #ddd;
  white-space: nowrap;
}

.calc_subtotal,
.calc_total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75em 1em;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  gap: 1em;
}

.calc_subtotal {
  background: rgba(186, 158, 117, 0.06);
  border: 1px solid rgba(186, 158, 117, 0.2);
}

.calc_total {
  background: rgba(186, 158, 117, 0.1);
  border: 1px solid rgba(186, 158, 117, 0.45);
}

.calc_subtotal_label,
.calc_total_label {
  font-size: 0.875rem;
  color: #ba9e75;
  font-weight: bold;
  flex-shrink: 0;
}

.calc_subtotal_price {
  font-size: 1.1rem;
  font-weight: bold;
  color: #ba9e75;
}

.calc_total_price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #ba9e75;
}

@media screen and (max-width: 600px) {
  .welfare_calc_body { padding: 1rem; }
  .welfare_calc_grid { grid-template-columns: 1fr; }
  .calc_total_price { font-size: 1.25rem; }
  .calc_subtotal_label,
  .calc_total_label { font-size: 0.8rem; }
}
.serv img,
.textC img {
  height: auto;   /* ← 幅に合わせて高さを自動計算し比率維持 */
}