/* ======================================
　PC／index画面のトップメニュー
====================================== */
header{
    width: 100%;
    margin: 0;
    background-color: #9e9478;
}
#pc-nav{
    display: block;
    margin: 0;
    height: 60px;
    background-color: #9e9478;
    color: #ffffff;
}
#pc-nav ul{
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    width: 100%;
    height: 100%;
    padding-left: 0;
    margin: 0;
    font-family: 'MARUGO';
    font-size: 0.9rem;
}
#pc-nav li{
    display: inline-block;
    width: 12%;
    text-align: center;
}
#pc-nav li:last-child{width: 20%;}
#pc-nav li .tel{
    display: block;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: bold;
}
#pc-nav li .tel img{
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.3rem;
    margin-bottom: -0.2rem;
}
#pc-nav li a{color: #ffffff;}


/* ======================================
　PC／子階層のサイドメニュー
====================================== */
.input-hidden{display: none;}
nav{
    width: 100%;
    margin: 0;
    font-family: "MARUGO";
    font-size: 1rem;
}
nav h1{display: none;}
nav a{
    text-decoration: none;
    color: #555647;
}
.menuwrap{margin: 0;}
.menulist{
    margin: 0;
    padding: 1.5rem 0 0 2rem;
    box-sizing: border-box;
    list-style: none;
    padding-left: 0;
}
.menulist li{padding: 0.1rem 0 0.1rem 2rem;}
.sick-list-titol{margin-top: 1rem;}
.menulist li:nth-last-child(-n+8){
    margin-left: 1rem;
    font-family: 'KAKUGO';
    font-size: 0.9rem;
}

/* ======================================
　　PC／フッター
====================================== */
#footer{
    width: 100%;
    padding: 3rem 3rem 2rem 3rem;
    box-sizing: border-box;
    background-color: #e9e4d4;
    font-size: 0.9rem;
    text-align: center;
}
#footer .flex-item1, .flex-item2{width: 47%;}
#footer .flex-item1 ul{
    list-style: none;
    padding-left: 0;
}
#footer .flex-item1 ul li:nth-child(2){
    font-family: "MARUGO";
    font-size: 1.6rem;
}
#footer .tel{
    font-family: "MARUGO";
    font-size: 2rem;
    text-decoration: none;
    color: #555647;
}
#footer .tel img{
    width: 1.6rem;
    height: 1.6rem;
    margin-right: 0.3rem;
    margin-bottom: -0.2rem;
}
/* 診療スケジュール小 */
#foot-schedule{
    width: 100%;
    background: #ffffff;
    border-collapse: collapse;
}
#foot-schedule th{
    border-bottom: solid 1px #555647;
    font-weight: normal;
}
#foot-schedule td{
    padding: 0.1rem 0.3rem;
    border-bottom: solid 1px #555647;
}
/* 地図 */
#map{
    width: 100%;
    height: 350px;
    overflow: hidden;
}
#map iframe{
    width: 100%;
    height: 800px;
    margin-top: -200px;
    border: none;
}


/* フッター　コピーライト --------------------- */
footer{
    width: 100%;
    margin: 0;
    padding: 0.5rem 0;
    background-color: #9e9478;
}
footer p{
    margin: 0;
    padding: 0;
    color: #ffffff;
}
#copyright{
    font-size: 0.8rem;
    text-align: center;
}

/* ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
　　SPハンバーガーメニュー
≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ */
.menu-btn {
    position: fixed;
    top: 10px;
    right: 10px;
    display: flex;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    z-index: 90;
    background-color: #3584bb;
}
.menu-btn span,
.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    background-color: #ffffff;
    position: absolute;
}
.menu-btn span:before {
    bottom: 8px;
}
.menu-btn span:after {
    top: 8px;
}

#menu-btn-check:checked ~ .menu-btn span {
    background-color: rgba(255, 255, 255, 0);/*メニューオープン時は真ん中の線を透明にする*/
}
#menu-btn-check:checked ~ .menu-btn span::before {
    bottom: 0;
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 0;
    transform: rotate(-45deg);
}

.menu-content {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 100%;/*leftの値を変更してメニューを画面外へ*/
    z-index: 80;
    background-color: #3584bb;
    transition: all 0.5s;/*アニメーション設定*/
}
.menu-content ul {
    padding: 70px 10px 0;
}
.menu-content ul li {
    border-bottom: solid 1px #ffffff;
    list-style: none;
}
.menu-content ul li a {
    display: block;
    width: 100%;
    font-size: 15px;
    box-sizing: border-box;
    color:#ffffff;
    text-decoration: none;
    padding: 9px 15px 10px 0;
    position: relative;
}
.menu-content ul li a::before {
    content: "";
    width: 7px;
    height: 7px;
    border-top: solid 2px #ffffff;
    border-right: solid 2px #ffffff;
    transform: rotate(45deg);
    position: absolute;
    right: 11px;
    top: 16px;
}

#menu-btn-check:checked ~ .menu-content {
    left: 0;/*メニューを画面内へ*/
}

#menu-btn-check {
    display: none;
}

/* ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
　　メディアクエリ　540PXまで
≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ */
@media (max-width: 540px){

header{
    position: fixed;
    width: 100%;
    height: 60px;
    z-index: 50;
}
#sp-nav{
    display: block;
    margin: 0;
    top: 0;
}
#pc-nav{display: none;}
.right{display: none;}

#sp-nav nav{
    width: 100%;
    height: 60px;
    margin: 0;
    padding: 0;
    vertical-align: middle;
}
#sp-nav nav h1{
    display: inline-block;
    height: 100%;
    margin: 0;
    padding: 1rem 0 0 1rem;
    box-sizing: border-box;
    background-color: unset;
    font-size: 1.4rem;
    color: #ffffff;
    text-align: left;
}
.menuwrap{
    position: fixed;
    top: 60px;
    left: 100%;
    z-index: 100;
    width: 100%;
    height: calc(100% - 60px);
    padding: 0.8rem 0 0 2.5rem;
    box-sizing: border-box;
    transition: .5s;
    background-color: #f8f4e6;
}

/* ======================================
　　SP　フッター
====================================== */
#footer{
    width: 100%;
    padding: 1rem 0 2rem 0;
    box-sizing: border-box;
    background-color: #e9e4d4;
    font-size: 0.9rem;
}
#footer .flex-item1, .flex-item2{
    width: 90%;
    margin: 1rem auto;
}
iframe {
  width: 100%;
  aspect-ratio: 16/9;
}
}
/* ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡
　　メディアクエリ　541PX～　ハンバーガー消す
≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ */
@media (min-width: 541px){

#sp-nav{display: none;}

}