@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Lato:wght@400;700&display=swap');

:root {
    --primary-color: #0F172A; /* 深いネイビー */
    --accent-color: #C5A059;  /* シャンパンゴールド */
    --bg-light: #F8F9FA;
    --text-dark: #333333;
    --text-gray: #666666;
    --white: #ffffff;
    --max-width: 1200px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Lato', 'Noto Sans JP', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* Header */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 40px; background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 1000;
}
.logo { font-size: 24px; font-weight: 700; color: var(--primary-color); display: flex; align-items: center; gap: 10px; }
.logo span { color: var(--accent-color); }
.nav-menu { display: flex; gap: 30px; }
.nav-menu a { font-weight: 500; font-size: 15px; position: relative; }
.nav-menu a::after {
    content: ''; display: block; width: 0; height: 2px;
    background: var(--accent-color); transition: 0.3s;
}
.nav-menu a:hover::after { width: 100%; }
.header-cta {
    background: var(--primary-color); color: var(--white); padding: 10px 24px;
    border-radius: 4px; font-size: 14px; font-weight: 700;
}
.header-cta:hover { background: var(--accent-color); }

/* Hero Section */
.hero {
    height: 80vh; background: linear-gradient(rgba(15, 23, 42, 0.4), rgba(15, 23, 42, 0.4)), url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-1.2.1&auto=format&fit=crop&w=1920&q=80');
    background-size: cover; background-position: center;
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; color: var(--white);
}
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; letter-spacing: 0.05em; }
.hero p { font-size: 1.2rem; margin-bottom: 40px; opacity: 0.9; }

/* Search Box */
.search-box {
    background: var(--white); padding: 20px; border-radius: 8px;
    display: flex; gap: 10px; box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    width: 90%; max-width: 800px;
}
.search-box select, .search-box input {
    flex: 1; padding: 12px; border: 1px solid #ddd; border-radius: 4px; font-family: inherit;
}
.search-btn {
    background: var(--accent-color); color: var(--white); border: none;
    padding: 12px 30px; font-weight: 700; cursor: pointer; border-radius: 4px;
}
.search-btn:hover { background: var(--primary-color); }

/* Section Styles */
section { padding: 80px 20px; }
.container { max-width: var(--max-width); margin: 0 auto; }
.section-title {
    text-align: center; margin-bottom: 60px;
}
.section-title h2 { font-size: 2rem; color: var(--primary-color); margin-bottom: 15px; }
.section-title p { color: var(--text-gray); font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* Property Grid */
.property-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
}
.property-card {
    background: var(--white); border: 1px solid #eee; border-radius: 8px; overflow: hidden;
    transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}
.property-card:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.card-img { height: 200px; background: #ddd; position: relative; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-tag {
    position: absolute; top: 15px; left: 15px; background: var(--primary-color);
    color: var(--white); padding: 5px 10px; font-size: 12px; font-weight: 700;
}
.card-content { padding: 20px; }
.card-price { color: var(--primary-color); font-size: 1.5rem; font-weight: 700; margin-bottom: 5px; }
.card-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; line-height: 1.4; }
.card-info {
    display: flex; gap: 15px; color: var(--text-gray); font-size: 0.9rem;
    margin-bottom: 15px; padding-bottom: 15px; border-bottom: 1px solid #eee;
}
.card-link { color: var(--accent-color); font-weight: 700; font-size: 0.9rem; display: flex; align-items: center; gap: 5px; }

/* Features */
.features-bg { background: var(--bg-light); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.feature-item { text-align: center; padding: 30px; background: var(--white); border-radius: 8px; }
.feature-icon { font-size: 40px; color: var(--accent-color); margin-bottom: 20px; }
.feature-item h3 { margin-bottom: 15px; color: var(--primary-color); }

/* Detail Page Specific */
.detail-header { padding: 40px 0; border-bottom: 1px solid #eee; }
.breadcrumb { font-size: 14px; color: var(--text-gray); margin-bottom: 20px; }
.detail-title h1 { font-size: 2.2rem; margin-bottom: 10px; color: var(--primary-color); }
.detail-price { font-size: 2.5rem; font-weight: 700; color: var(--accent-color); }
.detail-layout { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-top: 40px; }
.main-gallery img { width: 100%; border-radius: 8px; margin-bottom: 10px; }
.sub-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.prop-table { width: 100%; border-collapse: collapse; margin-top: 30px; }
.prop-table th, .prop-table td { padding: 15px; border-bottom: 1px solid #eee; text-align: left; }
.prop-table th { width: 30%; background: var(--bg-light); color: var(--text-gray); font-weight: 500; }
.contact-sidebar {
    background: var(--white); padding: 30px; border: 1px solid #eee;
    border-radius: 8px; position: sticky; top: 100px;
}
.contact-btn {
    display: block; width: 100%; padding: 15px; background: var(--primary-color);
    color: var(--white); text-align: center; font-weight: 700; border-radius: 4px; margin-bottom: 10px;
}

/* Footer */
footer { background: var(--primary-color); color: var(--white); padding: 60px 20px 20px; }
.footer-content { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; max-width: var(--max-width); margin: 0 auto; }
.footer-logo { font-size: 20px; font-weight: 700; margin-bottom: 20px; display: block; }
.footer-links li { margin-bottom: 10px; opacity: 0.8; }
.copyright { text-align: center; margin-top: 60px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); font-size: 12px; opacity: 0.6; }

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    .search-box { flex-direction: column; }
    header { padding: 15px 20px; }
    .nav-menu { display: none; } /* Simplified for demo */
    .features-grid { grid-template-columns: 1fr; }
    .detail-layout { grid-template-columns: 1fr; }
}