/* 全体の設定 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* ヘッダー */
.header-top {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c5530;
    margin: 0;
}

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

.contact-methods {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.business-hours {
    font-size: 0.9rem;
    color: #666;
}

.phone-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: #dc3545;
    text-decoration: none;
    transition: color 0.3s;
}

.phone-number:hover {
    color: #c82333;
}

.line-contact {
    font-size: 1rem;
    font-weight: bold;
    color: #28a745;
    text-decoration: none;
    transition: color 0.3s;
}

.line-contact:hover {
    color: #1e7e34;
}

/* ヒーローセクション */
.hero-section {
    background: linear-gradient(135deg, #e8f5e8 0%, #f0f8f0 100%);
    padding: 4rem 0;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2c5530;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #2c5530;
    font-weight: bold;
    margin-bottom: 1rem;
}

.hero-subtitle-sub {
    font-size: 1.2rem;
    color: #dc3545;
    font-weight: bold;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.feature-item i {
    font-size: 1.2rem;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.phone-btn {
    animation: pulse 2s infinite;
}

.line-btn {
    background-color: #00B900;
    border-color: #00B900;
    color: white;
}

.line-btn:hover {
    background-color: #009900;
    border-color: #008800;
    color: white;
}

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

.hero-image img {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* セクションタイトル */
.section-title {
    font-size: 2.2rem;
    font-weight: bold;
    color: #2c5530;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #28a745, #20c997);
}

/* 料金セクション */
.pricing-section {
    background: #fff;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.special {
    border: 2px solid #28a745;
}

.pricing-card h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #2c5530;
    margin-bottom: 0.5rem;
}

.pest-types {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.campaign-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #dc3545;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    transform: rotate(15deg);
    box-shadow: 0 5px 15px rgba(220,53,69,0.3);
}

.price-display {
    text-align: center;
    margin-bottom: 1rem;
}

.price {
    font-size: 3rem;
    font-weight: bold;
    color: #28a745;
}

.tax {
    font-size: 1.2rem;
    color: #666;
    margin-left: 0.5rem;
}

.price-note {
    text-align: center;
    color: #666;
    margin: 0;
}

/* ターゲット別サービス */
.target-services-section {
    background: #f8f9fa;
}

.target-card {
    background: #fff;
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    border-left: 5px solid #28a745;
}

.target-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.target-card.restaurant {
    border-left-color: #dc3545;
}

.target-card.management {
    border-left-color: #007bff;
}

.target-card.construction {
    border-left-color: #fd7e14;
}

.target-card.residential {
    border-left-color: #28a745;
}

.target-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #28a745;
}

.target-card.restaurant .target-icon {
    color: #dc3545;
}

.target-card.management .target-icon {
    color: #007bff;
}

.target-card.construction .target-icon {
    color: #fd7e14;
}

.target-card.residential .target-icon {
    color: #28a745;
}

.target-card h3 {
    font-size: 1.4rem;
    font-weight: bold;
    color: #2c5530;
    margin-bottom: 1rem;
}

.target-description {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.target-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.target-features li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #666;
}

.target-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: bold;
}

/* サービスプラン */
.service-plans-section {
    background: #fff;
}

.plan-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
    overflow: hidden;
    border-top: 5px solid #28a745;
}

.plan-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.plan-card.regular {
    border-top-color: #007bff;
}

.plan-card.spot {
    border-top-color: #dc3545;
}

.plan-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    text-align: center;
}

.plan-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #28a745;
}

.plan-card.regular .plan-icon {
    color: #007bff;
}

.plan-card.spot .plan-icon {
    color: #dc3545;
}

.plan-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #2c5530;
    margin-bottom: 0.5rem;
}

.plan-subtitle {
    color: #666;
    margin: 0;
    font-style: italic;
}

.plan-content {
    padding: 2rem;
}

.plan-features, .plan-benefits {
    margin-bottom: 1.5rem;
}

.plan-content h4 {
    font-size: 1.1rem;
    font-weight: bold;
    color: #2c5530;
    margin-bottom: 1rem;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.plan-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-content li {
    padding: 0.3rem 0;
    position: relative;
    padding-left: 1.5rem;
    color: #555;
    line-height: 1.5;
}

.plan-content li::before {
    content: '●';
    position: absolute;
    left: 0;
    color: #28a745;
    font-size: 0.8rem;
}

.plan-card.regular .plan-content li::before {
    color: #007bff;
}

.plan-card.spot .plan-content li::before {
    color: #dc3545;
}

.plan-target {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #555;
}

/* サービスカード */
.service-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    color: #28a745;
    margin-bottom: 1rem;
}

/* ゴキブリ駆除用の特別なアイコン色 */
.service-card:nth-child(3) .service-icon {
    color: #6c757d;
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c5530;
    margin-bottom: 1rem;
}

.service-card p {
    color: #666;
    margin-bottom: 1rem;
}

.service-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #28a745;
    text-align: center;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: auto;
}

/* 強みセクション */
.feature-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    height: 100%;
    position: relative;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c5530;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.feature-card p {
    color: #666;
    margin: 0;
}

/* 利用の流れ */
.flow-card {
    background: #fff;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    height: 100%;
    position: relative;
}

.flow-card:hover {
    transform: translateY(-5px);
}

.flow-number {
    background: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.flow-icon {
    font-size: 3rem;
    color: #007bff;
    margin-bottom: 1rem;
}

.flow-card h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: #2c5530;
    margin-bottom: 1rem;
}

.flow-card p {
    color: #666;
    margin: 0;
}

/* FAQ */
.accordion-button {
    background: #f8f9fa;
    border: none;
    font-weight: 600;
    color: #2c5530;
}

.accordion-button:not(.collapsed) {
    background: #28a745;
    color: white;
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-body {
    background: #fff;
    color: #666;
}


/* フッター */
.footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 50%, #2c3e50 100%) !important;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(52, 152, 219, 0.08) 0%, transparent 100%);
    pointer-events: none;
}

.footer h5 {
    color: #4CAF50;
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.footer p {
    margin-bottom: 0.5rem;
    color: #e8f5e8;
    opacity: 0.9;
}

.footer i {
    color: #66BB6A;
    margin-right: 0.5rem;
}

.footer-link {
    color: #e8f5e8;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.footer-link:hover {
    color: #4CAF50;
    opacity: 1;
    text-decoration: none;
}

.footer-contact-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.footer-contact-row p {
    margin-bottom: 0;
    flex: 1;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .business-hours {
        padding-top: 10px;
    }

    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .contact-info {
        align-items: center;
        text-align: center;
    }
    
    .contact-methods {
        flex-direction: row;
        gap: 3rem;
        justify-content: center;
    }
    
    .phone-number {
        font-size: 1.1rem;
    }
    
    .line-contact {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .phone-large {
        font-size: 1.5rem;
    }

    .col-lg-6 .hero-image {
        padding: 30px 20px;
    }
    .footer h5 {
        margin-bottom: 10px;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .campaign-badge {
        font-size: 0.8rem;
        padding: 0.3rem 0.8rem;
    }
    
    .service-card,
    .feature-card,
    .flow-card {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
}

/* アニメーション */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.service-card,
.feature-card,
.flow-card {
    animation: fadeInUp 0.6s ease-out;
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* ボタンホバー効果 */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* カード全体のグラデーション効果 */
.pricing-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.service-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.feature-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.flow-card {
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}