h2 {
    font-size: 0.5rem;
    white-space: nowrap;
}

h3 {
    font-size: 0.45rem;
}

h4 {
    font-size: 0.4rem;
}

h2 span {
    font-size: 0.5rem;
    font-weight: 900;
    font-family: "Zen Maru Gothic", sans-serif;
}

@media screen and (max-width: 480px) {
    h2 {
        font-size: 24px;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 18px;
    }

    h2 span {
        font-size: 20px;
    }
}

.main-visual {
    width: 100%;
    height: auto;
    margin: 0 auto;
    position: relative;
    padding-top: 5vw;
    padding-bottom: 10vw;
}

.main-visual .catch-copy,
.main-visual .clinic-name {
    position: absolute;
    z-index: 10;
    display: flex;
    gap: 1vw;
    top: 5%;
    right: 2%;
}

.main-visual .clinic-name {
    top: auto;
    bottom: 2vw;
    right: auto;
    left: 3vw;
    text-align: center;
}

.main-visual .clinic-name h1 {
    font-size: 5vw;
    line-height: 1.1;
    width: fit-content;
    color: #fafafa;
    text-shadow: 0px 6px 10px rgba(148, 148, 148, 0.8);
}

.main-visual .clinic-name h1 span {
    font-size: 2vw;
}

.main-visual .catch-copy.fadeup.is-animated {
    animation: fadeup 3s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}

.main-visual .clinic-name.opacityFadeIn {
    animation: opacityFadeIn 3.5s ease 0s 1 normal;
}

.main-visual .catch-copy p {
    font-size: 3vw;
    height: fit-content;
    background-color: #fafafa;
    writing-mode: vertical-rl;
    padding-top: 1vw;
    border-radius: 0.5vw;
    box-shadow:
        0.25vw 0.25vw 0px 0px #7ecbba,
        0.5vw 0.5vw 0px 0px #b9ded5;
}

.main-visual .background {
    width: 100%;
    height: 100%;
    background: unset;
    position: absolute;
    overflow: hidden;
    top: -5vw;
    z-index: -1;
}

.main-visual .background.opacityFadeIn {
    animation: opacityFadeIn 4.5s ease 0s 1 normal;
}

.wave {
    opacity: 0.08;
    position: absolute;
    top: -50%;
    left: 80%;
    background: #0af;
    width: 100%;
    height: 100vw;
    margin-left: -25%;
    margin-top: -25%;
    transform-origin: 50% 48%;
    border-radius: 59%;
    animation: drift 4000ms infinite linear;
}

.wave.-two {
    animation: drift 6000ms infinite linear;
    opacity: 0.1;
    background: yellow;
}

.wave.-three {
    animation: drift 7000ms infinite linear;
    background: rgb(124, 214, 210);
}

.wave.-four {
    animation: drift 8000ms infinite linear;
    background: rgb(96, 212, 183);
}

.wave.-five {
    animation: drift 9000ms infinite linear;
}

.box:after {
    content: "";
    display: block;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 11;
}

@keyframes drift {
    from {
        transform: rotate(0deg);
    }
    from {
        transform: rotate(360deg);
    }
}

.main-visual .background-2 {
    position: absolute;
    width: 100vw;
    height: 50vw;
    bottom: -10vw;
    background-color: inherit;
}

.circle {
    opacity: 0.12;
    position: absolute;
    left: 0;
    bottom: 5vw;
    background-image: linear-gradient(25deg, #7ecbba, #b9ded5, #deeae7);
    width: 25vw;
    height: 25vw;
    transform-origin: 50% 48%;
    border-radius: 50%;
    animation: fuwafuwa 8000ms infinite linear;
}

.circle.-two {
    left: 15%;
    bottom: 0vw;
    background-image: unset;
    background-color: gold;
    width: 20vw;
    height: 20vw;
    animation: fuwafuwa 9000ms infinite linear;
}

.circle.-three {
    left: -5%;
    bottom: 24vw;
    background-image: unset;
    background-color: blue;
    width: 15vw;
    height: 15vw;
    animation: fuwafuwa 6000ms infinite linear;
    z-index: -2;
}

.main-visual .background-2.opacityFadeIn {
    animation: opacityFadeIn 4.5s ease 0s 1 normal;
}

#slider-top {
    width: 90vw;
    height: 50vw !important;
    margin: 0 auto;
    position: relative;
}

@media screen and (max-width: 834px) {
    .main-visual {
        padding-top: 70px;
        padding-bottom: 0;
    }
}

@media screen and (max-width: 480px) {
    #slider-top {
        height: 65vh !important;
    }

    .main-visual .catch-copy,
    .main-visual .clinic-name {
        gap: 12px;
        right: 5%;
    }

    .main-visual .clinic-name {
        bottom: 4vw;
        left: 4vw;
    }

    .main-visual .clinic-name h1 {
        font-size: 28px;
    }

    .main-visual .clinic-name h1 span {
        font-size: 18px;
    }

    .main-visual .catch-copy p {
        font-size: 24px;
        padding-top: 5px;
        border-radius: 5px;
        box-shadow:
            2.5px 2.5px 0px 0px #7ecbba,
            5px 5px 0px 0px #b9ded5;
    }

    .circle {
        width: 160px;
        height: 160px;
        bottom: -40px;
    }

    .circle.-two {
        width: 140px;
        height: 140px;
        bottom: -60px;
    }

    .circle.-three {
        bottom: -90px;
        width: 100px;
        height: 100px;
    }

    .wave {
        top: 10%;
    }
}

/*おしらせ*/

#news {
    width: 100%;
    position: relative;
}

#news .wrap {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 40% 60%;
    grid-template-rows: 1fr 1fr;
    grid-template-areas: "A C" "B C";
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0;
    gap: 0.3rem;
}

#news .wrap h2 {
    grid-area: A;
    text-align: center;
}

#news .wrap a {
    grid-area: B;
    text-align: center;
}

#news .wrap table {
    grid-area: C;
}

#news th {
    padding-right: 0.35rem;
}

#news .wrap table a:hover {
    color: #2cb8a0;
}

#news .rest {
    width: 70%;
    margin: 50px auto;
}
#news .rest h3 {
    text-align: center;
    margin-top: 30px;
}
#news .rest p {
    width: 90%;
    margin-top: 30px;
}
#news .rest small {
    width: 90%;
    margin-top: 30px;
}
#news .caution {
    width: 80%;
    margin: 0 auto;
    border: 5px red solid;
    padding: 5%;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

#news .caution h3 {
    text-align: center;
    margin: 0 auto;
    width: fit-content;
    background-color: red;
    color: #f0f0f0;
    font-weight: bold;
    padding: 1.25% 2.5%;
}

#news .caution p span {
    color: red;
    text-decoration: underline;
    font-weight: bold;
}

#news .caution .tel {
    color: red;
    display: block;
    width: fit-content;
    margin: 0 auto;
    scale: 1.2;
}

#news .emphasis {
    color: red;
    text-decoration: underline;
    font-weight: bold;
    text-align: center;
}

#news .pneumococcal-vaccine {
    width: 80%;
    margin: 0 auto;
    margin-top: 1.5rem;
    border: 5px #2cb8a0 solid;
    padding: 5%;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

#news .pneumococcal-vaccine h3 {
    text-align: center;
    text-align: center;
    margin: 0 auto;
    width: fit-content;
    background-color: #2cb8a0;
    color: #f0f0f0;
    font-weight: bold;
    padding: 1.25% 2.5%;
}

#news .pneumococcal-vaccine a {
    color: #2cb8a0;
    font-weight: bold;
    font-size: 0.35rem;
}
#news .pneumococcal-vaccine p {
    width: fit-content;
    display: block;
    margin: 0 auto;
}

#news .pneumococcal-vaccine .pdf {
    width: fit-content;
    display: block;
    margin: 0 auto;
}

#news h3 span {
    display: inline-block;
}

@media screen and (max-width: 834px) {
    #news .wrap {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto 1fr;
        grid-template-areas: "A" "C" "B";
        gap: 0.5rem;
        width: 80%;
    }
}

@media screen and (max-width: 480px) {
    #news .wrap {
        padding: 90px 0;
        gap: 20px;
    }
    #news table,
    #news tr,
    #news th {
        display: block;
        width: 100%;
    }

    #news table {
        width: 90%;
        margin: 0 auto;
    }

    #news .pneumococcal-vaccine a {
        font-size: 16px;
    }
}

/*発熱外来/ワクチン/マイナンバー*/
#fever-outpatient,
#vaccine,
#my-number {
    width: 100%;
    padding: 1rem 0;
}

#fever-outpatient .wrap,
#fever-outpatient .wrap .contents,
#vaccine .wrap,
#vaccine .wrap .contents,
#my-number .wrap,
#my-number .wrap .contents {
    width: 90%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
}

#fever-outpatient .wrap .contents,
#vaccine .wrap .contents,
#my-number .wrap .contents {
    width: auto;
}

#my-number .wrap h2 {
    text-align: center;
}

#fever-outpatient .wrap .inner,
#vaccine .wrap .inner,
#my-number .wrap .inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
}

#fever-outpatient .wrap .inner .image,
#vaccine .wrap .inner .image,
#my-number .wrap .inner .image {
    padding: 10%;
    position: relative;
}

#fever-outpatient .wrap .inner .image img,
#vaccine .wrap .inner .image img,
#my-number .wrap .inner .image img {
    width: 100%;
    border-radius: 5%;
    box-shadow: 0px 6px 10px -6px rgba(148, 148, 148, 0.5);
}
#vaccine ul {
    margin-left: 3vw;
}
#vaccine li {
    list-style: circle;
}

#vaccine .image {
    order: 2;
}

#vaccine .contents {
    order: 1;
}

#fever-outpatient,
#my-number {
    background-color: aliceblue;
    background-image: url(../img/background/subtle-dark-vertical.png);
}

#fever-outpatient .img1 {
    position: absolute;
    width: 15vw;
    animation: fuwafuwa 9000ms infinite;
    bottom: -10%;
    left: -7%;
}

#vaccine .img1 {
    position: absolute;
    width: 18vw;
    animation: fuwafuwa 9000ms infinite;
    bottom: -5vw;
    right: -5vw;
    z-index: 1;
}

#my-number .contents ol li {
    list-style-type: decimal;
}

@media screen and (max-width: 600px) {
    #fever-outpatient .wrap .inner,
    #vaccine .wrap .inner,
    #my-number .wrap .inner {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    #fever-outpatient .wrap .contents,
    #vaccine .wrap .contents,
    #my-number .wrap .contents {
        width: 80%;
    }

    #fever-outpatient h2,
    #vaccine h2,
    #my-number h2 {
        text-align: center;
    }

    #fever-outpatient {
        padding-top: 0;
    }
}

@media screen and (max-width: 480px) {
    #fever-outpatient,
    #vaccine,
    #my-number {
        padding: 60px 0;
    }

    #fever-outpatient .wrap,
    #fever-outpatient .wrap .contents,
    #vaccine .wrap,
    #vaccine .wrap .contents,
    #my-number .wrap,
    #my-number .wrap .contents {
        gap: 20px;
    }

    #fever-outpatient .img1 {
        width: 28vw;
        right: -7%;
        left: auto;
    }

    #vaccine .img1 {
        width: 24vw;
        bottom: -45px;
    }

    #my-number .external-link {
        margin: 0;
    }

    #my-number .external-link::before {
        top: 16px;
    }
}

/*あいさつ*/
#greeting {
    width: 100%;

    background: url(../img/background/doctor.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#greeting .wrap {
    width: 80%;
    padding: 2rem 0;
    margin: 0 auto;
    background: linear-gradient(90deg, rgba(250, 250, 250, 0.9), rgba(250, 250, 250, 0.7));
}
#greeting .wrap p {
    padding: 2rem 1rem 1rem;
}

@media screen and (max-width: 480px) {
    #greeting .wrap {
        padding: 120px 0;
    }

    #greeting .wrap p {
        padding: 60px 30px;
    }
}

/*診療科目*/
#medical-care-menu {
    width: 100%;
    background-image: linear-gradient(25deg, #7ecbba, #b9ded5, #deeae7);
    padding: 5vw 0;
}

#medical-care-menu h2 {
    text-align: center;
}

#medical-care-menu .wrap {
    width: 70%;
    margin: 0 auto;
    display: grid;
    gap: 0.5vw;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 20vw 20vw;
    padding: 5vw 0 2.5vw;
}

#medical-care-menu .wrap .icon {
    display: grid;
    grid-template-rows: 14vw 6vw;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-color: rgba(250, 250, 250, 0.7);
    position: relative;

    overflow: hidden;
    transition-duration: 0.4s;
    z-index: 2;

    box-shadow: 0px 6px 10px -6px rgba(148, 148, 148, 0.7);
}

#medical-care-menu .wrap .icon::after {
    background: unset;
    background-image: radial-gradient(rgba(233, 250, 239, 1), rgba(168, 240, 209, 1));
    border-radius: 50%;
    content: "";
    display: block;
    margin: auto;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    width: 100%;
    padding-top: 100%;
    height: 0;
    z-index: -1;
    transform: translateY(-50%) scale(0.1);
    transition:
        opacity 0.5s,
        transform 0s;
    transition-delay: 0s, 0.4s;
}

#medical-care-menu .wrap .icon:hover {
    color: #2cb8a0;
}

#medical-care-menu .wrap .icon:hover::after {
    opacity: 1;
    transform: translateY(-50%) scale(2);
    transition-delay: 0s;
    transition:
        opacity 0.8s,
        transform 0.6s ease-in-out;
}

#medical-care-menu .wrap a .icon::before {
    position: absolute;
    border: 2px solid #fafafa;
    height: 18.5vw;
    width: 15vw;
    z-index: 3;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#medical-care-menu .wrap .icon img {
    width: auto;

    height: 50%;
    text-align: center;
    margin: 0 auto;
}

#medical-care-menu .wrap .icon p {
    white-space: nowrap;
}

#medical-care-menu .wrap .icon6 img,
#medical-care-menu .wrap .icon8 img {
    height: 70%;
    width: auto;
}

#medical-care-menu button {
    color: #fafafa;
    border: 1px solid #fafafa;
    box-shadow: 0px 6px 10px -6px rgba(148, 148, 148, 0.7);
}

#medical-care-menu button span {
    position: relative;
}

#medical-care-menu button::before {
    background-image: linear-gradient(25deg, #b9ded5, #f0f0f0);
}

#medical-care-menu button:hover {
    color: #4d4d4d;
}

#medical-care-menu .button {
    width: 70%;
    margin: 0 auto;
    display: flex;
    justify-content: right;
}

@media screen and (max-width: 600px) {
    #medical-care-menu .wrap {
        width: 90%;
    }

    #medical-care-menu .wrap a .icon::before {
        width: 19.5vw;
    }

    #medical-care-menu .button {
        width: 30vw;
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    #medical-care-menu {
        padding: 60px 0;
    }

    #medical-care-menu .wrap {
        gap: 20px;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 36vw 36vw 36vw;
        padding: 20px 0 30px;
    }

    #medical-care-menu .wrap .icon {
        grid-template-rows: 26vw 10vw;
    }

    #medical-care-menu .wrap a .icon::before {
        display: none;
    }
}

/*link*/
#link {
    padding: 5vw 0;
    width: 80%;
    margin: 0 auto;
    display: flex;
    gap: 5vw;
}

#link div,
#link div a {
    width: 100%;
}

#link button {
    width: 100%;
    line-height: normal;
    padding: 2.5%;
}

#link button::before {
    width: 2.4rem;
    height: 2.4rem;
}

#link button:hover:before {
    width: 14rem;
    height: 14rem;
}

#link button span {
    font-weight: 900;
    color: #83ccd2;
}

#link button:hover span {
    color: #fafafa;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

@media screen and (max-width: 480px) {
    #link {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 40px 0;
    }

    #link button:hover:before {
        width: 16rem;
        height: 16rem;
    }
}

/*gallery*/

#gallery {
    padding: 5vw 0;
}

#gallery img {
    width: 100%;
    height: 24vw;
    object-fit: cover;
}
/* スライドの動き等速 */
.swiper-wrapper {
    transition-timing-function: linear;
}

/* Swiperのコンテナに対する基本的なスタイル */
.swiper {
    width: 100%;
    overflow: hidden;
}

/* スライド画像のスタイル */
.swiper-slide {
    width: auto; /* 画像の幅に合わせてスライドの幅を自動調整 */
    display: inline-block;
}

@media screen and (max-width: 600px) {
    #gallery img {
        height: 30vw;
    }

    #gallery {
        padding: 20px 0 60px 0;
    }
}

/* 画面幅が480px以下の場合 */
@media screen and (max-width: 480px) {
    .swiper-slide {
        width: 100%; /* スライドの幅を100%に設定して1枚ずつ表示 */
    }

    #gallery img {
        height: 60vw;
    }
}

/*contact*/
#contact h2 {
    text-align: center;
}

#contact .wrap {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

#contact .wrap .image img {
    width: 80%;
    border-radius: 5%;
    box-shadow: 0px 6px 10px -6px rgba(148, 148, 148, 0.5);
}

@media screen and (max-width: 600px) {
    #contact .wrap {
        display: flex;
        flex-direction: column;
        padding-top: 0.5rem;
        gap: 1rem;
    }

    #contact .wrap .image img {
        width: 100%;
    }

    #contact .wrap .contents {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 0.5rem;
    }

    #contact .wrap .contents a {
        margin: 0 auto;
        width: fit-content;
    }

    #contact .wrap .contents table {
        width: 60%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 480px) {
    #contact .wrap {
        padding: 30px 0;
        gap: 45px;
    }

    #contact .wrap .contents {
        gap: 20px;
        width: 90%;
        margin: 0 auto;
    }

    #contact .wrap .contents table {
        width: 90%;
    }
}

/*診療時間*/
#bussiness-time {
    width: 90%;
    margin: 0 auto;
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    border-top: #7ecbba 5px solid;
}

#bussiness-time table {
    border: 1px solid #ccc;
    width: 100%;
    background-color: #fafafa;
    border-radius: 1vw;
}

#bussiness-time table th,
#bussiness-time table td {
    font-size: 1.5vw;
    border: 1px solid #ccc;
    line-height: 1.2;
    padding: 1.5vw 2.5vw;
    vertical-align: middle;
    text-align: center;
    white-space: nowrap;
}

@media screen and (max-width: 600px) {
    #bussiness-time {
        width: 90% !important;
        margin: auto;
    }

    #bussiness-time .wrap {
        width: 100%;
        margin: 0 auto;
    }

    #bussiness-time table {
        max-width: 100%;
        white-space: nowrap;
        min-width: min-content;
    }

    #bussiness-time::-webkit-scrollbar {
        width: 10%;
        height: 5px;
    }

    #bussiness-time::-webkit-scrollbar-thumb {
        background: #2cb8a0;
    }

    #bussiness-time table th,
    #bussiness-time table td {
        font-size: 10px;
        padding: 1vw;
    }
}

@media screen and (max-width: 480px) {
    #bussiness-time {
        padding: 60px 0;
        gap: 45px;
    }
}

#schedule-top {
    width: 80%;
    margin: 0 auto;
    margin-bottom: 1rem;
}

#schedule-top h2 {
    text-align: center;
}

#schedule-top .wrap-schedule h3 {
    text-align: center;
    padding-bottom: 0.5rem;
    font-weight: bold;
}

#schedule-top .calendar {
    width: 100%;
    border: 2px #ccc solid;
}

#schedule-top .calendar th {
    vertical-align: top;
    font-weight: bold;
}

#schedule-top .calendar tr {
    height: auto;
    border-bottom: 2px #ccc solid;
}

#schedule-top .calendar tr th:first-child {
    width: 16%;
    border-right: 2px solid #ccc;
    text-align: center;
}

#schedule-top .calender tr.weekday {
    border-bottom: 2px #ccc solid;
}

#schedule-top .calendar .weekday th {
    text-align: center;
    vertical-align: middle;
    background-color: #b9ded5;
    border-left: 1px #ccc solid;
}

#schedule-top .calendar th,
#schedule-top .calendar td {
    width: 12%;
    height: 100%;
    line-height: normal;
    padding: 0 1%;
    white-space: nowrap;
    border-right: 2px solid #ccc;
    font-size: 0.3rem;
    vertical-align: middle;
}

#schedule-top .calendar .holiday {
    color: red;
}

#schedule-top .calendar .sun span,
#schedule-top .calendar .holiday span {
    text-align: center;
}

#schedule-top .calendar .sat {
    color: blue;
}

#schedule-top .calendar .sat span {
    color: #333;
}

@media screen and (max-width: 600px) {
    #schedule-top {
        width: 90%;
    }
}

/*@media screen and (max-width: 480px) {
    #schedule-top .calendar {
        width: 580px;
        margin-right: 10px;
    }

    #schedule-top .calendar th {
        border-bottom: #2cb8a0 dotted 1px;
    }

    #schedule-top .wrap-schedule {
        width: 100%;
        overflow-x: scroll;
        margin: 0 auto;
    }

    #schedule-top .calendar tr {
        height: 75px;
        width: 100%;
    }
    #schedule-top .calendar th,
    #schedule-top .calendar td {
        width: 90px;
    }
    #schedule-top .calendar .weekday {
        height: 30px;
    }

    #schedule-top .calendar .mon,
    #schedule-top .calendar .sun,
    #schedule-top .calendar .tue {
        width: 45px;
    }

    #schedule-top .calendar .weekday .sunday,
    #schedule-top .calendar .weekday .monday,
    #schedule-top .calendar .weekday .tuesday {
        width: 45px;
    }
}*/

@media screen and (max-width: 600px) {
    #schedule-top {
        width: 95%;
    }

    #schedule-top .calendar {
        margin: auto;
        max-width: 100%;
    }

    #schedule-top .wrap-schedule {
        width: 100%;
        margin: 0 auto;
    }

    #schedule-top .calendar tr {
        height: auto;
        width: auto;
        max-width: 100%;
    }
    #schedule-top .calendar th,
    #schedule-top .calendar td {
        font-size: 8px;
        padding: 2px 1%;
        width: 12.5% !important;
    }
}

@media screen and (max-width: 480px) {
    #schedule-top {
        margin-bottom: 60px;
    }
}

.hidden {
    display: none;
}

#doctor {
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    border-top: #7ecbba 5px solid;
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

#doctor .doctor-schedule tr:first-child {
    background-color: #b9ded5;
}

#doctor .doctor-schedule {
    width: auto;
}
#doctor .doctor-schedule tr td,
#doctor .doctor-schedule tr th {
    border: none;
    border-right: 2px solid #ccc;
    border-left: 2px solid #ccc;
}

#doctor .doctor-schedule tr {
    border-bottom: 2px solid #ccc;
}

#doctor .doctor-schedule tr:first-child {
    background-color: #b9ded5;
}

#doctor .doctor-schedule th:first-child {
    text-align: center;
    vertical-align: middle;
}

#doctor .doctor-schedule {
    width: auto;
}
#doctor .doctor-schedule tr td,
#doctor .doctor-schedule tr th {
    border: none;
    border-right: 2px solid #ccc;
    border-left: 2px solid #ccc;
    white-space: nowrap;
}

#doctor .doctor-schedule tr {
    border-bottom: 2px solid #ccc;
}

#doctor .caution {
    text-align: center;
    color: #2cb8a0;
    font-weight: bold;
    font-size: 0.4rem;
}

#doctor .caution span {
    display: inline-block;
}

.wrap-tables {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.wrap-tables section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-button {
    padding-bottom: 1rem;
}

@media screen and (max-width: 480px) {
    .wrap-tables {
        gap: 70px;
    }

    .wrap-tables section {
        gap: 45px;
    }

    .link-button {
        padding-bottom: 45px;
    }

    #doctor {
        width: 90%;
    }

    #doctor .doctor-schedule th,
    #doctor .doctor-schedule td {
        font-size: 10px;
    }

    #doctor {
        margin-top: 45px;
        padding-top: 45px;
    }

    #doctor .caution {
        font-size: 18px;
    }
}

.wrap-tables h2 {
    text-align: center;
}

.wrap-tables h2 {
    position: relative;
    width: fit-content;
    margin: 0 auto;
    padding: 0 5%;
}

.wrap-tables h2:after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -0.3rem;
    width: 100%;
    height: 7px;
    opacity: 0.7;
    z-index: 1;
    background: -webkit-repeating-linear-gradient(-45deg, #b9ded5, #b9ded5 2px, #fafafa 2px, #fff 4px);
    background: repeating-linear-gradient(-45deg, #b9ded5, #b9ded5 2px, #fafafa 2px, #fff 4px);
}

#calendar1 .wrap button,
#calendar2 .wrap button {
    margin-bottom: 0.5rem;
}

#calendar1 .wrap .inner {
    width: 100%;
    display: flex;
    justify-content: end;
}

@media screen and (max-width: 480px) {
    #calendar1 .wrap button,
    #calendar2 .wrap button {
        margin-bottom: 20px;
        width: 60px;
    }
}

#calendar1 #toggleButton2 {
    display: none;
}

#my-number .wrap .facility p {
    text-align: center;
}
#my-number .wrap .facility .btn {
    width: fit-content;
    margin: 0 auto;
}
