#online-consultation .txt01 {
  text-align: center;
  margin: 55px 0;
}

#online-consultation .wrap.inn {
  margin-top: -310px;
}

@media only screen and (max-width: 767px) {
  #online-consultation .wrap.inn {
    margin-top: 0;
  }
}
#online-consultation .txt02 em {
  color: #C92E00;
}

#online-consultation .txt02 strong {
  font-size: 2.4rem;
  font-weight: bold;
}

#online-consultation .txt02 span {
  font-weight: bold;
}

#online-consultation .online-consultation_lead {
  margin-top: 35px;
  border-bottom: none;
  padding-bottom: 0;
  text-align: center;
}

#online-consultation .link_basic {
  margin-top: 70px;
}

@media only screen and (max-width: 767px) {
  #online-consultation .link_basic {
    margin: 40px 5% 0;
  }
}
.online-consultation_section-head {
  margin: 0;
  border-bottom: 1px solid #006CC9;
  padding-bottom: 32px;
}

@media only screen and (max-width: 767px) {
  .online-consultation_section-head {
    border-bottom: 0;
    padding-bottom: 0;
  }
}
/*.flow .online-consultation_section-head {
  margin-top: 140px; }*/
.online-consultation_section-head .online-consultation_ttl {
  margin: 0;
}

.online-consultation_section-head .txt02 {
  text-align: center;
}

.online-consultation_description {
  margin: 110px 0 0;
  font-size: 1.6rem;
}

@media only screen and (max-width: 767px) {
  .online-consultation_description {
    margin: 0 5%;
  }
}
.online-consultation_cnt {
  padding-top: 60px;
  padding-bottom: 80px;
}

@media only screen and (max-width: 767px) {
  .online-consultation_cnt {
    padding-top: 30px;
    padding-bottom: 0;
  }
}
.online-consultation_cnt + .online-consultation_cnt {
  padding-top: 115px;
}

.online-consultation_ttl_en {
  font-size: 1.2rem;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.2em;
}

.online-consultation_ttl_en span {
  color: #006CC9;
}

.online-consultation_ttl {
  font-weight: bold;
  font-size: 2.4rem;
  text-align: center;
  color: #006CC9;
  position: relative;
  margin-bottom: 18px;
}
@media screen and (max-width: 767px) {
  .online-consultation_ttl {
    font-size: 2rem;
  }
}

.online-consultation_ttl span {
  position: relative;
  display: inline;
  padding: 0 0.5em;
  background: linear-gradient(transparent 40%, rgba(0, 108, 201, 0.1) 40%);
}

.faq-area {
  margin-top: 60px;
  padding-bottom: 80px;
}

@media only screen and (max-width: 767px) {
  .faq-area {
    margin: 70px 5% 0;
  }
}
.step_txt a {
  color: #000;
}

.step_txt a[href^=tel] {
  pointer-events: none;
}

@media only screen and (max-width: 767px) {
  .step_txt a[href^=tel] {
    pointer-events: auto;
  }
}
#online-consultation .flow_ttl {
  display: flex;
  justify-content: space-between;
  font-weight: bold;
  margin-top: 32px;
  margin-bottom: 45px;
  align-items: flex-end;
}

#online-consultation .flow_ttl .jp {
  font-size: 2.2rem;
  letter-spacing: 0.1em;
}

#online-consultation .flow_ttl .en {
  font-size: 3rem;
  letter-spacing: 0.2em;
  color: #006CC9;
}

#online-consultation .online-consultation_section-head + .step_area {
  margin-top: 60px;
}

#online-consultation .step_area .step_box {
  padding-top: 80px;
}

@media only screen and (max-width: 767px) {
  #online-consultation .step_area .step_box {
    padding-top: 0;
  }
}
#online-consultation .step_box::after {
  clear: both;
  display: block;
  content: "";
}

#online-consultation .step_box .step_img.pc {
  width: 510px;
  max-width: 100%;
  margin: 0 0 20px;
}

@media only screen and (max-width: 767px) {
  #online-consultation .step_box .step_img.pc {
    float: none;
  }
}
#online-consultation .step_box:nth-of-type(2n + 1) .step_img.pc {
  float: right;
  padding-left: 45px;
}

#online-consultation .step_box:nth-of-type(2n) .step_img.pc {
  float: left;
  padding-right: 45px;
}

@media only screen and (max-width: 767px) {
  #online-consultation .step_box:nth-of-type(2n) .step_img.pc {
    float: none;
  }
}
.step_box .step_ttl {
  display: inline-block;
  margin-bottom: 15px;
  color: #006CC9;
  letter-spacing: 0.1em;
  line-height: 1;
  text-align: center;
  font-size: 6rem;
  font-weight: 500;
}

.step_box .step_ttl.ja {
  font-size: 4rem;
  font-weight: bold;
}
@media screen and (max-width: 767px) {
  .step_box .step_ttl.ja {
    font-size: 2rem;
  }
}

.step_box .step_ttl span {
  font-weight: bold;
  display: block;
  font-size: 1.4rem;
  letter-spacing: 0.15em;
}

.step_box .step_ttl_jp {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 10px;
  line-height: 1.5;
}

.step_box .step_ttl_jp small {
  display: block;
  font-size: 1.5rem;
}

#online-consultation .list01,
#online-consultation .list02 {
  display: flex;
}

#online-consultation .list01 {
  border-right: 1px solid #DBDBDB;
  margin-top: 38px;
}

#online-consultation .list01 li {
  width: 25%;
  padding: 0 20px 15px;
  border-left: 1px solid #DBDBDB;
}

#online-consultation .list01 .list_img {
  height: 64px;
}

#online-consultation .list01 .list_ttl01 {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.5;
}

#online-consultation .list01 .list_txt02 {
  font-size: 1.4rem;
  font-weight: normal;
  display: block;
}

#online-consultation .list01 .list_txt01 {
  margin-top: 13px;
}

#online-consultation .list02 {
  margin-top: 35px;
  padding-bottom: 95px;
  justify-content: space-between;
}

#online-consultation .list02 li {
  width: 255px;
  max-width: 100%;
}

#online-consultation .list02 .list_ttl02 {
  font-size: 1.6rem;
  font-weight: bold;
  color: #006CC9;
  margin-bottom: 14px;
}

#online-consultation .list02 .list_ttl02 span {
  font-size: 1.4rem;
}

#online-consultation .list02 .list_txt03 {
  font-size: 1.4rem;
  line-height: 1.5;
}

/*------------------------------ tab ------------------------------*/
@media screen and (max-width: 1024px) {
  .step_box .step_img.pc {
    width: 50%;
  }
  #online-consultation .txt02 .pc {
    display: none;
  }
  #online-consultation .txt02 .tab {
    display: none;
  }
}
@media screen and (max-width: 900px) {
  #online-consultation .txt02 .tab {
    display: block;
  }
}
@media screen and (max-width: 850px) {
  #online-consultation .reason02 .txt02 br {
    display: none;
  }
  #online-consultation .list02 li {
    width: 32%;
  }
  #online-consultation .list01 .list_txt02 {
    font-size: 1.3rem;
  }
  #online-consultation .list02 .list_ttl02 span {
    font-size: 1.2rem;
  }
}
@media screen and (max-width: 767px) {
  .cnt_area .wrap.inn {
    padding: 10vw 0 0;
  }
  .online-consultation_cnt + .online-consultation_cnt {
    padding-top: 16vw;
  }
  #online-consultation .txt02 {
    text-align: left;
    margin: 40px 5% 0;
    border: none;
  }
  #online-consultation .txt02 .tab {
    display: none;
  }
  #online-consultation .step_box {
    display: block;
  }
  #online-consultation .step_box + .step_box {
    margin-top: 20vw;
  }
  #online-consultation .step_area .step_box {
    margin-bottom: 20vw;
  }
  .step_box .step_img.sp img {
    width: 100%;
  }
  .step_box .step_cnt,
  #online-consultation .step_box:nth-of-type(2n) .step_cnt {
    width: 100%;
    padding: 0;
  }
  .step_box .step_cnt .step_txt {
    padding: 0 5%;
    margin-top: 20px;
  }
  #online-consultation .flow_ttl {
    display: block;
    padding: 0 5%;
    margin-top: 17px;
    margin-bottom: 45px;
  }
  #online-consultation .flow_ttl .en {
    text-align: right;
    display: block;
    font-size: 2rem;
  }
  #online-consultation .flow_ttl .jp {
    font-size: 2rem;
  }
  .step_box .step_cnt .step_ttl_out {
    padding: 0 5%;
    display: flex;
    align-items: center;
    margin-bottom: 13px;
  }
  .step_box .step_cnt .step_ttl_out.__ja {
    display: block;
    margin-top: 60px;
  }
  .step_box .step_ttl {
    font-size: 5rem;
    width: auto;
    margin: 0 23px 0 0;
  }
  .step_box .step_ttl_jp {
    line-height: 1.5;
    margin-bottom: 0;
    margin-top: 10px;
  }
  #online-consultation .step_box:nth-of-type(6) .step_ttl_jp {
    margin-bottom: 0;
  }
  #online-consultation .list01, #online-consultation .list02 {
    display: block;
  }
  #online-consultation .list01 {
    border-right: none;
    border-top: 1px solid #006CC9;
    margin: 0 5%;
  }
  #online-consultation .list01 li {
    width: 100%;
    border-left: none;
    padding: 13px 0 14px;
    border-bottom: 1px solid #DBDBDB;
  }
  #online-consultation .list_ttl_out {
    display: flex;
    align-items: center;
  }
  #online-consultation .list01 .list_img {
    height: auto;
    width: 60px;
    padding: 0 7px 0 0;
  }
  #online-consultation .list01 .list_ttl01 {
    width: calc(100% - 60px);
  }
  #online-consultation .list01 .list_txt01 {
    margin-top: 18px;
  }
  #online-consultation .list02 {
    margin: 0 5%;
    padding: 35px 0 0;
  }
  #online-consultation .list02 li {
    width: 100%;
  }
  #online-consultation .list02 li + li {
    margin-top: 45px;
  }
  #online-consultation .list01 .list_txt02 {
    font-size: 1.4rem;
  }
  #online-consultation .list02 .list_ttl02 span {
    font-size: 1.4rem;
  }
}
@media screen and (max-width: 425px) {
  .ip {
    display: block;
  }
}
.flow_chart01 {
  margin-top: 59px;
}

.flow_chart01.sp {
  display: none;
}

@media only screen and (max-width: 767px) {
  .flow_chart01.sp {
    display: block;
  }
  .flow_chart01.pc {
    display: none;
  }
  .flow_chart01 li {
    display: flex;
    width: 375px;
    max-width: 100%;
    margin: auto;
    padding-bottom: 9vw;
    background-image: url("../images/flow/line_sp@2x.png");
    background-size: 1px;
    background-repeat: repeat-y;
    background-position: left 72px top;
  }
  .flow_chart01 li:last-of-type {
    padding-bottom: 0;
  }
  .flow_chart01 .flow_img {
    width: 144px;
  }
  .flow_chart01 .flow_cnt {
    width: calc(100% - 144px);
    padding: 28px 0 0 6.5%;
  }
  .flow_chart01 .flow_txt01 {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1.3;
  }
  .flow_chart01 .flow_txt01 span {
    font-size: 1.2rem;
    vertical-align: top;
    position: relative;
    top: -0.1em;
  }
  .flow_chart01 .flow_txt02 {
    font-size: 1.6rem;
    line-height: 1.5;
    margin-top: 15px;
  }
  .flow_chart01 .flow_txt02 br {
    display: none;
  }
}
.flow_chart_description {
  margin: 60px 0 0;
  text-align: center;
  font-size: 2.2rem;
  font-weight: bold;
}

.flow_chart_description + .online-consultation_ttl {
  margin-top: 80px;
}

.flow_chart_description + .online-consultation_ttl + .txt.txt02 {
  text-align: center;
}

#online-consultation .ac_area {
  border-bottom: 1px solid #CDD6DD;
}

#online-consultation .ac_area .ac_btn {
  border-top: 1px solid #CDD6DD;
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.3;
  background-image: url("../images/faq/open@2x.png");
  background-size: 40px;
  background-repeat: no-repeat;
  background-position: center right;
  cursor: pointer;
  padding: 15px 60px 20px 0;
  display: flex;
  align-items: center;
}

#online-consultation .ac_area .ac_btn:first-child {
  border-top: none;
}

#online-consultation .ac_area .ac_btn.ac {
  background-image: url("../images/faq/close@2x.png");
}

@media screen and (min-width: 768px) {
  #online-consultation .ac_area .ac_btn:first-of-type {
    border-top: none;
  }
}
#online-consultation .ac_area .ac_btn .en {
  font-size: 3rem;
  color: #006CC9;
  margin-right: 35px;
  position: relative;
}

#online-consultation .ac_area .ac_cnt {
  display: none;
  font-size: 1.6rem;
  line-height: 1.5;
  padding: 15px 60px 35px 0;
}

#online-consultation .ac_area .ac_cnt p + h5,
#online-consultation .ac_area .ac_cnt p + p {
  margin-top: 1em;
}

#online-consultation .ac_area .ac_cnt .txt02,
#online-consultation .ac_area .ac_cnt h5,
#online-consultation .ac_area .ac_cnt strong {
  font-weight: bold;
}

#online-consultation .ac_area .ac_cnt .txt02 + p,
#online-consultation .ac_area .ac_cnt h5 + p {
  margin-top: 0;
}

/*------------------------------ tab ------------------------------*/
@media screen and (max-width: 767px) {
  #online-consultation .wrap.inn {
    padding-bottom: 0;
  }
  #online-consultation .ac_area {
    padding-top: 14.5vw;
  }
  #online-consultation .ac_area .ac_btn {
    display: block;
    padding: 10px 50px 10px 0;
  }
  #online-consultation .ac_area .ac_btn .en {
    display: block;
    font-size: 2rem;
    margin-bottom: 9px;
  }
  #online-consultation .ac_area .ac_cnt {
    padding: 8px 40px 35px 0;
  }
}
@media only screen and (max-width: 767px) {
  .sec01 {
    margin-top: 50px;
  }
  .step_ttl_out.__ja {
    display: block;
  }
}
/* 202212 DMS */
#online-consultation .page_ttl {
  letter-spacing: 0;
  line-height: 1.5;
}
@media screen and (max-width: 767px) {
  #online-consultation .page_ttl {
    letter-spacing: -0.5px;
  }
}
#online-consultation .online-cta {
  margin: 40px -75px 0;
  background: #f4f8fb;
  padding: 30px 75px 35px;
}
#online-consultation .online-cta.cta2 {
  margin: 0 -75px;
}
#online-consultation .online-cta.cta2 + .online-consultation_lead {
  margin-bottom: 80px;
}
#online-consultation .online-cta .flex {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}
#online-consultation .online-cta .flex > div {
  width: calc((100% - 40px) / 2);
  text-align: center;
}
#online-consultation .online-cta .flex h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #006CC9;
  margin-bottom: 25px;
}
#online-consultation .online-cta .flex p {
  font-size: 1.4rem;
  margin-bottom: 10px;
}
#online-consultation .online-cta .flex p span {
  font-size: 1.6rem;
  font-weight: 700;
  color: #f8763c;
}
#online-consultation .online-cta .flex a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 700;
  background: #006CC9;
  height: 80px;
  line-height: 1.2;
}
#online-consultation .online-cta .flex a > span {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 50px;
  position: relative;
}
#online-consultation .online-cta .flex a > span::before {
  content: "";
  width: 35px;
  height: 35px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}
#online-consultation .online-cta .tel a > span::before {
  background: url("../images/icon_tel_w.png") no-repeat center;
  background-size: contain;
}
#online-consultation .online-cta .tel a > span > span:nth-child(1) {
  font-size: 2.2rem;
}
#online-consultation .online-cta .tel a > span > span:nth-child(2) {
  font-size: 1.1rem;
}
#online-consultation .online-cta .web a {
  background-color: #f8763c;
}
#online-consultation .online-cta .web a > span {
  padding-right: 10px;
}
#online-consultation .online-cta .web a > span::before {
  background: url("../images/icon_mail.png") no-repeat center;
  background-size: contain;
}
#online-consultation .online-cta .web a > span > span {
  font-size: 1.7rem;
  padding-bottom: 10px;
  position: relative;
}
#online-consultation .online-cta .web a > span > span::before {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 7.5px 0 7.5px;
  border-color: #ffffff transparent transparent transparent;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (max-width: 1024px) {
  #online-consultation .online-cta {
    margin: 40px -5% 0;
    padding: 30px 5% 35px;
  }
  #online-consultation .online-cta.cta2 {
    margin: 0 -5%;
  }
  #online-consultation .online-cta.cta2 + .online-consultation_lead {
    margin-bottom: 60px;
  }
}
@media screen and (max-width: 767px) {
  #online-consultation .online-cta {
    margin: 40px 0 0;
    padding: 40px 5%;
  }
  #online-consultation .online-cta.cta2 {
    margin: 40px 0 0;
  }
  #online-consultation .online-cta.cta2 + .online-consultation_lead {
    margin-bottom: 40px;
  }
  #online-consultation .online-cta.cta3 {
    margin: -10vw 0 0;
  }
  #online-consultation .online-cta.cta3 + .online-consultation_lead {
    margin-bottom: 20vw;
  }
  #online-consultation .online-cta .flex {
    gap: 40px;
    flex-direction: column;
  }
  #online-consultation .online-cta .flex > div {
    width: 100%;
  }
  #online-consultation .online-cta .flex h2 {
    font-size: 2rem;
    margin-bottom: 5px;
  }
  #online-consultation .online-cta .flex a {
    height: 60px;
  }
  #online-consultation .online-cta .flex a > span {
    padding-left: 50px;
  }
  #online-consultation .online-cta .flex a > span::before {
    content: "";
    width: 30px;
    height: 30px;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
  }
  #online-consultation .online-cta .tel a > span::before {
    background: url("../images/icon_tel_w.png") no-repeat center;
    background-size: contain;
  }
  #online-consultation .online-cta .tel a > span > span:nth-child(1) {
    font-size: 2rem;
  }
  #online-consultation .online-cta .tel a > span > span:nth-child(2) {
    font-size: 1.1rem;
  }
  #online-consultation .online-cta .web a > span > span {
    font-size: 1.9rem;
    padding-bottom: 10px;
    position: relative;
  }
}

#online-from {
  margin: 120px 0;
}
#online-from h2 {
  font-size: 4rem;
  text-align: center;
  color: #006CC9;
  font-weight: 700;
  margin-bottom: 60px;
}
@media screen and (max-width: 767px) {
  #online-from h2 {
    font-size: 6vw;
    margin-bottom: 50px;
  }
}
#online-from .lead {
  font-size: 1.6rem;
  text-align: center;
  margin-bottom: 50px;
}
@media screen and (max-width: 767px) {
  #online-from .lead {
    margin: 0 15px 30px;
  }
}
#online-from .mw_wp_form {
  background: #ecf4f9;
  padding: 60px 75px;
}
#online-from .mw_wp_form dl {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 35px;
  gap: 30px 15px;
}
#online-from .mw_wp_form dl dt, #online-from .mw_wp_form dl dd {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
#online-from .mw_wp_form dl dt {
  width: 165px;
  padding: 15px 0;
  font-size: 1.8rem;
  color: #2b67b1;
  font-weight: bold;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#online-from .mw_wp_form dl dt span {
  font-size: 1.2rem;
}
#online-from .mw_wp_form dl dt .hissu {
  color: #f8763c;
}
#online-from .mw_wp_form dl dt.address, #online-from .mw_wp_form dl dt.contact, #online-from .mw_wp_form dl dt.inheritance-date, #online-from .mw_wp_form dl dt.heritage, #online-from .mw_wp_form dl dt.chance {
  padding: 0;
}
#online-from .mw_wp_form dl dd {
  width: calc(100% - 180px);
  font-size: 1.6rem;
}
#online-from .mw_wp_form dl dd.checkbox {
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
#online-from .mw_wp_form dl dd.date {
  gap: 10px 20px;
}
#online-from .mw_wp_form dl dd.address {
  flex-wrap: nowrap;
  gap: 20px;
}
#online-from .mw_wp_form dl select {
  padding: 7.5px;
}
#online-from .mw_wp_form dl input[type=text]:not(.address), #online-from .mw_wp_form dl input[type=email], #online-from .mw_wp_form dl textarea {
  padding: 25px;
  font-size: 1.6rem;
  border: 0;
  width: 100%;
}
#online-from .mw_wp_form button {
  min-width: 540px;
  display: block;
  margin: 0 auto 20px;
  background: #006cc9;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 25px 0;
  border-radius: 6px;
  cursor: pointer;
  color: #fff;
}
#online-from .mw_wp_form button:hover {
  opacity: 0.7;
}
#online-from .mw_wp_form input[type=submit] {
  min-width: 540px;
  display: block;
  margin: 0 auto;
  background: #006cc9;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 25px 0;
  border-radius: 6px;
  cursor: pointer;
}
#online-from .mw_wp_form input[type=submit]:hover {
  opacity: 0.7;
}
#online-from .mw_wp_form label input[type=checkbox] + span {
  padding-left: 25px;
}
#online-from .mw_wp_form label input[type=checkbox] + span::before {
  height: 20px;
  width: 20px;
  top: 3px;
  background: #fff;
  border-color: #c0def7;
}
#online-from .mw_wp_form label input[type=checkbox] + span::after {
  z-index: 1;
  margin: 0;
  width: 12px;
  height: 17px;
  border-color: #006CC9;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(38deg);
  -ms-transform: rotate(38deg);
  transform: rotate(38deg);
  top: 1px;
  left: 3px;
}
#online-from .mw_wp_form .to_policy {
  font-size: 1.4rem;
  line-height: 1.5;
  margin-bottom: 26px;
}
#online-from .mw_wp_form .to_policy a {
  color: #006CC9;
  text-decoration: underline;
}
#online-from .mw_wp_form .to_policy a:hover {
  text-decoration: blink;
}
#online-from .mw_wp_form p.check {
  font-weight: bold;
  font-size: 1.6rem;
  margin-bottom: 65px;
}
#online-from .mw_wp_form label.check {
  cursor: pointer;
}
@media only screen and (max-width: 767px) {
  #online-from .mw_wp_form {
    padding: 30px 15px;
  }
  #online-from .mw_wp_form dl {
    display: block;
    margin-bottom: 0;
  }
  #online-from .mw_wp_form dl dt, #online-from .mw_wp_form dl dd {
    display: block;
  }
  #online-from .mw_wp_form dl dt {
    width: 100%;
    padding: 0;
    margin-bottom: 15px !important;
  }
  #online-from .mw_wp_form dl dd {
    width: 100%;
    margin-bottom: 25px !important;
  }
  #online-from .mw_wp_form dl dd:last-child {
    margin-bottom: 30px !important;
  }
  #online-from .mw_wp_form dl dd.address {
    flex-wrap: wrap;
    gap: 10px;
    display: flex;
  }
  #online-from .mw_wp_form dl dd.date {
    display: flex;
  }
  #online-from .mw_wp_form dl input[type=text], #online-from .mw_wp_form dl input[type=email], #online-from .mw_wp_form dl textarea {
    padding: 20px;
  }
  #online-from .mw_wp_form button, #online-from .mw_wp_form input[type=submit] {
    padding: 20px 0;
    width: 100%;
    min-width: inherit;
  }
}
#online-from .confirm {
  margin-top: 60px;
}
#online-from .confirm dt {
  padding: 0;
}
#online-from .confirm .mw_wp_form {
  margin: 0 -75px;
}
#online-from .confirm .to_policy, #online-from .confirm p.check, #online-from .confirm dt span, #online-from .confirm dt font {
  display: none;
}
@media screen and (max-width: 1024px) {
  #online-from .confirm .mw_wp_form {
    margin: 0 -5%;
  }
}
@media screen and (max-width: 767px) {
  #online-from .confirm {
    padding: 0 5%;
  }
  #online-from .confirm .mw_wp_form {
    margin: 0 -15px;
  }
}
#online-from .thanks {
  padding-bottom: 100px;
  margin-top: 60px;
}
@media screen and (max-width: 767px) {
  #online-from .thanks {
    padding: 0 5%;
    margin: 60px 0 0;
  }
}
#online-from .form_area {
  width: 660px;
  margin: auto;
  max-width: 100%;
}
#online-from .txt01 {
  font-size: 1.6rem;
  line-height: 1.5;
  margin-top: 70px;
}
#online-from .btn_area {
  margin-top: 70px;
}
#online-from .btn_area .btn {
  width: 400px;
  max-width: 100%;
  font-size: 1.8rem;
  font-weight: bold;
  height: 80px;
  margin: auto;
  display: block;
  cursor: pointer;
  transition: 0.3s;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #006CC9;
  color: #fff;
}
#online-from .btn_area .btn:disabled {
  background-color: #ccc;
  cursor: default;
}
#online-from .btn_area .btn:disabled:hover {
  opacity: 1;
}
#online-from .btn_area .btn:hover {
  opacity: 0.7;
}
#online-from .btn_area .btn + .btn {
  margin-top: 25px;
}
#online-from .btn_area .btn_back {
  background-color: #DBDBDB;
  color: #000;
}
#online-from button[type=submit].btn {
  border: none;
}
@media only screen and (max-width: 767px) {
  #online-from button[type=submit].btn {
    min-width: auto;
  }
}
@media screen and (max-width: 767px) {
  #online-from {
    padding: 0 15px;
    margin: 60px 0;
  }
  #online-from h2 {
    font-size: 6vw;
    margin-bottom: 50px;
  }
  #online-from .lead {
    margin: 0 0 30px;
  }
  #online-from .mw_wp_form {
    padding: 30px 15px;
  }
  #online-from .mw_wp_form dl {
    display: block;
    margin-bottom: 0;
  }
  #online-from .mw_wp_form dl dt, #online-from .mw_wp_form dl dd {
    display: block;
  }
  #online-from .mw_wp_form dl dt {
    width: 100%;
    padding: 0;
    margin-bottom: 15px !important;
  }
  #online-from .mw_wp_form dl dd {
    width: 100%;
    margin-bottom: 25px !important;
  }
  #online-from .mw_wp_form dl dd:last-child {
    margin-bottom: 30px !important;
  }
  #online-from .mw_wp_form dl input[type=text]:not(.address), #online-from .mw_wp_form dl input[type=email], #online-from .mw_wp_form dl textarea {
    padding: 20px;
  }
  #online-from .mw_wp_form button, #online-from .mw_wp_form input[type=submit] {
    padding: 20px 0;
    width: 100%;
    min-width: inherit;
  }
  #online-from .mw_wp_form p.check {
    margin-bottom: 40px;
  }
  #online-from .mw_wp_form .btn_area {
    margin-top: 40px;
  }
  #online-from.confirm {
    padding: 0 15px;
    margin: 60px 0 0;
  }
  #online-from.thanks {
    padding: 0 15px;
    margin: 60px 0 0;
  }
}

.ank {
  padding-top: 60px;
  margin-top: -60px;
  position: relative;
  z-index: -1;
}
.ank-links {
  margin-top: 60px;
}
.ank-links ul {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}
.ank-links li {
  width: calc((100% - 30px) / 3);
  min-width: 270px;
}
.ank-links a {
  background-color: #f4f8fb;
  padding: 15px 10px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  min-height: 86px;
  color: #006CC9;
  position: relative;
  line-height: 1.2;
  font-weight: 700;
}
.ank-links a::after {
  content: "";
  width: 15px;
  height: 6px;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background-color: #006CC9;
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}
@media screen and (max-width: 767px) {
  .ank-links a {
    padding: 10px 10px 20px;
    font-size: 1.4rem;
    min-height: auto;
  }
  .ank-links a::after {
    bottom: 5px;
  }
}

@media screen and (max-width: 767px) {
  .flow .wrap {
    padding: 0 10px;
  }
}

#online-consultation_agency {
  padding-top: 60px;
  margin-top: 0;
}

.agency_list p:first-child {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
}
.agency_list dl {
  counter-reset: num;
  max-width: 800px;
  margin: 0 auto;
}
.agency_list dt {
  counter-increment: num;
  position: relative;
  padding-left: 40px;
  font-size: 1.8rem;
  font-weight: 700;
  border-bottom: 2px solid #006CC9;
  margin-bottom: 15px;
  position: relative;
  line-height: 30px;
}
.agency_list dt::before {
  content: counter(num);
  color: #fff;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 0;
  top: 0;
  background-color: #006CC9;
}
.agency_list dd {
  font-size: 1.6rem;
  margin-bottom: 30px;
  padding-left: 40px;
}
.agency_list .note {
  text-align: center;
  font-size: 1.4rem;
}