/*
Theme Name: Company Theme
Theme URI: http://localhost/company-site
Author: Claude Code
Description: プロパンガス・水道工事・不動産業の会社サイト用テーマ
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: company-theme
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #1a3a6b;
    --primary-light: #2a5298;
    --secondary: #0066cc;
    --accent: #e8a000;
    --text: #333333;
    --text-light: #666666;
    --bg-light: #f5f7fa;
    --white: #ffffff;
    --border: #e0e0e0;
    --gas-color: #ff6b35;
    --water-color: #0096d6;
    --estate-color: #2d7d32;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    background: var(--white);
}

a { color: var(--secondary); text-decoration: none; }
a:hover { color: var(--primary); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== HEADER ===== */
#site-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    border-bottom: 1px solid var(--border);
}

.header-top {
    background: var(--white);
    padding: 6px 0;
    font-size: 13px;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    word-break: keep-all;
}

.header-top .container {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    align-items: center;
}

.header-top a { color: var(--text); }
.header-top a:hover { color: #000; }

.header-main {
    padding: 15px 0;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text);
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.site-logo .logo-img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    flex-shrink: 0;
    padding: 4px;
    border-radius: 8px;
}

.footer-logo .logo-img {
    width: 42px;
    height: 42px;
    object-fit: contain;
    flex-shrink: 0;
    background: white;
    padding: 3px;
    border-radius: 6px;
}

.logo-text {
    line-height: 1.3;
}

.logo-name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.logo-tagline {
    font-size: 11px;
    opacity: 0.8;
    letter-spacing: 0.1em;
    word-break: keep-all;
}

/* ===== NAVIGATION ===== */
#site-nav ul {
    display: flex;
    gap: 0;
    align-items: center;
}

#site-nav ul li a {
    color: var(--text);
    padding: 8px 16px;
    display: block;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    transition: background 0.2s;
    letter-spacing: 0.03em;
}

#site-nav ul li a:hover,
#site-nav ul li.current-menu-item a {
    background: rgba(0,0,0,0.05);
    color: var(--text);
}

#site-nav .nav-contact a {
    background: var(--accent);
    color: var(--primary);
    font-weight: 700;
    border-radius: 4px;
}

#site-nav .nav-contact a:hover {
    background: #ffb820;
}

#site-nav .nav-emergency {
    color: #c0392b !important;
    font-weight: 700;
}

#site-nav .nav-emergency:hover {
    background: rgba(231, 76, 60, 0.15) !important;
    color: #c0392b !important;
}

.hamburger {
    display: none;
    background: none;
    border: 2px solid var(--text);
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    color: var(--text);
    font-size: 18px;
}

/* ===== HERO ===== */
#hero {
    position: relative;
    min-height: 550px;
    background: linear-gradient(135deg, #1a3a6b 0%, #2a5298 50%, #0f2547 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* ヒーロー背景画像（複数枚をスタックしてクロスフェード）*/
.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    filter: saturate(1.1);
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}
.hero-bg-image.is-active { opacity: 1; }

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.30);
    z-index: 1;
}

#hero .container {
    position: relative;
    z-index: 2;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.08;
    background: white;
}

.hero-shape-1 { width: 500px; height: 500px; top: -150px; right: -100px; }
.hero-shape-2 { width: 300px; height: 300px; bottom: -100px; left: 10%; }
.hero-shape-3 { width: 200px; height: 200px; top: 30%; right: 25%; }

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    padding: 80px 0;
}

.hero-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
    letter-spacing: 0.1em;
}

.hero-title {
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.4);
}

.hero-title span {
    color: var(--accent);
}

.hero-subtitle {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.7;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.hero-btns {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.2s;
    letter-spacing: 0.03em;
}

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

.btn-primary:hover {
    background: #ffb820;
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(232,160,0,0.4);
}

.btn-outline {
    border: 2px solid rgba(255,255,255,0.7);
    color: var(--white);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-color: white;
}

/* ===== SECTION COMMON ===== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-title {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
    line-height: 1.4;
}

.section-desc {
    color: var(--text-light);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.section-divider {
    width: 50px;
    height: 3px;
    background: var(--accent);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ===== SERVICES SECTION ===== */
#services {
    background: var(--bg-light);
}

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

.service-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}

/* サービスカード画像 */
.service-card-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.service-card-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.15));
}

.service-card-header {
    padding: 35px 30px 25px;
    position: relative;
    overflow: hidden;
}

.service-card-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0.08;
}

.service-gas .service-card-header { background: linear-gradient(135deg, #fff5f2, #ffe8e0); }
.service-gas .service-card-header .service-icon { color: var(--gas-color); }
.service-gas .service-tag { background: #fff0eb; color: var(--gas-color); }

.service-water .service-card-header { background: linear-gradient(135deg, #f0f9ff, #e0f2fe); }
.service-water .service-card-header .service-icon { color: var(--water-color); }
.service-water .service-tag { background: #e8f5fe; color: var(--water-color); }

.service-estate .service-card-header { background: linear-gradient(135deg, #f0fff4, #dcfce7); }
.service-estate .service-card-header .service-icon { color: var(--estate-color); }
.service-estate .service-tag { background: #e8f8ec; color: var(--estate-color); }

.service-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.service-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.service-card-header h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
}

.service-card-body {
    padding: 25px 30px 30px;
}

.service-card-body p {
    color: var(--text-light);
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.8;
}

.service-features {
    margin-bottom: 25px;
}

.service-features li {
    padding: 6px 0;
    font-size: 14px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.service-features li:last-child { border-bottom: none; }

.service-features li::before {
    content: '✓';
    color: var(--accent);
    font-weight: 700;
    flex-shrink: 0;
}

.btn-service {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    border: 2px solid var(--primary);
    color: var(--primary);
    transition: all 0.2s;
}

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

/* ===== FEATURES ===== */
#features {
    background: var(--primary);
    color: white;
}

#features .section-title { color: white; }
#features .section-label { color: var(--accent); }
#features .section-divider { background: var(--accent); }
#features .section-desc { color: rgba(255,255,255,0.8); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.feature-item {
    text-align: center;
    padding: 25px 16px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    transition: background 0.3s;
}

.feature-item:hover { background: rgba(255,255,255,0.13); }

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
    display: block;
}

.feature-item h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--accent);
}

.feature-item p {
    font-size: 14px;
    opacity: 0.85;
    line-height: 1.7;
}

/* ===== NEWS ===== */
#news { background: var(--white); }

.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
    text-decoration: none;
    color: var(--text);
    transition: background 0.2s;
}

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

.news-item:hover { color: var(--secondary); }

.news-date {
    font-size: 13px;
    color: var(--text-light);
    flex-shrink: 0;
    min-width: 90px;
    padding-top: 2px;
}

.news-category {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 3px;
    background: var(--bg-light);
    color: var(--secondary);
    border: 1px solid var(--border);
    height: fit-content;
}

.news-title {
    font-size: 15px;
    line-height: 1.6;
}

.news-all-link {
    text-align: center;
    margin-top: 40px;
}

/* ===== CONTACT BANNER ===== */
#contact-banner {
    background: linear-gradient(135deg, #0f2547, #1a3a6b);
    color: white;
    padding: 70px 0;
    text-align: center;
}

#contact-banner h2 {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 700;
    margin-bottom: 15px;
}

#contact-banner p {
    opacity: 0.85;
    margin-bottom: 35px;
    font-size: 16px;
}

.contact-options {
    display: flex;
    gap: 50px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.contact-phone-block {
    text-align: center;
    padding-right: 50px;
    border-right: 1px solid rgba(255,255,255,0.2);
}

.contact-phone {
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 0.05em;
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.2s;
}

.contact-phone:hover {
    color: var(--accent);
    opacity: 0.85;
}

.contact-phone-label {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 5px;
    letter-spacing: 0.1em;
}

.contact-hours {
    font-size: 13px;
    opacity: 0.7;
    margin-top: 8px;
    line-height: 1.7;
}

.contact-btns {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    min-width: 260px;
}

.contact-btns .btn {
    font-size: 16px;
    padding: 16px 32px;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.btn-line {
    background: #06c755;
    color: white;
    transition: all 0.2s;
}

.btn-line:hover {
    background: #05b04b;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(6,199,85,0.4);
}

.contact-divider {
    display: none;
}

/* ===== FOOTER ===== */
#site-footer {
    background: #0a1e3d;
    color: rgba(255,255,255,0.75);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-brand { max-width: 280px; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: white;
    text-decoration: none;
}

.footer-logo .logo-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
}

.footer-logo .logo-name { font-size: 16px; }

.footer-brand p {
    font-size: 13px;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    transition: all 0.2s;
}

.footer-social a:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(232,160,0,0.1);
}

.footer-social a.social-line {
    background: #06c755;
    border-color: #06c755;
    color: white;
}

.footer-social a.social-line:hover {
    background: #05b04b;
    border-color: #05b04b;
    color: white;
}

/* ===== LINE CTA ブロック ===== */
.line-cta {
    background: linear-gradient(135deg, #06c755, #05b04b);
    border-radius: 12px;
    padding: 35px 40px;
    color: white;
    display: flex;
    gap: 25px;
    align-items: center;
    margin: 30px 0;
    box-shadow: 0 6px 20px rgba(6,199,85,0.25);
}

.line-cta-icon {
    font-size: 60px;
    flex-shrink: 0;
    line-height: 1;
    opacity: 0.95;
}

.line-cta-text h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.line-cta-text p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 18px;
    opacity: 0.95;
}

.line-cta-btn {
    display: inline-block;
    background: white;
    color: #06c755;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.line-cta-btn:hover {
    transform: translateY(-2px);
    color: #05b04b;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

@media (max-width: 600px) {
    .line-cta {
        flex-direction: column;
        text-align: center;
        padding: 28px 22px;
        gap: 15px;
    }
    .line-cta-icon { font-size: 50px; }
    .line-cta-btn { width: 100%; text-align: center; }
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 700;
    color: white;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: rgba(255,255,255,0.7);
    font-size: 13px;
    transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--accent); }

.footer-col address {
    font-style: normal;
    font-size: 13px;
    line-height: 2;
    color: rgba(255,255,255,0.7);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

/* ===== PAGE HERO ===== */
.page-hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 60px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* ページヒーロー背景画像 */
.page-hero-with-image {
    padding: 80px 0;
    min-height: 240px;
    display: flex;
    align-items: center;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(26,58,107,0.85) 0%, rgba(42,82,152,0.78) 100%);
    z-index: 1;
}

.page-hero-with-image .container {
    position: relative;
    z-index: 2;
    width: 100%;
}

.page-hero h1 {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 700;
    margin-bottom: 15px;
}

.page-hero .breadcrumb {
    font-size: 13px;
    opacity: 0.75;
}

.page-hero .breadcrumb a { color: rgba(255,255,255,0.8); }
.page-hero .breadcrumb a:hover { color: white; }
.page-hero .breadcrumb span { margin: 0 8px; }

/* ===== CONTENT AREA ===== */
.content-wrap {
    padding: 80px 0;
}

/* ===== SERVICE DETAIL ===== */
.service-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.service-intro-icon {
    font-size: 100px;
    text-align: center;
    background: var(--bg-light);
    padding: 40px;
    border-radius: 15px;
}

.service-intro-photo {
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: var(--bg-light);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.service-intro-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-intro h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-intro p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.9;
}

.service-menu-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.service-menu-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.service-menu-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.service-menu-item p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* 画像付きサービスカード */
.service-menu-with-photo {
    padding: 0;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}

.service-menu-with-photo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-menu-photo {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-light);
}

.service-menu-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s;
}

.service-menu-with-photo:hover .service-menu-photo img {
    transform: scale(1.05);
}

.service-menu-body {
    padding: 20px 22px 22px;
}

/* ===== 代表挨拶 ===== */
.president-block {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 70px;
}

.president-card {
    text-align: center;
    background: var(--bg-light);
    padding: 30px 25px;
    border-radius: 10px;
    border-top: 4px solid var(--accent);
}

.president-photo {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background: white;
}

.president-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .president-block {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .president-photo {
        width: 160px;
        height: 160px;
    }
}

/* ===== ABOUT PAGE ===== */
.company-profile {
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 60px;
}

.company-profile table {
    width: 100%;
    border-collapse: collapse;
}

.company-profile th, .company-profile td {
    padding: 18px 25px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    text-align: left;
}

.company-profile th {
    background: var(--bg-light);
    color: var(--primary);
    font-weight: 700;
    width: 200px;
    vertical-align: top;
}

.company-profile td { color: var(--text); }

.history-list { position: relative; padding-left: 30px; }

.history-list::before {
    content: '';
    position: absolute;
    left: 8px; top: 0; bottom: 0;
    width: 2px;
    background: var(--border);
}

.history-item {
    position: relative;
    margin-bottom: 25px;
    display: flex;
    gap: 20px;
}

.history-item::before {
    content: '';
    position: absolute;
    left: -26px;
    top: 7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--primary);
}

.history-year {
    font-weight: 700;
    color: var(--primary);
    min-width: 60px;
    flex-shrink: 0;
}

/* ===== CONTACT PAGE ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.contact-info-card {
    background: var(--bg-light);
    padding: 35px;
    border-radius: 10px;
}

.contact-info-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent);
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-info-icon {
    font-size: 22px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-info-text h4 {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.contact-info-text p {
    font-size: 15px;
    color: var(--text);
    font-weight: 500;
}

/* ===== FORM ===== */
.contact-form-wrap {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form-wrap h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}

.form-group .required {
    color: #e53e3e;
    font-size: 11px;
    margin-left: 5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    color: var(--text);
    transition: border-color 0.2s;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}

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

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

.btn-submit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 15px 50px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    letter-spacing: 0.05em;
}

.btn-submit:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(26,58,107,0.3);
}

/* ===== REAL ESTATE ===== */
.estate-search-box {
    background: var(--bg-light);
    padding: 35px;
    border-radius: 10px;
    margin-bottom: 50px;
}

.estate-search-box h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

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

.search-form-grid select,
.search-form-grid input {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
    background: white;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.property-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.property-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.property-image {
    height: 200px;
    background: linear-gradient(135deg, #e8f4fd, #d0e8f5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    color: #7bafd0;
    position: relative;
}

.property-image-photo {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.property-image-noimg {
    background: linear-gradient(135deg, #f5f7fa, #e6ecf2);
}

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

.property-card-link:hover {
    color: inherit;
}

/* ===== 物件詳細ページ ===== */
.property-detail {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: start;
}

.property-detail-gallery {
    position: relative;
}

.property-detail-main {
    position: relative;
    background: var(--bg-light);
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.property-detail-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.3s;
}

.property-detail-noimage {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #999;
}

.property-badge-large {
    position: absolute;
    top: 16px;
    left: 16px;
    color: white;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
}

.property-detail-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(95px, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.property-thumb {
    background: var(--bg-light);
    border: 2px solid transparent;
    border-radius: 6px;
    padding: 0;
    cursor: pointer;
    overflow: hidden;
    transition: border-color 0.2s;
}

.property-thumb:hover {
    border-color: var(--estate-color);
}

.property-thumb img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    display: block;
}

.property-thumb span {
    display: block;
    font-size: 11px;
    padding: 4px 0;
    color: #555;
    background: white;
    font-weight: 600;
}

.property-detail-info {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 10px;
    border-top: 4px solid var(--estate-color);
}

.property-detail-price {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.property-detail-price .label {
    display: block;
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 4px;
}

.property-detail-price .value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--estate-color);
    line-height: 1.3;
}

.property-detail-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.property-detail-table th,
.property-detail-table td {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    text-align: left;
    font-size: 14px;
}

.property-detail-table th {
    color: var(--text-light);
    font-weight: 600;
    width: 90px;
    vertical-align: top;
}

.property-detail-pr {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.property-detail-pr h3 {
    font-size: 15px;
    color: var(--estate-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.property-detail-pr p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text);
}

.property-detail-cta {
    text-align: center;
}

.property-detail-cta p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.property-detail-cta .btn {
    display: inline-block;
    margin: 5px;
    padding: 12px 24px;
    font-size: 14px;
}

/* ライトボックス */
.property-lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.property-lightbox.open {
    display: flex;
}

.property-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.property-lightbox-close {
    position: absolute;
    top: 15px;
    right: 25px;
    color: white;
    font-size: 40px;
    cursor: pointer;
    line-height: 1;
    background: rgba(255,255,255,0.1);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.property-lightbox-close:hover {
    background: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
    .property-detail {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .property-detail-info { padding: 22px; }
    .property-detail-price .value { font-size: 24px; }
}

.property-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--estate-color);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 3px;
}

.property-body { padding: 20px; }

.property-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.property-location {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.property-specs {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.property-price {
    font-size: 22px;
    font-weight: 700;
    color: var(--estate-color);
}

.property-price-label {
    font-size: 12px;
    color: var(--text-light);
    font-weight: normal;
}

/* ===== 緊急時対応ページ ===== */
.emergency-hero {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    color: white;
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.emergency-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 20px,
        rgba(255,255,255,0.03) 20px,
        rgba(255,255,255,0.03) 40px
    );
    pointer-events: none;
}

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

.emergency-alert-icon {
    font-size: 60px;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.2));
}

.emergency-hero h1 {
    font-size: clamp(26px, 4vw, 40px);
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.emergency-lead {
    font-size: 15px;
    line-height: 1.9;
    opacity: 0.95;
    margin-bottom: 35px;
}

.emergency-call-box {
    background: white;
    border-radius: 12px;
    padding: 25px 30px;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 100%;
}

.emergency-call-label {
    font-size: 13px;
    font-weight: 700;
    color: #c0392b;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}

.emergency-call-number {
    display: inline-block;
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 700;
    color: #c0392b;
    text-decoration: none;
    letter-spacing: 0.03em;
    line-height: 1.2;
}

.emergency-call-note {
    font-size: 12px;
    color: #666;
    margin-top: 6px;
}

/* タブ */
.emergency-tabs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 50px;
    background: var(--bg-light);
    padding: 15px;
    border-radius: 10px;
}

.emergency-tab-item {
    background: white;
    padding: 15px 10px;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.emergency-tab-item:hover {
    border-color: #c0392b;
    color: #c0392b;
    transform: translateY(-2px);
}

.emergency-tab-icon {
    font-size: 28px;
}

/* 各セクション */
.emergency-section {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    background: white;
    scroll-margin-top: 100px;
}

.emergency-section-header {
    color: white;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    gap: 18px;
}

.emergency-section-num {
    font-size: 28px;
    font-weight: 700;
    font-family: 'Arial', sans-serif;
    background: rgba(255,255,255,0.2);
    padding: 6px 14px;
    border-radius: 6px;
    line-height: 1;
    flex-shrink: 0;
}

.emergency-section-header h2 {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 700;
    margin: 0;
}

.emergency-section-body {
    padding: 30px;
}

.emergency-do {
    margin-bottom: 25px;
}

.emergency-do h3 {
    font-size: 18px;
    font-weight: 700;
    color: #00a676;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e0f4ea;
}

.emergency-steps {
    list-style: none;
    padding: 0;
    counter-reset: step;
}

.emergency-steps li {
    position: relative;
    padding: 15px 15px 15px 55px;
    margin-bottom: 10px;
    background: #f8fbff;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.8;
    counter-increment: step;
}

.emergency-steps li::before {
    content: counter(step);
    position: absolute;
    left: 15px;
    top: 15px;
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.emergency-inline-tel {
    display: inline-block;
    background: #c0392b;
    color: white !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    margin-top: 8px;
    font-size: 18px;
}

.emergency-inline-tel:hover {
    background: #a33020;
    color: white !important;
}

.emergency-dont {
    background: #fff5f5;
    border-left: 4px solid #c0392b;
    padding: 20px 25px;
    border-radius: 0 8px 8px 0;
}

.emergency-dont h3 {
    font-size: 17px;
    font-weight: 700;
    color: #c0392b;
    margin-bottom: 12px;
}

.emergency-dont ul {
    list-style: none;
    padding: 0;
}

.emergency-dont li {
    padding: 8px 0 8px 22px;
    font-size: 14px;
    line-height: 1.8;
    position: relative;
}

.emergency-dont li::before {
    content: '⛔';
    position: absolute;
    left: 0;
    font-size: 13px;
}

.emergency-info-box {
    background: #fffbeb;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 20px 25px;
    margin-top: 20px;
}

.emergency-info-box h4 {
    font-size: 15px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 8px;
}

.emergency-info-box p {
    font-size: 14px;
    line-height: 1.8;
    color: #78350f;
    margin: 0;
}

@media (max-width: 768px) {
    .emergency-hero { padding: 50px 0 40px; }
    .emergency-alert-icon { font-size: 48px; }
    .emergency-call-box { padding: 20px; width: 100%; }
    .emergency-section-header { padding: 18px 20px; gap: 12px; }
    .emergency-section-num { font-size: 22px; padding: 4px 10px; }
    .emergency-section-body { padding: 20px 16px; }
    .emergency-steps li {
        padding: 12px 12px 12px 45px;
        font-size: 14px;
    }
    .emergency-steps li::before {
        width: 24px;
        height: 24px;
        font-size: 12px;
        left: 12px;
        top: 14px;
    }
    .emergency-tabs {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        padding: 10px;
    }
    .emergency-tab-item { padding: 12px 8px; font-size: 12px; }
    .emergency-tab-icon { font-size: 24px; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .service-intro { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
}

/* ===== MOBILE BOTTOM BAR ===== */
.mobile-bottom-bar {
    display: none;
}

@media (max-width: 768px) {
    /* ボトムバーの高さ分だけコンテンツを押し上げ */
    body { padding-bottom: 70px; }

    /* ===== ヘッダー ===== */
    .header-top { display: none; }
    .header-main { padding: 10px 0; }
    .logo-name { font-size: 16px; }
    .logo-tagline { font-size: 10px; }
    .logo-icon { width: 40px; height: 40px; font-size: 18px; }

    /* ===== ハンバーガーメニュー ===== */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 44px;
        height: 44px;
        background: var(--text);
        border: none;
        border-radius: 8px;
        cursor: pointer;
        padding: 0;
        position: fixed;
        top: 14px;
        right: 16px;
        z-index: 2100;
        box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    }
    .hamburger.open {
        background: rgba(255,255,255,0.25);
        box-shadow: none;
    }
    /* ロゴがハンバーガーの下に入らないよう右側に余白 */
    .header-main .container {
        padding-right: 70px;
    }
    .nav-close { display: none !important; }
    .hamburger .bar {
        display: block;
        width: 22px;
        height: 2px;
        background: white;
        border-radius: 2px;
        transition: all 0.3s ease;
        transform-origin: center;
    }
    .hamburger.open .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .hamburger.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
    .hamburger.open .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    /* ===== ドロワーナビ ===== */
    #site-nav {
        display: block;
        position: fixed;
        top: 0; right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(70, 55, 42, 0.60);
        backdrop-filter: blur(14px) saturate(150%);
        -webkit-backdrop-filter: blur(14px) saturate(150%);
        z-index: 2000;
        transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
        overflow-y: auto;
        padding-top: 60px;
        box-shadow: -5px 0 30px rgba(0,0,0,0.4);
    }
    #site-nav.open { right: 0; }

    .nav-close {
        position: absolute;
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.12);
        border: none;
        border-radius: 8px;
        color: white;
        font-size: 24px;
        cursor: pointer;
        line-height: 1;
        z-index: 2010;
    }
    .nav-close:active {
        background: rgba(255,255,255,0.2);
    }

    .nav-overlay {
        display: none;
    }

    #site-nav ul {
        flex-direction: column;
        padding: 10px 0 20px;
        gap: 0;
    }
    #site-nav ul li { border-bottom: 1px solid rgba(255,255,255,0.12); }
    #site-nav ul li a {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 16px 24px;
        font-size: 15px;
        border-radius: 0;
        color: #ffffff;
        text-shadow: 0 1px 3px rgba(0,0,0,0.55);
    }
    #site-nav ul li a:hover,
    #site-nav ul li.current-menu-item a {
        background: rgba(255,255,255,0.12);
        color: #ffffff;
    }
    #site-nav .nav-emergency { color: #ff6b6b !important; }
    #site-nav .nav-emergency:hover {
        background: rgba(255, 107, 107, 0.15) !important;
        color: #ff6b6b !important;
    }
    #site-nav .nav-contact a {
        margin: 16px;
        border-radius: 8px;
        justify-content: center;
        padding: 14px;
    }

    /* ===== セクション ===== */
    section { padding: 50px 0; }
    .section-title { font-size: 22px; }

    /* ===== ヒーロー ===== */
    #hero {
        min-height: 580px;
        align-items: flex-end;
    }
    .hero-content { padding: 30px 0 30px; }
    .hero-title { font-size: 26px; line-height: 1.5; }
    .hero-subtitle { font-size: 14px; }
    .hero-btns { flex-direction: column; gap: 12px; }
    .hero-btns .btn { width: 100%; text-align: center; padding: 14px 20px; }
    /* スライドショー：写真内の「西村商店」文字がヒーロー本文と重ならないように調整。
       background-position の値はピクセル指定または % で微調整可能。
       ・X% は横方向（0=左端 / 50=中央 / 100=右端）
       ・Y% は縦方向（0=上端 / 50=中央 / 100=下端） */
    #hero .hero-bg-image:nth-child(1) {
        /* 1枚目 hero-bg.jpg：右寄せして看板全体を表示 */
        background-position: 88% 50%;
    }
    #hero .hero-bg-image:nth-child(2) {
        /* 2枚目 hero-bg-2.jpg：縦書きの「西村商店」が中央左にあるため、画像を右寄せして文字を画面左外へ逃がす */
        background-position: 100% 50%;
    }
    #hero .hero-bg-image:nth-child(3) {
        /* 3枚目 hero-bg-3.jpg：横書きの「西村商店」が中央右にあるため、画像を左寄せして文字を画面右外へ逃がす */
        background-position: 0% 50%;
    }

    /* ===== サービスカード ===== */
    .services-grid { grid-template-columns: 1fr; gap: 20px; }
    .service-card-header { padding: 25px 20px 20px; }
    .service-icon { font-size: 40px; }
    .service-card-body { padding: 20px; }

    /* ===== 強み ===== */
    .features-grid { grid-template-columns: 1fr 1fr; gap: 15px; }
    .feature-item { padding: 20px 15px; }
    .feature-icon { font-size: 32px; }
    .feature-item h3 { font-size: 14px; }
    .feature-item p { font-size: 13px; }

    /* ===== ニュース ===== */
    .news-item { flex-wrap: wrap; gap: 6px; }
    .news-date { min-width: auto; }

    /* ===== CTAバナー ===== */
    #contact-banner { padding: 50px 0; }
    .contact-phone { font-size: 30px; }
    .contact-options {
        flex-direction: column;
        gap: 25px;
    }
    .contact-phone-block {
        padding-right: 0;
        padding-bottom: 25px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.2);
        width: 100%;
    }
    .contact-btns { width: 100%; min-width: auto; }
    .contact-divider { display: none; }

    /* ===== フッター ===== */
    #site-footer { padding: 40px 0 20px; }
    .footer-grid { grid-template-columns: 1fr; gap: 25px; }
    .footer-brand { max-width: 100%; }
    .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

    /* ===== ページヘッダー ===== */
    .page-hero { padding: 40px 0; }
    .page-hero h1 { font-size: 22px; }

    /* ===== 会社概要テーブル ===== */
    .company-profile table,
    .company-profile tbody,
    .company-profile tr,
    .company-profile th,
    .company-profile td { display: block; width: 100%; }
    .company-profile th {
        background: var(--bg-light);
        padding: 10px 15px 4px;
        font-size: 12px;
        color: var(--text-light);
        border-bottom: none;
    }
    .company-profile td { padding: 4px 15px 14px; }

    /* ===== お問い合わせ ===== */
    .contact-form-wrap { padding: 25px 20px; }
    .contact-info-card { padding: 25px 20px; }
    .search-form-grid { grid-template-columns: 1fr; }

    /* ===== サービス詳細 ===== */
    .service-intro { flex-direction: column; }
    .service-intro-icon { padding: 25px; font-size: 70px; }
    .service-menu-list { grid-template-columns: 1fr; }

    /* ===== 不動産物件 ===== */
    .property-grid { grid-template-columns: 1fr; }

    /* ===== 固定ボトムバー ===== */
    .mobile-bottom-bar {
        display: flex;
        position: fixed;
        bottom: 0; left: 0; right: 0;
        height: 70px;
        background: var(--primary);
        z-index: 1500;
        box-shadow: 0 -3px 20px rgba(0,0,0,0.3);
        border-top: 1px solid rgba(255,255,255,0.1);
    }
    /* メニュー展開中はボトムバーを隠す（左側からのチラ見え防止）*/
    body.menu-open .mobile-bottom-bar { display: none; }
    .mobile-bottom-bar a {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: rgba(255,255,255,0.85);
        text-decoration: none;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: 0.02em;
        transition: background 0.2s;
        -webkit-tap-highlight-color: transparent;
        padding: 0 5px;
    }
    .mobile-bottom-bar a:active { background: rgba(255,255,255,0.1); }
    .mobile-bottom-bar .mbb-icon { font-size: 22px; line-height: 1; }
    .mobile-bottom-bar .mbb-call {
        background: var(--accent);
        color: var(--primary);
        font-weight: 700;
        flex: 1.3;
    }
    .mobile-bottom-bar .mbb-call .mbb-icon { font-size: 26px; }
    .mobile-bottom-bar .mbb-line {
        background: #06c755;
        color: white;
        font-weight: 700;
    }
    .mobile-bottom-bar .mbb-line:active { background: #05b04b; }
    .mobile-bottom-bar .mbb-emergency {
        background: #e74c3c;
        color: white;
        font-weight: 700;
    }
    .mobile-bottom-bar .mbb-emergency:active { background: #c0392b; }

    /* 沿革 */
    .history-list { padding-left: 20px; }
    .history-item { flex-direction: column; gap: 2px; }
    .history-year { font-size: 14px; }
}

@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 22px; }
    .hero-badge { font-size: 11px; }
    .features-grid { grid-template-columns: 1fr; }
    .contact-phone { font-size: 24px; }
    .btn { padding: 13px 20px; font-size: 14px; }
    .service-menu-item { padding: 18px; }
    .contact-form-wrap { padding: 20px 15px; }
    .news-item { flex-direction: column; gap: 4px; }
}
