.all_container {
    margin-top: 0!important;
}


/*---　グローバルメニュー固定　---*/

.header_inner {
    margin-top: 37rem!important;
}

.header_inner.fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    margin-top: 0!important;
}


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

#header {
    position: absolute!important;
    height: 0!important;
}

.fv_top {
    padding-top: 0;
}

.fv_top .fv_inner {
    position: relative;
    z-index: -1;
}

.top_contact_wrap {
    position: relative;
}

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

.top_contact_wrap .contact_top p {
    color: #124B80;
    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: #124B80;
    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: 37.0625rem;
    width: 100%;
    object-fit: cover;
}

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

.fv_top .fv_inner .txt_sec {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
}

.fv_top .fv_inner .txt_sec h1 {
    color: #124B80;
    text-align: center;
    font-family: "Noto Serif JP";
    font-size: 2.8125rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

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

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

@media screen and (max-width:430px) {
    .fv_top {
        height: 27.8125rem;
        margin: 5rem 0 0 0;
        padding: 0;
    }
    .top_contact_wrap .contact_top {
        top: 1rem;
    }
    .fv_top .fv_inner.wrap {
        width: auto;
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
        height: 32.8125rem;
    }
    .fv_top .fv_inner .bk_img {
        top: 0;
        height: 27.8125rem;
        width: 100%;
        object-fit: cover;
    }
    .fv_top .fv_inner .txt_sec h1 {
        font-size: 1.5125rem;
        font-style: normal;
        font-weight: 500;
        line-height: 150%;
    }
    .fv_top .fv_inner .txt_sec h1 span {
        font-size: 1rem;
        font-weight: 400;
        line-height: 200%;
    }
}


/*---▼お知らせ▼---*/

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

section.news_sec .news_content {
    margin: 0 0 4.5rem 0;
}

section.news_sec ul li {
    padding: 1.5rem 0;
    border-bottom: 1px solid #000000;
}

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

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

section.news_sec ul li a .data {
    font-family: "Open Sans";
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 100%;
}

section.news_sec ul li a h3 {
    font-weight: 400;
    line-height: 100%;
    font-size: 1rem;
}

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


/*---▼院内紹介▼---*/

section.clinic_top_sec .flex_box {
    gap: 2rem;
    text-align: center;
    margin-top: 2rem;
}

section.clinic_top_sec .flex_box h3 {
    color: #124B80;
    text-align: center;
    font-family: "Noto Sans";
    font-size: 1.25rem;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    padding: 0.5rem 0;
}

section.clinic_top_sec .tac {
    margin-top: 2rem;
}

@media screen and (max-width: 1024px) {
    section.clinic_top_sec .flex_box {
        gap: 1rem;
    }
    section.clinic_top_sec .flex_box p {
        text-align: left;
    }
    section.clinic_top_sec .tac.sp {
        text-align: left;
    }
}


/*---▼診療のご案内▼---*/

section.medical_sec {
    background: #F7F5EF;
    margin: 5rem 0;
}

section.medical_sec .tab-list {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    margin-bottom: 4rem;
}

section.medical_sec .tab-item {
    color: #fff;
    font-size: 1rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    text-align: center;
    border: 1px solid #124B80;
    background: #124B80;
    position: relative;
    cursor: pointer;
    padding: 1rem 8.3125rem;
    border-radius: 1rem;
}

section.medical_sec .tab-item:before {
    content: '';
    width: 0.35356rem;
    height: 0.35356rem;
    border: 0;
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
    transform: rotate(45deg);
    position: absolute;
    top: 0;
    right: 10px;
    bottom: 0;
    margin: auto;
}

section.medical_sec .tab-panel {
    display: none;
}

section.medical_sec .tab-item.active {
    background-color: #fff;
    color: #124B80;
}

section.medical_sec .tab-item.active:before {
    border-top: solid 1px #124B80;
    border-right: solid 1px #124B80;
}

section.medical_sec .tab-panel.active {
    display: block;
}

section.medical_sec .tab-panel.active h2 {
    font-size: 20px;
    font-weight: bold;
}

section.medical_sec .tab-panel .medical {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    padding-bottom: 4rem;
}

section.medical_sec .tab-panel .medical p {
    width: calc(100% / 3 - 1.35rem);
    background: #124B80;
    text-align: center;
    color: #fff;
    font-size: 1rem;
    font-style: normal;
    font-weight: 500;
    line-height: 150%;
    padding: 0.8rem 0;
}

section.medical_sec .tab-panel .medical p.white {
    background: #fff;
    color: #124B80;
    border: 1px solid #124B80;
}

section.medical_sec .tab-panel .medical_2 p {
    color: #124B80;
    font-family: "Noto Sans JP";
    font-weight: 500;
    background: #fff;
    padding: 0.8rem 1.25rem;
    margin-bottom: 2rem;
}

@media screen and (max-width: 430px) {
    section.medical_sec .tab-list {
        gap: 1rem;
        margin-bottom: 2rem;
        flex-direction: column;
    }
    section.medical_sec .tab-item {
        padding: 1rem 1.5rem 1rem 0.5rem;
        flex: 1;
    }
    section.medical_sec .tab-panel .medical p {
        width: calc(100% / 2 - 0.5rem);
    }
    section.medical_sec .tab-panel .medical {
        gap: 1rem;
        margin-bottom: 2rem;
    }
}


/*---▼初診の方へ▼---*/

section.beginner_sec .flex_box>div {
    flex: 1;
}

section.beginner_sec .flex_box h2 {
    text-align: left;
    margin: 1rem 0;
}

section.beginner_sec .flex_box .img_box {
    margin-right: calc(50% - 50vw);
}

section.beginner_sec .flex_box .text_box p {
    margin-bottom: 2rem;
}

section.beginner_sec .flex_box .bk {
    background: rgba(255, 255, 255, 0.79);
    padding: 3rem;
    padding-left: 0;
    margin-right: -3rem;
    z-index: 1;
    position: relative;
}

section.beginner_sec .flex_box p.blue {
    background: #124B80;
    padding: 1.5rem 1.12rem;
    color: #fff;
    margin: 1.5rem 0;
}

section.beginner_sec .flex_box a.btn {
    background: #fff;
    color: #124B80;
}

section.beginner_sec .flex_box a.btn:hover {
    background: #124B80;
    color: #fff;
}

section.beginner_sec .flex_box a.btn::before {
    border-top: solid 1px #124B80;
    border-right: solid 1px #124B80;
}

section.beginner_sec .flex_box a.btn:hover::before {
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
}

@media screen and (max-width: 1024px) {
    section.beginner_sec .flex_box {
        flex-direction: column-reverse;
        text-align: center;
    }
    section.beginner_sec .flex_box p {
        text-align: left;
    }
    section.beginner_sec .flex_box h2 {
        text-align: center;
    }
    section.beginner_sec .flex_box .img_box {
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 1rem;
        width: 80%;
    }
    section.beginner_sec .flex_box .bk {
        padding: 0;
        padding-left: 0;
        margin-right: 0;
    }
    section.beginner_sec .flex_box p.blue {
        margin-bottom: 3rem;
    }
}

@media screen and (max-width: 430px) {
    section.clinic_sec .tac {
        text-align: left;
    }
    section.clinic_sec .tac.btn {
        text-align: center;
    }
    section.clinic_sec .flex_box {
        gap: 2rem;
    }
}


/*---▼アクセス▼---*/

section.access_top_sec {
    /*background-image: url(../img/top/access.webp);*/
    background: #f7f5ef;
    background-size: cover;
    margin: 5rem 0;
}

section.access_top_sec .white {
    background: #ffffff;
    margin: 5rem 0;
}

section.access_top_sec .white .flex_box {
    padding: 2em;
    gap: 2rem;
}

section.access_top_sec .white .flex_box>div {
    flex: 1;
}

section.access_top_sec .white .flex_box iframe {
    height: 100%;
    width: 100%;
}

section.access_top_sec .white .flex_box .contact_box {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

section.access_top_sec .white .flex_box .contact_box .tel {
    display: flex;
    gap: 0.31rem;
    align-items: center;
    color: #124B80;
    text-align: center;
    font-family: Roboto;
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 100%;
}

section.access_top_sec .white .flex_box .contact_box .tel img {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
}

section.access_top_sec .white .flex_box .contact_box .net {
    display: flex;
    gap: 0.31rem;
    align-items: center;
    color: #FFF;
    text-align: center;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 700;
    line-height: 200%;
    background: #124B80;
    padding: 0.13rem 1.56rem;
}

section.access_top_sec .white .flex_box .contact_box .net img {
    width: 2rem;
    height: 1.5rem;
    flex-shrink: 0;
}

section.access_top_sec .white .flex_box .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 .white .flex_box .calendar_box p span {
    color: #124B80;
    text-align: center;
    font-family: "Open Sans";
    font-weight: 700;
    line-height: 200%;
    border: 1px solid #124B80;
    padding: 0rem 1rem;
    white-space: nowrap;
}


/*診療時間*/

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

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

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

section.access_top_sec .white .flex_box .calendar_box table th,
section.access_top_sec .white .flex_box .calendar_box table td {
    width: 100%;
    background: #F7F5EF;
    padding: 0.7rem 0.8rem;
    text-align: center;
    border: 1px solid #ffffff;
    color: #124B80;
}

section.access_top_sec .white .flex_box .calendar_box table th {
    background: #124B80;
    color: #FFF;
    line-height: 200%;
    font-weight: 700;
}

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

@media screen and (max-width: 1024px) {
    section.access_top_sec {
        padding: 3rem 0;
    }
    section.access_top_sec .white .flex_box {
        flex-direction: column;
    }
    section.access_top_sec .white .flex_box .text_box .logo {
        width: 80%;
        margin: auto;
    }
    section.access_top_sec .white .flex_box .text_box .area {
        text-align: center;
        margin: 0.5rem 0;
    }
    section.access_top_sec .white .flex_box .contact_box {
        margin-bottom: 2.5rem;
    }
    section.access_top_sec .white .flex_box iframe {
        height: 25rem;
    }
}

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


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

section.link_box {}

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;
    }
}
