@charset "UTF-8";
/*---------------------------
plan.css  ガーラ・レジデンス川口 プランページ
---------------------------*/

:root {
  --plan-navy: #1a3b6b;
  --plan-text: #231815;
  --plan-text-sub: #555;
  --plan-bg-grad-top: #ffffff;
  --plan-bg-grad-mid: #c5eaec;
  --plan-bg-grad-bot: #94ced9;
}


/*==========================
 メインビジュアル（PLAN テキスト付き）
==========================*/
#planMainvisual {
  position: relative;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.plan_mv_img {
  width: 100%;
  position: relative;
}

.plan_mv_img img {
  width: 100%;
  height: auto;
  display: block;
}

/* PLAN テキスト（左下） */
.plan_mv_txt {
  position: absolute;
  left: 5%;
  bottom: 18%;
  z-index: 5;
}

.plan_mv_en {
  font-family: "adobe-garamond-pro", serif;
  font-weight: 400;
  font-style: italic;
  font-size: 74px;
  letter-spacing: 0.12em;
  color: var(--plan-navy);
  line-height: 1;
}

/* image photo キャプション */
.plan_mv_img .cap_n {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 12px;
  letter-spacing: 1px;
  padding: 5px 10px;
  color: #231815;
  line-height: 1.4;
  z-index: 10;
}

/* Tab */
@media screen and (max-width: 1170px) {
  .plan_mv_en {
    font-size: 6.325vw;
  }
}

/* sp */
@media only screen and (max-width: 768px) {
  .plan_mv_txt {
    left: 4%;
    bottom: 10%;
  }
  .plan_mv_en {
    font-size: 10.937vw;
  }
  .plan_mv_img .cap_n {
    font-size: 10px;
    padding: 3px 5px;
  }
}


/*==========================
 プランリード（白背景・中央揃え）
==========================*/
#planLead {
  background: #fff;
  padding: 4.5em 0;
  text-align: center;
}

.plan_lead_ttl {
  font-size: 24px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--plan-text);
  margin-bottom: 1.5em;
}

.plan_lead_body {
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.06em;
  color: var(--plan-text);
}

/* Tab */
@media screen and (max-width: 1170px) {
  .plan_lead_ttl { font-size: 2.051vw; }
  .plan_lead_body { font-size: 1.196vw; }
}

/* sp */
@media only screen and (max-width: 768px) {
  #planLead { padding: 3em 0; }
  .plan_lead_ttl { font-size: 4.2vw; line-height: 1.7; }
  .plan_lead_body { font-size: 3.125vw; line-height: 2.0; }
}


/*==========================
 立地概念イラスト
==========================*/
#planLocationConcept {
  background: #fff;
  padding: 0 0 2em;
}

.plan_concept_img {
  width: 80%;
  margin: 0 auto;
  position: relative;
  line-height: 0;
}

.plan_concept_img img {
  width: 100%;
  height: auto;
  display: block;
}

/* sp */
@media only screen and (max-width: 768px) {
  #planLocationConcept { padding-bottom: 1.5em; }
  .plan_concept_img { width: 95%; }
}


/*==========================
 眺望パノラマ（横スクロール）
==========================*/
#planView {
  width: 100%;
  position: relative;
  background: #b0c8dc;
  line-height: 0;
}

.plan_view_scroll {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
  position: relative;
}

.plan_view_scroll::-webkit-scrollbar {
  display: none;
}

.plan_view_scroll:active {
  cursor: grabbing;
}

.plan_view_scroll img {
  display: block;
  height: 560px;
  width: auto;
  max-width: none;
  pointer-events: none;
  user-select: none;
  position: relative;
}

/* 矢印ナビ */
.plan_view_arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-60%);
  width: 52px;
  height: 100px;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.85);
  border: none;
  cursor: pointer;
  font-size: 36px;
  line-height: 100px;
  text-align: center;
  z-index: 10;
  transition: background 0.3s;
  padding: 0;
  font-family: serif;
}

.plan_view_arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.plan_view_arrow--prev { left: 0; }
.plan_view_arrow--next { right: 0; }

/* 眺望キャプション */
.plan_view_cap {
  position: absolute;
  bottom: 8px;
  right: 10px;
  font-size: 12px;
  color: #fff;
  text-shadow: 0 0 4px #231815, 0 0 4px #231815;
  letter-spacing: 1px;
  z-index: 10;
  line-height: 1.4;
}

/* スクロールインジケーター */
.plan_view_indicator_wrap {
  background: url(../images/access/ttl_bg.png) no-repeat center center;
  background-size: 100% 100%;
  padding: 8px 0 10px;
  line-height: 1;
}

.plan_view_indicator {
  position: relative;
  width: 70%;
  max-width: 500px;
  height: 3px;
  background: rgba(255, 255, 255, 0.25);
  margin: 0 auto;
}

.plan_view_thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 2px;
}

.plan_view_hint {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  letter-spacing: 0.2em;
  margin-top: 7px;
  font-family: "adobe-garamond-pro", serif;
  font-style: italic;
  line-height: 1;
}

/* Tab */
@media screen and (max-width: 1170px) {
  .plan_view_scroll img { height: 47.9vw; }
  .plan_view_arrow { width: 40px; height: 72px; font-size: 28px; line-height: 72px; }
}

/* sp */
@media only screen and (max-width: 768px) {
  .plan_view_scroll img { height: 60vw; }
  .plan_view_arrow { width: 32px; height: 56px; font-size: 22px; line-height: 56px; }
  .plan_view_cap { font-size: 10px; }
}


/*==========================
 間取りセクション（A2タイプ・3列レイアウト）
==========================*/
#planFloorplan {
  background: linear-gradient(180deg,
    var(--plan-bg-grad-top) 0%,
    var(--plan-bg-grad-mid) 90%,
    var(--plan-bg-grad-bot) 100%);
  padding: 4.5em 0 3em;
}

/* セクション見出し */
.plan_copy_head {
  text-align: center;
  margin-bottom: 2.5em;
}

.plan_copy_ttl {
  font-size: 24px;
  line-height: 1.85;
  letter-spacing: 0.08em;
  color: var(--plan-text);
}

/* 3カラムレイアウト */
.plan_3col_layout {
  display: grid;
  grid-template-columns: 215px 1fr 215px;
  gap: 22px;
  align-items: start;
}

/* -------
   左右：特徴カラム
------- */
.plan_features_col {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* 各特徴アイテム */
.plan_feature_item {}

.plan_feature_head {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 0.6em;
}

.plan_feature_num_badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #009be7 0%, #1c2086 100%);
  color: #fff;
  font-family: "adobe-garamond-pro", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 21px;
  letter-spacing: 0;
  flex-shrink: 0;
}

.plan_feature_ttl {
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--plan-navy);
  align-self: flex-start;
  margin-left: 6px;
}

.plan_feature_img {
  position: relative;
  width: 100%;
  margin-bottom: 0.6em;
}

.plan_feature_img img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.plan_feature_body {
  font-size: 11px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  color: var(--plan-text-sub);
}

/* -------
   中央：間取りカラム
------- */
.plan_center_col {}

/* タイプヘッダー */
.plan_type_header {
  display: flex;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 0.8em;
  flex-wrap: wrap;
}

.plan_type_badge {
  background: var(--plan-navy);
  color: #fff;
  padding: 8px 14px 6px;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  flex-shrink: 0;
}

.plan_type_badge .type_a2 {
  font-family: "adobe-garamond-pro", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 28px;
  letter-spacing: 0.02em;
  line-height: 1;
}

.plan_type_badge .type_en {
  font-family: "adobe-garamond-pro", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.1em;
  line-height: 1;
}

.plan_type_rooms_block {
  flex-shrink: 0;
}

.plan_type_rooms {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0.05em;
  color: var(--plan-navy);
}

.plan_area_block {
  flex: 1;
  text-align: right;
}

.plan_area_label {
  font-size: 12px;
  color: var(--plan-text-sub);
  letter-spacing: 0.03em;
  line-height: 1.6;
}

.plan_area_num {
  font-family: "adobe-garamond-pro", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 30px;
  color: var(--plan-navy);
  line-height: 1.1;
  letter-spacing: 0.02em;
}

.plan_area_unit {
  font-size: 14px;
  font-family: "a-otf-ryumin-pr6n", serif;
  color: var(--plan-text);
}

.plan_area_tsubo {
  font-size: 12px;
  color: var(--plan-text-sub);
}

/* 間取り図 */
.plan_floorplan_img {
  position: relative;
  width: 80%;
  margin: 0 auto;
}

.plan_floorplan_img img {
  width: 100%;
  height: auto;
  display: block;
}

/* 凡例行（通風・採光・アウトフレーム） */
.plan_legend_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 0.8em;
  flex-wrap: wrap;
}

.plan_legend_icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.plan_legend_item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--plan-text);
}

.plan_legend_icon_tsufu {
  width: 18px;
  height: 10px;
  border-top: 2px solid #3a85c7;
  border-bottom: 2px solid #3a85c7;
  position: relative;
}

.plan_legend_icon_sako {
  width: 18px;
  height: 10px;
  border-top: 2px solid #e8a020;
  border-bottom: 2px solid #e8a020;
}

.plan_legend_icon_out {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #e43030;
}

.plan_legend_wic {
  font-size: 11px;
  color: var(--plan-text-sub);
  letter-spacing: 0.03em;
}

/* 注記 */
.plan_floorplan_note {
  font-size: 11px;
  color: var(--plan-text-sub);
  letter-spacing: 0.03em;
  margin-top: 1.2em;
  text-indent: -1em;
  padding-left: 1em;
}

/* Tab */
@media screen and (max-width: 1170px) {
  .plan_copy_ttl { font-size: 2.051vw; }
  .plan_3col_layout {
    grid-template-columns: 180px 1fr 180px;
    gap: 16px;
  }
  .plan_type_rooms { font-size: 1.709vw; }
}

/* sp */
@media only screen and (max-width: 768px) {
  #planFloorplan { padding: 3em 0 2em; }
  .plan_copy_ttl { font-size: 4.0vw; line-height: 1.7; }
  .plan_copy_head { margin-bottom: 2em; }
  .plan_3col_layout {
    grid-template-columns: 1fr;
    gap: 0;
  }
  /* SP: 中央カラムを先頭へ */
  .plan_center_col { order: 1; margin-bottom: 2em; }
  .plan_features_col:first-of-type { order: 2; }
  .plan_features_col:last-of-type { order: 3; }
  /* 特徴アイテム横並び */
  .plan_features_col {
    gap: 16px;
  }
  .plan_feature_img img { height: 120px; }
  .plan_feature_body { font-size: 2.6vw; }
  .plan_type_header { gap: 10px; }
  .plan_type_rooms { font-size: 4.5vw; }
  .plan_area_num { font-size: 6vw; }
}


/*==========================
 空間設計セクション
==========================*/
#planSpaceDesign {
  background: #fff;
}

/* ヘッダー帯（ネイビー） */
.space_header_band {
  background: url(../images/access/ttl_bg.png) no-repeat center center;
  background-size: 100% 100%;
  text-align: center;
  padding: 1.2em 0;
}

.space_header_ttl {
  font-size: 22px;
  letter-spacing: 0.12em;
  color: #fff;
  line-height: 1.5;
}

/* リード文 */
.space_lead_wrap {
  padding: 3.5em 0 2em;
  text-align: center;
  background: #fff;
}

.space_lead_body {
  font-size: 14px;
  line-height: 2.2;
  letter-spacing: 0.06em;
  color: var(--plan-text);
}

/* 各サブセクション */
.space_sub {
  padding: 0 0 4em;
}

/* 連窓サッシュ：左テキスト・右画像 */
.space_sash_inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.space_sash_info {
  flex: 1;
  padding-top: 0.5em;
}

.space_sash_img_col {
  flex: 1.4;
  min-width: 0;
}

.space_sash_img_col img {
  width: 100%;
  height: auto;
  display: block;
}

/* アウトフレーム：左ボックス・右テキスト */
.space_outframe_inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.space_outframe_box {
  flex: 1.4;
  position: relative;
}

.space_outframe_diagrams {
  display: flex;
  gap: 20px;
  margin-bottom: 12px;
}

.space_outframe_diagram {
  flex: 1;
  text-align: center;
}

.space_outframe_diagram_ttl {
  font-size: 12px;
  color: var(--plan-text);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
  text-align: center;
}

.space_outframe_diagram img {
  width: 100%;
  height: auto;
  display: block;
}

.space_outframe_diagram_cap_txt {
  font-size: 11px;
  color: var(--plan-text-sub);
  line-height: 1.5;
  margin-top: 6px;
  text-align: center;
  letter-spacing: 0.03em;
}

.space_box_gainen {
  position: absolute;
  bottom: 8px;
  right: 12px;
  font-size: 11px;
  color: var(--plan-text-sub);
  letter-spacing: 0.04em;
}

/* 連窓サッシュ / アウトフレーム / ウォールドア：キャプション位置を左10px・上20px調整
   ※他のimageCap要素には影響しないようスコープを絞る */
.space_sash_img_col .cap_n.cap_r {
  bottom: 25px;
  right: 20px;
}

.space_outframe_box .space_box_gainen {
  bottom: 33px; /* 28 + 5 */
  right: 27px;  /* 22 + 5 */
}

.space_walldoor_box .space_box_gainen {
  bottom: 28px;
  right: 27px;  /* 22 + 5 */
}

/* 連窓サッシュ上部：リード文との余白を広げる */
.space_lead_wrap + .space_sub {
  padding-top: 2.5em;
}

.space_outframe_info {
  flex: 1;
  padding-top: 0.5em;
}

/* ウォールドア：左テキスト・右ボックス */
.space_walldoor_inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.space_walldoor_info {
  flex: 1;
  padding-top: 0.5em;
}

.space_walldoor_box {
  flex: 1.4;
  position: relative;
}

.space_walldoor_states {
  display: flex;
  gap: 16px;
  align-items: center;
}

.space_walldoor_state {
  flex: 1;
  text-align: center;
}

.space_walldoor_state_label {
  font-family: "adobe-garamond-pro", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.12em;
  color: var(--plan-navy);
  margin-bottom: 8px;
  display: block;
}

.space_walldoor_state img {
  width: 100%;
  height: auto;
  display: block;
}

.space_walldoor_arrow {
  flex-shrink: 0;
  width: 28px;
  text-align: center;
  color: var(--plan-navy);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.space_walldoor_arrow svg {
  width: 24px;
  height: 24px;
  fill: var(--plan-navy);
}

/* 共通：サブセクション内のタイトル */
.space_item_en {
  font-family: "adobe-garamond-pro", serif;
  font-weight: 400;
  font-style: normal;
  font-size: 19px;
  letter-spacing: 0.12em;
  color: var(--plan-navy);
  line-height: 1;
  margin-bottom: 1em;
}

.space_item_desc {
  font-size: 11px;
  line-height: 2.1;
  letter-spacing: 0.05em;
  color: var(--plan-text);
}

/* Tab */
@media screen and (max-width: 1170px) {
  .space_header_ttl { font-size: 1.880vw; }
  .space_item_en { font-size: 1.624vw; }
  .space_item_desc { font-size: 0.940vw; }
  .space_lead_body { font-size: 1.196vw; }
}

/* sp */
@media only screen and (max-width: 768px) {
  .space_header_ttl { font-size: 4.5vw; }
  .space_lead_body { font-size: 3.125vw; }
  .space_lead_wrap { padding: 2.5em 0 1.5em; }
  .space_sub { padding-bottom: 2.5em; }
  .space_sash_inner,
  .space_outframe_inner,
  .space_walldoor_inner {
    flex-direction: column;
    gap: 20px;
  }
  /* SP: 画像 → 設備名 → 本文 の順に並べる */
  .space_sash_img_col { order: -1; }   /* ① 連窓サッシュ：画像を先頭へ */
  .space_walldoor_box { order: -1; }   /* ③ ウォールドア：画像を先頭へ */
  /* SP: アウトフレーム・ウォールドア画像の上余白 */
  .space_outframe_box { margin-top: 1.8em; }
  .space_walldoor_box { margin-top: 1.8em; }
  /* SP: 本文の改行を無効化（テキスト流し込み） */
  .space_item_desc br { display: none; }
  .space_item_en { font-size: 4.3vw; }
  .space_item_desc { font-size: 2.656vw; line-height: 1.8; }
  .space_walldoor_states { gap: 8px; }
  .space_walldoor_state_label { font-size: 3.5vw; }
}


/*==========================
 設備・仕様セクション
==========================*/
#planEquipment {
  background: linear-gradient(180deg, #e8f2f8 0%, #f2f8fb 50%, #f8fbfd 100%);
  padding: 4.5em 0 4em;
}

.equip_head_wrap {
  text-align: center;
  margin-bottom: 2.8em;
}

.equip_head_ttl {
  font-size: 24px;
  letter-spacing: 0.08em;
  line-height: 1.7;
  color: var(--plan-text);
}

/* 4列×2行グリッド */
.equip_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px 20px;
}

.equip_item {
  display: flex;
  flex-direction: column;
}

.equip_img {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 10px;
}

.equip_img img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}

.equip_name {
  display: flex;
  align-items: center;
  min-height: 45px; /* 15px × 1.5 × 2行分 */
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--plan-navy);
  margin-bottom: 0.8em;
}

.equip_desc {
  font-size: 11px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  color: var(--plan-text-sub);
}

.equip_note {
  font-size: 10px;
  color: var(--plan-text-sub);
  margin-top: 4px;
  letter-spacing: 0.03em;
  text-indent: -1em;
  padding-left: 1em;
}

/* Tab */
@media screen and (max-width: 1170px) {
  .equip_head_ttl { font-size: 2.051vw; }
  .equip_grid { gap: 16px 12px; }
  .equip_img img { height: 145px; }
}

/* sp */
@media only screen and (max-width: 768px) {
  #planEquipment { padding: 3em 0 2.5em; }
  .equip_head_ttl { font-size: 4.0vw; }
  .equip_head_wrap { margin-bottom: 2em; }
  .equip_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 10px; /* 行間余白を拡大 */
  }
  .equip_img img { height: auto; object-fit: initial; } /* トリミングなし */
  .equip_name { font-size: 3.125vw; }
  .equip_desc { font-size: 2.604vw; }
  .equip_note { font-size: 2.344vw; }
}


/*==========================
 省エネラベル（CASBEE + 省エネ性能ラベル）
==========================*/
#planEnergyLabel {
  background: #fff;
  padding: 3.5em 0;
}

.energy_label_inner {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 24px;
}

.energy_label_img {
  display: flex;
  gap: 32px;
  align-items: center;
  max-width: 700px;
  width: 100%;
}

.energy_label_img img:nth-child(1) {
  flex: 1.12;
  width: 0;
  height: auto;
  display: block;
}

.energy_label_img img:nth-child(2) {
  flex: 1;
  width: 0;
  height: auto;
  display: block;
}

/* sp */
@media only screen and (max-width: 768px) {
  #planEnergyLabel { padding: 2.5em 0; }
  .energy_label_inner { gap: 16px; flex-direction: column; align-items: center; }
  .energy_label_img {
    max-width: 60%;
    flex-direction: column;
    gap: 16px;
  }
  .energy_label_img img:nth-child(1),
  .energy_label_img img:nth-child(2) {
    flex: none;
    width: 100%;
  }
}


/*==========================
 Co.Da.Wa.Rism バナー
==========================*/
#planCodawarism {
  width: 100%;
  line-height: 0;
}

.codawarism_link {
  display: block;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.codawarism_link img {
  width: 100%;
  height: auto;
  display: block;
}


/*==========================
 フッター エントリーボタン（他ページ共通スタイル）
==========================*/
#plan .footer_BtnLink {
  display: block;
  width: 100%;
  margin: 0;
  padding-top: 4em;
  gap: 0;
}

#plan .footer_BtnLink li {
  width: 100%;
  margin: 0;
}

#plan .footer_BtnLink .btn_entryLink {
  width: 100%;
}

#plan .footer_BtnLink .btn_entryLink a {
  border-radius: 0;
  background: linear-gradient(90deg, #e2d2aa 0%, #d8c18f 42%, #f3ecdc 100%);
  color: #0f3f7c !important;
  border: 0;
}

#plan .footer_BtnLink .click_badge {
  background-color: #0f3f7c;
  font-style: normal;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: bold;
}

/* sp */
@media only screen and (max-width: 768px) {
  #plan .footer_BtnLink {
    padding-top: 2.5em;
  }
}


/*==========================
 間取りポップアップ（SP用）
==========================*/

/* ホットスポット・ヒント・モーダル：PCでは非表示 */
.plan_hotspots_wrap,
.plan_sp_hotspot_hint,
.madori_modal { display: none; }

@media only screen and (max-width: 768px) {

  /* 特徴カラム：ポップアップで代替するため非表示 */
  .plan_features_col { display: none; }

  /* -------- ホットスポット -------- */
  .plan_hotspots_wrap {
    display: block;
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 10;
  }

  .plan_hotspot_btn {
    position: absolute;
    pointer-events: all;
    width: 28px;
    height: 28px;
    padding: 0;
    background: linear-gradient(135deg, #009be7 0%, #1c2086 100%);
    color: #fff;
    font-family: "adobe-garamond-pro", serif;
    font-weight: 400;
    font-size: 17px;
    border: 2px solid rgba(255,255,255,0.55);
    cursor: pointer;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.35);
    transition: transform 0.15s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .plan_hotspot_btn:active {
    transform: translate(-50%, -50%) scale(0.88);
  }

  /* 番号ごとの位置 ― plan_kagu.png を確認しながら調整してください */
  .plan_hotspot_btn[data-target="1"]:not([data-sub]) { left: 45%; top: 35%; }
  .plan_hotspot_btn[data-target="1"][data-sub]       { left: 45%; top: 55%; }
  .plan_hotspot_btn[data-target="2"] { left: calc(66% + 30px); top: 48%; }
  .plan_hotspot_btn[data-target="3"] { left: 27%; top: 80%; }
  .plan_hotspot_btn[data-target="4"]:not([data-sub]) { left: 76%; top: 35%; }
  .plan_hotspot_btn[data-target="4"][data-sub]       { left: 23%; top: 37%; }
  .plan_hotspot_btn[data-target="5"] { left: calc(61% - 12px); top: calc(72% - 6px); }
  .plan_hotspot_btn[data-target="6"] { left: 74%; top: 83%; }

  /* ヒントテキスト */
  .plan_sp_hotspot_hint {
    display: block;
    text-align: center;
    font-size: 3.8vw;
    font-weight: bold;
    color: #3a2000;
    letter-spacing: 0.05em;
    line-height: 1.9;
    background: linear-gradient(135deg, #cdb96a 0%, #e8d48e 28%, #fdf5de 50%, #e4cc80 72%, #c4a850 100%);
    border-radius: 5px;
    border: 1px solid rgba(180, 145, 40, 0.2);
    padding: 0.9em 1.4em;
    margin-top: 2.5em;
    margin-bottom: 2em;
  }

  /* -------- モーダル -------- */
  .madori_modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
  }

  .madori_modal.is-open {
    display: flex;
  }

  .madori_modal_overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
  }

  .madori_modal_inner {
    position: relative;
    background: #fff;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 20px 20px 32px;
    border-radius: 12px;
    animation: madoriFadeIn 0.25s ease;
  }

  @keyframes madoriFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
  }

  .madori_modal_close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #ebebeb;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: transparent;
    flex-shrink: 0;
  }

  .madori_modal_header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 4px 0 14px;
  }

  .madori_modal_num_wrap {
    display: flex;
    flex-shrink: 0;
    margin: 0;
  }

  .madori_modal_badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, #009be7 0%, #1c2086 100%);
    color: #fff;
    font-family: "adobe-garamond-pro", serif;
    font-weight: 400;
    font-size: 26px;
    letter-spacing: 0;
  }

  .madori_modal_ttl {
    font-size: 4.2vw;
    line-height: 1.5;
    letter-spacing: 0.04em;
    color: var(--plan-navy);
    text-align: left;
    margin: 0 0 0 6px;
  }

  .madori_modal_img {
    width: fit-content;
    max-width: 100%;
    margin: 0 auto 14px;
  }

  .madori_modal_img img {
    max-width: 100%;
    max-height: 42vh;
    width: auto;
    height: auto;
    display: block;
  }

  .madori_modal_body {
    font-size: 3vw;
    line-height: 1.85;
    letter-spacing: 0.03em;
    color: var(--plan-text-sub);
  }

  /* ポップアップ番号別キャプション位置調整 */
  #madoriModal[data-item="1"] .madori_modal_img .cap_n { right: 5px; }
  #madoriModal[data-item="4"] .madori_modal_img .cap_n { right: 15px; }

  /* モーダル表示中のボディスクロール禁止 */
  body.madori-modal-open {
    overflow: hidden;
  }
}


/*==========================
 プランバリエーションセクション
==========================*/
#planVariations {
  background: #f5f5f5;
  padding: 5em 0 4.5em;
}

/* タイトル */
.pv_head {
  text-align: center;
  margin-bottom: 2.8em;
}

.pv_ttl_img {
  max-width: 480px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 0.9em;
}

.pv_lead {
  font-size: 19px;
  letter-spacing: 0.14em;
  color: var(--plan-text);
  line-height: 1.8;
}

/* 3カラム */
.pv_cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 0.5em;
}

.pv_card_label {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 0.7em;
}

.pv_card_area {
  font-size: 11px;
  color: var(--plan-text-sub);
  line-height: 1.75;
  letter-spacing: 0.02em;
  margin-bottom: 1.2em;
}

/* ボタン */
.pv_btn {
  display: block;
  text-align: center;
  font-size: 14px;
  letter-spacing: 0.06em;
  padding: 0.85em 1em;
  text-decoration: none;
  line-height: 1.4;
  transition: opacity 0.5s ease;
}

.pv_btn--active,
.pv_btn--active:link,
.pv_btn--active:visited {
  background: linear-gradient(to right, #1f91d1, #1d2a72);
  color: #fff;
}

.pv_btn--active:hover {
  opacity: 0.8;
}

.pv_btn--entry:hover {
  opacity: 0.8;
}

.pv_btn--entry,
.pv_btn--entry:link,
.pv_btn--entry:visited {
  background: #6e6e6e;
  color: #fff;
}

/* 凡例 */
.pv_legend {
  text-align: right;
  font-size: 11px;
  color: var(--plan-text-sub);
  letter-spacing: 0.03em;
  margin-top: 3.5em;
  margin-bottom: 7em;
}

/* エントリーボックス */
.pv_entry_box {
  border: 1.5px solid var(--plan-navy);
  padding: 2em 2em;
  text-align: center;
}

.pv_entry_txt {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.06em;
  color: var(--plan-text);
  margin-bottom: 1.2em;
  line-height: 1.5;
}

.pv_entry_icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: block;
}

.pv_entry_btn,
.pv_entry_btn:link,
.pv_entry_btn:visited {
  display: inline-block;
  background: var(--plan-navy);
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.1em;
  padding: 0.85em 3.5em;
  text-decoration: none;
}

/* Tab */
@media screen and (max-width: 1170px) {
  .pv_ttl_img { max-width: 41vw; }
  .pv_lead { font-size: 1.624vw; }
  .pv_btn { font-size: 1.195vw; }
  .pv_entry_txt { font-size: 1.709vw; }
  .pv_entry_btn { font-size: 1.282vw; padding: 0.85em 3em; }
}

/* SP */
@media only screen and (max-width: 768px) {
  #planVariations { padding: 3em 0 3em; }
  .pv_ttl_img { max-width: 70%; }
  .pv_lead { font-size: 3.7vw; letter-spacing: 0.08em; }
  .pv_cards { grid-template-columns: 1fr; gap: 32px; }
  .pv_card { position: relative; padding: 0; }
  .pv_card::after {
    content: "";
    position: absolute;
    inset: 0;
    border: 2px solid var(--plan-navy);
    pointer-events: none;
    z-index: 2;
  }
  .pv_card_area { font-size: 3.4vw; text-align: center; }
  .pv_btn { font-size: 3.5vw; }
  .pv_legend { font-size: 2.5vw; }
  .pv_entry_box { padding: 1.5em 1.2em; }
  .pv_entry_txt { font-size: 4.2vw; gap: 8px; flex-wrap: wrap; }
  .pv_entry_icon { width: 48px; height: 48px; }
  .pv_entry_btn { font-size: 3.8vw; padding: 0.85em 2em; }
}
