@charset "UTF-8";

/**
 * Expertise Section - 札幌の家を知り尽くした、エアコン工事。
 */

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

.expertise-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 10% 20%, rgba(53, 124, 189, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 90% 80%, rgba(53, 124, 189, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

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

/* ========================================
   ヘッダー
   ======================================== */
.expertise-header {
    text-align: center;
    margin-bottom: 60px;
}

.expertise-header__catch {
    font-size: 38px;
    font-weight: 800;
    color: #333;
    line-height: 1.5;
    margin-bottom: 24px;
}

.expertise-header__catch em {
    color: #357CBD;
    font-style: normal;
    font-weight: 900;
    position: relative;
}

.expertise-header__catch em::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #357CBD, #81C1F2);
    border-radius: 2px;
}

.expertise-header__lead {
    font-size: 17px;
    color: #666;
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto;
}

/* ========================================
   特徴カード
   ======================================== */
.expertise-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-bottom: 60px;
}

.expertise-feature {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 36px 32px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expertise-feature::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;
}

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

.expertise-feature:hover::before {
    opacity: 1;
}

/* アイコン */
.expertise-feature__icon {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.expertise-feature:nth-child(1) .expertise-feature__icon {
    background: linear-gradient(135deg, #E3F2FD, #BBDEFB);
}

.expertise-feature:nth-child(2) .expertise-feature__icon {
    background: linear-gradient(135deg, #FFF3E0, #FFE0B2);
}

.expertise-feature:nth-child(3) .expertise-feature__icon {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
}

.expertise-feature:nth-child(4) .expertise-feature__icon {
    background: linear-gradient(135deg, #F3E5F5, #E1BEE7);
}

.expertise-feature__icon svg {
    width: 28px;
    height: 28px;
}

/* テキスト */
.expertise-feature__body {
    flex: 1;
}

.expertise-feature__title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.4;
}

.expertise-feature__desc {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
}

/* ========================================
   締めメッセージ
   ======================================== */
.expertise-closing {
    text-align: center;
    padding: 48px 30px;
    background: linear-gradient(135deg, #357CBD 0%, #2563A8 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.expertise-closing::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.expertise-closing__text {
    font-size: 34px;
    font-weight: 900;
    color: #fff;
    -webkit-text-stroke: 0.5px #fff;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.expertise-closing__text em {
    font-style: normal;
    display: inline-block;
    border-bottom: 3px solid rgba(255, 255, 255, 0.5);
    padding-bottom: 2px;
}

/* ========================================
   一旦締めセクション
   ======================================== */
.interim-cta-section {
    background: linear-gradient(180deg, #2a6d99 0%, #2e5a80 100%);
    padding: 90px 20px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.interim-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(53, 124, 189, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(53, 124, 189, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.interim-cta-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.interim-cta__label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 24px;
    border-radius: 20px;
    margin-bottom: 28px;
    letter-spacing: 0.1em;
}

.interim-cta__title {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    line-height: 1.6;
    margin-bottom: 20px;
}

.interim-cta__title em {
    font-style: normal;
    color: #81C1F2;
    font-weight: 900;
}

.interim-cta__subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 44px;
}

.interim-cta__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #E5D53D 0%, #d4c428 100%);
    color: #1a3a5f;
    font-size: 19px;
    font-weight: 700;
    padding: 20px 56px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 24px rgba(229, 213, 61, 0.3);
}

.interim-cta__button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(229, 213, 61, 0.4);
    color: #1a3a5f;
}

.interim-cta__button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.interim-cta__note {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 20px;
}

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

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

.expertise-feature.fade-in-up:nth-child(1) { transition-delay: 0s; }
.expertise-feature.fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.expertise-feature.fade-in-up:nth-child(3) { transition-delay: 0.2s; }
.expertise-feature.fade-in-up:nth-child(4) { transition-delay: 0.3s; }

/* ========================================
   レスポンシブ: タブレット
   ======================================== */
@media (max-width: 767px) {
    .expertise-section {
        padding: 70px 16px;
    }

    .expertise-header {
        margin-bottom: 40px;
    }

    .expertise-header__catch {
        font-size: 28px;
    }

    .expertise-header__lead {
        font-size: 15px;
    }

    .expertise-features {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 40px;
    }

    .expertise-feature {
        padding: 28px 24px;
        gap: 18px;
    }

    .expertise-feature__icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }

    .expertise-feature__icon svg {
        width: 24px;
        height: 24px;
    }

    .expertise-feature__title {
        font-size: 16px;
    }

    .expertise-feature__desc {
        font-size: 13px;
    }

    .expertise-closing {
        padding: 36px 24px;
        border-radius: 16px;
    }

    .expertise-closing__text {
        font-size: 20px;
    }

    /* 一旦締め */
    .interim-cta-section {
        padding: 60px 16px;
    }

    .interim-cta__title {
        font-size: 26px;
    }

    .interim-cta__subtitle {
        font-size: 15px;
        margin-bottom: 36px;
    }

    .interim-cta__button {
        font-size: 17px;
        padding: 18px 40px;
        width: 100%;
        max-width: 400px;
    }
}

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

    .expertise-header__catch {
        font-size: 24px;
    }

    .expertise-header__lead {
        font-size: 14px;
    }

    .expertise-feature {
        padding: 22px 18px;
        gap: 14px;
    }

    .expertise-feature__icon {
        width: 44px;
        height: 44px;
    }

    .expertise-feature__icon svg {
        width: 22px;
        height: 22px;
    }

    .expertise-feature__title {
        font-size: 15px;
    }

    .expertise-closing {
        padding: 30px 20px;
    }

    .expertise-closing__text {
        font-size: 18px;
    }

    /* 一旦締め */
    .interim-cta-section {
        padding: 50px 12px;
    }

    .interim-cta__label {
        font-size: 12px;
        padding: 5px 18px;
    }

    .interim-cta__title {
        font-size: 22px;
    }

    .interim-cta__subtitle {
        font-size: 14px;
        margin-bottom: 30px;
    }

    .interim-cta__button {
        font-size: 16px;
        padding: 16px 32px;
    }

    .interim-cta__note {
        font-size: 12px;
    }
}

