/* ==========================================================================
   Teru-chan Daiko Landing Page Style (Vanilla CSS)
   ========================================================================== */

:root {
    /* Brand Colors */
    --color-primary: #f59e0b;       /* 明るいイエロー (amber-500) */
    --color-primary-dark: #d97706;  /* 濃いイエロー/アンバー (amber-600) */
    --color-primary-light: #fef3c7; /* 淡いイエロー (amber-100) */
    --color-accent: #f97316;        /* アクティブなオレンジ (orange-500) */
    --color-accent-hover: #ea580c;  /* オレンジホバー (orange-600) */
    --color-success: #16a34a;       /* 安全をイメージするグリーン (green-600) */
    --color-success-light: #dcfce7; /* 淡いグリーン (green-100) */
    
    /* Neutrals */
    --color-bg: #fffdf5;            /* 非常に淡い温かみのある黄色がかった白 */
    --color-card-bg: #ffffff;
    --color-text-dark: #292524;     /* 柔らかい黒 (stone-800) */
    --color-text-muted: #57534e;    /* stone-600 */
    --color-border: #f3f4f6;        /* gray-100 */
    
    /* Fonts */
    --font-primary: 'Noto Sans JP', sans-serif;
    
    /* Shadows & Transitions */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(217, 119, 6, 0.08);
    --shadow-lg: 0 10px 25px -5px rgba(217, 119, 6, 0.15);
    --shadow-floating: 0 10px 30px rgba(249, 115, 22, 0.35);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 1. Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-dark);
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    line-height: 1.7;
}

/* 2. Layout Elements */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-alt {
    background-color: #ffffff;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

/* 3. Header Styling */
.header {
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--color-primary-dark);
}

.logo-accent {
    color: var(--color-accent);
}

.header-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-tel {
    font-weight: 800;
    color: var(--color-accent);
    text-decoration: none;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.header-tel:hover {
    color: var(--color-accent-hover);
}

.header-tel-icon {
    width: 20px;
    height: 20px;
}

/* 4. Hero Section */
.hero {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    padding: 100px 0 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* 背景の丸みのある装飾 */
.hero::before {
    content: '';
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    height: 300px;
    background-color: var(--color-bg);
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.badge {
    display: inline-block;
    padding: 6px 18px;
    background-color: var(--color-accent);
    color: #ffffff;
    font-weight: 800;
    font-size: 0.8rem;
    border-radius: 50px;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
    box-shadow: 0 4px 10px rgba(249, 115, 22, 0.2);
}

.hero-title {
    font-size: 2.75rem;
    font-weight: 900;
    line-height: 1.3;
    color: #451a03; /* 深いダークブラウンで安心感と温かみを両立 */
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent-hover);
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--color-accent);
    color: #ffffff;
    font-weight: 900;
    font-size: 1.35rem;
    padding: 18px 48px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: var(--shadow-floating);
    transition: var(--transition-smooth);
}

.hero-cta-btn:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.45);
}

.hero-cta-icon {
    width: 28px;
    height: 28px;
    animation: pulse 1.5s infinite;
}

/* 5. Section Header */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2rem;
    font-weight: 900;
    color: #451a03;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 5px;
    background-color: var(--color-primary);
    border-radius: 10px;
}

/* 6. Info Quick Cards */
.info-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: -40px;
    position: relative;
    z-index: 10;
    margin-bottom: 40px;
}

.info-card {
    background-color: var(--color-card-bg);
    border: 2px solid var(--color-primary-light);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.info-card-icon {
    width: 40px;
    height: 40px;
    color: var(--color-accent);
    margin-bottom: 12px;
}

.info-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 6px;
}

.info-card-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-text-dark);
}

/* 7. Key Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    background-color: var(--color-card-bg);
    border-radius: 24px;
    padding: 36px 24px;
    text-align: center;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-primary-light);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: var(--color-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.feature-icon {
    width: 36px;
    height: 36px;
    color: var(--color-primary-dark);
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #451a03;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* 8. Process Section */
.process-list {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* コネクティングライン */
.process-list::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 10%;
    width: 80%;
    height: 4px;
    background-color: var(--color-primary-light);
    z-index: 1;
}

.process-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 2;
    padding: 0 15px;
}

.step-number {
    width: 90px;
    height: 90px;
    background-color: #ffffff;
    border: 5px solid var(--color-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
    box-shadow: var(--shadow-md);
}

.step-num {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--color-accent);
    line-height: 1;
}

.step-label {
    font-size: 1.1rem;
    font-weight: 900;
    color: #451a03;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #451a03;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* 9. Fee Section */
.fee-card {
    background-color: var(--color-card-bg);
    border: 3px solid var(--color-primary);
    border-radius: 28px;
    padding: 40px;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.fee-badge {
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    display: inline-block;
    padding: 4px 16px;
    font-weight: 800;
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.fee-title {
    font-size: 1.5rem;
    font-weight: 900;
    color: #451a03;
    margin-bottom: 24px;
}

.fee-note {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    margin-top: 16px;
    text-align: left;
    background-color: var(--color-bg);
    padding: 16px;
    border-radius: 12px;
}

/* 10. Access Section */
.access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.access-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.access-item {
    display: flex;
    gap: 16px;
}

.access-icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background-color: var(--color-primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-dark);
}

.access-icon {
    width: 24px;
    height: 24px;
}

.access-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text-muted);
}

.access-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text-dark);
}

.map-wrapper {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--color-border);
    height: 300px;
}

.map-link-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    color: var(--color-text-dark);
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

.map-link-btn:hover {
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    transform: translate(-50%, -55%);
}

.map-btn-icon {
    width: 20px;
    height: 20px;
    color: #ea4335; /* Google Mapレッド */
}

/* 11. Floating Phone Banner for Mobile */
.floating-banner {
    position: fixed;
    bottom: 24px;
    left: 20px;
    right: 20px;
    z-index: 999;
    display: none; /* デフォルト非表示、メディアクエリでモバイル時に表示 */
}

.floating-tel-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: var(--color-accent);
    color: #ffffff;
    text-decoration: none;
    padding: 16px 24px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.25rem;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.45);
    transition: var(--transition-smooth);
}

.floating-tel-btn:hover {
    background-color: var(--color-accent-hover);
}

.floating-tel-icon {
    width: 24px;
    height: 24px;
    animation: pulse 1.5s infinite;
}

/* Animations */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

/* 12. Footer Styling */
.footer {
    background-color: #451a03;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 900;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 12px;
}

.footer-copy {
    font-size: 0.8rem;
}

/* 13. Responsive Styling */
@media (max-width: 768px) {
    .header-cta {
        display: none; /* モバイルでは下部固定CTAがあるのでヘッダーのCTAは非表示 */
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .info-bar {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: -20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .process-list {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-list::before {
        display: none; /* 縦並びの時は線を非表示 */
    }
    
    .step-number {
        margin-bottom: 12px;
    }
    
    .access-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .floating-banner {
        display: block; /* モバイルでのみ表示 */
    }
    
    .section {
        padding: 60px 0;
    }
    
    /* フローティングボタンが重ならないようbodyの下部に余白を追加 */
    body {
        padding-bottom: 90px;
    }
}
