@import url("https://fonts.googleapis.com/css2?family=Zen+Old+Mincho&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Shippori+Mincho&display=swap');
.header-entrance .box-menu-phone {
    margin: 0 auto;
    width: 100%;
    padding: 19px 20px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 0 0 20px 20px;
}

.header-entrance .main-menu .nav {
    margin-top: 0;
}

.header-entrance .header-main .main-menu .nav>li>a {
    min-height: 37px;
    font-size: 1.5rem;
}

.news-item.item-list {
    padding-right: 50px;
}

.header-entrance .header-main .main-menu .nav>li>a:hover {
    opacity: 0.6;
}

.header-entrance .header-main .main-menu .nav>li>a::after {
    display: none;
}

.header-entrance .header-main .main-menu .nav>li>a img {
    margin-top: 3px;
}

.header-entrance .header-main .main-menu {
    margin-left: 0;
}

.header-entrance .header-inner {
    padding-left: 15px;
}

.page-header.page-header-news {
    height: 264px;
    padding-top: 130px;
}

.page-header.page-header-news::after {
    background-image: url(../images/hospital/index/bg-page-news.png);
}

.page-header.page-header-news .title-en {
    text-align: center;
    padding: 0;
    font-family: "Zen Old Mincho", serif;
    font-size: 3.8rem;
    letter-spacing: 0.2em;
    color: #3e9dcc;
}

.page-header.page-header-news .title-en::after {
    display: none;
}

.page-header.page-header-news .breadcrumds {
    padding-top: 45px;
    padding-left: 25px;
}

.page-header.page-header-news .breadcrumds li>a,
.page-header.page-header-news .breadcrumds li>span {
    font-size: 1.4rem;
}

.page-info .title-cs {
    font-size: 2rem;
    color: #212f79;
}

.single .page-navi {
    border-top: 1px solid #c7c7c7 !important;
}

a.btn.btn-main.btn-home-single {
    padding: 1px;
    background: #a6d0ed;
}

a.btn.btn-main.btn-home-single span {
    min-height: 58px;
    min-width: 203px;
    justify-content: center;
    padding: 0;
    color: #333;
}

a.btn.btn-main.btn-home-single::after {
    width: 23px;
    height: 6px;
    mask-image: url(../images/hospital/index/arrow-right-mini.svg);
    -webkit-mask-image: url(../images/hospital/index/arrow-right-mini.svg);
    background-color: #689ebc;
    background-image: unset;
    mask-size: 100% 100%;
    mask-position: center;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    right: 24px;
}

a.btn.btn-main.btn-home-single:hover {
    background: #689ebc;
}

a.btn.btn-main.btn-home-single:hover span {
    color: #fff;
    background-color: #689ebc;
}

a.btn.btn-main.btn-home-single:hover::after {
    background-color: #fff;
}

.page-news .news-item.item-list,
.page-outpatient .news-item.item-list,
.page-medical .news-item.item-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 17px 0;
    margin-bottom: 20px;
    padding-right: 60px;
}

.page-news .news-item.item-list .date,
.page-outpatient .news-item.item-list .date,
.page-medical .news-item.item-list .date {
    width: 100px;
    font-size: 1.3rem;
    color: #808080;
    letter-spacing: 0.075em;
}

.page-news .news-item.item-list .title,
.page-outpatient .news-item.item-list .title,
.page-medical .news-item.item-list .title {
    flex: 1;
    padding-top: 0;
}

.page-news .news-item.item-list .title a,
.page-outpatient .news-item.item-list .title a,
.page-medical .news-item.item-list .title a {
    font-size: 1.5rem;
    font-family: "Noto Sans JP", sans-serif;
}

.page-news .news-item.item-list::after,
.page-outpatient .news-item.item-list::after {
    background-image: url(../images/hospital/index/arrow-right-mini.svg);
    right: 40px;
}

.page-news .wp-pagenavi a.page,
.page-news .wp-pagenavi li>span,
.page-outpatient .wp-pagenavi a.page,
.page-outpatient .wp-pagenavi li>span {
    font-size: 2.6rem;
    font-family: "Zen Kaku Gothic New", sans-serif;
}

.page-news .wp-pagenavi a.previouspostslink,
.page-news a.pre-btn,
.page-outpatient .wp-pagenavi a.previouspostslink,
.page-outpatient a.pre-btn {
    left: 30px;
}

.page-news .wp-pagenavi a.nextpostslink,
.page-outpatient .wp-pagenavi a.nextpostslink {
    right: 30px;
}

.page-news .page-navi,
.page-outpatient .page-navi {
    border: none;
}

.box-link-company {
    display: flex;
    gap: 40px;
    letter-spacing: 0.1em;
}

.list-link-com {
    flex: 1;
    display: flex;
    gap: 30px;
}

.list-link-com a {
    font-size: 1.4rem;
}

.footer-entrance .footer::after {
    background-image: url(../images/entrance/bg-ft-entrance.png);
}

.footer-entrance .footer-left {
    border: none;
    padding-bottom: 40px;
}

.footer-entrance .footer-right {
    gap: 50px;
}
.footer:not([class^="footer-"]) .footer-right{
    justify-content: center;
}
.footer-entrance .box-link-footer {
    min-width: 200px;
}

.footer-entrance .box-link-footer li a {
    font-size: 1.4rem;
    letter-spacing: 0.1em;
    display: block;
    padding: 0 5px;
    margin-top: 0px;
    margin-bottom: 12px;
}

.box-link-footer ul {
    margin-top: 15px;
}

.box-link-banner {
    box-shadow: 0 0 6px rgba(169, 177, 181, 0.45);
    border-radius: 10px;
}

.logo-link-banner {
    background: #fff;
    border: 1px solid #a6d0ed;
    border-radius: 0 0 10px 10px;
    border-top: none;
    padding: 22px 55px 25px 35px;
    position: relative;
}

.logo-link-banner::after {
    content: "";
    width: 21px;
    height: 21px;
    background-image: url(../images/entrance/icon-blank.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    right: 21px;
    bottom: 26px;
}

.logo-link-banner img {
    height: 71px;
}

.img-link-banner {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.box-link-img-entrance {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.box-link-img-entrance a {
    display: block;
    box-shadow: 0 0 6px rgba(169, 177, 181, 0.45);
    border-radius: 10px;
}

.title-entrance {
    font-size: 2.4rem;
    letter-spacing: 0.2em;
    font-family: "Zen Old Mincho", serif;
}

.box-flex-title-news {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 15px;
}

a.btn.btn-entrance {
    font-size: 1.3rem;
    padding: 12px 3px;
    min-width: 137px;
    border-bottom: 1px solid #689ebc;
    justify-content: flex-start;
    letter-spacing: 0.05em;
}

a.btn.btn-entrance::after {
    width: 19px;
    height: 6px;
    background-image: url(../images/entrance/icon-right.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
    right: 3px;
}

a.btn.btn-entrance:hover,
.home-news-entrance .news-item.item-list:hover .title a,
.page-news .news-item.item-list:hover .title a,
.page-outpatient .news-item.item-list:hover .title,
.page-medical .news-item.item-list:hover .title {
    color: #3e9dcc;
    opacity: 1;
}

a.btn.btn-entrance:hover::after {
    right: -4px;
}

.home-news-entrance .news-item.item-list {}

.home-news-entrance .news-item.item-list:after,
.page-news .news-item.item-list:after,
.page-outpatient .news-item.item-list:after,
.page-medical .news-item.item-list:after {
    transition: all 0.3s ease;
}

.home-news-entrance .news-item.item-list:hover:after,
.page-news .news-item.item-list:hover:after,
.page-outpatient .news-item.item-list:hover:after,
.page-medical .news-item.item-list:hover:after {
    right: 9px;
}

.home-news-entrance .news-item.item-list a {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.home-news-entrance .news-item.item-list {
    display: flex;
    align-items: center;
    padding: 15px 5px;
    margin-bottom: 25px;
    padding-right: 40px;
}

.home-news-entrance .news-item.item-list::after {
    background-image: url(../images/entrance/icon-right.svg);
    right: 18px;
    width: 19px;
    height: 6px;
    background-color: transparent !important;
}

.home-news-entrance .news-item.item-list .title {
    padding-top: 0;
}

.home-news-entrance .news-item.item-list .title a {
    font-size: 1.5rem;
    color: #333;
    letter-spacing: 0.075em;
}

.home-news-entrance .news-item.item-list .date {
    width: 95px;
    color: #808080;
    letter-spacing: 0.075em;
}

.box-news-entrance {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.news-entrance-left {
    width: 50%;
    max-width: 520px;
}

.banner-link-home {
    position: relative;
}

.banner-link-home::after {
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../images/entrance/bg-1.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -5;
}

.banner-link-home::before {
    content: "";
    width: 860px;
    height: 860px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-image: url(../images/entrance/bg-2.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    top: 232px;
    z-index: -4;
}

.home-news-entrance {
    position: relative;
}

.home-news-entrance::after {
    content: "";
    width: 100%;
    height: 934px;
    background-image: url(../images/entrance/bg-3.png);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: -378px;
    left: 0;
    z-index: -3;
}

.home-message-box-right {
    max-width: 240px;
    margin-left: auto;
    text-align: right;
    color: #000;
}

.title-border-entrance {
    font-size: 2.3rem;
    padding-bottom: 10px;
    border-bottom: 1px solid #c7c7c7;
    margin-bottom: 20px;
    color: #3e9dcc;
    font-family: "Zen Old Mincho", serif;
    letter-spacing: 0.1em;
}

.box-history-entrance {
    display: flex;
}

.history-entrance-right {
    width: 350px;
}

.history-entrance-left {
    flex: 1;
}

.history-entrance {
    display: flex;
    margin-bottom: 25px;
}

.date-entrance {
    width: 155px;
    color: #000000;
    letter-spacing: 0.2em;
    font-family: "Zen Old Mincho", serif;
}

.cont-entrance {
    flex: 1;
    letter-spacing: 0.075em;
}

.img-entrance-his {
    margin-bottom: 30px;
    text-align: center;
}
.hoshinlist{
    max-width: 430px;
    margin-left: auto;
    margin-right: auto;
}
.img-entrance-his img {
    border-radius: 10px;
}

.ff-mincho {
    font-family: "Zen Old Mincho", serif;
}

.ff-shippori {
    font-family: "Shippori Mincho", serif;
}

.home-message {
    position: relative;
}

.home-message::after {
    content: "";
    width: 100%;
    height: 100%;
    background-image: url(../images/entrance/bg-4.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top: 0px;
    left: 0;
    z-index: -5;
}

.color-en-1 {
    color: #212f79;
}

.color-en-2 {
    color: #3e9dcc;
}

@media (max-width: 768px) {
    .banner-link-home::after {
        height: 511px;
    }
    .banner-link-home::before {
        width: 430px;
        height: 430px;
        top: 260px;
    }
    .home-news-entrance::after {
        height: 315px;
        top: -940px;
    }
    .title-border-entrance {
        font-size: 1.9rem;
    }
    .toggle-mb.toggle-message .toggle-hd h2 {
        font-size: 1.9rem;
        text-align: left;
        padding-bottom: 16px;
        border-bottom: 1px solid #aeaeae;
        position: relative;
    }
    .toggle-mb.toggle-message .toggle-hd h2::after {
        content: "";
        width: 24px;
        height: 24px;
        background-image: url(../images/entrance/icon-open.svg);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: absolute;
        bottom: 15px;
        right: 10px;
    }
    .toggle-mb.toggle-message .toggle-hd.active h2::after {
        background-image: url(../images/entrance/icon-close.svg);
    }
    .home-message-box-right {
        max-width: 200px;
        margin: 30px auto;
    }
    .box-history-entrance {
        flex-direction: column;
    }
    .date-entrance {
        width: 110px;
    }
    .history-entrance {
        margin-bottom: 15px;
    }
    .box-btn-entrance a.btn.btn-main {
        background: #a6d0ed;
        padding: 1px;
        min-width: 169px;
        color: #333333;
    }
    .box-btn-entrance a.btn.btn-main::after {
        background-image: url(../images/entrance/icon-right.svg);
        width: 19px;
        height: 6px;
        right: 19px;
    }
    .home-news-entrance .news-item.item-list {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 10px;
        margin-bottom: 0;
    }
    .home-news-entrance .news-item.item-list .title {
        padding-top: 7px;
    }
    .box-link-banner {
        max-width: 281px;
        margin: 0 auto 30px;
        border-radius: 8px;
    }
    .img-link-banner {
        border-radius: 8px 8px 0 0;
    }
    .logo-link-banner {
        border-radius: 0 0 8px 8px;
        padding: 15px 23px 20px;
    }
    .logo-link-banner img {
        height: 50px;
    }
    .logo-link-banner::after {
        width: 15px;
        height: 15px;
        right: 15px;
        bottom: 20px;
    }
    .box-news-entrance {
        flex-direction: column;
        gap: 65px;
    }
    .news-entrance-left {
        width: 100%;
    }
    .color-sm-1 {
        color: #0d395b;
    }
    .title-entrance {
        font-size: 2rem;
        text-align: center;
        width: 100%;
    }
    .page-header.page-header-news {
        height: 132px;
        padding-top: 50px;
        margin-top: 0;
    }
    .page-header.page-header-news .title-en {
        font-size: 2.2rem;
        color: #3e9dcc;
    }
    .page-header.page-header-news .breadcrumds {
        padding-top: 30px;
        padding-left: 15px;
    }
    a.btn.btn-main.btn-home-single span {
        min-width: 168px;
        min-height: 49px;
        font-size: 1.3rem;
    }
    a.btn.btn-main.btn-home-single::after {
        right: 20px;
    }
    .page-news .news-item.item-list,
    .page-outpatient .news-item.item-list {
        padding: 18px 10px 25px;
        padding-right: 40px;
        margin-bottom: 0;
    }
    .page-news .news-item.item-list .title,
    .page-outpatient .news-item.item-list .title {
        width: 100%;
        flex: unset;
    }
    .page-news .news-item.item-list .title a,
    .page-outpatient .news-item.item-list .title a {
        font-size: 1.3rem;
    }
    .page-news .news-item.item-list .date,
    .page-outpatient .news-item.item-list .date {
        font-size: 1.2rem;
        text-align: left;
    }
    .page-news .news-item.item-list::after,
    .page-outpatient .news-item.item-list::after {
        right: 15px;
    }
    .page-news .wp-pagenavi a.page,
    .page-news .wp-pagenavi li>span,
    .page-outpatient .wp-pagenavi a.page,
    .page-outpatient .wp-pagenavi li>span {
        font-size: 2rem;
    }
    .page-news .wp-pagenavi a.previouspostslink,
    .page-news a.pre-btn,
    .page-outpatient .wp-pagenavi a.previouspostslink,
    .page-outpatient a.pre-btn {
        left: 0;
    }
    .page-news .wp-pagenavi a.nextpostslink,
    .page-news a.next-btn,
    .page-outpatient .wp-pagenavi a.nextpostslink,
    .page-outpatient a.next-btn {
        right: 0;
    }
    .home-message::after {
        top: 0;
        background-image: url(../images/entrance/bg-4-sm.png);
        height: 100%;
    }
    .page-entrance .footer::before,
    .page-entrance .footer::after {
        display: none;
    }
    header.header-entrance {
        height: 76px;
    }
    header.header-entrance a.menu-btn {
        box-shadow: none;
        width: 90px;
        height: 76px;
        border-radius: 0;
    }
    header.header-entrance a.menu-btn span {
        background: #3e9dcc;
        width: 30px;
        left: 30px;
    }
    header.header-entrance a.menu-btn span:nth-child(2) {
        top: 32px;
    }
    header.header-entrance a.menu-btn span:nth-child(3) {
        top: 43px;
    }
    header.header-entrance a.menu-btn::after {
        color: #3e9dcc;
        font-family: "Shippori Mincho", serif;
        letter-spacing: 0.1em;
        font-size: 13px;
        top: 51px;
    }
    header.header-entrance .header-main .logo-left .logo {
        width: 198px;
    }
    header.header-entrance .header-inner {
        padding-top: 28px;
        padding-left: 20px;
    }
    header.header-entrance .header-main .main-menu::after {
        background-image: url(../images/entrance/bg-4-sm.png);
        width: 100%;
        height: 434px;
        top: 90px;
    }
    header.header-entrance a.menu-btn.open span {
        top: 31px;
    }
    .header-entrance .box-menu-phone {
        padding: 0;
        background-color: transparent;
        position: relative;
    }
    .header-entrance .box-menu-phone::after {
        content: "";
        width: 100%;
        height: 434px;
        background-image: url(../images/hospital/entrance/bg-entrance.png);
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: absolute;
        top: 0;
        left: 0;
        z-index: -5;
        display: block;
    }
    .box-link-header-img {
        padding: 40px 30px;
    }
    .box-link-header-img a {
        display: block;
        box-shadow: 0 0 4px 0 rgba(145, 172, 183, 0.75);
        margin-bottom: 25px;
        border-radius: 5px;
    }
    .page-news .footer-entrance .footer::after {
        height: 267px;
        top: auto;
        background-image: url(../images/hospital/entrance/bg-entrance.png);
        bottom: 0;
        background-position: center top;
    }
    .single-department .sub-title {
        margin-bottom: 0;
    }
}

.header-entrance .header-main .main-menu .nav>li>a {
    border-color: #C7C7C7;
    min-height: 32px;
    padding-left: 15px;
    padding-right: 20px;
    gap: 8px;
    letter-spacing: normal;
}

.ls-500 {
    letter-spacing: 0.5em;
}

.box-link-banner .img-link-banner img,
.link-img-about img {
    transition: all 0.3s ease;
}

.biggerlink:hover a {
    opacity: 1;
}

.box-link-banner:hover .img-link-banner img,
.link-img-about:hover img {
    transform: scale(1.05);
}

.box-link-banner a:hover {
    opacity: 1;
}

.box-link-img-entrance a {
    opacity: 1;
    transition: all 0.3s ease;
}

.box-link-img-entrance a:hover {
    opacity: 1;
}

.box-link-img-entrance .img {
    height: 188px;
    overflow: hidden;
    width: 312px;
}

.box-link-img-entrance .img img,
.box-link-img-entrance .text img {
    height: 188px;
    width: auto;
    transition: all 0.3s ease;
    border-radius: 0 10px 10px 0;
}

.box-link-img-entrance a:hover .img img {
    transform: scale(1.05);
}

.box-link-img-entrance .text {
    border: 1px solid #A6D0ED;
    border-radius: 0 10px 10px 0;
}

.box-banner-entrance-recruit {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 10px;
    background-color: #fff;
}

.box-banner-entrance-recruit::after {
    content: "";
    width: 21px;
    height: 21px;
    background-image: url(../images/entrance/icon-blank.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    right: 23px;
    bottom: 27px;
}

.box-link-img-entrance .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
    object-position: center;
    border-radius: 10px 0 0 10px;
}

.box-link-img-entrance {
    width: fit-content;
}

.banner-link-home::before {
    position: absolute;
    display: block;
    width: 859px;
    height: 859px;
    content: "";
    background-image: url(../images/hospital/entrance/bg-before-entrance.png);
    background-size: 100% 100%;
    background-position: center;
    left: 50%;
    transform: translateX(-50%);
    bottom: -100px;
    z-index: 0;
}

.lh-2-3 {
    line-height: 2.3;
}

footer .list-link-com a,
.footer-entrance .box-link-footer li a,
.box-link-footer a {
    position: relative;
    width: fit-content;
}

footer .list-link-com a:hover,
.footer-entrance .box-link-footer li a:hover,
.box-link-footer a:hover {
    opacity: 1 !important;
}

footer .list-link-com a:after,
.footer-entrance .box-link-footer li a:after,
.box-link-footer a:after {
    content: "";
    width: 100%;
    height: 1px;
    position: absolute;
    transition: all 0.3s ease;
    width: 100%;
    left: 0;
    bottom: -3px;
    width: 0;
    content: '';
    background-color: #333;
}

footer .list-link-com a:hover::after,
.footer-entrance .box-link-footer li a:hover::after,
.box-link-footer a:hover::after {
    width: 100%;
}

.page-news .news-item.item-list::after {
    background-color: transparent;
}

@media(max-width:767px) {
    .ls-sm-400 {
        letter-spacing: .4em
    }
    .banner-link-home::before {
        width: 430px;
        height: 430px;
        bottom: unset;
        top: 265px;
    }
    .box-link-img-entrance .img img,
    .box-link-img-entrance .text img,
    .box-link-img-entrance .img {
        height: 83px;
    }
    .box-link-img-entrance .img {
        width: 137px;
    }
    .home-news-entrance .news-item.item-list .title a {
        font-size: 13px;
    }
    .home-news-entrance .news-item.item-list .date {
        font-size: 12px;
    }
    .history-entrance-right {
        width: 100%;
    }
    header.header-entrance .header-main .main-menu .nav::after {
        display: none;
    }
    .header-entrance .header-wrapper .header-main .main-menu .nav>li>a::before {
        width: 6px;
        height: 1px;
        background: #3E9DCC;
    }
}

.mega-menu {
    left: 0;
    position: absolute;
    text-align: left;
    width: 100%;
    text-align: center;
    padding-top: 0px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
    visibility: hidden;
    top: 117px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(34, 117, 191, 0.95);
}

.header-main .main-menu .nav>li.nav-mega:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    top: 162px;
    z-index: 12;
}

.box-mega-menu {
    display: flex;
    padding: 35px 0 45px;
}

.mega-menu-left {
    width: 493px;
}

.mega-menu-right {
    flex: 1;
    padding: 35px 50px 10px;
}

.box-flex-mega {
    display: flex;
}

.flex-mega-left {
    width: 342px;
    padding-top: 10px;
}

.flex-mega-right {
    flex: 1;
    padding-left: 50px;
    display: flex;
    flex-wrap: wrap;
}

a.btn.btn-mega {
    font-size: 2.5rem;
    color: #725d06;
    padding: 15px 0;
    border-bottom: 1px solid;
    justify-content: flex-start;
    font-family: "Shippori Mincho B1", serif;
    font-weight: 500;
    letter-spacing: 0.2em;
}

a.btn.btn-mega::after {
    width: 27px;
    height: 24px;
    background-image: url(../images/index/icon-right.svg);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    right: 23px;
}

.box-sub-link-mega {
    width: 50%;
    max-width: 225px;
}

.mega-title {
    height: 100%;
    display: flex;
    align-items: center;
    color: white;
    font-weight: bold;
    font-style: 30px;
    letter-spacing: 0.075em;
}

.mega-title p {
    position: relative;
    font-size: 30px;
    padding-left: 12px;
}

.mega-title p {
    position: relative;
    width: 300px;
    left: calc(50% - 65px);
    transform: translateX(-50%);
    padding-left: 0;
}

@media(max-width:1378px) and (min-width:768px) {
    .mega-title p {
        transform: none;
        left: -10px;
    }
}

@media(max-width:1280px) and (min-width:768px) {
    .mega-title p {
        transform: none;
        left: -10px;
    }
    .mega-title p {
        font-size: 20px;
    }
}

@media(max-width:990px) and (min-width:768px) {
    .mega-title p {
        transform: none;
        font-size: 16px;
    }
    .box-mega-menu .link-item a,
    .box-mega-menu .banner-item .text {
        font-size: 15px;
    }
}

.mega-title p::after {
    content: "";
    width: 160px;
    left: 50%;
    transform: translateX(-50%);
    height: 2px;
    background-color: #C2DEEF;
    position: absolute;
    bottom: -35px;
}

.box-mega-menu .link-item a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 67px;
    color: white;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.05em;
    padding-left: 15px;
    border-bottom: 1px solid #c7c7c7;
    position: relative;
    padding-right: 50px;
}
.box-mega-menu .link-item a:hover,.box-mega-menu .banner-item a:hover{
    opacity: 1;
}
.box-mega-menu .link-item a:hover::after,
.box-mega-menu .banner-item .text:hover::after {
    right: 15px;
}
.box-mega-menu .link-item a:after,
.box-mega-menu .banner-item .text:after {
    content: "";
    width: 18px;
    height: 6px;
    mask-image: url(../images/hospital/index/arrow-right.svg);
    -webkit-mask-image: url(../images/hospital/index/arrow-right.svg);
    background-color: #fff;
    mask-size: 100% 100%;
    mask-position: center;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    -webkit-mask-position: center;
    -webkit-mask-repeat: no-repeat;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    transition: all 0.3s ease;
}

.box-mega-menu .banner-item a {
    display: flex;
    max-width: 390px;
    align-items: stretch;
    margin-bottom: 37px;
    justify-content: space-between;
}

.box-mega-menu .banner-item .img {
    width: 48.5%;
}

.box-mega-menu .banner-item .img img {
    border-radius: 5px;
}

.box-mega-menu .banner-item .text {
    width: 48.5%;
    position: relative;
    color: white;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 1.38;
    text-align: left;
    padding-left: 10px;
    padding-right: 40px;
    border-bottom: 1px solid #C7C7C7;
    display: flex;
    align-items: center;
}

a.btn.btn-medic:hover {
    opacity: 0.6;
}

a.link-header {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
}

.news-important .news-item.item-list:hover a {
    color: #E81C24;
}

.news-important .news-item.item-list::after {
    transition: all 0.3s ease;
}

.news-important .news-item.item-list:hover::after {
    right: 20px;
}

a.btn.btn-main.btn-dept.btn-single-department {
    min-width: 200px;
}

a.btn.btn-main.btn-dept.btn-single-department span {
    padding-left: 15px;
}

a.btn.btn-main.btn-dept span {
    font-weight: bold;
    font-family: "Zen Kaku Gothic New", sans-serif;
}

.text-out-left {
    text-align: justify;
}

.toggle-info .toggle-hd,
a.btn.btn-file,
.box-hospital img {
    transition: all 0.3s;
}

.toggle-info .toggle-hd:hover,
a.btn.btn-file:hover {
    opacity: 0.6;
}

a.link-img:after {
    display: none;
}

a.link-img {
    display: block;
    width: auto;
}

a.link-img:hover img {
    transform: scale(1.05);
}

.link-img-inner {
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.link-img-inner img {
    transition: .3s;
    width: 100%;
}

a.link-img p {
    padding: 9px;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
    position: relative;
    letter-spacing: 0.05em;
}

a.link-img p::after {
    content: "";
    width: 17px;
    height: 17px;
    background-image: url(../images/hospital/index/icon-blank.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    right: 11px;
    bottom: 11px;
}

@media(min-width:768px) {
    .box-hospital:hover img {
        transform: scale(1.05);
    }
    .box-hospital .hospital-img {
        height: 198px;
        overflow: hidden;
    }
}

.single-department .sub-title {
    margin-bottom: 45px;
}

.single-department .dept-sub-title,
.single-department h1 {
    color: #212F79;
    font-weight: bold;
    font-family: "zen kaku gothic new", sans-serif;
    padding-left: 15px;
    margin-bottom: 30px;
}

.single-department .header-top h1 {
    padding-left: 0;
    margin-bottom: 0;
}

.single-department .dept-sub-title {
    margin-bottom: 50px;
    margin-top: 0;
}

.single-department .dept-sub-title:before,
.single-department h1:before {
    bottom: -10px;
    height: 1px;
    background-color: #949494;
}

.single-department .post-content h2 {
    font-weight: 500;
    border-color: #212F79;
}

.single-department .post-content h3 {
    font-weight: 500;
    color: #212F79;
}

.large-12 .text-out-left {
    text-align: left;
}

.single-department .post-content h3::after {
    background-color: #212F79;
}

.img-single-hos-1 img {
    height: auto;
}

.img-out-left img {
    height: auto;
}

.department-content.post-content {
    padding-bottom: 0;
}

.single-department .post-content ul li::after,
.department-content ul li::after {
    background-color: #212F79;
}

@media(min-width:768px) {
    .single-department .post-content ul li,
    .department-content ul li {
        padding-left: 33px;
    }
}

.single-department .list-anchor li,
.department-content .list-anchor li {
    padding-left: 10px;
    padding-right: 10px;
}

.single-hos-03 .container .sub-title:first-child,
.single-hos-05 .container .sub-title:first-child,
.single-hos-06 .container .sub-title:first-child {
    margin-bottom: 0;
}

.single-department .post-content a,
.department-content a {
    color: #212F79;
    text-decoration: underline;
}

@media (min-width: 768px) and (max-width: 1000px) {
    .footer-entrance .footer-right {
        gap: 15px;
    }
}

@media(max-width:767px) {
    a.btn.btn-main.btn-dept.btn-single-department span {
        min-height: 41px;
    }
    a.btn.btn-main.btn-dept.btn-single-department:after {
        width: 28px;
        height: 28px;
    }
    a.btn.btn-main.btn-dept.btn-single-department {
        min-width: 150px
    }
    .news-important .box-news-cont {
        flex-wrap: wrap;
        gap: 0;
    }
    .news-important .news-item.item-list .box-news-cont .title {
        width: 100%;
        padding-right: 30px;
    }
    .news-important .news-item.item-list:hover::after,
    .news-important .news-item.item-list:after {
        right: 0;
    }
    .home-hospital-right {
        line-height: 1.85;
        letter-spacing: 0.075em;
    }
    .header-entrance .header-main .main-menu .nav>li>a::after {
        display: block;
        background-image: url(../images/hospital/index/icon-right-sm-2.svg);
    }
    .page-info .title-cs {
        font-size: 1.5rem;
    }
    .single-department.page-template .sub-title {
        margin-bottom: 0;
    }
    .title-cs {
        padding-left: 15px;
    }
    
}