@charset "utf-8";
/* ========================
common
======================== */
html {
    font-size: 62.5%;
}

body {
    font-family:"Noto Sans JP",
                Arial,
                serif;
    font-style: normal;
    color: #2F2F2F;
    background-color: #fff;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
}

.section__topic {
    font-family: "Abril Fatface";
    font-size: 3.2rem;
    font-weight: 400;
    line-height: 1.3;
    text-align: center;
}

/* ========================
header
======================== */
.logo {
    width: 46px;
    height: 39px;
    flex-shrink: 0;
}

.header {
    padding: 24px 6.4% 16px;
}

.header__topic,
.nav__topic {
    color: #000;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.header__topic img,
.nav__topic img {
    display: inline-block;
    vertical-align: -10px;
    margin-right: 10px;
}

/* .nav初期表示 */
.nav {
    background: rgba(255, 255, 255, 0.9);
    width: 100%;
    height: 100vh;
    padding: 24px 6.4%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    transform: translateX(-100%);
    transition: transform 0.4s;

}

.nav__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav__list {
    margin-top: 65px;
}

.nav__item {
    color: #2F2F2F;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    margin-top: 52px;
}

.nav__item img {
    display: inline-block;
    vertical-align: -3px;
    margin-right: 24px;
}

.nav.active {
    transform: translateX(0);
}

.header__btn {
    display: block;
    width: 18px;
    height: 11px;
    cursor: pointer;
    position: absolute;
    top: 38px;
    right: 6.4%;
}

/* .header pc */
@media screen and (min-width: 769px) {
    .header {
        max-width: 1280px;
        margin: 0 auto;
        padding: 20px 60px;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    .nav {
        background: transparent;
        width: auto;
        height: auto;
        padding: 0 0;
        position: static;
        transform: translate(0);
    }

    .nav__list {
        margin-top: 0;
        display: flex;
    }

    .nav__item {
        margin-top: 0;
        color: #3B8018;
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 1.3;
        margin-left: 32px;
    }

    .nav__header {
        display: none;
    }

    .nav__item img {
        display: none;
        margin-right: 0;
    }

    .nav__item:first-of-type {
        display: none;
    }

    .header__btn {
        display: none;
    }

}/* pc 769px */

/* ========================
main
======================== */
/* article header */
.mainImg .mainImg__pc {
    display: none;
}

.mainImg__sp {
    max-width: 100%;
    height: 368px;
    background-image: url(../images/main-sp.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
 }
 
 .mainImg__txt__sp {
    font-size: 8vw;
    font-weight: 500;
    background-color: rgba(59, 128, 24, 0.6);
    padding: 6px;
    color: white;
    position: absolute;
    right: 0px;
    left: 9%;
    bottom: 150px;
    text-align: end;
 }

.mainImg__pc {
    max-width: 100%;
    height: 500px;
    background-image: url(../images/main-pc.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
 }

 .mainImg__txt__pc {
    font-size: 7vw;
    font-weight: 700;
    background-color: rgba(59, 128, 24, 0.6);
    padding: 0;
    color: white;
    position: absolute;
    right: 0px;
    bottom: 200px;
    
 }
 /* mainimg */

.mainTopics {
    padding: 48px 6.4%;
}

.mainTopics__name {
    color: #3B8018;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
}

.goal {
    font-size: 2.4rem;
    font-weight: 400;
}

.mainTopics__txt {
    color: #2F2F2F;
    font-size: 1.4rem;
    margin-top: 24px;
}

/* article header pc */
@media screen and (min-width:769px) {
    .mainImg .mainImg__pc {
        display: block;
    }

    .mainImg .mainImg__sp {
        display: none;
    }

    .mainTopics {
        padding: 64px 0;
        max-width: 1280px;
        margin: 0 auto;
    }

    .mainTopics__name {
        font-family: "Abril Fatface";
        font-size: 3.2rem;
        font-weight: 400;
    }

    .goal {
        font-family: "Abril Fatface";
        font-size: 3.2rem;
    }

    .spBr {
        display: none;
    }

    .mainTopics__txt {
        text-align: center;
        font-size: 1.6rem;
        font-weight: 400;
        line-height: 1.3;
        margin-top: 32px;
    }
}
/* pc 769px */

/* .history */
.section--history {
    padding: 48px 4.2%;
    background: url(../images/history.png) #B5E3BF54 50% / cover no-repeat;
}

.history__item {
    margin-top: 20px;
}

.history__item:first-of-type {
    margin-top: 32px;
}

.history__content {
    background-color: #fff;
    padding: 16px;
    border-radius: 0 0 8px 8px;
}

.history__name {
    color: #2F2F2F;
    font-size: 1.8rem;
    font-weight: 700;
}

.history__category {
    background-color: rgba(181, 227, 191, 0.33);
    display: inline-block;
    padding: 4px 16px;
    color: #3B8018;
    font-size: 1.4rem;
    margin-top: 16px;
}

.history__txt {
    color: #2F2F2F;
    font-size: 1.4rem;
    margin-top: 16px;
}

/* history pc */
@media screen and (min-width: 769px) {
    .section--history {
        padding: 64px 0 96px;
    }

    .history {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 60px;
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .history__item {
        margin-top: 48px;
        max-width: 373px;
    }

    .history__item:first-of-type {
        margin-top: 48px;
    }

}/* pc 769px */

.detail {
    color: #3B8018;
    font-size: 1.4rem;
    margin-top: 16px;
}

.detail__workplace {
    border-bottom: 1px solid #3B8018;
}

.detail__licence {
    margin-top: 16px;
}

.btn {
    display: block;
    padding: 16px 0px 18px;
    border-radius: 4px;
    background: #3B8018;
    color: #FFF;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
    margin-top: 16px;
    transition: 0.4s;
    position: relative;
}

.btn::after {
    display: block;
    content: '';
    width: 7px;
    height: 12px;
    background-image: url(../images/btn-arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center; 
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
}

.btn:hover {
    opacity: 0.5;
}

/* Access */
.section--access {
    padding: 48px 6.4% 106px;
}

.address {
    color: #2F2F2F;
    font-size: 1.4rem;
    text-align: center;
    margin-top: 24px;
}

.address img {
    margin-right: 8px;
    width: 20px;
    height: 24px;
}

.map {
    width: 100%;
    margin-top: 24px;
}

.directions {
    padding-top: 24px;
}

.directions__item:last-of-type {
    margin-top: 45px;
}

.directions__topic {
    color: #3B8018;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.directions__txt {
    color: #2F2F2F;
    font-size: 1.4rem;
    margin-top:16px;
}

/* access pc */
@media screen and (min-width: 769px) {
    .section--access {
        padding: 64px 60px 96px ;
        max-width: 1280px;
        margin: 0 auto;
    }

    .map-container {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        flex-direction: row-reverse; /* 右から左へ並べる */
    }

    .address {
        margin-top: 32px;
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .map {
        margin-top: 32px;
    }
    
    .directions-container {
        padding: 85px 0 63px;
    }
    
    .map-container__abira, .directions-container {
        width: 48%;
    }

    .directions__topic {
        line-height: 1;
    }

    .directions__txt {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .directions__topic:last-of-type {
        margin-top: 32px;
    }
    
    
}/* pc 769px */

/* news */
.section--news {
    padding: 48px 4.2%;
    background-color: #3B8018;
} 

.section__topic--news {
    color: #FFF;
}

.news__list {
    background-color: #FFF;
    padding: 24px 4.2%;
    margin-top: 32px;
}

.news__topic {
    color: #3B8018;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    margin-top: 24px;
}

.news__topic:first-of-type {
    margin-top: 0;
}

.news__topic time {
    background-color: #FFF8E0;
    padding: 4px 16px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 1;
}

.news__topic span {
    display: block;
    margin-top: 12px;
}

.news__txt {
    font-size: 1.4rem;
    margin-top: 8px;
}

/* news pc */
@media screen and (min-width: 769px) {
    .section--news {
        padding: 64px 0 96px;
    }
    
    .news__list {
        padding: 48px 96px;
        max-width: 1160px;
        margin: 32px auto 0;
    }

    .news__topic {
        font-size: 1.8rem;
        line-height: 1.5;
        margin-top: 32px;
        display: flex;
        align-items: center;
    }

    .news__topic time {
        font-size: 1.6rem;
    }
    
    .news__topic span {
        margin-top: 0;
        margin-left: 20px;
    }

}/* pc 769px */

/* ========================
footer
======================== */
.footer {
    padding: 32px 4.2%;
}

.footer__topic {
    color: #000;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.footer__topic img {
    display: inline-block;
    vertical-align: -10px;
    margin-right: 10px;
}

.menu__list {
    margin-top: 32px;
}

.menu__item {
    color: #3B8018;
    font-size: 1.6rem;
    line-height: 1.3;
    margin-top: 16px;
}

.sns {
    margin-top: 32px;
    display: flex;
}

.sns__item {
    width: 24px;
    height: 24px;
    margin-right: 24px;
}

.copy {
    margin-top: 64px;
}

.copy small {
    font-size: 1.2rem;
}

/* footer pc */
@media screen and (min-width:769px) {
    .footer {
        padding: 64px 60px;
        max-width: 1280px;
        margin: 0 auto;
    }

    .footer__group {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .footer__topic {
        font-size: 2rem;
    }

    .logo--last {
        width: 72px;
        height: 61px;
        flex-shrink: 0
    }

    .menu__list {
        display: flex;
        margin-top: 0;
    }

    .menu__item {
        margin-top: 0;
        margin-left: 32px;
    }

    .sns {
        justify-content: flex-end;
    }

    .sns__item {
        margin: 0 0 0 24px;
    }

    .copy {
        margin-top: 32px;
    }
    
}/* pc 769px */