/*
Theme Name: AsoTatenoHospital
Theme URL: テーマのサイトのURI
Description: 阿蘇立野病院のWPテーマ
Author: Ryoh Kurokawa
Version: 1.00
Tags: テーマの特徴を表すタグ（カンマ区切り/オプション）
License: テーマのライセンス
License URI: テーマのライセンスのURI
*/
@import url('https://fonts.googleapis.com/css?family=Noto+Serif+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url("css/loader.css");
@import url("css/navi.css");
@import url("css/post.css");
@import url("css/page.css");
@charset "utf-8";
/***************************************************************** default settings */
html {
    font-size: 62.5%;
        scroll-behavior: smooth;
    scroll-padding-top: 140px;
}

body {
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 14px;
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    color: #333;
    background: #fff;
    line-height: 2;
    -webkit-text-size-adjust: none;
}
* {
    box-sizing: border-box;
}
strong, b {
    font-weight: 900;
}
p {
    margin: 0 0 20px 0;
}
img {
    max-width: 100%;
    height: auto;
}
a {
    color: #1494AC;
    overflow: hidden;
    transition-property: all;
    transition: 0.2s linear;
}
a:hover {
    color: #111;
}
img, a img, a:hover img, a:visited img {
    border: none;
    transition: all .6s ease;
    vertical-align: middle;
}
a img:hover {
    opacity: 0.8;
}
a.zoom img:hover {
    transform: scale(1.1, 1.1);
    opacity: 1;
}
ul {
    margin: 0 0 20px 0px;
    padding: 0 0 0 20px;
}
ol {
    margin: 0 0 20px 0px;
    padding: 0 0 0 40px;
}

ul {
    list-style: none;
}
ul li {
    padding-left: 18px;
    background: url("img/icon_dot1.png") no-repeat left top 10px;
    background-size: 8px 8px;
}
.flex_wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
mark {
    background: linear-gradient(transparent 70%, #FFFF73 0%);
    font-weight: 600;
}
iframe {
    display: block;
}
@media screen and (max-width: 800px) {
html {
    scroll-padding-top: 90px;
}

    body {
        margin: 0;
        padding: 0;
        text-align: left;
        font-size: 13px;
        line-height: 2;
        min-width: 0;
    }
}
/***************************************************************** common style */
.mincho {
    font-family: 'Noto Serif JP';
}
.mb {
    margin-bottom: 30px;
}
.mb2 {
    margin-bottom: 40px;
}
.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}
.clearfix {
    min-height: 1px;
}
.clear {
    clear: both;
}
.center {
    text-align: center;
}
.right {
    text-align: right;
}
.left {
    text-align: left;
}
.red {
    color: #EB5153;
}
.pink {
    color: #EB526C;
}
.small {
    font-size: 13px;
    color: #555;
    font-weight: normal;
}
.big {
    font-size: 18px;
}
.big2 {
    font-size: 16px;
}
.big3 {
    font-size: 20px;
}
.pc {
    display: inherit !important;
}
.sp {
    display: none !important;
}
.pagelink {
    display: block;
    margin-top: -70px;
    padding-top: 70px;
}
.linkbtn {
    display: inline-block;
    padding: 6px 60px 6px 30px;
    color: #1494AC;
    background: url("img/icon_arrow1.png") no-repeat #fff;
    background-size: 16px 16px;
    background-position: right 20px center;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
}
.linkbtn:hover {
    background-color: #333;
    color: #fff;
}
.linkbtn2 {
    display: inline-block;
    padding: 6px 60px 6px 30px;
    color: #fff;
    background: url("img/icon_arrow5.png") no-repeat #1494AC;
    background-position: right 20px center;
    text-decoration: none;
    border-radius: 50px;
}
.linkbtn2:hover {
    background-color: #C8461C;
    color: #fff;
}
.flex_wrap {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.flex_center {
    justify-content: center;
}
.flex_between {
    justify-content: space-between;
}
.banzai {
    margin: auto;
    text-align: center;
    position: relative;
    display: inline-block;
    font-size: 16px;
    letter-spacing: 0.2em;
}
.banzai::before {
    display: block;
    position: absolute;
    left: -1.5em;
    top: 0;
    content: '';
    width: 2px;
    height: 100%;
    background-color: #666;
    border-radius: 3px;
    transform: rotate(-45deg);
}
.banzai::after {
    display: block;
    position: absolute;
    right: -1.5em;
    top: 0;
    content: '';
    width: 2px;
    height: 100%;
    background-color: #666;
    border-radius: 3px;
    transform: rotate(45deg);
}
.bg_line {
    background: url("img/bg_line_y.png") repeat-x bottom;
}
@media screen and (max-width: 800px) {
    .pc {
        display: none !important;
    }
    .sp {
        display: block !important;
    }
    .pagelink {
        display: block;
        margin-top: -0px;
        padding-top: 0px;
    }
    .img_right, .img_left {
        float: none;
        margin: 0 0 30px 0px;
        width: auto;
        max-width: 100%;
    }
    .img_right2 {
        float: right;
        margin: 0 0 30px 30px;
        width: 30%;
    }
}
/***************************************************************** basic layout */
#wrapper {}
.layout {
    width: 1200px;
    max-width: 100%;
    margin: auto;
    padding: 0 20px;
    text-align: left;
}
.layout_narrow {
    width: 900px;
    max-width: 100%;
    margin: auto;
    padding: 0 20px;
    text-align: left;
}
.layout_wide {
    width: 1300px;
    max-width: 100%;
    margin: auto;
    padding: 0 20px;
    text-align: left;
}
section {
    padding: 60px 0;
}
@media screen and (max-width: 800px) {
    .layout, .layout_narrow, .layout_wide {
        width: 100%;
        padding: 0 20px;
    }
}
/***************************************************************** box layout */
.box_left01 {
    width: 48%;
}
.box_right01 {
    width: 48%;
}
@media screen and (max-width: 800px) {
    .box_left01, .box_right01 {
        width: 100%;
    }
}
/***************************************************************** header */
header {
    width: 100%;
    margin: 0;
    text-align: left;
    z-index: 99;
    background: #fff;
    position: sticky;
    top: 0;
    border-bottom: 1px solid #eee;
}
header > div {
    height: 120px;
    position: relative;
    background: #fff;
}
header .logo {
    margin: 0;
    padding: 0;
    font-weight: normal;
    position: absolute;
    left: 20px;
    bottom: 30px;
}
header .logo img {
    width: 180px;
}
header .logo span {
    display: block;
    font-size: 10px;
    color: #666;
    padding: 0 0 10px 0;
}
.tel_header {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 14px;
}
.tel_header a {
    text-decoration: none;
    background: #1494AC;
    color: #fff;
    padding: 8px 20px;
    border-radius: 50px;
}
.tel_header a:hover {
    background: #C8461C;
}
.tel_header a i {
    padding-right: 10px;
}
#page header, #blog header {
    position: sticky;
    top: 0;
    border-bottom: 1px solid #eee;
}
@media screen and (max-width: 800px) {
    header {
        position: sticky;
        width: 100%;
        top: 0;
        left: 0;
        margin: 0;
    }
    header > div {
        height: 70px;
    }
    header .logo {
        position: absolute;
        left: 15px;
        top: 8px;
    }
    header .logo img {
        width: 150px;
    }
    header .logo span {
        display: none;
        padding: 0;
    }
    .tel_header {
        position: relative;
        top: auto;
        right: auto;
        text-align: center;
        color: #fff;
    }
    .tel_header a {
        text-decoration: none;
        color: #fff;
    }
}
/***************************************************************** footer */
#fotter_contact {
    background: url("img/bg_footer_contact.jpg") no-repeat center center;
    background-size: cover;
    padding: 60px 0 40px 0;
    color: #fff;
}
#fotter_contact > div {
    text-align: center;
}
#fotter_contact h2 {
    text-align: center;
    color: #fff;
    margin: 0 0 10px 0;
    padding: 0;
    font-size: 30px;
    /*font-family: 'Noto Serif JP';*/
    border: none;
}
#fotter_contact h2::before {
    content: '';
    position: absolute;
    bottom: 0px;
    width: 0%;
    height: 0px;
    background: none;
}
.tel_footer {
    font-size: 30px;
    /*font-family: 'Noto Serif JP';*/
}
.tel_footer a {
    text-decoration: none;
    color: #fff;
}
.tel_footer i {
    padding-right: 10px;
}
@media screen and (max-width: 800px) {
    #fotter_contact h2 {
        font-size: 20px;
    }
    .tel_footer {
        font-size: 20px;
    }
}
footer {
    background: #1494AC;
    padding: 60px 20px;
    color: #fff;
    clear: both;
    text-align: center;
}
.footer_logo {
    margin: 0;
}
.footer_logo img {
    width: 180px;
}
.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}
.pagetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 888;
}
.pagetop a {
    display: block;
    font-size: 20px;
    line-height: 60px;
    width: 60px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    text-decoration: none;
}
.pagetop a:hover {
    background: #C8461C;
}
.address {
    font-size: 12px;
}
.subject {
    font-size: 12px;
}
/*banner*/
.list_banner_footer {
    margin: 0 0 30px 0;
    padding: 0;
    list-style: none;
}
.list_banner_footer li {
    display: inline;
    width: 22%;
    margin: 6px;
    padding: 0;
}
.list_banner_footer li img {
    border-radius: 5px;
}
.box_footer_left {
    width: 44%;
}
.box_footer_right {
    width: 54%;
}
@media screen and (max-width: 800px) {
    footer {
        padding: 30px 20px;
    }
    .pagetop {
        display: none;
    }
    .footer_logo img {
        width: 150px;
    }
    footer .box_left01 {
        text-align: center;
        order: 2;
    }
    footer .box_right01 {
        text-align: center;
        order: 1;
    }
    .list_banner_footer li {
        width: 46%;
    }
    .box_footer_left {
        width: 100%;
        order: 2;
    }
    .box_footer_right {
        width: 100%;
        order: 1;
    }
}
/***************************************************************** main & sidebar */
main {
    width: 880px;
    padding: 20px 0 120px 0;
}
main#home {
    width: 100%;
    padding: 0px 0 120px 0;
}
#sidebar {
    width: 230px;
    padding: 20px 0 60px 0;
}
.sidebar_cnt {
    position: sticky;
    top: 140px;
    width: 100%;
}
#sidebar h3 {
    text-align: center;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    border-radius: 5px 5px 0 0;
    border: none;
}
#sidebar ::before {
    height: 0px;
}
#sidebar h3 span {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 10px;
}
#sidebar h3 a {
    display: block;
    padding: 14px 10px 10px 10px;
    background: #1494AC;
    color: #fff;
    text-decoration: none;
    border-radius: 5px 5px 0 0;
}
#sidebar h3 a:hover {
    background: #333;
}
/*banner*/
.list_banner {
    margin: 0;
    padding: 0px;
    list-style: none;
}
.list_banner li {
    width: 100%;
    margin: 0 0 6px 0;
    padding: 0;
}
.list_banner li img {
    border-radius: 5px;
}
#home .list_banner {
    padding: 0 60px !important;
    margin: 0 0 30px 0 !important;
}
#home .list_banner li {
    width: 40%;
    margin: 10px;
}
@media screen and (max-width: 800px) {
    main {
        width: 100%;
        padding: 20px 0 60px 0;
    }
    #sidebar {
        width: 100%;
        padding-bottom: 0;
    }
    .list_banner li {
        width: 46%;
        margin: 6px;
    }
    #home .list_banner {
        padding: 0px !important;
        margin: 0 0 0px 0 !important;
    }
    #home .list_banner li {
        width: 46%;
        margin: 6px;
    }
}
/***************************************************************** pagetitle */
#pagetitle {
    background: url("img/bg_pagetitle.jpg") no-repeat center center #0085B2;
    background-size: cover;
    padding: 40px 0 40px 0;
    text-align: center;
}
#pagetitle h1 {
    color: #fff;
    margin: 0;
    padding: 0;
    font-weight: normal;
    font-size: 30px;
    letter-spacing: 0.2em;
    /*font-family: 'Noto Serif JP';*/
}
@media screen and (max-width: 800px) {
    #pagetitle {
        padding: 20px 0 20px 0;
        text-align: center;
    }
    #pagetitle h1 {
        font-size: 20px;
        padding: 0 20px;
        letter-spacing: 0.1em;
    }
}
/***************************************************************** headline */
h2 {
    position: relative;
    clear: both;
    text-align: left;
    font-size: 24px;
    padding: 0 0 20px 0;
    margin: 0 0 40px 0;
    font-weight: normal;
    color: #1494AC;
    border-bottom: 2px solid #ddd;
    /*font-family: 'Noto Serif JP';*/
}
h2::before {
    content: '';
    position: absolute;
    bottom: -2px;
    width: 20%;
    height: 2px;
    background: #1494AC;
}
h3 {
    position: relative;
    clear: both;
    font-weight: 900;
    font-size: 18px;
    margin: 30px 0 16px 0;
    padding: 20px 0 10px 0px;
    color: #1494AC;
    border-bottom: 1px solid #ddd;
}
h3::before {
    content: '';
    position: absolute;
    bottom: -1px;
    width: 20%;
    height: 1px;
    background: #1494AC;
}
h4 {
    font-weight: 900;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 10px 0;
    padding: 0 0 0 12px;
    color: #444;
    border-left: 4px solid #1494AC;
}
h5 {
    font-weight: 900;
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 10px 0;
    padding: 0;
    color: #444;
}
.round {
    width: fit-content;
    background: #1494AC;
    color: #fff;
    padding: 6px 20px;
    border-radius: 6px;
    border: none;
    font-weight: 400;
    font-size: 17px;
    line-height: 1.2;
}
.round::before {
    content: none;
    position: relative;
    bottom: 0;
    width: 0;
    height: 0px;
    background: none;
}
@media screen and (max-width: 800px) {
    h2 {
        line-height: 1.6;
        font-size: 22px;
    }
    h3 {
        font-size: 16px;
    }
    h4 {
        font-size: 14px;
    }
    .round {
        font-size: 16px;
    }
}
/***************************************************************** breadcrumbs */
.breadcrumbs {
    margin: 0;
    padding: 20px 0;
    font-size: 12px;
    color: #999;
}
.breadcrumbs a {
    color: #999;
    text-decoration: none;
}
/***************************************************************** toppage */
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/**/
/***************************************************************** slider */
#slider {
    position: relative;
}
#slider h1 {
    margin: 0;
    padding: 0;
}
.slider_copy {
    position: absolute;
    
    left: 50%;
    top: 65%;
    transform: translate(-50%, -50%);
    z-index: 9;
}
@keyframes zoomUp {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.15);
    }
}
.swiper-slide-active .slide-img, .swiper-slide-duplicate-active .slide-img, .swiper-slide-prev .slide-img {
    animation: zoomUp 10s linear 0s 1 normal both;
}
.swiper-slide img {
    position: relative;
    display: block;
    z-index: 1;
    width: 100%;
    height: 85vh;
    object-fit: cover;
}

@media screen and (max-width: 800px) {
    .slider_copy {
        top: 35%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 80%;
    }
    .swiper-slide img {
        height: 100vh;
    }
}
/***************************************************************** top news */
.top_heading {
    display: inline-block;
    text-align: left;
    padding: 0 40px 0 0;
    margin: 0 0 40px 0;
    background: url("img/icon_arrow1.png") no-repeat;
    background-size: 16px 16px;
    background-position: right 0 top 26px;
    font-size: 30px;
    /*font-family: 'Noto Serif JP';*/
    border: none;
}
.top_heading span {
    display: block;
    font-size: 12px;
    color: #666;
    font-family: 'Noto Sans JP';
    letter-spacing: 2px;
}
.top_heading::before {
    content: '';
    position: absolute;
    bottom: 0px;
    width: 0%;
    height: 0px;
    background: none;
}
#topnews {
    position: relative;
    z-index: 10;
}
#topnews .title {
    width: 30%;
}
#topnews .body {
    width: 65%;
}
ul#top_news {
    margin: 0 0 40px 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
}
ul#top_news li {
    margin: 0;
    padding: 0;
    clear: both;
}
ul#top_news li span {
    margin: 0 0 10px 0;
}
ul#top_news li .thumbnail {
    display: block;
    width: 20%;
    float: left;
    margin: 0 30px 30px 0;
    overflow: hidden;
}
ul#top_news li .date {}
ul#top_news li .title {
    font-size: 16px;
    text-decoration: underline;
}
ul#top_news li .com {
    margin: 0 0 30px 0;
}
ul#top_news li a {
    text-decoration: none;
    color: #111;
}
ul#top_news li a:hover {
    color: #1494AC;
}
@media screen and (max-width: 800px) {
    .top_heading {
        display: inline-block;
        text-align: left;
        background: none;
        margin: 0;
    }
    .top_heading span {
        display: inline;
        padding: 0 0 0 20px;
    }
    #topnews .title {
        width: 100%;
    }
    #topnews .body {
        width: 100%;
    }
    #topnews .title h2 {
        text-align: center;
        padding: 0 0 20px 0;
        margin: 0px;
        border: none;
    }
    ul#top_news li {
        margin: 0 0 30px 0;
        ;
    }
}
/***************************************************************** top_emergency */
.top_emergency {

    z-index: 10;
    margin-bottom:80px;
}
/*
.top_emergency {
    position: absolute;
    left: 50%;
    top: 90%;
    transform: translate(-50%, -90%);
    z-index: 10;
}
*/
.top_emergency dl {
    background: #fff;
    border-radius: 5px;
    padding: 20px 0px;
    margin: 0;
    border:1px solid #D43B3E;
}
.top_emergency dt {
    width: 20%;
    padding: 0 0 0 40px;
    margin: 0;
    font-size: 18px;
    /*font-family: 'Noto Serif JP';*/
    font-family: "ten-mincho-text", serif;
    background: url("img/icon_em.png") no-repeat right 0 top 8px;
    background-size: 24px 24px;
}
.top_emergency dd {
    width: 78%;
    color: #D43B3E;
    padding: 4px 40px 0 0;
    margin: 0;
}
.top_emergency dd p {
    margin: 0;
}
.top_emergency dd .date {
    padding: 0 20px 0 0;
    font-size: 12px;
}
.top_emergency dd a {
    color: #D43B3E;
}
.top_emergency dd a:hover {
    color: #333;
}
@media screen and (max-width: 800px) {
    .top_emergency {
       /* left: 50%;
        top: 80%;
        transform: translate(-50%, -80%);*/
    }
    .top_emergency dt {
        width: 100%;
        padding: 0 20px 0 60px;
        font-size: 16px;
        background: url("img/icon_em.png") no-repeat left 20px top 4px;
        background-size: 24px 24px;
    }
    .top_emergency dd {
        width: 100%;
        color: #D43B3E;
        padding: 4px 20px;
    }
}
/***************************************************************** top medical */
section#top_medical {
    background: #F9F9F4;
    padding-bottom: 220px;
}
.top_medical h2 {
    width: 18%;
}
.top_medical p {
    width: 76%;
    padding: 10px 0 0 0;
}
.list_top_medical {
    margin: 0;
    padding: 0;
    list-style: none;
}
.list_top_medical li {
padding:0;
    width: 24%;
    text-align: center;
    background: #fff;
}
.list_top_medical li figure {
    overflow: hidden;
}
.list_top_medical li a {
    display: block;
    color: #1494AC;
    text-decoration: none;
    border: 1px solid #fff;
    padding: 0 0 20px 0;
}
.list_top_medical li a:hover {
    border: 1px solid #1494AC;
}
.list_top_medical li span {
    display: block;
}
.list_top_medical li span:first-child {
    font-size: 14px;
    color: #1494AC;
}
.list_top_medical li span:last-child {
    font-size: 12px;
    padding: 0 20px;
    color: #666 !important;
}
@media screen and (max-width: 800px) {
    section#top_medical {
        padding-bottom: 160px;
    }
    .top_medical h2 {
        width: 100%;
        margin: 0 0 30px 0;
    }
    .top_medical p {
        width: 100%;
        padding: 0;
    }
    .list_top_medical li {
        width: 48%;
        margin: 0 0 20px 0;
    }
}
/***************************************************************** top hospital */
section#top_hospital {
    margin-top: -180px;
}
.top_hospital_img {
    width: 40%;
}
.top_hospital_cnt {
    width: 55%;
}
.top_hospital h2 {
    width: 35%;
}
.top_hospital p {
    width: 60%;
    padding: 18px 0 0 0;
}
.list_top_hospital {
    margin: 0;
    padding: 20px 0;
    list-style: none;
}
.list_top_hospital li {
    width: 48%;
    margin: 0 0 10px 0;
    padding: 0;
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 46px 46px;
}
.list_top_hospital li a {
    display: block;
    color: #666;
    font-size: 14px;
    padding: 16px 0 16px 60px;
    border-bottom: 1px solid #ccc;
    text-decoration: none;
    background: url("img/icon_arrow4.png") no-repeat right center;
    background-size: 12px 12px;
}
.list_top_hospital li a:hover {
    color: #1494AC;
    border-bottom: 1px solid #1494AC;
    background: url("img/icon_arrow1.png") no-repeat right center;
    background-size: 12px 12px;
}
.list_top_hospital li.lth01 {
    background-image: url("img/icon_hospital.png");
}
.list_top_hospital li.lth02{
    background-image: url("img/icon_doctor.png");
}
.list_top_hospital li.lth03 {
    background-image: url("img/icon_heart.png");
}
.list_top_hospital li.lth04 {
    background-image: url("img/icon_map.png");
}
.list_top_hospital li.lth05 {
    background-image: url("img/icon_voice.png");
}
.list_top_hospital li.lth06{
    background-image: url("img/icon_file.png");
}
.list_top_hospital li.lth07{
    background-image: url("img/icon_blood.png");
}
.list_top_hospital li.lth08 {
    background-image: url("img/icon_baby.png");
}
.list_top_hospital li.lth09 {
    background-image: url("img/icon_wheelchair.png");
}
.list_top_hospital li.lth10 {
    background-image: url("img/icon_nurse.png");
}
@media screen and (max-width: 800px) {
    section#top_hospital {
        margin-top: -160px;
    }
    .top_hospital_img {
        width: 100%;
        margin: 0 0 30px 0;
    }
    .top_hospital_cnt {
        width: 100%;
    }
    .top_hospital h2 {
        width: 100%;
        margin: 0 0 30px 0;
    }
    .top_hospital p {
        width: 100%;
        padding: 0;
    }
}

/***************************************************************** top いんふぉ */
section#information{
padding:60px 0 0 0;
}
section#information .layout{
border:1px solid #ddd;
padding:20px 40px 30px 40px;
}
section#information h3{
margin:0 0 30px 0;
}
.box_info{
width:48%;
}
.box_info .img{
float:right;
margin:0 0 20px 20px;
}
@media screen and (max-width: 800px) {
section#information .layout{
border:none;
padding:0 20px;
}
.box_info{
width:100%;
}
}