﻿/* ============================================================
   梶原エステート 追加コンポーネント
   (2026リニューアル: 相続・投資不動産コンサルティング路線)
   ============================================================ */

/* ---- ロゴ(透過のまま表示) ---- */
.footer .f-logoArea img { max-height: 64px; }

/* ---- フッターのCTAパネル(ネイビー背景から白カードで浮かせる) ---- */
#siteFooter .box-catlist-01 .con-wrap .wrap {
  display: block;
  background: #fff;
  border-radius: 12px;
  padding: 18px 16px 16px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .28);
  transition: transform .15s;
}
#siteFooter .box-catlist-01 .con-wrap .wrap:hover { transform: translateY(-2px); }
#siteFooter .box-catlist-01 .title { background: #0b3868; color: #fff; border-radius: 6px; }
#siteFooter .box-catlist-01 .txt,
#siteFooter .box-catlist-01 .telnumber { color: #0b3868; }
#siteFooter .box-catlist-01 .ruby { color: #667; }

/* ---- フッターの会社情報 ---- */
.p-footer-company { margin-top: 18px; text-align: center; color: #fff; font-size: 12.5px; line-height: 2; }
.p-footer-company p { margin: 0; }
.p-footer-company .corp { font-size: 15px; font-weight: bold; letter-spacing: .05em; margin-bottom: 4px; }
@media screen and (max-width: 780px) {
  .p-footer-company { font-size: 11.5px; padding: 0 16px; }
}

/* ---- メインビジュアルのキャッチコピー(明朝体+黒縁で写真上の視認性を確保) ---- */
.maincatch .catch,
.maincatch .subcatch {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-weight: 700;
  text-shadow:
    -1px -1px 0 rgba(0, 0, 0, .75),
     1px -1px 0 rgba(0, 0, 0, .75),
    -1px  1px 0 rgba(0, 0, 0, .75),
     1px  1px 0 rgba(0, 0, 0, .75),
    -1px  0   0 rgba(0, 0, 0, .75),
     1px  0   0 rgba(0, 0, 0, .75),
     0   -1px 0 rgba(0, 0, 0, .75),
     0    1px 0 rgba(0, 0, 0, .75),
     0    3px 14px rgba(0, 0, 0, .45);
}
/* デスクトップ: CTAパネルがMV下部に重なるため、キャッチ全体を少し上へ寄せて被りを防ぐ */
@media screen and (min-width: 781px) {
  #mainvisual .maincatch { top: 46%; }
}

/* サブキャッチ(メインと同じボックス幅にして左端をそろえた一体ブロック) */
#mainvisual .maincatch .subcatch {
  display: block;
  width: 90%;
  margin: 16px auto 0;
  color: #fff;
  font-size: 1.9rem;
  letter-spacing: 0.12em;
  line-height: 1.6;
}
@media screen and (min-width: 1701px) {
  #mainvisual .maincatch .subcatch { font-size: 1.1vw; }
}
@media screen and (max-width: 1400px) {
  #mainvisual .maincatch .subcatch { width: 100%; font-size: 1.6rem; padding: 0 30px; }
}

/* スマホ: 2行目(と言える不動産会社に、〜)が段落ちしないよう文字サイズのみで調整 */
@media screen and (max-width: 780px) {
  #mainvisual .maincatch .catch { font-size: 3.7vw; }
  #mainvisual .maincatch .subcatch { font-size: 3vw; padding: 0 15px; margin-top: 10px; }
}

/* ---- メインビジュアルのボタン(全てゴールド) ---- */
.p-mv-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.p-mv-btns .mvbtn { display: inline-block; padding: 13px 30px; border-radius: 999px; background: linear-gradient(180deg, #cfae67, #b8944a); color: #fff; font-size: 15px; font-weight: bold; text-decoration: none; text-shadow: 0 1px 2px rgba(0,0,0,.25); box-shadow: 0 3px 10px rgba(0,0,0,.25); transition: transform .15s, background .2s; }
.p-mv-btns .mvbtn:hover { background: linear-gradient(180deg, #d9ba74, #c19d51); transform: translateY(-2px); }

/* メインビジュアルのスクリム(写真に薄い暗色を重ねて文字を読みやすく) */
.slider01::before { content: ""; position: absolute; inset: 0; z-index: 3; background: linear-gradient(180deg, rgba(8, 24, 48, .18), rgba(8, 24, 48, .34)); pointer-events: none; }

/* ---- 強みチェックリスト(白パネル+丸チェック) ---- */
.p-check-list { background: #fff; border: 1px solid #e9e9e9; border-radius: 12px; box-shadow: 0 2px 14px rgba(0,0,0,.05); padding: 6px 26px; margin: 24px 0; }
.unit-edit-01 ul.p-check-list li, .p-check-list li { display: flex; align-items: center; gap: 14px; margin: 0; padding: 13px 0; border-bottom: 1px dashed #e3e3e3; font-size: 15px; line-height: 1.6; background: none; border-radius: 0; }
.p-check-list li:last-child { border-bottom: none; }
.unit-edit-01 ul.p-check-list li::before, .p-check-list li::before { content: "✓"; position: static; margin: 0; flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: #0b3868; color: #fff; font-size: 14px; font-weight: bold; display: flex; align-items: center; justify-content: center; transform: none; }

/* ---- 選ばれる3つの理由(全幅セクション) ---- */
.p-reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.p-reason-card { background: #fff; border: 1px solid #e9e9e9; border-top: 4px solid #0b3868; border-radius: 12px; padding: 32px 28px 30px; box-shadow: 0 2px 14px rgba(0,0,0,.04); }
.p-reason-card .num { display: block; font-size: 15px; font-weight: bold; color: #0b3868; letter-spacing: .12em; line-height: 1; margin-bottom: 16px; }
.p-reason-card .num::before { content: "REASON "; }
.p-reason-card .ttl { font-size: 17px; font-weight: bold; line-height: 1.6; margin-bottom: 12px; min-height: 3.2em; display: flex; align-items: center; }
.p-reason-card .txt { font-size: 13.5px; line-height: 2; color: #555; }
@media screen and (max-width: 999px) {
  .p-reason-card .ttl { min-height: 0; }
}

/* ---- 代表紹介の資格バッジ(テーマのliスタイルを打ち消し) ---- */
.p-rep-quals { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0 18px; }
.unit-edit-01 ul.p-rep-quals li, .p-rep-quals li { margin: 0; padding: 6px 14px; background: #f3edde; color: #8a6f35; font-size: 12px; font-weight: bold; line-height: 1.5; border-radius: 999px; }
.unit-edit-01 ul.p-rep-quals li::before, .p-rep-quals li::before { content: none; margin: 0; }
.p-rep-name { font-size: 20px; font-weight: bold; margin-bottom: 4px; }
.p-rep-role { font-size: 12px; color: #888; margin-bottom: 10px; }

/* ---- サービス紹介(3分類) ---- */
.p-service-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 36px 0 40px; }
.p-service-group { background: rgba(255,255,255,.96); border-radius: 10px; padding: 26px 24px; }
.p-service-group .g-ttl { font-size: 18px; font-weight: bold; text-align: center; padding-bottom: 14px; margin-bottom: 16px; border-bottom: 2px solid #0b3868; }
.p-service-group ul li { position: relative; padding: 8px 0 8px 22px; font-size: 14px; border-bottom: 1px dashed #e0e0e0; }
.p-service-group ul li:last-child { border-bottom: none; }
.p-service-group ul li::before { content: ""; position: absolute; left: 4px; top: 50%; transform: translateY(-50%); width: 8px; height: 8px; border-radius: 50%; background: #0b3868; }

/* ---- 実績カード(トップ・実績ページ共通) ---- */
.p-works-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 0 0 40px; }
.p-works-filter .fbtn { display: inline-block; padding: 10px 28px; border: 2px solid #0b3868; border-radius: 999px; background: #fff; color: #333; font-size: 15px; font-weight: bold; cursor: pointer; transition: background .2s, color .2s; }
.p-works-filter .fbtn.is-active, .p-works-filter .fbtn:hover { background: #0b3868; color: #fff; }
.p-works-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 24px; }
.p-works-card { border: 1px solid #e5e5e5; border-radius: 8px; overflow: hidden; background: #fff; display: flex; flex-direction: column; text-align: left; }
.p-works-card .thumb { aspect-ratio: 3 / 2; overflow: hidden; background: #f2f2f2; }
.p-works-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p-works-card .body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.p-works-card .tag { display: inline-block; align-self: flex-start; background: #f3edde; color: #8a6f35; font-size: 12px; font-weight: bold; border-radius: 4px; padding: 3px 10px; margin-bottom: 10px; }
.p-works-card .ttl { font-size: 16px; font-weight: bold; line-height: 1.5; margin-bottom: 8px; }
.p-works-card .txt { font-size: 13px; line-height: 1.8; color: #555; flex: 1; overflow-wrap: break-word; word-break: break-word; }
.p-works-card .txt p { margin: 0 0 .5em; }
.p-works-card .date { font-size: 12px; color: #999; margin-top: 12px; }
.p-works-empty { text-align: center; padding: 60px 0; color: #666; }

/* ---- お客様の声カード ---- */
.p-voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.p-voice-card { background: #fff; border: 1px solid #e5e5e5; border-radius: 10px; padding: 24px; position: relative; text-align: left; }
.p-voice-card::before { content: "\201C"; position: absolute; top: 6px; left: 16px; font-size: 48px; color: #dccfa9; font-family: Georgia, serif; line-height: 1; }
.p-voice-card .label { display: inline-block; background: #f3edde; color: #8a6f35; font-size: 12px; font-weight: bold; border-radius: 4px; padding: 3px 10px; margin: 14px 0 10px; }
.p-voice-card .ttl { font-size: 15px; font-weight: bold; line-height: 1.6; margin-bottom: 10px; }
.p-voice-card .txt { font-size: 13px; line-height: 1.9; color: #555; overflow-wrap: break-word; word-break: break-word; }
.p-voice-card .txt p { margin: 0 0 .5em; }

/* 代表紹介セクション: 理由セクション直後の上余白を詰める */
.section-indexAbout-01.p-sec-rep { padding-top: 80px; }

/* サービスセクション: 旧7枚バナー用の min-height を解除 */
.section-indexService-01 { min-height: 0 !important; }

/* ---- サービスページの取扱項目チップ ---- */
.p-svc-items { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.p-svc-items li { margin: 0; background: #f3edde; color: #8a6f35; font-size: 13px; font-weight: bold; line-height: 1.5; border-radius: 999px; padding: 6px 16px; }
#souzoku, #toushi, #chintai { scroll-margin-top: 90px; }

/* トップのサービス分類カードから詳細への導線 */
.p-service-group .g-more { display: block; text-align: right; margin-top: 14px; font-size: 13px; font-weight: bold; color: #8a6f35; text-decoration: none; }
.p-service-group .g-more:hover { text-decoration: underline; }

/* ---- FAQのカテゴリ見出し ---- */
.box-faq-01 .p-faq-cat { margin: 56px 0 4px; padding: 12px 20px; background: #0b3868; color: #fff; font-size: 18px; font-weight: bold; letter-spacing: .06em; border-radius: 8px; }
.box-faq-01 .p-faq-cat:first-child { margin-top: 0; }
@media screen and (max-width: 599px) {
  .box-faq-01 .p-faq-cat { font-size: 16px; padding: 10px 14px; margin-top: 40px; }
}

/* ---- トップページ汎用セクション ---- */
.p-index-sec { padding: 70px 0; }
.p-index-sec.bg-green { background: #f2f5f9; }
.p-index-sec .sec-lead { text-align: center; font-size: 14px; line-height: 2; margin: -10px 0 30px; }
.p-index-more { margin-top: 36px; text-align: center; }

/* ---- ブログ記事のトップ画像(本文画像のスタイルは post-content.css) ---- */
.p-post-hero { margin: 0 0 28px; }
.p-post-hero img { display: block; width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 10px; cursor: zoom-in; pointer-events: auto; }

/* ブログ一覧のアイキャッチ: テーマがheight:autoのため、cover枠にして表示位置指定を有効化 */
.box-bloglist-02 .con > .inner .img-box { aspect-ratio: 750 / 530; }
.box-bloglist-02 .con > .inner .img-box img { width: 100%; height: 100%; object-fit: cover; }

/* ライトボックス */
.p-lightbox { position: fixed; inset: 0; background: rgba(0,0,0,.88); display: none; align-items: center; justify-content: center; z-index: 9999; }
.p-lightbox.is-open { display: flex; }
.p-lightbox .lb-img { max-width: 88vw; max-height: 84vh; object-fit: contain; border-radius: 6px; }
.p-lightbox button { position: absolute; background: rgba(255,255,255,.14); color: #fff; border: none; cursor: pointer; border-radius: 50%; width: 48px; height: 48px; font-size: 26px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.p-lightbox button:hover { background: rgba(255,255,255,.28); }
.p-lightbox .lb-close { top: 18px; right: 18px; }
.p-lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.p-lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.p-lightbox .lb-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; letter-spacing: .1em; }

/* ---- レスポンシブ ---- */
@media screen and (max-width: 999px) {
  .p-works-grid, .p-voice-grid, .p-reasons, .p-service-groups { grid-template-columns: repeat(2, 1fr); }
}
@media screen and (max-width: 599px) {
  .p-works-grid, .p-voice-grid, .p-reasons, .p-service-groups, .p-check-list { grid-template-columns: 1fr; }
  .p-works-filter .fbtn { padding: 8px 20px; font-size: 13px; }
  .p-mv-btns .mvbtn { padding: 11px 22px; font-size: 13px; }
  .p-index-sec { padding: 46px 0; }
}
