/* CTA-009
---------------------------------------------*/
/* common */
.font-opensans {
  font-family: 'Open Sans', sans-serif;
}
.textcolor-yellow {
  color: #F5FF79;
}
/* base
-----------------------*/
.cta-009 {
  background-color: #79af9b;
  padding: calc(100vw * 50 / var(--lpw)) 0 calc(100vw * 75 / var(--lpw));
}
.cta-009.affiliate {
  padding: calc(100vw * 50 / var(--lpw)) 0;
}
.cta-009 .container {
  background-color: #fff;
  padding: 0;
  max-width: calc(100vw * 940 / var(--lpw));
  border-radius: calc(100vw * 30 / var(--lpw));
}
.cta-009 .cta-body {
  max-width: calc(100vw * 670 / var(--lpw));
  padding: calc(100vw * 50 / var(--lpw)) 0 calc(100vw * 50 / var(--lpw)) calc(100vw * 220 / var(--lpw));
  margin: auto;
}
.cta-009 .cta-body::before {
  content: '';
  width: calc(100vw * (180 / var(--lpw)));
  height: calc(100vw * (309 / var(--lpw)));
  display: inline-block;
  position: absolute;
  top: calc(100vw * 51 / var(--lpw));
  left: 0;
  background: center/contain url(../../img/cta/ip/cta-180×309.png) no-repeat;
  /* 1) フォールバック (image-set非対応ブラウザ用) */
  background-image: url("../../img/cta/ip/cta-180×309.png");

  /* 2) Safari用 (-webkit-) */
  background-image: -webkit-image-set(
    url("../../img/cta/ip/cta-180×309.webp") type("image/webp") 1x,
    url("../../img/cta/ip/cta-180×309.png")  type("image/png") 1x
  );

  /* 3) 標準仕様 */
  background-image: image-set(
    url("../../img/cta/ip/cta-180×309.webp") type("image/webp") 1x,
    url("../../img/cta/ip/cta-180×309.png")  type("image/png") 1x
  );
}
@media only screen and (min-width: 1281px) {
  .cta-009 {
    padding: 50px 0 75px;
  }
  .cta-009.affiliate {
    padding: 50px 0;
  }
  .cta-009 .container {
    max-width: 940px;
    border-radius: 30px;
  }
  .cta-009 .cta-body {
    max-width: 670px;
    padding: 50px 0 50px 220px;
  }
  .cta-009 .cta-body::before {
    width: 180px;
    height: 309px;
    top: 51px;
  }
  .cta-009.affiliate .cta-body::before {
    top: -45px;
  }
  .cta-009.webonly .cta-body::before {
    width: 130px;
    height: 223px;
    top: -80px;
  }
}
@media only screen and (max-width: 768px){
  .cta-009 {
    padding: 30px 10px 20px;
  }
  .cta-009:before {
    content: "";
    width: 200px;
    height: 105px;
    position: absolute;
    top: -101px;
    left: calc(50% - 100px);
    background: center/contain url(../../img/cta/ip/cta_sp.png) no-repeat;
    /* 1) フォールバック (image-set非対応ブラウザ用) */
    background-image: url("../../img/cta/ip/cta_sp.png");
  
    /* 2) Safari用 (-webkit-) */
    background-image: -webkit-image-set(
      url("../../img/cta/ip/cta_sp.webp") type("image/webp") 1x,
      url("../../img/cta/ip/cta_sp.png")  type("image/png") 1x
    );
  
    /* 3) 標準仕様 */
    background-image: image-set(
      url("../../img/cta/ip/cta_sp.webp") type("image/webp") 1x,
      url("../../img/cta/ip/cta_sp.png")  type("image/png") 1x
    );  
  }
  .cta-009 .container {
    max-width: 375px;
    padding: 0;
    border-radius: 10px;
  }
  .cta-009 .cta-body {
    max-width: 375px;
  }
  .cta-009 .cta-body {
    padding: 30px 20px;
    border-radius: 10px;
    margin: auto;
  }
  .cta-009 .cta-body::before {
    content: none;
  }
}
/* offer
-----------------------*/
.cta-009 .cta-offer {
  background-color: transparent;
  width: 100%;
  max-width: calc(100vw * 430 / var(--lpw));
  text-align: center;
  padding: calc(100vw * 10 / var(--lpw)) 0;
  font-size: clamp( 1px, calc(100vw * 24 / var(--lpw)), 24px );
  margin-inline: auto;
  margin-bottom: calc(100vw * 38 / var(--lpw));
  color: #fff;
  font-weight: 600;
}
.cta-009 .cta-offer p {
  font-size: clamp( 1px, calc(100vw * 19 / var(--lpw)), 19px );
  font-weight: 600;
}
.cta-009 .cta-offer small {
  display: inline-block;
  font-size: clamp( 1px, calc(100vw * 24 / var(--lpw)), 24px );
}
.cta-009 .cta-offer:after {
  content: none;
}
.cta-009 .cta-offer:before,
.cta-009 .cta-offer:after {
  content: "";
  background-image: url(../../img/cta/cta-title-deco-left_white.svg);
  background-repeat: no-repeat;
  background-size: contain;
  width: calc(100vw * 25 / var(--lpw));
  height: calc(100vw * 80 / var(--lpw));
  position: absolute;
}
.cta-009 .cta-offer:before {
  left: calc(100vw * -26 / var(--lpw));
  top: calc(100vw * -5 / var(--lpw));
}
.cta-009 .cta-offer:after {
  right: calc(100vw * -26 / var(--lpw));
  top: calc(100vw * -5 / var(--lpw));
  transform: scale(-1, 1);
}
@media only screen and (min-width: 1281px) {
  .cta-009 .cta-offer {
    max-width: 430px;
    padding: 10px 0;
    margin-bottom: 38px;
  }
  .cta-009 .cta-offer:before,
  .cta-009 .cta-offer:after {
    width: 25px;
    height: 80px;
  }
  .cta-009 .cta-offer:before {
    left: -26px;
    top: -5px;
  }
  .cta-009 .cta-offer:after {
    right: -26px;
    top: -5px;
  }
}
@media only screen and (max-width: 768px){
  .cta-009 .cta-offer {
    margin-bottom: 30px;
    padding: 0;
    width: 100%;
    max-width: 375px;
    font-size: 18px;
  }
  .cta-009 .cta-offer p {
    font-size: 18px;
  }
  .cta-009 .cta-offer small {
    font-size: 18px;
  }
  .cta-009 .cta-offer:before,
  .cta-009 .cta-offer:after {
    width: 17px;
    height: 67px;
  }
  .cta-009 .cta-offer:before {
    left: 0;
    top: -15px;
  }
  .cta-009 .cta-offer:after {
    right: 0;
    top: -15px;
  }
}
/* title
-----------------------*/
.cta-009 .cta-title {
  color: #4D4D4D;
  font-size: clamp( 1px, calc(100vw * 30 / var(--lpw)), 30px );
  text-align: center;
  font-weight: 600;
}
.cta-009 .cta-title small {
  display: block;
  font-size: clamp( 1px, calc(100vw * 19 / var(--lpw)), 19px );
  line-height: 1;
}
@media only screen and (max-width: 768px){
  .cta-009 .cta-title {
    font-size: 25px;
  }
  .cta-009 .cta-title small {
    font-size: 20px;
  }
}
/* tel
-----------------------*/
.cta-009 .cta-tel {
  text-align: center;
  margin-top: calc(100vw * 10 / var(--lpw));
}
.cta-009 .cta-tel-link {
  font-weight: 600;
  font-family: 'Oswald', ヒラギノ角ゴ Pro,Hiragino Kaku Gothic Pro,メイリオ,Meiryo,Osaka,ＭＳ Ｐゴシック,MS PGothic,sans-serif;
  color: #DD5D00;
  line-height: 1;
}
.cta-009 .cta-tel-link .pc {
  font-weight: 700;
}
.cta-009 .cta-tel-num::before {
  content: "";
  width: calc(100vw * 45 / var(--lpw));
  height: calc(100vw * 45 / var(--lpw));
  display: inline-block;
  vertical-align: baseline;
  background: center/calc(100vw * 45 / var(--lpw)) url(../../img/icon-tel4.svg) no-repeat;
  margin-right: calc(100vw * 15 / var(--lpw));
}
.cta-009 .cta-tel-text {
  display: block;
  font-family: ヒラギノ角ゴ Pro,Hiragino Kaku Gothic Pro,メイリオ,Meiryo,Osaka,ＭＳ Ｐゴシック,MS PGothic,sans-serif;
  font-weight: 600;
  margin-top: calc(100vw * 15 / var(--lpw));
  color: #4D4D4D;
}
.cta-009 .cta-tel-text small {
  color: #A52A2A;
  font-size: clamp( 1px, calc(100vw * 16 / var(--lpw)), 16px );
  font-weight: 600;
}
/* PC */
@media only screen and (min-width: 1281px) {
  .cta-009 .cta-tel {
    margin-top: 10px;
  }
  .cta-009 .cta-tel-text {
    margin-top: 15px;
  }
  .cta-009 .cta-tel-num::before {
    width: 45px;
    height: 45px;
    background: center/45px url(../../img/icon-tel4.svg) no-repeat;
    margin-right: 15px;
  }
}
@media only screen and (min-width: 769px){
  .cta-009 .cta-tel-link {
    pointer-events: none;
  }
}
@media only screen and (max-width: 768px){
  .cta-009 .cta-tel-link {
    display: block;
    text-align: center;
    background-color: #DD5D00;
    color: #fff;
    font-weight: 600;
    padding: 27px 0 24px;
    font-size: 20px;
    border-radius: 70px;
    box-shadow: 0 7px 1px #9A4100;
    margin-top: 10px;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
  }
  .cta-009 .cta-tel-icon {
    width: 30px;
    height: 30px;
    margin-right: 5px;
    top: -2px;
    vertical-align: middle;
    fill: #79af9b;
  }
  .cta-009 .cta-tel-text {
    margin-top: 20px;
    font-size: 14px;
  }
  .cta-009 .cta-tel-text small {
    font-size: 14px;
  }
}
/* web
+-----------------------*/
.cta-009 .cta-web {
  margin-top: calc(100vw * 30 / var(--lpw));
}
.cta-009 .cta-web:before {
  content: "";
  width: calc(100vw * 50 / var(--lpw));
  height: 1px;
  background-color: #fff;
  position: absolute;
  left: calc(50% - calc(100vw * 25 / var(--lpw)));
  top: 0;
}
.cta-009 .cta-web-item {
  display: block;
  text-align: center;
  background-color: #008652;
  color: #fff;
  font-weight: 600;
  padding: calc(100vw * 25 / var(--lpw)) 0 calc(100vw * 26 / var(--lpw));
  font-size: clamp( 1px, calc(100vw * 22.5 / var(--lpw)), 22.5px );
  border-radius: 70px;
  box-shadow: 0 calc(100vw * 7 / var(--lpw)) 1px #005D39;
  margin-top: calc(100vw * 10 / var(--lpw));
  max-width: calc(100vw * 450 / var(--lpw));
  margin-inline: auto;
  z-index: 1;
}
.cta-009 .cta-web-item:active {
  box-shadow: 0 calc(100vw * 5 / var(--lpw)) 1px #005D39;
  top: 5px;
}
.cta-mail-icon {
  display: inline-block;
  width: calc(100vw * 30 / var(--lpw));
  height: calc(100vw * 30 / var(--lpw));
  margin-right: calc(100vw * 10 / var(--lpw));
  vertical-align: middle;
  fill: #79af9b;
}
.cta-009 .cta-arrow-icon {
  right: calc(100vw * 20 / var(--lpw));
  position: absolute;
  top: calc(50% - calc(100vw * 13 / var(--lpw)));
  width: calc(100vw * 25 / var(--lpw));
  height: calc(100vw * 25 / var(--lpw));
}
@media only screen and (min-width: 1281px) {
  .cta-009 .cta-web {
    margin-top: 30px;
  }
  .cta-009 .cta-web:before {
    width: 50px;
    height: 1px;
    left: calc(50% - 25px);
  }
  .cta-009 .cta-web-item {
    padding: 25px 0 26px;
    border-radius: 70px;
    box-shadow: 0 7px 1px #005D39;
    margin-top: 10px;
    max-width: 450px;
  }
  .cta-009 .cta-web-item:active {
    box-shadow: 0 5px 1px #005D39;
    top: 5px;
  }
  .cta-009 .cta-mail-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
  }
  .cta-009 .cta-arrow-icon {
    right: 20px;
    top: calc(50% - 13px);
    width: 25px;
    height: 25px;
  }
}
@media only screen and (max-width: 768px){
  .cta-009 .cta-web {
    margin-top: 20px;
  }
  .cta-009 .cta-web-item {
    padding: 20px 0 21px;
    box-shadow: 0 7px 1px #005D39;
    margin-top: 10px;  
    font-size: 20px;
    max-width: 375px;
  }
  .cta-009 .cta-mail-icon {
    width: 30px;
    height: 30px;
    margin-right: 5px;
    top: -2px;
  }
  .cta-009 .cta-arrow-icon {
    right: 19px;
    top: calc(50% - 11px);
    width: 22px;
    height: 22px;
  }
}

/* telonly: 電話ボタンのみ表示 */
.cta-009.telonly {
  .cta-title {
    small {
      @media only screen and (max-width: 768px) {
        font-size: 18px;
      }
    }
  }
  .cta-title-main {
    display: inline-block;
    position: relative;
    @media only screen and (max-width: 768px) {
      font-size: 22px;
    }
  }
}
@media only screen and (min-width: 769px) {
  .cta-009.telonly .cta-body::before {
    width: calc(100vw * 160 / var(--lpw));
    height: calc(100vw * 260 / var(--lpw));
    top: calc(100vw * 10 / var(--lpw));
  }
}
@media only screen and (min-width: 1281px) {
  .cta-009.telonly .cta-body::before {
    width: 160px;
    height: 260px;
    top: 10px;
  }
}
.cta-009.telonly .cta-title-main:before,
.cta-009.telonly .cta-title-main:after {
  content: "";
  background: center/contain url(../../img/cta/cta-title-line-left.svg) no-repeat;
  width: calc(100vw * 13 / var(--lpw));
  height: calc(100vw * 31 / var(--lpw));
  position: absolute;
}
.cta-009.telonly .cta-title-main:before {
  left: calc(100vw * -20 / var(--lpw));
  top: calc(100vw * 15 / var(--lpw));
}
.cta-009.telonly .cta-title-main:after {
  right: calc(100vw * -20 / var(--lpw));
  top: calc(100vw * 15 / var(--lpw));
  transform: scale(-1, 1);
}
@media only screen and (min-width: 1281px) {
  .cta-009.telonly .cta-title-main:before,
  .cta-009.telonly .cta-title-main:after {
    width: 13px;
    height: 31px;
  }
  .cta-009.telonly .cta-title-main:before {
    left: -20px;
    top: 15px;
  }
  .cta-009.telonly .cta-title-main:after {
    right: -20px;
    top: 15px;
  }
}
@media only screen and (max-width: 768px) {
  .cta-009.telonly .cta-title-main:before,
  .cta-009.telonly .cta-title-main:after {
    width: 10px;
    height: 23px;
  }
  .cta-009.telonly .cta-title-main:before {
    left: -15px;
    top: 12px;
  }
  .cta-009.telonly .cta-title-main:after {
    right: -15px;
    top: 12px;
  }
}
