/*MVエリア
-----------------------------------------*/
.mv-area__top
{
    margin-bottom: 64px;
    position: relative;
    z-index: 0;
}

/* mv画像*/
.mv_img_inner
{
    /* コンテナ内でスライド位置を相対的に設定 */
    position: relative;
    /* コンテナ幅を100%に */
    width: 100%;
    max-width: 1920px;
    /* コンテナの高さを固定 */
    height: 466px;
    /* スライドがコンテナ外に出ないように非表示 */
    overflow: hidden;
}

/*切替え画像の配置*/
.top-img1,
.top-img2
{
    /* 位置を絶対指定で重ねて配置 */
    position: absolute;
    /*親要素内にフルサイズで配置*/
    inset: 0;
    /* 初期状態で透明に */
    opacity: 0;
    /* 画像をスライド全体にカバー */
    background-size: cover;
    /* 1サイクル12秒を無限ループ */
    animation: anime 10s 0s infinite;
    /* 画像サイズ */
    object-fit: contain;
    object-position: center;
    background-position: bottom center;
    /* top: 0;
    z-index: 0;  */
}

/* スライド個別設定 */
.top-img1
{
    background-image: url(../images/index/mv-img_sp_01.webp);
    animation-delay: 0s;
}

.top-img2
{
    background-image: url(../images/index/mv-img_sp_02.webp);
    animation-delay: 5s;
}

/*切り替えタイミング設定*/

@keyframes anime
{
    0%
    {
        opacity: 1;
    }

    50%
    {
        opacity: 1;
    }

    60%
    {
        opacity: 0;
        z-index: 10;
    }

    100%
    {
        opacity: 0;
    }
}



/* PC画像 */

@media (min-width: 769px)
{
    .mv-area__top
    {
        margin-bottom: 120px;
    }

    .mv_img_inner
    {
        height: 600px;
    }

    .top-img1
    {
        background-image: url(../images/index/mv-img_pc_01.webp);
    }

    .top-img2
    {
        background-image: url(../images/index/mv-img_pc_02.webp);
    }
}

/* mvテキスト */
.mv_text_inner
{
    position: absolute;
    z-index: 11;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.mv_text_inner .ttl-m__white
{
    text-align: center;
    margin-top: 120px;
}

.mv_text_inner h1 span
{
    display: block;
    margin-top: 20px;
    font-size: 17px;
}

.mv_text_inner h1 img
{
    width: 220px;
}

.mv_text_inner .ttl-m__white .mainttl
{
    font-size: 18px;
    line-height: 1.6;
}

@media (min-width: 769px)
{
    .mv_text_inner .ttl-m__white
    {
        text-align: center;
        margin-top: 180px;
    }

    .mv_text_inner h1 img
    {
        width: 250px;
        margin-bottom: 25px;
    }

    .mv_text_inner .ttl-m__white span
    {
        font-size: 28px;
    }
}

/* ハイビスカス配置 */
.mv__flower-left
{
    position: absolute;
    left: -60px;
    bottom: -60px;
}

.mv__flower-left img
{
    width: 200px;
    height: 200px;
}

@media (min-width: 769px)
{
    .mv__flower-left
    {
        left: -80px;
        bottom: -100px;
    }

    .mv__flower-left img
    {
        width: 360px;
        height: 360px;
    }
}

/* インスタグラム配置 */

.mv__insta-link a
{
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    right: 16px;
    bottom: -40px;
    background-color: var(--white);
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
    padding: 23px;
}

.mv__insta-link a img
{
    width: 80px;
    height: 80px;
}

@media (min-width: 769px)
{
    .mv__insta-link a
    {
        width: 170px;
        height: 170px;
        border-radius: 50%;
        right: 64px;
        bottom: -64px;
        padding: 30px 26px 0 30px;
    }

    .mv__insta-link a img
    {
        width: 112px;
        height: 112px;
    }

    .mv__insta-link a img:hover
    {
        opacity: 0.5;
        transition: 0.3s;
        transform: translateY(4px);
    }
}

/* フェアカードレイアウト -----------------------------------------*/
.top_fair
{
    background-image: url(../images/common/img_wood_bk_2x.jpg);
    margin-top: -240px;
    padding: 240px 0 80px;
    overflow: hidden;
}

@media (min-width: 769px)
{
    .top_fair
    {
        padding: 240px 0 246px;
    }
}

.card-list
{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(306px, 1fr));
    /* widthを306pxをきるとカラム落ち */
    gap: 40px;
    margin: 32px auto 0;
    max-width: 1120px;

}

.card__body time
{
    color: var(--primary-700);
    font-family: "Outfit", sans-serif;
    font-size: 14px;
}

.card__thmb
{
    overflow: hidden;
}

.card__thmb img
{
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .3s ease;
}

.card:hover img
{
    transform: scale(1.1);
}

.card:hover .card__link
{
    color: var(--primary-700);
}

.card-item
{
    background-color: var(--white);
    padding: 20px 20px 64px 20px;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
}

.card__body
{
    margin-top: 16px;
}

.card__link
{
    margin-top: 8px;
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    position: absolute;
    bottom: 24px;
    right: 32px;
    font-size: 14px;
}

.card__text
{
    margin-top: 8px;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    /* ブラウザがサポートしていない場合のフェールセーフ */
    max-height: 54px;
    /* テキスト３行以上で３点リーダーをつける */
}


/* ブランド・店舗紹介
-----------------------------------------*/
.top-brand .ttl-m__white,
.top-shop .ttl-m__white
{
    text-align: center;
}

.top-brand,
.top-shop
{
    text-align: center;
    padding-top: 64px;
    background-color: var(--secondary-700);
    padding-bottom: 262px;
    background-position: top 400px center;
    background-repeat: no-repeat;
}

.top-brand
{
    background-image: url(../images/index/img_top_brand_bk_sp_2x.jpg);
}

.top-shop
{
    background-image: url(../images/index/img_top_shop_bk_sp_2x.jpg);
}

.top-brand p,
.top-shop p
{
    margin-top: 24px;
    color: var(--white);
    font-size: 18px;
    line-height: 2;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.3);
}

.section-bk-img
{
    width: 100%;
    height: 212px;
    object-fit: cover;
    object-position: top center;
}

@media (min-width: 769px)
{

    .top-brand .ttl-m__white,
    .top-shop .ttl-m__white
    {
        text-align: left;
    }

    .top-brand,
    .top-shop
    {
        padding-top: 0;
        height: 480px;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .top-brand
    {
        background-image: url(../images/index/img_top_brand_bk_pc.jpg);
        height: 480px;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .top-shop
    {
        background-image: url(../images/index/img_top_shop_bk_pc.jpg);
    }

    .top-brand p,
    .top-shop p
    {
        text-align: left;
    }

    .brand__body,
    .shop__body
    {
        max-width: 400px;
    }

    .top-brand .inner__m,
    .top-shop .inner__m
    {
        display: flex;
        align-items: center;
        height: 480px;
    }

    .top-shop .inner__m
    {
        justify-content: flex-end;
    }

    .top-brand .button-m,
    .top-shop .button-m
    {
        margin: 64px 0 0;
    }
}

/* 王道メニュー
-----------------------------------------*/
.top_menu
{
    background-image: url(../images/common/img_wood_bk_2x.jpg);
    padding-top: 80px;
    padding-bottom: 64px;
    margin-top: -40px;
}

.top_menu h2
{
    margin-bottom: 32px;
}

.top_menu h2 .mainttl
{
    font-size: 26px;
}

.loop-item
{
    position: relative;
    width: 240px;
    margin: 0 12px
}

.loop-item img
{

    display: block;
    width: 100%;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
}

.loop-item p
{
    background-color: rgba(255, 255, 255, 0.9);
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 30px;
    padding: 0 20px;
}

@media (min-width: 769px)
{}

.loop-item
{}

@media (min-width: 769px)
{}


/*フランチャイズ、ニュース
-----------------------------------------*/
/*フランチャイズ、ニュース共通*/

.ttl-block img
{
    width: 250px;
    height: 40px;
    display: block;
    margin: 0 auto 24px;
}

.top-franchise h2,
.top-news h2
{
    text-align: center;
}

.top-franchise button
{
    margin-top: 32px;
}

@media (min-width: 769px)
{

    .top-franchise h2,
    .top-news h2
    {
        text-align: left;
    }

    .top-franchise h2 .mainttl
    {
        font-size: 32px;
    }

    .top-franchise .container,
    .top-news .container
    {
        display: flex;
    }

    .ttl-block
    {
        min-width: 300px;
        margin-right: 40px;
    }

    .top-news .ttl-block
    {
        min-width: 250px;
        margin-right: 40px;
    }

    .text-block img
    {
        margin-left: 0;
    }

    .top-franchise .button-m
    {
        max-width: 400px;
        width: 100%;
    }
}

/*フランチャイズ囲みBOX*/
.box
{
    padding: 24px;
    background-color: var(--bk-tertiary);
    border-radius: 16px;
}

@media (min-width: 769px)
{
    .box
    {
        padding: 24px 40px;
    }
}

/*ニュース*/
.news-term
{
    font-family: "Outfit", sans-serif;
    font-weight: 400;
    color: var(--primary-700);
}

.news_item
{
    padding: 24px 0;
    border-bottom: 1px solid var(--secondary-600);
}

.news_item:first-child
{
    padding-top: 0;
}

.news_item a
{
    cursor: pointer;
}

@media (min-width: 769px)
{
    .news_item:first-child
    {
        padding-top: 36px;
    }

    .news_item a:hover .news_text
    {
        text-decoration: underline;
    }
}

/*こだわり
-----------------------------------------*/

.top_commitment
{
    margin-top: -80px;
    position: relative
}

@media (min-width: 769px)
{
    .top_commitment
    {
        margin-top: -190px;
    }
}

.top_commitment .wrapper
{
    background-color: var(--primary-200);
    margin-top: -1px;
}

.fair__flower-right
{
    position: absolute;
    z-index: 1;
    right: 0px;
    top: 0;
}

img.fair__flower-right
{
    width: 108px;
    height: 144px;
}

@media (min-width: 769px)
{
    .fair__flower-right
    {
        position: absolute;
        right: -0;
        top: 0;
    }

    img.fair__flower-right
    {
        width: 282px;
        height: 376px;
        top: -180px;
    }
}


.top_commitment .ttl-m__white
{
    text-shadow: 0 0 8px rgba(228, 0, 127, 0.4);
    text-align: center;
}

/* こだわりポイント */
.point
{
    margin: 40px auto;
}

.point__thmb
{
    position: absolute;
    width: 220px;
    height: 220px;
    left: 100px;
    top: 0;
}

.point__thmb img
{
    width: 100%;
}

.point__block
{
    max-width: 440px;
    margin: 0 auto 40px;
    position: relative;
}

.point__number
{
    color: var(--primary-200);
    -webkit-text-fill-color: var(--primary-200);
    /* （順序に関係なく）色を上書きする */
    -webkit-text-stroke: 2px var(--white);
    font-size: 70px;
    line-height: 1;
    letter-spacing: 0.02em;
    width: 80px;
}

.point__text
{
    color: var(--secondary-600);
    margin-top: 100px;
    background-color: var(--white);
    padding: 64px 24px 32px 24px;
    border-radius: 8px;
}

.point__text-ttl
{
    font-size: 20px;
    padding-bottom: 16px;
    border-bottom: 2px dotted var(--primary-700);
    text-align: center;
    line-height: 1.5;
}

.point__text p
{
    margin-top: 16px;
}

@media (min-width: 769px)
{
    .top_commitment .commitment_inner
    {
        display: flex;
        max-width: 1120px;
        margin: 0 auto;
        padding: 0;
        position: relative;
        z-index: 1;
    }

    .top_commitment .ttl-m__white
    {
        width: 80px;
        display: flex;
        line-height: 1;
        flex-direction: row-reverse;
        margin-right: 72px;
        margin-left: 24px;
    }

    .top_commitment .ttl-m__white .mainttl
    {
        width: 56px;
        display: block;
    }

    .top_commitment .ttl-m__white .subttl
    {
        width: 24px;
        display: block;
        padding-top: 8px;
    }

    .point__block
    {
        display: flex;
        max-width: 942px;
        padding: 0 28px 0 0;
    }

    .point__text
    {
        max-width: 814px;
        margin-top: 40px;
        border-radius: 16px;

    }

    .point__text-ttl
    {
        text-align: left;
        font-size: 24px;
        font-weight: 700;
    }

    .point__number
    {
        margin-right: 56px;
    }

    .point__thmb
    {
        width: 240px;
        height: 240px;
        left: 120px;
    }

    .point__block-even .point__number
    {
        margin-right: 48px;
    }

    .point__block-odd .point__thmb
    {
        right: 24px;
        left: auto;
    }

    .point__block-even .point__thmb
    {
        left: 80px;
    }

    .point__block-odd .point__text
    {
        padding: 40px 250px 40px 40px;
        margin-right: 24px;
    }

    .point__block-even .point__text
    {
        padding: 40px 60px 40px 250px;
        margin-left: 24px;
    }
}

/* フェアトレード */
.fair-trade
{
    color: var(--white);
    text-shadow: 0 0 8px rgba(228, 0, 127, 0.4);
    position: relative;
}

.fair-trade p
{
    border-bottom: 4px dotted var(--white);
    margin: 50% 20px 0;
    padding-bottom: 40px;
    font-size: 18px;
    line-height: 2;
}

.fair-trade dl
{
    padding: 40px 24px 24px;
}

.fair-trade dl dt
{
    margin-bottom: 16px;
    font-size: 24px;
}


@media (min-width: 769px)
{
    .fair-trade
    {
        align-items: center;
        padding: 0 80px;
    }

    .fair-trade p
    {
        text-align: center;
        margin: 24px auto 64px;
        max-width: 1120px;
        font-size: 24px;
    }

    .fair-trade dl
    {
        display: flex;
        max-width: 1120px;
        margin: 0 auto;
        padding: 0;
    }

    .fair-trade dl dt
    {
        line-height: 1.5;
        min-width: 196px;
    }

    .fair-trade dl dt span
    {
        display: block;
    }

    .fair-trade dl dd
    {
        padding-left: 24px;
        display: block;
    }
}


/* こだわり背景画像 */
.img-commitment
{
    position: relative;
    max-width: 1920px;
    margin: 0 auto;
}

.img-commitment_left,
.img-commitment_right
{
    position: absolute;
}

.img-commitment_left
{
    width: 50%;
    bottom: 0;
    left: 0;
}

.img-commitment_right
{
    width: 50%;
    bottom: 0;
    right: 0;
}

@media (min-width: 769px)
{
    .img-commitment_left
    {
        width: 300px;
        height: 700px;
        left: -64px;
    }

    .img-commitment_right
    {
        width: 280px;
        height: 280px;
        right: -80px;
    }
}

/* バナー
-----------------------------------------*/
.top-banner img
{
    width: 100%;
}

.top-banner
{
    max-width: 1080px;
    margin: 56px auto;
}

.top-banner img
{
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px)
{
    .top-banner
    {
        margin: 100px auto;
    }

    .top-banner:hover img
    {
        opacity: 0.7;
        transition: 0.3s;
    }

}