/**
 * TOPページ リニューアル用 ピクセル一致スタイル
 * 納品データ用
 */

/* ==========================================================================
   カラー・変数
   ========================================================================== */
.front-page-renewal {
  --fp-header-nav-bg: #00698c;
  --fp-accent: #2a9dc7;
  --fp-accent-teal: #008b8b;
  --fp-contact-bg: #e8f4fc;
  --fp-footer-bg: #1e3a5f;
  --fp-gradient-start: #a78bfa;
  --fp-gradient-end: #7dd3fc;
  --fp-card-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --fp-inner-max: 1200px;
  writing-mode: horizontal-tb;
  direction: ltr;
  overflow-x: hidden;
}

/* レスポンシブ時の縦一列崩れ防止（幅を物理プロパティで指定） */
.front-page-renewal .l-contents,
.front-page-renewal .l-main {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0;
  box-sizing: border-box;
}

/* ==========================================================================
   TOP 物件検索（ヘッダー直下）背景写真
   画像: themes/gravity_tcd111/assets/img/front/property-search-bg.jpg
   ========================================================================== */
.front-page-renewal .p-archive-property-front {
  width: 100%;
  box-sizing: border-box;
  padding-block: 80px;
  background-color: var(--tcd-bg-color, #eeeeee);
  background-image: url('../../img/front/property-search-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width: 767px) {
  .front-page-renewal .p-archive-property-front {
    padding-block: 40px;
  }
}

/* 内側は従来のグレー帯（border-image）をやめ、親の背景を見せる */
.front-page-renewal .p-archive-property-front .p-archive-property {
  border-image: none;
  background: transparent;
  padding-block: 0;
}

/* ==========================================================================
   メインヘッダー（p-header-top：白 / p-header-nav：#00698C）
   ========================================================================== */
.front-page-renewal .l-header {
  background: #fff !important;
}

.front-page-renewal .p-header-top {
  grid-template-rows: 80px;
  background: #fff !important;
  border-image: none;
}

.front-page-renewal .p-header-nav {
  position: relative;
  color: #fff;
  border-image: none;
  background: transparent;
  width: 100%;
}

/* 背景のみ画面幅100%に広げる */
.front-page-renewal .p-header-nav::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  background: var(--fp-header-nav-bg);
  z-index: -1;
}

.front-page-renewal .p-header-nav__list {
  width: 100%;
}

.front-page-renewal .p-header-nav__list > li > a {
  color: #fff;
}

.front-page-renewal .p-header-nav__list > li.current-menu-item,
.front-page-renewal .p-header-nav__list > li:hover {
  background: rgba(0, 0, 0, 0.15);
}

.front-page-renewal .p-header-cta__tel-info,
.front-page-renewal .p-header-cta .c-tel {
  color: #333;
}

.front-page-renewal .p-header-cta .c-button02 {
  background: var(--fp-header-nav-bg);
  color: #fff;
}

/* ==========================================================================
   ヒーロー（物件スライダー 3枚）
   ========================================================================== */
.front-page-renewal .p-mv2 {
  padding-block: 40px 48px;
  background: #fff;
}

.front-page-renewal .p-mv2__slide {
  width: calc((100% - 48px) / 3);
  row-gap: 20px;
}

.front-page-renewal .p-mv2__link {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
}

.front-page-renewal .p-mv2__title {
  height: 72px;
  font-size: 18px;
  padding-inline: 20px;
  inset: auto 20px 0 20px;
}

.front-page-renewal .p-mv2__meta {
  padding-inline: 20px;
  font-size: 15px;
  gap: 8px;
}

.front-page-renewal .p-mv2 .c-realty-label {
  inset: 12px auto auto 12px;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: var(--fp-accent);
  color: #fff;
}

.front-page-renewal .p-mv2 .splide__pagination {
  margin-top: 24px;
  gap: 10px;
}

.front-page-renewal .p-mv2 .splide__pagination .splide__pagination__page {
  width: 10px;
  height: 10px;
  background: #b8d4e8;
  border-radius: 50%;
}

.front-page-renewal .p-mv2 .splide__pagination .splide__pagination__page.is-active {
  background: var(--fp-accent);
}

/* ==========================================================================
   コンテンツブロック見出し（英字タイトル左右の横線）
   ========================================================================== */
.front-page-renewal .p-cb-property .p-cb-header,
.front-page-renewal .p-cb-service .p-cb-header,
.front-page-renewal .p-cb-shop .p-cb-header,
.front-page-renewal .p-cb-news .p-cb-header {
  text-align: center;
}

.front-page-renewal .p-cb-property .p-cb-header-title,
.front-page-renewal .p-cb-service .p-cb-header-title,
.front-page-renewal .p-cb-shop .p-cb-header-title,
.front-page-renewal .p-cb-news .p-cb-header-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.5vw, 28px);
  width: 100%;
  box-sizing: border-box;
}

.front-page-renewal .p-cb-property .p-cb-header-title::before,
.front-page-renewal .p-cb-property .p-cb-header-title::after,
.front-page-renewal .p-cb-service .p-cb-header-title::before,
.front-page-renewal .p-cb-service .p-cb-header-title::after,
.front-page-renewal .p-cb-shop .p-cb-header-title::before,
.front-page-renewal .p-cb-shop .p-cb-header-title::after,
.front-page-renewal .p-cb-news .p-cb-header-title::before,
.front-page-renewal .p-cb-news .p-cb-header-title::after {
  content: '';
  flex: 1 1 0;
  min-width: 16px;
  height: 1px;
  background: #333;
}

/* ==========================================================================
   PICK UP セクション
   ========================================================================== */
.front-page-renewal .p-cb-property .p-cb-header-title {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.05em;
}

.front-page-renewal .p-cb-property .p-cb-header-subtitle {
  font-size: 15px;
  color: #666;
}

.front-page-renewal .p-cb-property .p-property-cards {
  gap: 24px 24px;
}

/* ==========================================================================
   暮らしセクション（選ぶのは立地、つくるのは暮らし）
   ========================================================================== */
.front-page-renewal .p-top-lifestyle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.front-page-renewal .p-top-lifestyle__images {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 220px;
  gap: 16px;
}

/* 上：リビング等の大画像（横長・左カラム上段の約60%幅感） */
.front-page-renewal .p-top-lifestyle__main-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center center;
  border-radius: 8px;
}

/* 下段：左が狭め（玄関・廊下）、右が広め（キッチン・ダイニング） */
.front-page-renewal .p-top-lifestyle__sub {
  display: grid;
  grid-template-columns: 4fr 6fr;
  gap: 16px;
}

.front-page-renewal .p-top-lifestyle__sub-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center center;
  border-radius: 8px;
}

.front-page-renewal .p-top-lifestyle__blob {
  position: relative;
  padding: 48px 40px;
  border-radius: 60% 40% 50% 50% / 50% 60% 40% 50%;
  background: linear-gradient(180deg, var(--fp-gradient-start) 0%, var(--fp-gradient-end) 100%);
  color: #000;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.front-page-renewal .p-top-lifestyle__blob-title {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #000;
}

.front-page-renewal .p-top-lifestyle__blob-text {
  font-size: 15px;
  line-height: 1.9;
  color: #000;
}

@media (max-width: 991px) {
  .front-page-renewal .p-top-lifestyle {
    grid-template-columns: 1fr;
  }
  .front-page-renewal .p-top-lifestyle__blob {
    order: -1;
    min-height: 260px;
  }
}

/* ==========================================================================
   SERVICE セクション（上段2列＋不動産仲介全幅）
   ========================================================================== */
.front-page-renewal .p-cb-service .p-cb-header-title {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.05em;
}

.front-page-renewal .p-top-service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.front-page-renewal .p-top-service-item {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
}

/* 不動産仲介：グリッド全列（上段カードと同じ高さ感になるよう横長比率） */
.front-page-renewal .p-top-service-item--full {
  grid-column: 1 / -1;
  aspect-ratio: 8 / 3;
}

.front-page-renewal a.p-top-service-item--link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.front-page-renewal .p-top-service-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.front-page-renewal .p-top-service-item__label {
  position: absolute;
  left: 20px;
  bottom: 20px;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.front-page-renewal .p-top-service-item__label-en {
  font-size: 15px;
  font-weight: 600;
  display: block;
  margin-bottom: 4px;
}

.front-page-renewal .p-top-service-item__label-ja {
  font-size: 12px;
  opacity: 0.95;
}

/* 英字なし（日本語のみ）のカード */
.front-page-renewal .p-top-service-item--ja-only .p-top-service-item__label-ja {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
}

@media (max-width: 767px) {
  .front-page-renewal .p-top-service-grid {
    grid-template-columns: 1fr;
  }

  .front-page-renewal .p-top-service-item--full {
    aspect-ratio: 4 / 3;
  }
}

/* ==========================================================================
   SHOP セクション
   ========================================================================== */
.front-page-renewal .p-cb-shop .p-cb-header-title {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.05em;
}

.front-page-renewal .p-cb-shop .p-cb-header-subtitle {
  font-size: 15px;
  color: #666;
}

.front-page-renewal .p-top-shop {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.front-page-renewal .p-top-shop__blob {
  padding: 48px 40px;
  border-radius: 50% 50% 40% 60% / 40% 50% 50% 60%;
  background: linear-gradient(180deg, var(--fp-gradient-end) 0%, var(--fp-gradient-start) 100%);
  color: #000;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.front-page-renewal .p-top-shop__blob-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #000;
}

.front-page-renewal .p-top-shop__blob-text {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 20px;
  color: #000;
}

.front-page-renewal .p-top-shop__blob .c-button01 {
  align-self: flex-start;
  background: var(--fp-accent);
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 15px;
}

.front-page-renewal .p-top-shop__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

@media (max-width: 991px) {
  .front-page-renewal .p-top-shop {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   NEWS セクション
   ========================================================================== */
.front-page-renewal .p-cb-news .p-cb-header-title {
  font-size: 36px;
  font-weight: 700;
  color: #333;
  letter-spacing: 0.05em;
}

.front-page-renewal .p-cb-news .p-news-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.front-page-renewal .p-cb-news .p-news-cards-item {
  display: grid;
  row-gap: 12px;
}

.front-page-renewal .p-cb-news .p-news-cards-item__image {
  aspect-ratio: 4 / 3;
  border-radius: 8px;
  overflow: hidden;
}

.front-page-renewal .p-cb-news .p-news-cards-item__date {
  font-size: 12px;
  color: #999;
}

.front-page-renewal .p-cb-news .p-news-cards-item__title {
  font-size: 15px;
  line-height: 1.6;
}

.front-page-renewal .p-cb-news .p-cb-button.c-button01 {
  background: var(--fp-accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: 8px;
  margin-top: 16px;
}

@media (max-width: 991px) {
  .front-page-renewal .p-cb-news .p-news-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .front-page-renewal .p-cb-news .p-news-cards {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Contact セクション（モダンなカード・CTA）
   青背景エリアは画面幅の約60％（親より広い場合は親幅に収める）
   ========================================================================== */
.front-page-renewal .p-top-contact {
  position: relative;
  width: min(60vw, 100%);
  margin-left: auto;
  margin-right: auto;
  padding: clamp(40px, 6vw, 64px) clamp(20px, 4vw, 40px);
  border-radius: 24px;
  text-align: center;
  overflow: hidden;
  box-sizing: border-box;
  background:
    linear-gradient(165deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(145deg, #f0f8fc 0%, #e4f0f8 50%, #ddeaf4 100%);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 16px 48px -16px rgba(30, 58, 95, 0.14),
    0 0 0 1px rgba(42, 157, 199, 0.06) inset;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.front-page-renewal .p-top-contact::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 0;
  right: 0;
  width: 100%;
  height: 55%;
  background: radial-gradient(ellipse 120% 100% at 50% 0%, rgba(125, 211, 252, 0.38) 0%, transparent 68%);
  pointer-events: none;
}

.front-page-renewal .p-top-contact > * {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 920px;
}

.front-page-renewal .p-top-contact__title {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Hiragino Sans', 'Noto Sans JP', sans-serif;
  background: linear-gradient(125deg, #1e3a5f 0%, #234a73 42%, #2a9dc7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.front-page-renewal .p-top-contact__subtitle {
  display: inline-block;
  margin: 0 0 16px;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: #64748b;
  text-transform: uppercase;
}

.front-page-renewal .p-top-contact__text {
  margin: 0 auto 28px;
  max-width: 36em;
  font-size: 15px;
  line-height: 1.85;
  color: #475569;
}

.front-page-renewal .p-top-contact__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 16px;
}

.front-page-renewal .p-top-contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: min(100%, 260px);
  min-height: 54px;
  padding: 14px 26px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.front-page-renewal .p-top-contact__btn svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}

.front-page-renewal .p-top-contact__btn--tel {
  color: #fff;
  background: linear-gradient(180deg, #3d4856 0%, #1e293b 100%);
  box-shadow:
    0 4px 16px rgba(15, 23, 42, 0.22),
    0 0 0 1px rgba(255, 255, 255, 0.08) inset;
}

.front-page-renewal .p-top-contact__btn--tel:hover {
  transform: translateY(-2px);
  box-shadow:
    0 10px 28px rgba(15, 23, 42, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.front-page-renewal .p-top-contact__btn--mail {
  color: #fff;
  background: linear-gradient(180deg, #3db3d9 0%, #2a9dc7 45%, #2389b0 100%);
  box-shadow:
    0 4px 18px rgba(42, 157, 199, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.front-page-renewal .p-top-contact__btn--mail:hover {
  transform: translateY(-2px);
  box-shadow:
    0 12px 32px rgba(42, 157, 199, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.14) inset;
}

.front-page-renewal .p-top-contact__btn:focus-visible {
  outline: 2px solid var(--fp-accent);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .front-page-renewal .p-top-contact__btn {
    width: 100%;
    min-width: 0;
  }
}

/* ==========================================================================
   フッター（ダークブルー）
   ========================================================================== */
/* フッター：画像どおりシンプル（ダークブルー＋上下ライトブルー線・コピーライトのみ） */
.front-page-renewal .l-footer {
  background: #fff !important;
  padding: 0;
}

.front-page-renewal .l-footer .l-inner {
  padding: 0;
  max-width: none;
}

.front-page-renewal .l-footer .p-footer-banner,
.front-page-renewal .l-footer .p-footer-main {
  display: none !important;
}

.front-page-renewal .p-footer-copyright {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background: #1a237e !important;
  color: #fff;
  border-top: 3px solid #007bff;
  border-bottom: 3px solid #007bff;
  padding: 16px 20px;
  text-align: center;
  box-sizing: border-box;
}

.front-page-renewal .p-footer-copyright p {
  font-size: 15px;
  color: #fff;
  padding: 0;
  margin: 0;
}

/* リニューアル時：コンテンツブロック上余白 */
.front-page-renewal .p-cb {
  margin-top: 56px;
}

@media (max-width: 767px) {
  .front-page-renewal .p-cb {
    margin-top: 40px;
  }
}
