/* Custom CSS for Car Emergency Service Landing Page */

:root {
    --primary-color: #FF3A33; /* Emergency red */
    --secondary-color: #2271CC; /* Trust blue */
    --accent-color: #FFCC00; /* Warning yellow */
    --light-bg: #F8F8F8; /* Light background */
    --white: #FFFFFF;
    --dark-text: #333333;
    --medium-text: #666666;
    --light-text: #999999;
}

/* Base Styles */
body {
    font-family: 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--white);
    padding-top: 80px; /* Add space for fixed header */
}

/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: white;
    padding: 5px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.site-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 40px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.nav-menu li {
    margin-left: 0;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    padding: 5px 8px;
    position: relative;
    display: block;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 700;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-cta {
    background-color: var(--primary-color);
    color: white !important;
    padding: 8px 15px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 8px rgba(255, 58, 51, 0.3);
}

.nav-cta:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

.nav-cta::after {
    display: none !important;
}

/* Mobile Header Styles */
@media (max-width: 767px) {
    body {
        padding-top: 60px; /* Reduce space for fixed header on mobile */
    }
    
    .site-header {
        padding: 2px 0;
    }
    
    .logo-image {
        height: 32px;
    }
    
    .nav-menu {
        display: none; /* Hide full menu on mobile */
    }
    
    .mobile-nav-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.2rem;
        color: var(--dark-text);
        cursor: pointer;
    }
    
    .site-header .container {
        justify-content: space-between;
        padding: 0 15px;
    }
    
    /* Mobile call button */
    .mobile-call-btn {
        display: block;
        background-color: var(--primary-color);
        color: white;
        border: none;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        margin-right: 15px;
    }
    
    /* Hamburger Menu */
    .hamburger-menu {
        display: block;
        width: 32px;
        height: 32px;
        position: relative;
        background: transparent;
        border: none;
        padding: 0;
        cursor: pointer;
        outline: none;
        z-index: 10;
    }
    
    .hamburger-icon {
        width: 22px;
        height: 2px;
        background-color: var(--dark-text);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        transition: all 0.3s ease;
    }
    
    .hamburger-icon::before,
    .hamburger-icon::after {
        content: '';
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: var(--dark-text);
        transition: all 0.3s ease;
        left: 0;
    }
    
    .hamburger-icon::before {
        transform: translateY(-7px);
    }
    
    .hamburger-icon::after {
        transform: translateY(7px);
    }
    
    .hamburger-menu:hover .hamburger-icon,
    .hamburger-menu:hover .hamburger-icon::before,
    .hamburger-menu:hover .hamburger-icon::after {
        background-color: var(--primary-color);
    }
    
    /* Hamburger to X animation */
    .hamburger-menu.open .hamburger-icon {
        background-color: transparent;
    }
    
    .hamburger-menu.open .hamburger-icon::before {
        transform: translateY(0) rotate(45deg);
        background-color: var(--primary-color);
    }
    
    .hamburger-menu.open .hamburger-icon::after {
        transform: translateY(0) rotate(-45deg);
        background-color: var(--primary-color);
    }
    
    /* Mobile Navigation Overlay */
    .mobile-nav-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        z-index: 2000;
        display: none; /* デフォルトで非表示 */
        visibility: hidden;
        opacity: 0;
        transition: all 0.4s ease;
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
        transform: translateY(-100%);
    }
    
    /* モバイルサイズでの表示制御は Bootstrap の d-md-none クラスで対応 */
    
    .mobile-nav-overlay.active {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
    
    .mobile-nav-content {
        position: relative;
        padding: 70px 20px 40px;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-nav-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: transparent;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
    }
    
    .mobile-nav-menu {
        list-style-type: none;
        padding: 0;
        margin: 0;
        width: 100%;
        max-width: 300px;
    }
    
    .mobile-nav-menu li {
        margin-bottom: 20px;
        text-align: center;
    }
    
    .mobile-nav-link {
        color: white;
        font-size: 20px;
        font-weight: 600;
        text-decoration: none;
        padding: 12px;
        display: block;
        transition: all 0.3s;
        position: relative;
    }
    
    .mobile-nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 50%;
        background-color: var(--accent-color);
        transition: all 0.3s ease;
        transform: translateX(-50%);
    }
    
    .mobile-nav-link:hover::after,
    .mobile-nav-link:focus::after,
    .mobile-nav-link.active::after {
        width: 50%;
    }
    
    .mobile-nav-link:hover,
    .mobile-nav-link:focus,
    .mobile-nav-link.active {
        color: var(--accent-color);
        transform: translateY(-2px);
    }
    
    .mobile-nav-link.active {
        font-weight: 700;
    }
    
    .mobile-nav-cta {
        display: inline-block;
        background-color: var(--primary-color);
        color: white;
        padding: 14px 28px;
        border-radius: 50px;
        font-size: 16px;
        font-weight: 700;
        text-decoration: none;
        transition: all 0.3s;
        box-shadow: 0 4px 10px rgba(255, 58, 51, 0.4);
        margin-top: 15px;
    }
    
    .mobile-nav-cta:hover,
    .mobile-nav-cta:focus {
        background-color: var(--secondary-color);
        color: white;
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(34, 113, 204, 0.4);
    }
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Hiragino Kaku Gothic Pro W6', 'メイリオ', Meiryo, sans-serif;
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    font-size: 16px;
}

.section {
    padding: 3rem 0;
}

.section-alt {
    background-color: var(--light-bg);
    padding: 3rem 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(184, 184, 184, 0.6), rgba(53, 53, 53, 0.8)), url('../images/fv-bg.jpg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    padding: 3rem 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
    z-index: 2;
}

.hero-content {
    text-align: center;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-title-container {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-title-top {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffcc00;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
    margin-bottom: 0.3rem;
    transform: translateY(5px);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    color: #fff;
    letter-spacing: -0.05em;
    line-height: 1.1;
    position: relative;
    display: inline-block;
}

.hero-title-main {
    color: white;
    font-weight: 900;
    position: relative;
    padding: 0 0.2em;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    position: relative;
    z-index: 1;
}

.hero-title-main::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: var(--primary-color);
    opacity: 0.7;
    z-index: -1;
}

.hero-title-main::after {
    content: '';
    position: absolute;
    left: -10px;
    right: -10px;
    top: -10px;
    bottom: -10px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    z-index: -2;
}

.hero-title-services {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.service-badge {
    background-color: var(--secondary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    position: relative;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.service-badge:first-child {
    background-color: var(--primary-color);
}

.service-badge:last-child {
    /* アニメーション削除 */
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.time-label {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    margin-left: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.highlight-number {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 120%;
}

@keyframes slight-move {
    0% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
    100% { transform: translateY(0); }
}

@keyframes pulse-glow {
    from { opacity: 0.8; text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); }
    to { opacity: 1; text-shadow: 0 0 10px rgba(255, 58, 51, 0.9), 0 0 20px rgba(255, 58, 51, 0.5); }
}

.highlight-text {
    background-color: var(--primary-color);
    color: white;
    padding: 0.1rem 0.6rem;
    border-radius: 4px;
    font-weight: 900;
    font-size: 110%;
    position: relative;
    display: inline-block;
    transform: rotate(-2deg);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}

.campaign-container {
    position: relative;
    margin: 1.5rem auto 1rem;
    display: inline-block;
}

.campaign-badge {
    position: absolute;
    top: -10px;
    left: -10px;
    background-color: var(--primary-color);
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: bold;
    transform: rotate(-5deg);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.urgent-notice {
    background-color: #FFCC00;
    color: #000;
    padding: 0.7rem 1.2rem;
    border-radius: 10px;
    font-weight: bold;
    display: inline-block;
    animation: pulse 1.5s infinite;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border: 2px solid #fff;
    text-align: center;
}

.campaign-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
    letter-spacing: 0.05em;
}

.campaign-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.campaign-label {
    font-size: 1.1rem;
}

.campaign-price-old {
    text-decoration: line-through;
    color: #666;
    font-weight: normal;
}

.campaign-arrow {
    font-weight: bold;
    font-size: 1.2rem;
}

.campaign-price-new {
    color: #ff0000;
    font-weight: 900;
    font-size: 1.4rem;
    background: rgba(255, 255, 255, 0.7);
    padding: 0.1rem 0.5rem;
    border-radius: 4px;
}

.hero-problems {
    margin: 1.5rem 0;
    text-align: left;
    display: inline-block;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 1rem 1.5rem 1rem 0;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-problems li {
    margin-bottom: 0.7rem;
    font-size: 1.1rem;
    list-style: none;
    position: relative;
    padding-left: 2.5rem;
    transition: transform 0.3s ease;
}

.hero-problems li:hover {
    transform: translateX(5px);
}

.hero-problems li::before {
    content: "✅";
    position: absolute;
    left: 0.5rem;
}

.problem-highlight {
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.3rem;
}

.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.7rem;
    margin-top: 1rem;
}

.trust-badge {
    background-color: rgba(34, 113, 204, 0.7);
    color: white;
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
}

.phone-icon {
    animation: shake 1.5s infinite;
    display: inline-block;
}

@keyframes shake {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(-10deg); }
    20% { transform: rotate(10deg); }
    30% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

/* Call to Action */
.cta {
    padding: 1rem 2.5rem;
    font-size: 1.25rem;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

.cta-primary:hover {
    background-color: #e62b24;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.cta-secondary {
    background-color: #06C755; /* LINE Green */
    color: var(--white);
    border: none;
}

.cta-secondary:hover {
    background-color: #05a847;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.phone-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    display: block;
    margin: 1rem 0;
    text-decoration: none;
}

.phone-number:hover {
    color: var(--white);
}

.phone-label {
    display: block;
    font-size: 1rem;
    font-weight: normal;
    margin-bottom: 0.5rem;
    color: var(--white);
}

/* Section Common */
.section-badge {
    background-color: var(--accent-color);
    color: var(--dark-text);
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: inline-block;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    position: relative;
}

.highlight-title {
    color: var(--primary-color);
    position: relative;
}

.highlight-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--medium-text);
    margin-bottom: 2rem;
}

.counter-large {
    font-size: 1.3em;
    font-weight: 900;
    color: var(--primary-color);
}

/* Benefits Section */
.benefits-card {
    background-color: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 1.7rem;
    height: auto;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: visible;
    padding-top: 30px;
    margin-top: 35px;
    backdrop-filter: blur(5px);
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
}

.benefits-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(34, 113, 204, 0.3);
}

.highlight-card {
    border: 2px solid var(--accent-color);
    box-shadow: 0 15px 35px rgba(255, 204, 0, 0.15);
    background: linear-gradient(145deg, #ffffff, #fffbea);
}

.highlight-card:before {
    content: "おすすめ";
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(45deg, var(--accent-color), #ffd740);
    color: var(--dark-text);
    padding: 0.3rem 1.5rem;
    font-size: 0.9rem;
    font-weight: bold;
    transform: translateX(30%) translateY(0%) rotate(45deg);
    transform-origin: top left;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    z-index: 5;
}

.benefit-badge {
    position: absolute;
    top: -25px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.4rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 10;
    background: linear-gradient(135deg, var(--secondary-color), #1a5ca3);
    color: white;
    border: 3px solid white;
    transition: all 0.3s ease;
}

.benefits-card:hover .benefit-badge {
    transform: rotate(360deg) scale(1.1);
}

.benefits-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--secondary-color), #1a5ca3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    transition: all 0.3s ease;
}

.benefits-card:hover .benefits-icon {
    transform: scale(1.1);
}

.benefits-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--dark-text);
    font-weight: 800;
    min-height: auto;
    position: relative;
    display: inline-block;
}

.highlight-text-blue {
    position: relative;
    color: var(--secondary-color);
    font-weight: 900;
}

.highlight-text-blue::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, rgba(34, 113, 204, 0.2), rgba(34, 113, 204, 0.3));
    z-index: -1;
    border-radius: 3px;
}

.benefit-divider {
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color), transparent);
    margin: 0.8rem auto;
    border-radius: 3px;
}

.benefit-content {
    color: var(--medium-text);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.benefit-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.8rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding: 0.8rem;
    background: rgba(248, 249, 250, 0.5);
    border-radius: 10px;
}

.benefit-content strong {
    color: var(--dark-text);
    font-weight: 700;
}

.stat-number {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1;
}

.stat-desc {
    font-size: 0.85rem;
    color: var(--medium-text);
    margin-top: 0.3rem;
}

.cta-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.7);
    box-shadow: 0 3px 10px rgba(255, 58, 51, 0.1);
}

.cta-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 58, 51, 0.2);
}

.price-badge {
    background: linear-gradient(90deg, var(--primary-color), #ff6b66);
    color: white;
    font-size: 0.8rem;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    margin: 0.5rem auto 1rem;
    display: inline-block;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(255, 58, 51, 0.2);
    position: relative;
    z-index: 2;
}

.price-badge.pulse {
    animation: pulse-badge 2s infinite;
}

@keyframes pulse-badge {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 58, 51, 0.5);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 58, 51, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 58, 51, 0);
    }
}

.section-badge {
    background: linear-gradient(90deg, var(--accent-color), #ffd740);
    color: var(--dark-text);
    padding: 0.4rem 1.3rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.section-badge::before, .section-badge::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: rgba(0, 0, 0, 0.1);
}

.section-badge::before {
    right: -40px;
}

.section-badge::after {
    left: -40px;
}

.section-title {
    font-size: 2.6rem;
    font-weight: 900;
    margin-bottom: 1.2rem;
    position: relative;
    display: inline-block;
}

.highlight-title {
    color: var(--primary-color);
    position: relative;
}

.highlight-title::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), rgba(255, 58, 51, 0.3));
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--medium-text);
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.counter-large {
    font-size: 1.4em;
    font-weight: 900;
    color: var(--primary-color);
    display: inline-block;
    position: relative;
}

/* モバイル対応 */
@media (max-width: 767px) {
    .benefits-card {
        padding: 1.8rem;
        padding-top: 35px;
        margin-top: 30px;
    }
    
    .benefit-badge {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        top: -22px;
        left: 15px;
    }
    
    .benefits-title {
        font-size: 1.4rem;
        min-height: auto;
    }
    
    .highlight-text-blue::after {
        height: 4px;
    }
    
    .benefit-footer {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    } 
    
    .cta-outline {
        width: 100%;
        text-align: center;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
}

/* Services Section */
.service-card {
    background-color: var(--white);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(34, 113, 204, 0.2);
}

.service-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.service-image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    z-index: 1;
}

.service-tag {
    position: absolute;
    top: 15px;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem 0.4rem 1.5rem;
    font-size: 0.8rem;
    font-weight: bold;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    z-index: 2;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
}

.service-tag span {
    font-size: 1rem;
    font-weight: 900;
    margin-left: 0.5rem;
}

.service-content {
    padding: 2rem;
}

.service-content h3 {
    color: var(--dark-text);
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 800;
    border-bottom: 2px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 0.8rem;
}

.service-price {
    background: rgba(255, 204, 0, 0.1);
    border: 1px dashed var(--accent-color);
    padding: 0.8rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    position: relative;
    text-align: center;
}

.price-old {
    display: block;
    text-decoration: line-through;
    color: var(--medium-text);
    font-size: 0.9rem;
}

.price-new {
    display: block;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--primary-color);
    margin: 0.3rem 0;
}

.price-note {
    display: block;
    font-size: 0.8rem;
    color: var(--medium-text);
}

.service-list {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.service-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.8rem;
    border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
    padding-bottom: 0.8rem;
}

.service-list li::before {
    content: "✓";
    color: var(--secondary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
    font-size: 1.2rem;
}

.list-highlight {
    background-color: var(--primary-color);
    color: white;
    padding: 0.1rem 0.4rem;
    border-radius: 3px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-right: 0.3rem;
}

.list-badge {
    background: var(--accent-color);
    color: var(--dark-text);
    font-size: 0.7rem;
    padding: 0.1rem 0.5rem;
    border-radius: 50px;
    margin-left: 0.5rem;
    font-weight: bold;
    vertical-align: middle;
}

.service-guarantee {
    background-color: rgba(34, 113, 204, 0.1);
    color: var(--secondary-color);
    padding: 0.7rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1.5rem;
    border: 1px dashed var(--secondary-color);
}

.other-services {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.other-services h3 {
    color: var(--dark-text);
    font-weight: 800;
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.other-services h3::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 25%;
    width: 50%;
    height: 3px;
    background: var(--primary-color);
}

.mini-service-card {
    background: white;
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.mini-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--secondary-color);
}

.mini-service-card i {
    font-size: 2.2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: inline-block;
    background: rgba(34, 113, 204, 0.1);
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mini-service-card:hover i {
    background: var(--secondary-color);
    color: white;
    transform: rotateY(180deg);
}

.mini-service-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.7rem;
    color: var(--dark-text);
}

.mini-service-card p {
    font-size: 0.9rem;
    color: var(--medium-text);
    margin-bottom: 1rem;
}

.mini-service-card .price-tag {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.8rem;
    display: block;
}

.mini-service-card a {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--secondary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.mini-service-card a:hover {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.05);
}

.mini-service-card i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.mini-service-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.mini-service-card .btn-call {
    color: var(--secondary-color);
    font-weight: 600;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--secondary-color);
    border-radius: 50px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.mini-service-card .btn-call:hover {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.05);
    text-decoration: none;
}

/* Area Section */
.area-wrapper {
    position: relative;
}

.area-stats {
    margin-bottom: 2rem;
}

.area-stat-card {
    background: white;
    border-radius: 10px;
    padding: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.area-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.highlight-stat {
    background: linear-gradient(135deg, var(--secondary-color), #1a5ca3);
    color: white;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.highlight-stat .stat-value {
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--medium-text);
}

.highlight-stat .stat-label {
    color: rgba(255, 255, 255, 0.9);
}

.area-select-container {
    position: relative;
    background: var(--light-bg);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 2rem;
}

.area-intro {
    font-size: 1.1rem;
    color: var(--medium-text);
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.area-time-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.7rem 1.2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.time-icon {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-right: 0.8rem;
}

.time-info {
    text-align: left;
}

.time-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--medium-text);
}

.time-value {
    display: flex;
    align-items: flex-end;
}

.minute-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--primary-color);
    line-height: 1;
}

.minute-unit {
    font-size: 1rem;
    font-weight: 700;
    color: var(--medium-text);
    margin-left: 0.2rem;
    margin-bottom: 0.2rem;
}

.area-buttons-container {
    max-width: 900px;
    margin: 0 auto;
}

.btn-area {
    width: 100%;
    height: 100%;
    padding: 1rem 0.5rem;
    background-color: #f8f9fa;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: var(--dark-text);
    font-weight: 600;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.btn-area:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: rgba(34, 113, 204, 0.05);
    border-color: rgba(34, 113, 204, 0.2);
    color: var(--dark-text);
}

.btn-area.active {
    background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(34, 113, 204, 0.2);
}

.area-btn-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.btn-area i {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
    color: inherit;
}

.btn-area span {
    font-size: 1rem;
    font-weight: 700;
}

.arrival-time {
    font-size: 0.8rem;
    font-weight: normal;
    padding: 0.2rem 0.7rem;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    margin-top: 0.3rem;
    display: inline-block;
}

.btn-area.active .arrival-time {
    background-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.btn-area.pulse {
    animation: pulse-btn 1.5s 1;
}

@keyframes pulse-btn {
    0% {
        box-shadow: 0 0 0 0 rgba(34, 113, 204, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(34, 113, 204, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(34, 113, 204, 0);
    }
}

/* Area Tabs and Content */
.prefecture-tabs {
    position: relative;
}

.area-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.area-current-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0;
}

.area-avg-time {
    font-size: 0.9rem;
    color: var(--medium-text);
    background: rgba(255, 204, 0, 0.1);
    padding: 0.3rem 0.7rem;
    border-radius: 50px;
}

.area-nav {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.area-nav .nav-link {
    padding: 0.7rem 0.5rem;
    font-weight: 600;
    color: var(--dark-text);
    border-radius: 0;
    transition: all 0.3s ease;
    background-color: #f5f5f5;
}

.area-nav .nav-link.active {
    background-color: var(--secondary-color);
    color: white;
    position: relative;
}

.area-nav .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: calc(50% - 8px);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 8px solid var(--secondary-color);
}

.area-nav-row2 {
    margin-top: 0.5rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.area-nav-row2 .nav-link {
    padding: 0.7rem 0.5rem;
    font-weight: 600;
    color: var(--dark-text);
    border-radius: 0;
    transition: all 0.3s ease;
    background-color: #f5f5f5;
}

.area-nav-row2 .nav-link.active {
    background-color: var(--secondary-color);
    color: white;
    position: relative;
}

.area-content-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.area-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: rgba(34, 113, 204, 0.05);
    border-bottom: 1px solid rgba(34, 113, 204, 0.1);
}

.area-header h3 {
    margin-bottom: 0;
    font-weight: 800;
    color: var(--dark-text);
    font-size: 1.5rem;
}

.vehicle-count {
    background: var(--secondary-color);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-left: 0.5rem;
}

.area-availability {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
}

.area-info {
    padding: 1.5rem;
}

.area-description {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--medium-text);
}

.area-subheading {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.area-subheading::after {
    content: "";
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(34, 113, 204, 0.2);
}

.area-list {
    margin-bottom: 1.5rem;
}

.area-list ul {
    list-style-type: none;
    padding-left: 0;
}

.area-list li {
    margin-bottom: 0.7rem;
    padding-left: 1.5rem;
    position: relative;
}

.area-list li i {
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: var(--secondary-color);
}

.area-status-indicator {
    margin-top: 1rem;
}

.status-bar {
    height: 0.8rem;
    background: #e9ecef;
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.status-level {
    height: 100%;
    background: linear-gradient(90deg, #28a745, #7fca8c);
    border-radius: 50px;
}

.status-text {
    font-size: 0.8rem;
    color: var(--medium-text);
    font-weight: 600;
}

.area-cta-container {
    margin-top: 2rem;
}

.area-cta-box {
    background: linear-gradient(90deg, #FF3A33, #ff6b66);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(255, 58, 51, 0.2);
    color: white;
    text-align: center;
}

.area-cta-content {
    margin-bottom: 1.5rem;
}

.area-cta-content h4 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.area-cta-content p {
    margin-bottom: 0;
    opacity: 0.9;
}

.cta-large {
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Hero Title Section */
@media (max-width: 767px) {
    .hero-title-top {
        font-size: 1.2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title-main::before {
        height: 5px;
    }
    
    .hero-title-main::after {
        left: -5px;
        right: -5px;
        top: -5px;
        bottom: -5px;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .service-badge {
        font-size: 0.9rem;
        padding: 0.3rem 0.8rem;
    }
    
    .hero-title-services {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
}

/* Responsive Area Section */
@media (max-width: 767px) {
    .area-map {
        height: 280px;
    }
    
    .area-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .area-availability {
        margin-top: 0.5rem;
    }
    
    .area-current-title {
        font-size: 1.1rem;
    }
    
    .area-subheading {
        font-size: 1rem;
    }
    
    .stat-value {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .area-title-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .area-avg-time {
        margin-top: 0.5rem;
    }
}

/* Testimonials Section */
.testimonial-card {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin: 1rem 0.5rem;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 5rem;
    color: rgba(0, 0, 0, 0.1);
    line-height: 1;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: bold;
    color: var(--secondary-color);
}

.testimonial-location {
    color: var(--medium-text);
    font-size: 0.9rem;
}

.rating {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

/* FAQ Section */
.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, 0.125);
}

.accordion-button:not(.collapsed) {
    background-color: rgba(34, 113, 204, 0.1);
    color: var(--secondary-color);
}

/* Checklist Section */
.checklist-step {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-left: 4rem;
}

.step-number {
    position: absolute;
    left: 1rem;
    top: 1.5rem;
    background-color: var(--secondary-color);
    color: var(--white);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Footer */
.footer {
    background-color: var(--dark-text);
    color: var(--white);
    padding: 3rem 0;
}

.footer a {
    color: var(--white);
    text-decoration: none;
}

/* Footer Logo */
.footer-logo {
    max-width: 200px;
}

.footer-logo-image {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

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

.footer-phone {
    font-size: 1.5rem;
    font-weight: bold;
    margin: 1rem 0;
    display: block;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
}

.floating-phone {
    background-color: var(--primary-color);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-phone:hover {
    background-color: #e62b24;
    transform: scale(1.1);
    color: var(--white);
}

/* Responsive Fixes */
@media (max-width: 767px) {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .hero-content {
        padding: 1.5rem 1rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
        letter-spacing: -0.03em;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .phone-number {
        font-size: 1.5rem;
    }
    
    .phone-label {
        font-size: 0.9rem;
    }
    
    .cta {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }
    
    .benefits-card, .service-card {
        margin-bottom: 1.5rem;
    }
    
    .benefits-title {
        font-size: 1.3rem;
        min-height: auto;
    }
    
    /* Mobile Service Cards Optimization */
    .service-card {
        padding: 1.2rem;
    }
    
    .service-card .service-image {
        height: 120px;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
    }
    
    .service-price {
        margin: 0.5rem 0;
    }
    
    .price-new {
        font-size: 1.1rem;
    }
    
    .service-list li {
        font-size: 0.9rem;
        padding-left: 1.5rem;
    }
    
    /* Mobile Site Header Optimization */
    .site-header {
        padding: 0.8rem 0;
    }
    
    .site-logo img {
        max-height: 30px;
    }
    
    /* Mobile Floating CTA Optimization */
    .floating-cta {
        bottom: 1.5rem;
        right: 1.5rem;
    }
    
    .floating-phone {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
        box-shadow: 0 3px 15px rgba(255, 58, 51, 0.6);
        animation: pulse 2s infinite;
    }
    
    .area-list {
        columns: 1;
        -webkit-columns: 1;
        -moz-columns: 1;
    }

    .section, .section-alt {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .highlight-title::after {
        height: 2px;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cta-content h3 {
        font-size: 1.5rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .service-content {
        padding: 1.5rem;
    }
    
    .service-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem 0.3rem 1.2rem;
    }
    
    .service-tag span {
        font-size: 0.9rem;
    }
    
    .service-content h3 {
        font-size: 1.3rem;
    }
    
    .hero-problems {
        padding: 0.8rem 1rem 0.8rem 0;
    }
    
    .hero-problems li {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .campaign-container {
        width: 90%;
        max-width: 300px;
    }
    
    .campaign-badge {
        font-size: 0.8rem;
        padding: 0.1rem 0.6rem;
    }
    
    .urgent-notice {
        padding: 0.6rem 0.8rem;
        border-radius: 8px;
        width: 100%;
    }
    
    .campaign-title {
        font-size: 0.95rem;
    }
    
    .campaign-content {
        gap: 0.3rem;
    }
    
    .campaign-label {
        font-size: 0.9rem;
    }
    
    .campaign-price-old {
        font-size: 0.9rem;
    }
    
    .campaign-price-new {
        font-size: 1.2rem;
    }
    
    .trust-badge {
        font-size: 0.8rem;
        padding: 0.2rem 0.5rem;
    }
    
    .other-services {
        padding: 1.5rem;
    }
    
    .mini-service-card {
        padding: 1rem 0.7rem;
    }
    
    .mini-service-card i {
        font-size: 1.5rem;
        margin-bottom: 0.7rem;
    }
    
    .mini-service-card h4 {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .mini-service-card a {
        font-size: 0.8rem;
    }
}

/* Small devices (landscape phones) */
@media (min-width: 576px) and (max-width: 767px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .service-content {
        padding: 1.8rem;
    }
}

/* Medium devices (tablets) */
@media (min-width: 768px) and (max-width: 991px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .benefits-title {
        font-size: 1.4rem;
        min-height: 3em;
    }
    
    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
}

/* Large devices (desktops) */
@media (min-width: 992px) {
    .hero-content {
        max-width: 800px;
        margin: 0 auto;
    }
}

/* Extra large devices */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
}

/* Utility Classes */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.text-secondary-custom {
    color: var(--secondary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.bg-secondary-custom {
    background-color: var(--secondary-color) !important;
}

.bg-accent-custom {
    background-color: var(--accent-color) !important;
}

.bg-light-custom {
    background-color: var(--light-bg) !important;
}

.badge-available {
    background-color: #28a745;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    display: inline-block;
    margin-left: 0.5rem;
}

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

.pulse {
    animation: pulse 2s infinite;
}

/* Flow Section - タイポグラフィ改善版 */
.flow-steps {
    margin: 25px 0;
}

.flow-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -5px;  /* ネガティブマージンを使って均等な間隔を確保 */
}

.flow-step {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    padding: 15px;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.col-md.flow-step {
    flex: 1 1 0;  /* 均等にスペースを分配 */
    min-height: 230px;
    margin: 0 5px 15px;  /* 水平方向に均等な間隔を確保 */
    justify-content: flex-start;  /* コンテンツを上部から配置 */
}

.step-label {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 15px;
    text-align: center;
    letter-spacing: 0.02em;
    display: inline-block;
    font-family: 'Noto Sans JP', sans-serif;
    background: var(--primary-color);
    padding: 3px 12px;
    border-radius: 50px;
    position: relative;
    box-shadow: 0 2px 5px rgba(255, 107, 0, 0.3);
}

.step-label::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--primary-color);
}

.flow-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 45%;
    right: -10px;
    width: 12px;
    height: 12px;
    border-top: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    transform: translateY(-50%) rotate(45deg);
    z-index: 1;
    display: none;
}

@media (min-width: 768px) {
    .flow-step:not(:last-child)::after {
        display: block;
    }
    
    .col-md.flow-step {
        min-width: 0;
        max-width: none;
        flex-basis: 0;
        flex-grow: 1;
    }
}

.flow-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 12px;
    background-color: #fff;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.flow-step:hover .flow-icon {
    transform: scale(1.05);
    box-shadow: 0 5px 12px rgba(255, 107, 0, 0.2);
}

.flow-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.flow-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.flow-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #222;
    letter-spacing: -0.01em;
    line-height: 1.3;
    font-family: 'Noto Sans JP', sans-serif;
}

.flow-text {
    color: #555;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0;
    letter-spacing: 0.01em;
}

.flow-note {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 14px 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-top: 15px;
}

.flow-note p {
    margin-bottom: 0.3rem;
    color: #555;
    font-size: 0.85rem;
    line-height: 1.5;
}

@media (max-width: 767px) {
    .flow-row {
        flex-direction: column;
        margin: 0 8px;
        display: block;
    }
    
    .flow-step {
        display: flex;
        flex-direction: row;
        align-items: center;
        text-align: left;
        margin-bottom: 20px;
        padding: 15px 15px 15px 0;
        min-height: 120px;
    }
    
    .col-md.flow-step {
        min-height: auto;
        margin: 0 0 15px 0;
        width: 100%;
        flex-basis: auto;
        padding-left: 0;
        padding-right: 0;
        max-width: 100%;
        flex: 0 0 100%;
    }
    
    .step-label {
        position: absolute;
        top: 0;
        left: -10px;
        font-size: 0.9rem;
        text-align: center;
        margin-bottom: 0;
        border-radius: 0;
        padding: 6px 15px;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
        font-weight: 700;
        z-index: 2;
    }
    
    .step-label::after {
        display: none;
    }
    
    .flow-step:not(:last-child)::after {
        display: none;
    }
    
    .flow-icon {
        width: 60px;
        height: 60px;
        margin: 0;
        margin-right: 15px;
        margin-top: 20px; /* 全ステップ共通の上部余白 */
        margin-left: 15px;
        flex-shrink: 0;
        border: 1px solid var(--primary-color);
        background-color: rgba(255, 107, 0, 0.05);
    }
    
    .flow-icon i {
        font-size: 1.4rem;
        line-height: 1;
    }
    
    .flow-icon i.fa-fw {
        width: 1.4rem;
        height: 1.4rem;
        text-align: center;
    }
    
    .flow-content {
        padding-top: 30px;
        padding-bottom: 5px;
    }
    
    .flow-title {
        font-size: 1.1rem;
        margin-bottom: 5px;
        position: relative;
    }
    
    .flow-text {
        font-size: 0.88rem;
        line-height: 1.5;
    }
    
    .flow-note {
        padding: 12px 15px;
        margin: 10px 8px;
    }
}

/* サービスフローのカスタムスタイル */
.fuel-price-table th {
    background-color: var(--secondary-color);
    color: white;
}

.accident-flow h4 {
    margin-bottom: 1.5rem;
}

/* サービスモーダル */
.service-modal-icon {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.pricing-info {
    background-color: rgba(34, 113, 204, 0.05);
    border-radius: 10px;
    padding: 1rem;
    border: 1px solid rgba(34, 113, 204, 0.1);
}

.price-label {
    font-size: 0.9rem;
    color: var(--medium-text);
    margin-bottom: 0.3rem;
}

.price-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.price-note {
    font-size: 0.8rem;
    color: var(--medium-text);
}

.warning-note {
    background-color: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 8px;
    padding: 1rem;
}

.warning-note i {
    color: #ffc107;
    margin-right: 0.5rem;
}

.service-flow {
    padding-left: 1.5rem;
}

.service-flow li {
    margin-bottom: 0.7rem;
}

/* モーダルレスポンシブ調整 */
@media (max-width: 576px) {
    .modal-dialog {
        margin: 0.5rem;
    }
    
    .price-value {
        font-size: 1.5rem;
    }
    
    .service-modal-icon i {
        font-size: 3rem !important;
    }
}

/* CTAバナー */
.cta-banner {
    background: linear-gradient(135deg, var(--secondary-color), #1a5ca3);
    padding: 2.5rem;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 15px 35px rgba(34, 113, 204, 0.2);
    color: white;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect x="0" y="0" width="100" height="100" fill="%231a5ca3" fill-opacity="0.1"/><path d="M0 50 L100 50" stroke="%23ffffff" stroke-opacity="0.05" stroke-width="1"/><path d="M50 0 L50 100" stroke="%23ffffff" stroke-opacity="0.05" stroke-width="1"/></svg>');
    z-index: -1;
    opacity: 0.5;
}

.cta-content h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.cta-content p {
    margin-bottom: 0;
    font-size: 1.1rem;
    opacity: 0.9;
}

.cta-large {
    padding: 1.2rem 3.5rem;
    font-size: 1.3rem;
    font-weight: 800;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    background: linear-gradient(to right, var(--accent-color), hsl(47, 89%, 71%));
    border: none;
}

.cta-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(to right, #ff6b66, var(--primary-color));
}

@media (max-width: 767px) {
    .cta-banner {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 2rem;
    }
    
    .cta-content h3 {
        font-size: 1.6rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-large {
        width: 100%;
        padding: 1rem 2rem;
    }
}

/* Company Comparison Section */
.comparison-table-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #fff;
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #e9ecef;
}

.comparison-table th {
    background-color: #f8f9fa;
    font-weight: 600;
}

.comparison-feature {
    width: 25%;
    text-align: left;
    background-color: #f8f9fa;
}

.comparison-us {
    background-color: #f0f8ff;
    width: 25%;
}

.comparison-other {
    width: 25%;
    background-color: #f8f9fa;
}

.comparison-table .feature {
    font-weight: 500;
    text-align: left;
}

.comparison-table .us {
    background-color: #f0f8ff;
}

.comparison-table .highlight {
    color: #ff6b00;
    font-weight: bold;
}

.company-name {
    display: block;
    font-weight: bold;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.company-badge {
    display: inline-block;
    background-color: #ff6b00;
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 500;
}

.comparison-note {
    font-size: 0.85em;
    color: #6c757d;
    text-align: right;
}

/* Troubles Section */
.troubles-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    transition: transform 0.3s ease;
}

.troubles-image:hover img {
    transform: scale(1.02);
}

.overlay-badge {
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    font-weight: 700;
    font-size: 0.9rem;
}

.overlay-text {
    border-radius: 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
    max-width: 90%;
}

.troubles-contact {
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.troubles-contact:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.troubles-list {
    margin-top: 0;
}

.trouble-item {
    display: flex;
    margin-bottom: 0;
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
}

.trouble-item:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(34, 113, 204, 0.3);
}

.trouble-icon {
    flex: 0 0 50px;
    height: 50px;
    background-color: #ff6b00;
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.3s ease;
}

.trouble-item:hover .trouble-icon {
    transform: rotateY(180deg);
    background-color: var(--primary-color);
}

.trouble-icon i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.trouble-content {
    flex: 1;
}

.trouble-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
    line-height: 1.3;
}

.trouble-content p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 0;
    line-height: 1.5;
}

.trouble-cta {
    background: linear-gradient(135deg, var(--secondary-color), #1a5ca3);
    border-radius: 12px;
}

@media (max-width: 767px) {
    .trouble-item {
        flex-direction: column;
        text-align: center;
        padding: 25px 15px;
        margin-bottom: 20px;
    }
    
    .trouble-icon {
        margin: 0 auto 15px;
        width: 60px;
        height: 60px;
        border-radius: 15px;
    }
    
    .trouble-icon i {
        font-size: 1.8rem;
    }
    
    .trouble-content h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .overlay-text h4 {
        font-size: 1.1rem;
    }
    
    .hero-title-price {
        font-size: 1.5rem;
    }
    
    .comparison-table th, .comparison-table td {
        padding: 10px 5px;
        font-size: 0.85rem;
    }
}

/* Hero Title Price */
.hero-title-price {
    display: block;
    font-size: 2rem;
    color: #ff6b00;
    margin-top: 5px;
    font-weight: bold;
}

@media (max-width: 767px) {
    .trouble-item {
        flex-direction: column;
        text-align: center;
    }
    
    .trouble-icon {
        margin: 0 auto 15px;
    }
    
    .hero-title-price {
        font-size: 1.5rem;
    }
    
    .comparison-table th, .comparison-table td {
        padding: 10px 5px;
        font-size: 0.85rem;
    }
}

.service-modal-list {
    list-style: none;
    padding-left: 0;
}

.service-modal-list li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.service-modal-list li i {
    color: #28a745;
    position: absolute;
    left: 0;
    top: 0.25rem;
}