#header {
    top: 380px!important;
}


/*---▼ファーストビュー▼---*/

.fv_top {
    height: 400px;
    background: #fff;
}

.fv_top .fv_inner {
    position: relative;
}

.fv_top .fv_inner .bk_img {
    position: absolute;
    top: 0;
    height: 400px;
    width: 100%;
    object-fit: cover;
    object-position: right;
}

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

.fv_top .fv_inner .txt_sec {
    position: relative;
}

.fv_top .fv_inner .txt_sec h1 img {
    width: 570px;
}

.fv_top .fv_inner .txt_sec h2 {
    color: #231815;
    font-size: 1.8rem;
    font-weight: 400;
    line-height: 170%;
    letter-spacing: 2px;
}

.fv_top .fv_inner .txt_sec .fv_concept {
    display: flex;
    gap: 1rem;
    color: #fff;
    align-items: center;
    font-size: 2rem;
    font-weight: 700;
    line-height: 150%;
    margin-top: 1.12rem;
}

.fv_top .fv_inner .txt_sec .fv_concept img {
    width: 200px;
}

@media screen and (max-width: 1024px) {
    #header {
        top: 230px !important;
    }
    .fv_top {
        height: 250px;
    }
    .fv_top .fv_inner {
        height: 250px;
    }
    .fv_top .fv_inner .bk_img {
        position: absolute;
        top: 0;
        height: 250px;
        width: 100%;
        object-fit: cover;
    }
    .fv_top .fv_inner .txt_sec h1 img {
                width: 250px;
        padding-top: 2rem;
    }
    .fv_top .fv_inner .txt_sec .fv_concept img {
        width: 80px;
    }
    .fv_top .fv_inner .txt_sec .fv_concept {
        display: inline-flex;
        gap: 0.5rem;
        padding: 0;
    }
    .fv_top .fv_inner .txt_sec h2 {
        color: #231815;
        font-size: 1.1rem;
        text-align: center;
        font-weight: 400;
        line-height: 120%;
        letter-spacing: 1.5px;
    }
}

@media screen and (max-width:430px) {
    .main_fv {
        max-width: 100%;
        flex-direction: column;
        padding: 0 0.5rem;
        top: 60%!important;
        padding-top: 9rem;
    }
    .fv_top .fv_inner .bk_img {
        object-position: right;
    }
    .fv_top .fv_inner .txt_sec h1 img {
        display: none;
    }
    .fv_inner .img_sec img {
        display: none;
    }
    .fv_top .fv_inner .txt_sec .fv_concept {
        margin-top: 9rem;
    }
    .fv_top .fv_inner .txt_sec h2 {
        color: #fff;
        font-size: 1.3rem;
    }
}


/*---▼発熱外来について▼---*/

.outpatient {
    padding-top: 9rem;
    padding-bottom: 4rem;
    text-align: center;
}

.outpatient h2 {
    color: #E71F19;
    font-size: 2rem;
    letter-spacing: 6px;
    font-weight: 400;
    padding: 0 4rem;
    width: auto;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    text-align: center;
    display: inline-block;
    background: linear-gradient(transparent 50%, #F3EF77 50%);
}

.outpatient p {
    font-size: 1.3rem;
    line-height: 150%;
}

@media screen and (max-width: 1024px) {
    .outpatient {
        padding-top: 7rem;
    }
}

@media screen and (max-width: 430px) {
    .outpatient h2 {
        color: #E71F19;
        font-size: 1.5rem;
        letter-spacing: 2px;
        font-weight: 400;
        padding: 0 1rem;
    }
    .outpatient p {
        font-size: 1rem;
    }
    .outpatient {
        padding-top: 4rem;
        padding-bottom: 2rem;
    }
}


/*---▼お知らせ・ブログ▼---*/

.news_sec {
    padding: 3rem 0;
}

.news_sec h2 {
    color: #2CA339;
}

.news_sec h2 span {
    background-color: #2CA339;
}

.news_sec ul {
    margin-top: 3rem;
    margin-bottom: 1rem;
}

.news_sec .news_content:first-child {
    margin-top: 0rem;
}

.news_sec .news_content {
    margin-top: 3rem;
}

.news_sec ul li {
    padding: 1rem 0;
    border-top: 1px solid #231815;
}

.news_sec ul li:last-child {
    border-bottom: 1px solid #231815;
}

.news_sec .tal {
    text-align: end;
}

.news_sec ul li a {
    padding: 0 2rem;
    display: flex;
    gap: 2rem;
    align-items: center;
}

.news_sec ul li a h3 {
    font-weight: 400;
    font-size: 1.2rem;
    margin-bottom: 0;
}

@media screen and (max-width: 420px) {
    .news_sec ul li .deta {
        font-size: 0.8rem;
    }
    .news_sec ul li .deta {
        font-size: 0.8rem;
    }
    .news_sec ul li h3 {
        font-size: 1rem;
    }
    .news_sec ul li a {
        padding: 0 0.5rem;
        gap: 1rem;
    }
}


/*---▼診療科目▼---*/

.medical {
    position: relative;
    height: 950px;
    background: #fff;
}

.medical .bk_img {
    position: absolute;
    height: 950px;
    width: 100%;
    object-fit: cover;
    opacity: 0.6;
}

.medical .content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.medical .content h2 {
    color: #fff;
}

.medical .content h2 p {
    width: 100%;
}

.medical .content h2 span {
    background-color: #fff;
}

.medical .flex_sec {
    display: flex;
    flex-flow: wrap;
    gap: 1rem;
    margin-top: 3rem;
    justify-content: space-between;
}

.medical .flex_sec:after {
    content: "";
    display: block;
    width: calc(100% / 4 - 1rem);
    height: 0;
}

.medical .flex_sec:before {
    content: "";
    display: block;
    width: calc(100% / 4 - 1rem);
    height: 0;
    order: 1;
}

.medical .flex_sec>div {
    background: #fff;
    border: 2px solid #2CA339;
    box-shadow: 3px 2px 15px 0px rgba(0, 0, 0, 0.20);
    padding: 1rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    width: calc(100% / 4 - 1rem);
    transition: 0.3s;
}

.medical .flex_sec>div:hover {
    background: #ffffffe8;
}

.medical .flex_sec>div h3 {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 400;
}

.medical .flex_sec>div img {
    width: 80%;
    display: block;
    margin: auto;
}

@media screen and (max-width: 1024px) {
    .medical {
        position: relative;
        height: 950px;
    }
    .medical .flex_sec>div h3 {
        text-align: center;
        font-size: 1rem;
    }
    .medical .bk_img,
    .medical {
        height: 700px;
    }
}

@media screen and (max-width: 420px) {
    .medical .flex_sec>div,
    .medical .flex_sec:after,
    .medical .flex_sec:before {
        width: calc(100% / 2 - 1rem);
    }
    .medical .bk_img,
    .medical {
        height: 1200px;
    }
}


/*---▼院内写真スライダー▼---*/

.clinic_photo {
    padding: 0;
}

.clinic_photo .flex_sec .swiper-slide img {
    height: auto;
    width: 100%;
}

.clinic_photo .wrap {
    position: relative;
}


/* 前へ次への矢印カスタマイズ */

.swiper-button-prev,
.swiper-button-next {
    height: 30px;
    width: 30px;
    top: -8rem;
    z-index: 2;
}


/* 前へ次への矢印カスタマイズ */

.swiper-button-prev::after,
.swiper-button-next::after {
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    height: 30px;
    margin: auto;
    width: 30px;
}


/* 前への矢印カスタマイズ */

.swiper-button-prev::after {
    background-image: url(../img/common/yajirushi.webp);
    transform: scale(-1, 1);
}


/* 次への矢印カスタマイズ */

.swiper-button-next::after {
    background-image: url(../img/common/yajirushi.webp);
}


/* 画像サイズ調整 */

.swiper-slide img {
    height: auto;
    width: 100%;
}

@media screen and (max-width: 1024px) {
    .swiper-button-prev,
    .swiper-button-next {
        top: -5rem;
    }
}

@media screen and (max-width: 768px) {}


/*---▼トップフッター▼---*/

.top_footer {
    padding: 3rem 0;
    padding-bottom: 5rem;
}

.top_footer .instagram {
    width: 50%;
    display: block;
    margin: auto;
}

.top_footer .flex_sec {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
}

.top_footer .flex_sec>div {
    flex: 1;
}

.top_footer .flex_sec .text_sec .logo {
    width: 80%;
    margin: auto;
    display: block;
}

.top_footer .flex_sec .text_sec .text_flex {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.top_footer .flex_sec .text_sec .text_flex p {
    text-align: center;
    color: #fff;
    background: #2CA339;
    border-radius: 10px;
    font-size: 1.25rem;
    padding: 0.3rem 3rem;
    margin: 1rem 0;
    margin-bottom: 0.5rem;
}

.top_footer .biz-hour {
    display: block;
    border-collapse: collapse;
    overflow-x: scroll;
    margin-bottom: 0.5rem;
}

.top_footer .biz-hour th {
    border-top: 1px solid #240F0F;
}

.top_footer .biz-hour th,
.top_footer .biz-hour td {
    padding: 1rem;
    text-align: center;
    border-bottom: 1px solid #240F0F;
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 400;
    line-height: 120%;
    width: 100%;
}

.top_footer .flex_sec .time_sec p {
    text-align: end;
}


/* スマホ時に横スクロールしないよう、横の余白（padding）を20px→10pxに */

@media screen and (max-width: 559px) {
    .top_footer .biz-hour th,
    .top_footer .biz-hour td {
        padding: 10px 10px;
    }
}

.top_footer .biz-hour th {
    font-weight: normal;
}

iframe {
    width: 100%;
    height: 100%;
    border: 2px solid #2CA339!important;
}

.top_footer .flex_sec .text_sec .access {
    margin-top: 2rem;
}

.top_footer .flex_sec .text_sec .access>div {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.top_footer .flex_sec .text_sec .access>div:first-child {
    margin-top: 0;
}

.top_footer .flex_sec .text_sec .access img {
    width: 35px;
    height: 100%;
}

.top_footer .flex_sec .text_sec .access .car_sec img {
    width: 40px;
    height: 100%;
}

.top_footer .flex_sec .text_sec .access p {
    line-height: 150%;
    font-size: 1.25rem;
}

.top_footer .flex_sec .text_sec .access .car_sec {
    border: 2px solid #2CA339;
    padding: 0.8rem;
    border-radius: 10px;
    justify-content: center;
    gap: 2rem;
}

.top_footer .flex_sec .text_sec .access .car_sec p {
    color: #2CA339;
    font-size: 1.5rem;
}

.top_footer .flex_sec .text_sec .access .car_sec p span {
    font-size: 1rem;
}

section.credit_sec {
    margin-top: 2rem;
}

section.credit_sec .credit_box {
    border: 2px solid #2CA339;
    padding: 2rem 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    text-align: center;
}

section.credit_sec .flex_box {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 2rem 0;
}

section.credit_sec .flex_box .credit {
    text-align: center;
}

section.credit_sec .flex_box .credit img {
    height: 100px;
    width: auto;
    margin: auto;
}

section.credit_sec h2 {
    display: block;
    font-size: 2rem;
    font-weight: 400;
    color: #2CA339;
    text-align: center;
}

section.credit_sec .credit p {
    font-size: 1rem;
    margin-top: 0.8rem;
    line-height: 120%;
}

section.credit_sec .credit span {
    display: block;
    height: 0;
    width: 0;
    position: absolute;
    bottom: 8px;
    right: 8px;
    border-left: 15px solid transparent;
    border-bottom: 15px solid #2da339;
}

section.credit_sec .credit_img {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    width: calc(100% - 240px - 2rem);
}

section.credit_sec .credit_img img {
    width: 4.5rem;
}

section.credit_sec .credit_img img.height {
    height: 3.5rem;
    width: auto;
}

section.credit_sec a.btn {
    font-size: 1rem;
}

@media screen and (max-width: 1024px) {
    .top_footer .flex_sec {
        display: flex;
        gap: 1rem;
    }
    .top_footer .biz-hour th,
    .top_footer .biz-hour td {
        padding: 0.8rem;
        text-align: center;
        border-bottom: 1px solid #240F0F;
        font-size: 1rem;
        text-align: left;
    }
    .top_footer .flex_sec .text_sec .access p {
        font-size: 1rem;
    }
    .top_footer .credit p {
        font-size: 1.1rem;
    }
    .top_footer .credit h2 {
        font-size: 1.8rem;
    }
    .top_footer .flex_sec .text_sec .access .car_sec {
        gap: 1rem;
    }
    section.credit_sec .flex_box {
        flex-direction: column;
    }
    section.credit_sec .credit_img {
        width: 100%;
    }
}

@media screen and (max-width: 430px) {
    .top_footer .instagram {
        width: 90%;
    }
    .top_footer .flex_sec {
        flex-direction: column;
        gap: 4rem;
    }
    .top_footer .biz-hour th,
    .top_footer .biz-hour td {
        font-size: 0.8rem;
    }
    .top_footer .flex_sec .text_sec .access .car_sec p {
        font-size: 1.2rem;
    }
    .top_footer .flex_sec .text_sec .access .car_sec p span {
        font-size: 0.8rem;
    }
    iframe {
        height: 300px;
    }
    section.credit_sec .credit h2 {
        font-size: 1.2rem;
    }
    section.credit_sec .credit p {
        font-size: 1rem;
    }
    section.credit_sec .credit {
        gap: 1rem;
    }
    section.credit_sec .credit_img img {
        width: 4rem;
    }
    section.credit_sec .credit_img img.height {
        height: 3rem;
    }
}

.tel_sec a{
        display: flex;
    gap: 0.5rem;
    font-size: 2.5rem;
    color: #39a43a;
    font-weight: 600;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}
.tel_sec a .icon_img{
        width: 35px;
    height: 35px;
    background: #39a43a;
    border-radius: 50%;
    padding: 0.2rem;
}

@media screen and (max-width: 430px) {
    .tel_sec a{
        font-size: 2.3rem;
        margin-top: 0.5rem;
    }
}