@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Zen+Old+Mincho:wght@500&display=swap");

/* 仮の共通デザイントークン。調整はこの値を起点に行う。 */
#main.top-renewal-page {
    --top-accent: #94233E;
    --top-gold: #b99456;
    --top-text: #333;
    --top-muted: #666;
    --top-surface: #f7f5f2;
    --top-border: #eeebe7;
    --top-radius: 5px;
    --top-section-space: 72px;
    --top-gutter: 24px;
    --top-font-serif: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
    --top-font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    color: var(--top-text);
    background: #fff;
    font-family: var(--top-font-sans);
}

/*
 * トップページのリニューアル用CSS。
 * 共通ヘッダーから後読みされるglobaltop.cssより詳細度を上げ、
 * リニューアル対象のセクションだけに適用する。既存CSSは移行完了後に整理する。
 */
#main #continue #sec_screen.top-renewal-screen {
    max-width: 1440px;
    /* 固定ヘッダー分の余白はheader_ver2308.cssの値を引き継ぐ。 */
    margin: 112px auto 0;
    padding: 0 24px;
}

#sec_screen.top-renewal-screen .top-hero {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(240px, 1fr);
    align-items: stretch;
    gap: 16px;
}

#sec_screen.top-renewal-screen .slickwrap {
    min-width: 0;
    align-self: start;
}

#sec_screen.top-renewal-screen #slick01 {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 左右に見えるスライドを含め、表示枠の外側も控えめな角丸にする。 */
#sec_screen.top-renewal-screen #slick01 .slick-list {
    overflow: hidden;
    border-radius: var(--top-radius);
}

/* 初期化前も先頭バナーだけを表示し、画像・動画の表示比率を揃える。 */
#sec_screen.top-renewal-screen #slick01:not(.slick-initialized) {
    padding: 0 6%;
}

#sec_screen.top-renewal-screen #slick01:not(.slick-initialized) > li:not(:first-child) {
    display: none;
}

/* rows: 0でli自体をスライドにするため、旧CSSの先頭以外を隠す指定を解除。 */
#sec_screen.top-renewal-screen #slick01.slick-initialized > .slick-slide {
    display: block;
}

#main #continue #sec_screen.top-renewal-screen #slick01 .slick-slide,
#sec_screen.top-renewal-screen #slick01 > li {
    position: relative;
    height: auto;
    margin: 0 5px;
    overflow: hidden;
    border-radius: var(--top-radius);
    background: var(--top-surface);
}

/* 左右のバナーに白いもやを重ね、中央に移動したら自然に解除する。 */
#sec_screen.top-renewal-screen #slick01 .slick-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    background: #fff;
    opacity: .35;
    pointer-events: none;
    transition: opacity .3s ease;
}

#sec_screen.top-renewal-screen #slick01 .slick-slide.slick-center::after {
    opacity: 0;
}

#sec_screen.top-renewal-screen #slick01 .slick-slide > a,
#sec_screen.top-renewal-screen #slick01 > li > a {
    display: block;
    aspect-ratio: 2 / 1;
}

#main #continue #sec_screen.top-renewal-screen #slick01 img,
#main #continue #sec_screen.top-renewal-screen #slick01 video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
}

#sec_screen.top-renewal-screen #slick01 picture {
    display: block;
    width: 100%;
    height: 100%;
}

/* 矢印は中央スライドの両端に置く。 */
#main #continue #sec_screen.top-renewal-screen .slick-arrow {
    position: absolute;
    top: 50%;
    z-index: 2;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
    border: 1px solid var(--top-border);
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 6px rgb(0 0 0 / 10%);
    font-size: 0;
    cursor: pointer;
}

#main #continue #sec_screen.top-renewal-screen .slick-arrow.slick-prev {
    left: calc(6% - 20px);
}

#main #continue #sec_screen.top-renewal-screen .slick-arrow.slick-next {
    right: calc(6% - 20px);
}

#main #continue #sec_screen.top-renewal-screen .slick-arrow.slick-prev::before,
#main #continue #sec_screen.top-renewal-screen .slick-arrow.slick-next::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    width: 9px;
    height: 9px;
    border: 0;
    border-top: 2px solid var(--top-accent);
    border-right: 2px solid var(--top-accent);
    border-radius: 0;
    opacity: 1;
}

#main #continue #sec_screen.top-renewal-screen .slick-arrow.slick-prev::before {
    transform: translate(-30%, -50%) rotate(-135deg);
}

#main #continue #sec_screen.top-renewal-screen .slick-arrow.slick-next::before {
    transform: translate(-70%, -50%) rotate(45deg);
}

#main #continue #sec_screen.top-renewal-screen .slick-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    position: absolute;
    bottom: 10px;
    width: 80%;
    margin: 0 10%;
    padding: 0;
    list-style: none;
}

#main #continue #sec_screen.top-renewal-screen .slick-dots li {
    width: 16px;
    height: 20px;
    margin: 0;
}

#main #continue #sec_screen.top-renewal-screen .slick-dots li button {
    width: 16px;
    height: 20px;
    padding: 0;
}

#main #continue #sec_screen.top-renewal-screen .slick-dots li button::before {
    top: 6px;
    left: 4px;
    width: 8px;
    height: 8px;
    background: #fff;
    box-shadow: 0 1px 3px rgb(0 0 0 / 20%);
}

#main #continue #sec_screen.top-renewal-screen .slick-dots li.slick-active button::before {
    background: var(--top-accent);
}

#sec_screen.top-renewal-screen .top-hero-menu {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding: 24px 18px 16px;
    border: 1px solid var(--top-border);
    border-radius: var(--top-radius);
    background: var(--top-surface);
}

#sec_screen.top-renewal-screen #top-hero-menu-title {
    margin: 0 0 16px;
    padding: 0;
    color: var(--top-text);
    font-family: var(--top-font-sans);
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .06em;
    text-align: center;
}

#sec_screen.top-renewal-screen #top-hero-menu-title::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin: 9px auto 0;
    background: var(--top-gold);
}

#sec_screen.top-renewal-screen .top-hero-menu-list {
    display: grid;
    grid-template-rows: repeat(4, auto);
    flex: 1;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

#sec_screen.top-renewal-screen .top-hero-menu-list > li {
    min-width: 0;
    margin: 0;
    padding: 0;
}

#sec_screen.top-renewal-screen .top-hero-menu-list > li + li {
    border-top: 1px solid var(--top-border);
}

#sec_screen.top-renewal-screen .top-hero-menu-list a {
    display: grid;
    grid-template-columns: 36% minmax(0, 1fr) 6px;
    align-items: center;
    gap: 16px;
    height: 100%;
    padding: 12px 0;
    color: #333;
    text-align: left;
    text-decoration: none;
}

#sec_screen.top-renewal-screen .top-hero-menu-copy {
    min-width: 0;
}

#sec_screen.top-renewal-screen .top-hero-menu-list a::after {
    content: "";
    width: 6px;
    height: 6px;
    border-top: 1px solid #999;
    border-right: 1px solid #999;
    transform: rotate(45deg);
}

#sec_screen.top-renewal-screen .top-hero-menu-list img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: var(--top-radius);
    object-fit: cover;
}

#sec_screen.top-renewal-screen .top-hero-menu-name {
    display: block;
    margin-bottom: 5px;
    font-family: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
    font-size: 13px;
    font-weight: bold;
    line-height: 1.5;
}

#sec_screen.top-renewal-screen .top-hero-menu-description {
    display: block;
    color: var(--top-muted);
    font-size: 10px;
    line-height: 1.6;
}

#sec_screen.top-renewal-screen .top-hero-menu-list a:hover .top-hero-menu-name {
    color: var(--top-accent);
}

#main #continue #sec_screen.top-renewal-screen a:focus-visible,
#main #continue #sec_screen.top-renewal-screen button:focus-visible {
    outline: 2px solid var(--top-accent);
    outline-offset: -2px;
}

@media only screen and (max-width: 850px) {
    #main #continue #sec_screen.top-renewal-screen {
        margin-top: 142px;
        padding: 0 12px;
    }

    #sec_screen.top-renewal-screen .top-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 16px;
    }

    #sec_screen.top-renewal-screen #slick01:not(.slick-initialized) {
        padding: 0 5%;
    }

    /* SP専用画像の縦横比に合わせ、文字を切らずに全体を表示する。 */
    #sec_screen.top-renewal-screen #slick01 .slick-slide > a,
    #sec_screen.top-renewal-screen #slick01 > li > a {
        aspect-ratio: 600 / 805;
    }

    #main #continue #sec_screen.top-renewal-screen .slick-arrow {
        width: 32px;
        height: 32px;
    }

    #main #continue #sec_screen.top-renewal-screen .slick-arrow.slick-prev {
        left: calc(5% - 16px);
    }

    #main #continue #sec_screen.top-renewal-screen .slick-arrow.slick-next {
        right: calc(5% - 16px);
    }

    #main #continue #sec_screen.top-renewal-screen .slick-dots {
        bottom: 4px;
    }

    #sec_screen.top-renewal-screen .top-hero-menu {
        width: 100%;
        max-width: 520px;
        margin: 0 auto;
    }

    #sec_screen.top-renewal-screen .top-hero-menu-list {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto;
        gap: 0;
    }

    #sec_screen.top-renewal-screen .top-hero-menu-description br {
        display: none;
    }
}

/* 開催中のおすすめ企画 */
#main #continue #sec_campaigns.top-renewal-campaigns {
    --top-section-space: 96px;
    margin: var(--top-section-space) auto 0;
    padding: 0 24px;
}

#main #continue #sec_campaigns.top-renewal-campaigns > .secbox-inner {
    max-width: 1400px;
}

#main.top-renewal-page #continue.globaltop #sec_campaigns #top-campaigns-title {
    margin: 0 0 40px;
}

#sec_campaigns.top-renewal-campaigns .top-campaigns-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 32px 28px;
    margin: 0;
    padding: 0;
    list-style: none;
}

/* 掲載期間の判定後、出力された企画が6件ならPCは3列×2段にする。 */
@media only screen and (min-width: 851px) {
    #sec_campaigns.top-renewal-campaigns .top-campaigns-list:has(> li:nth-child(6):last-child) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

#sec_campaigns.top-renewal-campaigns .top-campaigns-list > li {
    min-width: 0;
    margin: 0;
    padding: 0;
}

#sec_campaigns.top-renewal-campaigns .top-campaigns-list a {
    display: block;
    overflow: hidden;
    aspect-ratio: 2 / 1;
    border-radius: var(--top-radius);
    background: var(--top-surface);
}

#sec_campaigns.top-renewal-campaigns .top-campaigns-list img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#sec_campaigns.top-renewal-campaigns .top-campaigns-list a:focus-visible {
    outline: 2px solid var(--top-accent);
    outline-offset: 3px;
}

#main #continue #sec_campaigns.top-renewal-campaigns + #sec_staff_selection {
    --top-section-space: 96px;
    margin-top: var(--top-section-space);
}

@media only screen and (max-width: 850px) {
    #main #continue #sec_campaigns.top-renewal-campaigns {
        --top-section-space: 64px;
        margin-top: var(--top-section-space);
        padding: 0 12px;
    }

    #main.top-renewal-page #continue.globaltop #sec_campaigns #top-campaigns-title {
        margin-bottom: 28px;
    }

    #sec_campaigns.top-renewal-campaigns .top-campaigns-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px 16px;
    }

    #main #continue #sec_campaigns.top-renewal-campaigns + #sec_staff_selection {
        --top-section-space: 64px;
        margin-top: var(--top-section-space);
    }
}

/* 新着ワイン：既存の商品情報をカードに配置する。 */
#main #continue #sec_newwine.top-renewal-newwine .sec_box-title {
    margin: 0 0 20px;
    font-size: 28px;
    font-weight: normal;
    line-height: 1.5;
    letter-spacing: .08em;
    text-align: center;
}

#main #continue #sec_newwine.top-renewal-newwine .sec_box-title small {
    margin-top: 6px;
    color: var(--top-muted);
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: normal;
}

#main #continue #sec_newwine.top-renewal-newwine .itemlist {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

#main #continue #sec_newwine.top-renewal-newwine .itemlist > li {
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
}

#main #continue #sec_newwine.top-renewal-newwine .itemlist > li > a {
    display: grid;
    grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
    grid-template-rows: 1fr auto;
    align-items: start;
    gap: 8px;
    height: 100%;
    padding: 10px;
    border: 1px solid var(--top-border);
    border-radius: var(--top-radius);
    background: #fff;
    color: #333;
    text-decoration: none;
    transition: border-color .2s ease;
}

#main #continue #sec_newwine.top-renewal-newwine .itemlist > li > a:hover {
    border-color: var(--top-accent);
}

#main #continue #sec_newwine.top-renewal-newwine .itemlist > li > a:focus-visible {
    outline: 2px solid var(--top-accent);
    outline-offset: 3px;
}

#main #continue #sec_newwine.top-renewal-newwine .item_img {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 120px;
    max-width: none;
    max-height: none;
    margin: 0;
    border: 0;
    overflow: visible;
}

#main #continue #sec_newwine.top-renewal-newwine .item_img::before {
    display: none;
}

#main #continue #sec_newwine.top-renewal-newwine .item_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#main #continue #sec_newwine.top-renewal-newwine .new_icon {
    /* NEWアイコンは一旦非表示。 */
    display: none;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    z-index: 1;
    width: 25px;
    height: 25px;
    border: 0;
    border-radius: 50%;
    background: var(--top-gold);
    transform: none;
}

#main #continue #sec_newwine.top-renewal-newwine .new_icon::before {
    margin: 0;
    font-size: 8px;
    line-height: 1;
}

/* 商品情報のラッパーを保ち、価格をカード全幅の下段に置く。 */
#main #continue #sec_newwine.top-renewal-newwine .item_info {
    display: contents;
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
}

#main #continue #sec_newwine.top-renewal-newwine .newwine_details {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    overflow-wrap: anywhere;
    font-weight: bold;
}

#main #continue #sec_newwine.top-renewal-newwine .icons {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 7px;
}

#main #continue #sec_newwine.top-renewal-newwine .icon {
    display: inline-block;
    padding: 1px 4px;
    border: 1px solid var(--top-border);
    border-radius: 3px;
    background: #fff;
    color: var(--top-muted);
    font-size: 12px;
    font-weight: normal;
    line-height: 1.4;
}

#main #continue #sec_newwine.top-renewal-newwine .item_disc.tag_flag::before {
    width: 18px;
    height: 12px;
    margin: 0 3px 0 0;
}

#main #continue #sec_newwine.top-renewal-newwine .additional_text {
    margin-top: 7px;
    padding: 0;
    border: 0;
    color: var(--top-muted);
    font-size: 14px;
    font-weight: normal;
    line-height: 1.6;
}

#main #continue #sec_newwine.top-renewal-newwine .item_price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 6px;
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    text-align: left;
}

#main #continue #sec_newwine.top-renewal-newwine .item_price .-price {
    font-size: 18px;
    line-height: 1.5;
    font-weight: bold;
}

#main #continue #sec_newwine.top-renewal-newwine .item_price .zeikomi {
    font-size: 12px;
    font-weight: normal;
    margin-right: 4px;
}

#main #continue #sec_newwine.top-renewal-newwine .item_price .-point {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
}

#main #continue #sec_newwine.top-renewal-newwine .link_more a {
    width: 240px;
    max-width: 100%;
    height: 36px;
    border: 1px solid var(--top-accent);
    border-radius: 0;
    background: #fff;
    color: var(--top-accent);
    font-size: 13px;
    letter-spacing: .05em;
}

#main #continue #sec_newwine.top-renewal-newwine .link_more a::after {
    border-color: var(--top-accent);
}

/* PCは画像を上段いっぱいに配置し、ボトルを大きく見せる。 */
@media only screen and (min-width: 851px) {
    #main #continue #sec_newwine.top-renewal-newwine .itemlist > li > a {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto 1fr auto;
        gap: 12px;
        padding: 14px;
    }

    #main #continue #sec_newwine.top-renewal-newwine .item_img {
        height: clamp(180px, 18vw, 240px);
    }

    #main #continue #sec_newwine.top-renewal-newwine .new_icon {
        width: 30px;
        height: 30px;
    }

    #main #continue #sec_newwine.top-renewal-newwine .new_icon::before {
        font-size: 9px;
    }

    #main #continue #sec_newwine.top-renewal-newwine .newwine_details {
        grid-column: 1;
        grid-row: 2;
        font-size: 15px;
    }

    #main #continue #sec_newwine.top-renewal-newwine .additional_text {
        font-size: 14px;
    }

    #main #continue #sec_newwine.top-renewal-newwine .item_price {
        grid-row: 3;
    }
}

@media only screen and (max-width: 850px) {
    /* 次のカードが見える幅にし、指で操作する横スクロールにする。 */
    #main.top-renewal-page #continue.globaltop #sec_newwine.top-renewal-newwine .itemlist {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: clamp(150px, 42%, 240px);
        align-items: stretch;
        gap: 12px;
        width: 100%;
        max-width: 100%;
        padding: 4px 4px 14px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scroll-padding-inline: 4px;
        scrollbar-width: thin;
        scrollbar-color: var(--top-border) transparent;
    }

    #main.top-renewal-page #continue.globaltop #sec_newwine.top-renewal-newwine .itemlist > li {
        scroll-snap-align: start;
    }

    #main.top-renewal-page #continue.globaltop #sec_newwine.top-renewal-newwine .itemlist > li > a {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto 1fr auto;
        gap: 12px;
        padding: 12px;
    }

    #main.top-renewal-page #continue.globaltop #sec_newwine.top-renewal-newwine .item_img {
        height: clamp(170px, 45vw, 220px);
    }

    #main.top-renewal-page #continue.globaltop #sec_newwine.top-renewal-newwine .new_icon {
        width: 30px;
        height: 30px;
    }

    #main.top-renewal-page #continue.globaltop #sec_newwine.top-renewal-newwine .new_icon::before {
        font-size: 10px;
    }

    #main.top-renewal-page #continue.globaltop #sec_newwine.top-renewal-newwine .newwine_details {
        grid-column: 1;
        grid-row: 2;
        font-size: 14px;
    }

    #main.top-renewal-page #continue.globaltop #sec_newwine.top-renewal-newwine .item_price {
        grid-column: 1;
        grid-row: 3;
        margin: 0;
    }

    #main.top-renewal-page #continue.globaltop #sec_newwine.top-renewal-newwine .item_price .-price {
        display: inline-flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 4px;
        color: var(--top-accent);
    }

    #main.top-renewal-page #continue.globaltop #sec_newwine.top-renewal-newwine .item_price .zeikomi {
        order: 1;
        margin: 0;
        color: var(--top-accent);
    }

    #main.top-renewal-page #continue.globaltop #sec_newwine.top-renewal-newwine .link_more a,
    #main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .link_more a {
        width: 320px;
        max-width: 100%;
        border-radius: var(--top-radius);
    }
}

@media only screen and (max-width: 480px) {
    #sec_screen.top-renewal-screen .top-hero-menu-list a {
        grid-template-columns: 36% minmax(0, 1fr) 6px;
        gap: 12px;
    }
}

/* ページ全体の統一ルール。共通ヘッダー・他ページには適用しない。 */
#main.top-renewal-page #continue.globaltop > .secbox:not(#sec_screen):not(#sec_topbnr) {
    margin: var(--top-section-space) auto 0;
    padding: 0 var(--top-gutter);
}

#main.top-renewal-page #continue.globaltop :is(.sec_box-title, #top-campaigns-title, .concept-section .heading) {
    margin: 0 0 24px;
    padding: 0;
    color: var(--top-text);
    font-family: var(--top-font-sans);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .06em;
    text-align: center;
}

#main.top-renewal-page #continue.globaltop :is(.sec_box-title, #top-campaigns-title)::after {
    content: "";
    display: block;
    width: 32px;
    height: 2px;
    margin: 16px auto 0;
    background: var(--top-gold);
}

#main.top-renewal-page #continue.globaltop :is(#sec_newwine, .secbox) .sec_box-title small {
    display: block;
    margin-top: 12px;
    color: var(--top-muted);
    font-family: var(--top-font-sans);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: normal;
}

#main.top-renewal-page #continue.globaltop :is(#sec_newwine, .secbox) :is(.item_info, .newwine_details, .item_disc, .poplist ._title) {
    color: var(--top-text);
    font-family: var(--top-font-sans);
    font-size: 14px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

#main.top-renewal-page #continue.globaltop :is(#sec_newwine, .secbox) :is(.additional_text, .poplist ._summary),
#main.top-renewal-page #continue.globaltop .concept-section .description {
    margin-top: 12px;
    padding: 0;
    border: 0;
    color: var(--top-muted);
    font-family: var(--top-font-sans);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.8;
}

#main.top-renewal-page #continue.globaltop :is(#sec_newwine, .secbox) .item_price {
    margin-top: 12px;
    font-family: var(--top-font-sans);
}

/* 新着カードはグリッドの間隔で同じ12pxを確保する。 */
#main.top-renewal-page #continue.globaltop #sec_newwine .itemlist > li > a {
    gap: 12px;
}

#main.top-renewal-page #continue.globaltop #sec_newwine .item_price {
    margin-top: 0;
}

#main.top-renewal-page #continue.globaltop :is(#sec_newwine, .secbox) :is(.item_price .-price, .poplist ._price ._num) {
    color: var(--top-text);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

#main.top-renewal-page #continue.globaltop :is(#sec_newwine, .secbox) :is(.zeikomi, .item_price .-yen, .poplist ._price ._suffix),
#main.top-renewal-page #continue.globaltop :is(#sec_newwine, .secbox) .poplist ._price ._prefix::before {
    margin-right: 4px;
    color: var(--top-muted);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

#main.top-renewal-page #continue.globaltop :is(#sec_newwine, .secbox) :is(.item_price .-point, .icons .icon, .poplist ._additional_text2) {
    font-size: 12px;
    line-height: 1.5;
}

#main.top-renewal-page #continue.globaltop :is(#sec_newwine, .secbox) .item_price .-point {
    color: var(--top-muted);
}

#main.top-renewal-page #continue.globaltop :is(#sec_newwine, .secbox) .item_price .-point strong {
    color: var(--top-accent);
}

#main.top-renewal-page #continue.globaltop :is(#sec_newwine, .secbox) .item_price .icon {
    background: var(--top-accent);
    color: #fff;
    border-radius: 3px;
}

/* 既存の !important に合わせ、一覧リンクの余白だけ明示的に上書きする。 */
#main.top-renewal-page #continue.globaltop :is(#sec_newwine, .secbox) .link_more {
    margin: 24px 0 0 !important;
    padding: 0;
}

#main.top-renewal-page #continue.globaltop :is(#sec_newwine, .secbox) .link_more a {
    width: 240px;
    max-width: 100%;
    min-height: 44px;
    height: auto;
    padding: 10px 32px;
    border: 1px solid var(--top-accent);
    border-radius: var(--top-radius);
    background: #fff;
    color: var(--top-accent);
    font-family: var(--top-font-sans);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .03em;
    text-align: center;
    text-decoration: none;
}

#main.top-renewal-page #continue.globaltop :is(#sec_newwine, .secbox) .link_more a::after {
    border-color: var(--top-accent);
}

#main.top-renewal-page #continue.globaltop :is(#sec_newwine, .secbox) .link_more a:hover {
    background: var(--top-accent);
    color: #fff;
    opacity: 1;
}

#main.top-renewal-page #continue.globaltop :is(#sec_newwine, .secbox) .link_more a:hover::after {
    border-color: #fff;
}

#main.top-renewal-page #continue.globaltop a:focus-visible,
#main.top-renewal-page #continue.globaltop button:focus-visible {
    outline: 2px solid var(--top-accent);
    outline-offset: 3px;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller .tablistA {
    flex-wrap: wrap;
    gap: 8px;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller .tablistA li {
    margin: 0;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller .tablistA a {
    min-height: 44px;
    height: auto;
    padding: 8px;
    border: 1px solid var(--top-border);
    border-radius: var(--top-radius);
    background: #fff;
    color: var(--top-text);
    font-size: 14px;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller .tablistA a.-current,
#main.top-renewal-page #continue.globaltop #sec_bestseller .tablistA a:hover {
    border-color: var(--top-accent);
    background: var(--top-accent);
    color: #fff;
}

/* 写真バナー自体は維持し、セクション背景の色と画像背景を整理する。 */
#main.top-renewal-page #continue.globaltop > .secbox:not(#sec_screen):not(#sec_topbnr):is(#sec_club30, #sec_champagne, #sec_finewine, #sec_area) {
    padding-top: 40px;
    padding-bottom: 40px;
    background: var(--top-surface);
    color: var(--top-text);
}

#main.top-renewal-page #continue.globaltop :is(#sec_finewine, #sec_area) .secbox-inner {
    width: 100%;
    padding: 0;
    background: transparent;
}

#main.top-renewal-page #continue.globaltop :is(#sec_newwine, #sec_bestseller, #sec_club30, #sec_champagne, #sec_finewine) .itemlist > li > a {
    border: 1px solid var(--top-border);
    border-radius: var(--top-radius);
    background: #fff;
    color: var(--top-text);
    text-decoration: none;
}

#main.top-renewal-page #continue.globaltop :is(#sec_bestseller, #sec_club30, #sec_champagne, #sec_finewine) .itemlist > li > a {
    padding: 14px;
}

#main.top-renewal-page #continue.globaltop :is(#sec_bestseller, #sec_club30, #sec_champagne, #sec_finewine) .item_img {
    border: 0;
    border-radius: var(--top-radius);
}

#main.top-renewal-page #continue.globaltop #sec_bestseller .ranking.itemlist li a .item_img::after {
    border-radius: 50%;
    background: var(--top-gold);
    color: #fff;
    opacity: 1;
}

#main.top-renewal-page #continue.globaltop #sec_screen .top-hero-menu-name {
    font-family: var(--top-font-sans);
    font-size: 15px;
}

#main.top-renewal-page #continue.globaltop #sec_screen .top-hero-menu-description {
    font-family: var(--top-font-sans);
    font-size: 14px;
}

#main.top-renewal-page #continue.globaltop .concept-section {
    margin-top: var(--top-section-space);
    padding: 40px var(--top-gutter);
    background: var(--top-surface);
    text-align: center;
}

#main.top-renewal-page #continue.globaltop .concept-section .link {
    display: inline-block;
    margin-top: 24px;
    padding: 10px 32px;
    border: 1px solid var(--top-accent);
    border-radius: var(--top-radius);
    background: #fff;
    color: var(--top-accent);
    font-size: 14px;
    line-height: 1.5;
}

@media only screen and (min-width: 851px) {
    #main.top-renewal-page #continue.globaltop :is(#sec_bestseller, #sec_club30, #sec_champagne, #sec_finewine) .itemlist > li > a {
        display: block;
        height: 100%;
    }

    /* メニューの内容で行を押し広げず、スライダーの高さに合わせる。 */
    #main.top-renewal-page #continue.globaltop #sec_screen .top-hero-menu {
        contain: size;
        min-height: 0;
        padding: 18px 16px 14px;
    }

    #main.top-renewal-page #continue.globaltop #sec_screen #top-hero-menu-title {
        flex-shrink: 0;
        margin-bottom: 12px;
        font-size: 18px;
        line-height: 1.3;
    }

    #main.top-renewal-page #continue.globaltop #sec_screen #top-hero-menu-title::after {
        margin-top: 6px;
    }

    #main.top-renewal-page #continue.globaltop #sec_screen .top-hero-menu-list {
        min-height: 0;
        grid-template-rows: repeat(4, minmax(0, 1fr));
        gap: 0;
    }

    #main.top-renewal-page #continue.globaltop #sec_screen .top-hero-menu-list > li,
    #main.top-renewal-page #continue.globaltop #sec_screen .top-hero-menu-list a {
        min-height: 0;
    }

    #main.top-renewal-page #continue.globaltop #sec_screen .top-hero-menu-list a {
        grid-template-columns: 36% minmax(0, 1fr) 6px;
        gap: 12px;
        padding: 8px 0;
    }

    #main.top-renewal-page #continue.globaltop #sec_screen .top-hero-menu-list img {
        height: 100%;
        max-height: 88px;
        min-height: 0;
        aspect-ratio: auto;
    }

    #main.top-renewal-page #continue.globaltop #sec_screen .top-hero-menu-name {
        margin-bottom: 3px;
        font-size: 14px;
        line-height: 1.4;
    }

    #main.top-renewal-page #continue.globaltop #sec_screen .top-hero-menu-description {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        font-size: 12px;
        line-height: 1.5;
    }

    #main.top-renewal-page #continue.globaltop #sec_screen .top-hero-menu-description br {
        display: none;
    }
}

@media only screen and (min-width: 851px) and (max-width: 1100px) {
    #main.top-renewal-page #continue.globaltop #sec_screen .top-hero-menu {
        padding: 12px 10px;
    }

    #main.top-renewal-page #continue.globaltop #sec_screen #top-hero-menu-title {
        margin-bottom: 8px;
        font-size: 16px;
    }

    #main.top-renewal-page #continue.globaltop #sec_screen .top-hero-menu-list a {
        grid-template-columns: 30% minmax(0, 1fr) 6px;
        gap: 8px;
        padding: 4px 0;
    }

    #main.top-renewal-page #continue.globaltop #sec_screen .top-hero-menu-name {
        font-size: 13px;
    }

    #main.top-renewal-page #continue.globaltop #sec_screen .top-hero-menu-description {
        -webkit-line-clamp: 1;
    }
}

@media only screen and (max-width: 850px) {
    #main.top-renewal-page {
        --top-section-space: 48px;
        --top-gutter: 12px;
    }

    #main.top-renewal-page #continue.globaltop #sec_bestseller .tablistA li {
        width: calc((100% - 8px) / 2);
    }

    #main.top-renewal-page #continue.globaltop #sec_bestseller .tablistA a {
        width: 100%;
    }

    #main.top-renewal-page #continue.globaltop :is(#sec_bestseller, #sec_club30, #sec_champagne, #sec_finewine) .itemlist > li {
        padding: 0;
        margin-bottom: 12px;
        border: 0;
    }

    #main.top-renewal-page #continue.globaltop :is(#sec_bestseller, #sec_club30, #sec_champagne, #sec_finewine) .itemlist {
        border: 0;
    }
}

/* 人気ランキング：SPは順位・画像・商品情報を横に並べる。 */
#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .sec_box-title {
    margin-bottom: 20px;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .sec_box-title::after {
    display: none;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking-heading-icon {
    display: block;
    width: 24px;
    height: 18px;
    margin: 0 auto 10px;
    background: var(--top-gold);
    clip-path: polygon(0 15%, 25% 40%, 50% 0, 75% 40%, 100% 15%, 85% 80%, 15% 80%, 15% 90%, 85% 90%, 85% 100%, 15% 100%);
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .tablistA {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    max-width: 720px;
    margin: 0 auto 20px;
    border-bottom: 1px solid var(--top-border);
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .tablistA li {
    width: auto;
    min-width: 0;
    margin: 0;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .tablistA a {
    width: 100%;
    min-height: 48px;
    padding: 10px 4px;
    border: 0;
    border-bottom: 2px solid transparent;
    border-radius: 0;
    background: transparent;
    color: var(--top-muted);
    font-size: 14px;
    line-height: 1.5;
    white-space: nowrap;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .tablistA a.-current,
#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .tablistA a:hover {
    border-bottom-color: var(--top-accent);
    background: transparent;
    color: var(--top-accent);
    font-weight: bold;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking.itemlist {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    counter-reset: wine-rank;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking.itemlist > li {
    width: auto;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    counter-increment: wine-rank;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking.itemlist > li > a {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-items: start;
    gap: 12px 8px;
    height: 100%;
    padding: 12px;
    border: 1px solid var(--top-border);
    border-radius: var(--top-radius);
    background: #fff;
    color: var(--top-text);
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking.itemlist > li > a:hover {
    border-color: var(--top-accent);
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking.itemlist > li > a::after {
    content: none;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking-position {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border-radius: var(--top-radius) 0 var(--top-radius) 0;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    line-height: 1;
    pointer-events: none;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking-position::after {
    content: counter(wine-rank);
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking li:nth-child(1) .ranking-position {
    background: rgba(175, 145, 78, .9);
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking li:nth-child(2) .ranking-position {
    background: #788c9d;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking li:nth-child(3) .ranking-position {
    background: rgba(166, 139, 118, .9);
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking li:nth-child(4) .ranking-position,
#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking li:nth-child(5) .ranking-position {
    background: rgba(141, 146, 150, .85);
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking.itemlist .item_img {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    aspect-ratio: 1;
    margin: 0;
    border: 0;
    border-radius: 4px;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking.itemlist .item_img::before,
#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking.itemlist li a .item_img::after {
    display: none;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking.itemlist .item_img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking.itemlist .item_info {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 0;
    text-align: left;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking-category {
    display: inline-block;
    margin-bottom: 6px;
    padding: 2px 8px;
    border-radius: 3px;
    background: #f3ecdd;
    color: #665b45;
    font-size: 12px;
    font-weight: normal;
    line-height: 1.4;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking-name,
#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking-name .item_disc {
    margin: 0;
    font-size: 15px;
    font-weight: bold;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .additional_text {
    margin-top: 6px;
    padding: 0;
    border: 0;
    color: var(--top-muted);
    font-size: 14px;
    line-height: 1.6;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .item_price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 6px;
    margin-top: 6px;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .item_price .-price {
    display: inline-flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px;
    color: var(--top-accent);
    font-size: 18px;
    line-height: 1.5;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .item_price .zeikomi {
    order: 1;
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    color: var(--top-accent);
}

/* PCは新着ワインと同じく、金額の前に小さなグレーの税込表示を置く。 */
@media only screen and (min-width: 851px) {
    #main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .item_price .zeikomi {
        order: 0;
        color: var(--top-muted);
    }
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .item_price .icons {
    display: flex;
    flex-wrap: wrap;
    order: 1;
    width: 100%;
    gap: 4px;
}

#main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .item_price .icon {
    margin: 0;
    padding: 1px 4px;
    background: var(--top-surface);
    color: var(--top-muted);
    font-size: 12px;
}

@media only screen and (min-width: 851px) and (max-width: 1100px) {
    #main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking.itemlist {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 850px) {
    #main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .sec_box-title {
        font-size: 24px;
    }

    #main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .tablistA a {
        font-size: 12px;
        padding-right: 0;
        padding-left: 0;
    }

    #main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking.itemlist {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    #main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking.itemlist > li > a {
        grid-template-columns: clamp(76px, 22vw, 120px) minmax(0, 1fr);
        grid-template-rows: auto;
        align-items: center;
        gap: 10px;
        padding: 12px 10px;
    }

    #main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking.itemlist .item_info {
        grid-column: 2;
        grid-row: 1;
    }

    #main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking-name,
    #main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking-name .item_disc {
        font-size: 14px;
    }
}

@media only screen and (max-width: 380px) {
    #main.top-renewal-page #continue.globaltop #sec_bestseller.top-renewal-ranking .ranking.itemlist > li > a {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 8px;
        padding: 10px 8px;
    }

}

/* 新着ワインの下のサービス案内。下段はリンクを持たない。 */
#main.top-renewal-page #continue.globaltop #sec_services {
    font-family: var(--top-font-sans);
    color: var(--top-text);
}

#main.top-renewal-page #continue.globaltop #sec_services > .secbox-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

#main.top-renewal-page #continue.globaltop #sec_services .top-service-cards,
#main.top-renewal-page #continue.globaltop #sec_services .top-service-benefits {
    display: grid;
    margin: 0;
    padding: 0;
    list-style: none;
}

#main.top-renewal-page #continue.globaltop #sec_services .top-service-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

#main.top-renewal-page #continue.globaltop #sec_services li {
    box-sizing: border-box;
    min-width: 0;
    width: auto;
    margin: 0;
    padding: 0;
    float: none;
}

#main.top-renewal-page #continue.globaltop #sec_services .top-service-card {
    display: grid;
    grid-template-columns: 36% minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    box-sizing: border-box;
    height: 100%;
    min-height: 180px;
    padding: 16px;
    border: 1px solid var(--top-border);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(50, 35, 25, .04);
    color: var(--top-text);
    text-align: left;
    text-decoration: none;
    transition: border-color .2s, box-shadow .2s;
}

#main.top-renewal-page #continue.globaltop #sec_services .top-service-card:hover {
    border-color: var(--top-accent);
    box-shadow: 0 3px 10px rgba(50, 35, 25, .08);
}

#main.top-renewal-page #continue.globaltop #sec_services .top-service-card:focus-visible {
    outline: 2px solid var(--top-accent);
    outline-offset: 3px;
}

#main.top-renewal-page #continue.globaltop #sec_services .top-service-photo {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--top-radius);
}

/* 周囲の余白を少し切り取り、ボトルが大きく見えるようにする。 */
#main.top-renewal-page #continue.globaltop #sec_services .top-service-photo img {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    transform-origin: center 60%;
}

#main.top-renewal-page #continue.globaltop #sec_services .top-service-icon {
    display: block;
    width: 72px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

#main.top-renewal-page #continue.globaltop #sec_services .top-service-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    gap: 10px;
    overflow-wrap: anywhere;
}

#main.top-renewal-page #continue.globaltop #sec_services .top-service-title {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .04em;
}

#main.top-renewal-page #continue.globaltop #sec_services .top-service-description {
    font-size: 14px;
    line-height: 1.8;
    color: var(--top-muted);
}

#main.top-renewal-page #continue.globaltop #sec_services .top-service-more {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.5;
}

#main.top-renewal-page #continue.globaltop #sec_services .top-service-benefits {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 20px;
    padding: 18px 0;
    border-radius: 12px;
    background: var(--top-surface);
}

#main.top-renewal-page #continue.globaltop #sec_services .top-service-benefits > li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 16px;
}

#main.top-renewal-page #continue.globaltop #sec_services .top-service-benefits > li + li {
    border-left: 1px solid var(--top-border);
}

#main.top-renewal-page #continue.globaltop #sec_services .top-service-benefits img {
    display: block;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
}

#main.top-renewal-page #continue.globaltop #sec_services .top-benefit-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    gap: 4px;
    overflow-wrap: anywhere;
}

#main.top-renewal-page #continue.globaltop #sec_services .top-benefit-title {
    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;
}

#main.top-renewal-page #continue.globaltop #sec_services .top-benefit-description {
    color: var(--top-muted);
    font-size: 13px;
    line-height: 1.6;
}

@media only screen and (min-width: 851px) and (max-width: 1100px) {
    #main.top-renewal-page #continue.globaltop #sec_services .top-service-cards {
        gap: 16px;
    }

    #main.top-renewal-page #continue.globaltop #sec_services .top-service-card {
        grid-template-columns: 30% minmax(0, 1fr);
        gap: 12px;
        padding: 12px;
    }

    #main.top-renewal-page #continue.globaltop #sec_services .top-service-benefits > li {
        gap: 8px;
        padding: 0 10px;
    }
}

@media only screen and (max-width: 850px) {
    #main.top-renewal-page #continue.globaltop #sec_services > .secbox-inner {
        max-width: 520px;
    }

    #main.top-renewal-page #continue.globaltop #sec_services .top-service-cards {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }

    #main.top-renewal-page #continue.globaltop #sec_services .top-service-card {
        grid-template-columns: 38% minmax(0, 1fr);
        min-height: 180px;
        gap: 16px;
        padding: 16px;
    }

    #main.top-renewal-page #continue.globaltop #sec_services .top-service-card--membership {
        grid-template-columns: minmax(0, 1fr);
        justify-items: center;
        gap: 12px;
        padding: 24px 16px;
        text-align: center;
    }

    #main.top-renewal-page #continue.globaltop #sec_services .top-service-card--membership .top-service-copy {
        align-items: center;
    }

    #main.top-renewal-page #continue.globaltop #sec_services .top-service-benefits {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 4px;
        margin-top: 12px;
        padding: 0;
        background: transparent;
    }

    #main.top-renewal-page #continue.globaltop #sec_services .top-service-benefits > li {
        flex-direction: column;
        justify-content: flex-start;
        gap: 10px;
        padding: 18px 10px;
        border: 1px solid var(--top-border);
        border-radius: 12px;
        background: #fff;
        box-shadow: 0 2px 6px rgba(50, 35, 25, .04);
        text-align: center;
    }

    #main.top-renewal-page #continue.globaltop #sec_services .top-benefit-title {
        font-size: 16px;
    }
}

/* スタッフセレクション：既存の書体・色・罫線に合わせた試飲記事。 */
#main.top-renewal-page #continue.globaltop #sec_staff_selection {
    /* 0%で重なりなし。数値を増やすと背景画像に重なる。 */
    --top-staff-title-overlap: 1.5%;
    padding: 0 var(--top-gutter);
    color: var(--top-text);
    font-family: var(--top-font-sans);
    text-align: left;
}

/* 既存のセクション共通ルールによる本文の中央揃えを解除する。 */
#main.top-renewal-page #continue.globaltop #sec_staff_selection p {
    text-align: left;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection > .secbox-inner {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0;
}

/* 紹介エリアだけを企画バナーと同幅にし、見出し・商品一覧は従来の幅に保つ。 */
#main.top-renewal-page #continue.globaltop #sec_staff_selection > .secbox-inner > :is(#top-staff-title, .top-staff-grid, .top-staff-note) {
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

/* 背景写真の上に紹介文を重ね、文章量に合わせて高さを確保する。 */
#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-intro {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection #top-staff-title {
    position: relative;
    z-index: 1;
    height: auto;
    margin: 0 0 calc(-1 * var(--top-staff-title-overlap));
    padding: 0;
    background: none;
    border: 0;
    line-height: 0;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection #top-staff-title img,
#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-intro-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection #top-staff-title img {
    width: 70%;
    margin: 0 auto;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-intro-image {
    position: absolute;
    inset: 0;
    height: 100%;
    min-height: 0;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center;
    padding: 0;
    border-radius: 0;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-intro-copy {
    position: relative;
    box-sizing: border-box;
    width: 60%;
    padding: clamp(24px, 4vw, 48px) 5%;
    color: var(--top-text);
    text-align: left;
    overflow-wrap: anywhere;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-intro-lead {
    margin: 0;
    padding: 0;
    font: 500 22px / 1.6 'Zen Old Mincho', serif;
    text-align: left;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-intro-lead strong {
    font: inherit;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-intro-description {
    margin: 20px 0 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.9;
    text-align: left;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 20px;
    margin-top: 32px;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-wine {
    display: grid;
    grid-template-columns: minmax(0, 48fr) minmax(0, 52fr);
    /* 写真は番号とコメントの左。商品名・購入案内は下段いっぱいに配置する。 */
    grid-template-rows: auto 1fr auto auto;
    grid-template-rows: subgrid;
    grid-row: span 4;
    align-items: start;
    column-gap: 14px;
    row-gap: 12px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--top-border);
    border-radius: var(--top-radius);
    background: #fff;
    color: var(--top-text);
    text-decoration: none;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-wine:focus-visible {
    outline: 2px solid var(--top-accent);
    outline-offset: 4px;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-wine:hover .top-staff-wine-name {
    color: var(--top-accent);
}

/* 旧HTMLのcopy内に商品名・価格がある場合も同じ配置にする。 */
#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-wine-top,
#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-wine-copy {
    display: contents;
    overflow-wrap: anywhere;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-index {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    line-height: 1.5;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-number {
    color: var(--top-gold);
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-type {
    padding-left: 8px;
    border-left: 1px solid var(--top-border);
    color: var(--top-muted);
    font-size: 12px;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-wine-name {
    grid-column: 1 / -1;
    grid-row: 3;
    min-width: 0;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--top-text);
    font-family: var(--top-font-sans);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.8;
    overflow-wrap: anywhere;
    text-align: left;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-tasting-note {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    display: flow-root;
    align-self: start;
    overflow: hidden;
    margin: 0;
    padding: 0;
    border-left: 0;
    color: var(--top-muted);
    font-size: 14px;
    line-height: 1.9;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-handwritten-note {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: calc(-1 * var(--top-staff-comment-offset, 0%)) 0 0;
}

/* 元画像は変更せず、文字より上の余白だけを幅に比例して補正する。 */
#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-wine:nth-child(1) {
    --top-staff-comment-offset: 2.13%;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-wine:nth-child(2) {
    --top-staff-comment-offset: 2.72%;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-wine:nth-child(6) {
    --top-staff-comment-offset: 5.9%;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-purchase {
    grid-column: 1 / -1;
    grid-row: 4;
    min-width: 0;
    margin-top: 0;
    font-family: var(--top-font-sans);
    text-align: left;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 0;
    padding: 0;
    color: var(--top-text);
    line-height: 1.5;
    text-align: left;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-tax {
    color: var(--top-muted);
    font-size: 11px;
    font-weight: 400;
    white-space: nowrap;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-amount {
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-amount strong {
    font-size: 20px;
    font-weight: 700;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-more {
    position: relative;
    display: flex;
    box-sizing: border-box;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
    padding: 8px 32px;
    min-height: 44px;
    border: 1px solid var(--top-accent);
    border-radius: var(--top-radius);
    background: #fcf8f8;
    color: var(--top-accent);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    text-decoration: none;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-more > span[aria-hidden="true"] {
    position: absolute;
    top: 50%;
    right: 15px;
    width: 8px;
    height: 8px;
    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
    font-size: 0;
    line-height: 0;
    transform: translateY(-50%) rotate(45deg);
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-more:hover,
#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-wine:focus-visible .top-staff-more {
    background: var(--top-accent);
    color: #fff;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-wine-photo {
    grid-column: 1;
    grid-row: 1 / 3;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--top-radius);
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 20px;
    padding: 16px 0;
    border: 0;
    border-radius: var(--top-radius);
    background: var(--top-surface);
    text-align: center;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-note-title {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    gap: 12px;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--top-muted);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
    text-align: center;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-note-icon {
    display: block;
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
}

#main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-note p {
    min-width: 0;
    max-width: 760px;
    margin: 0;
    padding: 0;
    color: var(--top-muted);
    font-size: 14px;
    line-height: 2;
    text-align: center;
}

@media only screen and (max-width: 850px) {
    #main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-intro {
        aspect-ratio: 2167 / 606;
    }

    #main.top-renewal-page #continue.globaltop #sec_staff_selection #top-staff-title img {
        width: 100%;
        margin-bottom: 10px;
    }

    #main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-intro-copy {
        width: 100%;
        padding: 32px 5%;
        background: linear-gradient(to right, rgba(255, 255, 255, .94), rgba(255, 255, 255, .85) 65%, rgba(255, 255, 255, .3));
    }

    /* タブレットでは、写真とコメントを並べたカードを2列にする。 */
    #main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 16px;
        margin-top: 24px;
    }

    #main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-note {
        flex-direction: column;
        gap: 12px;
    }
}

/* スマホは紹介写真と文章を分け、商品カードは読みやすい1列にする。 */
@media only screen and (max-width: 570px) {
    #main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-intro {
        aspect-ratio: auto;
    }

    #main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-intro-image {
        position: static;
        /* ショップ紹介バナーと同じ高さで、グラス側を拡大して見せる。 */
        height: 160px;
        object-fit: cover;
        object-position: right center;
    }

    #main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-intro-copy {
        padding: 22px 18px;
        background: var(--top-surface);
    }

    #main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-intro-description {
        margin-top: 17px;
    }

    #main.top-renewal-page #continue.globaltop #sec_staff_selection .top-staff-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* サービス案内に続くショップバナー（写真は仮素材）。 */
#main.top-renewal-page #continue.globaltop #sec_brand_banners {
    margin-bottom: var(--top-section-space);
    font-family: var(--top-font-sans);
}

#main.top-renewal-page #continue.globaltop #sec_brand_banners > .secbox-inner {
    display: grid;
    gap: 24px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

#main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-banner {
    display: grid;
    grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
    min-height: 280px;
    overflow: hidden;
    border: 1px solid var(--top-border);
    border-radius: var(--top-radius);
    background: var(--top-surface);
    color: var(--top-text);
    text-decoration: none;
    text-align: left;
}

#main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-photo {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: 360px;
    margin: 0;
    object-fit: cover;
}

#main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-copy {
    align-self: center;
    min-width: 0;
    padding: 32px 48px;
}

#main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-title {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font-family: var(--top-font-serif);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: .08em;
    text-align: left;
}

#main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-title::after {
    content: none;
}

#main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-logo {
    display: block;
    width: 300px;
    max-width: 100%;
    height: auto;
    margin: 0;
    filter: brightness(0) invert(1);
}

#main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-label {
    margin: 0 0 8px;
    color: var(--top-accent);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .12em;
    text-align: left;
}

#main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-description {
    margin: 16px 0 0;
    padding: 0;
    color: inherit;
    font-size: 14px;
    line-height: 1.9;
    text-align: left;
}

#main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 20px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: var(--top-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
}

#main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-banner:hover .top-brand-button {
    text-decoration: none;
}

/* ボタンの背景は固定し、文字と矢印だけを一緒に動かす。 */
#main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-button > span {
    transition: transform .2s ease;
}

#main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-button:hover > span {
    transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
    #main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-button > span {
        transition: none;
    }
}

#main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-banner:focus-visible {
    outline: 3px solid var(--top-accent);
    outline-offset: 4px;
}

#main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-banner--fine {
    grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
    background: #071d29;
    color: #fff;
}

#main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-banner--fine .top-brand-button {
    background: #fff;
    color: #203751;
}

#main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-banner--outlet .top-brand-title {
    color: var(--top-gold);
}

#main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-banner--story .top-brand-title {
    font-size: clamp(24px, 2.4vw, 30px);
}

@media only screen and (min-width: 851px) {
    #main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-banner--story .top-brand-photo {
        object-position: left center;
    }
}

@media only screen and (max-width: 850px) {
    #main.top-renewal-page #continue.globaltop #sec_brand_banners > .secbox-inner {
        gap: 20px;
    }

    #main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-copy {
        padding: 24px;
    }
}

@media only screen and (max-width: 600px) {
    #main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-banner {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }

    #main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-photo {
        grid-row: 1;
        height: 160px;
    }

    #main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-copy {
        grid-row: 2;
    }

    #main.top-renewal-page #continue.globaltop #sec_brand_banners .top-brand-description br {
        display: none;
    }
}

/* 自動出力のHTML構造をそのまま使用。PCは新着ワインに揃えた縦型カード5列、SPは横スクロール。 */
#main.top-renewal-page #continue.globaltop #generate_recommendTop {
    min-width: 0;
    margin-top: var(--top-section-space);
    background: var(--top-surface);
    font-family: var(--top-font-sans);
}

#main.top-renewal-page #continue.globaltop #generate_recommendTop #recommendTop {
    margin: 0;
    padding: 32px var(--top-gutter);
}

#main.top-renewal-page #continue.globaltop #generate_recommendTop .secbox-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

#main.top-renewal-page #continue.globaltop #generate_recommendTop .clmbox {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

/* 見出し・補足文は他セクションと共通のルールを使用する。 */
#main.top-renewal-page #continue.globaltop #generate_recommendTop .sec_box-title br {
    display: none;
}

#main.top-renewal-page #continue.globaltop #generate_recommendTop .itemlist {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

#main.top-renewal-page #continue.globaltop #generate_recommendTop .itemlist > li {
    float: none;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
}

#main.top-renewal-page #continue.globaltop #generate_recommendTop .itemlist > li > a {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-items: stretch;
    gap: 12px;
    height: 100%;
    box-sizing: border-box;
    padding: 14px;
    border: 1px solid var(--top-border);
    border-radius: var(--top-radius);
    background: #fff;
    color: var(--top-text);
    text-decoration: none;
}

#main.top-renewal-page #continue.globaltop #generate_recommendTop .item_img {
    position: relative;
    width: 100%;
    min-width: 0;
    height: clamp(180px, 18vw, 240px);
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
}

#main.top-renewal-page #continue.globaltop #generate_recommendTop .item_img > span {
    display: block;
    height: 100%;
}

#main.top-renewal-page #continue.globaltop #generate_recommendTop .item_img img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-height: none;
    margin: 0;
    object-fit: contain;
}

#main.top-renewal-page #continue.globaltop #generate_recommendTop .item_info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    min-width: 0;
    padding: 0;
    font-family: var(--top-font-sans);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.7;
    text-align: left;
}

#main.top-renewal-page #continue.globaltop #generate_recommendTop .item_price .icon {
    display: inline-block;
    margin: 0;
    padding: 2px 6px;
    border: 1px solid var(--top-border);
    border-radius: 4px;
    background: #fff;
    color: var(--top-accent);
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}


#main.top-renewal-page #continue.globaltop #generate_recommendTop .additional_text:empty {
    display: none;
}

#main.top-renewal-page #continue.globaltop #generate_recommendTop .item_price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    margin: 0;
    padding-top: 0;
}

#main.top-renewal-page #continue.globaltop #generate_recommendTop .item_price .-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px;
    color: var(--top-accent);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

#main.top-renewal-page #continue.globaltop #generate_recommendTop .zeikomi {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
}

#main.top-renewal-page #continue.globaltop #generate_recommendTop .icons {
    display: flex;
    flex-wrap: wrap;
    order: 1;
    gap: 6px;
}

@media only screen and (max-width: 850px) {
    #main.top-renewal-page #continue.globaltop #generate_recommendTop #recommendTop {
        padding: 28px 0;
    }

    #main.top-renewal-page #continue.globaltop #generate_recommendTop .sec_box-title {
        padding: 0 var(--top-gutter);
    }

    #main.top-renewal-page #continue.globaltop #generate_recommendTop .itemlist {
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: clamp(156px, 40vw, 240px);
        gap: 12px;
        box-sizing: border-box;
        padding: 4px var(--top-gutter) 12px;
        justify-content: start;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x proximity;
        scroll-padding-inline: var(--top-gutter);
        -webkit-overflow-scrolling: touch;
    }

    #main.top-renewal-page #continue.globaltop #generate_recommendTop .itemlist > li {
        scroll-snap-align: start;
    }

    #main.top-renewal-page #continue.globaltop #generate_recommendTop .itemlist > li > a {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto 1fr;
        gap: 16px;
        padding: 12px;
    }

    #main.top-renewal-page #continue.globaltop #generate_recommendTop .item_img {
        height: auto;
        min-height: 0;
        aspect-ratio: 2 / 3;
    }

    #main.top-renewal-page #continue.globaltop #generate_recommendTop .item_info {
        gap: 8px;
        padding: 0;
        font-size: 14px;
    }
}
