/* ========================================
   アトランティス入間 ランディングページ
   レスポンシブ対応スタイルシート
   ======================================== */

/* リセット・共通 */
*, *::before, *::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: "Noto Sans JP", "游ゴシック Medium", "Yu Gothic Medium", "Hiragino Sans", "Meiryo", sans-serif;
  font-weight: 400;
  color: #1B2A4E;
  background: #fff;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
a {
  color: inherit;
  text-decoration: none;
}

/* テーマ色 */
:root {
  --navy: #1B2A4E;
  --navy-deep: #14213D;
  --gold: #C99A4D;
  --gold-deep: #B5894A;
  --bg-soft: #F5F4EF;
  --line: #E5E3DC;
  --text-sub: #6B7280;
}

/* レイアウト共通 */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-title {
  font-family: "Noto Serif JP", "游明朝", "Yu Mincho", serif;
  font-weight: 700;
  font-size: 28px;
  color: var(--navy);
  margin: 0 0 12px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title--center {
  justify-content: center;
  text-align: center;
  font-size: 32px;
}
.section-lead {
  font-size: 15px;
  color: var(--text-sub);
  margin: 0 0 24px;
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  padding: 16px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.05em;
  border: 2px solid transparent;
  transition: opacity .2s, transform .2s;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
}
.btn:hover { opacity: .88; transform: translateY(-1px); }
.btn--gold {
  background: var(--gold);
  color: #fff;
}
.btn--gold:hover { background: var(--gold-deep); opacity: 1; }
.btn--outline {
  background: #fff;
  color: var(--navy);
  border-color: var(--navy);
}
.btn .arrow {
  margin-left: auto;
  font-size: 18px;
  font-weight: 400;
}
.btn--header {
  min-width: 0;
  padding: 14px 24px;
  border-radius: 0;
}

/* アイコン（カレンダー、検索、メール） */
.ico-cal,
.ico-search,
.ico-mail {
  display: inline-block;
  width: 18px;
  height: 18px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
}
.ico-cal {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='4' width='18' height='18' rx='2' ry='2'/><line x1='16' y1='2' x2='16' y2='6'/><line x1='8' y1='2' x2='8' y2='6'/><line x1='3' y1='10' x2='21' y2='10'/></svg>");
}
.btn--outline .ico-cal,
.btn--outline .ico-search,
.btn--outline .ico-mail {
  filter: invert(15%) sepia(50%) saturate(700%) hue-rotate(200deg);
}
.ico-search {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2A4E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><circle cx='11' cy='11' r='8'/><line x1='21' y1='21' x2='16.65' y2='16.65'/></svg>");
}
.ico-mail {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2A4E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/><polyline points='22,6 12,13 2,6'/></svg>");
}

/* ========================================
   ヘッダー
   ======================================== */
.site-header {
  background: var(--navy);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header__inner {
  display: flex;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 0 0 32px;
  height: 64px;
}
.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  margin-right: auto;
}
.brand__name {
  font-family: "Noto Serif JP", "游明朝", serif;
  font-size: 18px;
  letter-spacing: 0.18em;
  font-weight: 700;
}
.brand__name-en {
  font-size: 11px;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  margin-top: 2px;
}
.nav__list {
  display: flex;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  margin-right: 24px;
}
.nav__list a {
  position: relative;
  padding: 0 4px;
  white-space: nowrap;
}
.nav__list li + li::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.3);
}
.btn--header {
  align-self: stretch;
  border-radius: 0;
}
.hamburger {
  display: none;
  background: transparent;
  border: 0;
  width: 28px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 16px;
  padding: 0;
}
.hamburger span {
  display: block;
  height: 2px;
  background: #fff;
}

/* ========================================
   ヒーロー
   ======================================== */
.hero {
  background:
    linear-gradient(180deg, rgba(255,255,255,0) 60%, rgba(245,244,239,1) 100%),
    linear-gradient(180deg, #E9F1FA 0%, #F5F4EF 100%);
  overflow: hidden;
}
.hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 32px 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero__title {
  font-family: "Noto Serif JP", "游明朝", serif;
  font-weight: 700;
  font-size: 56px;
  line-height: 1.35;
  letter-spacing: 0.02em;
  margin: 0 0 24px;
  color: var(--navy);
}
.hero__lead {
  font-size: 16px;
  margin: 0 0 28px;
  color: var(--navy);
  line-height: 1.9;
}
.hero__lead strong {
  color: var(--gold);
  font-size: 1.15em;
  font-weight: 700;
}
.hero__price {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin: 0 0 6px;
}
.hero__price-label {
  font-size: 14px;
  color: var(--navy);
}
.hero__price-num {
  font-family: "Noto Serif JP", serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.hero__sub {
  display: flex;
  gap: 24px;
  font-size: 13px;
  color: var(--text-sub);
  margin: 0 0 32px;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__photo {
  position: relative;
}
.hero__photo-main {
  width: 100%;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 12px 32px rgba(20, 33, 61, 0.12);
}
/* 新築1LDKバッジ（建物写真の右上に重ねる。円形は画像自体が持つ） */
.hero__badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 124px;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(20, 33, 61, 0.25));
}
.hero__badge img {
  width: 100%;
  height: auto;
  display: block;
}

/* ========================================
   特徴アイコン帯
   ======================================== */
.features {
  background: var(--navy);
  color: #fff;
  border-top: 4px solid var(--navy-deep);
}
.features__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
}
.features__list {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 8px;
}
.features__list li {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.features__list li:last-child { border-right: 0; }
.features__list li img {
  width: auto;
  height: 64px;
  max-width: 100%;
  display: block;
}

/* ========================================
   室内写真ギャラリー
   ======================================== */
.rooms {
  padding: 64px 0 48px;
  background: #fff;
}
.rooms__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}
.rooms__list figure { margin: 0; }
.rooms__list img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}
.rooms__list figcaption {
  text-align: center;
  margin-top: 12px;
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
}

/* ========================================
   アクセス＋施設
   ======================================== */
.access {
  padding: 24px 0 64px;
  background: #fff;
}
.access__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.access__col {
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 28px;
}
.title-ico {
  display: inline-block;
  width: 28px;
  height: 28px;
  background: var(--navy);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.title-ico::before {
  content: "";
  position: absolute;
  inset: 6px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.title-ico--train::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='5' y='3' width='14' height='15' rx='2'/><path d='M5 11h14'/></svg>");
}
.title-ico--shop::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 9l1.5-5h15L21 9'/><path d='M3 9v11h18V9'/><path d='M3 9h18'/></svg>");
}
.title-ico--gear::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M3 11l9-7 9 7'/><path d='M5 10v10h14V10'/></svg>");
}

/* 路線図 */
.route {
  margin: 24px 0 16px;
}
.route__line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin-bottom: 12px;
}
.route__line::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 2px;
  background: var(--navy);
  z-index: 0;
}
.route__stop, .route__dot {
  position: relative;
  z-index: 1;
  background: #fff;
  border: 2px solid var(--navy);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.route__stop {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.route__stop--start {
  background: var(--navy);
  color: #fff;
}
.route__stop--end {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}
.route__dot {
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
}
.route__note {
  text-align: center;
  font-size: 12px;
  color: var(--text-sub);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 6px 0;
  margin: 0;
}

.time-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 8px;
}
.time-box__item {
  text-align: center;
  position: relative;
}
.time-box__item + .time-box__item {
  border-left: 1px solid var(--line);
  padding-left: 12px;
}
.time-box__label {
  display: block;
  font-size: 12px;
  color: var(--navy);
  margin-bottom: 4px;
}
.time-box__value {
  display: block;
  font-size: 14px;
  color: var(--navy);
}
.time-box__value strong {
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  color: var(--gold);
}
.access__memo {
  font-size: 11px;
  color: var(--text-sub);
  margin: 0;
}

/* 施設リスト */
.facilities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.facilities li {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  text-align: center;
}
.facilities img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}
.facilities h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin: 8px 4px 4px;
  line-height: 1.3;
}
.facilities p {
  font-size: 11px;
  color: var(--text-sub);
  margin: 0 4px 8px;
  line-height: 1.5;
}

/* ========================================
   設備・仕様
   ======================================== */
.equipment {
  padding: 16px 0 64px;
  background: #fff;
}
.equipment__grid {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 32px;
  align-items: start;
}
.equipment__copy {
  background: var(--bg-soft);
  border-radius: 8px;
  padding: 32px;
}
.equipment__list {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.equipment__list li {
  background: #fff;
  border-radius: 4px;
  padding: 18px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.equipment__list li img {
  width: 100%;
  max-width: 132px;
  height: auto;
  display: block;
}
/* エントランス写真（1枚） */
.equipment__photo img {
  width: 100%;
  border-radius: 6px;
  display: block;
}

/* ========================================
   フッターCTA
   ======================================== */
.footer-cta {
  position: relative;
  background:
    linear-gradient(180deg, #FAF7F0 0%, #F2EEE3 100%);
  padding: 56px 0 64px;
  overflow: hidden;
}
.footer-cta__leaf {
  position: absolute;
  top: 0;
  height: 100%;
  width: 220px;
  object-fit: cover;
  opacity: 0.85;
  pointer-events: none;
}
.footer-cta__leaf--left { left: 0; }
.footer-cta__leaf--right { right: 0; }
.footer-cta__inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  position: relative;
}
.footer-cta__title {
  font-family: "Noto Serif JP", serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.08em;
  margin: 0 0 20px;
}
.footer-cta__sub {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 14px;
  color: var(--navy);
  margin: 0 0 32px;
}
.footer-cta__sub .line {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--navy);
}
.footer-cta__buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   サイトフッター
   ======================================== */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding: 24px 0;
}
.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.site-footer .brand__name {
  color: #fff;
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.site-footer__info {
  flex: 1;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
}
.site-footer__info p {
  margin: 0 0 4px;
}
.site-footer__info p span + span::before {
  content: "　";
}
.site-footer .note {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
}

/* ========================================
   レスポンシブ：タブレット
   ======================================== */
@media (max-width: 1023px) {
  .nav { display: none; }
  .hamburger { display: flex; margin-left: auto; margin-right: 12px; }
  .brand { margin-right: 0; }
  .hero__title { font-size: 32px; line-height: 1.4; }
  .hero__price-num { font-size: 26px; }
  .hero__price { flex-wrap: wrap; }
  .hero__inner { gap: 24px; padding: 40px 24px; }
  .equipment__grid {
    grid-template-columns: 1fr;
  }
  .equipment__photo {
    max-width: 320px;
    margin: 0 auto;
  }
  .features__list {
    grid-template-columns: repeat(4, 1fr);
    row-gap: 12px;
  }
  .features__list li:nth-child(4n) { border-right: 0; }
  .equipment__list {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ========================================
   レスポンシブ：スマホ
   ======================================== */
@media (max-width: 767px) {
  .site-header__inner {
    padding-left: 16px;
    height: 56px;
  }
  .brand__name { font-size: 15px; }
  .brand__name-en { font-size: 10px; }
  .btn--header {
    min-width: 0;
    padding: 0 16px;
    font-size: 13px;
  }
  .hamburger { display: flex; }

  .hero__inner {
    grid-template-columns: 1fr;
    padding: 32px 20px;
    gap: 24px;
  }
  .hero__title {
    font-size: 32px;
  }
  .hero__price {
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero__price-num { font-size: 24px; }
  .hero__sub {
    flex-direction: column;
    gap: 4px;
  }
  .hero__ctas .btn {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    font-size: 14px;
  }
  .features__inner { padding: 12px 16px; }
  .features__list {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
  }
  .features__list li {
    font-size: 10px;
    padding: 4px 2px;
  }
  .features__list li .ico {
    width: 24px;
    height: 24px;
  }

  .container { padding: 0 16px; }
  .rooms { padding: 40px 0 24px; }
  .section-title { font-size: 22px; }
  .section-title--center { font-size: 26px; }
  .rooms__list {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .access { padding: 16px 0 40px; }
  .access__grid {
    grid-template-columns: 1fr;
  }
  .access__col { padding: 20px; }
  .route__stop {
    width: 52px;
    height: 52px;
    font-size: 12px;
  }
  .route__dot {
    font-size: 10px;
    padding: 4px 6px;
  }
  .facilities {
    grid-template-columns: repeat(2, 1fr);
  }

  .equipment__list {
    grid-template-columns: repeat(2, 1fr);
  }
  .equipment__copy { padding: 20px; }

  .footer-cta { padding: 40px 0 48px; }
  .footer-cta__title { font-size: 28px; }
  .footer-cta__leaf { display: none; }
  .footer-cta__buttons {
    flex-direction: column;
  }
  .footer-cta__buttons .btn {
    min-width: 0;
  }

  .site-footer__inner {
    padding: 0 16px;
    gap: 12px;
  }
  .site-footer__info p span {
    display: inline-block;
  }
  .site-footer__info p span + span::before {
    content: "／";
    margin: 0 4px;
  }
}

/* ============================================
   追加セクション（選ばれる理由・空室・問い合わせ）
   ＋ スクロール連動アニメーション
   ※ 色はサイト共通の変数（紺=--navy／金=--gold）に統一
   ============================================ */

/* セクション上の英字ラベル（小見出し） */
.section-eyebrow {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}
.section-lead--center {
  text-align: center;
}

/* --- ヒーローのハイライトタグ --- */
.hero__highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}
.hero__highlights .tag {
  display: inline-block;
  padding: 6px 15px;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  background: #eef2f8;
  border: 1px solid rgba(27, 42, 78, 0.08);
  border-radius: 999px;
}
.hero__highlights .tag--alert {
  color: #fff;
  background: #c0392b;        /* 「残り◯室」は緊急性を出すため赤を維持 */
  border-color: transparent;
}

/* --- 選ばれる理由（モダンカード） --- */
.reasons {
  padding: 80px 0;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-soft) 100%);
}
.reasons__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
  list-style: none;
  padding: 0;
}
.reasons__item {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 44px 28px 30px;
  box-shadow: 0 12px 30px rgba(27, 42, 78, 0.07);
  border: 1px solid rgba(27, 42, 78, 0.06);
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.reasons__item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, #e6cd9b 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s ease;
}
.reasons__item:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 46px rgba(27, 42, 78, 0.15);
}
.reasons__item:hover::before {
  transform: scaleX(1);
}
.reasons__num {
  display: inline-block;
  font-family: "Noto Serif JP", serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 8px;
}
.reasons__num::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--navy);
  opacity: 0.25;
  margin-top: 14px;
}
.reasons__item h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
  margin: 14px 0 12px;
  line-height: 1.5;
}
.reasons__item p {
  font-size: 14px;
  line-height: 1.9;
  color: var(--text-sub);
  margin: 0;
}

/* --- 空室・賃料一覧 --- */
.vacancy {
  padding: 72px 0;
  background: #fff;
}
.vacancy__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 32px 0 16px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(27, 42, 78, 0.07);
}
.vacancy__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
  font-size: 15px;
  background: #fff;
}
.vacancy__table thead th {
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  padding: 15px 12px;
  text-align: center;
  letter-spacing: 0.04em;
}
.vacancy__table tbody td {
  padding: 15px 12px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
}
.vacancy__table tbody tr {
  transition: background 0.2s;
}
.vacancy__table tbody tr:nth-child(even) {
  background: var(--bg-soft);
}
.vacancy__table tbody tr:hover {
  background: #f0ead9;
}
.badge-vacant {
  display: inline-block;
  padding: 4px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--gold);
  border-radius: 999px;
}
.vacancy__note {
  font-size: 13px;
  color: var(--text-sub);
  text-align: center;
  margin: 8px 0 0;
}
.vacancy__cta {
  text-align: center;
  margin-top: 28px;
}

/* --- 問い合わせカード --- */
.contact-card {
  max-width: 440px;
  margin: 32px auto 0;
  padding: 30px 26px;
  background: #fff;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(27, 42, 78, 0.14);
  border: 1px solid rgba(27, 42, 78, 0.06);
}
.contact-card__label {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin: 0 0 8px;
}
.contact-card__company {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
}
.contact-card__tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 32px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.contact-card__hours {
  font-size: 13px;
  color: var(--text-sub);
  margin: 8px 0 10px;
}
.contact-card__free {
  font-size: 14px;
  color: var(--navy);
  margin: 0;
}
.contact-card__free a {
  color: var(--gold-deep);
  font-weight: 700;
}

/* 電話アイコン（問い合わせカード用） */
.ico-tel {
  display: inline-block;
  width: 26px;
  height: 26px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231B2A4E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/></svg>");
}

/* ============================================
   スクロール連動アニメーション
   ・JavaScript有効時(.has-js)のみ初期非表示にする → JS無効でも内容は必ず見える
   ============================================ */
.reveal {
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
              transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.has-js .reveal {
  opacity: 0;
  transform: translateY(28px);
}
.has-js .reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-stagger > * {
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.has-js .reveal-stagger > * {
  opacity: 0;
  transform: translateY(28px);
}
.has-js .reveal-stagger.is-visible > * {
  opacity: 1;
  transform: none;
}
.has-js .reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.09s; }
.has-js .reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.18s; }
.has-js .reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.27s; }
.has-js .reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.36s; }
.has-js .reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.45s; }

/* 写真のホバーズーム（PCでのインタラクティブ感） */
.rooms__thumb,
.facilities__thumb {
  display: block;
  overflow: hidden;
}
.rooms__thumb {
  border-radius: 8px;
}
.rooms__thumb img,
.facilities__thumb img {
  display: block;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.rooms__thumb img {
  border-radius: 0;
}
.rooms__list figure:hover .rooms__thumb img,
.facilities li:hover .facilities__thumb img {
  transform: scale(1.06);
}
.equipment__photo {
  overflow: hidden;
  border-radius: 6px;
}
.equipment__photo img {
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.equipment__photo:hover img {
  transform: scale(1.05);
}

/* 「動きを減らす」設定では演出オフ */
@media (prefers-reduced-motion: reduce) {
  .has-js .reveal,
  .has-js .reveal-stagger > * {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .rooms__thumb img,
  .facilities__thumb img,
  .equipment__photo img {
    transition: none !important;
  }
}

/* --- 追加セクションのレスポンシブ --- */
@media (max-width: 1023px) {
  .reasons__list {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .reasons {
    padding: 48px 0;
  }
  .reasons__list {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }
  .reasons__item {
    padding: 32px 22px 26px;
  }
  .vacancy {
    padding: 44px 0;
  }
  .vacancy__table {
    font-size: 14px;
  }
  .contact-card__tel {
    font-size: 27px;
  }
  .hero__highlights {
    margin: 14px 0 20px;
  }
}

/* ============================================
   間取り図ポップアップ
   ============================================ */
/* 一覧の「間取り図」ボタン */
.madori-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 13px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: var(--navy);
  border: none;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.madori-link::before {
  content: "";
  width: 13px;
  height: 13px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='18' height='18' rx='1'/><line x1='3' y1='9' x2='21' y2='9'/><line x1='10' y1='9' x2='10' y2='21'/></svg>");
}
.madori-link:hover {
  background: var(--gold);
  transform: translateY(-1px);
}

/* ポップアップ本体 */
.madori-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
}
.madori-modal.is-open {
  display: block;
}
.madori-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 33, 61, 0.72);
  cursor: zoom-out;
}
.madori-modal__box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 12px;
  padding: 16px;
  max-width: 92vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  animation: madoriPop 0.25s ease;
}
@keyframes madoriPop {
  from { opacity: 0; transform: translate(-50%, -46%) scale(0.96); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.madori-modal__caption {
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}
.madori-modal__img {
  max-width: min(440px, 86vw);
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}
.madori-modal__close {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: var(--navy);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  transition: background 0.2s, transform 0.2s;
}
.madori-modal__close:hover {
  background: var(--gold);
  transform: scale(1.08);
}
@media (max-width: 767px) {
  .madori-modal__close {
    top: -14px;
    right: -8px;
  }
}

/* ============================================
   所在地・アクセスマップ
   ============================================ */
.locationmap {
  padding: 72px 0;
  background: var(--bg-soft);
}
.locationmap .section-lead--center {
  font-size: 15px;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.locationmap__frame {
  position: relative;
  margin-top: 28px;
  aspect-ratio: 16 / 9;       /* 画面幅に追従して高さが決まる */
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(27, 42, 78, 0.12);
  border: 1px solid rgba(27, 42, 78, 0.06);
}
.locationmap__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.locationmap__cta {
  text-align: center;
  margin-top: 24px;
}
@media (max-width: 767px) {
  .locationmap {
    padding: 44px 0;
  }
  .locationmap__frame {
    aspect-ratio: 4 / 3;       /* スマホは少し縦長にして見やすく */
    margin-top: 22px;
  }
}
