body {
    background-color: #D7F2F5;
    font-family: "Kiwi Maru", serif;
}

.wave {
    margin-top: 30px;
}

.memo h2 {
    font-family: "Kaisei Opti";
    font-weight: normal;
    color: #008B9D;

}

.memo {
    display: flex;
    flex-direction: column;
    margin: -6px 0 50px 0;
    background-color: #fcfcfc;

    text-align: center;
}

.content-box {
    text-align: center;
}

.content-box p {
    margin: 5px 0;
}





h2 {
    font-size: clamp(30px, 4vw, 42px);
    color: #464646;

    text-align: center;
    margin: 20px;

}

h4,
h3,
p {
    font-weight: normal;
    color: #464646;
}

h3 {
    font-size: clamp(20px, 3vw, 36px);

}

h4 {
    font-size: clamp(18px, 2vw, 26px);
}

p,
li {
    font-size: clamp(16px, 2vw, 22px);
    list-style: none;
    color: #464646;
}


.humburger-menu li {
    margin: 10px;
    font-size: clamp(28px, 2.5vw, 38px);

    text-align: center;
    -webkit-tap-highlight-color: transparent;

}

.humburger-menu-item2 li:not(:first-child) a {
    display: block;
    font-size: clamp(20px, 2vw, 30px);
    margin: 8px;
    color: rgb(255, 248, 248);
}

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

input {
    display: none;
}

table {
    font-size: 30px;
    color: #14BDD3;
}


.appointment-button {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 25px 40px;
    max-width: 270px;
    margin: 25px auto;

    box-shadow: 0px 5px 8px rgb(170, 80, 80);

    background-color: #ff9688;
    border-radius: 70px;
    border: #ff8080 4px solid;
}

.appointment-button:hover {
    transform: translateY(10px);
    background-color: #ff8474;
}

.appointment-button img {
    margin-right: 10px;
}

.humburger-nav .appointment-button {
    padding: 25px 50px;

}






.checkbox-icon {
    position: fixed;
    right: 30px;
    top: 15px;

    width: 50px;
    height: 50px;
    padding: 50px;

    z-index: 300;
}

.checkbox-icon span,
.checkbox-icon span:before,
.checkbox-icon span:after {
    content: '';
    position: absolute;

    display: block;
    height: 5px;
    width: 50px;

    border-radius: 3px;
    background: #F47964;

    transition: 0.5s;
}

.checkbox-icon span:before {
    top: 15px;
}

.checkbox-icon span:after {
    bottom: 15px;
}

#nav-checkbox:checked~.checkbox-icon span {
    background: rgba(255, 255, 255, 0);
}

#nav-checkbox:checked~.checkbox-icon span::before {
    top: 0;
    transform: rotate(45deg);
}

#nav-checkbox:checked~.checkbox-icon span::after {
    bottom: 0;
    transform: rotate(-45deg);
}


.humburger-nav {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 10px;

    width: 80%;
    height: 100%;
    min-height: 100%;
    background: #ffa89c;

    position: fixed;
    top: 0;
    left: 100%;
    padding: 10px;

    overflow-y: scroll;
    z-index: 200;
    transition: .5s;
}

#nav-checkbox:checked~.humburger-nav {
    left: 20%;
}


.nav-background {
    width: 100%;
    height: 100%;
}

#nav-checkbox:checked~.humburger-background .background-click {
    position: fixed;
    top: 0;
    left: 0;

    display: block;
    width: 100%;
    height: 100%;

    z-index: 100;
    background: rgba(3, 3, 3, .5);
}




.humburger-img {
    height: 18vh;
}


.humburger-menu-item2 {
    margin-top: 30px;
}

.humburger-menu li:hover a {
    color: #ffd3d3;
}

.humburger-nav p {
    color: rgb(31, 176, 196);
}






.first-view {
    width: 100%;
    height: 90vh;
    overflow: hidden;

    font-size: 0;
}


.first-view h1,
.first-view h2 {
    position: absolute;
    top: 30px;
    left: 20px;

    margin: 0;

    font-size: clamp(35px, 5vw, 50px);
    font-weight: normal;

    color: #fff;
}

.top-img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.global-nav {
    display: none;
}







.map {
    width: 100%;
}

.map iframe {
    width: 100%;
    height: 150px;
}

.schedule {
    text-align: center;
}

.schedule p {
    margin: 15px;
}



.schedule-border {
    margin-top: 30px;
    display: inline-block;
    border: 2px solid #ff8080;
    border-radius: 5px;
}

.schedule-table {
    border-collapse: collapse;
    background-color: #fcfcfc;
}

.schedule-table th {
    background-color: #F9A899;
    color: #fcfcfc;
}

.schedule-table th,
td {
    font-size: 12px;
    padding: 5px 10px;
}

.stext {
    border-right: 3px solid #ff8080;
}

.schedule-table tr {
    border: 3px solid #ff8080;
}



.access-content p {
    color: #EA5959;
    text-align: center;
}









.faq-list {
    text-align: center;
}

.faq-list li {
    position: relative;
    height: 380px;
}

.faq-list img {
    object-fit: cover;
    width: 90%;
    height: 180px;
}

.faq-content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: 50px;

    width: 80%;
    min-height: 180px;
    padding: 15px;

    box-shadow: 0px 15px 10px rgb(180, 180, 180);
    background-color: #fcfcfc;
}




.column {
    text-align: center;
}

.content-img,
.content-img-reverse {
    object-fit: cover;
    width: 75%;
    height: 180px;
    margin: 0 auto;
}

.content-text,
.content-text-reverse {
    margin-top: -20px;

    padding: 50px 5%;
    height: 120%;
    width: 100%;

    background-color: #fcfcfc;

}



.doctor-info div {
    border-radius: 5px;
    padding: 5px;
    margin: 10px 0;
}

.doctor-info h4 {
    font-family: "Kiwi Maru";
    margin: 10px;
}

.doctor-info p {
    margin: 0px 0 20px 10px;
}

.specialty {
    background: linear-gradient(to right, #FFEFEF, #00000000);
}

.career {
    background: linear-gradient(to right, #E7F9FB, #00000000);
}





.sick-card {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;

    margin: 10px;
    padding-bottom: 50px;
}

.sick-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;

    background-color: #ffffff;
    border-radius: 5px;

    width: 160px;
    height: 190px;
    padding: 5px;

    text-align: center;
}

.sick-item p {
    margin: 5px;
}

.sick-item img {
    margin-top: 10px;
    object-fit: contain;
    height: 70px;
    width: 80px;
}





.add-text {
    display: flex;
    justify-content: center;
    align-items: center;

    padding: 25px;
}

.add-text::after {
    content: '＋';
}

.tap-content {
    height: 100%;
    width: 100%;

    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: 0px;

    color: #636363;
}




.explanatory li {
    margin: 0 8px 60px 8px;
    text-align: left;
}

.explanatory img {
    display: block;
    margin: 20px auto;

    object-fit: cover;
    width: 90%;
    height: 180px;
}

.explanatory h3,
.big-text {
    color: #008B9D;

    border-bottom: 5px solid;
    border-image: linear-gradient(to right, #ff5959, #FFA4A4, #00000000);
    border-image-slice: 1;

    margin-bottom: 20px;

    display: inline-block;
}

.explanatory-text {
    margin: 10px;
}

.explanatory-text p {
    font-family: "Zen Maru Gothic", sans-serif;

    margin-left: 5px;
}

.explanatory ul {
    text-align: left
}

.external-link {
    display: block;
    color: #EA5959;
    margin-top: 40px;
    margin-left: 10px;
    text-decoration: underline;
}

.insurance {
    display: inline;
}




.warning {
    background-color: #fcfcfc;

    padding: 20px 20px;
    margin: 0 5px 20px 5px;

    border-radius: 5px;
}

.warning-title {
    font-size: clamp(24px, 4vw, 42px);
}

.warning p,
.warning li {
    font-size: clamp(12px, 2vw, 22px);
}

.warning h4,
.warning h3 {
    font-family: "Kaisei Opti";
    margin-bottom: 20px;
    color: #EA5959;
}









footer {
    width: 100%;
    background-color: #FFA99A;

    margin-top: 50px;

    text-align: center;
}

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

footer p {
    color: #fff;
}

footer h3 {
    color: #fff;
}

footer h4 {
    color: #fff;
}


.footer-block-1 img {
    object-fit: contain;
    width: 100px;
}



.footer-block-1 ul {
    margin: 30px auto;
    width: 70%;
    column-count: 2;
}

.footer-block-1 li {
    position: relative;

    padding-right: 10px;
    margin: 0 10px 10px 10px;

    text-align: left;
}

.footer-block-1 li::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-left: 6px solid #ffffff;
}

.footer-block-1 a {
    display: block;
}

.appointment {
    display: none;
}



.footer-block-2 {
    margin-top: 20px;
    border-bottom: 2px solid #ffffff;
}

.footer-block-2 li {
    display: inline-block;
    margin: 10px 1% 5px 1%;

}

.pay {
    color: #ffffff;
    line-height: 30px;
}
































@media only screen and (min-width: 600px) {
    .sp {
        display: none;
    }

    .memo {
        padding: 10px 0 80px 0;
        margin: -7px 0 50px 0;
    }

    .checkbox-icon {
        top: 30px;
    }


    .humburger-menu {
        padding: 10px;
    }

    .humburger-nav {
        gap: 30px;

        padding: 30px 0;
    }

    .humburger-nav div {
        display: flex;
        justify-content: center;
        gap: 20px;
    }

    .humburger-menu-item2 {
        margin-top: 0px;
    }


    .global-nav {
        display: flex;
        justify-content: center;
        align-items: center;

        height: 100px;
        width: 100%;
        background-color: #FFA99A;
        border-radius: 40px 40px 0 0;

        position: absolute;
        bottom: 0px;
    }

    .global-nav>ul {
        display: flex;
    }

    .global-text a {
        display: block;
        width: 220px;
        line-height: 80px;

        text-align: center;
    }

    .text-border {
        border-left: 2px solid #ffffff;
        border-right: 2px solid #ffffff;

        position: relative;
        transition: all .3s;
    }

    .global-logo {
        width: 200px;
        height: 160px;
        flex-shrink: 0;

        background-color: #FFA99A;
        border-radius: 90px 90px 0 0;
        margin-bottom: 60px;
    }

    .global-img {
        object-fit: contain;
        width: 100%;
        height: 100%;
    }




    .schedule {
        margin: auto;

    }

    .schedule-table th,
    td {
        padding: 15px 25px;
        font-size: 16px;
    }

    .access-content {
        display: flex;
        margin: 10px 5px;
    }

    .address {
        width: 50%;
    }



    .faq-list {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        margin: auto;
    }

    .faq-list li {
        position: relative;
        height: 400px;
    }

    .faq-list img {
        object-fit: cover;
    }

    .faq-content {
        position: absolute;
        left: 50%;
        transform: translate(-50%, 0);

        box-shadow: 0px 15px 10px rgb(180, 180, 180);
        background-color: #ffffff;

        min-height: 180px;
    }


}










@media only screen and (min-width: 600px) and (max-width: 1024px) {
    .wave {
        margin-top: 50px;
    }

    h2 {
        margin: 30px;
    }


    .humburger-nav {
        width: 60%;
    }

    #nav-checkbox:checked~.humburger-nav {
        left: 40%;
    }



    .first-view {
        height: 60vh;
    }

    .first-view h1 {
        top: 50px;
        left: 40px;
    }





    header {
        position: relative;
    }

    .global-nav {
        height: 80px;
    }

    .global-text a {
        width: 130px;
        line-height: 60px;
    }

    .global-logo {
        width: 120px;
        height: 110px;

        margin-bottom: 50px;
    }

    .drop-menu {
        display: none;
    }





    .map iframe {
        width: 90%;
        height: 350px;
        margin: auto;
    }

    .schedule {
        display: inline-block;
    }







    .faq-list {
        gap: 30px 3%;
        max-width: 800px;
    }

    .faq-list img {
        width: 43vw;
        max-width: 400px;

        height: 180px;
    }

    .faq-content {
        bottom: 70px;
        width: 40vw;
        max-width: 380px;

        height: auto;
    }




    .sick-item {
        width: 150px;
        height: 200px;
    }

    .sick-item img {
        width: 85px;
        height: 70px;
    }




    .content-img,
    .content-img-reverse {
        width: 60%;
        height: 250px;
    }

    .content-text,
    .content-text-reverse {
        width: 90%;
        margin: -25px auto 0 auto;
    }


    .explanatory li {
        text-align: center;
    }

    .explanatory img {
        height: 300px;
        width: 65%;
    }

    .explanatory-text p {
        text-align: center;
    }

    .explanatory ul {
        text-align: center;
    }


    .warning {
        margin: 10px;
    }
}


















@media only screen and (min-width: 1024px) {
    .wave {
        margin-top: 50px;
    }

    .memo h2 {
        margin: 60px;
    }

    .content-box {
        display: flex;
        column-gap: 100px;
        justify-content: center;
        align-items: center;
    }










    .humburger-nav {
        width: 35%;

        user-select: none;
    }

    #nav-checkbox:checked~.humburger-nav {
        left: 65%;
    }



    h2 {
        margin: 50px;
    }


    .first-view {
        height: 95vh;
        margin-bottom: 100px;
    }

    .first-view h1 {
        top: 50px;
        left: 40px;
    }





    .global-nav {
        display: flex;
        justify-content: center;
        align-items: center;

        height: 100px;
        width: 100%;
        background-color: #FFA99A;
        border-radius: 40px 40px 0 0;

        position: absolute;
        bottom: 0px;
    }

    .global-nav>ul {
        display: flex;
    }

    .global-text a {
        display: block;
        width: 220px;
        line-height: 80px;

        text-align: center;
    }

    .text-border {
        border-left: 2px solid #ffffff;
        border-right: 2px solid #ffffff;

        position: relative;
        transition: all .3s;
    }

    .global-logo {
        width: 200px;
        height: 160px;
        flex-shrink: 0;

        background-color: #FFA99A;
        border-radius: 90px 90px 0 0;

        margin-bottom: 60px;
    }

    .global-img {
        object-fit: contain;
        width: 100%;
        height: 100%;
    }

    .drop-menu {
        max-height: 0;
        transition: max-height 0.3s ease-in;
        overflow: hidden;

        width: 100%;
        padding-top: 10px;

        position: absolute;
        top: 80px;
        left: 0;
    }

    .text-border:hover .drop-menu,
    .drop-item:hover {
        max-height: 400px;
    }

    .text-border:hover .drop-item,
    .drop-menu:hover {
        display: block;
    }


    .drop-item {
        width: 100%;
        height: 70px;

        display: none;

        z-index: 999;

        opacity: 0.9;
        background-color: #ff9e8d;

        transition: all .3s;
        position: relative;
    }

    .drop-item a {
        line-height: 70px;
    }

    .drop-item::before {
        width: 100%;
        height: 2px;

        content: "";
        background-color: #ffffff;

        position: absolute;
        top: 0;
        left: 0;
    }

    .drop-item:hover {
        background-color: #ffbbaf;
    }





    .access {
        margin: 100px;
    }

    .map {
        width: 50%;
        margin: 20px;

    }

    .map iframe {
        width: 100%;
        height: 550px;
        border-radius: 40px;
    }

    .address {
        width: 50%;
    }

    .schedule {
        width: 650px;
    }

    .access-content p,
    .schedule p,
    #address {
        text-align: left;
    }

    .access-content .appointment-button {
        margin: auto 0 auto auto;
    }

    .appointment-button {
        font-size: 24px;
    }








    .column {
        position: relative;
        text-align: left;
        margin: 130px 0;
    }

    .content-img,
    .content-img-reverse {
        object-fit: cover;
        width: 45%;
        height: 500px;
    }

    .content-text,
    .content-text-reverse {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: start;
        gap: 30px 0;

        width: 55%;
        padding: 50px;
        margin: 0;

        background-color: #fcfcfc;
    }

    .content-text {
        position: absolute;
        top: 50%;
        transform: translate(0, -50%);
        right: 50px;

        padding: 70px 30px 70px 10%;
        z-index: -1;

    }

    .career {
        width: 110%;
    }

    .career div {
        display: flex;
        justify-content: space-between;
    }




    .faq-list {
        gap: 50px;
        width: 1000px;
        max-width: 100%;
    }

    .faq-list img {
        object-fit: cover;

        width: 300px;
        height: 200px;
    }

    .faq-content {
        bottom: 70px;

        width: 270px;
    }





    .explanatory li {
        margin: 0;
    }

    .explanatory img {
        height: 500px;
        width: 45%;
        margin: auto 0;
    }

    .explanatory h3 {
        margin-bottom: 30px;
    }



    .e-left,
    .e-right {
        display: flex;
        gap: 60px;
        padding: 80px 0;
    }

    .explanatory-text {
        padding: 30px 50px;
        margin: auto;
    }

    .e-right img {
        border-top-right-radius: 50px;
    }

    .e-left img {
        border-top-left-radius: 50px;
    }



    .warning {
        padding: 40px 20px;
        margin: 50px 100px;

        text-align: center;
    }

    .warning p {
        font-size: 24px;
    }








    .sick-card {
        max-width: 1250px;

        gap: 50px 20px;

        margin: auto;
    }

    .sick-item {
        gap: 30px;

        width: 230px;
        height: 320px;
        padding: 10px;
    }

    .sick-item p {
        font-size: 20px;
    }

    .sick-item img {
        width: 100px;
        height: 100px;
    }











    footer {
        width: 100%;
        margin-top: 100px;

        text-align: left;
    }

    footer p {
        font-size: 25px;
    }

    .footer-block-1 {
        display: flex;
        align-items: center;
        padding: 50px 0;
        margin: 0 5em;
    }

    .footer-block-1 img {
        width: 250px;
        height: 250px;
    }

    .footer-block-1 ul {
        width: 400px;
        margin: 30px 0 0 0;
    }


    .footer-block-1 nav {
        margin-left: 5%;
        margin-right: auto;
    }



    .appointment {
        display: block;
        text-align: center;

        height: 200px;
        width: 300px;
        border-radius: 50%;
        background-color: #fcfcfc;

    }

    .appointment p {
        font-size: 25px;
        margin: 25px;
        color: #D85E60;

    }

    .appointment img {
        height: 50px;
        width: 200px;
        margin-right: 30px;
    }



    .footer-block-2 {
        display: flex;
        align-items: end;
        width: 100%;
        margin-top: 0;
        padding: 10px 5em;
    }

    .footer-block-2 p {
        margin-right: auto;
        color: #ffffff;
    }

    .footer-block-2 li {
        margin: 0 15px;
    }

    .pay {
        line-height: 50px;
        margin: 0 3em;
    }


}