@charset "utf-8";
/* CSS Document */
.section03 {
    padding-bottom: 20px;
}
.main-wrap{
    position: relative;
    z-index: 0;
}

.company1{
    position: relative;
}
.company1::before,.company1::after{
    content: "";
    position: absolute;
    width: 180px;
    height: 80px;
    background-image: url(https://gocoo-horse.jp/system_panel/uploads/images/mountain.png);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
}
.company1::before{
  top:50px;
    right: 0;
}
.company1::after{
    bottom: 0;
    left: 0;
}
.company1 > div{
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}
.company1 .imgbox{
    width: 40%;
}
.company1 .imgbox img{
    border-radius: 20px;
}
.company1 .txtbox{
    width: 60%;
    padding-right: 5%;
}


.company2 > div{
    gap: 20px;
}
.company2 .leftbox{
    width: calc(60% - 10px);
    background-color: #fff;
}
.company2 .rightbox{
    width: calc(40% - 10px);
}
.company2 .leftbox,.company2 .rightbox img,.company2 .rightbox .map{
    border-radius: 20px;
}
.company2 .leftbox .boxwrap .box{
    padding: 20px 0; 
    border-bottom: 1px solid #EAE9E3;
    justify-content: flex-start;
    
}
.company2 .leftbox .boxwrap .box:first-of-type{
    border-top: 1px solid #EAE9E3;
}
.company2 .leftbox .boxwrap .box h3{
    width: 20%;
}

.company2 .rightbox .map{
    position: relative;
    overflow: hidden;
}
.company2 .rightbox .map iframe{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: calc(100% + 5px);
    height: calc(100% + 5px);
}
.company2 .bottombox{
    gap:20px;
}
.company2 .bottombox img{
    width: 150px;
}
.company2 .bottombox p{
    width: calc(100% - 150px - 20px);
}
.main-wrap{padding-bottom:0;}
/* ---------- IEのみ ---------- */
@media all and (-ms-high-contrast: none) {
}
/* ---------- 1280px ~ ---------- */
@media screen and (max-width: 1280px){
    .company2 .leftbox{
        width: calc(50% - 10px);
        background-color: #fff;
    }
    .company2 .rightbox{
        width: calc(50% - 10px);
    }
}
/* ---------- 1080px ~ ---------- */
@media screen and (max-width: 1080px){
    .company2 .leftbox{
        width: 100%;
        background-color: #fff;
    }
    .company2 .rightbox{
        width: 100%;
        display:-webkit-box;
        display:-moz-box;
        display:-ms-box;
        display:-webkit-flexbox;
        display:-moz-flexbox;
        display:-ms-flexbox;
        display:-webkit-flex;
        display:-moz-flex;
        display:-ms-flex;
        display:flex;
        -webkit-box-lines:multiple;
        -moz-box-lines:multiple;
        -webkit-flex-wrap:wrap;
        -moz-flex-wrap:wrap;
        -ms-flex-wrap:wrap;
        flex-wrap:wrap;
        justify-content: center;
        align-items: stretch;
        flex-direction: row;
        gap: 20px;
   }
    .company2 .rightbox > div{
        width: calc(50% - 10px);
    }
}
/* ---------- 768px ~ ---------- */
@media screen and (max-width: 768px){
    .company2 .bottombox img{
        width: 130px;
    }
    .company2 .bottombox p{
        width: calc(100% - 130px - 20px);
    }
}
/* ---------- 576px ~ ---------- */
@media screen and (max-width: 576px){
    .company1::before,.company1::after{
        width: 120px;
        height: 60px;
    }
    .company1 .imgbox{
        width: 80%;
        margin-bottom: 30px;
    }
    .company1 .imgbox img{
        border-radius: 20px;
    }
    .company1 .txtbox{
        width: 100%;
        padding-right: 0;
    }
    .company2 .leftbox{
        padding-top: 30px;
        padding-bottom: 30px;
    }
    .company2 .rightbox > div{
        width: 100%;
    }
    .company2 .bottombox{
        justify-content: center;
    }
    .company2 .bottombox img{
        width: 120px;
    }
    .company2 .bottombox p{
        width: 100%;
    }
  .company2 .leftbox .boxwrap .box {
      flex-direction: column;
}
.company2 .leftbox .boxwrap .box h3 {
    width: 100%;
}
}
/* ---------- 350px ~ ---------- */
@media screen and (max-width: 350px){
}

