@charset "UTF-8";

@media screen and (max-width: 1120px) {
    #aTopHeaderConcept {
        left: 20px;
        margin-left: 0;
    }
}

@media screen and (max-width: 1024px) {
    #aHeadSubMenu,
    #aTopHeadCont {
        display: none;
    }
    
    #aFootInfoTable {
        margin-right: -250px;
        padding-right: 250px;
    }
}

@media screen and (max-width: 768px) {
    
    .aPcView {
        display: none !important;
    }
    
    .aSpView {
        display: block;
    }
    
    /* ヘッダー */
    
    body > header {
        height: 60px;
        background-color: rgba(255,255,255,0.8);
    }
    
    #aTopHeadTitle {
        padding: 10px 0;
        font-size: 16px;
        line-height: 20px;
    }
    
    #aTopHeadTitle span {
        display: block;
        padding-right: 0;
        font-size: 12px;
    }

    #aMenuOpen {
        width: 60px;
        float: left;
        cursor: pointer;
    }
    
    #aSpMenu {
        display: none;
        width: 100%;
        height: 100%;
        background-color: rgba(247,156,171,0.95);
        position: fixed;
        left: 0;
        top: 0;
        z-index: 99999;
    }

    #aMenuClose {
        width: 60px;
        float: right;
        cursor: pointer;
    }
    
    #aSpMenu ul {
        padding: 80px 20px 20px;
    }
    
    #aSpMenu ul li {
        line-height: 40px;
        text-align: center;
    }
    
    #aSpMenu ul li a {
        color: #FFF;
    }
    
    /* フッター */
    
    #aPageTop {
        right: 20px;
    }
    
    #aFootContent {
        padding: 20px 20px 10px;
    }
        
    #aFootInfo,
    #aFootInfoTable {
        margin-right: 0;
        padding-right: 0;
        float: none;
    }
    
    #aFootContact,
    #aFootInfoText {
        width: 100%;
        float: none;
    }
    
    #aFootInfoTable .taRight {
        text-align: left;
        margin-bottom: 10px;
    }
    
    /* トップページ */
    
    #aTopHeader {
        height: auto;
    }
    
    #aTopHeaderSlide {
        height: 240px;
    }
    
    #aTopHeaderConcept {
        width: 100%;
        padding: 0 20px;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        font-size: 21px;
        z-index: 990;
        top: auto;
        left: 0;
        bottom: 40px;
        text-align: center;
    }
    
    #aTopMainWrap {
        padding: 20px;
    }
    
    #aTopNewsWrap,
    #aTopMedicalWrap {
        width: 100%;
        max-width: none;
    }
    
    #aTopNewsWrap {
        margin-bottom: 20px;
    }
    
    #aTopTopics {
        margin-bottom: 0;
    }
    
    #aTopTopics dl dd {
        height: auto;
    }
    
    #aTopGreeting {
        font-size: 20px;
    }
    
    #aTopGreeting p:first-child::after {
        width: 112px;
    }
    
    #aTopGreeting p + p {
        margin-top: -29px;
    }
    
    /* 下層ページ */

    #aMainWrap {
        padding: 20px;
    }
    
    #aMainColumn p {
        padding-bottom: 0;
        margin-bottom: 20px;
    }
    
    .aPageHeadImage #aPageHeadCont {
        height: 200px;
    }
    
    #aPageHeadTitle {
        height: 41px;
        bottom: 20px;
        font-size: 20px;
        line-height: 41px;
        text-indent: 41px;
    }
    
    #aPageHeadTitle:before {
        width: 21px;
        height: 21px;
        background-size: cover;
        top: 10px;
        left: 10px;
    }
    
    #aPageHeadTitle i {
        display: none;
    }
    
    #aSideColumn {
        display: none;
    }
    
    #aMainColumn {
        margin-right: 0;
        padding-right: 0;
        float: none;
    }
    
    #aMainColumn h2,
    #aMainColumn h3 {
        font-size: 18px;
    }
    
    #aMainColumn h2 {
        background-position: 10px 10px;
        line-height: 27px;
    }
    
    #staffBallon {
        padding: 20px;
    }
    
    #staffBallon:before {
        display: none;
    }
    
    #aStaffHead figure {
        margin-bottom: 20px;
    }
    
    .aStaffIntro {
        padding-top: 10px;
        font-size: 16px;
    }
    
    #staffBallon strong,
    #staffBallon span {
        font-size: 20px !important;
    }
    
    #aStaffHead .elementor-image-box-title {
        font-size: 24px;
    }
    
    #medicalPolicy th {
        width: 38px !important;
        padding: 10px 0 !important; 
    }

    #medicalPolicy td {
        font-size: 18px;
    }
    
    #aMainColumn table.timetable th {
        font-size: 14px;
    }
    
    #aMainColumn table.timetable td {
        font-size: 20px;
    }
    
    #aMainColumn table.timetable th,
    #aMainColumn table.timetable td {
        padding: 0 !important;
        height: 34px;
        vertical-align: middle !important;
    }  
    
    #aParkingMap iframe {
        height: 360px;  
    }

    div.aPostContent {
        padding: 10px 0;
    }

    div.aPostContent iframe {
        width: 100%;
        height: 360px;
    }
    
    
}

@media screen and (max-width: 414px) {
    /* トップページ */
    
    #aTopGreeting {
        padding: 20px;
        font-size: 18px;
    }
    
    #aTopGreeting span:first-child::after {
        width: 100px;
    }
    
    #aTopGreeting span + span {
        margin-top: -27px;
    }
    
    /* 下層ページ */
    
    #aParkingMap iframe {
        height: 240px;  
    }
    
    div.aPostContent iframe {
        height: 240px;
    }
    
    #aStaffHead figure {
        margin-bottom: 10px;
    }
    
    .aStaffIntro {
        font-size: 14px;
    }
    
}