/* ======================================
ページトップ
========================================= */
.top__wrapper {
  background-image: url(../img/contact/mv.png);
}

/* ======================================
お問い合わせ
========================================= */
.contact__text {
  width: 70%;
  margin: 0px auto;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14.2px;
  color: #3e3a39;
  line-height: 2;
  margin-bottom: 50px;
}

.contact__text a {
  display: inline-block;
}

.contact__form {
  width: 58%;
  min-width: 880px;
  margin: 30px auto 65px;
}

.contact__title {
  color: #004692;
  font-size: 25px;
  font-weight: 700;
  border-bottom: solid 1px #004692;
  padding-bottom: 10px;
}

/* ======================================
お問い合わせのテーブル
========================================= */
.formTable {
  width: 100%;
  margin: 37px auto;
  font-size: 15px;
}

.formTable tr td:first-child {
  width: 22%;
  border-top: solid 3px #e9e9ea;
  border-bottom: solid 3px #e9e9ea;
  padding: 27px 32px 27px 14px;
  font-weight: 700;
}

.vertical {
  vertical-align: top;
}

.formTable tr td:first-child p {
  display: flex;
  justify-content: space-between;
}

.formTable tr td:first-child p span {
  background-color: #c6000e;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  font-weight: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0px 7px 1px 7px;
}

.non-required {
  background-color: #848484 !important;
}

.formTable tr td:last-child {
  width: 78%;
  background-color: #e9e9ea;
  border-bottom: solid 3px #fff;
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 1px;
  font-weight: 700;
  padding: 22px 20px 22px 20px;
}

.formTable tr td:last-child p {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.radio-button__flex {
  display: flex;
}

.radio-button__flex01 {
  padding-bottom: 15px;
}

.radio-button {
  padding-right: 50px;
}

.radio-button__flex01 .radio-button {
  padding-right: 90px;
}

.radio-button label {
  cursor: pointer;
}

.radio-button input[type="radio"] {
  margin-right: 4px;
  cursor: pointer;
}

.textbox {
  width: calc(100% - 24px);
  padding: 12px;
  border: none;
  font-size: 16px;
}

.seminar-textbox .textbox {
  width: calc(81% - 24px);
}

.seminar-textbox p {
  margin-top: 10px;
}

.name-textbox {
  display: flex;
  justify-content: space-between;
}

.name-textbox p {
  width: 48%;
  white-space: nowrap;
}

.name-textbox .textbox {
  width: calc(84% - 24px);
}

.address01,
.address02 {
  width: calc(100% - 40px) !important;
}

.address01 {
  display: flex;
}

.address01 p {
  width: 50%;
}

.address01 p:last-child {
  justify-content: left !important;
}

.address01 .textbox {
  margin: 0px 10px;
  width: calc(61% - 24px);
}

.address02 {
  width: 48%;
  display: flex;
  align-items: center;
}

.address02 .select {
  display: inline-block;
  position: relative;
  padding-left: 52px;
}

select {
  appearance: none;
  width: 195px;
  padding: 12px;
  border: none;
  cursor: pointer;
  font-family: "Noto Sans JP", sans-serif;
  /*color: #848484;*/
  font-weight: 600;
  letter-spacing: 1px;
}

.select::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 1px solid #848484;
  border-right: 1px solid #848484;
  transform: rotate(135deg);
  position: absolute;
  top: 14px;
  right: 16px;
}

select::-ms-expand {
  display: none;
}

.address03 .textbox,
.address04 .textbox {
  width: calc(78% - 24px);
}

.form-tell p {
  font-size: 13px;
  padding-bottom: 15px;
}

.textarea {
  width: calc(100% - 24px);
  padding: 12px;
  border: none;
  height: 200px;
}

.button_wrap {
  display: flex;
  justify-content: center;
}

.form-button {
  margin: 7px 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 260px;
}

.button {
  font-family: "Noto Sans JP", sans-serif;
  display: block;
  border: none;
  cursor: pointer;
  height: 75px;
  width: 100%;
  transition: 0.3s;
  border: solid 1px #004692;
  background-color: #004692;
  color: #fff;
  text-align: center;
  letter-spacing: 1px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 8px;
}

.button:hover {
  background-color: #fff;
  color: #004692;
}

.reset {
  background-color: #fff;
  color: #004692;
}

.reset:hover {
  background-color: #004692;
  color: #fff;
}

@media screen and (max-width: 1024px) {
  .contact__text {
    width: 89%;
    font-size: 3.6vw;
    font-weight: 500;
    color: #3e3a39;
    line-height: 1.6;
  }

  .contact__form {
    width: 90%;
    min-width: 90%;
    margin: 7vw auto 14vw;
  }

  .contact__title {
    font-size: 4vw;
    border-bottom: solid 0.2vw #004692;
    padding-bottom: 3vw;
  }

  .formTable {
    margin: 7vw auto 11vw;
    font-size: 3.7vw;
  }

  .formTable tr {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  .formTable tr td:first-child {
    width: 100%;
    background-color: #e9e9ea;
    border: none;
    padding: 4vw 3vw;
  }

  .formTable tr td:first-child p {
    justify-content: left;
  }

  .formTable tr td:first-child p span {
    font-size: 2.5vw;
    font-weight: 400;
    padding: 0.1vw 1.6vw 0.5vw 1.6vw;
    margin-left: 1.5vw;
  }

  .formTable tr td:last-child {
    width: 100%;
    font-size: 3vw;
    letter-spacing: 0.3vw;
    padding: 3vw 3vw 5vw 3vw;
    border-bottom: solid 0.3vw #fff;
  }

  .radio-button__flex01 {
    padding-bottom: 2.5vw;
  }

  .radio-button__flex01 .radio-button {
    padding-right: 10.5vw;
  }

  .radio-button {
    padding-right: 15.5vw;
  }

  .radio-button input[type="radio"] {
    margin-right: 2vw;
    width: 2.3vw;
    height: 2.3vw;
  }

  .seminar-textbox p {
    margin-top: 1.5vw;
  }

  .textbox {
    padding: 1.5vw;
    font-size: 3.7vw;
  }

  .seminar-textbox .textbox {
    width: calc(65% - 3vw);
  }

  .name-textbox .textbox {
    width: calc(80% - 3vw);
  }

  .address01 .textbox {
    margin: 0px 2vw;
    width: calc(56% - 3vw);
  }

  .address01,
  .address02 {
    width: calc(100% - 6vw) !important;
  }

  .address01,
  .address02,
  .address03 {
    border-bottom: none !important;
  }

  .address03 p,
  .address04 p {
    justify-content: space-between !important;
  }

  .address03 .textbox,
  .address04 .textbox {
    width: calc(66% - 3vw);
  }

  .address02 .select {
    padding-left: 2vw;
  }

  .select::before {
    width: 2vw;
    height: 2vw;
    border-top: 0.1vw solid #848484;
    border-right: 0.1vw solid #848484;
    top: 2vw;
    right: 3vw;
  }

  select {
    width: 45vw;
    padding: 1.5vw;
    font-size: 3vw;
    letter-spacing: 0.2vw;
  }

  .form-tell p {
    font-size: 2.3vw;
    padding-bottom: 2vw;
  }

  .textarea {
    width: calc(100% - 3vw);
    padding: 1.5vw;
    font-size: 3vw;
    border: none;
    height: 40vw;
  }

  .form-button {
    margin: 1vw 2vw;
    width: 50%;
  }

  .button {
    height: 13vw;
    border: solid 0.1vw #004692;
    letter-spacing: 0.1vw;
    font-size: 4vw;
    border-radius: 1vw;
  }
}

.smf-item{
  border-top: 1px solid #ddd !important;
}
.smf-item__col--label{
  max-width: inherit !important;
}
.smf-form--business .smf-item {
  border-left: 1px solid #ddd !important;
  border-right: 1px solid #ddd !important;
  border-bottom: none !important;
}
.smf-item:last-child {
  border-bottom: 1px solid #ddd !important;
}
.smf-form .smf-radio-button-control__control:checked:before {
  content: none !important;
}
.contact__content{
  .page__title{
    display: none;
  }
  .contact__title{
    margin: 0 auto 30px;
  }
}
.wp-block-snow-monkey-forms-item{
  display: flex;
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.5;
  @media (max-width: 1024px) {
    display: block;
  }
  .smf-item__label{
    box-sizing: border-box;
    font-weight: bold;
    width: 200px;
    @media (max-width: 1024px) {
      width: auto;
    }
  }
  .smf-item__col--controls{
    width: 100%;
    box-sizing: border-box;
  }
  .smf-item__col{
    padding: 20px;
    &:first-child{
      @media (max-width: 1024px) {
        padding-bottom: 15px;
        padding-top: 15px;
      }
    }
  }
  input[type="text"], textarea, input[type="tel"],input[type="email"],select {
    padding: 12px !important;
    font-size: 16px !important;
    border: 1px solid #cecece !important;
    background: #fff !important;
    border-radius: 5px !important;
    box-sizing: border-box;
    width: 100%;
  }
  select {
    padding: 10px !important;
    appearance: auto !important;
    font-weight: normal;
  }
  .smf-select-control__toggle{
    display: none !important;
  }
  #zip{
    width: 144px;
  }
  .smf-radio-button-control{
    margin-right: 20px;
  }

  .smf-radio-button-control__control,.smf-checkbox-control__control{
    appearance: auto !important;
    border: 1px solid #cecece !important;
    background: #fff !important;
    height: 17px !important;
    width: 17px !important;
    margin-top: 3px !important;
    margin-right: 3px !important;
  }
  .mtmb{
    margin: 10px 0;
  }
  .mt{
    margin-top: 10px;
  }
  .smf-checkbox-control__control:checked:before {
    display: none !important;
  }
}
.smf-item .smf-item__col--label {
  padding-right: 50px;
}
.smf-item.is-required .smf-item__col--label,.smf-item.is-nini .smf-item__col--label {
  position: relative;
}
.smf-item.is-required .smf-item__col--label::after {
  content: "必須";
  position: absolute;
  right: 20px;
  top: 37px;
  transform: translateY(-50%);
  background: #c60000;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px 3px;
  border-radius: 3px;
  line-height: 1;
  white-space: nowrap;
  @media (max-width: 1024px) {
    right: 22px;
    top: 27px;
  }
}
.smf-item.is-nini .smf-item__col--label::after {
  content: "任意";
  position: absolute;
  right: 20px;
  top: 37px;
  transform: translateY(-50%);
  background: #525252;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px 3px;
  border-radius: 3px;
  line-height: 1;
  white-space: nowrap;
  @media (max-width: 1024px) {
    right: 22px;
    top: 27px;
  }
}

.smf-item.name .smf-item__controls{
  display: flex;
  justify-content: space-between;
  .smf-placeholder{
    width: 47%;
  }
}
#autozip {
  display: none !important;
}
.smf-control-description{
  font-size: 14px;
  margin-bottom: 10px !important;
  color: #004692 !important;
}
.smf-button-control__control{
  border: none !important;
  height: 75px;
  width: 260px;
  transition: 0.3s !important;
  border: solid 1px #004692 !important;
  background-color: #004692 !important;
  background-image:none !important;
  color: #fff !important;
  font-size: 18px;
  font-weight: 500;
  border-radius: 8px !important;
  &:hover{
    background-color: #fff !important;
    color: #004692 !important;
  }
}
.smf-action{
  margin-bottom: 100px !important;
}

.contact-confirm{
  display: none;
}
.contact-thanks{
  display: none;
}
[data-screen="confirm"] {
  .contact-confirm{
    display: block;
  }
  .contact-page,.contact__text{
    display: none;
  }
}
[data-screen="complete"]{
  .contact-thanks{
    display: block;
  }
  .contact-page,.contact__text{
    display: none;
  }
}


/* ======================================
サンクス
========================================= */
#thanks {
  margin: 30px 0px;
}

#thanks p {
  text-align: center;
  font-size: 23px;
  line-height: 2.5;
  margin-top: 20px;
}

.thanks__button a {
  margin: 30px auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 260px;
  height: 75px;
  font-family: "Noto Sans JP", sans-serif;
  transition: 0.3s;
  border: solid 1px #004692;
  background-color: #004692;
  color: #fff;
  text-align: center;
  letter-spacing: 1px;
  font-size: 18px;
  font-weight: 500;
  border-radius: 8px;
}

.thanks__button a:hover {
  background-color: #fff;
  color: #004692;
}

@media screen and (max-width: 1024px) {
  #thanks {
    margin: 5vw 0px;
  }

  #thanks p {
    font-size: 3.5vw;
    margin-top: 0%;
  }

  .thanks__button a {
    margin: 12% auto 20%;
    width: 51%;
    padding: 3% 0px;
    font-size: 3vw;
    height: auto;
  }
}
