@charset "utf-8";
/* CSS Document */

body, button, a {
    color: #011111;
    margin: 0;
    padding: 0;
    word-wrap: break-word;
    font-family: 'ヒラギノ角ゴシック','Hiragino Sans',YuGothic,'Yu Gothic',sans-serif;
    line-height: 1.8;
}
html {
	scroll-behavior: smooth;
}
* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    line-height: 1.5;
}
img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
}
p {
    margin: 0 0 1em;
    line-height: 2;
}
p:last-child {
    margin: 0;
}
p, ul, ol, li, table {
    font-size: 16px;
}
ul, li {
    list-style: none;
    padding: 0;
    margin: 0;
}

ul.list, ol.list {
    padding-left: 1.3em;
}
.list li {
    list-style: disc;
}
ol.list li {
    list-style: decimal;
}
.list li:not(:last-child) {
    padding: 0 0 .5em 0;
}

dl {
    display: flex;
    align-items: baseline;
    margin: 0;
}
dt {
    flex-shrink: 0;
}
dd {
    margin-left: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}
tr:first-child {
    border-top: 1px solid #acacac;
}
th, td {
    padding: .6em .8em;
    text-align: left;
    border-left: 1px solid #acacac;
    border-bottom: 1px solid #acacac;
}
th {
    background: #C7EAED;
    text-align: center;
}
th:last-child, td:last-child {
    border-right: 1px solid #acacac;
}
a {
    text-decoration: none;
}
a:hover, .link:hover, .button:hover, .pdf__list li:hover {
    opacity: .7;
    transition: .3s;
}
a.underline {
    color: #31949D;
    font-weight: bold;
    border-bottom: 1px solid;
}


.link, .button, .pdf__list li {
    position: relative;
    transition: .3s;
}
.link a, .button a, .pdf__list a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.center {
    text-align: center;
}
.center-img {
    margin: auto;
}
.__pc {
    display: none;
}
.__sp {
    display: inline-block;
}
.wrap {
    padding: 0 1.5em;
}

.arrow::after, .button::after {
    font-family: "Font Awesome 6 Free";
    content: '\f138';
    margin-left: .5em;
    font-size: 90%;
    font-weight: bold;
}
.button {
    color: #fff;
    font-weight: bold;
    border-radius: 5px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5em auto;
    font-size: 14px;
    padding-right: 1em;
}
.h_pharmacist .button {
    background: #48B9C3;
}
.p_pharmacist .button {
    background: #5AA818;
}
.student .button {
    background: #E87D21;
}
@media screen and (min-width: 370px) {
    .button {
        font-size: 1em;
        max-width: 375px;
    }
}
.button::after {
    position: absolute;
    right: 1em;
    top: 50%;
    transform: translateY(-50%);
}


.list-date {
    font-size: 14px;
    margin: 0 1em 0 0;
}
.list-date span {
    font-size: 85%;
    background: #C4D9EC;
    padding: 4px;
    margin: 0 0 0 1em;
}
.list-title {
    margin: .5em 0 0;
    font-size: 13px;
}

.blue {
    color: #38AAB4;
}
.green {
    color: #5AA818;
}
.orange {
    color: #E87D21;
}
.red {
    color: #FF0000;
}

@media screen and (min-width: 768px) {
    .__pc {
        display: inline-block;
    }
    .__sp {
        display: none;
    }
    a[href*="tel:"] {
        pointer-events: none;
        cursor: default;
        text-decoration: none;
    }
    .wrap {
        max-width: 1170px;
        box-sizing: content-box;
        margin: auto;
    }
    .list-title {
        font-size: 1em;
    }
}


/* #main-header
-------------------------------------------*/
.header_fixed {
    position: fixed!important;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
}
.m-header__wrap {
    position: relative;
    font-weight: bold;
    padding: 0 1em;
}
.m-header__name {
    font-size: 19px;
    line-height: 1;
}
.m-header__name-en {
    font-size: 43%;
    display: block;
}
#global li:hover, #global a:hover {
    opacity: 1;
}

.m-header__dropmenu {
    position: relative;
}

.d-hospital__link::before {
   content: url("../img/icon/menu_sp__hospital.png");
}
.d-pharmacy__link::before {
   content: url("../img/icon/menu_sp__pharmacy.png");
}
.d-student__link::before {
   content: url("../img/icon/menu_sp__student.png");
}
.d-about__link::before {
   content: url("../img/icon/menu_sp__about.png");
}
.d-first__link {
    font-size: 16px;
    display: flex;
    align-items: center;
}
.d-first__link::before {
    padding: 0 .7em;
}

.m-header__dropmenu-list a {
	line-height: 1;
}
.m-header__dropmenu-list::after {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}
.m-header__dropmenu-sub {
	width: 100%;
}
.m-header__dropmenu-sub li {
	overflow: hidden;
	height: 0;
	transition: .2s;
    font-size: 17px;
}
.m-header__dropmenu-sub a {
    height: 52px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 0 50px;
}
.m-header__dropmenu-sub a::after {
    font-family: "Font Awesome 6 Free";
    content: '\f138';
    font-size: 10px;
}
#d-hospital .m-header__dropmenu-sub a {
    background: #A3DCE1;
}
#d-pharmacy .m-header__dropmenu-sub a {
    background: #9EC57D;
}
#d-student .m-header__dropmenu-sub a {
    background: #E5AF81;
}
.menu__secret a {
    position: relative;
    padding-left: 70px!important;
}
.menu__secret img {
    position: absolute;
    left: 50px;
}

.m-header__resident-list {
    font-size: 14px;
}
.m-header__resident-list a::after {
    font-family: "Font Awesome 6 Free";
    content: '\f138';
    color: #3C83BF;
    margin-left: .5em;
    font-weight: bold;
}

@media screen and (min-width: 768px) {
    .m-header__wrap {
        margin: 1.5em auto 0;
        max-width: 1300px;
    }
    .m-header__name {
        font-size: 2.4vw;
        display: flex;
        align-items: center;
    }
    .m-header__name-en {
        font-size: 37%;
        margin: 0 0 0 1em;
        display: inline-block;
    }
    .d-hospital__link::before {
       content: url("../img/icon/menu_pc__hospital.png");
    }
    .d-pharmacy__link::before {
       content: url("../img/icon/menu_pc__pharmacy.png");
    }
    .d-student__link::before {
       content: url("../img/icon/menu_pc__student.png");
    }
    .d-about__link::before {
       content: url("../img/icon/menu_pc__about.png");
    }
    #d-hospital.current {
        background: #A3DCE1;
    }
    #d-hospital:hover {
        background: #95CED3;
    }
    #d-pharmacy.current {
        background: #ACD38B;
    }
    #d-pharmacy:hover {
        background: #ACD38B;
    }
    #d-student.current {
        background: #F3BD8F;
    }
    #d-student:hover {
        background: #F3BE90;
    }
    #d-about.current {
        background: #9DC1DF;
    }
    #d-about:hover {
        background: #9DC1DF;
    }
    .d-first__link {
        height: 56px;
        font-size: 1.3vw;
    }
    .d-first__link::before {
        transform: scale(.6);
        padding: 0 .2em;
    }
    .m-header__nav {
        display: flex;
        justify-content: space-between;
    }
    .m-header__dropmenu {
        width: 25%;
    }
    .m-header__dropmenu li:hover .m-header__dropmenu-sub li {
		overflow: visible;
        height: 42px;
	}
    .m-header__dropmenu-list::after {
        right: 8px;
    }
    .m-header__dropmenu-sub {
        position: absolute;
        z-index: 9999;
        top: 100%;
        left: 0;
    }
    .m-header__dropmenu-sub li {
        font-size: 1.2vw;
    }
    .m-header__dropmenu-sub a {
        padding: 0 8px 0 10px;
        height: 42px;
    }
    .m-header__resident-list {
        font-size: 1.2vw;
    }
    .m-header__nav-sub {
        position: absolute;
        top: 1vw;
        right: 1em;
    }
    .m-header__resident {
        display: flex;
    }
    .m-header__resident-list:not(:last-child) {
        margin: 0 1em 0 0;
    }
    .m-header__dropmenu::after {
        content: '';
        border-right: 1px solid;
        color: #acacac;
        position: absolute;
        right: 0;
        height: 30px;
        top: 50%;
        transform: translateY(-50%);
    }
    #hamburger_menu {
        display: none;
    }
    .menu__sp {
        display: none;
    }
    .m-header__dropmenu-list:hover::after {
        font-family: "Font Awesome 6 Free";
        content: '\f138';
        font-size: 10px;
    }
    .menu__secret a {
        padding-left: 2em!important;
    }
    .menu__secret img {
        left: 1em;
        width: 1vw;
    }
}
@media screen and (min-width: 1000px) {
    .d-first__link::before {
        transform: scale(.8);
        padding: 0 .7em;
    }
    .m-header__dropmenu-list::after {
        right: 16px;
    }
    .m-header__dropmenu-sub a {
        padding: 0 16px;
    }
}
@media screen and (min-width: 1270px) {
    .m-header__name {
        font-size: 30px;
        margin: 0 0 .5em;
    }
    .d-first__link {
        font-size: 18px;
    }
    .d-first__link::before {
        transform: scale(1);
    }
    .m-header__dropmenu-sub li {
        font-size: 17px;
    }
    .m-header__resident-list {
        font-size: 16px;
    }
    .m-header__nav-sub {
        top: .8em;
    }
    .menu__secret img {
        width: auto;
    }
}


@media screen and (max-width: 767px) {
    .m-header__wrap {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 58px;
    }
    #hamburger_menu {
        position: relative;
        z-index: 9999;
        cursor: pointer;
        width: 30px;
        height: 35px;
        text-align: center;
        color: #2E618B;
    }
    #hamburger_menu i {
        position: absolute;
        transition: transform .5s, opacity .5s;
        width: 100%;
        height: 2px;
        background: #2E618B;
        display: block;
    }
    #hamburger_menu i:nth-child(1) {
        top: 0;
    }
    #main-header.active #hamburger_menu i:nth-child(1) {
        transform: translateY(10px) rotate(-45deg);
    }
    #hamburger_menu i:nth-child(2) {
        top: 10px;
    }
    #main-header.active #hamburger_menu i:nth-child(2) {
        opacity: 0;
    }
    #hamburger_menu i:nth-child(3) {
        top: 20px;
    }
    #main-header.active #hamburger_menu i:nth-child(3) {
        transform: translateY(-10px) rotate(45deg);
    }
    .hamburger_menu-txt {
        position: absolute;
        bottom: 0;
        left: 50%;
        width: 40px;
        transform: translateX(-50%);
        font-size: 9px;
        display: block;
        line-height: 1;
    }
    #hamburger_menu .close, #main-header.active .open {
        display: none;
    }
    #main-header.active .close {
        display: block;
    }
    
    #d-hospital {
        background: #38AAB4;
    }
    #d-pharmacy {
        background: #5AA133;
    }
    #d-student {
        background: #E87D21;
    }
    #d-about {
        background: #3C83BF;
    }
    .d-first__link:not(:last-child) {
        pointer-events: none;
    }
    .d-first__link {
        color: #fff;
        padding: .8em 20px;
    }
    .d-first__link::after {
        font-family: "Font Awesome 6 Free";
        position: absolute;
        right: 20px;
    }
    .d-first__link:not(:last-child)::after {
        content: '\f055';
    }
    .active_sp .d-first__link:not(:last-child)::after {
        content: '\f056';
    }
    .d-first__link:last-child::after {
        content: '\f138';
    }    
    .m-header__resident-list a {
        background: #D8D8D8;
        font-weight: normal;
        padding: 18px 20px 18px 50px;
        display: flex;
        justify-content: space-between;
    }
    #global a::after {
        font-size: 14px;
        color: #fff;
    }	
	.m-header__dropmenu .active_sp li {
		overflow: visible;
		height: 52px;
	}    
    #global {
        position: fixed;
        z-index: 0;
        top: 58px;
        right: -120%;
        height: 100vh;
        width: 100%;
        transition: all 0.6s;
        background: #d8d8d8;
        z-index: 9999;
    }
    #global.panel-active {
        overflow-y: scroll;
        right: 0;
    }  
}


/* #footer
-------------------------------------------*/
.footer__bg {
    position: relative;
    background: #2E618B;
    font-weight: bold;
    color: #fff;
}
.footer__wrap {
    padding: 2.5em 2em 5em;
}

.footer__wrap a {
    color: #fff;
    font-size: 14px;
}

.footer__menu-sub {
    margin: 0 0 0 2.3em!important;
}

.footer__pagetop {
    text-align: center;
}
.footer__pagetop i {
    font-size: 360%;
}
.footer__pagetop-txt {
    display: block;
    margin-top: -.5em;
}
.footer-bottom {
    border-top: 1px solid;
    padding: 1em 0;
    margin: 3em 0 0;
}
.footer-bottom__name {
    font-size: 20px;
}
.footer-bottom__copy {
    font-weight: normal;
    font-size: 10px;
}

@media screen and (min-width: 768px) {
    .footer__wrap {
        padding: 3.5em 1em 0;
    }
    .footer__wrap a {
        font-size: 1.3vw;
    }
    .footer-top {
        display: flex;
        justify-content: space-between;
    }
    .footer__nav {
        display: flex;
    }
    .footer__menu {
        margin: 0 4em 0 0!important;
    }
    .footer__menu a {
        display: flex;
        align-items: center;
        margin: 1em 0;
    }
    .footer__menu a::before {
        font-family: "Font Awesome 6 Free";
        content: '\f138';
        margin-right: .8em;
    }
    .footer-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5em 0;        
        margin: 1em 0 0;
    }
}

@media screen and (min-width: 1000px) {
    .footer__wrap a {
        font-size: 14px;
    }
}

@media screen and (max-width: 767px) {
    
    .f-first__link {
        pointer-events: none;
    }
    .footer__menu-sub li {
        overflow: hidden;
        height: 0;
        transition: .2s;
    }
    .active_sp .footer__menu-sub li {
		overflow: visible;
		height: 45px;
	}
    .footer__menu a {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 45px;
    }
    .footer__nav {
        border-top: 1px dotted #7A8188;
    }
    .footer__menu-list {
        border-bottom: 1px dotted #7A8188;
    }
    .footer__menu-list a::after {
        font-family: "Font Awesome 6 Free";
    }
    .f-first__link::after {
        content: '\f055';
    }
    .active_sp .f-first__link::after {
        content: '\f056';
    }
    .f-arrow a::after {
        content: '\f138';
    }
    
    .footer__pagetop {
        position: absolute;
        bottom: 1em;
        right: 2em;
    }
}

