@charset "UTF-8";
/* ============================================================================
基本設定
============================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}
ul[class], ol[class] {
  padding: 0;
}
body, h1, h2, h3, h4, p, ul[class], ol[class], figure, blockquote, dl, dd {
  margin: 0;
}
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Sans", sans-serif;
}
ul[class], ol[class] {
  list-style: none;
}
a:not([class]) {
  text-decoration-skip-ink: auto;
}
img, picture {
  max-width: 100%;
}
article > * + * {
  margin-top: 1em;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
html {
  font-size: 62.5%;
  word-break: break-all;
}
.black {
  color: black !important;
}
a.nounder {
  text-decoration: none;
}
@media print {
  body {
    margin: 0;
    padding: 0 !important;
    min-width: 1200px;
  }
  .container {
    width: auto;
    min-width: 1200px;
  }
  .no-print {
    display: none !important;
  }
  .printable {
    display: flex !important;
  }
  .fade-in,
  .fade-in-left,
  .zoom-fade,
  .slide-up,
  .your-animation-class {
    opacity: 1 !important;
    transform: none !important;
  }
}
@media print, screen and (min-width: 768px) {
  body {
    font-size: 1.8rem;
  }
}
@media only screen and (max-width: 991.98px) {
  body {
    font-size: 1.6rem;
  }
}
/* ============================================================================
PC/SP 表示・非表示
============================================================================ */
@media only screen and (max-width: 991.98px) {
  .pc_only {
    display: none;
  }
  .sp_only {
    display: block;
  }
}
@media print, screen and (min-width: 768px) {
  .pc_only {
    display: block;
  }
  .sp_only {
    display: none;
  }
}
/* 
アンカーリンクスマホ調整
*/
@media (max-width: 767px) {
  :target {
    scroll-margin-top: 80px;
  }
}
/* ============================================================================
Google検索バー PCのみ表示
============================================================================ */
/* =============================
   メニューボタン（他項目と統一）
============================= */
.nav-search-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;    /* 他メニューと揃える */
  color: #333;        /* 他メニューの文字色に合わせて変更 */
  padding: 0;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-search-btn:hover,
.nav-search-btn[aria-expanded="true"] {
  color: #0066cc;     /* アクセントカラーに変更 */
}

/* =============================
   ドロップダウン検索バー
============================= */
.google_searchPC {
  position: relative;
}

.nav-search-dropdown {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 370px;
  padding: 12px;        /* ← 1つにまとめる */
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 999;
}
.nav-search-dropdown.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* 吹き出し三角 */
.nav-search-dropdown::before {
  content: '';
  position: absolute;
  top: -7px;
  right: 20px;
  width: 14px;
  height: 14px;
  background: #fff;
  box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.06);
  transform: rotate(45deg);
}

/* 入力フィールド */
.nav-search-field {
  display: flex;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}
.nav-search-field input[type="search"] {
  flex: 1;
  border: none;
  outline: none;
  padding: 9px 8px;
  font-size: 14px;
  color: #333;
  background: transparent;
}
.nav-search-field input[type="search"]::placeholder {
  color: #bbb;
}
.nav-search-field button[type="submit"] {
  background: #0066cc;
  border: none;
  cursor: pointer;
  padding: 9px 14px;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap;
  transition: background 0.2s;
}

/* =============================
   スマホ：非表示
============================= */
@media (max-width: 767px) {
  .google_searchPC {
    display: none;
  }
}
/* ============================================================================
レイアウト
============================================================================ */
@media only screen and (max-width: 991.98px) {
  main {
    display: block;
    padding-top: 75px;
  }
}
.inner {
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}
@media only screen and (max-width: 1090px) {
  .inner {
    width: 95%;
  }
}
.md_inner {
  width:100%;
}
@media screen and (min-width: 768px) {
  .md_inner {
    max-width: 1040px;
    margin-left: auto;
    margin-right: auto;
  }
}
/* ============================================================================
プリント
============================================================================ */
.new_page {
  page-break-before: always;
}
/* ============================================================================
アンカーリンク
============================================================================ */
#access_anchor {
  padding-top:75px;
  margin-top:-75px;
}
/* ============================================================================
画像
============================================================================ */
.doctor_img {
  width: 300px;
}
/* ============================================================================
Instagram
============================================================================ */
.instagram-media{
  min-width: 100% !important;
  margin: 0 -1px !important;
  border-right: none !important;
  border-left: none !important;
}
@media print, screen and (min-width: 768px){
  .instagram-media{
    height: 400px;
  }
}
/* ============================================================================
タブ
============================================================================ */
.nav.nav-tabs li {
  width: 100%;
  padding: 0;
}
.nav.nav-tabs li a {
  padding: 16px 24px;
  font-size: 16px;
  font-weight: 700;
  color: #000;
  text-decoration: none;
  border: none;
  border-bottom: 2px solid #f0f0f0;
}
.nav.nav-tabs li a.active,
.nav.nav-tabs li a:hover {
  color: #000 !important;
  background-color: transparent !important;
  border-bottom: 2px solid #2e4498 !important;
}
@media screen and (min-width: 768px) {
  .nav.nav-tabs {
    padding: 30px 60px 0 60px !important;
  }
  .nav-tabs li {
    width: auto !important;
    padding-right: 16px !important;
  }
}
/* ============================================================================
マージン
============================================================================ */
/* 院長挨拶文 */
.greeting {
  margin-top: 10px;
  padding: 0px;
}
@media print, screen and (min-width: 768px) {
  .greeting {
    margin-top: 0px;
    padding: 0 10px;
  }
}
.mt-24 {
  margin-top: 24px;
}
.mt-25 {
  margin-top: 25px;
}
.mt-40 {
  margin-top: 40px;
}
.mt-70 {
  margin-top: 70px;
}
.mt-90 {
  margin-top: 90px;
}
.mb-24 {
  margin-bottom: 24px;
}
.mb-40 {
  margin-bottom: 40px;
}
.mb-70 {
  margin-bottom: 70px;
}
.mb-90 {
  margin-bottom: 90px;
}
.doctor_mt {
  margin-top: 24px;
}
@media print {
  .doctor_mt {
    margin-top: 15px;
  }
}
/* ============================================================================
パンくずリスト
============================================================================ */
.breadcrumb {
  font-size: 1.4rem;
  background: white;
  margin:0;
  padding:5px 0px 0px 0px;
}
.breadcrumb a {
  color: black;
  text-decoration :none;
}
.updated {
  padding: 0;
  color: #7f7f7f;
  font-size: 1.2rem;
}
/* ============================================================================
装飾
============================================================================ */
.color_line {
  background: url("../01_common/img/color_bar.png") center bottom no-repeat;
  padding-bottom: 20px;
}
/* オレンジライン */
.orange_line {
  border-left: 8px solid transparent;
  border-image: linear-gradient(to bottom, #f59e0b, #fbbf24);
  border-image-slice: 1;
  text-align: left;
  margin-top: 60px;
  padding-left: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 6px;
}
.orange_line a {
  text-decoration: none;
  color: #f59e0b;
}
.orange_line a:hover {
  color: #d97706;
}
.f_c_red {
  color: #e55454;
}
.f_c_red_b {
  color: #e55454;
  font-weight: 700;
}
.under {
  background: linear-gradient(transparent 50%, #a8eaff 50%);
}
/* ============================================================================
文字
============================================================================ */
h1 {
  font-size: 28px;
  margin-top: 40px;
  font-weight: bold;
  text-align: center;
}
@media only screen and (min-width: 992px) {
  h1 {
    font-size: 30px;
    margin-top: 72px;
  }
}
h2 {
  font-size: 28px;
  margin-top: 40px;
  font-weight: bold;
  text-align: center;
}
@media only screen and (min-width: 992px) {
  h2 {
    font-size: 34px;
    margin-top: 60px;
  }
}
h3 {
  font-size: 18px;
  margin-top: 20px;
  margin-bottom: 20px;
}
p.lead_1 {
  text-align: left;
  font-size: 16px;
  font-weight: bold;
  padding-top: 40px;
  padding-bottom: 40px;
}
@media print, screen and (min-width: 768px) {
  p.lead_1 {
    text-align: center;
    font-size: 20px;
  }
}
p.lead_2 {
  text-align: left;
  font-size: 18px;
  font-weight: bold;
  padding-top: 16px;
  padding-bottom: 16px;
}
p.lead_3 {
  text-align: left;
  font-size: 18px;
  font-weight: bold;
  padding-top: 12px;
  padding-bottom: 0px;
}
p.lead_4 {
  text-align: center;
  font-size: 12px;
  font-weight: bold;
  padding-top: 20px;
  padding-bottom: 20px;
}
@media print, screen and (min-width: 768px) {
  p.lead_4 {
    font-size: 16px;
    padding-top: 40px;
    padding-bottom: 40px;
  }
}
.fs_12 {
  font-size: 12px;
  color: gray;
  margin-top: 5px;
}
.fs_14 {
  font-size: 14px;
  color: gray;
  margin-top: 5px;
}
.indent_1 {
  text-indent: 1em;
}
/* ==========================
  医師デザインエリア
========================== */
.doctor-intro {
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.doctor-card {
  position: relative;
  padding: 2rem;
  background: #fdf9f2;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}
.doctor-photo {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 120px;
  height: 120px;
}
.doctor-photo_big {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 170px;
  height: 170px;
}
.doctor-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.doctor-photo_big img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.doctor-header {
  margin-bottom: 1rem;
}
.doctor-name {
  font-size: 2rem;
  font-weight: 700;
  color: #1b2a5e;
  margin-bottom: 0.4rem;
}
.doctor-kana {
  font-size: 1.5rem;
  font-weight: bold;
  vertical-align: middle;
}
.doctor-position {
  font-size: 1.2rem;
  color: #444;
}
.doctor-body {
  margin-top: 1rem;
}
.doctor-body h5 {
  color: #2e4498;
  font-size: 1.4rem;
  margin-top: 1rem;
  margin-bottom: 0.4rem;
}
.doctor-details ul {
  margin: 0 0 1rem 1.5rem;
  padding: 0;
  font-size: 1.4rem;
  color: #444;
}
.doctor-text {
  margin-top: 0.5rem;
  font-size: 1.5rem;
  line-height: 1.8;
  color: #333;
}
/* ==========================
   スマホ対応
========================== */
@media (max-width: 768px) {
  .doctor-card {
    padding: 1.5rem;
  }
  .doctor-photo {
    width: 80px;
    height: 80px;
    top: 1rem;
    right: 1rem;
  }
  .doctor-photo_big {
    width: 100px;
    height: 100px;
    top: 1rem;
    right: 1rem;
  }
  .doctor-name {
    font-size: 1.6rem;
  }
  .doctor-position {
    font-size: 1.1rem;
  }
  .doctor-body h5 {
    font-size: 1.5rem;
  }
  .doctor-details ul {
    font-size: 1.2rem;
  }
  .doctor-text {
  margin-top: 0.5rem;
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
  }
}

/* ============================================================================
当院についてデザイン
============================================================================ */
.number-badge {
  width: 40px;
  height: 40px;
  background-color: #fbbf24;
  color: #fff;
  font-weight: bold;
  font-size: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 1rem;
}
.number-title {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 0.25rem;
}
.number-desc {
  color: #6c757d;
  margin-bottom: 0;
}
/* ============================================================================
リスト
============================================================================ */
ul.list {
  padding: 5px 0 0 24px;
}
ul.list li {
  list-style-type: disc;
  word-break: break-all;
}
ul.no_list {
  padding: 5px 0 0 24px;
}
ul.no_list li {
  list-style-type: decimal;
  word-break: break-all;
}
ul.strong_list {
  padding: 5px 0 0 24px;
}
ul.strong_list li {
  font-weight: bold;
  list-style-type: disc;
  word-break: break-all;
}
/* ============================================================================
ボタン
============================================================================ */
/* ヘッダーボタン */
.btn_header {
  padding: 4px 24px;
  border: 1px solid #2E4498;
  border-radius: 25px;
  color: #2E4498;
  font-weight: bold;
  text-decoration: none !important;
}
.btn_header i {
  margin-right: 8px;
  display: flex;
  align-items: center;
  font-size: 0.8rem;
}
.btn_header:hover {
  opacity: 0.7;
}
/* --- ボタン共通ベース --- */
.btn {
  display: inline-block;
  width: auto;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 15px;
  border: 2px solid #9b9b9b;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.08);
  position: relative;
}

/* --- 共通ホバー（浮かせる） --- */
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
}

/* --- 汎用シンプル --- */
.ui-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 18px;
  min-width: 200px;
  background: #ffffff;
  border: 1px solid #b8bfc8;   /* 少し濃いグレー */
  border-radius: 1px;          /* 少しだけ丸み */
  font-size: 14px;
  color: #333;
  text-decoration: none;
  transition: 
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}
.ui-btn-area {
  display: flex;
  justify-content: center;
  max-width: 960px;
}
.ui-btn-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
/* 右矢印 */
.ui-btn::after {
  content: "›";
  font-size: 18px;
  color: #666;
  transition: transform 0.2s ease;
}
/* hover */
.ui-btn:hover {
  background: #f7f9fc;         /* わずかに色変化 */
  border-color: #9aa3b2;
  transform: translateY(-2px); /* 少し浮く */
  box-shadow: 0 4px 8px rgba(0,0,0,0.06);
  text-decoration: none;
}
.ui-btn:hover::after {
  transform: translateX(2px);
}

/* ============================================================================
ボックス
============================================================================ */
.box_area1 {
  border: 1px solid #dee2e6;
  padding: 10px;
}
.box_area2 {
  border: 5px solid #e0e0e0;
  text-align: center;
  margin-top: 24px;
  margin-bottom: 24px;
  padding: 40px 16px;
}
.box_area2 h2 {
  font-size: 3.2rem;
  margin: 0;
  padding: 0;
  font-weight: bold;
}
@media only screen and (min-width: 992px) {
  .box_area2 {
    padding: 32px;
  }
}
.box_area3 {
  margin-top: 10px;
  border: 1px solid #dee2e6;
  padding: 5px;
}
@media only screen and (min-width: 992px) {
  .box_area3 {
    padding: 10px;
  }
}
.box_area4 {
  border: 3px solid #2e4498;
  border-radius: 10px;
  padding: 20px;
}
/* ============================================================================
TEL
============================================================================ */
.common_tel {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: 0;
}
.common_tel i {
  background-color: #ffeeee;
  width: 48px;
  height: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  color: red;
  font-size: 20px;
}
.common_tel a {
  text-decoration: none;
  font-size: 30px;
  font-weight: bold;
  color: #000;
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.common_span_fax {
  font-size: 20px;
  font-weight: bold;
  color: #000;
  margin-top: 4px;
}
/* フッターTEL */
.footer_tel > div {
  padding-bottom: 12px;
}
.footer_tel > div a {
  color: black;
  text-decoration :none;
}
.footer_tel > div a:hover {
  text-decoration: none;
}
.footer_tel {
  display: flex;
  padding-top: 0;
  margin-right: 0;
  align-items: flex-start;
}
.footer_tel i {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  background-color: #ffeeee;
  border-radius: 50%;
  color: red;
  font-size: 15px;
  margin-right: 8px;          
}
.footer_span_tel {
  font-size: 28px !important;
  font-weight: bold !important;
  padding: 0 !important;
}
.footer_span_fax {
  display: flex;
  font-size: 18px;
  font-weight: bold;
}
@media only screen and (min-width: 992px) {
  .footer_tel i {
    padding: 10px;
  }
  .footer_span_tel {
    font-size: 25px !important;
  }
  .footer_span_fax {
    font-size: 24px;
  }
}
/* ============================================================================
Googleマップ
============================================================================ */
iframe{
  width: 100%;
}
/* ============================================================================
動画
============================================================================ */
.movie_wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
}
.movie_wrap iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100% !important;
  height: 100% !important;
  border: 0;
}
/* ============================================================================
ボタンデザイン
============================================================================ */
.btn-area {
  margin-top: 15px;
}
@media (min-width: 768px) {
.btn-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2分割 */
  gap: 0px; /* 間隔を小さく */
  justify-content: center;
  align-items: stretch;
  text-align: center;
  }
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px; /* 縦幅控えめ */
  border: 2px solid #fbbf24;
  border-radius: 9999px;
  color: #d97706;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  background-color: #fff;
  transition: all 0.25s ease;
  white-space: nowrap; /* 折返し防止 */
}
.btn-outline i {
  font-size: 13px;
  margin-left: 5px;
  transition: transform 0.25s ease;
}
.btn-outline:hover {
  background: linear-gradient(to right, #fbbf24, #fcd34d);
  color: #030303;
  border-color: transparent;
}
.btn-outline:hover i {
  transform: translateX(3px);
}
/* 診療科ボタン */
.btn-nomal {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PC時3列 */
  gap: 15px;
  margin: 30px 0;
}
.btn-nomal a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f6f8fb;
  border: 1px solid #d0d7e2;
  border-radius: 10px;
  padding: 16px 20px;
  color: #2e4498;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.btn-nomal a::after {
  content: "›";
  font-size: 20px;
  color: #2e4498;
  transition: transform 0.25s ease;
}
.btn-nomal a:hover {
  background: #e6ecfa;
  border-color: #b6c3e0;
  transform: translateY(-2px);
}
.btn-nomal a:hover::after {
  transform: translateX(4px);
}
@media (max-width: 768px) {
  .btn-nomal {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .btn-nomal a {
    font-size: 15px;
    padding: 14px 16px;
  }
}
@media (max-width: 480px) {
  .btn-nomal {
    grid-template-columns: 1fr;
  }
}

/* ============================================================================
青丸
============================================================================ */
.blue-circled {
  position: relative;
  left: 3em;
  height: 40px;
  margin-right: 3em;
  font-size: 16px;
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  color: #2e4498;
  font-weight: bold;
  text-align: left;
}
.blue-circled span {
  position: absolute;
  display: inline;
  left: -50px;
  width: 40px;
  font-size: 20px;
  line-height: 40px;
  margin-right: 16px;
  background: #2e4498;
  border-radius: 50%;
  color: white;
  text-align: center;
}
@media only screen and (min-width: 992px) {
  .blue-circled {
    position: static;
    left: 0;
    height: 64px;
    margin-right: 0;
    font-size: 28px;
  }
  .blue-circled span {
    position: static;
    display: inline-block;
    left: 0;
    width: 64px;
    font-size: 32px;
    line-height: 64px;
  }
}
/* ============================================================================
表
============================================================================ */
/* 診療時間 */
.reception-time ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.reception-time li {
  border-bottom: 1px dashed #ddd;
  padding: 4px 0;
}
.reception-time span {
  display: inline-block;
  width: 60px;
  color: #2e4498;
  font-weight: 600;
}
/* 診療日 */
.medical_table {
  width: 100%;
  border: 1px solid #c0c0c0;
}
.medical_table th {
  color: white;
  background: #2E4498;
  border: 2px solid #c0c0c0;
  padding: 4px;
  font-size: 17px;
  text-align: center;
}
.medical_table th:first-of-type {
  width: 20%;
}
.medical_table td {
  width: 10%;
  border: 1px solid #c0c0c0;
  padding: 4px;
  font-size: 17px;
  text-align: center;
}
.medical_table .fs_small {
  font-size: 12px;
  color: gray;
}
@media print, screen and (min-width: 992px) {
  .medical_table td {
    height: 60px;
  }
}
/* 診療日2 */
.medical_table2 {
  width: 100%;
  border: 1px solid #c0c0c0;
  min-width: 750px;
}
.medical_table2 th {
  color: white;
  background: #2E4498;
  border: 2px solid #c0c0c0;
  padding: 4px;
  font-size: 17px;
  text-align: center;
}
.medical_table2 th:first-of-type {
  width: 5%;
}
.medical_table2 td {
  width: 10%;
  border: 1px solid #c0c0c0;
  padding: 4px;
  font-size: 17px;
  text-align: center;
}
.medical_table2 .fs_small {
  font-size: 12px;
}
@media print, screen and (min-width: 992px) {
  .medical_table2 td {
    height: 60px;
  }
  .medical_table2 .fs_small {
    font-size: 17px;
  }
}
.table_wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* 受付時間エリア（丸のみ色、背景は白） */
.outclinic-legend {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  font-weight: 600;
  font-size: clamp(0.9rem, 2.5vw, 1.1rem);
  flex-wrap: nowrap;
  color: #333;
}

/* 各項目（余白のみで表示・枠線なし） */
.outclinic-legend .legend-item {
  padding: 6px 4px;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

/* 丸のみ色を付ける */
.outclinic-legend .circle {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

/* 色の割り当て：丸のみ色 */
.outclinic-legend .am .circle { background: #2e4498; }
.outclinic-legend .pm .circle { background: #2e4498; }
.outclinic-legend .sat .circle { background: #2e4498; }

/* スマホ幅の狭い端末対応 */
@media (max-width: 375px) {
  .outclinic-legend {
    gap: 8px;
  }
  .outclinic-legend .legend-item {
    padding: 4px 2px;
    font-size: 1rem;
  }
  .outclinic-legend .circle {
    width: 9px;
    height: 9px;
  }
}


/* 概要 */
#overview_table {
  page-break-before: always;
}
#overview_table dl {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
}
#overview_table dl dt {
  margin-top: 16px;
}
@media only screen and (min-width: 992px) {
  #overview_table dl {
    flex-direction: row;
  }
  #overview_table dl dt {
    margin-top: 0px;
  }
}
@media print, screen and (min-width: 992px) {
  #overview_table dl {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  }
  #overview_table dl dt {
    margin-top: 0px;
    width: 20%;
    border: 1px solid #e0e0e0;
    padding: 8px;
  }
  #overview_table dl dd {
    width: 80%;
    border: 1px solid #e0e0e0;
    padding: 8px;
  }
}
/* 2カラム */
dl.two_column_list {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #c0c0c0;
}
dl.two_column_list dt {
  width: 31%;
  padding: 4px;
  border-bottom: 1px solid #e0e0e0;
}
dl.two_column_list dd {
  width: 69%;
  padding: 4px;
  border-bottom: 1px solid #e0e0e0;
}
@media only screen and (min-width: 992px) {
  dl.two_column_list dt {
    width: 20%;
    padding-top: 8px;
    padding-bottom: 8px;
  }
  dl.two_column_list dd {
    width: 80%;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}
/* 2カラム（ビッグ） */
dl.two_column_big_list {
  display: flex;
  flex-wrap: wrap;
  border-top: 3px solid #c0c0c0;
}
dl.two_column_big_list dt {
  width: 31%;
  padding: 4px;
  border-bottom: 1px solid #e0e0e0;
}
dl.two_column_big_list dd {
  width: 69%;
  padding: 4px;
  border-bottom: 1px solid #e0e0e0;
}
@media only screen and (min-width: 992px) {
  dl.two_column_big_list dt {
    width: 15%;
    padding-top: 24px;
    padding-bottom: 24px;
  }
  dl.two_column_big_list dd {
    width: 85%;
    padding-top: 24px;
    padding-bottom: 24px;
  }
}
/* 2カラム（医師略歴） */
dl.two_column_doctor_list {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #c0c0c0;
}
dl.two_column_doctor_list dt {
  font-size: 13px;
  width: 22%;
  padding: 4px;
  border-bottom: 1px solid #e0e0e0;
}
dl.two_column_doctor_list dd {
  font-size: 12px;
  width: 78%;
  padding: 4px;
  border-bottom: 1px solid #e0e0e0;
}
@media print, screen and (min-width: 768px) {
  dl.two_column_doctor_list dt {
    font-size: 14px;
    width: 8%;
    padding-top: 4px;
    padding-bottom: 4px;
  }
  dl.two_column_doctor_list dd {
    font-size: 13px;
    width: 92%;
    padding-top: 4px;
    padding-bottom: 4px;
  }
}
/* ============================================================================
開閉
============================================================================ */
.accordion {
  margin-top: 10px;
  padding: 10px 10px;
  background: #2E4498;
  color: white;
  cursor: pointer;
}
.accordion .title {
  font-size: 16px;
  font-weight: bold;
}
/* ============================================================================
ポップアップウインドウ
============================================================================ */
.report_dialog h1 {
  font-size: 2.4rem;
  margin: 24px 0;
}
.report_dialog h2 {
  font-size: 2.2rem;
  margin-top: 24px;
  font-weight: bold;
  text-decoration: underline;
  text-align: left;
}
.report_dialog h3 {
  font-size: 2rem;
  padding-left: 8px;
  margin-top: 24px;
  font-weight: bold;
  background-color: #2E4498;
  color: white;
}
@media only screen and (min-width: 992px) {
  .report_dialog h3 {
    background-color: transparent;
    color: initial;
  }
}
.report_dialog dl {
  padding-left: 8px;
}
.report_dialog dl dt {
  padding: 4px 8px;
  padding-bottom: 4px;
  background-color: #F7F8F3;
  font-size: 1.6rem;
  margin-top: 4px;
  font-weight: normal;
}
.report_dialog dl dd {
  padding: 4px 8px;
  display: block;
  font-size: 1.6rem;
}
@media only screen and (min-width: 768px) {
  .report_dialog dl {
    display: flex;
    flex-wrap: wrap;
  }
  .report_dialog dl dt {
    font-size: 1.6rem;
    margin-top: 4px;
    width: 50%;
    padding: 4px 8px;
    padding-bottom: 4px;
    border-bottom: 1px solid #e0e0e0;
    font-weight: normal;
  }
  .report_dialog dl dd {
    width: 50%;
    padding: 4px 8px;
    display: block;
    font-size: 1.6rem;
    border-bottom: 1px solid #e0e0e0;
  }
}
@media only screen and (min-width: 992px) {
  .report_dialog dl dt {
    background-color: transparent;
  }
}
/* ============================================================================
インプット
============================================================================ */
input, textarea, select, button {
  font-size:16px !important;
}
.form-check-input {
  position:static !important;
}
.txt_required {
  font-size: 12px;
  font-weight: bold;
  color: #e55454;
}
/* ============================================================================
ヘッダー
============================================================================ */
header {
  background: url("../01_common/img/header_line.svg") bottom repeat-x;
}
@media only screen and (max-width: 991.98px) {
  header {
    background: url("../01_common/img/header_line_sp.svg") bottom repeat-x;
  }
}
@media only screen and (max-width: 991.98px) {
  header#header-navbar {
    padding-bottom: 75px;
    margin-top: 0px;
    position: fixed;
    width: 100%;
    height: 70px;
    top: 0px;
    left: 0px;
    z-index: 9999;
  }
}
header #header-pane {
  padding: 8px;
  display: flex;
  flex-direction: row;
}
@media only screen and (max-width: 991.98px) {
  header #header-pane {
    background: white;
    padding-bottom: 7px;
    height: 67px;
    background-size: contain;
    padding: 4px;
  }
  header #header-pane #header-logo img {
    margin-top: 2px;
    width: 56px;
  }
}
header #header-pane .header_title_area {
  margin-left: 8px;
  padding-top: 0px;
}
header #header-pane .header_title_area small {
  font-size: 11px;
}
header #header-pane .header_title_area h1 {
  font-size: 28px;
  font-weight: bold;
  color: black;
}
@media only screen and (max-width: 991.98px) {
  header #header-pane .header_title_area h1 {
    font-size: 24px;
  }
}
header #header-pane .header_title_area .facility {
  font-size: 28px;
  font-weight: bold;
  color: black;
  margin-top: 0;
}
@media only screen and (max-width: 991.98px) {
  header #header-pane .header_title_area .facility {
    font-size: 24px;
  }
}
@media only screen and (max-width: 991.98px) {
  header #header-pane .header_title_area a.sp-tel {
    margin-right: 4px;
    background-color: #2E4498;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    padding: 2px 6px;
    color: #fff;
    font-size: 10px;
  }
  header #header-pane .header_title_area a.sp-visit {
    margin-right: 4px;
    background-color: #2E4498;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    padding: 2px 6px;
    color: #fff;
    text-decoration: none;
    font-size: 10px;
  }
  header #header-pane .header_title_area a.sp-tel {
    margin-right: 4px;
    background-color: #2E4498;
    border: 1px solid #e0e0e0;
    border-radius: 3px;
    padding: 2px 6px;
    color: #fff;
    font-size: 10px;
  }
  header #header-pane .header_title_area div.sp-tel a i {
    color: #fff;
  }
  header #header-pane .header_title_area small {
    display: block;
    margin: 0;
  }
  header #header-pane .header_title_area .facility {
    font-size: 14px;
    margin-top: 0px;
    text-align: left;
  }
}
@media only screen and (max-width: 991.98px) {
  header #header-pane nav.navbar {
    margin-top: -10px;
    margin-left: auto;
    margin-right: -10px;
    padding: 0;
    text-align: right;
  }
  header #header-pane nav.navbar .navbar-toggler {
    padding: 0;
    font-size: 24px;
  }
  header #header-pane nav.navbar .navbar-collapse {
    z-index: 9999;
    position: absolute;
    top: 67px;
    right: 0;
  }
  header #header-pane nav.navbar ul {
    width: 150px;
    text-align: left;
  }
  header #header-pane nav.navbar ul li {
    background: #efefef;
    padding: 8px;
    border-bottom: 1px solid #e0e0e0;
    opacity: 1;
  }
}
header #header-pane .header_access {
  display: flex;
  align-items: center;
  flex-grow: 2;
  margin-right: 32px;
}
header #header-pane .header_access a {
  display: flex;
  margin-left: auto;
}
header #header-pane .header_access a i {
  font-size: 16px;
}
header #header-pane .header_tel {
  display: flex;
  margin-left: auto;
  margin-right: 0;
  align-items: center;
  justify-content: right;
  padding-top: 8px;
  padding-bottom: 8px;
}
header #header-pane .header_tel i {
  background-color: #ffeeee;
  padding: 20px;
  border-radius: 50%;
  color: red;
  font-size: 20px;
  margin-right: 8px;
}
header #header-pane .header_tel .message {
  font-size: 12px;
  margin-bottom: -6px;
}
header #header-pane .header_tel a {
  font-size: 28px;
  font-weight: bold;
  color: black;
  text-decoration :none;
}
@media only screen and (max-width: 991.98px) {
  header #header-pane .header_tel i {
    padding: 14px;
    font-size: 18px !important;
  }
}
#header-navbar nav {
  margin-left: auto;
  font-size: 15px;
}
#header-navbar nav ul {
  display: flex;
  justify-content: center;
  margin: 25px 0;
  padding: 0;
}
#header-navbar nav ul li {
  display: flex;
  padding: 0 16px;
  border-right: 1px solid #e0e0e0;
  text-align: center;
}
#header-navbar nav ul li:last-child {
  border-right: none;
}
@media only screen and (max-width: 991px) {
  #header-navbar nav {
    display: none;
  }
}
#header-navbar nav ul li a {
  text-decoration: none;
}
#header-navbar nav ul li a:hover {
  text-decoration: none;
  opacity: 0.7;
}
@media only screen and (max-width: 1100px) {
  #header-navbar nav ul li {
    padding: 0 12px;
  }
}
@media only screen and (max-width: 1100px) {
  header #header-pane .header_title_area .sp-coop a {
    border: 1px solid #2E4498;
    border-radius: 3px;
    padding: 2px 6px;
    color: #333333;
    font-size: 10px;
  }
}
  @media only screen and (max-width: 1207px) {
  header #header-pane .header_title_area .sp-recruit a {
    border: 1px solid #ffc21c;
    border-radius: 3px;
    padding: 2px 6px;
    color: #333333;
    font-size: 10px;
  }
}
/* 救急外来バー */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background-color: #e55454;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  z-index: 1000;
}
.circle-btn {
  width: 70px;
  height: 70px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 25px;
  margin-top: -30px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  font-size: 28px;
  font-weight: 900;
  color: #e55454;
  cursor: pointer;
  transition: transform 0.2s;
}
.circle-btn:hover {
  transform: translateY(-5px);
}
/* スライドアウト */
.slide-out {
  transform: translateX(100%);
  opacity: 0;
}
/* 閉じるボタン */
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  cursor: pointer;
  z-index: 2;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.close-btn:hover {
  background-color: #f0f0f0;
}
.bottom-bar {
  display: none;
}
@media (max-width: 768px) {
  .bottom-bar {
    display: flex;
  }
}
/* ============================================================================
トップページ
============================================================================ */
#top #menu {
  margin: 64px 0 20px 0;
}
@media only screen and (min-width: 992px) {
  #top #menu {
    margin: 64px 0;
  }
}
#top #menu ul {
  display: flex;
  padding: 0px;
  margin: 0;
  justify-content: center;
}
#top #menu ul li {
  list-style: none;
  margin: 0px;
  padding: 0px;
  text-align: center;
  border-right: 1px solid #e0e0e0;
}
#top #menu ul li:last-child {
  border-right: none;
}
#top #menu ul li a {
  display: block;
  margin: 0 30px 0 30px;
  text-decoration: none;
}
#top #menu ul li a span {
  color: #333333;
  display: block;
  font-weight: bold;
  margin-top: 8px;
}
#top #menu ul li a:hover {
  text-decoration: none;
}
#top #menu ul li a:hover img {
  opacity: 0.7;
}
#top #menu ul li a:hover span {
  opacity: 0.7;
}
@media only screen and (max-width: 880px) {
  #top #menu {
    display: flex;
    margin-top: 20px;
    justify-content: center;
  }
  #top #menu ul {
    display: flex;
    flex-wrap: wrap;
  }
  #top #menu ul li {
    display: flex;
    width: 33.3%;
    padding: 0;
    margin: 0;
    justify-content: center;
    border-right: none;
  }
  #top #menu ul li a {
    margin: 10px;
    padding: 0;
    font-size: 14px;
  }
}
#top #menu img {
  max-width: 80px;
}
@media print, screen and (min-width: 768px) {
  #menu img {
    max-width: 100px !important;
  }
}
#top #notice {
  padding-bottom: 80px;
}
#top #notice h2 {
  margin-top: 0px !important;
  padding-bottom: 16px;
  border-bottom: 2px solid #c0c0c0;
  text-align: left;
}
@media print, screen and (min-width: 992px) {
  #top #notice h2 {
    margin-top: 70px !important;
  }
}
#top #notice .notice-all {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}
#top #policy {
  background: url("../01_common/img/top/policy.jpg") left no-repeat;
  background-size: cover;
  margin-top: 90px;
  padding-top: 65px;
  padding-bottom: 100px;
  page-break-before: always;
}
#top #policy h2 {
  color: white;
}
#top #policy ol {
  margin: 42px;
}
#top #policy ol li {
  font-size: 24px;
  margin-top: 34px;
  color: white;
  font-weight: bold;
  padding-left: 16px;
}
@media only screen and (max-width: 991.98px) {
  #top #policy {
    background: url("../01_common/img/top/policy_sp.jpg") left no-repeat;
    background-size: cover;
  }
  #top #policy ol {
    margin: 0px;
    padding: 24px;
  }
  #top #policy ol li {
    font-size: 18px;
    margin-top: 24px;
    color: white;
    font-weight: bold;
    padding-left: 0px;
  }
}
#top #examination_time {
  margin-bottom: 50px;
  page-break-before: always;
}
#top #examination_time a {
  color: #000;
}
#top #examination_time a:hover {
  color: #000;
}
#top #notice {
  background-color: #f2fafd;
  padding-top: 20px;
  padding-bottom: 65px;
  page-break-before: always;
}
#top #recruit {
  background: #F7F8F3;
  padding-bottom: 65px;
  page-break-before: always;
}
@media only screen and (max-width: 991.98px) {
  #top #access {
    padding: 20px 0 20px 0;
  }
  #top #access h2 {
    margin-top: 75px;
  }
}
.background-icon {
  position: absolute;
  top: 5%;
  right: 0;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
  max-width: 120px;
}
@media screen and (min-width: 768px) {
  .background-icon {
    display: none;
  }
}
#top #icon2 img {
  left: 0;
  width: 100px;
  transform-origin: left top;
  letter-spacing: 8px;
  line-height: 1;
  user-select: none;
  white-space: nowrap;
}
@media only screen and (max-width: 991.98px) {
  #top #icon2 img {
    left: 0;
    top: 0px;
    width: 100px;
  }
}
#top #top-intro {
  background: #F7F8F3;
  margin-top: 90px;
  padding-top: 65px;
  padding-bottom: 100px;
  page-break-before: always;
}
/* =====================================
固定お知らせ
===================================== */
.notice_fixed_wrap {
  display: flex;
  align-items: stretch;
  border: 1px solid #ddd;   /* 区切り線と同じ */
  border-radius: 6px;
  overflow: hidden; /* 中の線・hoverを角に沿わせる */
}
/* 左：重要なお知らせ（見出し） */
.notice_fixed_left {
  flex: 0 0 110px;          /* 幅縮小 */
  display: flex;
  align-items: center;
  justify-content: center; /* 中央寄せ */
  font-size: 13px;
  font-weight: bold;
  color: #fff;
  border-right: 1px solid #ddd; /* 右側と同じ線 */
  background: #ff3939;
  border-radius: 6px 0 0 6px;
}
/* 右：お知らせ一覧 */
.notice_fixed_right {
  flex: 1;
  background: #fff;
}
/* 右側リストの角を自然に */
.notice_fixed_item:first-child a {
  border-top-right-radius: 6px;
}
.notice_fixed_item:last-child a {
  border-bottom-right-radius: 6px;
}
/* 各お知らせ行 */
.notice_fixed_item {
  border-bottom: 1px solid #ddd;
}

.notice_fixed_item:last-child {
  border-bottom: none;
}
.notice_fixed_item a {
  display: block;
  padding: 6px 10px;
  font-size: 13px;
  line-height: 1.4;
  color: #333;
  text-decoration: none;
}
.notice_fixed_item a:hover {
  background: #f5f5f5;
  color: #bd5500;
}
/* ============================================================================
お知らせ一覧
============================================================================ */
#notice_list .border-line {
  margin-top: 40px;
  border-bottom: 2px solid #c0c0c0;
}
.notice_linkbox {
  position: relative;
}
.notice_linkbox a {
  position: absolute;
  top: 0;
  left: 0;
  height:100%;
  width: 100%;
}
.notice_linkbox a:hover{
  opacity: 0.1;
  background-color: #000000;
}
div.notice-row {
  padding: 10px 0;
  border-bottom: 1px solid #e0e0e0;
  display: flex;
  flex-direction: column;
}
@media print, screen and (min-width: 768px) {
  div.notice-row {
    padding: 16px 0;
    flex-direction: row;
  }
}
div.notice-row .date {
  width: 100%;
}
@media print, screen and (min-width: 768px) {
  div.notice-row .date {
    width: 100px;
  }
}
div.notice-row .category {
  margin-top: 4px;
  width: 60%;
  padding-left: 0;
  padding-right: 0;
}
@media print, screen and (min-width: 768px) {
  div.notice-row .category {
    margin-top: 0px;
    width: 35%;
    padding-left: 8px;
    padding-right: 8px;
  }
}
@media print, screen and (min-width: 992px) {
  div.notice-row .category {
    margin-top: 0px;
    width: 25%;
    padding-left: 8px;
    padding-right: 8px;
  }
}
div.notice-row .title {
  margin-top: 10px;
  width: 100%;
}
@media print, screen and (min-width: 768px) {
  div.notice-row .title {
    margin-top: 0px;
    width: 65%;
  }
}
div.notice-row .important {
  display: block;
  border: 1px solid #e55454;
  background-color: #e55454;
  color: #ffffff;
  text-align: center;
  border-radius: 25px;
  padding: 1px 16px;
  width: 100%;
}
div.notice-row .nomal {
  display: block;
  border: 1px solid #d1d1d1;
  background-color: #fffefe;
  text-align: center;
  border-radius: 25px;
  padding: 1px 16px;
  width: 100%;
}
.page-item a {
  text-decoration :none;
}
/* ============================================================================
お知らせ
============================================================================ */
#notice_edit {
  font-size:18px;
}
#notice_edit span[style*="font-size"] {
  font-size: inherit !important;
}
#notice_edit p {
  margin-bottom: 1rem;
}
#notice_edit a {
  text-decoration :none;
}
#notice_edit h1 small {
  font-size: 16px;
  color: #999;
  display: inline;
  text-align: center;
}
#notice_edit h2 {
  font-size: 34px;
  font-weight: bold;
  text-align: center;
  margin-top: 72px;
  background: url("../01_common/img/color_bar.png") center bottom no-repeat;
  padding-bottom: 20px;
}
@media only screen and (max-width: 991.98px) {
  #notice_edit h2 {
    font-size: 28px;
    margin-top: 40px;
  }
}
#notice_edit h3 {
  border-left: 8px solid transparent;
  border-image: linear-gradient(to bottom, #f59e0b, #fbbf24);
  border-image-slice: 1;
  text-align: left;
  margin-top: 40px;
  padding-left: 16px;
  padding-top: 8px;
  padding-bottom: 8px;
  margin-bottom: 20px;
  font-size: 20px;
  font-weight: bold;
  color: #333;
  background-color: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 6px;
}
#notice_edit h4 {
  text-align: left;
  font-size: 18px;
  font-weight: bold;
  padding-top: 16px;
  padding-bottom: 16px;
}
#notice_edit .link_btn {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  word-break: break-all;
  text-decoration: none !important;
  min-height: 38px;
  border: 1px solid #7f7f7f;
  border-radius:10px;
  font-size: 1.4rem;
  color: #7f7f7f;
  padding: 5px 30px 5px 10px;
}
#notice_edit .link_btn::after {
  position: absolute;
  content: "";
  top: 50%;
  right: 10px;
  width: 6px;
  height: 6px;
  margin: -4px 0 0;
  border-top: 2px solid #7f7f7f;
  border-right: 2px solid #7f7f7f;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);  
}
#notice_edit .link_btn:hover {
  opacity: 0.7;
  color: #7f7f7f;
}
#notice_edit .table-responsive td {
  white-space: nowrap;
}
@media print, screen and (min-width: 768px) {
  #notice_edit .table-responsive td {
    white-space: normal;
  }
}
#notice_edit .table {
  font-size: 14px;
}
#notice_edit .table-bordered th {
  color: #8c8f92 !important;
  border: 1px solid #4d5153 !important;
}
#notice_edit .table-bordered td {
  border: 1px solid #4d5153 !important;
}
/* ============================================================================
フッター
============================================================================ */
#footer {
  background: #f9f9fa;
  padding-top: 70px;
  page-break-before: always;
}
@media only screen and (max-width: 991.98px) {
  #footer {
    padding-top: 40px;
    padding-left: 16px;
    padding-right: 16px;
  }
}
#footer a {
  font-size: 14px;
  text-decoration :none;
}
#footer #left {
  width: 50%;
  display: flex;
  justify-content: left;
  flex-direction: column;
}
#footer #left .corp {
  font-size: 11px;
}
#footer #left .facility {
  font-size: 24px;
  font-weight: bold;
}
#footer #left .addr {
  padding-top: 5px;
  font-size: 12px;
}
#footer #right {
  width: 50%;
  display: flex;
  justify-content: right;
  flex-direction: column;
}
#footer #right a {
  text-decoration: none;
  font-size: 38px;
}
@media only screen and (max-width: 767.98px) {
  #footer #left {
    width: 100% !important;
  }
  #footer #left .corp {
    font-size: 11px;
  }
  #footer #left .facility {
    font-size: 24px;
    font-weight: bold;
  }
  #footer #left .addr {
    padding-top: 8px;
    font-size: 12px;
  }
  #footer #right {
    width: 100%;
    padding-top: 16px;
    display: block;
  }
  #footer #right a {
    text-decoration: none;
    font-size: 22px;
  }
}
#footer nav {
  margin-left: auto;
  margin-right: auto;
  font-size: 12px;
}
#footer nav ul {
  display: flex;
  justify-content: center;
  margin: 40px 0;
  padding: 0;
}
@media only screen and (max-width: 767.98px) {
  #footer nav ul {
    display: block;
  }
}
#footer nav ul li {
  display: flex;
  padding: 0 16px;
  border-right: 1px solid #e0e0e0;
  text-align: center;
}
#footer nav ul li:last-child {
  border-right: none;
}
@media only screen and (max-width: 767.98px) {
  #footer nav ul li {
    justify-content: center;
  }
}
#footer nav ul li a {
  color: black;
  text-decoration :none;
}
#footer nav ul li a:hover {
  text-decoration: none;
  opacity: 0.7;
}
@media only screen and (max-width: 767.98px) {
  #footer nav ul li {
    border-right: none;
    padding: 8px 0;
  }
}
#footer hr{
  background-color: white;
}
#footer .other_clinics {
  margin-top: 70px;
}
#footer .other_clinics h2 {
  font-size: 24px;
  text-align: left;
  margin-bottom: 40px;
}
#footer .other_clinics small {
  border-bottom: 1px solid #999;
  font-size: 12px;
  padding-bottom: 8px;
  display: block;
  color: #999;
}
#footer .other_clinics p {
  margin-bottom: 40px;
}
#footer .other_clinics p a {
  font-size: 20px;
  font-weight: bold;
  color: white;
}
#footer .other_clinics p a:hover {
  text-decoration: none;
  opacity: 0.7;
}
#footer #copyright {
  font-size: 12px;
  text-align: center;
  padding-top: 70px;
  padding-bottom: 70px;
}
@media only screen and (max-width: 991.98px) {
  header #header-pane .header_title_area div.sp-recruit a {
    border: 1px solid #2E4498;
    border-radius: 3px;
    padding: 2px 6px;
    color: #000;
    font-size: 10px;
  }
}
/* 特徴セクション全体 */
#top #features {
  background-color: #f9fafb;
  position: relative;
  padding-top: 10px;
  padding-bottom: 65px;
}
/* 各カード */
.feature-card {
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
/* 画像 */
.feature-card img {
  height: 150px;
  object-fit: cover;
}
/* タイトル部分 */
.feature-card .card-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 0.2rem;
  color: #333;
}
.feature-card .card-text {
  color: #666;
  margin: 0;
}

.recruit-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #f9fbff 0%, #ffffff 100%);
}

.recruit-bgtext {
  position: absolute;
  top: 80%;
  left: 0;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: left top;
  font-size: 100px;
  font-weight: 800;
  color: rgba(46, 68, 152, 0.08);
  letter-spacing: 8px;
  line-height: 1;
  user-select: none;
  white-space: nowrap;
}
.recruit-content {
  position: relative;
  z-index: 2;
  text-align: center;
  justify-content: space-between;
}
.recruit-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 8px;
}
.recruit-desc {
  color: #555;
  font-size: 14px;
  margin-bottom: 40px;
}
.recruit-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  width: 400px;            /* 小さめに調整 */
  max-width: 100%;          /* 画面が狭い場合は自動縮小 */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  background-color: transparent;
  text-align: center;
}
.recruit-img {
  width: 100%;
  height: 100%; /* カード全体にフィット */
  object-fit: cover; /* 縦横比を維持して切り抜き */
  display: block;
  justify-content: center;
}
/* --- ボタン部分 --- */
.recruit-btn {
  position: absolute;
  bottom: 16px;
  left: 50%;
  width: 50%; /* カード幅の50% */
  max-width: 180px; /* 任意で最大幅を指定 */
  transform: translateX(-50%);
  background: #fff;
  color: #2e4498;
  border-radius: 30px;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.1);
}
/* --- ホバー時に上へふわっと --- */
.recruit-btn:hover {
  background: #2e4498;
  color: #fff;
  transform: translateX(-50%) translateY(-4px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.15);
  text-decoration: none;
}
/* トップメインビジュアル */
.main-visual {
  width: 100%;
  overflow: hidden;
}
.main-visual img {
  width: 100%;
  height: auto;
  display: block;
}

/* アニメーション */
.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.fade-delay-1 { transition-delay: 0.1s; }
.fade-delay-2 { transition-delay: 0.2s; }
.fade-delay-3 { transition-delay: 0.3s; }
.fade-delay-4 { transition-delay: 0.4s; }
.zoom-fade {
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.zoom-fade.visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}
.zoom-delay-1 { transition-delay: 0.1s; }
.zoom-delay-2 { transition-delay: 0.2s; }
.zoom-delay-3 { transition-delay: 0.3s; }
.zoom-delay-4 { transition-delay: 0.4s; }

.dept-section .btn-nomal li {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
}
.dept-section.visible .btn-nomal li {
  opacity: 1;
  transform: translateY(0);
}
.dept-section .btn-nomal li {
  --i: 0;
  transition-delay: calc(var(--i) * 0.05s);
}
/* 予約ブロック全体 */
.reserve-block label.title {
  display: block;
  margin-top: 15px;
}
/* 2カラム配置 */
.reserve-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
/* 日付・時間のセレクト横並び */
.reserve-row select {
  width: 48%;
  min-height: 45px;
}
/* スマホ対応 */
@media (max-width: 576px) {
  .reserve-row select {
    width: 100%;
  }
}
/* =============================================================================
   治療の流れ - Step
============================================================================= */
.step-list {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.step-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}
.step-number {
  flex-shrink: 0;
  background: #2e4498;
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  text-align: center;
  min-width: 72px;
}
.step-number span {
  display: block;
  font-size: 3rem;
  margin-top: 4px;
  line-height: 1;
}
.step-body {
  flex: 1;
  padding-top: 0.25rem;
}
.step-title {
  font-size: 1.9rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 0.5rem;
}
.step-text {
  margin: 0;
  line-height: 1.8;
}
/* =============================================================================
   治療の流れ - タイムライン
============================================================================= */
.timeline {
  position: relative;
  padding-left: 110px;
  margin-top: 2rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 98px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  background: #e8862a;
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}
.timeline-item:last-child {
  margin-bottom: 0;
}
.timeline-label {
  position: absolute;
  left: -110px;
  width: 92px;
  text-align: right;
  font-size: 1.5rem;
  font-weight: bold;
  color: #e8862a;
  padding-top: 4px;
  white-space: nowrap;
}
.timeline-item::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e8862a;
  margin-top: 4px;
  position: relative;
  z-index: 1;
}
.timeline-content {
  flex: 1;
  background: #fdf5ee;
  border-left: 4px solid #e8862a;
  border-radius: 0 6px 6px 0;
  padding: 0.75rem 1.25rem;
}

.timeline-title {
  font-size: 1rem;
  font-weight: bold;
  color: #333;
  margin: 0 0 0.4rem;
}

.timeline-content p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  line-height: 1.8;
}

/* スマホ対応 */
@media (max-width: 576px) {
  .step-number span {
    font-size: 2.25rem;
  }

  .timeline {
    padding-left: 76px;
  }

  .timeline::before {
    left: 64px;
  }

  .timeline-label {
    left: -76px;
    width: 58px;
    font-size: 0.78rem;
  }
}