@charset "utf-8";
/*-------common------*/
html {
  font-size: 62.5%;
  /* scroll-behavior: smooth; */
  scroll-padding-top: 80px; /* アンカー遷移時に追従ヘッダー分の余白を確保 */
}
body {
  font-size: var(--b-fs);
  color: var(--b-color);
  font-family: var(--b-font-family);
  letter-spacing: var(--b-ls);
  line-height: var(--b-lh);
  font-weight: var(--b-fw);
  margin: 0;
}
p {
  margin: 0;
}
a {
  text-decoration: none;
  color: var(--b-color);
  transition: 0.25s ease-in-out;
}
a:hover {
  opacity: 0.6;
}
h1,
h2,
h3,
h4 {
  font-family: "Zen Old Mincho", serif;
  margin: 0;
  line-height: 1.45;
  font-weight: 400;
}
img {
  max-width: 100%;
  vertical-align: middle;
  width: auto;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
  width: 100%;
}
th {
  font-weight: 500;
}
li {
  list-style: none;
  margin: 0;
  padding: 0;
}
ul {
  margin: 0;
  padding: 0;
}
em {
  font-style: normal;
}
dl {
  margin: 0;
}
dt {
  margin: 0;
}
dd {
  margin: 0;
}
dl .row {
  display: flex;
}
.SP {
  display: none;
}
.TAB820 {
  display: none;
}
/* =====================
  Layout / Box
===================== */
.l-inner {
  padding-inline: 5.55%;
}
.u-w-fit {
  width: fit-content;
}
.u-mx-auto {
  margin-inline: auto;
}
.u-pos-rel {
  position: relative;
}
.u-z-1 {
  z-index: 1;
}
.u-z-2 {
  z-index: 2;
}
/* =====================
  Display
===================== */
.u-flex {
  display: flex;
}
.u-flex-re {
  flex-direction: row-reverse;
}
.u-flex-col-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.u-block {
  display: block;
}
.u-inline-block {
  display: inline-block;
}
/* =====================
  Flex Align
===================== */
.u-ai-center {
  align-items: center;
}
.u-ai-start {
  align-items: flex-start;
}
.u-ai-end {
  align-items: flex-end;
}
.u-jc-center {
  justify-content: center;
}
.u-jc-start {
  justify-content: flex-start;
}
.u-jc-between {
  justify-content: space-between;
}
.u-jc-end {
  justify-content: flex-end;
}
.u-flex-1 {
  flex: 1;
}
.u-flex-wrap {
  flex-wrap: wrap;
}
/* =====================
  Grid
===================== */
.u-grid {
  display: grid;
}
.u-grid-col-2 {
  grid-template-columns: repeat(2, 1fr);
}
.u-grid-col-3 {
  grid-template-columns: repeat(3, 1fr);
}
.u-grid-col-4 {
  grid-template-columns: repeat(4, 1fr);
}
/* =====================
  Typography
===================== */
.u-fw300 {
  font-weight: 300;
}
.u-fw400 {
  font-weight: 400;
}
.u-fw500 {
  font-weight: 500;
}
.u-fw600 {
  font-weight: 600;
}
.u-fw700 {
  font-weight: 700;
}
.u-fw900 {
  font-weight: 900;
}

.u-lh10 {
  line-height: 1;
}
.u-lh12 {
  line-height: 1.2;
}
.u-lh14 {
  line-height: 1.4;
}
.u-lh16 {
  line-height: 1.6;
}
.u-lh20 {
  line-height: 2;
}

.u-ls005 {
  letter-spacing: 0.05em;
}
.u-ls01 {
  letter-spacing: 0.1em;
}
.u-ls0 {
  letter-spacing: 0;
}

.u-tc {
  text-align: center;
}
.u-uppercase {
  text-transform: uppercase;
}

/* =====================
  Color
===================== */
.u-cwhite {
  color: #fff;
}
.u-cblack {
  color: #000;
}

.u-bwhite {
  background: #fff;
}
.u-bblack {
  background: #000;
}

/* =====================
  Spacing
===================== */
.u-mr-01 {
  margin-right: 1em;
}

/* =====================
  Page
===================== */
.u-page-404 {
  padding: 150px 0;
}

/* =====================
  Reset
===================== */
* {
  box-sizing: border-box;
}
/*-------common-end------*/
.c-footer-icons {
  display: none;
  justify-content: space-around;
  align-items: stretch;
  position: fixed;
  z-index: 701;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  /* padding-bottom: calc(env(safe-area-inset-bottom) / 2); */
}
/*-------hd（追従ヘッダー）------*/
/* SPでl-headerがfixed化してもメニューボタンがFV等の上に来るように z-index 付与 */
.l-header {
  position: relative;
  z-index: 900;
}
/* PC追従ヘッダーバー（既定は画面外、is-fixedでスライドイン） */
.l-header__bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 900;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(70, 70, 70, 0.08);
  transform: translateY(-100%);
  transition: transform 0.4s ease-out;
}
.l-header.is-fixed .l-header__bar {
  transform: translateY(0);
}
.l-header__bar .l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 15px clamp(20px, 5.55%, 80px);
}
/* バー内ナビ（コンパクト・左寄せ・項目間60px＋中央に縦線） */
.l-header__bar .c-gnav {
  background: none;
}
.l-header__bar .c-gnav__list {
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: clamp(24px, 4.167vw, 60px);
  padding-block: 0;
}
.l-header__bar .c-gnav__item:not(:first-child)::before {
  left: calc(clamp(24px, 4.167vw, 60px) / -2);
  height: clamp(28px, 3.611vw, 52px);
}
/* CTAボタン */
.l-header__cta {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
}
.c-hcta {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
}
.c-hcta--tel {
  flex-direction: column;
  gap: 2px;
  width: clamp(150px, 12.5vw, 180px);
  background: #008796;
  color: #fff;
  font-family: "Zen Old Mincho", serif;
}
.c-hcta__small {
  font-size: clamp(10px, 0.764vw, 11px);
  line-height: 1.2;
}
.c-hcta__tel {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.2;
}
.c-hcta__tel img {
  width: clamp(16px, 1.319vw, 19px);
}
.c-hcta--access {
  gap: 5px;
  width: clamp(100px, 8.333vw, 120px);
  background: #c0e4e8;
  border: 1px solid #008796;
  color: #008796;
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-size: clamp(14px, 1.111vw, 16px);
}
.c-hcta--access img {
  width: clamp(18px, 1.543vw, 22px);
}
@media screen and (max-width: 820px) {
  .l-header__bar {
    display: none;
  }
}
/*-------global nav------*/
.c-gnav {
  background: #fff;
}
.c-gnav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(30px, 8.333vw, 120px);
  padding-block: clamp(20px, 2.778vw, 40px);
}
.c-gnav__item {
  position: relative;
}
.c-gnav__item:not(:first-child)::before {
  content: "";
  position: absolute;
  top: 50%;
  left: calc(clamp(30px, 8.333vw, 120px) / -2);
  transform: translateY(-50%);
  width: 1px;
  height: clamp(32px, 3.611vw, 52px);
  background: #464646;
}
.c-gnav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  line-height: 1.2;
  text-align: center;
}
.c-gnav__ja {
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-size: clamp(13px, 1.111vw, 16px);
}
.c-gnav__en {
  font-family: "EB Garamond", serif;
  font-size: clamp(12px, 1.111vw, 16px);
  letter-spacing: 0.07em;
  color: #008796;
}
/* 診療内容ドロワー */
.c-gnav__drawer-btn {
  flex-direction: row;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.c-gnav__labels {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
.c-gnav__arrow {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #008796;
  border-bottom: 1.5px solid #008796;
  transform: rotate(45deg);
  transition: transform 0.3s;
}
.c-gnav__drawer-btn[aria-expanded="true"] .c-gnav__arrow {
  transform: rotate(225deg);
}
.c-gnav__drawer {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 50;
  padding: 20px 25.5px;
  background: #008796;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(15px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    visibility 0.4s;
}
.c-gnav__item--drawer.is-open .c-gnav__drawer {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.c-gnav__drawer-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.c-gnav__drawer-list a {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: "Zen Old Mincho", serif;
  font-size: 16px;
  line-height: 1;
  color: #fff;
  white-space: nowrap;
}
.c-gnav__drawer-list a::before {
  content: "";
  flex-shrink: 0;
  border-style: solid;
  border-width: 4px 0 4px 7px;
  border-color: transparent transparent transparent #fff;
}
.c-gnav__drawer-list a:hover {
  opacity: 0.6;
}
/* ===== SPハンバーガーメニュー（820px以下：c-gnavを全画面オーバーレイ化） ===== */
@media screen and (max-width: 820px) {
  .c-gnav {
    position: fixed;
    inset: 0;
    z-index: 700;
    display: flex;
    overflow-y: auto;
    background: #008796;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.3s,
      visibility 0.3s;
  }
  body.is-menu-open .c-gnav {
    opacity: 1;
    visibility: visible;
  }
  body.is-menu-open {
    overflow: hidden;
  }
  .c-gnav__list {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 30px;
    width: 100%;
    min-height: 100%;
    padding-block: 80px;
  }
  .c-gnav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  /* PC用の縦区切り線は消す */
  .c-gnav__item:not(:first-child)::before {
    display: none;
  }
  /* 項目間の横区切り線 */
  .c-gnav__item:not(:last-child)::after {
    content: "";
    width: 240px;
    height: 1px;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.6);
  }
  /* 文字は白に */
  .c-gnav__ja,
  .c-gnav__en {
    color: #fff;
  }
  .c-gnav__arrow {
    border-right-color: #fff;
    border-bottom-color: #fff;
  }
  /* 診療内容ドロワー（SPは白box＋teal文字・max-heightで開閉アニメーション） */
  .c-gnav__drawer {
    position: static;
    transform: none;
    visibility: visible;
    width: 160px;
    margin-top: 10px;
    padding-block: 0;
    background: #fff;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition:
      max-height 0.4s ease,
      opacity 0.3s ease,
      padding 0.4s ease;
  }
  .c-gnav__item--drawer.is-open .c-gnav__drawer {
    opacity: 1;
    max-height: 360px;
    padding-block: 20px;
    transform: none;
  }
  .c-gnav__drawer-list a {
    color: #008796;
  }
  .c-gnav__drawer-list a::before {
    border-color: transparent transparent transparent #008796;
  }
}
/*-------ft------*/
#page-top {
  position: fixed;
  right: 10px;
  bottom: 40px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
  z-index: 600;
}
#page-top.is-show {
  opacity: 1;
  visibility: visible;
}
.c-pagetop__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: clamp(45px, var(--px-60), 60px);
}
/*-------footer------*/
.l-footer {
  position: relative;
  font-family: "Zen Old Mincho", serif;
  background: url(../img/common/footer-bg.webp) center / cover no-repeat;
}
.l-footer__inner {
  width: min(1152px, 90%);
  margin-inline: auto;
}
/* INFORMATION */
.c-finfo-tit {
  padding-top: clamp(32px, 3vw, 40px);
  text-align: center;
  font-weight: 400;
  font-size: clamp(28px, 3.333vw, 48px);
  line-height: 1.2;
}
.c-finfo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 4.167vw, 60px);
  margin-top: clamp(24px, 3.4vw, 49px);
}
.c-finfo__left {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 1.875vw, 27px);
  width: clamp(280px, 33.8vw, 487px);
}
.c-finfo__logo {
  display: block;
  width: clamp(160px, 16.667vw, 240px);
}
.c-finfo__address {
  font-size: clamp(15px, 1.667vw, 24px);
  line-height: 1.6;
}
.c-finfo__tel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: clamp(240px, 22.2vw, 320px);
  padding: 15px 10px;
  border-top: 1px solid #a4a4a4;
  border-bottom: 1px solid #a4a4a4;
  font-size: clamp(18px, 1.667vw, 24px);
}
.c-finfo__tel-icon {
  flex-shrink: 0;
  width: clamp(16px, 1.382vw, 19.9px);
}
/* 診療時間テーブル（c-hours：アクセスページ等でも共通利用） */
.c-hours {
  width: clamp(420px, 41.94vw, 604px);
  border-collapse: collapse;
  text-align: center;
  border-left: 1px solid #008796;
  border-right: 1px solid #008796;
}
.c-hours th,
.c-hours td {
  font-weight: 500;
  font-size: clamp(11px, 1.111vw, 16px);
  letter-spacing: 0.07em;
  line-height: 1.6;
}
.c-hours thead th {
  padding: clamp(6px, 0.7vw, 10px);
  background: #008796;
  color: #fff;
}
.c-hours tbody th,
.c-hours tbody td {
  padding: clamp(8px, 1vw, 15px) clamp(4px, 0.5vw, 10px);
  border-bottom: 1px solid #008796;
  background: #fff;
  color: #008796;
  white-space: nowrap;
}
.c-hours__note {
  margin-top: clamp(8px, 1vw, 14px);
  color: #008796;
  font-size: clamp(11px, 1.111vw, 16px);
  line-height: 1.6;
}
/* GOOGLE MAP */
.l-footer__map {
  margin-top: clamp(40px, 5vw, 73px);
}
.l-footer__map iframe {
  display: block;
  width: 100%;
  height: clamp(240px, 34.44vw, 496px);
  border: 0;
}
/* SITEMAP */
.l-footer__sitemap {
  padding-block: clamp(36px, 4.3vw, 62px);
}
.c-sitemap-tit {
  text-align: center;
  font-family: "EB Garamond", serif;
  font-weight: 400;
  font-size: clamp(24px, 2.5vw, 36px);
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: #008796;
}
.c-sitemap-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.778vw, 40px);
  max-width: 850px;
  margin: clamp(24px, 3vw, 40px) auto 0;
  font-size: clamp(14px, 1.25vw, 18px);
  letter-spacing: 0.06em;
  line-height: 1.2;
}
.c-sitemap-nav a {
  white-space: nowrap;
}
/* COPYRIGHT */
.c-copyright {
  padding: 30px 10px;
  background: #e0f6f1;
  text-align: center;
}
.c-copyright__text {
  font-size: clamp(12px, 0.972vw, 14px);
  letter-spacing: 0.06em;
  line-height: 1.2;
}
/*-------SP追従フッター（820px以下）------*/
.c-spfoot {
  display: none;
}
.c-spfoot__tel,
.c-spfoot__access {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 55px;
}
.c-spfoot__tel {
  flex: 1;
  flex-direction: column;
  background: #008796;
  color: #fff;
  font-family: "Zen Old Mincho", serif;
}
.c-spfoot__lead {
  font-size: 11px;
  line-height: 1.2;
}
.c-spfoot__num {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: 13px;
  line-height: 1.2;
}
.c-spfoot__num img {
  width: 12px;
}
.c-spfoot__access {
  flex-shrink: 0;
  gap: 5px;
  width: clamp(88px, 27vw, 100px);
  background: #c0e4e8;
  border: 1px solid #008796;
  color: #008796;
  font-family: "Zen Old Mincho", serif;
  font-weight: 500;
  font-size: 13px;
}
.c-spfoot__access img {
  width: 16px;
}
.c-spfoot__top {
  flex-shrink: 0;
  width: 45px;
}
.c-spfoot__top img {
  display: block;
  width: 100%;
}
@media screen and (max-width: 820px) {
  .c-spfoot {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 0 10px 10px;
  }
  #page-top {
    display: none;
  }
  .l-footer {
    padding-bottom: 65px;
  }
}
/*-------contact-form------*/
.cs-contact-form {
  max-width: 950px;
  width: 100%;
  margin-inline: auto;
  padding-bottom: 80px;
}
.cs-contact-form .row {
  margin-bottom: 30px;
}
.cs-contact-form .row:last-child {
  margin-bottom: 0;
}
.cs-contact-form textarea,
.cs-contact-form input {
  border: none;
  background: #fff;
  font-size: max(1.111vw, 16px);
  width: 100%;
  padding: 0.5em 0 0.5em 1em;
}
.cs-contact-form input:focus-visible,
.cs-contact-form textarea:focus-visible {
  outline: none;
}
.cs-contact-form dt {
  width: 30%;
}
.cs-contact-form dd {
  width: 70%;
}
.cs-contact-form-btn-wrap {
  text-align: center;
}
.table-form input:focus-visible,
.table-form textarea:focus-visible {
  outline: none;
}
input[type="submit"] {
  font-family: "Noto Serif JP", serif;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: none;
  cursor: pointer;
}
input[type="submit"]:hover {
}
span.wpcf7-spinner {
  display: none;
}
/*lightbox*/
#lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
}
/*-------ipad----*/
@media screen and (max-width: 1180px) {
}
/*-------ipad-air----*/
@media screen and (max-width: 820px) {
  body .TAB820 {
    display: none;
  }
}
/*-------iphone----*/
@media screen and (max-width: 680px) {
  .u-flex,
  .u-flex.u-flex-re,
  dl .row {
    flex-direction: column;
  }
  .u-grid {
    grid-template-columns: 1fr;
  }
  .u-grid.u-grid-col-2,
  .u-grid.u-grid-col-3,
  .u-grid.u-grid-col-4 {
    grid-template-columns: 1fr;
  }
  body .SP {
    display: block;
  }

  body .PC {
    display: none;
  }
  .c-footer-icons {
    display: flex;
  }
  .u-tc.u-SPtl {
    text-align: left;
  }
  .table-form tr {
    display: flex;
    flex-direction: column;
  }
  .table-form th {
    width: 100%;
  }
  .table-form td {
    padding: 0 0 1em;
  }
  .cs-contact-form dt {
    width: 100%;
  }
  .cs-contact-form dd {
    width: 100%;
  }
  .fixed-wrap.fixed-wrap.is-fixed {
    position: fixed;
    animation: none;
  }
  /* footer SP */
  .c-finfo-tit {
    padding-top: 40px;
    font-size: 24px;
  }
  .c-finfo {
    flex-direction: column;
    gap: 20px;
    margin-top: 20px;
  }
  .c-finfo__left {
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: center;
  }
  .c-finfo__logo {
    width: 140px;
  }
  .c-finfo__address {
    font-size: 13px;
  }
  .c-finfo__tel {
    width: min(260px, 90%);
    font-size: 20px;
  }
  .c-hours {
    width: 100%;
  }
  .c-hours th,
  .c-hours td {
    font-size: 11px;
    letter-spacing: 0.06em;
  }
  .c-hours thead th {
    padding: 10px 8px;
  }
  .c-hours tbody th,
  .c-hours tbody td {
    padding: 10px 8px;
  }
  .c-hours__note {
    font-size: 11px;
  }
  .l-footer__map {
    margin-top: 20px;
  }
  .l-footer__map iframe {
    height: min(375px, 100vw);
  }
  .l-footer__sitemap {
    padding-block: 20px 40px;
  }
  .c-sitemap-tit {
    font-size: 36px;
  }
  .c-sitemap-nav {
    gap: 20px;
    margin-top: 20px;
    font-size: 13px;
  }
  .c-copyright__text {
    font-size: 11px;
  }
}
