@charset "UTF-8";
/* ==========================================================================
   lower-base  下層ページ（p-rooms / p-facilities / p-meeting）に共通の台紙・見出し
   出典: Figma 10/20 版（複製 htdC4qyAq7fk5ItvUNHpJA）。各 p-<slug>.scss から @use される（p-* ＝ ページ固有 CSS の共通土台）
   作り: TOP・送迎と同じ canvas scale 方式。区画ごとに <section class="js-canvas-fit" data-w-pc="1440" data-w-sp="390"> の中に
         .js-canvas-fit-inner の台紙（SP 390／PC 1440）を置き、縮尺は --canvas-scale-sp|pc（functions.php の wp_head が先に入れる）
   ========================================================================== */
/* 区画（高さは .js-canvas-fit が中身に追従） */
.p-lower__canvas {
  position: relative;
  left: 50%;
  width: 390px;
  transform: translateX(-50%) scale(var(--canvas-scale-sp));
  transform-origin: top center;
  color: #525252;
  text-spacing-trim: space-all; /* 句読点の間を詰めない（送迎ページ 10/9 検品で確定） */
}

/* 写真帯（Banner Image: PC 1440×436／SP 390×147・ニュー 1011:1171 ほか 3館同じ写真）。391〜768 は画面いっぱい（T-35） */
.p-lower__band {
  width: 100%;
  height: min(147px, 37.6923076923vw);
  overflow: hidden;
}

.p-lower__band-img {
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
}

/* 区画の英字見出し（FACILITIES / SERVICE: 英字 ＋ 和名）。館ごとの飾り（c-sec-deco）・書体・色＝作業票 §2-c
   SP: ニュー 600 36/47 ＋ 8 ＋ 和名 Zen Old Mincho 700 18/26（1302:1133 V gap 8）／サンプラス「＋」27 at (0,0)・文字 700 32/54 at (18,6)・和名 #d9d9d9 at 68（1210:3240）
   🔁 10/21 原本照合 B-1: 「＋」を absolute にすると h2（和名を含み全幅）の左端＝画面左端に出る → flex の子として並べ、文字側の負の margin で重ねる
       ウィング「///」36.5×29.3 at (2,6) ＋ gap 10 ＋ 文字 600 32/42・和名 at 50（1210:3626）
   PC: ニュー 600 64/109 ＋ 和名 20/34（333×143・1011:1528）／サンプラス「＋」42.6 ＋ 文字 at x27 700/600 64/109・和名 #d9d9d9（1012:1544）／ウィング「///」63.5×51 at y17 ＋ gap 10 ＋ 600 64/83・和名 at 110（1014:1543）
   ROOM の見出しは p-rooms.scss（和名なし） */
.p-lower__sec-title {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-family: var(--font-buenard);
  font-size: 36px;
  font-weight: 600;
  line-height: 47px; /* 46.8 → 箱 47 */
  white-space: nowrap;
}

.p-lower__sec-title-ja {
  flex: 0 0 100%;
  margin-top: 8px;
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 700;
  line-height: 26px; /* 26.1 → 箱 26。SP「サービス」の Zen Kaku Gothic New 500 は混在＝「館内施設」と同じに（作業票 D-6） */
  text-align: center;
}

.p-lower--sunplus .p-lower__sec-title {
  align-items: flex-start;
  color: var(--color-main);
  font-size: 32px; /* 1210:3244・1210:3176（10/21 原本照合 B-6: 36 になっていた） */
  font-weight: 700;
  line-height: 54px; /* 54.4 → 箱 54 */
}

.p-lower--sunplus .p-lower__sec-title .c-sec-deco--plus {
  flex: 0 0 auto;
}

.p-lower--sunplus .p-lower__sec-title-text {
  margin: 6px 18px 0 -9px; /* 文字 (104,6) − 「＋」(86,0)＝18 → ＋27 に 9 食い込む（1210:3244）。右 18＝「＋」の張り出しと同じ幅＝文字を中央に（D-41） */
}

.p-lower--sunplus .p-lower__sec-title-ja,
.p-lower--wing .p-lower__sec-title-ja {
  color: #d9d9d9; /* #d9d9d9（1210:3248・1210:3634） */
}

.p-lower--wing .p-lower__sec-title {
  color: var(--color-main);
  font-size: 32px;
  line-height: 42px; /* 41.6 → 箱 42 */
}

.p-lower--wing .p-lower__sec-title .c-sec-deco--chev {
  margin: -1px 9px -1px -1px; /* SVG の pad 1・gap 10 */
}

.p-lower--wing .p-lower__sec-title-text {
  margin-right: 47.52px; /* 飾り＋間と同じ幅＝文字を中央に（D-41） */
}

@media (min-width: 769px) {
  .p-lower__canvas {
    width: 1440px;
    transform: translateX(-50%) scale(var(--canvas-scale-pc));
  }
  .p-lower__band {
    height: min(436px, 30.2777777778vw);
  }
  .p-lower__sec-title {
    font-size: 64px;
    line-height: 109px; /* 108.8 → 箱 109 */
  }
  .p-lower__sec-title-ja {
    margin-top: 0; /* 和名 y109＝英字の箱の直下 */
    font-size: 20px;
    line-height: 34px;
  }
  .p-lower--sunplus .p-lower__sec-title {
    font-size: 64px;
    font-weight: 600; /* FACILITIES 600（1012:1546）。SERVICE 700 は p-facilities.scss（p-* は lower-base より後） */
    line-height: 109px;
  }
  .p-lower--sunplus .p-lower__sec-title-text {
    margin: 0 27px 0 -15.6px; /* 文字 x27（1012:1546）＝「＋」42.6 に 15.6 食い込む。右 27＝張り出しと同じ＝文字を中央に（D-41） */
  }
  .p-lower--wing .p-lower__sec-title {
    font-size: 64px;
    line-height: 83px; /* 83.3 → 箱 83 */
  }
  .p-lower--wing .p-lower__sec-title .c-sec-deco--chev {
    margin: 16px 9px 0 -1px; /* (2,17) − pad 1 */
  }
  .p-lower--wing .p-lower__sec-title-text {
    margin-right: 74.52px; /* 飾り＋間と同じ幅＝文字を中央に（D-41） */
  }
  .p-lower--wing .p-lower__sec-title-ja {
    margin-top: 26px; /* 英字の箱 1+83=84 → 和名 110 */
  }
}
/* ==========================================================================
   p-contact  お問い合わせ（固定ページ contact・グループのページ）
   出典: Figma 10/22 15:42 版（複製 BVAT9PkAaGHxOAabLuJ8Zm）PC 689:571（1440×2941）／SP 1375:1233（390×2769）
   フォーム＝Contact Form 7（本文＝_CF7_SETUP.md）。確認・完了＝Figma に画面が無い（作業票 R-47）
   白洋舎の罠: CF7 の spinner は場所を取る＝絶対配置で流れから外す／自動整形はテーマで切った（functions.php）
   🔒 モバイルファースト（基底＝SP）
   ========================================================================== */
/* 入力欄の枠 #cfcfcf */
.p-contact {
  background: #fffef9; /* ページ地 #fffef9（689:571） */
}

/* --- 見出し（SP 1375:1314: 24/34 700 → 12 → 18/27 500・中央） --- */
.p-contact__canvas {
  padding: 84px 16px; /* 上: 37 → 121（main の余白 24 を含む）・下: 箱の下端 1726 → フッター 1810 */
}

.p-contact__head {
  color: #525252;
  text-align: center;
}

.p-contact__title {
  margin: 0;
  font-family: var(--font-gothic);
  font-size: 24px;
  font-weight: 700;
  line-height: 34px; /* 33.6 */
}

.p-contact__lead {
  margin: 12px 0 0;
  font-family: var(--font-gothic);
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
}

/* --- フォームの白い箱（SP 1375:1317: 358・角丸 16・余白 20・間 24） --- */
.p-contact__box {
  margin-top: 24px; /* 194 → 218 */
  padding: 20px;
  border-radius: 16px;
  background: #ffffff;
  color: #525252;
}

.p-contact__form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.p-contact__form > fieldset {
  display: none; /* CF7 の隠し項目（hidden の入れ物） */
}

.p-contact__form[hidden],
.p-contact__field[hidden],
.p-contact__privacy[hidden],
.p-contact__summary[hidden],
.p-contact__button[hidden] {
  display: none;
}

/* 項目名＋必須（SP 1375:1319: 16/29 700 ls0.64 → 8 → 必須 45×26 main 角丸 5・Zen Kaku 500 12/22 白） */
.p-contact__label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-family: var(--font-gothic);
  font-size: 16px;
  font-weight: 700;
  line-height: 29px; /* 28.8 */
  letter-spacing: 0.64px;
}

/* お問い合わせ種別だけ 16/22・字間なし（689:771・1375:1360＝白洋舎と同じ混在＝Figma どおり） */
.p-contact__label--radio {
  line-height: 22px; /* 21.8 */
  letter-spacing: 0;
}

.p-contact__required {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 26px;
  border-radius: 5px;
  background: var(--color-main);
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  line-height: 22px; /* 21.6 */
  letter-spacing: 0.48px;
}

.p-contact__field .wpcf7-form-control-wrap {
  display: block;
  margin-top: 10px; /* 項目名の下端 267 → 入力欄 277 */
}

/* 入力欄（46・枠 1 #cfcfcf・角丸 5・余白 15・Zen Kaku 500 14/25 ls0.56・例の字 #999） */
.p-contact__field input[type=text],
.p-contact__field input[type=tel],
.p-contact__field input[type=email],
.p-contact__field select,
.p-contact__field textarea {
  display: block;
  width: 100%;
  height: 46px;
  margin: 0;
  padding: 0 15px;
  border: 1px solid #cfcfcf;
  border-radius: 5px;
  background: #ffffff;
  color: #525252;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  line-height: 25px; /* 25.2 */
  letter-spacing: 0.56px;
  appearance: none;
}

.p-contact__field ::placeholder {
  color: #999999;
  opacity: 1;
}

/* お問い合わせホテル（1375:1355: 「選択してください」16/29 ls0.64 #525252・右に下向きの山形 13×7） */
.p-contact__field select {
  padding-right: 44px;
  background: #ffffff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='13' height='7' viewBox='0 0 13 7'%3E%3Cpath d='M.7.7l5.8 5.6L12.3.7' fill='none' stroke='%23525252' stroke-width='1.4'/%3E%3C/svg%3E") right 15px center/13px 7px no-repeat;
  font-size: 16px;
  line-height: 29px;
  letter-spacing: 0.64px;
  cursor: pointer;
}

.p-contact__field textarea {
  height: 180px;
  padding: 15px;
  resize: vertical;
}

/* お問い合わせ種別（ラジオ 23 丸＝枠 1 #999・選んだら #999 の地に白い丸 11 → 12 → Zen Kaku 400 16/23） */
.p-contact__field--radio .wpcf7-form-control-wrap {
  margin-top: 12px;
}

.p-contact__field .wpcf7-radio {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.p-contact__field .wpcf7-list-item {
  margin: 0;
}

.p-contact__field .wpcf7-radio label {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.p-contact__field input[type=radio] {
  position: relative;
  flex: none;
  width: 23px;
  height: 23px;
  margin: 0;
  border: 1px solid #999999;
  border-radius: 50%;
  background: #ffffff;
  appearance: none;
  cursor: pointer;
}

.p-contact__field input[type=radio]:checked {
  border-color: #999999;
  background: #999999;
}

.p-contact__field input[type=radio]:checked::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffffff;
  content: "";
  transform: translate(-50%, -50%);
}

.p-contact__field .wpcf7-list-item-label {
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 400;
  line-height: 23px; /* 23.2 */
}

/* 同意（SP 1375:1385: 枠 15 #999 角丸 2 → 12 → Noto Sans JP 500 13/22・左） */
.p-contact__privacy,
.p-contact__privacy .wpcf7-form-control-wrap,
.p-contact__privacy .wpcf7-acceptance,
.p-contact__privacy .wpcf7-list-item {
  display: block;
  font-size: 13px;
  line-height: 22px; /* 囲みの span の行の箱で 27 に膨らまないように */
}

.p-contact__privacy .wpcf7-list-item {
  margin: 0;
}

.p-contact__privacy label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.p-contact__privacy input[type=checkbox] {
  position: relative;
  flex: none;
  width: 15px;
  height: 15px;
  margin: 0;
  border: 1px solid #999999;
  border-radius: 2px;
  background: #ffffff;
  appearance: none;
  cursor: pointer;
}

.p-contact__privacy input[type=checkbox]:checked::after {
  position: absolute;
  top: 1px;
  left: 4px;
  width: 5px;
  height: 9px;
  border: solid var(--color-main);
  border-width: 0 2px 2px 0;
  content: "";
  transform: rotate(45deg);
}

.p-contact__privacy .wpcf7-list-item-label {
  font-family: var(--font-ui); /* 全文字が部分スタイルで Zen Kaku Gothic New（PC 689:800・SP 1375:1387） */
  font-size: 13px;
  font-weight: 400; /* SP は文字全体が 400（1375:1387 の部分スタイル）・PC 689:800 は 500 */
  line-height: 22px; /* 22.1 */
}

.p-contact__privacy a {
  color: #0075c2;
  text-decoration: underline;
}

/* ボタン（SP 1375:1388: 318×56 main 角丸 4・Zen Kaku 500 16/29 ls1.6 白） */
.p-contact__button,
.p-contact__submit .wpcf7-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 56px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: var(--color-main);
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 500;
  line-height: 29px; /* 28.8 */
  letter-spacing: 1.6px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.p-contact__button:hover,
.p-contact__submit .wpcf7-submit:hover {
  opacity: 0.8;
}

/* 確認画面の「修正する」（Figma に無い＝白地に main の枠） */
.p-contact__button--back {
  border: 2px solid var(--color-main);
  background: #ffffff;
  color: var(--color-main);
}

.p-contact__submit {
  position: relative;
  display: flex;
  flex-direction: column-reverse; /* SP＝「送信する」が上・「修正する」が下（主の操作を先に・PC は左に修正・右に送信＝R-47） */
  gap: 12px;
}

/* 入力中は CF7 の「送信する」と「修正する」を隠す（「入力内容を確認する」を出す） */
.p-contact__box.is-input .p-contact__submit {
  display: none;
}

/* spinner（白洋舎の罠: 非表示でも場所を取る＝流れから外す） */
.p-contact__form .wpcf7-spinner {
  position: absolute;
  top: 50%;
  right: 16px;
  margin: 0;
  transform: translateY(-50%);
}

.p-contact__form .wpcf7-not-valid-tip {
  margin-top: 4px;
  color: #cc0000;
  font-family: var(--font-gothic);
  font-size: 12px;
  line-height: 18px;
}

.p-contact__box .wpcf7 form .wpcf7-response-output {
  margin: 0; /* CF7 の既定（.wpcf7 form .wpcf7-response-output）より詳しい指定で上書き */
  padding: 8px 12px;
  font-family: var(--font-gothic);
  font-size: 13px;
  line-height: 20px;
}

.p-contact__box .wpcf7 form .wpcf7-response-output:empty {
  display: none;
}

/* 確認の一覧（Figma に無い＝項目名は入力画面と同じ字・値は 16/27） */
.p-contact__summary {
  margin: 0;
}

.p-contact__summary dt {
  font-family: var(--font-gothic);
  font-size: 16px;
  font-weight: 700;
  line-height: 29px;
  letter-spacing: 0.64px;
}

.p-contact__summary dd {
  margin: 4px 0 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #cfcfcf;
  font-family: var(--font-gothic);
  font-size: 16px;
  line-height: 27px;
  white-space: pre-wrap;
  word-break: break-word;
}

.p-contact__summary dd + dt {
  margin-top: 16px;
}

.p-contact__done {
  margin: 0;
  font-family: var(--font-gothic);
  font-size: 16px;
  font-weight: 500;
  line-height: 29px;
  text-align: center;
}

/* 完了ページ（/thanks・2026-11-05）: 完了の一文 → 注記 → トップへ戻るボタン */
.p-contact__box--thanks {
  padding-bottom: 32px;
}

.p-contact__button--link {
  margin-top: 32px;
  text-decoration: none;
}

.p-contact__unavailable {
  margin: 0;
  font-family: var(--font-gothic);
  font-size: 14px;
  line-height: 24px;
}

/* 注記（SP 1375:1390: Zen Kaku 500 12/20） */
.p-contact__note {
  margin: 24px 0 0;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  line-height: 20px; /* 20.4 */
}

@media (min-width: 769px) {
  /* --- 見出し（PC Frame 625434: 40/60 → 42 → 24/36・上 210） --- */
  .p-contact__canvas {
    padding: 100px 234px; /* 上: 110 → 210・下: 箱の下端 2146 → フッター 2246・左右: 箱 972 を中央 */
  }
  .p-contact__title {
    font-size: 40px;
    line-height: 60px;
  }
  .p-contact__lead {
    margin-top: 42px;
    font-size: 24px;
    line-height: 36px;
  }
  /* --- フォームの白い箱（PC Frame 3117: 972・余白 70/100・間 47・角丸なし） --- */
  .p-contact__box {
    margin-top: 90px; /* 348 → 438 */
    padding: 70px 100px;
    border-radius: 0;
  }
  .p-contact__form {
    gap: 47px; /* 項目の束 → 同意 → ボタン（689:718 V gap 47） */
  }
  /* 項目の間 32（689:720）＝束の中だけ。束の後ろ（同意・ボタン）は 47 */
  .p-contact__field + .p-contact__field {
    margin-top: -15px; /* 47 − 32 */
  }
  .p-contact__field .wpcf7-form-control-wrap {
    margin-top: 5px; /* 537 → 542 */
  }
  .p-contact__field--radio .wpcf7-form-control-wrap {
    margin-top: 8px; /* 1206 → 1214 */
  }
  .p-contact__field .wpcf7-radio {
    gap: 10px; /* 1237 → 1247 */
  }
  .p-contact__field textarea {
    height: 258px;
    padding: 10px 15px;
  }
  /* 同意（PC 689:798: 中央・枠 15 → 16 → 14/17） */
  .p-contact__privacy {
    margin-top: 15px; /* 項目の束の枠 689:719 は中身 1185 より 15 高い（1200）＝同意は 1693 ＋ 15 ＋ 47 */
  }
  .p-contact__privacy label {
    align-items: center;
    gap: 16px; /* チェック x428＋15 → 文 x459 */
    padding-left: 94px; /* 行の枠 689:798 の左 334 → チェック 428（Figma は左揃え） */
  }
  .p-contact__privacy .wpcf7-list-item {
    display: block;
  }
  .p-contact__privacy .wpcf7-list-item-label {
    font-size: 14px;
    font-weight: 500;
    line-height: 20px; /* 16.8 → 行の箱 20 */
  }
  .p-contact__button,
  .p-contact__submit .wpcf7-submit {
    height: 63px;
  }
  .p-contact__submit {
    flex-direction: row;
    gap: 16px;
  }
  .p-contact__note {
    margin-top: 47px;
    font-size: 14px;
    line-height: 24px; /* 23.8 */
  }
}
