@charset "UTF-8";

@media (min-width: 768px) {
    .hidden-pc {
        display: none;
    }
}

@media (max-width: 767px) {
    .hidden-sp {
        display: none;
    }
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

table {
    width: 100%;
}

@media (max-width: 767px) {
    table {
        display: block;
    }

    table tbody,
    table tr,
    table th,
    table td {
        width: 100% !important;
        display: block;
        box-sizing: border-box;
    }
}

.btn_wrap {
    text-align: center;
    margin-top: 50px;
}

.btn {
    padding: 15px 25px;
    border: none;
    font-weight: bold;
    margin: 10px;
    display: inline-block;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    background: #006A65;
    color: #fff;
    text-decoration: none;
}

html {
    font-size: 62.5%;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", YuGothic, 'Yu Gothic Medium', Meiryo, sans-serif;
    font-size: 1.6em;
    line-height: 1.6;
    color: #333;
}

@media (max-width: 767px) {
    body {
        font-size: 1.5em;
    }
}

.container_narrow {
    width: 800px;
    margin: auto;
    max-width: 100%;
    box-sizing: border-box;
    padding: 0 10px;
}

@media (max-width: 767px) {
    .container_narrow {
        width: 100%;
    }
}

main {
    display: block;
}

@media (min-width: 768px) and (max-width: 769px) and (orientation: portrait) {
    main {
        min-height: 95vh;
    }
}

.no_mv h1 {
    font-size: 3rem;
    font-weight: bold;
}

.no_mv p {
    margin-top: 1em;
}

h2 {
    background: #006A65;
    color: #fff;
    font-weight: bold;
    font-size: 3rem;
    text-align: center;
    padding: 20px 0;
    /* margin-top: 50px; */
}

@media (max-width: 767px) {
    h2 {
        font-size: 2rem;
    }
}

.input_attention {
    font-size: 1.8rem;
    padding: 40px 0 50px;
    display: flex;
    justify-content: center;
}

/* footer {
    font-size: 1.2rem;
    text-align: center;
    background: #006A65;
    color: #fff;
    padding: 5px;
} */

#loading {
    display: none;
}

.thanks {
    padding: 80px 20px 100px;
    font-size: 1.8rem;
    text-align: center;
}

.table_form {
    width: 100%;
    background: #fff;
    border-collapse: collapse;
    margin-top: 30px;
}

.table_form td {
    vertical-align: middle;
    padding: 10px;
}

@media (max-width: 767px) {
    .table_form td {
        padding: 5px 5px 15px;
    }
}

.table_form th {
    padding: 10px;
    width: 220px;
    text-align: left;
    vertical-align: top;
    position: relative;
    background-clip: padding-box !important;
    font-weight: bold;
}

@media (max-width: 767px) {
    .table_form th {
        padding: 5px 5px 0;
    }
}

.table_form th:after {
    position: absolute;
    right: 15px;
    top: 12px;
    font-size: 1.2rem;
    padding: 4px 5px;
    line-height: 1;
    font-weight: normal;
}

@media (max-width: 767px) {
    .table_form th:after {
        top: 5px;
        right: 10px;
    }
}

.table_form th.required:after {
    content: "必須";
    color: #fff;
    background: #c90000;
}

.table_form th.option:after {
    content: "任意";
    color: #fff;
    background: #999999;
}

.table_form input[type=text],
.table_form input[type=email],
.table_form input[type=tel],
.table_form input[type=nmber],
.table_form input[type=date],
.table_form textarea {
    width: 100%;
    padding: 4px;
    font-size: 16px;
    font-family: inherit;
    border-radius: 3px;
    border: solid 1px #e6edf2;
    background: #e6edf2;
    box-shadow: none;
    box-sizing: border-box;
    font-weight: normal;
    color: #333;
}

.table_form input[type=text]:focus,
.table_form input[type=email]:focus,
.table_form input[type=tel]:focus,
.table_form input[type=nmber]:focus,
.table_form input[type=date]:focus,
.table_form textarea:focus {
    outline: none;
    border: solid 1px #e6edf2;
    background: #fff;
}

.table_form input[type="checkbox"]:checked+span,
.table_form input[type="radio"]:checked+span {
    font-weight: bold;
}

.table_form textarea {
    width: 100%;
    height: 130px;
}

.table_form select {
    padding: 2px 0 4px 4px;
    border: solid 1px #345372;
    border-radius: 3px;
    margin-right: 2px;
}

.table_form select option {
    padding: 0;
}

.table_form label {
    margin-right: 10px;
}

.form_button {
    overflow: hidden;
    margin-top: 30px;
    text-align: center;
    /* padding-bottom: 80px; */
}

.form_button input[type=submit],
.form_button input[type=button],
.form_button button[type=submit] {
    height: 60px;
    width: 220px;
    border: none;
    font-weight: bold;
    margin: 10px;
    display: inline-block;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s;
    background: #006A65;
    color: #fff;
}

.form_button input[type=submit]:hover,
.form_button input[type=button]:hover,
.form_button button[type=submit]:hover {
    opacity: 0.8;
}

.form_button input[type=submit].back,
.form_button input[type=button].back,
.form_button button[type=submit].back {
    background: #999;
}

@media (max-width: 767px) {

    .form_button input[type=submit],
    .form_button input[type=button],
    .form_button button[type=submit] {
        max-width: 80%;
    }
}

.frm.danger {
    display: block;
    background: #c90000;
    padding: 5px 10px;
    position: relative;
    margin-top: 12px;
    clear: both;
    color: #fff !important;
    font-size: 1.2rem;
}

.frm.danger:before {
    content: "";
    height: 0;
    width: 0;
    position: absolute;
    top: -20px;
    border: 10px solid #c90000;
    border-color: transparent;
    border-bottom-color: #c90000;
}