/* EV充電器ページ固有のスタイル */

/* ====================================
   EVページ ヒーロースライドショー
   ==================================== */
.ev-hero-slideshow {
    position: relative;
    margin-top: 60px;
    min-height: 500px;
    overflow: hidden;
}

.ev-slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
}

/* スライド */
.ev-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.ev-slide.active {
    opacity: 1;
    z-index: 2;
}

.ev-slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ev-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ev-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.4) 0%, rgba(39, 174, 96, 0.35) 100%);
}

/* スライドコンテンツ */
.ev-slide-content {
    position: relative;
    z-index: 10;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
}

/* ナビゲーション矢印 */
.ev-slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 20;
    font-size: 18px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ev-slide-nav:hover {
    background: rgba(0, 0, 0, 0.6);
}

.ev-slide-prev {
    left: 20px;
}

.ev-slide-next {
    right: 20px;
}

/* インジケーター（ドット） */
.ev-slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 10px;
}

.ev-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.ev-indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

.ev-indicator.active {
    background: white;
}

/* ヒーローセクション内のテキストスタイル */
.ev-hero-slideshow h1 {
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.ev-hero-slideshow .hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    margin-bottom: 30px;
    opacity: 0.95;
}

.ev-hero-slideshow .hero-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.ev-hero-slideshow .badge {
    background: rgba(255,255,255,0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.ev-hero-slideshow .hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.ev-hero-slideshow .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.ev-hero-slideshow .btn-primary-cta {
    background: linear-gradient(135deg, #FF8C42 0%, #e67a35 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(255, 140, 66, 0.4);
}

.ev-hero-slideshow .btn-primary-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 140, 66, 0.5);
}

.ev-hero-slideshow .btn-secondary-cta {
    background: rgba(255,255,255,0.95);
    color: var(--primary-blue);
}

.ev-hero-slideshow .btn-secondary-cta:hover {
    background: white;
    transform: translateY(-3px);
}

/* 価格ハイライト */
.price-highlight {
    background: linear-gradient(135deg, #FFF8F0 0%, #FFEDD5 100%);
    border: 3px solid var(--primary-orange);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin: 40px 0;
}

.price-highlight .price-label {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 10px;
}

.price-highlight .price-value {
    font-size: clamp(36px, 6vw, 52px);
    font-weight: 700;
    color: var(--primary-orange);
}

.price-highlight .price-note {
    font-size: 14px;
    color: var(--text-light);
    margin-top: 15px;
}

/* セクション共通 */
.ev-section {
    padding: 60px 0;
}

.ev-section-gray {
    background: #f8f9fa;
}

.ev-section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.ev-section-lead {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
    font-size: 15px;
}

/* 充電器タイプカード */
.ev-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.ev-type-card {
    background: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: relative;
}

.ev-type-card.recommended {
    border: 3px solid var(--primary-orange);
}

.ev-type-card .badge {
    position: absolute;
    top: -12px;
    left: 20px;
    background: var(--primary-orange);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.ev-type-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.ev-type-card h3 i {
    color: var(--primary-orange);
}

.ev-type-card .price {
    font-size: 28px;
    font-weight: 700;
    color: var(--emergency-red);
    margin-bottom: 15px;
}

.ev-type-card .price span {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 400;
}

.ev-type-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 15px;
}

.ev-type-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ev-type-card ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.ev-type-card ul li:last-child {
    border-bottom: none;
}

.ev-type-card ul li i {
    color: var(--success-green);
}

/* 比較表 */
.ev-compare-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.ev-compare-table th,
.ev-compare-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.ev-compare-table th {
    background: var(--primary-blue);
    color: white;
    font-weight: 600;
}

.ev-compare-table th:first-child {
    text-align: left;
}

.ev-compare-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.ev-compare-table .recommend {
    background: #fff8e6;
    font-weight: 600;
}

.ev-compare-table .recommend-label {
    display: inline-block;
    background: var(--primary-orange);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    margin-left: 5px;
}

/* フローステップ */
.ev-flow {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 700px;
    margin: 0 auto;
}

.ev-flow-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ev-flow-step .step-num {
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.ev-flow-step h4 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.ev-flow-step p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* 料金表 */
.ev-price-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

.ev-price-table th,
.ev-price-table td {
    padding: 18px 25px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.ev-price-table th {
    background: var(--primary-blue);
    color: white;
    font-weight: 600;
}

.ev-price-table td:last-child {
    text-align: right;
    font-weight: 700;
    color: var(--emergency-red);
    font-size: 18px;
}

.ev-price-table tr:hover {
    background: #f8f9fa;
}

/* 選ばれる理由 */
.ev-reason-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.ev-reason-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    text-align: center;
}

.ev-reason-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-blue), #2c5282);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 20px;
}

.ev-reason-card h4 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.ev-reason-card p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* FAQ */
.ev-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.ev-faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    overflow: hidden;
}

.ev-faq-question {
    width: 100%;
    padding: 20px 25px;
    background: none;
    border: none;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: inherit;
}

.ev-faq-question:hover {
    background: #f8f9fa;
}

.ev-faq-question i {
    color: var(--primary-blue);
    transition: transform 0.3s;
}

.ev-faq-item.active .ev-faq-question i {
    transform: rotate(180deg);
}

.ev-faq-answer {
    padding: 0 25px 20px;
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.8;
    display: none;
}

.ev-faq-item.active .ev-faq-answer {
    display: block;
}

/* エリア */
.ev-area-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
}

.ev-area-main {
    background: var(--primary-blue);
    color: white;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
}

.ev-area-main h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.ev-area-main p {
    opacity: 0.9;
}

.ev-area-sub {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ev-area-sub h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.ev-area-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.ev-area-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.ev-area-list li i {
    color: var(--success-green);
}

/* CTA セクション */
.ev-cta-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #2c5282 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.ev-cta-section h2 {
    font-size: 28px;
    margin-bottom: 15px;
}

.ev-cta-section p {
    opacity: 0.9;
    margin-bottom: 30px;
}

.ev-cta-phone {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.ev-cta-phone a {
    color: white;
    text-decoration: none;
}

.ev-cta-phone i {
    margin-right: 10px;
    color: var(--primary-orange);
}

.ev-cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

/* ボタン */
.btn-ev-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-orange);
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-ev-primary:hover {
    background: #e67e22;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-ev-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: white;
    padding: 15px 30px;
    border: 2px solid white;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-ev-outline:hover {
    background: white;
    color: var(--primary-blue);
}

/* 注意書き */
.ev-note {
    background: #fff8e6;
    border-left: 4px solid var(--primary-orange);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    margin-top: 30px;
}

.ev-note h4 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.ev-note h4 i {
    color: var(--primary-orange);
}

.ev-note ul {
    margin: 0;
    padding-left: 20px;
    color: var(--text-light);
    font-size: 14px;
}

.ev-note ul li {
    margin-bottom: 5px;
}

/* 対応車種 */
.ev-car-brands {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.ev-car-brand {
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
    min-width: 150px;
    transition: all 0.3s ease;
}

.ev-car-brand:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.ev-car-brand .brand-name {
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.ev-car-brand .brand-models {
    font-size: 13px;
    color: var(--text-light);
}

/* 料金表（index.html形式） */
.ev-subsection-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 20px;
    padding-left: 15px;
    border-left: 4px solid var(--primary-orange);
}

.ev-price-table-new {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.ev-price-table-new th {
    background: var(--primary-blue);
    color: white;
    padding: 15px;
    text-align: left;
    font-weight: 700;
}

.ev-price-table-new td {
    padding: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.ev-price-table-new tr:last-child td {
    border-bottom: none;
}

.ev-price-table-new tr:hover {
    background: #f3f4f6;
}

.ev-price-table-new .price-hl {
    font-weight: 700;
    color: var(--primary-orange);
    font-size: 18px;
}

.ev-price-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.ev-price-detail-box {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.ev-price-detail-box h4 {
    font-size: 16px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ev-price-detail-box h4 i {
    color: var(--primary-orange);
}

.ev-price-detail-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ev-price-detail-box li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-light);
    border-bottom: 1px solid #e5e7eb;
}

.ev-price-detail-box li:last-child {
    border-bottom: none;
}

.ev-cta-box {
    background: #f3f4f6;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
}

.ev-cta-box p {
    margin-bottom: 20px;
}

/* 設置場所セクション */
.ev-location-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.ev-location-card {
    background: white;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
}

.ev-location-card .location-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), #2c5282);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 15px;
}

.ev-location-card h4 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.ev-location-card .car-list {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* 設置ポイントリスト */
.ev-point-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.ev-point-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.ev-point-item .point-num {
    width: 40px;
    height: 40px;
    background: var(--primary-orange);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.ev-point-item .point-content h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.ev-point-item .point-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
}

/* レスポンシブ */
@media (max-width: 768px) {
    .ev-hero-slideshow {
        min-height: 450px;
    }

    .ev-slideshow-container {
        min-height: 450px;
    }

    .ev-slide-content {
        padding: 100px 20px 60px;
    }

    .ev-hero-slideshow .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    /* スマホではナビゲーションボタンを小さく */
    .ev-slide-nav {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .ev-slide-prev {
        left: 10px;
    }

    .ev-slide-next {
        right: 10px;
    }

    .ev-slide-indicators {
        bottom: 15px;
    }

    .ev-section-title {
        font-size: 22px;
    }

    .ev-area-content {
        grid-template-columns: 1fr;
    }

    .ev-compare-table {
        font-size: 13px;
    }

    .ev-compare-table th,
    .ev-compare-table td {
        padding: 10px 12px;
    }

    .ev-cta-phone {
        font-size: 28px;
    }

    .ev-price-detail-grid {
        grid-template-columns: 1fr;
    }
}
