﻿@charset "UTF-8";
/*!
 * Author: (Passion-Creator)
 * License: MIT License
*/
/* =================================================================================
   基本設定 (サイト全体の基礎スタイル)
================================================================================= */
:root {
    /* 色の定義 (カラーパレット) */
    --color-primary: #0a2463;     /* メインカラー (深いネイビー) */
    --color-secondary: #d4af37;   /* アクセントカラー (ゴールド) */
    --color-text: #333333;        /* 基本の文字色 */
    --color-light-gray: #f4f4f4;  /* 薄いグレーの背景色 */

    /* フォントの定義 */
    --font-primary: 'Noto Sans JP', sans-serif; /* 基本のフォント */
    --font-display: 'Playfair Display', serif;  /* 見出し用のフォント */
    
    /* レイアウトの定義 */
    --container-width: 1200px;   /* サイトの最大幅 */
}

/* 全ての要素に適用するリセットスタイル */
*, *::before, *::after {
    box-sizing: border-box; /* paddingとborderを幅・高さに含める */
}

html {
    scroll-behavior: smooth; /* ページ内リンクをスムーズにスクロールさせる */
}

body {
    margin: 0;
    font-family: var(--font-primary);
    color: var(--color-text);
    background-color: #fff;
    font-size: 16px;
    line-height: 1.8;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto; /* 中央揃え */
    padding: 0 24px;
}

.sp-only {
    display: none; /* スマホでのみ表示する要素 (PCでは非表示) */
}

/* =================================================================================
   汎用スタイル (サイト全体で使い回す部品)
================================================================================= */

/* --- ボタン共通スタイル --- */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
.btn-primary { background-color: var(--color-primary); color: #fff; }
.btn-primary:hover { background-color: #fff; color: var(--color-primary); border-color: var(--color-primary); }
.btn-secondary { background-color: var(--color-secondary); color: #fff; }
.btn-secondary:hover { background-color: #fff; color: var(--color-secondary); border-color: var(--color-secondary); }
.btn-outline { background-color: transparent; color: #fff; border-color: #fff; }
.btn-outline:hover { background-color: #fff; color: var(--color-primary); }
.btn-lg { padding: 16px 48px; font-size: 1.1rem; }
.btn-full { width: 100%; }

/* --- セクション共通スタイル --- */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-family: var(--font-display);
    margin-bottom: 16px;
    font-weight: 700;
}
.section-title span {
    display: block;
    font-size: 1rem;
    color: var(--color-secondary);
    font-family: var(--font-primary);
    letter-spacing: 2px;
}
.section-lead {
    text-align: center;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 60px;
}
.section-footer {
    margin-top: 60px;
    text-align: center;
}

/* =================================================================================
   ヘッダー & ナビゲーション
================================================================================= */
.header {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px); /* すりガラス効果 */
    border-bottom: 1px solid #eee;
    padding: 16px 0;
    position: sticky; /* スクロールに追従する設定 */
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s;
}
.header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1); /* スクロール時に影を付ける */
}
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.header-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    z-index: 1002; /* ハンバーガーメニューより手前に表示 */
}
/* PC用ナビゲーション */
.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}
.header-nav li {
    margin: 0 20px;
}
.header-nav a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: 700;
    position: relative;
    padding-bottom: 5px;
}
.header-nav a::after { /* ホバー時の下線アニメーション */
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: width 0.3s ease-out;
}
.header-nav a:hover::after {
    width: 100%;
}
.nav-contact-sp {
    display: none; /* モバイル用ボタンはPCでは非表示 */
}

/* ハンバーガーメニュー */
.hamburger-btn {
    display: none; /* PCでは非表示 */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* メニュー本体より手前に */
    position: relative;
    width: 44px;
    height: 44px;
}
.hamburger-btn span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--color-primary);
    margin: 5px 0;
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
}
.page-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 998; /* メニューとページ本体の間 */
}
.nav-open .page-overlay {
    display: block; /* メニューが開いた時に表示 */
}

/* =================================================================================
   フッター
================================================================================= */
.footer {
    padding: 80px 0 30px;
    background-color: #111;
    color: #aaa;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}
.footer-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin: 0 0 16px;
    color: #fff;
}
.footer h4 {
    color: #fff;
    margin-bottom: 16px;
}
.footer ul {
    list-style: none;
    padding: 0;
}
.footer li {
    margin-bottom: 10px;
}
.footer a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}
.footer a:hover {
    color: var(--color-secondary);
}
.footer-copy {
    text-align: center;
    font-size: 0.9rem;
    border-top: 1px solid #333;
    padding-top: 30px;
}

/* =================================================================================
   トップページ (`index.html`) のスタイル
================================================================================= */
/* --- ヒーローセクション (メインビジュアル) --- */
.hero {
    height: 95vh;
    position: relative;
    overflow: hidden;
}
.hero-slider .slide {
    height: 95vh;
    background-size: cover;
    background-position: center;
    transform: scale(1.15); /* Ken Burnsエフェクトの初期サイズ */
    transition: transform 8s ease-out;
}
.slick-active .slide {
    transform: scale(1.0); /* 表示されたスライドをゆっくりズームアウト */
}
.hero::after { /* 画像の上に重ねるグラデーション */
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 60%);
}
.hero-content {
    position: absolute;
    bottom: 12%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    color: #fff;
    width: 90%;
}
.hero-title, .hero-subtitle { /* テキストアニメーションの初期設定 */
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.slick-active .hero-title { /* スライド表示時にテキストを表示 */
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}
.slick-active .hero-subtitle {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}
.hero-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    line-height: 1.2;
    margin: 0 0 16px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.6);
}
.hero-subtitle {
    font-size: 1.2rem;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

/* --- トップページの各セクション --- */
.concept { padding: 100px 0; background-color: #fff; }
.properties { padding: 100px 0; background-color: var(--color-light-gray); }
.properties-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}
.property-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}
.property-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.card-image { position: relative; }
.card-image img { width: 100%; display: block; }
.card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background-color: var(--color-primary);
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}
.card-body { padding: 24px; }
.card-title { font-size: 1.2rem; font-weight: 700; margin: 0 0 8px; min-height: 58px; }
.card-price { font-size: 1.5rem; font-weight: 700; color: var(--color-primary); margin: 0 0 8px; }
.card-spec { font-size: 0.9rem; color: #666; margin: 0 0 16px; border-bottom: 1px solid #eee; padding-bottom: 16px; }
.card-text { font-size: 0.9rem; color: #555; }

/* --- CTA (行動喚起) セクション --- */
.cta {
    padding: 100px 0;
    background-color: var(--color-primary);
    background-image: linear-gradient(rgba(10, 36, 99, 0.9), rgba(10, 36, 99, 0.9)), url('https://via.placeholder.com/1800x600/333/fff?text=City+Night+View');
    background-size: cover;
    background-position: center;
    text-align: center;
    color: #fff;
}
.cta-title { color: #fff; font-size: 2.8rem; }
.cta p { max-width: 800px; margin: 0 auto 40px; opacity: 0.9; }
.cta-buttons { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }

/* =================================================================================
   下層ページ (トップ以外のページ) の共通スタイル
================================================================================= */
.page-header { /* 各ページのメインビジュアル */
    padding: 80px 0;
    text-align: center;
    color: #fff;
    background-size: cover;
    background-position: center;
    position: relative;
}
.page-header::before { /* 画像の上に重ねるフィルター */
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(10, 36, 99, 0.7);
}
.page-header .container { position: relative; z-index: 2; }
.page-title {
    font-family: var(--font-display);
    font-size: 3rem;
    margin: 0 0 8px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}
.page-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}
.page-section {
    padding: 100px 0;
}
.container-narrow { /* 少し幅の狭いコンテンツエリア */
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- ご契約の流れページ (`flow.html`) --- */
.flow-steps { padding: 20px 0; }
.flow-step { position: relative; padding-left: 100px; padding-bottom: 60px; }
.flow-step:last-child { padding-bottom: 0; }
.flow-step:last-child::before { display: none; }
.flow-step::before { /* ステップ間をつなぐ縦線 */
    content: '';
    position: absolute;
    left: 30px;
    top: 50px;
    bottom: -5px;
    width: 3px;
    background-color: var(--color-secondary);
}
.flow-step-number {
    position: absolute;
    left: 0;
    top: -5px;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-secondary);
    line-height: 1;
}
.flow-step-content { position: relative; }
.flow-step-title { font-size: 1.8rem; font-weight: 700; margin: 0 0 16px; color: var(--color-primary); }

/* --- よくある質問ページ (`faq.html`) --- */
.faq-list { border-top: 1px solid #ddd; }
.faq-item { border-bottom: 1px solid #ddd; }
.faq-question { padding: 24px 48px 24px 0; cursor: pointer; position: relative; }
.faq-question h3 { margin: 0; font-size: 1.2rem; font-weight: 700; }
.faq-question::after { /* 開閉アイコン (+) */
    content: '+';
    font-family: var(--font-display);
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--color-secondary);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question::after { /* 開いた時のアイコン (×) */
    transform: translateY(-50%) rotate(45deg);
}
.faq-answer { display: none; padding: 24px; background-color: var(--color-light-gray); }
.faq-answer p { margin: 0; }

/* --- お問い合わせページ (`contact.html`) --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 8px; }
.form-group label span {
    display: inline-block;
    background-color: #d9534f;
    color: #fff;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
}
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    font-family: var(--font-primary);
}
.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 5px rgba(10, 36, 99, 0.2);
}
.contact-info h3 { font-size: 1.8rem; margin-top: 0; color: var(--color-primary); }
.map-container {
    margin-top: 24px; position: relative; width: 100%;
    padding-top: 75%; /* 4:3のアスペクト比を維持 */
    overflow: hidden; border-radius: 8px;
}
.map-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* --- 物件一覧ページ (`properties.html`) --- */
.filter-section { padding: 60px 0; background-color: var(--color-light-gray); }
.filter-bar {
    display: flex; gap: 20px; background-color: #fff;
    padding: 20px; border-radius: 8px; box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}
.filter-group { flex: 1; }
.filter-group.keyword-group { flex: 2; }
.filter-bar select, .filter-bar input[type="text"] {
    width: 100%; height: 50px; padding: 0 15px; border: 1px solid #ccc;
    border-radius: 4px; font-size: 1rem; background-color: #fff;
    -webkit-appearance: none; -moz-appearance: none; appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23007CB2%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat; background-position: right 15px center; background-size: 12px;
}
.filter-bar button { height: 50px; white-space: nowrap; }
.sort-bar {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 40px; padding-bottom: 20px; border-bottom: 1px solid #eee;
}
.results-count { font-weight: 700; }
.sort-bar select {
    padding: 8px 30px 8px 12px; border: 1px solid #ccc;
    border-radius: 4px; background-position: right 10px center;
}
.properties-grid.large-grid { grid-template-columns: repeat(3, 1fr); }
.properties-grid .card-title { min-height: auto; }
.pagination { margin-top: 60px; text-align: center; }
.pagination ul {
    display: inline-flex; list-style: none; padding: 0; margin: 0;
    border-radius: 50px; box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.pagination li a {
    display: block; padding: 12px 18px; color: var(--color-primary);
    text-decoration: none; font-weight: 700;
    transition: background-color 0.3s, color 0.3s;
    border-right: 1px solid #eee;
}
.pagination li:first-child a { border-radius: 50px 0 0 50px; }
.pagination li:last-child a { border-radius: 0 50px 50px 0; border-right: none; }
.pagination li a:hover, .pagination li a.active {
    background-color: var(--color-primary); color: #fff;
}

/* =================================================================================
   レスポンシブ対応 (画面サイズごとの調整)
================================================================================= */

/* --- タブレットサイズ (1024px以下) --- */
@media (max-width: 1024px) {
    .properties-grid, .properties-grid.large-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- スマートフォンサイズ (768px以下) --- */
@media (max-width: 768px) {
    /* --- 全般 --- */
    .sp-only { display: block; }
    .hero-title { font-size: 2.5rem; }
    .page-title { font-size: 2.2rem; }
    .footer-grid { grid-template-columns: 1fr; }

    /* --- ヘッダー & ハンバーガーメニュー --- */
    .header-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: #fff;
        z-index: 1000;
        transform: translateX(100%); /* 初期状態は画面外に隠す */
        transition: transform 0.4s ease-in-out;
        padding: 100px 20px 40px;
        overflow-y: auto; /* メニュー項目が多い場合にスクロール可能にする */
    }
    .nav-open .header-nav { /* メニューが開いた時のスタイル */
        transform: translateX(0);
    }
    .header-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .header-nav li { margin: 0; width: 100%; }
    .header-nav a { display: block; padding: 15px; text-align: center; width: 100%; }
    .header-nav a::after { display: none; }
    .nav-link-contact { display: none; } /* PC用のテキストリンクお問い合わせを非表示 */
    .nav-contact-sp { display: block; margin-top: 20px; } /* スマホ用ボタンを表示 */
    .header-contact-btn { display: none; } /* PC用のお問い合わせボタンを非表示 */
    .hamburger-btn { display: block; } /* ハンバーガーボタンを表示 */
    
    .nav-open .hamburger-btn span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-open .hamburger-btn span:nth-child(2) { opacity: 0; }
    .nav-open .hamburger-btn span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
    
    .nav-open { /* メニューが開いている時に背景をスクロールさせない */
        overflow: hidden;
    }
    .nav-contact-sp a.btn-primary { color: #fff; }
    .nav-contact-sp a.btn-primary:hover { color: #fff; opacity: 0.9; }

    /* --- 各ページの個別調整 --- */
    .properties-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .filter-bar { flex-direction: column; }
    .sort-bar { flex-direction: column; gap: 10px; }
    .flow-step { padding-left: 80px; }
    .flow-step::before { left: 22px; }
    .flow-step-number { font-size: 2.5rem; }
}

/* ▼▼▼▼▼ 姉妹サイト誘導CTAセクションのスタイル(不要な場合はそのまま削除してOKです。) ▼▼▼▼▼ */

.sister-cta-section {
    background-color: #f8f9fa; /* 薄い背景色 */
    padding: 5rem 2rem;
    margin-top: 4rem; /* フォームとの間隔 */
    border-top: 1px solid #e9ecef;
}

.sister-cta-content {
    display: flex;
    flex-direction: column-reverse; /* スマホではテキストが先 */
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.sister-cta-text {
    flex: 2; /* テキストエリアの幅を広めに */
}

.sister-cta-lead {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color, #e67e22); /* テーマカラー or オレンジ */
    margin: 0 0 0.5rem 0;
}

.sister-cta-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0 0 1.5rem 0;
    line-height: 1.5;
}

.sister-cta-text p {
    font-size: 1rem;
    line-height: 2;
    margin-bottom: 2.5rem;
}

.sister-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 1rem 3rem;
    border-radius: 50px;
    color: #fff;
    background: linear-gradient(135deg, #f39c12, #e67e22); /* グラデーションボタン */
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(230, 126, 34, 0.3);
}

.sister-cta-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(230, 126, 34, 0.4);
    opacity: 1; /* a:hoverのデフォルトopacityを上書き */
}

.sister-cta-image {
    flex: 1;
    max-width: 250px;
}
.sister-cta-image img {
    width: 100%;
    border-radius: 12px;
}

/* PC表示でのレイアウト調整 */
@media (min-width: 768px) {
    .sister-cta-content {
        flex-direction: row; /* PCでは横並び */
        gap: 4rem;
        text-align: left;
    }
}

/* ▲▲▲▲▲ 姉妹サイト誘導CTAセクションのスタイル(不要な場合はそのまま削除してOKです。)  ▲▲▲▲▲ */