@charset "UTF-8";

/*========================================================*/
/* 共通レイアウト
/*========================================================*/
* {
    color: #111;
    font-size: 13px;
    line-height: 1.4;
}
body {
    width: 100%;
    padding-top: 80px;
    font-family: "M PLUS Rounded 1c", sans-serif !important;
    font-weight: bold !important;
    font-style: normal;
}
a {
    transition-property: all;
    transition: 0.3s linear;
}
@media (min-width:768px) {
    * { font-size: 17px; }
    body {
        padding-top: 0;
    }
}
@keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
@-webkit-keyframes fadeIn {
    0% {opacity: 0}
    100% {opacity: 1}
}
@media (max-width: 991px) {
    .container {
        max-width: unset;
    }
}

/* コンテンツ幅調整（共通）
/*--------------------------------------------------------*/
.contents_box {
    width: 90%;
    margin: 0 auto;
}

/* グローバルナビゲーション(左サイドバー)
/*--------------------------------------------------------*/
.fixed_top {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20000;
    width: 270px;
    height: 100%;
    background-color: #fff;
    box-shadow: 5px 0px 5px 0px rgba(0, 0, 0, 0.4);
}
.fixed_top::-webkit-scrollbar {
    width: 5px;
}
.fixed_top .container-fluid {
    padding: 0 !important;
}
.fixed_top .side_menu ul {
    gap: 10px;
}
.fixed_top .side_menu ul li a {
    color: #111;
}
.fixed_top .side_contact_pc {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.fixed_top .side_contact_pc .text{
    margin-bottom: 10px;
}
.fixed_top .side_contact_pc a {
    display: flex;
    align-items: center;
    text-decoration: none;
    border: solid 1px #FF8B00;
    background-color: #fff0dd;
    border-radius: 8px;
    padding: 8px;
}
.fixed_top .side_contact_pc a img {
    width: 25px;
    margin-right: 5px;
}
.fixed_top .side_contact_pc a p {
    font-size: 1.2rem;
    font-weight: bold;
    color: #000;
}
.side_reserve_pc {
    margin-top: 20px;
}
#sp_banner {
    width: 100%;
}
.side_reserve_pc img,
.reserve_sp img {
    width: 100%;
    box-shadow: 0px 8px 8px -4px rgba(0, 0, 0, 0.3);
}
.logo_grp {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px 0 0 0;
}
.logo_grp .logo_img {
    width: 100px;
    margin-bottom: 15px;
}
.logo_grp .text_grp {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.logo_grp .text_grp .text {
    font-weight: bold;
    margin-bottom: 5px;
}
.logo_grp .text_grp .logo_text {
    width: 180px;
}
.is-active {
    position: absolute;
    top: -12px;
    right: 0;
    background-image: url(img/flower.png);
    background-repeat:  no-repeat;                /* 画像の繰り返しを指定  */
    width: 40px;                                   /* 横幅のサイズを指定    */
    height: 40px;
}
.nav-item {
    font-size: 1.2rem;
    font-weight: bold;
}
@media (min-width: 768px) {
    .fixed_top {
        overflow-y: auto;
        scrollbar-color: #ccc #fff;
    }
    .fixed_top .side_menu {
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    .fixed_top {
        width: 100%;
        height: 80px;
        background-color: #fff;
        box-shadow: 5px 0px 5px 0px rgba(0, 0, 0, 0.4);
    }
    .fixed_top .side_menu {
        box-shadow: 0px 10px 10px -6px rgba(0, 0, 0, 0.3);
    }
    .fixed_top .side_menu ul {
        gap: 20px;
        padding: 0 20px;
        margin: 25px 0 !important;
    }
    .fixed_top .side_menu ul li a {
        text-align: center;
        padding: 0;
    }
    .logo_grp {
        display: flex;
        flex-direction: row;
        gap: 10px;
        margin: 0;
        padding-left: 20px;
    }
    .logo_grp .logo_img {
        width: 60px;
        margin-bottom: 0;
    }
    .is-active {
        right: 25px;
    }
    .nav-item {
        font-size: 1.6rem;
    }
    .fixed_top .side_contact_sp {
        display: flex;
        text-align: center;
        flex-direction: column;
        background-color: #b2e1ed;
        padding: 5px;
    }
    .fixed_top .side_contact_sp .text {
        font-weight: bold;
        font-size: 1.2rem;
    }
    .fixed_top .side_contact_sp a {
        text-align: center;
        text-decoration: none;
        padding: 0;
    }
    .fixed_top .side_contact_sp a img {
        width: 23px;
        margin-right: 5px;
    }
    .fixed_top .side_contact_sp a span {
        font-size: 1.5rem;
        font-weight: bold;
        color: #000;
        vertical-align: middle;
    }
}
.navbar-toggler {
    border: none;
    outline: none !important;
    padding-right: 20px;
}
.navbar-toggler:focus {
    outline: none;
}
.navbar-nav > .active {
    border-bottom: solid 3px #ccc;
}
.navbar-nav .nav-link {
    position: relative;
}
.navbar-nav .nav-link p {
    font-size: 1.2rem;
    position: absolute;
    top: -1px;
    left: 15px;
}
.navbar-nav .nav-link .home_text {
    font-size: 1.4rem;
}
.navbar-nav .nav-link img {
	width: 200px;
}

@media(max-width: 767px) {
    .navbar-nav > .active {
        border: none;
    }
    .navbar-nav .active a {
        color: #038ea7;
    }
    .navbar-nav .nav-link .home_text {
        font-size: 1.5rem;
    }
    .navbar-nav .nav-link img {
        width: 90%;
        height: 15px;
    }
    .navbar-nav .nav-link p {
        top: -5px;
        left: 30px;
        font-size: 1.5rem;

    }
}

/* 右側メインコンテンツ
/*--------------------------------------------------------*/
#main_contents {
    margin-left: 270px;
}
@media (max-width: 767px) {
    #main_contents {
        margin-left: 0;
        padding-top: 60px;
    }
}

/* トップ画像
/*--------------------------------------------------------*/
.top_img {
    position: relative;
}
.top_img .top_decoration {
    position: absolute;
    top: 0;
    left: 50px;
    display: flex;
    gap: 50px;
    width: 50%;
    z-index: 10000;
}
.top_img .top_decoration .decoration01 {
    width: 70%;
}
.top_img .top_decoration .decoration01 img {
    width: 100%;
}
.top_img .top_decoration .decoration02 {
    width: calc(100% - 70%);
}
.top_img .top_decoration .decoration02 img {
    width: 55%;
}
.top_img .top_text {
    position: absolute;
    top: 200px;
    right: 40px;
    width: 40%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: end;
    z-index: 10000;
}
.top_img .top_text p {
    background: rgba(255,255,255,0.7);
    padding: 5px 10px;
    width: fit-content;
    font-size: 1.4rem;
    font-weight: bold;
}
.top_img .top_text img {
    width: 100%;
}
.top_img .top_decoration2 {
    position: absolute;
    top: -50px;
    width: 100%;
    z-index: 9999;
}
.top_img .top_decoration3 {
    position: absolute;
    bottom: -85px;
    width: 100%;
    z-index: 9999;
}

@media (max-width: 1440px) {
    .top_img .top_decoration .decoration01 {
        width: 100%;
    }
    .top_img .top_decoration .decoration02 img {
        width: 100%;
    }
    .top_img .top_decoration3 {
        bottom: -65px;
    }
    .top_img .top_text {
        width: 50%;
    }
    .top_img .top_text p {
        font-size: 1.1rem;
    }
}
@media(max-width: 991px) {
    .top_img .top_decoration {
        width: 70%;
    }
    .top_img .top_text {
        width: 60%;
        right: 20px;
    }
    .top_img .top_decoration2 {
        top: -20px;
    }
    .top_img .top_decoration3 {
        bottom: -40px;
    }
}
@media(max-width: 767px) {
    .top_img .top_text {
        width: 65%;
        gap: 5px;
        top: 150px;
    }
    .top_img .top_text p {
        font-size: 1rem;
    }
    .top_img .top_decoration {
        display: none;
    }
    .top_img .top_decoration2 {
        top: 0;
    }
    .top_img .top_decoration3 {
        bottom: -20px;
    }
}

/* トップスライドショー
/*--------------------------------------------------------*/
.slide_box {
    height: 800px;
    overflow: hidden;
    position: relative;
}
.item {
    opacity: 0;
    width:100%;
    height:100%;
    object-fit: cover;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-animation: anime 36s 0s infinite;
    animation: anime 36s 0s infinite;
}

.item:nth-of-type(2) {
    -webkit-animation-delay: 6s;
    animation-delay: 6s;
}
.item:nth-of-type(3) {
    -webkit-animation-delay: 12s;
    animation-delay: 12s;
}
.item:nth-of-type(4) {
    -webkit-animation-delay: 18s;
    animation-delay: 18s;
}
.item:nth-of-type(5) {
    -webkit-animation-delay: 24s;
    animation-delay: 24s;
}
.item:nth-of-type(6) {
    -webkit-animation-delay: 30s;
    animation-delay: 30s;
}
@keyframes anime {
    0% {
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    17% {
        opacity: 1;
    }
    25% {
        opacity: 0;
        transform: scale(1.2);
                    z-index:9;
    }
    100% { opacity: 0 }
}
@-webkit-keyframes anime {
    0% {
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    17% {
        opacity: 1;
    }
    25% {
        opacity: 0;
        -webkit-transform: scale(1.2);
            z-index:9;
    }
    100% { opacity: 0 }
}
.pc_view {
    display: block;
}
.sp_view {
    display: none;
}
@media (max-width: 1440px) {
    .slide_box {
        height: 600px;
    }
}
@media (max-width: 1280px) {
    .slide_box {
        height: 500px;
    }
}
@media (max-width: 767px) {
    .pc_view {
        display: none;
    }
    .sp_view {
        display: block;
    }
}

/* お知らせ
/*--------------------------------------------------------*/
#infomation {
    margin-top: 100px;
}
#infomation .info_contents {
    width: 70%;
    margin: 0 auto;
    display: flex;
    gap: 25px;
    flex-direction: column;
}
#infomation .info_contents dl {
    position: relative;
    display: flex;
    flex-direction: column;
}
#infomation .info_contents dl:after {
    position: absolute;
    top: 10px;
    right: 15px;
    display: block;
    width: 9px;
    height: 9px;
    margin: auto;
    content: '';
    transform: rotate(135deg);
    border-top: 2px solid #666;
    border-right: 2px solid #666;
}
#infomation .info_contents .open:after {
    transform: rotate(-45deg);
}

#infomation .info_contents dl dt {
    width: 100%;
    display: flex;
    font-weight: 600;
    border-bottom: dotted 1px #909090;
    padding-bottom: 10px;
}
#infomation .info_contents dl dt .date {
    width: 20%;
}
#infomation .info_contents dl dt .title {
    width: calc(100% - 20%);
    color: #0189bb;
    padding-right: 40px;
}
#infomation .info_contents dl dd {
    width: 100%;
    font-weight: bold;
    display: flex;
    justify-content: end;
    padding-top: 10px;
}
#infomation .info_contents dl dd p {
    width: 80%;
}
@media(max-width: 1280px) {
    #infomation .info_contents {
        width: 90%;
    }
    #infomation .info_contents dl dt .date {
        width: 30%;
    }
    #infomation .info_contents dl dt .title {
        width: calc(100% - 30%);
    }

    #infomation .info_contents dl dd p {
        width: 70%;
    }
}
@media(max-width: 1024px) {
    #infomation {
        margin-top: 100px;
    }
    #infomation .info_contents dl dd p {
        width: 100%;
    }
}
@media(max-width: 767px) {
    #infomation .info_contents {
        width: 100%;
    }
    #infomation .info_contents dl dt {
        flex-direction: column;
    }
    #infomation .info_contents dl dt .date {
        width: 90%;
    }
    #infomation .info_contents dl dt .title {
        width: 90%;
        padding-right: 0;
    }
}

/* 診療案内
/*--------------------------------------------------------*/
.bk_img {
    background-image: url(img/back_img01.jpg);
    padding: 5px 0 70px;
    margin-top: 50px;
    background-size: cover;
}
#medical_info .subject {
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    width: 500px;
    margin: 20px auto;
    box-shadow: 3px 3px 10px 0px rgba(150, 150, 150, 0.4);
    text-align: center;
    padding: 20px;
}
#medical_info .subject h5 {
    color: #0189bb;
    font-weight: bold;
}
#medical_info .subject h5::after {
    font: var(--fa-font-solid);
    content: "\f111";
    color: #0189bb;
    font-size: 10px;
    padding-left: 5px;
}
#medical_info .subject h5::before {
    font: var(--fa-font-solid);
    content: "\f111";
    color: #0189bb;
    font-size: 10px;
    padding-right: 5px;
}
#medical_info .contents {
    display: flex;
    gap: 20px;
    margin-top: 60px;
    justify-content: center;
}
#medical_info .contents .item01,
#medical_info .contents .item02 {
    width: 49%;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    box-shadow: 3px 3px 10px 0px rgba(150, 150, 150, 0.4);
    text-align: center;
    padding: 50px 30px 30px 30px;
    position: relative;
}
#medical_info .contents .item01 h5 {
    color: #fff;
    font-weight: bold;
    background-color: #57b229;
    border-radius: 10px;
    width: 250px;
    padding: 10px;
    position: absolute;
    right: 0;
    left: 0;
    top: -35px;
    margin: 0 auto;
}
#medical_info .contents .item01 .text {
    height: 130px;
    display: flex;
    justify-content: center;
    align-items: center;
}
#medical_info .contents .item01 img {
    width: 95%;
    margin: 20px 0;
}
#medical_info .contents .item01 .attention {
    color: #c00;
}
#medical_info .contents .item02 h5 {
    color: #fff;
    font-weight: bold;
    background-color: #ff8b00;
    border-radius: 10px;
    width: 250px;
    padding: 10px;
    position: absolute;
    right: 0;
    left: 0;
    top: -35px;
    margin: 0 auto;
}
#medical_info .contents .item02 .text {
    height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#medical_info .contents .item02 .text .time {
    color: #0189bb;
    font-size: 1.3rem;
    margin-bottom: 5px;
    width: 100%;
}
#medical_info .contents .item02 img {
    width: 95%;
    margin: 20px 0;
}
#medical_info .contents .item02 .attention {
    color: #c00;
}
@media(max-width: 1280px) {
    #medical_info .contents .item01,
    #medical_info .contents .item02 {
        width: 100%;
    }
}
@media(max-width: 1024px) {
    #medical_info .contents {
        flex-direction: column;
        gap: 60px;
    }
    #medical_info .subject {
        width: 100%;
    }
}
@media (min-width: 1281px) and (max-width: 1450px) {
    #medical_info .contents .item01 .text {
        height: 130px;
    }
    #medical_info .contents .item02 .text {
        height: 130px;
    }
}
@media(max-width: 767px) {
    #medical_info .contents .item01,
    #medical_info .contents .item02 {
        padding: 40px 20px 20px 30px;
    }
}



/* マイナ保険証について
/*--------------------------------------------------------*/
#mynumber_text {
    margin-top: 50px;
    background-image: url(img/back_img01.jpg);
    padding: 30px 0;
    background-size: cover;
}
#mynumber_text .contents_box {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
}
#mynumber_text .contents_box p {
    font-size: .9rem;
}

/* ページトップ
/*--------------------------------------------------------*/
#pagetop {
    position: fixed;
    z-index: 1020;
}
#pagetop > a { background-image: url(img/pagetop.png); }
#pagetop > a {
    display: inline-block;
    background-repeat: no-repeat;
    background-size: contain;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
}
#pagetop > a:hover {
    opacity: 0.8;
}
#pagetop > a {
    width: 80px;
    height: 80px;
}
@media (min-width:768px) {
    #pagetop > a {
        width: 90px;
        height: 90px;
    }
}

/* メイン画像
/*--------------------------------------------------------*/
.top_img img{
    width: 100%;
}
.top_img .pc_img {
    display: block;
}
.top_img .sp_img {
    display: none;
}

@media (max-width:767px) {
    .top_img .pc_img {
        display: none;
    }
    .top_img .sp_img {
        display: block;
    }
}

/* 共通タイトル
/*--------------------------------------------------------*/
.section_title h3 {
    font-weight: 600;
    position: relative;
    padding: 1rem;
    text-align: center;
    margin: 30px 0 !important;
}
.section_title h3:after {
    background-color: #ff8b00;
    content: "";
    border-radius: 2px;
    height: 4px;
    position: absolute;
    bottom: 0px;
    left: calc(50% - 75px);
    width: 150px;
}
@media (max-width: 767px) {
}

/*--------------------------------------------------------*/
/* その他
/*--------------------------------------------------------*/
#overlay {
    display: none;
    width: 100%;
    height: 100%;
    text-align: center;
    position: fixed;
    top: 0;
    z-index: 1100;
    background: rgba(0, 0, 0, 0.7);
}
#overlay i {
    position: relative;
    top: 48%;
    color: #fff;
    font-size: 3em;
}
.construction {
    padding: 40px;
    background: rgba(255, 255, 255, 0.85);
    color: #666;
    font-size: 150%;
}

/* 見出しデザイン */
.pic-container {
    position: relative;
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 84px;
    padding: 0;
    box-sizing: border-box;
    background-color: #fefefe;
    z-index: 0;
    padding-left: 25px;
    align-items: start;
}
.pic-container h2 {
    position: relative;
    margin-bottom: 0.2rem;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}
@media(max-width: 991px) {
    .pic-container h2 {
        font-size: 18px;
    }
}

.pic-container h2::before {
    position: absolute;
    top: -17px;
    left: 50%;
    transform: translateX(-50%);
    color: #d7eefb;
    font-size: 50px;
    text-transform: uppercase;
    content: 'service';
    z-index: -1;
}

/* 受付時間
/*--------------------------------------------------------*/
h4 {
    font-weight: bold;
}
#timelist, #access {
    text-align: center;
    font-weight: bold;
}
#timelist img {
    width: 100%
}
#timelist .bluetext {
    color: #33A5BE;
}
#timelist address > a {
    display: block;
    margin: 10px auto;
    color: #33A5BE;
    font-size: 170%;
    text-decoration-line: none;
}
#timelist address > a > img {
    width: 6%;
}
#timelist .timelist_erea > div {
    padding: 0.3em;
    font-size: 120%;
    font-weight: 600;
    background-color: #ffd6e0;
    color: #ff5757;
    border-radius: 10px;
    border: 3px solid #ff5757;
    width: 50%;
    margin: auto;
    margin-bottom: 10px;
}
@media (max-width:991px) {
    #timelist .timelist_erea {
        margin-top: 20px;
    }
}
@media (max-width:767px) {
    #timelist address > a > img {
        width: 10%;
    }
}
/* アクセス
/*--------------------------------------------------------*/
#access .access_text {
    padding: 0.3em;
    background-color: #33A5BE;
    color: #fff;
    border-radius: 50px;
    margin: auto;
    margin-bottom: 10px;
}
#access .access_text > i {
    color: #fff;
}
#access .redtext {
    color: #ff5757;
}
#access span > a {
    margin: 10px auto;
    color: #333;
    font-size: 150%;
    text-decoration-line: none;
}
@media (max-width:767px) {
    #access img {
        width: 100%;
    }
}
@media (max-width:990px) {
    /* 要素の順番入替え */
    #access .access_area {
        order: 2;
    }
    #access .access_img {
        order: 1;
    }
}

/* フッター
/*--------------------------------------------------------*/
.footer_main {
    padding-top: 10px;
    background: #b2e1ed;
}
#footer hr {
    margin: auto;
    color: #fff;
}
#footer .navi {
    padding-bottom: 5px;
    display: inline-block;
}
#footer .navi ul li {
    display: inline-block;
    width: 46%;
}
#footer .navi ul li a {
    color: #000;
    display: inline-block;
    line-height: 2;
    white-space: nowrap;
    text-decoration: none;
    font-weight: bold;
}
#footer .copyright {
    color: #888;
    text-align: center;
}
#footer .sp_logo > a > img{
    width: 90%;
    margin: 10px 0 70px;
}
#footer .btn_area img {
    width: 50%;
}

@media (min-width: 768px){
    #footer a > img{
        margin: 10px 0;
    }
    #footer span {
        display: inline-block;
        vertical-align: middle;
        margin-left: 10px;
    }
    #footer .navi ul li {
        display: inline-block;
        width: auto;
    }
    #footer .navi ul li a:first-child {
        padding-left: 0;
    }
    #footer .navi ul li a {
        padding: 0 1em;
    }
}
@media(max-width: 767px) {
    .fixed_bottom {
        width: 75%;
        position: fixed;
        bottom: 3.5%;
        left: 5%;
        z-index: 20000;
    }
}

/* コンテンツ幅調整（スマホ版）
/*--------------------------------------------------------*/
@media(max-width: 767px) {
    .bk_img {
        margin-top: 40px;
    }
    #medical_info .contents .item01 .text,
    #medical_info .contents .item02 .text {
        height: auto;
    }
    #timelist .timelist_erea,
    #access .access_area {
        margin-top: 20px;
    }
    #mynumber_text {
        margin-top: 30px;
    }
    #infomation {
        margin-top: 50px;
    }
}

