@charset "UTF-8";
.hero {
  padding: 104px 0 108px;
  background: url("../img/officelist/ttl_bg.jpg") no-repeat center/cover;
  text-align: center;
  font-size: 20px;
  letter-spacing: 0.2em;
}

.hero h1 {
  padding: 40px 32px;
  display: inline-block;
  background-color: #3268ad;
  color: white;
  font-weight: bold;
}

@media screen and (max-width: 1023px) {
  .hero {
    padding: 60px 0 100px;
    background: url("../img/officelist/sp-ttl_bg.jpg") no-repeat center/cover;
    letter-spacing: 0.1em;
    font-size: clamp(20px, 2.66667vw, 40px);
  }
  .hero h1 {
    padding: 40px 20px;
  }
}

.office {
  margin: 120px auto 0;
  max-width: 1200px;
  width: 100%;
}

.office-ttl {
  font-size: 30px;
  text-align: center;
  font-weight: bold;
  letter-spacing: 0.2em;
}

.office-ttl span {
  display: inline-block;
  padding: 0 140px;
  position: relative;
}

.office-ttl span::before {
  position: absolute;
  top: 50%;
  left: 0;
  background-color: #009c43;
  width: 116px;
  height: 1px;
  content: '';
}

.office-ttl span::after {
  position: absolute;
  top: 50%;
  right: 0;
  background-color: #3268ad;
  width: 116px;
  height: 1px;
  content: '';
}

.office-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

.office-list li {
  width: 47.5%;
  margin-top: 60px;
}

.office-list .map {
  position: relative;
  width: 100%;
  height: 570px;
}

.office-list .map iframe {
  position: absolute;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.office-list dt {
  color: #3268ad;
  font-size: 25px;
  letter-spacing: 0.1em;
  padding: 24px 0 18px;
  font-weight: 500;
}

.office-list dd {
  font-size: 16px;
  line-height: 2.25;
  letter-spacing: 0.1em;
  color: #2d2d2d;
}

@media screen and (max-width: 1023px) {
  .office {
    margin: 60px auto 0;
    padding: 0 5.33333vw;
  }
  .office-ttl {
    font-size: clamp(22px, 5.86667vw, 44px);
  }
  .office-ttl span {
    padding: 0;
    width: 100%;
  }
  .office-ttl span::before {
    width: 8vw;
  }
  .office-ttl span::after {
    width: 8vw;
  }
  .office-list {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .office-list li {
    width: 82.66667vw;
    margin: 35px auto 0;
  }
  .office-list .map {
    height: 320px;
  }
  .office-list dt {
    font-size: clamp(15px, 4vw, 30px);
    letter-spacing: 0.2em;
    padding: 15px 0 15px;
  }
  .office-list dd {
    font-size: clamp(15px, 4vw, 30px);
    line-height: 1.66667;
    letter-spacing: 0.05em;
  }
}

/*----------------
関連会社
----------------*/
.affiliates {
  margin: 140px auto 0;
  max-width: 1200px;
  padding-bottom: 390px;
  width: 100%;
}

.affiliates-ttl {
  font-size: 30px;
  text-align: center;
  font-weight: bold;
  letter-spacing: 0.2em;
  margin-bottom: 60px;
}

.affiliates-ttl img {
  vertical-align: middle;
}

.affiliates-ttl span {
  display: inline-block;
  padding: 0 180px;
  position: relative;
}

.affiliates-ttl span::before {
  position: absolute;
  top: 50%;
  left: 0;
  background-color: #009c43;
  width: 116px;
  height: 1px;
  content: '';
}

.affiliates-ttl span::after {
  position: absolute;
  top: 50%;
  right: 0;
  background-color: #3268ad;
  width: 116px;
  height: 1px;
  content: '';
}

.affiliates > .flex {
  justify-content: space-between;
}
.affiliates .list-area{
  max-width: 700px;
  margin-left: 80px;
  width: 58%;
  margin-bottom: 60px;
}

.affiliates .img{
  width: 33%;
}

.affiliates dl{
  border: 1px solid #c6c6c6;
  font-size: 16px;
  letter-spacing: 0.2em;
  display: flex;
  width: 100%;

}
.affiliates dt{
  background-color: #eeeeee;
  font-weight: bold;
  max-width: 260px;
  width:37%;
  display: flex;
  flex-direction: column;
}
.affiliates dt span{
  margin: auto 0;
}
.affiliates dd{
  max-width: 440px;
  width: 62%;
}
.affiliates dt, .affiliates dd{
  padding: 24px 16px;
}

.affiliates .link-area{
  padding-top: 30px;
  text-align: center;
}
.affiliates .link-area img{
  vertical-align: middle;
}
.affiliates .link-area button{
  text-align: center;
  background-color: transparent;
  border: 0;
  font-size: 20px;
  margin: 0 auto 70px;
}
.affiliates .link-area a{
  background-color: #88c122;
  color: white;
  font-weight: bold;
  display: inline-block;
  padding: 14px 16px 14px 30px;
  border-radius: 10px;
}
@media screen and (max-width: 1023px) {
  .affiliates {
    margin: 130px auto 0;
    padding: 0 5.33333vw 0;
  }
  .affiliates-ttl {
    font-size: clamp(22px, 5.86667vw, 44px);
    margin-bottom: 25px;
  }
  .affiliates-ttl span {
    width: 100%;
    padding: 0 0;
  }
  .affiliates-ttl span::before {
    width: 14.66667vw;
  }
  .affiliates-ttl span::after {
    width: 14.66667vw;
  }

  .affiliates > .flex {
    flex-direction: column-reverse;
  }
  .affiliates .list-area{
    padding: 0;
    margin-left: 0;
    width: auto;
    margin-bottom: 45px;
  }
  
  .affiliates .img{
    width: 59.7%;
    max-width: 400px;
    margin: 0 auto 25px;
  }
  
  .affiliates dl{
    font-size: clamp(11px, 3vw, 23px);  
  }
  .affiliates dt{
    max-width: 260px;
    width:38%;
  }
  .affiliates dd{
    max-width: 440px;
    width: 62%;
  }
  .affiliates dt, .affiliates dd{
    padding: 10px 8px;
  }
  
  .affiliates .link-area{
    padding-top: 0;
  }
  .affiliates .link-area button{
    font-size: clamp(12px, 3.1vw, 25px);  
    margin: -20px auto 45px;
  }
  .affiliates .link-area a{
    padding: 8px 5px;
  }
}
