/*スライドショー*/

#slick {
    width: 100%;
    margin: 0px auto;
}

#slick img {
    width: 100%;
}

.slick-list {
    overflow: visible;
}

.slider img {
    width: 100%;
}

.slick-slide {
    transition: 2s ease;
}

.slick-slide:not(.slick-center) {
    opacity: 0.8;
    transition: 0.2s linear;
}

section {
    width: 1040px;
    margin: 0 auto;
    clear: both;
    overflow: hidden;
}


/*news*/

#news {
    margin-top: 100px;
}

h2 {
    font-size: 220%;
    font-weight: normal;
    letter-spacing: 1px;
}

#news ul {
    margin-top: 10px;
}

#news li {
    width: 100%;
    clear: both;
    padding: 15px 0;
    border-bottom: 1px dotted #fff;
    overflow: hidden;
    box-sizing: border-box;
}

#news li p:first-child {
    margin-right: 20px;
}

#news li p {
    float: left;
    display: inline-block;
    font-size: 90%;
    line-height: 1.4;
}


/*service*/

#service {
    margin-top: 100px;
}

#service h2 {
    margin-bottom: 20px;
}

#service li {
    width: 47.5%;
    float: left;
    margin-bottom: 60px;
}

#service li:nth-of-type(3),
#service li:nth-of-type(4) {
    margin-bottom: 0;
}

#service li:nth-child(odd) {
    width: 47.5%;
    margin-right: 5%;
}

#service h3 {
    font-size: 140%;
    color: #8f7930;
    margin-top: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #8f7930;
}

#service h3 a {
    font-weight: normal;
    font-size: 70%;
    padding: 6px 20px;
    background: #8f7930;
    float: right;
    margin-top: -3px;
}

#service li p {
    font-size: 90%;
    letter-spacing: 1px;
    margin-top: 13px;
    line-height: 1.6;
    font-weight: 100;
}

.right_arrow {
    position: relative;
    margin-left: 10px;
}

.right_arrow:after {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
    right: -18px;
    box-sizing: border-box;
    width: 12px;
    height: 4px;
    border: 4px solid transparent;
    border-left: 7px solid #fff;
}

@media screen and (max-width:1050px) {
    section {
        width: 92%;
        margin: 60px auto 0;
    }
    h2 {
        font-size: 160%;
    }
    .slider {
        width: 100%;
    }
    #news ul {
        margin-top: 0;
    }
    #news {
        margin-top: 80px;
    }
    #service {
        margin-top: 50px;
    }
    #service li {
        width: 100%;
        margin-bottom: 50px;
    }
    #service li:nth-of-type(3) {
        margin-bottom: 50px;
    }
    #service li img {
        width: 100%;
    }
    #service li p {
        line-height: 1.6;
    }
    #service li h3 {
        font-size: 120%;
    }
    #service li:nth-child(odd) {
        width: 100%;
    }
    .right_arrow {
        margin-left: 0;
        display: inline-block;
    }
}
