/* ========================================
   東風ハウジング サンプルサイト
   02realestate（琵琶湖リゾート・若い家族向け）
   ======================================== */

/* ========================================
   変数定義 - 琵琶湖と比叡山をイメージした爽やかな配色
   ======================================== */
:root {
    --primary-color: #0077BE;
    --lake-blue: #00A0E9;
    --sky-blue: #87CEEB;
    --mountain-green: #4CAF50;
    --fresh-green: #8BC34A;
    --accent-orange: #FF9800;
    --accent-coral: #FF7043;
    --text-color: #333333;
    --text-light: #666666;
    --text-white: #FFFFFF;
    --bg-color: #FFFFFF;
    --bg-light: #F0F8FF;
    --bg-beige: #FFF8DC;
    --bg-cream: #FFFEF0;
    --border-color: #E0E0E0;
    --border-blue: #B3E5FC;
    --shadow-sm: 0 2px 8px rgba(0, 119, 190, 0.1);
    --shadow: 0 4px 20px rgba(0, 119, 190, 0.15);
    --shadow-lg: 0 8px 32px rgba(0, 119, 190, 0.2);
    --shadow-hover: 0 12px 40px rgba(0, 119, 190, 0.25);
    --shadow-soft: 0 4px 20px rgba(135, 206, 235, 0.3);
}

/* 売買物件ページ専用カラー（青系） */
.page-template-page-sale {
    --primary-color: #2C5AA0;
    --secondary-color: #4A7BB8;
    --accent-color: #1E3A5F;
}

/* 賃貸物件ページ専用カラー（オレンジ系） */
.page-template-page-rent {
    --primary-color: #D97D34;
    --secondary-color: #E89554;
    --accent-color: #B8600F;
}

/* ========================================
   アニメーション設定
   ======================================== */

/* スクロール時のフェードイン */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* 時間差表示用 */
.fade-in-up.delay-1 {
    transition-delay: 0.1s;
}

.fade-in-up.delay-2 {
    transition-delay: 0.2s;
}

.fade-in-up.delay-3 {
    transition-delay: 0.3s;
}

.fade-in-up.delay-4 {
    transition-delay: 0.4s;
}

/* パララックス効果用 */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: -10%;
    left: 0;
    width: 100%;
    height: 120%;
    background-size: cover;
    background-position: center;
    will-change: transform;
    transition: transform 0.1s ease-out;
}

/* ========================================
   リセット・基本設定
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Hiragino Kaku Gothic ProN', 'ヒラギノ角ゴ ProN', 'Yu Gothic', 'YuGothic', 'Meiryo', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-color);
    background-color: var(--bg-light);
    letter-spacing: 0.02em;
    padding-top: 0; /* 固定ヘッダーの高さ分は不要（初期非表示のため） */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

/* ========================================
   ダミー写真共通スタイル
   ======================================== */
.realestate-e-dummy-photo {
    width: 100%;
    height: 100%;
    background-color: #808080; /* 50%グレー */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.realestate-e-dummy-label {
    color: #FFFFFF; /* 白抜き */
    font-size: 16px; /* h3タイトルサイズ */
    font-weight: 600;
    text-align: center;
    padding: 20px;
    line-height: 1.6;
    letter-spacing: 0.05em;
}

/* ========================================
   ヘッダー - 琵琶湖の爽やかなデザイン
   ======================================== */
.realestate-e-header {
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--lake-blue) 100%);
    border-bottom: 3px solid var(--accent-orange);
    padding: 25px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-soft);
    transform: translateY(0); /* 初期状態は表示 */
    transition: transform 0.3s ease-in-out;
}

/* 下スクロール時に非表示 */
.realestate-e-header.hide {
    transform: translateY(-100%);
}

.realestate-e-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.realestate-e-header-content {
    text-align: center;
    margin-bottom: 20px;
}

.realestate-e-site-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
}

.realestate-e-site-title a {
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.realestate-e-site-title a:hover {
    color: var(--accent-orange);
    transform: scale(1.02);
}

.realestate-e-logo {
    height: 60px;
    width: auto;
}

.realestate-e-site-name {
    display: inline-block;
}

@media (max-width: 768px) {
    .realestate-e-logo {
        height: 40px;
    }
    
    .realestate-e-site-title {
        font-size: 24px;
    }
    
    .realestate-e-site-title a {
        gap: 10px;
    }
}

.realestate-e-site-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.05em;
}

.realestate-e-nav {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 15px;
}

.realestate-e-nav-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.realestate-e-nav-list li a {
    display: block;
    padding: 12px 28px;
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    border: 2px solid var(--text-white);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.realestate-e-nav-list li a:hover {
    background-color: var(--accent-orange);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 152, 0, 0.4);
    border-color: var(--accent-orange);
}

/* ハンバーガーメニューボタン（デフォルトは非表示） */
.realestate-e-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: absolute;
    top: 20px;
    right: 20px;
}

.realestate-e-hamburger-line {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.realestate-e-hamburger.active .realestate-e-hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(12px);
}

.realestate-e-hamburger.active .realestate-e-hamburger-line:nth-child(2) {
    opacity: 0;
}

.realestate-e-hamburger.active .realestate-e-hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-12px);
}

/* スマホサイズでハンバーガーメニューを表示 */
@media screen and (max-width: 768px) {
    .realestate-e-hamburger {
        display: flex;
    }
    
    .realestate-e-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: linear-gradient(135deg, var(--sky-blue) 0%, var(--lake-blue) 100%);
        padding: 80px 20px 20px;
        transition: right 0.3s ease;
        z-index: 1000;
        overflow-y: auto;
        border-top: none;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
    }
    
    .realestate-e-nav.active {
        right: 0;
    }
    
    .realestate-e-nav-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .realestate-e-nav-list li a {
        width: 100%;
        text-align: center;
        padding: 15px 20px;
        font-size: 16px;
    }
}

/* ========================================
   フッター - 琵琶湖の夕暮れをイメージ
   ======================================== */
.realestate-e-footer {
    background: linear-gradient(180deg, var(--primary-color) 0%, #005A8C 100%);
    color: var(--text-white);
    padding: 60px 0 30px;
    margin-top: 80px;
    border-top: 4px solid var(--mountain-green);
}

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

.realestate-e-footer-title {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--accent-color);
}

.realestate-e-footer-subtitle {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.realestate-e-footer-address {
    line-height: 1.8;
}

.realestate-e-footer-links ul,
.realestate-e-footer-nav ul {
    list-style: none;
}

.realestate-e-footer-links ul li,
.realestate-e-footer-nav ul li {
    margin-bottom: 8px;
}

.realestate-e-footer-nav a {
    color: var(--bg-color);
    transition: color 0.3s ease;
}

.realestate-e-footer-nav a:hover {
    color: var(--secondary-color);
}

.realestate-e-copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   ダミー写真（グレー背景＋白抜き文字）
   ======================================== */
.realestate-e-hero-photo,
.realestate-e-pet-photo,
.realestate-e-dog-photo-main,
.realestate-e-dog-photo-sub,
.realestate-e-cat-photo-main,
.realestate-e-cat-photo-sub,
.realestate-e-gallery-photo,
.realestate-e-contact-photo,
.realestate-e-contact-photo-sub,
.realestate-e-flow-photo,
.realestate-e-about-photo,
.realestate-e-about-photo-item,
.realestate-e-volunteer-photo,
.realestate-e-donation-photo {
    background-color: #888888;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    font-size: 18px;
    font-weight: 500;
    min-height: 200px;
    border-radius: 8px;
}

/* ========================================
   ボタン
   ======================================== */
.realestate-e-btn {
    display: inline-block;
    padding: 16px 48px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    letter-spacing: 0.05em;
}

.realestate-e-btn-primary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-coral) 100%);
    color: var(--text-white);
    box-shadow: var(--shadow);
}

.realestate-e-btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(255, 152, 0, 0.4);
}

.realestate-e-btn-secondary {
    background-color: var(--mountain-green);
    color: var(--text-white);
    box-shadow: var(--shadow);
    border: none;
}

.realestate-e-btn-secondary:hover {
    background-color: #556B7D;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.realestate-e-btn-outline {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.realestate-e-btn-outline:hover {
    background-color: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

/* ========================================
   ヒーローセクション
   ======================================== */
.realestate-e-hero {
    position: relative;
    margin-bottom: 60px;
}

.realestate-e-hero-photo {
    width: 100%;
    height: 500px;
    font-size: 24px;
}

.realestate-e-hero-content {
    text-align: center;
    padding: 60px 20px;
}

.realestate-e-hero-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 25px;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.realestate-e-hero-text {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 35px;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

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

/* ========================================
   セクション共通
   ======================================== */
.realestate-e-pets,
.realestate-e-news,
.realestate-e-gallery,
.realestate-e-contact-info,
.realestate-e-flow,
.realestate-e-conditions,
.realestate-e-about,
.realestate-e-achievement,
.realestate-e-volunteer,
.realestate-e-donation,
.realestate-e-sponsor {
    padding: 80px 0;
}

.realestate-e-pets,
.realestate-e-gallery,
.realestate-e-flow,
.realestate-e-about,
.realestate-e-volunteer,
.realestate-e-sponsor,
.realestate-e-sale-list-section,
.realestate-e-rent-list-section {
    background-color: var(--bg-light);
}

.realestate-e-section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    color: var(--primary-color);
    letter-spacing: 0.03em;
    position: relative;
    padding-bottom: 20px;
}

.realestate-e-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--lake-blue) 0%, var(--mountain-green) 100%);
    border-radius: 2px;
}

.realestate-e-section-intro {
    text-align: center;
    font-size: 16px;
    color: var(--text-light);
    margin-bottom: 50px;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

/* ========================================
   物件紹介グリッド
   ======================================== */
.realestate-e-pets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.realestate-e-pet-card {
    background-color: var(--bg-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 3px solid var(--border-blue);
    position: relative;
}

.realestate-e-pet-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--sky-blue) 0%, var(--mountain-green) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.realestate-e-pet-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.realestate-e-pet-card:hover::before {
    opacity: 1;
}

.realestate-e-pet-photo {
    width: 100%;
    height: 250px;
    font-size: 16px;
}

.realestate-e-pet-photo-link {
    display: block;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.realestate-e-pet-photo-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.realestate-e-pet-photo-link:hover .realestate-e-pet-photo-img {
    transform: scale(1.05);
}

.realestate-e-pet-info {
    padding: 20px;
}

.realestate-e-pet-name {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}

.realestate-e-pet-name a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.realestate-e-pet-name a:hover {
    color: var(--accent-color);
}

.realestate-e-pet-details {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.realestate-e-pet-desc {
    font-size: 15px;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.7;
}

/* 投稿内の表スタイル */
.realestate-e-pet-desc table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 0;
}

.realestate-e-pet-desc table th,
.realestate-e-pet-desc table td {
    padding: 8px 10px;
    text-align: left;
    border: 1px solid var(--border-color);
    line-height: 1.6;
}

.realestate-e-pet-desc table th {
    background-color: var(--bg-light);
    font-weight: 600;
    color: var(--text-color);
    width: 30%;
}

.realestate-e-pet-desc table td {
    background-color: var(--bg-color);
}

/* 物件サマリー表示 */
.realestate-e-property-summary {
    font-size: 15px;
    line-height: 1.8;
}

.realestate-e-property-summary p {
    margin-bottom: 8px;
}

.realestate-e-property-price {
    font-size: 18px;
    color: #1E3A5F;
    margin-bottom: 12px;
}

.realestate-e-property-address,
.realestate-e-property-access,
.realestate-e-property-layout {
    font-size: 14px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 4px;
}

.realestate-e-more-link {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.realestate-e-no-posts {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    background-color: var(--bg-color);
    border-radius: 12px;
    color: var(--text-light);
    font-size: 16px;
}

/* ========================================
   お知らせ
   ======================================== */
.realestate-e-news-list {
    max-width: 900px;
    margin: 0 auto;
}

.realestate-e-news-item {
    background-color: var(--bg-color);
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--secondary-color);
}

.realestate-e-news-date {
    font-size: 14px;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 10px;
}

.realestate-e-news-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.realestate-e-news-text {
    font-size: 15px;
    color: var(--text-color);
    line-height: 1.8;
}

/* ========================================
   ギャラリー
   ======================================== */
.realestate-e-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.realestate-e-gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.realestate-e-gallery-photo {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

/* ========================================
   CTAセクション
   ======================================== */
.realestate-e-cta {
    background: linear-gradient(135deg, var(--lake-blue) 0%, var(--primary-color) 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--text-white);
    position: relative;
    overflow: hidden;
}

.realestate-e-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange) 0%, var(--mountain-green) 100%);
}

.realestate-e-cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 25px;
    letter-spacing: 0.03em;
}

.realestate-e-cta-text {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 35px;
    opacity: 0.95;
    letter-spacing: 0.02em;
}

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

.realestate-e-cta .realestate-e-btn-primary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, var(--accent-coral) 100%);
    color: var(--text-white);
}

.realestate-e-cta .realestate-e-btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
}

.realestate-e-cta .realestate-e-btn-secondary {
    background-color: transparent;
    color: var(--bg-color);
    border: 2px solid var(--bg-color);
}

.realestate-e-cta .realestate-e-btn-secondary:hover {
    background-color: var(--bg-color);
    color: var(--primary-color);
}

/* ========================================
   ページヘッダー
   ======================================== */
.realestate-e-page-header {
    background: linear-gradient(135deg, var(--sky-blue) 0%, var(--lake-blue) 100%);
    color: var(--text-white);
    padding: 70px 0;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.realestate-e-page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-orange) 0%, var(--mountain-green) 100%);
    border-radius: 2px;
}

.realestate-e-page-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.03em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.realestate-e-page-intro {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.95;
    letter-spacing: 0.02em;
}

/* ========================================
   物件詳細ページ
   ======================================== */
.realestate-e-sale-list,
.realestate-e-rent-list {
    max-width: 1000px;
    margin: 0 auto;
}

.realestate-e-dog-detail,
.realestate-e-cat-detail {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: var(--shadow);
}

.realestate-e-dog-photo-main,
.realestate-e-cat-photo-main {
    width: 100%;
    height: 400px;
    margin-bottom: 30px;
    font-size: 20px;
}

.realestate-e-dog-name-large,
.realestate-e-cat-name-large {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.realestate-e-dog-specs,
.realestate-e-cat-specs {
    margin-bottom: 30px;
}

.realestate-e-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.realestate-e-specs-table th,
.realestate-e-specs-table td {
    padding: 12px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
}

.realestate-e-specs-table th {
    background-color: var(--bg-light);
    font-weight: 600;
    width: 120px;
    color: var(--primary-color);
}

.realestate-e-specs-table td {
    color: var(--text-color);
}

.realestate-e-dog-description,
.realestate-e-cat-description {
    margin-bottom: 30px;
}

.realestate-e-dog-subtitle,
.realestate-e-cat-subtitle {
    font-size: 20px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.realestate-e-dog-description p,
.realestate-e-cat-description p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 15px;
}

.realestate-e-recommend-list {
    list-style: none;
    padding-left: 0;
}

.realestate-e-recommend-list li {
    padding-left: 25px;
    margin-bottom: 10px;
    position: relative;
    line-height: 1.7;
}

.realestate-e-recommend-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 18px;
}

.realestate-e-dog-photos,
.realestate-e-cat-photos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.realestate-e-dog-photo-sub,
.realestate-e-cat-photo-sub {
    height: 180px;
    font-size: 14px;
}

/* ========================================
   店舗情報
   ======================================== */
.realestate-e-contact-item {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: var(--shadow);
}

.realestate-e-contact-photo {
    width: 100%;
    height: 300px;
    margin-bottom: 30px;
    font-size: 20px;
}

.realestate-e-contact-name {
    font-size: 28px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.realestate-e-contact-details p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 12px;
}

.realestate-e-contact-details strong {
    color: var(--secondary-color);
}

.realestate-e-contact-photo-sub {
    width: 100%;
    height: 250px;
    margin-top: 20px;
    font-size: 16px;
}

.realestate-e-weekday-info {
    background-color: var(--accent-color);
    padding: 30px;
    border-radius: 12px;
    margin-top: 40px;
}

.realestate-e-weekday-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 15px;
}

.realestate-e-weekday-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color);
}

/* ========================================
   アクセス・流れ
   ======================================== */
.realestate-e-flow-steps {
    max-width: 900px;
    margin: 0 auto;
}

.realestate-e-flow-step {
    background-color: var(--bg-color);
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.realestate-e-flow-number {
    background-color: var(--primary-color);
    color: var(--bg-color);
    font-size: 18px;
    font-weight: bold;
    padding: 15px 25px;
    border-radius: 50px;
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
}

.realestate-e-flow-content {
    flex: 1;
}

.realestate-e-flow-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.realestate-e-flow-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

.realestate-e-flow-photo {
    width: 100%;
    height: 200px;
    font-size: 14px;
}

/* ========================================
   物件条件表示
   ======================================== */
.realestate-e-conditions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.realestate-e-condition-item {
    background-color: var(--bg-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--secondary-color);
}

.realestate-e-condition-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.realestate-e-condition-text {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color);
}

/* ========================================
   会社概要
   ======================================== */
.realestate-e-about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
    margin-bottom: 40px;
}

.realestate-e-about-photo {
    width: 100%;
    height: 400px;
    font-size: 16px;
}

.realestate-e-about-subtitle {
    font-size: 22px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.realestate-e-about-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 15px;
}

.realestate-e-about-photos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.realestate-e-about-photo-item {
    height: 250px;
    font-size: 14px;
}

/* ========================================
   活動実績
   ======================================== */
.realestate-e-achievement-numbers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.realestate-e-achievement-item {
    text-align: center;
    background-color: var(--bg-light);
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.realestate-e-achievement-number {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.realestate-e-achievement-label {
    font-size: 16px;
    color: var(--text-light);
}

/* ========================================
   ボランティア
   ======================================== */
.realestate-e-volunteer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: start;
}

.realestate-e-volunteer-photo {
    width: 100%;
    height: 350px;
    font-size: 16px;
}

.realestate-e-volunteer-subtitle {
    font-size: 22px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.realestate-e-volunteer-list {
    list-style: none;
    padding-left: 0;
}

.realestate-e-volunteer-list li {
    padding-left: 25px;
    margin-bottom: 15px;
    position: relative;
    line-height: 1.8;
}

.realestate-e-volunteer-list li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 12px;
}

.realestate-e-volunteer-info p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 15px;
}

/* ========================================
   寄付
   ======================================== */
.realestate-e-donation-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.realestate-e-donation-subtitle {
    font-size: 22px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.realestate-e-donation-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 15px;
}

.realestate-e-donation-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}

.realestate-e-donation-list li {
    padding-left: 25px;
    margin-bottom: 8px;
    position: relative;
    line-height: 1.7;
}

.realestate-e-donation-list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.realestate-e-donation-photo {
    width: 100%;
    height: 350px;
    font-size: 16px;
}

/* ========================================
   追加情報
   ======================================== */
.realestate-e-sponsor-text {
    max-width: 900px;
    margin: 0 auto;
}

.realestate-e-sponsor-subtitle {
    font-size: 22px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-top: 25px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-color);
}

.realestate-e-sponsor-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 15px;
}

/* ========================================
   レスポンシブ
   ======================================== */
@media (max-width: 768px) {
    .realestate-e-hero-title {
        font-size: 32px;
    }

    .realestate-e-hero-photo {
        height: 300px;
    }

    .realestate-e-section-title {
        font-size: 28px;
    }

    .realestate-e-page-title {
        font-size: 28px;
    }

    .realestate-e-flow-step {
        flex-direction: column;
    }

    .realestate-e-flow-number {
        width: 100%;
    }

    .realestate-e-about-content,
    .realestate-e-volunteer-content,
    .realestate-e-donation-content {
        grid-template-columns: 1fr;
    }

    .realestate-e-about-photos {
        grid-template-columns: 1fr;
    }

    .realestate-e-footer-content {
        grid-template-columns: 1fr;
    }

    .realestate-e-contact-content {
        grid-template-columns: 1fr;
    }
    
    .realestate-e-pets-grid {
        grid-template-columns: 1fr;
    }
}

/* タブレット用レイアウト */
@media (min-width: 769px) and (max-width: 1024px) {
    .realestate-e-pets-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ========================================
   お問い合わせフォーム
   ======================================== */
.realestate-e-contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.realestate-e-contact-form {
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.realestate-e-form-group {
    margin-bottom: 25px;
}

.realestate-e-form-label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 15px;
}

.realestate-e-required {
    color: var(--primary-color);
    font-size: 12px;
    margin-left: 5px;
}

.realestate-e-form-input,
.realestate-e-form-select,
.realestate-e-form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.realestate-e-form-input:focus,
.realestate-e-form-select:focus,
.realestate-e-form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.realestate-e-form-textarea {
    resize: vertical;
    min-height: 150px;
}

.realestate-e-form-submit {
    text-align: center;
    margin-top: 30px;
}

.realestate-e-btn-large {
    padding: 18px 50px;
    font-size: 18px;
}

.realestate-e-contact-info-box {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    border-left: 5px solid var(--secondary-color);
}

.realestate-e-contact-info-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.realestate-e-contact-phone-list {
    margin-bottom: 30px;
}

.realestate-e-contact-phone-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.realestate-e-contact-phone-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.realestate-e-contact-phone-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.realestate-e-contact-phone-number {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
}

.realestate-e-contact-hours {
    background-color: var(--bg-color);
    padding: 20px;
    border-radius: 8px;
}

.realestate-e-contact-hours-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-color);
    margin-bottom: 10px;
}

.realestate-e-contact-hours p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   売買物件ページ専用配色（青系）
   ======================================== */
.page-sale .realestate-e-section-title,
.page-sale .realestate-e-page-title,
.page-template-page-sale .realestate-e-section-title,
.page-template-page-sale .realestate-e-page-title {
    color: #2C5AA0;
}

.page-sale .realestate-e-pet-name,
.page-template-page-sale .realestate-e-pet-name {
    color: #2C5AA0;
}

.page-sale .realestate-e-btn-primary,
.page-template-page-sale .realestate-e-btn-primary {
    background-color: #2C5AA0;
}

.page-sale .realestate-e-btn-primary:hover,
.page-template-page-sale .realestate-e-btn-primary:hover {
    background-color: #4A90E2;
}

.page-sale .realestate-e-btn-outline,
.page-template-page-sale .realestate-e-btn-outline {
    color: #2C5AA0;
    border-color: #2C5AA0;
}

.page-sale .realestate-e-btn-outline:hover,
.page-template-page-sale .realestate-e-btn-outline:hover {
    background-color: #2C5AA0;
    color: #FFFFFF;
}

.page-sale .realestate-e-cta,
.page-template-page-sale .realestate-e-cta {
    background: linear-gradient(135deg, #2C5AA0 0%, #4A90E2 100%);
}

/* ========================================
   賃貸物件ページ専用配色（オレンジ系）
   ======================================== */
.page-rent .realestate-e-section-title,
.page-rent .realestate-e-page-title,
.page-template-page-rent .realestate-e-section-title,
.page-template-page-rent .realestate-e-page-title {
    color: #D97D34;
}

.page-rent .realestate-e-pet-name,
.page-template-page-rent .realestate-e-pet-name {
    color: #D97D34;
}

.page-rent .realestate-e-btn-primary,
.page-template-page-rent .realestate-e-btn-primary {
    background-color: #D97D34;
}

.page-rent .realestate-e-btn-primary:hover,
.page-template-page-rent .realestate-e-btn-primary:hover {
    background-color: #E89554;
}

.page-rent .realestate-e-btn-outline,
.page-template-page-rent .realestate-e-btn-outline {
    color: #D97D34;
    border-color: #D97D34;
}

.page-rent .realestate-e-btn-outline:hover,
.page-template-page-rent .realestate-e-btn-outline:hover {
    background-color: #D97D34;
    color: #FFFFFF;
}

.page-rent .realestate-e-cta,
.page-template-page-rent .realestate-e-cta {
    background: linear-gradient(135deg, #D97D34 0%, #E89554 100%);
}

/* ========================================
   トップページのボタン配色
   ======================================== */
/* 売買物件ボタン（青系） */
.realestate-e-btn-sale {
    background-color: #2C5AA0;
}

.realestate-e-btn-sale:hover {
    background-color: #4A90E2;
}

/* 賃貸物件ボタン（オレンジ系） */
.realestate-e-btn-rent {
    background-color: #D97D34;
}

.realestate-e-btn-rent:hover {
    background-color: #E89554;
}

/* 売買物件ボタン */
.realestate-e-hero-buttons .realestate-e-btn-primary[href*="sale"],
.realestate-e-more-link .realestate-e-btn-primary[href*="sale"] {
    background-color: #2C5AA0;
}

.realestate-e-hero-buttons .realestate-e-btn-primary[href*="sale"]:hover,
.realestate-e-more-link .realestate-e-btn-primary[href*="sale"]:hover {
    background-color: #4A90E2;
}

/* 賃貸物件ボタン */
.realestate-e-hero-buttons .realestate-e-btn-secondary[href*="rent"],
.realestate-e-more-link .realestate-e-btn-primary[href*="rent"] {
    background-color: #D97D34;
}

.realestate-e-hero-buttons .realestate-e-btn-secondary[href*="rent"]:hover,
.realestate-e-more-link .realestate-e-btn-primary[href*="rent"]:hover {
    background-color: #E89554;
}

/* ========================================
   メニューバーのボタン配色
   ======================================== */
/* 売買物件メニュー（青系） */
.realestate-e-nav-list a[href*="sale"] {
    color: #2C5AA0;
    font-weight: 600;
}

.realestate-e-nav-list a[href*="sale"]:hover {
    color: #4A90E2;
    background-color: rgba(44, 90, 160, 0.1);
}

/* 賃貸物件メニュー（オレンジ系） */
.realestate-e-nav-list a[href*="rent"] {
    color: #D97D34;
    font-weight: 600;
}

.realestate-e-nav-list a[href*="rent"]:hover {
    color: #E89554;
    background-color: rgba(217, 125, 52, 0.1);
}

/* ========================================
   会社概要ページ
   ======================================== */
/* 社長あいさつ */
.realestate-e-greeting {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.realestate-e-greeting-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

.realestate-e-greeting-photo {
    flex: 0 0 280px;
    height: 350px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.realestate-e-greeting-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
}

.realestate-e-greeting-text {
    flex: 1;
}

.realestate-e-greeting-name {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: 600;
}

.realestate-e-greeting-text p {
    line-height: 1.9;
    margin-bottom: 20px;
}

/* 会社の歴史 */
.realestate-e-history {
    padding: 60px 0;
}

.realestate-e-history-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.realestate-e-history-intro p {
    line-height: 1.9;
}

.realestate-e-timeline {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.realestate-e-timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--border-color);
}

.realestate-e-timeline-item {
    position: relative;
    padding: 30px 0 30px 40px;
}

.realestate-e-timeline-item::before {
    content: '';
    position: absolute;
    left: -29px;
    top: 35px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: 3px solid var(--bg-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.realestate-e-timeline-year {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.realestate-e-timeline-content h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.realestate-e-timeline-content p {
    line-height: 1.8;
    color: var(--text-light);
}

/* 会社情報 */
.realestate-e-company-info {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.realestate-e-info-table {
    max-width: 900px;
    margin: 40px auto 0;
}

.realestate-e-info-table table {
    width: 100%;
    border-collapse: collapse;
    background-color: var(--bg-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.realestate-e-info-table th,
.realestate-e-info-table td {
    padding: 20px 25px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.realestate-e-info-table th {
    background-color: var(--bg-light);
    font-weight: 600;
    color: var(--text-color);
    width: 180px;
}

.realestate-e-info-table td {
    color: var(--text-light);
    line-height: 1.8;
}

.realestate-e-info-table tr:last-child th,
.realestate-e-info-table tr:last-child td {
    border-bottom: none;
}

/* ========================================
   店舗情報ページ
   ======================================== */
/* 店舗情報 */
.realestate-e-store-info {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.realestate-e-store-content {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.realestate-e-store-photo {
    flex: 0 0 400px;
    height: 300px;
    background-color: #808080;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 8px;
}

.realestate-e-store-details {
    flex: 1;
}

.realestate-e-store-name {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    font-weight: 600;
}

.realestate-e-store-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.realestate-e-store-item:last-child {
    border-bottom: none;
}

.realestate-e-store-item strong {
    display: block;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 8px;
}

.realestate-e-store-item p {
    color: var(--text-light);
    line-height: 1.8;
}

.realestate-e-store-photo-interior {
    margin-top: 40px;
    width: 100%;
    height: 300px;
    background-color: #808080;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 8px;
}

/* アクセス */
.realestate-e-access {
    padding: 60px 0;
}

.realestate-e-access-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.realestate-e-map-placeholder {
    width: 100%;
    height: 400px;
    background-color: #E5E7EB;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    border-radius: 8px;
    border: 2px dashed var(--border-color);
}

.realestate-e-access-subtitle {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin: 30px 0 15px 0;
    font-weight: 600;
}

.realestate-e-access-subtitle:first-child {
    margin-top: 0;
}

.realestate-e-access-list {
    list-style: none;
    padding: 0;
}

.realestate-e-access-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    line-height: 1.8;
}

.realestate-e-access-list li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 0.8rem;
}

.realestate-e-access-note {
    margin-top: 30px;
    padding: 20px;
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}

.realestate-e-access-note p {
    line-height: 1.8;
    margin: 0;
}

/* お問い合わせフォーム */
.realestate-e-contact {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.realestate-e-contact-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.realestate-e-contact-intro p {
    line-height: 1.9;
    margin-bottom: 15px;
}

.realestate-e-contact-note {
    color: var(--accent-color);
    font-weight: 600;
}

.realestate-e-contact-form {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-color);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.realestate-e-form-group {
    margin-bottom: 25px;
}

.realestate-e-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.realestate-e-form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.realestate-e-required {
    color: #DC2626;
    margin-left: 5px;
}

.realestate-e-form-group input[type="text"],
.realestate-e-form-group input[type="email"],
.realestate-e-form-group input[type="tel"],
.realestate-e-form-group select,
.realestate-e-form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.realestate-e-form-group input:focus,
.realestate-e-form-group select:focus,
.realestate-e-form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.realestate-e-form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.realestate-e-form-privacy {
    margin: 30px 0;
    padding: 20px;
    background-color: var(--bg-light);
    border-radius: 4px;
}

.realestate-e-form-privacy label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.realestate-e-form-privacy input[type="checkbox"] {
    margin-right: 10px;
}

.realestate-e-form-privacy a {
    color: var(--primary-color);
    text-decoration: underline;
    margin: 0 5px;
}

.realestate-e-form-submit {
    text-align: center;
    margin-top: 30px;
}

.realestate-e-form-submit .realestate-e-btn {
    min-width: 250px;
    font-size: 1.1rem;
    padding: 15px 40px;
}

.realestate-e-form-note {
    margin-top: 30px;
    padding: 20px;
    background-color: #FEF3C7;
    border-left: 4px solid #F59E0B;
    border-radius: 4px;
}

.realestate-e-form-note p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

/* お急ぎの場合 */
.realestate-e-urgent-contact {
    padding: 60px 0;
}

.realestate-e-phone-cta {
    text-align: center;
    max-width: 600px;
    margin: 40px auto 0;
    padding: 40px;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.realestate-e-phone-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.realestate-e-phone-icon {
    font-size: 2.5rem;
    margin-right: 15px;
}

.realestate-e-phone-link {
    color: var(--primary-color);
    text-decoration: none;
}

.realestate-e-phone-link:hover {
    text-decoration: underline;
}

.realestate-e-phone-hours {
    color: var(--text-light);
    line-height: 1.8;
}

/* ========================================
   レスポンシブ対応（会社概要・店舗情報）
   ======================================== */
@media (max-width: 768px) {
    /* 社長あいさつ */
    .realestate-e-greeting-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .realestate-e-greeting-photo {
        width: 100%;
        flex: none;
    }
    
    /* タイムライン */
    .realestate-e-timeline {
        padding-left: 30px;
    }
    
    .realestate-e-timeline-item {
        padding-left: 30px;
    }
    
    /* 会社情報テーブル */
    .realestate-e-info-table th,
    .realestate-e-info-table td {
        display: block;
        width: 100%;
        padding: 15px 20px;
    }
    
    .realestate-e-info-table th {
        padding-bottom: 8px;
        border-bottom: none;
    }
    
    .realestate-e-info-table td {
        padding-top: 0;
    }
    
    /* 店舗情報 */
    .realestate-e-store-content {
        flex-direction: column;
    }
    
    .realestate-e-store-photo {
        width: 100%;
        flex: none;
    }
    
    /* アクセス */
    .realestate-e-access-content {
        grid-template-columns: 1fr;
    }
    
    /* フォーム */
    .realestate-e-contact-form {
        padding: 30px 20px;
    }
    
    .realestate-e-form-row {
        grid-template-columns: 1fr;
    }
    
    /* 電話番号 */
    .realestate-e-phone-number {
        font-size: 1.5rem;
    }
    
    .realestate-e-phone-icon {
        font-size: 2rem;
    }
}

/* ========================================
   お店の様子ギャラリー（会社概要ページ）
   ======================================== */

.realestate-e-store-gallery-section {
    padding: 60px 0;
    background-color: var(--bg-color);
}

.realestate-e-store-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.realestate-e-store-gallery-item {
    background-color: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.realestate-e-store-gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.realestate-e-store-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.realestate-e-store-photo-caption {
    padding: 20px;
    font-size: 14px;
    color: var(--text-light);
    text-align: center;
    background-color: var(--text-white);
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .realestate-e-store-gallery {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ========================================
   プレゼン用アニメーション（控えめ）
   ======================================== */

/* フェードイン（セクションタイトル） */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.realestate-e-section-title {
    animation: fadeInUp 0.8s ease-out;
}

/* カードが順番に表示 */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.realestate-e-pet-card {
    animation: fadeInScale 0.6s ease-out;
    animation-fill-mode: both;
}

.realestate-e-pet-card:nth-child(1) { animation-delay: 0.1s; }
.realestate-e-pet-card:nth-child(2) { animation-delay: 0.2s; }
.realestate-e-pet-card:nth-child(3) { animation-delay: 0.3s; }
.realestate-e-pet-card:nth-child(4) { animation-delay: 0.4s; }
.realestate-e-pet-card:nth-child(5) { animation-delay: 0.5s; }
.realestate-e-pet-card:nth-child(6) { animation-delay: 0.6s; }
.realestate-e-pet-card:nth-child(7) { animation-delay: 0.7s; }
.realestate-e-pet-card:nth-child(8) { animation-delay: 0.8s; }

/* ヒーローセクションのフェードイン */
@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.realestate-e-hero-title {
    animation: heroFadeIn 1s ease-out;
}

.realestate-e-hero-text {
    animation: heroFadeIn 1s ease-out 0.3s;
    animation-fill-mode: both;
}

.realestate-e-hero-buttons {
    animation: heroFadeIn 1s ease-out 0.6s;
    animation-fill-mode: both;
}

/* ボタンのパルスアニメーション（控えめ） */
@keyframes gentlePulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(0, 119, 190, 0.15);
    }
    50% {
        box-shadow: 0 6px 25px rgba(0, 119, 190, 0.25);
    }
}

.realestate-e-btn-primary {
    animation: gentlePulse 3s ease-in-out infinite;
}

/* ギャラリーアイテムのフェードイン */
.realestate-e-gallery-item {
    animation: fadeInScale 0.6s ease-out;
    animation-fill-mode: both;
}

.realestate-e-gallery-item:nth-child(1) { animation-delay: 0.1s; }
.realestate-e-gallery-item:nth-child(2) { animation-delay: 0.2s; }
.realestate-e-gallery-item:nth-child(3) { animation-delay: 0.3s; }
.realestate-e-gallery-item:nth-child(4) { animation-delay: 0.4s; }
.realestate-e-gallery-item:nth-child(5) { animation-delay: 0.5s; }
.realestate-e-gallery-item:nth-child(6) { animation-delay: 0.6s; }

/* お店の様子ギャラリーのフェードイン */
.realestate-e-store-gallery-item {
    animation: fadeInScale 0.6s ease-out;
    animation-fill-mode: both;
}

.realestate-e-store-gallery-item:nth-child(1) { animation-delay: 0.2s; }
.realestate-e-store-gallery-item:nth-child(2) { animation-delay: 0.4s; }
.realestate-e-store-gallery-item:nth-child(3) { animation-delay: 0.6s; }
.realestate-e-store-gallery-item:nth-child(4) { animation-delay: 0.8s; }

/* お知らせのスライドイン */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.realestate-e-news-item {
    animation: slideInRight 0.6s ease-out;
    animation-fill-mode: both;
}

.realestate-e-news-item:nth-child(1) { animation-delay: 0.2s; }
.realestate-e-news-item:nth-child(2) { animation-delay: 0.4s; }
.realestate-e-news-item:nth-child(3) { animation-delay: 0.6s; }

/* セクションイントロのフェードイン */
.realestate-e-section-intro {
    animation: fadeInUp 0.8s ease-out 0.3s;
    animation-fill-mode: both;
}

/* ページタイトルのフェードイン */
.realestate-e-page-title {
    animation: fadeInUp 0.8s ease-out;
}

.realestate-e-page-intro {
    animation: fadeInUp 0.8s ease-out 0.2s;
    animation-fill-mode: both;
}

/* ナビゲーションのフェードイン */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.realestate-e-nav-list li {
    animation: fadeIn 0.5s ease-out;
    animation-fill-mode: both;
}

.realestate-e-nav-list li:nth-child(1) { animation-delay: 0.1s; }
.realestate-e-nav-list li:nth-child(2) { animation-delay: 0.2s; }
.realestate-e-nav-list li:nth-child(3) { animation-delay: 0.3s; }
.realestate-e-nav-list li:nth-child(4) { animation-delay: 0.4s; }
.realestate-e-nav-list li:nth-child(5) { animation-delay: 0.5s; }

/* スクロール時のアニメーションを無効化（パフォーマンス向上） */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none;
        transition: none;
    }
}

/* ========================================
   お客様の声セクション
   ======================================== */

.realestate-e-testimonials {
    padding: 80px 0;
    background-color: var(--bg-light);
}

.realestate-e-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.realestate-e-testimonial-card {
    background-color: var(--bg-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.realestate-e-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.realestate-e-testimonial-photo {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.realestate-e-testimonial-content {
    padding: 25px;
}

.realestate-e-testimonial-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.realestate-e-testimonial-property {
    font-size: 13px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.realestate-e-testimonial-text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
}

/* お客様の声アニメーション */
.realestate-e-testimonial-card {
    animation: fadeInScale 0.6s ease-out;
    animation-fill-mode: both;
}

.realestate-e-testimonial-card:nth-child(1) { animation-delay: 0.2s; }
.realestate-e-testimonial-card:nth-child(2) { animation-delay: 0.4s; }
.realestate-e-testimonial-card:nth-child(3) { animation-delay: 0.6s; }

/* ========================================
   スタッフ紹介セクション
   ======================================== */

.realestate-e-staff {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.realestate-e-staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.realestate-e-staff-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.realestate-e-staff-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.realestate-e-staff-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.realestate-e-staff-photo img {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 8px;
}

.realestate-e-staff-content {
    padding: 25px;
}

.realestate-e-staff-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.realestate-e-staff-position {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.realestate-e-staff-specialty {
    font-size: 13px;
    color: var(--accent-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.realestate-e-staff-message {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 12px;
}

.realestate-e-staff-hobby {
    font-size: 13px;
    color: var(--text-light);
    font-style: italic;
}

/* スタッフ紹介アニメーション */
.realestate-e-staff-card {
    animation: fadeInScale 0.6s ease-out;
    animation-fill-mode: both;
}

.realestate-e-staff-card:nth-child(1) { animation-delay: 0.2s; }
.realestate-e-staff-card:nth-child(2) { animation-delay: 0.4s; }
.realestate-e-staff-card:nth-child(3) { animation-delay: 0.6s; }

/* ========================================
   ギャラリーキャプション（地域情報）
   ======================================== */

.realestate-e-gallery-caption {
    padding: 15px;
    font-size: 13px;
    color: var(--text-light);
    text-align: center;
    background-color: var(--bg-color);
    border-top: 2px solid var(--secondary-color);
}

/* ========================================
   レスポンシブ対応（お客様の声・スタッフ）
   ======================================== */

@media screen and (max-width: 1024px) {
    .realestate-e-testimonials-grid,
    .realestate-e-staff-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media screen and (max-width: 768px) {
    .realestate-e-testimonials-grid,
    .realestate-e-staff-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .realestate-e-testimonials,
    .realestate-e-staff {
        padding: 60px 0;
    }
}

/* ========================================
   ヒーロースライドショー（01realestate専用）
   ======================================== */


/* ========================================
   カルーセル型スライダー（01realestate専用）
   ======================================== */

.realestate-e-hero-carousel {
    position: relative;
    width: 100%;
    overflow: hidden; /* はみ出しを防止 */
    margin-top: 1rem; /* ヘッダーとの間に余白 */
}

/* 固定ヘッダー分のスペースを確保 */
.realestate-e-main {
    padding-top: calc(220px + 2rem); /* PC: ヘッダー高さ + 余白 */
}

@media screen and (max-width: 1024px) and (min-width: 769px) {
    .realestate-e-main {
        padding-top: calc(240px + 2rem); /* タブレット：増量 */
    }
}

@media screen and (max-width: 768px) {
    .realestate-e-main {
        padding-top: calc(120px + 2rem); /* スマホ */
    }
}

.realestate-e-carousel-track {
    position: relative;
    width: 100%;
    /* 中央スライド（50%幅）の16:9高さを計算: 50% * (9/16) = 28.125% */
    padding-top: 28.125%; /* 高さを確保 */
}

.realestate-e-carousel-slide {
    position: absolute;
    width: 35%;
    aspect-ratio: 16 / 9; /* 16:9のアスペクト比を強制 */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    top: 50%;
    transform-origin: center;
    opacity: 0; /* デフォルトは非表示 */
    visibility: hidden; /* 完全に非表示 */
    z-index: 0;
}

/* 左のスライド */
.realestate-e-carousel-slide.left {
    left: 5%;
    opacity: 0.6;
    visibility: visible;
    transform: translateY(-50%) scale(0.8);
    z-index: 2;
}

/* 中央のスライド - 画面中央に配置 */
.realestate-e-carousel-slide.center {
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    opacity: 1;
    visibility: visible;
    z-index: 3;
    cursor: default;
}

/* 右のスライド */
.realestate-e-carousel-slide.right {
    right: 5%;
    opacity: 0.6;
    visibility: visible;
    transform: translateY(-50%) scale(0.8);
    z-index: 2;
}

.realestate-e-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.realestate-e-carousel-slide.left:hover,
.realestate-e-carousel-slide.right:hover {
    opacity: 0.8;
    transform: translateY(-50%) scale(0.85);
}

/* ナビゲーションボタン */
.realestate-e-carousel-prev,
.realestate-e-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 15px 20px;
    cursor: pointer;
    font-size: 32px;
    z-index: 10;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.realestate-e-carousel-prev:hover,
.realestate-e-carousel-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}

.realestate-e-carousel-prev {
    left: 20px;
}

.realestate-e-carousel-next {
    right: 20px;
}

/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
    .realestate-e-carousel-track {
        padding-left: 100px;
        padding-right: 100px;
        padding-top: calc(70% * 9 / 16); /* 中央スライド70%幅の16:9高さ */
    }
    
    .realestate-e-carousel-slide.center {
        width: 70%;
    }
}

@media screen and (max-width: 768px) {
    .realestate-e-carousel-track {
        padding: 0;
    }
    
    .realestate-e-carousel-slide {
        display: none;
    }
    
    .realestate-e-carousel-slide.center {
        display: block;
        position: relative;
        left: 0;
        transform: none;
        width: 100%;
        aspect-ratio: 16 / 9;
    }
    
    .realestate-e-carousel-img {
        border-radius: 0;
    }
    
    .realestate-e-carousel-prev,
    .realestate-e-carousel-next {
        padding: 10px 15px;
        font-size: 24px;
    }
}
   ページネーション
   ======================================== */

.realestate-e-pagination {
    margin: 40px 0;
    text-align: center;
}

.realestate-e-pagination .page-numbers {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.realestate-e-pagination .page-numbers li {
    display: inline-block;
}

.realestate-e-pagination .page-numbers a,
.realestate-e-pagination .page-numbers span {
    display: inline-block;
    padding: 10px 16px;
    min-width: 45px;
    text-align: center;
    background-color: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.realestate-e-pagination .page-numbers a:hover {
    background-color: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 190, 0.3);
}

.realestate-e-pagination .page-numbers .current {
    background-color: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.realestate-e-pagination .page-numbers .prev,
.realestate-e-pagination .page-numbers .next {
    font-weight: bold;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .realestate-e-pagination {
        margin: 30px 0;
    }
    
    .realestate-e-pagination .page-numbers a,
    .realestate-e-pagination .page-numbers span {
        padding: 8px 12px;
        min-width: 38px;
        font-size: 14px;
    }
}

/* ========================================
   物件詳細ページ（single.php）
   ======================================== */
.realestate-e-property-photos {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.realestate-e-property-photo-main {
    width: 100%;
}

.realestate-e-property-photo-main img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.realestate-e-property-photo-main .realestate-e-dummy-photo {
    width: 100%;
    padding-top: 66.67%;
    position: relative;
    border-radius: 8px;
}

.realestate-e-property-photo-grid {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 1rem;
}

.realestate-e-property-photo-small {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
}

.realestate-e-property-photo-small .realestate-e-dummy-photo {
    width: 100%;
    padding-top: 66.67%;
    position: relative;
    border-radius: 8px;
}

@media screen and (max-width: 768px) {
    .realestate-e-property-photos {
        grid-template-columns: 1fr;
    }
    
    .realestate-e-property-photo-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: 1fr;
    }
}

/* ========================================
   間取り図セクション（single.php）
   ======================================== */

.realestate-e-floor-plan {
    margin: 3rem 0;
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.realestate-e-floor-plan-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.realestate-e-floor-plan-image {
    max-width: 800px;
    margin: 0 auto;
}

.realestate-e-floor-plan-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: var(--shadow);
}

.realestate-e-floor-plan-dummy {
    max-width: 800px;
    margin: 0 auto;
}

.realestate-e-floor-plan-dummy .realestate-e-dummy-photo {
    width: 100%;
    padding-top: 70.7%;
    position: relative;
    border-radius: 8px;
}

@media screen and (max-width: 768px) {
    .realestate-e-floor-plan {
        margin: 2rem 0;
        padding: 1.5rem 0;
    }
    
    .realestate-e-floor-plan-title {
        font-size: 1.5rem;
    }
}

/* ========================================
   Contact Form 7 スタイル
   ======================================== */

/* フォーム全体のラッパー */
.realestate-e-contact-form-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

/* フォーム要素の基本スタイル */
.wpcf7 {
    margin: 0;
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* フォームラベル */
.wpcf7-form label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* 必須マーク */
.wpcf7-form .wpcf7-form-control-wrap {
    display: block;
    position: relative;
}

/* 入力フィールド共通スタイル */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form input[type="number"],
.wpcf7-form input[type="date"],
.wpcf7-form textarea,
.wpcf7-form select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
}

/* フォーカス時のスタイル */
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form input[type="url"]:focus,
.wpcf7-form input[type="number"]:focus,
.wpcf7-form input[type="date"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 119, 190, 0.1);
}

/* テキストエリア */
.wpcf7-form textarea {
    min-height: 150px;
    resize: vertical;
}

/* 送信ボタン */
.wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: #FFFFFF;
    background: linear-gradient(135deg, #0077BE 0%, #00A0E9 100%);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 119, 190, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    -webkit-appearance: none;
    appearance: none;
}

.wpcf7-form input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 119, 190, 0.4);
    background: linear-gradient(135deg, #0088D4 0%, #00B0FF 100%);
}

.wpcf7-form input[type="submit"]:active {
    transform: translateY(0);
}

/* バリデーションエラー */
.wpcf7-form .wpcf7-not-valid-tip {
    display: block;
    margin-top: 0.5rem;
    color: #dc3545;
    font-size: 0.875rem;
}

.wpcf7-form .wpcf7-not-valid {
    border-color: #dc3545;
}

/* 送信結果メッセージ */
.wpcf7-response-output {
    margin: 1.5rem 0 0;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    text-align: center;
}

.wpcf7-mail-sent-ok {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors,
.wpcf7-spam-blocked {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* プライバシーポリシー同意チェックボックス */
.wpcf7-form .wpcf7-acceptance {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.wpcf7-form .wpcf7-acceptance input[type="checkbox"] {
    width: auto;
    margin-top: 0.25rem;
    cursor: pointer;
}

.wpcf7-form .wpcf7-acceptance label {
    margin: 0;
    font-weight: 400;
}

/* ローディングアニメーション */
.wpcf7-form .ajax-loader {
    display: inline-block;
    margin-left: 1rem;
    vertical-align: middle;
}

/* ========================================
   投稿ページ（single.php）のお問い合わせセクション
   ======================================== */

.realestate-e-single-contact {
    background-color: var(--bg-light);
    padding: 4rem 0;
}

.realestate-e-contact-intro {
    max-width: 800px;
    margin: 0 auto 2rem;
    text-align: center;
    line-height: 1.8;
}

.realestate-e-contact-intro p {
    margin: 0;
}

.realestate-e-contact-intro strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* お急ぎの場合セクション */
.realestate-e-urgent-contact {
    background-color: var(--bg-color);
    padding: 3rem 0;
    text-align: center;
}

.realestate-e-phone-cta {
    max-width: 600px;
    margin: 2rem auto 0;
}

.realestate-e-phone-number {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.realestate-e-phone-icon {
    font-size: 2rem;
}

.realestate-e-phone-link {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.realestate-e-phone-link:hover {
    color: var(--secondary-color);
}

.realestate-e-phone-hours {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
    .realestate-e-contact-form-wrapper {
        padding: 1.5rem;
    }
    
    .realestate-e-single-contact {
        padding: 3rem 0;
    }
    
    .realestate-e-urgent-contact {
        padding: 2rem 0;
    }
    
    .realestate-e-phone-number {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .realestate-e-phone-link {
        font-size: 1.5rem;
    }
    
    .wpcf7-form input[type="submit"] {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }
}
