* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    font-family: "Helvetica Neue" , "Arial" , "Hiragino Sans", "Hiragino Kaku Gothic ProN" , "Meiryo" , sans-serif;
}
html {
    font-size: 0.78125vw;
}
body {
    font: 1rem/1.6 "Helvetica Neue" , "Arial" , "Hiragino Sans", "Hiragino Kaku Gothic ProN" , "Meiryo" , sans-serif;
    font-size: 16px;
}

.logo {
    width: 70%;
    margin: 2vw auto auto;
    padding-bottom: 2vw;
    border-bottom: 1px solid #5bab39;
}
.logo img {
    display: inline-block;
    width: 80px;
    vertical-align: middle;
}
.logo p {
    display: inline-block;
    margin-left: 3vw;
    font-size: 22px;
    vertical-align: middle;
}

.contact_message {
    width: 70%;
    margin: 0 auto;
}
.contact {
    position: relative;
    width: 70%;
    margin: 0 auto;
    border: 1px solid #5bab39;
}
.caption {
    position: absolute;
    margin-left: 4vw;
    background-color: #ffffff;
    transform: translateY(-50%) translateX(1vw);
}

form {
    margin-left: 5vw;
    font-size: 16px;
}
input[type=text] {
    width: 300px;
    height: 30px;
    border: 1px solid #5bab39;
}
input[type=email] {
    width: 300px;
    height: 30px;
    border: 1px solid #5bab39;
}
input[type=checkbox] {
    margin: 0 1vw 0 1vw;
    font-size: 16px;
    border: 1px solid #5bab39;
    accent-color: #5bab39;
}
input[type=submit],
input[type=button]
{
    margin-right: 5px;
    font-size: 16px;
    border: 1px solid #5bab39;
}
input[type=submit]:hover,
input[type=button]:hover
{
    border: 1px solid #5bab39;
    color: #ffffff;
    background-color: #5bab39;
    transition: color 0.3s;
}

select {
    width: 50%;
    height: 30px;
    font-size: 16px;
    border: 1px solid #5bab39;
}
textarea {
    width: 80%;
    height: 20vw;
    border: 1px solid #5bab39;
}

.line_link {
    color: #5bab39;
    font-weight: bold;
    text-decoration-color: 5bab39;
    transition: color 0.3s;
}
.line_link:hover {
    color: #ff832e;
    font-weight: bold;
    text-decoration-color: ff832e;
}

.required {
    color: #e60033;
}
.line1 {
    margin-top: 30px;
}
.line2 {
    margin-top: 2vw;
}

.check_form {
    width: 70%;
    margin: 0 auto;
}
table {
    width: 100%;
}

table, td, th {
    border-collapse: collapse;
    border: 1px #5bab39 solid;
}
table td {
    text-align: left;
    vertical-align: top;
}
table .td1 {
    width: 30vw;
}

.contact_close {
    cursor: pointer;
    font-size: 16px;
    border: 1px solid #5bab39;
}
.contact_close:hover {
    border: 1px solid #5bab39;
    color: #ffffff;
    background-color: #5bab39;
    transition: color 0.3s;
}

.footer {
    width: 100%;
    border-top: 1px solid #5bab39;
    margin-top: 10vw;
}
.footer_nav {
    display: none;
}
.copyright {
    color: #5bab39;
    margin-top: 3vw;
    margin-right: 3vw;
    text-align: right;
}

.showwait {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    background-color: rgba(244, 255, 244, 0.9);
}
.showwait .showwait_child {
    position: relative;
    width: 100%;
    height: 100%;
}
.showwait .showwait_child2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform : translate(-50%, -50%);
}

.showwait img {
    display: inline-block;
    width: 60px;
    vertical-align: middle;
}
.showwait .showwait_child2 div {
    display: inline-block;
    vertical-align: middle;
}
.showwait p {
    margin-left: 10px;
    font-size: 16px;
    white-space: nowrap;
}
.hide {
    display: none;
}
@media screen and (max-width: 800px) {   /* 幅が800px以下のとき */
.showwait .showwait_child {
    width: 100%;
    text-align: center;
}
.showwait img {
    display: block;
    margin: 0 auto;
}
.showwait p {
    display: block;
    margin: auto;
    text-align: left;
}
}
@media screen and (max-width: 480px) {   /* 幅が480px以下のとき */
.logo {
    width: 100%;
    margin: 2vw 0 0 0;
}
.contact_message {
    width: 100%;
    margin: auto;
}
.contact {
    width: 98%;
    margin-left: 1vw;
}
form {
    margin-left: auto;
    width: 100%;
}
input[type=text] {
    width: 80%;
}
input[type=email] {
    width: 80%;
}
select {
    width: 80%;
}
textarea {
    width: 90%;
    height: 30vw;
}
.check_form {
    width: 100%;
    margin: auto;
}
}
@media screen and (max-width: 380px) {   /* 幅が480px以下のとき */
.logo p {
    font-size: 18px;
}
}
@media screen and (max-width: 200px) {   /* 幅が200px以下のとき */
.showwait p {
    white-space: normal;
}
}
