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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #333333;
  background-color: #fff;
  line-height: 1.7;
  padding-top: 110px; /* 固定ヘッダー分のオフセット（JSで動的上書き） */
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   カラー変数
   ============================================================ */
:root {
  --color-primary:    #25489c;   /* メインブルー */
  --color-primary-light: #2B55C5;
  --color-accent:     #F5C800;   /* 黄色アクセント */
  --color-olive:      #8B9E00;   /* オリーブ（店舗ヒーロー背景） */
  --color-bg:         #f5f8ff;   /* ページ背景（薄いブルーグレー） */
  --color-text:       #333333;
  --color-text-light: #333333;
  --color-border:     #D0D8E8;
  --color-white:      #fff;
}

/* ============================================================
   共通レイアウト
   ============================================================ */
.section__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 60px 0;
  background-color: var(--color-bg);
}

/* セクションタイトル（左ボーダー付き） */
.section-title {
  /* F③ タイトル(中) */
  font-family: var(--ff-base);
  font-size: var(--f3-size);
  font-weight: var(--f3-weight);
  line-height: var(--f3-lh);
  letter-spacing: var(--f3-ls);
  color: var(--color-text);
  border-left: 5px solid var(--color-primary);
  padding-left: 14px;
  margin-bottom: 32px;
}

.section-subtitle {
  /* F③ タイトル(中) */
  font-family: var(--ff-base);
  font-size: var(--f3-size);
  font-weight: var(--f3-weight);
  line-height: var(--f3-lh);
  letter-spacing: var(--f3-ls);
  color: var(--color-primary);
  margin: 40px 0;
  text-align: center;
  width: 100%;
  max-width: 100%;
}

/* ============================================================
   ボタン共通
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  /* F④ ボタン */
  font-family: var(--ff-base);
  font-size: var(--f4-size);
  font-weight: var(--f4-weight);
  line-height: var(--f4-lh);
  letter-spacing: var(--f4-ls);
  cursor: pointer;
  transition: opacity .2s;
}

.btn:hover {
  opacity: 0.85;
}

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

.btn--reserve {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 0.85rem;
  padding: 8px 16px;
}

.btn--tel {
  background-color: var(--color-white);
  color: var(--color-primary);
  border: var(--btn-border-width) solid var(--color-primary); /* ボタン枠線 2px */
  font-size: 0.85rem;
  padding: 8px 16px;
  transition: background-color .2s;
}


.btn--tel:hover {
  background-color: var(--color-bg);
  opacity: 1;
}

.more-btn-wrap {
  text-align: center;
  margin-top: 32px;
}

/* ============================================================
   サイトヘッダー固定ラッパー
   ============================================================ */
.site-header-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  /* 影なし（デザイナー指定：共通ヘッダーは影を付けない） */
  box-shadow: none;
}

/* ============================================================
   ヘッダー（上段）
   ============================================================ */
.header-top {
  background-color: transparent;
  /* 区切りは下線のみ（#333333 透明度10%） */
  border-bottom: 1px solid var(--divider-color);
  padding: 0;
}

.header-top__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 80px; /* ヘッダー高さ 80px */
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  display: flex;
  flex: none;
  height: 72px;
  margin: 4px 0;
  width: auto;
  min-width: 200px;
  max-width: 100%;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.site-logo img {
  height: 56px;
  width: auto;
}

.site-logo__tagline {
  /* F② ヘッダー */
  font-size: var(--f2-size);
  font-weight: var(--f2-weight);
  line-height: var(--f2-lh);
  letter-spacing: var(--f2-ls);
  white-space: nowrap;
  color: var(--color-text-light);
}

/* ユーティリティナビ（物件検索・最近見た物件・お気に入り） */
.header-util__list {
  display: flex;
  gap: 24px;
}

.header-util__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  color: #333333;
  /* F② ヘッダー（ラベルは小さめ表示のためサイズは維持） */
  font-size: 0.75rem;
  font-weight: var(--f2-weight);
  letter-spacing: var(--f2-ls);
  white-space: nowrap;
}

.header-util__link .material-icons {
  font-size: 1.875rem; /* 30px */
}

.header-util__icon {
  width: 30px;  /* アイコン 30×30px */
  height: 30px;
}

/* ============================================================
   ヘッダー（下段：グローバルナビ）
   ============================================================ */
.header-nav {
  display: block;
  background-color: transparent;
}

.header-nav__list {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 0;
}

.header-nav__list li a {
  display: block;
  padding: 14px 16px;
  /* F② ヘッダー */
  font-size: var(--f2-size);
  color: var(--color-primary);
  font-weight: var(--f2-weight);
  letter-spacing: var(--f2-ls);
  line-height: var(--f2-lh);
  transition: background-color .15s;
}

.header-nav__list li a:hover {
  background-color: #eef2fb;
}

/* ============================================================
   ヒーローセクション
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: clamp(360px, 42vw, 620px);
  overflow: hidden;
}

/* 背景いっぱいに広がるメインビジュアル */
.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* 画像上に重ねるテキスト */
.hero__inner {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero__lead {
  font-size: 0.9rem;
  color: #fff;
  margin-bottom: 12px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero__catch {
  /* section__inner の左端（max-width:1000px + padding:20px）に合わせる */
  position: absolute;
  left: max(20px, calc(50% - 480px));
  bottom: 9%;
  transform: none;
  text-align: left;
  font-family: "Noto Serif JP", serif;
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.75), 0 0 40px rgba(0, 0, 0, 0.5);
}

.hero__catch-line2 {
  display: inline-block;
  margin-left: 2em;
}

/* ============================================================
   賃貸物件を探す
   ============================================================ */
.search-section {
  background-color: var(--color-bg);
}

.area-search {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.area-card {
  border: 2px solid var(--color-primary);
  border-radius: 6px;
  overflow: hidden;
  background-color: var(--color-white);
}

.area-card__header {
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: center;
  padding: 10px;
  font-weight: 700;
  font-size: 0.95rem;
}

.area-card__links {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.area-card__links li a {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-text);
}

.link-keyword {
  color: var(--color-primary);
  text-decoration: underline;
}

/* ============================================================
   特集から探す
   ============================================================ */
.feature-section {
  background-color: var(--color-bg);
}

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

/* 4・5枚目は2列中央寄せ */
.feature-grid li:nth-child(4),
.feature-grid li:nth-child(5) {
  grid-column: span 1;
}

.feature-card {
  display: block;
  background-color: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: 6px;
  overflow: hidden;
  text-align: center;
  transition: background-color .2s;
}

.feature-card:hover {
  background-color: #f5f8ff;
}

.feature-card:hover .feature-card__img {
  background-color: #f5f8ff;
}

.feature-card__img {
  background-color: var(--color-white);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 30px;
}

.feature-card__img img {
  width: auto;
  height: 70px;
  max-width: 60%;
  object-fit: contain;
}

.feature-card__label {
  /* フォントは共通ユーティリティクラス .f4 で指定（HTML側で付与） */
  display: block;
  padding: 10px 12px 26px;
  color: var(--color-primary);
}

/* ============================================================
   タグから探す
   ============================================================ */
.tag-section {
  background-color: var(--color-bg);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  /* フォントは共通ユーティリティクラス .f4 で指定（HTML側で付与） */
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  color: var(--color-text);
  padding: 5px 14px;
  border-radius: 4px;
  transition: background-color .2s;
}

.tag__hash {
  color: var(--color-primary);
  margin-right: 2px;
}

.tag__icon {
  flex-shrink: 0;
  width: 1em;
  height: 1em;
  margin-right: 4px;
}

.tag:hover {
  background-color: var(--color-white);
}

/* ============================================================
   おすすめ賃貸物件
   ============================================================ */
.recommend-section {
  background-color: var(--color-bg);
}

/* おすすめ物件ボックス */
.recommend-box {
  background-color: #dde6f5;
  border: 2px solid var(--color-primary);
  border-top: none;
  border-radius: 0 0 8px 8px;
  padding: 16px;
}

/* エリアタブ */
.tab-area {
  margin-bottom: 0;
}

.tab-area__tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  align-items: end;   /* 下端を揃え、アクティブタブを上に持ち上げる */
}

.tab-area__tab button {
  width: 100%;
  padding: 12px;
  background: var(--color-white);
  border: 2px solid var(--color-primary);
  border-radius: 6px 6px 0 0;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--color-primary);
  font-weight: 500;
  transition: background-color .15s, color .15s;
}

.tab-area__tab.is-active button {
  background-color: var(--color-white);   /* 非アクティブと同色の白 */
  color: var(--color-primary);
  font-weight: 700;
  font-size: 1rem;                        /* 文字を少し大きく */
  padding: 18px 12px;                     /* 少し高く（持ち上げ） */
  border-bottom-color: transparent;       /* 下線を消す */
}

/* 特集タブ */
.tab-feature {
  background-color: transparent;
  padding: 0;
  border: none;
  margin-bottom: 12px;
}

.tab-feature__tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.tab-feature__tab button {
  padding: 8px 20px;
  background: var(--color-white);
  border: var(--btn-border-width) solid var(--color-primary); /* ボタン枠線 2px */
  border-radius: var(--radius-sm);
  /* F④ ボタン（タブは省スペースのためサイズ維持） */
  font-family: var(--ff-base);
  font-size: 0.85rem;
  font-weight: var(--f4-weight);
  letter-spacing: var(--f4-ls);
  cursor: pointer;
  color: var(--color-primary);
  transition: background-color .15s, color .15s;
}

.tab-feature__tab button:hover {
  background-color: var(--color-bg);
}

.tab-feature__tab.is-active button {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  border-color: var(--color-primary);
}

/* 物件カードリスト（横スクロール） */
.property-list-wrap {
  overflow-x: auto;
}

.property-list {
  display: flex;
  gap: 16px;
  min-width: max-content;
  padding: 8px 0;
}

.property-card {
  width: 220px;
  flex-shrink: 0;
  background-color: var(--color-white);
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}

.property-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,.1);
}

.property-card__img {
  aspect-ratio: 4/3;
  background-color: #e8edf5;
  overflow: hidden;
}

.property-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.property-card__body {
  padding: 12px;
}

.property-card__type {
  font-size: 0.75rem;
  color: var(--color-text-light);
}

.property-card__name {
  /* F③（横スクロールの省スペースカードのためサイズは維持） */
  font-family: var(--ff-base);
  font-size: 0.95rem;
  font-weight: var(--f3-weight);
  letter-spacing: var(--f3-ls);
  color: var(--color-primary);
  margin: 4px 0;
}

.property-card__price {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.property-card__address {
  font-size: 0.78rem;
  color: var(--color-primary);
  line-height: 1.5;
}

.property-card__access,
.property-card__info {
  font-size: 0.78rem;
  color: var(--color-text-light);
  line-height: 1.5;
}

/* ============================================================
   よくある質問
   ============================================================ */
.faq-section {
  background-color: var(--color-bg);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: none; /* カード類は原則枠線なし */
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-white);
}

.faq-item__q {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  /* F④ タイトル(小)：質問見出し */
  font-family: var(--ff-base);
  font-size: var(--f4-size);
  font-weight: var(--f4-weight);
  line-height: var(--f4-lh);
  letter-spacing: var(--f4-ls);
  list-style: none;
  user-select: none;
  color: var(--color-primary);
}

.faq-item__q::before {
  content: "Q";
  color: var(--color-primary);
  font-weight: 700;
  margin-right: 12px;
  flex-shrink: 0;
}

.faq-item__q::after {
  content: "expand_more";
  font-family: "Material Icons";
  font-size: 1.2rem;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-left: auto;
}

details[open] .faq-item__q::after {
  content: "expand_less";
}

.faq-item__a {
  padding: 16px 20px 20px 48px;
  font-size: 0.9rem;
  color: var(--color-text);
  background-color: var(--color-white);
}

.faq-item__a p         { margin-bottom: 1em; }
.faq-item__a p:last-child { margin-bottom: 0; }
.faq-item__a ul        { list-style: disc;    padding-left: 1.6em; margin-bottom: 1em; }
.faq-item__a ol        { list-style: decimal; padding-left: 1.6em; margin-bottom: 1em; }
.faq-item__a li        { margin-bottom: 0.4em; }
.faq-item__a a         { color: var(--color-primary); text-decoration: underline; text-underline-offset: 2px; }
.faq-item__a a:hover   { opacity: 0.75; }

.faqlist-section__desc {
    font-size: 0.9rem;
    color: var(--color-text);
    margin: -8px 0 16px;
    line-height: 1.7;
}




/* ============================================================
   店舗紹介
   ============================================================ */
.store-section {
  background-color: var(--color-bg);
}

.store-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  min-height: 340px;
  margin-bottom: 32px;
  padding: 40px 48px;
  display: flex;
  align-items: flex-end;               /* テキストを下寄せ */
  background-image: url(../images/tempo.png);
  background-size: cover;
  background-position: center;
}

.store-hero__text {
  position: relative;                  /* オーバーレイより前面 */
  z-index: 1;
  /* F③ タイトル(中)ベース。バナー見出しとしてやや大きめ */
  font-family: var(--ff-base);
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: var(--f3-lh);
  letter-spacing: var(--f3-ls);
  color: var(--color-primary);         /* 青文字 */
  text-shadow: 0 1px 6px rgba(255, 255, 255, 0.55);
}

.store-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.store-card {
  background-color: var(--color-white);
  border: none; /* カード類は原則枠線なし */
  border-radius: var(--radius-lg);
  padding: 20px;
}

.store-card__name {
  /* F③ タイトル(中)：店舗名 */
  font-family: var(--ff-base);
  font-size: var(--f3-size);
  font-weight: var(--f3-weight);
  line-height: var(--f3-lh);
  letter-spacing: var(--f3-ls);
  color: var(--color-primary);
  margin-bottom: 14px;
}

.store-card__body {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.store-card__img {
  width: 100px;
  flex-shrink: 0;
  background-color: #e8edf5;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.store-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-card__info {
  font-size: 0.85rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

.store-card__actions {
  display: flex;
  gap: 10px;
}

.store-card__actions .btn {
  flex: 1;
  justify-content: center;
}

/* ============================================================
   福徳不動産の強み
   ============================================================ */
.strength-section {
  background-image: url(../images/bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.strength-item {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  align-items: flex-start;
}

.strength-item:last-child {
  margin-bottom: 0;
}

.strength-item__img {
  width: 260px;
  flex-shrink: 0;
  background-color: #e8edf5;
  border-radius: 6px;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.strength-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.strength-item__num {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.strength-item__title {
  /* F③ タイトル(中) */
  font-family: var(--ff-base);
  font-size: var(--f3-size);
  font-weight: var(--f3-weight);
  line-height: var(--f3-lh);
  letter-spacing: var(--f3-ls);
  color: var(--color-primary);
  margin-bottom: 12px;
}

.strength-item__text {
  font-size: 0.9rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ============================================================
   お役立ち情報
   ============================================================ */
.column-section {
  background-color: var(--color-bg);
}

.column-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: none; /* カード類は原則枠線なし */
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-white);
}

.column-card {
  border-bottom: 1px solid var(--color-border);
}

.column-card:last-child {
  border-bottom: none;
}

.column-card a {
  display: flex;
  gap: 20px;
  padding: 20px;
}

.column-card__img {
  width: 120px;
  flex-shrink: 0;
  background-color: #e8edf5;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 4/3;
  align-self: flex-start;
}

.column-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.column-card__body {
  flex: 1;
}

.column-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.column-card__cat {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 3px;
}

.column-card__date {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.column-card__title {
  /* F④ タイトル(小) */
  font-family: var(--ff-base);
  font-size: var(--f4-size);
  font-weight: var(--f4-weight);
  line-height: var(--f4-lh);
  letter-spacing: var(--f4-ls);
  color: var(--color-primary);
  margin-bottom: 12px;
}

.column-card__excerpt {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* ============================================================
   電子契約の流れ
   ============================================================ */
.flow-section {
  background-color: var(--color-bg);
}

.flow-section .section-subtitle {
  /* 共通F④（.section-subtitle 基本のF③より詳細度が高いためここで上書き） */
  font-size: var(--f4-size);
  font-weight: var(--f4-weight);
  line-height: var(--f4-lh);
  letter-spacing: var(--f4-ls);
}

.flow-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.flow-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.flow-item__img {
  width: 140px;
  flex-shrink: 0;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.flow-item__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.flow-item__num {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: 6px;
}

.flow-item__title {
  /* F③ タイトル(中) */
  font-family: var(--ff-base);
  font-size: var(--f3-size);
  font-weight: var(--f3-weight);
  line-height: var(--f3-lh);
  letter-spacing: var(--f3-ls);
  color: var(--color-primary);
  margin-bottom: 12px;
}

.flow-item__text {
  font-size: 0.88rem;
  color: var(--color-text-light);
  line-height: 1.8;
}

/* ============================================================
   お知らせ
   ============================================================ */
.news-section {
  background-color: var(--color-bg);
}

.news-list {
  border: none; /* カード類は原則枠線なし */
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--color-white);
}

.news-item {
  border-bottom: 1px solid var(--color-border);
}

.news-item:last-child {
  border-bottom: none;
}

.news-item a {
  display: block;
  padding: 18px 20px;
}

.news-item__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.news-item__cat {
  display: inline-block;
  font-size: 0.75rem;
  padding: 3px 10px;
  border-radius: 3px;
  font-weight: 600;
  background-color: var(--color-primary);
  color: var(--color-white);
}

.news-item__date {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.news-item__title {
  /* F④ タイトル(小) */
  font-family: var(--ff-base);
  font-size: var(--f4-size);
  font-weight: var(--f4-weight);
  line-height: var(--f4-lh);
  letter-spacing: var(--f4-ls);
  color: var(--color-primary);
  margin-bottom: 12px;
}

.news-item__excerpt {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* ============================================================
   フッター
   ============================================================ */
.footer {
  background-color: var(--color-white);
  border-top: 3px solid var(--color-primary);
  padding: 40px 0 20px;
}

.footer__inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

/* フッター外部リンクボタン */
.footer-extlinks {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
}

.footer-extlinks__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 12px 16px;
  border: var(--btn-border-width) solid var(--color-primary); /* ボタン枠線 2px */
  border-radius: var(--radius-sm);
  color: var(--color-primary);
  background-color: var(--bg-item-blue); /* #e5edff */
  /* F④ タイトル(小)・ボタン */
  font-family: var(--ff-base);
  font-size: var(--f4-size);
  font-weight: var(--f4-weight);
  line-height: var(--f4-lh);
  letter-spacing: var(--f4-ls);
  text-align: center;
  transition: background-color .15s, color .15s;
}

.footer-extlinks__btn:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* ボタン右上の矢印（arrow.svg）。文字色に追従（通常=青／ホバー=白） */
.footer-extlinks__arrow {
  display: inline-block;
  width: 0.85em;
  height: 0.85em;
  margin-left: 8px;
  background-color: currentColor;
  -webkit-mask: url(../images/arrow.svg) no-repeat center / contain;
  mask: url(../images/arrow.svg) no-repeat center / contain;
}

/* フッターナビ */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.footer-nav__heading {
  /* F④ タイトル(小)：フッター見出し */
  font-family: var(--ff-base);
  font-size: var(--f4-size);
  font-weight: var(--f4-weight);
  line-height: var(--f4-lh);
  letter-spacing: var(--f4-ls);
  color: var(--color-primary);
  margin-bottom: 10px;
}

.footer-nav__heading a {
  color: var(--color-primary);
}

.footer-nav__col ul li a {
  /* F① 基本：フッターリンク */
  font-family: var(--ff-base);
  font-size: var(--f1-size);
  font-weight: var(--f1-weight);
  line-height: var(--f1-lh);
  letter-spacing: var(--f1-ls);
  color: var(--color-text-light);
  display: block;
  padding: 3px 0;
  transition: color .15s;
}

.footer-nav__col ul li a:hover {
  color: var(--color-primary);
}

/* 4・5列目のリンクは見出し扱い（F④） */
.footer-nav__col:nth-child(4) ul li a,
.footer-nav__col:nth-child(5) ul li a {
  font-weight: var(--f4-weight);
  letter-spacing: var(--f4-ls);
  color: var(--color-primary);
}


/* ============================================================
   モバイル専用タグラインバー
   デスクトップでは非表示、モバイルのみ表示（下記メディアクエリで制御）
   ============================================================ */
.header-tagline-bar {
  display: none;
}


/* ============================================================
   レスポンシブ対応
   ブレイクポイント: 767px 以下をモバイルとして扱う
   ※ PC レイアウトはそのまま維持
   ============================================================ */
@media (max-width: 767px) {

  /* ----------------------------------------------------------
     共通レイアウト
  ---------------------------------------------------------- */
  /* セクション上下余白を縮小 */
  .section {
    padding: 40px 0;
  }

  /* 左右余白を狭く */
  .section__inner {
    padding: 0 12px;
  }


  /* ----------------------------------------------------------
     ヘッダー上段
  ---------------------------------------------------------- */
  /* モバイルはヘッダー高さをコンパクトに（80px は PC 指定） */
  .header-top__inner {
    min-height: 56px;
    padding: 0 15px;
    justify-content: space-between;
  }

  /* モバイルではロゴ固定サイズを解除してヘッダー高さ内に収める */
  .site-logo {
    width: auto;
    height: auto;
    margin: 0;
    min-width: 0;
  }

  /* ロゴ画像を少し小さめに */
  .site-logo img {
    height: 36px;
  }

  /* デスクトップ用タグライン（ロゴ横の小テキスト）は非表示 */
  .site-logo__tagline {
    display: none;
  }

  /* モバイル用タグラインバーを表示（ネイビー背景・全幅） */
  .header-tagline-bar {
    display: block;
    background-color: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    font-size: 0.78rem;
    font-weight: 500;
    padding: 6px 12px;
  }

  /* ユーティリティナビのアイコン間隔 */
  .header-util__list {
    gap: 13px;
  }

  /* ユーティリティリンクのテキストを小さく */
  .header-util__link {
    font-size: 0.68rem;
  }

  .header-util__link .material-icons {
    font-size: 1.2rem;
  }

  .header-util__icon {
    width: 1.2rem;
    height: 1.2rem;
  }


  /* ----------------------------------------------------------
     ヘッダー下段（グローバルナビ）
     モバイルでは非表示
  ---------------------------------------------------------- */
  .header-nav {
    display: none;
  }


  /* ----------------------------------------------------------
     ヒーローセクション
  ---------------------------------------------------------- */
  /* スマホでも画像上にテキストを重ねる */
  .hero {
    height: clamp(260px, 62vw, 420px);
  }

  .hero__inner {
    padding: 0 16px;
  }

  .hero__catch {
    left: 16px;
    bottom: 8%;
    transform: none;
    /* font-size はデザイナー指定によりデスクトップと同じ 2.5rem を維持 */
  }


  /* ----------------------------------------------------------
     賃貸物件を探す
     4列 → 2列
  ---------------------------------------------------------- */
  .area-search {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }


  /* ----------------------------------------------------------
     特集から探す
     3列 → 2列（5枚目は2列フル幅で表示）
  ---------------------------------------------------------- */
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* 5枚目のカードを2列分に広げて中央揃え */
  .feature-grid li:nth-child(5) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }


  /* ----------------------------------------------------------
     タグから探す
     flex-wrap はそのままで余白のみ調整
  ---------------------------------------------------------- */
  .tag-list {
    gap: 8px;
  }


  /* ----------------------------------------------------------
     おすすめ賃貸物件
  ---------------------------------------------------------- */
  /* エリアタブのボタンを小さめに */
  /* エリアタブ：折り返しを防ぎ本体と密着させる */
  .tab-area__tab button {
    padding: 12px 6px;
    font-size: 0.72rem;
    white-space: nowrap;   /* 「諫早・大村」等の折り返しを防ぐ */
  }

  .tab-area__tab.is-active button {
    padding: 16px 6px;     /* アクティブは少し高く（持ち上げ） */
    font-size: 0.8rem;
  }

  /* 物件カードの横スクロール幅を調整 */
  .property-card {
    width: 180px;
  }


  /* ----------------------------------------------------------
     よくある質問
     テキストサイズのみ調整
  ---------------------------------------------------------- */
  .faq-item__q {
    font-size: 0.88rem;
    padding: 14px 16px;
  }

  .faq-item__a {
    padding: 14px 16px 16px 40px;
    font-size: 0.85rem;
  }


  /* ----------------------------------------------------------
     店舗紹介
     2列 → 1列
  ---------------------------------------------------------- */
  .store-hero {
    min-height: 220px;
    padding: 24px 20px;
  }

  .store-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* 店舗カード内：画像とテキストを縦並びに */
  .store-card__body {
    flex-direction: column;
  }

  .store-card__img {
    width: 100%;
    aspect-ratio: 16 / 9;
  }


  /* ----------------------------------------------------------
     福徳不動産の強み
     横並び → 縦並び
  ---------------------------------------------------------- */
  .strength-item {
    flex-direction: column;
    gap: 16px;
  }

  .strength-item__img {
    width: 100%;
  }


  /* ----------------------------------------------------------
     お役立ち情報
     カード内の画像サイズを縮小
  ---------------------------------------------------------- */
  .column-card__img {
    width: 90px;
  }

  .column-card a {
    gap: 14px;
    padding: 16px;
  }


  /* ----------------------------------------------------------
     電子契約の流れ
     アイコン画像を縮小
  ---------------------------------------------------------- */
  .flow-item {
    gap: 16px;
  }

  .flow-item__img {
    width: 96px;
  }


  /* ----------------------------------------------------------
     お知らせ
     余白を縮小
  ---------------------------------------------------------- */
  .news-item a {
    padding: 14px 16px;
  }

  .news-item__title {
    font-size: 0.88rem;
  }


  /* ----------------------------------------------------------
     フッター
  ---------------------------------------------------------- */
  /* 外部リンクボタンを縦並びに */
  .footer-extlinks {
    flex-direction: column;
    gap: 10px;
  }

  .footer-extlinks__btn {
    text-align: center;
    padding: 10px 16px;
  }

  /* フッターナビ：5列 → 2列 */
  .footer-nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

} /* end @media (max-width: 767px) */
/* ── おすすめ賃貸物件：AJAX読み込み中 ─────────────────────────── */
.osusume-panel {
  position: relative;
}

/* 読み込み中はリストを薄くし、操作を止める */
.osusume-panel.is-loading .property-list-wrap {
  opacity: .3;
  pointer-events: none;
  transition: opacity .15s;
}

/* ローディングオーバーレイ */
.osusume-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: rgba(255, 255, 255, .6);
}

.osusume-loading[hidden] {
  display: none;
}

.osusume-loading__spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(37, 72, 156, .2);
  border-top-color: var(--color-primary, #25489c);
  border-radius: 50%;
  animation: fkt-spin .8s linear infinite;
}

.osusume-loading__text {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary, #25489c);
}

@keyframes fkt-spin {
  to { transform: rotate(360deg); }
}

/* アニメーションを抑制する設定のユーザーには回転させない */
@media (prefers-reduced-motion: reduce) {
  .osusume-loading__spinner {
    animation: none;
    border-top-color: rgba(37, 72, 156, .2);
  }
}
