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

/* PC時の追尾リンク */
.tuibi {
  position: fixed;
  bottom: -150px; /* 初期は非表示 */
  right: 0;
  z-index: 100;
  background-color: rgba(255,149,58,0.7);
	backdrop-filter: blur(10px); 
	 -webkit-backdrop-filter: blur(10px);
  border-radius: 20px 0 0 20px;
  text-decoration: none;
  color: #fff;
  transition: bottom 0.5s ease;
  padding: 20px;
  display: block;
  max-width: 220px;
}

/* 表示時にスライドアップ */
.tuibi.show {
  bottom: 50px;
}

/* 中身のテキスト */
.tuibi-inner p {
  font-size: 1.3rem;
  text-align: center;
  line-height: 1.7rem;
  margin: 0;
}

/* スマホ時のレイアウト調整 */
@media screen and (max-width: 800px) {
  .tuibi {
    bottom: 0;
    right: 0;
    width: 100%;
    border-radius: 0;
    max-width: none;
	  pointer-events: none;
  }
  .tuibi .tuibi-inner {
    pointer-events: auto;  /* この中だけクリック可能に */
  }
	 .tuibi-inner {
    pointer-events: auto;
    display: block;
    width: 100%;
    height: 100%;
  }

  .tuibi-inner p {
    display: block;
    padding: 20px;
    text-align: center;
  }
  .tuibi.show {
    bottom: 0; /* 常に画面下に表示 */
  }
	.br-pc {
    display: none;
  }
}
@media screen and (max-width: 800px) {
	.copy{
		padding-bottom: 80px;
	}
}

/* h1 タイトルアニメーション */
.heading {
  position: relative;
  overflow: hidden;
  color: #fff;
  text-align: center;
  z-index: 1;
  padding: 20px 0;
  font-size: 1.5rem;
}

.top-img {
  position: relative;
  width: 100%;
  height: 90vh;
  overflow: hidden;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}

.top-img-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transition: opacity 1s ease;
  z-index: 1;
  opacity: 0;
}

/* 診療時間 */
.table-back {
  background-color: #fff;
  padding: 15px;
  position: absolute;
  right: 50px;
  bottom: 220px;
  z-index: 5;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-family: sans-serif;
}

.schedule-table th, .schedule-table td {
  padding: 12px;
  border-bottom: 2px solid #F18B00;
}

.schedule-table thead tr {
  border-bottom: 2px solid #F18B00;
}

.schedule-table th {
  font-weight: normal;
}

.schedule-table td {
  font-size: 20px;
  color: orange;
}

@media screen and (max-width: 700px) {
  .table-back {
    left: 50%;
    transform: translateX(-50%);
    right: auto;
    width: 90%;
    bottom: 15%;
    border-radius: 15px;
  }
  .schedule-table th, .schedule-table td {
    padding: 5px;
    font-size: 0.8rem;
  }
}

#section01 {
  background-image: url("../img/index-img/alexander-wende-Hzkp3JPUxVY-unsplash.jpg");
  background-size: cover;
  margin: 0;
  padding: 100px 50px;
}

@media screen and (max-width: 700px) {
  #section01 {
    padding: 20px 15px;
  }
}

/* お知らせ */
.notice {
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  padding: 30px;
  text-align: left;
}

.notice h2 {
  font-size: 1.5rem;
  color: #F18B00;
  margin: 10px 0;
  text-align: center;
}

#new {
  color: #3C1E11;
  font-size: 1.2rem;
}

.notice dt {
  font-size: 0.8rem;
}

.notice dd {
  text-decoration: none;
  font-size: 1.2rem;
  color: #F18B00;
}

/* スクロール */
.area__contentz {
  max-height: 150px;
  overflow-y: scroll;
  scrollbar-width: thin;
  scrollbar-color: #F18B00 #fff;
}

.area__contentz::-webkit-scrollbar {
  width: 8px;
}

.area__contentz::-webkit-scrollbar-track {
  background: #fff;
  border-radius: 10px;
}

.area__contentz::-webkit-scrollbar-thumb {
  background-color: #F18B00;
  border-radius: 10px;
  border: 2px solid #fff;
}

.area__contentz::after {
  content: '';
  display: block;
  height: 1px;
}

/* 院長からのメッセージ */
.coment {
  width: 80%;
  margin: 100px auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.coment .img-wrapper {
  position: relative;
  display: inline-block;
  width: 300px;
  flex-shrink: 0;
}

.coment .img-wrapper img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  position: relative;
  z-index: 2;
}

.coment .img-wrapper .orange-bg {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 80%;
  height: 80%;
  background-color: #f7941d;
  border-radius: 15px;
  z-index: 1;
}

.coment p {
  line-height: 2rem;
  margin-left: 80px;
  flex: 1;
  min-width: 200px;
}

@media screen and (max-width: 800px) {
  .coment {
    flex-direction: column;
    align-items: center;
    text-align: left;
  }
  .coment p {
    margin-left: 0;
    margin-top: 30px;
  }
  .coment .img-wrapper {
    width: 80%;
    max-width: 300px;
  }
  .coment .img-wrapper .orange-bg {
    bottom: -15px;
    right: -15px;
  }
}

/* 治療内容アイコン */
#section02 {
  background-color: #C1B29F;
  position: relative;
}

#section02 ul {
  text-align: center;
  max-width: 800px;
  padding: 100px;
  margin: 0 auto;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

#section02 li {
  background-color: #fff;
  border-radius: 15px;
  min-width: 150px;
  height: 150px;
  z-index: 1;
}

#section02 li:hover {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

#section02 a {
  text-decoration: none;
  font-weight: 600;
  color: #424242;
}

#section02 ul img {
  width: 100px;
  height: 100px;
}

.kagiyama {
  position: absolute;
  right: 10%;
  bottom: 10%;
  max-width: 400px;
}

@media screen and (max-width: 800px) {
  #section02 ul {
    width: 100%;
    margin: 0 auto;
    gap: 20px;
    padding: 100px 20px;
  }
  #section02 li {
    width: 45%;
    height: 150px;
  }
  .kagiyama {
    right: 5%;
    bottom: 15%;
    max-width: 150px;
  }
}

#section03 {
  margin: 100px auto 0;
}

.concept-list {
  width: max-content; /* 内容幅に合わせて縮小 */
	max-width: 80%;

  margin: 0 auto;     /* 親要素の中央に配置 */
  padding: 0;
  list-style: none;
}

.concept-list li {
  position: relative;
  padding-left: 1.2em;
  margin-bottom: 10px;
  text-align: left; /* 各項目は左揃え */
		line-height: 2rem;
	
}

.concept-list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: orange;
  font-size: 0.8em;
}



/* コンセプト画像・歯ブラシ */
.haburashi {
  margin-top: 20px;
  max-width: 200px;
}

.concept {
  margin-top: 100px;
}

.concept ul {
  display: table;
  margin: 0 auto 50px;
  text-align: left;
  line-height: 3rem;
  font-size: 1.1rem;
  list-style: none;
}

/* セクション部分スライドショー */
.img-row {
  display: flex;
  gap: 30px;
  overflow-x: hidden;
  padding: 20px;
  width: 100%;
  opacity: 0;
  transform: translateX(100%);
  transition: all 1s ease-out;
}

.img-row.show {
  opacity: 1;
  transform: translateX(0);
}

.img-row img {
  width: 200px;
  height: auto;
  border-radius: 10px;
  flex-shrink: 0;
}

/* タブ */
.tab-section {
  width: 80%;
  margin: 100px auto;
}

.tab-section h1 {
  text-align: center;
  font-size: 1.5rem;
  color: #F18B00;
  margin-bottom: 20px;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}

.tab-button {
  width: 30%;
  text-align: center;
  cursor: pointer;
  padding: 10px;
  border: 1px solid transparent;
  transition: background-color 0.3s, border 0.3s;
}

.tab-button img {
  max-width: 80px;
}

.tab-button.active {
  border: 1px solid #ccc;
  background-color: #f0f0f0;
}

.tab-content-container {
  position: relative;
}

.tab-content {
  display: none;
  padding: 15px;
  background-color: #f9f9f9;
  border-left: 3px solid #F18B00;
  font-size: 0.95em;
  box-sizing: border-box;
}

.tab-content.active {
  display: block;
}

@media screen and (max-width: 800px) {
  .tab-list {
    gap: 10px;
  }
}

/* アクセス */
.access {
  position: relative;
}

.access-00 {
  display: flex;
  width: 80%;
  margin: 50px auto 100px;
  justify-content: center;
}

.access-00 span {
  font-size: 1.5rem;
  font-weight: 600;
}

.access p {
  margin-left: 30px;
}

iframe {
  width: 40%;
  min-height: 300px;
}

.access-img {
  position: absolute;
  bottom: -100px;
  right: 5%;
  max-width: 200px;
  z-index: 10;
  pointer-events: none;
  opacity: 0.9;
}

@media screen and (max-width: 800px) {
  .access-00 {
    display: block;
    margin: 0 auto 100px;
  }
  iframe {
    margin-top: 50px;
    width: 100%;
  }
  .access-img {
    display: none;
  }
	.access p {
  margin-left: 0px;
}
	.access span {
  font-size: 1.4rem;
}
}