@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;
  background-color: #102c57;
}
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;
}
/* 視覚的に隠す（SEO/スクリーンリーダー用。レイアウトに影響しない） */
.u-vh {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}
/*-------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------*/
.fixed-wrap.is-fixed {
  position: fixed;
  animation: slideDown 0.4s ease-out;
}
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
/*-------ft------*/
.l-footer {
  position: relative;
  background-image: url(../img/common/footer-bg.jpg);
  background-size: cover;
  background-position: center;
  background-color: #1c2b3a;
  color: #fff;
  padding-top: clamp(40px, var(--px-50), 50px);
}
.l-footer__inner {
  width: min(88.9%, 1236px);
  margin-inline: auto;
  padding-bottom: clamp(30px, var(--px-40), 40px);
  display: grid;
  grid-template-columns: clamp(300px, 40vw, 570px) 1fr auto;
  grid-template-areas:
    "brand   .       ."
    "contact access  sitemap"
    "hours   access  sitemap";
  column-gap: clamp(24px, var(--px-44), 44px);
  row-gap: clamp(20px, var(--px-32), 32px);
  align-items: start;
}
.c-foot-brand {
  grid-area: brand;
}
.c-foot-contact {
  grid-area: contact;
}
.c-foot-hours {
  grid-area: hours;
}
.c-foot-access {
  grid-area: access;
}
.c-foot-sitemap {
  grid-area: sitemap;
}
/* brand */
.c-foot-brand {
  display: flex;
  align-items: center;
  gap: clamp(20px, var(--px-54), 54px);
}
.c-foot-brand__logo img {
  width: clamp(72px, var(--px-120), 120px);
  height: auto;
  object-fit: contain;
}
.c-foot-brand__name {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  line-height: 1;
}
.c-foot-brand__name-lg {
  font-size: clamp(38px, var(--px-64), 64px);
  letter-spacing: 0.12em;
}
.c-foot-brand__name-md {
  font-size: clamp(18px, var(--px-26), 26px);
  letter-spacing: 0.1em;
  margin-top: 0.35em;
}
.c-foot-brand__name-sm {
  font-size: clamp(13px, var(--px-16), 16px);
  letter-spacing: 0.05em;
  margin-top: 0.7em;
}
/* contact */
.c-foot-contact {
  display: flex;
  align-items: center;
  gap: clamp(16px, var(--px-20), 20px);
}
.c-foot-web {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, var(--px-12), 12px);
  padding: clamp(16px, var(--px-25), 25px) clamp(18px, var(--px-30), 30px);
  background: rgba(255, 255, 255, 0.8);
  color: #333;
  font-size: clamp(16px, var(--px-22), 22px);
  white-space: nowrap;
}
.c-foot-web::after {
  content: "";
  position: absolute;
  right: 10px;
  bottom: 8px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid #333;
}
.c-foot-web img {
  width: clamp(20px, var(--px-28), 28px);
  height: auto;
  object-fit: contain;
}
.c-foot-tel {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  padding-block: clamp(6px, var(--px-12), 12px);
}
.c-foot-tel__label {
  font-size: clamp(14px, var(--px-18), 18px);
}
.c-foot-tel__num {
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, var(--px-14), 14px);
  margin-top: 0.2em;
  font-size: clamp(22px, var(--px-32), 32px);
  letter-spacing: 0.06em;
  line-height: 1;
}
.c-foot-tel__ico img {
  width: clamp(20px, var(--px-28), 28px);
  height: auto;
  object-fit: contain;
}
.c-foot-tel__num a {
  color: #fff;
}
/* hours */
.c-foot-hours__table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  table-layout: fixed;
}
.c-foot-hours__table tr {
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}
.c-foot-hours__table tr:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
}
.c-foot-hours__table th,
.c-foot-hours__table td {
  padding: clamp(6px, var(--px-12), 12px) 2px;
  font-weight: 500;
  font-size: clamp(14px, var(--px-18), 18px);
}
.c-foot-hours__head,
.c-foot-hours__time {
  width: 37%;
  white-space: nowrap;
  font-size: clamp(15px, var(--px-20), 20px);
}
/* access */
.c-foot-access {
  display: flex;
  flex-direction: column;
  gap: clamp(12px, var(--px-15), 15px);
}
.c-foot-access__row {
  display: flex;
  align-items: center;
  gap: clamp(16px, var(--px-33), 33px);
}
.c-foot-access__ico {
  flex-shrink: 0;
  width: clamp(52px, var(--px-70), 70px);
  height: clamp(52px, var(--px-70), 70px);
  background: #e9e8e7;
  display: flex;
  align-items: center;
  justify-content: center;
}
.c-foot-access__ico img {
  width: clamp(16px, var(--px-28), 28px);
  height: auto;
  object-fit: contain;
}
.c-foot-access p {
  font-size: clamp(13px, var(--px-16), 16px);
  line-height: 1.9;
  white-space: nowrap;
}
/* sitemap */
.c-foot-sitemap {
  display: flex;
  flex-direction: column;
}
.c-foot-sitemap a {
  color: #fff;
  font-size: clamp(14px, var(--px-18), 18px);
  line-height: 2.2;
  white-space: nowrap;
}
/* copyright */
.c-copyright {
  background: rgba(0, 0, 0, 0.25);
  text-align: center;
  padding-block: clamp(6px, var(--px-14), 8px);
}
.c-copyright__text {
  color: #fff;
  font-size: clamp(12px, var(--px-14), 14px);
}
/* page-top */
.c-pagetop {
  position: fixed;
  right: 7.7%;
  bottom: 65px;
  z-index: 600;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.3s,
    transform 0.3s,
    visibility 0.3s;
}
.c-pagetop.is-show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.c-pagetop__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(56px, var(--px-80), 72px);
  height: clamp(56px, var(--px-80), 72px);
  border-radius: 50%;
  background: rgba(28, 43, 58, 0.9);
  color: #fff;
  font-size: clamp(11px, var(--px-13), 13px);
  text-align: center;
}
/* ===== SP追従フッター（下部固定CTA・Figma SPコンプ準拠）===== */
/* PCでは非表示。820px以下（モバイル表示）でのみ画面下にピッタリ固定・幅100% */
.c-fixfoot {
  display: none;
}
@media screen and (max-width: 820px) {
  .c-fixfoot {
    position: fixed;
    left: 0;
    bottom: 0;
    z-index: 500; /* ドロワー(700)より下・ページ内容より上 */
    display: flex;
    width: 100%;
    height: 100px;
    background: #4082ca;
    color: #fff;
  }
  .c-fixfoot__item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #fff;
    letter-spacing: 0.1em;
    line-height: 1.2;
    text-align: center;
  }
  .c-fixfoot__item--access {
    width: 38.81%; /* 145.5/375 */
    gap: 3vw;
    border-right: 1px solid #fff;
  }
  .c-fixfoot__item--tel {
    width: 23.88%; /* 89.5/375 */
    border-right: 1px solid #fff;
    font-size: 3.3vw; /* TEL. 12.3px */
  }
  .c-fixfoot__item--web {
    width: 37.31%; /* 139.9/375 */
    flex-direction: column;
    gap: 1vw;
  }
  .c-fixfoot__label {
    font-size: 3.88vw; /* アクセス / WEB予約 14.5px */
  }
  .c-fixfoot__web-sub {
    font-size: 2.98vw; /* 24時間受付中 11.2px */
  }
  .c-fixfoot__web-main {
    display: flex;
    align-items: center;
    gap: 1.5vw;
  }
  .c-fixfoot__ico {
    display: block;
    flex: 0 0 auto;
  }
  .c-fixfoot__ico--pin {
    width: auto;
    height: 5.3vw; /* 20.2px */
  }
  .c-fixfoot__ico--laptop {
    width: 3.6vw; /* 13.4px */
    height: auto;
  }
  /* 固定バーの高さ分、ページ下部に余白を確保（内容が隠れないように） */
  body {
    padding-bottom: 50px;
  }
}
/* SPフッター: 820px以下は縦1列（Figma SPコンプ準拠） */
@media screen and (max-width: 820px) {
  .l-footer {
    padding-top: clamp(30px, 11.4vw, 43px);
  }
  .l-footer__inner {
    width: min(92%, 375px);
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "contact"
      "hours"
      "access"
      "sitemap";
    justify-items: center;
    column-gap: 0;
    row-gap: 20px;
    padding-bottom: clamp(20px, 5.3vw, 24px);
  }
  /* brand: ロゴ上・名称下（中央） */
  .c-foot-brand {
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
  }
  .c-foot-brand__logo img {
    width: clamp(84px, 32vw, 120px);
  }
  .c-foot-brand__name-lg {
    font-size: 4rem;
  }
  .c-foot-brand__name-md {
    font-size: clamp(18px, 6.9vw, 26px);
  }
  .c-foot-brand__name-sm {
    font-size: clamp(13px, 4.27vw, 16px);
    margin-top: 0.9em;
  }
  /* contact: TELを上・WEB予約を下（DOMはweb→telなのでreverse） */
  .c-foot-contact {
    flex-direction: column-reverse;
    align-items: center;
    width: 285px;
    max-width: 100%;
    gap: 20px;
  }
  .c-foot-tel {
    width: 100%;
  }
  .c-foot-tel__label {
    font-size: clamp(14px, 4.8vw, 18px);
  }
  .c-foot-tel__num {
    font-size: clamp(22px, 8.5vw, 32px);
  }
  .c-foot-tel__ico img {
    width: clamp(20px, 7.5vw, 28px);
  }
  .c-foot-web {
    justify-content: center;
    width: 259px;
    max-width: 100%;
    height: 83px;
    padding: 0 15px;
    font-size: clamp(16px, 5.87vw, 22px);
  }
  .c-foot-web img {
    width: clamp(20px, 7.5vw, 28px);
  }
  /* hours: 全幅 */
  .c-foot-hours {
    width: 100%;
  }
  .c-foot-hours__head,
  .c-foot-hours__time {
    width: 37%;
    font-size: clamp(11px, 3.5vw, 13px);
  }
  .c-foot-hours__table th,
  .c-foot-hours__table td {
    font-size: clamp(10px, 3.17vw, 12px);
    padding: 8px 0;
  }
  /* access: 中央ブロック */
  .c-foot-access {
    width: 300px;
    max-width: 100%;
    gap: 15px;
  }
  .c-foot-access__row {
    gap: 30px;
  }
  .c-foot-access p {
    font-size: clamp(13px, 4.27vw, 16px);
    line-height: 1.875;
    white-space: normal;
  }
  /* sitemap: 中央ブロック・テキスト左 */
  .c-foot-sitemap {
    width: 274px;
    max-width: 100%;
    align-items: flex-start;
  }
  .c-foot-sitemap a {
    font-size: clamp(14px, 4.8vw, 18px);
  }
  .c-copyright__text {
    font-size: clamp(11px, 3.7vw, 14px);
  }
}
/*-------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 {
    position: fixed;
    animation: none;
  }
  .c-fixfoot {
    height: 50px;
  }
}
/* ============================================================
   グローバルナビ「診療案内」ドロップダウン（PC:ホバー表示／SP:常時表示）
   項目はサイドバー（c-side）と同一
============================================================ */
.l-gnav-drop {
  position: relative;
  display: flex;
  align-items: center;
}
/* 診療案内の右に下向き三角 */
.l-gnav-drop__trigger::after {
  content: "";
  display: inline-block;
  margin-left: 6px;
  border: 4px solid transparent;
  border-top-color: currentColor;
  transform: translateY(2px);
}

/* ---- PC（821px以上）：ホバー／フォーカスで表示 ---- */
@media screen and (min-width: 821px) {
  .l-gnav-drop__panel {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 60;
    display: flex;
    gap: clamp(20px, 2vw, 36px);
    padding: clamp(18px, 1.6vw, 26px) clamp(20px, 2vw, 32px);
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition:
      opacity 0.25s ease,
      transform 0.25s ease,
      visibility 0.25s;
  }
  .l-gnav-drop:hover .l-gnav-drop__panel,
  .l-gnav-drop:focus-within .l-gnav-drop__panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  /* FVナビ（.p-index-fv は overflow:hidden）用：上方向に開く */
  .l-gnav-drop--up .l-gnav-drop__panel {
    top: 80px;
    bottom: auto;
    transform: translateY(-8px);
  }
  .l-gnav-drop--up:hover .l-gnav-drop__panel,
  .l-gnav-drop--up:focus-within .l-gnav-drop__panel {
    transform: translateY(0);
  }
  .l-gnav-drop__panel .l-gnav-drop__ttl {
    margin: 0 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #4082ca;
    color: #113b7a;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    white-space: nowrap;
  }
  .l-gnav-drop__panel .l-gnav-drop__list li + li {
    margin-top: 9px;
  }
  .l-gnav-drop__panel .l-gnav-drop__list a {
    color: #333;
    font-size: 14px;
    letter-spacing: 0.02em;
  }
  .l-gnav-drop__panel .l-gnav-drop__list a:hover {
    color: #4082ca;
    opacity: 1;
  }
  /* FVナビの縦罫線（a::before/::after）がパネル内リンクに出ないよう抑制 */
  .p-fv__gnav .l-gnav-drop__panel a::before,
  .p-fv__gnav .l-gnav-drop__panel a::after {
    content: none;
  }
}

/* ---- SP（820px以下）：ドロワー内に常時展開表示（PCと同じパネルmarkupを流用） ---- */
@media screen and (max-width: 820px) {
  .c-nav__list .l-gnav-drop__panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 6px 0 10px;
    background: none;
    box-shadow: none;
  }
  .c-nav__list .l-gnav-drop__group {
    padding: 12px 4px 4px;
  }
  .l-gnav-drop__group {
    border-top: 1px solid rgba(197, 185, 159, 0.3);
  }
  .c-nav__list .l-gnav-drop__ttl {
    margin: 0 0 4px;
    color: #c5b99f;
    font-size: 13px;
    letter-spacing: 0.08em;
  }
  .c-nav__list .l-gnav-drop__list a {
    display: block;
    color: #fff;
    font-size: 14px;
    padding: 8px 0 8px 14px;
    border-top: none;
  }
}
