@charset "UTF-8";

/* ==========================================================================
   基本設定
   ========================================================================== */
.keicho-gift {
    width: 100%;
    font-family: "Yu Gothic M", "游ゴシック体", "YuGothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    -webkit-font-smoothing: antialiased;
    font-weight: 500;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    box-sizing: border-box;
    overflow-x: hidden;
}

.keicho-gift img {
    display: block;
    max-width: 100%;
    height: auto;
}

.keicho-gift a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.keicho-gift a:hover {
    opacity: 0.7;
}

.keicho-gift ul,
.keicho-gift li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.section-title {
    margin: 0 auto 15px;
    padding: 0;
    text-align: left;
    font-size: 14px;
    line-height: 1.4;
}

.feature-section .section-title {
    padding: 0 20px;
}

.section-title h2 {
    margin: 0 auto 5px;
    text-align: center;
    font-size: 25px;
    font-weight: bold;
}

.section-title h2 span {
    display: block;
    font-size: 14px;
}

.section-title p {
    margin: 0;
    text-align: left;
    font-size: 14px;
}

.keicho-gift .inner {
    padding: 30px 20px;
}

.pc {
    display: none !important;
}

.sp {
    display: block !important;
}

/* ==========================================================================
   各セクション設定
   ========================================================================== */
/* 解説 ------------------------ */
.keicho-gift .about-section {
    padding-top: 15px;
    position: relative;
    line-height: 1.6;
}

.about-section::after {
    content: "";
    width: 80px;
    height: 2px;
    border-radius: 10px;
    background-color: rgb(var(--theme-color));
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.about-section h2 {
    margin: 0 auto 5px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
}

.about-section ul {
    margin: 0 auto;
    padding: 0;
    width: -moz-fit-content;
    width: fit-content;
    text-align: left;
}

.about-section li {
    margin-bottom: 10px;
    padding-left: 1em;
    text-align: left;
    font-size: 15px;
    line-height: 1.5;
    position: relative;
}

.about-section li:last-child {
    margin-bottom: 0;
}

.about-section li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    background-color: #333;
    border-radius: 50%;
}

/* 予算から選ぶ ------------------------ */
.feature-section {
    background-color: rgba(var(--theme-color), 0.1);
    padding: 30px 0;
}

.keicho-gift .price-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 8px;
    padding: 0 20px 10px;
}

.price-list a {
    display: block;
    padding: 15px 25px 15px 20px;
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #333;
    background-color: #fff;
    border: 2px solid #dcdcdc;
    border-radius: 4px;
    position: relative;
}

.price-list a span {
    font-size: 12px;
}

.price-list a::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 6px;
    height: 6px;
    border-top: 1px solid rgba(var(--theme-color), 0.5);
    border-right: 1px solid rgba(var(--theme-color), 0.5);
}

/* 商品リスト ------------------------ */
.item-block {
    margin: 0 auto 30px;
    padding: 0;
}

.item-block:last-of-type {
    margin-bottom: 0;
}

.item-block h3 {
    margin: 0 auto 12px;
    padding: 0;
    font-size: 18px;
    color: #333;
    text-align: center;
    font-weight: bold;
}

.item-block h3 span {
    margin-bottom: 12px;
}

.keicho-gift .item-list {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding: 0 10px 10px 0;
}

.keicho-gift .item-list:nth-last-child(n + 2) {
    margin: 0 0 18px;
}

.keicho-gift .item-list li:first-child {
    margin-left: 10px;
}

.keicho-gift .item-list li {
    display: flex;
    flex: 0 0 40%;
    scroll-snap-align: start;
    padding: 10px;
    border-radius: 4px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.keicho-gift .item-list::-webkit-scrollbar {
    display: none;
}

.keicho-gift .item-list li a {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.item-thumb {
    margin-bottom: 8px;
}

.item-tags {
    margin: 0 0 6px;
    display: flex;
    gap: 5px;
}

.item-tags span {
    font-size: 11px;
    font-weight: bold;
    line-height: 1;
    padding: 4px 6px;
    border: 1px solid;
}

.tag-ship {
    color: #479AC0;
    border-color: #479AC0;
}

.tag-noshi {
    color: #BF4647;
    border-color: #BF4647;
}

.item-name {
    margin: 0 0 auto;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.5;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* 価格 */
.item-price {
    margin: 8px 0 4px;
    font-size: 12px;
    line-height: 1;
}

.item-price span {
    margin: 0 2px 0 3px;
    font-size: 16px;
    font-weight: bold;
}


/* カテゴリから選ぶセクション ------------------------ */
.category-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.category-list a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    padding-right: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: bold;
    line-height: 1.4;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.category-list a span {
    position: relative;
    z-index: 2;
}

.category-list a::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    z-index: 2;
}

/* ==========================================================================
   PC用設定 (780px以上)
   ========================================================================== */
/* 基本設定 */
@media only screen and (min-width: 780px) {
    .keicho-gift {
        width: 900px;
        margin: 0 auto;
    }

    .section-title {
        margin: 0 auto 20px;
    }

    .section-title h2 {
        font-size: 28px;
    }

    .section-title h2 span {
        font-size: 16px;
    }

    .section-title p {
        text-align: center;
        font-size: 15px;
    }

    .keicho-gift .inner {
        padding: 30px 40px;
    }

    .pc {
        display: block !important;
    }

    .sp {
        display: none !important;
    }

    /* 解説 ------------------------ */
    .keicho-gift .about-section {
        padding-top: 15px;
    }

    .about-section h2 {
        font-size: 18px;
    }

    /* 予算から選ぶ ------------------------ */
    .feature-section {
        padding: 30px 0 50px;
    }

    .keicho-gift .price-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        padding: 0 40px 10px;
    }

    /* 商品リスト ------------------------ */
    .item-block {
        margin: 0 auto 40px;
    }

    .item-block h3 {
        margin: 0 auto 15px;
        font-size: 22px;
    }

    .keicho-gift .item-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
        overflow-x: visible;
        scroll-snap-type: none;
        margin: 0;
        padding: 0 40px;
        left: 0;
    }

    .keicho-gift .item-list:nth-last-child(n + 2) {
        margin: 0 0 30px;
    }

    .keicho-gift .item-list li {
        display: flex;
        flex: none;
        padding: 20px;
        scroll-snap-align: none;
    }

    .keicho-gift .item-list li:first-child {
        margin-left: 0;
    }

    .item-thumb {
        margin-bottom: 13px;
    }

    .item-name {
        font-size: 14px;
    }

    .item-price {
        margin: 10px 0 0;
        font-size: 13px;
    }

    .item-price span {
        font-size: 17px;
    }

    /* カテゴリから選ぶセクション ------------------------ */
    .category-list {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }

    .category-list a {
        height: 100px;
        font-size: 16px;
    }

    .category-list a::after {
        right: 15px;
    }
}

/* ==========================================================================
   システム用
   ========================================================================== */
/* SP */
/* リード文 */
.block-genre-page--comment {
    margin-top: 15px;
    margin-bottom: 5px;
}

.comment-txt-min {
    display: block;
    margin-top: 4px;
    font-size: 11px;
}

.block-genre-page-head {
    padding: 0 20px 10px;
}

/* PC */
@media only screen and (min-width: 780px) {
    .block-genre-page-head {
        padding: 0;
    }

    .block-genre-page-head {
        margin: 0 0 10px;
    }

    .block-genre-page--comment {
        margin-bottom: 12px;
    }
}

/* リンク非表示 */
.block-genre-page--sub.block-readmore-contents.js-readmore-contents {
    display: none;
}

.block-readmore-button.js-readmore-button {
    display: none !important;
}