/* layout */

/* title_and_lead */
.mv_inner p{
    font-size: 1.6rem;
}

.main-title{
    font-size: 2rem;
}

.main-introduction{
    padding: 20px 0;
    line-height: 1.8;
    font-size: 1.5rem;
    font-weight: bold;
}

.main-introduction br{
    display: none;
}

.sp-title {
    position: relative;
    margin-bottom: 40px;
    line-height: 1.4;
    font-size: 2rem;
    background: #fff1d6;
    color: #503e35;
    text-align: center;
    padding: 10px;
}

.sp-subtitle{
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f9d3c0;
    font-size: 2.2rem;
}

@media (min-width: 768px){
    .main-introduction{
        font-size: 1.7rem;
        text-align: center;
    }

    .main-introduction br{
        display: block;
    }

    .sp-title{
        font-size: 3rem;
    }
    .sp-subtitle{
        margin: -100px 0 30px;
        padding: 100px 0 10px;
    }
}

/* anchor-link */
.anchor_wrap{
    padding-bottom: 50px;
}

.anchor_title{
    padding-bottom: 10px;
    font-size: 2.3rem;
    font-weight: bold;
}

.anchor_list{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.anchor_list > li{
    width: 100%;
}

.anchor_list > li a {
    position: relative;
    box-sizing: border-box;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 3px solid #f9d3c0;
    border-radius: 5px;
    padding: 15px;
    color: #222;
    text-align: center;
    transition: all 0.2s;
    flex-direction: column;
}

.anchor_list > li a:after{
    content: '';
    position: absolute;
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    right:10px;
    border-bottom: 3px solid #f9d3c0;
    border-right: 3px solid #f9d3c0;
    transition: transform .5s;
}


.anchor_list > li img{
    width: 50px;
}

.anchor_list > li span{
    font-size: 1.4rem;
    font-weight: bold;
}

.anchor_list > li a:hover{
    opacity: 0.7;
}

@media (min-width: 768px){
    .anchor_list > li{
        width: calc((100% - 40px) / 5);
    }

    .anchor_title:before {
        display: inline-block;
        content: "";
        width: 23px;
        margin-right: 1rem;
        height: 23px;
        background: url(/html/user_data/assets/img/common/ico_search_bk.svg) no-repeat;
    }
}

/* product_list */
.block-product__list{
    display: flex;
    flex-wrap: wrap;
    gap: 40px 20px;
    /* padding-bottom: 100px; */
}

.block-product__list li {
    width: calc((100% - 20px) / 2);
}

.block-product__list li a{
    display: flex;
    flex-direction: column;
    height: 100%;
}

.block-items__item__info{
    display: flex;
    flex-direction: column;
}
.block-product__desc {
    color: #888888;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    line-height: 1.5;
    font-size: 1.1rem;
    margin-top: auto;
    margin-bottom: 15px;
}

.block-product__list li .block-items__item__name{
    text-decoration: none;
    font-weight: bold;
}
.block-items__item__price--unit {
    font-size: 2.4rem;
}

.block-product__link-btn {
    display: none;
}

.block-product__link-btn:after {
    content: "";
    position: absolute;
    top: 46%;
    right: 15px;
    width: 7px;
    height: 7px;
    border-bottom: 2px solid;
    border-right: 2px solid;
    border-color: #fff;
    transform: rotate(-45deg) translate(0, -50%);
}

.more_link_wrap {
    margin: 50px 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.more_link_wrap a {
    position: relative;
    box-sizing: border-box;
    width: 450px;
    margin: auto;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 3px solid #f9d3c0;
    border-radius: 50px;
    padding: 15px 30px 10px 15px;
    color: #222;
    text-align: center;
    transition: all 0.2s;
    line-height: 1.4;
    font-size: 16px;
    font-weight: bold;
}

.more_link_wrap a:after{
    content: '';
    position: absolute;
    transform: translateY(-25%) rotate(-45deg);
    width: 10px;
    height: 10px;
    right: 25px;
    border-bottom: 3px solid #f9d3c0;
    border-right: 3px solid #f9d3c0;
    transition: transform .5s;
}

.more_link_wrap a:hover{
    opacity: 0.7;
}

@media (min-width: 768px) {
    .block-product__list li{
        width: calc((100% - 40px) / 2);
    }
}

@media (min-width: 1024px) {
    .block-product__list li{
        width: calc((100% - 60px) / 4);
    }

    .block-items__item__price--unit {
        font-size: 1.8rem;
    }
    .block-product__desc {
        font-size: 1.2rem;
    }
}

/* Point */
.novelty-tips {
    margin: 0 auto 50px;
    padding: 5%;
    background: #eeeeee;
    border-radius: 12px;
    font-size: 1.3em;
}

.novelty-tips h2 {
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 2em;
    color: #2c3e50;
}

.tip {
    margin-bottom: 2em;
    background: #fff;
    padding: 1em 1.5em;
    border-left: 5px solid #f9d3c0;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.tip h3 {
    font-size: 1.6rem;
    margin-bottom: 0.5em;
    color: #e35900;
    line-height: 1.3;
}

.tip h3 span {
    font-weight: bold;
    font-size: 3rem;
    margin-right: 0.5em;
    color: #e35900;
}

.tip p br {
    display: none;
}

@media (min-width: 768px) {
    .tip h3 {
        font-size: 2rem;
    }

    .tip p br {
        display: block;
    }
}

/* press */
.press_visit{
    margin-bottom: 50px;
}

.press_visit a{
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    color: #222;
    border: 1px solid #ccc;
    padding: 15px;
}

.press_visit a:hover{
    opacity: 0.7;
}

.press_visit .tag--new{
    font-size:1.3rem;
}

.press_visit h3{
    margin-top: 10px;
    font-size: 1.8rem;
}

@media (min-width: 768px) {
    .press_visit a{
        flex-direction: row;
    }
    .press_visit img{
        width: 300px;
    }
    .press_visit .press_text{
        width: calc(100% - 300px);
    }
}

/* sidenavi */
#side_navi{
    display: none;
}

@media screen and (min-width: 1400px) and (min-height: 550px){
    /* 初期表示はサイドメニューが表示された状態 */
    #side_navi {
        position: fixed;
        display: block;
        z-index: 100;
        right: -130px; 
        bottom: 80px;
        transition: all 0.3s ease; 
    }

    /* 非表示時のスタイル */
    #side_navi.hidden {
        right: -130px;
    }

    #side_navi.visible{
        right: -130px; 
    }

    #side_navi.visible.hidden{
        right: 0; 
    }
    
    /* トグルボタンのスタイル */
    .toggle-btn {
        position: absolute;
        left: -34px;
        top: 50%;
        transform: translateY(-50%);
        background-color: #efefef;
        border: 1px solid #dfdfdf;
        border-radius: 5px 0 0 5px;
        border-right: none;
        padding: 25px 10px;
        cursor: pointer;
        z-index: 1000;
        transition: all 0.3s ease;
        font-size: 1.4rem;
    }

    #side_navi .toggle-btn {
        opacity: 0;
        cursor: default;
    }

    #side_navi.visible .toggle-btn,
    #side_navi.visible.hidden .toggle-btn{
        opacity: 1;
        cursor: pointer;
    }

    .item_navi {
        position: relative;
        border-radius: 10px 0 0 10px;
        width: 130px;
        padding: 15px 10px;
        text-align: center;
        background: #efefef;
        border: 1px solid #dfdfdf;
        border-right: none;
    }

    .snav li {
        margin-top: 7px;
        position: relative;
    }

    .snav li a {
        display: flex;
        align-items: center;
        position: relative;
        color: #222;
        padding: 2px 2px 2px 14px;
        min-height: 30px;
        border: 1px solid #b3b3b3;
        border-radius: 5px;
        background: #fff;
        line-height: 1.3;
        font-size: 1rem;
        font-weight: bold;
        text-align: left;
        transition: all 0.2s;
    }

    .snav li a:before{
        content: "";
        position: absolute;
        top: 39%;
        left: 5px;
        color: #bf0000;
        border-style: solid;
        border-color: transparent;
        border-width: 0.35em 0.5em;
        border-right-color: currentColor;
        border-left: 0;
    }

    .snav li a:hover {
        color: #fff;
        background: #bf0000;
    }

    .snav li a.active {
        color: #fff;
        background: #bf0000;
    }

    .section-navi{
        margin-top: -100px;
        padding-top: 110px;
    }
}
@media screen and (min-width: 1500px) and (min-height: 650px){
    #side_navi {
        right: -150px; 
    }
    
    /* 非表示時のスタイル */
    #side_navi.hidden {
        right: -150px;
    }

    #side_navi.visible{
        right: -150px; 
    }

    .item_navi {
        width: 150px;
        padding: 15px 10px;
    }

    .snav li {
        margin-top: 7px;
    }

    .snav li a {
        padding: 4px 5px 4px 17px;
        min-height: 35px;
        font-size: 1.2rem;
    }
}

@media screen and (min-width: 1400px) and (min-height: 550px) {
    .section-navi {
        margin-top: -90px;
        padding-top: 100px;
    }
}

/* タブ全体のコンテナ（薄いオレンジの背景） */
.tab-menu {
    display: flex;
    align-items: center;
    justify-content: space-around;
    /* background-color: #eee; */
    /* border-radius: 50px; */
    padding: 8px;
    list-style: none;
    margin: 20px 0;
    position: relative;
}

/* 各タブのスタイル */
.tab-item {
    flex: 1;
    text-align: center;
    padding: 12px 10px;
    cursor: pointer;
    color: #503e35;
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    transition: all 0.3s ease;
    border-radius: 40px;
    white-space: nowrap;
}

/* ホバーした時：背景を少し明るく、文字色をメインカラーに */
.tab-item:not(.active):hover {
    background-color: #f9d3c0; /* ほんのり赤みのある背景（サイトの色に合わせて調整してください） */
}

/* オプション：下からスッと線が出てくるアニメーション */
.tab-item::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #f9d3c0; 
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

/* アクティブ（選択中）のタブ（濃いオレンジ） */
.tab-item.active {
    background-color: #f9d3c0; /* 選択時の色（濃い目のオレンジ） */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* スマホ等で文字がはみ出る場合の調整 */
@media screen and (max-width: 480px) {
    .tab-item {
        font-size: 12px;
        padding: 10px 5px;
    }
}

/* コンテンツ表示の制御 */
.tab-panel {
    display: none;
}
.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@media screen and (max-width: 768px) {
    .tab-menu {
        flex-wrap: wrap; /* 折り返しを許可 */
        justify-content: center;
        border-radius: 20px; /* 少し角丸を緩める */
        padding: 10px;
        flex-direction: column;
    }
    
    .tab-item {
        flex: 0 1 calc(50% - 10px); /* 2カラムにする */
        margin: 5px;
        font-size: 12px;
        padding: 8px 5px;
        width: 100%;
    }
}

.content-footer {
padding-right: 0 !important;
padding-left: 0 !important;
}

/* PC: 4列並び */
.category-grid-menu {
    display: grid;
    grid-template-columns: repeat(5, 1fr); 
    gap: 12px;
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.category-card {
    cursor: pointer;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    background: #fff;
    transition: background 0.2s ease;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.category-card:hover {
    transform: translateY(-5px); /* 上に5px浮かせる */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1); /* 影を付けて立体感を出す */
    border-color: #f9d3c0; /* 枠線をメインカラーに変える（お好みで） */
}



.card-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    flex-direction: column;
}

.card-text {
    font-size: 14px;
    font-weight: bold;
    /* color: #333; */
    line-height: 1.3;
    text-align: center;
    margin-top: 10px;
}

/* 矢印アイコン */
.arrow-icon {
    width: 16px;
    height: 16px;
    background-color: #f9d3c0;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    margin-left: 5px;
}

.arrow-icon::after {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(135deg);
    position: absolute;
    top: 4px;
    left: 6px;
}

/* アクティブ状態 */
.category-card.active {
    background-color: #ff9900;
    border-color: #ff9900;
}

.category-card.active .card-text {
    color: #ffffff;
}
.category-card.active .arrow-icon { background-color: #fff; }
.category-card.active .arrow-icon::after { border-color: #f9d3c0; }

/* スマホ対応：2列 */
@media screen and (max-width: 768px) {
    .category-grid-menu {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .card-inner {
        padding: 8px 10px;
        min-height: 60px;
    }
    .card-text {
        font-size: 11px; /* スマホで1行に収まりやすくするため */
    }
}

.block-productlist__item-sp .desc-frame {
    padding: 8px;
    border: 1px solid #ffd78b;
    border-radius: 4px;
    background: #feffde;
    color: #555;
}

.block-product__desc{
    display: none;
}

.kessan-product__beore{
    display: flex;
    flex-direction: column;
}

.kessan-product__lot{
    font-size: 13px;
    color: #333;
}

.kessan-product__def-price{
    font-size: 18px;
    color: #d11;
}

.price-info__row {
    justify-content: flex-start !important;
    flex-direction: column !important;
    margin-bottom: 4px;
}

.price-info__row--lot{
    justify-content: flex-start !important;
    flex-direction: column !important;
}

.block-items__item__name {
    margin-bottom: 10px;
}

.price-info {
    padding-top: 0 !important;
    display: flex;
    gap: 10px;
}

@media screen and (max-width: 768px){
.price-info {
    flex-direction: column;
}
}

.block-items__item__name {
    height: 4rem;
}

/* 関連特集 */
.feature_list {
    display: flex;
    flex-wrap: wrap;
    gap: 32px 24px;
    padding-bottom: 40px;
}

.feature_list > li{
    width: 100%;
    -ms-flex-direction: row;
    flex-direction: row;
}

.feature_list > li a{
    display: flex;
  	flex-direction: column;
    color:#333;
}

.feature_list > li a:hover{
    opacity: 0.7;
}

.feature_list > li img{
    width: 100%;
    vertical-align: bottom;
    border-radius: 8px;
    border: 1px solid #ddd;
}

.feature_list > li .name{
    margin: 8px 0;
    line-height: 1.4;
    font-size: 1.5rem;
    font-weight: bold;
}

.feature_list > li .comment{
    line-height: 1.4;
    color: #555;
    font-size: 1.2rem;
}

@media screen and (min-width: 600px){
    .feature_list > li {
        width: calc((100% - 24px) / 2);
        -ms-flex-direction: column;
        flex-direction: column;
    }
    
    .feature_list > li .name{
        font-size: 1.8rem;
    }
    
    .feature_list > li .comment{
        font-size: 1.3rem;
    }
}

/* sidenavi */
#side_navi{
    display: none;
}

@media screen and (min-width: 1400px) and (min-height: 550px){
    /* 初期表示はサイドメニューが表示された状態 */
    #side_navi {
        position: fixed;
        display: block;
        z-index: 100;
        right: -130px; 
        bottom: 30px;
        transition: all 0.3s ease; 
    }
    /* 非表示時のスタイル */
    #side_navi.hidden {
        right: -130px;
    }
    #side_navi.visible{
        right: -130px; 
    }
    #side_navi.visible.hidden{
        right: 0; 
    }

    /* トグルボタンのスタイル */
    .toggle-btn {
        position: absolute;
        left: -34px;
        top: 50%;
        transform: translateY(-50%);
        background-color: #efefef;
        border: 1px solid #dfdfdf;
        border-radius: 5px 0 0 5px;
        border-right: none;
        padding: 25px 10px;
        cursor: pointer;
        z-index: 1000;
        transition: all 0.3s ease;
        font-size: 1.4rem;
    }
    #side_navi .toggle-btn {
        opacity: 0;
        cursor: default;
    }
    #side_navi.visible .toggle-btn,
    #side_navi.visible.hidden .toggle-btn{
        opacity: 1;
        cursor: pointer;
    }
    .item_navi {
        position: relative;
        border-radius: 10px 0 0 10px;
        width: 130px;
        padding: 15px 10px;
        text-align: center;
        background: #efefef;
        border: 1px solid #dfdfdf;
        border-right: none;
    }
    .snav li {
        margin-top: 5px;
        position: relative;
    }
    .snav li a {
        display: flex;
        align-items: center;
        position: relative;
        color: #222;
        padding: 2px 2px 2px 14px;
        min-height: 15px;
        border: 1px solid #b3b3b3;
        border-radius: 5px;
        background: #fff;
        line-height: 1.3;
        font-size: 1rem;
        font-weight: bold;
        text-align: left;
        transition: all 0.2s;
    }
    .snav li a:before{
        content: "";
        position: absolute;
        top: 39%;
        left: 5px;
        color: #bf0000;
        border-style: solid;
        border-color: transparent;
        border-width: 0.35em 0.5em;
        border-right-color: currentColor;
        border-left: 0;
    }
    .snav li a:hover {
        color: #fff;
        background: #bf0000;
    }
    .snav li a.active {
        color: #fff;
        background: #bf0000;
    }
}
@media screen and (min-width: 1500px) and (min-height: 650px){
    #side_navi {
        right: -150px; 
    }
    /* 非表示時のスタイル */
    #side_navi.hidden {
        right: -150px;
    }
    #side_navi.visible{
        right: -150px; 
    }
    .item_navi {
        width: 150px;
        padding: 15px 10px;
    }
    .snav li {
        margin-top: 5px;
    }
    .snav li a {
        padding: 10px 5px 10px 17px;
        min-height: 15px;
        font-size: 1.2rem;
    }
}
/*花子　右下*/
#imageContainer {
    /* width: 300px; */
    cursor: pointer;
}

.anchor_category__img {
    width: 40px !important;
    height: 40px ;
}

.price-info__row .price-info__value--unit {
    font-size: 1.6rem !important;
}

/* 1. 全体を包むボックス：余白を広げて「余裕」を出す */
.price-info-box {
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    padding: 12px 10px; /* 上下12pxに広げて窮屈さを解消 */
    background-color: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02); /* ほんの少し影をつけて浮かせる */
}

/* 2. 総額エリア：点線を細かくして主張を抑える */
.kessan-product__beore {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    /* padding-bottom: 10px; */
    margin-bottom: 10px;
    /* border-bottom: 1px dashed #dddddd; */
}

.kessan-product__lot {
    font-size: 11px;
    color: #333;
    font-weight: normal;
}

.kessan-product__def-price b {
    font-size: 16px; /* 総額は少し控えめに */
    color: #ff0017;
    letter-spacing: 0.02em;
}

.kessan-product__def-price small {
    font-size: 10px;
    color: #999;
    margin-left: 2px;
}

/* 3. 単価・ロットエリア */
.price-info__row {
    display: flex;
    justify-content: space-between;
    align-items: center; /* 中央揃えで整列感を出す */
    margin-bottom: 6px;
}

.price-info__row:last-child {
    margin-bottom: 0;
}

.price-info__label {
    font-size: 11px;
    color: #333;
}

/* 単価：ここを最大・最優先に目立たせる */
.price-info__value--unit {
    color: #ff0017; /* 鮮やかな赤 */
    font-size: 22px; /* ぐっと大きく！ */
    font-weight: 900;
    line-height: 1;
    font-family: 'Arial Black', sans-serif; /* 数字を力強く */
}

.price-info__value--unit small {
    font-size: 12px;
    font-weight: bold;
    margin: 0 1px;
}

/* 最小ロット */
.price-info__value--lot {
    font-size: 14px;
    font-weight: bold;
    color: #333;
}
@media (min-width: 768px) {
.one_column{
    width: calc((100% - 30px) / 4) !important;
}
.three_column{
    width: calc((100% - 20px) / 3) !important;
}
}

.desc-frame {
    padding: 8px;
    border: 1px solid #ffd78b;
    border-radius: 4px;
    background: #feffde;
    color: #555 !important;
}

/* タブメニュー全体のコンテナ */
.tab-menu {
    display: flex;
    flex-wrap: wrap; /* スマホで折り返せるように */
    gap: 10px;       /* タブ同士の間隔 */
    border-bottom: 2px solid #f90; /* 全体の下のライン（オレンジ） */
    padding: 0;
    list-style: none;
}

/* 各タブの共通スタイル */
.tab-item {
    padding: 12px 20px;
    background-color: #fff4e5; /* 選択されていない時の薄いオレンジ */
    border-radius: 10px 10px 0 0; /* 上の角だけ丸くする（ここがポイント！） */
    cursor: pointer;
    font-weight: bold;
    color: #333;
    transition: all 0.2s ease;
    border: none;
    margin-bottom: 0; /* ラインに密着させる */
    text-align: center;
    min-width: 120px;
}

/* ホバーした時（ちょっとだけ濃くする） */
.tab-item:hover:not(.active) {
    background-color: #ffe0cc;
}

/* 選択中（Active）のスタイル：画像1枚目の「人気急上昇」の状態 */
.tab-item.active {
    background-color: #f90; /* 鮮やかなオレンジ */
    color: #fff;            /* 文字は白に */
    position: relative;
}

/* スマホ対応：横幅が狭い時にきれいに並べる（必要に応じて） */
@media (max-width: 768px) {
    .tab-item {
        flex: 1; /* 幅を均等に */
        padding: 10px 5px;
        font-size: 12px;
        min-width: 80px;
    }
}

.small_title {
    padding: .5em .7em;
    border-left: 5px solid #f9d3c0;
    font-size: 18px;
    margin-bottom: 20px;
}

.gazou_flex {
    display: flex;
    justify-content: center;
    margin: 20px 0 0;
}