@charset "utf-8";
/* CSS Document */

/*-----------------------------------------
		       お知らせ(新着)
-----------------------------------------*/
#information {
  width: 100%;
  overflow: auto;
  height: 480px;
}

.info_box {
  margin-bottom: 15px;
  display: block;
}
.info_title {
  margin: 0 0 7px;
  color: #71b12c;
  font-weight: bold;
  font-size: 120%;
  line-height: 120%;
}

.info_combox {
  display: block;
  line-height: 120%;
}

/*-----------------------------------------
		       		index
-----------------------------------------*/
.index_submenu table {
  border-collapse: collapse;
  border: 0;
  text-align: center;
  margin: 0 0 80px;
}

.index_submenu .left {
  text-align: left;
}

.index_submenu .right {
  text-align: right;
}

.Chour_table table {
  border: 0;
  margin: 0 0 5px;
}
.Chour_table td {
  border: 1px solid #ebebeb;
  text-align: center;
  letter-spacing: 0.1em;
  font-size: 90%;
  padding: 5px;
  color: #7a5125;
}
.Chour_table .Chour_week {
  background-color: #aeec6c;
  font-weight: bold;
  color: #4d8314;
}
.Chour_table .Chour_time {
  background-color: #fff1c0;
}

.Cinfo_title {
  background-color: #fbc400;
  padding: 5px 25px;
  text-align: center;
  display: inline-block;
  color: #7a5125;
  margin: 0 0 5px 0;
  border-radius: 10px;
}

.Cinfo_box {
  margin: 0 0 25px 15px;
  line-height: 110%;
}

#flashContent {
  margin: 0 auto 30px;
}

/*-----------------------------------------
		     		院長紹介
-----------------------------------------*/
.doc_prof table {
  border-collapse: collapse;
  margin: 0 auto;
}

.doc_prof td,
th {
  border-collapse: collapse;
  padding: 5px 10px;
  border-bottom: 1px solid #cccccc;
  font-size: 90%;
}

.doc_prof th {
  background-color: #d5f5b7;
  font-weight: normal;
  text-align: left;
  color: #5d9922;
}

.doc_prof ul {
  margin: 0 0 0 20px;
  padding: 0;
}

.doc_prof li {
  margin: 5px 0;
  padding: 0;
}

/*-----------------------------------------
		       	immunization
-----------------------------------------*/
.immu_list ul {
  margin: 0 0 10px 40px;
  padding: 0;
}

.immu_list li {
  margin: 10px 0;
  padding: 0;
  color: #ad7e15;
}
.immu_list li span {
  color: #555555;
}

.immu_price table {
  margin: 15px 0;
  border: 3px double #ebebeb;
}

.immu_price td {
  padding: 5px 10px;
  border-bottom: 1px dashed #cccccc;
  text-align: right;
}

.immu_price .th1 {
  background-color: #ffeba5;
}
.immu_price .th2 {
  background-color: #f7daba;
}

/*-----------------------------------------
		       	clinic
-----------------------------------------*/
.clinic_itemBox {
  margin: 0 auto 20px;
  border: 3px double #cccccc;
  padding: 15px;
}

.clinic_itemBox .title {
  background-color: #f1dc89;
  padding: 5px;
  color: #75541a;
  font-size: 110%;
  margin: 0 0 10px;
}

.clinic_itemBox .photo {
  float: left;
  width: 250px;
}

.clinic_itemBox .text {
  width: 365px;
  float: right;
}

/*-----------------------------------------
		      スマホ表示
-----------------------------------------*/

.pc-view {
  display: block;
}

.sp-view {
  display: none;
}

@media screen and (max-width: 768px) {
  body,
  html {
    overflow: visible;
    box-sizing: border-box;
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  .pc-view {
    display: none;
  }
  .sp-view {
    display: block;
  }

  .sp-header {
    margin: 0 auto;
    padding: 0 2%;
    height: 65px;
  }

  .sp-header-inner {
    display: flex;
    height: 65px;
    align-items: center;
  }

  /* ロゴ */
  .sp-logo {
    margin: 0;
    padding: 0;
  }

  .sp-logo a {
    display: block;
    width: 100%;
    height: 100%;
  }

  .sp-logo a img {
    width: 100%;
    height: auto;
    max-width: 200px;
  }

  /* インスタグラム */
  .sp-header-instagram {
    display: block;
    position: absolute;
    right: 80px;
  }

  /* ハンバーガー */
  .c-nav-button__wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0px;
    right: 0px;
    width: 65px;
    height: 65px;
    background-color: #fbc400;
    z-index: 778;
  }

  .c-nav-button {
    /* position: relative;
    margin: auto;
    width: 24px;
    height: 18px;
    border: none;
    background: none; */
    position: relative;
    width: 24px;
    height: 18px;
    border: none;
    background: none;
  }

  .c-nav-button span {
    /* position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: 0.3s ease-in; */
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: 0.3s ease-in-out;
  }

  /* .c-nav-button span:nth-child(2) {
    top: 50%;
    width: 100%;
  }

  .c-nav-button span:nth-child(3) {
    top: 100%;
  } */

  /* 通常の3本線の位置 */
  .c-nav-button span:nth-child(1) {
    top: 0;
  }
  .c-nav-button span:nth-child(2) {
    top: 8px;
  }
  .c-nav-button span:nth-child(3) {
    top: 16px;
  }



  /* ✖️ に変化させる */
  button.is-close span:nth-child(1) {
    top: 8px !important;
    transform: rotate(45deg) !important;
  }
  button.is-close span:nth-child(2) {
    opacity: 0 !important;
  }
  button.is-close span:nth-child(3) {
    top: 8px !important;
    transform: rotate(-45deg) !important;
  }

  /* ナビゲーション */
  .sp-nav {
    display: block;
    position: fixed;
    top: 65px;
    right: 0;
    left: 0;
    width: 100%;
    height: calc(100% - 65px);
    z-index: 99;
    padding: 40px 20px 40px;
    background-color: #fbc400;
    /* overflow-y: auto;
		overflow-x: auto; */
    transition: all 0.3s ease-in-out;
    transform: translateX(110%);
  }

  /* 開閉 */
  .sp-nav.is-open {
    transform: translateX(0%);
  }

  .sp-nav-list {
    display: block;
    margin: 0;
    padding: 0;
  }

  .sp-nav-list-item {
    list-style: none;
    display: block;
    padding: 10px 20px;
  }

  .sp-nav-list-item.-border {
    border-bottom: 1px solid #fff;
  }

  .sp-nav-list-item-link {
    display: block;
    color: #fff !important;
  }

  .sp-nav-list-item-link:hover {
    color: #fff;
    text-decoration: none;
  }

  .sp-nav-list-sub {
    display: block;
    margin: 0;
    padding: 0;
    width: calc(100% + 80px);
    margin: 12px -40px -17px -40px;
    background-color: #ff8f00;
    position: relative;
    color: #fff;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s ease;
    padding: 0;
  }

  .sp-nav-list-sub.is-open {
    max-height: 800px; /* 必要に応じて十分に大きく */
  }

  .sp-nav-list-sub-item {
    list-style: none;
    padding-left: 40px;
    padding-top: 10px;
    padding-bottom: 10px;
		margin: 0;
  }

  .sp-nav-list-sub-item-link {
    display: block;
    padding: 10px 0;
    color: #fff!important;
  }
  .sp-nav-list-sub-item-link:hover {
    color: #fff;
    text-decoration: none;
  }

  /* サブメニュー */
  .sp-nav-list-item.menu-item-has-children {
    position: relative;
    color: #fff;
  }

  .sub-menu-sp-btn {
    content: '';
    position: absolute;
    top: -7px;
    right: 0;
    width: 50px;
    height: 50px;
    z-index: 9999;
    cursor: pointer;
  }

  .sub-menu-sp-btn::after {
    content: '';
    position: absolute;
    top: 16px;
    right: 21px;
    width: 12px;
    height: 12px;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    transform: rotate(135deg);
  }

  .sub-menu-sp-btn.is-open::after {
    transform: rotate(315deg);
  }

  .sp-nav-list-sub-item-link {
    color: #fff;
    display: block;
  }

  /* hero */
  .sp-hero {
    position: relative;
  }

  .sp-hero-inner {
    width: 100%;
    height: 460px;
  }

  .sp-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .sp-hero-icon {
    width: 88.5vw;
    display: block;
    position: absolute;
    top: 65%;
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: -10px;
  }

  /* main */
  .main {
    padding: 0 2%;
		padding-top: 3rem;
    margin-bottom: 2rem;
  }

  /* セクションタイトル */
  .sp-section-title {
    width: 100%;
    height: auto;
  }

  /* 診療案内 */
.sp-medical {
	padding-bottom: 3rem;
}

	.medical-wrapper {
		display: grid;
		place-items: center;
		gap: 10px;
		margin: 0 auto;
		width: 90%;

}

.medical-item {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

.medical-item-link {
	display: inline-block;

}

.medical-item-img {

}



  /* 医院情報 */

	.sp-clinic-info {
		padding-bottom: 3rem;
	}


	.sp-clinic-info-item {
		margin-bottom: 2rem;
	}

.sp-clinic-info-item-title {
	font-size: 1rem;
	font-weight: bold;
	display: inline-block;
	background-color: #FBC400;
	color: #7A5125;
	padding: 5px 10px;
	border-radius: 4px;
	margin-bottom: .6rem;
}

.sp-clinic-info-item-text {
	margin: 0;
	padding: 0;
	font-size: 1rem;
	margin-top: 10px;
}


.sp-clinic-info-table {
	width: 100%;
	border-collapse: collapse;
}

.sp-clinic-info-table-heading {
	font-size: 0.8rem;
	font-weight: bold;
	color: #7A5125;
	/* background-color: #FFF1C0; */
}

.sp-clinic-info-table th {
	font-size: 0.8rem;
	color: #7A5125;
	text-align: center;
	padding: 5px 10px;
	/* background-color: #AEEC6C; */
}

.sp-clinic-info-table td {
	font-size: 0.8rem;
	color: #7A5125;
	text-align: center;
	padding: 5px 10px;
}


.sp-time {

}


.sp-clinic-info-caption {
	margin-top: 1rem!important;
	font-size: 0.8rem;
	color: #7A5125;
}


.sp-iframe-wrapper {
	display: grid;
	place-items: center;
	padding-top: 2rem;
}

.youtube {
width: 100%;
height: auto;
aspect-ratio: 16 / 9;
max-width: 600px;
}
  /* 地図 */
  .sp-access-map {
  }

  .sp-access-map-img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

	/* 問診票・予診票 */
	.sp-pdf {
		padding-bottom: 3rem;
	}

	.sp-pdf-title {
		margin: 0 0 15px;
  padding: 10px 15px;
  background-color: #f1dc4e;
  color: #b07b13;
  font-weight: normal;
  border-bottom: 5px solid #f6b832;
  font-size: 130%;
	}

	.sp-pdf-wrapper {
		display: grid;
		place-items: center;
		gap: 10px;
	}

	.sp-pdf-img {
		width: 100%;
		height: auto;
		object-fit: cover;
		max-width: 340px;
	}

	.sp-pdf-link {
		display: block;
	}

  /* バナー */
  .sp-banner {
    text-align: center;
		display: grid;
		place-items: center;
		gap: 16px;
  }

  .sp-banner-link {
    display: inline-block;
  }

  .sp-banner-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: cover;
  }

  /* フッター */
  .sp-footer {
    background-color: #94dd46;
    padding: 2rem 0 2.2rem;
  }
  .sp-footer-inner {
    padding: 0 2%;
  }
  .sp-footer-nav-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;

  }
  .sp-footer-nav-list-item {
    list-style: none;
    display: block;
  }
  .sp-footer-nav-list-item-link {


  }
  .sp-footer-nav-list-item-link:hover {
    text-decoration: none;
  }
  .sp-footer-copy {
    font-size: 0.8rem;
    color: #7A5125;
    text-align: center;
    margin-top: 2rem;
  }

  /* 固定ボタン */
  .sp-fixed-btn {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 80;
  }

  .sp-fixed-btn-link {
    width: 33.3333%; /* ← 必ず3分割でぴったり並ぶ */
    display: block;
  }

  .sp-fixed-btn-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }


  /* お知らせ */

  #information {
    height: 300px;
  }

  ul#newsList li span.title {
    font-size: 1rem;
  }


  ul#newsList li span.title {
    line-height: 1;
  }

  .comment {
    width: 90%;
    margin: 0 auto;
    font-size: 0.8rem!important;
    color: #7A5125;
    text-align: left;
    margin-top: 10px;
    line-height: 1;
    background-color: pink;
  }




}
