/* オール電化ページ固有のスタイル */

/* おすすめセクション用のアイコン */
.recommendation-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(
        to top,
        var(--green-color) 0%,
        var(--primary-color) var(--progress, 0%),
        var(--primary-color) 100%
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.recommendation-icon i {
    font-size: 2rem;
    color: var(--text-dark);
}

.overview-text{
    width: 80%;
    margin: 5rem auto;
    font-size: 1.2rem;
}

.eco-read{
    text-align: center;
}
.eco-read p{
    font-size: 1.2em;
}

.eco-read figure{
    margin: 2rem 0;
}
.eco-h3{
    text-align: center;
}
.eco-script{
    display: flex;
    align-items: center;
}
.eco-script figure{
    width: 40%;
}
.eco-script figure img{
    width: 100%;
}
.eco-script p{
    width: 60%;
    padding: 0 3rem;
    font-size: 1.2rem;
}
.eco-title{
    padding: 5rem 0 2rem;
}
.ih-script{
    margin-top: 3rem;
}

/* 製品セクション用のアイコン */
.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(
        to top,
        var(--green-color) 0%,
        var(--primary-color) var(--progress, 0%),
        var(--primary-color) 100%
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.product-icon i {
    font-size: 2rem;
    color: white;
}

/* メインコンテンツ */
main {
    position: relative;
    padding-top: 80px; /* ヘッダーの高さ分のスペースを確保 */
}

/* サブページヒーロー */
.hero {
    position: relative;
    width: 100%;
}

.hero-sub {
    height: 60vh;
    min-height: 400px;
    margin-top: 0;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100%;
    background-image: url('../images/hero03.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-overlay .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    color: white;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: white;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* 製品セクション */
.products {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.product-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.product-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(
        to top,
        var(--green-color) 0%,
        var(--primary-color) var(--progress, 0%),
        var(--primary-color) 100%
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.product-icon i {
    font-size: 2rem;
    color: var(--text-dark);
}

.product-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.product-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.feature-list {
    list-style: none;
    text-align: left;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-light);
    position: relative;
    padding-left: 1.5rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
}

/* メリットセクション */
.benefits {
    padding: 5rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: white;
    border-radius: 1rem;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}


.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(
        to top,
        var(--green-color) 0%,
        var(--primary-color) var(--progress, 0%),
        var(--primary-color) 100%
    );
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--text-dark);
}

.benefit-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
    .eco-read p{
        text-align: left;
    }
    .eco-script{
        flex-direction: column;
    }
    .eco-script figure{
        width: 100%;
    }
    .eco-script p{
        width: 100%;
        padding: 2rem 1rem;
    }
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product-card {
        padding: 2rem 1.5rem;
    }

    .benefit-card {
        padding: 2rem 1.5rem;
    }

    .comparison-table {
        font-size: 0.875rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 1rem 0.75rem;
    }

    .comparison-table .total-savings {
        font-size: 1.1rem;
    }

    .disaster-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .disaster-info-flex {
        flex-direction: column;
        gap: 0;
        grid-column: 1;
        margin-bottom: 2rem;
        border-radius: 0.75rem;
    }

    .disaster-text {
        width: 100%;
        flex: 0 0 auto;
        padding: 2rem;
    }

    .disaster-image {
        width: 100%;
        flex: 0 0 auto;
    }

    .comparison-item,
    .comparison-label,
    .comparison-value {
        padding: 1rem;
    }

    .environment-flex {
        flex-direction: column;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .environment-image {
        width: 100%;
        flex: 0 0 100%;
        border-radius: 0.75rem;
    }

    .environment-benefits {
        width: 100%;
        flex: 0 0 100%;
        padding: 2rem;
    }

    .environment-stats {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    main {
        padding-top: 70px;
    }

    .hero-sub {
        height: 50vh;
        min-height: 350px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    main {
        padding-top: 60px;
    }

    .hero-sub {
        min-height: 300px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .products {
        padding: 3rem 0;
    }
    
    .benefits {
        padding: 3rem 0;
    }
    
    .cost-comparison {
        padding: 3rem 0;
    }
    
    .product-icon {
        width: 60px;
        height: 60px;
    }
    
    .product-icon i {
        font-size: 1.5rem;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
    }
    
    .benefit-icon i {
        font-size: 1.5rem;
    }
    
    .comparison-table {
        font-size: 0.75rem;
    }
    
    .feature-list li {
        font-size: 0.9rem;
    }

    .recommendation-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }

    .environment-stats {
        grid-template-columns: 1fr;
    }

    .environment-flex {
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .environment-image {
        border-radius: 0.5rem;
    }

    .environment-benefits {
        padding: 1.5rem;
    }

    .environment-benefits h3 {
        font-size: 1.25rem;
    }

    .disaster-info-flex {
        gap: 0;
        margin-bottom: 1.5rem;
        border-radius: 0.5rem;
    }

    .disaster-text {
        padding: 1.5rem;
    }

    .disaster-text p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
}
