/* LOIF Grip Socks LP : CSS */
.loif-lp {
    --ink: #1c1c1c;
    --muted: #444;
    --bg: #ffffff;
    --alt: #f6f6f6;
    --line: #e8e8e8;

    /* 黄緑ライン */
    --accent: #dae000;
    --hl: #dae000;

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

    width: 100%;
    max-width: none;
    overflow-x: hidden;
}

.loif-lp img {
    max-width: 100%;
    height: auto;
    display: block;
}

.loif-lp a {
    text-decoration: none;
}

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

.loif-lp .loif-sec {
    padding: 40px 0;
}

.loif-lp .loif-sec--alt {
    background: var(--alt);
}

/* TOP Banner */
.loif-lp .loif-topbanner {
    width: 100%;
}

.loif-lp .loif-topbanner picture,
.loif-lp .loif-topbanner__pic {
    display: block;
    width: 100%;
}

.loif-lp .loif-topbanner__img {
    width: 100%;
    height: calc(100vh - 0px);
    max-height: 720px;
    min-height: 420px;
    object-fit: cover;
}

/* Hero */
.loif-lp .loif-hero {
    padding: 54px 18px 28px;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.loif-lp .loif-hero__inner {
    width: min(760px, 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

/* ロゴ */
.loif-lp .loif-eyebrow--logo {
    margin: 0 0 10px;
}

.loif-lp .loif-eyebrow__img {
    display: block;
    height: 72px;
    width: auto;
    max-width: 100%;
    margin: 0 auto;
}

/* CTA */
.loif-lp .loif-ctaRow {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.loif-lp .loif-ctaRow--center {
    justify-content: center;
}

.loif-lp .loif-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-weight: 700;
    font-size: 14px;
}

.loif-lp .loif-btn--primary {
    background: var(--accent);
    color: #111;
    border-color: var(--accent);
}

/* Headings */
.loif-lp .loif-h2 {
    font-size: 28px;
    letter-spacing: .04em;
    margin: 0 0 40px;
    font-weight: 900;
}

.loif-lp .loif-h3 {
    font-size: 18px;
    margin: 14px 0 6px;
    font-weight: 900;
}

.loif-lp .loif-lead2 {
    color: var(--muted);
    line-height: 1.9;
    margin: 0 0 22px;
}

.loif-lp .loif-note {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
    margin-top: 14px;
}

.loif-lp .loif-note--big {
    font-size: 18px;
    line-height: 2;
    font-weight: 700;
    margin-top: 22px;
}

/* =========================
   Problem：吹き出し（太枠カード）
========================= */
.loif-lp .loif-problemBalloons {
    margin: 10px 0 38px;
    list-style: none;
    padding: 0;
}

.loif-lp .loif-balloon {
    position: relative;
    background: #fff;
    text-align: center;
    border: 2px solid #cfcfcf;
    border-radius: 18px;
    padding: 20px 22px;
    box-shadow: none;
}

.loif-lp .loif-balloon::before,
.loif-lp .loif-balloon::after {
    content: none !important;
}

.loif-lp .loif-balloon h3 {
    margin: 0 0 10px;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: .02em;
}

.loif-lp .loif-balloon p {
    margin: 0;
    font-size: 16px;
    color: var(--muted);
    line-height: 1.9;
}

/* Problem見出し（黄緑ハイライト：スクロールで開始） */
.loif-lp .loif-h2--hlCenter {
    text-align: center;
    font-weight: 900;
    letter-spacing: .02em;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 10px;
    margin-bottom: 26px;
}

.loif-lp .loif-h2--hlCenter::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 10px;
    width: 100%;
    background: var(--hl);
    opacity: .95;
    border-radius: 999px;
    transform-origin: left center;
    transform: scaleX(0);
    animation: none;
}

.loif-lp .loif-h2--hlCenter.is-in::after {
    animation: loif-highlightSweep 1.1s ease-out forwards;
}

@keyframes loif-highlightSweep {
    0% {
        transform: scaleX(0);
    }

    100% {
        transform: scaleX(1);
    }
}

/* Split */
.loif-lp .loif-split {
    margin-top: 22px;
    display: grid;
    grid-template-columns: 1fr minmax(260px, 420px);
    gap: 22px;
    align-items: center;
}

.loif-lp .loif-split__media {
    display: flex;
    justify-content: flex-end;
}

.loif-lp .loif-split__media img {
    width: 100%;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: #fff;
}

/* =========================
   Proof
========================= */
.loif-lp .loif-proofTitle {
    text-align: center;
    margin: 0 0 26px;
    letter-spacing: .02em;
}

.loif-lp .loif-proofTitle__small {
    display: block;
    font-weight: 900;
    font-size: 22px;
    line-height: 1.2;
}

.loif-lp .loif-proofTitle__big {
    display: block;
    font-weight: 900;
    font-size: 34px;
    line-height: 1.2;
    margin-top: 6px;
}

.loif-lp .loif-stat {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 18px;
}

.loif-lp .loif-stat--wideLabel {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 14px;
    align-items: center;
}

.loif-lp .loif-stat__label {
    margin: 0;
    color: var(--ink);
    font-weight: 900;
    font-size: 18px;
    line-height: 1.5;
    letter-spacing: .02em;
}

.loif-lp .loif-stat__value {
    margin: 0;
    font-size: 34px;
    font-weight: 900;
    white-space: nowrap;
}

.loif-lp .loif-stat__value span {
    font-size: 52px;
}

/* 体感画像：横長1枚＋キャッチコピー（画像の上） */
.loif-lp .loif-proofHero {
    margin-top: 22px;
}

.loif-lp .loif-proofHero__catch {
    margin: 0 0 12px;
    text-align: center;
    font-weight: 900;
    font-size: 22px;
    letter-spacing: .04em;
    color: var(--ink);
}

.loif-lp .loif-proofHero__media {
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #fff;
}

.loif-lp .loif-proofHero__media img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/7;
    object-fit: cover;
}

.loif-lp .loif-proofHero__note {
    margin: 10px 0 0;
    text-align: center;
    font-size: 12px;
    color: #8a8a8a;
    line-height: 1.6;
}

/* =========================
   MATERIAL：1ブロック（PC：左画像 / 右文字）
========================= */
.loif-lp .loif-lead2--material {
    text-align: center;
    font-size: 18px;
    font-weight: 800;
    color: #000;
    margin: 0 0 10px;
}

.loif-lp .loif-matCatch {
    text-align: center;
    font-size: 36px;
    font-weight: 900;
    letter-spacing: .06em;
    margin: 0 0 26px;
    color: #000;
}

.loif-lp .loif-matSplit {
    display: grid;
    grid-template-columns: minmax(320px, 520px) 1fr;
    gap: 22px;
    align-items: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px;
}

.loif-lp .loif-matSplit__media img {
    width: 100%;
    border-radius: 14px;
    border: 1px solid var(--line);
    background: #fff;
    object-fit: cover;
}

.loif-lp .loif-matTitle {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 900;
    line-height: 1.5;
    color: #000;
}

.loif-lp .loif-matDesc {
    margin: 0;
    font-size: 14px;
    line-height: 2.0;
    color: #000;
}

/* =========================
   TYPE：アイコン4つを画像（正方形）に
========================= */
.loif-lp .loif-iconGrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.loif-lp .loif-iconCard {
    margin: 0;
    text-align: center;
}

.loif-lp .loif-iconCard img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: #fff;
    display: block;
}

.loif-lp .loif-iconCard figcaption {
    margin-top: 10px;
    font-size: 14px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: .02em;
}

/* =========================
   DURABILITY（耐久性能）
========================= */
.loif-lp .loif-sec--durability {
    padding: 70px 0;
}

.loif-lp .loif-duraCatch {
    text-align: center;
    font-weight: 900;
    letter-spacing: .06em;
    margin: 0 0 20px;
    font-size: 34px;
    color: #000;
}

.loif-lp .loif-duraCatch__num {
    font-size: 64px;
    line-height: 1;
    margin: 0 6px;
    display: inline-block;
}

.loif-lp .loif-duraCatch__noteMark {
    font-size: 12px;
    vertical-align: super;
    margin-left: 2px;
}

.loif-lp .loif-duraLead {
    max-width: 860px;
    margin: 0 auto 12px;
    text-align: center;
    font-size: 16px;
    line-height: 2.0;
    color: #000;
}

.loif-lp .loif-duraNote {
    max-width: 860px;
    margin: 0 auto 34px;
    text-align: center;
    font-size: 12px;
    line-height: 1.8;
    color: #7d7d7d;
}

.loif-lp .loif-duraGrid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 26px;
    align-items: start;
}

.loif-lp .loif-duraItem {
    margin: 0;
    text-align: center;
}

.loif-lp .loif-duraCircle {
    width: min(220px, 100%);
    aspect-ratio: 1/1;
    border-radius: 999px;
    overflow: hidden;
    margin: 0 auto 16px;
    border: 1px solid var(--line);
    background: #fff;
}

.loif-lp .loif-duraCircle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.loif-lp .loif-duraLabel {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    color: #000;
    margin: 0 0 12px;
}

.loif-lp .loif-duraValue {
    font-size: 34px;
    font-weight: 900;
    margin: 0;
    color: #000;
    letter-spacing: .02em;
}

.loif-lp .loif-duraItem--strong .loif-duraLabel {
    font-size: 16px;
}

/* Grid */
.loif-lp .loif-grid {
    display: grid;
    gap: 14px;
}

.loif-lp .loif-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.loif-lp .loif-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* =========================
   FUNCTION（画像ギャラリー）
========================= */
.loif-lp .loif-funcGallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.loif-lp .loif-funcShot {
    margin: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
}

.loif-lp .loif-funcShot img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.loif-lp .loif-funcShot figcaption {
    padding: 10px 12px;
    font-size: 12px;
    color: var(--muted);
}

/* =========================
   TYPE（添付画像風 テキスト部分）
========================= */
.loif-lp .loif-typeHead {
    margin: 0 0 14px;
    text-align: center;
    font-weight: 900;
    font-size: 32px;
    letter-spacing: .02em;
}

.loif-lp .loif-typeDesc {
    max-width: 880px;
    margin: 0 auto 26px;
    color: var(--ink);
    line-height: 2.0;
    font-size: 16px;
}

.loif-lp .loif-typeDesc p {
    margin: 0;
}

.loif-lp .loif-typeNote {
    margin: 12px 0 0;
    font-size: 14px;
    color: var(--ink);
    opacity: .8;
}

/* =========================
   MOVIE（黒背景・黄緑大文字）
========================= */
.loif-lp .loif-movie {
    background: #000;
    padding: 54px 0;
}

.loif-lp .loif-movie__ttl {
    margin: 0 0 18px;
    text-align: center;
    font-weight: 900;
    font-size: 44px;
    letter-spacing: .08em;
    color: var(--accent);
    /* 指示：#dae000 */
}

.loif-lp .loif-movie__frame {
    width: min(980px, 100%);
    margin: 0 auto;
    border-radius: 18px;
    overflow: hidden;
}

.loif-lp .loif-movie__frame iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
}

/* =========================
   LINE-UP（商品カード）
========================= */
.loif-lp .loif-scroll {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(240px, 1fr);
    gap: 14px;
    overflow: auto;
    padding-bottom: 6px;
    scroll-snap-type: x mandatory;
}

.loif-lp .loif-product {
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 16px;
}

.loif-lp .loif-product img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
}

.loif-lp .loif-product h3 {
    margin: 12px 0 10px;
    font-size: 15px;
    font-weight: 900;
}

.loif-lp .loif-product ul {
    margin: 0 0 12px;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.8;
    font-size: 13px;
}

/* FAQ */
.loif-lp .loif-faq {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 14px 16px;
    margin-top: 10px;
}

.loif-lp .loif-faq summary {
    cursor: pointer;
    font-weight: 800;
}

.loif-lp .loif-faq p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.9;
}
/* =========================
   Futureshop干渉対策：左右余白を消してフルブリード
========================= */

/* LP全体を「画面幅(100vw)」にして、親コンテナの左右paddingを無効化 */
.loif-lp {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* 念のため、LP直下のセクションも横はみ出しOKに */
.loif-lp>section,
.loif-lp>header {
    width: 100%;
}

/* TOP画像は確実に端まで */
.loif-lp .loif-topbanner {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* グレーが「背景色」由来なら、TOP周辺の背景も指定（必要なら色は変更） */
.loif-lp .loif-topbanner,
.loif-lp .loif-topbanner__img {
    background: #000;
    /* 画像が読み込み中/余白の見え方対策 */
}

/* それでも横スクロールが出る場合の保険（親が原因でも抑える） */
html,
body {
    overflow-x: hidden;
}

/* Responsive */
@media (max-width:980px) {
    .loif-lp .loif-iconGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .loif-lp .loif-duraGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px;
    }
}

@media (max-width:900px) {
    .loif-lp .loif-topbanner__img {
        height: 60vh;
        max-height: none;
        min-height: 320px;
    }

    .loif-lp .loif-h2 {
        font-size: 24px;
        margin-bottom: 28px;
    }

    .loif-lp .loif-grid--2 {
        grid-template-columns: 1fr;
    }

    .loif-lp .loif-split {
        grid-template-columns: 1fr;
    }

    .loif-lp .loif-split__media {
        justify-content: center;
    }

    .loif-lp .loif-split__media img {
        max-width: 520px;
    }

    .loif-lp .loif-hero {
        min-height: 56vh;
        padding: 40px 16px 34px;
    }

    .loif-lp .loif-stat--wideLabel {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }

    .loif-lp .loif-stat__label {
        font-size: 16px;
    }

    .loif-lp .loif-stat__value span {
        font-size: 48px;
    }
    .loif-lp .loif-proofTitle__big {
     font-size: 28px;
     letter-spacing: .01em;
    }

    /* MATERIAL 縦積み */
    .loif-lp .loif-lead2--material {
        font-size: 16px;
    }

    .loif-lp .loif-matCatch {
        font-size: 28px;
        margin-bottom: 18px;
    }

    .loif-lp .loif-matSplit {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .loif-lp .loif-matTitle {
        font-size: 18px;
    }

    .loif-lp .loif-matDesc {
        font-size: 13px;
        line-height: 1.9;
    }

    /* FUNCTION：スマホは縦 */
    .loif-lp .loif-funcGallery {
        grid-template-columns: 1fr;
    }

    .loif-lp .loif-typeHead {
        font-size: 26px;
    }

    .loif-lp .loif-typeDesc {
        font-size: 15px;
    }

    .loif-lp .loif-movie__ttl {
        font-size: 34px;
    }

    .loif-lp .loif-proofHero__catch {
        font-size: 18px;
    }

    .loif-lp .loif-proofHero__media img {
        aspect-ratio: 16/9;
    }

    .loif-lp .loif-proofHero__note {
        font-size: 11px;
    }

    .loif-lp .loif-balloon {
        padding: 18px 18px;
    }

    .loif-lp .loif-balloon h3 {
        font-size: 18px;
    }

    .loif-lp .loif-balloon p {
        font-size: 15px;
    }

    .loif-lp .loif-sec--durability {
        padding: 56px 0;
    }

    .loif-lp .loif-duraCatch {
        font-size: 26px;
    }

    .loif-lp .loif-duraCatch__num {
        font-size: 52px;
    }

    .loif-lp .loif-duraLead {
        font-size: 14px;
    }

    .loif-lp .loif-duraValue {
        font-size: 30px;
    }
    .loif-lp .loif-grid--3 {
    grid-template-columns: 1fr;
    }
         /* 体感画像（横長1枚）を切らずに表示 */
         .loif-lp .loif-proofHero__media img {
             aspect-ratio: auto;
             object-fit: contain;
             width: 100%;
             height: auto;
         }
    
         /* FUNCTION画像3枚も切らずに表示 */
         .loif-lp .loif-funcShot img {
             aspect-ratio: auto;
             object-fit: contain;
             width: 100%;
             height: auto;
         }
}
/* =========================
   FUNCTION：PCで画像が切れる対策
========================= */
@media (min-width: 901px) {
    .loif-lp .loif-funcShot img {
        aspect-ratio: auto;
        width: 100%;
        height: auto;
        object-fit: contain;
        display: block;
        background: #f7f7f7;
        /* 余白が出た時の背景 */
    }
}
