/* =========================
   PRODUCT HERO
========================= */
.product-hero {
    padding: 40px 0 100px;
    background: #fff;
}

#october-limited {
    scroll-margin-top: 80px;
}

.product-hero-heading {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto 35px;
}

.product-hero-heading .section-en {
    margin-bottom: 18px;
    font-size: 14px;
    letter-spacing: 0.16em;
    color: #8a8f82;
}

.product-hero-heading h1 {
    margin: 0 0 18px;
    font-size: 34px;
    font-weight: 500;
    line-height: 1.6;
    letter-spacing: 0.04em;
    color: #4f5a49;
}

.product-hero-lead {
    position: relative;
    top: -10px;
    margin: 0;
    font-size: 16px;
    line-height: 1.9;
    color: #767d72;
}

/* =========================
   ASSORTMENT
========================= */

#assortment {
    scroll-margin-top: 350px;
}

.assortment-wrap {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    align-items: start;
    gap: 35px;
}

.assortment-image {
    width: 100%;
    margin-top: 15px;
}

.assortment-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
}

.assortment-info {
    max-width: 460px;
}

.assortment-small-title {
    margin: 0 0 6px;
    font-size: 13px;
    letter-spacing: 0.18em;
    color: #8a8f82;
}

.assortment-info h2 {
    margin: -15px 0 0;
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 0.04em;
    color: #5B3826;
}

.assortment-jp {
    margin: 4px 0 16px;
    font-size: 14px;
    color: #767d72;
}

.assortment-sub {
    transform: translateY(-10px);
}

.assortment-price .tax {
    position: relative;
    top: 2px;
}

/* =========================
   FEATURES
========================= */

.product-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    position: relative;
    margin-bottom: 0px;
    top: 10px;
}

.product-feature {
    min-width: 125px;
    padding: 10px 16px;
    border: 1px solid rgba(91, 56, 38, 0.18);
    background: #f7f4eb;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-feature .feature-en {
    display: block;
    margin-bottom: 3px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    line-height: 1.2;
    color: #5B3826;
}

.product-feature .feature-jp {
    display: block;
    font-size: 11px;
    line-height: 1;
    margin-top: -3px;
    color: #767d72;
}

.assortment-description,
.assortment-detail,
.assortment-price {
    position: relative;
    top: 18px;
}

.product-feature.caffeine-free {
    border-color: rgba(79, 90, 73, 0.35);
    background: rgba(234, 239, 229, 0.8);
}

.product-feature.caffeine-free .feature-en {
    color: #4f5a49;
    font-size: 13px;
}

.caffeine-note strong {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    color: #767d72;
}

.product-feature:first-child {
    background: #eee4d6;
}

/* =========================
   DESCRIPTION
========================= */

.assortment-description {
    margin: 0 0 30px;
    font-size: 15px;
    line-height: 2;
    color: #767d72;
}

.assortment-detail {
    padding: 20px 0;
    border-top: 1px solid rgba(91, 56, 38, 0.15);
    border-bottom: 1px solid rgba(91, 56, 38, 0.15);
}

.assortment-detail>div {
    display: flex;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 8px;
}

.assortment-detail>div:last-child {
    margin-bottom: 0;
}

.detail-label {
    width: 70px;
    font-size: 13px;
    color: #8a8f82;
}

.detail-value {
    font-size: 14px;
    color: #4f5a49;
}

.assortment-price {
    margin: 28px 0 24px;
    font-size: 28px;
    letter-spacing: 0.04em;
    color: #5B3826;
    display: flex;
    align-items: center;
}

.assortment-price span {
    font-size: 13px;
    color: #767d72;
}

.price-gift {
    margin-left: 18px;
    padding: 6px 12px;
    border: 1px solid rgba(91, 56, 38, 0.12);
    background: #f8f4ee;
    color: #767d72;
    font-size: 11px;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.hm-caption-gift-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.hm-caption-gift-row .caffeine-note {
    flex: 1;
    min-width: 0;
}

.hm-caption-gift-row .price-gift {
    flex-shrink: 0;
    margin-left: 0;
    margin-bottom: 0;
}

.product-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    padding: 15px 40px;
    border: 1px solid #5B3826;
    border-radius: 28px;
    background: #5B3826;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
    margin-top: 20px;
}

.product-buy-button:hover {
    background: #829274;
    border-color: #829274;
    color: #fff;
}

.caffeine-note {
    margin-top: 18px;
    padding-left: 16px;
    border-left: 2px solid #8a9a7c;
    font-size: 12px;
}

.caffeine-note strong {
    font-size: 13px;
    letter-spacing: 0.12em;
}

/* =========================
   SINGLE PRODUCTS
========================= */

.single-products {
    padding: 90px 0 110px;
    background-image: url("../images/背景.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
    scroll-margin-top: 180px;
}

.single-products-heading {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto 45px;
    text-align: center;
    transform: translateY(-20px);
}

.single-products-heading h2 {
    margin: 0 0 10px;
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #5B3826;
}

.single-products-heading p {
    margin: 0;
    font-size: 15px;
    letter-spacing: 0.08em;
    color: #767d72;
}

.single-products-list {
    width: min(1320px, calc(100% - 40px));
    gap: 12px;
    transform: translateY(-170px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.single-card {
    position: relative;
    aspect-ratio: 2 / 4.8;
    text-align: center;
    transform: scale(1.3);
    transform-origin: center top;
    min-height: 500px;
    overflow: visible;
    cursor: pointer;
    transition: transform 0.25s ease;
}

.single-card-base,
.single-card-tape,
.single-flavor-image,
.single-card-content h3,
.single-name-jp,
.single-card-decoration,
.single-product-image {
    transition: translate 0.25s ease;
}

.single-card:hover .single-card-base,
.single-card:hover .single-card-tape,
.single-card:hover .single-flavor-image,
.single-card:hover .single-card-content h3,
.single-card:hover .single-name-jp,
.single-card:hover .single-card-decoration,
.single-card:hover .single-product-image {
    translate: 0 -5px;
}

.single-card:hover .single-card-base {
    filter: drop-shadow(0 8px 10px rgba(91, 56, 38, 0.16));
}

.single-card-base {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 65%;
    object-fit: fill;
    z-index: 1;
}

.single-card-tape {
    position: absolute;
    top: 110px;
    left: 50%;
    display: block;
    width: 90px;
    height: auto;
    transform: translateX(-50%);
    z-index: 10;
}

.single-card:nth-child(1) .single-card-tape {
    transform: translateX(-50%) rotate(-6deg);
}

.single-card:nth-child(2) .single-card-tape {
    transform: translateX(-50%) rotate(4deg);
}

.single-card:nth-child(3) .single-card-tape {
    transform: translateX(-50%) rotate(-3deg);
}

.single-card:nth-child(4) .single-card-tape {
    transform: translateX(-50%) rotate(5deg);
}

.single-card:nth-child(5) .single-card-tape {
    transform: translateX(-50%) rotate(-7deg);
}

.single-card-content {
    position: absolute;
    inset: 0;
    padding: 70px 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateY(95px) scale(0.9);
    z-index: 2;
    transform-origin: center top;
}

.single-product-image {
    width: 120px;
    height: 85px;
    object-fit: contain;
    margin-bottom: 8px;
    transform: none;
    position: relative;
    top: -13px;
}

.single-card-content h3 {
    margin: 0 0 5px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.15;
    color: #5B3826;
}

.single-name-jp {
    margin: 0 0 12px;
    font-size: 11px;
    line-height: 1.5;
    color: #767d72;
}

.single-flavor-image {
    width: 58%;
    height: 135px;
    object-fit: contain;
    margin: 0 0 4px;
}

.single-card-decoration {
    --left-color: #c7d96f;
    --right-color: #f4a340;
    width: 74px;
    height: 10px;
    margin: -5px auto 12px;
    flex-shrink: 0;
    background:
        linear-gradient(var(--left-color), var(--left-color)) left center / 28px 2px no-repeat,
        linear-gradient(var(--right-color), var(--right-color)) right center / 28px 2px no-repeat,
        conic-gradient(from 90deg,
            var(--left-color) 0deg 180deg,
            var(--right-color) 180deg 360deg) center center / 8px 8px no-repeat;
}

.single-orange {
    --left-color: #C7D96F;
    --right-color: #F4A340;
}

.single-peach {
    --left-color: #C9B7F0;
    --right-color: #F6C1B8;
}

.single-lemon {
    --left-color: #B7E3C1;
    --right-color: #FFF2A8;
}

.single-apple {
    --left-color: #FDE4B4;
    --right-color: #F5A9B8;
}

.single-strawberry {
    --left-color: #C96F73;
    --right-color: #F8DDE2;
}

.single-volume {
    margin: 10px 0 7px;
    font-size: 10px;
    letter-spacing: 0.08em;
    color: #767d72;
}

.single-price {
    display: grid;
    grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr);
    align-items: baseline;
    width: 70%;
    margin: 0 0 10px;
    font-size: 19px;
    color: #5B3826;
    white-space: nowrap;
    transform: translateX(-10px);
}

.single-price::before {
    content: "";
}

.single-price span {
    position: relative;
    top: -2px;
    margin-left: -5px;
    padding: 0;
    font-size: 10px;
    color: #767d72;
    transform: none;
}

.single-buy-button {
    width: 70%;
    padding: 9px 8px;
    border: 1px solid rgba(91, 56, 38, 0.45);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    letter-spacing: 0.05em;
    color: #5B3826;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease;
}

a.single-buy-button {
    display: inline-block;
    box-sizing: border-box;
    text-align: center;
    text-decoration: none;
}

.single-buy-button:hover {
    background: #5B3826;
    color: #fff;
}

/* =========================
   10月限定フレーバー
========================= */

.october-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.assortment-image .october-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.assortment-image .october-package {
    position: absolute;
    top: 56%;
    left: 70%;
    width: 34%;
    height: auto;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 12px 14px rgba(91, 56, 38, 0.22));
}

.october-wrap .product-feature {
    border-color: rgba(91, 56, 38, 0.35);
}

.october-wrap .product-feature:nth-child(1) {
    border-color: #c89b5b;
}

.october-wrap .product-feature:nth-child(2) {
    border-color: #a97b53;
}

.october-wrap .product-feature:nth-child(3) {
    border-color: #d1aa53;
}

.october-wrap .feature-en {
    color: #5B3826;
}

.october-wrap .feature-jp {
    color: #8a6a52;
}

.october-catch {
    position: absolute;
    right: 38px;
    bottom: 38px;
    margin: 0;
    color: #5B3826;
    font-size: 30px;
    line-height: 1.5;
    letter-spacing: 0.08em;
    font-weight: 500;
    text-align: right;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.65);
}

.october-only-note {
    margin: 20px 0 15px;
    color: #b36c35;
    font-size: 15px;
    letter-spacing: 0.08em;
}

.october-visual {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.october-bg {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.october-package {
    position: absolute;
    top: 50%;
    left: 52%;
    width: 28%;
    height: auto;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 12px 14px rgba(91, 56, 38, 0.22));
}

.october-wrap .product-feature.caffeine-free {
    background: rgba(139, 94, 60, 0.14);
}

.october-wrap {
    margin-top: 90px;
}

.october-wrap .caffeine-note {
    border-left-color: #8B5E3C;
    color: #7a5a46;
}

.october-wrap .caffeine-note strong {
    color: #5B3826;
}

/* =========================
   GOODS
========================= */

.goods-section {
    scroll-margin-top: 90px;
    padding: 100px 0 120px;
    background: #f8f5ef;
}

.goods-inner {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
}

.goods-heading {
    text-align: center;
    margin-bottom: 80px;
}

.goods-heading .section-en {
    margin-bottom: 12px;
    font-size: 13px;
    letter-spacing: 0.18em;
    color: #8a8f82;
}

.goods-heading h2 {
    margin: 0 0 18px;
    font-size: 34px;
    font-weight: 500;
    color: #4f5a49;
}

.goods-heading>p:last-child {
    margin: 0;
    line-height: 1.9;
    color: #767d72;
}

.goods-category {
    margin-bottom: 110px;
}

.goods-category:last-child {
    margin-bottom: 0;
}

.goods-category-heading {
    margin-bottom: 35px;
}

.goods-category-heading>p {
    margin: 0 0 8px;
    font-size: 12px;
    letter-spacing: 0.18em;
    color: #8a8f82;
}

.goods-category-heading h3 {
    margin: 0;
    font-size: 26px;
    font-weight: 500;
    color: #5B3826;
}

.goods-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.goods-card {
    padding: 20px 20px 26px;
    background: rgba(255, 255, 255, 0.65);
    text-align: center;
}

.goods-image {
    overflow: hidden;
    margin-bottom: 22px;
}

.goods-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.goods-en {
    margin: 0 0 6px;
    font-size: 11px;
    letter-spacing: 0.14em;
    color: #8a8f82;
}

.goods-card h4,
.goods-wide-info h4 {
    margin: 0 0 16px;
    font-size: 21px;
    font-weight: 500;
    color: #5B3826;
}

.goods-description {
    margin: 0 0 20px;
    font-size: 13px;
    line-height: 1.9;
    color: #767d72;
}

.goods-price {
    margin: 0 0 18px;
    font-size: 21px;
    color: #5B3826;
}

.goods-price span {
    position: relative;
    top: -2px;
    margin-left: -8px;
    font-size: 10px;
    color: #767d72;
}

.goods-set-note {
    margin: -75px 0 16px;
    font-size: 11px;
    color: #8a6a56;
}

.goods-buy-button {
    min-width: 70%;
    padding: 12px 18px;
    border: 1px solid rgba(91, 56, 38, 0.45);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.55);
    color: #5B3826;
    font-size: 12px;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.25s ease, color 0.25s ease;
}

.goods-buy-button:hover {
    background: #5B3826;
    color: #fff;
}

.eco-goods .goods-buy-button {
    background: #5b3826;
    border-color: #5b3826;
    color: #fff;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.eco-goods .goods-buy-button:hover {
    background: #829274;
    border-color: #829274;
    color: #fff;
}

.goods-grid-3 .goods-card .goods-buy-button {
    background: #5B3826;
    border-color: #5B3826;
    color: #fff;
    transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.goods-grid-3 .goods-card .goods-buy-button:hover {
    background: #829274;
    border-color: #829274;
    color: #fff;
}

.bottle-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 30px;
}

.bottle-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.goods-wide-info {
    max-width: 650px;
}

.bottle-gallery+.goods-wide-info {
    margin: 0 auto;
    text-align: center;
}

.eco-goods {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: stretch;
}

.goods-zoom {
    position: relative;
    cursor: zoom-in;
}

.eco-goods .goods-image {
    height: 100%;
    margin-bottom: 0;
}

.eco-goods .goods-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.eco-goods .goods-wide-info {
    align-self: start;
    padding-top: 0px;
}

.eco-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 40px;
}

.eco-photo-box {
    width: 100%;
    aspect-ratio: 1 / 2;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    overflow: hidden;
}

.eco-photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.eco-goods .goods-en {
    position: relative;
    top: -8px;
}

.eco-goods .goods-price {
    text-align: center;
}

.eco-goods .goods-buy-button {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* =========================
   ARRANGE RECIPE
========================= */

.recipe-section {
    padding: 100px 0 120px;
    background: #fff;
}

.recipe-inner {
    width: min(1200px, calc(100% - 80px));
    margin: 0 auto;
}

.recipe-heading {
    margin-bottom: px;
}

.recipe-heading .section-en {
    margin: 0 0 10px;
    font-size: 12px;
    letter-spacing: 0.18em;
    color: #8a8f82;
}

.recipe-heading h2 {
    margin: 0;
    font-size: 30px;
    font-weight: 500;
    color: #5B3826;
}

.recipe-image-box {
    width: 100%;
    overflow: hidden;
}

/* =========================
   RESPONSIVE
   全体縮小方式のためレイアウト変更なし
========================= */

/* ラッピング選択 */
.hm-wrapping-field {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 16px 0 22px;
    color: #5b3826;
    font-size: 14px;
}

.hm-wrapping-options {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.hm-wrapping-options label {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.hm-wrapping-options input {
    accent-color: #5b3826;
}

@media (max-width: 700px) {
    .hm-wrapping-field {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }

    /* アソート・限定商品の選択矢印を小さくする */
    #assortment .mood-tea-type-select,
    #october-limited .mood-tea-type-select {
        appearance: none;
        -webkit-appearance: none;
        padding-right: 26px;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235b3826' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 10px center;
        background-size: 12px 8px;
    }
}

/* MOODの購入欄（mood.html 冒頭のスタイル）をPRODUCTの2商品へ移植 */
#assortment .hm-left-product-detail,
#october-limited .hm-left-product-detail {
    margin-top: 22px;
    padding: 14px 16px;
    border-left: 2px solid #8a9a7c;
    color: #4f5a49;
}

#assortment .hm-left-detail-line,
#october-limited .hm-left-detail-line {
    display: flex;
    align-items: baseline;
    gap: 14px;
    margin-bottom: 10px;
}

#assortment .hm-left-detail-line .detail-label,
#october-limited .hm-left-detail-line .detail-label {
    flex: 0 0 54px;
    width: 54px;
}

#assortment .hm-left-detail-first .price-gift,
#october-limited .hm-left-detail-first .price-gift {
    margin-left: auto;
    flex-shrink: 0;
}

#assortment .hm-assort-buy-layout,
#october-limited .hm-assort-buy-layout {
    margin-top: 32px;
}

#assortment .hm-assort-title-price,
#october-limited .hm-assort-title-price {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

#assortment .hm-assort-product-name,
#october-limited .hm-assort-product-name {
    margin: 0;
    font-size: 18px;
    letter-spacing: .06em;
    color: #5b3826;
}

#assortment .hm-assort-title-price .assortment-price,
#october-limited .hm-assort-title-price .assortment-price {
    position: static;
    top: auto;
    margin: 0;
    font-size: 26px;
    white-space: nowrap;
}

/* MOODと同じ選択欄と数量の外枠 */
#assortment .mood-order-control,
#october-limited .mood-order-control {
    display: flex;
    align-items: stretch;
    width: 100%;
    min-width: 0;
    height: 42px;
    box-sizing: border-box;
    border: 1px solid #cfc4bc;
    border-radius: 4px;
    background: #faf7f3;
    overflow: hidden;
    gap: 0;
    transform: translateY(-6px);
}

#assortment .mood-tea-type,
#october-limited .mood-tea-type {
    display: flex;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
}

#assortment .mood-tea-type-select,
#october-limited .mood-tea-type-select {
    width: calc(100% + 8px);
    min-width: 0;
    height: 100%;
    padding: 0 8px 0 20px;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    color: #5b3826;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
    transform: translateX(-8px);
    outline: none;
    box-shadow: none;
}

/* MOODと同じ数量欄の幅・配置 */
#assortment .mood-quantity,
#october-limited .mood-quantity {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    gap: 8px;
    width: auto;
    min-width: max-content;
    max-width: none;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
    margin: 0;
    padding: 0 20px;
    border: none;
    border-radius: 0;
    background-color: #795548;
    color: #fff;
    font-size: 12px;
}

#assortment .mood-quantity-label,
#october-limited .mood-quantity-label {
    flex: 0 0 auto;
    white-space: nowrap;
}

#assortment .mood-quantity-stepper,
#october-limited .mood-quantity-stepper {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 0;
    width: auto;
    min-width: max-content;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
}

#assortment .mood-quantity-stepper button,
#october-limited .mood-quantity-stepper button {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    width: 30px;
    height: 32px;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

#assortment .mood-quantity-value,
#october-limited .mood-quantity-value {
    display: inline-block;
    flex: 0 0 22px;
    width: 22px;
    min-width: 22px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    text-align: center;
    font-size: 13px;
}

#assortment .hm-assort-buy-layout .product-buy-button,
#october-limited .hm-assort-buy-layout .product-buy-button {
    margin-top: 18px;
}

/* =========================
   ASSORTMENT / OCTOBER
   仕様・商品名・購入欄の配置
========================= */

#assortment.assortment-wrap,
#october-limited .assortment-wrap {
    align-items: stretch;
}

#assortment .assortment-image,
#october-limited .assortment-image {
    align-self: end;
}

#assortment .assortment-info,
#october-limited .assortment-info {
    height: 100%;
    min-height: 0;
}

#assortment .assortment-info,
#october-limited .assortment-info {
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    padding-top: 15px;
}

#assortment .hm-right-detail-line:first-child .detail-label,
#assortment .hm-right-detail-line:first-child .detail-value,
#october-limited .hm-right-detail-line:first-child .detail-label,
#october-limited .hm-right-detail-line:first-child .detail-value {
    translate: 0 10px;
}

#assortment .hm-right-product-detail,
#october-limited .hm-right-product-detail {
    position: relative;
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 20px;
    padding: 0 0 10px;
    border-bottom: 1px solid rgba(91, 56, 38, .15);
}

/* 内容量とタイプをつなぐ左側の縦線 */
#assortment .hm-right-product-detail::before,
#october-limited .hm-right-product-detail::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 20px;
    bottom: auto;
    height: 40px;
    width: 1px;
    background: #8a9a7c;
}

#assortment .hm-right-detail-line,
#october-limited .hm-right-detail-line {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 25px;
    margin: 0 0 3px;
    white-space: nowrap;
}

#assortment .hm-right-detail-line:last-child,
#october-limited .hm-right-detail-line:last-child {
    margin-bottom: 0;
}

#assortment .hm-right-detail-line .detail-label,
#october-limited .hm-right-detail-line .detail-label {
    flex: 0 0 48px;
    width: 48px;
    font-size: 12px;
    position: relative;
    left: 10px;
}

#assortment .hm-right-detail-line .detail-value,
#october-limited .hm-right-detail-line .detail-value {
    font-size: 12px;
}

#assortment .hm-right-detail-line .price-gift,
#october-limited .hm-right-detail-line .price-gift {
    position: relative;
    top: 28px;
    margin: 0 0 0 auto;
    padding: 6px 12px;
    font-size: 11px;
    flex-shrink: 0;
}

/* 商品名と価格はラッピング選択の直前に固定 */
#assortment .hm-assort-buy-layout,
#october-limited .hm-assort-buy-layout {
    margin-top: auto;
    padding-top: 0;
}

#assortment .hm-assort-title-price,
#october-limited .hm-assort-title-price {
    margin-bottom: 8px;
}

#assortment .assortment-description,
#october-limited .assortment-description {
    margin-bottom: 14px;
}

#assortment .hm-assort-buy-layout .product-buy-button,
#october-limited .hm-assort-buy-layout .product-buy-button {
    margin-top: 12px;
}

#assortment .hm-right-product-detail,
#october-limited .hm-right-product-detail {
    margin-bottom: 8px;
    padding-bottom: 6px;
}

#assortment .hm-assort-title-price,
#october-limited .hm-assort-title-price {
    margin-bottom: 4px;
}

/* 商品名・金額とラッピング選択欄の間隔をなくす */
#assortment .hm-assort-title-price,
#october-limited .hm-assort-title-price {
    margin: 0;
    padding: 0;
    align-items: center;
}

#assortment .hm-assort-title-price .assortment-price,
#october-limited .hm-assort-title-price .assortment-price {
    position: static;
    top: auto;
    margin: 0;
    padding: 0;
}

#assortment .hm-assort-purchase-row,
#october-limited .hm-assort-purchase-row {
    margin-top: 0;
}

/* アソートセットの画像と購入ボタンの下辺を揃える */
#assortment .assortment-image {
    margin-top: 0;
    height: 100%;
}

#assortment .assortment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#assortment .assortment-info {
    padding-top: 0;
}

#assortment .hm-assort-buy-layout {
    margin-top: auto;
}

#assortment .hm-assort-buy-layout .product-buy-button {
    margin-top: 12px;
}

/* アソートセットと10月限定の位置調整 */
#assortment .product-features,
#assortment .assortment-description,
#assortment .hm-assort-buy-layout,
#october-limited .product-features,
#october-limited .assortment-description,
#october-limited .hm-assort-buy-layout {
    transform: translateY(-1px);
}

#assortment .assortment-description,
#october-limited .assortment-description {
    translate: 0 20px;
}

#assortment .hm-right-product-detail,
#october-limited .hm-right-product-detail {
    translate: 0 -22px;
}

#assortment .hm-assort-title-price,
#october-limited .hm-assort-title-price {
    translate: 0 -12px;
}

/* ========================================
   PRODUCT スマホ用レスポンシブ
   PC版は変更しない
======================================== */

@media (max-width: 700px) {

    /* ===== ページ全体 ===== */

    .product-page-scale {
        width: 100% !important;
        max-width: 100%;
        zoom: 1 !important;
    }

    .product-hero {
        padding: 50px 0 65px;
    }

    .product-hero-heading,
    .assortment-wrap {
        width: calc(100% - 36px);
        max-width: 100%;
    }

    .product-hero-heading h1 {
        font-size: 27px;
        line-height: 1.6;
    }

    .product-hero-lead {
        font-size: 13px;
    }

    /* ===== アソート・10月限定 ===== */

    .assortment-wrap,
    #assortment.assortment-wrap,
    #october-limited .assortment-wrap {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
        align-items: start;
    }

    .assortment-image,
    #assortment .assortment-image,
    #october-limited .assortment-image {
        position: relative;
        width: 100%;
        height: auto;
        margin-top: 0;
        align-self: auto;
    }

    #assortment .assortment-image>img {
        position: static;
        inset: auto;
        display: block;
        width: 100%;
        height: auto;
        object-fit: contain;
    }

    .assortment-info,
    #assortment .assortment-info,
    #october-limited .assortment-info {
        display: block;
        width: 100%;
        max-width: 100%;
        height: auto;
        padding-top: 0;
        min-width: 0;
    }

    .assortment-info h2 {
        margin-top: 0;
        font-size: 27px;
    }

    .assortment-sub {
        transform: none;
    }

    .product-features {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        top: 0;
        margin: 18px 0;
    }

    .product-feature {
        min-width: 0;
        padding: 12px 6px;
    }

    .product-feature:last-child {
        grid-column: 1;
        justify-self: stretch;
        width: 100%;
        box-sizing: border-box;
    }

    .assortment-description,
    #assortment .assortment-description,
    #october-limited .assortment-description {
        position: static;
        top: auto;
        margin: 15px 0 0;
        font-size: 13px;
        line-height: 2;
        transform: none;
        translate: none;
    }


    /* ===== 内容量・タイプ・ラッピング対応 ===== */

    #assortment .hm-right-product-detail,
    #october-limited .hm-right-product-detail {
        position: relative;
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr) max-content;
        column-gap: 8px;
        row-gap: 10px;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 14px;
        padding: 5px 0 10px 10px;
        translate: none;
    }

    #assortment .hm-right-detail-line,
    #october-limited .hm-right-detail-line {
        display: contents;
    }

    #assortment .hm-right-detail-line .detail-label,
    #october-limited .hm-right-detail-line .detail-label {
        grid-column: 1;
        position: static;
        left: auto;
        width: auto;
        min-width: 0;
        font-size: 12px;
    }

    #assortment .hm-right-detail-line .detail-value,
    #october-limited .hm-right-detail-line .detail-value {
        grid-column: 2;
        min-width: 0;
        font-size: 12px;
        line-height: 1.7;
        overflow-wrap: anywhere;
    }

    /* 内容量は1行目 */
    #assortment .hm-right-detail-line:first-child .detail-label,
    #assortment .hm-right-detail-line:first-child .detail-value,
    #october-limited .hm-right-detail-line:first-child .detail-label,
    #october-limited .hm-right-detail-line:first-child .detail-value {
        grid-row: 1;
        translate: none;
    }

    /* タイプは2行目 */
    #assortment .hm-right-detail-line:last-child .detail-label,
    #assortment .hm-right-detail-line:last-child .detail-value,
    #october-limited .hm-right-detail-line:last-child .detail-label,
    #october-limited .hm-right-detail-line:last-child .detail-value {
        grid-row: 2;
    }

    /* ラッピング対応は2行目の右端 */
    #assortment .hm-right-detail-line .price-gift,
    #october-limited .hm-right-detail-line .price-gift {
        grid-column: 3;
        grid-row: 2;
        justify-self: end;
        align-self: center;
        position: static;
        top: auto;
        right: auto;
        margin: 0;
        padding: 5px 7px;
        width: fit-content;
        max-width: 100%;
        box-sizing: border-box;
        font-size: 9px;
        line-height: 1.4;
        text-align: center;
        white-space: normal;
        transform: none;
        translate: none;
    }

    /* 左側の縦線 */
    #assortment .hm-right-product-detail::before,
    #october-limited .hm-right-product-detail::before {
        content: "";
        position: absolute;
        top: 5px;
        left: 3px;
        bottom: 10px;
        width: 1px;
        height: auto;
        background: #8a9a7c;
    }


    #assortment .hm-assort-buy-layout,
    #october-limited .hm-assort-buy-layout {
        margin-top: 12px;
        transform: none;
    }

    #assortment .hm-assort-title-price,
    #october-limited .hm-assort-title-price {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        translate: none;
    }

    #assortment .hm-assort-title-price .assortment-price,
    #october-limited .hm-assort-title-price .assortment-price {
        font-size: 24px;
        white-space: normal;
        translate: none;
    }

    #assortment .mood-order-control,
    #october-limited .mood-order-control {
        width: 100%;
    }

    #assortment .mood-quantity,
    #october-limited .mood-quantity {
        padding: 0 5px;
        gap: 2px;
    }

    #assortment .mood-quantity-stepper button,
    #october-limited .mood-quantity-stepper button {
        flex-basis: 25px;
        width: 25px;
    }

    #assortment .hm-assort-buy-layout .product-buy-button,
    #october-limited .hm-assort-buy-layout .product-buy-button {
        width: 100%;
        margin-top: 20px;
    }

    .october-wrap {
        margin-top: 35px;
    }

    /* ===== 5種類の単品カード ===== */

    .single-products {
        width: 100%;
        padding: 55px 0 70px;
    }

    .single-products-heading {
        width: calc(100% - 36px);
        margin: 0 auto 20px;
        transform: none;
    }

    .single-products-heading h2 {
        font-size: 24px;
        line-height: 1.6;
    }

    .single-products-heading p {
        font-size: 13px;
    }

    .single-products-list {
        display: grid;
        grid-template-columns: minmax(0, 280px);
        justify-content: center;
        width: 100%;
        gap: 12px;
        margin: 0 auto;
        transform: none;
    }

    /* 背景・テープ・商品情報を同じ基準で配置 */

    /* ===== スマホ用 単品カード ===== */


    /* ===== スマホ用 単品カード ===== */

    .single-card {
        position: relative;
        width: 280px;
        height: 520px;
        min-height: 0;
        aspect-ratio: auto;
        margin: 0 auto;
        transform: none;
        overflow: visible;
    }

    /* カード背景を商品画像の下までにする */
    .single-card-base {
        position: absolute;
        top: 56px;
        left: 50%;
        width: 250px;
        height: 340px;
        object-fit: fill;
        transform: translateX(-50%);
        z-index: 1;
    }

    /* テープの位置はそのまま */
    .single-card-tape {
        top: 65px;
        z-index: 3;
    }

    /* パッケージ・商品名・ハーブ画像 */

    .single-card-content {
        position: absolute;
        inset: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        box-sizing: border-box;
        padding: 113px 20px 0;
        transform: none;
        z-index: 2;
    }


    .single-flavor-image {
        width: 58%;
        height: 110px;
        object-fit: contain;
        margin: 0 0 4px;
    }

    .single-card-content h3 {
        margin: 0 0 4px;
        font-size: 16px;
        line-height: 1.2;
        text-align: center;
    }

    .single-name-jp {
        margin: 0 0 7px;
        font-size: 11px;
        line-height: 1.4;
        text-align: center;
    }

    .single-card-decoration {
        margin: -5px auto 6px;
    }

    .single-product-image {
        position: relative;
        top: 0;
        width: 110px;
        height: 75px;
        object-fit: contain;
        margin-bottom: 4px;
    }

    /* 内容量：カードの外 */
    .single-volume {
        position: absolute;
        top: 390px;
        bottom: auto;
        left: 0;
        width: 100%;
        margin: 0;
        text-align: center;
    }

    /* 金額：内容量の下 */

    .single-price {
        position: absolute;
        top: 414px;
        bottom: auto;
        left: 50%;
        display: flex;
        justify-content: center;
        align-items: baseline;
        gap: 0;
        width: 85%;
        margin: 0;
        font-size: 19px;
        text-align: center;
        white-space: nowrap;
        transform: translateX(-50%);
    }

    .single-price::before {
        content: none;
    }

    .single-price span {
        position: relative;
        top: -2px;
        left: 0;
        margin-left: 2px;
        padding: 0;
        font-size: 10px;
        transform: none;
    }


    .single-price::before {
        content: "";
    }

    .single-price span {
        position: relative;
        top: -2px;
        left: 0;
        margin-left: -5px;
        padding: 0;
        font-size: 10px;
        transform: none;
    }

    /* 詳しく見る：カードの外 */
    .single-buy-button {
        position: absolute;
        top: 452px;
        bottom: auto;
        left: 50%;
        display: inline-block;
        box-sizing: border-box;
        width: 72%;
        margin: 0;
        padding: 9px 8px;
        flex-shrink: 0;
        text-align: center;
        transform: translateX(-50%);
    }


    /* スマホではホバーによる位置移動をなくす */

    .single-card:hover .single-card-base,
    .single-card:hover .single-card-tape,
    .single-card:hover .single-flavor-image,
    .single-card:hover .single-card-content h3,
    .single-card:hover .single-name-jp,
    .single-card:hover .single-card-decoration,
    .single-card:hover .single-product-image {
        translate: none;
    }

    /* ===== グッズ ===== */

    .goods-section {
        padding: 70px 0 80px;
    }

    .goods-inner {
        width: calc(100% - 36px);
    }

    .goods-heading {
        margin-bottom: 50px;
    }

    .goods-heading h2 {
        font-size: 25px;
    }

    .goods-category {
        margin-bottom: 70px;
    }

    .goods-category-heading h3 {
        font-size: 21px;
        line-height: 1.6;
    }

    .goods-grid-3 {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .bottle-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .eco-goods {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .eco-goods .goods-image {
        height: auto;
    }

    .eco-goods .goods-image img {
        height: auto;
    }

    .eco-photo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }

    /* ===== レシピ ===== */

    .recipe-section {
        padding: 65px 0 80px;
    }

    .recipe-inner {
        width: calc(100% - 36px);
    }

    .recipe-heading h2 {
        font-size: 24px;
    }

    .recipe-image-box img {
        display: block;
        width: 100%;
        height: auto;
    }
}

@media (max-width: 380px) {

    #assortment .hm-right-detail-line,
    #october-limited .hm-right-detail-line {
        grid-template-columns: 48px minmax(0, 1fr);
    }

    #assortment .hm-right-detail-line .price-gift,
    #october-limited .hm-right-detail-line .price-gift {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
    }
}

/* スマホの商品見出しを1行にする */
@media (max-width: 700px) {

    .single-products-heading h2,
    .goods-category-heading h3 {
        font-size: clamp(14px, 4.3vw, 25px);
        letter-spacing: -0.03em;
        white-space: nowrap;
        text-wrap: nowrap;
    }

}