@charset "utf-8";

* {
  /* outline: 2px solid blue; */
  font-family: 'YuMincho', 'Hiragino Mincho ProN', serif, "Noto Sans JP", sans-serif;
  font-weight: 400;
  color: #707070;
}
*, *:before, *:after {
  box-sizing: border-box;
  }
  img {
    width: 100%;
  }
  li {
    list-style: none;
  }
  li:hover {
    cursor: pointer;
  }
  .sp-br {
    display: none;
  }
  .pc-br {
    display: block;
  }

  @media screen and (max-width: 768px) {
    .pc-br {
      display: none;
    }
    .sp-br {
      display: block;
    }
    .l-padding {
      padding-left: 24px;
      padding-right: 24px;
    }
    .ja {
      font-size: 18px;
      margin-left: 64px;
    } 
  }
/* ==== main visual ==== */
.main-visual {
  position: relative;
  height: 600px;
  z-index: -1;
}
.main-visual img {
  height: 100%;
  object-fit: cover;
}
.site {
  position: relative;
  z-index: -1;
}
.tel,
.top-tel {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  width: 218px;
  padding: 12px 28px 12px 24px;
  font-size: 13px;
  color: #707070;
  background-color: #FFFFFF;
  box-shadow: 0px 0px 20px #cccccc29;
  border-radius: 4px;
}
.tel img,
.top-tel img  {
  width: 25px;
  margin-right: 10px;
  text-align: center;
}
.tel a,
.top-tel a {
  color: #707070;
  font-size: 20px;
  text-decoration: none;
}
.catch_copy {
  position: absolute;
  top: 282px;
  left: 162px;
  width: 368px;
  background-color: #FFFFFF;
  opacity: 0.5;
}
.catch_copy p {
  color: #333333;
  margin: 8px 24px;
  font-size: 34px;
}
.logo {
  display: block;
  margin-top: -30px;
}
.logo img {
  width: 80px;
}
.logo__p {
  /* display: block; */
  color: #707070;
  text-align: center;
  font-size: 22px;
}
#header__nav {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-bottom: 115px;
}
#header__nav ul {
  display: flex;
  margin-top: 25px;
}
#header__nav li {
  position: relative;
  width: 100px;
}
#header__nav li a {
  color: #179591;
  font-size: 16px;
}
#header__nav li a::after {
  content: "";
  position: absolute; /* コンテナ内で位置を指定 */
  top: 15%; /* コンテナの中央に配置 */
  left: 80%;
  width: 1px; /* 線の太さ */
  height: 30px; /* 線の長さ */
  background-color: #50483D; /* 線の色 */
  transform: translate(-50%, -50%) rotate(45deg); /* スラッシュを傾ける */
  margin-left: 20px;
}
#header__nav li:last-child a::after {
  content: none; /* 最後の要素の::afterを非表示にする */
}
.nav__span {
  display: block;
  color: #50483D;
  font-size: 12px;
}

@media screen and (max-width: 768px) {
  .main-visual {
    margin-bottom: 115px;
  }
  .top-tel {
    display: none;
  }
  .catch_copy {
    top: 45%;
    left: 10%;
    width: 300px;
  }
  .catch_copy p {
    margin: 8px 24px;
    font-size: 28px;
  }
}

/* ハンバーガーメニュー start */
.list {
  display: none;
}
@media screen and (max-width: 768px) {
.list {
  display: block;
}
#header__nav {
  display: none;
}
.menu-content {
  position: fixed;
  top: 0px; /* メニューの位置を調整 */
  right: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(23, 149, 145, 0.8);
  visibility: hidden; /* 初期状態で非表示 */
  opacity: 0; /* 完全に透明 */
  transform: translateX(100%); /* 初期状態で画面外に配置 */
  transition: transform 0.3s ease; /* 位置のアニメーション */
  z-index: 100;
}
.menu-content.open {
  visibility: visible; /* 表示状態にする */
  opacity: 1; /* 完全に不透明 */
  transform: translateY(0); /* 元の位置に戻す */
  transition: visibility 0s, opacity 0.3s ease, transform 0.3s ease;
}
.menu-content ul {
  padding-top: 40px;
}
.menu-content li {
  width: 100%;
  /* メニューテキスト位置をリスト内中心に */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
}
.menu-content li a {
  text-align: center;
  color: #FFFFFF;
}
.menu-content .nav__span {
  display: block;
  margin-top: 5px;
  color: #ffffff;
}
.menu-trigger,
.menu-trigger span {
  display: inline-block;
  transition: all .4s;
  box-sizing: border-box;
}
.menu-tel {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 80px;
  padding: 14px;
  font-size: 14px;
  color: #707070;
  background-color: #FFFFFF;
  box-shadow: 0px 0px 20px #cccccc29;
  border-radius: 4px;
  position: absolute;
  right: 5%;
  bottom: 30px;
}
.menu-tel img {
  width: 36px;
  padding-right: 10px;
}
.menu-tel a,
.menu-tel .p-tel {
  color: #707070;
  font-size: 14px;
  text-decoration: none;
}

/* ハンバーガーメニュー */
.menu-trigger {
  position: fixed;
  top: 0;
  right: 0;
  width: 60px; /* ハンバーガーメニュー全体の幅 */
  height: 60px; /* ハンバーガーメニュー全体の高さ */
  background: none;
  background-color: #179591;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  overflow: visible; /* 要素が親から切れないように設定 */
  z-index: 9999;
}
/* 線の設定 */
.menu-trigger .menu-bar {
  position: absolute;
  top: 50%; /* 垂直方向で中央 */
  left: 50%; /* 水平方向で中央 */
  width: 10px; /* ✖️の線の長さを短く調整 */
  height: 3px; /* 線の太さ */
  background-color: #ffffff;
  border-radius: 4px; /* 線の端を丸く */
  transform: translate(-50%, -50%); /* 完全に中央揃え */
  transition: all 0.4s ease; /* アニメーション効果 */
}
.menu-trigger span {
  position: absolute;
  top: 0;
  right: 0;
  width: 36px;
  height: 2px;
  background-color: #FFFFFF;
  border-radius: 4px;
}
.menu-trigger span:nth-of-type(1) {
  top: 20px;
  left: 50%;
  transform: translate(-50%, -50%);
}
.menu-trigger span:nth-of-type(2) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.menu-trigger span:nth-of-type(3) {
  top: auto;
  left: 50%;
  bottom: 16px;
  transform: translate(-50%, -50%);
}
#menu span:nth-of-type(3) {
  animation: menu-bar03 .5s forwards;
}
/* クリック後の丸 */
#menu::after {
  position: absolute;
  top: 18px;
  right: 20px;
  display: block;
  content: '';
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid #FFFFFF;
  transition: all .1s;
  opacity: 0;
}
#menu.active {
  background-color: transparent;
}
#menu.active::after {
  animation: circle .5s;
}
@keyframes circle {
  0% {
    transform: scale(.1);
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    transform: scale(3.5);
    opacity: 0;
  }
}
#menu.active span:nth-of-type(1) {
  animation: active-menu-bar01 .5s .5s forwards;
}
@keyframes active-menu-bar01 {
  0% {
    transform: translateY(0) rotate(0);
  }
  100% {
    /* transform: translateY(10px) rotate(-45deg); */
    transform: translate(-15px, 10px) rotate(-45deg); /* 左方向に調整 */
  }
}
#menu.active span:nth-of-type(2) {
  animation: active-menu-bar02 .5s .5s forwards;
}
@keyframes active-menu-bar02 {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
#menu.active span:nth-of-type(3) {
  animation: active-menu-bar03 .5s .5s forwards;
}
@keyframes active-menu-bar03 {
  0% {
    transform: translateY(0) rotate(0);
  }
  100% {
    /* transform: translateY(-11px) rotate(45deg); */
    transform: translate(-15px, -11px) rotate(45deg); /* 左方向に調整 */
  }
}
}
/* ハンバーガーメニュー end */

/* ==== main ==== */
/* main背景 */
.bg-img {
  position: fixed;
  bottom: 40px;
  z-index: -100;
  overflow-x: hidden;
}

/* ==== 診療時間  map ==== */
.medical-info-wrapper {
  display: flex;
  justify-content: space-between;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 104px;
}
.medical-time {
  margin: 0 auto;
}
.medical-time__p {
  position: relative;
  padding-left: 16px;
  margin-bottom: 24px;
  color: #707070;
  font-size: 18px;
}
.medical-time__p::before {
  content:"";
  display:inline-block;
  width:4px;
  height:24px;
  background-color: #179591;
  position:absolute;
  top: 0px;
  left: 0px;
  margin-right: 15px;
}
.medical-info-left {
  width: 360px;
  color: #707070;
  font-size: 18px;
}
.hours__table-cell {
  font-size: 14px;
  font-family: 游明朝;
  color: #707070;
}

/* tableここから */

.table-wrapper {
  margin-bottom: 8px;
}
.table {
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  text-align: center;
  border-collapse: collapse;
}
.table--bordered .table-header, .table--bordered .table-cell {
  border: 1px solid #707070;
  text-align: center;
}
.table-header, .table-cell {
  padding: 5px;
  border-bottom: 1px solid #707070;
  font-size: 14px;
}
.table-header {
  border-bottom: 1px solid #707070;
  font-weight: 400;
  text-align: center;
}
.table-cell {
  font-weight: 400;
}
@media screen and (max-width: 768px) {
  .table {
    margin: 0;
  }
}
/* tableここまで */

.medical-rest p:last-of-type {
  margin-bottom: 35px;
}
.medical-rest p {
  font-size: 14px;
  color: #707070;
}
.tel__img {
  display: flex;
}
.tel__img img {
  width: 40px;
  margin-right: 16px;
}
.tel__img a {
  color: #707070;
  font-size: 36px;
}

@media screen and (max-width: 768px) {
  .medical-info-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .medical-info-left {
    width: 100%;
    font-size: 14px;
  }
}
.medical-info-right {
  width: 45%;
}
iframe {
  width: 360px;
}
.medical-map p {
  margin-bottom: 40px;
  font-size: 14px;
}
.btn-map{
  width:188px;
  height:42px;
  line-height:42px;
  margin-left: auto;
}
.btn-map a{
  display:block;
  width:100%;
  height:100%;
  text-decoration: none;
  background:#FFFFFF;
  text-align:center;
  border:1px solid #707070;
  color:#707070;
  font-size:14px;
  font-family: 游ゴシック;
  border-radius: 4px;
  box-shadow:0px 0px 0px 0px #FFFFFF ;
  transition: all 0.5s ease;
}
.btn-map a:hover{
  background:#707070;
  color:#FFFFFF;
  margin-left:0px;
  margin-top:0px;
  border:1px solid #707070;
  border-radius: 4px;
  box-shadow:0px 0px 0px 0px #FFFFFF ;
}

@media screen and (max-width: 768px) {
  .medical-info-right {
    width: 100%;
  }
  iframe {
    width: 100%;
  }
  .tel__img img,
  .tel__img a {
    margin-bottom: 42px;
  }
}

/* ==== header ==== */
.site {
  height: 300px;
  background-color: #F1F7F7;
  color: #179591;
  padding-top: 50px;
  position: relative;
}
.circle {
  margin: 0 auto;
  background: #FFFFFF;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  position: absolute;
  top: -170px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -10;
}
.site-title {
  width: 320px;
  height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 38px 50px 32px;
  margin: 0 auto;
  text-align: center;
  background: #FFFFFF;
  border: 2px solid #179591;
}
.site-title p {
  font-size: 36px;
  letter-spacing: 0;
  color: #179591;
  margin: 0;
  position: relative;
}
.site-title p::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background-color: #179591;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 40px;
}
.en-title {
  display: block;
  font-size: 14px;
  color: #179591;
  margin-top: 40px;
}
.section-title {
  display: flex;
  align-items: center;
  text-align: left;
  padding: 12px;
  margin-bottom: 40px;
  font-size: 22px;
  color: #179591;
  background-color: #F1F7F7;
}
.section-title::before {
  content:"";
  width:9px;
  height:40px;
  background-color: #179591;
  margin-right: 24px;
}
.inner {
  max-width: 800px;
  margin: 0 auto;
}
@media screen and (max-width: 768px) {
  .site {
    height: 300px;
    padding-top: 80px;
  }
  .circle {
    width: 360px;
    height: 360px;
    top: -10px;
  }
  .site-title {
    width: 280px;
    height: 120px;
    padding: 33px 43px 28px;
  }
  .site-title p {
    font-size: 30px;
  }
}

/* ==== footer ==== */
#footer {
  background-color: #FFFFFF;
  border-top: 2px solid #179591;
}
.footer-wrapper {
  max-width: 800px;
  padding-top: 64px;
  padding-bottom: 64px;
  margin: 0 auto;
}
.footer-logo {
  display: flex;
  margin-bottom: 40px;
}
.footer-logo img {
  width: 40px;
  margin-right: 16px;
}
.footer-logo p {
  font-size: 20px;
}
#footer__nav {
  background-color: #F1F7F7;
}
.footer__list {
  max-width: 800px;
  height: 98px;
  margin: 0 auto;
}
.footer__list ul {
  display: flex;
  text-align: center;
  justify-content: center;
  padding: 40px;
}
.footer__list li a {
  font-size: 14px;
  margin-right: 36px;
  position: relative;
}
.footer__list li a::after {
  content: "";
  position: absolute; /* コンテナ内で位置を指定 */
  top: 50%; /* コンテナの中央に配置 */
  right: -20px;
  width: 1px; /* 線の太さ */
  height: 25px; /* 線の長さ */
  background-color: #50483D; /* 線の色 */
  transform: translate(-50%, -50%) rotate(45deg); /* スラッシュを傾ける */
  margin-left: 24px;
}
.footer__list li:last-child a::after {
  content: none; /* 最後の要素の::afterを非表示にする */
}
.footer__copy {
  height: 48px;
  padding: 16px;
  text-align: center;
  background-color: #179591;
  font-size: 12px;
}
.footer__copy small {
  color: #FFFFFF;
}
@media screen and (max-width: 768px) {
  .footer-wrapper {
    max-width: 100%;
    padding-bottom: 0px;
  }
  .footer-logo p {
    font-size: 18px;
  }
  .footer__list ul {
    flex-wrap: wrap;
    padding: 20px;
  }
}
/* 右img 左txtのレイアウト　h2 */
.introduction {
  margin-bottom: 79px;
}
.introduction-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 56px;
}
.introduction__img {
  width: 45%;
  margin-bottom: 40px;
}
.introduction__txt {
  width: 44%;
}
.introduction__txt p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 40px;
}
@media screen and (max-width: 768px){
  .flow-content .introduction {
    padding-bottom: 80px;
  }
  .introduction-content {
    flex-direction: column;
    justify-content: center;
    margin-bottom: 56px;
  }
  .introduction__img {
    width: 100%;
  }
  .introduction__txt {
    width: 100%;
  }
}
/* 右img 左txtのレイアウト　h2  end*/