@charset "utf-8";
/* CSS Document */
body {
    padding: 0;
    margin: 0;
}
/* ===============================================
ヘッダー
=============================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
    height: 130px;
    padding: 0;
    margin: 0;
    z-index: 2000;
}
.header__container {
    width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: inherit;
  padding: 0;
  margin: 0;
  position: relative; /* for z-index layering */
}
/* ===============================================
ロゴ
=============================================== */
.rotating-box {
    padding: 25px;
      display: flex;
      justify-content: center;
      font-size: 18px;
      animation: rotateY 12s infinite linear;
    /*animation-iteration-count: 1;*/
    height: 75px;
}
.rotating-box img,.rotating-box source {
    height: 75px;
}
/* Y軸回転アニメーション */
@keyframes rotateY {
  0% { transform: rotateY(0deg); }
  10% { transform: rotateY(180deg); }
  20% { transform: rotateY(360deg); }
  100% { transform: rotateY(360deg); }
}
/* ===============================================
ハンバーガーボタン
=============================================== */
input[type="checkbox"] {
  opacity: 0;
  visibility: hidden;
  position: absolute;
}
.hamburger {
  display: block;
  width: 50px;
  height: 80px;
  position: relative;
display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  margin: 0 25px;
  z-index: 10000; /* ensure on top */
}
.hamburger span,
.hamburger span::before,
.hamburger span::after {
  position: absolute;
  display: block;
  content: "";
  width: 100%;
  height: 2px;
  background-color: #0e3460;
  transition: all 0.5s;
}
.hamburger span::before { top: -10px; }
.hamburger span::after { bottom: -10px; }
input[type="checkbox"]:checked + .hamburger span { background-color: transparent; }
input[type="checkbox"]:checked + .hamburger span::before { top: 0; transform: rotate(45deg); }
input[type="checkbox"]:checked + .hamburger span::after { bottom: 0; transform: rotate(-45deg); }

/* ===============================================
メニュー
=============================================== */
.nav {
  position: fixed;
  z-index: 9000;
  width: 400px;
  height: 100vh;
  top: 130px;
  right: -120%;
  background-color: #0e3460;
  color: #fff;
  padding: 50px 0;
  transition: all 0.5s;
}
.nav__lIst {
    list-style: none;
    padding: 0;
    margin: 0;
    font-family: "Noto Serif JP", serif;
}
.nav__item  {
  display: block;
  font-size: 22px;
  padding: 30px 0 10px 50px;
  text-transform: uppercase;
    color: white;
    text-decoration: none;
}
.nav__item a { color: white; text-decoration: none; }
.nav__item a:hover { opacity: 0.8; }
.nav__lIst dd {
    padding: 3px 0;
    margin: 0 0 0 70px;
    font-size: 90%;
}
.nav__lIst dd a {
    color: white;
    text-decoration: none;
    border-bottom: dotted 1px white;
    display: inline;
}
.nav__lIst dd a:hover { opacity: 0.8; }
input[type="checkbox"]:checked ~ .nav { right: 0; }

/* ===============================================
ページ
=============================================== */
.all {
    width: 100%;
    height: 100vh;
    /*position: relative;*/
    position: absolute;
    padding:  0;
    margin: 0;
    top: 0px;
    left: 0px;
}
/* ===============================================
診察時間
=============================================== */
figure {
    display: inline-block;
    padding: 0;
    margin: 10px;
    text-align: left;
    color: #0e3460;
    font-family: "Noto Serif JP", serif;
}
figcaption {
    padding: 0 0 15px 0;
    margin: 0;
    font-size: 1.3em;
}
.add { font-size: 75%; }
.tel a {
    font-size: 130%;
    font-weight: bold;
    text-decoration: none;
    color: #0e3460;
}
figure table {
    text-align: center;
    border: solid 2px #0e3460;
    border-radius: 7px;
    font-size: 0.8em;
}
.youbi { font-weight: bold; }
figure td {
    border-right: solid 1px #0e3460;
    border-bottom: solid 1px #0e3460;
    padding: 10px 15px;
}
.noborder1 { border-right: none !important; }
.noborder2 { border-bottom: none !important; }
.noborder3 { border-right: none !important; border-bottom: none !important; }
figure ul {
    padding: 15px 0 0 0;
    margin: 0 0 0 10px;
    font-size: 0.8em;
    line-height: 150%;
    list-style-position: outside;
}
@media (max-width: 900px){
.nav {
  position: fixed;
  z-index: 9000;
  width: 400px;
  height: 100vh;
  top: 130px;
  right: -120%;
  background-color: #0e3460;
  color: #fff;
  padding: 20px 0;
  transition: all 0.5s;
}
}
