@charset "UTF-8";
/* =============================================================
   TENT株式会社 コーポレートサイト
   デザインシステム（2026-07 リニューアル / モダン・プラットフォーム）
   - ブランド色（緑#396542＋茶#825826）・Notoフォントは維持（確定）
   - 見た目・レイアウト・あしらいはモダンに刷新
   ============================================================= */

/* ---------- デザイントークン ---------- */
:root {
  /* ブランド（確定・色相は変更しない） */
  --color-main: #396542;
  --color-main-dark: #2c4e33;
  --color-main-600: #34593b;
  --color-main-light: #e8f0ea;
  --color-sub: #825826;
  --color-sub-dark: #6a4820;
  --color-sub-light: #f3ede6;
  --color-bg: #ffffff;
  --color-text: #333333;

  /* 旧トークン互換エイリアス（既存ページの inline style で使用） */
  --color-text-light: #6c746e;
  --color-border: #e6ebe7;
  --color-light: #f5f8f6;

  /* 拡張ニュートラル（モダン表現用） */
  --ink: #16241b;         /* 見出し（緑寄りの濃色） */
  --text: #3a403c;        /* 本文 */
  --text-light: #6c746e;  /* 補助テキスト */
  --line: #e6ebe7;        /* 罫線・境界 */
  --surface: #f5f8f6;     /* 薄い背景セクション */
  --surface-2: #eaf0ec;   /* もう一段濃い薄背景 */
  --gold: #c1a04c;        /* 東京プレミアム内見のアクセント（少量） */

  /* エフェクト */
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 26px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(22,36,27,.05), 0 2px 6px rgba(22,36,27,.05);
  --shadow: 0 10px 34px rgba(22,36,27,.09);
  --shadow-lg: 0 26px 60px rgba(22,36,27,.16);
  --ring: 0 0 0 4px rgba(57,101,66,.14);
  --maxw: 1200px;
  --maxw-narrow: 820px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --header-h: 76px;

  --font-sans: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Noto Serif JP", "Hiragino Mincho ProN", serif;
}

/* ---------- リセット / ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--text);
  background: var(--color-bg);
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-serif); color: var(--ink); font-weight: 700; line-height: 1.4; letter-spacing: .03em; }
p { margin: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
:focus-visible { outline: 2px solid var(--color-main); outline-offset: 3px; }

/* ---------- レイアウト ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section--light { background: var(--surface); }
.section--tint { background: linear-gradient(180deg, var(--surface) 0%, #fff 100%); }
.text-center { text-align: center; }
.note { font-size: .82rem; color: var(--text-light); margin-top: 18px; line-height: 1.8; }

/* セクション見出し */
.section-head { max-width: 760px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head .en {
  display: inline-block; font-family: var(--font-sans); font-size: .74rem; font-weight: 700;
  letter-spacing: .28em; text-transform: uppercase; color: var(--color-main);
  padding: 6px 16px; border-radius: var(--radius-pill);
  background: var(--color-main-light); margin-bottom: 18px;
}
.section-head h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); letter-spacing: .05em; }
.section-head p { margin-top: 18px; color: var(--text-light); font-size: 1.02rem; }
.section-head--left { margin-inline: 0; text-align: left; }

/* グリッド */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 700; font-size: .96rem; letter-spacing: .04em;
  padding: 13px 28px; border-radius: var(--radius-pill); border: 1.5px solid transparent;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
  white-space: nowrap; cursor: pointer; line-height: 1.4;
}
.btn--primary { background: var(--color-main); color: #fff; box-shadow: 0 6px 18px rgba(57,101,66,.28); }
.btn--primary:hover { background: var(--color-main-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(57,101,66,.36); }
.btn--sub { background: var(--color-sub); color: #fff; box-shadow: 0 6px 18px rgba(130,88,38,.26); }
.btn--sub:hover { background: var(--color-sub-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(130,88,38,.34); }
.btn--outline { background: #fff; color: var(--color-main); border-color: var(--color-main); }
.btn--outline:hover { background: var(--color-main); color: #fff; transform: translateY(-2px); }
.btn--ghost-white { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn--ghost-white:hover { background: #fff; color: var(--color-main-dark); transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #2b2410; box-shadow: 0 6px 18px rgba(193,160,76,.32); }
.btn--gold:hover { background: #b18f3d; color: #221c0c; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(193,160,76,.4); }
.btn--line { background: #06c755; color: #fff; box-shadow: 0 6px 18px rgba(6,199,85,.28); }
.btn--line:hover { background: #05b34c; color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(6,199,85,.36); }
/* トップページFVの東京プレミアム内見ボタンは白文字（3ボタンの文字色を統一） */
[data-page="home"] .btn--gold, [data-page="home"] .btn--gold:hover { color: #fff; }
/* トップFVの育てる管理ボタンは緑背景に埋もれないよう明るい緑に */
[data-page="home"] .hero__actions .btn--primary { background: #4aa267; box-shadow: 0 8px 22px rgba(74,162,103,.45); }
[data-page="home"] .hero__actions .btn--primary:hover { background: #3f9159; }
/* BAIBAI BB（茶）も色相はそのままで明るく（緑・金と明るさを揃える） */
[data-page="home"] .hero__actions .btn--sub { background: #a2703a; box-shadow: 0 8px 22px rgba(162,112,58,.42); }
[data-page="home"] .hero__actions .btn--sub:hover { background: #8d6130; }
.btn--lg { font-size: 1.04rem; padding: 16px 36px; }
.btn--block { display: flex; width: 100%; }
.btn .arw { transition: transform .2s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  /* backdrop-filterはposition:fixedの子要素（ハンバーガーメニュー本体）の
     表示位置を画面全体ではなくこの要素の枠内に閉じ込めてしまうため使用しない */
  background: rgba(255,255,255,.94);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(22,36,27,.08); background: rgba(255,255,255,.95); }
.header-inner {
  max-width: 1320px; margin-inline: auto; padding: 0 24px;
  height: var(--header-h); display: flex; align-items: center; gap: 14px;
}
.header-logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.header-logo img { height: 52px; width: auto; }
.header-logo .logo-text { font-family: var(--font-serif); font-weight: 700; font-size: 1.72rem; color: #4b8a5f; letter-spacing: .06em; line-height: 1.1; display: flex; flex-direction: column; }
.header-logo .logo-text small { font-family: var(--font-sans); font-size: .75rem; font-weight: 500; letter-spacing: .1em; color: #a5794c; margin-top: 3px; }

.gnav { margin-left: auto; }
.gnav > ul { display: flex; align-items: center; gap: 2px; }
.gnav > ul > li > a {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 9px 12px; font-size: .9rem; font-weight: 500; color: var(--ink);
  border-radius: var(--radius-sm); white-space: nowrap; position: relative;
}
.gnav > ul > li > a:hover { color: var(--color-main); background: var(--color-main-light); }
.gnav > ul > li.is-active > a { color: var(--color-main); font-weight: 700; }
.gnav > ul > li.is-active > a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 2px; height: 2px;
  background: var(--color-main); border-radius: 2px;
}
.has-dropdown > a::before { content: "▾"; font-size: 1.4rem; order: 2; color: var(--color-main); line-height: 1; }

/* ドロップダウン */
.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 300px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 10px; opacity: 0; visibility: hidden;
  transition: opacity .2s var(--ease), transform .2s var(--ease); z-index: 120;
}
.has-dropdown { position: relative; }
/* ホバー時にナビ項目とドロップダウンの隙間を透明な橋で埋める（PCでホバーが途切れないように） */
@media (min-width: 1280px) { .has-dropdown::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 18px; } }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown li a { display: block; padding: 12px 16px; border-radius: var(--radius-sm); transition: background .2s var(--ease); }
.dropdown li a:hover { background: var(--color-main-light); }
.dropdown li a strong { display: block; font-size: .96rem; font-weight: 700; color: var(--ink); }
.dropdown li a:hover strong { color: var(--color-main); }
.dropdown li a span { display: block; font-size: .78rem; color: var(--text-light); margin-top: 2px; }

/* ヘッダー右アクション */
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-tel { text-align: right; line-height: 1.2; }
.header-tel .num { font-family: var(--font-serif); font-weight: 700; font-size: 1.16rem; color: var(--color-main-dark); letter-spacing: .04em; }
.header-tel small { display: block; font-size: .64rem; color: var(--text-light); }
.header-cta { padding: 11px 22px; font-size: .9rem; }

/* ハンバーガー */
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--radius-sm); position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-tel, .mobile-cta { display: none; }

/* ---------- ヒーロー（トップ） ---------- */
.hero { position: relative; color: #fff; overflow: hidden; isolation: isolate; }
.hero__bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(120% 120% at 80% 0%, #4d7a57 0%, var(--color-main) 42%, var(--color-main-dark) 100%);
}
.hero__bg::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 100% at 70% 20%, #000 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(120% 100% at 70% 20%, #000 20%, transparent 80%);
}
.hero::before {
  content: ""; position: absolute; width: 520px; height: 520px; right: -120px; top: -160px; z-index: -1;
  background: radial-gradient(circle, rgba(193,160,76,.28), transparent 66%); filter: blur(10px);
}
.hero__photo-note {
  position: absolute; right: 16px; bottom: 14px; font-size: .68rem; color: rgba(255,255,255,.7);
  background: rgba(0,0,0,.22); padding: 4px 10px; border-radius: var(--radius-pill); z-index: 1;
}
.hero__inner { max-width: var(--maxw); margin-inline: auto; padding: clamp(80px, 13vw, 150px) 24px clamp(72px, 11vw, 128px); position: relative; }
.hero__eyebrow {
  display: inline-block; font-size: .76rem; letter-spacing: .26em; font-weight: 700; text-transform: uppercase;
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.4); padding: 7px 18px; border-radius: var(--radius-pill); margin-bottom: 26px;
}
.hero__title { color: #fff; font-size: clamp(2.8rem, 8vw, 5rem); letter-spacing: .1em; margin-bottom: 20px; text-shadow: 0 4px 30px rgba(0,0,0,.22); }
.hero__sub { font-family: var(--font-serif); font-size: clamp(1.1rem, 3vw, 1.7rem); font-weight: 500; color: rgba(255,255,255,.95); margin-bottom: 40px; }
.hero__badge { display: inline-flex; align-items: center; gap: 8px; background: var(--color-sub); color: #fff; font-weight: 700; padding: 9px 20px; border-radius: var(--radius-pill); font-size: .9rem; margin-bottom: 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero__sub-links { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 22px; font-size: .92rem; }
.hero__sub-links a { color: rgba(255,255,255,.9); display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 3px; }
.hero__sub-links a:hover { color: #fff; border-color: #fff; }

/* 下層ページ用コンパクトヒーロー */
.hero--page { text-align: center; }
.hero--page .hero__inner { padding: clamp(64px, 9vw, 104px) 24px clamp(52px, 7vw, 76px); }
.hero--page .hero__title { font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: .06em; }
.hero--page .hero__sub { margin-bottom: 0; opacity: .92; }
.hero--page .hero__actions { justify-content: center; margin-top: 32px; }
/* 東京プレミアム内見：ゴールドのアクセントを効かせたヒーロー */
.hero--premium .hero__bg { background: radial-gradient(120% 120% at 80% 0%, #35786a 0%, var(--color-main) 45%, var(--color-main-dark) 100%); }
.hero--premium::before { background: radial-gradient(circle, rgba(193,160,76,.5), transparent 66%); }
.hero--premium .hero__eyebrow { border-color: rgba(193,160,76,.7); color: #f0e2bd; }

/* 内見動画ギャラリー（縦型9:16） */
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 22px; max-width: 960px; margin-inline: auto; }
.video-frame { position: relative; aspect-ratio: 9/16; border-radius: var(--radius); overflow: hidden; background: #10231b; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.video-frame > iframe, .video-frame > blockquote { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border: 0; }
.video-frame .ph-img { position: absolute; inset: 0; border: none; border-radius: 0; background: repeating-linear-gradient(45deg,#1b3a2d,#1b3a2d 14px,#183328 14px,#183328 28px); color: rgba(255,255,255,.75); }

/* ---------- パンくず ---------- */
.breadcrumb { background: var(--surface); border-bottom: 1px solid var(--line); font-size: .8rem; color: var(--text-light); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: 8px; max-width: var(--maxw); margin-inline: auto; padding: 14px 24px; }
.breadcrumb li { display: flex; align-items: center; gap: 8px; }
.breadcrumb li:not(:last-child)::after { content: "›"; color: #b6bfb8; }
.breadcrumb a:hover { color: var(--color-main); }

/* ---------- 信頼バー（トップ：数字ではなく信頼要素） ---------- */
.trust-bar {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
}
.trust-item { background: #fff; padding: 30px 22px; text-align: center; }
.trust-item__ico { width: 46px; height: 46px; margin: 0 auto 14px; border-radius: 12px; display: grid; place-items: center; background: var(--color-main-light); color: var(--color-main); font-size: 1.3rem; }
.trust-item strong { display: block; font-family: var(--font-serif); font-size: 1.02rem; color: var(--ink); margin-bottom: 4px; }
.trust-item span { font-size: .82rem; color: var(--text-light); line-height: 1.7; }

/* ---------- 数字パネル（実績・サマリー） ---------- */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 22px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 20px; text-align: center; box-shadow: var(--shadow-sm); transition: transform .28s var(--ease), box-shadow .28s var(--ease); }
.stat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.stat > div:first-child { display: flex; align-items: baseline; justify-content: center; gap: 4px; min-height: 48px; }
.stat__num { font-family: var(--font-serif); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--color-main); line-height: 1; }
.stat__unit { font-family: var(--font-serif); font-weight: 700; font-size: 1.1rem; color: var(--color-main); }
.stat__label { margin-top: 12px; font-size: .9rem; color: var(--text-light); }

/* ---------- 会社情報テーブル ---------- */
.info-table { width: 100%; border-collapse: collapse; max-width: 880px; margin: 40px auto 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.info-table th, .info-table td { text-align: left; padding: 18px 22px; border-bottom: 1px solid var(--line); font-size: .94rem; vertical-align: top; line-height: 1.85; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
.info-table th { width: 32%; background: var(--surface); color: var(--ink); font-weight: 700; white-space: nowrap; }
@media (max-width: 620px) { .info-table th, .info-table td { display: block; width: 100%; } .info-table th { border-bottom: none; padding-bottom: 4px; } }

/* ---------- 地図 ---------- */
.map-wrap { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); max-width: 960px; margin-inline: auto; }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- 代表挨拶 ---------- */
.message-block {
  position: relative;
  max-width: 1170px;
  margin: 0 auto 56px;
  background-color: #eef1ef !important;
  border: 1px solid var(--line) !important;
  border-radius: var(--radius-lg);
  padding: 40px 40px 40px 410px;
  min-height: 520px;
}
.message-block:last-of-type { margin-bottom: 0; }
.message-photo { position: absolute; top: 40px; left: 40px; width: 330px; }
.message-photo .ph-img { aspect-ratio: 3/4; }
.message-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top center; border-radius: var(--radius); display: block; }
.message-block h3 { font-size: 2rem; margin-bottom: 8px; }
.message-block .role { color: var(--color-main) !important; font-weight: 700; font-size: .95rem; margin-bottom: 18px; }
.message-block p { margin-bottom: 1.1em; }
.message-block p:last-child { margin-bottom: 0; }
@media (max-width: 720px) {
  .message-block { padding: 24px; min-height: 0; }
  .message-photo { position: static; width: 100%; max-width: 240px; margin: 0 auto 22px; }
}
@media (max-width: 720px) {
  .message-photo { float: none; width: 100%; max-width: 280px; margin: 0 auto 22px; }
}

/* ---------- 企業理念 MVV ---------- */
.mvv { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--color-main); border-radius: var(--radius); padding: 28px 30px; margin-bottom: 22px; box-shadow: var(--shadow-sm); }
.mvv .label { font-family: var(--font-serif); font-weight: 700; font-size: 1.5rem; color: var(--color-main); margin-bottom: 12px; display: flex; align-items: baseline; gap: 12px; }
.mvv .label small { font-family: var(--font-sans); font-size: .8rem; color: var(--text-light); font-weight: 500; }

/* ---------- FAQ タブnav（.tabs 別名） ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }

/* ---------- 事例カード画像 ---------- */
.case-img { aspect-ratio: 4/3; }

/* ---------- 汎用カード ---------- */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .28s var(--ease), box-shadow .28s var(--ease); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__body { padding: 18px 26px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__tag { align-self: flex-start; font-size: .72rem; font-weight: 700; letter-spacing: .06em; color: var(--color-main); background: var(--color-main-light); padding: 4px 12px; border-radius: var(--radius-pill); }
/* PDFの有無に関わらず、CTAボタンを常にカード下端に揃える */
.property-card .btn--block { margin-top: auto; }

/* サービスカード（トップ） */
.service-card { position: relative; color: #fff; border-radius: var(--radius-lg); padding: 40px 32px; min-height: 300px; display: flex; flex-direction: column; overflow: hidden; isolation: isolate; box-shadow: var(--shadow); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .18; background-image: radial-gradient(rgba(255,255,255,.9) 1.2px, transparent 1.2px); background-size: 20px 20px; }
.service-card--baibai { background: linear-gradient(150deg, #3a6a72 0%, #2f545a 100%); }
.service-card--sodateru { background: linear-gradient(150deg, var(--color-main) 0%, var(--color-main-dark) 100%); }
.service-card--premium { background: linear-gradient(150deg, #2f6b57 0%, #234f42 100%); }
.service-card--premium .service-card__label { background: rgba(255,255,255,.2); color: #fff; }
.service-card__label { align-self: flex-start; font-size: .74rem; font-weight: 700; letter-spacing: .06em; background: rgba(255,255,255,.2); padding: 5px 14px; border-radius: var(--radius-pill); margin-bottom: 18px; }
.service-card h3 { color: #fff; font-size: 1.7rem; letter-spacing: .06em; margin-bottom: 12px; }
.service-card p { color: rgba(255,255,255,.92); font-size: .96rem; flex: 1; }
.service-card .btn { margin-top: 22px; align-self: flex-start; }

/* 物件カード */
.property-card .property-img { aspect-ratio: 4/3; }
.property-card dl { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; font-size: .84rem; margin: 0; }
.property-card dt { color: var(--text-light); white-space: nowrap; }
.property-card dd { margin: 0; }
.property-card__price { font-family: var(--font-serif); font-weight: 700; font-size: 1.5rem; color: var(--color-sub); }
.badge-taitai { display: inline-block; font-size: .74rem; color: var(--text-light); border: 1px solid var(--line); background: var(--surface); padding: 4px 10px; border-radius: var(--radius-sm); }

/* 物件写真ギャラリー（矢印切替・ループ／自動切替なし） */
.property-gallery { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #eee; }
.property-gallery__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .25s ease; }
.property-gallery__img.is-active { opacity: 1; }
.property-gallery__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; border: none; background: rgba(0,0,0,.45); color: #fff; font-size: 1.3rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; padding: 0; }
.property-gallery__arrow:hover { background: rgba(0,0,0,.7); }
.property-gallery__arrow--prev { left: 8px; }
.property-gallery__arrow--next { right: 8px; }

.property-pdfs { display: flex; flex-direction: column; gap: 4px; }
.property-pdf-link { font-size: .82rem; color: var(--color-main); text-decoration: underline; }
.property-pdf-preview { display: block; overflow: hidden; background: #eee; }
.property-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px; }
.filter-btn { padding: 11px 26px; border-radius: var(--radius-pill); font-weight: 700; font-size: .92rem; color: var(--text-light); background: var(--surface); border: 1px solid var(--line); transition: all .2s var(--ease); cursor: pointer; }
.filter-btn:hover { color: var(--color-main); }
.filter-btn.is-active { background: var(--color-main); color: #fff; border-color: var(--color-main); box-shadow: 0 6px 16px rgba(57,101,66,.28); }

/* ---------- 特徴（アイコン付き） ---------- */
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; box-shadow: var(--shadow-sm); transition: transform .28s var(--ease), box-shadow .28s var(--ease); height: 100%; }
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.feature__icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; font-family: var(--font-serif); font-weight: 700; font-size: 1.3rem; color: #fff; background: linear-gradient(140deg, var(--color-main), var(--color-main-dark)); margin-bottom: 20px; box-shadow: 0 8px 18px rgba(57,101,66,.26); }
.feature h3 { font-size: 1.14rem; margin-bottom: 12px; letter-spacing: .02em; }
.feature p { font-size: .92rem; color: var(--text); }

/* ---------- ステップ（利用の流れ） ---------- */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); counter-reset: step; }
.step { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 24px 26px; box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: "0" counter(step); position: absolute; top: -16px; left: 24px; font-family: var(--font-serif); font-weight: 700; font-size: 1rem; color: #fff; background: var(--color-main); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 14px rgba(57,101,66,.3); }
.step h3 { font-size: 1.08rem; margin: 10px 0 10px; }
.step p { font-size: .88rem; color: var(--text); }

/* ---------- 料金ボックス ---------- */
.price-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 32px; text-align: center; box-shadow: var(--shadow-sm); }
.price-box h3 { font-size: 1.16rem; margin-bottom: 14px; }
.price { font-family: var(--font-serif); font-weight: 700; font-size: clamp(2.4rem, 5vw, 3.2rem); color: var(--color-main); line-height: 1; margin-bottom: 16px; }
.price small { font-size: .5em; }

/* ---------- お客様の声 ---------- */
.voice { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow-sm); }
.voice__head { display: flex; align-items: center; gap: 16px; margin-bottom: 18px; }
.voice__avatar { width: 60px; height: 60px; border-radius: 50%; background: var(--surface-2); border: 1px dashed #c3ccc5; display: grid; place-items: center; text-align: center; font-size: .6rem; color: var(--text-light); flex-shrink: 0; padding: 4px; }
.voice__meta { display: flex; flex-direction: column; }
.voice__meta strong { font-size: 1rem; color: var(--ink); }
.voice__meta span { font-size: .8rem; color: var(--text-light); }

/* ---------- アコーディオン / タブ（FAQ） ---------- */
.tabs-nav { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.tab-btn { padding: 11px 26px; border-radius: var(--radius-pill); font-weight: 700; font-size: .92rem; color: var(--text-light); background: var(--surface); border: 1px solid var(--line); transition: all .2s var(--ease); }
.tab-btn:hover { color: var(--color-main); }
.tab-btn.is-active { background: var(--color-main); color: #fff; border-color: var(--color-main); box-shadow: 0 6px 16px rgba(57,101,66,.28); }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; animation: fadeIn .4s var(--ease); }

.accordion { display: flex; flex-direction: column; gap: 14px; max-width: 860px; margin-inline: auto; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.acc-q { width: 100%; text-align: left; padding: 20px 56px 20px 24px; font-weight: 700; font-size: 1rem; color: var(--ink); position: relative; line-height: 1.6; }
.acc-q::before { content: "Q"; font-family: var(--font-serif); color: var(--color-main); margin-right: 12px; font-weight: 700; }
.acc-q::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--color-main); transition: transform .3s var(--ease); }
.acc-item.is-open .acc-q::after { transform: translateY(-50%) rotate(45deg); }
.acc-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease), padding .35s var(--ease); padding: 0 24px; color: var(--text); font-size: .94rem; }
.acc-item.is-open .acc-a { max-height: 600px; padding: 0 24px 22px; }
/* FAQ「すべて」タブ内のカテゴリ見出し */
.faq-group { font-size: 1.05rem; color: var(--color-main); margin: 32px 0 14px; padding-left: 12px; border-left: 4px solid var(--color-main); }
.faq-group:first-child { margin-top: 0; }

/* ---------- フォーム ---------- */
.contact-tel { text-align: center; margin-bottom: 34px; padding: 26px; background: var(--color-main-light); border-radius: var(--radius); }
.contact-tel .num { font-family: var(--font-serif); font-weight: 700; font-size: 1.9rem; color: var(--color-main-dark); }
.form { background: #fff; }
.form-note { background: var(--color-sub-light); color: var(--color-sub-dark); padding: 14px 18px; border-radius: var(--radius-sm); font-size: .85rem; margin-bottom: 28px; }
.form-row { margin-bottom: 24px; }
.form-row > label { display: block; font-weight: 700; color: var(--ink); margin-bottom: 9px; font-size: .96rem; }
.req { color: #fff; background: #c0392b; font-size: .68rem; padding: 2px 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.opt { color: var(--text-light); background: var(--surface-2); font-size: .68rem; padding: 2px 8px; border-radius: 4px; margin-left: 8px; vertical-align: middle; }
.form-control { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 1rem; color: var(--text); background: #fff; transition: border-color .2s var(--ease), box-shadow .2s var(--ease); }
.form-control:focus { outline: none; border-color: var(--color-main); box-shadow: var(--ring); }
textarea.form-control { min-height: 150px; resize: vertical; }
.form-desc { font-size: .82rem; color: var(--text-light); margin-top: 6px; }
.form-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 4px 0; }
.form-check { display: flex; align-items: flex-start; gap: 10px; font-size: .92rem; cursor: pointer; }
.form-check input { margin-top: 5px; accent-color: var(--color-main); width: 16px; height: 16px; }

/* ---------- お知らせ / 投稿一覧 ---------- */
.post-list { display: flex; flex-direction: column; gap: 4px; max-width: 900px; margin-inline: auto; }
.post-item { display: flex; align-items: center; gap: 18px; padding: 20px 18px; border-bottom: 1px solid var(--line); transition: background .2s var(--ease); flex-wrap: wrap; }
.post-item:hover { background: var(--surface); }
.post-item time { font-size: .82rem; color: var(--text-light); font-family: var(--font-serif); }
.cat { font-size: .72rem; font-weight: 700; padding: 3px 12px; border-radius: var(--radius-pill); color: #fff; }
.cat--news { background: var(--color-sub); }
.cat--owner { background: var(--color-main); }
.cat--biz { background: #3a6a72; }
.post-title { flex: 1; min-width: 200px; font-weight: 500; color: var(--ink); }

/* ---------- SNS / プレミアム内見カード ---------- */
.sns-card { display: flex; align-items: center; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.sns-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sns-icon { width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: .9rem; flex-shrink: 0; }
.sns-icon--ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.sns-icon--tiktok { background: #111; }
.sns-icon--yt { background: #ff0000; }
.sns-icon--line { background: #06c755; }
.sns-soon { font-size: .68rem; background: var(--surface-2); color: var(--text-light); padding: 2px 10px; border-radius: var(--radius-pill); margin-left: 8px; vertical-align: middle; }

/* ---------- CTA帯 ---------- */
.cta-band { position: relative; color: #fff; text-align: center; overflow: hidden; isolation: isolate; padding: clamp(56px, 8vw, 96px) 0; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(120% 140% at 20% 0%, #4d7a57, var(--color-main) 45%, var(--color-main-dark)); }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.5) 1px, transparent 1px); background-size: 26px 26px; opacity: .1; }
.cta-band h2 { color: #fff; font-size: clamp(1.6rem, 3.5vw, 2.4rem); letter-spacing: .05em; margin-bottom: 16px; }
.cta-band p { color: rgba(255,255,255,.92); margin-bottom: 32px; max-width: 640px; margin-inline: auto; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: center; }
.tel-inline { display: flex; flex-direction: column; line-height: 1.3; }
.tel-inline a { font-family: var(--font-serif); font-weight: 700; font-size: 1.3rem; }
.tel-inline small { font-size: .74rem; color: rgba(255,255,255,.8); }

/* ---------- フッター ---------- */
.site-footer { background: var(--color-main-dark); color: rgba(255,255,255,.8); font-size: .9rem; }
.footer-top { max-width: var(--maxw); margin-inline: auto; padding: clamp(48px, 7vw, 76px) 24px 44px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand .logo { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-brand .logo img { height: 38px; background: #fff; padding: 4px; border-radius: 8px; }
.footer-brand .logo span { font-family: var(--font-serif); font-weight: 700; font-size: 1.2rem; color: #fff; letter-spacing: .06em; }
.footer-brand address { font-style: normal; line-height: 1.9; font-size: .85rem; color: rgba(255,255,255,.72); }
.footer-sns { display: flex; gap: 10px; margin-top: 20px; }
.footer-sns a { width: 42px; height: 42px; border-radius: 11px; overflow: hidden; display: grid; place-items: center; transition: transform .2s var(--ease), filter .2s var(--ease); }
.footer-sns a:hover { transform: translateY(-3px); filter: brightness(1.08); }
.footer-sns a svg { display: block; }
.footer-sns .sns-ig { background: radial-gradient(circle at 30% 107%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.footer-sns .sns-tt { background: #010101; }
.footer-sns .sns-line { background: #00c300; }
.footer-col h4 { color: #fff; font-family: var(--font-sans); font-size: 1rem; font-weight: 700; letter-spacing: .08em; margin-bottom: 20px; opacity: 1; display: inline-block; padding-bottom: 8px; border-bottom: 2px solid var(--gold); }
.footer-col li { margin-bottom: 11px; }
.footer-col a { color: rgba(255,255,255,.78); font-size: .88rem; }
.footer-col a:hover { color: #fff; padding-left: 3px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); }
.footer-bottom .inner { max-width: var(--maxw); margin-inline: auto; padding: 22px 24px; display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; font-size: .78rem; color: rgba(255,255,255,.6); }
.footer-bottom a { color: rgba(255,255,255,.7); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom .sep { opacity: .4; }

/* ---------- モバイル下部固定CTAバー ---------- */
.mobile-cta-bar { display: none; }

/* ---------- プレースホルダー表示 ---------- */
.ph { color: #b06a2c; background: #fbf2e7; padding: 0 6px; border-radius: 4px; font-style: normal; }
.ph-block { color: #b06a2c; background: #fbf2e7; border: 1px dashed #e4c79c; border-radius: var(--radius-sm); padding: 16px 18px; font-size: .9rem; line-height: 1.9; }
.ph-img { background: repeating-linear-gradient(45deg, #eef2ef, #eef2ef 12px, #e6ebe7 12px, #e6ebe7 24px); border: 1px dashed #c3ccc5; border-radius: var(--radius); display: grid; place-items: center; text-align: center; color: var(--text-light); font-size: .84rem; padding: 20px; min-height: 120px; }

/* ---------- スクロールリビール ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* =============================================================
   レスポンシブ
   ============================================================= */
@media (max-width: 1279px) {
  /* ハンバーガー化（1.3倍ロゴ＋6項目＋電話＋CTAが収まる1280px以上でフルナビ表示） */
  .nav-toggle { display: block; }
  .header-tel { display: none; }
  .header-cta { display: none; }
  .header-inner { gap: 12px; }
  /* .gnav が position:fixed で通常の並びから外れるため、代わりにこちらを右端に固定する */
  .header-actions { margin-left: auto; }

  .gnav {
    position: fixed; inset: var(--header-h) 0 0 auto; width: min(88vw, 380px);
    background: #fff; box-shadow: -10px 0 40px rgba(22,36,27,.14);
    transform: translateX(100%); transition: transform .34s var(--ease);
    overflow-y: auto; padding: 20px; margin: 0; z-index: 130;
  }
  .nav-open .gnav { transform: translateX(0); }
  .gnav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  /* SP：項目テキストはすべて右寄せに統一（インデントの深さがバラバラでも右端は揺れないように） */
  .gnav > ul > li > a { width: 100%; padding: 15px 16px; font-size: 1rem; border-radius: var(--radius-sm); justify-content: flex-end; text-align: right; }
  .gnav > ul > li.is-active > a::after { display: none; }
  .has-dropdown > a::before { order: 0; }

  /* SP：ドロップダウンは開閉式 */
  .dropdown,
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    position: static; transform: none; opacity: 1; visibility: visible; box-shadow: none;
    border: none; border-right: 2px solid var(--color-main-light); border-radius: 0; margin: 2px 14px 6px 0;
    padding: 0; min-width: 0; max-height: 0; overflow: hidden; transition: max-height .3s var(--ease);
  }
  .has-dropdown.is-open .dropdown { max-height: 400px; }
  .dropdown li a,
  .dropdown li a strong,
  .dropdown li a span { display: block; width: 100%; text-align: right !important; }
  .dropdown li a span { font-size: .74rem; }

  .mobile-tel { display: block; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); font-family: var(--font-serif); font-weight: 700; font-size: 1.3rem; color: var(--color-main-dark); text-align: center; }
  .mobile-cta { display: block; margin-top: 14px; }
  .mobile-cta .btn { width: 100%; }

  /* 下部固定CTAバー */
  .mobile-cta-bar { display: flex; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; gap: 10px; padding: 10px 14px; background: rgba(255,255,255,.96); backdrop-filter: blur(10px); border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(22,36,27,.08); }
  .mobile-cta-bar .btn { flex: 1; padding: 12px; font-size: .9rem; }
  body { padding-bottom: 72px; }
}

@media (max-width: 640px) {
  /* スマホ幅では、開いたメニューが画面の半分を超えないようにする */
  .gnav { width: min(50vw, 320px); }
}

@media (max-width: 860px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  .container { padding-inline: 18px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .trust-bar { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__sub-links { flex-direction: column; gap: 12px; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
