/* =========================
   自社リセット
========================= */

aside#side {
    display: none;
}

main.fs-l-main {
    all: unset;
}

section.fs-l-pageMain {
    all: unset;
}




.section-container {
    padding: 64px auto;
}


.head-en {
    font-size: 16px;
    color: #fff;
}

.head-jp {
    font-size: 32px;
    font-weight: bold;
    color: #fff;
}

.features-head {
    padding: 64px 0;
}

/* PCでは改行しない */
.u-br-sp {
    display: none;
}

/* SPでだけ改行する */
@media (max-width: 768px) {
    .u-br-sp {
        display: inline;
    }

    .head-jp {
        font-size: 24px;
    }
}


/* =========================
   HERO
========================= */

.hero {
    background-color: #FBDDE3;
    position: relative;
}

/* FVキャンバス */
.hreo-mainVisual {
    position: relative;
    height: 100vh;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* 背景（先に表示） */
.hreo-mainVisual .hero-bg {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    object-fit: contain;

    transform: scale(0.96);
    z-index: 5;

    max-width: 88%;
    max-height: 88%;
    margin: auto;

    opacity: 0;
    animation: heroBgFade 900ms ease-out forwards;
}

/* ちりばめ画像（前景：遅らせて順番に表示） */
.hreo-mainVisual .hero-item {
    position: absolute;
    z-index: 1;

    opacity: 0;
    transform: translateY(16px) scale(0.96);
    will-change: opacity, transform;


    animation-name: heroFgIn;
    animation-duration: 1s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
    /* delayはここで触らない（item側で付ける） */
}

/* 他の散りばめ画像や要素は hero-bg より低く */
.hero .scatter-img,
.hero .hero-deco,
.hero .hero-other-img {
    position: absolute;
    /* or relative */
    z-index: 10;
}

/* 例：配置 */
.item-1 {
    top: 12%;
    left: 6%;
    width: 18%;
    animation-delay: 0.7s;
    /* 背景(900ms)の後 */
}

.item-2 {
    top: 2%;
    right: 8%;
    width: 12%;
    animation-delay: 1s;
}

.item-3 {
    bottom: 18%;
    left: 17%;
    width: 10%;
    animation-delay: 1.2s;
}

.item-4 {
    top: 44%;
    right: 12%;
    width: 14%;
    animation-delay: 1.2s;
}

.item-5 {
    top: 70%;
    right: 6%;
    width: 9%;
    animation-delay: 1.4s;
}


@keyframes heroBgFade {
    to {
        opacity: 1;
    }
}

@keyframes heroFgIn {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* コピー */
.hero-copy {
    height: 60vh;
    display: flex;
    align-items: center;
    /* 縦中央 */
    justify-content: center;
    /* 横中央 */
    position: relative;
    z-index: 2;
    text-align: center;

}


.hero-copy-text {
    font-size: 24px;
    line-height: 2;
}



/* =========================
   HERO / SP
========================= */
@media (max-width: 1200px) {
    .hero {
        position: relative;
        overflow: hidden;
    }

    .hero::before,
    .hero::after {
        content: "";
        position: absolute;
        inset: -10%;
        pointer-events: none;
        background-repeat: no-repeat;
        opacity: 0.25;
        /* SPは薄め推奨 */
    }



    .hreo-mainVisual .hero-bg {
        width: 50%;
    }


    .item-1 {
        top: 10%;
        left: 4%;
        width: 10%;
    }

    .item-2 {
        top: 2%;
        right: 8%;
        width: 13%;
    }

    .item-3 {
        bottom: 8%;
        left: 6%;
        width: 16%;
    }

    .item-4 {
        right: 1%;
        top: 30%;
    }

    .item-5 {
        top: 70%;
        right: -1%;
        width: 22%;

    }

}

@media (max-width: 768px) {
    .hero-copy-text {
        font-size: clamp(16px, calc(8px + 2.5vw), 24px);
    }

    .hreo-mainVisual .hero-bg {
        width: 50%;
    }

    .item-1 {
        top: 3%;
        left: 10%;
        width: 20%;
    }

    .item-2 {
        top: -8%;
        right: 8%;
        width: 25%;
    }

    .item-3 {
        bottom: 11%;
        left: 2%;
        width: 19%;
    }

    .item-4 {
        right: -3%;
        width: 15%;
    }

    .item-5 {
        top: 76%;
        right: -1%;
        width: 22%;

    }


}

@media (max-width: 580px) {

    .hreo-mainVisual .hero-bg {
        width: 70%;
    }
}

/* =========================
   FEATURES
========================= */

.features {
    background-color: #BABABA;
    color: #FFF;
}

.features-head {
    text-align: center;
}

.features-contens {
    padding: 64px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: 120px 1fr;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.feat__label {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: #FFF;
}

.contens-inner {
    max-width: 1080px;
    padding: 0 24px;
}

.features-contens-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.features-contens-text h4 {
    font-size: 24px;
    margin-bottom: 16px;
    font-weight: bold;
    color: #fff;
}

.features-contens-text p {
    line-height: 1.8;
    color: #FFF;
}

.hero-copy-text,
.features-contens,
.socks__head {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease, transform 800ms ease;
    will-change: opacity, transform;
}

.hero-copy-text.is-inview,
.features-contens.is-inview,
.socks__head.is-inview {
    opacity: 1;
    transform: translateY(0);
}

/* アニメーション苦手な人向け（OS設定に追従） */
@media (prefers-reduced-motion: reduce) {

    .features-contens,
    .socks__head {
        transition: none;
        transform: none;
        opacity: 1;
    }
}


/* =========================
   FEATURES / SP
========================= */
@media (max-width: 960px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .feat__label {
        writing-mode: horizontal-tb;
        padding-left: 24px;
    }

    .features-contens-body {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* =========================
   SOCKS
========================= */

.socks {
    background-color: #fef7f8;
    padding: 120px 0;
}

section.socks.kasanebaki {
    padding: 480px 0 0;
}


.socks__head {
    position: relative;
    min-height: 540px;
    overflow: hidden;

    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.socks__head::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background-size: cover;
    background-position: center;

    z-index: 0;
}

.head__kasanebaki::before {
    background-image: url("https://shopping.c.yimg.jp/lib/fdsdaigo/kasanebaki.jpg");
}

.head__nijuami::before {
    background-image: url("https://shopping.c.yimg.jp/lib/fdsdaigo/nijuami.jpg");
}

.head__shirukukon::before {
    background-image: url("https://shopping.c.yimg.jp/lib/fdsdaigo/shirukukon.jpg");
}

.head__legwarmer::before {
    background-image: url("https://shopping.c.yimg.jp/lib/fdsdaigo/legwarmer.jpg");
}

.head__gohonyubi::before {
    background-image: url("https://shopping.c.yimg.jp/lib/fdsdaigo/gohonyubi.jpg");
}



.socks__head-inner {
    position: relative;
    z-index: 1;

    max-width: 1080px;
    padding: 0 24px 64px;
}

.socks__title {
    font-size: 32px;
    margin-bottom: 16px;
}

.socks__lead {
    line-height: 1.8;
    max-width: 720px;
    font-weight: bold;
}

/* =========================
   PRODUCT CARD
========================= */

.product-card {
    max-width: 1080px;
    margin: 32px auto;
    padding: 64px;
    /* background-color: antiquewhite; */
}

.product-card__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.product-card__catch {
    font-size: 14px;
    margin-bottom: 8px;
    color: #666;
}

.product-card__name {
    font-size: 20px;
    margin-bottom: 16px;
}

.product-card__colors {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    list-style: none;
    padding: 0;
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--dot);
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.product-card__desc {
    line-height: 1.8;
    margin-bottom: 24px;
}


.teiban {
    background-color: #F9DADF;
}

.gokudan {
    background-color: #4D4948;
}

.gokudan-catch {
    color: #FFF !important;
}

.gokudan-text {
    color: #FFF !important;
}


.ss {
    background-color: #E3F2F9;
}

.ss-catch,
.ss-text {
    color: #333 !important;
}

.aw {
    background-color: #B3A49D;
}

.aw-catch,
.aw-text {
    color: #FFF !important;
}

.oyasumi {
    background-color: #E5E1F0;
}


.product-card__media img {
    width: 100%;
}

/* =========================
   PRODUCT CARD / SP
========================= */
@media (max-width: 960px) {
    .product-card__grid {
        gap: 24px;
    }

    .socks__head {
        min-height: 240px;
    }

    .socks__title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    section.socks.kasanebaki {
        padding: 128px 0 0;
    }

    .product-card__grid {
        grid-template-columns: 1fr;
        gap: 24px;
        background-color: #FBDDE3;
        padding: 16px;
    }

    .product-card {
        background-color: unset;
        padding: 16px 16px 0;
        margin: 0 auto;
    }

    .socks__head-inner {
        padding: 64px 24px;
    }

}


/* =========================
   LP CTA
========================= */

.lp-cta {
    margin: 120px auto 0;
    padding: 0 24px;
    max-width: 1080px;
}

.lp-cta__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background-color: #fff;
    width: 100%;
    padding: 32px 0;

    border: 1px solid #333;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    letter-spacing: 0.05em;

    transition: background-color 0.3s ease, color 0.3s ease;
}

.lp-cta__arrow {
    transition: transform 0.3s ease;
}

.lp-cta__btn:hover {
    background-color: #FBDDE3;
    color: #2b2b2b;
}

.lp-cta__btn:hover .lp-cta__arrow {
    transform: translateX(6px);
}



@media (max-width: 768px) {
    .lp-cta {
        margin: 32px auto 0;
    }

    .lp-cta__btn {
        padding: 16px
    }

}



@media (max-width: 768px) {
    .gokudan>.product-card__grid {
        background-color: #4D4948;
    }

    .aw>.product-card__grid {
        background-color: #B3A49D;
    }

    .ss>.product-card__grid {
        background-color: #E3F2F9;
    }

    .oyasumi>.product-card__grid {
        background-color: #E5E1F0;
    }

}

.header_nav {

    z-index: 9;
}

section {
    margin: 0;
}

.product-card__btn {
    font-weight: bold;
}

.lp-cta__btn span {
    margin-left: 8px;
}

.product-card__media:hover {
    opacity: .8;
}


/* =========================
   ページ内ジャンプ用：グリッド（5個 / SPは2,2,1で最後全幅）
   ※ホバー色/挙動は「既存ボタンのクラス」をaタグ側に付けて継承させる想定
   ========================= */
.jumpGrid {
    display: grid;
    gap: 16px;
    /* 各カードの間 */
}

@media (min-width: 769px) {
    .jumpGrid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .jumpGrid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .jumpGrid>li:last-child {
        grid-column: 1 / -1;
        /* 最後だけ全幅 */
    }
}

.cards {
    display: grid;
    gap: 16px;
}

@media (min-width: 959px) {
    .cards {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 958px) {
    .cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .cards> :last-child {
        grid-column: 1 / -1;
    }
}

/* リストの見た目調整（必要なら） */
.cards {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* 長方形ボタン本体 */
.card-btn {
    display: grid;
    place-items: center;
    /* 文字を上下左右中央 */
    min-height: 56px;
    /* 長方形感（好みで 48〜72px） */
    padding: 12px 10px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    line-height: 1.2;
    gap: 10px;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    letter-spacing: 0.05em;
    transition: background-color 0.3s ease, color 0.3s ease;
    border-radius: 35px;
}



.card-btn:hover {
    transform: translateY(1px);
    background: #fafafa;
    background-color: #FBDDE3;
    color: #2b2b2b;
}

.card-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

/* キーボード操作時のフォーカス */
.card-btn:focus-visible {
    outline: 2px solid #535353;
    outline-offset: 3px;
}

.category-container {
    display: grid;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
}

.category-inner {
    margin: 0 64px 64px;
}


@media (max-width: 960px) {
    .category-inner {
        margin: 0 24px 64px;
    }

}