@charset "UTF-8";

/* ベース初期化 */
html {
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}
*,
*::before,
*::after {
  box-sizing: inherit;
  margin: 0;
  padding: 0;
}

body {
  font-size: 16px;
  line-height: 1.6;
  /* 必要ならフォントを指定（Noto Sans JP を既に読み込み済み） */
  /* font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif; */
}

/* 媒体要素の基本 */
img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
  height: auto;
}

/* フォームのフォント継承 */
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

/* ユーティリティ */
.pc-none {
  display: none;
}
.sp-none {
  display: block;
}

/* スクリーンリーダーのみ表示 */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.wp-block-separator {
  height: 1px !important;
  border-top: 1px solid !important;
}

a {
  color: #2f91a3;
  text-decoration: underline;
}

/* -----------------------------
   title
--------------------------------*/
.heading_lv1 {
  font-family: "Noto Serif JP", serif;
  font-weight: 400;
  font-size: 33px;
  line-height: 39px;
  color: #000;
  text-align: center;
  display: block;
  position: relative;
  margin-bottom: 42px !important;
}

/* 擬似要素：中央下線 */
.heading_lv1::after,
.wp-block-heading.heading_lv1::after {
  content: "" !important; /* VK BlocksやLightningの初期化を上書き */
  display: block !important; /* 強制表示 */
  width: 40px;
  height: 1px;
  background-color: #b4b4b4;
  margin: 8px auto 0;
}

.heading_lv1 strong {
  font-weight: 400;
}

/* -----------------------------
   text
--------------------------------*/
.intro_text {
  font-size: 18px;
}

.sp-left {
  text-align: center;
}

/* -----------------------------
   button
--------------------------------*/
.btn_more a {
  height: 100px;
  padding: 36px 0 !important;
  position: relative;
  max-width: 500px;
  width: 100%;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700; /* Bold */
  font-size: 20px;
  letter-spacing: 0.24em; /* 文字間隔24% */
  color: #ffffff; /* 塗り #FFFFFF */
}

.btn_more a::after {
  position: absolute;
  content: "";
  background: url(../images/arrow-1.png);
  background-size: 100%;
  width: 11px;
  height: 16px;
  display: block;
  right: 20px;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* -----------------------------
   レイアウト
--------------------------------*/
.white-inner {
  padding: 80px 60px;
}

.cta-white-inner {
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.8);
}

.sub-section {
  display: none;
}

/*
   左カラムのみ横幅を超えて表示させる
--------------------------------*/
/* セクション外枠 */
.section-full,
.section-full .columns-main {
  width: 100vw;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0;
  min-width: 100%;
}

.section-full .columns-main {
  --wp--style--block-gap: 0 !important; /* ブロックエディタのgapを上書き */
  gap: 0 !important;
  align-items: stretch;
}

/* 左カラム（背景画像） */
.section-full .col-left {
  background-image: url("../images/bg-1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 560px;
  width: 50%;
  position: relative;
}

/* 右カラム側 */
.section-full .col-right {
  padding: 110px 24px 120px;
  width: 50%;
}

.section-full .col-right .contents-inner {
  margin: 0 auto;
  max-width: 536px;
}

/* スマホ時の縦並び */
@media (max-width: 781px) {
  .section-full .columns-main {
    flex-direction: column;
  }
  .section-full .col-left-bg {
    min-height: 300px;
  }
}

/* -----------------------------
   header
--------------------------------*/
.site-header {
  background-color: transparent !important;
  box-shadow: none !important; /* 影がついている場合は削除 */
  position: fixed;
}

nav#global-nav {
  display: none;
}

.vk-mobile-nav-menu-btn {
  display: none;
}

.ltg-slide-text-set {
  top: auto !important;
  left: 0 !important;
  bottom: 0 !important;
  transform: none !important;
  width: auto;
  padding: 0px;
}

.ltg-slide-text-set img {
  width: 170px;
}

#site-header-container.container {
  max-width: 100%;
}

/* -----------------------------
   footer
--------------------------------*/
/* ==== フッター上部（白背景） ==== */
.footer-head {
  background: #fff;
}
.footer-head .container {
  padding: 28px 16px;
}
.footer-head__grid {
  display: grid;
  grid-template-columns: 1.2fr 1.3fr 1fr; /* ロゴ / 時間 / 住所 */
  gap: 24px;
  align-items: start;
}

/* ロゴ */
.footer-head__logo img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 診療時間表 */
.hours-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #e3e6e8;
}
.hours-table th,
.hours-table td {
  padding: 10px 12px;
  text-align: center;
  border-right: 1px solid #e3e6e8;
  border-bottom: 1px solid #e3e6e8;
  font-size: 14px;
  line-height: 1.4;
}
.hours-table thead th:first-child {
  text-align: left;
}
.hours-table th:first-child,
.hours-table td:first-child {
  text-align: left;
  white-space: nowrap;
}
.hours-table th:last-child,
.hours-table td:last-child {
  border-right: none;
}
.hours-table tr:last-child th,
.hours-table tr:last-child td {
  border-bottom: none;
}

/* ○＝診療 / 休診 */
.hours-table td.is-open::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6cc6d6; /* ティールの丸 */
}
.hours-table td.is-close {
  color: #c0c7cf;
}
.hours-note {
  margin-top: 8px;
  font-size: 13px;
  color: #333;
}

/* 住所・MAP */
.footer-head__addr .clinic-address {
  font-style: normal;
  line-height: 1.8;
  margin: 0 0 8px;
}
.footer-head__addr .btn-map {
  display: inline-block;
  color: #3aa8b9;
  text-decoration: none;
  font-weight: 700;
}
.footer-head__addr .btn-map:hover {
  text-decoration: underline;
}

/* ==== フッター中段（カラー帯） ==== */
.footer-top {
  background: #8ad2de;
  color: #fff;
}
.footer-top a {
  color: #fff;
  text-decoration: none;
}
.footer-top a:hover {
  text-decoration: underline;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 32px 16px;
}
.footer-title {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  padding: 0;
  border: none;
}
.footer-title::after {
  display: none;
}
.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-links li {
  position: relative;
  padding-left: 1.1em;
  line-height: 1.9;
  margin: 0;
}
.footer-links li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: #fff;
  opacity: 0.9;
}

/* ==== コピーライト ==== */
.site-footer-copyright {
  text-align: center;
  padding: 16px 12px 24px;
  font-size: 13px;
  color: #333;
  background: #fff;
}

/* ==== レスポンシブ ==== */
@media (max-width: 1024px) {
  .footer-head__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-head__addr {
    grid-column: 1 / -1;
  }
  .footer-grid {
    gap: 24px;
  }
}
@media (max-width: 781px) {
  .footer-head__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-title {
    font-size: 16px;
  }
}

/* -----------------------------
   TOP
--------------------------------*/
.top-intro-title {
  position: absolute;
  width: 160px;
  right: 20px;
  top: 50px;
  z-index: 3;
}

.top-intro-img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  z-index: 2;
}
/* ラッパー */
.clinic-gallery {
  width: 100%;
  margin: 0 auto;
}

/* メインスライダー */
.gallery-main {
  overflow: hidden;
}
.gallery-main .swiper-slide img {
  width: 100%;
  object-fit: cover;
  display: block;
}
@media (max-width: 1024px) {
  .gallery-main .swiper-slide img {
    height: 360px;
  }
}
@media (max-width: 781px) {
  .gallery-main .swiper-slide img {
    height: 240px;
  }
}

/* サムネイル列（全幅） */
.gallery-thumbs {
  width: 100vw; /* ブラウザ全幅に広げる */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 16px;
  padding: 0 3vw; /* 端がくっつくのを防ぐ */
}
.gallery-thumbs .swiper-slide {
  opacity: 0.6;
  cursor: pointer;
  overflow: hidden;
  transition: opacity 0.3s;
}
.gallery-thumbs .swiper-slide-thumb-active {
  opacity: 1;
  outline: 2px solid #8ad2de; /* 選択時の枠線 */
}
.gallery-thumbs .swiper-slide img {
  width: 100%;
  height: 80px;
  object-fit: cover;
  display: block;
}

/* 矢印を完全に非表示 */
.gallery-nav {
  position: relative;
}
.gallery-prev,
.gallery-next {
  display: none !important;
}

/* メインビジュアル
-------------------------------- */
.ltg-slide-text-title {
  font-family: "Noto Serif JP", serif;
  font-weight: 500; /* Medium */
  font-size: 37px;
  line-height: 1.6; /* 160% */
  color: #000;
  writing-mode: vertical-rl; /* 縦書き */
  text-orientation: upright;
  position: relative;
  display: inline-block;

  /* 光彩（外側） */
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, 1));
}

/* -----------------------------
   下層ページ
--------------------------------*/
.page-header {
  margin-top: 94px;
  background: url(../images/bg_page_header.jpg);
  background-position: bottom;
  height: 260px;
}

/* 応募フォーム
-------------------------------- */
:root {
  --cf7-accent: #5dc1d0; /* ベース */
  --cf7-accent-dark: #2f91a3; /* 濃いめ（ホバー等） */
  --cf7-border: #e6eef0;
  --cf7-bg: #f7fbfc;
  --cf7-text: #333;
}

.cf7-table__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid var(--cf7-border);
  overflow: hidden;
  font-size: 16px;
  color: var(--cf7-text);
  margin-bottom: 32px;
}

.cf7-table__table th,
.cf7-table__table td {
  padding: 16px 18px;
  vertical-align: top;
  border-bottom: 1px solid var(--cf7-border);
  vertical-align: middle;
}

.cf7-table__table th {
  width: 28%;
  background: var(--cf7-bg);
  font-weight: 600;
  line-height: 1.5;
}

.cf7-table__table th p,
.cf7-table__table td p {
  margin-bottom: 0;
}

.cf7-table__table tr:last-child th,
.cf7-table__table tr:last-child td {
  border-bottom: none;
}

/* 入力部品 */
.cf7-table input[type="text"],
.cf7-table input[type="email"],
.cf7-table input[type="tel"],
.cf7-table input[type="number"],
.cf7-table select,
.cf7-table textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #cfe8ec;
  /* border-radius: 8px; */
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-size: 16px;
}

.cf7-table input:focus,
.cf7-table select:focus,
.cf7-table textarea:focus {
  outline: none;
  border-color: var(--cf7-accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--cf7-accent) 25%, transparent);
}

.check_wrapper {
  text-align: center;
}

span.hissu {
  background: var(--cf7-accent);
  color: #fff;
  padding: 2px;
  font-size: 12px;
  margin-left: 10px;
}

/* 送信ボタン */
.btn_wrapper {
  text-align: center;
}

.cf7-table input[type="submit"] {
  appearance: none;
  display: inline-block;
  padding: 14px 22px;
  border: none;
  border-radius: 0;
  background: var(--cf7-accent);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.05s ease, background-color 0.2s ease;
}
.cf7-table input[type="submit"]:hover {
  background: var(--cf7-accent-dark);
}
.cf7-table input[type="submit"]:active {
  transform: translateY(1px);
}

/* エラーメッセージ＆完了メッセージ */
.wpcf7 form .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  color: #b00020;
}
.wpcf7 form .wpcf7-response-output {
  margin: 16px 0 0;
  border: 2px solid var(--cf7-accent);
  background: color-mix(in oklab, var(--cf7-accent) 8%, #fff);
  border-radius: 10px;
}

/* 注記 */
.cf7-note {
  margin-top: 12px;
  font-size: 13px;
  color: #666;
}

/* スマホ（表→縦並び） */
@media (max-width: 768px) {
  .cf7-table__table th,
  .cf7-table__table td {
    display: block;
    width: 100%;
    border-bottom: none;
    padding: 10px 14px;
  }
  .cf7-table__table th {
    background: transparent;
    padding-top: 16px;
    padding-bottom: 6px;
    border-top: 1px solid var(--cf7-border);
  }
  .cf7-table__table tr:first-child th {
    border-top: none;
  }
}

/* -----------------------------
   レスポンシブ
--------------------------------*/
@media only screen and (max-width: 1024px) {
  .mob-menu-header-holder {
    background-color: transparent;
    position: fixed;
  }
}
@media screen and (max-width: 991px) {
  /* 991pxまでの幅の場合に適用される */
}

@media screen and (max-width: 768px) {
  /* 768pxまでの幅の場合に適用される */
  .pc-none {
    display: block;
  }
  .sp-none {
    display: none;
  }
  .sp-left {
    text-align: left !important;
  }
  .section-full .col-left {
    width: 100%;
  }
  .section-full .col-right {
    width: 100%;
  }
  .top-intro-title {
    width: 110px;
  }
  .section-full .col-right {
    padding: 40px 10px;
  }
  .white-inner {
    padding: 40px 20px;
  }
  .gallery-thumbs .swiper-slide img {
    height: 40px;
  }
  .site-header-logo img {
    margin-left: 0 !important;
  }
  .hours-table th,
  .hours-table td {
    padding: 10px 8px;
  }

  .page-id-147 .heading_lv1,
  .page-id-151 .heading_lv1,
  .parent-pageid-153 .heading_lv1,
  .page-id-153 .heading_lv1 {
    font-size: 28px;
  }

  .page-id-147 .intro_text,
  .page-id-151 .intro_text,
  .parent-pageid-153 .intro_text,
  .page-id-153 .intro_text {
    font-size: 16px;
  }
}

/* アニメーションを抑制（ユーザー設定尊重） */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
