@charset "UTF-8";
/**
 * front-page.css
 *
 * [ファイルの役割]
 * トップページ（Front Page）の全セクション（hero, reasons, strengths, news-and-philosophy, cta）の
 * スタイリングを担当する専用スタイルシートです。
 * 余白設計、各ブロックの配置グリッド、アニメーションなどを定義し、
 * デザイン画像通りの美しく風格のあるWebサイトを再現します。
 *
 * @package Sunlit_Estate
 */

/* ==========================================================================
   Hero Section (fp-hero)
   ========================================================================== */
.fp-hero {
  position: relative;
  height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #eaf3f9; /* 背景は薄い水色 */
}

/* Background image overlay of Fukuoka skyline */
.fp-hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  background-size: cover;
  background-position: center right;
  z-index: 1;
}
.fp-hero__bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* 左側の水色背景から右側の空へ自然に溶け込むグラデーション */
  background: linear-gradient(90deg, #eaf3f9 0%, #eaf3f9 15%, rgba(234, 243, 249, 0.4) 60%, rgba(234, 243, 249, 0) 100%);
}

.fp-hero__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Hero left content */
.fp-hero__content {
  flex: 1 1 50%;
  max-width: 600px;
  padding-right: 40px;
}

.fp-hero__catch {
  margin-bottom: 24px;
}
.fp-hero__catch-line {
  display: block;
  font-family: var(--font-mincho);
  font-size: 46px;
  font-weight: 700;
  color: var(--color-navy);
  line-height: 1.4;
  letter-spacing: 0.05em;
}
.fp-hero__catch-cross {
  font-size: 32px;
  color: var(--color-gold);
  margin: 0 4px;
  vertical-align: middle;
}
.fp-hero__catch-dot {
  color: #3b82f6; /* 青色のピリオドドット */
  margin-left: 2px;
}
.fp-hero__underline {
  position: relative;
  display: inline-block;
}
.fp-hero__underline::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 3px;
  background-color: #3b82f6; /* 青色のアンダーライン */
}

.fp-hero__lead {
  font-size: 15px;
  color: var(--color-text-main);
  line-height: 2;
  margin-bottom: 40px;
}

/* 3 Laurel Gold Badges */
.fp-hero__badges {
  display: flex;
  gap: 20px;
}
.fp-hero__badge {
  flex: 0 1 110px;
}
.fp-hero__badge-laurel {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fp-hero__badge-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.fp-hero__badge-text {
  position: relative;
  z-index: 2;
  font-family: var(--font-mincho);
  font-size: 10px;
  font-weight: 700;
  color: var(--color-gold);
  text-align: center;
  line-height: 1.4;
}

/* Hero right visual */
.fp-hero__visual {
  flex: 1 1 50%;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 640px;
  position: relative;
}
.fp-hero__person-wrap {
  position: relative;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.fp-hero__person-img {
  height: 90%; /* 切り抜きされた代表者の写真 */
  width: auto;
  object-fit: contain;
  vertical-align: bottom;
}

/* Overlaid Business Card style */
.fp-hero__card {
  position: absolute;
  bottom: 80px;
  right: -20px;
  background-color: rgba(1, 41, 100, 0.85); /* 半透明ネイビー */
  border-left: 3px solid var(--color-gold);
  padding: 24px 30px;
  color: var(--color-white);
  min-width: 250px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
.fp-hero__card-title {
  font-size: 11px;
  color: var(--color-gold);
  margin: 0 0 6px 0;
  letter-spacing: 0.1em;
  font-weight: 500;
}
.fp-hero__card-name {
  font-family: var(--font-mincho);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 16px 0;
  letter-spacing: 0.05em;
}
.fp-hero__card-credentials {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 11px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
}
.fp-hero__card-credentials li::before {
  content: '・';
  color: var(--color-gold);
  margin-right: 2px;
}

/* ==========================================================================
   Reasons Section (fp-reasons)
   ========================================================================== */
.fp-reasons {
  background-color: var(--color-white);
}
.fp-reasons__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* PCは5カラム */
  gap: 20px;
}
.fp-reasons__card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition-smooth);
}
.fp-reasons__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(1, 41, 100, 0.08);
  border-color: var(--color-gold);
}
.fp-reasons__card-icon-wrap {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fp-reasons__icon {
  width: 60px;
  height: 60px;
}
.fp-reasons__card-title {
  font-family: var(--font-mincho);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 16px 0;
  line-height: 1.4;
}
.fp-reasons__card-desc {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.7;
  margin: 0;
  text-align: left;
}

/* ==========================================================================
   Strengths Section (fp-strengths)
   ========================================================================== */
.fp-strengths {
  background-color: var(--color-bg-light); /* 全体薄グレー背景 */
}
.fp-strengths__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 実績・インタビュー非表示のため2カラムに変更 */
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}
.fp-strengths__card {
  background-color: var(--color-white);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}
.fp-strengths__card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}
.fp-strengths__card-image-wrap {
  width: 100%;
  height: 180px;
  overflow: hidden;
}
.fp-strengths__card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.fp-strengths__card:hover .fp-strengths__card-image {
  transform: scale(1.05);
}

.fp-strengths__card-body {
  padding: 24px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: center;
}
.fp-strengths__card-title {
  font-family: var(--font-mincho);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 16px 0;
}
.fp-strengths__card-desc {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.8;
  margin: 0 0 24px 0;
}

/* Detail Button (white background, thin border) */
.fp-strengths__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 0;
  width: 100%;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition-smooth);
}
.fp-strengths__btn:hover {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}
.fp-strengths__btn-arrow {
  transition: transform 0.3s ease;
}
.fp-strengths__btn:hover .fp-strengths__btn-arrow {
  transform: translateX(4px);
}

/* Strengths dynamic post list */
.fp-strengths__card-posts {
  margin-top: 20px;
  margin-bottom: 24px;
  text-align: left;
  flex-grow: 1;
}
.fp-strengths__post-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.fp-strengths__post-item {
  border-bottom: 1px dashed var(--color-border);
  padding: 12px 0;
}
.fp-strengths__post-item:last-child {
  border-bottom: none;
}
.fp-strengths__post-link {
  display: block;
  text-decoration: none;
  transition: transform 0.2s ease;
}
.fp-strengths__post-link:hover {
  transform: translateX(4px);
}
.fp-strengths__post-date {
  display: block;
  font-size: 11px;
  color: var(--color-text-sub);
  margin-bottom: 4px;
  font-weight: 500;
}
.fp-strengths__post-title {
  display: block;
  font-size: 13px;
  color: var(--color-navy);
  font-weight: 600;
  line-height: 1.5;
  transition: var(--transition-smooth);
}
.fp-strengths__post-link:hover .fp-strengths__post-title {
  color: var(--color-gold);
}
.fp-strengths__no-posts {
  font-size: 13px;
  color: var(--color-text-sub);
  padding: 20px 0;
  text-align: center;
}

/* ==========================================================================
   News & Philosophy Section (fp-news-philosophy)
   ========================================================================== */
.fp-news-philosophy {
  background-color: var(--color-white);
}
.fp-news-philosophy__layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* 左右カラム比率 */
  gap: 60px;
}

/* News block (left) */
.fp-news {
  display: flex;
  flex-direction: column;
}
.fp-news__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--color-navy);
  padding-bottom: 12px;
}
.fp-news__title {
  font-family: var(--font-mincho);
  font-size: 26px;
  color: var(--color-navy);
  margin: 0;
  line-height: 1;
}
.fp-news__more-link {
  font-size: 12px;
  color: var(--color-text-sub);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 500;
  transition: var(--transition-smooth);
}
.fp-news__more-link:hover {
  color: var(--color-gold);
}
.fp-news__more-arrow {
  transition: transform 0.3s ease;
}
.fp-news__more-link:hover .fp-news__more-arrow {
  transform: translateX(3px);
}

.fp-news__list {
  display: flex;
  flex-direction: column;
}
.fp-news__item {
  display: flex;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}
.fp-news__date {
  width: 100px;
  font-size: 13px;
  color: var(--color-text-sub);
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 500;
}
.fp-news__item-title {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-gothic);
  line-height: 1.6;
}
.fp-news__item-title a {
  color: var(--color-text-main);
  transition: var(--transition-smooth);
}
.fp-news__item-title a:hover {
  color: var(--color-gold);
}

/* Philosophy block (right) */
.fp-philosophy {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 60px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.fp-philosophy__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(1, 41, 100, 0.85); /* 濃紺半透明オーバーレイ */
  z-index: 1;
}
.fp-philosophy__content {
  position: relative;
  z-index: 2;
  color: var(--color-white);
}

.fp-philosophy__title {
  font-family: var(--font-mincho);
  font-size: 26px;
  color: var(--color-white);
  margin: 0 0 24px 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.fp-philosophy__title-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background-color: var(--color-gold); /* タイトル横のゴールドドット */
}

.fp-philosophy__catch {
  font-family: var(--font-mincho);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  margin: 0 0 20px 0;
  color: var(--color-white);
}
.fp-philosophy__text {
  font-size: 13px;
  line-height: 2;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   Footer Call To Action Section (fp-cta)
   ========================================================================== */
.fp-cta {
  padding: 60px 0 80px;
}
.fp-cta__header {
  text-align: center;
  margin-bottom: 40px;
}
.fp-cta__header-inner {
  display: inline-block;
}
.fp-cta__header-sub {
  display: block;
  font-size: 14px;
  color: var(--color-gold);
  margin-bottom: 8px;
  font-weight: 500;
}
.fp-cta__header-main {
  font-family: var(--font-mincho);
  font-size: 28px;
  color: var(--color-white);
  margin: 0;
}

/* 3 Columns CTA Grid */
.fp-cta__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3カラム */
  gap: 30px;
}

/* Link Wrapper Buttons (Gold & White Border) */
.fp-cta__link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 130px;
  position: relative;
  text-align: center;
  transition: var(--transition-smooth);
}
.fp-cta__btn-title {
  font-family: var(--font-mincho);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}
.fp-cta__btn-sub {
  font-size: 11px;
  margin-top: 6px;
  opacity: 0.8;
}
.fp-cta__btn-arrow {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}
.fp-cta__link:hover .fp-cta__btn-arrow {
  transform: translateY(-50%) translateX(4px);
}

/* 1. Gold CTA */
.fp-cta__link--gold {
  background-color: var(--color-gold);
  color: var(--color-white);
}
.fp-cta__link--gold:hover {
  background-color: var(--color-gold-light);
}

/* 2. White Border CTA */
.fp-cta__link--border {
  border: 1px solid var(--color-white);
  color: var(--color-white);
}
.fp-cta__link--border:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/* 3. LINE Add Friend Card */
.fp-cta__line-card {
  background-color: var(--color-white);
  height: 130px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  color: var(--color-text-main);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.fp-cta__line-content {
  flex-grow: 1;
}
.fp-cta__line-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-navy);
  margin: 0 0 2px 0;
}
.fp-cta__line-sub {
  font-size: 10px;
  margin: 0 0 10px 0;
}
.fp-cta__line-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-line-green);
  color: var(--color-white);
  font-size: 12px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  transition: var(--transition-smooth);
}
.fp-cta__line-btn:hover {
  background-color: #05b04b;
  transform: translateY(-1px);
}
.fp-cta__line-qr {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  margin-left: 16px;
  border: 1px solid var(--color-border);
}
.fp-cta__line-qr-img {
  width: 100%;
  height: 100%;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media screen and (max-width: 1023px) {
  .fp-hero {
    height: auto;
    padding: 60px 0 40px 0;
  }
  .fp-hero__bg {
    width: 100%;
  }
  .fp-hero__bg-overlay {
    background: linear-gradient(180deg, rgba(234, 243, 249, 0.95) 0%, rgba(234, 243, 249, 0.85) 100%);
  }
  .fp-hero__inner {
    flex-direction: column;
    gap: 40px;
  }
  .fp-hero__content {
    flex: 1 1 100%;
    padding-right: 0;
  }
  .fp-hero__visual {
    flex: 1 1 100%;
    height: auto;
    width: 100%;
    justify-content: center;
  }
  .fp-hero__person-wrap {
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: auto;
  }
  .fp-hero__person-img {
    max-height: 360px;
    width: auto;
    object-fit: contain;
  }
  .fp-hero__card {
    position: relative;
    bottom: auto;
    right: auto;
    transform: none;
    margin-top: -30px;
    z-index: 10;
    width: 100%;
    max-width: 290px;
    box-sizing: border-box;
    padding: 20px 24px;
  }
  
  .fp-reasons__grid {
    grid-template-columns: repeat(3, 1fr); /* タブレット3カラム */
  }
  .fp-strengths__grid {
    grid-template-columns: repeat(2, 1fr); /* タブレット2カラム */
  }
  .fp-news-philosophy__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .fp-cta__grid {
    grid-template-columns: 1fr; /* タブレット以下1カラム */
    gap: 20px;
  }
  .fp-cta__link, .fp-cta__line-card {
    height: 110px;
  }
}

@media screen and (max-width: 767px) {
  .fp-hero {
    padding: 40px 0 30px 0;
  }
  .fp-hero__catch-line {
    font-size: 26px;
  }
  .fp-hero__lead {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 30px;
  }
  .fp-hero__lead br {
    display: none;
  }
  .fp-hero__badges {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }
  .fp-hero__badge {
    flex: 0 1 85px;
  }
  .fp-hero__badge-laurel {
    width: 80px;
    height: 80px;
  }
  .fp-hero__badge-text {
    font-size: 8px;
    line-height: 1.3;
  }
  .fp-hero__person-img {
    max-height: 300px;
  }
  .fp-reasons__grid {
    grid-template-columns: 1fr; /* SP 1カラム */
  }
  .fp-strengths__grid {
    grid-template-columns: 1fr; /* SP 1カラム */
  }
  .fp-philosophy {
    padding: 40px 20px;
  }
}

/* ==========================================================================
   Custom Integrated Hero Section (fp-hero-custom)
   ========================================================================== */
.fp-hero-custom {
  position: relative;
  width: 100%;
  aspect-ratio: 1024 / 379;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 480px; /* PCでの表示高さを担保 */
}

@media screen and (max-width: 1023px) {
  .fp-hero-custom {
    min-height: 340px; /* タブレット用高さ */
  }
}

@media screen and (max-width: 767px) {
  .fp-hero-custom {
    min-height: 220px; /* スマホ用高さ */
  }
}

