@charset "UTF-8";
@media screen and (min-width: 768px) {
  /* お問い合わせ contact.html */
  /************/
  #contact {
    /* 共通ボタン */
    /* 確認画面 */
  }
  #contact .contents {
    width: 1160px;
    padding-bottom: 160px;
    margin: auto;
    position: relative;
  }
  #contact .contents .mark_must {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: #dd0346;
    margin-right: 6px;
    vertical-align: middle;
  }
  #contact .contents .mfp_err {
    background: transparent;
    padding: 0;
    margin: 0 0 5px;
    color: #dd0346;
  }
  #contact .contents .problem {
    border-color: rgba(221, 3, 70, 0.3) !important;
  }
  #contact .contents .mfp_buttons {
    padding: 0;
  }
  #contact form#mailformpro {
    text-align: center;
    margin: 60px 0 0;
    padding: 0;
    position: relative;
  }
  #contact form#mailformpro .must_announce {
    position: absolute;
    inset: -90px 0 auto 0;
    text-align: left;
  }
  #contact form#mailformpro .mailform {
    display: inline-flex;
    flex-direction: column;
    gap: 20px;
    margin: 0 auto 60px;
    text-align: left;
  }
  #contact form#mailformpro .mailform ::placeholder {
    color: #cdd0d3;
    font-weight: 300;
  }
  #contact form#mailformpro .mailform a {
    color: inherit;
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: underline;
  }
  #contact form#mailformpro .mailform a:hover {
    text-decoration: none;
  }
  #contact form#mailformpro .mailform input:not(input[type=checkbox]):not(input[type=radio]) {
    border: 1px solid #d0d6dc;
    box-shadow: none;
    background: #ffffff;
    color: #333333;
    border-radius: 4px;
    font-size: 1.6rem;
    line-height: 1.5;
    padding: 20px 30px;
    font-family: "Noto Sans JP", sans-serif;
    min-width: 400px;
  }
  #contact form#mailformpro .mailform label.mfp_checked:has(input[type=radio]),
  #contact form#mailformpro .mailform label.mfp_not_checked:has(input[type=radio]) {
    border: 1px solid #d0d6dc;
    box-shadow: none;
    background: #ffffff;
    color: #333333;
    border-radius: 4px;
    font-size: 1.6rem;
    line-height: 1.5;
    padding: 20px 23px 20px 52px;
    margin: 0;
    position: relative;
  }
  #contact form#mailformpro .mailform label.mfp_checked:has(input[type=radio]) input[type=radio],
  #contact form#mailformpro .mailform label.mfp_not_checked:has(input[type=radio]) input[type=radio] {
    display: none;
  }
  #contact form#mailformpro .mailform label.mfp_checked:has(input[type=radio])::before,
  #contact form#mailformpro .mailform label.mfp_not_checked:has(input[type=radio])::before {
    content: "";
    opacity: 0.2;
    display: block;
    border: 1px solid #4d5761;
    width: 24px;
    height: 24px;
    box-sizing: border-box;
    border-radius: 100px;
    position: absolute;
    top: calc(50% - 12px);
    left: 15px;
  }
  #contact form#mailformpro .mailform label.mfp_checked:has(input[type=radio]) {
    background: #eff3fb;
  }
  #contact form#mailformpro .mailform label.mfp_checked:has(input[type=radio])::before {
    opacity: 1;
    background: radial-gradient(#4d5761 4px, #ffffff 5px);
    border: 1px solid #4d5761;
  }
  #contact form#mailformpro .mailform label.mfp_checked:has(input[type=checkbox]),
  #contact form#mailformpro .mailform label.mfp_not_checked:has(input[type=checkbox]) {
    border: none;
    box-shadow: none;
    background: transparent;
    color: #333333;
    border-radius: 0;
    font-size: 1.6rem;
    line-height: 1.5;
    padding: 0 0 0 52px;
    margin: 0;
    position: relative;
  }
  #contact form#mailformpro .mailform label.mfp_checked:has(input[type=checkbox]) input[type=checkbox],
  #contact form#mailformpro .mailform label.mfp_not_checked:has(input[type=checkbox]) input[type=checkbox] {
    display: none;
  }
  #contact form#mailformpro .mailform label.mfp_checked:has(input[type=checkbox])::before,
  #contact form#mailformpro .mailform label.mfp_not_checked:has(input[type=checkbox])::before {
    content: "";
    display: block;
    border: 1px solid #d3d6da;
    background: #ffffff;
    width: 32px;
    height: 32px;
    box-sizing: border-box;
    border-radius: 4px;
    position: absolute;
    top: calc(50% - 16px);
    left: 0px;
  }
  #contact form#mailformpro .mailform label.mfp_checked:has(input[type=checkbox])::before {
    background: #4d5761;
    border-color: #4d5761;
  }
  #contact form#mailformpro .mailform label.mfp_checked:has(input[type=checkbox])::after {
    content: "";
    display: block;
    width: 6px;
    height: 10px;
    border-right: 3px solid #ffffff;
    border-bottom: 3px solid #ffffff;
    position: absolute;
    top: calc(50% - 8px);
    left: 12px;
    transform: rotate(45deg);
  }
  #contact form#mailformpro .mailform textarea {
    width: 100% !important;
    min-height: calc(40px + 8em);
    box-sizing: border-box;
    border: 1px solid #d0d6dc;
    box-shadow: none;
    background: #ffffff;
    color: #333333;
    border-radius: 4px;
    font-size: 1.6rem;
    line-height: 1.5;
    padding: 20px 30px;
    font-family: "Noto Sans JP", sans-serif;
  }
  #contact form#mailformpro .mailform > dl {
    display: flex;
    justify-content: space-between;
    gap: 0 70px;
  }
  #contact form#mailformpro .mailform > dl > dt {
    position: relative;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    border: none;
    width: auto;
    padding: 0;
    margin: 20px 0 0;
  }
  #contact form#mailformpro .mailform > dl > dt .mark_must {
    position: absolute;
    top: 0;
    right: -16px;
    margin: 0;
  }
  #contact form#mailformpro .mailform > dl > dd {
    width: 600px;
    padding: 0;
    margin: 0;
    font-size: 1.6rem;
    border: none;
  }
  #contact form#mailformpro .mailform > dl > dd .radiolist {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
  }
  #contact form#mailformpro .mailform .privacy_check {
    width: 600px;
    margin-left: auto;
  }
  #contact .mfp_element_submit, #contact #mfp_button_send {
    background: linear-gradient(to right, #4984d1, #83a9db);
    color: #ffffff;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.3;
    font-family: "Noto Sans JP", sans-serif;
    height: 86px;
    min-width: 280px;
    padding: 0 80px 0 106px;
    border: none;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-shadow: none;
    box-shadow: none;
  }
  #contact .mfp_element_submit::before, #contact #mfp_button_send::before {
    content: "";
    background: url(/common/image/base/link_arw_w.svg) no-repeat center center;
    background-size: 16px 16px;
    width: 58px;
    height: 58px;
    border: 1px solid #f8f8f8;
    box-sizing: border-box;
    border-radius: 100px;
    position: absolute;
    top: calc(50% - 29px);
    left: 14px;
  }
  #contact .mfp_element_submit:hover, #contact #mfp_button_send:hover {
    opacity: 0.8;
  }
  #contact #mfp_button_cancel {
    background: #bbbbbb;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    line-height: 1.3;
    font-family: "Noto Sans JP", sans-serif;
    height: 50px;
    padding: 0 30px 0 60px;
    border: none;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-shadow: none;
    box-shadow: none;
  }
  #contact #mfp_button_cancel::before {
    content: "";
    background: url(/common/image/base/link_arw_w.svg) no-repeat center center;
    background-size: 10px 10px;
    width: 32px;
    height: 32px;
    border: 1px solid #ffffff;
    box-sizing: border-box;
    border-radius: 100px;
    transform: rotate(180deg);
    position: absolute;
    top: calc(50% - 16px);
    left: 16px;
  }
  #contact #mfp_button_cancel:hover {
    opacity: 0.8;
  }
  #contact #mfp_phase_confirm {
    width: 800px;
    margin: 0 auto;
  }
  #contact #mfp_phase_confirm h4 {
    font-size: 2.4rem;
    font-weight: 500;
    margin: 0 0 60px;
    line-height: 1;
    padding: 0;
    letter-spacing: 0.05em;
  }
  #contact #mfp_phase_confirm #mfp_confirm_table {
    border-bottom: 1px solid #d0d6dc;
    width: 100%;
    margin-bottom: 60px;
  }
  #contact #mfp_phase_confirm #mfp_confirm_table tr.mfp_achroma {
    background: rgba(255, 255, 255, 0.5);
  }
  #contact #mfp_phase_confirm #mfp_confirm_table tr.mfp_colored {
    background: transparent;
  }
  #contact #mfp_phase_confirm #mfp_confirm_table tr th {
    border-top: 1px solid #d0d6dc;
    font-size: 1.6rem;
    line-height: 1.5;
    padding: 16px 40px 16px 20px;
  }
  #contact #mfp_phase_confirm #mfp_confirm_table tr td {
    border-top: 1px solid #d0d6dc;
    font-size: 1.6rem;
    line-height: 1.5;
    padding: 16px 20px 16px 20px;
  }
  #contact #mfp_phase_confirm .mfp_buttons {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
  }
  /* お問い合わせ完了 thanks.html */
  /************/
  #thanks .contents {
    width: 800px;
    padding-bottom: 160px;
    margin: auto;
    position: relative;
  }
  #thanks .contents #mfp_thanks {
    padding: 0;
    margin: 0 0 50px;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.2;
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
  }
  #thanks .contents #mfp_thanks strong {
    color: inherit;
    font-size: 3.4rem;
    font-family: "Rubik", sans-serif;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin: 0 0.2em;
  }
  #thanks .contents p + p {
    margin-top: 1em;
  }
  #thanks .contents dl {
    background: #ffffff;
    border-radius: 12px;
    margin: 40px 0 60px;
    padding: 50px;
    text-align: center;
  }
  #thanks .contents dl dt {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 20px;
  }
  #thanks .contents .link_bl {
    text-align: center;
  }
}
