/* =========================
   HYOON Ventilation LP (scoped)
   ========================= */
.loif-hv {
    --ink: #1f1f1f;
    --muted: #4a4a4a;
    --bg: #fff;
    --line: #e8e8e8;
    --accent: #0E76C7;

    color: var(--ink);
    background: var(--bg);
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
    box-sizing: border-box;
    overflow-x: visible;
}

.loif-hv {
    box-sizing: border-box;
}

.loif-hv *,
.loif-hv *::before,
.loif-hv *::after {
    box-sizing: inherit;
}

.loif-hv :where(img) {
    max-width: 100%;
    height: auto;
    display: block;
}

.loif-hv :where(a) {
    text-decoration: none;
    color: inherit;
}

.loif-hv :where(p, li) {
    color: var(--muted);
    line-height: 1.9;
    margin: 0;
}

.loif-hv :where(h1, h2, h3) {
    color: var(--ink);
    line-height: 1.25;
    margin: 0;
}

/* container */
.loif-hv .hv-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 18px;
}

.loif-hv .hv-wrap--wide {
    max-width: 1240px;
}

.loif-hv .hv-wrap--tight {
    padding: 0 10px;
}

.loif-hv .hv-fullbleed {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* =========================
   HERO
   ========================= */
.loif-hv .hv-hero.hv-fullbleed {
    background: #fff;
    overflow: hidden;
}

.loif-hv .hv-top,
.loif-hv .hv-top__pic,
.loif-hv .hv-top__img {
    width: 100%;
}

.loif-hv .hv-top__img {
    height: clamp(260px, 32vw, 600px);
    object-fit: cover;
    object-position: center;
}

.loif-hv .hv-top {
    position: relative;
}

.loif-hv .hv-top::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 140px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1));
    pointer-events: none;
}

.loif-hv .hv-catch {
    background: #fff;
    padding: 58px 0 54px;
}

.loif-hv .hv-catch .hv-wrap {
    text-align: center;
}

.loif-hv .hv-title {
    margin: 0 auto 34px;
    font-size: 46px;
    font-weight: 900;
    letter-spacing: .02em;
}

.loif-hv .hv-title--sm {
    font-size: 40px;
    margin-bottom: 42px;
}

.loif-hv .hv-catchLead {
    margin: 0 auto;
    max-width: 920px;
    text-align: center;
}

.loif-hv .hv-catchLead--prose {
    font-size: 17px;
        font-weight: 400;
        line-height: 2.05;
        color: var(--muted);
}

.loif-hv .hv-lead {
    margin: 0 0 14px;
}

.loif-hv .hv-leadStrong {
    margin-top: 14px;
    font-size: 19px;
    color: var(--ink);
}

/* 放熱設計（下だけハイライト） */
.loif-hv .hv-underline {
    font-weight: 900;
    color: var(--ink);
    display: inline-block;
    padding: .34em .18em .42em;
    line-height: 1.45;
    border-radius: .34em;
    background-image: linear-gradient(90deg, #00B7F0 0%, #0B66C3 45%, #042C6F 100%);
    background-repeat: no-repeat;
    background-size: 100% .42em;
    background-position: 0 100%;
}

/* HERO画像：1200×300（角丸なし） */
.loif-hv .hv-heroShot {
    width: min(980px, 100%);
    margin: 18px auto 0;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    aspect-ratio: 4 / 1;
    /* 1200×300 */
}

.loif-hv .hv-heroShot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* =========================
   SECTION
   ========================= */
.loif-hv .hv-section {
    padding: 84px 0;
}

.loif-hv .hv-h2 {
    font-size: 26px;
    letter-spacing: .04em;
    margin: 0 0 18px;
    position: relative;
    padding-left: 12px;
}

.loif-hv .hv-h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: .25em;
    width: 4px;
    height: 1.1em;
    border-radius: 999px;
    background: var(--accent);
}

/* =========================
   SECTION 1
   ========================= */
.loif-hv #sec1 {
    background: #fff;
}

.loif-hv .hv-s1Title {
    margin: 0 0 54px;
    text-align: center;
    font-size: 28px;
    font-weight: 900;
    letter-spacing: .02em;
}

/* セクション1：文章+画像（中央寄せブロック） */
.loif-hv .hv-s1Grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 18px;
    align-items: center;
}

.loif-hv .hv-s1Grid--center {
    max-width: 1080px;
    margin: 0 auto;
}

.loif-hv .hv-s1Body {
    justify-self: center;
}

.loif-hv .hv-s1Text {
    font-size: 17px;
    line-height: 2.05;
    color: var(--muted);
}

.loif-hv .hv-s1Media {
    justify-self: center;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
}

.loif-hv .hv-s1Media--wide {
    width: min(600px, 100%);
    aspect-ratio: 16/10;
}

.loif-hv .hv-s1Media--wide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* =========================
   放熱キャッチブロック（余白調整）
   ========================= */
.loif-hv .hv-compare {
    margin-top: 56px;
    /* 上の白い余白を少し大きく */
    padding-top: 40px;
    /* 上の白い余白を少し大きく */
    border-top: 1px solid var(--line);
}

/* タイトル上下の余白 */
.loif-hv .hv-compare__title {
    text-align: center;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: .02em;
    line-height: 1.35;
    margin: 18px 0 22px;
    color: var(--ink);
}

.loif-hv .hv-compare__copy {
    text-align: center;
    margin-top: 10px;
}

.loif-hv .hv-compare__text {
    width: min(900px, 100%);
    margin: 0 auto 22px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.95;
    color: var(--muted);
}

.loif-hv .hv-compare__media {
    width: min(860px, 100%);
    margin: 0 auto;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    aspect-ratio: 14 / 9;
}

.loif-hv .hv-compare__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* =========================
   FEATURES
   ========================= */
.loif-hv .hv-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding: 34px 0;
    border-top: 1px solid var(--line);
}

.loif-hv .hv-feature:first-of-type {
    border-top: 0;
}

.loif-hv .hv-feature__title {
    display: block;
    width: 100%;
    padding: 12px 18px;
    border-radius: 14px;
    color: #fff;
    font-weight: 900;
    letter-spacing: .04em;
    font-size: 26px;
    text-align: center;
    /* 見出し中央 */
    background: linear-gradient(90deg, #00B7F0 0%, #0B66C3 45%, #042C6F 100%);
}

.loif-hv .hv-feature__text {
    margin-top: 14px;
    font-size: 16px;
    line-height: 1.95;
    color: var(--muted);
    text-align: center;
    /* ★放熱の理由の文章も中央寄せ（要望） */
}

.loif-hv .hv-feature--titleAboveMedia {
    position: relative;
    padding-top: 92px;
}

.loif-hv .hv-feature--titleAboveMedia .hv-feature__title {
    position: absolute;
    top: 22px;
    left: 0;
    right: 0;
}

/* media base（四角） */
.loif-hv .hv-feature__media {
    justify-self: end;
    width: min(560px, 100%);
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
}

/* 2 squares（800×800は角丸あり） */
.loif-hv .hv-feature__media--pair {
    justify-self: center;
    /* ★中央寄せ */
    margin-left: auto;
    margin-right: auto;
    width: min(560px, 100%);
    /* 統一幅 */
    padding: 14px;
}

.loif-hv .hv-media2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.loif-hv .hv-media2 img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 16px;
    /* 800×800は角丸キープ */
    border: 1px solid var(--line);
    object-fit: cover;
}

/* =========================
   なめらかな着心地（stacked）
   ========================= */
.loif-hv .hv-feature--stacked {
    grid-template-columns: 1fr;
    gap: 16px;
}

.loif-hv .hv-feature--stacked .hv-feature__body {
    max-width: 980px;
    margin: 0 auto;
}

/* 上：1400×900（少し小さく） */
.loif-hv .hv-smoothTop {
    width: min(820px, 100%);
    /* ★少し小さく */
    margin-left: auto;
    margin-right: auto;
    margin-top: 14px;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
    aspect-ratio: 14 / 9;
}

.loif-hv .hv-smoothTop img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.loif-hv .hv-smoothCopy {
    margin-top: 16px;
    font-size: 16px;
    line-height: 2.05;
    color: var(--muted);
    text-align: center;
    /* 中央 */
}

.loif-hv .hv-smoothLead {
    margin: 0 0 10px;
}

.loif-hv .hv-smoothList {
    display: inline-block;
    text-align: left;
    margin: 10px auto 12px;
    padding-left: 1.2em;
}

.loif-hv .hv-smoothList li {
    margin: 0 0 6px;
}

/* 下：800×800 2枚（外枠幅統一） */
.loif-hv .hv-smoothBottom {
    margin-top: 12px;
    padding: 14px;
    border-radius: 0;
    border: 1px solid var(--line);
    background: #fff;
}

.loif-hv .hv-smoothBottom--same {
    width: min(560px, 100%);
    margin-left: auto;
    margin-right: auto;
}
/* =========================
   なめらかな着心地：左テキスト / 右2枚 + 下1枚（NEW）
   ========================= */
.loif-hv .hv-feature--smooth {
    /* hv-featureの2カラムを活かしつつ、本文内で行レイアウトを組む */
}

.loif-hv .hv-smoothRow {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
    margin-top: 14px;
}

.loif-hv .hv-smoothText {
    text-align: left;
}

.loif-hv .hv-smoothMedia--pair {
    justify-self: end;
    width: min(560px, 100%);
    padding: 14px;
    border: 1px solid var(--line);
    background: #fff;
}

.loif-hv .hv-smoothUnder {
    width: min(860px, 100%);
    margin: 18px auto 0;
    border: 1px solid var(--line);
    background: #fff;
    overflow: hidden;
    border-radius: 0;
    aspect-ratio: 14 / 9;
}

.loif-hv .hv-smoothUnder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* SP：縦積み */
@media (max-width: 900px) {
    .loif-hv .hv-smoothRow {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .loif-hv .hv-smoothMedia--pair {
        justify-self: start;
        width: 100%;
    }

    .loif-hv .hv-smoothUnder {
        width: 100%;
    }
}

/* =========================
   最下部「18ホール〜」余白調整（上は増やす / CTAとの間は詰める）
   ========================= */
.loif-hv .hv-finalLine {
    margin-top: 72px !important;
    /* ← 上に余白を追加 */
    margin-bottom: 8px !important;
    /* ← CTAとの間を小さく */
}

.loif-hv .hv-ctaBottom {
    padding-top: 6px !important;
    /* ← CTAセクション上の余白をさらに詰める */
}

/* =========================
   UV対策：文字＆画像を中央寄せ
   ========================= */
.loif-hv .hv-feature--center {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
}

.loif-hv .hv-feature__media--center {
    justify-self: center;
    width: min(720px, 100%);
    aspect-ratio: 16 / 10;
}

.loif-hv .hv-feature__media--center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* =========================
   PRODUCTS
   ========================= */
.loif-hv .hv-products {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
}

.loif-hv .hv-pcard {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
}

/* 600×600は角丸キープ */
.loif-hv .hv-thumb {
    width: 140px;
    aspect-ratio: 1/1;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
}

.loif-hv .hv-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.loif-hv .hv-pcode {
    display: block;
    font-weight: 900;
    color: var(--ink);
}

.loif-hv .hv-pname {
    display: block;
    margin-top: 2px;
    color: var(--muted);
}

.loif-hv .hv-parrow {
    font-weight: 900;
    color: var(--muted);
}

/* 最終文（CTAとの余白を詰める） */
.loif-hv .hv-finalLine {
    margin-top: 40px;
    /* 余白小さく */
    margin-bottom: 14px;    
    /* 余白小さく */
    text-align: center;
    font-size: clamp(22px, 2.1vw, 32px);
    font-weight: 900;
    letter-spacing: .02em;
    line-height: 1.35;
    color: var(--ink);
}

/* =========================
   Bottom CTA（余白を詰める）
   ========================= */
.loif-hv .hv-ctaBottom {
    padding: 18px 0 42px;
    /* 上下余白小さく */
}

.loif-hv .hv-ctaBtn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(520px, 100%);
    margin: 0 auto;
    /* 上下詰める */
    padding: 16px 22px;
    border-radius: 999px;
    font-weight: 900;
    letter-spacing: .08em;
    color: #fff;
    background: linear-gradient(90deg, #00B7F0 0%, #0B66C3 45%, #042C6F 100%);
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 10px 22px rgba(0, 0, 0, .10);
    transition: transform .08s ease, filter .2s ease;
}

.loif-hv .hv-ctaBtn:hover {
    filter: brightness(1.03);
}

.loif-hv .hv-ctaBtn:active {
    transform: translateY(1px);
}
/* 「18ホール〜」とCTAボタンの間を狭く */
.loif-hv .hv-finalLine {
    margin-bottom: 6px;
    /* 14px → さらに詰める */
}

.loif-hv .hv-ctaBottom {
    padding-top: 8px;
    /* 18px → さらに詰める */
}

/* 念のため：ボタン自体の上マージンをゼロ固定 */
.loif-hv .hv-ctaBtn {
    margin-top: 0;
}
/* 「18ホールを変えるのは、ほんの1枚の違い。」直下の画像：もっと小さく＆上余白 */
.loif-hv .hv-finalMedia {
    width: 100%;
    margin: 24px auto 0;
    /* ← 上の余白を増やす（ここを調整） */
}

.loif-hv .hv-finalMedia img {
    width: min(24%, 260px);
    /* ← もっと小さく：だいたい1/4、最大260px */
    height: auto;
    display: block;
    margin: 0 auto;
    /* 中央寄せ */
}

/* =========================
   Responsive
   ========================= */
@media (max-width:900px) {
    .loif-hv .hv-top__img {
        height: auto;
    }

    .loif-hv .hv-title--sm {
        font-size: 28px;
        margin-bottom: 34px;
    }

    .loif-hv .hv-catch {
        padding: 40px 0 44px;
    }

    .loif-hv .hv-catchLead--prose {
        font-size: 16px;
    }

    .loif-hv .hv-leadStrong {
        font-size: 17px;
    }

    .loif-hv .hv-section {
        padding: 64px 0;
    }

    .loif-hv .hv-s1Title {
        font-size: 22px;
        margin-bottom: 40px;
    }

    .loif-hv .hv-s1Grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .loif-hv .hv-s1Grid--center {
        max-width: 100%;
    }

    .loif-hv .hv-s1Body {
        justify-self: start;
    }

    /* SPは読みやすさ優先 */
    .loif-hv .hv-s1Media {
        justify-self: start;
        width: 100%;
    }

    .loif-hv .hv-compare__title {
        font-size: 20px;
        margin: 14px 0 18px;
    }

    .loif-hv .hv-compare__text {
        font-size: 17px;
            font-weight: 400;
            line-height: 2.05;
            color: var(--muted);
    }
    .loif-hv .hv-compare__media {
        width: 100%;
    }

    .loif-hv .hv-feature {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 26px 0;
    }

    .loif-hv .hv-feature--titleAboveMedia {
        padding-top: 82px;
        padding-bottom: 34px;
    }

    .loif-hv .hv-feature--titleAboveMedia .hv-feature__title {
        top: 16px;
    }

    .loif-hv .hv-feature__media {
        justify-self: start;
        width: 100%;
        max-width: 720px;
    }

    .loif-hv .hv-feature__media--pair {
        justify-self: start;
        /* SPは自然に左寄せ */
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .loif-hv .hv-smoothTop {
        width: 100%;
    }

    /* SPは幅いっぱい */
    .loif-hv .hv-smoothBottom--same {
        width: 100%;
    }

    .loif-hv .hv-products {
        grid-template-columns: 1fr;
    }

    .loif-hv .hv-pcard {
        grid-template-columns: 112px minmax(0, 1fr) auto;
        gap: 14px;
        padding: 14px;
    }

    .loif-hv .hv-thumb {
        width: 112px;
    }
        /* 放熱の理由：文字ブロックと画像ブロックを縦方向に中央揃え */
        .loif-hv .hv-feature--titleAboveMedia {
            align-items: center;
        }
        
}

@media (max-width:560px) {
    .loif-hv .hv-media2 {
        grid-template-columns: 1fr;
    }
}
/* =========================
   「18ホール〜」直下の画像：中央揃え＆PC/SP出し分け
   ========================= */

/* 文字と画像の“間”を確保（今は詰めすぎなので戻す） */
.loif-hv .hv-finalLine {
    margin-bottom: 14px;
    /* ここで文字→画像の余白を調整 */
}

/* 画像ブロック：中央寄せ */
.loif-hv .hv-finalMedia {
    width: 100%;
    margin: 0 auto 0;
    padding: 8px 0 0;
    /* ほんの少し上に余白 */
    display: flex;
    justify-content: center;
}

.loif-hv .hv-finalMedia__pic {
    display: block;
    width: 100%;
    max-width: 520px;
    /* PCの最大幅 */
}

.loif-hv .hv-finalMedia__pic img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    /* 念のため */
}

/* 文字と画像の間 */
.loif-hv .hv-finalLine {
    margin-bottom: 14px;
}

/* 画像ブロック：中央寄せ（PC/SP共通） */
.loif-hv .hv-finalMedia {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    padding-top: 10px;
}

/* pictureは「幅auto」で中央に乗せる */
.loif-hv .hv-finalMedia__pic {
    display: block;
    width: auto;
    /* ←ここ重要（100%にしない） */
    max-width: 520px;
    /* PC上限 */
}

/* imgはpicture内で100% */
.loif-hv .hv-finalMedia__pic img {
    display: block;
    width: 100%;
    height: auto;
}

/* スマホだけ少し小さめ＆左右余白 */
@media (max-width: 900px) {
    .loif-hv .hv-finalMedia__pic {
        max-width: 360px;
        padding: 0 14px;
        box-sizing: border-box;
    }
}
/* 18ホール直下：文字→画像→CTAの余白＆中央揃え（最終上書き） */
.loif-hv .hv-finalLine {
    margin: 0 0 16px !important;
    /* 文字と画像の間 */
    text-align: center !important;
}

.loif-hv .hv-finalMedia {
    text-align: center !important;
    /* 中身を中央へ */
    margin: 0 0 26px !important;
    /* 画像とCTAの間 */
    padding: 0 !important;
}

/* picture自体を“横幅に合わせた箱”にして中央配置 */
.loif-hv .hv-finalMedia__pic {
    display: inline-block !important;
    width: min(520px, 100%) !important;
    /* PC上限 */
    margin: 0 auto !important;
}

/* imgは箱いっぱいに */
.loif-hv .hv-finalMedia__pic img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

/* スマホは少し小さめ上限 */
@media (max-width: 900px) {
    .loif-hv .hv-finalMedia__pic {
        width: min(360px, 100%) !important;
    }
}
/* =========================
   FIX：なめらかな着心地（hv-featureの右カラム空き問題を解消）
   ========================= */
.loif-hv .hv-feature--smooth {
    grid-template-columns: 1fr !important;
    /* hv-featureの2カラムを無効化 */
}

.loif-hv .hv-feature--smooth .hv-feature__body {
    grid-column: 1 / -1;
    /* 本文を全幅へ */
    width: 100%;
    max-width: 1080px;
    /* 放熱の理由に近い幅感 */
    margin: 0 auto;
}
/* =========================
   なめらかな着心地：文字を「放熱の理由」同様に中央揃え
   ========================= */
.loif-hv .hv-feature--smooth .hv-smoothText {
    text-align: center;
}

.loif-hv .hv-feature--smooth .hv-smoothLead {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.loif-hv .hv-feature--smooth .hv-smoothList {
    display: inline-block;
    /* リスト全体を中央に */
    text-align: left;
    /* 中身は読みやすく左揃え */
    margin: 14px auto 0;
    padding-left: 1.2em;
    /* 箇条書きのインデント */
}

.loif-hv .hv-feature--smooth .hv-smoothList li {
    margin: 8px 0;
}
/* ラインナップ → 18ホールコピー間の余白を大きく */
.loif-hv .hv-finalLine {
    margin-top: 120px !important;
    /* ← ここを大きくする（例：120） */
    margin-bottom: 8px !important;
    /* CTAとの間は小さく維持 */
}