.all_container {
    margin-top: 4.375rem !important;
}

.bk{
    background: #F7F5EF;
}
.red{
    color: #a51818;
}
/*---▼ファーストビュー▼---*/

.fv_top {
    padding-top: 0;
}

.fv_top .fv_inner {
    position: relative;
    width: 95%;
    margin: 0 auto;
}

.top_contact_wrap {
    position: relative;
}

.top_contact_wrap .contact_top {
    position: absolute;
    top: 0.56rem;
    right: 0.56rem;
}

.top_contact_wrap .contact_top p {
    color: #60514a;
    font-size: 1rem;
    font-weight: 600;
}

.top_contact_wrap .contact_top img {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

.top_contact_wrap .contact_top a {
    color: #60514a;
    display: flex;
    gap: 0.31rem;
    font-family: Roboto;
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 150%;
    align-items: center;
}

.fv_top .fv_inner.wrap {
    width: 100%;
    max-width: calc(90% + 3rem);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.fv_top .fv_inner .bk_img {
    height: 30.875rem;
    width: 100%;
    object-fit: cover;
    border-radius: 3.125rem 0;
}

.fv_top .main_fv {
    max-width: calc(1315px + 3rem);
    margin: 0 auto;
    padding-top: 1rem;
}

.top_intro {
    position: relative;
    z-index: 1;
    margin-top: -9.25rem;
    padding: 0;
}

.top_intro_content {
    width: min(100%, 45.75rem);
    padding: 1.375rem 1.5rem 3.25rem;
    background: #fff;
    border-radius: 1rem 1rem 0 0;
}

.top_intro h1 {
    color: #009fe8;
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 0.06em;
}

.top_intro p {
    margin-top: 0.75rem;
    color: #231815;
    font-size: 1.5625rem;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}
@media screen and (max-width: 1024px) {
    .top_contact_wrap .contact_top {
        right: 0.7rem;
    }
}

@media screen and (max-width:768px) {
    .top_contact_wrap .contact_top {
        right: 0.7rem;
        top: 5rem;
    }
}

@media screen and (max-width:430px) {
    .fv_top {
        margin: 0 0 0 0;
        padding: 0;
    }
    .top_contact_wrap .contact_top {
        top: 1rem;
    }
    .fv_top .fv_inner .bk_img {
        object-position: center;
    }
}
/*---▼お知らせ▼---*/

section.news_sec {
    padding: 2rem 0 5rem;
}

section.news_sec ul {
    margin: 0;
}

section.news_sec .news_content {
    display: grid;
    grid-template-columns: 13rem 1fr;
    gap: 2rem;
    padding: 2.5rem 3.75rem;
    background: #faf6ed;
    border-radius: 0.75rem;
}
section.news_sec .news_content h2{
    text-align: left;
    font-family: "Rounded Mplus 1c", sans-serif;
    font-size: 1.875rem;
    font-weight: 500;
}

section.news_sec ul li {
    padding: 0.5rem 0;
}

.news_button {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
}

.news_button .btn span {
    display: inline-grid;
    width: 0.75rem;
    height: 0.75rem;
    place-items: center;
    line-height: 1;
    align-content: center;
}

/*---▼院長あいさつ▼---*/

.greeting_sec {
    position: relative;
    overflow: hidden;
}

.greeting_sec .wrap {
    position: relative;
    z-index: 1;
}

.greeting_sec h2 {
    margin-bottom: 2.5rem;
}

.greeting_band {
    position: absolute;
    right: 0;
    bottom: 3rem;
    left: 0;
    height: 17.6875rem;
    background: #faf5eb;
}

.greeting_content {
    display: grid;
    grid-template-columns: 24.5625rem minmax(0, 1fr);
    gap: 3.125rem;
    align-items: end;
}

.greeting_content > img {
    width: 24.5625rem;
    height: 30.125rem;
    object-fit: cover;
    object-position: center top;
}

.greeting_text {
    padding-bottom: 1.875rem;
}

.greeting_text h3 {
    color: #009fe8;
    font-size: 1.375rem;
    font-weight: 500;
    line-height: 1.45;
}

.greeting_text p {
    margin-top: 1.25rem;
    color: #231815;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.greeting_button {
    margin-top: 2.5rem;
    text-align: right;
}

.greeting_button .btn span {
    display: inline-grid;
    width: 0.75rem;
    height: 0.75rem;
    place-items: center;
    line-height: 1;
}

section.news_sec ul li a {
    display: flex;
    gap: 1rem;
    align-items: center;
    color: #009fe8;
}

section.news_sec ul li a .date {
    flex: 0 0 auto;
    color: #231815;
    font-size: 0.875rem;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
}

.news_line {
    width: 3rem;
    border-top: 1px solid #8f8a82;
}

section.news_sec ul li a h3 {
    color: #0996e2;
    font-size: 1rem;
    font-weight: 500;
    line-height: 120%;
}

@media screen and (max-width: 420px) {
    .fv_top .fv_inner { width: 100%; }
    .fv_top .fv_inner .bk_img { height: 22rem; border-radius: 2rem 0; }
    .top_intro { margin-top: -2rem; }
    .top_intro_content { padding: 1.25rem 1rem 2rem; }
    .top_intro h1 { font-size: 1.25rem; }
    .top_intro p { font-size: 1rem; }
    .top_intro br { display: none; }
    section.news_sec ul li a {
        gap: 0.5rem;
    }
    section.news_sec .news_content {
        display: block;
        padding: 1.5rem;
        border-radius: 0.75rem;
    }
    section.news_sec .news_content h2 {
        margin-bottom: 1rem;
    }
    .news_button {
        margin-top: 1rem;
    }
    section.news_sec ul li a .date {
        font-size: 0.75rem;
    }
    .news_line {
        width: 1.5rem;
    }
    .greeting_sec h2 {
        margin-bottom: 1.5rem;
    }
    .greeting_band {
        bottom: 3rem;
        height: 70%;
    }
    .greeting_content {
        display: block;
    }
    .greeting_content > img {
        width: 100%;
        height: auto;
        aspect-ratio: 24.5625 / 30.125;
    }
    .greeting_text {
        padding: 1.5rem 1rem 0;
    }
    .greeting_text h3 {
        font-size: 1.125rem;
    }
    .greeting_text p {
        font-size: 0.875rem;
    }
    .greeting_button {
        margin-top: 1.5rem;
    }
}


/*---▼診療内容▼---*/

.medical_sec h2 {
    margin-bottom: 2.5rem;
}

.medical_cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.875rem;
}

.medical_card {
    display: flex;
    gap: clamp(1rem, 2vw, 1.5rem);
    min-height: 27rem;
    padding: 1.625rem 2rem 2rem;
    flex-direction: column;
    align-items: center;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 0.375rem 1.25rem rgba(35, 24, 21, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.medical_card > img {
    width: 13.125rem;
    height: 13.125rem;
}

.medical_card h3 {
    margin-top: 0.875rem;
    color: #231815;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
}

.medical_card p {
    margin-top: 0.625rem;
    color: #231815;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.35;
}

.medical_arrow {
    display: inline-grid;
    width: 2.25rem;
    height: 2.25rem;
    margin-top: auto;
    place-items: center;
    border: 1px solid #0996e2;
    border-radius: 50%;
    background: #0996e2;
    color: #fff;
    font-size: 0.625rem;
    line-height: 1;
    transition: color 0.3s ease, background-color 0.3s ease;
}

.medical_card:hover {
    box-shadow: 0 0.75rem 1.75rem rgba(35, 24, 21, 0.2);
    transform: translateY(-0.25rem);
    opacity: 1;
}

.medical_card:hover .medical_arrow {
    background: #fff;
    color: #0996e2;
}

.medical_button {
    margin-top: 2.5rem;
    text-align: center;
}

.medical_button .btn span {
    display: inline-grid;
    width: 0.75rem;
    height: 0.75rem;
    place-items: center;
    line-height: 1;
}

@media screen and (max-width: 768px) {
    .medical_cards {
        grid-template-columns: 1fr;
    }
    .medical_card {
        min-height: 0;
    }
    .medical_card:last-child {
        grid-column: auto;
        width: 100%;
    }
}



/*---▼アクセス▼---*/
section.map_sec {
        background: #F7F5EF;
}
section.map_sec p{
    text-align: center;
}

section.access_top_sec .calendar_box p {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    line-height: 120%;
    padding: 1.12rem 0 0.8rem 0;
}

section.access_top_sec .calendar_box p span {
    color: #60514a;
    text-align: center;
    font-family: "Open Sans";
    font-weight: 700;
    line-height: 200%;
    border: 1px solid #60514a;
    padding: 0rem 1rem;
    white-space: nowrap;
}


/*診療時間*/

section.access_top_sec .calendar_box table {
    display: block;
    border-collapse: collapse;
    /* overflow-x: scroll;で、
  スマホ画面幅に表が入りきらない場合は
  横スクロールしてくれます */
    overflow-x: scroll;
}

section.access_top_sec .calendar_box table tbody {
    width: 100%;
}

section.access_top_sec .calendar_box table .time {
    color: #222222;
}

section.access_top_sec .calendar_box table th,
section.access_top_sec .calendar_box table td {
    width: 100%;
    background: #F7F5EF;
    padding: 0.7rem 0.8rem;
    text-align: center;
    border: 1px solid #ffffff;
    color: #60514a;
}
section.access_top_sec .calendar_box table td {
        padding: 0.7rem 2rem;
}
section.access_top_sec .calendar_box table th {
    background: #60514a;
    color: #FFF;
    line-height: 200%;
    font-weight: 700;
}

section.access_top_sec .calendar_box p.bottom {
    padding-bottom: 0;
}

@media screen and (max-width: 1024px) {
    section.access_top_sec {
        padding: 3rem 0;
    }
}

@media screen and (max-width: 430px) {
    section.access_top_sec .contact_box {
        margin-bottom: 0.5rem;
    }
    section.access_top_sec .text_box .logo {
        width: 100%;
    }
    section.access_top_sec .contact_box {
        flex-direction: column;
        align-items: center;
    }
    section.access_top_sec .contact_box .net {
        padding: 0.8rem;
        width: 100%;
        justify-content: center;
    }
    section.access_top_sec .calendar_box table th,
    section.access_top_sec .calendar_box table td {
        padding: 0.3rem;
    }
    section.access_top_sec {
        padding: 1em;
    }
    section.access_top_sec .calendar_box table .time {
        font-size: 0.9rem;
    }
}


/*---▼アクセス（トップ）▼---*/

.map_sec {
    background: #faf5eb;
}

.map_sec h2 {
    margin-bottom: 2.5rem;
}

.access_content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 3.375rem;
    align-items: start;
}

.map_sec .access_logo {
    width: 19rem;
}

.map_sec .access_contact_label,
.map_sec .access_note,
.map_sec .schedule_note,
.map_sec .access_map p {
    color: #231815;
    text-align: left;
}

.map_sec .access_contact_label {
    margin-top: 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.access_tel {
    display: block;
    margin-top: 0.125rem;
    color: #0996e2;
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1.2;
}

.access_reservation {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.access_reservation a {
    display: flex;
    width: 9rem;
    height: 2.375rem;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid #0996e2;
    border-radius: 0.3125rem;
    background: #fff;
    color: #0996e2;
    font-size: 0.9375rem;
    font-weight: 500;
}

.access_reservation .line_reservation {
    border-color: #aad401;
    color: #8eb400;
}

.access_reservation img {
    width: 1.625rem;
    height: 1.625rem;
}

.map_sec .access_note {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

.schedule_table {
    width: 100%;
    margin-top: 1.25rem;
    color: #231815;
    font-size: 0.875rem;
}

.schedule_table th,
.schedule_table td {
    padding: 0.5rem 0.25rem;
    border-bottom: 1px solid #aaa39a;
    text-align: center;
    font-weight: 400;
}

.schedule_table thead th:first-child,
.schedule_table tbody th {
    width: 8rem;
    text-align: left;
    font-weight: 500;
}

.schedule_table tbody th span {
    display: inline-block;
    margin-right: 0.25rem;
    color: #0996e2;
    font-size: 0.75rem;
}

.schedule_table td {
    color: #0996e2;
    font-size: 1rem;
}

.schedule_table td.saturday,
.schedule_note span {
    color: #aad401;
}

.map_sec .schedule_note {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    text-align: right;
}

.access_map .map_box {
    height: 18rem;
    margin: 0;
}

.map_sec .access_map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.access_map h3 {
    margin-top: 1.25rem;
    color: #231815;
    font-size: 1.125rem;
    font-weight: 500;
}

.map_sec .access_map p {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    line-height: 1.4;
}

/*---▼トップページ レスポンシブ調整▼---*/

:root {
    --top-section-space: clamp(3.5rem, 7vw, 5rem);
    --top-inline-space: clamp(1rem, 4vw, 3rem);
}

.news_sec .wrap,
.greeting_sec .wrap,
.medical_sec .wrap,
.map_sec .wrap {
    padding-right: var(--top-inline-space);
    padding-left: var(--top-inline-space);
}

.fv_top .fv_inner .bk_img {
    height: clamp(22rem, 41vw, 30.875rem);
    border-radius: clamp(2rem, 4.2vw, 3.125rem) 0;
}

.top_intro {
    margin-top: clamp(-9.25rem, -11vw, -3rem);
}

.top_intro_content {
    width: min(100%, 45.75rem);
    padding: clamp(1.25rem, 2vw, 1.875rem) clamp(1rem, 2.5vw, 2rem) clamp(2rem, 4vw, 3.25rem);
}

.top_intro h1 {
    font-size: clamp(1.5rem, 2.7vw, 2rem);
}

.top_intro p {
    font-size: clamp(1rem, 2vw, 1.5625rem);
}

section.news_sec,
.greeting_sec,
.medical_sec,
.map_sec {
    padding-top: var(--top-section-space);
    padding-bottom: var(--top-section-space);
}

section.news_sec {
    padding-top: clamp(2rem, 4vw, 3.5rem);
}

section.news_sec .news_content {
    grid-template-columns: minmax(10rem, 13rem) minmax(0, 1fr);
    gap: clamp(1.25rem, 3vw, 2rem);
    padding: clamp(1.5rem, 4vw, 2.5rem) clamp(1.5rem, 5vw, 3.75rem);
}

.greeting_sec h2,
.medical_sec h2,
.map_sec h2 {
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.greeting_content {
    grid-template-columns: minmax(17rem, 24.5625rem) minmax(0, 1fr);
    gap: clamp(1.5rem, 4vw, 3.125rem);
}

.greeting_content > img {
    width: 100%;
    height: clamp(22rem, 38vw, 30.125rem);
}

.greeting_text h3 {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
}

.greeting_text p,
.medical_card p {
    font-size: 1rem;
}

.medical_cards {
    gap: clamp(1rem, 2.5vw, 1.875rem);
}

.medical_card {
    min-height: clamp(23rem, 35vw, 27rem);
    padding: clamp(1.25rem, 2.5vw, 1.625rem) clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 3vw, 2rem);
}

.medical_card > img {
    width: min(100%, 13.125rem);
    height: auto;
    aspect-ratio: 1;
}

.access_content {
    gap: clamp(2rem, 5vw, 3.375rem);
}

.map_sec .access_logo {
    width: min(100%, 19rem);
}

.access_tel {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

.access_map .map_box {
    height: clamp(15rem, 28vw, 18rem);
}

@media screen and (max-width: 980px) {
    .medical_cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .medical_card:last-child {
        grid-column: 1 / -1;
        width: min(100%, 50%);
        justify-self: center;
    }
    .access_content {
        grid-template-columns: 1fr;
    }
    .access_map .map_box {
        height: clamp(15rem, 42vw, 20rem);
    }
}

@media screen and (max-width: 640px) {
    .all_container {
        margin-top: 4.375rem !important;
    }
    .fv_top .fv_inner {
        width: 100%;
    }
    .fv_top .fv_inner .bk_img {
        height: clamp(20rem, 90vw, 26rem);
        border-radius: 2rem 0;
    }
    .top_intro {
        margin-top: -3rem;
    }
    .top_intro br {
        display: none;
    }
    section.news_sec .news_content {
        display: block;
    }
    section.news_sec .news_content h2 {
        margin-bottom: 1rem;
        font-size: 1.5625rem;
    }
    .news_button {
        margin-top: 1.25rem;
        text-align: center;
    }
    .greeting_band {
        bottom: 1rem;
        height: 65%;
    }
    .greeting_content {
        display: block;
    }
    .greeting_content > img {
        height: auto;
        width: 80%;
        margin: auto;
        aspect-ratio: 24.5625 / 30.125;
    }
    .greeting_text {
        padding: 1.5rem 0 0;
    }
    .greeting_button {
        margin-top: 1.5rem;
        text-align: center;
    }
    .medical_cards {
        grid-template-columns: 1fr;
    }
    .medical_card,
    .medical_card:last-child {
        grid-column: auto;
        width: 100%;
        min-height: 0;
        gap: 1rem;
    }
    .medical_card > img {
        width: 50%;
    }
    .access_reservation a {
        width: auto;
        flex: 1;
        font-size: clamp(0.75rem, 3.5vw, 0.9375rem);
    }
    .schedule_table {
        font-size: clamp(0.625rem, 2.8vw, 0.875rem);
    }
    .schedule_table th,
    .schedule_table td {
        padding: 0.45rem 0.125rem;
    }
    .schedule_table thead th:first-child,
    .schedule_table tbody th {
        width: 6.25rem;
    }
}

@media screen and (max-width: 768px) {
    .access_content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .map_sec .access_logo {
        width: min(100%, 19rem);
    }
    .access_reservation a {
        flex: 1;
    }
    .access_map .map_box {
        height: 15rem;
    }
}

/*---▼リンクセクション▼---*/

section.link_box .flex_box {
    gap: 1rem;
    display: flex;
}

section.link_box .flex_box>a {
    overflow: hidden;
    position: relative;
    background: #000000;
    height: 20.875rem;
    outline: 1px solid #FFFFFF;
    outline-offset: -0.98rem;
    display: block;
}

section.link_box .flex_box>a h2 {
    align-items: center;
    bottom: 0;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 80%;
    font-family: "Noto Sans";
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 150%;
    /* 3.75rem */
    letter-spacing: 0.25rem;
}

section.link_box .flex_box>a h2 span {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 0.1875rem;
    display: block;
    color: #fff;
}

section.link_box .flex_box>a img {
    opacity: 0.7;
    overflow: hidden;
    position: relative;
    transition: transform .6s ease;
    display: block;
    height: 20.875rem;
    object-fit: cover;
}

section.link_box .flex_box>a:hover img {
    transform: scale(1.1);
}

@media screen and (max-width: 1024px) {
    section.link_box .flex_box>a,
    section.link_box .flex_box>a img {
        height: 16.875rem;
    }
}

@media screen and (max-width: 430px) {
    section.link_box .flex_box>a h2 {
        font-size: 2rem;
    }
    section.link_box .flex_box>a h2 span {
        font-size: 1.3rem;
    }
}

/*---▼リンクセクション▼---*/

section.link_box a {
    overflow: hidden;
    position: relative;
    background: #000000;
    height: 20.875rem;
    outline: 1px solid #FFFFFF;
    outline-offset: -0.98rem;
    display: block;
}

section.link_box a h2 {
    align-items: center;
    bottom: 0;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    width: 80%;
    font-family: "Noto Sans";
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 150%;
    /* 3.75rem */
    letter-spacing: 0.25rem;
}

section.link_box a h2 span {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: 0.1875rem;
    display: block;
    color: #fff;
}

section.link_box a img {
    opacity: 0.7;
    overflow: hidden;
    position: relative;
    transition: transform .6s ease;
    display: block;
    height: 20.875rem;
    object-fit: cover;
}

section.link_box a:hover img {
    transform: scale(1.1);
}

@media screen and (max-width: 1024px) {
    section.link_box a,
    section.link_box a img {
        height: 11.875rem;
    }
}

@media screen and (max-width: 430px) {
    section.link_box a h2 {
        font-size: 2rem;
    }
    section.link_box a h2 span {
        font-size: 1.3rem;
    }
}


/* 必須 */

.accordion-content {
    display: none;
}


/* 装飾用 */

.accordion {
    margin-bottom: 5rem;
}

.accordion a {
    text-decoration: underline;
}

.accordion-header {
    background-color: #F5F5F5;
    padding: 1.5rem 45px 1.5rem 20px;
    margin: 1.75em 0 0;
    transition: background .3s ease;
    cursor: pointer;
    position: relative;
    color: #000;
    font-family: "Noto Sans JP";
    font-size: 1rem;
    font-weight: 700;
    line-height: 150%;
}

.accordion-header::before,
.accordion-header::after {
    position: absolute;
    content: '';
    top: 1px;
    right: 20px;
    bottom: 0;
    width: 12px;
    height: 2px;
    margin: auto;
    background: #151E2F;
}

.accordion-header::after {
    transform: rotate(-90deg);
    transition: transform 0.3s;
}

.accordion-header.active::after {
    transform: rotate(0deg);
}

.accordion-content {
    background-color: #F5F5F5;
    padding: 1.5rem 20px 1.5rem;
    padding-top: 0;
}

.accordion-header span,
.accordion-content span {
    padding-left: 3rem;
    position: relative;
}

.accordion-content span {
    padding-left: 3rem;
    position: relative;
    display: block;
    border-top: 1px solid #000;
    padding-top: 1rem;
}

.accordion-header span::before {
    position: absolute;
    content: "Q.";
    top: -6px;
    left: 0;
    color: #008CD6;
    font-family: Montserrat;
    font-size: 1.875rem;
    font-weight: 500;
    line-height: 100%;
}

.accordion-content span::before {
    position: absolute;
    content: "A.";
    top: 15px;
    left: 0;
    color: #FF9D89;
    font-family: Montserrat;
    font-size: 1.875rem;
    font-weight: 500;
    line-height: 100%;
}


/* hover */

.accordion-header:hover {
    background-color: #F2F2F2;
}

/*ふわっとする動き*/
.fade-in {
 overflow: hidden;
    opacity: 0;
    transition: all 1.5s;
    transform: translate(0,50px);
}
.fade-right {
 overflow: hidden;
    opacity: 0;
    transition: all 1.5s;
   transform: translate(50px,0);
}
.fade-left {
 overflow: hidden;
    opacity: 0;
    transition: all 1.5s;
   transform: translate(-50px,0);
}

.scrollin{
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

@media screen and (min-width: 641px) and (max-width: 768px) {
    .medical_card:last-child {
        grid-column: auto;
        width: 100%;
    }
}
