@charset "UTF-8";
/* =====================================================================
   株式会社マイスタイル 静的サイト用スタイル
   - 現行WordPressサイト（TCDテーマ SERUM ベース）のデザインを忠実に再現
   - ヘッダー / 両サイドバー / ロゴ表示 / フッターは元デザインのまま
   ===================================================================== */

/* ---------------- デザイントークン ---------------- */
:root {
  --navy: #08287f;          /* サイトの基調色（サイドボタン等） */
  --navy-dark: #000057;     /* CTAボタン(電話)のオーバーレイ */
  --red-dark: #8b0000;      /* CTAボタン(フォーム)のオーバーレイ */
  --gold: #b89535;          /* 英字ラベル・CTA枠線 */
  --gold2: #937960;         /* 補助ゴールド */
  --gray-band: #f9f7f7;     /* セクションのグレー帯（広面積・最も薄い） */
  --gray-box:  #ece8e0;     /* コンテンツ内のグレー面（帯より一段濃い暖色グレー。帯の中に置いても同化しない） */
  --blue-band: #eaf1f8;     /* [改訂12] セクションの水色帯（白→水色→グレーの3色リズム用） */
  --text: #333333;          /* 本文 */
  --border: #dddddd;
  --header-h: 80px;
  --header-h-sp: 60px;
  --side-w: 81px;           /* 右サイドバー幅 */
  --font-serif: "Zen Old Mincho", "Noto Serif JP", serif;
  --font-catch: "Noto Serif JP", "Zen Old Mincho", serif;
  --font-sans: "Noto Sans JP", sans-serif;
  /* お悩み・選ばれる理由の項目カラー（元サイト準拠） */
  --ms01: #8aa781; --ms02: #9e736e; --ms03: #5f96b6; --ms04: #cc8c5f;
  --ms05: #8a9832; --ms06: #978661; --ms07: #826993;
}

/* ---------------- リセット・ベース ---------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.9;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: #000; text-decoration: none; }
a:hover { text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }

/* =====================================================================
   ヘッダー（元デザイン再現）
   - PC初期: 白い80pxバー + 左上の正方形ロゴ(210px) + 中央ナビ + 右端検索
   - スクロール後: 固定バーに横長テキストロゴ
   - SP: 60pxバー + 正方形ロゴ(150px) + ハンバーガー
   ===================================================================== */
.site-header {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-h);
  background: #fff;
  z-index: 1000;
  display: flex;
  justify-content: flex-end;
}
body.is-scrolled .site-header {
  position: fixed;
  animation: header-in .5s ease;
  border-bottom: 1px solid var(--border);
}
@keyframes header-in {
  from { transform: translate3d(0, -100%, 0); }
  to   { transform: translate3d(0, 0, 0); }
}

/* --- 正方形ロゴ（初期表示・左上に大きく重なる） --- */
.header-logo {
  position: absolute;
  left: 0; top: 0;
  width: 210px; height: 210px;
  background: #fff;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.header-logo img { width: 116px; height: 117px; transition: opacity .3s ease; }
.header-logo:hover img { opacity: .5; }
body.is-scrolled .header-logo { display: none; }

/* --- 横長テキストロゴ（スクロール後に表示） --- */
.header-logo2 {
  display: none;
  position: absolute;
  left: 0; top: 0;
  height: var(--header-h);
  align-items: center;
  padding: 0 30px;
  z-index: 200;
}
.header-logo2 img { max-height: 40px; width: auto; transition: opacity .3s ease; }
.header-logo2:hover img { opacity: .5; }
body.is-scrolled .header-logo2 { display: flex; }

/* --- グローバルナビ（中央） --- */
.global-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  height: var(--header-h);
  z-index: 1;
}
.global-nav ul { display: flex; height: var(--header-h); }
.global-nav a {
  display: block;
  height: var(--header-h);
  line-height: var(--header-h);
  padding: 0 19px;
  color: #000;
  font-size: 16px;
  transition: opacity .2s ease;
}
.global-nav a:hover { opacity: .5; }
.global-nav li.is-current a { color: var(--navy); }

/* --- 検索（右端アイコン、クリックでフォーム展開） --- */
.header-search { position: relative; width: 80px; height: var(--header-h); z-index: 2; }
.header-search__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px; height: var(--header-h);
  background: none; border: none; cursor: pointer;
  color: #000;
  transition: opacity .2s ease;
}
.header-search__toggle:hover { opacity: .5; }
.header-search__toggle svg { width: 17px; height: 17px; }
.header-search__form {
  position: absolute;
  top: 20px; right: 80px;
  height: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}
.header-search.is-open .header-search__form { opacity: 1; pointer-events: auto; }
.header-search__form input {
  width: 0;
  height: 40px;
  border: none;
  background: #f3f3f3;
  border-radius: 50px;
  padding: 0 20px;
  font-family: var(--font-serif);
  font-size: 14px;
  transition: width .3s ease;
}
.header-search.is-open .header-search__form input { width: 345px; }

/* --- ハンバーガー（SP/タブレットのみ表示） --- */
.hamburger {
  display: none;
  position: absolute;
  right: 0; top: 0;
  width: 60px; height: 60px;
  background: none; border: none; cursor: pointer;
  z-index: 10001;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: #000;
  position: absolute;
  left: 19px;
  transition: all .3s ease;
}
.hamburger span:nth-child(1) { top: 24px; }
.hamburger span:nth-child(2) { top: 30px; }
.hamburger span:nth-child(3) { top: 36px; }
body.is-menu-open .hamburger span:nth-child(1) { top: 30px; transform: rotate(45deg); }
body.is-menu-open .hamburger span:nth-child(2) { opacity: 0; }
body.is-menu-open .hamburger span:nth-child(3) { top: 30px; transform: rotate(-45deg); }

/* =====================================================================
   ドロワーメニュー（SP/タブレット・元デザイン再現）
   ===================================================================== */
.drawer {
  position: fixed;
  top: 0; right: 0;
  width: 100%; height: 100vh; height: 100dvh;
  background: #fff;
  overflow-y: auto;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
  padding: 0 0 40px;
}
body.is-menu-open .drawer { opacity: 1; pointer-events: auto; }
body.is-menu-open { overflow: hidden; }
.drawer__head {
  position: relative;
  height: 60px;
  display: flex;
  align-items: center;
}
.drawer__logo { margin-left: 20px; }
.drawer__logo img { max-height: 30px; width: auto; }
.drawer__close {
  position: absolute;
  top: 0; right: 0;
  width: 60px; height: 60px;
  background: none; border: none; cursor: pointer;
}
.drawer__close::before,
.drawer__close::after {
  content: "";
  position: absolute;
  top: 29px; left: 19px;
  width: 22px; height: 2px;
  background: #000;
}
.drawer__close::before { transform: rotate(45deg); }
.drawer__close::after { transform: rotate(-45deg); }
.drawer__nav { margin-top: 30px; }
.drawer__nav a {
  display: block;
  padding: 18px 30px;
  font-size: 18px;
  color: #000;
  border-bottom: 1px solid #eee;
}
.drawer__nav li:first-child a { border-top: 1px solid #eee; }
/* ドロワー内アイコンボタン（右サイドバーと同じ5項目） */
.drawer__icons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-top: 30px;
}
.drawer__icons a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fff;
  padding: 16px 8px;
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}
.drawer__icons a svg { width: 20px; height: 20px; }
.drawer__icons a.drawer__icons--hq {
  grid-column: 1 / -1;
  background: var(--navy);
  color: #fff;
  flex-direction: row;
  padding: 14px;
}
.drawer__privacy { margin-top: 24px; text-align: center; }
.drawer__privacy a { font-size: 13px; color: var(--text); border-bottom: 1px solid var(--border); padding-bottom: 2px; }

/* =====================================================================
   右サイドバー（元デザイン再現: 5つのアイコンボタン）
   ===================================================================== */
.side-icons {
  position: absolute;
  right: 0; top: var(--header-h);
  z-index: 900;
  width: var(--side-w);
}
body.is-scrolled .side-icons {
  position: fixed;
  top: var(--header-h); /* 固定ヘッダーの直下に並べる（元サイトと同じ見え方） */
  animation: side-in .5s ease;
}
@keyframes side-in { from { transform: translateY(-8px); opacity: 0; } to { transform: none; opacity: 1; } }
.side-icons__item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: var(--side-w);
  min-height: 80px;
  background: #fff;
  color: var(--navy);
  border-bottom: 1px solid var(--border);
  text-align: center;
  transition: opacity .2s ease;
}
.side-icons__item:first-child a { border-top: 1px solid var(--border); }
.side-icons__item a:hover { opacity: .5; }
.side-icons__item svg { width: 20px; height: 20px; margin-bottom: 8px; }
.side-icons__item span {
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  transition: opacity .2s ease;
}
/* 東京本社: [改訂7] 常時ネイビー塗り(!important)は廃止。
   通常時は白背景・現在地は main.js の is-current（末尾の改訂7ブロックに一本化）。
   ここでは hover の透過のみ無効化しておく */
.side-icons__item--hq a:hover { opacity: 1; }

/* =====================================================================
   左サイドバー（元デザイン再現: 縦書き社名）
   ===================================================================== */
.side-desc {
  position: fixed;
  left: 0; top: 0;
  width: 80px; height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 800;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.2s ease 1.2s;
}
body.is-loaded .side-desc { opacity: 1; }
.side-desc p {
  writing-mode: vertical-rl;
  font-size: 16px;
  font-weight: 500;
  color: var(--navy);
  letter-spacing: .1em;
}

/* =====================================================================
   PAGE TOP（元デザイン再現: PCは縦書き、SPは丸ボタン）
   ===================================================================== */
.return-top {
  position: fixed;
  right: 0; bottom: 0;
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}
.return-top.is-active { opacity: 1; pointer-events: auto; }
.return-top a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 80px;
  padding: 30px 0;
  color: #000;
  writing-mode: vertical-rl;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .08em;
}
.return-top a svg { width: 14px; height: 14px; writing-mode: horizontal-tb; }
.return-top a:hover { opacity: .5; }

/* =====================================================================
   SP固定フッターバー（元デザイン再現: 黒バー 電話/お問合せ）
   ===================================================================== */
.footer-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0;
  width: 100%;
  z-index: 9999;
  background: #000;
  color: #fff;
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.footer-bar.is-active { opacity: 1; pointer-events: auto; }
.footer-bar ul { display: flex; }
.footer-bar li { flex: 1 1 0%; }
.footer-bar li + li { border-left: 1px solid rgba(255, 255, 255, .3); }
.footer-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 58px;
  padding-bottom: 10px;
  color: #fff;
  font-size: 10px;
  font-family: var(--font-sans);
  transition: opacity .3s ease;
}
.footer-bar a:hover { opacity: .7; }
.footer-bar svg { width: 18px; height: 18px; margin-bottom: 4px; }

/* =====================================================================
   フッター（元デザイン再現: 中央ロゴ + 免許 + コピーライト）
   ===================================================================== */
.site-footer { background: #fff; }
.site-footer__logo {
  display: flex;
  justify-content: center;
  padding: 60px 20px;
}
.site-footer__logo img { width: 116px; height: 117px; transition: opacity .3s ease; }
.site-footer__logo a:hover img { opacity: .5; }
.site-footer__license {
  text-align: center;
  font-size: 14px;
  line-height: 2;
  border-top: 1px solid var(--border);
  padding: 15px;
}
.site-footer__copy {
  border-top: 1px solid var(--border);
  height: 60px;
  line-height: 60px;
  text-align: center;
  font-size: 12px;
  color: var(--text);
}
/* SP: フッターバー分の余白 */
@media (max-width: 1221px) {
  .site-footer__copy { padding-bottom: 0; }
  body { padding-bottom: 0; }
}

/* =====================================================================
   メインビジュアル（元デザイン再現 + 使い回し可能な単純構造）
   - .hero--home: トップ（縦書きキャッチ・高さ730px）
   - .hero--page: 下層（横書きキャッチ・高さ400px）
   - 背景画像の差し替えは <img> を変えるだけ
   ===================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero--home { height: 730px; }
.hero--page { height: 400px; }
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: scale(1.2);
  animation: hero-zoom 2.5s cubic-bezier(.165, .84, .44, 1) .3s forwards;
}
@keyframes hero-zoom { to { transform: scale(1); } }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__overlay { position: absolute; inset: 0; z-index: 2; }
.hero--page .hero__overlay { background: rgba(0, 0, 0, .25); } /* 文字の可読性確保 */
/* [改訂21] トップ型ヒーローにも軽い暗転を追加。昼間の明るい写真（輝度155〜163）で
   白文字キャッチが埋もれないよう、読みやすさを担保する。夜景では暗くなりすぎない程度に抑える */
.hero--home .hero__overlay { background: linear-gradient(rgba(0, 0, 0, .28), rgba(0, 0, 0, .10)); }
.hero__catch {
  position: relative;
  z-index: 3;
  margin: 0; /* [改訂19] h1化に伴いUAデフォルトmarginをリセット（表示は従来どおり） */
  color: #fff;
  font-family: var(--font-catch);
  font-weight: 600;
  letter-spacing: .15em;
  text-shadow: 1px 1px 2px #000;
  line-height: 1.7;
}
.hero--home .hero__catch {
  writing-mode: vertical-rl;
  font-size: 50px;
  padding: 110px 100px 100px;
  max-height: 100%;
}
.hero--page .hero__catch { font-size: 34px; text-align: center; padding: 0 20px; }
.hero__catch span {
  display: block;
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition: transform 1.8s ease, opacity 1.8s ease;
}
.hero__catch span:nth-child(1) { transition-delay: .8s; }
.hero__catch span:nth-child(2) { transition-delay: 1.2s; }
.hero__catch span:nth-child(3) { transition-delay: 1.6s; }
body.is-loaded .hero__catch span { opacity: 1; transform: none; }

/* =====================================================================
   セクション共通（元デザインの「見出しパターン」を部品化）
   ===================================================================== */
.section { padding: 70px 25px; }
.section--gray { background: var(--gray-band); }
.section--blue { background: var(--blue-band); } /* [改訂12] 水色帯 */
/* [改訂11] z-index:2 — 斜めウェッジ（z-index:1）より常に手前にコンテンツを描画する */
.section__inner { max-width: 1080px; margin: 0 auto; position: relative; z-index: 2; }
.inner-box {
  background: #fff;
  max-width: 1080px;
  margin: 25px auto 0;
  padding: 60px;
}

/* 見出しパターン: ＜小見出し＞ 大見出し / 英字ゴールドラベル */
.sectitle {
  display: block;
  text-align: center;
  font-family: var(--font-catch);
  font-weight: 400;
  font-size: 2.8em;
  line-height: 1.25;
  letter-spacing: .15em;
  color: #000;
  margin-top: 20px;
}
.sectitle small {
  display: block;
  font-size: .5em;
  font-weight: 400;
  line-height: 2em;
  letter-spacing: .15em;
}
.sectitle-en {
  display: block;
  text-align: center;
  font-family: var(--font-catch);
  color: var(--gold);
  font-size: 1.5em;
  letter-spacing: .15em;
  margin-top: 10px;
  margin-bottom: 45px;
}

/* リード文（センターの大きめ明朝） */
.lead {
  text-align: center;
  font-size: 1.6em;
  line-height: 1.75;
  color: #000;
  margin: 25px 0;
}

/* =====================================================================
   CTA（元デザイン再現: 赤/紺オーバーレイ + ゴールド枠の大ボタン）
   ===================================================================== */
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 25px;
  max-width: 1080px;
  margin: 0 auto;
}
.cta-btn {
  position: relative;
  display: block;
  width: 100%;
  max-width: 45rem;
  height: 175px;
  padding: 10px;
  color: #fff;
  text-align: center;
  background-position: center;
  background-size: cover;
  box-shadow: 0 2px 5px rgba(35, 24, 21, .6);
  transition: .3s;
  overflow: hidden;
}
.cta-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  transition: .3s;
  z-index: 1;
}
.cta-btn::after {
  content: "";
  position: absolute;
  inset: .4rem;
  border: 1px solid var(--gold);
  transition: .3s;
  z-index: 2;
}
.cta-btn--form { background-image: url("../img/img_contact_pc.png"); }
.cta-btn--form::before { background: rgba(139, 0, 0, .8); }
.cta-btn--tel { background-image: url("../img/img_contact_tel.png"); }
.cta-btn--tel::before { background: rgba(0, 0, 87, .8); }
.cta-btn:hover::before { background: rgba(0, 0, 87, .75); }
.cta-btn:hover::after { border-color: #fff; }
.cta-btn > span { position: relative; z-index: 3; display: block; }
.cta-btn__title { color: var(--gold); font-size: 14px; letter-spacing: .1em; margin-top: 18px; transition: .3s; }
.cta-btn:hover .cta-btn__title { color: #fff; }
.cta-btn__text1 { font-size: 15px; line-height: 1.4; margin-top: 10px; }
.cta-btn__text2 { font-size: 26px; line-height: 1.45; }
.cta-btn__arrow {
  width: 22px; height: 22px;
  margin: 6px auto 0;
  transition: transform .3s ease;
}
.cta-btn:hover .cta-btn__arrow { transform: translateX(15px); }

/* YouTube（最初のCTAセクションに1本だけ） */
.youtube {
  max-width: 1000px;
  margin: 0 auto 25px;
  aspect-ratio: 16 / 9;
}
.youtube iframe { width: 100%; height: 100%; border: 1px solid #333; display: block; }

/* =====================================================================
   お悩み事例（元デザイン再現: 項目カラー + 番号 + 画像グリッド）
   ===================================================================== */
.ms-item {
  display: grid;
  grid-template-columns: .85fr 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas: "ms-title ms-image" "ms-content ms-image";
  margin-bottom: 50px;
}
.ms-item[data-color="01"] { color: var(--ms01); }
.ms-item[data-color="02"] { color: var(--ms02); }
.ms-item[data-color="03"] { color: var(--ms03); }
.ms-item[data-color="04"] { color: var(--ms04); }
.ms-item[data-color="05"] { color: var(--ms05); }
.ms-item[data-color="06"] { color: var(--ms06); }
.ms-item[data-color="07"] { color: var(--ms07); }
.ms-item__title { grid-area: ms-title; }
.ms-item__label { font-size: .8em; color: var(--text); }
.ms-item__heading { margin-top: 20px; display: flex; align-items: center; }
.ms-item__number { font-size: 450%; line-height: 1; padding-bottom: 5px; }
.ms-item__text {
  font-weight: 600;
  border-left: 1px solid currentColor;
  margin-left: 20px;
  padding-left: 20px;
  font-size: 2em;
  color: var(--text);
  line-height: 1.5;
}
.ms-item__image { grid-area: ms-image; margin-left: 25px; }
.ms-item__content { grid-area: ms-content; }
.ms-item__description {
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.8;
  margin-top: 25px;
  font-size: 1.1em;
}
.ms-item:last-child { margin-bottom: 0; }

/* =====================================================================
   選ばれる理由（元デザイン再現: 左ボーダー + 画像グリッド）
   ===================================================================== */
.ms-item2 {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: auto 1fr;
  grid-template-areas: "ms-title ms-image" "ms-content ms-image";
  margin-bottom: 50px;
  border-left: 5px solid;
  padding-left: 25px;
  text-align: left;
}
.ms-item2[data-color="01"] { color: var(--ms01); border-color: var(--ms01); }
.ms-item2[data-color="02"] { color: var(--ms02); border-color: var(--ms02); }
.ms-item2[data-color="03"] { color: var(--ms03); border-color: var(--ms03); }
.ms-item2[data-color="04"] { color: var(--ms04); border-color: var(--ms04); }
.ms-item2[data-color="05"] { color: var(--ms05); border-color: var(--ms05); }
.ms-item2[data-color="06"] { color: var(--ms06); border-color: var(--ms06); }
.ms-item2__label { font-size: .8em; color: var(--text); }
.ms-item2__subtitle { font-size: 1.5em; font-weight: 600; color: var(--text); margin-top: 10px; line-height: 1.5; }
.ms-item2__image { grid-area: ms-image; margin-left: 25px; }
.ms-item2__content { grid-area: ms-content; }
.ms-item2__description {
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.8;
  margin-top: 15px;
  font-size: 1.05em;
}
.ms-item2__note { font-size: .85em; color: #777; margin-top: 8px; font-family: var(--font-sans); }
.ms-item2:last-child { margin-bottom: 0; }

/* =====================================================================
   売却タイミング（3カラムカード）
   ===================================================================== */
.timing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.timing-card { background: #fff; padding-bottom: 24px; } /* [改訂14] 水色帯上で文字がカード端に接して見えるため、本文側に余白を確保 */
.timing-card img { width: 100%; } /* [改訂14] 画像は従来通りカード全幅 */
.timing-card__title {
  font-size: 1.3em;
  font-weight: 600;
  color: #000;
  text-align: center;
  margin: 20px 24px 15px; /* [改訂14] 左右余白 */
  line-height: 1.5;
}
.timing-card ol { counter-reset: t; margin: 0 24px; } /* [改訂14] 左右余白（番号・罫線も内側へ） */
.timing-card ol li {
  counter-increment: t;
  position: relative;
  padding: 12px 0 12px 34px;
  border-top: 1px solid #eee;
  font-family: var(--font-sans);
  font-size: .95em;
  line-height: 1.7;
}
.timing-card ol li::before {
  content: counter(t, decimal-leading-zero);
  position: absolute;
  left: 0; top: 14px;
  color: var(--gold);
  font-family: var(--font-catch);
  font-size: 1.1em;
}
.timing-card ol li b { display: block; color: #000; font-family: var(--font-serif); font-size: 1.05em; }
.timing-card__comment {
  background: var(--gray-box);
  padding: 15px;
  margin: 15px 24px 0; /* [改訂14] グレーのコメント枠もカード端から離す */
  font-size: .9em;
  font-family: var(--font-sans);
  line-height: 1.8;
}

/* =====================================================================
   売却の流れ（5ステップ）
   ===================================================================== */
.flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  counter-reset: f;
}
.flow__step { text-align: center; position: relative; padding-top: 10px; }
.flow__step::before {
  counter-increment: f;
  content: counter(f);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px; height: 54px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-catch);
  font-size: 22px;
}
.flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 37px;
  left: calc(50% + 36px);
  width: calc(100% - 72px);
  height: 1px;
  background: var(--border);
}
.flow__title { font-weight: 600; color: #000; font-size: 1.1em; margin-bottom: 8px; line-height: 1.5; }
.flow__desc { font-family: var(--font-sans); font-size: .85em; line-height: 1.8; text-align: left; }

/* =====================================================================
   FAQ（元デザイン再現: Q/Aバッジ付きアコーディオン）
   ===================================================================== */
.faq-item { border-bottom: 1px solid var(--border); background: #fff; }
.faq-item summary {
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  padding: 22px 20px;
  font-size: 1.1em;
  color: #000;
  list-style: none;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  width: 10px; height: 10px;
  border-right: 1px solid var(--navy);
  border-bottom: 1px solid var(--navy);
  transform: rotate(45deg);
  transition: transform .3s ease;
}
.faq-item[open] summary::after { transform: rotate(225deg); }
.faq-badge {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-catch);
  font-size: 18px;
}
.faq-badge--a { background: var(--gold); }
.faq-answer { display: flex; gap: 15px; padding: 0 20px 25px; }
.faq-answer p { font-family: var(--font-sans); line-height: 1.9; font-size: .95em; }

/* =====================================================================
   会社概要（ABOUT US: 情報 + 営業時間表）
   ===================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: start;
}
.about-info p { line-height: 2.2; }
.schedule { width: 100%; border-collapse: collapse; text-align: center; font-size: .95em; }
.schedule th, .schedule td { border: 1px solid var(--navy); padding: 10px 6px; }
.schedule th { background: var(--navy); color: #fff; font-weight: 400; }
.schedule td { background: #fff; }

/* =====================================================================
   下層ページ（プライバシーポリシー等）
   ===================================================================== */
.breadcrumb {
  max-width: 1080px;
  margin: 0 auto;
  padding: 20px 25px 0;
  font-size: .85em;
  font-family: var(--font-sans);
  color: #777;
}
.breadcrumb a { color: var(--navy); }
.page-content h2 {
  font-size: 1.6em;
  color: #000;
  line-height: 1.5;
  margin: 50px 0 20px;
  padding-left: 18px;
  border-left: 4px solid var(--navy);
}
.page-content h3 { font-size: 1.2em; color: #000; margin: 35px 0 12px; }
.page-content h4 { font-size: 1.05em; color: #000; margin: 25px 0 10px; }
.page-content p, .page-content li { font-family: var(--font-sans); font-size: .95em; line-height: 2; }
.page-content ul, .page-content ol { margin: 10px 0 20px; padding-left: 1.4em; }
.page-content ul li { list-style: disc; }
.page-content ol li { list-style: decimal; }
.page-content table { width: 100%; border-collapse: collapse; margin: 15px 0 25px; font-family: var(--font-sans); font-size: .9em; }
.page-content th, .page-content td { border: 1px solid var(--border); padding: 12px 14px; vertical-align: top; text-align: left; }
.page-content th { background: var(--gray-box); color: #000; width: 30%; }
.sign-block { margin-top: 40px; text-align: right; line-height: 2.2; }

/* =====================================================================
   スクロール表示演出（控えめ・元テーマの animate 系に準拠）
   ===================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform .9s ease;
}
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .hero__bg { animation: none; transform: none; }
  .hero__catch span { transition: none; opacity: 1; transform: none; }
}

/* =====================================================================
   レスポンシブ
   ===================================================================== */
/* --- タブレット以下: モバイルヘッダーへ（サイドバー類は非表示） --- */
@media (max-width: 1221px) {
  .site-header { height: var(--header-h-sp); background: #fff; }
  body.is-scrolled .site-header { position: fixed; }
  /* 正方形ロゴを小さく */
  .header-logo { width: 150px; height: 150px; padding: 20px; }
  .header-logo img { width: auto; height: auto; max-width: 110px; }
  /* 横長ロゴはスクロール時のみ */
  .header-logo2 { height: var(--header-h-sp); padding: 0 20px; }
  .header-logo2 img { max-height: 30px; }
  /* ナビ・検索を隠しハンバーガー表示 */
  .global-nav, .header-search { display: none; }
  .hamburger { display: block; }
  /* サイド要素は非表示 */
  .side-icons, .side-desc { display: none; }
  /* PAGE TOPは丸ボタン化 */
  .return-top { right: 15px; bottom: 25px; }
  .return-top.is-active { bottom: 78px; } /* フッターバーの上 */
  .return-top a {
    writing-mode: horizontal-tb;
    width: 50px; height: 50px;
    padding: 0;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    align-items: center;
    justify-content: center;
  }
  .return-top a span { display: none; }
  .return-top a svg { width: 16px; height: 16px; }
  /* SP固定フッターバー */
  .footer-bar { display: block; }
  .site-footer { padding-bottom: 58px; }
  /* ヒーロー */
  .hero--home { height: 620px; }
  .hero--home .hero__catch { font-size: 40px; padding: 90px 30px 70px; }
  .sectitle { font-size: 2.2em; }
  .sectitle-en { font-size: 1.3em; }
}

/* --- スマホ --- */
@media (max-width: 800px) {
  body { font-size: 14px; }
  .section { padding: 45px 15px; }
  .inner-box { padding: 25px; margin-top: 25px; }
  .hero--page { height: 260px; }
  .hero--page .hero__catch { font-size: 24px; }
  .lead { font-size: 1.3em; }
  /* CTAボタン */
  .cta-btns { flex-direction: column; gap: 15px; }
  .cta-btn { height: 150px; }
  .cta-btn__title { margin-top: 0 !important; }
  .cta-btn__text2 { font-size: 20px; }
  /* お悩み・理由: 1カラム */
  .ms-item, .ms-item2 { display: block; margin-bottom: 40px; }
  .ms-item__heading { margin-top: 10px; }
  .ms-item__number { font-size: 250%; }
  .ms-item__text { font-size: 1.4em; margin-left: 10px; padding-left: 10px; }
  .ms-item__image, .ms-item2__image { margin: 15px 0 0; }
  .ms-item__description { margin-top: 12px; font-size: 1em; }
  .ms-item2 { padding-left: 15px; }
  .ms-item2__subtitle { font-size: 1.25em; }
  /* タイミング */
  .timing-grid { grid-template-columns: 1fr; gap: 40px; }
  /* フロー */
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow__step { display: grid; grid-template-columns: 54px 1fr; gap: 15px; text-align: left; padding: 15px 0; }
  .flow__step::before { margin: 0; grid-row: span 2; }
  .flow__step:not(:last-child)::after { display: none; }
  .flow__desc { grid-column: 2; }
  /* 会社概要 */
  .about-grid { grid-template-columns: 1fr; gap: 25px; }
  .faq-item summary { font-size: 1em; padding: 18px 15px; }
  .page-content h2 { font-size: 1.3em; }
}


/* =====================================================================
   [2026-08 改訂] 現在ページ表示・ヒーロースライダー・左サイド白背景
   ===================================================================== */

/* ① 左サイドバー: 白背景（どんな背景色の上でも文字が読めるように） */
.side-desc { background: #ffffff; }

/* ③ ヘッダーナビ: 現在ページ（JSがURLから自動判定して is-current を付与） */
.global-nav a { position: relative; }
.global-nav li.is-current a { color: var(--navy); font-weight: 600; }
.global-nav li.is-current a::after {
  content: '';
  position: absolute;
  left: 17px; right: 17px; bottom: 20px;
  height: 2px;
  background: var(--navy);
}
.global-nav li.is-current a:hover { opacity: 1; }

/* ドロワーナビ: 現在ページ */
.drawer__nav li.is-current a {
  color: var(--navy);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--navy);
}

/* ④ 右サイド・ドロワー内アイコン: 訪問中ページを「東京本社と同じネイビー塗り」に */
.side-icons__item.is-current a,
.drawer__icons a.is-current {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.side-icons__item.is-current a:hover,
.drawer__icons a.is-current:hover { opacity: 1; }

/* メインビジュアル: 複数枚スライドショー
   - .hero__bg を複数置くと自動で切替（5.5秒ごと・フェード＋緩やかなズーム）
   - 1枚だけの場合は従来通り（ドット無し・静止）
   - JS無効でも1枚目は表示される */
.hero__bg {
  animation: none;                 /* 旧: 初回のみのキーフレームzoomを一本化 */
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.6s ease, transform 6s ease-out;
}
.hero:not(.hero--js) .hero__bg:first-of-type,
.hero--js .hero__bg.is-active {
  opacity: 1;
  transform: scale(1);
}

/* スライド切替ドット */
.hero__dots {
  position: absolute;
  left: 50%; bottom: 24px;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
}
.hero__dot {
  width: 11px; height: 11px;
  padding: 0;
  border: 1px solid #fff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background .3s ease;
}
.hero__dot.is-active { background: #fff; }

/* 下層ページ用「大きなメインビジュアル＋縦書き」は .hero--home を使う
   （page-template.html に使用例を同梱） */

@media (max-width: 800px) {
  .hero__dots { bottom: 14px; }
  .hero__dot { width: 9px; height: 9px; }
}

/* 視差軽減設定の方へ: スライドのフェード/ズームも無効化 */
@media (prefers-reduced-motion: reduce) {
  .hero__bg { transition: none !important; transform: none !important; }
}


/* =====================================================================
   [2026-08 改訂2] セクション境界の斜めカット
   - 帯セクション（.section--gray / .section--blue）の上下に斜めのウェッジを表示
   - 高さ --slant は min(10vw, 130px)（改訂10で旧 min(4vw,40px) から急角度化）
   - HTMLの変更不要・角度は --slant を変えるだけで調整できます
   - 特定セクションで斜めにしたくない場合は class に section--flat を追加
   - [改訂11] 重ね順: ウェッジ z-index:1 ／ コンテンツ(.section__inner)・フッター z-index:2
     → ウェッジが本文・画像・地図・フッターロゴを覆い隠すことを防止
   - [改訂12] 水色帯（.section--blue）追加。白→水色→グレーの3色リズム。
     ウェッジ色は background: inherit で帯色を自動継承（個別指定不要）
   ===================================================================== */
:root {
  --slant: min(10vw, 130px); /* 斜め帯の高さ（≒5.7°。改訂10で旧40pxから急角度化） */
}

/* [改訂12] グレー帯・水色帯で共通運用（パディング・ウェッジとも共有） */
.section--gray,
.section--blue { position: relative; padding-top: calc(70px + var(--slant) / 2); padding-bottom: calc(70px + var(--slant) / 2); }
@media (max-width: 800px) { .section--gray, .section--blue { padding-top: calc(45px + var(--slant) / 2); padding-bottom: calc(45px + var(--slant) / 2); } }

.section--gray::before,
.section--gray::after,
.section--blue::before,
.section--blue::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: var(--slant);
  background: inherit; /* [改訂12] 帯の色を自動継承（グレー帯・水色帯で個別指定不要） */
  pointer-events: none;
  z-index: 1; /* [改訂11] 背景(0)より上・コンテンツ(.section__inner:2)より下 */
}
/* 上辺: 前のセクション側にはみ出す三角形（右肩上がりの境界線） */
.section--gray::before,
.section--blue::before {
  bottom: 100%;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
/* 下辺: 次のセクション側にはみ出す三角形（同じ向き＝平行四辺形の帯） */
.section--gray::after,
.section--blue::after {
  top: 100%;
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* 斜めカットを無効にする逃げ道（class に section--flat を追加） */
.section--flat::before,
.section--flat::after { display: none; }

/* [改訂13] 帯セクション同士が隣接する場合（水色→グレー等）は、
   上の帯の下向きウェッジ(::after)を消して「下の帯の ::before 一本の斜線」に統一。
   両方出すと斜線が2本平行に走り帯が裂けたようなZ型の食い違いになるため。
   （白→帯・帯→白は従来通り。:has 非対応ブラウザでは従来表示にフォールバック） */
.section--gray:has(+ .section--gray)::after,
.section--gray:has(+ .section--blue)::after,
.section--blue:has(+ .section--gray)::after,
.section--blue:has(+ .section--blue)::after { display: none; }

/* [改訂11] フッターは帯ウェッジより手前に描画。
   CTA（グレー帯）→フッター境界ではウェッジがフッターの白背景に隠れ、
   ロゴ・リンクが被らない＝直線の清潔な境界になる */
.site-footer { position: relative; z-index: 2; }


/* =====================================================================
   [2026-08 改訂3] 販売物件ページ（for_sale.html）
   - 元WordPressテンプレート（test_msweb）の3列カード構成を再現
     ※元はJSでカードのコピー欄高さを揃えていたが、Flexbox化により不要
   - 案内カード（.property-card--notice）はグリッド端数埋め用
   ===================================================================== */
.property-lead { max-width: 47em; margin: 26px auto 0; text-align: center; font-family: var(--font-sans); line-height: 2.2; }

.property-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 0; padding: 0; list-style: none; }
.property-grid > li { min-width: 0; display: flex; }

.property-card { display: flex; flex-direction: column; width: 100%; background: #fff; border: 1px solid var(--border); box-shadow: 0 2px 10px rgba(0, 0, 0, .05); transition: transform .35s ease, box-shadow .35s ease; }
.property-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(8, 40, 127, .15); }

.property-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.property-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.property-card:hover .property-card__media img { transform: scale(1.06); }

.property-card__badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.property-card__badge { padding: 4px 9px; background: var(--navy); color: #fff; font-family: var(--font-sans); font-size: 10.5px; font-weight: 700; letter-spacing: .05em; }
.property-card__badge--gold { background: var(--gold); }

.property-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 18px; }
/* [改訂7] 旧定義は下の改訂7ブロックへ統合（⑪ 2行分の高さ確保） */

.property-card__price { display: flex; align-items: baseline; gap: 8px; margin: 0 0 12px; padding-bottom: 10px; border-bottom: 2px solid var(--gold); }
.property-card__price-label { font-family: var(--font-sans); font-size: 11px; color: var(--navy); letter-spacing: .08em; white-space: nowrap; }
.property-card__price strong { margin-left: auto; font-size: 26px; line-height: 1; color: var(--gold); letter-spacing: .02em; white-space: nowrap; }
.property-card__price strong small { font-size: 14px; font-weight: 700; margin-left: 2px; }

.property-card__specs { margin: 0 0 12px; font-family: var(--font-sans); }
.property-card__specs > div { display: flex; gap: 8px; padding: 5px 0; border-bottom: 1px dotted var(--border); font-size: 12.5px; line-height: 1.7; }
.property-card__specs dt { flex: 0 0 4.5em; color: #888; }
.property-card__specs dd { margin: 0; color: var(--text); font-weight: 500; }

.property-card__point { margin: 0 0 14px; padding: 10px 12px; background: #fbf7ec; border-left: 3px solid var(--gold); }
.property-card__point-title { margin: 0 0 3px; font-family: var(--font-sans); font-size: 10.5px; font-weight: 700; letter-spacing: .12em; color: var(--gold); }
.property-card__point-text { margin: 0; font-family: var(--font-sans); font-size: 12.5px; line-height: 1.8; }

.property-card__actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.property-card__btn { display: flex; align-items: center; justify-content: center; gap: 5px; padding: 10px 6px; font-family: var(--font-sans); font-size: 12px; font-weight: 700; text-decoration: none; transition: background .3s, color .3s; }
.property-card__btn svg { width: 14px; height: 14px; flex: none; }
.property-card__btn--pdf { border: 1px solid var(--navy); color: var(--navy); background: #fff; }
.property-card__btn--pdf:hover { background: var(--navy); color: #fff; }
.property-card__btn--contact { border: 1px solid var(--navy); background: var(--navy); color: #fff; }
.property-card__btn--contact:hover { background: var(--navy-dark); }

/* 案内カード（グリッド端数埋め） */
.property-card--notice { background: var(--navy); color: #fff; border: none; align-items: center; justify-content: center; text-align: center; padding: 34px 22px; }
.property-card__notice-catch { margin: 0; font-size: 20px; line-height: 1.8; color: #fff; }
.property-card__notice-catch::after { content: ""; display: block; width: 42px; height: 2px; margin: 16px auto 0; background: var(--gold); }
.property-card__notice-text { margin: 18px 0 24px; font-family: var(--font-sans); font-size: 13px; line-height: 2; color: rgba(255, 255, 255, .85); }
.property-card__notice-actions { display: grid; gap: 10px; width: 100%; max-width: 230px; }
.property-card__notice-actions .property-card__btn { padding: 12px 10px; }
.property-card__btn--tel { border: 1px solid #fff; color: #fff; background: transparent; }
.property-card__btn--tel:hover { background: #fff; color: var(--navy); }
.property-card__btn--mail { border: 1px solid var(--gold); background: var(--gold); color: #fff; }
.property-card__btn--mail:hover { background: #a6832d; border-color: #a6832d; }

@media (max-width: 1000px) {
  .property-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 640px) {
  .property-grid { grid-template-columns: 1fr; }
  .property-card__price strong { font-size: 28px; }
}


/* =====================================================================
   [2026-08 改訂3] SP/タブレット: 下層ページキャッチと左上ロゴの重なり修正
   - ロゴは 150×150px・z-index:2000 でヒーロー左上に重なる仕様
   - キャッチが縦中央配置だと先頭文字がロゴの裏に隠れるため、
     800px以下ではキャッチをヒーロー下端に寄せる
     （for_sale.html / privacypolicy.html / page-template.html 共通の修正）
   ===================================================================== */
@media (max-width: 800px) {
  .hero--page { align-items: flex-end; }
  .hero--page .hero__catch { padding: 0 20px 18px; }
}


/* =====================================================================
   [2026-08 改訂4] for_sale.php（WordPress連携版）の補助クラス
   ===================================================================== */
/* PDFなし物件（ボタン1つ）のときは1列表示 */
.property-card__actions--single { grid-template-columns: 1fr; }
/* 物件0件時のメッセージはグリッド全幅 */
.property-grid__empty { grid-column: 1 / -1; }
/* 「すべての売買物件を見る」（6件以上で表示・元テンプレ仕様） */
.property-more { margin: 32px 0 0; text-align: center; }
.property-more a { display: inline-block; padding: 13px 36px; border: 1px solid var(--navy); color: var(--navy); font-family: var(--font-sans); font-size: 14px; font-weight: 700; letter-spacing: .05em; text-decoration: none; transition: background .3s, color .3s; }
.property-more a:hover { background: var(--navy); color: #fff; }
.property-more b { color: var(--gold); font-size: 1.25em; padding: 0 .15em; }


/* =====================================================================
   [2026-08 改訂5] 会社概要ページ（company.html）
   - 会社概要プロフィール（.company-profile）: グレー帯ラベル＋ゴールド縦線
   - 数字で見る（.stats-row/.stat）: ゴールドの大数字カード
   - グループ会社（.group-card）: ロゴ入りヘッダ＋ミニ統計＋詳細定義リスト
   - 事業内容タグ（.biz-tags）/ Google Map・公式サイトボタン
   ===================================================================== */
/* --- 会社概要プロフィール（dl 型・ラベル列240px） --- */
.company-profile { margin: 40px auto 0; max-width: 1080px; border-top: 1px solid var(--border); }
.company-profile > div { display: grid; grid-template-columns: 240px 1fr; border-bottom: 1px solid var(--border); }
.company-profile dt {
  padding: 18px 18px 18px 22px;
  background: var(--gray-box);
  border-left: 3px solid var(--gold);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: .05em;
  display: flex;
  align-items: center;
}
.company-profile dd { margin: 0; padding: 18px 24px; font-family: var(--font-sans); font-size: 14.5px; line-height: 2; }
.company-profile dd .addr-tel { color: #666; font-size: .92em; }

/* --- 事業内容タグ（ピル型チップ） --- */
.biz-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.biz-tag { padding: 6px 15px; background: #fff; border: 1px solid var(--navy); border-radius: 999px; color: var(--navy); font-family: var(--font-sans); font-size: 12.5px; font-weight: 700; letter-spacing: .03em; }

/* --- Google Map / 公式サイト ボタン --- */
.map-link, .site-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 8px; padding: 7px 16px;
  border: 1px solid var(--navy); border-radius: 2px;
  color: var(--navy); background: #fff;
  font-family: var(--font-sans); font-size: 12px; font-weight: 700; letter-spacing: .05em;
  transition: background .3s, color .3s;
}
.map-link:hover, .site-link:hover { background: var(--navy); color: #fff; }
.map-link svg, .site-link svg { width: 13px; height: 13px; flex: none; }
.site-link { border-color: var(--gold); color: var(--gold); }
.site-link:hover { background: var(--gold); color: #fff; }

/* --- 数字で見る（大数字カード3列） --- */
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 45px; }
.stat { background: #fff; padding: 42px 20px 34px; text-align: center; border-top: 3px solid var(--gold); box-shadow: 0 2px 10px rgba(0, 0, 0, .05); }
.stat__num { font-family: var(--font-catch); font-size: 3.2em; line-height: 1; color: var(--gold); letter-spacing: .02em; }
.stat__num small { font-size: .32em; font-weight: 700; margin-left: .25em; }
.stat__label { margin-top: 14px; font-family: var(--font-sans); font-size: 14px; font-weight: 700; color: #000; letter-spacing: .08em; }
.stat__note { margin-top: 4px; font-family: var(--font-sans); font-size: 11px; color: #888; }

/* --- グループ会社カード --- */
.group-grid { display: grid; gap: 45px; margin-top: 45px; }
.group-card { background: #fff; border: 1px solid var(--border); box-shadow: 0 2px 12px rgba(0, 0, 0, .06); transition: box-shadow .35s ease; }
.group-card:hover { box-shadow: 0 14px 32px rgba(8, 40, 127, .13); }
.group-card__head { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 30px 40px; border-bottom: 2px solid var(--gold); }
.group-card__logo { height: 42px; width: auto; }
.group-card__head-text { flex: 1; min-width: 240px; }
.group-card__name { font-size: 1.25em; color: #000; line-height: 1.5; }
.group-card__catch { margin-top: 4px; font-family: var(--font-sans); font-size: 13px; color: #666; }
.group-card__body { padding: 30px 40px 38px; }

/* カード内ミニ統計（紺の数字） */
.group-card__stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin: 0 0 28px; }
.gstat { background: var(--gray-box); padding: 16px 10px 13px; text-align: center; }
.gstat__num { font-family: var(--font-catch); font-size: 1.75em; line-height: 1.1; color: var(--navy); }
.gstat__num small { font-size: .5em; font-weight: 700; margin-left: .15em; }
.gstat__label { margin-top: 5px; font-family: var(--font-sans); font-size: 11px; color: #666; letter-spacing: .06em; }

/* カード内の詳細リスト（コンパクト版プロフィール） */
.company-profile--compact { margin-top: 0; }
.company-profile--compact > div { grid-template-columns: 190px 1fr; }
.company-profile--compact dt { font-size: 13px; padding: 14px 14px 14px 18px; }
.company-profile--compact dd { font-size: 13.5px; padding: 14px 18px; }

/* --- SP対応 --- */
@media (max-width: 800px) {
  .company-profile > div { grid-template-columns: 1fr; }
  .company-profile dt { border-left: none; border-top: 3px solid var(--gold); padding: 12px 16px; }
  .company-profile dd { padding: 14px 16px 20px; }
  .stats-row { grid-template-columns: 1fr; gap: 16px; }
  .stat { padding: 30px 16px 26px; }
  .group-card__head { padding: 22px 20px; gap: 18px; }
  .group-card__logo { height: 34px; }
  .group-card__body { padding: 22px 20px 28px; }
  .company-profile--compact > div { grid-template-columns: 1fr; }
}

/* 社名行のロゴ（mystyle.png） */
.company-name-logo { display: block; height: 34px; width: auto; margin-bottom: 10px; }


/* =====================================================================
   [2026-08 改訂6] 札幌支店ページ（sapporo.php）
   - 元WordPressテンプレート（mystyle-s/index.php）の全セクションを
     マイスタイルテンプレートへ再構成
   - タブ切替はCSSのみ（:checked疑似クラス）、FAQは <details> で実装し
     JavaScript不要（main.js 改変なし）
   ===================================================================== */

/* --- CTA内の営業時間などの注記 --- */
.cta-note { display: block; margin-top: 12px; font-family: var(--font-sans); font-size: 12.5px; color: var(--text); letter-spacing: .04em; }

/* --- こんな要望チェックリスト --- */
.concern-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 860px; margin: 38px auto 0; padding: 0; list-style: none; }
.concern-list li { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: #fff; border: 1px solid var(--border); box-shadow: 0 2px 8px rgba(0, 0, 0, .04); font-family: var(--font-sans); font-weight: 700; font-size: 14.5px; line-height: 1.6; color: #000; }
.concern-list li::before { content: ''; flex: none; width: 20px; height: 20px; background: var(--gold); clip-path: polygon(14% 44%, 0 62%, 45% 100%, 100% 14%, 82% 0, 42% 66%); }
.concern-lead { text-align: center; margin: 34px 0 0; font-size: 1.2em; line-height: 2; color: #000; }
.concern-lead strong { color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

/* --- サービスカード（3つの借り方） --- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 42px; }
.service-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); box-shadow: 0 2px 10px rgba(0, 0, 0, .05); transition: transform .35s ease, box-shadow .35s ease; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(8, 40, 127, .15); }
.service-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.service-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.service-card:hover .service-card__media img { transform: scale(1.06); }
.service-card__term { position: absolute; right: 0; bottom: 0; padding: 10px 18px; background: var(--gold); color: #fff; font-family: var(--font-catch); font-size: 22px; line-height: 1; }
.service-card__term small { font-size: 11.5px; font-family: var(--font-sans); font-weight: 700; margin-right: 5px; letter-spacing: .05em; }
.service-card__body { display: flex; flex-direction: column; flex: 1; padding: 20px 20px 24px; }
.service-card__en { margin: 0 0 6px; font-family: var(--font-sans); font-size: 10.5px; font-weight: 700; letter-spacing: .18em; color: var(--gold); }
.service-card__title { margin: 0 0 12px; font-size: 19px; color: #000; line-height: 1.5; }
.service-card__text { margin: 0 0 14px; font-family: var(--font-sans); font-size: 13px; line-height: 1.9; color: var(--text); }
.service-card__points { margin: auto 0 0; padding: 12px 0 0; border-top: 1px dotted var(--border); list-style: none; display: grid; gap: 6px; }
.service-card__points li { position: relative; padding-left: 15px; font-family: var(--font-sans); font-size: 12px; line-height: 1.7; color: var(--text); }
.service-card__points li::before { content: ''; position: absolute; left: 0; top: .55em; width: 7px; height: 7px; background: var(--navy); border-radius: 50%; }

/* --- お部屋タブ（CSSのみで切替・JS不要） --- */
.rental-tabs { margin-top: 42px; }
.rental-tabs > input { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }
.rental-tabs__labels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 920px; margin: 0 auto 36px; }
.rental-tabs__labels label { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 16px 8px; background: #fff; border: 1px solid var(--border); border-bottom: 3px solid transparent; font-family: var(--font-sans); font-weight: 700; font-size: 14px; line-height: 1.45; text-align: center; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.rental-tabs__labels label:hover { border-color: var(--navy); }
.rental-tabs__labels label .rental-tabs__count { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--gold); }
#tab-space:checked ~ .rental-tabs__labels label[for="tab-space"],
#tab-monthly:checked ~ .rental-tabs__labels label[for="tab-monthly"],
#tab-rent:checked ~ .rental-tabs__labels label[for="tab-rent"] { background: var(--navy); border-color: var(--navy); border-bottom-color: var(--gold); color: #fff; }
.rental-tabs__panel { display: none; }
#tab-space:checked ~ .rental-tabs__panels .rental-tabs__panel--space,
#tab-monthly:checked ~ .rental-tabs__panels .rental-tabs__panel--monthly,
#tab-rent:checked ~ .rental-tabs__panels .rental-tabs__panel--rent { display: block; animation: tab-fade .45s ease; }
@keyframes tab-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* --- 賃貸系カード専用の拡張（骨格は property-card を再利用） --- */
.rental-card__access { margin: 0 0 12px; font-family: var(--font-sans); }
.rental-card__access > p { display: flex; flex-wrap: wrap; gap: 4px 8px; margin: 0; padding: 5px 0; border-bottom: 1px dotted var(--border); font-size: 12.5px; line-height: 1.7; }
.rental-card__rosen { color: #888; }
.rental-card__station { font-weight: 500; color: var(--text); }
.rental-card__walk { color: var(--navy); font-weight: 700; white-space: nowrap; }
.rental-card__costs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.rental-card__cost { padding: 4px 10px; background: var(--gray-box); border: 1px solid var(--border); font-family: var(--font-sans); font-size: 11.5px; font-weight: 500; color: var(--text); }
.rental-card__cost b { color: var(--navy); font-weight: 700; margin-right: .35em; }

/* --- YouTube動画 --- */
.yt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 38px; }
.yt-grid__item { aspect-ratio: 16 / 9; background: #000; box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.yt-grid__item iframe { width: 100%; height: 100%; display: block; border: 0; }

/* --- FAQ（<details> アコーディオン・JS不要） --- */
.faq { max-width: 900px; margin: 38px auto 0; display: grid; gap: 12px; }
.faq__item { background: #fff; border: 1px solid var(--border); }
.faq__item summary { display: flex; align-items: center; gap: 14px; padding: 18px 20px; cursor: pointer; list-style: none; font-family: var(--font-sans); font-weight: 700; font-size: 14.5px; line-height: 1.6; color: #000; transition: background .3s; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:hover { background: var(--gray-box); }
.faq__item summary::before { content: 'Q'; flex: none; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: var(--navy); color: #fff; font-family: var(--font-catch); font-size: 15px; }
.faq__item summary::after { content: ''; margin-left: auto; flex: none; width: 11px; height: 11px; border-right: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(45deg); transition: transform .3s; }
.faq__item[open] summary::after { transform: rotate(225deg); }
.faq__answer { padding: 2px 22px 22px 66px; font-family: var(--font-sans); font-size: 13.5px; line-height: 2.05; color: var(--text); }
.faq__answer p { margin: 0; }

/* --- 店舗紹介 --- */
.shop-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 36px 0 30px; }
.shop-photos figure { margin: 0; }
.shop-photos img { width: 100%; aspect-ratio: 7 / 5; object-fit: cover; display: block; border: 1px solid var(--border); }
.shop-photos figcaption { padding: 8px 2px 0; font-family: var(--font-sans); font-size: 11.5px; color: #666; text-align: center; }
.shop-map { margin-top: 30px; }
.shop-map iframe { width: 100%; height: 420px; border: 0; display: block; }

/* --- スタッフ紹介 --- */
.staff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 900px; margin: 38px auto 0; }
.staff-card { background: #fff; border: 1px solid var(--border); text-align: center; padding: 28px 16px 24px; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); transition: transform .35s ease, box-shadow .35s ease; }
.staff-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(8, 40, 127, .15); }
.staff-card__img { display: block; width: 120px; height: 120px; object-fit: cover; border-radius: 50%; border: 3px solid var(--gold); margin: 0 auto 16px; }
.staff-card__cat { display: inline-block; padding: 3px 12px; background: var(--navy); color: #fff; font-family: var(--font-sans); font-size: 10.5px; font-weight: 700; letter-spacing: .08em; margin-bottom: 10px; }
.staff-card__name { margin: 0 0 5px; font-size: 18px; color: #000; }
.staff-card__hobby { margin: 0; font-family: var(--font-sans); font-size: 12px; color: #777; line-height: 1.6; }
.staff-mini { margin-top: 46px; }
.staff-mini__title { text-align: center; font-size: 15px; color: #000; margin: 0 0 8px; }
.staff-mini__note { text-align: center; font-family: var(--font-sans); font-size: 12px; color: #777; margin: 0 0 24px; line-height: 1.8; }
.staff-mini-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; max-width: 1000px; margin: 0 auto; }
.staff-mini-card { background: #fff; border: 1px solid var(--border); padding: 16px 8px 14px; text-align: center; }
.staff-mini-card img { display: block; width: 64px; height: 64px; object-fit: cover; border-radius: 50%; margin: 0 auto 10px; }
.staff-mini-card__name { margin: 0; font-size: 13.5px; color: #000; }
.staff-mini-card__hobby { margin: 3px 0 0; font-family: var(--font-sans); font-size: 10.5px; color: #888; line-height: 1.55; }

/* --- お知らせリスト --- */
.news-list { max-width: 900px; margin: 36px auto 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.news-list__row { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: #fff; border: 1px solid var(--border); text-decoration: none; color: var(--text); }
a.news-list__row { transition: border-color .3s, transform .3s; }
a.news-list__row:hover { border-color: var(--navy); transform: translateX(4px); }
.news-list__tag { flex: none; padding: 4px 12px; background: var(--gold); color: #fff; font-family: var(--font-sans); font-size: 11px; font-weight: 700; }
.news-list__title { margin: 0; font-family: var(--font-sans); font-size: 13.5px; line-height: 1.7; }
a.news-list__row::after { content: '›'; margin-left: auto; flex: none; color: var(--navy); font-size: 18px; font-weight: 700; }

/* --- キャンピングカー / Instagram --- */
.sns-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.sns-card { background: #fff; border: 1px solid var(--border); padding: 32px 26px; text-align: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); }
.sns-card__img { display: block; max-width: 100%; height: auto; margin: 0 auto 18px; }
.sns-card__icon { display: flex; width: 46px; height: 46px; margin: 0 auto 14px; align-items: center; justify-content: center; border-radius: 12px; background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); color: #fff; }
.sns-card__icon svg { width: 26px; height: 26px; }
.sns-card__icon--camper { background: var(--navy); } /* [改訂15] LINE誘導をキャンピングカー誘導へ変更 */
.sns-card__title { margin: 0 0 8px; font-size: 17px; color: #000; }
.sns-card__text { margin: 0 0 20px; font-family: var(--font-sans); font-size: 12.5px; line-height: 1.9; color: var(--text); }
.sns-card__btn { display: inline-flex; align-items: center; gap: 7px; padding: 12px 32px; font-family: var(--font-sans); font-size: 13.5px; font-weight: 700; color: #fff; text-decoration: none; transition: opacity .3s, transform .3s; }
.sns-card__btn:hover { opacity: .88; transform: translateY(-2px); }
.sns-card__btn svg { width: 16px; height: 16px; }
.sns-card__btn--camper { background: var(--navy); } /* [改訂15] https://maedacom.jp/mystyle-s/camper/ へ誘導 */
.sns-card__btn--ig { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); }
.sns-card__note { margin: 16px 0 0; font-family: var(--font-sans); font-size: 11.5px; font-weight: 700; color: var(--gold); line-height: 1.8; }

/* --- 札幌ページのレスポンシブ --- */
@media (max-width: 1000px) {
  .staff-mini-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .concern-list { grid-template-columns: 1fr; }
  .rental-tabs__labels { gap: 7px; }
  .rental-tabs__labels label { padding: 12px 4px; font-size: 11.5px; }
  .rental-tabs__labels label .rental-tabs__count { font-size: 10px; }
  .yt-grid { grid-template-columns: 1fr; }
  .faq__item summary { padding: 15px 14px; font-size: 13.5px; }
  .faq__answer { padding: 2px 16px 18px 58px; font-size: 12.5px; }
  .shop-photos { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
  .shop-map iframe { height: 300px; }
  .staff-grid { grid-template-columns: 1fr; max-width: 340px; }
  .staff-mini-grid { grid-template-columns: repeat(2, 1fr); }
  .sns-grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
}

/* 4ステップ版フロー（sapporo.php 用・.flow は5列固定のため） */
.flow--4 { grid-template-columns: repeat(4, 1fr); max-width: 980px; margin-left: auto; margin-right: auto; }
@media (max-width: 800px) {
  .flow--4 { grid-template-columns: 1fr; }
}


/* =====================================================================
   [2026-08 改訂7] 全体的なデザインリファイン（ご指摘①〜⑪対応）
   - ①③ 会社情報・店舗概要を洗練（金の線を削減し、余白とタイポで品格を）
   - ④ タイポグラフィ階層の明確化（letter-spacing / line-height 見直し）
   - ⑥⑦ 右サイドのホバーを塗りに変更・現在地を青背景白文字でページ別制御
   - ⑪ 物件カードのタイトル高さを2行分に統一
   ===================================================================== */

/* --- ①③ 会社概要プロフィール：金の左線を廃止し、落ち着いた定義リストへ --- */
.company-profile dt {
  background: transparent;
  border-left: none;
  color: var(--navy);
  font-size: 13.5px;
  letter-spacing: .12em;
  font-weight: 700;
}
.company-profile dd { color: #222; line-height: 1.9; }
/* SP（縦積み）ではラベルを帯状に */
@media (max-width: 800px) {
  .company-profile dt { background: var(--gray-box); }
}

/* --- ① グループカード：統計数字は白背景・ネイビーのみで統一（灰帯廃止） --- */
.gstat { background: #fff; border: 1px solid var(--border); border-top: 2px solid var(--navy); }
.gstat__num { color: var(--navy); }
.group-card__head { border-bottom-color: var(--border); }

/* --- ③ 店舗概要（shop-wrap）：金下線の罫線表から、余白型の定義リストへ --- */
.shop-wrap__box { border: 1px solid var(--border); background: #fff; padding: 34px 38px; max-width: 760px; margin: 0 auto; }
.shop-wrap__item { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid #eee; }
.shop-wrap__item:last-child { border-bottom: none; }
.shop-wrap__dt { border-bottom: none; padding: 0; color: var(--navy); font-size: 13px; font-weight: 700; letter-spacing: .06em; }
.shop-wrap__dd { padding: 0; color: #222; line-height: 1.9; }
.shop-wrap__dt::after { content: none; }
@media (max-width: 800px) {
  .shop-wrap__box { padding: 22px 18px; }
  .shop-wrap__item { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
}

/* --- ⑥ 右サイド：ホバーを「透過」から「塗り」へ --- */
.side-icons__item a { transition: background .25s ease, color .25s ease; }
.side-icons__item a:hover { opacity: 1; background: var(--navy); border-color: var(--navy); color: #fff; }

/* --- ⑦ 右サイド：現在地は青背景・白文字（main.js の is-current に一本化） ---
   東京本社(--hq)・札幌支店(--sapporo) は通常時「白背景・ネイビー文字」に揃え、
   現在地は .side-icons__item.is-current a（青背景・白文字）に任せる。
   ※旧来の「--hq を常時青(!important)」は廃止。!important を外して
     is-current の白文字が効くようにする（文字が背景と同色になる不具合を修正） */
.side-icons__item--hq a,
.side-icons__item--sapporo a { background: #fff; color: var(--navy); border-color: var(--border); }

/* --- ④⑧ タイポグラフィ階層：セクション見出しを引き締め、本文を読みやすく --- */
.sectitle { font-size: 2.5em; letter-spacing: .1em; line-height: 1.35; }
.sectitle small { letter-spacing: .18em; color: #666; font-family: var(--font-sans); font-weight: 500; }
.sectitle-en { letter-spacing: .32em; font-size: 1.4em; }
@media (max-width: 800px) {
  .sectitle { font-size: 2.0em; }
  .sectitle-en { font-size: 1.2em; letter-spacing: .22em; }
}

/* --- ⑪ 物件カードのタイトル高さを2行分に統一（1行でも位置が揃う） --- */
.property-card__title {
  margin: 0 0 10px; font-size: 16px; line-height: 1.6; color: #111;
  min-height: calc(1.6em * 2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* --- 改訂7続き: 会社概要の数字はゴールドで強調（ネイビー帯とのコントラスト） --- */
.stat__num { color: var(--gold); }


/* 売りたい・買いたい（is-shutoken）表示中は「東京本社」を常に青背景・白文字で現在地扱い */
body.is-shutoken .side-icons__item--hq a { background: var(--navy); border-color: var(--navy); color: #fff; }

/* =====================================================================
   [2026-08 改訂12] ① 右サイドレールの常時白背景（PCのみ）
   - 帯セクション（グレー/水色）の背景はフル幅のため、スクロール時に
     右サイドバー裏を帯色が通過し、リンク列の下部や PAGE TOP が
     「帯の上に直置き」状態になって見づらい問題への対策
   - 右端 var(--side-w) 幅を固定の白レールで覆い、リンク列から
     PAGE TOP まで白背景が一続きになるようにする
   - pointer-events: none でクリックを妨げない
   - z-index: 750 … 帯ウェッジ(1)・本文(2)より上、PAGE TOP(800)・
     サイドアイコン(900)・ヘッダー(1000)より下
   ===================================================================== */
@media (min-width: 801px) {
  body::after {
    content: "";
    position: fixed;
    top: 0; right: 0;
    width: var(--side-w);
    height: 100vh;
    background: #fff;
    z-index: 750;
    pointer-events: none;
  }
}

/* ==========================================================================
   [改訂16] お問い合わせページ（contact.php / FormBridge×kintone 埋め込み）
   ========================================================================== */
/* --- お問い合わせ方法カード（電話／査定フォーム） --- */
.contact-methods { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; max-width: 860px; margin-left: auto; margin-right: auto; }
.contact-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-top: 4px solid var(--navy); padding: 26px 22px; text-align: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .05); }
.contact-card__en { margin: 0 0 8px; font-family: var(--font-sans); font-size: 10px; font-weight: 700; letter-spacing: .16em; color: var(--gold); }
.contact-card__title { margin: 0 0 12px; font-size: 17px; color: #000; line-height: 1.6; }
.contact-card__text { margin: 0 0 20px; font-family: var(--font-sans); font-size: 12.5px; line-height: 1.9; color: var(--text); }
.contact-card__btn { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 12px 10px; font-family: var(--font-sans); font-size: 14px; font-weight: 700; text-decoration: none; transition: background .3s, color .3s; }
.contact-card__btn svg { width: 16px; height: 16px; flex: none; }
.contact-card__btn--tel { background: var(--navy); color: #fff; border: 1px solid var(--navy); }
.contact-card__btn--tel:hover { background: var(--navy-dark); }
.contact-card__btn--form { background: #fff; color: var(--navy); border: 1px solid var(--navy); }
.contact-card__btn--form:hover { background: var(--navy); color: #fff; }

/* --- FormBridge 埋め込み領域 --- */
.fb-embed { margin-top: 36px; background: #fff; border: 1px solid var(--border); box-shadow: 0 2px 12px rgba(0, 0, 0, .06); padding: clamp(16px, 4vw, 40px); }
/* [改訂18] 実フォーム(mystyle-contact)の高さに合わせ 900→2000px（条件分岐1つ展開で約1820pxの実測）。formbridge-embed.js 登録後は contact.php 側の自動調整で上書きされる */
.fb-embed iframe { display: block; width: 100%; min-height: 2000px; border: 0; }
.fb-open-external { margin: 16px 0 0; text-align: center; font-family: var(--font-sans); font-size: 12px; }
.fb-open-external a { color: var(--navy); }
.fb-noscript { margin-top: 16px; text-align: center; font-family: var(--font-sans); font-size: 13px; color: #c00; }

/* --- フォーム未設定時のフォールバック --- */
.fb-fallback { margin-top: 36px; background: #fff; border: 1px dashed var(--gold); padding: clamp(24px, 5vw, 48px); text-align: center; }
.fb-fallback__en { margin: 0 0 8px; font-family: var(--font-sans); font-size: 10px; font-weight: 700; letter-spacing: .16em; color: var(--gold); }
.fb-fallback__title { margin: 0 0 12px; font-size: 18px; color: #000; }
.fb-fallback__text { margin: 0; font-family: var(--font-sans); font-size: 13px; line-height: 2; color: var(--text); }
.fb-fallback__text a { color: var(--navy); }

/* --- プライバシー注記 --- */
.privacy-note { margin: 28px auto 0; max-width: 640px; text-align: center; font-family: var(--font-sans); font-size: 12px; line-height: 2; color: var(--text); }
.privacy-note a { color: var(--navy); text-decoration: underline; }

@media screen and (max-width: 800px) {
  .contact-methods { grid-template-columns: 1fr; max-width: 520px; }
  .fb-embed iframe { min-height: 2400px; } /* [改訂18] SP時の展開高さ（実測ベース）に合わせる */
}

/* =====================================================================
   [改訂21] お問合せページ 2拠点対応（本社＋札幌支店）
   ===================================================================== */
/* 電話カード3枚構成（本社・札幌・フォーム） */
.contact-methods--three { grid-template-columns: repeat(3, 1fr); max-width: 1080px; }
/* 店舗紹介 2拠点グリッド */
.shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; margin-top: 40px; text-align: left; }
.shop-col__name { margin: 0 0 16px; padding-bottom: 10px; font-size: 20px; color: var(--navy); border-bottom: 2px solid var(--gold); }
.shop-col__area { margin-left: 10px; font-family: var(--font-sans); font-size: 11px; font-weight: 500; letter-spacing: .12em; color: #888; }
.shop-col__photo { margin: 0 0 20px; }
.shop-col__photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border: 1px solid var(--border); }
.shop-col .company-profile--compact > div { grid-template-columns: 110px 1fr; }
.shop-col .shop-map { margin-top: 20px; }
.shop-col .shop-map iframe { height: 300px; }
@media (max-width: 900px) {
  .contact-methods--three { grid-template-columns: 1fr; max-width: 520px; }
  .shop-grid { grid-template-columns: 1fr; gap: 50px; }
}
