#top_cv.top_cv_box {
    position: absolute;
    top: 0;
    width: 70%;
    height: 100%;
}

@media screen and (max-width: 768px) {

    #top_cv.top_cv_box {
        z-index: 1;
    }

}

#top_cv.top_cv_box h1.top_cv_message {
    color: white;
    height: 60%;
    padding-left: 7.5%;
    padding-top: 5%;
}

#top_cv.top_cv_box .main_cv_flex {
    position: absolute;
    width: 100%;
    bottom: 15%;
    padding-left: 7.5%;
}

@media screen and (max-width: 768px) {

    #top_cv.top_cv_box .main_cv_flex {
    padding-left: 0;
}


}

@media screen and (max-width: 1170px) {

    #top_cv.top_cv_box {
    width: 100%;
}

#top_cv.top_cv_box h1.top_cv_message {
    padding-top: 2.5%;
}

}

@media screen and (max-width: 768px) {

#top_cv.top_cv_box h1.top_cv_message {
    padding-top: 5%;
}

}

@media screen and (max-width: 1200px) {
    #top_cv.top_cv_box .main_cv_flex {
    bottom: 10%;
}

}

@media screen and (max-width: 600px) {
    #top_cv.top_cv_box .main_cv_flex {
    bottom: 5%;
}

}

@media screen and (max-width: 440px) {
    #top_cv.top_cv_box .main_cv_flex {
    bottom: 0;
}

}

#top_cv.top_cv_box .main_cv_flex .cv_btn p {
    font-size: 1.5vw;
}

@media screen and (max-width: 768px) {

    #top_cv.top_cv_box .main_cv_flex .cv_btn p {
    font-size: 24px;
}

}

@media screen and (max-width: 540px) {

    #top_cv.top_cv_box .main_cv_flex .cv_btn p {
    font-size: 22px;
}

}

@media screen and (max-width: 480px) {

    #top_cv.top_cv_box .main_cv_flex .cv_btn p {
    font-size: 20px;
}

}

@media screen and (max-width: 400px) {

    #top_cv.top_cv_box .main_cv_flex .cv_btn p {
    font-size: 18px;
}

}

@media screen and (max-width: 320px) {

    #top_cv.top_cv_box .main_cv_flex .cv_btn p {
    font-size: 15px;
}

}

/* ===== TOP画像文字：段階的メディアクエリ調整 ===== */

.home:not(.en) h1.top_cv_message span {
display: block;
}

.home:not(.en) h1.top_cv_message span.last {
margin-top: 0.5em;
margin-bottom: 6px;
display: inline-block;
border-bottom: double 4px #fff;
}

/* 1500px以下 */
@media screen and (max-width: 1500px) {
  .home:not(.en) h1.top_cv_message {
    font-size: 28px;
  }
}

/* 1200px以下 */
@media screen and (max-width: 1300px) {
  .home:not(.en) h1.top_cv_message {
    font-size: 26px;
    left: 52.5%;
  }
}

/* 1100px以下 */
@media screen and (max-width: 1200px) {
  .home:not(.en) h1.top_cv_message {
    font-size: 22px;
    left: 52.5%;
  }
}

/* 900px以下 */
@media screen and (max-width: 900px) {
  .home:not(.en) h1.top_cv_message {
    font-size: 20px;
    left: 52.5%;
  }
}

/* 767px以下 */
@media screen and (max-width: 767px) {
  .home:not(.en) h1.top_cv_message {
    font-size: 44px;
    left: 60%;
  }
}

/* 600px以下 */
@media screen and (max-width: 660px) {
  .home:not(.en) h1.top_cv_message {
    font-size: 40px;
    left: 52.5%;
  }
  .home:not(.en) h1.top_cv_message span {
    font-size: 40px;
  }
}

@media screen and (max-width: 600px) {
  .home:not(.en) h1.top_cv_message {
    font-size: 28px;
    left: 52.5%;
  }
  .home:not(.en) h1.top_cv_message span {
    font-size: 28px;
  }
}

/* 480px以下 */
@media screen and (max-width: 480px) {
  .home:not(.en) h1.top_cv_message {
    font-size: 22px;
    left: 52.5%;
  }
  .home:not(.en) h1.top_cv_message span {
    font-size: 22px;
  }
}

/* 400px以下 */
@media screen and (max-width: 400px) {
  .home:not(.en) h1.top_cv_message {
    font-size: 18px;
    left: 52.5%;
  }
  .home:not(.en) h1.top_cv_message span {
    font-size: 18px;
  }
}

/* 320px以下 */
@media screen and (max-width: 320px) {
  .home:not(.en) h1.top_cv_message span {
    font-size: 16px;
  }
}
 /* TOP画像文字用設定ここまで */

 /* TOP画像文字用設定ここまで */


/* ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ */
/* ↓↓↓↓↓↓ conver_for部分 ↓↓↓↓↓↓↓↓ */
/* ↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓ */

.container.conversion {
        padding-right: 9px;
    }

@media screen and (max-width: 480px) {

    .container.conversion {
        margin: 0;
        padding-right: 0;
    }

}

.conversion_box {
    background-color: #ffffff;
  }

@media screen and (max-width: 767px) {

  .conversion_box {
    width: 90%;
    margin: 0 auto;
  }

}

@media screen and (max-width: 480px) {

  .conversion_box {
      width: 100%;
  }

}

@media screen and (min-width: 801px) {

  .conversion_box {
    margin: 0 auto;
  }

}

@media screen and (min-width: 1001px) {

  .conversion_box {
    max-width: 1200px;
    margin: 0 auto;
  }

}

.conversion_for {
    letter-spacing: 1px;
    border: 1px solid #32BA7C;
    -webkit-box-shadow: 9px 8px 0 0 #d7dbe0;
    box-shadow: 9px 8px 0 0 #d7dbe0;
    box-sizing: border-box;
    padding: 14px 16px 20px;
    margin: 0 auto;
    margin-bottom: 48px;
}

@media screen and (max-width: 800px) {

  .conversion_for {
    width: 100%;
  }

}

@media screen and (max-width: 480px) {

  .conversion_for {
      border: none;
      border-top: 1.5px solid #32BA7C;
      border-bottom: 1.5px solid #32BA7C;
      -webkit-box-shadow: none;
      box-shadow: none;
      box-sizing: border-box;
      padding: 14px 0px 20px;
      margin: 0 auto;
  }

}

.conversion_for h2 {
  border-bottom: solid 1px #32BA7C;
  color: #32BA7C;
  padding-bottom: 4px;
  font-size: 22px;
  display: block;
}

@media screen and (max-width: 480px) {

  .conversion_for h2 {
    padding-left: 5%;
    padding-right: 5%;
  }

}

.conversion_for .conversion_for_imgNtext {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 14px;
}

.conversion_for .conversion_for_imgNtext p {
  text-align: center;
  margin: 0 auto;
  font-size: 20px;
  padding: 0 5%;
}

/* 内ボタン部分 */

.cv_btn {
    overflow: hidden;
    position: relative;
}

.cv_btn {
    text-align: center;
    margin: auto;
    padding: 16px 0 6px;
    width: calc(100% - 20px);
}

@media screen and (max-width: 800px) {

  .cv_btn {
      width: 95%;
  }

}

.cv_tel:before {
    animation-delay: -5s;
}

.cv_web:before {
    animation-delay: -3s;
}

.cv_line:before {
    animation-delay: -1s;
}

.cv_btn:before {
    content: '';
    display: inline-block;
    position: absolute;
    top: auto;
    bottom: -180px;
    left: 0;
    width: 30px;
    height: 100%;
    background-color: rgba(255,255,255,.7);
    animation: shiny 6s ease-in-out infinite;
    z-index: 2;
}

main.home a {
    color: #333;
    text-decoration: none;
}

.cv_btn a:before {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 2.7em;
    height: 2.7em;
    z-index: 1;
}

.cv_btn a {
    display: inline-block;
    border: none;
    border-radius: 5px;
    color: #fff !important;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: .3s;
    max-width: 400px;
    width: 100%;
    padding: 1.15em 2.2em 1.15em 3.7em;
    position: relative;
}

.cv_tel a:before {
    width: 2.077em;
    height: 2.077em;
    background: url(https://keisoku-center.com/wp-content/themes/sokuteiki/img/phone.svg) no-repeat center/cover;
}

.cv_tel a {
    background: #FA5C66;
    box-shadow: 6px 6px 0 #99393f;
    font-size: 26px;
    padding: 0.75em 1.7em 0.4em 2.85em;
}

.cv_btn p {
    margin: 0;
    line-height: 1.2;
}

.cv_btn p:nth-child(2) {
  font-size: 26px;
}

@media screen and (min-width: 768px) and (max-width: 900px) {

    .cv_btn p:nth-child(2) {
        font-size: 20px;
    }

}

@media screen and (max-width: 480px) {

  .cv_btn p:nth-child(2) {
    font-size: 22px;
  }

}

.cv_btn .balloon {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%,-16px);
    background: #fff;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.2;
    min-width: 18em;
    padding: 0.175em;
}

.cv_btn .balloon:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 1px;
    left: 50%;
    transform: translate(-50%,100%);
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-bottom: 0;
    border-top: 8px solid #fff;
}

.cv_tel .balloon {
    border: 2px solid #FA5C66;
    color: #FA5C66;
}

.cv_tel .reception {
    font-size: 14px;
    font-weight: 400;
    padding-right: 1em;
    white-space: nowrap;
}

.cv_web a {
    background: #5f98d1;
    box-shadow: 6px 6px 0 #456f99;
}

.cv_web a:before {
    background: url(https://keisoku-center.com/wp-content/themes/sokuteiki/img/email.svg) no-repeat center/cover;
}

.cv_btn .balloon {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%,-16px);
    background: #fff;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.2;
    min-width: max-content;
    padding: 0.175em 0.75em;
}

.cv_web .balloon {
    border: 2px solid #5f98d1;
    color: #5f98d1;
}

.cv_line a:before {
    background: url(https://keisoku-center.com/wp-content/themes/sokuteiki/img/line.svg) no-repeat center/cover;
}

.cv_line a {
    background: #00b900;
    box-shadow: 6px 6px 0 #009900;
}

.cv_line .balloon {
    border: 2px solid #00b900;
    color: #00b900;
}

@media screen and (min-width: 1170px) {

  #top_cv.top_cv_box .main_cv_flex {
    display: flex;
    justify-content: left;
    align-items: center;
  }

  #top_cv.top_cv_box .cv_btn {
    width: 32.5%;
    margin: 24px 0 0;
    padding-right: 6px;
  }

  /* 1500px以下 */
@media screen and (max-width: 1500px) {
  #top_cv.top_cv_box .cv_btn {
    width: 35%;
    margin: 24px 0 0;
    padding-right: 6px;
  }
}

/* 1200px以下 */
@media screen and (max-width: 1300px) {
  #top_cv.top_cv_box .cv_btn {
    width: 36%;
    margin: 24px 0 0;
    padding-right: 6px;
  }
}

/* 1100px以下 */
@media screen and (max-width: 1100px) {
  #top_cv.top_cv_box .cv_btn {
    width: 32.5%;
    margin: 24px 0 0;
    padding-right: 6px;
  }
}

/* 900px以下 */
@media screen and (max-width: 900px) {
  #top_cv.top_cv_box .cv_btn {
    width: 32.5%;
    margin: 24px 0 0;
    padding-right: 6px;
  }
}

/* 767px以下 */
@media screen and (max-width: 767px) {
  #top_cv.top_cv_box .cv_btn {
    width: 32.5%;
    margin: 24px 0 0;
    padding-right: 6px;
  }
}

/* 600px以下 */
@media screen and (max-width: 600px) {
  #top_cv.top_cv_box .cv_btn {
    width: 32.5%;
    margin: 24px 0 0;
    padding-right: 6px;
  }
}

/* 480px以下 */
@media screen and (max-width: 480px) {
  #top_cv.top_cv_box .cv_btn {
    width: 32.5%;
    margin: 24px 0 0;
    padding-right: 6px;
  }
}

/* 400px以下 */
@media screen and (max-width: 400px) {
  #top_cv.top_cv_box .cv_btn {
    width: 32.5%;
    margin: 24px 0 0;
    padding-right: 6px;
  }
}

/* 320px以下 */
@media screen and (max-width: 320px) {
  #top_cv.top_cv_box .cv_btn {
    width: 32.5%;
    margin: 24px 0 0;
    padding-right: 6px;
  }
}

  #top_cv.top_cv_box .cv_btn:not(:first-child) {
    margin-left: 5%;
  }

}

@media screen and (max-width: 767px) {

  .cv_tel {
      margin-top: 24px;
  }

  .cv_btn {
    margin-top: 20px;
    padding-right: 6px;
  }

  .cv_line {
      margin-bottom: 20px;
  }

}

@media screen and (max-width: 480px) {

  #top_cv.top_cv_box .cv_btn {
    margin-top: 10px;
  }

}

@media screen and (max-width: 340px) {

  #top_cv.top_cv_box .cv_btn {
    margin-top: 5px;
    padding-top: 8px;
  }

}

/* 内ボタン部分終わり */

/* ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑ */
/* ↑↑↑↑↑ conversion_for部分 ↑↑↑↑↑↑↑↑↑ */
/* ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑ */
