@charset "UTF-8";
/* ==========================================================================
   ABCハウジング「はじめての方へ」/intro/start-guide/ 専用CSS
   - すべてのセレクタは .sg（#sg-start-guide）配下に限定しています
   - クラス名は sg- で始まるものだけを使用（他ページのCSSと衝突しません）
   - コンテンツ幅：最大1280px（--sg-inner）。1600px超は背景のみ広がり中身は中央固定
   - ブレイクポイント：767px以下をSP
   ========================================================================== */

/* ---------- 包み（コンテナ） ----------
   サイトは2カラム（PCは右サイドメニュー付き）のため、画面幅ではなく
   コンテンツ欄（.sg-wrap）の幅を基準にレイアウトを切り替える */
.sg-wrap { container: sg / inline-size; width: 100%; }

/* インクルードする共通ヘッダーの分だけ本文を下げる（PC 80px / SP 60px）
   SP判定は index.php と同じ（device_type['name'] !== 'pc' のとき body.is-sp） */
main { margin-top: 80px; }
body.is-sp main { margin-top: 60px; }

/* ---------- 変数 ---------- */
.sg {
  --sg-red: #dd3737;
  --sg-red-btn: #f0484a;
  --sg-yellow: #ffe23a;
  --sg-green: #c5d976;
  --sg-orange: #f99120;
  --sg-brown: #5f2608;
  --sg-sky: #c5edf7;
  --sg-cream: #fff8d1;
  --sg-beige: #f5f2eb;
  --sg-text: #252525;
  --sg-line: #bdbdbd;
  --sg-font: "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN", "Hiragino Sans", "Meiryo", sans-serif;
  --sg-inner: 1280px;
}

/* ---------- スコープ内リセット ---------- */
.sg,
.sg *,
.sg *::before,
.sg *::after { box-sizing: border-box; }
.sg h1, .sg h2, .sg h3, .sg h4, .sg p, .sg ul, .sg ol, .sg dl, .sg dd, .sg figure { margin: 0; padding: 0; }
.sg ul, .sg ol { list-style: none; }
.sg img { display: block; max-width: 100%; height: auto; border: 0; }
.sg a { color: inherit; text-decoration: none; }
.sg em { font-style: normal; }
.sg svg { display: block; }

.sg {
  position: relative;
  overflow: hidden;
  font-family: var(--sg-font);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: .08em;
  color: var(--sg-text);
  background: #fff;
  -webkit-text-size-adjust: 100%;
}
.sg .sg-sp { display: none; }
@container sg (max-width: 767px) {
  .sg .sg-sp { display: inline; }
  .sg .sg-pc { display: none; }
}

/* ---------- 共通：ボタン ---------- */
.sg .sg-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 345px;
  max-width: 100%;
  min-height: 48px;
  padding: 6px 50px 6px 24px;
  border: 2.5px solid #222;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.4;
  letter-spacing: .04em;
  transition: transform .2s, box-shadow .2s;
}
.sg .sg-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 32px;
  height: 32px;
  margin-top: -16px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M12.5 9.5v13l10-6.5z' fill='%23444'/%3E%3C/svg%3E") center / 100% no-repeat;
}
.sg .sg-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 0 rgba(0,0,0,.15); }
.sg .sg-btn--yellow { background: var(--sg-yellow); }
.sg .sg-btn--green  { background: var(--sg-green); }
.sg .sg-btn--red    { background: var(--sg-red-btn); color: #fff; }
.sg .sg-btn--dark   { background: #555; color: #fff; width: 346px; min-height: 56px; font-size: 18px; }
.sg .sg-btn--dark::after { width: 38px; height: 38px; margin-top: -19px; }

/* ---------- 共通：見出し（左右に斜め破線） ---------- */
@container sg (max-width: 767px) {
}

/* ==========================================================================
   HERO
   ========================================================================== */
.sg .sg-hero { position: relative; }
.sg .sg-hero__sky {
  position: relative;
  background: var(--sg-sky);
  padding-top: 60px;
}
.sg .sg-hero__cloud { position: absolute; height: auto; animation: sg-float 7s ease-in-out infinite alternate; }
.sg .sg-hero__cloud--1 { left: 7%;  top: 230px; width: 100px; }
.sg .sg-hero__cloud--2 { left: 21%; top: 200px; width: 55px; animation-delay: -2s; }
.sg .sg-hero__cloud--3 { left: 5%;  top: 460px; width: 55px; animation-delay: -4s; }
.sg .sg-hero__cloud--4 { right: 13%; top: 225px; width: 95px; animation-delay: -1s; }
.sg .sg-hero__cloud--5 { right: 6%; top: 125px; width: 62px; animation-delay: -3s; }
.sg .sg-hero__cloud--6 { right: 20%; top: 385px; width: 50px; animation-delay: -5s; }
.sg .sg-hero__cloud--7 { right: 8%; top: 335px; width: 55px; animation-delay: -6s; }
@keyframes sg-float { from { transform: translateX(-10px); } to { transform: translateX(10px); } }

.sg .sg-hero__head {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
}
/* リボン見出し */
/* メインタイトル */
.sg .sg-hero__catch {
  margin-top: 18px;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: .1em;
  color: #222;
}
.sg .sg-hero__town { position: relative; margin-top: 10px; background: linear-gradient(transparent 70%, var(--sg-cream) 70%); }
.sg .sg-hero__town img { width: 100%; }

/* 吹き出し〜リード */
.sg .sg-hero__intro {
  position: relative;
  max-width: calc(var(--sg-inner) + 40px);
  margin: 0 auto;
  padding: 0 20px 20px;
  text-align: center;
}
.sg .sg-hero { background: var(--sg-cream); }
.sg .sg-hero__bubble {
  position: relative;
  z-index: 2;
  width: 470px;
  margin: -140px auto 0;
}
.sg .sg-hero__lead {
  position: relative;
  z-index: 2;
  margin-top: 26px;
  font-weight: 700;
  font-size: 19px;
  line-height: 1.95;
  letter-spacing: .12em;
  color: var(--sg-brown);
}
.sg .sg-hero__deco { position: absolute; height: auto; }
.sg .sg-hero__deco--dots     { left: 8%;  top: 120px; width: 110px; }
.sg .sg-hero__deco--house    { left: 10%; top: 40px; width: 130px; }
.sg .sg-hero__deco--question { left: 17%; top: -30px; width: 70px; }
.sg .sg-hero__deco--dots2    { right: 11%; top: -10px; width: 110px; }
.sg .sg-hero__deco--calc     { right: 17%; top: 0; width: 88px; transform: rotate(6deg); }
.sg .sg-hero__deco--land     { right: 7%;  top: 70px; width: 155px; }

@container sg (max-width: 767px) {
  .sg .sg-hero__sky { padding-top: 34px; }
  .sg .sg-hero__catch { margin-top: 10px; font-size: 14px; line-height: 1.9; }
  .sg .sg-hero__town { margin-top: 20px; overflow: hidden; }
  .sg .sg-hero__town img { width: 190%; max-width: none; margin-left: -45%; }
  .sg .sg-hero__cloud--1 { left: -4%; top: 200px; width: 70px; }
  .sg .sg-hero__cloud--2 { left: 10%; top: 330px; width: 36px; }
  .sg .sg-hero__cloud--3 { left: 6%; top: 510px; width: 36px; }
  .sg .sg-hero__cloud--4 { right: 2%; top: 395px; width: 58px; }
  .sg .sg-hero__cloud--5 { right: 3%; top: 90px; width: 40px; }
  .sg .sg-hero__cloud--6 { right: 5%; top: 525px; width: 34px; }
  .sg .sg-hero__cloud--7 { display: none; }
  .sg .sg-hero__bubble { width: 240px; margin-top: -70px; }
  .sg .sg-hero__lead { margin-top: 12px; font-size: 11.5px; line-height: 1.9; letter-spacing: .06em; }
  .sg .sg-hero__deco--dots     { left: 0; top: 96px; width: 44px; }
  .sg .sg-hero__deco--house    { left: 1%; top: 58px; width: 50px; }
  .sg .sg-hero__deco--question { left: 12%; top: 40px; width: 24px; }
  .sg .sg-hero__deco--dots2    { right: 2%; top: 30px; width: 55px; }
  .sg .sg-hero__deco--calc     { right: 4%; top: 25px; width: 42px; }
  .sg .sg-hero__deco--land     { right: 1%; top: 118px; width: 70px; }
}

/* ==========================================================================
   ノープランでOK
   ========================================================================== */
.sg .sg-noplan {
  position: relative;
  background: var(--sg-cream);
  padding: 50px 20px 34px;
}
.sg .sg-noplan__head {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.sg .sg-noplan__burst { position: absolute; left: 50%; top: -6px; width: 880px; max-width: none; transform: translateX(-50%); pointer-events: none; z-index: -1;}

.sg .sg-noplan__card {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 540px;
  align-items: center;
  gap: 60px;
  max-width: var(--sg-inner);
  margin: -120px auto 0;
  padding: 190px 60px 64px;
  background: #fff;
  border-radius: 50% 50% 42px 42px / 190px 190px 42px 42px;
}
.sg .sg-noplan__balloon { position: absolute; z-index: 2; height: auto; }
.sg .sg-noplan__balloon--g { left: -12px; top: 30px; width: 70px; }
.sg .sg-noplan__balloon--o { right: -45px; bottom: -60px; width: 100px; }
.sg .sg-noplan__text p { margin-top: 26px; font-size: 16px; line-height: 2.1; }
.sg .sg-noplan__photo img { width: 100%; }

@container sg (max-width: 767px) {
  .sg .sg-noplan { padding: 36px 16px 20px; }
  .sg .sg-noplan__card {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 28px;
    padding: 40px 20px 22px;
    border-radius: 44px 44px 22px 22px;
  }
  .sg .sg-noplan__balloon--g { left: -4px; top: 22px; width: 32px; }
  .sg .sg-noplan__balloon--o { right: -12px; bottom: -40px; width: 50px; }
  .sg .sg-noplan__text p { margin-top: 14px; font-size: 14px; line-height: 2; }
}

/* ==========================================================================
   POINT
   ========================================================================== */
.sg .sg-points {
  position: relative;
  background: var(--sg-cream);
  padding: 40px 20px 120px;
}
.sg .sg-points__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px 32px;
  max-width: var(--sg-inner);
  margin: 0 auto;
}
.sg .sg-point {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 42px 42px 40px;
  background: #fff;
  border-radius: 40px;
}
.sg .sg-point__photo img { width: 100%; }
.sg .sg-point__title {
  margin-top: 24px;
  font-weight: 700;
  font-size: 23px;
  line-height: 1.5;
  letter-spacing: .1em;
}
.sg .sg-point__title span {
  background: linear-gradient(transparent 58%, var(--sg-yellow) 58%);
}
.sg .sg-point__text { margin-top: 14px; font-size: 16px; line-height: 1.85; }
.sg .sg-point__btns { display: grid; gap: 12px; margin-top: 18px; }
.sg .sg-point__hills {
  width: calc(100% + 84px);
  max-width: none;
  margin: auto -42px -40px;
  padding-top: 26px;
  border-radius: 0 0 40px 40px;
}
.sg .sg-points__signpost {
  position: absolute;
  right: max(20px, calc(50% - 710px));
  bottom: -26px;
  width: 140px;
  z-index: 3;
}
@container sg (max-width: 767px) {
  .sg .sg-points { padding: 34px 16px 60px; }
  .sg .sg-points__grid { grid-template-columns: 1fr; gap: 24px; }
  .sg .sg-point { padding: 44px 20px 26px; border-radius: 26px; }
  .sg .sg-point__title { margin-top: 18px; font-size: min(16px, 4.1cqw); letter-spacing: .02em; }
  .sg .sg-point__text { font-size: 14px; }
  .sg .sg-point__btns { margin-top: 16px; }
  .sg .sg-point__btns .sg-btn { width: 100%; max-width: 300px; font-size: 13px; min-height: 42px; }
  .sg .sg-point__hills { width: calc(100% + 40px); margin: auto -20px -26px; border-radius: 0 0 26px 26px; }
  .sg .sg-points__signpost { right: 6px; bottom: -40px; width: 76px; }
}

/* ==========================================================================
   住宅展示場の歩き方
   ========================================================================== */
.sg .sg-walk {
  position: relative;
  padding: 130px 20px 190px;
  background: #fef3dd url("../img/bg-paper.webp") center top / 1440px auto repeat;
}
.sg .sg-walk__inner { position: relative; max-width: 1080px; margin: 0 auto; }
.sg .sg-walk__head {
  display: grid;
  grid-template-columns: 540px 1fr;
  align-items: center;
  gap: 40px;
}
.sg .sg-walk__visual { position: relative; }
.sg .sg-walk__blob { position: absolute; left: -45px; top: -30px; width: 200px; }
.sg .sg-walk__dots { position: absolute; right: -85px; top: -95px; width: 190px; }
.sg .sg-walk__photo { position: relative; z-index: 1; }
.sg .sg-walk__photo img { width: 100%; }
.sg .sg-walk__grass { position: absolute; z-index: 2; left: 10px; bottom: -40px; width: 125px; }
.sg .sg-walk__bird { position: absolute; z-index: 2; right: -95px; top: -45px; width: 72px; }
.sg .sg-walk__titlebox { position: relative; text-align: center; padding-top: 60px; }
.sg .sg-walk__bubble { width: 480px; max-width: 100%; margin: 36px auto 0; }

.sg .sg-walk .sg-heading { margin-top: 70px; }

/* STEP */
.sg .sg-steps { margin-top: 70px; }
.sg .sg-step {
  position: relative;
  display: grid;
  grid-template-columns: 460px 1fr;
  grid-template-rows: 1fr auto auto 1fr;
}
.sg .sg-step--02 { grid-template-columns: 1fr 400px; margin-left: 35px; }
.sg .sg-step--03 { grid-template-columns: 400px 1fr; margin: 0 40px 0 65px; }

.sg .sg-step__photo { grid-column: 1; grid-row: 1 / 5; align-self: center; z-index: 4; }
.sg .sg-step__photo img { width: 100%; }
.sg .sg-step__frame,
.sg .sg-step__head,
.sg .sg-step__body { grid-column: 2; margin-left: -20px; }
.sg .sg-step__frame {
  grid-row: 2 / 4;
  z-index: 2;
  background: #fff;
  border: 2px solid var(--sg-red);
  border-radius: 20px;
  outline: 1.5px solid var(--sg-red);
  outline-offset: 5px;
}
/* STEP番号（家形） */
.sg .sg-step__body {
  position: relative;
  grid-row: 3;
  z-index: 3;
  padding: 34px 40px 42px 60px;
  font-size: 16px;
  line-height: 1.75;
}
.sg .sg-step--01 .sg-step__body { padding: 34px 170px 42px 50px; min-height: 190px; font-size: 15px; }
.sg .sg-step__books { position: absolute; right: -60px; bottom: -80px; width: 470px; height: 230px; pointer-events: none; }
.sg .sg-step__present { position: absolute; left: 0; bottom: 0; width: 225px; z-index: 2; }
.sg .sg-step__book { position: absolute; }
.sg .sg-step__book--1 { right: 60px; top: 0; width: 125px; }
.sg .sg-step__book--2 { right: 110px; bottom: -6px; width: 120px; transform: rotate(-4deg); }
.sg .sg-step__book--3 { right: 0; bottom: 20px; width: 138px; }

/* STEP02：写真が右・カードに重なる */
.sg .sg-step--02 .sg-step__photo { grid-column: 2; z-index: 4; margin-left: -30px; }
.sg .sg-step--02 .sg-step__frame,
.sg .sg-step--02 .sg-step__head,
.sg .sg-step--02 .sg-step__body { grid-column: 1; margin-left: 0; margin-right: -40px; }
.sg .sg-step--02 .sg-step__head { margin-right: -38px; margin-left: 2px; }
.sg .sg-step--02 .sg-step__body { padding-right: 70px; }
.sg .sg-step__people { position: absolute; z-index: 5; right: 20px; bottom: -100px; width: 95px; }
.sg .sg-step__bird { position: absolute; z-index: 5; left: 20px; top: -30px; width: 68px; }

/* STEP間の足跡 */
.sg .sg-steps__walk { position: relative; height: 220px; }
.sg .sg-steps__walk--1 { height: 200px; }
.sg .sg-steps__walk--2 { height: 200px; }
.sg .sg-steps__foot { position: absolute; width: 480px; }
.sg .sg-steps__walk--1 .sg-steps__foot { left: 240px; top: 10px; transform: rotate(8deg); }
.sg .sg-steps__walk--2 .sg-steps__foot { left: 220px; top: 40px; transform: scaleX(-1) rotate(8deg); }
.sg .sg-steps__people { position: absolute; left: 30px; top: 20px; width: 185px; }
.sg .sg-steps__bird { display: none; }

.sg .sg-walk__wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 90px; }

@container sg (max-width: 767px) {
  .sg .sg-walk { padding: 56px 16px 110px; background-size: 720px auto; }
  .sg .sg-walk__head { grid-template-columns: 1fr; gap: 26px; }
  .sg .sg-walk__titlebox { order: -1; padding-top: 34px; }
  .sg .sg-walk__bubble { position: absolute; z-index: 3; width: 210px; right: -8px; bottom: -200px; margin: 0; display: none; }
  .sg .sg-walk__visual { margin: 0 10px 0 20px; }
  .sg .sg-walk__visual::after {
    content: "";
    position: absolute; z-index: 3; right: -26px; bottom: -34px;
    width: 220px; aspect-ratio: 1208 / 564;
    background: url("../img/bubble-first-visit.webp") center / contain no-repeat;
  }
  .sg .sg-walk__blob { width: 110px; left: -26px; top: -14px; }
  .sg .sg-walk__dots { width: 110px; right: -30px; top: -20px; }
  .sg .sg-walk__grass, .sg .sg-walk__bird { display: none; }
  .sg .sg-walk .sg-heading { margin-top: 56px; }

  .sg .sg-steps { margin-top: 26px; }
  .sg .sg-step,
  .sg .sg-step--02,
  .sg .sg-step--03 {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    margin: 0 6px;
  }
  .sg .sg-step__frame,
  .sg .sg-step--02 .sg-step__frame { grid-column: 1; grid-row: 1 / 4; margin: 0; border-radius: 18px; outline-offset: 4px; }
  .sg .sg-step__photo,
  .sg .sg-step--02 .sg-step__photo { grid-column: 1; grid-row: 2; z-index: 3; margin: 20px 20px 0; }
  .sg .sg-step__photo img { aspect-ratio: 16 / 7; object-fit: cover; border-radius: 16px; }
  .sg .sg-step__body,
  .sg .sg-step--01 .sg-step__body,
  .sg .sg-step--02 .sg-step__body { grid-column: 1; grid-row: 3; margin: 0; padding: 16px 20px 26px; min-height: 0; font-size: 13px; line-height: 1.85; }
  .sg .sg-step__books { position: relative; right: auto; bottom: auto; width: 100%; height: auto; aspect-ratio: 280 / 110; margin-top: 10px; }
  .sg .sg-step__present { width: 40%; left: -2%; bottom: 22%; }
  .sg .sg-step__book--1 { right: 44%; top: auto; bottom: 0; width: 21%; }
  .sg .sg-step__book--2 { right: 22%; bottom: 0; width: 22%; }
  .sg .sg-step__book--3 { right: 0; bottom: 4%; width: 24%; }
  .sg .sg-step__people { right: -14px; bottom: -34px; width: 52px; }
  .sg .sg-step--02 .sg-step__body { padding-right: 34px; }
  .sg .sg-step__bird { display: none; }
  .sg .sg-steps__walk,
  .sg .sg-steps__walk--1,
  .sg .sg-steps__walk--2 { height: 120px; }
  .sg .sg-steps__foot { width: 230px; }
  .sg .sg-steps__walk--1 .sg-steps__foot { left: auto; right: 0; top: 0; transform: rotate(10deg); }
  .sg .sg-steps__walk--2 .sg-steps__foot { left: auto; right: 20px; top: 0; transform: scaleX(-1) rotate(10deg); }
  .sg .sg-steps__people { left: 20px; top: -6px; width: 105px; z-index: 4;}
  .sg .sg-steps__bird { display: block; position: absolute; left: 10px; top: 40px; width: 48px; }
  .sg .sg-walk__wave { height: 40px; }
}

/* ==========================================================================
   よくある質問
   ========================================================================== */
.sg .sg-faq {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 110px 20px 70px;
}
.sg .sg-faq__deco { position: absolute; height: auto; pointer-events: none; }
.sg .sg-faq__deco--q { right: -80px; top: 110px; width: 110px; }
.sg .sg-faq__deco--dot-y { left: -230px; top: 300px; width: 180px; }
.sg .sg-faq__deco--dot-o { right: -200px; top: 480px; width: 200px; }
.sg .sg-faq__list { margin-top: 50px; }
.sg .sg-faq__item { padding: 32px 0 38px; border-bottom: 1px solid var(--sg-line); }
.sg .sg-faq__item:first-child { padding-top: 10px; }
.sg .sg-faq__item:last-child { border-bottom: 0; }
.sg .sg-faq__item dt,
.sg .sg-faq__item dd { position: relative; padding-left: 58px; }
.sg .sg-faq__item dt { font-weight: 700; font-size: 17px; line-height: 1.6; padding-top: 5px; min-height: 38px; }
.sg .sg-faq__item dd { margin-top: 10px; font-size: 16px; line-height: 1.75; padding-top: 5px; }
@container sg (max-width: 767px) {
  .sg .sg-faq { padding: 50px 20px 36px; }
  .sg .sg-faq__deco--q { right: 4px; top: 6px; width: 40px; }
  .sg .sg-faq__deco--dot-y { left: -40px; top: 30px; width: 70px; }
  .sg .sg-faq__deco--dot-o { right: -50px; top: auto; bottom: -40px; width: 80px; }
  .sg .sg-faq__list { margin-top: 26px; }
  .sg .sg-faq__item { padding: 22px 0 24px; }
  .sg .sg-faq__item dt, .sg .sg-faq__item dd { padding-left: 38px; }
  .sg .sg-faq__item dt { font-size: 13px; min-height: 28px; padding-top: 3px; }
  .sg .sg-faq__item dd { font-size: 13px; padding-top: 3px; }
}

/* ==========================================================================
   エリア別リンク
   ========================================================================== */
.sg .sg-area {
  scroll-margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: calc(var(--sg-inner) + 40px);
  margin: 0 auto;
  padding: 0 20px;
}
.sg .sg-area__box { padding: 34px 50px 50px; border-radius: 36px; }
.sg .sg-area__box--kanto { background: #f6fadc; --sg-dot: #b5d45a; }
.sg .sg-area__box--kinki { background: #fff8e2; --sg-dot: #ffd92e; }
.sg .sg-area__title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.4;
  letter-spacing: .1em;
}
.sg .sg-area__title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sg-dot); }
.sg .sg-area__list { margin-top: 12px; }
.sg .sg-area__list a {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 40px 12px 10px;
  border-bottom: 1px solid #555;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .1em;
  transition: background-color .2s;
}
.sg .sg-area__list a:hover { background: rgba(255,255,255,.6); }
.sg .sg-area__list a::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 12px;
  height: 12px;
  margin-top: -6px;
  border-top: 2.5px solid var(--sg-red);
  border-right: 2.5px solid var(--sg-red);
  transform: rotate(45deg);
}
.sg .sg-area__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
}
.sg .sg-area__icon img { width: 24px; height: 24px; object-fit: contain; }
@container sg (max-width: 767px) {
  .sg .sg-area { grid-template-columns: 1fr; gap: 20px; padding: 0 16px; }
  .sg .sg-area__box { padding: 26px 24px 30px; border-radius: 30px; }
  .sg .sg-area__title { font-size: 20px; }
  .sg .sg-area__list a { font-size: 13px; gap: 12px; padding: 11px 32px 11px 2px; }
  .sg .sg-area__icon { width: 34px; height: 34px; }
  .sg .sg-area__icon img { width: 19px; height: 19px; }
}

/* ==========================================================================
   LINEバナー
   ========================================================================== */
.sg .sg-line { max-width: 1040px; margin: 80px auto 0; padding: 0 20px; }
.sg .sg-line a { display: block; transition: opacity .2s; }
.sg .sg-line a:hover { opacity: .85; }
.sg .sg-line img { width: 100%; }
@container sg (max-width: 767px) { .sg .sg-line { margin-top: 26px; padding: 0 16px; } }

/* ==========================================================================
   クラシノオト
   ========================================================================== */
.sg .sg-kurashi { position: relative; margin-top: 90px; }
.sg .sg-kurashi__people {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.sg .sg-kurashi__floor { position: absolute; left: 50%; bottom: 0; width: 960px; max-width: 96%; transform: translate(-50%, 50%); }
.sg .sg-kurashi__crowd { position: relative; width: 680px; margin: 0 auto; padding-bottom: 20px; }
.sg .sg-kurashi__bg {
  position: relative;
  z-index: 1;
  background: var(--sg-beige);
  border-radius: 90px 0 0 0;
  padding: 90px 20px 0;
}
.sg .sg-kurashi__inner { max-width: var(--sg-inner); margin: 0 auto; }
.sg .sg-kurashi__lead { margin-top: 36px; font-size: 17px; line-height: 2; text-align: center; }
.sg .sg-kurashi__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 50px;
}
.sg .sg-kurashi__cards a {
  position: relative;
  display: block;
  height: 100%;
  padding-bottom: 54px;
  background: #fff;
  border-radius: 16px;
  transition: transform .2s, box-shadow .2s;
}
.sg .sg-kurashi__cards a:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,.07); }
.sg .sg-kurashi__cards img { width: 100%; aspect-ratio: 596 / 352; object-fit: cover; border-radius: 16px 16px 0 0; }
.sg .sg-kurashi__card-title { display: block; padding: 16px 20px 0; font-size: 14px; line-height: 1.7; letter-spacing: .06em; }
.sg .sg-kurashi__cards a::after {
  content: "";
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: url("../img/icon-play.webp") center / contain no-repeat;
}
.sg .sg-kurashi__more {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 64px 0 90px;
}
.sg .sg-kurashi__girl { position: absolute; left: 50px; bottom: 0; width: 110px; }
.sg .sg-kurashi__houses { position: absolute; right: 0; bottom: 0; width: 270px; }
@container sg (max-width: 767px) {
  .sg .sg-kurashi { margin-top: 30px; }
  .sg .sg-kurashi__crowd { width: 100%; max-width: 400px; padding-bottom: 12px; }
  .sg .sg-kurashi__floor { width: 110%; max-width: none; }
  .sg .sg-kurashi__bg { border-radius: 0; padding: 50px 16px 0; }
  .sg .sg-kurashi__lead { margin-top: 20px; font-size: 12px; text-align: left; line-height: 1.9; }
  .sg .sg-kurashi__cards { grid-template-columns: 1fr; gap: 14px; margin-top: 26px; }
  .sg .sg-kurashi__card-title { position: relative; font-size: 15px; padding: 16px 64px 20px 20px; }
  .sg .sg-kurashi__cards a { padding-bottom: 0; }
  .sg .sg-kurashi__cards a::after { display: none; }
  .sg .sg-kurashi__card-title::after {
    content: ""; position: absolute; right: 16px; top: 50%; width: 34px; height: 34px; margin-top: -17px; border-radius: 50%;
    background: url("../img/icon-play.webp") center / contain no-repeat;
  }
  .sg .sg-kurashi__cards img { aspect-ratio: 596 / 352; }
  .sg .sg-kurashi__more { padding: 34px 0 120px; }
  .sg .sg-kurashi__more .sg-btn--dark { width: 280px; font-size: 16px; min-height: 50px; }
  .sg .sg-kurashi__girl { left: 6px; width: 64px; }
  .sg .sg-kurashi__houses { right: 0; width: 150px; }
}



/* ==========================================================================
   見出し画像（デザイナー支給の文字画像）
   ※画像は表示サイズの2倍で書き出されているため、width は原寸の1/2で指定
   ========================================================================== */
/* HERO */
.sg .sg-hero__ribbon { width: 620px; max-width: 100%; margin: 0 auto; }
.sg .sg-hero__ribbon img { width: 100%; }
.sg .sg-hero__title { margin: 30px auto 0; width: 649px; max-width: 100%; }
.sg .sg-hero__title img { width: 100%; }

/* ノープランでOK */
.sg .sg-noplan__title { width: 752px; max-width: 100%; margin: 0 auto; }
.sg .sg-noplan__title img { width: 100%; }
.sg .sg-noplan__sub { width: 456px; max-width: 100%; margin: 8px auto 0; }
.sg .sg-noplan__catch { width: 430px; max-width: 100%; }
.sg .sg-noplan__catch img { width: 100%; }

/* POINT旗 */
.sg .sg-point__flag { position: absolute; z-index: 2; left: -14px; top: -12px; width: 140px; }
.sg .sg-point__flag img { width: 100%; }

/* 住宅展示場の歩き方 */
.sg .sg-walk__titlebox { padding-top: 0; }
.sg .sg-walk__title { width: 100%; max-width: 560px; margin: -40px auto 0; }
.sg .sg-walk__title img { width: 100%; }
.sg .sg-walk__bubble { margin-top: 10px; }

/* セクション見出し（左右に斜め破線） */
.sg .sg-heading { display: flex; align-items: center; justify-content: center; gap: 40px; }
.sg .sg-heading img { flex: none; width: auto; height: 45px; }
.sg .sg-heading::before,
.sg .sg-heading::after {
  content: "";
  flex: 0 1 256px;
  height: 11px;
  background: url("../img/deco-stripe.webp") left center / auto 100% repeat-x;
}

/* STEP見出し */
.sg .sg-step__head {
  grid-row: 2;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 2px;
  margin-right: 2px;
  padding: 12px 30px 12px 50px;
  background: var(--sg-red);
  border-radius: 18px 18px 0 0;
}
.sg .sg-step__num { flex: none; width: 74px; }
.sg .sg-step__ttl { flex: 0 1 auto; min-width: 0; width: auto; height: auto; max-height: 35px; max-width: 100%; object-fit: contain; object-position: left center; }

/* よくある質問 Q/A */
.sg .sg-faq__item dt::before,
.sg .sg-faq__item dd::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 38px;
  height: 38px;
  background: center / contain no-repeat;
}
.sg .sg-faq__item dt::before { background-image: url("../img/icon-q.webp"); }
.sg .sg-faq__item dd::before { background-image: url("../img/icon-a.webp"); }

/* クラシノオト */
.sg .sg-kurashi__title { width: 288px; max-width: 70%; margin: 0 auto; }
.sg .sg-kurashi__title img { width: 100%; }
.sg .sg-kurashi__rays { position: absolute; top: -10px; width: 150px; }
.sg .sg-kurashi__rays--l { left: 50px; transform: scaleX(-1); }
.sg .sg-kurashi__rays--r { right: 50px; }

@container sg (max-width: 767px) {
  .sg .sg-hero__ribbon { width: 271px; }
  .sg .sg-hero__title { width: 300px; margin-top: 22px; }
  .sg .sg-noplan__burst { top: -4px; width: 336px; }
  .sg .sg-noplan__title { width: 290px; }
  .sg .sg-noplan__sub { width: 250px; margin-top: 4px; }
  .sg .sg-noplan__catch { width: 270px; margin: 0 auto; }
  .sg .sg-point__flag { left: -10px; top: -8px; width: 90px; }
  .sg .sg-walk__title { max-width: 330px; margin-top: 0; }
  .sg .sg-heading { gap: 12px; }
  .sg .sg-heading img { height: 28px; }
  .sg .sg-heading::before, .sg .sg-heading::after { flex-basis: 60px; height: 7px; }
  .sg .sg-step__head,
  .sg .sg-step--02 .sg-step__head { grid-column: 1; grid-row: 1; justify-content: center; gap: 10px; margin: 2px 2px 0; padding: 10px 12px; border-radius: 16px 16px 0 0; }
  .sg .sg-step__num { width: 46px; }
  .sg .sg-step__ttl { max-height: 20px; }
  .sg .sg-faq__item dt::before, .sg .sg-faq__item dd::before { width: 28px; height: 28px; }
  .sg .sg-kurashi__title { width: 220px; }
  .sg .sg-kurashi__rays { width: 70px; top: -4px; }
  .sg .sg-kurashi__rays--l { left: 0; }
  .sg .sg-kurashi__rays--r { right: 0; }
}
@container sg (min-width: 768px) and (max-width: 1099px) {
  .sg .sg-hero__title { width: 560px; }
  .sg .sg-noplan__title { width: 600px; }
  .sg .sg-noplan__burst { width: 700px; }
  .sg .sg-step__head { gap: 12px; padding: 12px 18px 12px 26px; }
  .sg .sg-step__num { width: 58px; }
  .sg .sg-step__ttl { max-height: 26px; }
  .sg .sg-walk__title { max-width: 440px; }
}

/* ==========================================================================
   タブレット幅（768〜1099px）の調整
   ========================================================================== */
@container sg (min-width: 768px) and (max-width: 1099px) {
  .sg .sg-hero__bubble { width: 380px; margin-top: -100px; }
  .sg .sg-hero__deco--house { left: 3%; }
  .sg .sg-hero__deco--calc { right: 12%; }
  .sg .sg-hero__deco--land { right: 1%; }
  .sg .sg-noplan__card { grid-template-columns: 1fr 44%; gap: 36px; padding: 160px 36px 50px; margin-top: -100px; }
  .sg .sg-point { padding: 40px 28px 32px; }
  .sg .sg-point__hills { width: calc(100% + 56px); margin: auto -28px -32px; }
  .sg .sg-point__title { font-size: 19px; }
  .sg .sg-point__text { font-size: 15px; }
  .sg .sg-btn { font-size: 14px; }
  .sg .sg-walk__head { grid-template-columns: 46% 1fr; gap: 30px; }
  .sg .sg-walk__bird { right: -40px; }
  .sg .sg-steps .sg-pc { display: none; }
  .sg .sg-step { grid-template-columns: 40% 1fr; }
  .sg .sg-step--02 { grid-template-columns: 1fr 38%; margin-left: 0; }
  .sg .sg-step--03 { grid-template-columns: 38% 1fr; margin: 0 20px; }
  .sg .sg-step__body,
  .sg .sg-step--02 .sg-step__body { padding: 22px 28px 28px 34px; font-size: 14px; }
  .sg .sg-step--02 .sg-step__body { padding-right: 100px; }
  .sg .sg-step--01 .sg-step__body { padding: 22px 28px 140px 34px; font-size: 14px; min-height: 0; }
  .sg .sg-step__books { right: 0; bottom: -50px; transform: scale(.72); transform-origin: right bottom; }
  .sg .sg-steps__foot { width: 360px; }
  .sg .sg-steps__walk--1 .sg-steps__foot { left: 30%; }
  .sg .sg-steps__walk--2 .sg-steps__foot { left: 25%; }
  .sg .sg-step__people { right: 0; width: 80px; }
  .sg .sg-faq__deco--dot-y, .sg .sg-faq__deco--dot-o { display: none; }
  .sg .sg-faq__deco--q { right: 10px; }
  .sg .sg-area { gap: 24px; }
  .sg .sg-area__box { padding: 30px 28px 36px; }
  .sg .sg-kurashi__cards { grid-template-columns: repeat(2, 1fr); }
  .sg .sg-kurashi__girl { left: 10px; }
  .sg .sg-kurashi__houses { width: 200px; }
}


/* FV：1600px超は街並みと一緒に拡大（1920px相当＝1.2倍で止める） */
@container sg (min-width: 1601px) {
  .sg .sg-hero__sky { padding-top: min(3.75cqw, 72px); }
  .sg .sg-hero__ribbon { width: min(38.75cqw, 744px); }
  .sg .sg-hero__title { width: min(40.5625cqw, 778.8px); margin-top: min(1.875cqw, 36px); }
  .sg .sg-hero__catch { margin-top: min(1.125cqw, 21.6px); font-size: min(1.3125cqw, 25.2px); }
  .sg .sg-hero__town { margin-top: min(.625cqw, 12px); }
}

/* ==========================================================================
   スクロール表示アニメーション（JS有効時のみ）
   ========================================================================== */
.sg.is-js [data-sg-fade] { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.sg.is-js [data-sg-fade].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .sg .sg-hero__cloud { animation: none; }
  .sg.is-js [data-sg-fade] { opacity: 1; transform: none; transition: none; }
}
