@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=M+PLUS+1:wght@100..900&family=Zen+Maru+Gothic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Kiwi+Maru&family=Kosugi+Maru&family=M+PLUS+1:wght@100..900&family=Zen+Maru+Gothic&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Sawarabi+Gothic&display=swap');
/* CSS Document */
html {
  font-size: 100%;
}
body {
  display: block;
  background: #fffaf0;
  color: #666666;
  font-size: 16px;
  font-style: normal;
  font-family: "Helvetica Neue", Arial, "Sawarabi Gothic", sans-serif;
  font-weight: 400;
}
main {
  z-index: -1;
  background: #fffefd;
  padding: 50px 0;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.02);
}
img {
  max-width: 100%;
  height: auto;
}
/*汎用ここから*/
.sp {
  display: none !important;
}
.wrapper {
  max-width: 1100px;
  margin: 50px auto 0;
  padding: 0 10px 50px;
  text-align: center;
}
.box {
  margin: 0 auto 70px;
  font-size: 18px;
  text-align: center;
  letter-spacing: 1.5px;
  line-height: 1.7;
}
/*.box p {
  display: inline-block;
  text-align: left;
  line-height: 2em;
}*/
.box-titie {
  margin: 0 0 40px 0;
  color: #4db9e8;
  font-size: 32px;
  font-family: "Kosugi Maru", sans-serif;
}
/* ボタン設定ここから */
.button {
  /*影の基点とするためrelativeを指定*/
  position: relative;
  letter-spacing: 2.5px;
  font-size: 18px;
  font-family: "Kosugi Maru", sans-serif;
  /*ボタンの形状*/
  display: inline-block;
  text-decoration: none;
  background: transparent;
  text-align: center;
  border-color: transparent;
  outline: none;
  /*アニメーションの指定*/
  transition: all 0.2s ease;
}
/*hoverをした後のボタンの形状*/
.button:hover {
  border-radius: 30px;
}
/*ボタンの中のテキスト*/
.button span {
  display: block;
  position: relative;
  z-index: 2; /*z-indexの数値をあげて文字を背景よりも手前に表示*/
  /*テキストの形状*/
  padding: 1rem 2rem 1rem 2rem;
  border-radius: 25px;
  background: #ff9095;
  color: #fff;
  /*アニメーションの指定*/
  transition: all 0.3s ease;
}
/*影の設定*/
.pushdown:before {
  /*絶対配置で影の位置を決める*/
  position: absolute;
  z-index: 1;
  top: 4px;
  left: 0;
  content: "";
  /*影の形状*/
  width: 100%;
  height: 100%;
  border-radius: 25px;
  background-color: #ff7272;
}
/*hoverの際にY軸に4pxずらす*/
.pushdown:hover span {
  transform: translateY(4px);
  background-color: #ff7272;
  color: #fff;
}
.button-arrow::after {
  /*絶対配置で矢印の位置を決める*/
  position: absolute;
  margin: 3px 0 0 5px;
  content: '';
  /*矢印の形状*/
  transform: rotate(45deg);
  width: 12px;
  height: 12px;
  border-top: 1.5px solid #fff;
  border-right: 1.5px solid #fff;
}
/* ボタン設定ここまで */
.list-icon__small {
  /*position: relative;
  bottom: 8px;*/
  display: inline-block;
  width: 11px;
  margin-right: 7px;
}
.list-icon__big {
  width: 25px;
  margin-right: 12px;
}
/*ふわっと出てくるアニメーションここから*/
.delay-time01 {
  animation-delay: 0.2s;
}
.delay-time02 {
  animation-delay: 0.4s;
}
.delay-time03 {
  animation-delay: 0.6s;
}
.delay-time04 {
  animation-delay: 0.8s;
}
.fadeUpTrigger {
  opacity: 0;
}
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 2s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(80px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/*ふわっと出てくるアニメーションここまで*/
/*流れるテキストここから*/
/*全共通*/
.slide-in {
  overflow: hidden;
  display: inline-block;
}
.slide-in_inner {
  display: inline-block;
}
/*左右のアニメーション*/
.leftAnime {
  opacity: 0; /*事前に透過0にして消しておく*/
}
.slideAnimeLeftRight {
  animation-name: slideTextX100;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes slideTextX100 {
  from {
    transform: translateX(-100%); /*要素を左の枠外に移動*/
    opacity: 0;
  }
  to {
    transform: translateX(0); /*要素を元の位置に移動*/
    opacity: 1;
  }
}
.slideAnimeRightLeft {
  animation-name: slideTextX-100;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes slideTextX-100 {
  from {
    transform: translateX(100%); /*要素を右の枠外に移動*/
    opacity: 0;
  }
  to {
    transform: translateX(0); /*要素を元の位置に移動*/
    opacity: 1;
  }
}
/*流れるテキストここまで*/
/* 下からふわっと出てくるここから */
.fadeUp {
  animation-name: fadeUpAnime;
  animation-duration: 1s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* 下からふわっと出てくるここまで */
/*汎用ここまで*/
/*ヘッダーここから*/
.header {
  max-width: 1100px;
  margin: 20px auto;
  padding: 0 10px;
  letter-spacing: 2px;
}
.header-access {
  margin-bottom: 40px;
  font-size: 14px;
}
.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}
.header-logo h1 {
  max-width: 90%;
  transition: all 0.3s ease;
}
.header-logo h1:hover {
  transform: translate(0px, -7px);
}
.header-logo p {
  margin-left: 20px;
  font-size: 14px;
  letter-spacing: 3px;
  line-height: 2;
}
.header-info {
  text-align: center;
}
.header-info__title {
  padding: 0.5rem 1rem;
  margin-bottom: 0.5rem;
  background: #4db9e8;
  color: #fff;
  font-size: 17px;
  font-family: "Kosugi Maru", sans-serif;
}
.header-info__dial {
  font-size: 25px;
  font-weight: bold;
}
.header-info-dial-title__fax,
.header-info-dial-title__tel {
  text-align: center;
  color: #4db9e8;
}
.header-info-dial-title__fax {
  letter-spacing: -0.02em;
}
.nav-box {
  padding: 30px 90px;
  margin: 0 0 60px 0;
  border-radius: 30px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.02);
  background: #fff;
  font-family: "Kosugi Maru", sans-serif;
}
.nav-item {
  display: flex;
  justify-content: space-between;
}
.nav-item li {
  font-size: 17px;
  transition: all 0.3s ease;
}
.nav-item li:hover {
  transform: translate(0px, -3px);
  color: #4db9e8;
}
/*ヘッダーここまで*/
/*画面下アクセス・診察時間ここから*/
.under-access {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
  padding: 10px;
}
.under-access__l {
  width: calc(50% - 10px);
  text-align: right;
}
.under-access__l iframe {
  width: 100%;
  height: 100%;
  /*aspect-ratio:  4 / 3;*/
}
.under-access__r {
  width: calc(50% - 10px);
}
/*テーブルここから*/
.access-table {
  margin-bottom: 30px;
  background: #fff;
  font-size: 18px;
  font-family: "Zen Maru Gothic", serif;
  font-weight: 600;
  letter-spacing: 2.5px;
}
.access-table td,
.access-tbody th {
  padding: 30px 12px;
}
.access-thead th {
  padding: 20px 12px;
}
.access-thead tr {
  background: #4db9e8;
  color: #fff;
  text-align: center;
}
.access-tbody {
  color: #4db9e8;
}
/*テーブルここまで*/
.under-access__text {
  text-align: left;
}
.under-logo__vita {
  margin: 0 auto 60px;
  width: 15%;
  transition: all 0.3s ease;
}
.under-logo__vita:hover {
  transform: translate(0px, -7px);
}
.staff-banner {
  width: 100%;
  margin: 0 auto;
  transition: all 0.1s ease;
}
.staff-banner :hover {
  opacity: 0.9;
}
/*画面下アクセスここまで*/
/*フッターここから*/
.footer {
  padding: 20px 0 0 0;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.02);
  background: #4db9e8;
}
.footer-flex {
  display: flex;
  justify-content: space-around;
}
.footer-box__logo {
  width: 70%;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.footer-box__logo:hover {
  transform: translate(0px, -7px);
}
.footer-box__text {
  color: #e6f9ff;
  font-size: 15px;
  letter-spacing: 2.5px;
  line-height: 1.8;
  text-align: left;
}
.footer-info {
  text-align: center;
}
.footer-info__title {
  padding: 0.5rem 1rem;
  margin-bottom: 15px;
  background: #fff;
  color: #4db9e8;
  font-size: 17px;
  font-family: "Kosugi Maru", sans-serif;
}
.footer-info__dial {
  color: #fff;
  font-size: 25px;
  font-weight: bold;
}
.footer-info-dial-title__fax,
.footer-info-dial-title__tel {
  text-align: center;
}
.footer-info-dial-title__tel {
  letter-spacing: 0.07em;
}
.footer-info-dial-title__fax {
  letter-spacing: -0.02em;
}
.copywriter {
  display: block;
  padding: 20px;
  color: #89e8f7;
  letter-spacing: 2px;
  text-align: center;
}
/*フッターここまで*/
@media (max-width: 768px) {
  /*汎用ここから*/
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }
  .wrapper {
    padding: 0 15px 60px;
  }
  .box p {
  display: inline-block;
  font-size: 16px;
  text-align: left;
  line-height: 2em;
}
  .button {
    margin: 0;
  }
  /* 汎用ここまで*/
  /*ヘッダーここから*/
  .header {
    margin: 20px auto 0;
  }
  .header-flex {
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
  }
  .header-logo {
    width: 90%;
  }
  /*ナビゲーションのためのCSS*/
  #g-nav {
    position: fixed;
    z-index: 999;
    /*ナビのスタート位置と形状*/
    top: -100%;
    left: 0;
    width: 100%;
    height: 40vh; /*ナビの高さ*/
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 0 0 50px 50px;
    /*動き*/
    transition: all 0.5s;
  }
  /*アクティブクラスがついたら位置を0に*/
  #g-nav.panelactive {
    top: 0;
  }
  /*ナビゲーション*/
  #g-nav ul {
    /*ナビゲーション天地中央揃え*/
    position: absolute;
    z-index: 999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  /*リストのレイアウト設定*/
  #g-nav li {
    list-style: none;
    text-align: center;
  }
  #g-nav li a {
    display: block;
    padding: 15px 0;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
  }
  /*ボタンのためのCSS*/
  .openbtn {
    position: fixed;
    z-index: 9999; /*ボタンを最前面に*/
    top: 10px;
    right: 10px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    background: #fffaf0;
    border-radius: 10px;
  }
  /*×に変化*/
  .openbtn span {
    display: inline-block;
    position: absolute;
    width: 45%;
    left: 14px;
    height: 3px;
    border-radius: 2px;
    background-color: #666666;
    transition: all .4s;
  }
  .openbtn span:nth-of-type(1) {
    top: 15px;
  }
  .openbtn span:nth-of-type(2) {
    top: 23px;
  }
  .openbtn span:nth-of-type(3) {
    top: 31px;
  }
  .openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-45deg);
    width: 30%;
  }
  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }
  .openbtn.active span:nth-of-type(3) {
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(45deg);
    width: 30%;
  }
  /*ナビゲーションのためのCSSここまで*/
  .nav-item {
    display: block;
  }
  /*ヘッダーここまで*/
  /*画面下アクセスここから*/
  .under-access {
    flex-direction: column;
    align-items: center;
    padding: 0;
  }
  .under-access__l {
    width: 100%;
    height: 300px;
    margin-bottom: 50px;
  }
  .under-access__r {
    width: 100%;
  }
  .access-table {
    width: 100%;
    font-size: 16px;
  }
  .access-table span {
    font-size: 14px;
  }
  .access-table th, .access-table td {
    padding: 15px 5px;
    vertical-align: middle;
  }
  .under-access__text {
    margin-bottom: 0;
    text-align: center;
  }
  .under-logo__vita {
    width: 40%;
    margin: 0 auto 70px;
  }
  .staff-banner {
  width: 100%;
}
  /*画面下アクセスここまで*/
  /*フッターここから*/
  .footer-flex {
    display: block;
  }
  .footer-box {
    max-width: 370px;
    margin: 0 auto;
  }
  .footer-box__logo img {
    width: 100%;
    margin-bottom: 40px;
  }
  .footer-box__text {
    margin-top: 30px;
  }
  .copywriter {
    padding: 0 0 100px;
  }
  /*フッターここまで*/
  /*画面下固定ここから*/
  .telephone {
    z-index: 999;
    position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
    width: 95%;
    margin: 10px auto;
    background: #4db9e8;
    border-radius: 20px;
    border: solid 2px #fffefd;
  }
  .telephone-link {
    display: block;
  }
  .telephone-dial {
    padding: 10px;
    font-size: 21px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .telephone-dial img {
    width: 30px;
    margin-right: 25px;
  }
  /*画面下ここまで*/
}