@charset "UTF-8";

html {
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    font-size: 62.5%;
}

body {
    color: #000;
    font-family: Noto sans JP, 'ヒラギノ角ゴ Pro W3', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    text-align: center;
}

img {
    max-width: 100%;
    vertical-align: bottom;
    /*高さ自動*/
}

a {
    text-decoration: none;
    color: #fff;
}

section {
    max-width: 750px;
    margin: 0 auto;
}

#wrapper {
    background-color: #f9fafa;
    min-height: 100vh;
    position: relative;
}

@media screen and (min-width:501px){
    #wrapper {
    }
}

#container {
    position: relative;
    z-index: 10;
}

/*ヘッダー
-------------------------------------*/
.header {
    background-color: #47a290;
    padding: 20px 3% 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.header_logo {
    width: 50%;
    margin-bottom: 15px;
}
.header_logo img {
    margin-bottom: 20px;
}
@media screen and (min-width:501px) {
    .header {
        padding: 30px;
        border-top-left-radius: 3px;
        border-top-right-radius: 3px;
    }
    header, main, footer {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (min-width: 350px) {
    .header {
        padding: 30px 5% 10px;
        flex-direction: rox;
    }

    .header_logo {
        width: 34%;
        margin-bottom: 0;
    }
}

.sec1_button {
    background-color: #2a9e98;
}
.sec3 {
    background-color: #2a9e98;
}
.sec3_button {
    background-color: #2a9e98;
    background: linear-gradient(#70b191, #2a9e98);
    padding-top: 20px;
}

.sec6 {
    position: relative;
}
.sec5 {
    background-color: #fff;
}
.sec6_reserve-btn {
    position: absolute;
    top: 27.5%;
    left: 52.5%;
    transform: translateX(-50%);
    white-space: nowrap;
}
.sec6 {
    padding-top: 30px;
    background-color: #fff;
}
.sec4 {
    background-color: #fff;
}
.sec7 {
    padding-top: 30px;
    background-color: #fff;
}
.bg {
    background-color: #fff;
}
#wrapper .bg {
    display: block;
    position: fixed;
    bottom: 0;
    background-color: #fff;
}
@media screen and (min-width:501px) {
    .bg {
        background-color: #f9fafa;
    }
    #wrapper .bg {
        position: fixed;
        bottom: 0;
        background-color: #f9fafa;
    }
}

/*CTA
-------------------------------------*/
.reserve-line-btn {
    text-align: center;
    padding-bottom: 30px;
}

.reserve-btn button {
    background: linear-gradient(to right, #82c55b, #47a290);
}
.reserve-line-btn button {
    display: inline-block;
    border-radius: 35px;
    border: 3px solid #fff;
    box-shadow: 0px 5px 10px 0px rgba(0,0,0,.5);
    transition: all .4s;
    position: relative;
    height: 10vw;
    max-height: 60px;
}

button a {
    font-weight: bold;
    font-size: 14px;
    padding: 10px 30px;
}
@media screen and (min-width:401px) {
    button a {
        padding: 15px 35px;
    }

}

@media screen and (min-width:501px) {
    button a {
        padding: 10px 20px;
        font-size: 18px !important;
        
    }

}



/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #121212;
    color: #ffffff;
    font-size: 16px;
}

@media (max-width:768px) {
    .copyright {
        font-size: 1.2vw;
    }
}

/*お問い合わせフォーム
-------------------------------------*/
#contact {
    padding-top: 30px;
    background-color: #fff;
}

.lead {
    color: #fff;
    font-size: 2;
}

.container p {
    font-size: 2rem;
}

.table th {
    width: 100%;
    display: block;
}

.table td {
    display: block;
}

.polygon {
    padding-top: 20px;
}

.contact-box {
    border: 1px solid var(--border-color);
    text-align: center;
    padding: 2rem 0;
}

.table {
    margin: 4rem 0;
}

.table th {
    width: 250px;
}

/* 全幅
–––––––––––––––––––––––––––––––––––––––––––––––––– */
.full-width {
    width: 100%;
    box-sizing: border-box;
}

.max-full-width {
    max-width: 100%;
    box-sizing: border-box;
}

.pull-right {
    float: right;
}

.pull-left {
    float: left;
}

.thanks p {
    font-size: 1.6rem;
    line-height: 2em;
    margin-bottom: 30px;
}

.thanks a {
    display: block;
    font-size: 1.4rem;
    margin-top: 100px;
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    background-color: #47a290;
    align-items: center;
    margin: 0 auto;
    max-width: 300px;
    padding: 24px 50px;
}

.thanks {
    max-width: 1200px;
    padding: 200px 10px;
    margin: 0 auto;
    text-align: center;
}

.inner h2 {
    text-align: center;
    margin-bottom: 30px;
    /* color: #0065B0; */
    font-size: 2rem;
}

.thanks h2 {
    text-align: center;
    margin-bottom: 30px;
    /* color: #0065B0; */
    font-size: 2.4rem;
    font-weight: bold;
}

.inner h2:after {
    content: "";
    display: block;
    margin: 0 auto;
    background: #47a290;
    width: 4vw;
    height: 0.3vw;
    bottom: -2.5vw;
}


.text {
    text-align: center;
}

.pc_only {
    display: block;
}

.lead {
    font-weight: bold;
    text-align: center;
    margin: 30px auto;
    padding: 0 2rem;
}

#formWrap {
    background-color: #fff;
    max-width: 1000px;
    margin: 0 auto;
    padding: 50px 30px 100px;
    text-align: left;
    font-size: 1rem;
    width: 100%;
}

@media(max-width:768px) {

    #formWrap {}
}

tbody {
    vertical-align: middle;
}

table th, table td {
    display: block;
    text-align: left;
}

table th {
    display: block;
    margin-bottom: 10px;
    font-size: 2rem;
}

#otherInput {
    margin-top: 10px;
}

table th:before {
    content: "必須";
    font-size: 1.2rem;
    margin-right: 0.5rem;
    padding: 0 0.5rem;
    color: #fff;
    background-color: #47a290;
    display: inline-block;
}

table .input:before {
    content: "任意";
    font-size: 1.2rem;
    margin-right: 0.5rem;
    padding: 0 0.5rem;
    color: #fff;
    background-color: #3e3e3e;
    display: inline-block;
}


table td {
    margin-bottom: 48px;
}

.select {
    background-color: #fff;
    padding: 10px 10px;
    border: solid 1px #ccc;
}

table input[type="checkbox"] {
    content: "";
    display: inline-block;
    width: 13px;
    height: 13px;
    border: 1px solid #ccc;
    border-radius: 50%;
    margin-right: 0.5rem;
}

table input[type="tel"] {
    border: 1px solid #cccccc;
    background-color: #fff;
    width: 100%;
    padding: 1rem 2rem;
    box-sizing: border-box;
    font-size: 1.4rem;
}

table input[type="email"] {
    border: 1px solid #cccccc;
    background-color: #fff;
    width: 100%;
    padding: 1rem 2rem;
    box-sizing: border-box;
    font-size: 1.4rem;
}

table input[type="text"] {
    border: 1px solid #cccccc;
    background-color: #fff;
    width: 100%;
    padding: 1rem 2rem;
    box-sizing: border-box;
    font-size: 1.4rem;
}

input {
    margin-right: 10px;
}

table input::-webkit-input-placeholder {
    font-size: 1.4rem;
}

table input::-moz-placeholder {
    font-size: 1.4rem;
}

table input:-ms-input-placeholder {
    font-size: 1.4rem;
}

table input::-ms-input-placeholder {
    font-size: 1.4rem;
}

table input::placeholder {
    font-size: 1.4rem;
}

table select {
    border: 1px solid #cccccc;
    background-color: #fff;
    box-sizing: border-box;
    padding: 0.5rem 1rem;
}

.form_btn {
    background: #47a290;
    color: #fff;
    font-size: 1.4rem;
    font-weight: bold;
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    width: 50%;
    height: auto;
    padding: 14px 25px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: 0.3s ease-in-out;
    border-radius: 4px;
}

.form_btn:hover {
    background-color: #47a290;
}


.btn {
    color: #fff;
    font-weight: bold;
}

footer {
    text-align: center;
}

@media (max-width:768px) {
    .text {
        text-align: left;
    }

    .pc_only {
        display: none;
    }

    label {
        display: block;
    }

    .inner h2:after {
        content: "";
        display: block;
        margin: 0 auto;
        background: #47a290;
        width: 4vw;
        height: 1vw;
        bottom: -2.5vw;
    }

    .thanks p {
        font-size: 1.4rem;
        text-align: left;
    }
}

form {
    input[type=button] {
        background: #ddd;
        border: #aaa solid 1px;
        border-radius: 10px;
        color: #aaa;
        padding: 10px 80px;
        pointer-events: none;
        transition: background-color .3s, color .5s;

        &:focus {
            visibility: hidden;
        }
    }

    &:has(input:checked) input[type=button] {
        background: #fff;
        border: #000 solid 1px;
        color: #333;
        cursor: pointer;
        pointer-events: auto;

        &:focus {
            visibility: visible;
        }
    }

    @media (hover: hover) {
        &:has(input:checked) input[type=button]:hover {
            background: #000;
            color: #fff;
        }
    }
}

