@charset "UTF-8";


/*----------------------------------------
お問い合わせ：ページ切り替えタブ
----------------------------------------*/
@media screen and (min-width: 768px) {
  #contact_tab {
    width: 100%;
    max-width: 960px;
    margin: 0 auto 60px;
    border-bottom: 1px #cccccc solid;
    display: flex;
    justify-content: space-between;
  }
  #contact_tab li {
    width: 49%;
    max-width: 470px;
  }
  #contact_tab li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 0 14px;
    text-align: center;
    color: #BCBCBC;
    font-size: 1.5rem;
    line-height: 1.4;
    transition: 0.1s;
    position: relative;
  }
}

@media screen and (max-width: 767px) {
  #contact_tab {
    width: 100%;
    margin: 0 0 40px;
    border-bottom: 1px #cccccc solid;
    display: flex;
    justify-content: space-between;
  }
  #contact_tab li {
    width: 49%;
  }
  #contact_tab li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0 0 14px;
    text-align: center;
    color: #BCBCBC;
    font-size: 0.9375rem;
    line-height: 1.35;
    transition: 0.1s;
    position: relative;
  }
}

#contact_tab li a::after {
  content: "";
  display: block;
  width: 100%;
  height: 8px;
  position: absolute;
  bottom: -1px;
  left: 0;
  transition: 0.1s;
}
#contact_tab li a:hover {
  text-decoration: none;
}
#contact_tab li.contact_tab_active a {
  color: var(--red) !important;
  font-weight: 500;
  transition: 0.1s;
}
#contact_tab li.contact_tab_active a::after {
  background-color: var(--red);
  transition: 0.1s;
}


/*----------------------------------------
お問い合わせ：フォーム
----------------------------------------*/
@media screen and (min-width: 768px) {
  #subpage_wrap {
    padding-bottom: 30px;
  }
  .error_msg {
    width: 100%;
    max-width: 960px;
    text-align: center;
    border: 2px #d70303 solid;
    color: #d70303;
    font-weight: 500;
    font-size: 1.125rem;
    line-height: 1;
    margin: -30px auto 40px;
    padding: 15px 0;
  }
  .contact_form {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
  }
  .contact_form dl {
    width: 100%;
    margin: 0 0 20px;
  }
  .contact_form dl dt {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 0 10px;
  }
  .contact_form dl dt p {
    font-size: 1.125rem;
    line-height: 1;
  }
  .contact_form dl dt span {
    height: 26px;
    background: #FFDADC;
    border-radius: 4px;
    color: #EF616A;
    font-weight: 500;
    font-size: 0.8125rem;
    line-height: 25px;
    margin: 0 0 0 10px;
    padding: 0 5px;
  }
  .contact_form dl dd {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .contact_form dl dd .radio_wrap {
    width: 100%;
    padding: 5px 0 8px;
  }
  .contact_form dl dd .radio_wrap label {
    flex-shrink: 0;
    cursor: pointer;
  }
  .contact_form dl dd .radio_wrap label input {
    display: none;
  }
  .contact_form dl dd .radio_wrap label span {
    font-family: "M PLUS 1", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
  }
  .contact_form dl dd .radio_wrap label span::before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    background: url("../images/contact/radio_off.svg") no-repeat center center;
    background-size: contain;
    margin: 0 8px 0 0;
  }
  .contact_form dl dd .radio_wrap label input:checked + span::before {
    background: url("../images/contact/radio_on.svg") no-repeat center center;
    background-size: contain;
  }
  .contact_form dl dd input[type=text],
  .contact_form dl dd input[type=email],
  .contact_form dl dd input[type=tel],
  .contact_form dl dd input[type=number],
  .contact_form dl dd input[type=password] {
    display: block;
    width: 100%;
    height: 50px;
    outline: 0;
    border-radius: 6px;
    border: 1px #C6C6C6 solid;
    color: #000000;
    font-size: 1rem;
    line-height: normal;
    box-sizing: border-box;
    padding: 0 10px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
  }
  .contact_form dl dd input::placeholder {
    color: #BBBBBB;
  }
  .contact_form dl dd select {
    width: 100%;
    height: 50px;
    background: url("../images/contact/arrow_dropdown.png") no-repeat right 17px center;
    background-size: 10px 5px;
    cursor: pointer;
    color: #333333;
    font-size: 1rem;
    line-height: 1;
    outline: 0;
    border-radius: 6px;
    border: 1px #C6C6C6 solid;
    box-sizing: border-box;
    padding: 0 0 0 10px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
  }
  .contact_form dl dd textarea {
    display: block;
    width: 100%;
    height: 300px;
    outline: 0;
    border-radius: 6px;
    border: 1px #C6C6C6 solid;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1rem;
    line-height: 1.5em;
    box-sizing: border-box;
    padding: 10px 10px;
    overflow: auto;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
  }
  .contact_form dl dd .error_txt {
    width: 100%;
    color: #d70303;
    font-weight: 500;
    font-size: 1rem;
    line-height: 1;
    margin: 8px 0 0;
  }
  .contact_form dl dd .input_2col {
    width: calc(50% - 5px);
  }
  .contact_form dl dd .text_unit {
    width: calc(100% - 310px);
    display: flex;
    align-items: center;
    font-family: "M PLUS 1", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 1.5;
    letter-spacing: 1px;
  }
  .contact_form hr {
    width: 100%;
    height: 1px;
    background: #CCCCCC;
    border: none;
    margin: 60px 0 40px;
  }
  .input_text_small, .select_small, .input_text_unit {
    width: 300px !important;
  }
  .greyText {
    width: 100%;
    flex-shrink: 0;
    color: #666666;
    font-size: 0.875rem !important;
    margin: 11px 0 3px;
  }
  .contact_privacy {
    width: 100%;
    margin: 50px 0 80px;
  }
  .contact_privacy h3 {
    font-weight: 400;
    margin: 0 0 10px;
  }
  .contact_privacy p {
    color: #666666;
    font-size: 1rem;
    line-height: 1.8em;
  }
  .contact_privacy p a {
    color: #666666;
    text-decoration: underline;
  }
  .contact_privacy p a:hover {
    text-decoration: none;
  }
  .recaptcha_txt {
    text-align: center;
    margin: 20px 0 0;
    color: #666666;
    font-size: 0.8125rem;
    line-height: 1.8;
  }
  .recaptcha_txt a {
    color: #666666;
    text-decoration: underline;
  }
  .recaptcha_txt a:hover {
    text-decoration: none;
  }
  .btn_wrap {
    width: 100%;
    margin: 60px 0 0;
    position: relative;
  }
  #confirm_btn, #send_btn {
    width: 400px;
    height: 80px;
    margin: 0 auto;
  }
  #confirm_btn input, #send_btn input {
    font-family: "M PLUS 1", serif;
    font-optical-sizing: auto;
    font-style: normal;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 100px;
    background-color: var(--red);
    border: 2px var(--red) solid;
    text-align: center;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 1.25rem;
    line-height: 80px;
    cursor: pointer;
    transition: 0.3s;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
  }
  #confirm_btn input:hover, #send_btn input:hover {
    background-color: #ffffff;
    color: var(--red);
    font-weight: 500;
    transition: 0.3s;
  }
  #back_btn input {
    height: 30px;
    font-family: "M PLUS 1", serif;
    font-optical-sizing: auto;
    font-style: normal;
    border: none;
    color: #000000;
    font-weight: 400;
    font-size: 1.25rem;
    cursor: pointer;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto 0;
    padding: 0 20px 0 30px;
    background: url("../images/contact/icon_form_back_black.svg") no-repeat left center;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
  }
  #back_btn input:hover {
    color: var(--red);
  }
  #thanks_msg {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
  }
  #thanks_msg .thanks_txt {
    margin: 0 0 2em;
  }
  #thanks_msg .thanks_note {
    color: #C60E0E;
    font-size: 1rem;
    line-height: 1.875;
  }
  .error_msg_txt p {
    margin: 0 0 20px;
  }
  .error_msg_txt p a {
    color: #666666;
    text-decoration: underline;
  }
  .error_msg_txt p a:hover {
    text-decoration: none;
  }
}

@media screen and (max-width: 767px) {
  #subpage_wrap {
    padding-bottom: 5px;
  }
  .error_msg {
    width: 100%;
    text-align: center;
    border: 2px #d70303 solid;
    color: #d70303;
    font-weight: 500;
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0 auto 30px;
    padding: 10px 0;
  }
  .contact_form {
    width: 100%;
  }
  .contact_form dl {
    width: 100%;
    margin: 0 0 20px;
  }
  .contact_form dl dt {
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin: 0 0 8px;
  }
  .contact_form dl dt p {
    font-size: 0.875rem;
    line-height: 1;
  }
  .contact_form dl dt span {
    height: 23px;
    background: #FFDADC;
    border-radius: 4px;
    color: #EF616A;
    font-weight: 500;
    font-size: 0.8125rem;
    line-height: 22px;
    margin: 0 0 0 10px;
    padding: 0 5px;
  }
  .contact_form dl dd {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
  }
  .contact_form dl dd div {
    width: 100%;
  }
  .contact_form dl dd .radio_wrap {
    width: 100%;
    padding: 5px 0 8px;
  }
  .contact_form dl dd .radio_wrap label {
    flex-shrink: 0;
    cursor: pointer;
  }
  .contact_form dl dd .radio_wrap label input {
    display: none;
  }
  .contact_form dl dd .radio_wrap label span {
    font-family: "M PLUS 1", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
  }
  .contact_form dl dd .radio_wrap label span::before {
    content: "";
    display: block;
    width: 22px;
    height: 22px;
    background: url("../images/contact/radio_off.svg") no-repeat center center;
    background-size: contain;
    margin: 0 5px 0 0;
  }
  .contact_form dl dd .radio_wrap label input:checked + span::before {
    background: url("../images/contact/radio_on.svg") no-repeat center center;
    background-size: contain;
  }
  .contact_form dl dd input[type=text],
  .contact_form dl dd input[type=email],
  .contact_form dl dd input[type=tel],
  .contact_form dl dd input[type=number],
  .contact_form dl dd input[type=password] {
    display: block;
    width: 100%;
    height: 45px;
    outline: 0;
    border-radius: 6px;
    border: 1px #C6C6C6 solid;
    color: #000000;
    font-size: 1rem;
    line-height: normal;
    box-sizing: border-box;
    padding: 0 10px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
  }
  .contact_form dl dd input::placeholder {
    color: #BBBBBB;
  }
  .contact_form dl dd select {
    width: 100%;
    height: 45px;
    background: url("../images/contact/arrow_dropdown.png") no-repeat right 17px center;
    background-size: 10px 5px;
    cursor: pointer;
    color: #333333;
    font-size: 1rem;
    line-height: 1;
    outline: 0;
    border-radius: 6px;
    border: 1px #C6C6C6 solid;
    box-sizing: border-box;
    padding: 0 0 0 10px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
  }
  .contact_form dl dd textarea {
    display: block;
    width: 100%;
    height: 200px;
    outline: 0;
    border-radius: 6px;
    border: 1px #C6C6C6 solid;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 1rem;
    line-height: 1.5em;
    box-sizing: border-box;
    padding: 10px 10px;
    overflow: auto;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
  }
  .contact_form dl dd .error_txt {
    width: 100%;
    color: #d70303;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1;
    margin: 5px 0 0;
  }
  .contact_form dl dd .input_2col:first-of-type {
    margin: 0 0 12px;
  }
  .contact_form dl dd .text_unit {
    width: calc(50% - 10px);
    display: flex;
    align-items: center;
    font-family: "M PLUS 1", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    font-size: 0.875rem;
    line-height: 1.5;
    letter-spacing: 0.5px;
  }
  .contact_form hr {
    width: 100%;
    height: 1px;
    background: #CCCCCC;
    border: none;
    margin: 30px 0 20px;
  }
  .input_text_small, .select_small {
    width: 300px !important;
  }
  .greyText {
    width: 100%;
    flex-shrink: 0;
    color: #666666;
    font-size: 0.8125rem !important;
    line-height: 1.5 !important;
    margin: 8px 0 2px;
  }
  .contact_privacy {
    width: 100%;
    margin: 20px 0 25px;
  }
  .contact_privacy h3 {
    font-weight: 400;
    margin: 0 0 5px;
  }
  .contact_privacy p {
    color: #666666;
    font-size: 0.8125rem;
    line-height: 1.8em;
  }
  .contact_privacy p a {
    color: #666666;
    text-decoration: underline;
  }
  .contact_privacy p a:hover {
    text-decoration: none;
  }
  .recaptcha_txt {
    text-align: center;
    margin: 15px 0 0;
    color: #666666;
    font-size: 0.75rem;
    line-height: 1.8;
  }
  .recaptcha_txt a {
    color: #666666;
    text-decoration: underline;
  }
  .recaptcha_txt a:hover {
    text-decoration: none;
  }
  .btn_wrap {
    width: 100%;
    margin: 30px 0 0;
    position: relative;
  }
  #confirm_btn, #send_btn {
    width: 300px;
    height: 60px;
    margin: 0 auto;
  }
  #confirm_btn input, #send_btn input {
    font-family: "M PLUS 1", serif;
    font-optical-sizing: auto;
    font-style: normal;
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 100px;
    background-color: var(--red);
    border: 2px var(--red) solid;
    text-align: center;
    color: #FFFFFF;
    font-weight: 400;
    font-size: 1rem;
    line-height: 59px;
    cursor: pointer;
    transition: 0.3s;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
  }
  #confirm_btn input:hover, #send_btn input:hover {
    background-color: #ffffff;
    color: var(--red);
    font-weight: 500;
    transition: 0.3s;
  }
  #back_btn {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0 0;
  }
  #back_btn input {
    height: 30px;
    font-family: "M PLUS 1", serif;
    font-optical-sizing: auto;
    font-style: normal;
    border: none;
    color: #000000;
    font-weight: 400;
    font-size: 1rem;
    cursor: pointer;
    margin: auto 0;
    padding: 0 20px 0 25px;
    background: url("../images/contact/icon_form_back_black.svg") no-repeat left center;
    background-size: 9px 16px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
  }
  #back_btn input:hover {
    color: var(--red);
  }
  #thanks_msg {
    width: 92%;
    margin: 0 auto;
  }
  #thanks_msg .thanks_txt {
    margin: 0 0 1em;
  }
  #thanks_msg .thanks_note {
    color: #C60E0E;
    font-size: 0.84375rem;
    line-height: 1.714;
  }
  .error_msg_txt {
    width: 92%;
    margin: 0 auto;
  }
  .error_msg_txt p {
    margin: 0 0 20px;
  }
  .error_msg_txt p a {
    color: #666666;
    text-decoration: underline;
  }
  .error_msg_txt p a:hover {
    text-decoration: none;
  }
}


/*----------------------------------------
お問い合わせ：Contact Form 7
----------------------------------------*/
.wpcf7-form-control-wrap {
  flex-grow: 1;
}
.wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
}
.wpcf7-list-item {
  margin: 0;
}
.wpcf7-not-valid-tip {
  color: var(--red);
  margin: 3px 0 0;
}
#autozip {
  display: none !important;
}

@media screen and (min-width: 768px) {
  .wpcf7-radio {
    column-gap: 50px;
    row-gap: 15px;
  }
}

@media screen and (max-width: 767px) {
  .wpcf7-radio {
    column-gap: 35px;
    row-gap: 15px;
  }
  .units .wpcf7-form-control-wrap {
    max-width: 50%;
  }
}

