/* =======================================================
   Front Page Specific Styles (front.css)
   ======================================================= */

/* -------------------------------------------------------
   Layout Utilities
   ------------------------------------------------------- */
/* コンテンツ幅制限と中央寄せ */
.l-container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* セクション間の余白を広めに取る */
  .page-home section {
    margin-bottom: 80px;
  }
  
  /* 英字サブタイトル */
  .section-subtitle {
    display: block;
    text-align: center;
    font-family: "Garamond", "Times New Roman", serif; /* 上品なセリフ体 */
    font-style: italic;
    color: var(--color-main, #315a89); /* 変数がなければデフォルト色 */
    font-size: 1.2rem;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
  }
  
  /* 日本語セクションタイトル */
  .section-title {
    text-align: center;
    font-size: 2rem;
    margin: 0 0 48px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }
  
  /* -------------------------------------------------------
     Hero Section (FV) - 全画面表示
     ------------------------------------------------------- */
  .fv {
    position: relative;
    width: 100%;
    height: 100vh; /* 画面の高さいっぱいに */
    min-height: 550px; /* 最小の高さ */
    margin-bottom: 80px !important; /* FV下の余白 */
    overflow: hidden;
    background-color: #000; /* 画像読み込み前の背景 */
  }
  
  /* FV内部コンテナ */
  .fv__inner {
    width: 100%;
    height: 100%;
    position: relative;
  }
  
  /* 背景画像エリア */
  .fv__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
  }
  
  /* 画像を暗くして文字を読みやすくするフィルター */
  .fv__bg::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25); /* 黒の半透明レイヤー (濃さは0.25で調整) */
    z-index: 2;
  }
  
  /* スライダー/画像の設定 */
  .fv-slider,
  .fv-slider .swiper-slide,
  .fv__static-img {
    width: 100%;
    height: 100%;
  }
  
  .fv-slider .swiper-slide img,
  .fv__static-img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像を枠いっぱいにトリミングして表示 */
    object-position: center;
  }
  
  /* キャッチコピーなどの前面コンテンツ */
  .fv__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 上下左右中央配置 */
    z-index: 10;
    width: 90%;
    max-width: 1000px;
    text-align: center;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0,0,0,0.4);
  }
  
  /* サイトタイトル (FV内) */
  .fv__title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.4;
    letter-spacing: 0.1em;
  }
  
  /* キャッチコピー (FV内) */
  .fv__catch {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.8;
    margin: 0;
  }
  
  /* PC時のFV文字サイズ調整 */
  @media (min-width: 768px) {
    .fv__title {
      font-size: 3.8rem;
    }
    .fv__catch {
      font-size: 1.4rem;
    }
  }
  
  /* -------------------------------------------------------
     Concept Section (Introduction)
     ------------------------------------------------------- */
  .home-concept {
    text-align: center;
  }
  
  .home-concept__text {
    max-width: 720px;
    margin: 0 auto;
    line-height: 2.2;
    font-size: 1.05rem;
    color: var(--color-text, #333);
  }
  
  /* -------------------------------------------------------
     Features Section - グリッドレイアウト
     ------------------------------------------------------- */
  .home-features__list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  @media (min-width: 768px) {
    .home-features__list {
      grid-template-columns: repeat(3, 1fr); /* PCは3列 */
    }
  }
  
  .home-feature {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .home-feature:hover {
    transform: translateY(-5px); /* ホバー時に少し浮く */
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  }
  
  .home-feature__img {
    height: 220px;
    overflow: hidden;
  }
  
  .home-feature__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  /* ホバー時に画像をズーム */
  .home-feature:hover .home-feature__img img {
    transform: scale(1.05);
  }
  
  .home-feature__body {
    padding: 24px;
  }
  
  .home-feature h3 {
    font-size: 1.25rem;
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--color-main, #315a89);
    font-weight: 700;
  }
  
  .home-feature p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.7;
  }
  
  /* -------------------------------------------------------
     Price Digest Section - カードデザイン
     ------------------------------------------------------- */
  .price-digest-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
  }
  
  @media (min-width: 768px) {
    .price-digest-card {
      padding: 60px 80px; /* PCは余白をたっぷりとる */
    }
  }
  
  /* -------------------------------------------------------
     Access Digest Section - シンプルボックス
     ------------------------------------------------------- */
  .access-digest-box {
    background: var(--color-main-light, #f0f5fb); /* 薄いメインカラー背景 */
    border-radius: 16px;
    padding: 40px;
    text-align: center;
  }
  
  .access-address {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
  }
  
  /* -------------------------------------------------------
     Utilities & Buttons
     ------------------------------------------------------- */
  .text-center { text-align: center; }
  .mt-6 { margin-top: 3rem; }
  .mt-4 { margin-top: 1.5rem; }
  
  /* 枠線のみのボタン */
  .btn--outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 36px;
    border: 2px solid var(--color-main, #315a89);
    color: var(--color-main, #315a89);
    background: transparent;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
  }
  
  .btn--outline:hover {
    background: var(--color-main, #315a89);
    color: #fff;
    transform: translateY(-2px);
  }