@charset "utf-8";

/* Contact
---------------------------------------*/
/* reset */
input[type="text"] {
    padding: 0;
    border: none;
    border-radius: 0;
    outline: none;
    background: none;
}
select {
    -moz-appearance: none; /* selectの矢印非表示 */
    -webkit-appearance: none; /* selectの矢印非表示 */
    appearance: none;
    margin: 0;
    padding: 0;
    border-radius: 0;
    border: none;
    outline: none;
    background: transparent;
    background-image: none;
    box-shadow: none;
    vertical-align: middle;
    font-size: inherit;
    color: inherit;
    font-size: 1.6rem;
}
select::-ms-expand {
    display: none; /* selectの矢印非表示 */
}
option {
    -webkit-appearance: none; /* WebKit/Chromium */
    -moz-appearance: none; /* Gecko */
    border: 0;
    outline: 0;
}
button, input[type="submit"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    /* padding: 0;
    border: none;
    background: transparent; */
}
input, textarea {
    outline: 0;
    border: none;
    font-size: 1.6rem;
}

/* checkbox, radio */
input[type=checkbox], input[type=radio] {
    /* display: none; */
    display: block;
    width: 1px;
    height: 1px;
    opacity: 0;
    border-radius: 0;
    -webkit-appearance: none;
}
label {
    display: inline-block;
    position: relative;
    margin: 0 1.5rem .4rem 0;
    padding: 0 0 0 3.5rem;
    vertical-align: middle;
    cursor: pointer;
}

input[type=checkbox] + label::before {
    content: "";
    display: block;
    position: absolute;
    top: .3rem;
    left: 0;
    width: 19px;
    height: 19px;
    margin: 0 1rem 0 0;
    vertical-align: middle;
    border: solid 1px #AEB0B1;
    border-radius: 2px;
    background: #fff;
}
input[type="checkbox"]:checked + label::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 3px;
    width: 16px;
    height: 8px;
    border-left: 3px solid #006994;
    border-bottom: 3px solid #006994;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
@media screen and (max-width : 767px) {
    input[type=checkbox] + label {
        display: block;
    }
}

input[type=radio] + label {
    margin: 1rem 1rem 1rem 0;
    padding: 0 0 0 2.4rem;
    line-height: 1.3;
}
input[type=radio] + label::before {
    content: "";
    display: block;
    position: absolute;
    top: 1px;
    left: 0;
    width: 17px;
    height: 17px;
    margin: 0 1rem 0 0;
    vertical-align: middle;
    border: solid 1px #191B1D;
    background: #fff;
    border-radius: 50%;
}
input[type="radio"]:checked + label::before {
    border: solid 1px #191B1D;
}
input[type="radio"]:checked + label::after {
    content: "";
    display: block;
    position: absolute;
    top: 5px;
    left: 4px;
    width: 9px;
    height: 9px;
    border: solid 1px #191B1D;
    background: #006994;
    border-radius: 50%;
}
input[type="radio"]:invalid + label::before {
    border: solid 1px #E3513D;
}
input[type="radio"]:valid + label::before {
    border: solid 1px #AEB0B1;
}
@media screen and (max-width : 767px) {
    input[type=radio] + label {
        display: block;
        margin: .5rem 0 1rem;
    }
}

/* text, tel, email */
input[type="text"], input[type="tel"], input[type="email"] {
    width: 100%;
    padding: 1.5rem;
    border: solid 1px #AEB0B1;
    background: #F7F8F9;
    /* border-radius: 3px; */
}
input[type="text"]:focus, input[type="tel"]:focus, input[type="email"]:focus, textarea:focus {
    border: solid 1px red;
    /* background: #D7E6EC; */
}
input[type="text"]:invalid, input[type="tel"]:invalid, input[type="email"]:invalid, textarea:invalid {
    border: solid 1px #E3513D;
    background: #ffefec;
}
input[type="text"]:valid, input[type="tel"]:valid, input[type="email"]:valid, textarea:valid {
    border: solid 1px #AEB0B1;
}
input[type="text"]::placeholder, input[type="tel"]::placeholder, input[type="email"]::placeholder, textarea::placeholder {
    color: #ADB1C8;
}
input[type="text"]:focus::placeholder, input[type="tel"]:focus::placeholder, input[type="email"]:focus::placeholder, textarea:focus::placeholder {
    color: #ffefec;
}
input[type="text"]:disabled, input[type="tel"]:disabled, input[type="email"]:disabled, textarea:disabled {
    border: solid 1px #dedede;
    background: none;
}

/* textarea */
textarea {
    width: 100%;
    padding: 1.5rem;
    border: solid 1px #AEB0B1;
    background: #F7F8F9;
}
label + textarea{
    padding: 1rem;
}

/* select */
.select-box {
    position: relative;
    margin: 1rem 0 0;
}
.select-box::before {
    content: '';
    display: block;
    position: absolute;
    top: 45%;
    right: 1rem;
    width: 0;
    height: 0;
    margin: auto;
    padding: 0;
    border: solid 4px transparent;
    border-top: 6px solid #191B1D;
    pointer-events: none;
}
.select-box select, .select-box option {
    width: 100%;
}
.select-box select {
    padding: 1.5rem 2.2rem 1.5rem 1.5rem;
    outline: none;
    border: solid 1px #AEB0B1;
    background: #F7F8F9;
    outline-color: red;
    transition: .2s ease;
}
/* .select-box select:focus {
    border-color: #006994;
} */
.select-box option {
    padding: 1.5rem;
    border: solid 1px #AEB0B1;
    background: #F3F4F4;
}
.select-box option:hover {
    color: #fff;
    background: #006994;
}
.select-box select:focus .select-box option {
    border: solid 1px #AEB0B1;
}

/* contact-form
---------------------------------------*/
.contact-form {
    margin: 3rem 0 0;
}
.contact-lead {
    font-weight: 400;
}
@media screen and (min-width : 768px) {
    .contact-form {
        margin: 3rem 0 0;
    }
}

.contact-form__items {
    margin: 3rem 0 0;
    text-align: left;
}
.contact-form__item {
    margin: 1.6rem 0 2.5rem;
    padding: 0;
    /* border-bottom: dashed 1px #C5CAE5; */
}
.contact-form__item:first-of-type {
    padding-top: 2rem;
    /* border-top: dashed 1px #C5CAE5; */
}
.contact-form__item__head .req {
    display: inline-block;
    margin: 0 .7rem 0 0;
    padding: 0 .5rem;
    text-align: center;
    font-size: 1.4rem;
    color: #E3513D;
    border-radius: 2px;
}
.contact-form__item__head .ttl {
    display: inline-block;
    /* font-weight: 400; */
    font-size: 1.8rem;
}
.contact-form__item__data {
    margin: .6rem 0 0;
}
.contact-form__item__error {
    margin: .5rem 0 2rem;
    font-weight: 400;
    color: #E3513D;
    font-size: 1.6rem;
}
@media screen and (min-width : 768px) {
    .contact-form__item {
        display: flex;
        justify-content: space-between;
        max-width: 980px;
        margin: 0 auto;
        padding: 0 0 1rem;
    }
    .contact-form__item__data input[type="text"], .contact-form__item__data input[type="email"], .contact-form__item__data input[type="tel"] {
        width: 100%;
        margin: 1rem 0 0;
    }
   .contact-form__item__head {
        width: 29%;
        padding: .9rem 0;
    }
    .contact-form__item__data {
        margin: 0;
        width: 66%;
    }
    .contact-form__item__error {
        margin: .5rem 0 .5rem;
    }
}

/* privacy */
.form__privacy {
    margin: 3rem 0 0;
}
.form__privacy__lead a {
    text-decoration: underline;
}
.form__privacy__lead a:hover {
    text-decoration: none;
}
.form__privacy__detail {
    height: 200px;
    margin: 1.5rem 0 0;
    padding: 1.5rem;
    font-size: 1.4rem;
    overflow-y: scroll;
    border: solid 1px #C5C5C5;
}
.form__privacy__agree-box {
    display: flex;
    justify-content: center;
    margin: 2rem 0 0;
    padding: 0;
}
.form__privacy__agree {
    font-weight: 400;
}

.contact-form__submit {
    display: block;
}
@media screen and (min-width : 768px) {
    .contact-form__submit {
        display: flex;
        justify-content: center;
    }
}

.contact-form__btn {
    display: block;
    width: 100%;
    margin: 2rem auto 0;
    padding: 2rem 2rem;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 400;
    color: #fff;
    border: solid 2px #006994;
    border-radius: 40px;
    background: #006994;
    transition: .2s ease-in-out;
}
.contact-form__btn.back {
    color: #006994;
    border: solid 2px #006994;
    background: #fff;
}
.contact-form__btn:disabled {
    color: #989898;
    border: solid 2px #989898;
    background: none;
    transition: .2s ease-in-out;
}
@media screen and (min-width : 768px) {
    .form__privacy {
        margin: 2rem 0;
        padding: 2rem 0 0;
    }
    .form__privacy__detail {
        height: 140px;
    }
    .contact-form__btn {
        width: 30%;
        margin: 4rem 2rem 1rem;
        padding: 2.5rem 4rem;
        font-size: 1.8rem;
        cursor: pointer;
    }
    .contact-form__btn:hover {
        opacity: .7;
    }
    .contact-form__btn:disabled {
        cursor: inherit;
    }
    .contact-form__btn:disabled:hover {
        opacity: 1;
    }
}

/* error */
.contact-form__error {
    padding: 1rem;
    text-align: center;
    font-weight: 400;
    color: #FD9A00;
    background: #ffebcc;
}
@media screen and (min-width : 768px) {
    .contact-form__error {
        padding: .7rem;
    }
}

/* layout */
.contact-inner {
    width: 100%;
    padding: 0 0 8rem;
}
@media screen and (min-width : 960px) {
    .contact-inner {
        width: 100%;
        max-width: 980px;
        margin: 0 auto;
        padding: 0 0 14rem;
    }
}

.contact-form__item__data .two-columns > * {
    margin: 0;
}
@media screen and (min-width : 768px) {
    .contact-form__item__data .two-columns {
        margin: 0 0 1.5rem;
    }
}

/* Contact Thanks
---------------------------------------*/
.contact-form__thanks {
    padding: 0 0 8rem;
}
@media screen and (min-width : 768px) {
    .contact-form__thanks {
        padding: 4rem 0 12rem;
    }
}

/* corporate-contact */
/* .corporate-contact iframe {
    width: 100%;
    margin: 2rem auto 0;
} */
.corporate-contact__map {
    padding: 2rem 0 0;
}
.corporate-contact__map__api {
    width: 100%;
    height: 350px;
}
.corporate-contact__ttl {
    margin-bottom: 1rem!important;
}
@media screen and (min-width : 768px) {
    .corporate-contact {
        margin: 4rem auto 0;
        padding: 0 0 14rem;
    }
    .corporate-contact__map__api {
        width: 576px;
        height: 450px;
        max-width: 100%;
    }
}