/*
Theme Name: 松本不動産テーマV2
Description: 松本不動産のカスタムテーマ（投資用物件・スライダー修正版）
Version: 2.0
Author: Claude AI
*/

/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&family=Roboto:wght@300;400;500;700&display=swap');

body {
    font-family: 'Noto Sans JP', 'Roboto', 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Yu Gothic Medium', 'Meiryo', sans-serif;
    line-height: 1.75;
    color: var(--text-primary);
    background: var(--background-secondary);
    font-weight: 300;
    letter-spacing: 0.02em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 丸山不動産風信頼性重視モノトーンカラーパレット */
:root {
    --primary-color: #2c3e50;          /* 落ち着いたネイビーブルー */
    --primary-hover: #1a252f;          /* より濃いネイビー */
    --secondary-color: #34495e;        /* グレイッシュブルー */
    --secondary-hover: #2c3e50;        /* ホバー時 */
    --accent-color: #3498db;           /* アクセントブルー */
    --accent-hover: #2980b9;           /* アクセントホバー */
    --text-primary: #2c3e50;           /* メインテキスト（ダークネイビー） */
    --text-secondary: #7f8c8d;         /* セカンダリテキスト（グレー） */
    --text-light: #95a5a6;             /* ライトテキスト */
    --text-muted: #bdc3c7;             /* 薄いテキスト */
    --background-primary: #ffffff;      /* 純白背景 */
    --background-secondary: #f8f9fa;    /* 薄いグレー背景 */
    --background-subtle: #ecf0f1;       /* より薄いグレー */
    --border-color: #dee2e6;            /* ボーダー */
    --border-subtle: #e9ecef;           /* 薄いボーダー */
    --border-light: #f1f3f4;            /* 極薄ボーダー */
    
    /* Aman風精密スペーシングシステム */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 96px;
    --spacing-4xl: 128px;
    --spacing-5xl: 192px;
    
    /* ボーダーラディウス */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    /* ボックスシャドウ */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    /* 階層的タイポグラフィシステム（丸山不動産風） */
    --font-size-xs: 0.75rem;      /* 12px - 小さなラベル */
    --font-size-sm: 0.875rem;     /* 14px - 通常テキスト */
    --font-size-base: 1rem;       /* 16px - 基本サイズ */
    --font-size-lg: 1.125rem;     /* 18px - 大きめテキスト */
    --font-size-xl: 1.25rem;      /* 20px - 小見出し */
    --font-size-2xl: 1.5rem;      /* 24px - 中見出し */
    --font-size-3xl: 1.875rem;    /* 30px - 大見出し */
    --font-size-4xl: 2.25rem;     /* 36px - 特大見出し */
    --font-size-5xl: 3rem;        /* 48px - ヒーロータイトル */
    
    /* フォントウェイト */
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* 行間システム */
    --line-height-tight: 1.25;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;
    --line-height-loose: 2;
}

/* Aman風エレガントアニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 階層的見出しシステム（丸山不動産風読みやすさ重視） */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: var(--font-weight-semibold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--spacing-lg);
    letter-spacing: 0.02em;
}

h1 {
    font-size: var(--font-size-5xl);    /* 48px */
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--spacing-3xl);
}

h2 {
    font-size: var(--font-size-4xl);    /* 36px */
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-2xl);
}

h3 {
    font-size: var(--font-size-3xl);    /* 30px */
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--spacing-xl);
}

h4 {
    font-size: var(--font-size-2xl);    /* 24px */
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-lg);
}

h5 {
    font-size: var(--font-size-xl);     /* 20px */
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-md);
}

h6 {
    font-size: var(--font-size-lg);     /* 18px */
    font-weight: var(--font-weight-medium);
    margin-bottom: var(--spacing-md);
}

/* 段落とテキスト要素 */
p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--text-primary);
    margin-bottom: var(--spacing-lg);
}

small {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
}

/* 全てのリンクを信頼感のある色に */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

a:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

a:visited {
    color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ヘッダー - Aman風ミニマル */
.site-header {
    background: var(--background-primary) !important;
    box-shadow: none;
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ヘッダートップ */
.header-top {
    background: var(--primary-color) !important;
    padding: var(--spacing-sm) 0;
    color: white;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.language-switch a {
    color: white;
    text-decoration: none;
    padding: 0 5px;
}

.language-switch .active {
    font-weight: bold;
}

.top-nav {
    display: flex;
    gap: 20px;
}

.top-nav a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.top-nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* メインヘッダー - Aman風エレガンス */
.header-main {
    padding: var(--spacing-xl) 0;
    background: var(--background-primary) !important;
    color: var(--text-primary) !important;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-xl);
}

/* ロゴセクション */
.site-logo a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    text-decoration: none;
}

.logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color) !important;
    line-height: 1.2;
    font-family: 'Roboto', sans-serif;
}

/* ナビゲーション */
.nav-menu {
    display: flex;
    gap: 0;
    list-style: none;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: block;
    padding: 20px 25px;
    text-decoration: none;
    color: #333;
    border-right: 1px solid #f0f8f0;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
}

.nav-link:hover {
    background: #f0f8f0;
    color: #d0e8d0;
}

.nav-text {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.3;
}

.nav-text small {
    display: block;
    font-size: 11px;
    color: #666;
    font-weight: normal;
    margin-top: 2px;
}

/* CTAボタン */
.header-cta {
    margin-left: 20px;
}

.contact-btn {
    background: #4a9b4a;
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.4);
}

/* ビデオヒーロー */
.hero-video-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.2), rgba(0,0,0,0.3));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
}

.hero-text-center {
    max-width: 800px;
    margin: 0 auto;
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 200;
    margin-bottom: var(--spacing-3xl);
    letter-spacing: 0.05em;
    font-family: 'Roboto', sans-serif;
    opacity: 0;
    animation: fadeInUp 1.2s ease-out 0.3s forwards;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-4xl);
    opacity: 0;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.03em;
    animation: fadeInUp 1.2s ease-out 0.6s forwards;
}

.video-play-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.play-text {
    font-size: 14px;
    color: white;
    opacity: 0.8;
}

/* 古いスライダー定義は削除 - 後方の定義を使用 */

.slide-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    min-height: 500px;
    align-items: center;
}

.hero-text {
    padding: 60px;
    background: #ffffff;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 300;
    line-height: 1.4;
    margin-bottom: var(--spacing-3xl);
    color: var(--text-primary);
    font-family: 'Noto Sans JP', sans-serif;
    letter-spacing: 0.02em;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.2s forwards;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-4xl);
    color: var(--text-secondary);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 300;
    letter-spacing: 0.01em;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.4s forwards;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-lg);
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.6s forwards;
}

.hero-image {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-image img,
.hero-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.placeholder-video,
.placeholder-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f8f0;
    color: #666;
    font-size: 14px;
}

/* ピックアップ物件セクション */
.pickup-properties-section {
    padding: 80px 0;
    background: #f0f8f0;
}

.pickup-properties-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--text-primary);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 600;
}

.pickup-slider {
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.pickup-slider-container {
    display: flex;
    gap: 20px;
    transition: transform 0.3s ease;
}

.pickup-property-item {
    flex: 0 0 calc(33.333% - 14px);
    background: var(--background-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.pickup-property-item:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.property-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.property-image-container {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.property-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.pickup-property-item:hover .property-img {
    transform: scale(1.1);
}

.property-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 50%, rgba(0,0,0,0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pickup-property-item:hover .property-overlay {
    opacity: 1;
}

.property-content {
    padding: 20px;
}

.property-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4a9b4a;
    margin-bottom: 10px;
}

.property-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.4;
}

.property-access {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.property-details {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-item {
    font-size: 13px;
    color: #666;
    padding: 4px 8px;
    background: #f0f8f0;
    border-radius: 4px;
}

.pickup-slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 10px;
    pointer-events: none;
}

.pickup-prev,
.pickup-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    pointer-events: all;
}

.pickup-prev:hover,
.pickup-next:hover {
    background: white;
    transform: scale(1.1);
}

.pickup-more {
    text-align: center;
}

.btn-view-all {
    display: inline-block;
    padding: 12px 30px;
    background: #4a9b4a !important;
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: #4a9b4a;
    color: #ffffff;
    text-decoration: underline;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 155, 74, 0.3);
}

/* サービス概要 */
.services-overview {
    padding: 80px 0;
    background: #f0f8f0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.service-item {
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-lg);
    background: var(--background-primary);
    border-radius: var(--radius-lg);
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-sm);
}

.service-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
}

.service-item h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 500;
}

.service-item p {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ロゴ */
.site-logo a {
    text-decoration: none;
    color: #4a9b4a !important;
}

.site-logo h1 {
    font-size: 28px;
    font-weight: bold;
    color: #4a9b4a !important;
    margin: 0;
    line-height: 1;
}

.logo-subtitle {
    font-size: 12px;
    color: #666;
    display: block;
    margin-top: 2px;
}

/* ナビゲーション */
.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    padding: 10px 20px;
    color: #333;
    transition: all 0.3s ease;
    border-radius: 8px;
    min-width: 80px;
}

.nav-link:hover {
    background: #f0f8f0;
    color: #4a9b4a;
    transform: translateY(-2px);
}

.nav-icon {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-text {
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}

/* お問い合わせボタン特別スタイル */
.contact-nav .nav-link {
    background: #4a9b4a;
    color: white;
    font-weight: bold;
}

.contact-nav .nav-link:hover {
    background: #367536;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

/* モバイルメニューボタン */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* ヒーローセクション・スライダー */
.hero-section {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    width: 100%;
}

.hero-text {
    color: white;
    text-align: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

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

/* ボタンスタイル */
.btn {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 500;
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 16px;
    border: 2px solid transparent;
    min-width: 180px;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.btn-lg {
    padding: var(--spacing-lg) var(--spacing-2xl);
    font-size: 18px;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: var(--background-primary) !important;
    color: var(--primary-color) !important;
    border: 2px solid var(--primary-color) !important;
    text-decoration: none !important;
}

.btn-outline:hover {
    background: var(--primary-color) !important;
    color: white !important;
    border: 2px solid var(--primary-color) !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

/* スライダーコントロール */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
}

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

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active,
.slider-dot:hover {
    background: #fff;
    transform: scale(1.2);
}

.slider-arrows {
    display: flex;
    gap: 10px;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
    transform: scale(1.1);
}

/* 物件検索セクション */
.search-section {
    background: #fff;
    padding: 40px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 100;
}

.search-form-wrapper {
    background: #f0f8f0;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.search-form-wrapper h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #4a9b4a;
    font-size: 2rem;
}

.property-search-form .search-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    align-items: end;
}

.search-field {
    display: flex;
    flex-direction: column;
}

.search-field label {
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
    font-size: 14px;
}

.search-field input,
.search-field select {
    padding: 12px 15px;
    border: 2px solid #f0f8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #fff;
}

.search-field input:focus,
.search-field select:focus {
    outline: none;
    border-color: #4a9b4a;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.search-submit-btn {
    background: #4a9b4a;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    height: 48px;
}

.search-submit-btn:hover {
    background: #367536;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

/* 新着物件セクション */
.properties-section {
    padding: 60px 0;
    background: #f0f8f0;
}

.properties-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #4a9b4a;
}

.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.property-item {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.property-item h3 {
    color: #4a9b4a;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.property-details p {
    margin-bottom: 8px;
    color: #666;
}

.property-content {
    margin-top: 15px;
    color: #555;
    line-height: 1.6;
}

/* お客様の声セクション */
.testimonials-section {
    padding: 60px 0;
    background: white;
}

.testimonials-section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
    color: #4a9b4a;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-item {
    background: #f0f8f0;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #4a9b4a;
}

.testimonial-item h3 {
    color: #4a9b4a;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.testimonial-content {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #555;
}

.customer-info {
    text-align: right;
    color: #666;
    font-style: italic;
}

/* フッター */
.site-footer {
    background: #4a9b4a;
    color: #ffffff;
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.3rem;
    border-bottom: 2px solid #4a9b4a;
    padding-bottom: 10px;
}

.footer-section p,
.footer-section li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #b0b0b0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-section a:hover {
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: underline;
}

.social-links {
    list-style: none;
    padding: 0;
}

.social-link {
    display: inline-block;
    padding: 0;
    margin-bottom: 8px;
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-link:hover {
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid #ffffff;
    padding-top: 20px;
    text-align: center;
    color: #ffffff;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .properties-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .main-nav li {
        margin-left: 0;
        margin-bottom: 10px;
    }
}

/* お知らせ・トピックスセクション */
.news-section {
    background: #f0f8f0;
    padding: 60px 0;
}

.news-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
    position: relative;
}

.news-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #4a9b4a;
    margin: 20px auto 0;
}

.news-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.news-list {
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.news-item {
    display: grid;
    grid-template-columns: 100px 120px 1fr;
    gap: 20px;
    padding: 20px;
    border-bottom: 1px solid #f0f8f0;
    align-items: center;
    transition: background 0.3s;
}

.news-item:hover {
    background: #f0f8f0;
}

.news-item:last-child {
    border-bottom: none;
}

.news-date {
    text-align: center;
}

.news-year {
    display: block;
    font-size: 14px;
    color: #666;
}

.news-month-day {
    display: block;
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

.category-label {
    display: inline-block;
    padding: 4px 12px;
    background: #4a9b4a;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.news-title a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.6;
}

.news-title a:hover {
    color: #4a9b4a;
    text-decoration: underline;
}

.no-news {
    padding: 40px;
    text-align: center;
    color: #666;
}

.news-sidebar {
    display: flex;
    align-items: flex-start;
}

.btn-view-all {
    display: inline-block;
    padding: 12px 24px;
    background: #4a9b4a;
    color: #ffffff;
    text-decoration: none;
    border: 2px solid #4a9b4a;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.btn-view-all:hover {
    background: #4a9b4a;
    color: #ffffff;
    text-decoration: underline;
    transform: translateY(-2px);
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .news-content {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        grid-template-columns: 80px 1fr;
        gap: 15px;
    }
    
    .news-category {
        grid-column: 2;
        grid-row: 1;
        margin-bottom: 8px;
    }
    
    .news-title {
        grid-column: 2;
        grid-row: 2;
    }
    
    .news-sidebar {
        justify-content: center;
    }
}
/* フッターのホバー効果削除（個別に設定済み） */

/* 高度な物件検索フィルター（丸山不動産風） */
.property-filters {
    background: var(--background-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-3xl);
    margin-bottom: var(--spacing-4xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-subtle);
}

/* タブ式取引種別選択 */
.transaction-tabs {
    display: flex;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-2xl);
    border-bottom: 2px solid var(--border-light);
    padding-bottom: var(--spacing-lg);
}

.tab-btn {
    background: none;
    border: none;
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    color: var(--text-secondary);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    position: relative;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: var(--background-subtle);
}

.tab-btn.active {
    color: var(--accent-color);
    background: rgba(52, 152, 219, 0.1);
    font-weight: var(--font-weight-semibold);
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background: var(--accent-color);
    border-radius: 2px;
}

/* フィルター行 */
.filter-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.filter-item {
    display: flex;
    flex-direction: column;
}

.filter-item label {
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--text-primary);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.02em;
}

.filter-item select {
    padding: var(--spacing-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    color: var(--text-primary);
    background: var(--background-primary);
    transition: all 0.3s ease;
    cursor: pointer;
}

.filter-item select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.filter-item select:hover {
    border-color: var(--text-secondary);
}

/* 詳細検索の折りたたみ */
.advanced-filters {
    border-top: 1px solid var(--border-light);
    padding-top: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.toggle-advanced {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    color: var(--accent-color);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    padding: var(--spacing-sm) 0;
    transition: all 0.3s ease;
    margin-bottom: var(--spacing-lg);
}

.toggle-advanced:hover {
    color: var(--accent-hover);
}

.toggle-advanced svg {
    transition: transform 0.3s ease;
}

.toggle-advanced.expanded svg {
    transform: rotate(180deg);
}

.advanced-filter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    opacity: 0;
}

.advanced-filter-content.expanded {
    max-height: 300px;
    opacity: 1;
}

/* フィルターアクション */
.filter-actions {
    display: flex;
    gap: var(--spacing-lg);
    justify-content: flex-end;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    min-width: 120px;
    justify-content: center;
}

.btn-primary {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.btn-primary:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--border-color);
}

.btn-outline:hover {
    background: var(--background-subtle);
    border-color: var(--text-secondary);
}

/* 信頼性・実績セクション（丸山不動産風） */
.trust-section {
    padding: var(--spacing-5xl) 0;
    background: var(--background-primary);
}

.trust-section .section-title {
    font-size: var(--font-size-4xl);
    text-align: center;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.trust-section .section-description {
    text-align: center;
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-4xl);
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-3xl);
    max-width: 1200px;
    margin: 0 auto;
}

.trust-item {
    text-align: center;
    padding: var(--spacing-3xl) var(--spacing-xl);
    background: var(--background-primary);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s ease;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out calc(0.6s + var(--animation-delay, 0s)) forwards;
}

.trust-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-color);
}

.trust-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    border-radius: 50%;
    color: white;
}

.trust-item h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    font-weight: var(--font-weight-semibold);
}

.trust-item p {
    font-size: var(--font-size-base);
    line-height: var(--line-height-relaxed);
    color: var(--text-secondary);
    margin: 0;
}

/* アニメーション遅延の設定 */
.trust-item:nth-child(1) { --animation-delay: 0s; }
.trust-item:nth-child(2) { --animation-delay: 0.1s; }
.trust-item:nth-child(3) { --animation-delay: 0.2s; }
.trust-item:nth-child(4) { --animation-delay: 0.3s; }

/* エリア検索ボタンのスタイル */
.area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.area-btn {
    background: var(--background-primary);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
}

.area-btn:hover {
    background: var(--primary-color);
    color: var(--background-primary);
    transform: translateY(-2px);
}

.station-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.station-btn {
    background: var(--background-primary);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
}

.station-btn:hover {
    background: var(--primary-color);
    color: var(--background-primary);
    transform: translateY(-2px);
}

/* モバイル対応 */
@media (max-width: 768px) {
    .property-filters {
        padding: var(--spacing-xl);
    }
    
    .transaction-tabs {
        flex-wrap: wrap;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .trust-section {
        padding: var(--spacing-4xl) 0;
    }
    
    .trust-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-2xl);
    }
    
    .trust-item {
        padding: var(--spacing-2xl) var(--spacing-lg);
    }
    
    .trust-section .section-title {
        font-size: var(--font-size-3xl);
    }
    
    .area-grid,
    .station-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-md);
    }
    
    .area-btn,
    .station-btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: var(--font-size-sm);
    }
}
    transition: color 0.3s ease;
}

/* フッターリンクの詳細スタイル */
.footer-section ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-section ul li a:hover {
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: underline;
}

/* フッター内の他のリンク */
.site-footer a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.site-footer a:hover {
    color: #ffffff;
    transform: translateY(-2px);
    text-decoration: underline;
}
