.contact-mainvisual-area {
    padding-top: 60px;
    padding-bottom: 60px;
    height: 200px;
    background-image: url(../img/top/about_bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 20px;
}

/* ///////////////////////////////////////////
////////////////    お問い合わせ    /////////////
/////////////////////////////////////////// */
.errorcomment {
    color: red;
    font-weight: bold;
}

#input-field-container.fade-in {
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

/*///////////////////////////////////////////////////////////*/
/*//////////////////////////BASE設計//////////////////////////*/
/*///////////////////////////////////////////////////////////*/


.main_title {
    font-size: 1.5rem;
    text-align: center;
    color: #ffff;
    font-weight: bold;
    margin-top: 35px;
}

#form_landpoint {
    position: absolute;
    top: -80px;
}

.relative {
    position: relative;
}

body {
    line-height: 1.8;
    font-family: 'Noto Sans JP', 'Roboto', sans-serif !important;
}

.mail_centertext {
    padding-top: 20px;
    padding-bottom: 10%;
    text-align: center;
    line-height: 2.5;
}

.form_contents {
    background: #fff;
    padding: 40px 50px 70px;
    margin-bottom: 100px;
}

.form_contentsname {
    font-size: 20px;
    font-weight: bold;
    line-height: 22px;
    padding-left: 22px;
    border-left: 5px #29abe2 solid;
    margin-bottom: 40px;
}

.form_about {
    margin-bottom: 20px;
}

.mailform {
    font-size: 16px;
}

.mailform th {
    width: 260px;
    padding: 10px 0;
    vertical-align: top;
}

.mailform td {
    vertical-align: text-top;
    padding: 10px;
}

.form_note {
    margin-bottom: 20px;
}

.input_item {
    color: #808080;
    font-weight: bold;
    text-align: left;
    width: 215px;
    display: inline-block;
    vertical-align: text-top;
}

.mast {
    width: 43px;
    height: 23px;
    display: inline-block;
    background: #fb1e42;
    font-size: 13px;
    line-height: 23px;
    text-align: center;
    color: #fff;
}

.input_ss,
.input_s,
.input_m,
.input_l,
.input_100 {
    height: 40px;
    border-radius: 5px !important;
    border: 1px solid #ccc;
    line-height: 40px;
    padding-left: 10px;
    box-sizing: border-box;
}

.input_ss {
    width: 100%;
    max-width: 90px;
}

.input_s {
    width: 100%;
    max-width: 170px;
}

.input_m {
    width: 100%;
    max-width: 300px;
}

.input_l {
    width: 100%;
    max-width: 400px;
}

.input_100 {
    width: 100%;
}

label {
    position: relative;
    padding-left: 20px;
    margin-right: 20px;
    display: inline-block;
}


input[type=checkbox] {
    display: inline-block;
    margin-right: 3px;
    width: 16px;
    height: 16px;
    position: absolute;
    top: 6px;
    left: 0;
    -webkit-appearance: checkbox;
    -moz-appearance: checkbox;
    appearance: checkbox;
}

select {
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
    line-height: 25px;
    height: 25px;
    width: 200px;
    border-radius: 2px;
}

.box_terms {
    overflow-y: scroll;
    width: 100%;
    height: 180px;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    transform: translateZ(0);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    margin-bottom: 10px;
    background: #fff;
}

.terms1,
.terms2,
.terms3 {
    padding-left: 20px;
    position: relative;
}

.terms1::before,
.terms2::before,
.terms3::before {
    position: absolute;
    left: 0;
    top: 0;
}

.terms1::before {
    content: '(1)';
}

.terms2::before {
    content: '(2)';
}

.terms3::before {
    content: '(3)';
}

.form_contents .form_line {
    margin: 70px 0 50px;
    width: 100%;
    height: 1px;
    background: #aaa;
}

input.submitbtn {
    -webkit-appearance: none;
    background: linear-gradient(to right, #006cb8, #29abe2);
    color: #fff;
    border: none;
    padding: 15px 20px;
    border-radius: 5px;
    cursor: pointer;
    display: block;
    margin: 0 auto 50px;
    width: auto;
    font-size: 18px;
    letter-spacing: 1px;
}

input.blackbtn {
    background: #808080;
}

.form_maining {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    display: block;
}

.form_title {
    font-size: 24px;
    line-height: 1.5;
    margin: 70px auto 30px;
    width: 100%;
    text-align: center;
    letter-spacing: 2px;
}

.form_title img {
    margin-bottom: 15px;
}

.form_title span {
    font-size: 0.7em;
}

.errorcomment {
    color: #fb1e42;
    margin-bottom: 5px;
    font-size: 0.8em;
}

.errorbox {
    background: #ffe1e6;
}

.confirm_table {
    table-layout: fixed;
    margin-bottom: 40px;
    width: 100%;
}

.detail-d__title {
    margin-bottom: 40px;
    margin-top: 30px;
    font-weight: bold;
    color: #29abe2;
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, #29abe2 0%, #006cb8 100%);
    border-image-slice: 1;
}

.inquiry_item {
    margin-bottom: 60px;
}

.confirm_table th,
.confirm_table td {
    padding: 0 0 15px 0;
    word-wrap: break-word;
}

.confirm_table th {
    width: 220px;
    font-weight: bold;
    padding-right: 20px;
    text-align: left;
}

.confirm_table td {
    width: calc(100% - 220px);
    word-break: break-all;
}

.formbtn_area {
    width: 100%;
    max-width: 220px;
    text-align: center;
    margin: 0 auto;
    padding: 0;
}

.formbtn_area .submitbtn {
    padding: 15px 30px;
}

.back {
    background: #333;
    text-decoration: none;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    display: inline-block;
    margin: 0 auto;
    width: auto;
    font-size: 18px;
    letter-spacing: 1px;
}

.form_comp {
    margin-bottom: 20px;
    font-size: 24px;
}

.toform_btn {
    line-height: 50px;
    border-radius: 25px;
    color: #fff;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    position: relative;
    background: #2bb89a;
    border-bottom: solid 3px #15876f;
    border-right: solid 3px #15876f;
    display: block;
    width: 100%;
    max-width: 600px;
    margin: 0 auto 20px;
}

.toform_btn i {
    position: absolute;
    top: 0;
    left: 20px;
    line-height: 50px;
}

.toform_btn_s {
    line-height: 24px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: normal;
}

.toform_btn_s i {
    left: 10px;
    line-height: 25px;
}

.atc {
    width: 100%;
    font-weight: bold;
    padding: 20px 0;
    text-align: center;
    color: #006354;
}

.atc a {
    text-decoration: underline;
    color: #006354;
}

.entry_list {
    padding-bottom: 10px;
}

/* safari */
::-webkit-full-page-media,
:future,
:root .confirm_table td {
    width: 100%;
    max-width: 680px;
}

/* IE */
@media all and (-ms-high-contrast: none) {

    /* ここに書く */
    th {
        text-align: left;
    }
}

/* IE */
input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
    color: #ccc;
}

/* Edge */
input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
    color: #ccc;
}

@media only screen and (max-width: 1040px) {
    body {
        font-size: 14px;
    }

    .form_contents {
        padding: 30px 30px 70px;
        width: calc(100% - 40px);
    }

    .form_maining {
        width: calc(100% - 40px);
    }

    .form_title {
        margin-top: 30px;
    }

    .form_contents .form_line {
        margin: 40px 0;
    }
}

@media only screen and (max-width: 768px) {
    .form_title {
        margin: 0 auto 20px;
    }

    .form_contentsname {
        margin-bottom: 25px;
    }

    .form_table {
        text-align: left;
    }

    .about_table th,
    .about_table td {
        padding: 0 0 15px;
    }

    .mailform table {
        width: 100%;
    }

    .mailform td {
        padding: 3px 10px 15px;
        display: block;
        margin: 5px -10px 10px -10px;
        width: 100%;
    }

    .input_item {
        width: auto;
        margin-right: 10px;
    }

    .inquiry_item {
        margin-bottom: 30px;
    }

    .mailform th {
        width: 100%;
        padding: 0;
        display: block;
    }

    .input_s,
    .input_m,
    .input_l,
    .input_100 {
        height: 34px;
        line-height: 34px;
    }

    .mailform {
        font-size: 14px;
    }

    .confirm_table th {
        width: 80px;
    }

    .confirm_table td {
        display: block;
        width: 100%;
        word-wrap: break-word;
    }
}

@media only screen and (max-width: 540px) {
    .toform_btn {
        line-height: 40px;
        border-radius: 20px;
        font-size: 14px;
        margin-bottom: 0;
    }

    .toform_btn i {
        left: 15px;
        line-height: 40px;
    }
}

@media only screen and (max-width: 480px) {
    input.submitbtn {
        padding: 10px 15px;
        font-size: 16px;
    }

    .form_contents {
        padding: 30px 20px 50px;
    }

    .box_terms {
        font-size: 12px;
    }

    .about_table th {
        width: 105px;
    }

    .report_s:nth-child(even) {
        margin-right: 0;
    }

    .input_s {
        width: 120px;
    }

    .confirm_table th {
        width: 50%;
    }
}

.submitbtn {
    margin-top: 30px !important;
}

.show_480 {
    display: none;
}

.consent_box {
    box-sizing: border-box;
    height: 200px;
    overflow: auto;
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    transform: translateZ(0);
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    margin-bottom: 10px;
    background: #fff;
}

.terms {
    font-size: 14px;
}

.toform_btn_s {
    line-height: 30px;
    border-radius: 25px;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    position: relative;
    background: #2bb89a;
    border-bottom: solid 3px #15876f;
    border-right: solid 3px #15876f;
    display: inline-block;
    padding: 0 8px 0 20px;
    max-width: 600px;
    margin: 10px 0 30px 0;
}

.form_schedule {
    width: 70%;
    margin: 0 auto 0 0;
}

.start_tx {
    margin-bottom: 10px;
}

.tableintable span {
    padding: 5px 10px;
    background: #ccc;
    font-size: 0.8em;
    line-height: 1em;
    font-weight: bold;
    margin-right: 10px;
}

.tableintable th,
.tableintable td {
    padding: 0 15px 5px 0;
}

.length_title {
    width: 150px;
    float: left;
    margin-right: 15px;
}

.length_select {
    float: left;
}

select {
    margin-right: 5px;
    border-radius: 5px !important;
    border: 1px solid #ccc;
}

.hide {
    display: none !important;
}

.errorbox_m {
    background: #ffe1e6;
    padding: 10px;
    box-sizing: border-box;
    display: block;
}

.errorcomment_m {
    color: #fb1e42;
    font-size: 0.8em;
    padding: 0 !important;
}

.input_text {
    height: 150px;
    line-height: 1.5;
}

table {
    width: 100%;
}

.selects_table td {
    padding: 0 10px;
}

.entry_day_select {
    width: 130px;
    margin: 0 3px 3px 0;
}

.entry_time_select {
    width: 180px;
}

/* safari */
::-webkit-full-page-media,
:future,
:root .selects_table {
    width: 100%;
    table-layout: fixed;
}

::-webkit-full-page-media,
:future,
:root .selects_table td {
    width: 50%;
    max-width: 340px;
}

.confirm_table td {
    word-break: break-all;
}

.toform_btn {
    padding-left: 22px;
    box-sizing: border-box;
}

.toform_btn i {
    left: 10px;
}

.confirm_table th,
.confirm_table td {
    vertical-align: top;
}

@media only screen and (max-width: 768px) {
    .confirm_table th {
        width: 152px;
    }
}

@media only screen and (max-width: 640px) {
    .confirm_table th {
        display: block;
        padding-bottom: 0;
    }
}

@media only screen and (max-width: 600px) {
    .form_schedule {
        width: 100%;
    }
}
