/* ============================================================
   Rectangle建設部 ｜ 建設・リフォーム
   カラー：ホワイト × レッド × レモンイエロー
   ============================================================ */

/* ----- カラー・変数 ----- */
:root {
  /* ブランドカラー */
  --red:        #dd0710;   /* ボックスロゴの赤（メイン） */
  --red-deep:   #ab040c;   /* 濃い赤・ホバー用 */
  --red-soft:   #e8443f;
  --lemon:      #ffe14d;   /* レモンイエロー（アクセント） */
  --lemon-deep: #f5c400;
  --ink:        #1b1b1b;   /* 本文・ダーク面（チャコール） */
  --ink-deep:   #0e0e0e;
  --white:      #ffffff;
  --off-white:  #faf3f2;   /* ごく淡い暖色ホワイト */
  --gray:       #6b6b6b;
  --line:       #eddedc;
  --line-green: #06c755;   /* LINE */

  /* 旧テーマ名のエイリアス（既存ルールを自動で再配色） */
  --navy:        var(--ink);
  --navy-deep:   var(--ink-deep);
  --navy-soft:   #3a3a3a;
  --yellow:      var(--red);
  --yellow-deep: var(--red-deep);

  --max:   1120px;
  --radius: 14px;
  --shadow: 0 8px 22px rgba(0, 0, 0, .07);
  --ease:  .3s cubic-bezier(.4, 0, .2, 1);
}

/* ----- リセット ----- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Noto Sans JP", sans-serif;
  color: var(--navy);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ----- 見出し共通 ----- */
.section { padding: 96px 0; }

.section__head {
  text-align: center;
  margin-bottom: 56px;
}

.section__en {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: .15em;
  color: var(--yellow-deep);
  font-size: .85rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section__title {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-weight: 700;
  line-height: 1.4;
}

.section__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 4px;
  background: var(--yellow);
  border-radius: 4px;
  margin: 18px auto 0;
}

.section__note {
  margin-top: 16px;
  color: var(--gray);
  font-size: .9rem;
}

/* ----- ボタン共通 ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .98rem;
  transition: var(--ease);
  white-space: nowrap;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
}
.btn--primary:hover { background: var(--red-deep); }

.btn--ghost {
  border: 2px solid rgba(255, 255, 255, .55);
  color: var(--white);
}
.btn--ghost:hover { background: rgba(255, 255, 255, .1); }

.btn--lg { padding: 18px 44px; font-size: 1.05rem; }

.btn--insta {
  background: var(--navy);
  color: var(--white);
}
.btn--insta:hover { background: var(--navy-deep); }

.btn--line {
  background: var(--line-green);
  color: var(--white);
}
.btn--line:hover { background: #05a948; }

/* ============================================================
   お知らせバー
   ============================================================ */
.topbar {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .9);
  text-align: center;
  font-size: .8rem;
  padding: 8px 16px;
}
.topbar strong { color: var(--lemon); }

/* ============================================================
   ヘッダー
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: .18em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo img { height: 56px; width: auto; display: block; }
.logo__tag {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 500;
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--gray);
}
.logo--light { color: var(--white); }

.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__list a {
  font-weight: 500;
  font-size: .95rem;
  transition: color var(--ease);
}
.nav__list a:hover { color: var(--yellow-deep); }

.nav__cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 999px;
}
.nav__cta:hover { background: var(--navy-deep); }

/* 姉妹サイト（運送部）へのクロスリンク：赤の枠線ピル */
.nav__cross {
  display: inline-block;
  border: 2px solid var(--red);
  color: var(--red) !important;
  padding: 8px 20px;
  border-radius: 999px;
  font-weight: 700;
  transition: var(--ease);
}
.nav__cross:hover { background: var(--red); color: #fff !important; }

/* ハンバーガー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--ease);
}
.hamburger.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   1. ヒーロー
   ============================================================ */
.hero {
  position: relative;
  background: var(--navy);
  color: var(--white);
  overflow: hidden;
}
.hero--photo {
  background-color: var(--ink);
  background-image:
    linear-gradient(150deg, rgba(171, 4, 12, .55) 0%, rgba(14, 14, 14, .78) 100%),
    url("../images/flag.jpg");
  background-size: cover;
  background-position: center;
}

/* フラッグ動画（背景） */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(171, 4, 12, .52) 0%, rgba(14, 14, 14, .80) 100%);
  z-index: 1;
}

.hero__inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 84px 24px 92px;
  position: relative;
  z-index: 2;
}

.hero__sub {
  font-family: "Poppins", sans-serif;
  letter-spacing: .2em;
  color: var(--lemon);
  font-weight: 600;
  margin-bottom: 20px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
}

.hero__title {
  font-size: clamp(2.2rem, 6.5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .02em;
  margin-bottom: 26px;
}

.hero__lead {
  font-size: clamp(.95rem, 2.4vw, 1.1rem);
  color: rgba(255, 255, 255, .85);
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* ============================================================
   イベント・キャンペーン（毎月更新）
   ============================================================ */
.event { background: var(--off-white); }

.event__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 940px;
  margin: 0 auto;
}
.event__card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  border-radius: var(--radius);
  padding: 34px 32px;
  transition: var(--ease);
}
.event__card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }

.event__month {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
  color: var(--navy);
}
.event__month small { font-size: 1rem; font-weight: 600; }
.event__badge {
  align-self: center;
  margin-right: 12px;
  background: var(--lemon);
  color: var(--ink);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: .72rem;
  padding: 4px 12px;
  border-radius: 999px;
}
.event__season {
  margin-top: 16px;
  color: var(--yellow-deep);
  font-weight: 700;
  font-size: .9rem;
}
.event__title {
  margin-top: 6px;
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.6;
  color: var(--navy);
}
.event__desc {
  margin-top: 12px;
  color: var(--gray);
  font-size: .92rem;
  line-height: 1.9;
}
.event__list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.event__list li {
  position: relative;
  padding-left: 20px;
  font-size: .92rem;
  font-weight: 500;
  color: var(--navy);
}
.event__list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .65em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--yellow);
}
.event__cond {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--gray);
}
.event__cta { text-align: center; margin-top: 36px; }

/* 会社案内 */
.company { background: var(--off-white); }
.company__card {
  max-width: 760px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 34px;
  box-shadow: var(--shadow);
}
.company__row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}
.company__row:last-child { border-bottom: none; }
.company__row dt { font-weight: 700; color: var(--red); font-size: .95rem; }
.company__row dd { color: var(--ink); }
.company__row a { color: var(--ink); text-decoration: underline; }
.company__row a:hover { color: var(--red); }
@media (max-width: 560px) {
  .company__row { grid-template-columns: 1fr; gap: 4px; padding: 14px 4px; }
}

/* キャンペーン休止中のお知らせ */
.event__empty {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 52px 32px;
  box-shadow: var(--shadow);
}
.event__empty-lead {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}
.event__empty-note {
  max-width: 560px;
  margin: 14px auto 28px;
  color: var(--gray);
  font-size: .95rem;
}

/* ============================================================
   施工イメージ（自動スライド・装飾帯）
   ============================================================ */
.gallery-strip {
  background: var(--navy-deep);
  overflow: hidden;
  padding: 0;
}
.marquee {
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 6px;
  animation: marquee 64s linear infinite;
}
.marquee__track > img {
  height: 340px;
  width: auto;
  flex: 0 0 auto;
  object-fit: cover;
  display: block;
}
.marquee__logo {
  flex: 0 0 auto;
  height: 340px;
  width: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 30px 44px;
}
.marquee__logo img { height: auto; width: 100%; max-height: 58%; object-fit: contain; }
.marquee:hover .marquee__track { animation-play-state: paused; }

@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 3px)); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ============================================================
   2. コンセプト
   ============================================================ */
.concept { background: var(--white); }

.concept__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--ease);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}

.card__num {
  font-family: "Poppins", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--yellow-deep);
  line-height: 1;
}

.card__title {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 16px 0 12px;
}

.card__text {
  color: var(--gray);
  font-size: .95rem;
}

/* ============================================================
   Owner's Support（OSサービス）
   ============================================================ */
.support { background: var(--off-white); }

.support__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 36px;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto 32px;
}

.support__intro {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.support__logo {
  width: 100%;
  max-width: 340px;
  margin: 0 auto 6px;
}
.support__tag {
  font-weight: 700;
  color: var(--navy);
  font-size: .98rem;
  line-height: 1.9;
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 6px;
}

.support__body { display: flex; flex-direction: column; justify-content: center; }
.support__lead {
  font-size: 1.02rem;
  color: var(--navy);
  line-height: 2;
}
.support__lead strong { color: var(--yellow-deep); }
.support__quote {
  margin-top: 22px;
  padding: 18px 22px;
  background: var(--white);
  border-left: 4px solid var(--yellow);
  border-radius: 8px;
  color: var(--navy);
  font-size: .95rem;
  line-height: 1.9;
}
.support__quote strong { color: var(--navy); border-bottom: 2px solid var(--yellow); }

.support__points {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1000px;
  margin: 0 auto;
}
.support__points li {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  font-weight: 700;
  font-size: .98rem;
}
.support__points span {
  display: block;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  color: var(--yellow);
  font-size: 1.4rem;
  margin-bottom: 8px;
}

/* お知らせ（施工外でも相談可） */
.support__notice {
  max-width: 1000px;
  margin: 40px auto 28px;
  background: rgba(255, 225, 77, .18);
  border: 1px solid var(--yellow);
  border-radius: var(--radius);
  padding: 18px 24px;
  font-weight: 700;
  color: var(--navy);
  font-size: .95rem;
  line-height: 1.8;
  text-align: center;
}
.support__chip {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
  margin-right: 10px;
}

/* 料金プラン */
.plan__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: stretch;
}
.plan {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
}
.plan--featured {
  border: 2px solid var(--navy);
  box-shadow: var(--shadow);
}
.plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--lemon);
  color: var(--ink);
  font-size: .75rem;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 999px;
  white-space: nowrap;
}
.plan__name {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--navy);
}
.plan__price {
  margin-top: 10px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--navy);
}
.plan__price small {
  font-family: "Noto Sans JP", sans-serif;
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray);
  margin-left: 4px;
}
.plan__list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.plan__list li {
  position: relative;
  padding-left: 22px;
  font-size: .92rem;
  color: var(--navy);
}
.plan__list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: .55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}
.plan__note {
  max-width: 1000px;
  margin: 24px auto 0;
  font-size: .82rem;
  color: var(--gray);
  text-align: center;
  line-height: 1.8;
}
.plan__cta { text-align: center; margin-top: 40px; }
.plan__cta-note { margin-top: 14px; font-size: .85rem; color: var(--gray); }

/* 予約ページ用ヘッダー */
.page-head {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0 64px;
  text-align: center;
}
.page-head__en {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--yellow);
  font-size: .85rem;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.page-head__title { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 700; }
.page-head__sub { margin-top: 16px; color: rgba(255, 255, 255, .82); font-size: .95rem; }
.page-back { display: inline-block; margin-bottom: 28px; font-size: .9rem; color: var(--navy); }
.page-back:hover { color: var(--yellow-deep); }

/* ----- OSサービス予約カレンダー ----- */
.booking {
  max-width: 1000px;
  margin: 48px auto 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 36px;
}
.booking__title { font-size: 1.3rem; font-weight: 700; color: var(--navy); text-align: center; }
.booking__sub { text-align: center; color: var(--gray); font-size: .92rem; margin: 8px 0 28px; }
.booking__layout {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 30px;
  align-items: start;
}

/* カレンダー */
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal__month { font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.05rem; color: var(--navy); }
.cal__nav {
  width: 36px; height: 36px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--navy);
  transition: var(--ease);
}
.cal__nav:hover:not(:disabled) { background: var(--off-white); }
.cal__nav:disabled { opacity: .3; cursor: not-allowed; }
.cal__weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr);
  text-align: center; font-size: .76rem; color: var(--gray); margin-bottom: 6px;
}
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.cal__cell {
  aspect-ratio: 1 / 1;
  border: none;
  background: var(--off-white);
  border-radius: 8px;
  cursor: pointer;
  font-size: .9rem;
  font-weight: 500;
  color: var(--navy);
  transition: var(--ease);
}
.cal__cell--empty { background: transparent; }
.cal__cell:hover:not(.is-disabled):not(.is-selected) { background: var(--line); }
.cal__cell.is-disabled { color: var(--line); background: transparent; cursor: not-allowed; }
.cal__cell.is-selected { background: var(--navy); color: var(--yellow); font-weight: 700; }

/* 時間帯 */
.booking__label { font-weight: 700; color: var(--navy); margin-bottom: 12px; font-size: .95rem; }
.slots__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.slots__hint { grid-column: 1 / -1; color: var(--gray); font-size: .85rem; }
.slot {
  padding: 12px 8px;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-size: .92rem;
  color: var(--navy);
  transition: var(--ease);
}
.slot:hover { border-color: var(--navy); }
.slot.is-selected { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }

/* フォーム */
.booking__form { margin-top: 28px; border-top: 1px solid var(--line); padding-top: 26px; }
.booking__selected { text-align: center; font-size: 1rem; color: var(--navy); margin-bottom: 22px; }
.booking__selected strong { color: var(--yellow-deep); }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--navy);
  background: var(--white);
}
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--navy); }
.field textarea { resize: vertical; }
#bookingSend { width: 100%; margin-top: 8px; }
.booking__note { text-align: center; font-size: .8rem; color: var(--gray); margin-top: 12px; }
.booking__note a { color: var(--navy); text-decoration: underline; }

/* Googleカレンダー埋め込み */
.gcal { max-width: 820px; margin: 0 auto; }
.gcal__frame {
  display: block;
  width: 100%;
  min-height: 700px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.gcal__fallback { text-align: center; margin-top: 16px; font-size: .88rem; color: var(--gray); }
.gcal__fallback a { color: var(--navy); text-decoration: underline; }

/* ============================================================
   不動産部門（現金買取）
   ============================================================ */
.estate { background: var(--white); }

.estate__lead {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}
.estate__lead p { font-size: 1.02rem; line-height: 2; color: var(--navy); }
.estate__lead strong { color: var(--yellow-deep); }

.estate__merits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto 44px;
}
.estate__merits li {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px;
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.8;
}
.estate__merits strong {
  display: block;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 6px;
}

.estate__types {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.estate__types-label {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}
.estate__tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.estate__tags span {
  background: var(--navy);
  color: var(--white);
  font-size: .85rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
}

.estate__cta {
  margin-top: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.estate__link {
  font-size: .85rem;
  color: var(--gray);
  text-decoration: underline;
}
.estate__link:hover { color: var(--navy); }

/* ============================================================
   緊急対応（多摩地区・LINE）
   ============================================================ */
.emergency { background: var(--off-white); }

.emergency__card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.emergency__body { padding: 36px 36px; }
.emergency__badge {
  display: inline-block;
  background: var(--line-green);
  color: var(--white);
  font-weight: 700;
  font-size: .78rem;
  padding: 4px 14px;
  border-radius: 999px;
}
.emergency__lead {
  margin: 16px 0 20px;
  color: var(--navy);
  font-size: .98rem;
  line-height: 1.9;
}
.emergency__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.emergency__tags span {
  background: var(--off-white);
  border: 1px solid var(--line);
  color: var(--navy);
  font-size: .82rem;
  font-weight: 500;
  padding: 7px 14px;
  border-radius: 999px;
}
.emergency__cta {
  background: var(--navy);
  color: var(--white);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}
.emergency__cta .btn--line { width: 100%; }
.emergency__chat { font-size: .82rem; line-height: 1.7; color: rgba(255, 255, 255, .8); }
.emergency__chat strong { color: var(--white); }

/* ============================================================
   Rectangleの強み
   ============================================================ */
.strength { background: var(--white); }

.strength__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 820px;
  margin: 0 auto 44px;
}
.strength__stats li {
  background: var(--off-white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
}
.strength__stats strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  line-height: 1;
  color: var(--navy);
}
.strength__stats strong small {
  font-size: 1rem;
  margin-left: 3px;
  color: var(--yellow-deep);
}
.strength__stats span {
  display: block;
  margin-top: 12px;
  font-size: .88rem;
  color: var(--gray);
}

.strength__text {
  max-width: 760px;
  margin: 0 auto;
}
.strength__text p {
  font-size: 1.02rem;
  line-height: 2;
  color: var(--navy);
}
.strength__text p + p { margin-top: 18px; }
.strength__text strong { color: var(--yellow-deep); }
.strength__closing {
  margin-top: 24px !important;
  padding: 20px 24px;
  background: var(--navy);
  border-radius: var(--radius);
  text-align: center;
}
.strength__closing,
.strength__closing strong {
  color: var(--white) !important;
}
.strength__closing strong { border-bottom: 2px solid var(--yellow); }

/* ============================================================
   3. 施工サービス
   ============================================================ */
.menu { background: var(--off-white); }

.service__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 920px;
  margin: 0 auto;
}
.service__item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  transition: var(--ease);
  position: relative;
  padding-left: 40px;
}
.service__item::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 28px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}
.service__item:hover {
  border-color: transparent;
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.service__item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
}
.service__item p {
  margin-top: 6px;
  font-size: .82rem;
  color: var(--gray);
}

.menu__table {
  max-width: 820px;
  margin-inline: auto;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.menu__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 32px;
  border-bottom: 1px solid var(--line);
  transition: background var(--ease);
}
.menu__row:last-child { border-bottom: none; }
.menu__row:hover { background: var(--off-white); }

.menu__name {
  font-size: 1.15rem;
  font-weight: 700;
  position: relative;
  padding-left: 16px;
}
.menu__name::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
}

.menu__desc {
  color: var(--gray);
  font-size: .88rem;
  padding-left: 16px;
}

.menu__price {
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.menu__price small { font-size: .8rem; color: var(--gray); font-weight: 500; }

/* キャンペーン注記 */
.menu__campaign {
  max-width: 820px;
  margin: 28px auto 0;
  background: rgba(255, 225, 77, .18);
  border: 1px solid var(--yellow);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: .9rem;
  color: var(--navy);
}
.menu__badge {
  display: inline-block;
  background: var(--lemon);
  color: var(--ink);
  font-weight: 700;
  font-size: .78rem;
  padding: 3px 12px;
  border-radius: 999px;
  margin-right: 10px;
}

/* ============================================================
   4. 予約・無料相談
   ============================================================ */
.reserve {
  background: var(--navy);
  color: var(--white);
}

.reserve__inner { text-align: center; }

.reserve__title {
  font-size: clamp(1.6rem, 4.5vw, 2.4rem);
  font-weight: 700;
  margin: 10px 0 20px;
}

.reserve__lead {
  color: rgba(255, 255, 255, .85);
  margin-bottom: 40px;
}

.reserve__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;
}

.reserve__tel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
}
.reserve__tel span { font-size: .8rem; color: rgba(255, 255, 255, .7); }
.reserve__tel strong {
  font-family: "Poppins", sans-serif;
  font-size: 1.8rem;
  color: var(--yellow);
}

.reserve__hours {
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
}

/* 無料相談フォーム */
.inquiry {
  max-width: 720px;
  margin: 8px auto 0;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  text-align: left;
}
.inq-field { margin-bottom: 18px; }
.inq-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.inq-label { display: block; font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.inq-label span { color: var(--gray); font-weight: 500; font-size: .78rem; }
.inquiry input,
.inquiry select,
.inquiry textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: .95rem;
  color: var(--navy);
  background: var(--white);
}
.inquiry input:focus,
.inquiry select:focus,
.inquiry textarea:focus { outline: none; border-color: var(--navy); }
.inquiry textarea { resize: vertical; }
.inq-checks { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .85rem;
  color: var(--navy);
  background: var(--white);
  transition: var(--ease);
}
.chip:hover span { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); color: var(--white); border-color: var(--navy); }
#inquirySend { width: 100%; margin-top: 8px; }
.inquiry__note { text-align: center; font-size: .8rem; color: var(--gray); margin-top: 12px; }
.reserve__alt { margin-top: 24px; color: rgba(255, 255, 255, .85); font-size: .9rem; }
.reserve__alt a { color: var(--yellow); font-weight: 700; }

/* 相談フォーム（専用ページ：白背景） */
.inquiry--page { border: 1px solid var(--line); box-shadow: var(--shadow); }
.page-alt { text-align: center; margin-top: 24px; color: var(--gray); font-size: .9rem; }
.page-alt a { color: var(--navy); font-weight: 700; }

/* キャンペーンチラシ一覧 */
.flyer-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.flyer-item {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 30px;
  transition: var(--ease);
}
.flyer-item:hover { box-shadow: var(--shadow); }
.flyer-item__month {
  display: inline-block;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: .9rem;
  color: var(--navy);
  background: var(--yellow);
  padding: 4px 14px;
  border-radius: 999px;
}
.flyer-item__title {
  margin: 14px 0 10px;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
}
.flyer-item__desc { color: var(--gray); font-size: .92rem; line-height: 1.9; }
.flyer-item__thumb {
  position: relative;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.flyer-item__thumb img { width: 100%; height: auto; display: block; transition: var(--ease); }
.flyer-item__thumb:hover img { transform: scale(1.03); }
.flyer-item__open {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  background: rgba(15, 29, 60, .9);
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  padding: 8px 18px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ============================================================
   ブランドムービー（ロゴ動画）
   ============================================================ */
.brandfilm { padding: 76px 0; background: var(--off-white); }
.brandfilm__inner { text-align: center; }
.brandfilm__video {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  display: block;
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(0, 0, 0, .12);
}
.brandfilm__tag {
  margin-top: 24px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .04em;
}
.brandfilm__tag strong { color: var(--red); margin-left: 6px; }

/* ============================================================
   ビジュアル：ステートメント帯（パララックス）
   ============================================================ */
.statement {
  position: relative;
  padding: 130px 0;
  color: var(--white);
  text-align: center;
  background-image:
    linear-gradient(150deg, rgba(171, 4, 12, .84), rgba(14, 14, 14, .88)),
    url("../images/work-living.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.statement__en {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: .2em;
  color: var(--lemon);
  font-size: .85rem;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.statement__text {
  font-size: clamp(1.4rem, 4vw, 2.1rem);
  font-weight: 700;
  line-height: 1.7;
}
.statement__sub {
  max-width: 640px;
  margin: 22px auto 0;
  color: rgba(255, 255, 255, .82);
  font-size: .98rem;
}

/* ============================================================
   5. 施工事例（Instagram誘導）
   ============================================================ */
.works {
  position: relative;
  color: var(--white);
  text-align: center;
  background-image:
    linear-gradient(150deg, rgba(14, 14, 14, .9), rgba(171, 4, 12, .78)),
    url("../images/work-garage.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.works__inner { max-width: 680px; margin-inline: auto; }
.works .section__en { color: var(--lemon); }
.works .section__title { color: var(--white); }
.works__lead {
  margin: 24px auto 38px;
  color: rgba(255, 255, 255, .85);
}
.btn--ig svg { flex-shrink: 0; }

.works__qr {
  margin: 32px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px 26px 16px 16px;
}
.works__qr img {
  width: 116px;
  height: 116px;
  display: block;
  border-radius: 8px;
}
.works__qr p {
  color: var(--navy);
  font-weight: 700;
  font-size: .92rem;
  line-height: 1.7;
  text-align: left;
}

/* ============================================================
   スクロール演出（フェードイン）
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: .12s; }
.reveal[data-delay="2"] { transition-delay: .24s; }
.reveal[data-delay="3"] { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* スマホではパララックス（固定背景）を無効化してガタつき防止 */
@media (max-width: 768px) {
  .statement, .works { background-attachment: scroll; }
}

/* ============================================================
   フッター
   ============================================================ */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, .8);
  padding: 56px 0 28px;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer__logo {
  display: inline-block;
  background: var(--white);
  border-radius: 12px;
  padding: 14px 22px;
}
.footer__logo img { height: 72px; width: auto; display: block; }

.footer__copy { font-size: .85rem; margin-top: 14px; color: rgba(255, 255, 255, .6); }
.footer__addr { font-size: .8rem; margin-top: 12px; line-height: 1.9; color: rgba(255, 255, 255, .6); }

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__nav a { font-size: .9rem; transition: color var(--ease); }
.footer__nav a:hover { color: var(--yellow); }

.footer__small {
  text-align: center;
  font-size: .78rem;
  color: rgba(255, 255, 255, .5);
  margin-top: 24px;
}

/* ============================================================
   レスポンシブ
   ============================================================ */

/* タブレット */
@media (max-width: 900px) {
  .concept__grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .support__grid { grid-template-columns: 1fr; max-width: 560px; }
  .service__grid { grid-template-columns: repeat(2, 1fr); max-width: 620px; }
}

/* スマホ */
@media (max-width: 768px) {
  .section { padding: 72px 0; }

  /* ナビをドロワー化 */
  .hamburger { display: flex; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(78%, 320px);
    background: var(--navy);
    transform: translateX(100%);
    transition: transform var(--ease);
    padding: 96px 32px 40px;
  }
  .nav.is-open { transform: translateX(0); }
  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .nav__list a { color: var(--white); font-size: 1.05rem; }
  .nav__cta { display: inline-block; }

  .hero__inner { padding: 60px 24px 70px; }

  .menu__row { flex-direction: column; align-items: flex-start; gap: 10px; }
  .menu__price { align-self: flex-end; }

  .support__points { grid-template-columns: repeat(2, 1fr); }
  .strength__stats { grid-template-columns: 1fr; max-width: 360px; }
  .event__grid { grid-template-columns: 1fr; max-width: 480px; }
  .plan__grid { grid-template-columns: 1fr; max-width: 420px; }
  .estate__merits { grid-template-columns: 1fr; max-width: 420px; }
  .emergency__card { grid-template-columns: 1fr; max-width: 480px; }
  .booking { padding: 26px 18px; }
  .booking__layout { grid-template-columns: 1fr; gap: 28px; }
  .slots__grid { grid-template-columns: repeat(3, 1fr); }

  .reserve__actions { flex-direction: column; }
  .reserve__tel { align-items: center; }
  .inquiry { padding: 26px 18px; }
  .inq-row { grid-template-columns: 1fr; gap: 0; }
  .marquee__track > img { height: 210px; }
  .marquee__logo { height: 210px; width: 260px; padding: 20px 26px; }
  .marquee__track { animation-duration: 42s; }
  .flyer-item { grid-template-columns: 1fr; gap: 20px; }
  .flyer-item__head { text-align: center; }

  .footer__inner { flex-direction: column; text-align: center; }
}

/* 小型スマホ */
@media (max-width: 420px) {
  .container, .header__inner, .hero__inner { padding-inline: 18px; }
  .btn { width: 100%; }
  .hero__actions { width: 100%; }
  .logo__tag { display: none; }
}
