@charset "UTF-8";

/*========= reset ========*/
legend {
    width: 100%;
}
@media (max-width: 767px) {
    legend {
        width: auto;
    }
}
input, textarea, select {
    font-size: 16px;
}
select {
    -webkit-appearance:none;
    -moz-appearance: none;
    appearance: none;
    -webkit-text-fill-color: #000;
    border: none;
}
input:focus,input:focus-visible,
textarea:focus,textarea:focus-visible,
select:focus, select:focus-visible{
    outline: none;
}
button,
input[type="submit"],
input[type="button"] {
  -webkit-appearance: none;
  appearance: none;
}
input[type="number"] {
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
  appearance: textfield;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
:disabled {
  opacity: 1;
}
button:disabled:hover {
    box-shadow: none;
    cursor: default;
}
button:disabled:hover::after {
    border-color: unset;
}

/*========= contact common ========*/

.formArea_wrap input, .formArea_wrap textarea, .formArea_wrap select {
  border:1px solid #D9D9D9 !important;
  padding: 0 1em;
  border-radius: 4px;
  outline: none;
}
.formArea_wrap *::placeholder  {
    color: #D9D9D9;
}
.formArea_wrap input:focus, .formArea_wrap textarea:focus, .formArea_wrap select:focus {
     border-color: #333333 !important;
}

/* input */
.formArea_wrap input[type="text"], .formArea_wrap input[type="email"], .formArea_wrap input[type="tel"] {
  width: 100%;
}

/* textarea */
.formArea_wrap textarea {
  min-height: 300px;
  padding: 1em;
  width: 100%;
}

/* select */
.formArea_wrap select {
  position: relative;
  padding-right: 2em;
  width: 100%;
  z-index: 2;
}
.formArea_dl .select_wrap {
    position: relative;
    display: block;
    /* margin-bottom: 2em; */
}

/* .formArea_dl .select_wrap::before { 
  position: absolute;
  display: block;
  content: "";
   width: 2em;
   height: 100%;
   border-left: 1px solid #D9D9D9;
   right: 0;
   z-index: 1;
} */
.formArea_dl .select_wrap::after {
    content: "";
    position: absolute;
    top: 21px;
    right: 1em;
    transform: translate(50%, -50%) rotate(45deg);
    width: .5em;
    height: .5em;
    border-bottom: 2px solid var(--red);
    border-right: 2px solid var(--red);
}
/* .formArea_dl .select_wrap .wpcf7-not-valid-tip {
    position: absolute;
    bottom: -2em;
    transform: translateY(50%);
} */


@media (max-width: 767px) {
    input, textarea, select {
        font-size: max(16px, 3vw);
    }
    .formArea_dl .select_wrap::before {
        width: 3em;
    }
    .formArea_dl .select_wrap::after {
        right: 1.5em;
    }
    .formArea_wrap textarea {
        resize: none;
    }
}

/* checkbox/radio */
.form_check input{
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}
.form_check .wpcf7-form-control {
    display: flex;
    align-items: center;
    gap: 1.5em;
    flex-wrap: wrap;
}
.form_check .wpcf7-list-item-label {
    display: flex;
    align-items: center;
    gap: 4px;
    position: relative;
    cursor: pointer;
}
.form_check .wpcf7-list-item-label::before {
    content:"";
    display: block;
    width: 1.5em;
    height: 1.5em;
    border: 1px solid #D9D9D9;
    border-radius: 2px;
    margin-right: 4px;
}
.form_check input[type="radio"] + .wpcf7-list-item-label::before {
    border-radius: 50%;
}
.form_check .wpcf7-list-item-label::after {
    content: '';
    display: block;
    position: absolute;
    left: 0.24em;
    top: 50%;
    opacity: 0;
}
.form_check input[type="checkbox"] + .wpcf7-list-item-label::after {
    border-right: 2px solid var(--red);
    border-bottom: 2px solid var(--red);
    width: .5em;
    height: .75em;
    transform: rotate(45deg) translateY(-50%);
    margin-top: -4px;
}
.form_check input[type="radio"] + .wpcf7-list-item-label::after {
    width: 1em;
    height: 1em;
    background-color: var(--red);
    border-radius: 50%;
    margin-top: -0.488em;
}
.form_check input:focus + .wpcf7-list-item-label::before {
    border-color: #333333 !important;
}
.form_check input:checked + .wpcf7-list-item-label::after {
    opacity: 1;
}

/*========= contact layout ========*/

.formArea_wrap {
  background: #fff;
  padding: 3em 6em 6em;
}
 .formArea_wrap .formArea_dl {
  padding: 0 6em 2em 2em;
  border-bottom: 1px solid #D9D9D9;
  justify-content: left;
}
 .formArea_wrap .formArea_dl + dl {
    margin-top: 2em;
 }
.formArea_dl dt {
  position: relative;
  font-weight: bold;
}
.formArea_dl dt .requiredTxt,
.formArea_table .requiredTxt {
  display: inline-block;
  position: absolute;
  right: 0;
  top:.5em;
  background-color: var(--red);
  font-size: .75em;
  padding: .25em 1em;
  color: #FFF;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .pcCol2.gap40 > dt {
      width: calc(31% - 30px);
  }
  .pcCol2.gap40 > dd {
      width: calc(69% - 30px);
  }
  .otherlang .pcCol2.gap40 > dt label {
    width: calc(100% - 4em);
    display: inline-block;
    line-height: 1.5;
  }
}
@media (max-width: 767px) {
    .formArea_wrap {
        padding: 2em;
    }
    .formArea_wrap .gap40 {
        gap: 3.645vw;
    }
     .formArea_wrap .formArea_dl {
        padding: 0 0 2em 0;
    }
    .formArea_dl dt .requiredTxt,
    .formArea_table .requiredTxt {
        right: unset;
        margin-left: 1em;
    }
}
.formArea_dl ul li + li {
    margin-top: .5em;
}
.formArea_dl .select_wrap.your_prefecture {
  max-width: 180px;
}
.formArea_dl .select_wrap.your_wish_office {
  max-width: 260px;
}
.formArea_dl #your_age {
    max-width: 80px;
    margin-right: .5em;
}
.formArea_dl [id^="your_ex_job"] ,
.formArea_dl .select_wrap.your_inquiry_type {
    max-width: 380px;
    margin-right: .5em;
}
.formArea_dl [id^="your_ex_years"]{
    max-width: 80px;
    margin-right: .5em;
    margin-left: .5em;
}
.formArea_dl [id^="your_graduation"] {
    max-width: 180px;
    margin-right: .5em;
}
@media (max-width: 767px) {
    .formArea_dl ul li + li {
        margin-top: 1.5em;
    }
    .formArea_dl .select_wrap.your_prefecture,
    .formArea_dl .select_wrap.your_wish_office,
    .formArea_dl .select_wrap.your_inquiry_type {

        max-width: unset !important;
    }
    .formArea_dl #your_age, .formArea_dl [id^="your_ex_years"] ,.formArea_dl [id^="your_graduation"]{
        max-width: 50%;
    }
    .formArea_dl [id^="your_ex_job"] {
        margin-bottom: 1em;
    }
}

/*========= form privacy ========*/

#privacyWrap {
    padding: 0;
    border: none;
    margin-top: 7em;
}
#privacyWrap .blank_link a {
    color: var(--red);
    width: auto;
    display: inline-block;
    padding-right: 1.75em;
}
#privacyWrap .blank_link a::after {
    width: 1.25em;
    height: 1.25em;
}
#privacyWrap .wpcf7-form-control {
    flex-direction: column;
}
#privacyWrap .wpcf7-list-item-label::before {
    border-width: 3px;
}
@media (max-width: 767px) {
    #privacyWrap {
        margin-top: 3em;
    }
}
/*========= form error ========*/

/* input/textarea */
.formArea_dl .wpcf7-not-valid,
.formArea_table .wpcf7-not-valid {
    border: 2px solid #E60027 !important;
    z-index: 2;
    /* background-color: #FDEFF1; */
}
/* checkbox/radio */
.formArea_dl .wpcf7-form-control.wpcf7-not-valid {
    border-radius: 4px;
}

/* error message*/
.wpcf7-not-valid-tip {
    color: #E60027;
    display: block;
    line-height: 1.2;
    padding: 3px 0;
}

/*========= contact button link ========*/

.formArea_wrap .btn_area {
    width: 356px;
    margin: 3em auto;
}
.formArea_wrap .btn_area button {
    width: 100%;
    border-radius: 8px;
    text-align: left;  
    font-size: 1.15em;
    position: relative;
    background-color: #D9D9D9;
    color: #FFF;
}

.formArea_wrap .btn_area button.active {
    background-color: #FFF;
    border: 1px solid var(--red);
    color: inherit;
}
.formArea_wrap .btn_area button.active::before {
    content: "";
    display: block;
    width: 1.25em;
    height: 1.25em;
    background-color:var(--red);
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
}
.formArea_wrap .btn_area button.active::after{
    right: 1.5em;
}
.formArea_wrap .btn_comfirm .disabled_wrap::after  {
    cursor: not-allowed!important;
    pointer-events: none;
}
.formArea_wrap .btn_comfirm > p:not(.disabled_wrap)::before {
    content: "";
    display: block;
    width: 1.25em;
    height: 1.25em;
    background-color: var(--red);
    position: absolute;
    right: .8em;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    z-index: 2;
    transition: .3s;
}
.formArea_wrap .btn_comfirm > p::after {
    content: "";
    display: block;
    width: 0.5em;
    height: 0.5em;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 1.25em;
    margin: auto;
    border-top: #fff solid 2px;
    border-right: #fff solid 2px;
    transform: rotate(45deg);
    z-index: 4;
    transition: .3s;
}
@media (min-width: 768px) {
    .formArea_wrap .btn_comfirm > p:hover::before {
        background-color: #fff;
    }
    .formArea_wrap .btn_comfirm > p:not(.disabled_wrap):hover::after{
        border-color: var(--red);
    }
    .formArea_wrap .btn_comfirm > p:hover input {
        color: #FFF;
        background-color: var(--red);
    }
}
@media (max-width: 767px) {
    .formArea_wrap .btn_area {
        width: 100%;
    }
}

/*========= month picker 補正 ========*/
.flatpickr-current-month input.cur-year {
    min-height: unset;
}

/*========= 完了ページ ========*/
.form_sent h2 {
    font-weight: bold;
    font-size: 2rem;
}
.form_sent .bg {
    background-color: #fff;
    padding: 2em;
    margin: 2em 0 3em;
}
.form_sent .bg li {
    padding-left: 1em;
    position: relative;
    line-height: 1.6;
    margin-top: 0.8em;
}
.form_sent .bg li::before {
    content: "●";
    font-size: 0.6em;
    position: absolute;
    top: .6em;
    left: 0;
    color: var(--red);
}


/*========= コンタクトフォーム7用：入力 ========*/
.formArea_wrap fieldset {
    border: 0!important;
    padding: 2em 0!important;
}
.formArea_wrap fieldset dt {
    display: flex;
}
.formArea_wrap .btn_comfirm .wpcf7-submit {
    width: 100%;
    border-radius: 8px;
    text-align: left;
    font-size: 1.15em;
    position: relative;
    padding: 1.3em;
    border: 1px solid var(--red) !important;
    color: #333;
    transition: .3s;
}


.formArea_wrap .wpcf7-spinner {
    display: none !important;
}

.formArea_wrap .wpcf7 .wpcf7-submit:disabled,
.formArea_wrap .wpcf7 .wpcf7-submit:disabled:hover {
    cursor: not-allowed;
    background-color: #D9D9D9;
    color: #FFF;
    border: 1px solid #D9D9D9 !important;
}
.formArea_wrap .wpcf7 .your-graduation {
    display: flex;
    align-items: center;
}
.formArea_wrap .wpcf7 .your-graduation input {
    width: 10em;
}
.formArea_wrap .wpcf7 .your-ex-job_wrap > * {
    display: flex;
    align-items: center;
    gap: .5em;
}

.wpcf7-list-item {
    margin-left: 0;
}

/* @media (min-width: 768px) {
    .formArea_wrap .btn_comfirm .wpcf7-submit:hover {
        background-color: var(--red);
        color: #FFF;
    }
} */


/*========= コンタクトフォーム7用：確認 ========*/
#wpcf7cpcnf th {
    padding: 1.5em;
    border-bottom: 1px solid #D9D9D9;
    white-space: nowrap;
}
#wpcf7cpcnf td {
    padding: 1.5em;
    border-bottom: 1px solid #D9D9D9;
}
#wpcf7cpcnf td p {
    overflow-wrap: anywhere;
    word-break: normal;
    line-break: strict;
}
.wpcf7cp-btns {
    display: flex;
    justify-content: center;
}

.wpcf7cp-btns .wpcf7cp-cfm-submit-btn {
    border: 1px solid var(--red);
    font-weight: bold;
    padding: 1em 3em;
    border-radius: 99px;
    transition: .3s;
    font-weight: normal;
    color: #333;
}

.wpcf7cp-btns .wpcf7cp-cfm-edit-btn {
    margin-right: 40px;
    text-decoration: underline;
}

.wpcf7cp-form-hide {
    visibility: hidden !important;
    display: none;
}
div#wpcf7cpcnf {
    position: relative!important;
}

.wpcf7-form-control.wpcf7cp-cfm-edit-btn {
    border: 1px solid #ababab;
    padding: 1em 3em;
    border-radius: 99px;
    text-decoration: none;
    transition: .3s;
    color: #333;
}
.wpcf7-form-control.wpcf7cp-cfm-edit-btn::after {
    content: "する";
    display: inline-block;
}

.wpcf7-form-control.wpcf7-submit.wpcf7cp-cfm-submit-btn::after {
    content: "する";
    display: inline-block;
}

@media (min-width: 768px) {
    .wpcf7-form-control.wpcf7cp-cfm-edit-btn:hover {
        background-color: #ababab;
        color: #fff;
    }
    .wpcf7cp-btns .wpcf7cp-cfm-submit-btn:hover {
        background-color: var(--red);
        color: #fff;
    }
}
@media (max-width: 767px) {
    .wpcf7cp-btns {
        flex-wrap: wrap;
        justify-content: center;
    }
        .wpcf7-form-control.wpcf7cp-cfm-edit-btn {
        order: 2;
        margin-right: 0;
    }
    .wpcf7cp-btns .wpcf7cp-cfm-submit-btn {
        order: 1;
    }
    #wpcf7cpcnf th {
        padding: 1.5em 0 0em;
        border-bottom: 0;
        display: block;
        width: 100%;
    }
    #wpcf7cpcnf td {
        padding: 0em 0em 1.5em;
        width: 100%;
        display: block;
    }
}



.formArea_table {
    border-bottom: 1px solid #D9D9D9;
    margin: 2em 0;
}
.formArea_table th {
    width: 26%;
    padding: 0 0 2em 2em;
    position: relative;
}.formArea_table th > p {
    position: relative;
}
.formArea_table tr:last-child th {
    padding-bottom: 2em;
}
.formArea_table td {
    width: 68.8%;
    padding: 0 0 2em 40px;
    vertical-align: top;
}
.formArea_table td > p {
    display: flex;
    align-items: center;
    gap: .5em;
    line-height: 1.2;
}
.formArea_table td > p br {
    display: none!important;
}
@media (max-width: 767px) {
    .formArea_table th {
        padding: 0 0 3.645vw;
        border-bottom: 0;
        display: block;
        width: 100%;
    }
    .formArea_table tr:last-child th {
        padding-bottom: 3.645vw;
    }
    .formArea_table .th_none th {
        display: none;
    }
    .formArea_table td {
        padding: 0em 0em 1.5em;
        width: 100%;
        display: block;
    }
    .formArea_table td > p {
        flex-wrap: wrap;
        gap: 1em 0.5em;
    }
    .formArea_table td > p .sp_w100 {
        width: 100%!important;
    }
}


.your-ex-job_table .text-set-contactform7 > p {
    align-items: baseline;
    white-space: nowrap;
}
.your-ex-job_table .wpcf7-form-control-wrap {
    display: block!important;
}
.your-ex-job_table .your-ex-job_wrap.year .wpcf7-not-valid-tip {
    max-width: 8em;
}


.customize_error_wrap td > p {
    align-items: baseline;
}
.customize_error_wrap dd > p {
    display: flex;
    align-items: baseline;
    gap: .5em;
}
.customize_error .wpcf7-not-valid-tip {
    font-size: 0;
    width: 0;
    letter-spacing: 0;
}
.customize_error .wpcf7-not-valid-tip:after {
    content: "必須項目を入力してください。";
    font-size: 1.6rem;
    letter-spacing: 0.1em;
    width: 16em;
    color: #E60027;
    display: inline-block;
}
@media (max-width: 767px) {
    .customize_error .wpcf7-not-valid-tip:after {
        font-size: 3.5vw;
    }
}


