@charset "UTF-8";


*, *::before, *::after {
    box-sizing: border-box; /* 余白によるハミ出しを防止 */
}
html, body {
    overflow-x: hidden; /* 横スクロールを強制禁止 */
}

/* ==========================================
   【修正】ヘッダー・フッター・共通エリアの保護設定
============================================ */

.main {
    padding-top: 0 !important;
    margin-top: 0 !important;
    background-color: #000 !important;
    color: #fff !important;
}

header, #header, .header {
    position: fixed !important;
    top: 0 !important;
    width: 100% !important;
    z-index: 10000 !important;
}

footer, .footer, #footer,
.common__contact,
.main__block {
    position: relative !important;
    z-index: 9999 !important;
}

.sp {
    display: none;
}

.pc {
    display: block;
}

/* ==========================================
   全体ベーススタイル・共通ユーティリティ
============================================ */
img {
    max-width: 100%;
    height: auto;
    display: block;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.text-center {
    text-align: center;
}
.section-padding {
    padding: 130px 0;
}

/* 共通コンポーネント */
.big-number {
    background:url(../img/img_100.png) center center / 500px no-repeat;
    width: 100%;
    padding: 90px 0;
    margin: 0 auto 110px;
}
.big-number p{
    font-size: 2.5rem;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.75),3px 0 10px rgba(0, 0, 0, 0.75),0 -3px 10px rgba(0, 0, 0, 0.75),-3px 0 10px rgba(0, 0, 0, 0.75);
    font-weight: bold;
}
.font_sm{
    font-size: 0.7em;
}
.font_l{
    font-size: 1.8em;
}

/* ==========================================
   1. 最初の背景固定セクション（アニメーション含む）
============================================ */
.fixed-bg-section-1 {
    background-image: url('../img/bg_section1.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
}
.hero-view {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.hero-title-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 2rem;
    line-height: 1;
    text-align: left;
    padding: 0 55px 0 30px;
}
.hero-title-wrap .large {
    font-size: 10rem;
}
.hero-title-wrap .big-number img {
    width: 300px;
}
.hero-view img.pc{
  margin-left:20px;
}
.hero-sub_1 {
    text-align: left;
    font-size: 1.5em;
}
.hero-sub_2 {
    font-size: 2rem;
    margin-top: 10px;
    color: #fff;
    border: 1px solid #fff;
    padding: 10px 20px;
    display: inline-block;
    text-align: center;
}
.gold-box {
    background: linear-gradient(90deg, #bb8a2e 0%, #f9e28e 30%, #a67c00 70%, #f1d886 100%);
    color: #000;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    width: 75%;
    height: 75px;
    margin: 80px auto 0;
    text-shadow: 
      0 0 2px rgba(255, 255, 255, 0.8),
      0 0 4px rgba(255, 255, 255, 0.6),
      0 0 6px rgba(255, 255, 255, 0.4);
}

/* ==========================================
   スクロールアニメーションエリアのパネル制御
============================================ */
.scroll-animation-area {
    margin-top: -30vh; 
    z-index: 10;
    margin-bottom: -30vh; 
    position: relative !important;
    height: 500vh !important;
    display: block !important;
    overflow: visible !important;
}

html, body, .main, .fixed-bg-section-1 {
    overflow: visible !important;
}

.sticky-container {
    position: sticky !important;
    top: 0 !important;
    height: 100vh !important;
    width: 100% !important;
    display: block !important;
    z-index: 10 !important;
    opacity: 0;
    transition: opacity 0.3s ease-in-out !important;
    pointer-events: none;
}
.sticky-container.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.category-panel {
    position: absolute;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: rgba(36, 36, 36, 0.95);
    opacity: 0;
    transition: opacity 1s ease; 
    pointer-events: none;
    padding: 0 5%;
}

.category-panel.right-side { right: 0; width: 50%; }
.category-panel.left-side { left: 0; width: 50%; }

.category-panel.is-show {
    opacity: 1;
}

.category-panel .category {
    color: #d5c99b;
    font-size: 2.2rem;
    margin-bottom: 40px;
}

.fade-items-container {
    position: relative;
    width: 100%;
    height: 120px;
}

.fade-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    font-size: 2.2rem;
}
.fade-item p{
  font-size: 2.5rem;
}
.fade-item.is-active {
    opacity: 1;
    transform: translateY(0);
}

.fade-item.is-exit {
    opacity: 0;
    transform: translateY(-40px);
}

.main-intro-title {
    height: auto;
    padding: 400px 0 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 25;
}
.main-intro-title h2 {
    font-size: 3.5rem;
    font-weight: normal;
    line-height: 1.4;
    margin: 0;
}
.main-intro-title .sub {
    font-size: 3.5rem;
    margin-bottom: 15px;
}

/* ==========================================
   2. 100m²超×全邸南向きの希少性 ＋ 床下収納
============================================ */
.fixed-bg-section-2 {
    background-image: url('../img/bg_section2.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
.rarity-lead {
    color: #b3a17e;
    font-size: 2.3rem;
}
.rarity-title {
    font-size: 4.5rem;
    margin: 20px 0;
}
.rarity-note {
    font-size: 2.3rem;
}
.data-flex-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 50px;
}
.dummy-graph {
    width: 100%;
    max-width: 530px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.graph-note {
    font-size: 1.2rem;
    margin-top: 5px;
}
.graph-note_2 {
    font-size: 1.3rem;
    font-weight: bold;
}
.white-text-box {
    background-color: #fff;
    color: #000;
    padding: 45px;
    max-width: 800px;
    width: 100%;
    text-align: center;
    font-size: 1.8rem;
}
.white-text-box p{
    line-height: 2.5;
}
.white-text-box .white-box-footer {
    margin-top: 30px;
    line-height: 1.8;
}
.highlight-gold {
    color: #b3a17e;
    font-size: 2.8rem;
    font-weight: bold;
}
.storage-inner-section {
    margin-top: 150px;
    padding-top: 100px;
    text-align: left;
}
.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.storage-text-side h3 {
    font-size: 2.2rem;
    font-weight: normal;
    margin-bottom: 20px;
}
.storage-text-side .gold-text {
    font-size: 3rem;
    color: #ccbc9d;
    font-weight: bold;
    margin-bottom: 25px;
}
.storage-text-side p {
    font-size: 1.8rem;
    line-height: 2;
}

/* ==========================================
   3. 駐車場設置率100% セクション
============================================ */
.fixed-bg-section-3 {
    background-image: url('../img/bg_section3.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
.parking-lead {
    color: #ccbc9d;
    font-size: 2.2rem;
    font-weight: bold;
}
.parking-title {
    font-size: 2.8rem;
    margin: 25px 0 35px;
}
.parking-note {
    font-size: 1.8rem;
    line-height: 2;
    margin-bottom: 30px;
}
.parking-note_2 {
    font-size: 1.4rem;
    line-height: 1.8;
    margin-top: 15px;
}
.parking-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 95px;
    padding-bottom: 100px;
}
.parking-graph-wrapper {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.parking-graph-sub {
    font-size: 1.1rem;
    margin: 10px 0;
    color: #ccbc9d;
}
.parking-graph-val {
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
}
.parking-info-list {
    text-align: left;
    max-width: 550px;
    width: 100%;
}
.info-title {
    font-weight: bold;
    margin-bottom: 30px;
    font-size: 1.8rem;
}
.parking-info-list ul {
    list-style: none;
}
.parking-info-list li {
    margin-bottom: 10px;
    font-size: 1.6rem;
}
.parking-info-list li span {
    color: #ccbc9d;
}
.info-note{
    font-size: 1.2rem;
    margin-bottom: 40px;
}
.info-strong {
    color: #ccbc9d;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 3rem;
}
.info-desc {
    font-size: 1.8rem;
    line-height: 2;
}
.parking-footer-text {
    text-align: center;
    font-size: 2.4rem;
}

/* ==========================================
   4. 光と開放感に〜 セクション
============================================ */
.fixed-bg-section-4 {
    background-image: url('../img/bg_section4.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    padding-top: 0 !important;
}
.section-highlight-bg {
    width: 100%;
    background-color: rgba(204, 188, 157, 0.5);
    padding: 65px 0;
    text-align: center;
    margin-top: 0;
    margin-bottom: 50px;
}
.light-section-content {
    text-align: center;
}
.section-highlight-bg .section-title-line {
    margin-bottom: 10px;
}
.section-highlight-bg h2 {
    margin: 0;
    font-size: 4rem;
    font-weight: bold;
    color: #000000;
}
.section-title-line {
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 0.3em;
    margin-bottom: 10px;
    color: #a58952;
}
.light-section-content h2 {
    font-size: 2rem;
    font-weight: normal;
    margin-bottom: 60px;
}
.plan-grid {
    display: flex;
    flex-direction: space-between;
    gap: 150px;
    align-items: flex-start;
    text-align: left;
}
.plan-text-box {
    background-color: rgba(213, 201, 155, 0.3);
    padding: 50px 40px;
    width: 100%;
    max-width: 500px;
}
.plan-text-box h4 {
    font-size: 2.4rem;
    margin-bottom: 25px;
    color: #a58952;
}
.plan-text-box p {
    font-size: 1.6rem;
    color: #000;
}
.closet-row {
    margin-top: 60px;
    display: flex;
    flex-direction: space-between;
    gap: 100px;
    align-items: center;
    text-align: left;
}
.closet-img{
    width: 600px;
}

/* ==========================================
   5. 空気感を体験する セクション
============================================ */
.fixed-bg-section-5 {
    background-image: url('../img/bg_section5.jpg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
}
.bottom-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    text-align: left;
    margin-top: 50px;
}
.bottom-text-side h3 {
    font-size: 4rem;
    font-weight: normal;
    margin-bottom: 30px;
    line-height: 1.6;
}
.bottom-text {
    font-size: 2rem;
    margin-top: 30px;
}
.bottom-note {
    font-size: 1.6rem;
    margin-top: 30px;
}
.bottom-emphasis{
    font-size: 2rem;
    color: #ccbc9d;
    font-weight: bold;
    margin-top: 30px;
}
.bottom-grid video {
    width: 450px;
    max-width: 100%;
    height: auto;
    max-width: 450px;
    border: 1px solid #000;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}


/* ==========================================
   6. レスポンシブ対応（全角・構造エラー修正版）
============================================ */
@media screen and (max-width: 768px) {
  .sp {
    display: block;
  }
  .pc {
    display: none;
  }

  .fixed-bg-section-1{
    background-image: url('../img/bg_section1_sp.jpg');
  }
  .section-padding {
    padding:0;
  }
    /* ==========================================
       【スマホ専用】1枚画像をベースに表示位置を数値で微調整
    ============================================ */
    .scroll-animation-area .sticky-container .category-panel.right-side, 
    .scroll-animation-area .sticky-container .category-panel.left-side {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        /* 元の1枚の背景画像に戻す */
        background-image: url('../img/bg_section1_sp.jpg');
        background-attachment: fixed !important;
        background-size: cover !important;
        background-color: transparent !important;
    }

    /* -------------------------------------------------------------
       【広さへのこだわり（右パネル）】時の背景表示位置
       ※見せたい部分がもっと左にあるなら 15% や 10% に減らす。
       ※もっと中央に寄せたいなら 30% や 40% に増やす。
    ------------------------------------------------------------- */
    .scroll-animation-area .sticky-container .category-panel.right-side {
        background-position: 20% center !important; /* ←★ここの％を調整 */
        background-image: url('../img/bg_section1.jpg');
    }
    .scroll-animation-area .sticky-container .category-panel.right-side::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
    }

    /* -------------------------------------------------------------
       【愛車へのこだわり（左パネル）】時の背景表示位置
       ※見せたい部分がもっと右にあるなら 85% や 90% に増やす。
       ※もっと中央に寄せたいなら 70% や 60% に減らす。
    ------------------------------------------------------------- */
    .scroll-animation-area .sticky-container .category-panel.left-side {
        background-position: 70% center !important; /* ←★ここの％を調整 */
        background-image: url('../img/bg_section1.jpg');

    }
    .scroll-animation-area .sticky-container .category-panel.left-side::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
    }

    /* ==========================================
       テキスト階層と視認性サポート（維持）
    ============================================ */
    .category-panel .category,
    .fade-items-container {
        position: relative;
        z-index: 1;
    }
    .category-panel .category,
    .fade-item p {
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    }
    .fade-item {
        font-size: 1.6rem;
    }

    /* ==========================================
       その他の既存SPスタイル（維持）
    ============================================ */
    .grid-2col, .plan-grid, .closet-row, .bottom-grid {
        grid-template-columns: 1fr !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 30px;
    }
    .hero-title-wrap {
        gap: 10px;
        padding: 0;
    }
    .hero-sub_2 {
        font-size: 1.2rem;
        padding: 5px;
    }
    .gold-box{
      font-size: 1.5rem;
      width: 100%;
      height: auto;
      padding: 10px;
      margin-top: 40px;
    }
    .hero-title-wrap .large {
      font-size: 2.5rem;
    }
    .main-intro-title .sub {
      font-size: 2.2rem;
    }
    .main-intro-title h2 {
      font-size: 2.8rem;
    }
    .big-number {
      background-size: 300px !important;
      padding: 60px 0 !important;
      margin: 0 auto 60px;
    }
    .big-number p{
      font-size: 1.8rem;
    }
    .rarity-lead {
      margin-top: 50px;
      font-size: 1.2rem;
    }
    .rarity-title{
      font-size: 2.2rem;
    }
    .rarity-note{
      font-size: 1.2rem;
    }
    .data-flex-wrap {
      gap: 20px;
      margin-top: 30px;
    }
    .white-text-box{
      padding: 15px;
      font-size: 1.3rem;
    }
    .highlight-gold{
      font-size: 2.2rem;
    }
    .graph-note_2 {
      font-size: 1rem;
      text-align: left;
      text-indent: -1em;
      margin-left: 1em;
    }
    .storage-inner-section {
      margin-top: 50px;
      padding-top: 60px;
    }
    .storage-text-side h3 {
      font-size: 1.6rem;
    }
    .storage-text-side .gold-text {
      font-size: 2.5rem;
    }
    .storage-text-side p {
      font-size: 1.2rem;
    }
    .parking-lead {
      font-size: 1.6rem;
    }
    .parking-title {
      font-size: 1.8rem;
      margin: 15px 0 25px;
    }
    .parking-note {
      font-size: 1.4rem;
      margin-bottom: 20px;
    }
    .parking-note_2 {
      font-size: 1.2rem;
    }
    .parking-layout {
      flex-direction: column;
      margin-top: 50px;
      padding-bottom: 50px;
    }
    .parking-graph-wrapper {
      flex-direction: column;
      gap: 30px;
    }
    .info-title {
      font-size: 1.6rem;
    }
    .parking-info-list li {
      font-size: 1.4rem;
    }
    .info-strong {
      font-size: 2.2rem;
    }
    .info-desc {
      font-size: 1.4rem;
    }
    .parking-footer-text {
      font-size: 1.6rem;
      margin-top: 20px;
    }
    .section-title-line {
      font-size: 1.6rem;
    }
    .section-highlight-bg h2 {
      font-size: 2rem;
    }
    .plan-text-box {
      padding: 30px 20px;
    }
    .plan-text-box h4 {
      font-size: 1.8rem;
    }
    .plan-text-box p {
      font-size: 1.2rem;
    }
    .closet-img{
      width: 100%;
    }
    .bottom-text-side h3 {
      font-size: 2.2rem;
    }
    .bottom-text {
      font-size: 1.4rem;
    }
    .bottom-note {
      font-size: 1.2rem;
    }
    .bottom-emphasis{
      font-size: 1.6rem;
    }
    .bottom-grid video {
      width: 100%;
      max-width: 100%;
      height: auto;
    }


    /* 1. 全セクションの本体背景を消去し、高さを自動追従させる */
    .fixed-bg-section-1,
    .fixed-bg-section-2,
    .fixed-bg-section-3,
    .fixed-bg-section-4,
    .fixed-bg-section-5 {
        background-image: none !important;
        background-color: transparent !important;
        position: relative !important;
        padding-top: 0 !important; /* ズレ防止のため一旦リセット */
        z-index: 1;
    }

    /* 2. iOSのバグを100%回避する「Sticky（吸着）」を用いた背景シートの生成 */
    .fixed-bg-section-1::before,
    .fixed-bg-section-2::before,
    .fixed-bg-section-3::before,
    .fixed-bg-section-4::before,
    .fixed-bg-section-5::before {
        content: "";
        display: block !important;
        position: sticky !important; /* 画面に吸着（fixedのバグが起きない） */
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh; /* 画面ぴったりサイズにすることでピンボケを完全防止 */
        background-size: cover !important;
        background-position: center center !important;
        z-index: 0 !important; /* 一番奥の背景として配置 */
    }

    /* 各セクションの画像を割り当て */
    .fixed-bg-section-1::before { background-image: url('../img/bg_section1_sp.jpg') !important; }
    .fixed-bg-section-2::before { background-image: url('../img/bg_section2.jpg') !important; }
    .fixed-bg-section-3::before { background-image: url('../img/bg_section3.jpg') !important; }
    .fixed-bg-section-4::before { background-image: url('../img/bg_section4.jpg') !important; }
    .fixed-bg-section-5::before { background-image: url('../img/bg_section5.jpg') !important; }

    /* 3. ★天才的なトリック：
       背景(100vh)が生成された分、最初のコンテンツを -100vh 上に引っ張り上げて被せる。 */
    .fixed-bg-section-1 .hero-view,
    .fixed-bg-section-2 > .container,
    .fixed-bg-section-3 > .container,
    .fixed-bg-section-4 > .section-highlight-bg,
    .fixed-bg-section-5 > .container {
        margin-top: -100vh !important;
    }

    /* ★修正箇所：セクション4の2つ目の箱も含め、すべての中身を背景より手前に確実に出す */
    .fixed-bg-section-1 > *,
    .fixed-bg-section-2 > *,
    .fixed-bg-section-3 > *,
    .fixed-bg-section-4 > *,
    .fixed-bg-section-5 > * {
        position: relative !important;
        z-index: 2 !important; /* 背景シート(0)より手前 */
    }

    /* 親要素から剥がした余白（padding-top:100px）をコンテンツ側に補填してデザインを維持 */
    .fixed-bg-section-2 > .container,
    .fixed-bg-section-3 > .container,
    .fixed-bg-section-4 > .container,
    .fixed-bg-section-5 > .container {
        padding-top: 50px !important;
        padding-bottom: 100px !important;
    }

    /* その他の中身が裏に回らないように保護 */
    .fixed-bg-section-1 > * {
        position: relative;
        z-index: 2;
    }


    /* 4. スクロール連動エリア */
    .scroll-animation-area {
        position: relative !important;
        z-index: 100 !important; /* エリア全体を最前面へ */
    }
    .scroll-animation-area .sticky-container {
        z-index: 100 !important;
    }

    .scroll-animation-area .sticky-container .category-panel.right-side, 
    .scroll-animation-area .sticky-container .category-panel.left-side {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background-image: none !important;
        position: absolute !important;
        z-index: 100 !important;
        background-color: rgba(0, 0, 0, 0.4) !important;
    }

    .scroll-animation-area .sticky-container .category-panel {
        opacity: 0;
        transition: opacity 0.5s ease;
    }
    .scroll-animation-area .sticky-container .category-panel.is-show {
        opacity: 1 !important;
    }


    .scroll-animation-area .sticky-container .category-panel::after {
        content: "" !important;
        display: block !important;
        position: fixed !important;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-image: url('../img/bg_section1.jpg') !important;
        background-size: cover !important;
        z-index: -1 !important;
        pointer-events: none;
    }

    .scroll-animation-area .sticky-container .category-panel.right-side::after {
        background-position: 20% center !important; 
    }
    .scroll-animation-area .sticky-container .category-panel.left-side::after {
        background-position: 80% center !important; 
    }

    /* 文字視認性 */
    .category-panel .category,
    .fade-items-container {
        position: relative;
        z-index: 101 !important;
    }
    .category-panel .category,
    .fade-item p {
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
    }
    .fade-item p{
      font-size: 2.1rem;
    }

    .fade-item {
        font-size: 1.1rem;
    }
}