

/* 代理店募集
----------------------------------------------------------------------------------------------- */
#agency {
  text-align: center;
}
#agency h2 {
  margin-bottom: 20px;
  font-size: 31px;
  line-height: 1.6;
}
#agency .split {
  display: block;
}
#agency .h2title-sentence {
  margin-bottom: 0;
}
#agency.pre-wrap > section.head {
  padding-bottom: 0;
}
#agency .head h2 {
  line-height: 1.6;
}
#agency .head h2 span {
  display: block;
  font-size: 24px;
}
#agency .head .handshake {
  margin-top: 40px;
}
#agency .head .handshake img {
  width: 120px;
}
#agency .member h2 {
  margin-bottom: 20px;
  color: #0aa8a8;
}
#agency .member ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  font-size: 17px;
}
#agency .member ul li {
  margin: 0 0 10px 10px;
}
#agency .member ul li:not(:last-child) {
  padding: 12px 20px 8px;
  font-weight: bold;
  color: #0aa8a8;
  background-color: #f6f6f6;
  border: 1px solid #d4d4d4;
}
#agency .member p {
  margin-top: 30px;
}
#agency .feature {
  background-color: #f4e8d7;
}
#agency .feature .h2title-sentence .split {
  display: inline;
}
#agency .feature img {
  width: 100%;
  max-width: 180px;
}
#agency .feature figure {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
}
#agency .feature img {
  width: 140px;
}
#agency .feature h3 {
  font-size: 20px;
  line-height: 1.6;
}
#agency .feature .box p {
  font-size: 14px;
}
#agency .feature .three-box-arrow-content {
  display: flex;
  align-items: top;
  justify-content: space-between;
  max-width: 1000px;
  margin: 60px auto 0;
}
#agency .feature .three-box-arrow-content .box {
  box-sizing: border-box;
  width: calc(33% - 20px);
  padding: 30px;
  text-align: center;
  background: #ffffff;
  border: 1px solid #e3daca;
  border-radius: 5px;
}
#agency .flow .flow-bank {
  margin-top: 80px;
}
#agency .flow .flow-bank img {
  width: 100%;
  max-width: 800px;
}
#agency .flow .box {
  position: relative;
  max-width: 500px;
  margin: 20px auto 0;
  background-color: #f0fafa;
  border: 1px solid #d4d4d4;
  border-radius: 6px;
}
#agency .flow .box::before,
#agency .flow .box::after {
  position: absolute;
  top: -56px;
  left: 50%;
  content: "";
  transform: translateX(-50%);
}
#agency .flow .box::before {
  border: 28px solid transparent;
  border-bottom: 28px solid #d4d4d4;
}
#agency .flow .box::after {
  border: 30px solid transparent;
  border-bottom: 30px solid #f0fafa;
}
#agency .flow .box .box-inner {
  padding: 40px 20px 20px;
}
#agency .flow .box .comment {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: bold;
}
#agency .flow .box .comment::before {
  display: inline-block;
  padding: 5px 13px;
  content: "";
  border-bottom: 2px solid #333333;
  transform: rotate(50deg);
}
#agency .flow .box .comment::after {
  display: inline-block;
  padding: 5px 13px;
  content: "";
  border-bottom: 2px solid #333333;
  transform: rotate(-50deg);
}
#agency .flow .box .mens01 img {
  width: 100%;
  max-width: 110px;
}
#agency .flow .box h3 {
  margin: 10px 0;
  font-size: 16px;
  font-weight: bold;
  color: #0aa8a8;
}
#agency .contract {
  background-color: #f4e8d7;
}
#agency.pre-wrap > section.contract {
  padding-bottom: 0;
}
#agency .contract img {
  width: 100%;
  max-width: 180px;
}
#agency .contract figure {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
}
#agency .contract .contract01 img {
  width: 160px;
}
#agency .contract .contract02 img {
  width: 120px;
}
#agency .contract .contract03 img {
  width: 160px;
}
#agency .contract h3 {
  margin-top: 20px;
  font-size: 24px;
}
#agency .contract .box p {
  margin-top: 20px;
  font-size: 14px;
}
#agency .contract .three-box-arrow-content {
  display: flex;
  justify-content: space-between;
  max-width: 1000px;
  margin: 60px auto 0;
}
#agency .contract .three-box-arrow-content .box {
  box-sizing: border-box;
  width: calc(33% - 20px);
  padding: 20px 30px 30px;
  background: #ffffff;
  border: 1px solid #e3daca;
  border-radius: 5px;
}
#agency .contract .three-box-arrow-content .box:not(:last-child)::before {
  position: absolute;
  top: calc(50% - 10px);
  right: -24px;
  z-index: 2;
  display: block;
  content: "";
  border-color: transparent #64563f;
  border-style: solid;
  border-width: 10px 0 10px 10px;
}
#agency .cta {
  background-color: #f4e8d7;
}
#agency .cta p {
  font-size: 20px;
  font-weight: bold;
}
#agency .cta .split {
  display: inline;
}
#agency .cta a {
  margin-top: 40px;
}
#agency.pre-wrap > section.cta {
  padding-bottom: 160px;
}

@media screen and (width <= 940px) {
  #agency h2 {
    font-size: 24px;
  }
  #agency .member ul {
    max-width: 500px;
  }
  #agency .feature .three-box-arrow-content .box {
    width: calc(33% - 10px);
  }
  #agency .contract h3 {
    font-size: 20px;
  }
}
@media screen and (width <= 670px) {
  #agency h2 {
    font-size: 18px;
  }
  #agency .h2title-sentence .split {
    display: inline;
  }
  #agency .head h2 span {
    font-size: 18px;
  }
  #agency .head .handshake {
    margin-top: 50px;
  }
  #agency .head .handshake img {
    width: 80px;
  }
  #agency .member ul {
    max-width: 500px;
    font-size: 14px;
  }
  #agency .member ul li {
    width: calc(60% - 10px);
  }
  #agency .feature .three-box-arrow-content {
    display: block;
    margin: 30px auto 0;
  }
  #agency .feature .three-box-arrow-content .box {
    width: 100%;
  }
  #agency .feature .three-box-arrow-content .box:not(:last-child) {
    margin-bottom: 20px;
  }
  #agency .flow .box h3 .split {
    display: block;
  }
  #agency .flow .flow-bank {
    margin-top: 40px;
  }
  #agency .flow .box .split {
    display: inline;
  }
  #agency .contract .three-box-arrow-content {
    display: block;
  }
  #agency .contract .three-box-arrow-content .box {
    position: relative;
    width: 100%;
    margin-top: 30px;
  }
  #agency .contract .contract01 img {
    width: 140px;
  }
  #agency .contract .contract02 img {
    width: 90px;
  }
  #agency .contract .contract03 img {
    width: 130px;
  }
  #agency .contract figure {
    align-items: flex-end;
    height: 100px;
  }
  #agency .contract .three-box-arrow-content .box:not(:last-child)::before {
    top: auto;
    right: 50%;
    bottom: -25px;
    margin-right: -10px;
    transform: rotate(90deg);
  }
  #agency.pre-wrap > section.cta {
    padding: 50px 10px;
    padding: 50px 10px 100px;
  }
  #agency .cta p {
    font-size: 18px;
    font-weight: normal;
  }
  #agency .cta .split {
    display: block;
    line-height: 1.6;
  }
  #agency .cta a {
    font-size: 18px;
  }
  #agency .co-nbtn-ll::after {
    right: 15px;
    margin-top: -5px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
  }
}
