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

:root {
    --primary-color: #0066cc;
    --primary-dark: #004d99;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --text-light: #666;
    --border-color: #e0e0e0;
    --white: #ffffff;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* ===========================
   コンテナ
   =========================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===========================
   ヘッダー
   =========================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    white-space: nowrap;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
}

.nav {
    margin-left: 3rem;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-list a {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
    white-space: nowrap;
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--primary-color);
    background: rgba(0, 102, 204, 0.1);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
}

/* モバイルメニュー */
.mobile-menu {
    display: none;
    background: var(--white);
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    box-shadow: var(--shadow);
    z-index: 999;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu a {
    display: block;
    padding: 1rem 20px;
    border-bottom: 1px solid var(--border-color);
}

.mobile-menu a:hover,
.mobile-menu a.active {
    background: var(--secondary-color);
    color: var(--primary-color);
}

/* ===========================
   ヒーローセクション
   =========================== */
.hero {
    position: relative;
    height: 500px;
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1555854877-bab0e564b8d5?w=1920&h=500&fit=crop') center/cover;
    opacity: 0.15;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
}

/* ===========================
   統計情報セクション
   =========================== */
.stats-section {
    background: var(--secondary-color);
    padding: 4rem 0;
}

.stats-content {
    text-align: center;
}

.stats-title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.stats-description {
    font-size: 1.1rem;
    color: var(--text-light);
}

/* ===========================
   CTAセクション
   =========================== */
.cta-section {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.cta-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cta-phone {
    font-size: 2rem;
    font-weight: 700;
}

.cta-phone a:hover {
    opacity: 0.8;
}

.phone-label {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

.cta-hours {
    font-size: 1rem;
    opacity: 0.9;
}

/* ===========================
   選ばれる理由セクション
   =========================== */
.reasons-section {
    padding: 5rem 0;
    background: var(--white);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 3rem;
    line-height: 1.5;
    color: var(--text-color);
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.reason-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.reason-card.animate {
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.reason-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.reason-card:hover .reason-image img {
    transform: scale(1.05);
}

.reason-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.reason-content {
    padding: 1.5rem;
}

.reason-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-color);
    line-height: 1.4;
}

.reason-text {
    color: var(--text-light);
    line-height: 1.7;
}

/* ===========================
   フッターCTA
   =========================== */
.footer-cta {
    background: var(--secondary-color);
    padding: 4rem 0;
    text-align: center;
}

.footer-cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.footer-cta-contact {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.footer-cta-phone {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.footer-cta-phone a:hover {
    opacity: 0.7;
}

.footer-cta-hours {
    color: var(--text-light);
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* ===========================
   フッター
   =========================== */
.footer {
    background: var(--text-color);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.footer-company h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-company p {
    opacity: 0.8;
}

.footer-nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.footer-nav a:hover {
    opacity: 0.7;
}

.footer-copyright {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* ===========================
   ページトップボタン
   =========================== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 999;
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
}

.scroll-top.visible {
    display: flex;
}

/* ===========================
   レスポンシブデザイン
   =========================== */
@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        height: 400px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stats-title {
        font-size: 1.3rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-phone {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .reasons-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-nav ul {
        flex-direction: column;
        gap: 0.5rem;
    }

    .scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 30px;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .reasons-grid {
        gap: 1.5rem;
    }
}
