body {
    /*    background: red;*/
}

.container {}

#contact {
    padding-top: 6rem;
}

footer::before {
    background-image: url(../image/material/footer.png);
    background-repeat: repeat-x;
    -webkit-background-size: contain;
    background-size: 1000px;
    background-position: bottom;
}

#main_img {
    width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    max-width: initial;
}

#main_img .slide {
    height: 400px;
    /* padding: 0 2rem; */
}

#main_img .slide li {
    text-align: center;
}

#main_img .slide img {
    width: 100%;
    margin: 0 auto;
    max-width: calc(100vw-200px);
    max-height: 80vh;
    object-fit: contain;
}

#catch-text {
    bottom: 5rem;
    left: 2rem;
    right: 2rem;
    position: absolute;
    margin: auto;
}

#catch-text img {
    max-width: 400px;
    width: 100%;
}

.header_otoiawasewrap>p {
    font-size: 1.2rem;
}

#header_otoiawase li.contact a {
    font-size: 1.2rem;
    padding: 0.2rem 1rem;
}

#header_otoiawase li.tel a {
    font-size: 2rem;
}

.bg_aboutus .box {
    margin-left: 30px;
}

.worksnavi {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.worksnavi li a {
    font-size: 1.4rem;
}

#worksList {
    grid-template-columns: repeat(2, 1fr);
}

#aboutus #history>div {
    border-top: 2px #ff7400 solid;
    background: #fff;
    display: block;
}

#aboutus #history div .bg {
    text-align: center;
}

#aboutus #history div .bg img {
    object-fit: cover;
    height: 50vh;
}

#aboutus #history>div p {
    padding: 1.5rem 2rem 2rem;
}

.flowimg_wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

#blog {
    width: 100%
}

#blog a {
    color: #fff;
    display: flex;
    align-items: center;
    padding-left: 2rem;
    padding-right: 2rem;
    height: 100%;
}

#blog a h2 {
    line-height: 1.2;
}

#under_catch {
    display: block;
    padding-top: 5rem;
}

#under_catch h2 {
    font-size: 2rem;
    padding-bottom: 2rem;
}

#under_catch video {
    padding-top: 3rem;
    width: 70%;
}

#works .iframewrap iframe {
    max-width: 400px;
    width: 100%;
    overflow: hidden;
    height: 320px;
    display: block;
    margin: auto;
}

#works .iframewrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.init-bottom:after {
    bottom: -10px;
}