@charset "UTF-8";

.contact_content {
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    padding-left: 15px;
    padding-right: 15px;
}

.contact_title {
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-list dt {
    background-color: #eeeeee;
    padding: 1rem;
    padding-right: 60px;
    position: relative;
}

.contact-list dt::before {
    content: 'Q';
    margin-right: .5em;
    font-size: 1.2em;
    font-weight: 200;
}

.contact-list dd {
    display: none;
    padding: 1rem;
}

.openclass {
    position: absolute;
    right: 1.4rem;
    top: 50%;
    margin-top: -20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.openclass::before,
.openclass::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 3px;
    width: 24px;
    height: 1px;
    background-color: black;
}

.openclass::after {
    transform: rotate(90deg);
    transition: .4s;
}

.openclass.is-open::after {
    transform: rotate(0deg);
}

#contact-mainvisual img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.contact {
    padding: 5rem 0;
}

/* FAQ */
.faq-list {
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 2rem;
}

.faq-list dt {
    background-color: #f0f0f0;
    padding: 1rem;
    padding-right: 60px;
    position: relative;
}

.faq-list dt::before {
    content: 'Q.';
    margin-right: .5em;
    font-size: 1.2em;
    font-weight: 200;
}

.faq-list dd {
    padding: 1rem;
    display: none;
}

.faq-openclose {
    position: absolute;
    right: 1.4rem;
    top: 50%;
    margin-top: -20px;
    width: 30px;
    height: 30px;
    cursor: pointer;
}

.faq-openclose::before,
.faq-openclose::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 3px;
    width: 24px;
    height: 1px;
    background-color: black;
}

.faq-openclose::after {
    transform: rotate(90deg);
    transition: .4s;
}

.faq-openclose.is-open::after {
    transform: rotate(0deg);
}

.trial_form {
    margin: 0 auto;
    width: 960px;
}

.contact_table {
    width: 100%;
    margin-bottom: 20px;
}

.contact_item,
.contact_body {
    border: 1px solid #eee;
    padding: 20px;
}

.contact_item {
    text-align: left;
    background-color: #eeeeee;
    width: 30%;
}

.contact_body {
    width: 70%;
}

.contact_kind {
    display: block;
}

textarea {
    width: 100%;
    height: 200px;
    border: 1px solid #055d8b;
    border-radius: 3px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    overflow-y: scroll;
}

/* input[type="email"] {
    width: 300px;
} */

.form_text {
    width: 100%;
    max-width: 400px;
    border: 1px solid #055d8b;
    border-radius: 3px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.contact_submit {
    text-align: center;
}

input[type="submit"] {
    width: 200px;
    border: 1px solid #03539d;
    border-radius: 14px;
    margin-top: 30px;
    line-height: 50px;
    background: transparent;
}

h2 {
    text-align: center;
}

@media screen and (max-width: 599px) {
    .trial_form {
        max-width: 100%;
    }
}