@charset "utf-8";

/* PC設定
------------------------------------------- */
.main-visual {
    margin-top: 75px;
}

.about-container,
.contact-container {
    margin: 0 calc(50% - 50vw);
    padding: 6em calc(50vw - 50%);
    background: #F7F7F7;

}

.product-container,
.news-container {
    margin: 0 calc(50% - 50vw);
    padding: 6em calc(50vw - 50%);
    background: #fff;
}

.about-flex {
    display: flex;
    justify-content: space-between;
    width: 1050px;
    margin: 0 auto;
}


.about-left {
    width: 44%;
    padding-top: 28px;
}

.about-right {
    width: 50%;
}


.product-table {
    display: flex;
    flex-wrap: wrap;
    width: 1050px;
    margin: 0 auto;
}


.item {
    margin: 0.1%;
    background: #FFFFFFDB;
    border: 1px solid #ECECEC;
    padding: 19px;
}

.item a {
    text-decoration: none;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    color: #777;
    margin-top: 14px;
}

.product-title::after {
    content: '';
    display: inline-block;
    width: 12px;
    height: 10px;
    background-image: url(../img/right-arrow.svg);
    background-size: contain;
    vertical-align: middle;
}

.product-table img {
    height: 220px;
    width: 218px;
    border: 1px solid #DEDEDE;
}

.recommend-container {
    padding-bottom: 96px;
}

.recommend-flex {
    display: flex;
    width: 1050px;
    margin: 0 auto;
}

.recommend-left img {
    width: 283.5px;
    height: 344.55px;
}

.recommend-right {
    width: 70%;
    margin-left: 32px;
}

.recommend-right-title {
    background: #51AA35;
    padding: 13px 25px 10px;
    color: #fff;
    margin-bottom: 29px;
    font-size: 18px;
    font-weight: bold;
}

.recommend-right-content {
    display: flex;
}

.comment-name {
    font-weight: bold;
    font-size: 13px;
}

.comment-text {
    font-size: 13px;
    line-height: 1.7;
}

.content-comment {
    padding-right: 16px;
}

.recommend-btn {
    margin-bottom: 80px;
}

.recommend-btn a {
    text-decoration: none;
    padding: 18.5px 110px;
    display: inline-block;
    color: #fff;
    background: #8bac6a;
}

.recommend-btn a i {
    position: relative;
    right: -13px;
}

.contact-container p {
    margin: 0;
}

.contact-container h2 {
    font-size: 30px;
    font-weight: bold;
    margin: 0;
}

.contact-p {
    color: #508E25;
    margin-top: -5px !important;
}

.contact-p2 {
    color: #1F8032;
    font-size: 48px;
    font-weight: bold;
}

.contact-p3 {
    font-weight: bold;
    color: #1F8032;
    margin-top: -18px !important;

}

.contact-container img {
    width: 472.5px;
    height: auto;
}

.blog-img1 {
    position: absolute;
    margin-top: 155px;
}

.blog-img1 img {
    width: 196px;
    position: relative;
}

.blog-img2 {
    position: absolute;
    margin-left: 940px;
}

.blog-img2 img {
    position: relative;
    margin-top: 77px;
    width: 116px;
}

.news-content {
    width: 1050px;
    margin: 0 auto;
}

.news-flex {
    width: 1050px;
    margin: 0 auto;
    display: flex;
}

.news-left {
    width: 50%;
    text-align: center;
}

.news-left img {
    width: 400px;
    height: 267px;
    object-fit: cover;
}

.news-right {
    width: 50%;
    text-align: center;
}

.news-right img {
    width: 400px;
    height: 267px;
    object-fit: cover;
}

.news-flex-title1 {
    font-size: 22px;
    font-weight: 600;
    width: 400px;
    color: rgb(36, 125, 17);
    background: rgb(215, 227, 207);
    margin-left: 62px;
    padding: 6px 0;
}

.news-flex-title2 {

    font-size: 22px;
    font-weight: 600;
    width: 400px;

    color: rgb(255, 255, 255);
    background: rgb(81, 147, 38);
    margin-left: 62px;
    padding: 6px 0;
}

.news-flex-sub a {
    color: #464646;
}

time {
    color: #569837;
    font-size: 13px;
}

.news-flex-sub {
    margin-top: 3px;
}

.time-wrap {
    margin-top: 2px;
}

/*}*/

/* SP設定
------------------------------------------- */
@media (max-width: 767px) {

    .main-visual {
        background: url(img/sp_main.jpg);
        height: 100vw;
        background-size: cover;
        background-repeat: no-repeat;
        margin-top: 50px !important;
        background-position: center;
    }

    .main-visual img {
        display: none;
    }

    .about-flex {
        width: auto;
        display: block;
        margin: 0 20px;
    }

    .about-left {
        width: auto;
        padding-top: 0px;
    }

    .about-right {
        width: auto;
        margin-top: 10vw;
    }

    .about-container,
    .contact-container,
    .product-container,
    .news-container {
        padding: 4em calc(50vw - 50%);
    }

    .product-table {
        width: auto;
        display: block;
        text-align: justify;
        margin: 0 20px;
    }

    .product-table img {
        width: 100%;
        height: 30vw;
        object-fit: cover;
    }

    .product-title {
        font-size: 2.6vw;
    }

    .item {
        width: 36%;
        padding: 4%;
        margin: 2%;
        display: inline-block;
        vertical-align: top;
        text-align: center;

    }

    .recommend-container {
        padding-bottom: 47px;
    }

    .recommend-flex {
        display: block;
        width: auto;
    }

    .recommend-right {
        width: auto;
        margin-left: 0px;
    }

    .recommend-right-content {
        display: block;
        margin: 0 20px;
    }

    .recommend-right-title {
        text-align: center;
        width: 75vw;
        margin: 0 auto 6vw;
        padding: 4px 0px 2px;

        margin-top: 5vw;

    }

    .recommend-left {
        width: 70%;
        margin: auto;
    }

    .recommend-left img {
        width: auto;
        height: auto;
    }

    .comment-name {
        text-align: center;
        font-weight: bold;
        font-size: 5vw;
        color: #4D9B22;
        margin-bottom: auto;
    }

    .recommend-btn a {
        margin-top: 1vw;
        padding: 18.5px 117px;
    }

    .contact-container h2 {
        font-size: 5vw;
    }

    .contact-p2 {
        color: #E68A39;
        font-size: 8vw;
    }

    .contact-p3 {
        color: #E68A39;
        margin-top: -3vw !important;
    }

    .contact-container img {
        width: 91%;
    }

    .news-content {
        width: auto;
    }

    .blog-img1 {
        display: none;
    }

    .blog-img2 {
        display: none;
    }

    .news-flex {
        display: block;
        width: auto;
        margin: 0 20px;
    }

    .news-left {
        width: auto;
    }

    .news-right {
        width: auto;
        margin-top: 6vw;
    }

    .news-flex-title1 {
        width: auto;
        margin-left: 0px;
        font-size: 4vw;
    }

    .news-flex-title2 {
        width: auto;
        margin-left: 0px;
        font-size: 4vw;
    }

    .content-comment {
        padding-right: 0px;
    }

    .news-left img {
        width: auto;
        height: auto;
    }

    .news-right img {
        width: auto;
        height: auto;
    }

    .product-container2 {
        width: auto;
        margin: 0 20px;
    }
}
