@charset "UTF-8";

/* start_Formリセット */

input[type="text"],
input[type="tel"],
input[type="number"],
input[type="email"] {
    -webkit-appearance: none;
    width: 100%;
    padding: 1.5rem;
    border: none;
    border-radius: 0;
    outline: none;
    background: none;
    border: 1px solid #ccc;
    font-size: max(1.6rem, 16px);
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

textarea {
    font-size: max(1.6rem, 16px);
    border-radius: 0;
}

/* start_radio */
input[type=radio] {
    display: none;
}

.radio-label {
    display: block;
    position: relative;
    margin-top: 1rem;
    padding-left: 25px;
}

.radio-label::before,
.radio-label::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
}

.radio-label:before {
    left: 3px;
    width: 12px;
    height: 12px;
    background: #c60b0b;
    border-radius: 50%;
    opacity: 0;
    transform: translateY(-50%);
}

.radio-label:after {
    left: 0;
    width: 18px;
    height: 18px;
    border: 1px solid #ccc;
    border-radius: 50%;
    transform: translateY(-50%);
}

input[type=radio]:checked+.radio-label:before {
    opacity: 1;
}

/* end_radio */

/* start_checkbox */

input[type=checkbox] {
    display: none;
}

.checkbox-label {
    display: block;
    position: relative;
    margin-top: 1rem;
    padding-left: 25px;
}

.checkbox-label::before,
.checkbox-label::after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
}

.checkbox-label:before {
    left: 5px;
    z-index: 1;
    width: 9px;
    height: 6px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    opacity: 0;
    transform: translateY(-70%) rotate(-45deg);
}

.checkbox-label:after {
    left: 0;
    width: 18px;
    height: 18px;
    background: white;
    border: 1px solid #707070;
    transform: translateY(-50%);
}

input[type=checkbox]:checked+.checkbox-label:before {
    opacity: 1;
}

input[type=checkbox]:checked+.checkbox-label:after {
    background: #c60b0b;
}

/* end_checkbox */

textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    resize: none;
    padding: 1.5rem;
    border: 1px solid #ccc;
    outline: none;
    background: transparent;
}

.Form_btn {
    position: relative;
    border: none;
    cursor: pointer;
    outline: none;
    appearance: none;
    width: 40%;
    padding: 1.5rem;
    color: white;
    font-family: 'Jost', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    text-align: center;
    background: #666;
    transition: opacity .3s;
    opacity: 1;
}

.Form_btn[disabled="disabled"] {
    opacity: .3;
    cursor: default;
}

/* end_Formリセット */

.Form-group {
    width: 90%;
    margin: 0 auto;
}

.Form-group:not(:last-of-type) {
    margin-bottom: 8rem;
}

.Form-group:last-of-type {
    margin-bottom: 3rem;
}

.Form-item {
    margin-bottom: 3rem;
}

.Form-item_label {
    position: relative;
    margin-bottom: .5rem;
    padding: 1.5rem;
    font-weight: 400;
    background: #fff6f3;
}

.Form-item_label--mandatory::after {
    content: 'mandatory';
    position: absolute;
    top: 50%;
    right: 2rem;
    padding: .3rem .5rem;
    color: #c60b0b;
    font-size: 1.2rem;
    border: 1px solid #c60b0b;
    transform: translateY(-50%);
}

input[type="email"]:first-child {
    margin-bottom: 1rem;
}

.Request_textarea {
    width: 100%;
    height: 10rem;
}

.input-other_wrap {
    display: flex;
    justify-content: start;
    margin-top: 1rem;
}

.input-other_wrap .checkbox-label,
.input-other_wrap .radio-label {
    margin-top: 0;
}

.input-other_wrap textarea {
    width: 100%;
    height: 6rem;
    margin-left: 1rem;
}

.Form-item_content--date {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin: 0;
}

input.Form_input--date {
    width: 82%;
}

.Form_icn--calendar {
    width: 13%;
    margin: 0;
}

.Form-item_content--number {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.Number_wrap {
    margin-top: 2rem;
}

.Number_wrap:not(:last-of-type) {
    margin-right: 1rem;
}

.Number_label {
    margin-bottom: .5rem;
}

.Form-agree_wrap {
    width: 90%;
    margin: 0 auto 1rem auto;
    padding: 2rem;
    border: 1px solid #c60b0b;
}

.Form-agree_ttl {
    color: #c60b0b;
    font-family: 'Jost', sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
}

.Form-agree_link {
    color: #333;
    text-decoration: underline;
}

.Form_bottom-note {
    width: 90%;
    margin: 0 auto 2rem auto;
}

#recaptcha {
    margin: 0 auto 2rem auto;
    width: 90%;
}

.Form_btn-group {
    display: flex;
    justify-content: center;
    margin-bottom: 4rem;
}

.Form_btn:first-child {
    margin-right: 1rem;
}

.Form_btn::before {
    content: '';
    display: block;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 1.8rem;
    height: 1.8rem;
    background: black;
}

.Form_btn::after {
    content: '';
    display: block;
    position: absolute;
    right: .6rem;
    bottom: .8rem;
    width: .8rem;
    height: .5rem;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
    transform: skewX(30deg);
}

.Form_btn--submit {
    background: #c60b0b;
}

.Form_error {
color: #c60b0b;
}

.Form_error::before {
    content: '!';
    display: inline-block;
    width: 1.4rem;
    height: 1.4rem;
    margin-right: .3rem;
    color: white;
    line-height: 1.4rem;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
    vertical-align: .2rem;
    background: #c60b0b;
    border-radius: 50%;
}

.Mail-magazine_txt-box {
    padding: 1.5rem;
    background: #fff6f3;
}

/*start_datepicker*/
#ui-datepicker-div.ui-datepicker {
    width: auto;
    padding: 4px 4px 0;
}

#ui-datepicker-div.ui-datepicker .ui-datepicker-header {
    background: transparent;
    border: none;
    border-bottom: 1px solid #cdab49;
    padding-bottom: 5px;
}

#ui-datepicker-div.ui-datepicker .ui-datepicker-title,
#ui-datepicker-div.ui-datepicker .ui-datepicker-year,
#ui-datepicker-div.ui-datepicker .ui-datepicker-month {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
}

#ui-datepicker-div.ui-datepicker .ui-datepicker-calendar {
    border-collapse: initial;
    border-spacing: 2px;
}

#ui-datepicker-div.ui-datepicker .ui-datepicker-calendar th span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: normal;
}

#ui-datepicker-div.ui-datepicker .ui-datepicker-calendar thead tr th:first-child span {
    color: #ca3606;
}

#ui-datepicker-div.ui-datepicker .ui-datepicker-calendar tbody tr td:first-child {
    background: #ffeeee;
}

#ui-datepicker-div.ui-datepicker .ui-datepicker-calendar thead tr th:last-child span {
    color: #0066c9;
}

#ui-datepicker-div.ui-datepicker .ui-datepicker-calendar tbody tr td:last-child {
    background: #e5f6fe;
}

#ui-datepicker-div.ui-datepicker .ui-state-default {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    padding: 4px 8px;
    border: 0;
    line-height: normal;
    text-align: center;
    background: transparent;
}

#ui-datepicker-div.ui-datepicker .ui-state-default.ui-state-highlight {
    color: #454545;
}

#ui-datepicker-div.ui-datepicker .ui-state-default.ui-state-active {
  background: #fcf4cf;
  border: 1px solid #ffa300;
  color: #4c4c4c;
}

#ui-datepicker-div.ui-datepicker .ui-datepicker-prev,
#ui-datepicker-div.ui-datepicker .ui-datepicker-next {
  cursor: pointer;
  width: 2.2em;
  height: 2.2em;
}
/*end_datepicker*/

@media screen and (min-width: 769px) {

    input[type="text"] {
        padding: 10px 15px;
    }

    textarea {
        padding: 10px 15px;
    }

    .Common_intro-txt {
        text-align: center;
    }

    .Form-group {
        max-width: 960px;
    }

    .Form-group:not(:last-of-type) {
        margin-bottom: 130px;
    }

    .Form-group:last-of-type {
        margin-bottom: 100px;
    }

    .Form-item {
        display: flex;
        justify-content: start;
        margin-bottom: 5px;
    }

    .Form-item_label {
        width: 32%;
        max-width: 310px;
        margin: 0 1% 0 0;
        padding: 10px 90px 10px 15px;
    }

    .Form-item_content {
        display: flex;
        justify-content: start;
        flex-wrap: wrap;
        align-items: flex-start;
        width: 67%;
        min-width: 500px;
        max-width: 640px;
        margin-bottom: 0;
    }

    .Form-item_label--mandatory::after {
        top: 10px;
        right: 10px;
        transform: none;
    }

    .radio-label {
        display: inline-block;
        margin-right: 20px;
    }

    .checkbox-label {
        display: inline-block;
        margin-right: 15px;
    }

    .input-other_wrap {
        width: 80%;
    }

    .input-other_wrap textarea {
        margin-left: 0;
    }

    input.Form_input--date {
        max-width: 200px;
        margin-right: 10px;
    }

    .Form_icn--calendar {
        max-width: 40px;
    }

    .Form-item_content--date {
        align-items: center;
    }

    .Form-item_content--number {
        max-width: 550px;
    }

    .Number_wrap {
        display: flex;
        justify-content: start;
        align-items: center;
        margin-top: 0;
    }

    .Number_wrap:not(:last-of-type) {
        margin-right: 30px;
    }

    .Number_label {
        padding-right: 10px;
        font-size: 15px;
        line-height: 1;
    }

    .select-wrap {
        max-width: 180px;
    }

    .Number_select {
        padding: 10px 65px 10px 10px;
    }

    .Request_textarea {
        height: 100%;
    }

    .Form-agree_wrap {
        max-width: 960px;
        padding: 40px 80px;
    }

    .Form-agree_ttl {
        font-size: 2.4rem;
        text-align: center;
    }

    .Form-agree_wrap {
        margin-bottom: 30px;
    }

    .checkbox-label--agree {
        font-size: 1.8rem;
    }

    .Form_bottom-note {
        max-width: 960px;
        margin-bottom: 40px;
        font-size: 1.8rem;
    }

    .Form_btn-group {
        justify-content: space-between;
        max-width: 540px;
        margin: 0 auto 50px auto;
    }

    .Form_btn {
        font-size: 2.4rem;
        font-weight: 400;
        width: 44.445%;
        transition: opacity .3s;
    }

    .Form_btn:not([disabled="disabled"]):hover {
        opacity: .5;
    }

    .Form_btn::before {
        width: 25px;
        height: 25px;
    }

    .Form_btn::after {
        right: 9px;
        bottom: 11px;
        width: 10px;
        height: 6px;
    }

    .Form_error-wrap {
        /* display: none; */
        width: 100%;
    }

    .checkbox-label--agree::before {
        top: 13px;
        transform: rotate(-45deg);
    }

    .checkbox-label--agree::after {
        top: 8px;
        transform: none;
    }


    #recaptcha {
        margin: 0 auto 40px;
        width: 960px;
    }

}
