@charset "UTF-8";

/* ヘッダー　白背景の時
-------------------------------------*/
.header-nav li a {
    color: #1F1F1F;
}

.toggle_btn span {
    background-color: #1F1F1F;
}

.container {
    width: 85%;
    max-width: 800px;
}

.contact-top {
    text-align: center;
    margin: 5rem 0;
}

@media screen and (max-width: 780px) {
    .contact-top {
        text-align: left;
        margin: 2rem 0;
    }

    @media screen and (max-width: 780px) {
        .header_b .header-nav li .currant {
            color: #0071BE;
        }
    }
}



/* フォーム
-------------------------------------*/
.contact-ttl {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 40px;
    text-align: center;
}

.contact-table {
    width: 100%;
}

.contact-item,
.contact-body {
    padding: 25px;
}

.contact-item {
    font-family: 'Go-bold';
    text-align: left;
    width: 40%;
}

.contact-body {
    width: 60%;
}

.form-text {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    letter-spacing: 0.1em;
    font-size: 1.6rem;
}

.contact-sex+.contact-sex {
    margin-left: 10px;
}

.contact-sex-txt {
    display: inline-block;
    margin-left: 5px;
}

.form-select {
    width: 100%;
    height: 40px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-skill {
    display: block;
}

.contact-skill+.contact-skill {
    margin-top: 10px;
}

.contact-skill-txt {
    display: inline-block;
    margin-left: 5px;
}

.form-textarea {
    width: 100%;
    padding: 10px;
    height: 200px;
    border-radius: 5px;
    border: 1px solid #ccc;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.btn-area {
    text-align: center;
}

.btn-area p {
    display: flex;
    justify-content: center;
}

[type=button],
[type=reset],
[type=submit] {
    width: 250px;
    font-weight: bold;
    display: block;
    margin: 3rem auto 0;
    text-align: center;
    font-size: 16px;
    padding: 15px;
    border-radius: 100vh;
    border: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}


[type=submit] {
    background-color: #333;
    color: #fff;
}

[type=button],
[type=reset] {
    background-color: #9e9e9e;
    color: #333;
}

.Required {
    font-size: 1.2rem;
    color: #0071BE;
    margin-left: 15px;
}

.contact-body p.required {
    font-family: 'Go-normal';
    letter-spacing: 0.1em;
    font-size: 1.3rem;
    padding-top: 0.5em;
}

@media screen and (max-width: 780px) {

    table td,
    table th {
        display: block;
        width: 100%;
    }

    .contact-item {
        font-family: 'Go-bold';
        text-align: left;
        width: 100%;
    }

    .contact-body {
        width: 100%;
    }

    .contact-item {
        padding: 8px;
    }

    .contact-body {
        padding: 0;
        padding-bottom: 20px;
    }

    .form-text {
        padding: 7px;
        font-size: 1.4rem;
    }

    .btn-area p {
        display: block;
    }

    [type=button],
    [type=reset],
    [type=submit] {
        width: 250px;
        font-size: 14px;
        padding: 10px;
    }
}


/* チェックボックス
-------------------------------------*/
.checkbox {
    text-align: center;
    margin-top: 3rem;
}

.submit-btn {
    /* buttonタグのリセットCSS */
    background-color: transparent;
    border: none;
    cursor: pointer;
    outline: none;
    appearance: none;

    /* チェックをつけた時 */
    display: block;
    font-family: 'Go-normal';
    width: 270px;
    height: 45px;
    margin: 0 auto;
    text-align: center;
    line-height: 45px;
    border: 1px #1F1F1F solid;
    border-radius: 40px;
    letter-spacing: 0.15em;
    margin-top: 2rem;
}

.submit-btn:hover {
    color: #fff;
    background-color: #1F1F1F;
    opacity: 1;
    transition: 0.2s;
}

/* チェックをつける前 */
.submit-btn[disabled] {
    background-color: #ccc;
    color: #fff;
    border: none;
    cursor: not-allowed;
    /* クリック不可のカーソルを表示 */
}