
.form_sec{
    width: 1200px;
    margin: 0 auto;
    padding: 100px 0;
}
/* form-list */
.form-list {
    margin-top: 60px;
    display: flex;
    justify-content: space-between;
}
.form-list > li {
    position: relative;
    flex-basis: calc(100% / 3 - 10px);
    height: 50px;
    line-height: 50px;
    border-bottom: solid 2px #999;
    text-align: center;
    font-size: 1.6rem;
    font-weight: bold;
    opacity: 0.5;
}
.form-list > li > span {
    padding-right: 10px;
    font-family: "Archivo Black", sans-serif;
    font-size: 2.4rem;
    font-weight: bold;
}
.form-list--current {
    opacity: 1 !important;
    color: rgba(0, 155, 74, 1);
    border-bottom: solid 2px rgba(0, 155, 74, 1) !important;
}
.form_sec--ttl{
    font-weight: bold;
    font-size: 3.2rem;
    padding-top: 60px;
    padding-bottom: 40px;
}

/* form-paragraph */
.form-paragraph {
    margin-top: 40px;
    text-align: left;
}

/* form-paragraph2 */
.form-paragraph2 {
    margin-top: 10px;
    text-align: left;
}

/* form-paragraph3 */
.form-paragraph3 {
    margin-top: 20px;
    text-align: left;
}

/* form-box */
/* .form-box {
    margin-top: 60px;
} */

/* form-list2 */
.form-list2 {
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
}
.form-list2 > dt {
    font-size: 1.6rem;
    width: 300px;
    border-top: solid 1px rgba(255, 103, 51, 1);
}
.form-info {
    display: flex;
    align-items: center;
}
.form-info_ttl{
    color: rgba(255, 103, 51, 1);
    font-size: 1.6rem;
    font-weight: bold;
}
.must{
    background: #FAEDE6;
    border-radius: 20px;
    /* width: 44px; */
    text-align: center;
    border: 1px solid rgba(255, 103, 51, 1);
    position: absolute;
    right: 20px;
}
.must span{
    font-size: 1.2rem;
    color: rgba(255, 103, 51, 1);
    font-weight: bold;
    display: block;
    padding: 0 10px;
}
.form-list2 > dt > span {
    display: inline-block;
    margin-left: 10px;
    color: #f30202;
    font-weight: normal;
}
.form-list2 > dd {
    width: 900px;
}
.form-list2--align-start {
    align-items: start;
}

/* form-input-text */
.form-input-text {
    display: inline-block;
    padding: 0 15px;
    height: 44px;
    width: 100%;
    border-radius: 8px;
    border: solid 1px #B3B3B3;
    background-color: #fff;
    font-size: 1.6rem;
    line-height: 44px;
    text-align: left;
}
.form-input-text::placeholder {
    color: #999;
}
.mw_wp_form .error{
    border-color: #f30202;
    background-color: #f9eeef;
}

/* form-box2 */
/* .form-box2 {
    display: flex;
    gap: 0 16px;
    border-top: solid 1px #B3B3B3;
    padding: 16px 20px;
    height: 77px;
    align-items: center;
    position: relative;
}
.form-box2__left {
   width: 300px;
}
.form-box2__right {
    width: 300px; */
}

/* form-box3 */
.form-box3 {
    display: flex;
    justify-content: space-between;
}
.form-box3__left {
    position: relative;
    flex-basis: calc(100% / 2 - 15px);
}
.form-box3__left::after {
    position: absolute;
    top: 50%;
    right: -22px;
    display: block;
    content: "";
    width: 15px;
    height: 1px;
    border: solid 1px #000;
    transform: translateY(-50%);
}
.form-box3__right {
    flex-basis: calc(100% / 2 - 15px);
}

/* form-select */
.form-select {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    border-radius: 8px;
    font-size: 1.6rem;
    line-height: 44px;
    padding: 0 20px;
    height: 44px;
    width: 180px;
    position: relative;
    /* background: #fff url("../../img/inquiry/form/icon-arrow.png") no-repeat right 25px center / 16px auto */
}
.form-select::-ms-expand {
    display: none;
}
.form-select:invalid { 
    color: #999;
}
.form-select--error {
    border-color: #f30202;
    background-color: #f9eeef;
}

/* form-textarea */
.form-textarea {
    display: inline-block;
    padding: 10px 20px;
    height: 200px;
    width: 600px;
    border-radius: 6px;
    border: solid 1px #B3B3B3;
    background-color: #fff;
    font-size: 1.6rem;
}
.form-textarea::placeholder {
    color: #999;
}
.form-textarea--error {
    border-color: #f30202;
    background-color: #f9eeef;
}

/* form-box4 */
.form-box4 {
    width: calc(50% - 10px);
}

/* form-box5 */
.form-box5 {
    margin-top: 50px;
    margin-bottom: 120px;
}

/* form-list3 */
.form-list3 {
    width: 83%;
}
.form-list3 > dt {
    font-size: 2.4rem;
    font-weight: bold;
}
.form-list3 > dd {
    margin-top: 20px;
}

/* form-link-list */
.form-link-list {
    margin-top: 30px;
}
.form-link-list > li {
    margin-top: 20px;
}

/* form-link-list2 */
.form-link-list2 {
    margin-top: 80px;
}
.form-link-list2 > li {
    margin-top: 20px;
    text-align: center;
}

/* form-link-list3 */
.form-link-list3 {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    flex-direction: row-reverse;
}
.form-link-list3 > li {
    margin: 0 10px;
}

/* form-link */
.form-link {
    position: relative;
    padding-right: 20px;
    font-size: 1.8rem;
    color: #007fff;
}
.form-link:hover {
    opacity: 0.6;
}
.form-link::after {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    display: block;
    content: "";
    width: 12px;
    height: 12px;
    border-right: 2px solid #007fff;
    border-bottom: 2px solid #007fff;
}

/* form-button */
.form-button {
    position: relative;
    display: block;
    height: 80px;
    line-height: 80px;
    width: 430px;
    text-align: center;
    font-size: 2.4rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(to right, #007fff, #1c98ff);
}
.form-button:hover {
    opacity: 0.9;
}
.form-button::after {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    display: block;
    content: "";
    width: 12px;
    height: 12px;
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

/* form-button2 */
.form-button2 {
    position: relative;
    display: block;
    height: 80px;
    line-height: 80px;
    width: 430px;
    text-align: center;
    font-size: 2.4rem;
    font-weight: bold;
    color: #000;
    border: 1px solid #007fff;
    background-color: #fff;
}
.form-button2:hover {
	color: #38a4ff;
}
.form-button2::after {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
    display: block;
    content: "";
    width: 12px;
    height: 12px;
    border-left: 2px solid #007fff;
    border-top: 2px solid #007fff;
}
.form-button2--small {
    height: 60px;
    line-height: 60px;
    font-size: 2rem;
}

/* form-radio */
.form-radio {
    margin-right: 50px;
    display: inline-block;
}
.form-radio input {
    position: absolute;
    white-space: nowrap;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    overflow: hidden;
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
}
.form-radio label {
    position: relative;
    cursor: pointer;
    padding-left: 50px;
    font-size: 2rem;
}
.form-radio label::before, .form-radio label::after {
    content: "";
    display: block; 
    border-radius: 50%;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
}
.form-radio label::before {
    background-color: #fff;
    border: 1px solid #007fff;
    border-radius: 50%;
    width: 30px;
    height: 30px;
}
.form-radio label::after {
    background-color: #007fff;
    border-radius: 50%;
    opacity: 0;
    width: 14px;
    height: 14px;
    left: 8px
}
.form-radio input:checked + label::after {
    opacity: 1;
}

/* form-list-error */
.form-list-error {
    width: 890px;
    margin-left: auto;
    margin-right: auto;
}
.form-list-error > li {
    position: relative;
    padding-left: 1.5rem;
}
.form-list-error > li::after {
    position: absolute;
    left: 0;
    top: 0.75rem;
    display: block;
    content: "繝ｻ";
    width: 10px;
    height: 10px;
    line-height: 10px;
}

/* form-text */
.form-text {
    font-size: 1.8rem;
}

/* form-paragraph4 */
.form-paragraph4 {
    margin-top: 80px;
    text-align: center;
    font-size: 1.6rem;
}

/* form-heading */
.form-heading {
    text-align: center;
    font-size: 3.2rem;
    font-weight: bold;
}

@media (max-width: 767px) {

    /* form-list */
    .form-list {
        margin-top: 20px;
    }
    .form-list > li {
        flex-basis: calc(100% / 3 - 5px);
        /* height: 30px;
        line-height: 1.em; */
        font-size: 1.4rem;
    }
    .form-list > li > span {
        line-height: 1em;
        bottom: 5px;
        transform: none;
    }

    /* form-paragraph */
    .form-paragraph {
        margin-top: 30px;
    }

    /* form-box */
    .form-box {
        margin-top: 20px;
    }

    /* form-list2 */
    .form-list2 {
        display: block;
        /* margin-bottom: 30px; */
    }
    .form-list2 > dt {
        margin-bottom: 10px;
        padding: 0;
        font-size: 1.4rem;
        flex-basis: 100%;
    }
    .form-list2 > dt > span {
        margin-left: 5px;
    }
    .form-list2 > dd {
        padding: 0;
        /* margin-bottom: 30px; */
        flex-basis: 100%;
    }

    /* form-input-text */
    .form-input-text {
        padding: 0 15px;
        height: 45px;
        font-size: 1.4rem;
    }

    /* form-box2 */
    .form-box2__left {
        flex-basis: calc(100% / 2 - 7px);
    }
    .form-box2__right {
        flex-basis: calc(100% / 2 - 7px);
    }

    /* form-box3 */
    .form-box3__left {
        flex-basis: calc(100% / 2 - 7px);
    }
    .form-box3__left::after {
        right: -11px;
        width: 8px;
    }
    .form-box3__right {
        flex-basis: calc(100% / 2 - 7px);
    }

    /* form-select */
    .form-select {
        border-radius: 8px;
        font-size: 1.4rem;
        line-height: 45px;
        padding: 0 15px;
        height: 45px;
    }

    /* form-textarea */
    .form-textarea {
        padding: 10px 15px;
        height: 200px;
        border-radius: 3px;
        font-size: 1.4rem;
    }

    /* form-box4 */
    .form-box4 {
        width: 100%;
    }

    /* form-box5 */
    .form-box5 {
        margin-top: 50px;
        margin-bottom: 60px;
    }

    /* form-list3 */
    .form-list3 {
        width: 100%;
    }
    .form-list3 > dt {
        font-size: 1.6rem;
    }
    .form-list3 > dd {
        margin-top: 10px;
    }

    /* form-link-list */
    .form-link-list {
        margin-top: 20px;
    }
    .form-link-list > li {
        margin-top: 10px;
        text-align: center;
    }

    /* form-link-list2 */
    .form-link-list2 {
        margin-top: 40px;
    }
    .form-link-list2 > li {
        margin-top: 20px;
    }

    /* form-link-list3 */
    .form-link-list3 {
        display: block;
        margin-top: 30px;
    }
    .form-link-list3 > li {
        display: block;
        margin: 20px 0 0 0;
    }

    /* form-link */
    .form-link {
        font-size: 1.6rem;
    }
    .form-link::after {
        width: 8px;
        height: 8px;
    }

    /* form-button */
    .form-button {
        display: block;
        margin: 0 auto;
        height: 65px;
        line-height: 65px;
        width: 295px;
        font-size: 1.8rem;
    }
    .form-button::after {
        right: 20px;
        width: 8px;
        height: 8px;
    }

    /* form-button2 */
    .form-button2 {
        display: block;
        margin: 0 auto;
        height: 65px;
        line-height: 65px;
        width: 295px;
        font-size: 1.8rem;
    }
    .form-button2::after {
        right: 20px;
        width: 8px;
        height: 8px;
    }
    .form-button2--small {
        height: 45px;
        line-height: 45px;
        font-size: 1.4rem;
    }

    /* form-radio */
    .form-radio {
        margin-right: 35px;
    }
    .form-radio label {
        padding-left: 35px;
        font-size: 1.6rem;
    }
    .form-radio label::before {
        width: 26px;
        height: 26px;
    }
    .form-radio label::after {
        left: 6px
    }

    /* form-list-error */
    .form-list-error {
        margin-top: 30px;
        width: 100%;
    }

    /* form-text */
    .form-text {
        font-size: 1.4rem;
    }

    /* form-paragraph4 */
    .form-paragraph4 {
        margin-top: 40px;
        text-align: left;
        font-size: 1.4rem;
    }

    /* form-heading */
    .form-heading {
        font-size: 2rem;
    }

}

select {
    border: solid 1px #B3B3B3;
    border-radius: 8px;
    height: 44px;
    line-height: 44px;
    text-align: center;
    margin-right: 10px;
}
.select-zero{
    color: #999999;
}
.year-ttl{
    margin-right: 10px;
}
.year{
    width: 117px;
}
.month{
    width: 64px;
    margin-left: 10px;
}
.day{
    width: 64px;
    margin-left: 10px;
    margin-right: 0;
}

.radio_btn .radio_btn_item + span {
    padding-left: 30px;
    font-size: 1.6rem;
    display: inline-block;
    position: relative;
}
.radio_btn .radio_btn_item:checked + span::after {
    opacity: 1;
}
.radio_btn .radio_btn_item + span::after {
    background-color:#D9D9D9;
    border-radius: 50%;
    opacity: 0;
    width: 14px;
    height: 14px;
    left: 4px;
    top: 22%;
}
.radio_btn .radio_btn_item + span::before {
    left: 0;
    top: 0;
    width: 22px;
    height: 22px;
    border: 1px solid #D9D9D9;
}
.radio_btn .radio_btn_item + span::after, .radio_btn .radio_btn_item + span::before {
    border-radius: 50%;
    content: '';
    display: block;
    position: absolute;
}
.states{
    width: 180px;
}
.bdr_grn{
    border-top: 1px solid rgba(0, 155, 74, 1) !important;
}
.bdr_grn p{
    color: rgba(0, 155, 74, 1) !important;;
}
.form-box2__max{
    width: 860px
}
.mwform-tel-field input[type="text"], .mwform-zip-field input[type="text"] {
    display: inline-block;
    /* width: auto; */
    width: 10%;
}
.form-box6{
    border-top: solid 1px #B3B3B3;
}
/* .form-txt{
    padding: 21px 16px;
} */
/* .pdt100{
    padding-top: 100px;
} */
.form_bdb > dt{
    border-bottom: solid 1px rgba(255, 103, 51, 1);
    padding-bottom: 90px;
}

/* .form-box7{
    border-top: solid 1px #B3B3B3;
    border-bottom: solid 1px #B3B3B3;
    padding-bottom: 4px;
} */
.form-last__or{
    border-bottom: solid 1px rgba(255, 103, 51, 1);
}
.form-last__gr{
    border-bottom: solid 1px #B3B3B3;
    height: 78px;
}
.form-last__gr2{
    border-bottom: solid 1px #B3B3B3;
}
.form-last__ge{
    border-bottom: 1px solid #0A7A00 !important
}
.pd-max{
    padding-bottom: 86px;
}
.form-pra{
    padding-top: 60px;
    text-align: center;
    color: rgba(0, 155, 74, 1);
}
.form-pra a{
    text-decoration: underline;
}
.pd60{
    padding-top: 60px !important;
}


@media (max-width: 767px) {
    .form_sec{
        width: 90%;
        padding: 60px 0;
        font-size: 1.4rem;
    }
    .form-list{
        margin-top: 60px;
    }
    .form_sec--ttl{
        font-size: 1.8rem;
    }
    .form-list > li{
        height: auto;
        /* padding-bottom: 10px; */
    }
    .form-info{
        padding: 16px 20px;
    }
    .form-info_ttl{
        font-size: 1.4rem;
    }
    .form-list > li > span{
        display: block;
    }
    .form-list2 > dt{
        width: 100%;
        margin-bottom: 0;
        padding-bottom: 0;
    }
    .form-list2 > dd {
        width: 100%;
    }
    .form-textarea{
        width: 100%;
    }
    .year{
        width: 23%;
    }
    .month{
        width: 20%;
    }
    .day{
        width: 20%;
    }
    .form-last__gr{
        border-top: none !important
    }
    .form-last__ge,{
        border-bottom: none !important
    }
    .form_bdb > dt{
        border-bottom: none !important
    }
    .sp_blk{
        display: block !important;
    }
    .mwform-tel-field{
        display: flex;
        width: 100%;
        align-items: center;
        gap: 0 10px;
    }
    .mwform-tel-field input[type="text"], .mwform-zip-field input[type="text"]{
        width: 30%;
        padding: 0 4px;
    }
}


/* form - select */
    select {
      background-color: transparent;
      color: #afafaf;
      padding-right: 1.5em;
      position: relative;
      z-index: 2;
      cursor: pointer;
    }
    select:focus,
    .select-option select {
      color: #272727;
    }
    select::-ms-expand {
        display: none;
    }
    .select-field .wpcf7-form-control-wrap {
      background-color: #fff;
      display: inline-block;
      position: relative;
    }
    .select-field .wpcf7-form-control-wrap::after {
      border-top: 6px solid #666;
      border-right: 4px solid transparent;
      border-left: 4px solid transparent;
      content: '';
      display: block;
      position: absolute;
      top: 43%;
      right: .7em;
      z-index: 1;
    }

    /* .wpcf7-not-valid-tip{
        position: absolute;
        right: -150px;
        top: -4px;
    }
 */

    /* 初期値（value=""）の時だけグレー */
.form-input-text:invalid {
  color: #999;
}

/* 選択後は黒 */
.form-input-text {
  color: #000;
}


.form-input-text::placeholder {
  color: #999; /* 初期文字色 */
}

.form-input-text {
  color: #000; /* 入力した文字の色 */
}
.wpcf7-select {
  color: #000; /* 選択後は黒 */
}
/* select.wpcf7-form-control.wpcf7-select {
    padding: 0px 16px;
} */
.brb-pd{
    border-bottom: 1px solid #0A7A00 !important;
    padding-bottom: 92px;
}
.form_list{
    margin-top: 60px;
    font-size: 1.2rem;
}
.form_list li span{
    font-size: 6px;
    vertical-align: middle;
    padding-right: 6px;
}


@media (max-width: 767px) {
    .form_list li{
        padding-left: 1em;
        text-indent: -1em;
    }

}

.form_box--flex{
    display: flex;
    gap: 0 16px;
}
.form_box--flex div{
    width: 300px;
}
.wpcf7-spinner{
    display: none;
    height: 0 !important;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner{
    color: rgba(0, 155, 74, 1);
    display: block;
    padding: 20px 38px 20px 20px;
    position: relative;
    text-align: center;
    width: 384px;
    font-size: 2rem;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner:hover{
    background:  rgba(0, 155, 74, 1);
    color: #fff;
    border-radius: 16px;
}
.rec_link{
    position: relative;
}
.rec_link:after{
    content: " ";
    display: inline-block;
    width: 8px;
    height: 11px;
    background: url(../img/arrow.svg) no-repeat center bottom;
    background-size: contain;
    vertical-align: baseline;
    z-index: 1;
    position: absolute;
    right: 20px;
    top: 32px;
}


.form-contents{
    margin-top: 60px;
}
.form-box{
    width: 300px;
}



/* cf7全体をflexで横並び */
.cf7 {
  display: flex;
  align-items: stretch; /* dtとddの高さを揃える */
  justify-content: space-between;
}

/* dtとddの縦中央揃え */
.cf7 dt,
.cf7 dd {
  display: flex;
  align-items: center;  /* 縦中央 */
  box-sizing: border-box;
}

/* dtのデザイン */
.cf7 dt {
  width: 300px;
  padding: 16px 20px;
  color: rgba(0, 155, 74, 1);
  border-top: 1px solid #0A7A00;
  position: relative;
}

/* ddのデザイン */
.cf7 dd {
  width: calc(100% - 300px);
  padding: 16px 20px;
  border-top: 1px solid #B3B3B3;
}

.form-contents .cf7:nth-of-type(1) dt,
.form-contents .cf7:nth-of-type(2) dt,
.form-contents .cf7:nth-of-type(10) dt,
.form-contents .cf7:nth-of-type(11) dt,
.form-contents .cf7:nth-of-type(12) dt {
  border-top: 1px solid rgba(255, 103, 51, 1);
}

.form-contents .cf7:last-of-type dd {
  border-bottom: 1px solid #B3B3B3;
}

.form_ar{
    position: relative;
}
.form_ar:after{
    content: " ";
    display: inline-block;
    width: 8px;
    height: 11px;
    background: url(../img/form/arrow.svg) no-repeat center bottom;
    background-size: contain;
    vertical-align: baseline;
    z-index: 2;
    position: absolute;
    right: 20px;
    top: 16px;
}
.prefectures select{
    width: 180px;
}

.phone_list{
    display: flex;
    gap: 0 48px;
}

.phone_list li{
    width: 96px;
    position: relative;
}
.phone_list li:after{
    content: " ";
    display: inline-block;
    width: 16px;
    height: 11px;
    background: url(../img/form/tel.svg) no-repeat center bottom;
    background-size: contain;
    vertical-align: baseline;
    z-index: 2;
    position: absolute;
    right: -30px;
    top: 14px;
}
.phone_list li:last-child::after {
  display: none;
}

 




@media (max-width: 767px) {
    .cf7 dt{
        width: 100%;
    }
    .cf7{
        display: block;
    }
    .form_box--flex{
        justify-content: space-between;
        gap: 0 20px;
    }
    .form_box--flex div{
        width: 50%;
    }
    .form-box2__max{
        width: 100%;
    }
    .cf7 dd{
        width: 100%;
    }
    .form-info{
        padding: 0;
    }
    input.wpcf7-form-control.wpcf7-submit.has-spinner{
        font-size: 1.6rem;
        width: 100%;
        padding: 16px 20px;
    }
    .rec_link:after{
        top: 26px;
    }
    .form-box{
        margin-top: 0;
        width: 100%;
    }
    .form-contents{
        width: 100%;
    }
    
}



input[type="radio"] {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}

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

span.wpcf7-list-item-label {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  margin-right: 20px;
}

span.wpcf7-list-item-label::before {
  display: block;
  content: "";
  border-radius: 50%;
  border: 1px solid #d9d9d9;;
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

span.wpcf7-list-item-label::after {
  display: block;
  position: absolute;
  content: "";
  border-radius: 50%;
  width: 12px;
  height: 12px;
  background-color: #009b4a;
  left: 4px;
  top: 50%;
  transform: translateY(-50%);
  display: none;
}

input[type="radio"]:checked + span.wpcf7-list-item-label::after {
  display: block;
}

.form_year{
    display: flex;
    align-items: center;
    width: 400px;
}
.form_year--02{
    display: flex;
    align-items: center;
}


.form_box--flex li{
    width: 33%;
}

.bdt-o{
    border-top: 1px solid rgba(255, 103, 51, 1) !important;
}

.bdb-o{
    border-bottom: 1px solid rgba(255, 103, 51, 1) !important;
}

.bdb-g{
    border-bottom: 1px solid #0A7A00;
}
.bdb-g{
    border-bottom: 1px solid #B3B3B3;
}

.form_bdb > dt.bdb-g {
    border-bottom: 1px solid #0A7A00;
}
.radio{
    width: 100% !important;
}

/* ===== .form_year ===== */

/* 1番目 → 117px */
.form_year li:nth-child(1),
.form_year li:nth-child(1) select {
  width: 117px;
}

/* 2・4・6番目 → 16px */
.form_year li:nth-child(2),
.form_year li:nth-child(2) select,
.form_year li:nth-child(4),
.form_year li:nth-child(4) select,
.form_year li:nth-child(6),
.form_year li:nth-child(6) select {
  width: 16px;
  margin: 0 16px;
}

/* 3・5番目 → 64px */
.form_year li:nth-child(3),
.form_year li:nth-child(3) select,
.form_year li:nth-child(5),
.form_year li:nth-child(5) select {
  width: 64px;
  padding: 0;
}


/* ===== .form_year--02 ===== */

/* 1番目 → 117px */
.form_year--02 li:nth-child(1),
.form_year--02 li:nth-child(1) select {
  width: 117px;
}

/* 2・4・6番目 → 16px */
.form_year--02 li:nth-child(2),
.form_year--02 li:nth-child(2) select,
.form_year--02 li:nth-child(4),
.form_year--02 li:nth-child(4) select,
.form_year--02 li:nth-child(6),
.form_year--02 li:nth-child(6) select {
  width: 16px;
  margin: 0 16px;
}

/* 3・5番目 → 64px */
.form_year--02 li:nth-child(3),
.form_year--02 li:nth-child(3) select,
.form_year--02 li:nth-child(5),
.form_year--02 li:nth-child(5) select {
  width: 64px;
padding: 0;
}

.form_year--02 li p{
    text-align: center;
}

.form_year li select,
.form_year--02 li select{
    text-align: center;
}
.wpcf7-list-item{
    margin: 0 !important;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-align: center;
  text-align-last: center; /* 選択されている文字も中央寄せ */
}
select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required {
    width: 300px;
}
.wpcf7-select {
  text-align: left;      /* 文字を左寄せ */
  text-align-last: left; /* select内の選択中の文字も左寄せ */
    padding-left: 18px; 
}
/* 2個目と3個目のselectを中央寄せ */
.form_year li:nth-child(3) select,
.form_year li:nth-child(5) select {
  text-align: center;      /* optionリストの文字揃え */
  text-align-last: center; /* 選択中の文字も中央揃え */
}
.form_year--02 li:nth-child(3) select {
  text-align: center;
  text-align-last: center;
}
.form_year select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required {
      width: 117px;
}
.form_year li:nth-child(3), .form_year li:nth-child(3) select, .form_year li:nth-child(5), .form_year li:nth-child(5) select{
        width: 64px !important;
}
.form_thankyou{
    margin-top: 100px;
}
.form_thankyou a{
    pointer-events: none;
}
@media (max-width: 767px) {
    .form_year{
        width: 100%;
    }
    .form_year li:nth-child(2), .form_year li:nth-child(2) select, .form_year li:nth-child(4), .form_year li:nth-child(4) select, .form_year li:nth-child(6), .form_year li:nth-child(6) select{
        margin: 0 7px;
    }
    .form_year li:nth-child(1), .form_year li:nth-child(1) select{
        width: 105px;
    }
    .form_year--02 li:nth-child(1), .form_year--02 li:nth-child(1) select{
        width: 105px;
    }
    .wpcf7-list-item.last {
        margin: 0 !important;
        padding-top: 20px;
    }
    select.wpcf7-form-control.wpcf7-select.wpcf7-validates-as-required{
        width: 100% !important;
    }
    .form_thankyou{
    margin-top: 60px;
}

    .form_thankyou a{
        pointer-events: inherit;
    }


}

