/* ==========================================
        ベース・共通レイアウト
========================================== */
.inner-block.large.l-flex {
    display: flex;
}

body#fs_CustomPage .fs-l-main {
    margin-top: 146px !important;
}

body {
    line-height: 1.75;
}

header img {
    width: 100%;
}

.wrapper h2 {
    color: #e06e1d;
    font-size: 0.8rem;
    font-weight: bold;
    text-align: center;
}

.wrapper h3 {
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.wrapper p {
    font-size: 0.8rem;
}

@media only screen and (max-width: 640px) {
    .breadcrumb {
        margin-top: -63px !important;
    }

    .inner-block {
        padding: 9px 15px 3px;
    }
}

/* PC時の全体余白設定 (768px以上) */
@media screen and (min-width: 768px) {
    .wrapper {
        padding: 0 0;
        max-width: 1200px;
        margin: 0 auto;
    }

    .wrapper h2 {
        font-size: 1.2rem;
    }

    .wrapper h3 {
        font-size: 1.6rem;
        margin-bottom: 25px;
    }

    .wrapper p {
        font-size: 1rem;
    }
}

/* ==========================================
        メインビジュアル & 説明テキスト
========================================== */

.main-txt {
    margin-top: 30px;
    margin-bottom: 50px;
    text-align: center;
    padding: 0 8%;
}

/* ==========================================
        Swiper スライダー共通設定
========================================== */
.swiper.-spot .swiper-wrapper,
.swiper.-brand .swiper-wrapper {
    margin-bottom: 12%;
    align-items: flex-start;
}

.swiper-slide {
    opacity: 1 !important;
    transition: transform 0.4s ease, opacity 0.4s ease !important;
}

.swiper-slide img {
    height: auto;
    width: 100%;
    margin-bottom: 3%;
    transform: scale(0.85);
    transition: transform 0.4s ease;
    transform-origin: center center;
}

.swiper-slide-active {
    opacity: 1 !important;
    z-index: 2;
}

.swiper-slide-active img {
    transform: scale(1.05) !important;
}

.swiper-pagination-bullet-active {
    background-color: #e06e1d;
}

@media screen and (min-width: 768px) {

    .swiper.-spot .swiper-wrapper,
    .swiper.-brand .swiper-wrapper {
        margin-bottom: 7%;
    }

    .swiper-slide img {
        transform: scale(0.65);
    }
}

/* ==========================================
        スポットセクション (.spot) 内の要素
========================================== */

.swiper.-spot {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.swiper-slide.-spot {
    margin-top: 2%;
}

.swiper-slide.-spot .detail {
    padding: 0 10%;
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    display: none;
}

.swiper-slide.-spot.swiper-slide-active .detail {
    display: block;
}

.swiper-slide.-spot img {
    max-width: 260px;
    width: 100%;
    height: auto;
    margin: 0 auto 15px;
    display: block;
}

.schedule {
    margin: 15px 0;
    text-align: center;
}

.schedule p {
    font-size: 0.8rem;
    font-weight: bold;
    margin: 0;
}

.schedule p:first-child {
    margin-bottom: -5px;
}

.schedule p span {
    font-size: 1.3rem;
}

.link-box .c-btn01,
.link-box .c-btn02 {
    width: 100%;
    max-width: 280px;
    text-align: center;
}

.link-box .c-btn01 {
    margin: 0 auto 5% !important;
}

.link-box .c-btn02 {
    margin: 0 auto 0 !important;
    color: #e06e1d;
}

.c-btn02::after {
    transform: rotate(330deg);
}

.link-box .c-btn01.-blind {
    background: #582b0e;
    border: 1px solid #582b0e;
    color: #a0826f;
}

.link-box .c-btn01.-blind::after,
.link-box .c-btn02.-blind::after {
    display: none;
}

.link-box .c-btn02.-blind {
    background: #707070;
    border: 1px solid #666;
    color: #634530;
}

/* スポットセクション (PC表示調整) */
@media screen and (min-width: 768px) {
    .swiper-slide.-spot img {
        max-width: 350px;
    }

    .swiper-slide.-spot .detail {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .swiper-slide.-spot img {
        margin: 0 auto 20px;
    }

    .schedule {
        margin: 15px 0 30px;
    }

    .schedule p {
        font-size: 1rem;
    }

    .schedule p span {
        font-size: 2rem;
    }

    .link-box .c-btn01,
    .link-box .c-btn02 {
        max-width: 380px;
    }
}

/* ==========================================
        おすすめアイテムセクション (.rec-item)
========================================== */
section.rec-item {
    margin-bottom: 12%;
}

.rec-item_wrap {
    margin-bottom: 12%;
    width: 100%;
    overflow: hidden;
}

.swiper.-brand {
    width: 100%;
    overflow: visible !important;
    position: relative;
    padding: 15px 0;
}

.swiper-slide.-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    box-sizing: border-box;
}

.rec-item_wrap .text-box {
    text-align: center;
    margin-bottom: 5%;
}

.rec-item_wrap .text-box p {
    font-size: 0.9rem;
    font-weight: bold;
    color: #e06e1d;
}

.swiper-slide.-brand img {
    max-width: 130px;
    width: 100%;
    /* height: auto; */
    margin: 0 auto 5px;
    display: block;
    transform: scale(0.75);
    transition: transform 0.4s ease;
}

.swiper-slide.-brand.swiper-slide-active img {
    transform: scale(1.15) !important;
}

.rec-item_wrap .flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 5px 0;
    width: 100%;
    transition: transform 0.4s ease;
}

.swiper-slide.-brand.swiper-slide-active .flex {
    transform: scale(1.1);
}

.rec-item_wrap .flex .detail h4 {
    font-size: 0.8rem;
    font-weight: bold;
    margin: 0;
    white-space: nowrap;
}

.rec-item_wrap .flex .detail p {
    font-size: 0.7rem;
    color: #777;
    text-align: center;
    font-weight: normal;
    margin-top: 2px;
    white-space: nowrap;
}

.swiper-slide.-brand .flex {
    padding: 0 10%;
    width: 100vw;
    margin: 0 calc(50% - 50vw);
    display: none;
}

.swiper-slide.-brand.swiper-slide-active .flex {
    display: block;
}

.swiper-slide.-brand a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.rec-item_wrap .flex .detail {
    display: block !important;
    text-align: center;
    width: 100%;
}

.rec-item_wrap .flex .detail h4 {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
}

.rec-item_wrap .flex .detail h4::after {
    content: "";
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 5px;
    background-image: url("https://jamtrading.itembox.cloud/item/jam/img/special/2026/kanshasai2026_arrival/orange_arrow.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.rec-item_wrap .flex .detail p {
    display: block !important;
    font-size: 0.7rem;
    color: #777;
    text-align: center;
    font-weight: normal;
    margin-top: 2px;
    margin-bottom: 0;
    white-space: nowrap;
}

/* PC時：ブランドスライダー無効化・4列グリッド表示 */
@media screen and (min-width: 768px) {

    section.rec-item {
        margin-bottom: 7%;
    }

    .rec-item_wrap {
        margin-bottom: 7%;
    }

    .rec-item_wrap .text-box {
        margin-bottom: 3%;
    }

    .rec-item_wrap .flex .detail p {
        font-size: 0.85rem;
    }

    .rec-item_wrap .flex .detail h4 {
        font-size: 1rem;
    }

    .rec-item_wrap .flex .detail h4::after {
        width: 16px;
        height: 16px;
        margin-left: 6px;
    }

    .rec-item_wrap .flex .detail p {
        font-size: 0.9rem;
    }

    .swiper.-brand .swiper-wrapper {
        display: flex !important;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        transform: none !important;
        margin-bottom: 30px;
    }

    .swiper.-brand .swiper-slide {
        width: calc(25% - 15px) !important;
        opacity: 1 !important;
        transform: none !important;
        margin: 0 !important;
    }

    .swiper-slide.-brand .flex {
        width: 100%;
        margin: 0;
        display: block;
    }

    .swiper.-brand .swiper-slide img {
        transform: none !important;
        max-width: 100%;
    }

    .swiper.-brand .flex {
        transform: none !important;
    }

    .swiper.-brand .swiper-button-prev,
    .swiper.-brand .swiper-button-next {
        display: none !important;
    }
}

/* ==========================================
        スタイリング
========================================== */

/* 初期化される前（読み込み一瞬）は非表示にして崩れを隠す */
section.styling .slider:not(.slick-initialized) {
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
}

/* 初期化完了後（.slick-initializedが付与されたら）滑らかに表示 */
section.styling .slider.slick-initialized {
    opacity: 1;
    visibility: visible;
    height: auto;
    transition: opacity 0.3s ease;
}

section.styling {
    margin-bottom: 12%;
}

section.styling h2 {
    font-size: 1rem;
    font-weight: bold;
    text-align: left;
    padding-bottom: 5px;
    color: #333;
}

section.styling .styling-tlt {
    padding: 0 5%;
    margin-bottom: 20px;
}

.c-title01::before,
.c-title01::after {
    display: none;
}

section.styling .slider {
    width: 100%;
    margin: 0 auto;
}

section.styling .slider-img {
    padding: 0 4px !important;
    box-sizing: border-box;
}

section.styling .slider-img img {
    width: 100% !important;
    max-width: 160px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

.slick-slide+.slick-slide {
    margin-left: 0 !important;
}

@media screen and (min-width: 768px) {

    section.styling .slider-img {
        padding: 0 15px !important;
        max-width: 100%;
    }

    section.styling .slider-img img {
        max-width: 300px;
    }

}

/* ==========================================
        開催イベント
        ========================================== */

section.event {
    padding: 0 5%;
    margin-bottom: 12%;
}

section.event h2 {
    font-size: 1rem;
    font-weight: bold;
    text-align: left;
    padding-bottom: 5px;
    color: #333;
}

.event-img_wrap {
    position: relative;
}

.event-btn {
    position: absolute;
    bottom: 10%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 280px;
    text-align: center;
    background-color: #fff;
    color: #e06e1d;
    font-size: 1rem;
    font-weight: bold;
    padding: 15px;
    border-radius: 100px;
}

@media only screen and (min-width: 768px) {
    section.event {
        padding: 0 0 !important;
        margin-bottom: 7%;
    }

    section.event h2 {
        font-size: 2.2rem;
    }

    .event-btn {
        bottom: 3%;
    }
}

/* ==========================================
        関連イベント & トピックス
========================================== */
section.special {
    padding: 0 5%;
    margin-bottom: 10%;
}

section.special .swiper-slide-active img {
    transform: scale(1) !important;
}

section.special .swiper-slide img {
    transform: scale(1) !important;
}

@media screen and (min-width: 768px) {

    .section.special {
        padding: 0 0 !important;
    }

    section.special .swiper-wrapper,
    section.special .slick-track {
        display: flex !important;
        justify-content: space-between;
        transform: none !important;
    }

    section.special .swiper-slide,
    section.special .slick-slide {
        opacity: 1 !important;
        transform: none !important;
        width: 32% !important;
        margin: 0 !important;
    }

    section.special img {
        opacity: 1 !important;
        transform: none !important;
        width: 100% !important;
        height: auto;
    }

    section.special .swiper-slide img {
        transform: scale(1);
    }

}

/* ==========================================
        Swiper 矢印ボタンカスタム (位置調整)
        ========================================== */
.swiper-button-next::after,
.swiper-button-prev::after {
    display: none !important;
}

.swiper-button-next,
.swiper-button-prev {
    width: 28px;
    height: 28px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: -20px;
    z-index: 10;
}

.swiper-button-prev {
    background-image: url("https://jamtrading.itembox.cloud/item/jam/img/special/2026/kanshasai2026_arrival/slick_arrow.svg");
    transform: rotate(180deg);
}

.swiper-button-next {
    background-image: url("https://jamtrading.itembox.cloud/item/jam/img/special/2026/kanshasai2026_arrival/slick_arrow.svg");
    transform: none;
}

.swiper.-spot .swiper-button-next,
.swiper.-spot .swiper-button-prev {
    top: 36%;
}

.swiper.-spot .swiper-button-prev {
    left: 15%;
}

.swiper.-spot .swiper-button-next {
    right: 15%;
}

.swiper.-brand .swiper-button-next,
.swiper.-brand .swiper-button-prev {
    top: 35%;
    width: 25px;
    height: 25px;
}

.swiper.-brand .swiper-button-prev {
    left: 25%;
}

.swiper.-brand .swiper-button-next {
    right: 25%;
}

.swiper-button-disabled {
    opacity: 0.3 !important;
    cursor: default;
}

@media screen and (min-width: 768px) {

    .swiper-button-next,
    .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .swiper.-spot .swiper-button-next,
    .swiper.-spot .swiper-button-prev {
        top: 36%;
    }

    .swiper.-spot .swiper-button-prev {
        left: 30%;
    }

    .swiper.-spot .swiper-button-next {
        right: 30%;
    }
}