/* =========================================================
   Plan
   ========================================================= */
.sg-plan {
  padding: 0 0 50px;
}

/* Hero */
.sg-plan .sgpl-hero {
  padding: 0 0 70px;
}

.sg-plan .sgpl-hero-fig {
  margin: 0;
  display: flex;
  justify-content: center;
}

.sg-plan .sgpl-hero-fig img {
  width: min(720px, 100%);
  height: auto;
  display: block;
}

/* 背景 */
.sg-plan .sgpl-block {
  position: relative;
  left: 50%;
  right: 50%;
  width: 100vw;
  margin-left: -50vw;
  margin-right: -50vw;
}

.sg-plan .sgpl-block--ext {
  background: #2f4482;
}

.sg-plan .sgpl-block--garden {
  background: #1d5b25;
}

/* 中身 */
.sg-plan .sgpl-block-inner {
  width: 100%;
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding: 40px 0;
}

/* 3マス×2段（共通） */
.sg-plan .sgpl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

/* 左上：タイトル専用カード */
.sg-plan .sgpl-titlecard {
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
}

.sg-plan .sgpl-titlecard-jp {
  margin: 0;
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 500;
  font-size: clamp(22px, 2.2vw, 32px);
  letter-spacing: .18em;
}

.sg-plan .sgpl-titlecard-en {
  margin: 10px 0 0;
  font-family: "Cormorant", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: .10em;
}

/* プランカード */
.sg-plan .sgpl-card {
  display: grid;
  grid-template-rows: auto auto;
  background: #fff;
  color: #000;
  text-decoration: none;
  overflow: hidden;
  transform: translateY(0);
  min-height: 280px;
}

/* 上：金額＋リスト */
.sg-plan .sgpl-card-top {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 5px;
  align-items: start;
  padding: 10px;
}

/* 金額 */
.sg-plan .sgpl-price {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.sg-plan .sgpl-price-num {
  font-size: 45px;
  letter-spacing: -0.02em;
}

.sg-plan .sgpl-block--ext .sgpl-price-num {
  color: #2f4482;
}

.sg-plan .sgpl-block--garden .sgpl-price-num {
  color: #1d5b25;
}

.sg-plan .sgpl-price-unit {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}

/* 箇条書き（チェック） */
.sg-plan .sgpl-points {
  position: relative;
  list-style: none;
  font-size: 16px;
  line-height: 1.65;
  margin: 0;
  padding-left: 10px;
}

/* 縦ライン */
.sg-plan .sgpl-points::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: rgba(0, 0, 0, .35);
}

.sg-plan .sgpl-points li {
  position: relative;
  margin: 0 0 4px;
  padding-left: 1.35em;
}

.sg-plan .sgpl-points li:last-child {
  margin-bottom: 0;
}

.sg-plan .sgpl-points li::before {
  position: absolute;
  left: 0;
  top: 5px;
  content: "check";
  font-family: "Material Icons";
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  color: #1d5b25;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

/* 外構ブロック内はチェックを青寄りに */
.sg-plan .sgpl-block--ext .sgpl-points li::before {
  color: #2f4482;
}

/* 下：画像 */
.sg-plan .sgpl-fig {
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, .35);
  margin: 0;
}

.sg-plan .sgpl-fig img {
  width: 100%;
  height: auto;
  display: block;
}

/* hover */
.sg-plan a.sgpl-card:hover,
.sg-plan a.sgpl-card:focus {
  opacity: 1 !important;
}

@supports selector(a:has(img)) {
  .sg-plan a.sgpl-card {
    overflow: hidden;
    transform: translateY(0);
    transition: transform .18s ease, box-shadow .18s ease
  }

  .sg-plan a.sgpl-card img {
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* 膜（オーバーレイ）を作る */
.sg-plan .sgpl-card {
  position: relative;
}

/* カード全体を覆う */
.sg-plan .sgpl-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

/* 外構（青） */
.sg-plan .sgpl-block--ext .sgpl-card::after {
  background: rgba(47, 68, 130, .30);
}

/* 庭（緑） */
.sg-plan .sgpl-block--garden .sgpl-card::after {
  background: rgba(29, 91, 37, .30);
}

.sg-plan .sgpl-card:hover,
.sg-plan .sgpl-card:focus {
  transform: translateY(1px);
}

/* hoverで膜を出す */
.sg-plan .sgpl-card:hover::after,
.sg-plan .sgpl-card:focus::after {
  opacity: 1;
}

/* 現在ページのカードは「ホバー状態」をデフォルト表示 */
.sg-plan .sgpl-card.is-current::after {
  opacity: 1;
}

.sg-plan .sgpl-card.is-current:hover,
.sg-plan .sgpl-card.is-current:focus {
  transform: none;
}

/* キーボード操作でも分かるように */
.sg-plan .sgpl-card:focus {
  outline: 2px solid rgba(255, 255, 255, .55);
  outline-offset: 2px;
}

/* Responsive */
@media (max-width: 900px) {
  .sg-plan .sgpl-block-inner {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 28px;
    padding-bottom: 28px;
  }

  .sg-plan .sgpl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sg-plan .sgpl-titlecard {
    grid-column: 1 / -1;
    min-height: auto;
    padding: 18px 14px;
  }
}

@media (max-width: 600px) {
  .sg-plan .sgpl-block-inner {
    padding-left: 10px;
    padding-right: 10px;
  }

  .sg-plan .sgpl-grid {
    grid-template-columns: 1fr;
  }

  .sg-plan .sgpl-card-top {
    grid-template-columns: 120px 1fr;
    gap: 12px;
  }

  .sg-plan .sgpl-price-num {
    font-size: 40px;
  }

  .sg-plan .sgpl-points {
    font-size: 15px;
  }

  .sg-plan .sgpl-nextprev {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

/* =========================================================
   Plan 子ページ
   ========================================================= */
.sg-planpage {
  box-sizing: border-box;
  margin-bottom: 50px;
}

/* 前後ナビ */
.sg-planpage .sgpl-ynav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 5px;
  margin: 10px auto;
}

.sg-planpage .sgpl-ynav-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-weight: 500;
  letter-spacing: .06em;
  color: #000;
  line-height: 1.3;
  text-decoration: none;
}

.sg-planpage .sgpl-ynav-btn--prev {
  justify-self: start;
  text-align: left;
}

.sg-planpage .sgpl-ynav-btn--next {
  justify-self: end;
  text-align: right;
}

.sg-planpage .sgpl-ynav-ico {
  font-size: 22px;
  color: #000;
  padding-top: 3px;
}

/* hover */
.sg-planpage .sgpl-ynav-btn:hover,
.sg-planpage .sgpl-ynav-btn:focus {
  opacity: .5;
}

/* Responsive */
@media (max-width: 600px) {
  .sg-planpage .sgpl-ynav {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 8px;
  }

  .sg-planpage .sgpl-ynav-btn--prev,
  .sg-planpage .sgpl-ynav-btn--next {
    justify-self: center;
    text-align: center;
  }
}

/* -------------------------
  上部ヘッダー帯
------------------------- */
/* 背景 */
.sg-planpage .sgpl-head {
  display: grid;
  grid-template-columns: 180px 380px 1fr;
  gap: 15px;
  align-items: center;
  color: #fff;
  margin: 0 auto 50px;
  padding: 10px 30px;
}

.sg-planpage .sgpl-head.sgpl-ex {
  background: #2f4482;
}

.sg-planpage .sgpl-head.sgpl-ga {
  background: #1d5b25;
}

/* タイトル */
.sg-planpage .sgpl-head-jp {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: .14em;
  margin: 0;
}

.sg-planpage .sgpl-head-en {
  font-family: "Cormorant", "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .08em;
  margin: 5px 0 0;
}

.sg-planpage .sgpl-head-price {
  position: relative;
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  text-align: left;
  padding-bottom: 10px;
}

.sg-planpage .sgpl-head-price::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 1px;
  background: #fff;
}

.sg-planpage .sgpl-head-num {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 70px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1;
  padding-left: 30px;
}

.sg-planpage .sgpl-head-unit {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: #fff;
}

.sg-planpage .sgpl-head-points {
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 18px;
  color: #fff;
  line-height: 1.6;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 20px;
  row-gap: 4px;
}

.sg-planpage .sgpl-head-points li {
  position: relative;
  padding-left: 1.5em;
}

.sg-planpage .sgpl-head-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .30em;
  width: 20px;
  height: 20px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 6.709a1 1 0 0 1 0 1.414l-10 10a1 1 0 0 1-1.414 0l-5-5a1 1 0 0 1 1.414-1.414l4.293 4.293 9.293-9.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.285 6.709a1 1 0 0 1 0 1.414l-10 10a1 1 0 0 1-1.414 0l-5-5a1 1 0 0 1 1.414-1.414l4.293 4.293 9.293-9.293a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* Responsive */
@media (max-width: 900px) {
  .sg-planpage .sgpl-head {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: left;
  }

  .sg-planpage .sgpl-head-price {
    justify-content: flex-start;
  }
}

/* メイン画像 */
.sg-planpage .sgpl-heroimg {
  margin: 0 50px 20px;
}

.sg-planpage .sgpl-heroimg img {
  width: 100%;
  height: auto;
  display: block;
}

/* 説明 */
.sg-planpage .sgpl-intro {
  max-width: 800px;
  margin: 0 auto 50px;
}

.sg-planpage .sgpl-h2 {
  position: relative;
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.6;
  text-align: center;
  margin-bottom: 10px;
}

.sg-planpage .sgpl-h2::after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  height: 1px;
  width: 100%;
  background-color: rgba(0, 0, 0, .35);
}

.sg-planpage .sgpl-lead {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  line-height: 1.9;
  margin: 0 0 30px;
}

/* ギャラリー */
.sg-planpage .sgpl-gallery {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 50px;
  align-items: start;
  margin: 0 auto 70px;
}

/* 左カラム（縦並び） */
.sg-planpage .sgpl-gleft {
  display: grid;
  gap: 20px;
}

.sg-planpage .sgpl-cost {
  background: #fff;
  padding: 0;
}

.sg-planpage .sgpl-cost-head {
  position: relative;
  padding: 0;
  margin-bottom: 10px;
}

/* 縦ライン */
.sg-planpage .sgpl-cost-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 10px;
}

.sg-planpage .sgpl-cost-head.sgpl-ex::before {
  background: #2f4482;
}

.sg-planpage .sgpl-cost-head.sgpl-ga::before {
  background: #1d5b25;
}

.sg-planpage .sgpl-cost-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1;
  margin: 0;
  padding: 5px 0 5px 20px;
}

.sg-planpage .sgpl-cost-note {
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  padding: 0 0 0 15px;
}

/* 金額表 */
.sg-planpage .sgpl-cost-dl {
  margin: 0;
}

.sg-planpage .sgpl-cost-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 120px;
  gap: 0;
  border-top: 1px solid rgba(0, 0, 0, .35);
  align-items: baseline;
  padding: 5px 0;
}

/* 縦ライン */
.sg-planpage .sgpl-cost-row::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% - 120px);
  width: 1px;
  background: rgba(0, 0, 0, .35);
}

.sg-planpage .sgpl-cost-row dt {
  font-size: 17px;
  font-weight: 400;
  line-height: 1.5;
  padding-left: 10px;
  padding-right: 10px;
}

.sg-planpage .sgpl-cost-row dd {
  font-size: 17px;
  letter-spacing: .02em;
  text-align: right;
  margin: 0;
  padding-left: 15px;
  padding-right: 10px;
}

/* 合計 */
.sg-planpage .sgpl-cost-row--sum {
  border-top: 1px solid rgba(0, 0, 0, .35);
  padding-top: 10px;
}

.sg-planpage .sgpl-cost-row--sum::before {
  display: none;
}

.sg-planpage .sgpl-cost-row--sum dt,
.sg-planpage .sgpl-cost-row--sum dd {
  font-weight: 500;
}

/* 動画 */
.sg-planpage .sgpl-movie {
  background: #fff;
  margin-top: 20px;
  padding: 0;
}

.sg-planpage .sgpl-movie-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.sg-planpage .sgpl-movie-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* 右カラム */
.sg-planpage .sgpl-gright {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

/* figure */
.sg-planpage .sgpl-figitem {
  position: relative;
  background: #fff;
  overflow: hidden;
  margin: 0;
  padding-bottom: 25px;
}

.sg-planpage .sgpl-figitem img {
  width: 100%;
  height: auto;
  display: block;
}

/* キャプション */
.sg-planpage .sgpl-figcap {
  position: absolute;
  left: 5px;
  bottom: 0;
  background: #fff;
  font-size: 17px;
  line-height: 1.2;
  padding: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .sg-planpage .sgpl-gallery {
    grid-template-columns: 1fr;
  }

  .sg-planpage .sgpl-gright {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .sg-planpage .sgpl-gright {
    grid-template-columns: 1fr;
  }

  .sg-planpage .sgpl-figcap {
    bottom: -8px;
    left: 8px;
  }
}

/* -------------------------
  おすすめポイント
------------------------- */
.sg-planpage section.sgpl-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 0 auto 70px;
}

/* カード */
.sg-planpage .sgpl-point {
  min-width: 0;
}

.sg-planpage .sgpl-point-head {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 15px;
  margin: 0 0 15px;
}

/* バッジ */
.sg-planpage .sgpl-point-badge {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 10px;
  color: #fff;
  background: #2f4482;
  margin: 0;
  padding: 3px 10px;
}

.sg-planpage .sgpl-point-head .sgpl-point-badge.sgpl-ga {
  background: #1d5b25;
}

.sg-planpage .sgpl-point-badge-sm {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 14px;
  line-height: 1.1;
  letter-spacing: .10em;
}

.sg-planpage .sgpl-point-badge-no {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 35px;
  letter-spacing: .05em;
  line-height: 1;
  padding-bottom: 2px;
}

/* タイトル */
.sg-planpage .sgpl-point-title {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.35;
  margin: 0;
}

/* 本文 */
.sg-planpage .sgpl-point-text {
  line-height: 1.9;
  margin: 0 0 15px;
}

/* 画像 */
.sg-planpage .sgpl-point-fig {
  margin: 0;
}

.sg-planpage .sgpl-point-fig img {
  width: 100%;
  height: auto;
  display: block;
}

/* Responsive */
@media (max-width: 900px) {
  .sg-planpage .sgpl-points {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .sg-planpage .sgpl-point-title {
    font-size: 22px;
  }
}

/* ---------------------------------------
  参考プラン / 実際の施工例 / お客様の声
------------------------------------------ */
/* セクション見出し */
.sg-planpage .sgpl-sechead {
  margin-bottom: 20px;
}

.sg-planpage .sgpl-sectitle {
  position: relative;
  font-size: 18px;  
  font-weight: 600;
  letter-spacing: .04em;
  margin: 0;
  padding: 5px 20px;
}

/* 縦ライン */
.sg-planpage .sgpl-sectitle::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 10px;
  background: #2f4482;
}

.sg-planpage .sgpl-sectitle.sgpl-ga::before {
  background: #1d5b25;
}

/* 参考プラン */
.sg-planpage .sgpl-refgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin: 0 auto 70px;
}

.sg-planpage .sgpl-refitem {
  margin: 0;
  background: #fff;
  overflow: hidden;
}

.sg-planpage .sgpl-refitem img {
  width: 100%;
  height: auto;
  display: block;
}

/* 実際の施工例 */
.sg-planpage .sgpl-workgrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 0 auto 70px;
}

.sg-planpage .sgpl-workcard {
  min-width: 0;
}

.sg-planpage .sgpl-worklink {
  display: block;
  text-decoration: none;
  color: #000;
}

.sg-planpage .sgpl-workfig {
  margin: 0;
  background: #fff;
  overflow: hidden;
}

.sg-planpage .sgpl-workfig img {
  width: 100%;
  height: auto;
  display: block;
}

.sg-planpage .sgpl-worktxt {
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  font-size: 15px;
  line-height: 1.7;
  margin: 10px 0 0;
}

/* Responsive */
@media (max-width: 900px) {
  .sg-planpage .sgpl-workgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .sg-planpage .sgpl-refgrid {
    grid-template-columns: 1fr;
  }

  .sg-planpage .sgpl-workgrid {
    grid-template-columns: 1fr;
  }
}

/* お客様の声 */
.sg-planpage .sgpl-voicegrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
  margin: 0 auto 70px;
}

.sg-planpage .sgpl-voicecard {
  background: #fff;
  overflow: hidden;
  min-width: 0;
}

.sg-planpage .sgpl-voicefig {
  margin: 0;
}

.sg-planpage .sgpl-voicefig img {
  display: block;
  width: 100%;
  height: auto;
}

.sg-planpage .sgpl-voicebody {
  padding: 15px 0;
}

.sg-planpage .sgpl-voicetitle {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1.5;
  border-bottom: 1px solid rgba(0, 0, 0, .35);
  margin: 0 0 8px;
}

.sg-planpage .sgpl-voicetext {
  line-height: 1.9;
  margin: 0 0 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .sg-planpage .sgpl-voicegrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .sg-planpage .sgpl-voicegrid {
    grid-template-columns: 1fr;
  }
}

/* ----- 下部：/planと同じ一覧ブロックのスペース ----- */
.sg-planpage .sgpl-bottomindex {
  margin: 10px auto 14px;
}