/* ======================================================================
 p_contact
====================================================================== */
/* =================================
 l_content
================================= */
.l_content {
  padding-top: 0;
}

/*============================
lead_sec
============================*/
.lead_sec {
  position: relative;
  padding: 80px 0 0;
}
.lead_sec .inner {
  position: relative;
}
.lead_sec .lead_area {
  padding: 35px 55px;
  border-radius: 10px;
  background-color: #fff;
}
.lead_sec .lead_area .head_block {
  position: absolute;
  top: -40px;
  left: -42px;
}
.lead_sec .lead_area .head_block .ttl {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 116px;
  height: 116px;
  background-color: var(--color-pink);
  border-radius: 9999px;
  font-size: 28px;
  font-weight: var(--font-bold);
  line-height: 1.285;
  color: #fff;
}
.lead_sec .lead_area .contents_block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
}
.lead_sec .lead_area .contents_block .txt_box .txt {
  font-size: 18px;
  line-height: 1.777;
  font-weight: var(--font-bold);
}
.lead_sec .lead_area .contents_block .txt_box .num {
  margin-top: 16px;
  font-size: 45px;
  line-height: 1;
}
.lead_sec .lead_area .contents_block .txt_box .num .link {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-num);
  font-weight: var(--font-medium);
}
.lead_sec .lead_area .contents_block .txt_box .num .link::before {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  margin-right: 7px;
  background-image: url("../../assets/img/common/icon_tel.svg");
  background-size: cover;
  background-repeat: no-repeat;
}
.lead_sec .lead_area .contents_block .img_box {
  margin-left: 56px;
}
.lead_sec .lead_area .contents_block .img_box .img {
  border-radius: 10px;
}

@media screen and (max-width: 1064px) {
  .lead_sec .lead_area .head_block {
    top: -80px;
    left: 0;
  }
}
@media screen and (max-width: 980px) {
  .lead_sec .lead_area {
    padding: 35px 15px;
  }
  .lead_sec .lead_area .contents_block .txt_box {
    width: calc(50% - 28px);
  }
  .lead_sec .lead_area .contents_block .txt_box .txt {
    text-align: left;
  }
  .lead_sec .lead_area .contents_block .txt_box .num {
    font-size: 36px;
  }
  .lead_sec .lead_area .contents_block .img_box {
    width: calc(50% - 28px);
  }
  .lead_sec .lead_area .contents_block .img_box .img {
    width: 100%;
    height: auto;
  }
}
@media screen and (max-width: 767px) {
  .lead_sec {
    padding: 80px 0 0;
  }
  .lead_sec .lead_area .head_block {
    top: -60px;
  }
  .lead_sec .lead_area .head_block .ttl {
    width: 90px;
    height: 90px;
    font-size: 22px;
  }
  .lead_sec .lead_area .contents_block {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
  }
  .lead_sec .lead_area .contents_block .txt_box {
    width: 100%;
  }
  .lead_sec .lead_area .contents_block .txt_box .txt {
    font-size: 16px;
  }
  .lead_sec .lead_area .contents_block .txt_box .num {
    font-size: 36px;
  }
  .lead_sec .lead_area .contents_block .txt_box .num .link::before {
    width: 30px;
    height: 30px;
    margin-right: 4px;
  }
  .lead_sec .lead_area .contents_block .img_box {
    margin-left: 0;
    margin-top: 40px;
    width: 100%;
  }
}
/*============================
form_sec
============================*/
.form_sec {
  padding: 80px 0;
}
.form_sec .form_area {
  padding: 54px 60px 70px;
  border-radius: 10px;
  background-color: #fff;
}
.form_sec .lead_block {
  font-size: 16px;
  margin-bottom: 43px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--color-info-gray);
}
.form_sec .lead_block .lead {
  text-align: center;
  line-height: 1.875;
}
.form_sec .form_block .item .subttl {
  font-size: 16px;
  font-weight: var(--font-bold);
  line-height: 1.75;
  margin-bottom: 16px;
}
.form_sec .form_block .item .subttl label {
  display: flex;
  align-items: center;
}
.form_sec .form_block .item .subttl .required,
.form_sec .form_block .item .subttl .any {
  padding: 7px 12px;
  margin-right: 10px;
  font-size: 11px;
  font-weight: var(--font-regilar);
  line-height: 1;
  border-radius: 4px;
  color: #fff;
}
.form_sec .form_block .item .subttl .required {
  background-color: var(--color-deep-pink);
}
.form_sec .form_block .item .subttl .any {
  background-color: var(--color-red-gray);
}
.form_sec .form_block .item .subttl .item_note {
  display: block;
  margin-top: 10px;
  font-size: 14px;
  font-weight: var(--font-regular);
}
.form_sec .form_block .item .txt {
  font-size: 16px;
  line-height: 1.75;
}
.form_sec .form_block .item .txt input[type=text],
.form_sec .form_block .item .txt input[type=email],
.form_sec .form_block .item .txt input[type=tel],
.form_sec .form_block .item .txt select,
.form_sec .form_block .item .txt textarea {
  width: 100%;
  min-height: 76px;
  padding: 20px 28px;
  text-align: left;
  border-radius: 8px;
  border: 1px solid var(--color-info-gray);
  background-color: #fff;
  transform: none;
  transition: none;
}
.form_sec .form_block .item .txt select {
  max-width: 400px;
}
.form_sec .form_block .item .txt textarea {
  height: 240px;
}
.form_sec .form_block .item .txt .input_wrapper .form_select_wrap {
  max-width: 400px;
  position: relative;
}
.form_sec .form_block .item .txt .input_wrapper .form_select_wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 24px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--color-most-black);
  border-right: 2px solid var(--color-most-black);
  top: 50%;
  transform: translateY(-50%) rotate(135deg);
}
.form_sec .form_block .item .txt .input_wrapper .form_check_list .form_check_item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
  gap: 5px;
}
.form_sec .form_block .item .txt .input_wrapper .form_check_list .form_check_item:nth-child(even) {
  margin-left: 20px;
  max-width: 360px;
}
.form_sec .form_block .item .txt .input_wrapper .form_check_list .form_check_item:nth-of-type(n+3) {
  margin-top: 5px;
}
.form_sec .form_block .item + .item {
  margin-top: 42px;
}
.form_sec .form_block .wpcf7-list-item {
  margin-left: 0;
  cursor: pointer;
}
.form_sec .p-form__button ._items .back__item {
  margin-right: 20px;
}
.form_sec .p-check {
  display: flex;
  align-items: center;
  cursor: pointer;
}
.form_sec .p-check__label {
  font-size: 16px;
  margin-left: 10px;
}

.c_head_sec + .form_sec {
  padding-top: 80px;
}

@media screen and (max-width: 767px) {
  .form_sec .form_area {
    padding: 30px 15px 30px;
  }
  .form_sec .lead_block .lead {
    font-size: 14px;
    text-align: left;
  }
  .form_sec .form_block .item .subttl {
    margin-bottom: 12px;
    font-size: 14px;
  }
  .form_sec .form_block .item .subttl .required,
  .form_sec .form_block .item .subttl .any {
    flex-shrink: 0;
    margin-right: 7px;
    padding: 7px 9px;
  }
  .form_sec .form_block .item .txt input[type=text],
  .form_sec .form_block .item .txt input[type=email],
  .form_sec .form_block .item .txt input[type=tel],
  .form_sec .form_block .item .txt select,
  .form_sec .form_block .item .txt textarea {
    min-height: unset;
    padding: 10px 20px;
    font-size: 14px;
  }
  .form_sec .form_block .item .txt .input_wrapper .form_select_wrap::after {
    right: 20px;
  }
  .form_sec .form_block .item .txt .input_wrapper .form_check_list .form_check_item {
    grid-template-columns: repeat(1, 1fr);
    width: 100%;
  }
  .form_sec .form_block .item .txt .input_wrapper .form_check_list .form_check_item:nth-child(even) {
    margin-left: 0;
    max-width: unset;
    margin-top: 5px;
  }
  .form_sec .form_block .item .txt .input_wrapper .form_check_list .form_check_item .p-check {
    align-items: flex-start;
  }
  .form_sec .form_block .item .txt .input_wrapper .form_check_list .form_check_item .p-check .p-check__label {
    font-size: 14px;
  }
  .form_sec .form_block .item .txt .input_wrapper .form_check_list .form_check_item .p-check [type=checkbox] {
    margin-top: 5px;
  }
  .form_sec .form_block .item + .item {
    margin-top: 32px;
  }
  .form_sec .p-form__button ._items:has(> .p-privacyBox__item:nth-of-type(2)) [type=submit] {
    width: 150px;
  }
  .form_sec .p-form__button ._items .confirm-submit-btn {
    width: 150px;
  }
}
/*==================================
inline privacy 
==================================*/
.p-privacyBox {
  overflow-y: scroll;
  height: 240px;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid var(--color-light-gray);
  background-color: var(--color-extra-gray);
}

.p-privacyBox__title {
  padding-bottom: 24px;
  margin-bottom: 32px;
  font-weight: bold;
  border-bottom: 1px solid var(--color-light-gray);
}

.p-privacyBox__list {
  counter-reset: number 0;
}

.p-privacyBox__item ._item__title {
  margin-top: 19px;
  display: flex;
  font-weight: bold;
  font-size: 14px;
}
.p-privacyBox__item ._item__title::before {
  counter-increment: number 1;
  content: counter(number) ".";
  margin-right: 4px;
  flex-shrink: 0;
}
.p-privacyBox__item ._item__body {
  display: flex;
  font-size: 14px;
}
.p-privacyBox__item ._item__body::before {
  content: counter(number) ".";
  font-weight: bold;
  margin-right: 4px;
  opacity: 0;
}
.p-privacyBox__item ._item__body ._body__highlight {
  padding: 16px;
  background-color: #f9f9f9;
}
.p-privacyBox__item ._item__body ._body__list.-disc ._body__item {
  display: flex;
  align-items: baseline;
}
.p-privacyBox__item ._item__body ._body__list.-disc ._body__item::before {
  content: "";
  width: 7px;
  height: 7px;
  display: inline-block;
  flex-shrink: 0;
  border-radius: 50%;
  margin-right: 0.5em;
  background-color: #bd1a21;
  transform: translateY(-2px);
}

.p-paragraph {
  margin-top: 1em;
  margin-bottom: 1em;
}
.p-paragraph .link {
  text-decoration: underline;
  word-break: break-word;
}

.p-list-lowerAlpha {
  counter-reset: number-list-lowerAlpha 0;
}

.p-list__item {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto 1fr;
  grid-gap: 0px 0px;
  gap: 0px 0px;
  grid-template-areas: "blank ." "blank .";
}

.p-list > li {
  margin-top: 0.4rem;
  margin-bottom: 0.4rem;
}

.p-list-lowerAlpha > li::before {
  counter-increment: number-list-lowerAlpha 1;
  content: counter(number-list-lowerAlpha, lower-alpha) ".";
}

.p-table {
  border: #d0d0d0;
  width: 100%;
  table-layout: auto;
  display: table !important;
}

.p-table-privacyBox tbody {
  display: table-row-group !important;
}
.p-table-privacyBox thead,
.p-table-privacyBox tbody,
.p-table-privacyBox th,
.p-table-privacyBox td {
  border-width: 1px;
  border-style: solid;
  border-color: #d0d0d0;
  padding: 0.8rem;
  vertical-align: top;
  width: auto !important;
}
.p-table-privacyBox thead {
  background-color: #222;
  border-color: #222;
  color: #fff;
}
.p-table-privacyBox thead th {
  border-color: #5e5e5e;
}
.p-table-privacyBox thead tr {
  display: table-row !important;
}

.p-form__agreement {
  text-align: center;
  margin-top: 28px;
}
.p-form__agreement .p-check {
  justify-content: center;
}
.p-form__agreement .p-check [type=checkbox] {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  margin-top: -7px;
}
.p-form__agreement .p-check [type=checkbox] + .wpcf7-list-item-label {
  font-size: 16px;
  margin-left: 10px;
}

.p-form__button {
  margin-top: 60px;
}
.p-form__button ._items {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
}
.p-form__button ._items .p-privacyBox__item p {
  position: relative;
}
.p-form__button ._items .p-privacyBox__item p::after {
  content: "";
  display: block;
  position: absolute;
  border-bottom: solid 2px #fff;
  border-right: solid 2px #fff;
  width: 9px;
  height: 9px;
  transform: rotate(-45deg);
  transition: border-color 0.3s;
  top: 26px;
  right: 20px;
}
.p-form__button ._items .p-privacyBox__item p:has(> input.c_btn_2:hover)::after {
  border-color: var(--color-pink);
}

#submitbtn[type=submit]:disabled {
  pointer-events: none !important;
  background-color: var(--color-red-gray) !important;
  border-color: transparent;
  color: #fff;
}

@media (min-width: 768px) {
  .p-privacyBox {
    height: 293px;
    padding: 36px 28px;
  }
  .p-privacyBox__title {
    text-align: center;
    font-size: 14px;
  }
  .p-privacyBox__item ._item__body ._body__highlight {
    padding: 28px 36px;
  }
  .p-form__agreement {
    margin-top: 24px;
  }
}