/* ===================================================
   sub.css — サブページ共通スタイル
   =================================================== */


/* ----------------------------------------
   汎用コンテナ .inner
---------------------------------------- */
.inner {
  max-width: 1100px;
  width: 100%;
  margin: 0 auto;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: clamp(16px, 4vw, 40px);
  text-align: left;
}

/* body が text-align:center なので .inner 以下を左揃えに戻す */
.inner,
.inner h1,
.inner h2,
.inner h3,
.inner h4,
.inner h5,
.inner p,
.inner li,
.inner th,
.inner td,
.inner label {
  text-align: left;
}


/* ----------------------------------------
   body.sub 全体
---------------------------------------- */
body.sub {
  background-color: #f8faf9;
}

body.sub .logo {
  color: #fff;
}

body.sub main {
  padding-top: 0;
}

/* ----------------------------------------
   院長写真（医院紹介）— 円の中心に人物が来るよう調整
---------------------------------------- */
/* 角丸長方形・写真全体を表示（トリミングしない） */
.director-photo-wrap {
  max-width: 360px;
  width: 100%;
  margin: 0 auto 1rem;
  border-radius: 16px;
  overflow: hidden;
  background: #d0e8e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  line-height: 0;
}

.director-photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ----------------------------------------
   ページヒーロー
---------------------------------------- */
.page-hero {
  background-color: #1f5a4e;
  /* 画像読み込み前のフォールバック */
  background-image: url(../image/mainvisual/back-sub.png);
  background-size: cover;
  background-position: center top;
  position: relative;
  overflow: hidden;
  padding-bottom: 80px;
}

/* グリーン グラデーションオーバーレイ（テキスト可読性確保） */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      rgba(31, 90, 78, 0.88) 0%,
      rgba(45, 122, 104, 0.80) 50%,
      rgba(61, 160, 138, 0.72) 100%);
  pointer-events: none;
}

/* 波型の下端（白い波でコンテンツエリアへなめらかに接続） */
.page-hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 56px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 56' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,28 C240,56 480,0 720,28 C960,56 1200,0 1440,28 L1440,56 L0,56 Z'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  pointer-events: none;
}

.page-hero .inner {
  position: relative;
  z-index: 1;
  padding-top: 0;
  padding-bottom: 0;
}

.page-hero-en {
  font-family: var(--ff-en);
  font-size: var(--fs-l);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 0.4em;
  text-transform: uppercase;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.page-hero-ttl {
  font-family: var(--ff-ttl);
  font-size: var(--fs-4l);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

/* ----------------------------------------
   パンくず
---------------------------------------- */
.breadcrumb ol {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  align-items: center;
}

.breadcrumb ol li {
  display: flex;
  align-items: center;
  font-size: var(--fs-3s);
  color: #333;
}

.breadcrumb ol li:not(:last-child)::after {
  content: "›";
  margin: 0 0.4rem;
  color: #999;
  font-size: 1em;
}

.breadcrumb ol li a {
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb ol li a:hover {
  color: var(--color-main-dark);
}

/* ----------------------------------------
   コンテンツセクション
---------------------------------------- */
.content-section {
  padding: clamp(50px, 7vw, 100px) 0;
  background-color: #fff;
  font-size: 1.6rem;
  /* 本文の基準文字サイズをトップページと統一 */
}

/* サブページ内の本文・リスト・テーブルの最小文字サイズ確保
   インラインの em 指定が小さくなりすぎないよう em 換算の基準を 1.6rem に固定 */
.content-section p,
.content-section li,
.content-section td,
.content-section th {
  line-height: 1.8;
}

/* ステップカード・グリッドカード内のテキストを読みやすいサイズに */
.sub-grid-4step>div p,
.sub-grid-3step>div p,
.sub-grid-3col>div p,
.sub-grid-2col>div p {
  font-size: 1.4rem !important;
  line-height: 1.8;
}

/* 採用テーブルの文字サイズ */
.recruit-card td,
.recruit-card th {
  font-size: 1.5rem !important;
  line-height: 1.8;
}

.content-section.bg-light {
  background-color: #f0f7f5;
}

/* enttlブロック（サブページ版） */
.content-section .enttl {
  margin-bottom: clamp(30px, 4vw, 56px);
  text-align: center;
}

.content-section .enttl .en {
  display: block;
  font-family: var(--ff-en);
  font-size: var(--fs-s);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5em;
  opacity: 0.9;
}

.content-section .enttl h2 {
  font-family: var(--ff-ttl);
  font-size: var(--fs-3l);
  font-weight: 700;
  color: #2a3a36;
  line-height: 1.3;
  text-align: center;
}

/* ----------------------------------------
   CTAセクション
---------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, #1f5a4e 0%, #2d7a68 50%, #3da08a 100%);
  padding: clamp(50px, 7vw, 90px) clamp(16px, 4vw, 40px);
  color: #fff;
}

.cta-section h2 {
  font-family: var(--ff-ttl);
  color: #fff;
  font-size: var(--fs-2l);
  margin-bottom: 0.75rem;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
}

.cta-section .inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-section .inner h2,
.cta-section .inner p {
  text-align: center;
}

a[href^="tel:"] {
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
}

.cta-section a[href^="tel:"] {
  transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
  color: var(--color-main-dark);
}

.cta-section a[href^="tel:"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  background: #e8f5f1;
}

/* ----------------------------------------
   フォントサイズ補完
---------------------------------------- */
.fs-xl {
  font-size: var(--fs-l);
}

.fs-xs {
  font-size: var(--fs-3s);
}

/* ----------------------------------------
   ページ内アンカーナビ
---------------------------------------- */
.page-anchor-nav {
  background: #fff;
  border-bottom: 2px solid #e0eeea;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-anchor-nav .inner {
  padding-top: 0;
  padding-bottom: 0;
}

.page-anchor-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
}

.page-anchor-nav ul li a {
  display: inline-block;
  padding: 0.9rem 1.25rem;
  color: #444;
  text-decoration: none;
  font-size: var(--fs-s);
  font-weight: 600;
  font-family: var(--ff-ttl);
  border-right: 1px solid #ddd;
  white-space: nowrap;
  transition: color 0.2s, background 0.2s;
}

.page-anchor-nav ul li a:hover {
  color: var(--color-main);
  background: #f0f7f5;
}

/* ----------------------------------------
   レスポンシブ：2カラムグリッドをモバイルで1列に
---------------------------------------- */
@media screen and (max-width: 750px) {
  .page-hero {
    padding-bottom: 40px;
    background-position: 30% top;
  }

  .page-hero::after {
    height: 36px;
  }

  .page-hero-ttl {
    font-size: var(--fs-3l);
  }

  /* 2カラムグリッドを1列化 */
  .director-block,
  .director-block .director-profile>div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .content-section [style*="grid-template-columns: 1fr 2fr"],
  .content-section [style*="grid-template-columns: 2fr 1fr"],
  .content-section [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* STEPが横並びのものを2列に */
  .content-section [style*="grid-template-columns: repeat(4, 1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* ページ内ナビのスクロール */
  .page-anchor-nav ul {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .page-anchor-nav ul::-webkit-scrollbar {
    display: none;
  }

  /* STEP flow のborder-radius */
  .content-section [style*="border-radius: 12px 0 0 12px"] {
    border-radius: 12px 12px 0 0 !important;
  }

  .content-section [style*="border-radius: 0 12px 12px 0"] {
    border-radius: 0 0 12px 12px !important;
  }

  /* flex横並びのCTAボタンブロック */
  .cta-section [style*="display: flex"] {
    flex-direction: column;
    align-items: center;
  }
}

/* ----------------------------------------
   ヘッダー current スタイル
---------------------------------------- */
.header-menu a.current {
  color: var(--color-main);
  font-weight: 700;
}

.header-menu a.current span {
  position: relative;
}

.header-menu a.current span::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-main);
  position: absolute;
  bottom: -3px;
  left: 0;
  border-radius: 2px;
}

/* ----------------------------------------
   グリッドレイアウト共通ユーティリティ
---------------------------------------- */

/* 2カラム（1:2比） */
.sub-grid-1-2 {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
  align-items: start;
}

/* 2カラム（均等） */
.sub-grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* 3カラム（均等） */
.sub-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* 4カラム（STEPフロー用） */
.sub-grid-4step {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

/* STEPフロー角丸 */
.sub-grid-4step>div:first-child {
  border-radius: 12px 0 0 12px;
}

.sub-grid-4step>div:last-child {
  border-radius: 0 12px 12px 0;
}

/* 3STEPフロー（口腔がん検診） */
.sub-grid-3step {
  display: flex;
  gap: 0;
  align-items: stretch;
}

.sub-grid-3step>div:first-child {
  border-radius: 12px 0 0 12px;
}

.sub-grid-3step>div:last-child {
  border-radius: 0 12px 12px 0;
}

.sub-grid-3step>div {
  flex: 1;
  min-width: 0;
}

/* 採用情報テーブル内 th border-radius 修正 */
.recruit-card table th {
  border-radius: 4px 0 0 4px;
}

/* ----------------------------------------
   訪問歯科 予約CTAボタンブロック
---------------------------------------- */
.visit-cta-block {
  margin-top: 3rem;
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, #e8f5f1 0%, #e9f3f7 100%);
  border-radius: 16px;
  border: 1.5px solid #b7d7cf;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.visit-cta-lead {
  font-size: var(--fs-m);
  font-weight: 600;
  color: #2a5a4e;
  margin: 0;
  text-align: center;
}

.visit-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: linear-gradient(135deg, #2d7a68 0%, #3da08a 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(45, 122, 104, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  max-width: 480px;
  width: 100%;
}

.visit-cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(45, 122, 104, 0.45);
  color: #fff;
}

.visit-cta-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  width: 72px;
  align-self: stretch;
  flex-shrink: 0;
  font-size: 3rem;
}

.visit-cta-btn__text {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1rem;
  gap: 0.1em;
  text-align: center;
}

.visit-cta-btn__en {
  font-family: var(--ff-en);
  font-size: var(--fs-3s);
  font-weight: 600;
  letter-spacing: 0.1em;
  opacity: 0.8;
  text-transform: uppercase;
}

.visit-cta-btn__label {
  font-family: var(--ff-ttl);
  font-size: var(--fs-l);
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  color: #fff;
}

.visit-cta-btn__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  flex-shrink: 0;
  font-size: 1.75rem;
  opacity: 0.7;
  padding-right: 1rem;
}

.visit-cta-note {
  color: #555;
  margin: 0;
  text-align: center;
}

.visit-pdf-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #2d7a68;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.visit-pdf-link i {
  font-size: 2rem;

  @media screen and (max-width: 750px) {
    font-size: 4rem;
  }
}

.visit-pdf-link span {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.visit-pdf-link:hover {
  opacity: 0.75;
  color: #2d7a68;
}

@media screen and (max-width: 750px) {
  .visit-cta-block {
    padding: 2rem 1.25rem;
    gap: 1rem;
  }

  .visit-cta-btn {
    max-width: 100%;
  }
}

/* ----------------------------------------
   レスポンシブ：グリッド
---------------------------------------- */
@media screen and (max-width: 900px) {
  .sub-grid-1-2 {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media screen and (max-width: 750px) {
  .sub-grid-2col {
    grid-template-columns: 1fr;
  }

  .sub-grid-3col {
    grid-template-columns: 1fr;
  }

  .sub-grid-4step {
    grid-template-columns: 1fr 1fr;
  }

  .sub-grid-4step>div:first-child {
    border-radius: 12px 0 0 0;
  }

  .sub-grid-4step>div:last-child {
    border-radius: 0 0 12px 0;
  }

  .sub-grid-4step>div:nth-child(2) {
    border-radius: 0 12px 0 0;
  }

  .sub-grid-4step>div:nth-child(3) {
    border-radius: 0 0 0 12px;
  }

  .sub-grid-3step {
    flex-direction: column;
    gap: 0;
  }

  .sub-grid-3step>div:first-child {
    border-radius: 12px 12px 0 0;
  }

  .sub-grid-3step>div:last-child {
    border-radius: 0 0 12px 12px;
  }

  .sub-grid-3step>div {
    border-radius: 0;
  }
}

/* ===== 院内環境 フォトギャラリー ===== */
.clinic-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.clinic-gallery-item {
  margin: 0;
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(47, 127, 111, 0.09);
}

.clinic-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #e8f5f1;
}

.clinic-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ダミープレースホルダー */
.clinic-photo-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: #eaf5f0;
  border: 2px dashed #8ecfbe;
  color: #6bab9a;
}

.clinic-photo-placeholder i {
  font-size: 2.5rem;
  opacity: 0.6;
}

.clinic-photo-placeholder span {
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

/* 画像が設定されたらプレースホルダーを非表示にする */
.clinic-photo-wrap img[src]:not([src=""]) {
  display: block !important;
}

.clinic-photo-wrap img[src]:not([src=""])+.clinic-photo-placeholder {
  display: none;
}

/* UTM：トップ「サイバーセキュリティ対策」画像 — 円形の装飾が見切れるまで拡大 */
.clinic-photo-wrap--utm-zoom img {
  object-fit: cover;
  object-position: center center;
  transform: scale(2.75);
  transform-origin: center center;
}

@media screen and (max-width: 750px) {
  .clinic-photo-wrap--utm-zoom img {
    transform: scale(2.45);
  }
}

.clinic-gallery-item figcaption {
  padding: 1.25rem 1.5rem 1.5rem;
}

.clinic-photo-title {
  font-weight: 700;
  font-size: var(--fs-s);
  color: #2a3a36;
  margin-bottom: 0.5rem;
}

.clinic-photo-desc {
  font-size: var(--fs-s);
  color: #555;
  line-height: 1.8;
}

@media screen and (max-width: 750px) {
  .clinic-gallery {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ===== 医療機器・設備 フォトギャラリー（3カラム） ===== */
.equip-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

/* 機器メーカー・型番表示 */
.equip-model {
  font-size: var(--fs-3s);
  font-weight: 600;
  color: #2d7a68;
  background: #eaf5f0;
  display: inline-block;
  padding: 0.2rem 0.7rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 1000px) {
  .equip-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 580px) {
  .equip-gallery {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.content-section .sub_ttl {
  margin-top: 3em;
}

@media screen and (max-width: 750px) {
  .content-section .sub_ttl {
    margin-top: 2em;
  }
}

.content-section .fadein-under>h3.sub_ttl:first-child {
  margin-top: 0;
}

.content-section .c-step-list_ttl {
  margin-top: clamp(32px, 4vw, 48px);
}

@media screen and (max-width: 750px) {
  .content-section .c-step-list_ttl {
    margin-top: 28px;
  }
}

.c-step-list {
  display: flex;
  flex-direction: column;
}

.c-step-list_item {
  display: flex;
  align-items: center;
  gap: 30px;
  position: relative;
}

.c-step-list_item:not(:last-child)::before {
  content: "";
  position: absolute;
  width: 1px;
  background: #f6ad62;
  left: 40px;
  top: 100%;
  height: calc(50% - 40px);
  transform: translateY(-50%);
  z-index: 0;
}

.c-step-list_item .num {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  width: 80px;
  max-width: 80px;
  aspect-ratio: 1 / 1;
  margin: 0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #f6ad62;
  font-size: var(--fs-m);
  font-weight: 700;
  font-family: var(--ff-en);
  border: 1px solid #f6ad62;
  border-radius: 50%;
  box-sizing: border-box;
}

.c-step-list_txtWrap {
  flex: 1;
  min-width: 0;
  padding: 40px 0;
  border-bottom: 1px dashed #C4C2BE;
  position: relative;
  z-index: 0;
}

.c-step-list_item:last-child .c-step-list_txtWrap {
  border-bottom: 1px dashed #C4C2BE;
}

.content-section .c-step-list_txtWrap p {
  margin: 0;
}

.content-section .c-step-list_txtWrap p:nth-child(1) {
  font-weight: 700;
  font-size: 120%;
  color: #2a3a36;
  line-height: 1.5;
}

.content-section .c-step-list_txtWrap p:nth-child(2) {
  margin-top: 0.8em;
  font-size: var(--fs-s);
  color: #555;
  line-height: 1.8;
}

@media screen and (max-width: 750px) {
  .c-step-list_item {
    align-items: flex-start;
    gap: 20px;
  }

  .c-step-list_item:not(:last-child)::before {
    left: 30px;
    top: auto;
    bottom: 10px;
    height: calc(50% - 40px);
    transform: translateY(-50%);
  }

  .c-step-list_item .num {
    width: 60px;
    max-width: 60px;
    font-size: var(--fs-s);
  }

  .c-step-list_txtWrap {
    padding: 20px 0;
  }
}

.content-section .c-wrap-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.content-section .c-wrap-list li {
  list-style: none;
  background-color: rgba(224, 123, 84, 0.25);
  border-radius: 5px;
  padding: 4px 10px;
  font-size: var(--fs-s);
}

.content-section .c-wrap-list.gray li {
  background-color: #f2f2f2;
}

/* Simple card list */
.simple-card_list {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  gap: 20px;
}

.simple-card {
  padding: 20px;
  background-color: #fff;
  border-radius: 10px;
  border: 1px solid #ddd;
}

@media screen and (max-width: 750px) {
  .simple-card {
    width: 100%;
  }
}

.simple-card p:first-child {
  font-weight: 700;
  padding-bottom: 5px;
  border-bottom: 1px solid #ddd;
}

.simple-card p:nth-child(2) {
  padding-top: 10px;
}

/* Accordion */
.accordion_list {
  display: flex;
  flex-direction: column;
}

.accordion_item {
  border-top: 1px solid #f2f2f2;
  border-bottom: 1px solid #f2f2f2;
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.accordion_item+.accordion_item {
  border-top: none;
}

.accordion_q {
  cursor: pointer;
  font-weight: 700;
  position: relative;
  padding: 20px 50px 0 60px;
}

/* 開閉アイコン（＋/−） */
.accordion_q::after {
  content: "\f067";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 14px;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-main);
  transition: transform 0.3s ease;
}

.accordion_item.is-open .accordion_q::after {
  content: "\f068";
}

@media screen and (max-width: 750px) {
  .accordion_q {
    padding-left: 40px;
  }
}

.accordion_q::before {
  position: absolute;
  content: "Q";
  color: #0067C0;
  border: 1px solid #0067C0;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 0;
  top: 13px;
}

@media screen and (max-width: 750px) {
  .accordion_q::before {
    top: 15px;
    width: 30px;
    height: 30px;
  }
}

.accordion_a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px 0 60px;
  position: relative;
}

.accordion_item.is-open .accordion_a {
  max-height: 500px;
}

@media screen and (max-width: 750px) {
  .accordion_a {
    padding-left: 40px;
  }
}

.accordion_a::before {
  position: absolute;
  content: "A";
  color: #FBB161;
  border: 1px solid #FBB161;
  border-radius: 100%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  left: 0;
  top: 18px;
}

@media screen and (max-width: 750px) {
  .accordion_a::before {
    top: 20px;
    width: 30px;
    height: 30px;
  }
}

.accordion_a p {
  padding-top: 24px;
  padding-bottom: 20px;
}

@media screen and (max-width: 750px) {
  .accordion_a p {
    padding-bottom: 10px;
  }
}

.accordion_item.active .accordion_a {
  max-height: 500px;
}

/* ================================================
   医院紹介ページ（about.html）
   ================================================ */

.career_cont {
  margin-top: 100px;
}

@media screen and (max-width: 750px) {
  .career_cont {
    margin-top: 60px;
  }
}

#greeting .greeting-text {
  padding-top: 0.2rem;
}

@media screen and (min-width: 901px) {
  #greeting .greeting-text {
    padding-left: 0.25rem;
  }
}

.greet_position {
  font-size: var(--fs-s);
  font-weight: 600;
  color: #2a3a36;
  margin: 0 0 0.35rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.greet_name {
  font-size: var(--fs-3l);
  font-weight: 700;
  margin: 0;
  line-height: 1.35;
  font-family: var(--ff-ttl);
}

#greeting .greeting-text p:not(.greet_position):not(.greet_name):not(.greet_txt) {
  margin: 0 0 1.2rem;
  line-height: 2;
}

#greeting .greeting-text p.greet_txt {
  margin: 3em 0 1.2rem;
  line-height: 2;
}

#greeting .greeting-text p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   インラインスタイル移行 — 共通ユーティリティクラス
   ============================================================ */

/* --- セクション導入文 --- */
.section-lead {
  line-height: 2;
  margin-bottom: 2.5rem;
}

.section-lead--narrow {
  margin-bottom: 2rem;
}

.section-lead--tight {
  margin-bottom: 1.5rem;
}

/* --- アイコン付きリスト --- */
.icon-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.icon-list--narrow {
  gap: 0.5rem;
}

.icon-list--grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem 2rem;
}

.icon-list--wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
}

.icon-list-item {
  font-size: var(--fs-s);
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
  line-height: 1.7;
}

.icon-list-item--narrow {
  gap: 0.5rem;
}

.icon-list-item--center {
  align-items: center;
}

.icon-list-item__icon {
  color: var(--color-main);
  flex-shrink: 0;
}

.icon-list-item__icon--sm {
  font-size: 0.6rem;
  margin-top: 0.3rem;
}

.icon-list-item__icon--md {
  font-size: 0.7rem;
  margin-top: 0.2rem;
}

.icon-list-item__icon--orange {
  color: #e07b54;
}

.icon-list-item__icon--dark {
  color: var(--color-main-dark);
}

/* --- 情報ボックス --- */
.info-box {
  background: #f0f7f5;
  border-radius: 12px;
  padding: 1.5rem;
}

.info-box--wide {
  padding: 1.75rem 2rem;
}

.info-box--white {
  background: #fff;
  border: 1.5px solid #d0e8e0;
}

.info-box--bordered {
  border-left: 4px solid var(--color-main);
}

.info-box--orange {
  background: #fdf8f4;
  border-left: 4px solid #e07b54;
}

.info-box--orange-light {
  background: #fff5f0;
  border: 1.5px solid #f0c9b6;
}

.info-box__title {
  font-weight: 700;
  color: var(--color-main-dark);
  margin-bottom: 0.5rem;
  font-size: var(--fs-s);
}

.info-box__text {
  font-size: var(--fs-s);
  line-height: 1.8;
}

/* --- サブタイトル — ボーダー付き --- */
.sub_ttl--bordered {
  font-size: var(--fs-m);
  font-weight: 700;
  color: #2a3a36;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 4px solid var(--color-main);
}

.sub_ttl--bordered-bottom {
  font-size: var(--fs-m);
  font-weight: 700;
  color: #2a3a36;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-main);
}

.sub_ttl--bordered-narrow {
  margin-bottom: 1.2rem;
}

/* --- 経歴リスト（about.html） --- */
.career-list {
  list-style: none;
  padding: 0;
  line-height: 1;
}

.career-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #d0e8e0;
  display: flex;
  gap: 0.75rem;
  align-items: baseline;
}

.career-item:last-child {
  border-bottom: none;
}

/* --- 業績リスト（about.html） --- */
.pub-list {
  list-style: none;
  padding-left: 1.5rem;
  line-height: 1;
}

.pub-item {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: var(--fs-s);
}

.pub-item:last-child {
  margin-bottom: 0;
}

/* --- 採用テーブル（recruit.html） --- */
.recruit-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  box-shadow: 0 4px 24px rgba(47, 127, 111, 0.08);
}

.recruit-card--green {
  border: 2px solid var(--color-main-dark);
}

.recruit-card--teal {
  border: 2px solid #3da08a;
}

.recruit-card--light {
  border: 2px solid var(--color-main);
}

.recruit-header {
  color: #fff;
  padding: 1.25rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.recruit-header--dark {
  background: var(--color-main-dark);
}

.recruit-header--mid {
  background: #3da08a;
}

.recruit-header--light {
  background: var(--color-main);
}

.recruit-header__badge {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.3rem 1rem;
  font-size: var(--fs-s);
  font-weight: 700;
  letter-spacing: 0.1em;
  font-family: 'Poppins', sans-serif;
}

.recruit-header__title {
  font-size: var(--fs-m);
  font-weight: 700;
  margin: 0;
}

.recruit-table {
  width: 100%;
  border-collapse: collapse;
}

.recruit-table tr {
  border-bottom: 1px solid #e8f5f1;
}

.recruit-table tr:last-child {
  border-bottom: none;
}

.recruit-table th {
  background: #f0f7f5;
  padding: 0.9rem 1.5rem;
  text-align: left;
  font-size: var(--fs-s);
  font-weight: 700;
  color: #2a3a36;
  width: 28%;
  white-space: nowrap;
}

.recruit-table td {
  padding: 0.9rem 1.5rem;
  font-size: var(--fs-s);
  line-height: 1.8;
}

/* --- 応募セクション（recruit.html） --- */
.apply-box {
  background: #fff;
  border-radius: 16px;
  padding: 2.5rem;
  border: 1.5px solid #d0e8e0;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.apply-box__icon {
  font-size: 2rem;
  color: var(--color-main);
  margin-bottom: 1rem;
  display: block;
}

.apply-box__text {
  font-size: var(--fs-s);
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.apply-box__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--color-main-dark), #3da08a);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-m);
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(45, 122, 104, 0.3);
  word-break: break-all;
  transition: transform 0.2s, box-shadow 0.2s;
}

.apply-box__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45, 122, 104, 0.4);
  color: white;
}

.apply-box__note {
  font-size: var(--fs-s);
  color: #999;
  margin-top: 1.5rem;
}

.apply-box__note .link-accent {
  color: var(--color-main-dark);
}

/* --- CTAセクション内ボタン（共通） --- */
.cta-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #fff;
  color: var(--color-main-dark);
  font-weight: 700;
  font-size: var(--fs-l);
  padding: 0.9rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* --- 施設基準ボタン（about.html） --- */
.facility-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-main);
  color: #fff;
  font-weight: 700;
  font-size: var(--fs-m);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
}

.facility-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  color: white;
}

/* --- ギャラリーキャプション内アイコン --- */
.clinic-photo-title i {
  color: var(--color-main);
  margin-right: 0.4rem;
}

/* --- 衛生管理カード（about.html） --- */
.hygiene-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.75rem 2rem;
  border-left: 4px solid var(--color-main);
}

.hygiene-card__title {
  font-size: var(--fs-s);
  font-weight: 700;
  color: #2a3a36;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.hygiene-card__title i {
  color: var(--color-main);
}

.hygiene-card__text {
  font-size: var(--fs-s);
  line-height: 1.8;
  color: #555;
}

/* --- 非表示ユーティリティ --- */
.is-hidden {
  display: none;
}

/* --- プライバシーページ --- */
.privacy-wrap {
  max-width: 800px;
  margin: 0 auto;
  line-height: 2;
}

.privacy-heading {
  font-size: var(--fs-m);
  font-weight: 700;
  margin: 2.5rem 0 1rem;
}

.privacy-list {
  padding-left: 1.5rem;
  margin: 1rem 0;
}

.privacy-contact {
  margin: 1.5rem 0;
  padding: 1.5rem;
  background: #f8f8f8;
  border-radius: 8px;
}

.privacy-contact__title {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.privacy-date {
  margin-top: 2rem;
  color: #888;
  font-size: var(--fs-s);
}

/* --- 図・画像制約 --- */
.fig-half {
  margin: 0 0 1rem;
  max-width: 50%;
}

.fig-half img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
}

/* --- 注記テキスト --- */
.note-text {
  font-size: var(--fs-s);
  color: #666;
  margin-top: 1.5rem;
  line-height: 1.8;
}

.note-text--muted {
  color: #888;
}

.note-text--sm {
  margin-top: 0.75rem;
}

/* --- ユーティリティクラス --- */
.text-center {
  text-align: center;
}

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

.rounded {
  border-radius: 12px;
}

.fs-s {
  font-size: var(--fs-s);
}

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-075 {
  margin-bottom: 0.75rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-2-5 {
  margin-bottom: 2.5rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mr-04 {
  margin-right: 0.4rem;
}

.mr-05 {
  margin-right: 0.5rem;
}

.flex-col-gap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.link-accent {
  color: var(--color-main-dark);
  font-weight: 700;
}

/* --- サブタイトル追加バリエーション --- */
.sub_ttl--plain {
  font-size: var(--fs-m);
  font-weight: 700;
  color: #2a3a36;
  margin-bottom: 1rem;
}

.sub_ttl--sm {
  font-size: var(--fs-s);
  font-weight: 700;
  color: #2a3a36;
  margin-bottom: 1rem;
}

/* --- アイコンカラー追加 --- */
.icon-list-item__icon--red {
  color: #c0392b;
}

/* --- 情報ボックス追加バリエーション --- */
.info-box--white-plain {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
}

.info-box--gray {
  background: #f8f8f8;
}

.info-box--bordered-light {
  border-left-color: #8ecec4;
}

.info-box--bordered-dark {
  border-left-color: var(--color-main-dark);
}

.breadcrumb_wrap {
  padding: 0.5rem;
}