@charset "UTF-8";
/* クランプ関数 */
/* html */
html {
  font-family: "Noto Sans JP", sans-serif;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
html body {
  display: flex;
  flex-direction: column;
  align-items: center;
}
html .wrapper {
  width: 100%;
  max-width: 800px;
}
html a {
  transition: 0.3s;
}
html a:hover, html a:active, html a:focus-visible {
  opacity: 0.8;
}
html .img100 {
  width: 100%;
  height: auto;
  object-fit: cover;
}
p {
  font-size: clamp(0.75rem, 0.5833333333rem + 0.8333333333vw, 2rem);
  letter-spacing: 0.1rem;
  line-height:1.3;
  color: #3c3c3c;
}

/* グーグルフォントページ読み込み時チラつき回避 */
body.hidden {
  visibility: hidden;
}

.loading-spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  font-size: 2em;
  transform: translate(-50%, -50%);
}

/* CV */
.cv-box {
  margin-top: clamp(3rem, 10.67vw, 5rem);
  margin-bottom: clamp(3rem, 10.67vw, 5rem);
  position: relative;
  display: block;        /* inline-block → block に変更 */
  width: fit-content;    /* 中央寄せのため幅を内容に合わせる */
  margin-left: auto;     /* 中央寄せ */
  margin-right: auto;    /* 中央寄せ */
}

.cv-box img.cv-bg {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto 1.5rem auto;  /* 下にだけ余白をつける（例：1.5rem） */
}

.cv-box img.cv-btn {
  position: absolute;
  left: 50%;             /* 中央基準にする */
  bottom: 15%;
  transform: translateX(-50%); /* 画像幅の半分を戻して中央に */
  width: 90%;
  height: auto;
}


/* クリニック紹介 */
.clinic-about {
  padding-bottom: clamp(1.075rem, 0rem + 5.375vw, 2.6875rem);
  margin: 0 auto;
}

.clinic-about__access {
  margin: 0 auto;
  background-color: #fff;
  padding-bottom: clamp(0.825rem, 0rem + 4.125vw, 2.0625rem);
  padding-inline: clamp(1rem, 4vw, 1.875rem);
  
}
.clinic-about__map {
  padding-top: clamp(0.75rem, 0rem + 3.75vw, 1.875rem);
  padding-bottom: clamp(0.75rem, 0rem + 3.75vw, 1.875rem);
  margin: 0 auto;
  max-width: 750px;
}
.clinic-about__map iframe {
  display: block;          /* ← inline要素をブロック化 */
  margin: 0 auto;
  width: 100%;
}
.clinic-about__title {
  font-weight: 600;
  padding-top: clamp(0.85rem, 4vw, 1.5rem);
}
.clinic-about__text {
  margin: 0.5rem 0 0.5rem 0;
  padding-bottom: clamp(1rem, 4vw, 2rem);  /* 線とテキストの間に余白を作る */
  border-bottom: 1px solid #3c3c3c;  /* 横線 */
}

.clinic-support {
  padding-inline: clamp(1rem, 4vw, 1.875rem);
}
.clinic-support__text {
  margin-top: clamp(0.825rem, 0rem + 4.125vw, 2.0625rem);
  margin-bottom: clamp(2rem, 0rem + 4.125vw, 5rem);
  text-align: justify;
  text-justify: inter-ideograph; /* 日本語向け */
}

.clinic__photo {
  margin: 0 auto;
  margin-top: clamp(0.825rem, 0rem + 4.125vw, 2.0625rem);
  margin-bottom: clamp(3rem, 0rem + 4.125vw, 5rem);
  text-align: center;
}
.img200 {
  display: block;      /* 画像をブロック化して margin を効かせる */
  margin: 0 auto 1.5rem auto;  /* 下にだけ余白をつける（例：1.5rem） */
  width: 90%;
}

/* フッター */
footer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 800px;
  padding-block: clamp(0.875rem, 0rem + 4.375vw, 2.1875rem);
  background-color: rgb(60, 60, 60);
}
footer small {
  font-size: clamp(0.5rem, 0rem + 2.5vw, 1.25rem);
  color: rgb(254, 254, 254);
}

/* 下部固定ボタン */
/* 固定フッター */
.floating-reservation {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 1000;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  padding: 14px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(clamp(0.2rem, 0rem + 1vw, 0.5rem));
  transform: translateY(0);
  transition: transform 0.35s ease;
}

.floating-reservation img {
  width: 100%;
}

.link-underline {
  text-decoration: underline;
}


@media screen and (max-width: 750px) {
  .cv-box img.cv-bg {
    width: 90%;
  }
  .cv-box img.cv-btn {
    width: 80%;
  }

}


