html {
    font-size: 100%;
}

body {
    padding: 0;
    font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    line-height: 1.5;
}

img {
    width: 100%;
}

p {
    color: #333;
}

/*パンくず*/
.t-breadcrumb {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    color: #333;
    position: sticky;
    top: 70px;
    z-index: 100;
    text-decoration: none;
}

.t-breadcrumb a {
    text-decoration: none;
}

/*各事業所共通*/
.ji-contents {
    background: #fafafa url(../img/jigyou/ja-bg.svg) repeat-y center 250px;
    background-size: 100%;
    background-attachment: fixed;

}

.ji-container {
    max-width: 1000px;
    margin: 0 auto;
}

.ji-desc {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.jirei h3,
.sien-image h3,
.ji-desc h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.jirei h3 span,
.sien-image h3 span,
.ji-desc h2 span {
    font-size: 1.5rem;
    font-weight: bold;
    background: url(../img/jigyou/ja-ttl-line.svg) no-repeat left bottom;
    background-size: auto 13px;
    padding-bottom: 13px;
    display: inline-block;
    margin: 0 auto;
    line-height: 1;
}

.ji-desc p {
    text-align: center;
}

/*JA支援活動事業*/
.ja-ttl {
    border-left: 4px solid #009E96;
    padding: 0.2rem 1rem;
    margin-bottom: 2rem;
    background: #fff;
    display: inline-block;
    font-size: 1.4rem;
    font-weight: bold;
    color: #333;
}

.df {
    display: flex;
    align-items: flex-start;
}

.img-eye {
    flex-basis: 50%;
    z-index: 100;
}

.mi-txt {
    flex-basis: 50%;
}

.mi-txt div {
    border: 2px solid #009E96;
    background-size: 120px;
    width: calc(100% + 2rem);
    padding: 4rem;
    float: right;
    margin-top: 7rem;
}

.mi-txt h4 {
    font-size: 1.4rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.mi-txt p {
    line-height: 1.6;
}

.ltop,
.rtop {
    height: calc(100vh - 70px)
}

.mi1 {
    background: url(../img/jigyou/mis1-ttl.svg) no-repeat right top;
}

.mi2 {
    background: url(../img/jigyou/mis2-ttl.svg) no-repeat left top;
    float: left !important;
}

.mi3 {
    background: url(../img/jigyou/mis3-ttl.svg) no-repeat right top;
}

.mi4 {
    background: url(../img/jigyou/mis4-ttl.svg) no-repeat left top;
    float: left !important;
}

.mi5 {
    background: url(../img/jigyou/mis5-ttl.svg) no-repeat right top;
}

.mi6 {
    background: url(../img/jigyou/mis6-ttl.svg) no-repeat left top;
    float: left !important;
}

.convbt {
    margin-top: 1rem;
}

.convbt a {
    display: inline-block;
    color: #009C93;
    font-weight: bold;
    position: relative;
    height: auto;
    overflow: hidden;
    text-decoration: none;
}

.convbt a i {
    margin-left: 1rem;
}

.bdb {
    position: absolute;
    display: block;
    width: 2px;
    height: 2px;
    background-color: #009C93;
    overflow: hidden;
    transition: 0.5s;
    width: 100%;
    right: 0;
    bottom: 0;
    transform: translate3d(-100%, 0, 0);
}

.convbt a:hover .bdb {
    transform: translate3d(-10%, 0, 0);
}

.tenpobt {
    padding-top: 5rem;
    padding-bottom: 5rem;
    text-align: center;
}

.tenpobt img {
    max-width: 378px !important;
}

.jirei,
.sien-image {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.sien-image {
    text-align: center;
}

.sien-image img {
    max-width: 70%;
}

.jirei h3 {
    margin-bottom: 2rem;
}

/*リテール事業*/
.rt-bn {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.rt-bn .df {
    justify-content: center;
    gap: 20px;
}

.rt-bn .df a {
    flex-basis: 320px;
}

.rt-con {
    max-width: 700px;
    margin: 3rem auto 0;
}

.rt-con h4 {
    background: #009E96;
    color: #fff;
    text-align: center;
    font-weight: bold;
    padding: 0.5rem;

}

.rt-con address {
    background: #FFF8CF;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.rt-con p {
    text-align: center;
    font-weight: bold;

}

/*地域共創事業*/
.reg-bn {
    justify-content: center !important;
}

/*アグリンピア*/
.ag-mi4 {
    background-image: none;
}

/*地域共創事業*/
.work-shien {
    background: #DEEFEE;
    padding: 2rem;
}

.shien-inner {
    background: #fff;
    padding-top: 2rem;
    padding-bottom: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}


/*slick修正*/
.slick-slider {
    width: 90%;
    margin: 0 auto;
}

.slick-item {
    margin-right: 10px;
    margin-left: 10px;
}

.slick-item img {
    border-radius: 0.5rem;
}

.slick-item .date {
    font-size: 0.7rem;
    text-align: right;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
}

.slick-item h4 {
    font-weight: bold;
}

.slick-item .tag span {
    border-radius: 1rem;
    border: 1px solid #ccc;
    padding: 0.2rem 0.8rem;
    margin-right: 0.5rem;
    font-size: 0.8rem;
}

.slick-item .tag {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.slick-prev:before,
.slick-next:before {
    color: black;
}


/*下からフェイドアップ*/

/* fadeUp */

.fadeUp {
    animation-name: fadeUpAnime;
    animation-duration: 0.5s;
    animation-fill-mode: forwards;
    opacity: 0;
}

@keyframes fadeUpAnime {
    from {
        opacity: 0;
        transform: translateY(100px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* スクロールをしたら出現する要素にはじめに透過0を指定　*/

.fadeUpTrigger {
    opacity: 0;
}

/*画像をモーダル表示*/
/*全て共通：モーダルのボタンの色を変更したい場合*/
.modaal-close:after,
.modaal-close:before {
    background: #ccc;
}

.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before {
    background: #666;
}

/*確認を促すモーダル：タイトルの色を変更したい場合*/
#modaal-title {
    font-size: 1.2rem;
    text-align: center;
    margin: 0 0 20px 0;
}

/*動画表示のモーダル：余白を変更したい場合*/
.modaal-video .modaal-inner-wrapper {
    padding: 0;
}

/*スマホ表示*/
@media(max-width:768px) {
    .t-breadcrumb {
        position: unset;
    }

    .ji-pc-only {
        display: none;
    }

    .ji-contents {
        background-image: url(../img/jigyou/sp-ja-bg.svg) !important;
        background-position: center 200px;
    }

    .ji-container {
        padding-left: 3%;
        padding-right: 3%;
    }

    .ji-desc p {
        text-align: left;
    }

    .df {
        flex-direction: column;
    }

    .mi-txt {
        width: 100%;
        margin-bottom: 2.5rem;
    }

    .mi-txt div {
        width: 100%;
        float: none;
        margin-top: 1rem;
        padding: 2.5rem 1rem;
        background-size: 110px;
    }

    .mi-txt h4 {
        font-size: 18px;
    }

    .rtop .df {
        flex-direction: column-reverse;
    }

    .mi2 {
        background-image: url(../img/jigyou/sp-mi2-ttl.svg) !important;
        background-position: right top;
    }

    .mi4 {
        background-image: url(../img/jigyou/sp-mi4-ttl.svg) !important;
        background-position: right top;
    }

    .mi6 {
        background-image: url(../img/jigyou/sp-mi6-ttl.svg) !important;
        background-position: right top;
    }

    .rt-bn .df {
        flex-direction: column;
        gap: 0;
        align-items: flex-start;
    }

    .rt-bn .df a {
        display: block;
        flex-basis: auto;
        width: 90%;
        margin: 0 auto 1rem;
    }
    .ltop, .rtop {
        height: unset;
    }
}

/*PC表示*/
@media(min-width:769px) {
    .ji-sp-only {
        display: none;
    }
}