/* ============================================================
   103 SUMU-SUMU サンプル不動産 — 学生向け賃貸仲介
   フレッシュ・軽やか・親切 / 白×スカイブルー×コーラル
   ============================================================ */

:root {
  --white: #FFFFFF;
  --bg2: #EAF4FB;
  --navy: #16324A;
  --navy-d: #0F2536;
  --sky: #2B8FD4;
  --sky-l: #7FC4EE;
  --sky-d: #1E6EA6;   /* ボタン背景用 白文字 5.4:1 */
  --sky-dd: #175A88;  /* hover 7.3:1 */
  --coral: #E4634F;   /* 装飾専用（白文字ボタン禁止） */
  --coral-d: #B23E2C; /* コーラル系ボタン背景 白文字 5.8:1 */
  --coral-dd: #93301F;
  --line: #D5E4EF;
  --muted: #5A7184;
  --ff-en: 'Poppins', 'Noto Sans JP', sans-serif;
  --ff-jp: 'Noto Sans JP', sans-serif;
  --radius: 18px;
  --shadow: 0 10px 34px rgba(22, 50, 74, 0.10);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { overflow-x: hidden; scroll-behavior: smooth; }
body {
  overflow-x: hidden;
  font-family: var(--ff-jp);
  color: var(--navy);
  background: var(--white);
  line-height: 1.8;
  padding-top: 36px; /* デモバー分 */
  font-size: 15px;
}
img { max-width: 100%; display: block; }
a { color: var(--sky-d); text-decoration: none; }
ul { list-style: none; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ─── DEMO BAR ─────────────────────────────────────────── */
#demo-bar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 2000;
  background: #0F2536;
  border-bottom: 1px solid rgba(127, 196, 238, 0.25);
  padding: 7px 0;
}
.demo-bar-inner {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 0.7rem; color: rgba(255, 255, 255, 0.45);
}
.demo-badge {
  font-size: 0.54rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  background: rgba(43, 143, 212, 0.22); color: var(--sky-l);
  padding: 3px 10px; border-radius: 999px; flex-shrink: 0;
  font-family: var(--ff-en);
}
.demo-link { color: var(--sky-l); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.demo-copy { color: rgba(255, 255, 255, 0.22); font-size: 0.62rem; margin-left: 4px; }
@media (max-width: 640px) { .demo-copy { display: none; } }

/* ─── HEADER ───────────────────────────────────────────── */
.site-header {
  position: fixed; top: 36px; left: 0; right: 0; z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 4px 20px rgba(22, 50, 74, 0.08); }
.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--sky); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-en); font-weight: 800; font-size: 18px;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--ff-en); font-weight: 700; font-size: 19px; color: var(--navy);
  line-height: 1.2; letter-spacing: 0.02em;
  display: flex; flex-direction: column;
}
.logo-text small { font-size: 10px; font-weight: 500; color: var(--muted); letter-spacing: 0.08em; }

.header-nav { display: flex; align-items: center; gap: 26px; }
.nav-list { display: flex; align-items: center; gap: 24px; }
.nav-list a {
  color: var(--navy); font-weight: 500; font-size: 14px;
  position: relative; padding: 6px 0;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--sky); border-radius: 2px;
  transition: width 0.3s;
}
.nav-list a:hover::after, .nav-list a:focus::after { width: 100%; }
.nav-list a:hover, .nav-list a:focus { color: var(--sky-dd); }

.header-cta,
.header-nav a.header-cta {
  background: var(--navy); color: var(--white);
  font-weight: 700; font-size: 14px;
  padding: 11px 26px; border-radius: 999px;
  transition: background 0.3s;
}
.header-cta:hover, .header-nav a.header-cta:hover,
.header-cta:focus, .header-nav a.header-cta:focus,
.header-cta:active, .header-nav a.header-cta:active {
  background: var(--sky-dd); color: var(--white);
}

.hamburger {
  display: none;
  width: 44px; height: 44px; border: none; background: transparent;
  cursor: pointer; z-index: 1100; position: relative;
  flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: var(--navy);
  border-radius: 2px; transition: transform 0.3s, opacity 0.3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav-close, .mobile-nav-home { display: none; }

/* ─── モバイル下部タブバー ─────────────────────────────── */
.tab-bar { display: none; }

/* ─── ボタン共通 ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 15px;
  padding: 15px 34px; border-radius: 999px;
  transition: background 0.3s, color 0.3s, transform 0.2s;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover, .btn-primary:focus, .btn-primary:active { background: var(--sky-dd); color: var(--white); }
.btn-sky { background: var(--sky-d); color: var(--white); }
.btn-sky:hover, .btn-sky:focus, .btn-sky:active { background: var(--sky-dd); color: var(--white); }
.btn-coral { background: var(--coral-d); color: var(--white); }
.btn-coral:hover, .btn-coral:focus, .btn-coral:active { background: var(--coral-dd); color: var(--white); }
.btn-outline { background: var(--white); color: var(--navy); border-color: var(--navy); }
.btn-outline:hover, .btn-outline:focus, .btn-outline:active { background: var(--navy); color: var(--white); }
.btn-white { background: var(--white); color: var(--navy); }
.btn-white:hover, .btn-white:focus, .btn-white:active { background: var(--bg2); color: var(--navy-d); }

/* ─── reveal（CSS-only・JS非依存） ─────────────────────── */
.reveal {
  opacity: 1;
  animation: rise-in 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.reveal-d1 { animation-delay: 0.1s; }
.reveal-d2 { animation-delay: 0.2s; }
.reveal-d3 { animation-delay: 0.32s; }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-d1, .reveal-d2, .reveal-d3 { animation: none; opacity: 1; transform: none; }
  .geo { animation: none; }
}

/* ─── 幾何装飾 ─────────────────────────────────────────── */
.geo { position: absolute; border-radius: 50%; pointer-events: none; animation: geo-float 9s ease-in-out infinite alternate; }
.geo-fill-sky { background: var(--bg2); }
.geo-ring { border: 2px solid var(--line); background: transparent; }
.geo-fill-coral { background: rgba(228, 99, 79, 0.12); }
.geo-half { border-radius: 50% 50% 0 0; }
@keyframes geo-float {
  from { transform: translateY(0); }
  to { transform: translateY(-18px); }
}

/* ─── HERO ─────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; padding: 70px 0 90px; }
.hero .geo-1 { width: 440px; height: 440px; top: -140px; right: 40%; }
.hero .geo-2 { width: 170px; height: 170px; bottom: 6%; left: 3%; animation-delay: 1.4s; }
.hero .geo-3 { width: 86px; height: 86px; top: 16%; left: 47%; animation-delay: 0.6s; }
.hero-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 55fr 45fr; gap: 40px; align-items: center;
  position: relative;
}
.hero-badge {
  display: inline-block;
  background: var(--bg2); color: var(--sky-dd);
  font-size: 12.5px; font-weight: 700;
  padding: 7px 18px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: 900; line-height: 1.28; letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.hero h1 .accent-dot { color: var(--coral-d); }
.hero-lead { color: var(--muted); font-size: 15.5px; max-width: 520px; margin-bottom: 34px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-photo { position: relative; }
.hero-photo img {
  width: 100%; height: 560px; object-fit: cover;
  clip-path: polygon(16% 0, 100% 0, 100% 100%, 0 100%);
  border-radius: 0 var(--radius) var(--radius) var(--radius);
}
.hero-photo .photo-note {
  position: absolute; bottom: -14px; left: 10px;
  background: var(--white); border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 18px; font-size: 12px; font-weight: 700; color: var(--sky-dd);
  box-shadow: var(--shadow);
}

/* ─── セクション共通 ───────────────────────────────────── */
.section { padding: 96px 0; position: relative; }
.section-alt { background: var(--bg2); }
.sec-head { margin-bottom: 48px; }
.sec-en {
  font-family: var(--ff-en); font-weight: 700; font-size: 13px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky-d);
  display: flex; align-items: center; gap: 10px; margin-bottom: 10px;
}
.sec-en::before { content: ""; width: 26px; height: 2px; background: var(--sky); border-radius: 2px; }
.sec-title { font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; line-height: 1.4; }
.sec-lead { color: var(--muted); margin-top: 14px; max-width: 640px; }

/* ─── NEWS ─────────────────────────────────────────────── */
.news-section { padding: 56px 0; }
.news-box {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 36px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: 180px 1fr auto; gap: 26px; align-items: start;
}
.news-box-title { font-family: var(--ff-en); font-weight: 700; font-size: 20px; }
.news-box-title small { display: block; font-size: 11px; color: var(--sky-d); letter-spacing: 0.16em; font-weight: 700; }
.news-list li { border-bottom: 1px solid var(--line); }
.news-list li:last-child { border-bottom: none; }
.news-list a {
  display: flex; gap: 18px; align-items: baseline; flex-wrap: wrap;
  padding: 12px 4px; color: var(--navy); transition: background 0.2s;
}
.news-list a:hover, .news-list a:focus { background: var(--bg2); border-radius: 8px; }
.news-date { font-family: var(--ff-en); font-size: 12.5px; color: var(--muted); font-weight: 600; flex-shrink: 0; }
.news-tag {
  font-size: 10.5px; font-weight: 700; color: var(--sky-dd);
  background: var(--bg2); border-radius: 999px; padding: 2px 12px; flex-shrink: 0;
}
.news-more { font-weight: 700; font-size: 13.5px; color: var(--sky-dd); white-space: nowrap; }
.news-more:hover, .news-more:focus { text-decoration: underline; text-underline-offset: 3px; }

/* ─── 理由（アイコン横並び見出し） ─────────────────────── */
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.reason-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.reason-card:hover { transform: translateY(-6px); }
.reason-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.reason-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: 14px;
  background: var(--bg2); color: var(--sky-dd);
  display: flex; align-items: center; justify-content: center;
}
.reason-icon svg { width: 24px; height: 24px; }
.reason-title { font-size: 17.5px; font-weight: 900; line-height: 1.45; }
.reason-text { color: var(--muted); font-size: 14px; }
.reason-num {
  font-family: var(--ff-en); font-weight: 800; font-size: 12px;
  color: var(--coral-d); letter-spacing: 0.14em; display: block; margin-bottom: 16px;
}

/* ─── エリアカード ─────────────────────────────────────── */
.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.area-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; display: block; color: var(--navy);
  position: relative; overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.area-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.area-card::before {
  content: ""; position: absolute; top: -34px; right: -34px;
  width: 92px; height: 92px; border-radius: 50%;
  background: var(--bg2);
}
.area-univ { font-size: 11.5px; font-weight: 700; color: var(--sky-dd); letter-spacing: 0.06em; }
.area-name { font-size: 19px; font-weight: 900; margin: 6px 0 14px; position: relative; }
.area-meta { display: flex; gap: 18px; font-size: 12.5px; color: var(--muted); }
.area-meta strong { font-family: var(--ff-en); font-size: 17px; color: var(--navy); font-weight: 700; }
.area-arrow {
  position: absolute; right: 20px; bottom: 20px;
  width: 30px; height: 30px; border-radius: 50%;
  background: var(--navy); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-en); font-size: 14px;
  transition: background 0.3s;
}
.area-card:hover .area-arrow { background: var(--sky-dd); }

/* ─── 物件カード ───────────────────────────────────────── */
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.room-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform 0.3s;
}
.room-card:hover { transform: translateY(-6px); }
.room-photo { position: relative; }
.room-photo img { width: 100%; height: 210px; object-fit: cover; }
.room-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--coral-d); color: var(--white);
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em;
  padding: 4px 12px; border-radius: 999px;
}
.room-body { padding: 22px 24px 26px; }
.room-name { font-size: 16px; font-weight: 900; margin-bottom: 4px; }
.room-area { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.room-rent { font-family: var(--ff-en); font-size: 26px; font-weight: 800; color: var(--sky-dd); line-height: 1.2; }
.room-rent small { font-size: 12px; color: var(--muted); font-weight: 600; font-family: var(--ff-jp); }
.room-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.room-tags span {
  font-size: 11px; font-weight: 700; color: var(--navy);
  background: var(--bg2); border-radius: 6px; padding: 3px 10px;
}

/* ─── 流れ（ステップ） ─────────────────────────────────── */
.flow-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; counter-reset: step; }
.flow-step {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 20px 24px; text-align: center; position: relative;
}
.flow-num {
  font-family: var(--ff-en); font-weight: 800; font-size: 15px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--sky-d); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.flow-step h3 { font-size: 15.5px; font-weight: 900; margin-bottom: 8px; }
.flow-step p { font-size: 12.5px; color: var(--muted); line-height: 1.7; }

/* ─── FAQ ──────────────────────────────────────────────── */
.faq-list { max-width: 780px; }
.faq-item {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px;
  margin-bottom: 14px; overflow: hidden;
}
.faq-item summary {
  cursor: pointer; list-style: none;
  padding: 20px 56px 20px 24px; font-weight: 700; font-size: 15px;
  position: relative; display: flex; gap: 12px; align-items: baseline;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 22px; top: 50%;
  transform: translateY(-50%);
  font-family: var(--ff-en); font-weight: 600; font-size: 20px; color: var(--sky-d);
  transition: transform 0.3s;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-q { font-family: var(--ff-en); font-weight: 800; color: var(--coral-d); flex-shrink: 0; }
.faq-a { padding: 0 24px 22px 54px; color: var(--muted); font-size: 14px; }

/* ─── 保護者の方へ ─────────────────────────────────────── */
.parents-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.parents-photo img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius); }
.parents-points { margin-top: 22px; }
.parents-points li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; font-size: 14.5px; font-weight: 500;
}
.parents-points .check {
  flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sky-d); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; margin-top: 4px;
}

/* ─── CTAバンド ────────────────────────────────────────── */
.cta-band { background: var(--navy); border-radius: 28px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.cta-band .geo-c1 { width: 220px; height: 220px; background: rgba(43, 143, 212, 0.16); top: -70px; left: -50px; }
.cta-band .geo-c2 { width: 130px; height: 130px; border: 2px solid rgba(127, 196, 238, 0.3); bottom: -40px; right: 6%; }
.cta-band h2 { color: var(--white); font-size: clamp(24px, 3.4vw, 36px); font-weight: 900; margin-bottom: 14px; position: relative; }
.cta-band p { color: rgba(255, 255, 255, 0.75); margin-bottom: 32px; position: relative; }
.cta-band .cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ─── サブページヘッダー ───────────────────────────────── */
.page-header {
  background: var(--bg2); padding: 80px 0 64px;
  position: relative; overflow: hidden;
}
.page-header .geo-p1 { width: 300px; height: 300px; background: var(--white); top: -110px; right: -60px; opacity: 0.7; }
.page-header .geo-p2 { width: 110px; height: 110px; border: 2px solid var(--line); bottom: -30px; left: 8%; }
.page-en {
  font-family: var(--ff-en); font-weight: 700; font-size: 13px;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--sky-d); margin-bottom: 8px;
  position: relative;
}
.page-title { font-size: clamp(28px, 4vw, 44px); font-weight: 900; position: relative; }
.page-lead { color: var(--muted); margin-top: 12px; max-width: 640px; position: relative; }

/* ─── area.html 詳細 ───────────────────────────────────── */
.area-detail {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 36px 38px; margin-bottom: 26px; box-shadow: var(--shadow);
}
.area-detail-head { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; flex-wrap: wrap; }
.area-detail-head h2 { font-size: 21px; font-weight: 900; }
.area-detail-head .univ-tag {
  font-size: 11.5px; font-weight: 700; color: var(--sky-dd);
  background: var(--bg2); border-radius: 999px; padding: 4px 14px;
}
.area-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 20px 0; }
.area-stat {
  background: var(--bg2); border-radius: 12px; padding: 16px 18px; text-align: center;
}
.area-stat strong { font-family: var(--ff-en); font-size: 22px; font-weight: 800; color: var(--sky-dd); display: block; }
.area-stat span { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.area-desc { color: var(--muted); font-size: 14px; }

/* ─── rooms.html 一覧 ──────────────────────────────────── */
.rooms-filter {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 28px; margin-bottom: 40px;
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}
.rooms-filter .filter-label { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 6px; }
.filter-chip {
  font-size: 12.5px; font-weight: 700; color: var(--navy);
  border: 1.5px solid var(--line); border-radius: 999px; padding: 7px 18px;
  background: var(--white); transition: border-color 0.2s, background 0.2s;
}
.filter-chip:hover, .filter-chip:focus { border-color: var(--sky-d); background: var(--bg2); color: var(--navy); }
.filter-chip.is-on { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ─── flow.html サポート ───────────────────────────────── */
.support-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.support-photo img { width: 100%; height: 380px; object-fit: cover; border-radius: var(--radius); }
.checklist {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 34px; margin-top: 30px;
}
.checklist h3 { font-size: 16.5px; font-weight: 900; margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.checklist h3 .checklist-icon {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px;
  background: var(--bg2); color: var(--sky-dd);
  display: flex; align-items: center; justify-content: center;
}
.checklist li { padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 14px; display: flex; gap: 10px; }
.checklist li:last-child { border-bottom: none; }
.checklist .cbox {
  flex-shrink: 0; width: 18px; height: 18px; border: 2px solid var(--sky-d); border-radius: 5px; margin-top: 5px;
}

/* ─── CONTACT ──────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: start; }
.contact-form-wrap {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px 42px; box-shadow: var(--shadow);
}
.form-note { font-size: 12.5px; color: var(--muted); margin-bottom: 26px; }
.form-field { margin-bottom: 22px; }
.form-field label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 8px; }
.req {
  font-size: 10px; font-weight: 700; color: var(--white);
  background: var(--coral-d); border-radius: 4px; padding: 2px 8px; margin-left: 8px;
  vertical-align: 2px;
}
.opt {
  font-size: 10px; font-weight: 700; color: var(--muted);
  background: var(--bg2); border-radius: 4px; padding: 2px 8px; margin-left: 8px;
  vertical-align: 2px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
form input[type="text"], form input[type="email"], form input[type="tel"],
form select, form textarea {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--ff-jp); font-size: 14px; color: var(--navy);
  background: var(--white);
  transition: border-color 0.2s;
}
form input:focus, form select:focus, form textarea:focus {
  outline: none; border-color: var(--sky-d);
}
form textarea { min-height: 140px; resize: vertical; }
.form-agree { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; margin: 26px 0; }
.form-agree input { margin-top: 5px; }
.form-submit {
  width: 100%; border: none; cursor: pointer;
  background: var(--navy); color: var(--white);
  font-family: var(--ff-jp); font-weight: 700; font-size: 16px;
  padding: 17px; border-radius: 999px;
  transition: background 0.3s;
}
.form-submit:hover, .form-submit:focus, .form-submit:active { background: var(--sky-dd); color: var(--white); }

.contact-side .shop-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow); margin-bottom: 24px;
}
.contact-side .shop-card img { width: 100%; height: 200px; object-fit: cover; }
.shop-card-body { padding: 24px 26px; }
.shop-card-body h3 { font-size: 16.5px; font-weight: 900; margin-bottom: 12px; }
.shop-dl { font-size: 13.5px; }
.shop-dl div { display: flex; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.shop-dl div:last-child { border-bottom: none; }
.shop-dl dt { flex-shrink: 0; width: 76px; font-weight: 700; color: var(--sky-dd); }
.shop-dl dd { color: var(--muted); }
.map-placeholder {
  background: var(--bg2); border: 1px dashed var(--line); border-radius: var(--radius);
  height: 210px; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 12.5px; font-weight: 600;
}

/* ─── PRIVACY / NEWS 記事 ──────────────────────────────── */
.doc-body { max-width: 780px; }
.doc-body h2 { font-size: 19px; font-weight: 900; margin: 40px 0 14px; padding-left: 14px; border-left: 4px solid var(--sky); }
.doc-body p, .doc-body li { color: var(--muted); font-size: 14px; }
.doc-body ul { padding-left: 20px; list-style: disc; margin: 10px 0; }
.doc-body ol { padding-left: 20px; margin: 10px 0; }
.doc-body ol li { padding: 3px 0; }
.article-meta { display: flex; gap: 14px; align-items: center; margin-bottom: 26px; }
.article-body p { margin-bottom: 18px; }
.back-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; margin-top: 40px; color: var(--sky-dd); }
.back-link:hover, .back-link:focus { text-decoration: underline; text-underline-offset: 3px; }

/* ─── FOOTER ───────────────────────────────────────────── */
.site-footer { background: var(--navy-d); color: #C9DAE8; padding: 70px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 44px; padding-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-logo .logo-mark { background: var(--sky); }
.footer-logo .logo-text { color: var(--white); }
.footer-logo .logo-text small { color: rgba(255, 255, 255, 0.5); }
.footer-company { font-size: 13px; color: rgba(201, 218, 232, 0.8); line-height: 2; }
.footer-head { font-family: var(--ff-en); font-weight: 700; font-size: 12px; letter-spacing: 0.18em; color: var(--sky-l); margin-bottom: 16px; }
.footer-nav li { padding: 5px 0; }
.footer-nav a { color: #C9DAE8; font-size: 13.5px; }
.footer-nav a:hover, .footer-nav a:focus { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  border-top: 1px solid rgba(201, 218, 232, 0.15);
  padding: 20px 0; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 11.5px; color: rgba(201, 218, 232, 0.55);
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 900px) {
  /* ヘッダー → ハンバーガー */
  .hamburger { display: flex; z-index: 1100; position: relative; }

  .header-nav {
    position: fixed; inset: 0;
    background: var(--white);  /* 不透明ソリッド */
    z-index: 1000;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 0;
    clip-path: inset(0 0 100% 0);
    visibility: hidden;
    transition: clip-path 0.5s cubic-bezier(0.7, 0, 0.2, 1), visibility 0.5s;
  }
  .header-nav.is-open { clip-path: inset(0 0 0% 0); visibility: visible; }

  /* 透け防止（スタッキングコンテキスト対策） */
  .site-header, .site-header.is-scrolled, .site-header.menu-active {
    background: var(--white) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  .mobile-nav-close {
    display: block; position: absolute; top: 56px; right: 24px;
    border: none; background: transparent; cursor: pointer;
    font-family: var(--ff-jp); font-weight: 700; font-size: 15px; color: var(--navy);
    padding: 10px 14px;
  }
  .mobile-nav-home {
    display: inline-block;
    background: var(--coral-d); color: var(--white);
    font-family: var(--ff-en); font-weight: 700; font-size: 14px; letter-spacing: 0.14em;
    padding: 10px 34px; border-radius: 999px; margin-bottom: 26px;
  }
  .mobile-nav-home:hover, .mobile-nav-home:focus, .mobile-nav-home:active { background: var(--coral-dd); color: var(--white); }

  .nav-list { flex-direction: column; gap: 6px; text-align: center; }
  .nav-list a { font-size: 19px; font-weight: 700; padding: 12px 0; display: block; }
  .header-nav .nav-list li {
    opacity: 0; transform: translateY(14px);
    transition: opacity 0.4s, transform 0.4s;
  }
  .header-nav.is-open .nav-list li { opacity: 1; transform: none; }
  .header-nav.is-open .nav-list li:nth-child(1) { transition-delay: 0.12s; }
  .header-nav.is-open .nav-list li:nth-child(2) { transition-delay: 0.2s; }
  .header-nav.is-open .nav-list li:nth-child(3) { transition-delay: 0.28s; }
  .header-nav.is-open .nav-list li:nth-child(4) { transition-delay: 0.36s; }
  .header-nav.is-open .nav-list li:nth-child(5) { transition-delay: 0.44s; }
  .header-cta, .header-nav a.header-cta { margin-top: 30px; font-size: 16px; padding: 15px 44px; }

  /* 下部タブバー */
  .tab-bar {
    display: flex;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 900;
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -6px 22px rgba(22, 50, 74, 0.08);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .tab-item {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 9px 0 8px;
    color: var(--muted); font-size: 10px; font-weight: 700;
  }
  .tab-item svg { width: 22px; height: 22px; }
  .tab-item.is-active, .tab-item:hover, .tab-item:focus { color: var(--sky-dd); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }

  /* HERO 縦積み */
  .hero { padding: 44px 0 66px; }
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-photo img { height: 380px; clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%); border-radius: var(--radius); }
  .hero .geo-1 { width: 300px; height: 300px; right: -90px; top: -100px; }
  .hero .geo-3 { display: none; }

  .section { padding: 64px 0; }
  .news-box { grid-template-columns: 1fr; gap: 14px; padding: 24px 22px; }
  .reason-grid, .area-grid, .room-grid { grid-template-columns: 1fr; }
  .flow-steps { grid-template-columns: 1fr; }
  .flow-step { text-align: left; display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; padding: 22px; }
  .flow-num { margin: 0; }
  .parents-grid, .support-grid { grid-template-columns: 1fr; gap: 30px; }
  .parents-photo img, .support-photo img { height: 260px; }
  .area-stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .cta-band { padding: 48px 26px; }
}

@media (max-width: 767px) {
  /* ── お問い合わせページ スマホ1カラム（必須・2階層） ── */
  /* ① ページレイアウトの2カラム解除 */
  .contact-grid, .contact-layout, .contact-wrap, .contact-flex,
  [class*="contact-grid"], [class*="contact-layout"], [class*="contact-wrap"] {
    display: block !important;
    grid-template-columns: 1fr !important;
    flex-direction: column !important;
    gap: 32px;
  }
  .contact-side { margin-top: 32px; }
  /* ② フォーム内部の2カラム解除 */
  .form-row, .form-grid, .form-2col, .form-pair, .input-row, .input-grid,
  [class*="form-row"], [class*="form-grid"], [class*="two-col"] {
    display: block !important;
    grid-template-columns: 1fr !important;
  }
  form input[type="text"], form input[type="email"], form input[type="tel"],
  form input[type="number"], form textarea, form select,
  .form-row > input, .form-row > textarea, .form-row > select,
  .form-row > div, .form-grid > * {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
  }
  .form-row, .form-grid { margin-bottom: 1rem; }
  .form-row .form-field { margin-bottom: 22px; }
  .contact-form-wrap { padding: 28px 22px; }

  .hero h1 { font-size: clamp(34px, 9.4vw, 44px); }
  .hero-cta .btn { width: 100%; }
  .cta-band .cta-buttons { flex-direction: column; align-items: stretch; }
}
