/*==================================================
 ヒーロースライダー（Swiper.js）
==================================================*/

.hero-slider-wrap{

    width:100%;
    overflow:hidden;

    background:
        radial-gradient(circle at 12% 45%, rgba(141,181,104,.10), transparent 28%),
        linear-gradient(180deg, #FFFFFF 0%, #FCFBF7 100%);

}

.hero-slider-shell{

    position:relative;
    isolation:isolate;
    max-width:1140px;
    margin:0 auto;
    padding:48px 20px 0;

}

/* スライドの外に配置し、切替中も共通表示する周年バッジ */
.hero-anniversary-badge{

    position:absolute;
    top:0;
    right:20px;
    z-index:2;
    display:block;
    width:clamp(180px, 16vw, 200px);
    max-width:calc(100% - 40px);
    height:auto;
    pointer-events:none;

}

.hero-slider{

    position:relative;
    overflow:hidden;

}

.hero-slider .swiper-wrapper{

    align-items:stretch;

}

.hero-slider .swiper-slide{

    position:relative;
    height:auto;

}

.hero-slide-link{

    display:block;
    height:100%;

    color:inherit;
    text-decoration:none;

}

.hero-slide-inner{

    position:relative;
    width:100%;
    min-height:520px;
    overflow:hidden;

}

/* 画像はヒーロー全体へ敷き、左端を基準に表示 */
.hero-slide-visual{

    position:absolute;
    inset:0;

    width:100%;
    height:520px;
    overflow:hidden;

}

.hero-slide-visual img{

    display:block;

    width:100%;
    height:100%;

    max-width:none;
    max-height:none;

    object-fit:cover;
    object-position:left center;

}

/* 文字は画像右側の余白上へ固定 */
.hero-slide-content{

    position:absolute;
    top:50%;
    right:44px;

    width:min(46%, 500px);
    min-width:0;
    padding:24px 30px;

    transform:translateY(-50%);
    z-index:10;

}

.hero-slide-title{

    margin:0;

    color:#4C3B2D;
    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size:36px;
    font-weight:500;
    line-height:1.35;
    letter-spacing:.03em;

}

.hero-slide-title-first,
.hero-slide-title-second{

    display:block;
    white-space:nowrap;

}

.hero-slide-title-accent{

    color:#7FA565;
    font-weight:700;

}

.hero-slide-divider{

    width:100%;
    height:8px;
    margin:22px 0 20px;

    background:
        radial-gradient(circle, #9DBB8C 1.5px, transparent 1.7px)
        center / 8px 8px repeat-x;

    opacity:.8;

}

.hero-slide-text{

    max-width:560px;
    margin:0;

    color:#5D4A3C;
    font-family:
        "Yu Mincho",
        "Hiragino Mincho ProN",
        "Noto Serif JP",
        serif;

    font-size:16px;
    line-height:2;
    letter-spacing:.05em;

}

.hero-slider .swiper-pagination{

    position:absolute;
    right:0;
    bottom:12px;
    left:0;
    z-index:20;

    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;

    margin:0;

}

.hero-slider .swiper-pagination-bullet{

    width:12px;
    height:12px;
    margin:0 !important;

    border:2px solid #B7D49B;
    border-radius:50%;
    background:#FFFFFF;
    opacity:1;

}

.hero-slider .swiper-pagination-bullet-active{

    background:#B7D49B;

}

/*------------------
 Tablet
------------------*/

@media (max-width:991px){

    .hero-slider-shell{
        padding:40px 16px 0;
    }

    .hero-anniversary-badge{
        right:16px;
        width:140px;
    }

    .hero-slide-inner{
        min-height:430px;
    }

    .hero-slide-visual{
        height:430px;
    }

    .hero-slide-content{
        right:24px;
        width:48%;
        padding:20px 20px;
    }

    .hero-slide-title{
        font-size:28px;
    }

    .hero-slide-text{
        font-size:14px;
        line-height:1.85;
    }

}

/*------------------
 Mobile
------------------*/

@media (max-width:767px){

    .hero-slider-shell{
        padding:12px 14px 0;
    }

    .hero-anniversary-badge{
        top:20px;
        right:20px;
        width:clamp(90px, 26vw, 110px);
    }

    .hero-slide-inner{
        min-height:0;
        overflow:visible;
    }

    .hero-slide-visual{
        position:relative;
        inset:auto;

        width:100%;
        height:230px;
    }

    .hero-slide-visual img{
        width:100%;
        height:100%;

        object-fit:cover;
        object-position:left center;
    }

    .hero-slide-content{
        position:relative;
        top:auto;
        right:auto;

        width:100%;
        padding:18px 12px 42px;

        text-align:center;
        transform:none;
    }

    .hero-slide-title{
        font-size:26px;
        line-height:1.45;
        letter-spacing:.03em;
    }

    .hero-slide-title-first,
    .hero-slide-title-second{
        white-space:normal;
    }

    .hero-slide-divider{
        max-width:430px;
        margin:16px auto 14px;
    }

    .hero-slide-text{
        max-width:500px;
        margin:0 auto;

        font-size:13px;
        line-height:1.8;
        letter-spacing:.03em;
    }

    .hero-slider .swiper-pagination{
        bottom:12px;
    }

}

/*------------------
 Small Mobile
------------------*/

@media (max-width:420px){

    .hero-slide-visual{
        height:205px;
    }

    .hero-slide-title{
        font-size:23px;
    }

    .hero-slide-text{
        font-size:12px;
    }

}


/*==================================================
 トップページ(ベース段階の簡易スタイル)
 front-page.css
==================================================*/

.home-heading{

    text-align:center;
    font-size:26px;
    font-weight:700;
    margin:0 0 24px;
    color:#333;

    border:none !important;
    box-shadow:none !important;
    padding:0 !important;
    background:none !important;

}

.home-heading::before,
.home-heading::after{

    content:none !important;
    display:none !important;

}

.home-category-section,
.home-concept-section,
.home-news-section{

    max-width:1100px;
    margin:100px auto;
    padding:0 20px;

}

.home-category-section{

    margin-top:60px;

}

/*==================================
2. 商品をさがす
==================================*/

.home-category-grid{

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;

}

.home-category-more{

    margin-top:24px;
    text-align:center;

}

.home-category-card{

    position:relative;

}

.home-category-card-link{

    display:block;
    width:100%;
    padding:0;

    border:0;
    border-radius:12px;
    overflow:hidden;

    background:none;
    text-align:inherit;

    text-decoration:none;
    color:#333;

    transition:.2s;
    cursor:pointer;

    appearance:none;

}

.home-category-card-link:hover{

    transform:translateY(-2px);
    box-shadow:0 10px 24px rgba(0,0,0,.1);

}

.home-category-image{

    width:100%;
    aspect-ratio:4/3;

    background:#F7F8F5;

}

.home-category-image img{

    width:100%;
    height:100%;
    display:block;

    object-fit:cover;

}

.home-category-label-bar{

    position:relative;

    display:flex;
    align-items:center;
    justify-content:center;

    padding:14px 44px;

    text-align:center;
    background:#3B6D11;

}

.home-category-label{

    font-size:14px;
    font-weight:500;
    color:#EAF3DE;

}

.home-category-dropdown{

    display:none;

    position:absolute;
    top:100%;
    left:0;
    right:0;

    background:#fff;
    border:1px solid #E5E7EB;
    border-radius:10px;
    box-shadow:0 8px 20px rgba(0,0,0,.1);

    padding-top:16px;
    margin-top:0;

    z-index:10;

}

.home-category-toggle-icon{

    position:absolute;
    top:50%;
    right:18px;

    width:9px;
    height:9px;

    border-right:2px solid #EAF3DE;
    border-bottom:2px solid #EAF3DE;

    transform:translateY(-65%) rotate(45deg);
    transition:transform .2s ease;

}

.home-category-card.is-open .home-category-toggle-icon{

    transform:translateY(-35%) rotate(-135deg);

}

.home-category-card.is-open .home-category-dropdown{

    display:block;

}

@media (hover:hover) and (pointer:fine){

    .home-category-card:hover .home-category-dropdown{
        display:block;
    }

}

.home-category-card-link:focus-visible{

    outline:3px solid rgba(140,198,63,.45);
    outline-offset:3px;

}

.home-category-dropdown a{

    display:block;
    padding:8px 12px;

    font-size:14px;
    color:#444;
    text-decoration:none;

}

.home-category-dropdown a:hover{

    background:#F3FAEC;
    color:#5F8E37;

}

/*==================================
3. 特長・こだわり(A案:ミニカード)
==================================*/

.home-concept-grid{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px;

    margin-bottom:24px;

}

.home-concept-card{

    border-radius:12px;
    padding:32px 24px;
    text-align:center;

    border:1px solid transparent;

}

.home-concept-card.tone-green{

    background:#EAF6DC;
    border-color:#C9E5A5;

}

.home-concept-card.tone-gray{

    background:#EFF1F3;
    border-color:#D5D9DC;

}

.home-concept-icon{

    width:56px;
    height:56px;
    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    margin:0 auto 16px;

}

.tone-green .home-concept-icon{

    background:#8CC63F;
    color:#fff;

}

.tone-gray .home-concept-icon{

    background:#8D959D;
    color:#fff;

}

.home-concept-title{

    font-size:20px;
    font-weight:700;
    margin:0 0 10px;
    color:#2E2E2E;

}

.home-concept-desc{

    font-size:15px;
    line-height:1.8;
    color:#555;
    margin:0;

}

.home-outline-button{

    display:flex;
    align-items:center;
    justify-content:center;
    gap:6px;

    width:max-content;
    margin:0 auto;

    height:44px;
    padding:0 24px;

    background:transparent;
    border:1px solid #8CC63F;
    border-radius:30px;

    color:#5F8E37;
    font-size:14px;
    font-weight:500;
    text-decoration:none;

    transition:.2s;

}

.home-outline-button:hover{

    background:#8CC63F;
    color:#fff;
    text-decoration:none;

}

/*==================================
4. お知らせ
==================================*/

.home-news-list{

    list-style:none;
    margin:0 0 8px;
    padding:0;

}

.home-news-item{

    display:flex;
    align-items:center;
    gap:10px;

    padding:16px 0;
    border-bottom:1px solid #eee;

}

.home-news-thumbnail{

    display:block;
    flex:0 0 106px;
    width:106px;
    height:106px;
    overflow:hidden;

    border-radius:4px;

}

.home-news-thumbnail img{

    display:block;
    width:100%;
    height:100%;
    object-fit:cover;

}

.home-news-content{

    display:flex;
    flex:1;
    min-width:0;
    align-self:stretch;
    flex-direction:column;
    justify-content:center;
    gap:5px;

}

.home-news-date{

    font-size:13px;
    color:#999;
    flex-shrink:0;

}

.home-news-title{

    font-size:15px;
    color:#333;
    text-decoration:none;

}

.home-news-title:hover{

    color:#5F8E37;

}

/*==================================
共通:もっと見るリンク
==================================*/

.home-more-link{

    display:block;
    text-align:center;

    font-size:14px;
    color:#5F8E37;
    text-decoration:none;

}

.home-more-link:hover{

    text-decoration:underline;

}

/*------------------
Tablet
------------------*/

@media (max-width:1100px){

    .home-category-grid{
        gap:14px;
    }

    .home-category-dropdown{

        position:relative;
        top:auto;
        left:auto;
        right:auto;

        width:100%;
        margin-top:0;
        padding:8px 0;

        border:1px solid #E5E7EB;
        border-top:none;
        border-radius:0 0 12px 12px;

        box-shadow:none;

    }

    .home-category-card.is-open .home-category-card-link{

        border-radius:12px 12px 0 0;

    }

}

/*------------------
 Mobile
------------------*/

@media (max-width:767px){

    .home-category-grid{
        grid-template-columns:1fr;
    }

    .home-news-item{
        gap:10px;
        padding:14px 0;
    }

    .home-news-thumbnail{
        flex-basis:72px;
        width:72px;
        height:72px;
    }

    .home-news-title{
        line-height:1.6;
    }

}
