/* テレビアンテナ工事ページ固有のスタイル */
/* プレフィックス: .ant- */

/* ====================================
   ヒーローセクション（スライドショー）
   ==================================== */
.ant-hero-slideshow {
    position: relative;
    margin-top: 0;
    min-height: 500px;
    overflow: hidden;
}

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

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

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

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

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

.ant-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
                    rgba(26, 42, 74, 0.55) 0%,
                    rgba(74, 144, 226, 0.4) 100%);
}

/* ヒーローコンテンツ（スライドの上に表示） */
.ant-slide-content {
    position: relative;
    z-index: 10;
    padding: 120px 0 80px;
    color: white;
    text-align: center;
}

.ant-hero-slideshow h1 {
    font-size: clamp(24px, 4.5vw, 38px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.ant-hero-slideshow .hero-subtitle {
    font-size: clamp(14px, 2.3vw, 17px);
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.9;
}

.ant-hero-slideshow .hero-badges {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

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

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

.ant-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;
}

.ant-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);
}

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

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

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

/* ナビゲーション矢印 */
.ant-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;
}

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

.ant-slide-prev { left: 20px; }
.ant-slide-next { right: 20px; }

/* スライド指標（ドット） */
.ant-slide-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 10px;
}

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

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

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

/* ====================================
   価格ハイライト
   ==================================== */
.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;
    line-height: 1.7;
}

/* 複数料金のグリッド */
.ant-price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.ant-price-item {
    background: linear-gradient(135deg, #FFF8F0 0%, #FFEDD5 100%);
    border: 2px solid var(--primary-orange);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
}

.ant-price-item .item-label {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 8px;
}

.ant-price-item .item-price {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    color: var(--primary-orange);
    line-height: 1.2;
}

.ant-price-item .item-price small {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 400;
}

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

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

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

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

.ant-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);
}

/* ====================================
   お悩みセクション
   ==================================== */
.ant-trouble-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.ant-trouble-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ant-trouble-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.ant-trouble-card .trouble-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.ant-trouble-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);
}

.ant-trouble-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* ====================================
   サービスタイプカード
   ==================================== */
.ant-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

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

.ant-type-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

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

.ant-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;
}

.ant-type-card .card-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
}

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

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

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

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

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

.ant-type-card ul li {
    font-size: 14px;
    color: var(--text-light);
    padding: 5px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.ant-type-card ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--primary-orange);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ====================================
   工事の流れ
   ==================================== */
.ant-flow-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    max-width: 700px;
    margin: 0 auto;
}

.ant-flow-step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    padding-bottom: 30px;
}

.ant-flow-step:last-child {
    padding-bottom: 0;
}

.ant-flow-step::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 50px;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-orange), transparent);
}

.ant-flow-step:last-child::before {
    display: none;
}

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

.ant-step-body h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
}

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

/* ====================================
   料金表
   ==================================== */
.ant-price-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 15px;
}

.ant-price-table th {
    background: var(--primary-blue);
    color: white;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
}

.ant-price-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

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

.ant-price-table tr:nth-child(even) td {
    background: #f9fafb;
}

.ant-price-table .price-col {
    font-weight: 700;
    color: var(--emergency-red);
    white-space: nowrap;
}

.ant-price-note {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

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

.ant-reason-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.ant-reason-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

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

.ant-reason-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}

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

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

.ant-faq-item {
    border: 1px solid var(--border-light);
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
    background: white;
}

.ant-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 55px 20px 20px;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    transition: background 0.2s;
}

.ant-faq-question:hover {
    background: #f9fafb;
}

.ant-faq-question .q-icon {
    width: 28px;
    height: 28px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.ant-faq-question .toggle-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-orange);
    font-size: 14px;
    transition: transform 0.3s;
}

.ant-faq-item.open .toggle-icon {
    transform: translateY(-50%) rotate(180deg);
}

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

.ant-faq-item.open .ant-faq-answer {
    display: block;
}

/* ====================================
   対応エリア
   ==================================== */
.ant-area-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
}

.ant-area-tag {
    background: white;
    border: 2px solid var(--primary-blue);
    border-radius: 30px;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary-blue);
}

.ant-area-tag.main {
    background: var(--primary-blue);
    color: white;
}

/* ====================================
   CTAセクション
   ==================================== */
.ant-cta-section {
    background: linear-gradient(135deg, #1a2a4a 0%, #2c5282 100%);
    color: white;
    padding: 70px 0;
    text-align: center;
}

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

.ant-cta-section p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 10px;
    line-height: 1.7;
}

.ant-cta-phone {
    margin: 30px 0 15px;
}

.ant-cta-phone a {
    font-size: clamp(32px, 6vw, 48px);
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: opacity 0.2s;
}

.ant-cta-phone a:hover {
    opacity: 0.85;
}

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

.btn-ant-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    background: var(--primary-orange);
    color: white;
    box-shadow: 0 4px 15px rgba(255,140,66,0.4);
}

.btn-ant-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,140,66,0.5);
}

/* ====================================
   注意事項・免責
   ==================================== */
.ant-disclaimer {
    background: #f8f9fa;
    border-left: 4px solid var(--border-light);
    border-radius: 8px;
    padding: 20px 25px;
}

.ant-disclaimer h4 {
    font-size: 14px;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 10px;
}

.ant-disclaimer ul {
    margin: 0;
    padding-left: 20px;
}

.ant-disclaimer ul li {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 4px;
}

/* ====================================
   モバイル固定CTA
   ==================================== */
.ant-mobile-fixed-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.15);
}

.ant-mobile-fixed-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    flex: 1;
}

.mobile-cta-phone {
    background: var(--primary-orange);
    color: white;
}

.mobile-cta-mail {
    background: var(--primary-blue);
    color: white;
}

/* ====================================
   レスポンシブ
   ==================================== */
@media (max-width: 1024px) {
    .ant-type-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ant-reason-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .ant-section-title {
        font-size: 24px;
    }
    .ant-price-table {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .ant-slide-content {
        padding: 90px 0 60px;
    }
    .ant-hero-slideshow h1 {
        font-size: 22px;
    }
    .ant-type-grid {
        grid-template-columns: 1fr;
    }
    .ant-reason-grid {
        grid-template-columns: 1fr;
    }
    .ant-flow-step {
        gap: 15px;
    }
    .ant-price-table th,
    .ant-price-table td {
        padding: 10px 12px;
        font-size: 13px;
    }
    .ant-mobile-fixed-cta {
        display: flex;
    }
    body {
        padding-bottom: 60px;
    }
    .ant-slide-nav {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .ant-hero-slideshow h1 {
        font-size: 19px;
    }
    .ant-hero-slideshow .hero-badges {
        gap: 8px;
    }
    .ant-hero-slideshow .badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    .ant-hero-slideshow .btn-cta {
        padding: 14px 24px;
        font-size: 16px;
    }
    .ant-section {
        padding: 40px 0;
    }
    .ant-section-title {
        font-size: 22px;
    }
    .ant-faq-question {
        font-size: 14px;
    }
    .ant-cta-phone a {
        font-size: 28px;
    }
    .ant-price-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
