@charset "UTF-8";

/*===============================
打消し用
===============================*/
.p-form {
  background: none;
}

.p-tbl th {
  background-color: transparent;
  color: inherit;
}

.p-tbl .p-form__icon {
  position: static;
  transform: none;
  padding: 0;
}

.p-form__text {
  color: #000;
}

/*===============================
追記用
===============================*/
.p-tbl th {
  font-size: 1.4375rem;
}

@media screen and (max-width: 767px) {
  .p-tbl th {
    font-size: 5.9vw;
  }
}

.p-form__iconWrap {
  display: flex;
  align-items: center;
}

.p-tbl .p-form__icon {
  border-radius: 2.5rem;
  font-size: 0.875rem;
  margin-left: 0.625rem;
  font-weight: 400;
  padding: 0.3125rem;
  width: 3.75rem;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .p-tbl .p-form__icon {
    font-size: 3.59vw;
    margin-left: 2.56vw;
    padding: 1.28vw;
    width: 15.38vw;
  }
}

.p-form__icon .p-form__iconHissu {
  background: #d30003;
}

.p-tbl .p-form__iconNini {
  background: #051066;
  color: #fff;
}

.p-tbl td input,
.p-tbl td textarea,
.p-tbl td select,
.mwform-radio-field.horizontal-item {
  background: #f7f7f7;
  padding: 1.25rem 0.9375rem;
  border-radius: 0.3125rem;
  font-weight: 700;
  color: #000;
}

@media screen and (max-width: 767px) {

  .p-tbl td input,
  .p-tbl td textarea,
  .p-tbl td select,
  .mwform-radio-field.horizontal-item {
    padding: 3.85vw;
    border-radius: 0.3125rem;
  }
}

.p-tbl td input#your-name,
.p-tbl td input#your-tel,
.p-tbl td input#your-email,
.p-tbl td input#your-name,
.p-tbl td select#area,
.p-tbl td select#age,
.p-tbl td select#building_kind,
.p-tbl td input.required,
.p-tbl td select.required {
  background: #faefec;
}

.p-tbl td input#your-name.input_now,
.p-tbl td input#your-tel.input_now,
.p-tbl td input#your-email.input_now,
.p-tbl td input#your-name.input_now,
.p-tbl td select#area.input_now,
.p-tbl td select#age.input_now,
.p-tbl td select#building_kind.input_now,
.p-tbl td input.required.input_now,
.p-tbl td select.required.input_now {
  background: #f7f7f7;
}

.wpcf7-radio {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.625rem;
}

@media screen and (max-width: 767px) {
  .wpcf7-radio {
    grid-template-columns: 1fr;
  }
}

.wpcf7-radio>*:only-child {
  grid-column: 1/3;
}

.p-form__select {
  width: 100%;
}

.p-form__desc {
  font-size: 1.125rem;
  line-height: 1.5;
  display: inline-block;
}

@media screen and (max-width: 767px) {
  .p-form__desc {
    font-size: 4.1vw;
  }
}

.form__table-title__detail {
  font-size: 0.875rem;
  line-height: 1.5;
  display: inline-block;
}

@media screen and (max-width: 767px) {
  .form__table-title__detail {
    font-size: 4.1vw;
  }
}

.p-form__select::before {
  background: #01652c;
  width: 1.25rem;
  border-radius: 0 0.3125rem 0.3125rem 0;
  content: "";
  height: 100%;
  position: absolute;
  right: 0;
}

.p-form__select::after {
  position: absolute;
  box-sizing: border-box;
  content: "";
  width: 0.375rem;
  top: 50%;
  right: 0.25rem;
  transform: translateY(-50%);
  border: 0.375rem solid transparent;
  border-top: 0.375rem solid #fff;
  border-bottom: none;
}

.p-tbl .p-form__icon+input {
  width: calc(100% - 3.75rem - 0.9375rem);
}

@media screen and (max-width: 767px) {
  .p-tbl .p-form__icon+input {
    width: calc(100% - 15.38vw - 2.56vw);
  }
}

.p-tbl .p-form__date-title+.p-form__date-box {
  width: 18.75rem;
}

@media screen and (max-width: 767px) {
  .p-tbl .p-form__date-title+.p-form__date-box {
    width: 100%;
  }
}

.p-tbl .p-form__date-wrap {
  position: relative;
}

.p-tbl .p-form__date-wrap::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  background-image: url(../images/common/ico_calendar01.svg);
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

@media screen and (max-width: 767px) {
  .p-tbl .p-form__date-wrap::after {
    right: 4.62vw;
    width: 4.62vw;
    height: 4.62vw;
  }
}

.p-tbl .p-form__date-wrap::before {
  content: "ご希望日を選択してください";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 1.25rem;
  color: #000;
  font-size: 16px;
  font-weight: 700;
  pointer-events: none;
}

.p-tbl .p-form__date-wrap.calendar_on::before {
  display: none;
}

.p-tbl .p-form__date-wrap input {
  cursor: pointer;
}

.p-form__item {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9375rem;
}

@media screen and (max-width: 767px) {
  .p-form__item {
    /* display: block; */
    gap: 2.56vw;
  }
}

.p-form__item+.p-form__item {
  margin-top: 0.9375rem;
}

.p-form__item .p-form__icon {
  margin: 0;
}

@media screen and (max-width: 767px) {
  .p-form__item .p-form__icon+input {
    width: calc(100% - 15.38vw - 2.56vw);
  }
}

/*
@media screen and (max-width: 767px) {  .p-form__item>.p-form__icon:first-child {
    margin: 0 2.56vw 0 0;
  }
} */

.p-form__box {
  background: #ffedaf;
}

.p-form__date-box>*:last-child {
  margin-top: 0.9375rem;
}

.p-form__select-wrap {
  display: block;
  position: relative;
}

.p-form__select-wrap:before {
  content: "";
  height: 100%;
  background-color: #676767;
  position: absolute;
  right: 0;
  width: 1.25rem;
  border-radius: 0 0.3125rem 0.3125rem 0;
  background: #01652c;
}

.p-form__select-wrap:after {
  position: absolute;
  box-sizing: border-box;
  content: "";
  width: 0.375rem;
  top: 50%;
  right: 0.25rem;
  transform: translateY(-50%);
  border: 0.375rem solid transparent;
  border-top: 0.375rem solid #fff;
  border-bottom: none;
}

.p-form__date-title {
  font-weight: 700;
  font-size: 1.4375rem;
}

@media screen and (max-width: 767px) {
  .p-form__date-title {
    display: flex;
    align-items: center;
    font-size: 5.9vw;
    width: 100%;
    flex-basis: 100%;
  }

  .p-form__date-title .p-form__icon {
    margin-left: 2.56vw;
  }

  .p-form__date-box {
    width: 100%;
    flex-basis: 100%;
  }
}

@media screen and (min-width: 768px),
print {
  .p-form__date-title .p-form__icon {
    margin-top: 0.625rem;
    display: block;
    font-weight: 400;
  }
}

.mwform-radio-field-text {
  display: block;
  padding-left: 2.5rem;
  position: relative;
  font-size: 1.125rem;
}

@media screen and (max-width: 767px) {
  .mwform-radio-field-text {
    font-size: 4.62vw;
    padding-left: 10.26vw;
  }
}

.mwform-radio-field-text span {
  font-size: 0.8rem;
}

@media screen and (max-width: 767px) {
  .mwform-radio-field-text span {
    font-size: 3.08vw;
  }

  .p-tbl td input,
  .p-tbl td textarea,
  .p-tbl td select,
  .p-tbl .p-form__date-wrap::before {
    font-size: 4.62vw;
  }
}

.mwform-radio-field-text:before {
  width: 1.5rem;
  aspect-ratio: 1;
  display: block;
  position: absolute;
  top: 50%;
  left: 0.3125rem;
  border: 1px solid #000;
  background: #faefec;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  content: "";
}

.wpcf7-radio.check_now .mwform-radio-field-text:before {
  background: #fff;
}

@media screen and (max-width: 767px) {
  .mwform-radio-field-text:before {
    width: 6.15vw;
    left: 1.28vw;
  }
}

.wpcf7-radio input:checked+.mwform-radio-field-text::after {
  content: "✔";
  font-size: 95%;
  line-height: 1;
  display: block;
  position: absolute;
  top: 50%;
  left: 0.625rem;
  width: 0.9375rem;
  height: 0.5rem;
  content: "";
  border-left: 2px solid #000;
  border-bottom: 2px solid #000;
  transform: translateY(-80%) rotate(-45deg);
}

@media screen and (max-width: 767px) {
  .wpcf7-radio input:checked+.mwform-radio-field-text::after {
    left: 2.56vw;
    width: 3.85vw;
    height: 2.05vw;
  }
}

.mw_wp_form_confirm .p-form__select::before,
.mw_wp_form_confirm .p-form__select::after,
.mw_wp_form_confirm .p-form__select-wrap:before,
.mw_wp_form_confirm .p-form__select-wrap::after,
.mw_wp_form_confirm .p-error,
.mw_wp_form_confirm .p-form__policy,
.mw_wp_form_confirm .p-tbl .p-form__date-wrap::before,
.mw_wp_form_confirm .p-tbl .p-form__date-wrap::after {
  display: none;
}

.p-form__policyText {
  font-size: 1rem;
}

@media screen and (max-width: 767px) {
  .p-form__policyTitle {
    font-size: 4.62vw;
  }

  .p-form__policyText {
    font-size: 4.1vw;
  }
}

.p-form .l-inner {
  max-width: 62.5rem;
}

@media screen and (max-width: 767px) {
  .p-form .l-inner {
    max-width: calc(100% - 15.63vw);
  }
}



/* アスペクト比 */
.p-mv__imgsLogo img {
  aspect-ratio: 370/153;
}

.p-mv__imgsMedal img {
  aspect-ratio: 3/4;
}

.p-mv__itemsBalloon img:nth-child(1) {
  aspect-ratio: 88/49;
}

.p-mv__itemsBalloon img:nth-child(2) {
  aspect-ratio: 117/49;
}

.p-mv__exampleImg img {
  aspect-ratio: 1/1.6875;
}

.p-cta__appeal img {
  aspect-ratio: 343/64;
}

.p-appeal__itemsAppeal img {
  aspect-ratio: 310/51;
}

@media screen and (max-width: 767px) {
  .p-appeal__itemsAppeal img {
    aspect-ratio: 346/86;
  }
}

.p-category__img img {
  aspect-ratio: 1;
}

.p-reason__secttl img {
  aspect-ratio: 250/61;
}

@media screen and (max-width: 767px) {
  .p-reason__secttl img {
    aspect-ratio: 349/215;
  }
}

.p-reason__img img {
  aspect-ratio: 123/86;
}

.p-case__imgboxImg img {
  aspect-ratio: 1;
}

.p-entrust__case img {
  aspect-ratio: 511/67;
}

.p-possible__img img {
  aspect-ratio: 4/3;
}

.p-flow__doc-card img {
  aspect-ratio: 505/336;
}

.p-staff__catch img {
  aspect-ratio: 398/149;
}

.p-flow__img img {
  aspect-ratio: 20/23;
}

.p-staff__img img {
  aspect-ratio: 1;
}