@charset "utf-8";

#contact {
    padding-top: 80px;
    padding-bottom: 40px;
}

#contact h2 .nameEng,
#contents h2 {
    font-size: 6em;
    font-weight: 900;
    letter-spacing: 0.1em;
    color: #e77400;
    padding: 20px 0 10px;
    text-align: center;
    line-height: 1.0em;
    font-family: 'Lato', sans-serif;
}

#contents .detailTxt {
    font-size: 1.4rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
}

#contents .detailTxt .ippan {
    font-weight: bold;
    font-size: 1.6rem;
    display: block;
    margin-bottom: 10px;
}

#form-main {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
}

.form .feedback-input {
    color: #333;
    font-weight: 500;
    font-size: 18px;
    border-radius: 5px;
    line-height: 22px;
    background-color: #f9f9f9;
    padding: 13px;
    margin-bottom: 15px;
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
    border: 1px solid #ccc;
}

.form textarea {
    height: 150px;
    line-height: 150%;
    resize: vertical;
}

.form .submit #button-blue {
    width: 100%;
    background: #f39800;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    color: white;
    font-size: 24px;
    padding-top: 10px;
    padding-bottom: 10px;
    transition: all 0.3s;
    margin-top: -4px;
    font-weight: 700;
}

.form .submit #button-blue:hover {
    background: #e77400;
}

.checkbox {
    margin-bottom: 20px;
}

.checkbox .form-group {
    margin-bottom: 10px;
}

.checkbox label {
    font-size: 1.4rem;
    margin-left: 5px;
}

.privacy_checkbox {
    text-align: center;
    margin: 20px 0;
}

.privacy_checkbox p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.privacy_checkbox label {
    font-size: 1.4rem;
}

/* Confirmation Page (mail.php) */
.kakuninWrap {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    border: 1px solid #f00;
    background: #ffeeee;
    border-radius: 5px;
}

.error_messe {
    color: #d00;
    font-weight: bold;
    margin-bottom: 10px;
}

.func_table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 40px;
    border: 1px solid #eee;
}

.func_table th,
.func_table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-size: 1.4rem;
    line-height: 1.6;
}

.func_table th {
    width: 30%;
    font-weight: bold;
    background: #f9f9f9;
    text-align: left;
}

.func_table td {
    text-align: left;
}

.btnBox {
    width: 48%;
    display: inline-block;
    text-align: center;
}

.btnBox .submit input,
.btnBox .back input {
    width: 100%;
    max-width: 250px;
    padding: 15px;
    border-radius: 5px;
    border: 0;
    cursor: pointer;
    color: white;
    font-size: 1.6em;
    font-weight: 700;
    transition: all 0.3s;
}

.btnBox .submit input {
    background: #f39800;
}

.btnBox .submit input:hover {
    background: #e77400;
}

.btnBox .back input {
    background: #aaa;
}

.btnBox .back input:hover {
    background: #888;
}

/* Thanks Page */
#contents h2 .jap {
    font-size: 0.5em;
    display: block;
    font-family: "Noto Sans JP", sans-serif;
}

@media screen and (max-width: 768px) {
    #contact h2 .nameEng,
    #contents h2 {
        font-size: 4em;
    }

    .btnBox {
        width: 100%;
        display: block;
        margin-bottom: 15px;
    }
}