@charset "UTF-8";

/**
 * Product Section - 取り扱い商品
 */

/* ========================================
   セクション全体
   ======================================== */
.product-section {
    background: #ffffff;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.product-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 15% 30%, rgba(53, 124, 189, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 85% 70%, rgba(53, 124, 189, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.product-container {
    max-width: 1080px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ========================================
   施工費込み帯（共通）
   ======================================== */
.product-included {
    background: linear-gradient(135deg, #f8fbff 0%, #eef5fc 100%);
    border: 1px solid #d6e8f7;
    border-radius: 12px;
    padding: 40px 44px;
    margin-top: 56px;
    text-align: center;
}

.product-included__title {
    font-size: 22px;
    font-weight: 800;
    color: #357CBD;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.product-included__title svg {
    width: 26px;
    height: 26px;
    color: #357CBD;
}

.product-included__items {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.product-included__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #444;
}

.product-included__item svg {
    width: 22px;
    height: 22px;
    color: #357CBD;
    flex-shrink: 0;
}

.product-included__note {
    font-size: 15px;
    color: #888;
    margin-top: 18px;
    line-height: 1.7;
}

/* ========================================
   プレミアムカード（ヒーロー）
   ======================================== */
.product-hero {
    background: linear-gradient(160deg, #EDF4FB 0%, #DCEAF7 40%, #E8F1FA 100%);
    border: 1px solid #c5ddf0;
    border-radius: 20px;
    padding: 56px 52px;
    display: flex;
    align-items: flex-start;
    gap: 48px;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.product-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(53, 124, 189, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* プレミアムバッジ */
.product-hero__badge {
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(135deg, #357CBD 0%, #2563A8 100%);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 10px 28px;
    border-radius: 0 0 16px 0;
    letter-spacing: 0.12em;
    z-index: 2;
}

/* 左側 */
.product-hero__left {
    flex: 1;
    min-width: 0;
}

.product-hero__maker {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.product-hero__name {
    font-size: 28px;
    font-weight: 800;
    color: #1a3a5f;
    line-height: 1.4;
    margin-bottom: 8px;
}

.product-hero__model {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

.product-hero__catch {
    font-size: 20px;
    font-weight: 700;
    color: #357CBD;
    line-height: 1.6;
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 3px solid #357CBD;
}

.product-hero__desc {
    font-size: 15px;
    color: #555;
    line-height: 1.9;
    margin-bottom: 28px;
}

.product-hero__features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-hero__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.product-hero__features li svg {
    width: 20px;
    height: 20px;
    color: #357CBD;
    flex-shrink: 0;
}

/* 右側 */
.product-hero__right {
    flex-shrink: 0;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 24px;
}

.product-hero__price-label {
    font-size: 13px;
    font-weight: 600;
    color: #888;
    margin-bottom: 4px;
}

.product-hero__price {
    font-size: 48px;
    font-weight: 900;
    color: #1a3a5f;
    line-height: 1.2;
    margin-bottom: 4px;
}

.product-hero__price span {
    font-size: 20px;
    font-weight: 700;
}

.product-hero__price-tax {
    font-size: 13px;
    color: #888;
    margin-bottom: 8px;
}

.product-hero__price-included {
    display: inline-block;
    background: #357CBD;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 20px;
    border-radius: 20px;
    margin-bottom: 28px;
    letter-spacing: 0.04em;
}

.product-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #E5D53D 0%, #d4c428 100%);
    color: #1a3a5f;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.product-hero__cta:hover {
    transform: translateY(-2px);
    color: #1a3a5f;
}

.product-hero__cta svg {
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.product-hero__cta:hover svg {
    transform: translateX(3px);
}

/* ========================================
   サブ商品グリッド
   ======================================== */
.product-sub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.product-sub-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 32px 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-sub-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #357CBD 0%, #81C1F2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-sub-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(53, 124, 189, 0.12);
}

.product-sub-card:hover::before {
    opacity: 1;
}

/* サブカード：バッジ */
.product-sub-card__badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 12px;
    margin-bottom: 16px;
    letter-spacing: 0.08em;
}

.product-sub-card--balance .product-sub-card__badge {
    background: #E8F5E9;
    color: #2E7D32;
}

.product-sub-card--brand .product-sub-card__badge {
    background: #FFF3E0;
    color: #E65100;
}

.product-sub-card--budget .product-sub-card__badge {
    background: #F3E5F5;
    color: #7B1FA2;
}

/* サブカード：メーカー・商品名 */
.product-sub-card__maker {
    font-size: 12px;
    font-weight: 600;
    color: #888;
    margin-bottom: 4px;
}

.product-sub-card__name {
    font-size: 18px;
    font-weight: 800;
    color: #333;
    line-height: 1.4;
    margin-bottom: 4px;
}

.product-sub-card__model {
    font-size: 12px;
    color: #aaa;
    margin-bottom: 16px;
}

/* サブカード：キャッチ */
.product-sub-card__catch {
    font-size: 15px;
    font-weight: 700;
    color: #555;
    line-height: 1.5;
    margin-bottom: 16px;
    padding-left: 12px;
    border-left: 2px solid #ccc;
}

.product-sub-card--balance .product-sub-card__catch {
    border-left-color: #66BB6A;
}

.product-sub-card--brand .product-sub-card__catch {
    border-left-color: #FFA726;
}

.product-sub-card--budget .product-sub-card__catch {
    border-left-color: #AB47BC;
}

/* サブカード：価格 */
.product-sub-card__price {
    font-size: 32px;
    font-weight: 900;
    color: #333;
    margin-bottom: 2px;
    line-height: 1.2;
}

.product-sub-card__price span {
    font-size: 16px;
    font-weight: 700;
}

.product-sub-card__price-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 20px;
}

/* サブカード：特徴リスト */
.product-sub-card__features {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.product-sub-card__features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
}

.product-sub-card__features li svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.product-sub-card--balance .product-sub-card__features li svg {
    color: #66BB6A;
}

.product-sub-card--brand .product-sub-card__features li svg {
    color: #FFA726;
}

.product-sub-card--budget .product-sub-card__features li svg {
    color: #AB47BC;
}

/* サブカード：補足テキスト */
.product-sub-card__note {
    font-size: 13px;
    color: #888;
    line-height: 1.7;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

/* サブカード：CTA */
.product-sub-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    background: #fff;
    color: #357CBD;
    font-size: 14px;
    font-weight: 700;
    padding: 12px;
    border-radius: 8px;
    border: 1.5px solid #357CBD;
    text-decoration: none;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.product-sub-card__cta:hover {
    background: #357CBD;
    color: #fff;
}

.product-sub-card__cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
}

.product-sub-card__cta:hover svg {
    transform: translateX(3px);
}

/* ========================================
   スクロールアニメーション
   ======================================== */
.product-section .fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.product-section .fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.product-sub-card.fade-in-up:nth-child(1) { transition-delay: 0s; }
.product-sub-card.fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.product-sub-card.fade-in-up:nth-child(3) { transition-delay: 0.2s; }

/* ========================================
   レスポンシブ: タブレット (max-width: 991px)
   ======================================== */
@media (max-width: 991px) {
    .product-section {
        padding: 60px 20px;
    }

    .product-hero {
        flex-direction: column;
        padding: 44px 36px;
        gap: 32px;
    }

    .product-hero__right {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding-top: 24px;
        border-top: 1px solid rgba(53, 124, 189, 0.15);
    }

    .product-hero__price-group {
        text-align: left;
    }

    .product-hero__price {
        font-size: 40px;
    }

    .product-sub-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .product-sub-grid .product-sub-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        justify-self: center;
    }

    .product-included__items {
        gap: 24px;
    }
}

/* ========================================
   レスポンシブ: スマホ (max-width: 767px)
   ======================================== */
@media (max-width: 767px) {
    .product-section {
        padding: 50px 16px;
    }

    .product-hero {
        padding: 36px 24px;
        border-radius: 16px;
        margin-bottom: 28px;
    }

    .product-hero__badge {
        font-size: 11px;
        padding: 8px 20px;
    }

    .product-hero__name {
        font-size: 22px;
    }

    .product-hero__catch {
        font-size: 17px;
    }

    .product-hero__desc {
        font-size: 14px;
    }

    .product-hero__features li {
        font-size: 14px;
    }

    .product-hero__right {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .product-hero__price-group {
        text-align: center;
    }

    .product-hero__price {
        font-size: 36px;
    }

    .product-hero__cta {
        width: 100%;
        max-width: 320px;
    }

    .product-sub-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-sub-grid .product-sub-card:last-child {
        grid-column: auto;
        max-width: none;
        justify-self: auto;
    }

    .product-sub-card {
        padding: 28px 22px;
    }

    .product-sub-card__name {
        font-size: 16px;
    }

    .product-sub-card__price {
        font-size: 28px;
    }

    .product-included {
        padding: 28px 20px;
        margin-top: 40px;
    }

    .product-included__title {
        font-size: 18px;
    }

    .product-included__items {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .product-included__item {
        font-size: 16px;
    }

    .product-included__note {
        font-size: 13px;
    }
}

/* ========================================
   レスポンシブ: 小さいスマホ (max-width: 479px)
   ======================================== */
@media (max-width: 479px) {
    .product-section {
        padding: 40px 12px;
    }

    .product-hero {
        padding: 28px 18px;
    }

    .product-hero__name {
        font-size: 20px;
    }

    .product-hero__catch {
        font-size: 16px;
    }

    .product-hero__price {
        font-size: 32px;
    }

    .product-hero__cta {
        font-size: 15px;
        padding: 14px 32px;
    }

    .product-sub-card {
        padding: 24px 18px;
    }

    .product-sub-card__catch {
        font-size: 14px;
    }

    .product-sub-card__price {
        font-size: 26px;
    }
}





