@charset "UTF-8";
/*-------- 全ページのレイアウトcss --------*/
/* モバイルレイアウト 767px以下 */

:root{
  --main-font : 'M PLUS Rounded 1c', sans-serif;

  --font-20 : 20px;

  --main-color : #4E95F5;
  --sub-color01 : #ED9856;

  --bg-color01 : #EDF6FF;
  --bg-color02 : #FFF1E3;

}
img, object, embed, video {
  max-width: 100%;
  height: auto;
  margin: 0;
}

html {
  font-size: 100%; /* 16px基準 */
}

/*ふわっと表示*/
body {
  animation: fadeIn 2s ease 0s 1 normal;
  -webkit-animation: fadeIn 2s ease 0s 1 normal;
  font-size: 1.0625rem; /* 17px相当 */
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* --------------------------------------------------------
header
-------------------------------------------------------- */

header {
  width: 100%;
  position: relative;
}
header .header {
  width: 100%;
  position: relative;
}
h1,
header .header .site-title {
  margin: 0;
  padding: 3% 100px 3% 3%;
  height: 85px;
  line-height: 60px;
  width: 100%;
}
h1 p{
  padding: 0;
  margin: 0;
}
header .header a {
  text-decoration: none;
}
header .headerInfo {
  display: none;
}

/* --------------------------------------------------------
nav
-------------------------------------------------------- */

/* ハンバーガーボタン */
nav {
  width: 100%;
  position: relative;
}
nav .openBtn {
  position: fixed;
  z-index: 70;
  top: 0;
  right: 0;
  cursor: pointer;
  width: 85px;
  height: 85px;
  background: var(--main-color);
}
nav .openBtn span { /*×に変化*/
  display: inline-block;
  transition: all 0.4s;
  position: absolute;
  left: 25px;
  height: 3px;
  border-radius: 10px;
  background-color: #FFF;
  width: 45%;
}
nav .openBtn span:nth-of-type(1) {
  top: 23px;
}
nav .openBtn span:nth-of-type(2) {
  top: 31px;
}
nav .openBtn span:nth-of-type(3) {
  top: 39px;
}
nav .openBtn::after {
  position: absolute;
  left: 0;
  bottom: 10px;
  content: "MENU";
  display: block;
  width: 100%;
  color: #fff;
  font-size: 0.8rem;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transition: all 0.4s;
}
nav .openBtn.active::after {
  content: "CLOSE";
}
nav .openBtn.active span:nth-of-type(1) {
  transform: translateY(20px) rotate(-45deg);
  top: 8px;
}
nav .openBtn.active span:nth-of-type(2) {
  opacity: 0;
}
nav .openBtn.active span:nth-of-type(3) {
  transform: translateY(-20px) rotate(45deg);
  top: 48px;
}
nav #g-nav {
  position: fixed;
  z-index: 999;
  top: -120%;
  left: 0;
  z-index: 9;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: var(--bg-color02);
  transition: all 0.6s;
}
nav #g-nav ul {
  position: absolute;
  z-index: 999;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
nav #g-nav ul li {
  list-style: none;
  text-align: center;
  font-size: 1rem;
}
nav #g-nav ul li a {
  color: #48291D;
  text-decoration: none;
  margin: 20px 10px;
  padding: 0;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
nav #g-nav.panelactive {
  top: 0;
}
nav #g-nav.panelactive #g-nav-list { /*ナビの数が増えた場合縦スクロール*/
  position: fixed;
  z-index: 999;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.reserveNav {
  display: none;
}

/* --------------------------------------------------------
content
-------------------------------------------------------- */
section {
  width: 90%;
  margin: 0 auto;
  padding: 15% 0 0;
}

section:last-of-type {
  margin-bottom: 25%;
}

/* --------------------------------------------------------
footer
-------------------------------------------------------- */
footer {
  width: 100%;
  margin-bottom: 60px;
}
footer .footerBox {
  width: 90%;
  margin: 0 auto;
}

.footerBox .flexBox{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footerTitle{
  color: var(--main-color);
  font-size: 1.5rem;
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 700;
}

/* 診療時間 */
.timeTable {
  margin: 20px auto;
  width: 100%;
  font-size: 15px;
}
.timeTable table tr th {
  height: 40px;
  color: #FFF;
  font-family: "游ゴシック Medium", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "ＭＳ Ｐゴシック", "MS PGothic" "MS UI Gothic", "Helvetica", "Arial", "sans-serif";
  font-weight: normal;
  border-right: #FFF solid 1px;
}
.timeTable table tr th:last-of-type {
  border-right: none;
}
.timeTable table tr td {
  text-align: center;
}
.timeTable table tr td:first-of-type {
  padding-left: 0.5rem;
  text-align: left;
}
.timeTable table tr:first-of-type { /* 1段目 */
  background-color: var(--main-color);
}
.timeTable table tr:nth-of-type(2) td { /* 2段目 */
  border-right: #48291D solid 1px;
  border-bottom: #48291D solid 1px;
}
.timeTable table tr:nth-of-type(2) td:last-of-type {
  border-right: none;
}
.timeTable table tr:nth-of-type(3) td { /* 3段目 */
  border-right: #48291D solid 1px;
}
.timeTable table tr:nth-of-type(3) td:last-of-type {
  border-right: none;
}
.timeTable .red{
  margin: 0;
}
.serviceTimeS{
  line-height: 20px;
}
/* 医院情報 */

.yoyakusei {
  display: flex;
  color: var(--main-color);
  align-items: center;
  gap: 5%;
  margin-top: 0.5em;
}
.yoyakusei p {
  margin: 0;
}
.yoyakusei p:first-of-type {
  background: var(--main-color);
  color: #fff;
  white-space: nowrap;
  padding: 5px 10px;
}

.infoFoot {
  width: 96%;
  margin: 0 auto;
}
.infoFoot dl {
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.infoFoot dl dt {
  margin: 0 0 15px;
  padding: 3px 0 3px 6px;
  width: 30%;
  max-width: 90px;
  font-size: 1rem;
  font-weight: bold;
  border-left: var(--sub-color01) solid 5px;
}
.infoFoot dl dd {
  margin: 0 0 0 15px;
  padding: 0;
}
.infoFoot dl dd span,
.infoFoot dl dd a {
  display: inline-block;
}
.mainColor{
  color: var(--main-color);
  margin: 0;
}
/* Googleマップ */
.gMap {
  width: 100%;
  margin: 0 0 20px;
}

.mapInfo p {
  margin: 0.5em 0;
}
.mapInfo p span {
  display: inline-block;
}

p.footerTel a {
  color: var(--main-color);
  font-size: 1.5rem;
}
p.footerTel img {
  margin: 0 10px 0 0;
}

/* コピーライト */
.copyright {
  padding: 10px 0;
  width: 100%;
  font-size: 0.8rem;
  text-align: center;
}

/* スマホ用固定メニュー */
.footerMenu_SP {
  position: fixed;
  z-index: 9999;
  bottom: 0;
  left: 0;
  width: 100%;
}
/* アイコンと文字の並び・共通レイアウト */
.footerMenu_SP ul li a{
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;          /* 下線を消す */
  color: #fff !important;                     /* 文字色を白に */
}

/* すべての状態で下線なし＆白 */
.footerMenu_SP ul li a:link,
.footerMenu_SP ul li a:visited,
.footerMenu_SP ul li a:hover,
.footerMenu_SP ul li a:active{
  text-decoration: none !important;
  color: #fff !important;
}

/* テキストの見た目を統一（お電話と同じ感じに） */
.footerMenu_SP ul li a p{
  font-family: 'Noto Sans JP', sans-serif;
  margin: 0;
  font-weight: bold;                            /* 太字 */
  font-size: 1.5rem;                           /* 例：お電話と同等に */
  text-decoration: none !important;
}

/* アイコンは50x50で統一（必要なら） */
.footerMenu_SP ul li a img{
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
  flex: 0 0 50px;
}
.footerMenu_SP ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}
.footerMenu_SP ul li {
  margin: 0;
  padding: 15px 0;
  width: 100%;
  text-align: center;
}
.footerMenu_SP ul li a{
  display: flex;
  align-items: center;
  width: 80%;
  margin: 0 auto;
  gap: 10px;
  justify-content: center;
}
.footerMenu_SP ul li a p{
  padding: 0;
  margin: 0;
}
.footerMenu_SP ul li a p{ margin: 0; }
.footerMenu_SP ul li:nth-of-type(1) {
  background: var(--sub-color01);
}
.footerMenu_SP ul li:nth-of-type(2) {
  background: var(--main-color);
}

/* タブレットレイアウト : 768px～。モバイルレイアウトからスタイルを継承。 */
@media print, screen and (min-width: 768px) {
/* --------------------------------------------------------
header
-------------------------------------------------------- */
header .header {
  width: 1200px;
  height: 100px;
  margin: 0 auto;
  padding: 5px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
h1,
header .header .site-title {
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
}
header .header .headerInfo {
  display: block;
  text-align: right;
}
header .header .headerInfo p {
  line-height: 35px;
}
header .header .headerInfo p a {
  color: var(--sub-color01);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 1px;
}
header .header .headerInfo p img {
  margin: 0 5px 0 0;
  width: 25px;
}

/* --------------------------------------------------------
nav
-------------------------------------------------------- */
/* ハンバーガーボタン */
nav {
  padding: 10px 0;
  width: 100%;
  background-color: var(--main-color);
}
nav .openBtn {
  display: none;
}
nav #g-nav {
  position: static;
  z-index: 0;
  top: 0;
  left: 0;
  margin: 0 auto;
  width: 1000px;
  height: auto;
  background: none;
}
nav #g-nav ul {
  position: static;
  margin: 0;
  padding: 0;
  width: auto;
  transform: none;
  display: flex;
  justify-content: space-around;
}
nav #g-nav ul li {
  margin: 0;
  padding: 0 0.5em;
  font-size: 22px;
}
nav #g-nav ul li a {
  margin: 0;
  padding: 0;
  display: inline-block;
  position: relative;
  cursor: pointer;
  color: #FFF;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 17px;
  font-weight: 500;
  text-decoration: none;
}
nav #g-nav ul li a:hover {
  color: #CCC;
}
nav #g-nav ul li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -3px;
  width: 60%;
  height: 3px;
  opacity: 0;
  background-color: #FFF;
  transform: translate(-50%, 0);
  transition: all 0.3s ease-in-out;
}
nav #g-nav ul li a:hover::after {
  width: 100%;
  opacity: 1;
}
#nav.fixed {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
}
.reserveNav {
  display: block;
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  cursor: pointer;
  width: 100px;
  height: 100px;
  background: #BAE8E8;
  text-align: center;
  display: flex;
  align-items: center;
  align-content: center;
  justify-content: center;
}
.reserveNav a img {
  transition: 0.6s;
}
.reserveNav a:hover img {
  opacity: 0.5;
}
/* --------------------------------------------------------
content
-------------------------------------------------------- */
section {
  width: 1200px;
  margin: 0 auto;
  padding: 150px 0 0;
}
section h3 {
  font-size: 24px;
}
section:first-of-type {
  padding: 100px 0 0;
}
section:last-of-type {
  margin-bottom: 200px;
}
/* --------------------------------------------------------
footer
-------------------------------------------------------- */
footer {
  width: 100%;
  margin-bottom: 0;
}
footer .footerBox {
  width: 1200px;
  margin: 0 auto 50px;
  display: flex;
  justify-content: space-between;
  /* gap: 50px; */
}
footer .footerBox .footerL {
  width:45%;
}
.footerBox .flexBox{
  margin: 0;
}
footer .footerBox .footerL h3.footerTitle {
  font-size: 30px;
  margin: 0;
}
footer .footerBox .footerL h3.footerTitle img {
  margin: 0 10px 0 0;
}
footer .footerBox .footerR {
  width: 50%;
}
/* 診療時間 */
.timeTable {
  margin: 20px auto 0;
}
.timeTable table tr th { /* 1段目 */
  height: 45px;
  font-size: 18px;
}
.timeTable table tr td {
  height: 45px;
}
.timeTable table tr td:first-of-type {
  padding-left: 0;
  text-align: center;
}
.yoyakusei {
  margin: 0;
}
.yoyakusei span {
  margin-top: 12px;
  padding: 0.2em 0;
  width: 4em;
  margin-top: 5px;
}

/* 医院情報 */
.infoFoot {
  width: 100%;
  margin: 0;
}
.infoFoot dl {
  margin: 15px 0;
  padding: 0;
  display: flex;
  flex-direction: row;
}
.infoFoot dl dt {
  margin: 0 20px 0 0;
  padding: 3px 0 3px 10px;
  width: 90px;
  font-size: 18px;
}
.infoFoot dl dd {
  margin: 0;
  padding: 0;
}
/* Googleマップ */
.gMap {
  width: 100%;
  margin: 0 0 10px;
}
.mapInfo {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mapInfo p {
  margin: 0.5em 0;
}
p.footerTel a {
  font-size: 24px;
  letter-spacing: normal;
}
p.footerTel img {
  margin: 0 5px 0 0;
}
/* コピーライト */
.copyright {
  margin: 0 auto;
  width: 1000px;
  font-size: 14px;
}
/* スマホ用固定メニュー */
.footerMenu_SP {
  display: none;
}
}
/* タブレット */
@media print, screen and (max-width: 1200px) {
/* --------------------------------------------------------
header
-------------------------------------------------------- */
/* .header{
  padding: 5px 110px 5px 10px;
  justify-content: space-between;
  font-size:15px;
  min-width: 1000px;
} */
header .header .headerInfo p {
  line-height: 25px;
  font-size: 16px;
}
header .header .headerInfo p a {
  letter-spacing: 0em;
}
header .header .headerInfo p img {
  width: 20px;
}
header .header .headerInfo p span {
  display: inline-block;
}
/* ハンバーガーボタン */
nav #g-nav ul {
  /* flex-wrap: wrap; */
  justify-content: flex-start;
}
nav #g-nav ul li {
  padding: 0 0.5em 0 0;
}
nav #g-nav ul li a {
  font-size: 20px;
}
}


/* 印刷用 css */
@media print {
  nav {
    display: none;
  }
}