body{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header h1{
    margin: 10px 0 10px 10px;
}

h1 img{
    width: 142px;
    height: 62px;
}

.header-logo{
    margin-left: 10px;
}

.logo-text{
    font-size: 11px;
    font-family: serif;
    font-weight: bold;
    text-align: left;
    margin-left: 20px;
    margin-bottom: 10px;
}

.logo-text2{
    font-size: 11px;
    font-family: serif;
    font-weight: bold;
    text-align: center;
    margin-left: 20px;
}

.firstview-content{
    background: linear-gradient(to right, #96c53f, #1f7f3b);
    position: relative;
    height: calc(100vh - 222px);
    width: 100%;
}

.mainvisual{
    position: absolute;
    width: calc( ( 100vh - 222px ) * 1.18 );
    height: calc(100vh - 222px);
    top: -108px;
    right: 0;
    margin-bottom: 0;
    max-width: 80%;
}

.mainvisual-text{
    position: absolute;
    font-size: 5vw;
    top: 50%;
    transform: translateY(-50%);
    left: 20%;
    color: #fff;
    font-family: serif;
    line-height: 1.3;
}

.mainvisual-text span{
    font-size: 1vw;
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.mainvisual-text span::after{
    content: '';
    border-top: 1px solid #fff;
    flex-grow: 0.9;
    margin-left: 1em;
}

.header-menu li h1, .header-menu li .logo-text2{
    opacity: 0;
    transition: all 0s;
}

.header-menu.is-fixed li h1, .header-menu.is-fixed li .logo-text2{
    opacity: 1;
    transition: all 3s;
}

.header-menu{
    background-color: #f9fcf6;
    position: relative;
    z-index: 50;
}

.is-fixed{
    position: fixed;
    top: 0;
    width: 100%;
}

.header-menu ul{
    padding-left: 0;
    margin: 0 10px;
    list-style: none;
    text-align: center;
}

.header-menu-li{
    flex-basis: 15%;
    border-right: 1px solid #21763a;
    color:  #21763a;
    padding: 5px 15px;
    font-family: serif;
}

.header-menu-li a{
    color: #21763a;
}

.header-menu-li span{
    padding: 5px 15px;
}

.header-menu-li:hover span{
    background-color: #21763a;
    color:  #fff;
}

.hum-icon{
    position: relative;
    width: 35px;
    height: 79px;
    display: none;
}

.hum-icon span, .hum-icon span::before, .hum-icon span::after{
    position: absolute;
    left: 0;
    width: 35px;
    height: 6px;
    background-color: #21763a;
}

.hum-icon span{
    top: 50%;
    transform: translateY(-50%);
}

.hum-icon span::before{
    content: '';
    top: calc(50% - 10px);
    transform: translateY(-50%);
    transition: .3s;
}

.hum-icon span::after{
    content: '';
    top: calc(50% + 10px);
    transform: translateY(-50%);
    transition: .3s;
}

.hum-icon.close span{
    background-color: transparent;
}

.hum-icon.close span::before{
    transform: rotate(45deg);
    top: 50%;
}

.hum-icon.close span::after{
    top: 50%;
    transform: rotate(-45deg);
}

.hum-menu{
    display: none;
    background-color: rgba(150, 197, 63, .8);
    width: 100%;
    padding: 15px;
    position: absolute;
    top: 108px;
    left: 0;
    z-index: 999;
}

.hum-ul{
    margin: auto;
    list-style: none;
}

li.hum-li a{
    color: #fff;
    display: block;
}

.hum-li{
    color: #fff;
    font-size: 20px;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #fff;
}

.hum-li:first-child{
    border-top: 1px solid #fff;
    padding-top: 10px;
}

.contact-banner{
    position: fixed;
    bottom: 100px;
    right: 15px;
    background: linear-gradient(to bottom, #96c53f, #1f7f3b);
    color: #fff;
    writing-mode: vertical-lr;
    padding: 30px 10px;
    height: 400px;
    font-size: 13px;
    white-space: nowrap;
    letter-spacing: 2px;
}

.contact-text{
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.contact-text span{
    font-size: 16px;
}

.contact-text::after{
    content: '';
    width: 1px;
    height: 50px;
    background-color: #fff;
    margin-top: 10px;
    margin-right: 1px;
}

.content-wrap{
    max-width: 1024px;
    margin: 0 auto;
}

h2{
    text-align: center;
    letter-spacing: 2px;
}

h2::first-letter{
    color: #96c53f;
}

.bottom-border{
    width: 1px;
    height: 50px;
    background-color: #96c53f;
    margin: 15px auto 30px;
}

.gyomu-content1, .gyomu-content2, .gyomu-content3{
    width: 100%;
    border: 4px solid transparent;
}

.gyomu-content1:hover, .gyomu-content2:hover, .gyomu-content3:hover{
    border: 4px solid #96c53f;
}

.gyomu-content1{
    margin-right: 5px;
}

.gyomu-content2{
    margin: 0 5px;
}

.gyomu-content3{
    margin-left: 5px;
}

.gyomu-content1 h3, .gyomu-content2 h3, .gyomu-content3 h3{
    font-size: 20px;
    height: 40px;
    margin: 30px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.gyomu-text{
    margin: 15px 15px 30px;
    height: 120px;
}

.gyomu-more{
    text-align: center;
}

.gyomu-more span{
    border: 2px solid #96c53f;
    border-radius: 20px;
    color: #96c53f;
    padding: 5px 30px;
}

.gyomu-content1:hover .gyomu-more span, .gyomu-content2:hover .gyomu-more span, .gyomu-content3:hover .gyomu-more span{
    background-color: #96c53f;
    color: #fff;
}

.news-back{
    background-color: #96c53f;
    padding: 100px 0;
    margin: 100px auto;
}

.news-back h3{
    text-align: center;
    color: #fff;
    font-size: 25px;
    letter-spacing: 1px;
}

.bottom-border2{
    width: 1px;
    height: 50px;
    background-color: #fff;
    margin: 15px auto 30px;
}

.news-tab{
    border: 1px solid #fff;
    margin-bottom: 70px;
    overflow: hidden;
}

.post-content{
    padding: 50px 30px;
}

.post-content:not(:last-child){
    border-bottom: 1px solid #fff;
}

div.post-content a{
    text-decoration: none;
    color: #fff;
}

div.post-content:hover{
    background-color: #fff;
}

div.post-content:hover a{
    color: #21763a;
}

.blog-time, .blog-title, .blog-content{
    margin-bottom: 0;
}

.blog-time, .blog-title{
    font-size: 20px;
    letter-spacing: 2px;
}

.blog-time{
    padding-bottom: 15px;
    margin-right: 15px;
    border-bottom: 1px solid #fff;
}

div.post-content:hover .blog-time{
    border-bottom: 1px solid #21763a;
}

.blog-title{
    margin-left: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.blog-content{
    margin-top: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.news-all{
    text-align: center;
}

.news-all span{
    color: #21763a;
    border: 1px solid #21763a;
    background-color: #fff;
    padding: 5px 30px;
    font-size: 23px;
}

.news-all span:hover{
    color: #fff;
    background-color: #21763a;
}

.about-text{
    line-height: 2;
    text-align: center;
    font-family: serif;
    letter-spacing: 1px;
}

.about-text-span1{
    letter-spacing: 5px;
}

.about-text-span2::before{
    content: '\A';
    white-space: pre;
}

.about-content{
    background-color: #96c53f;
    margin: 50px auto 100px;
}

.about-img1, .about-img2{
    width: 100%;
    position: relative;
    margin-bottom: 0;
    z-index: 1;
}

.about-img1:hover, .about-img2:hover{
    background-color: #000;
}

.about-img1:hover img, .about-img2:hover img{
    opacity: 0.8;
}

.about-span1{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 2px solid #fff;
    font-size: 60px;
    font-family: serif;
    color: #fff;
    padding: 10px 32.5px;
    line-height: 1.3;
    text-align: center;
z-index: 2;
}

.about-img2 .about-span1{
    padding: 10px 25px;
    left: calc(50% - 20px);
z-index: 2;
}

.about-span2{
    font-size: 45px;
}

footer ul{
    list-style: none;
    padding-left: 0;
    margin-left: 0;
    margin-bottom: 30px;
}

.footer-li{
    flex-basis: 20%;
    border-right: 1px solid #23323e;
    color: #23323e;
    text-align: center;
}

.footer-back{
    background-color: #23323e;
    padding: 30px 0;
}

.footer-text1, .footer-text2, .footer-text3{
    color: #fff;
    text-align: center;
}

.footer-text1{
    font-size: 30px;
    font-family: serif;
}

.footer-text1 span{
    letter-spacing: 2px;
}

.footer-text2, .footer-text3{
    font-size: 12px;
}

@media screen and (max-width: 1200px){
    .header-menu-li{
        flex-basis: 20%;
        border-right: 1px solid #21763a;
        color:  #21763a;
        padding: 5px 15px;
        font-family: serif;
    }

    .about-span1{
        padding: 5px 27.5px;
    }
    
    .about-img2 .about-span1{
        padding: 5px 20px;
        left: calc(50% - 20px);
    }
}

@media screen and (max-width: 992px){
    .header-menu-li{
        flex-basis: auto;
        width: 100%;
        border-right: 1px solid #21763a;
        color:  #21763a;
        padding: 5px 0;
        font-family: serif;
        font-size: 14px;
    }

    .gyomu-text{
        height: 180px;
    }

    .about-span1{
        font-size: 50px;
        padding: 5px 22.5px;
    }
    
    .about-img2 .about-span1{
        padding: 5px 15px;
        left: calc(50% - 25px);
    }

    .about-span2{
        font-size: 37px;
    }
}

@media screen and (max-width: 768px){
    h1 img{
        width: 122px;
        height: 52px;
    }

    .logo-text, .logo-text2{
        font-size: 10px;
        margin-left: 15px;
    }

    .firstview-content{
        height: 51vw;
    }
    
    .mainvisual{
        position: absolute;
        width: 60vw;
        height: 51vw;
        top: 0;
        right: 0;
        max-width: auto;
    }

    .mainvisual-text span{
        margin-top: 10px;
    }

    .header-menu ul{
        margin: 0 10px;
    }

    .header-menu-li{
        display: none;
    }

    .hum-icon{
        display: block;
    }

    .hum-menu{
        top: 105px;
    }

    .contact-banner{
        bottom: 100px;
        right: 15px;
        color: #fff;
        padding: 30px 10px;
        height: 300px;
        font-size: 10px;
        letter-spacing: 2px;
        
    }

    .contact-text span{
        font-size: 13px;
    }

    .gyomu-text{
        margin: 15px 0 30px;
        height: auto;
    }

    .gyomu-content2, .gyomu-content3{
        margin-top: 30px;
    }

    .gyomu-content1 h3, .gyomu-content2 h3, .gyomu-content3 h3{
        height: auto;
        margin: 0 15px 30px;
    }

    .gyomu-content1:hover, .gyomu-content2:hover, .gyomu-content3:hover{
        border: 4px solid transparent;
    }

    .gyomu-content1:hover .gyomu-more span, .gyomu-content2:hover .gyomu-more span, .gyomu-content3:hover .gyomu-more span{
        background-color: transparent;
        color: #96c53f;
    }
    
    .gyomu-content1:hover .gyomu-more span:hover, .gyomu-content2:hover .gyomu-more span:hover, .gyomu-content3:hover .gyomu-more span:hover{
        color: #fff;
        background-color: #96c53f;
    }

    .blog-time{
        padding-bottom: 0;
        margin-right: 0;
        border-bottom: 0;
    }
    
    .blog-title{
        margin-left: 0;
        padding-bottom: 15px;
        border-bottom: 1px solid #fff;
    }
    
    .blog-content{
        margin-top: 20px;
    }

    .about-text-span2::before{
        content: '';
    }

    .about-span1{
        font-size: 40px;
        padding: 3px 17.5px;
    }
    
    .about-img2 .about-span1{
        padding: 3px 10px;
        left: calc(50% - 22px);
    }

    .about-span2{
        font-size: 29.5px;
    }

    .footer-li{
        flex-basis: auto;
        width: 100%;
        font-size: 14px;
    }

    .footer-text2 span::before, .footer-text3 span::before{
        content: '\A';
        white-space: pre;
    }
}

@media screen and (max-width: 576px){
    .index-h2{
        font-size: 1.8rem;
    }

    .contact-banner{
        bottom: 50px;
        right: 15px;  
    }

    .gyomu-text{
        margin: 15px 0 30px;
        height: auto;
    }

    .news-back{
        padding: 50px 0;
    }

    .post-content{
        padding: 30px 15px;
    }

    .blog-time, .blog-title{
        font-size: 18px;
    }

    .blog-content{
        font-size: 14px;
    }

    .about-text-span2::before{
        content: '';
    }

    .about-span1{
        font-size: 11.4vw;
        padding: 0;
        height: 70%;
        width: 40%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .about-img2 .about-span1{
        padding: 0;
        left: calc(45% - 3px);
        display: table;
        margin: auto;
    }

    .about-span2{
        font-size: 8.4vw;
    }

    .footer-li{
        width: auto;
        padding: 0 5px;
    }

    .footer-text1{
        font-size: 25px;
    }
}

@media screen and (max-width: 450px){
    .footer-li{
        font-size: 12px;
    }
}