/* カスタマイズ用CSS */
body {
    font-family: Noto Serif JP, serif;
}

/* 背景、和紙とりんご */
.ec-layoutRole {
    background-color: transparent !important;
    background-image: url("/shop/html/template/KAI4302/assets/img/common/bg_washi.png") !important;
    background-repeat: repeat !important;
    background-size: auto !important;
}

.ec-layoutRole__contentTop{
    background-color: #ffffff00;
    
}

.ec-layoutRole__contents,
.ec-layoutRole__main {
    background-color: transparent !important;
}

.ec-layoutRole__contentTop {
    position: relative;
    z-index: 1;
}

.eyecatch_area img {
    display: inline-block;
    border-radius: none;
}

.eyecatch_area .right_area .main a{
    bottom: 30px;
    right: 22px;
}

.ec-layoutRole {
    position: relative;
    overflow-x: hidden;
}

.ec-layoutRole::before,
.ec-layoutRole::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.ec-layoutRole::before {
    background: url("/shop/html/template/KAI4302/assets/img/common/bg_apple01.png") repeat-y center top / contain;
    width: 30%;
    max-width: 410px;
    left: -5%;
}

.ec-layoutRole::after {
    background: url("/shop/html/template/KAI4302/assets/img/common/bg_apple02.png") repeat-y center top / contain;
    width: 33%;
    max-width: 454px;
    right: -7%;
}

.ec-layoutRole__contents,
.ec-layoutRole__footer {
    position: relative;
    z-index: 1;
}

.ec-layoutRole__header {
    position: relative;
    z-index: 999;
}

/* ヘッダー */
.ec-headerNaviRole_area {
    background-color: #00a78438;
}

.ec-headerNaviRole .ec-headerNaviRole__right {
    background-color: #00a78457;
}

.ec-headerRole__cart .ec-cartNavi .ec-cartNavi__icon {
    color: #00a784;
}

.ec-headerRole__cart .ec-cartNavi .ec-cartNavi__price_ {
    color: #00a784;
}

.item.topic_text2 {
    font-size: 6px;
}

.pc {
    margin-top: 70px;
}

/* トップ　スライド下の余白削除 */
.ec-sliderRole .text1,
.ec-sliderRole .text2 {
    display: none !important;
}

/*.gallery_newitem ,.item a, .title, .yes_child a, .no_child a, .ec-newsRole__newsDate, .ec-newsRole__newsTitle{*/
/*    font-family: Noto Sans JP;*/
/*}*/

/* 追加　メニュー内、右にコンテンツが入る時は削除 */
.global_menu_area .panel .ctategory_area {
    width: 100%;
    font-family: Noto Sans JP;
}

.global_menu_area .panel .block_clear {
    border-bottom: 1px #00a784;
}

.global_menu_area .panel .ctategory_area .ctategory_block a {
    color: #4d4d4d;
    font-size: 0.9rem;
}

.global_menu_area .global .list_area:hover .panel a:hover {
    text-decoration: underline #00a78438;
    opacity: 0.8;
}

.ec-headerRole img {
    max-width: 70%;
}

.is_fixed .ec-headerRole .ec-headerRole__title .ec-headerTitle .ec-headerTitle__title a img {
    max-width: 100%;
}

.ec-headerTitle .ec-headerTitle__title {
    text-align: center;
}


.logo_area {
    background-color: #fff;
    height: 80px;
    box-shadow: 0px 1px 5px #b7b7b7;
}

.ec-headerNaviRole .ec-headerNaviRole__right {
    background-color: none;
}

.logo_area.is_fixed {
    background-color: #fff;
    box-shadow: 0px 1px 5px #b7b7b7;
}


.ec-headerRole {
    color: #00a784;
}

/* ハンバーガーメニュー */
.ec-drawerRole.is_active {
    font-family: Noto Sans JP;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
}

.ec-drawerRole .ec-headerCategoryArea .ec-itemNav__nav li a {
    color: #4d4d4d;
}

.ec-drawerRole .ec-headerLinkArea .ec-headerLink__item,
.ec-drawerRole .ec-headerSearch .title,
.ec-headerSearch .ec-headerSearch__category .ec-select.ec-select_search {
    background-color: #00a784;
}

.ec-drawerRole .ec-headerCategoryArea .ec-headerCategoryArea__heading {
    padding-bottom: 10px;
    background-color: #00a784;
}

.ec-headerNavSP,
.ec-drawerRoleClose.is_active {
    border: 1px solid #00a784;
    color: #00a784;
}





.list_area span {
    font-family: Noto Sans JP;
    color: #4d4d4d;
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
}

.main .text {
    display: none;
}

.top_title {
    text-align: center;
    color: #00a784;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.top_title::before,
.top_title::after {
    content: "";
    width: 50px;
    height: 1px;
    background: #00a784;
    flex-shrink: 0;
}

.top_title::before {
    margin-right: 15px;
}

.top_title::after {
    margin-left: 15px;
}

.eyecatch_area h3,
.high_area h3,
.ec-newsRole h3 {
    color: #00a784;
}

.top_subtitle {
    text-align: center;
    color: #00a784;
    margin-bottom: 40px;
}


.global_menu_area .global .list_area a .top {
    display: block;
    text-decoration: none;
    padding: 10px 0 25px 0;
    color: #00a784;
    font-weight: bold;
    height: 80px;
}



.global_menu_area .global .list_area .panel {
    background: #fff;
    color: #4d4d4d;
    box-shadow: 0px 1px 4px #b7b7b7;
}



.global_menu_area .global .list_area:hover {
    background-color: #00a78438;
}



.global_menu_area .global .list_area a.top {
    color: #00a784;
}


.ec-blockBtn--top
 {
    background-color: #00a784;
    border-color:#ffffff;
}

.ec-blockBtn--primary {
    background-color: white;
}

@media only screen and (max-width: 768px) {

    .ec-blockBtn--top,
    .border-color {
        background-color: #00a784;
        border-color: #00a784;
    }
    
    .ec-blockBtn--top{
        transform: scale(0.7) translate(20px, 20px);
    }

    .ec-headerNaviRole .ec-headerNaviRole__right {
        background-color: transparent;
    }
}

.list_areaa:hover {
    --bs-link-hover-color-rgb: rgba(0, 167, 132, 0.55)
}

.ec-blockBtn--top:hover {
    color: #00a784;
    background-color: #fff;
    border-color: #fff;
}

/* メイン画像用 */
.right_area .main .img_link {
    display: contents;
}

.right_area .main .img_link img {
    transition: opacity 0.3s ease-in-out; 
}

.right_area .main .img_link:hover img {
    opacity: 0.7;}

/* フッター */
.ec-footerRole {
    background-color: #fff;
}

.footer_map title a,
.item i {
    color: #4d4d4d;
}

.ec-footerRole .footer_area {
    color: #4d4d4d;
}

.ec-footerRole .footer_area .footer_map .item a {
    display: block;
    color: #4d4d4d;
}

.ec-footerRole .footer_area .footer_map .item a:hover {
    color: #cdcdcd;
    text-decoration: none;
}

.ec-footerRole .footer_area .footer_title .footer_title_logo a {
    color: #4d4d4d;
    font-size: 20px;
}

.ec-footerRole .footer_area .footer_map {
    border-bottom: 1px solid #4d4d4d;
    margin-bottom: 30px;
}

/* Featured Products */
@media only screen and (min-width: 768px) {
    .eyecatch_area .left_area .product {
        padding: 0 10px 4px;
        margin-top: 10px;
    }

    .eyecatch_area .right_area {
        float: right;
        width: 55%;
    }

    .eyecatch_area .left_area {
        float: left;
        width: 45%;
    }
}


.name {
    display: none;
}


.topic_area,
.categoryblock_area {
    background-color: #ffffff82;
}

/* お買い物ガイド */
.guide-grid {
    display: flex;
    flex-wrap: wrap;
    margin: 20px -10px 0;
}

.guide-grid-in {
    width: 50%;
    padding: 0 10px;
    margin-top: 20px;
}

.shoppingguide_area .nagare .title {
    background-color: #c5474c;
    margin-top: 100px;
}

.guide-title-01 {
    font-size: 1.3rem;
    margin: 50px 0 30px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.shoppingguide_area .nagare h4 {
    font-size: 1.2rem;
    margin: 20px 0 10px;
}

.ec-pageHeader .shoppingguide {
    margin-bottom: -50px;
}

@media only screen and (max-width: 768px) {
    .guide-grid-in {
        width: 100%;
    }

    .guide-title-01 {
        font-size: 1.1rem;
    }

    .shoppingguide_area .nagare h4 {
        font-size: 1.1rem;
    }
}

.pickup_item_sns {
    width: 50%;
    padding: 20px 0px 0px 0px;
}

.ec-productRole .ec-productRole__description.description {
    font-family: noto sans JP;
}


/* 品種一覧 */

.hinsyu h3 {
    color: #00a784;
    text-align: center;
    /* h3タグを中央揃えにする場合はこちら */
}

.hinsyumei {
    color: #00a784;
}

.hinsyuichiran {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 20px;
    margin-top: 20px;
}

/* ★ここを修正：hinsyu_item から実際のHTML構造の指定に変更 */
.hinsyuichiran>div>div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #FAF8F5;
    padding: 10px;
    box-sizing: border-box;
}

.gazou {
    width: 50%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    margin-top: 30px;
    margin-bottom: 15px;
    display: block;
}

.kougyoku img{
    padding: 15px;
}

.sinano_dorche img{ padding: 10px;}

.hinsyumei {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: #00a784;
    ;
    width: 100%;
}

.kaisetu {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 10px;
    width: 100%;
}

.syukaku_jiki {
    font-size: 0.9rem;
    font-weight: bold;
    color: #666;
    margin-top: auto;
    width: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
}

@media (max-width: 768px) {
    .hinsyuichiran {
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }
}

.calendar {
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

/* カレンダー画像のレスポンシブ共通設定 */
.calendar {
    max-width: 100%;
    height: auto;
}
@media screen and (max-width: 768px) {
    .hinsyuichiran {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory; /* スナップ機能を有効化 */
        -webkit-overflow-scrolling: touch; /* iOSでの滑らかなスクロール */
        gap: 16px; /* カード同士の間隔 */
        padding: 10px 16px 20px 16px; /* 上・右・下・左の余白 */
        box-sizing: border-box;
    }

    /* 各品種のカード要素 */
    .hinsyuichiran .item {
        flex: 0 0 85%; /* 画面幅の85%に指定し、隣のカードをちら見せ */
        scroll-snap-align: center; /* スクリーン中央にピタッと止まる */
        box-sizing: border-box;
    }

    /* カード内の画像を親要素に合わせて自動縮小 */
    .hinsyuichiran .gazou {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 15px auto;
    }

    /* スクロールバーを隠したい場合（オプション） */
    .hinsyuichiran::-webkit-scrollbar {
        display: none;
    }
    .hinsyuichiran {
        -ms-overflow-style: none;  /* IE and Edge */
        scrollbar-width: none;  /* Firefox */
                    }
}

/* フォント大きさ */
.newitem_area h3,
.ec-newsRole h3 {
    font-size: 36px;
}

@media (max-width: 768px) {

    .newitem_area h3,
    .ec-newsRole h3 {
        font-size: 20px;
    }
}

/* トップページ　SP時細かな調整 */
@media (max-width: 768px) {
    .ec-headerNav_area {
        display: none;
        /* 会員登録案内　非表示 */
    }

    .categoryblock_area .content .category_list .title {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .keyword_area {
        margin-top: 40px;
    }

    .hoverUp:before {
        background: none;
    }

    .ec-newsRole .ec-newsRole__newsHeading {
        margin: 0 10px;
    }

    .eyecatch_area {
        margin-top: 50px;
    }
}

/* ニュース　詳しくはボタン */
.ec-newsRole a.ec-blockBtn--black {
    display: block;
    width: 220px;
    margin: 0 auto;
    background-color: #00a784;
}

/* トップ　カテゴリ */
.pickup_item__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 30px;
}

.pickup_item__item {
    display: flex;
    flex-direction: column;
    margin: 10px 20px;
}

@media (max-width: 768px) {
    .pickup_item__grid {
        grid-template-columns: 1fr; 
    }
}

/* 定期便画像スクロール */

.scroll-box {
  overflow-x: auto;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}
.scroll-box div img {
  max-width: 100%;
  min-width: 1000px;
  vertical-align: top;
}
  
/*===========
scrollbar
===========*/
/*スクロールバー全体の高さ*/
.scroll-box::-webkit-scrollbar {
  height: 4px;
}
/*スクロールバー全体の背景*/
.scroll-box::-webkit-scrollbar-track {
  background: #eee;
}
/*スクロールバーの動く部分*/
.scroll-box::-webkit-scrollbar-thumb {
  background: #aaa;
  border: none;
}
/*スクロールバーの動く部分のホバー（マウスオーバー）*/
.scroll-box::-webkit-scrollbar-thumb:hover {
  background: #999;
}
.ec-inlineBtn{margin-top:15px;}

.ec-pager__item--active{
    font-size: 17px;
    font-weight:bold;}