/* 基本リセットとフォント設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f8f8f8; /* 全体の背景色 */
}

a {
    text-decoration: none;
    color: #0056b3;
}

ul {
    list-style: none;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ヘッダー */
.header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: #003366; /* 濃紺 */
}

.nav ul {
    display: flex;
    gap: 20px;
}

.nav a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: #0056b3; /* アクセントカラー */
}

.nav-contact a {
    background-color: #0056b3;
    color: #fff !important;
    padding: 8px 15px;
    border-radius: 4px;
}

/* メインビジュアル（ヒーローセクション） */
.hero {
    background: url('hero-bg.jpg') center/cover no-repeat; /* 背景画像を適宜設定 */
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    position: relative;
    /* 背景にオーバーレイをかけて文字を見やすく */
    &::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h2 {
    font-size: 44px;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    margin-bottom: 25px;
}

.cta-button {
    display: inline-block;
    background-color: #ff6600; /* 目立つオレンジ色 */
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #e65c00;
}

/* 共通セクションスタイル */
section {
    padding: 60px 0;
}

.section-title {
    font-size: 28px;
    text-align: center;
    margin-bottom: 40px;
    color: #003366;
    border-bottom: 2px solid #0056b3;
    display: inline-block;
    padding-bottom: 5px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    width: fit-content;
}

.bg-gray {
    background-color: #f0f4f7;
}

/* 検索フォーム */
.search-section h3 {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
}

.search-form {
    display: flex;
    gap: 10px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.search-form select, .search-form input, .search-button {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    flex-grow: 1;
    font-size: 16px;
}

.search-button {
    background-color: #0056b3;
    color: #fff;
    cursor: pointer;
    font-weight: 700;
    flex-grow: 0;
    min-width: 100px;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: #004080;
}

/* 物件カードリスト */
.card-list {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    margin-bottom: 30px;
}

.card {
    flex-basis: calc(33.33% - 20px);
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card h4 {
    padding: 10px 15px 0;
    font-size: 18px;
}

.card h4 a {
    color: #003366;
}

.card p {
    padding: 0 15px 10px;
    font-size: 14px;
}

.card .price {
    font-weight: 700;
    color: #ff6600;
    font-size: 16px;
    padding-top: 5px;
}

.view-all-button {
    display: block;
    width: 250px;
    margin: 0 auto;
    text-align: center;
    background-color: #333;
    color: #fff;
    padding: 12px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.view-all-button:hover {
    background-color: #555;
}

/* 会社の特徴セクション */
.feature-list {
    display: flex;
    gap: 30px;
    text-align: center;
}

.feature-item {
    flex: 1;
    background-color: #fff;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.feature-item .icon {
    font-size: 30px;
    color: #0056b3;
    margin-bottom: 15px;
    font-weight: 700;
}

.feature-item h4 {
    font-size: 20px;
    color: #003366;
    margin-bottom: 10px;
}

/* CTA / 問い合わせセクション */
.contact-cta {
    background-color: #003366;
    color: #fff;
    text-align: center;
    padding: 80px 0;
}

.contact-cta h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.contact-cta p {
    font-size: 18px;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-primary, .cta-secondary {
    padding: 15px 30px;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 700;
    transition: opacity 0.3s;
}

.cta-primary {
    background-color: #ff6600; /* 目立つオレンジ色 */
    color: #fff;
}

.cta-secondary {
    background-color: #fff;
    color: #003366;
    border: 1px solid #fff;
}

.cta-primary:hover, .cta-secondary:hover {
    opacity: 0.8;
}

/* フッター */
.footer {
    background-color: #222;
    color: #aaa;
    padding: 20px 0;
    font-size: 14px;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer a {
    color: #aaa;
    transition: color 0.3s;
}

.footer a:hover {
    color: #fff;
}

.footer-links {
    display: flex;
    gap: 15px;
}

/* レスポンシブデザイン（モバイル対応） */
@media (max-width: 768px) {
    /* ヘッダー */
    .header .container {
        flex-direction: column;
    }
    .logo {
        margin-bottom: 10px;
    }
    .nav ul {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav li {
        margin-bottom: 5px;
    }
    
    /* メインビジュアル */
    .hero {
        height: 300px;
    }
    .hero h2 {
        font-size: 30px;
    }
    .hero p {
        font-size: 16px;
    }

    /* 検索フォーム */
    .search-form {
        flex-direction: column;
    }

    /* カードリスト */
    .card-list {
        flex-direction: column;
        gap: 20px;
    }
    .card {
        flex-basis: 100%;
    }

    /* 特徴リスト */
    .feature-list {
        flex-direction: column;
        gap: 20px;
    }
    
    /* CTAボタン */
    .cta-buttons {
        flex-direction: column;
    }
    .cta-primary, .cta-secondary {
        width: 80%;
        margin: 0 auto;
    }

    /* フッター */
    .footer .container {
        flex-direction: column;
        text-align: center;
    }
    .footer-links {
        margin-top: 10px;
    }
}
