.topCv__btn {
  display: inline-block;
  max-width: 400px;
  margin-left: 20px;
  border: 4px solid #eb6100;
}



.document_btn {
  background-color: #fff;
  --baloon-color: #87ba3c;
  color: #090909;
  border: 3px solid var(--baloon-color);
}

.download_btn {
  --btn-color: #fff;
}

@media screen and (max-width: 749px) {
  .topCv__btn {
    margin-left: 0;
  }
}

@media screen and (min-width: 750px) {
  .topCv__btn {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 1025px) {
  .document_btn {
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 425px) {
  .document_btn {
    margin-bottom: 10px;
  }
}

.topCv__btn:not(.document_btn)::before {
  content: "";
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background-image: url(../img/cv_talk.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.topCv__btn.document_btn::before {
  background-image: none;
}

@media screen and (min-width: 750px) {
  .topCv__btn:not(.document_btn)::before {
    left: 10%;
    width: 3rem;
    height: 2.4rem;
  }
}

@media screen and (min-width: 750px) and (max-width: 1023px) {
  .topCv__btn:not(.document_btn)::before {
    left: 10%;
    width: 3rem;
    height: 2.4rem;
  }
}

@media screen and (max-width: 749px) {
  .topCv__btn:not(.document_btn)::before {
    left: 7%;
    width: 2.5rem;
    height: 2rem;
  }
}

.topCv__btn:not(.document_btn)::after {
  content: "";
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
}

.topCv__btn.document_btn::after {
  -webkit-transform: none;
  transform: none;
}

@media screen and (min-width: 750px) {
  .topCv__btn:not(.document_btn)::after {
    right: 10%;
    width: 1.2rem;
    height: 1.2rem;
    border-top: 4px solid #fff;
    border-right: 4px solid #fff;
  }

  .topCv__btn.document_btn::after {
    border-top: none;
    border-right: none;
  }
}

@media screen and (max-width: 749px) {
  .topCv__btn:not(.document_btn)::after {
    right: 10%;
    width: .8rem;
    height: .8rem;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
  }

  .topCv__btn.document_btn::after {
    border-top: none;
    border-right: none;
  }
}

@media screen and (min-width: 750px) {
  .topCv__btn:not(.document_btn):hover {
    color: #eb6100;
    background-color: #fff;
    border: 4px solid #eb6100;
  }

  .topCv__btn:not(.document_btn):hover::before {
    background-image: url(../img/cv_talk_after.svg)
  }

  .topCv__btn:not(.document_btn):hover::after {
    border-top: 4px solid #eb6100;
    border-right: 4px solid #eb6100;
  }

  .topCv__btn.document_btn:hover {
    color: #090909;
    background-color: #d6f6ad;
    border: 4px solid #87ba3c;
  }

  .topCv__btn.document_btn:hover::before {
    background-image: none;
  }

  .topCv__btn.document_btn:hover::after {
    border-top: none;
    border-right: none;
  }
}

.link_box {
  width: 100%;
  display: inline-flex;
}

.cv__anc {
  display: inline-block;
  max-width: 450px;
  margin-left: 20px;
}

.document_anc {
  margin: 0 auto;
  background-color: #87ba3c;
  color: #fff;
  border: 4px solid #fff;
  border-radius: 5rem;
  position: relative;
  max-width: 450px;
  margin-left: 20px;
}

@media screen and (max-width: 950px) {
  .link_box {
    display: block;
  }

  .document_anc {
    margin-bottom: 30px;
  }

  .cv__anc {
    margin-left: 0;
  }
}

@media screen and (max-width: 425px) {
  .document_anc {
    margin-bottom: 10px;
  }
}

.cv__anc:not(.document_anc)::before {
  content: "";
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background-image: url(../img/cv_talk.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.cv__anc.document_anc::before {
  background-image: none;
}

@media screen and (min-width: 750px) {
  .cv__anc {
    font-size: 2.7rem;
  }

  .cv__anc::before {
    left: 10%;
  }
}

.cv__anc:not(.document_anc)::after {
  content: "";
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%) rotate(45deg);
  transform: translateY(-50%) rotate(45deg);
}


@media screen and (min-width: 750px) {
  .cv__anc:not(.document_anc):after {
    right: 10%;
    width: 1.2rem;
    height: 1.2rem;
    border-top: 4px solid #fff;
    border-right: 4px solid #fff;
  }

  .cv__anc.document_anc::after {
    border-top: none;
    border-right: none;
  }
}

@media screen and (max-width: 749px) {
  .cv__anc:not(.document_anc)::after {
    right: 10%;
    width: .8rem;
    height: .8rem;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
  }

  .cv__anc.document_anc::after {
    border-top: none;
    border-right: none;
  }
}

@media screen and (min-width: 750px) {
  .cv__anc:not(.document_anc):hover {
    color: #eb6100;
    background-color: #fff;
    border: 4px solid #eb6100;
  }

  .cv__anc:not(.document_anc):hover::before {
    background-image: url(../img/cv_talk_after.svg)
  }

  .cv__anc:not(.document_anc):hover::after {
    border-top: 4px solid #eb6100;
    border-right: 4px solid #eb6100;
  }

  .cv__anc.document_anc:hover {
    color: #87ba3c;
    background-color: #fff;
    border: 4px solid #87ba3c;
  }

  .cv__anc.document_anc:hover::before {
    background-image: none;
  }

  .cv__anc.document_anc:hover::after {
    border-top: none;
    border-right: none;
  }
}

/*==============================================================================
サイドボタン
===============================================================================*/
.document_round {
  background-color: #87ba3c;
  border-radius: 50%;
  border: 2px solid #87ba3c;
  bottom: 200px;
  position: fixed;
  right: 2%;
  width: 144px;
  height: 144px;
  max-width: 144px;
  -webkit-filter: drop-shadow(0 0 10px rgba(26, 26, 26, 0.2));
  filter: drop-shadow(0 0 10px rgba(26, 26, 26, 0.2));
  -webkit-transition: .3s;
  transition: .3s;
}

@media screen and (max-width: 749px) {
  .document_round {
    display: none !important;
  }
}

.cta__btm {
  font-size: 1.7rem;
}

.pageTop.document_round:hover .cta__top {
  color: #87ba3c;
  border-bottom: 1px solid #87ba3c;
}

.pageTop.document_round:hover .cta__btm {
  color: #87ba3c;
}

@media screen and (max-width: 749px) {
  .cta__anc {
    display: none;
  }
}

/*==============================================================================
ヘッダーボタン（SPモードでフッターに表示）
===============================================================================*/


.hd__cv {
  display: inline-flex;
}

@media screen and (min-width: 1024px) {
  .hd__cv {
    max-width: 700px;
    width: 100%;
  }
}

@media screen and (min-width: 750px)and (max-width: 1023px) {
  .hd__cv {
    display: none;
  }
}

@media screen and (max-width: 749px) {
  .hd__cv {
    display: inline-flex;
  }
}

.hdCv__doc {
  background-color: #87ba3c;
  color: #fff;
}

@media screen and (max-width: 749px) {
  .hdCv__anc {
    font-size: 1.2rem;
    width: 50%;
  }
}

.hdCv__anc:not(.hdCv__doc)::before {
  content: "";
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  background-image: url(../img/cv_talk.svg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.hdCv__anc.hdCv__doc::before {
  background-image: none;
}

@media screen and (max-width: 749px) {
  .hdCv__anc::before {
    left: 1rem;
  }
}

@media screen and (min-width: 750px) {
  .hdCv__anc {
    font-size: 2.2rem;
  }

  .hdCv__anc:not(.hdCv__doc)::after {
    right: 2rem;
    width: 1.2rem;
    height: 1.2rem;
    border-top: 4px solid #fff;
    border-right: 4px solid #fff;
  }

  .hdCv__anc.hdCv__doc::after {
    border-top: none;
    border-right: none;
  }
}

@media screen and (max-width: 749px) {
  .hdCv__anc:not(.hdCv__doc)::after {
    right: 2rem;
    width: .8rem;
    height: .8rem;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
  }

  .hdCv__anc.hdCv__doc::after {
    border-top: none;
    border-right: none;
  }
}

@media screen and (min-width: 750px) {
  .hdCv__anc:not(.hdCv__doc):hover {
    color: #eb6100;
    background-color: #fff;
    border: 4px solid #eb6100;
  }

  .hdCv__anc:not(.hdCv__doc):hover::before {
    background-image: url(../img/cv_talk_after.svg);
  }

  .hdCv__anc:not(.hdCv__doc):hover::after {
    border-top: 4px solid #eb6100;
    border-right: 4px solid #eb6100;
  }

  .hdCv__anc.hdCv__doc:hover {
    color: #87ba3c;
    background-color: #fff;
    border: 4px solid #87ba3c;
  }

  .hdCv__anc.hdCv__doc:hover::before {
    background-image: none;
  }

  .hdCv__anc.hdCv__doc:hover::after {
    border-top: none;
    border-right: none;
  }
}


/*===============================
  タブ型バッジ（簡単入力1分）
  ※無料相談ボタン専用
===============================*/

.consult_btn {
  position: relative;
  overflow: visible;
}

.consult_btn .badge-tab {
  position: absolute;
  top: -28px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #eb6100;
  border: 2px solid #eb6100;
  border-bottom: none;
  padding: 8px 18px;
  font-size: 1.5rem;
  font-weight: 700;
  border-radius: 14px 14px 0 0;
  white-space: nowrap;
  z-index: 10;
  box-shadow: 0 -3px 8px rgba(0,0,0,0.12);
}

@media screen and (max-width: 749px) {
  .consult_btn .badge-tab {
    top: -24px;
    font-size: 1.3rem;
    padding: 7px 16px;
  }
}