@charset "utf-8";
/*-------common------*/
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
}
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 {
  margin: 0;
  line-height: 1.2;
  font-size: var(--b-fs);
}
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------*/
/* SP追従フッターバー（TEL / アクセス / Instagram） ※820px以下で表示 */
.c-footer-icons {
  display: none; /* ≤820px で flex（下部メディアクエリ） */
  align-items: center;
  gap: 8px;
  position: fixed;
  z-index: 600;
  right: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 6px 10px;
  background: #fff;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
  /* padding-bottom: calc(env(safe-area-inset-bottom) / 2); */
}
.c-footer-icons__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  height: 46px;
  border-radius: 3px;
  background: #e9f6e0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.2;
}
.c-footer-icons__btn--tel {
  color: #9cbe30;
}
.c-footer-icons__btn--access {
  color: #009640;
}
.c-footer-icons__icon {
  width: 18px;
  height: 18px;
  object-fit: contain;
}
.c-footer-icons__insta {
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: #f1ecdf;
  border-radius: 50%;
}
.c-footer-icons__insta img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
/*-------hd------*/
/* ヘッダー上部バー（MV写真の上に重なる） */
.l-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}
.l-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, var(--px-20), 20px);
  padding-block: clamp(12px, var(--px-23), 23px);
}
/* スクロール追従時（PC）は白背景で可読性を確保 */
.l-header.is-fixed {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.l-header.is-fixed .l-header__inner {
  padding-block: clamp(8px, var(--px-14), 14px);
}
/* ロゴ */
.c-logo__link {
  display: block;
}
.c-logo__link img {
  width: clamp(200px, var(--px-322), 322px);
}
/* 電話・インスタ */
.c-header-info {
  display: flex;
  align-items: center;
  gap: clamp(10px, var(--px-17), 17px);
}
.c-header-tel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(3px, var(--px-4), 4px);
  width: clamp(176px, var(--px-204), 204px);
  padding: clamp(4px, var(--px-8), 8px) 10px;
  background: #fff;
}
.c-header-tel__label {
  width: 100%;
  padding: clamp(2px, var(--px-4), 4px) 10px;
  background: #9cbe30;
  border-radius: 32px;
  color: #fff;
  font-size: clamp(11px, var(--px-14), 14px);
  line-height: 1.2;
  text-align: center;
}
.c-header-tel__num {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, var(--px-6), 6px);
  color: #000;
  font-size: clamp(18px, var(--px-24), 24px);
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.2;
}
.c-header-tel__icon {
  width: clamp(13px, var(--px-16), 16px);
}
.c-header-insta {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: clamp(42px, var(--px-54), 54px);
  aspect-ratio: 1 / 1;
  padding: 12px;
  background: #f1ecdf;
  border-radius: 50%;
}
.c-header-insta img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}
/* 追従（is-fixed）時のみ表示するヘッダー内ナビ */
.c-header-nav {
  display: none;
}
.l-header.is-fixed .c-header-nav {
  display: block;
  flex: 1;
}
/* 固定時はロゴを非表示にしてナビの幅を確保 */
.l-header.is-fixed .c-logo {
  display: none;
}
/* 追従ヘッダー：デスクトップ未満（〜1024px）はナビ優先で電話・インスタを隠す */
@media screen and (max-width: 1024px) {
  .l-header.is-fixed .c-header-info {
    display: none;
  }
  .l-header.is-fixed .c-nav__link {
    padding-inline: clamp(6px, 1.4vw, 18px);
  }
  .l-header.is-fixed .c-nav__en {
    letter-spacing: 0.04em;
  }
}
/* グローバルナビ（template-parts/nav.php） MV直下のバー */
.c-nav {
  padding-block: clamp(20px, var(--px-40), 40px);
}
.c-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-nav__item {
  display: flex;
}
.c-nav__item + .c-nav__item {
  border-left: 1px solid #000;
}
.c-nav__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35em;
  padding: 0.2em clamp(10px, var(--px-18), 18px);
  line-height: 1.2;
}
.c-nav__ja {
  font-weight: 500;
  font-size: clamp(13px, var(--px-16), 16px);
  letter-spacing: 0.04em;
}
.c-nav__en {
  color: #f79428;
  font-size: clamp(11px, var(--px-13), 13px);
  letter-spacing: 0.08em;
}
/* 子メニュー（診療内容ドロップダウン） */
.c-nav__item--has-child {
  position: relative;
}
.c-nav__link--toggle {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}
/* 開閉の矢印 */
.c-nav__link--toggle::after {
  content: "";
  display: block;
  width: 6px;
  height: 6px;
  margin-top: 4px;
  border-right: 1.5px solid #f79428;
  border-bottom: 1.5px solid #f79428;
  transform: rotate(45deg);
  transition: transform 0.25s;
  position: absolute;
  bottom: -5px;
}
.c-nav__item--has-child.is-open .c-nav__link--toggle::after {
  transform: rotate(-135deg);
}
.c-nav__sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 200;
  min-width: 220px;
  padding: 8px 0;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.c-nav__item--has-child.is-open .c-nav__sub {
  display: block;
}
.c-nav__sub-link {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
}
.c-nav__sub-link:hover {
  background: #f7f7f7;
  opacity: 1;
}
.fixed-wrap.is-fixed {
  position: fixed;
  animation: slideDown 0.4s ease-out;
}
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
/*-------丸もや（淡い緑の霞・共通装飾）------*/
/* 位置（top/left）は使用ページ側のCSSで指定する。
   親要素に .c-moya-wrap を付けると、もやが背面・中身が前面になる。 */
.c-moya {
  position: absolute;
  z-index: 0;
  width: clamp(300px, 47vw, 676px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(154, 190, 48, 0.28) 0%,
    rgba(154, 190, 48, 0) 68%
  );
  pointer-events: none;
}
.c-moya-wrap {
  position: relative;
  overflow: hidden;
}
.c-moya-wrap > *:not(.c-moya) {
  position: relative;
  z-index: 1;
}
/*-------ft------*/
#page-top {
  position: fixed;
  right: 7.7%;
  bottom: 65px;
  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: grid;
  place-items: center;
  width: clamp(46px, var(--px-64), 64px);
  height: clamp(46px, var(--px-64), 64px);
  background: #9cbe30;
  border-radius: 50%;
}
.c-pagetop__icon {
  width: 42%;
}

/* ===== フッター本体 ===== */
.l-footer {
  background: #fff;
}
/* 上段 */
.l-footer__top {
  padding-top: clamp(40px, var(--px-88), 88px);
  padding-bottom: clamp(30px, var(--px-60), 60px);
}
.l-footer__head {
  text-align: center;
  margin-bottom: clamp(30px, var(--px-50), 50px);
}
.l-footer__logo {
  width: clamp(220px, var(--px-290), 290px);
}
.l-footer__address {
  margin-top: clamp(10px, var(--px-16), 16px);
  font-size: clamp(13px, var(--px-16), 16px);
}
.l-footer__cols {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(30px, var(--px-60), 60px);
}
/* 診療時間テーブル */
.c-hours {
  flex: 1;
  padding-top: 50px;
}
.c-hours__table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
}
.c-hours__table th,
.c-hours__table td {
  padding: clamp(6px, var(--px-10), 10px) clamp(2px, var(--px-8), 8px);
  font-size: clamp(12px, var(--px-16), 16px);
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.05em;
}
.c-hours__table thead th {
  background: #009640;
  color: #fff;
}
.c-hours__table tbody th,
.c-hours__table tbody td {
  color: #009640;
  border-top: 1px solid #009640;
  border-bottom: 1px solid #009640;
}
.c-hours__table tbody th {
  border-left: 1px solid #009640;
}
.c-hours__table tbody td:last-child {
  border-right: 1px solid #009640;
}
.c-hours__note {
  margin-top: clamp(10px, var(--px-16), 16px);
  color: #009640;
  font-size: clamp(12px, var(--px-14), 14px);
  line-height: 1.8;
}
/* CONTACT */
.c-footer-contact {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, var(--px-24), 24px);
}
.c-footer-contact__en {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, var(--px-24), 24px);
  width: 100%;
  color: #009640;
  font-size: clamp(30px, var(--px-48), 48px);
  letter-spacing: 0.06em;
  line-height: 1;
}
/* 見出し左右の線 */
.c-footer-contact__en::before,
.c-footer-contact__en::after {
  content: "";
  flex: 1;
  height: 1px;
  background: #009640;
}
.c-footer-contact__pill {
  padding: clamp(8px, var(--px-16), 16px) clamp(20px, var(--px-40), 40px);
  background: #9cbe30;
  border-radius: 999px;
  color: #fff;
  font-size: clamp(15px, var(--px-22), 22px);
  line-height: 1.2;
}
.c-footer-contact__tel {
  display: flex;
  align-items: center;
  gap: clamp(6px, var(--px-10), 10px);
  color: #000;
  font-size: clamp(24px, var(--px-38), 38px);
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.2;
}
.c-footer-contact__icon {
  width: clamp(18px, var(--px-28), 28px);
}
/* Googleマップ（後で埋め込み・高さのみ確保） */
.l-footer__map {
  width: 100%;
  height: clamp(300px, 34.44vw, 496px);
  background: #e6ece6;
}
.l-footer__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}
/* SITEMAP */
.l-footer__sitemap {
  padding-top: clamp(30px, var(--px-50), 50px);
  padding-bottom: clamp(30px, var(--px-50), 50px);
}
.l-footer__sitemap-en {
  margin-bottom: clamp(20px, var(--px-40), 40px);
  color: #f79428;
  font-size: clamp(24px, var(--px-36), 36px);
  letter-spacing: 0.06em;
  text-align: center;
}
.c-footer-sitemap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.c-footer-sitemap__item {
  padding-inline: clamp(10px, var(--px-22), 22px);
}
.c-footer-sitemap__item + .c-footer-sitemap__item {
  border-left: 1px solid #d5d5d5;
}
.c-footer-sitemap a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35em;
  line-height: 1.2;
}
.c-footer-sitemap__ja {
  font-weight: 500;
  font-size: clamp(13px, var(--px-16), 16px);
}
.c-footer-sitemap__en {
  color: #f79428;
  font-size: clamp(11px, var(--px-13), 13px);
  letter-spacing: 0.07em;
}
/* コピーライト */
.c-copyright {
  padding: 10px;
  background: #e9f6e0;
  text-align: center;
}
.c-copyright__text {
  font-size: 14px;
  letter-spacing: 0.06em;
}
/* フッターSP（全体センター＋サイトマップ2列） */
@media screen and (max-width: 820px) {
  .l-footer__cols {
    flex-direction: column;
    align-items: center;
    gap: clamp(30px, var(--px-40), 40px);
  }
  .c-hours,
  .c-footer-contact {
    flex: none;
    width: 100%;
  }
  .l-footer__sitemap-en {
    font-size: 28px;
  }
  /* サイトマップ：ホーム単独＋残り6項目を2列 */
  .c-footer-sitemap {
    max-width: 360px;
    margin-inline: auto;
  }
  .c-footer-sitemap__item {
    width: 50%;
    padding: 0.7em 10px;
  }
  .c-footer-sitemap__item:first-child {
    width: 100%;
  }
  .c-footer-sitemap__item + .c-footer-sitemap__item {
    border-left: none;
  }
  #page-top {
    right: 10px;
  }
}
/*-------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 .lightbox-box {
  margin: 0;
  max-width: 90%;
  max-height: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
#lightbox-overlay img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}
#lightbox-overlay .lightbox-caption {
  color: #fff;
  font-size: clamp(14px, var(--px-18), 18px);
  line-height: 1.4;
  text-align: center;
}
/*-------post（お知らせ 一覧/詳細）------*/
.archive-post-title {
  font-size: var(--b-fs);
  font-weight: var(--b-fw);
}
.single-post-title {
  font-size: var(--b-fs);
  font-weight: var(--b-fw);
}
.breadcrumb {
  background: #9cbe30;
  padding-inline: 5.55%;
  display: flex;
  padding-top: 10px;
  padding-bottom: 10px;
}
.breadcrumb li::after {
  content: ">";
  margin: 0 1em;
  display: inline-block;
}
.breadcrumb li:last-child::after {
  content: none;
}
.breadcrumb li a,
.breadcrumb li {
  color: #fff;
}
.p-single__body {
  max-width: 950px;
  width: 100%;
  margin-inline: auto;
}
.pagination-area {
  margin-top: clamp(40px, var(--px-80), 80px);
}
.nav-links {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1em;
}
/*-------ipad----*/
@media screen and (max-width: 1180px) {
}
/*-------ipad-air----*/
@media screen and (max-width: 820px) {
  body .TAB820 {
    display: none;
  }
  /* SP追従フッターバーを表示。バーに隠れないよう本文下に余白 */
  .c-footer-icons {
    display: flex;
  }
  body {
    padding-bottom: 62px;
  }
  /* ここ以下でハンバーガーに切替（ヘッダー/ナビのSP仕様） */
  /* SPはヘッダー自体を追従させない：is-fixedの白バー・影・アニメを無効化。
     ロゴはMV上に乗せてスクロールで流し、追従するのはハンバーガーボタンのみ */
  .l-header,
  .l-header.is-fixed {
    position: absolute;
    background: none;
    box-shadow: none;
    animation: none;
  }
  .l-header__inner {
    padding-block: 10px;
  }
  .c-header-info {
    display: none;
  }
  /* 追従ナビは出さず、ロゴは表示 */
  .l-header.is-fixed .c-header-nav {
    display: none;
  }
  .l-header.is-fixed .c-logo {
    display: block;
  }
  .c-logo__link img {
    width: 180px;
  }
  /* グローバルナビ（ドロワー内）：各項目を中央寄せ */
  .c-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
  }
  .c-nav__item + .c-nav__item {
    border-left: none;
  }
  .c-nav__link {
    padding: 1em;
    gap: 0.4em;
  }
  .c-nav__ja {
    font-size: 16px;
  }
  .c-nav__en {
    font-size: 16px;
    letter-spacing: 0.07em;
  }
  /* ドロワー内は子メニューを静的配置＋2列（flex-wrap） */
  .c-nav__sub {
    position: static;
    transform: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    max-width: 340px;
    margin-inline: auto;
    padding: 0.5em 0;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
  }
  .c-nav__sub-item {
    width: 50%;
  }
  .c-nav__sub-link {
    padding: 0.6em;
    font-size: 15px;
  }
}
/*-------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;
  }
  .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%;
  }
}
