/* ============================================================
   site.css — ふくやま整形外科
   basis.css 実測値ベース
   ============================================================ */

/* ============================================================
   フォント
   ============================================================ */
body {
  font-family: "Zen Maru Gothic", "YakuHanJP", sans-serif;
  font-size: 1.8rem;
}

/* ============================================================
   カラートークン上書き（main.css のデフォルト色をサイト色に変更）
   ============================================================ */
.text-accent {
  color: #8dc21f;
}
.bg-accent {
  background: #8dc21f;
}
.border-accent {
  border-color: #8dc21f;
}

/* bg-solid のサイトカラー上書き */
.bg-solid--sub::before {
  background: #e6f1d1;
}
.bg-solid--section::before {
  background: #f4f8e8;
}

/* ============================================================
   ヘッダー
   ============================================================ */

/* 固定ヘッダー */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  z-index: 100;
}

/* 上部アクセントバー（10px / 2段グラデーション） */
.header-bar::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 10px;
  background: linear-gradient(to bottom, #8ec31f 0%, #8ec31f 65%, #00913a 65%, #00913a 100%);
  z-index: 1;
}

.header-bar .header__inner {
  padding-top: 10px;
}

/* ロゴ画像 */
.header__logo img {
  height: 44px;
  width: auto;
}
@media (max-width: 1100px) {
  .header__logo img {
    height: 34px;
  }
  .header__logo {
    margin-top: 10px;
  }
}

/* ナビゲーション — アイコン上・テキスト下 */

/* ヘッダー高さをアイコン分に合わせて auto 化 */
.header__inner {
  height: auto;
  padding-top: 10px;
  padding-bottom: 10px;
}

/* 各ナビ項目リンク：縦並び中央寄せ */
.header__nav-item a {
  padding: 8px 16px 6px;
}

/* アイコン画像 */
.header__nav-icon {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
  margin: 0 auto 6px;
  transition: opacity 0.2s;
}

/* テキスト */
.header__nav-ja {
  font-size: 1.5rem;
  color: #261a17;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-align: center;
  line-height: 1.3;
}

/* ホバー時：アイコンをわずかに薄く */
.header__nav-item a:hover .header__nav-icon {
  opacity: 0.75;
}
.header__nav-item a:hover .header__nav-ja {
  color: #8dc21f;
}

/* アクティブ（現在地）下線 */
.header__nav-item a::after {
  background: #8dc21f;
}

/* 電話番号ボタン */
.header__access-btn {
  font-size: 1.6rem;
  font-weight: 700;
  color: #00913a;
  background: #fff;
  border: 2px solid #00913a;
  border-radius: 50px;
  padding: 6px 18px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  margin-right: 12px;
  white-space: nowrap;
}
.header__access-btn:hover {
  background: #00913a;
  color: #fff;
}
@media (max-width: 1100px) {
  .header__access-btn {
    font-size: 1.4rem;
    padding: 5px 12px;
  }
}
@media (max-width: 896px) {
  .header__access-btn {
    display: none;
  }
}

.header__tel {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  background: #00913a;
  border-radius: 50px;
  padding: 6px 22px;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: opacity 0.2s;
  margin-right: 20px;
}
.header__tel:hover {
  opacity: 0.85;
}
@media (max-width: 1100px) {
  .header__tel {
    font-size: 1.8rem;
    padding: 5px 16px;
  }
}

/* body padding（固定ヘッダー分） */
body {
  padding-top: 120px;
}
@media (max-width: 1100px) {
  body {
    padding-top: 70px;
  }
}

/* ============================================================
   スマホナビゲーション（背景をサイトカラーに上書き）
   ============================================================ */
.sp-nav {
  background: linear-gradient(135deg, #3a6b0a 0%, #00913a 100%);
}
.sp-nav__en {
  color: rgba(255,255,255,0.7);
}

/* SP ナビアイコン */
.sp-nav__icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* ============================================================
   MV（メインビジュアル）
   ============================================================ */
#slideshow {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 77vh;
}
@media (max-width: 1100px) {
  #slideshow {
    height: 60vw;
  }
}
@media (max-width: 896px) {
  #slideshow {
    height: 55vw;
  }
}
@media (max-width: 639px) {
  #slideshow {
    height: 40vh;
  }
}

.swiper-slide,
#slideshow .main_slider__inner {
  width: 100%;
  height: 100%;
}
#slideshow img,
#slideshow .swiper-slide img,
#slideshow .main_slider__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* MV 下部 SVG 波型装飾 */
#slideshow::after {
  content: "";
  position: absolute;
  bottom: -75px;
  left: 0;
  display: block;
  width: 100%;
  height: 100px;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath fill='%23fefefe' d='M100,25H0V0h0c33.333,33.333,66.666,33.333,100,0l0,0V25z'%3E%3C/path%3E%3C/svg%3E");
  background-size: 100% 100%;
  z-index: 2;
}

/* MV キャッチコピー */
.fukuyama-mv-catch {
  position: absolute;
  z-index: 3;
  bottom: 50px;
  left: 40px;
  max-width: 620px;
}
.fukuyama-mv-catch__text {
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 4.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.5;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.fukuyama-mv-catch__sub {
  display: block;
  font-size: 2rem;
  font-weight: 500;
  color: #fff;
  margin-top: 8px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
@media (max-width: 1100px) {
  .fukuyama-mv-catch {
    bottom: 40px;
    left: 24px;
    max-width: 90%;
  }
  .fukuyama-mv-catch__text {
    font-size: 3rem;
  }
  .fukuyama-mv-catch__sub {
    font-size: 1.6rem;
  }
}
@media (max-width: 639px) {
  .fukuyama-mv-catch {
    bottom: 20px;
    left: 14px;
  }
  .fukuyama-mv-catch__text {
    font-size: 1.8rem;
    letter-spacing: 0.06em;
  }
  .fukuyama-mv-catch__sub {
    font-size: 1.2rem;
  }
}

/* ============================================================
   タイトルアイコン（deco-anime）
   ============================================================ */
.fukuyama-ttl-icon {
  margin-bottom: 8px;
}
.fukuyama-ttl-icon img {
  height: 60px;
  width: auto;
  display: block;
}
.fukuyama-ttl-icon--center {
  text-align: center;
}
.fukuyama-ttl-icon--center img {
  margin: 0 auto;
}

@keyframes rotate_anime {
  0%   { transform: rotate(0deg); }
  25%  { transform: rotate(0deg); }
  30%  { transform: rotate(5deg); }
  85%  { transform: rotate(5deg); }
  90%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}
.deco-anime {
  animation: rotate_anime 1.5s cubic-bezier(0.87, 0.01, 0, 0.99) infinite;
  transform-origin: bottom center;
}

/* ============================================================
   診療時間テーブル
   ============================================================ */
.table-hours {
  border-top: 2px solid #00913a;
  width: 100%;
  border-collapse: collapse;
}
.table-hours th,
.table-hours td {
  border-bottom: 1px solid #ddd;
  padding: 10px 5px;
  text-align: center;
  font-size: 1.8rem;
}
.table-hours thead th {
  background: #00913a;
  color: #fff;
  font-weight: 700;
  font-size: 1.8rem;
}
.table-hours th:first-child {
  text-align: left;
  padding-left: 14px;
}
.table-hours td.is-open {
  color: #00913a;
  font-weight: 700;
}
.table-hours td.is-closed {
  color: #bbb;
}

/* トップ診療時間テーブル：スマホ時は横スクロールなしで表示 */
@media (max-width: 896px) {
  .fukuyama-hours-wave .table-scroll {
    overflow-x: visible;
  }
  .fukuyama-hours-wave .table-scroll > table {
    min-width: 0;
    width: 100%;
  }
  .fukuyama-hours-wave .table-hours th,
  .fukuyama-hours-wave .table-hours td {
    font-size: 1.2rem;
    padding: 8px 2px;
  }
  .fukuyama-hours-wave .table-hours thead th {
    font-size: 1.2rem;
  }
  .fukuyama-hours-wave .table-hours th:first-child {
    padding-left: 6px;
    white-space: nowrap;
  }
}

/* 注意書き赤字 */
.fukuyama-hours-note {
  color: #d00;
  font-size: 1.4rem;
  margin-top: 8px;
}

/* ============================================================
   お知らせセクション（左見出し + 右スクロールボックス）
   ============================================================ */

/* 左右2カラムレイアウト */
.news-section__layout {
  display: flex;
  align-items: center;
  gap: 40px;
}

/* 左: 見出しブロック */
.news-section__heading {
  flex-shrink: 0;
  width: 160px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.news-section__en {
  display: block;
  font-family: "Zen Maru Gothic", sans-serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: #8dc21f;
  letter-spacing: 0.05em;
  line-height: 1;
  -webkit-text-stroke: 1px #8dc21f;
}
.news-section__ja {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: #261a17;
  letter-spacing: 0.1em;
}

/* 右: 記事一覧ボックス */
.news-section__content {
  flex: 1;
  min-width: 0;
}

/* お知らせ CMS ラッパー */
.fukuyama-news-cms {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  padding: 10px 24px;
  min-height: 80px;
}

/* CMS出力 dl */
.fukuyama-news-cms dl {
  margin: 0;
  padding: 0;
  max-height: calc(3 * 70px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #c8e48a #f4f8e8;
}
.fukuyama-news-cms dl::-webkit-scrollbar {
  width: 6px;
}
.fukuyama-news-cms dl::-webkit-scrollbar-track {
  background: #f4f8e8;
  border-radius: 3px;
}
.fukuyama-news-cms dl::-webkit-scrollbar-thumb {
  background: #a8d45a;
  border-radius: 3px;
}

/* 各記事行 (.inner) */
.fukuyama-news-cms dl .inner {
  display: flex;
  align-items: baseline;
  gap: 20px;
  padding: 16px 4px;
  border-bottom: 1px solid #eee;
}
.fukuyama-news-cms dl .inner:last-child {
  border-bottom: none;
}

/* 日付 */
.fukuyama-news-cms dl dt {
  flex-shrink: 0;
  font-size: 2rem;
  color: #8dc21f;
  font-weight: 700;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* タイトル */
.fukuyama-news-cms dl dd {
  flex: 1;
  font-size: 1.8rem;
  color: #261a17;
  line-height: 1.6;
  margin: 0;
  word-break: break-all;
}

/* レスポンシブ */
@media (max-width: 896px) {
  .news-section__layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .news-section__heading {
    width: auto;
    flex-direction: row;
    align-items: baseline;
    gap: 12px;
  }
  .news-section__en {
    font-size: 2.4rem;
  }
  .news-section__content {
    width: 100%;
  }
}
@media (max-width: 639px) {
  .fukuyama-news-cms {
    padding: 8px 16px;
  }
  .fukuyama-news-cms dl .inner {
    flex-direction: column;
    gap: 4px;
    padding: 12px 4px;
  }
  .fukuyama-news-cms dl dt {
    font-size: 1.2rem;
  }
  .fukuyama-news-cms dl dd {
    font-size: 1.3rem;
  }
}

/* ============================================================
   骨粗鬆症バナー（TOP）
   ============================================================ */
.fukuyama-osteo-bnr {
  display: flex;
  align-items: center;
  gap: 30px;
  background: #fff;
  border-left: 6px solid #8dc21f;
  border-radius: 0 10px 10px 0;
  padding: 30px 40px;
  box-shadow: 0 4px 20px rgba(142,195,31,0.12);
  text-decoration: none;
  transition: box-shadow 0.25s;
  position: relative;
  z-index: 1;
}
.fukuyama-osteo-bnr:hover {
  box-shadow: 0 6px 28px rgba(142,195,31,0.25);
}
.fukuyama-osteo-bnr__text {
  flex: 1;
  color: #261a17;
}
.fukuyama-osteo-bnr__title {
  font-size: 2rem;
  font-weight: 700;
  color: #261a17;
}
.fukuyama-osteo-bnr__arrow {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #8dc21f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}
@media (max-width: 639px) {
  .fukuyama-osteo-bnr {
    padding: 20px;
    flex-wrap: wrap;
    gap: 15px;
  }
}

/* ============================================================
   ごあいさつ（TOP） 写真2枚 + テキストレイアウト
   ============================================================ */
.fukuyama-greeting-wrap {
  display: flex;
  align-items: flex-start;
  gap: 50px;
}
.fukuyama-greeting-wrap__photos {
  flex-shrink: 0;
  width: 48%;
  position: relative;
  padding-bottom: 60px;
}
.fukuyama-greeting-wrap__photos .photo-main {
  width: 90%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.fukuyama-greeting-wrap__photos .photo-main img {
  width: 100%;
  height: 340px;
  object-fit: cover;
}
.fukuyama-greeting-wrap__photos .photo-sub {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 45%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
  border: 4px solid #fff;
}
.fukuyama-greeting-wrap__photos .photo-sub img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}
.fukuyama-greeting-wrap__body {
  flex: 1;
  padding-top: 10px;
}
.fukuyama-greeting-wrap__body .sentence p,
.fukuyama-greeting-wrap__body .heading__en,
.fukuyama-greeting-wrap__body .heading__ja {
  text-shadow:
    1px  1px 0 #fff,
   -1px  1px 0 #fff,
    1px -1px 0 #fff,
   -1px -1px 0 #fff,
    2px  0   0 #fff,
   -2px  0   0 #fff,
    0    2px  0 #fff,
    0   -2px  0 #fff;
}
@media (max-width: 896px) {
  .fukuyama-greeting-wrap {
    flex-direction: column;
    gap: 30px;
  }
  .fukuyama-greeting-wrap__photos {
    width: 100%;
    padding-bottom: 50px;
  }
}
@media (max-width: 639px) {
  .fukuyama-greeting-wrap__photos .photo-main img {
    height: 220px;
  }
  .fukuyama-greeting-wrap__photos .photo-sub img {
    height: 140px;
  }
}

/* ============================================================
   診療メニュー 3カラム（TOP）
   ============================================================ */
.fukuyama-medical-list {
  list-style: none;
  margin: 0 0 50px;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 40px;
}
.fukuyama-medical-list li {
  flex: 1;
  max-width: 240px;
}
.fukuyama-medical-list a {
  display: block;
  text-align: center;
  text-decoration: none;
}
.fukuyama-medical-list figure {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: #fefefe;
  box-shadow: 0 0 0 7px #8dc21f;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transform: translateY(-4px);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.fukuyama-medical-list figure img {
  width: 80px;
  height: 80px;
  object-fit: contain;
  display: block;
}
.fukuyama-medical-list__title {
  font-size: 1.7rem;
  font-weight: 700;
  color: #261a17;
  transition: color 0.2s;
}
.fukuyama-medical-list a:hover figure {
  transform: translateY(-12px);
  box-shadow: 0 0 0 7px #8dc21f, 0 8px 20px rgba(141, 194, 31, 0.3);
}
.fukuyama-medical-list a:hover .fukuyama-medical-list__title {
  color: #8dc21f;
}
@media (max-width: 639px) {
  .fukuyama-medical-list {
    gap: 20px;
    flex-direction: column;
    align-items: center;
  }
  .fukuyama-medical-list li {
    max-width: none;
    width: 100%;
  }
  .fukuyama-medical-list figure {
    width: 110px;
    height: 110px;
    box-shadow: 0 0 0 5px #8dc21f;
  }
  .fukuyama-medical-list figure img {
    width: 56px;
    height: 56px;
  }
  .fukuyama-medical-list__title {
    font-size: 1.4rem;
  }
}

/* ============================================================
   ページヒーロー（下層ページ）カラー調整
   ============================================================ */
.page-hero--solid-sub {
  background: #e6f1d1;
}
/* サブカラー下地 + グラデ */
.page-hero--solid-sub .page-hero__content {
  background: linear-gradient(135deg, #8dc21f 0%, #00913a 100%);
  justify-content: center;
  align-items: center;
  text-align: center;
}
.page-hero--sm {
  min-height: 170px;
}
.page-hero--sm .page-hero__content {
  min-height: 170px;
}

/* ============================================================
   footer CTA カスタム
   ============================================================ */
.footer-cta::before {
  background: #8dc21f;
}
.footer-cta {
  padding: 80px 0;
}
@media (max-width: 639px) {
  .footer-cta {
    padding: 50px 0;
  }
}

/* CTA 内ボタン */
.btn-cta-tel {
  color: #fff;
  font-size: 3.2rem;
}
.btn-cta-tel::before {
  color: #fff;
}

/* ============================================================
   コンタクトバナー（2カラム横並び）
   ============================================================ */
.fukuyama-contact-cta {
  background: #8dc21f;
  border-top: 3px solid #00913a;
}
.fukuyama-contact-cta__inner {
  display: flex;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 5%;
  gap: 0;
}

/* 左: CONTACT + お問い合わせ */
.fukuyama-contact-cta__left {
  flex-shrink: 0;
  width: 240px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-right: 40px;
}
.fukuyama-contact-cta__en {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2em;
  opacity: 0.85;
}
.fukuyama-contact-cta__ja {
  font-size: 2.6rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* 縦線 */
.fukuyama-contact-cta__divider {
  width: 1px;
  align-self: stretch;
  background: rgba(255, 255, 255, 0.5);
  flex-shrink: 0;
}

/* 右: 説明 + 電話番号 + 受付時間 */
.fukuyama-contact-cta__right {
  flex: 1;
  padding-left: 40px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fukuyama-contact-cta__desc {
  font-size: 2rem;
  color: #fff;
  line-height: 1.6;
}
.fukuyama-contact-cta__tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 4rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.04em;
  line-height: 1;
  transition: opacity 0.2s;
}
.fukuyama-contact-cta__tel:hover {
  opacity: 0.85;
}
.fukuyama-contact-cta__tel .fas {
  font-size: 2.4rem;
}
.fukuyama-contact-cta__hours {
  font-size: 1.8rem;
  color: rgba(255, 255, 255, 0.9);
}

/* レスポンシブ */
@media (max-width: 896px) {
  .fukuyama-contact-cta__inner {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 36px 5%;
  }
  .fukuyama-contact-cta__left {
    width: auto;
    padding-right: 0;
  }
  .fukuyama-contact-cta__divider {
    width: 60px;
    height: 1px;
    align-self: auto;
  }
  .fukuyama-contact-cta__right {
    padding-left: 0;
    align-items: center;
    text-align: center;
  }
  .fukuyama-contact-cta__tel {
    font-size: 2.6rem;
  }
}
@media (max-width: 639px) {
  .fukuyama-contact-cta__ja {
    font-size: 2.2rem;
  }
  .fukuyama-contact-cta__tel {
    font-size: 2.2rem;
  }
}

/* ============================================================
   フッター（新レイアウト）
   ============================================================ */

.fukuyama-footer {
  background: #fff;
}

/* 共通インナーコンテナ */
.fukuyama-footer__inner {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 3%;
}

/* ---- 上段: ブランド情報 + ナビ ---- */
.fukuyama-footer__top {
  padding: 48px 0 40px;
  border-top: 3px solid #00913a;
}
.fukuyama-footer__top .fukuyama-footer__inner {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

/* ロゴ・医院情報 */
.fukuyama-footer__brand {
  flex-shrink: 0;
  width: 400px;
}
.fukuyama-footer__logo {
  display: inline-block;
  margin-bottom: 14px;
}
.fukuyama-footer__logo img {
  max-width: 100%;
  height: auto;
}
.fukuyama-footer__clinic-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #261a17;
  margin-bottom: 8px;
  line-height: 1.4;
}
.fukuyama-footer__address {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.9;
  font-style: normal;
}
.fukuyama-footer__address a {
  color: #8dc21f;
  text-decoration: none;
}
.fukuyama-footer__address a:hover {
  text-decoration: underline;
}

/* フッターナビ（アイコン + テキスト 3列グリッド） */
.fukuyama-footer__nav {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 16px;
}
.fukuyama-footer__nav-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  padding: 10px 6px 8px;
  border-radius: 8px;
  transition: background 0.2s, opacity 0.2s;
}
.fukuyama-footer__nav-item a:hover {
  background: #f4f8e8;
  opacity: 1;
}
.fukuyama-footer__nav-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  display: block;
  margin-bottom: 5px;
  transition: opacity 0.2s;
}
.fukuyama-footer__nav-item a:hover .fukuyama-footer__nav-icon {
  opacity: 0.8;
}
.fukuyama-footer__nav-item span {
  font-size: 1.5rem;
  color: #261a17;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
}
.fukuyama-footer__nav-item a:hover span {
  color: #8dc21f;
}

/* ---- 中段: 診療時間 + Googleマップ ---- */
.fukuyama-footer__middle {
  padding: 0 0 56px;
}
.fukuyama-footer__middle .fukuyama-footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* 診療時間ブロック */
.fukuyama-footer__schedule {
  background: #f4f8e8;
  border-radius: 8px;
  padding: 28px 24px;
}
.fukuyama-footer__section-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #261a17;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid #8dc21f;
}

/* Googleマップブロック */
.fukuyama-footer__map {
  border-radius: 8px;
  overflow: hidden;
  min-height: 320px;
  position: relative;
}
.fukuyama-footer__map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ---- コピーライトバー ---- */
.footer-bottom {
  background: #00913a;
}
.footer-bottom__copyright {
  color: #fff;
  font-size: 1.2rem;
}

/* ---- レスポンシブ ---- */
@media (max-width: 1100px) {
  .fukuyama-footer__top .fukuyama-footer__inner {
    flex-direction: column;
    gap: 30px;
  }
  .fukuyama-footer__brand {
    width: 100%;
  }
  .fukuyama-footer__nav {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }
}
@media (max-width: 896px) {
  .fukuyama-footer__middle .fukuyama-footer__inner {
    grid-template-columns: 1fr;
  }
  .fukuyama-footer__map {
    min-height: 280px;
  }
}
@media (max-width: 639px) {
  .fukuyama-footer__top {
    padding: 36px 0 30px;
  }
  .fukuyama-footer__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 12px;
  }
  .fukuyama-footer__nav-icon {
    width: 36px;
    height: 36px;
  }
  .fukuyama-footer__schedule {
    padding: 20px 16px;
  }
  .fukuyama-footer__schedule .table-scroll > table {
    min-width: 0;
    width: 100%;
  }
  .fukuyama-footer__schedule .table-hours th,
  .fukuyama-footer__schedule .table-hours td {
    font-size: 1.2rem;
    padding: 6px 2px;
  }
  .fukuyama-footer__schedule .table-hours thead th {
    font-size: 1.2rem;
  }
  .fukuyama-footer__schedule .table-hours th:first-child {
    padding-left: 6px;
  }
  .fukuyama-footer__map {
    min-height: 240px;
  }
  .fukuyama-footer__middle {
    padding: 0 0 40px;
  }
}

/* ============================================================
   ページトップボタン
   ============================================================ */
.page-top__link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid #261a17;
  background: #fff;
  color: #261a17;
  font-size: 1.4rem;
}
.page-top__link:hover {
  background: #8dc21f;
  color: #fff;
  border-color: #8dc21f;
}

/* ============================================================
   SP 固定バー
   ============================================================ */
.fukuyama-sp-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 150;
}
@media (max-width: 896px) {
  .fukuyama-sp-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .page-top {
    bottom: 60px;
  }
}
.fukuyama-sp-bar__item a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 5px;
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  background: #8dc21f;
  text-decoration: none;
}
.fukuyama-sp-bar__item:nth-child(2) a {
  background: #00913a;
}
.fukuyama-sp-bar__item a i {
  font-size: 1.8rem;
}

/* ============================================================
   院長紹介レイアウト（about.php）
   ============================================================ */
.fukuyama-doctor {
  display: block;
}
.fukuyama-doctor__left {
  width: 100%;
}
.fukuyama-doctor__photo-wrap {
  background: #e6f1d1;
  border-radius: 8px;
  overflow: hidden;
  padding: 24px 24px 0;
}
.fukuyama-doctor__photo {
  width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 4px 4px 0 0;
}
.fukuyama-doctor__name-block {
  border-left: 4px solid #8dc21f;
  padding: 14px 16px;
  margin-top: 16px;
}
.fukuyama-doctor__name {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fukuyama-doctor__label {
  font-size: 1.2rem;
  font-weight: 700;
  color: #8dc21f;
  letter-spacing: 0.1em;
}
.fukuyama-doctor__ja {
  font-size: 2.8rem;
  font-weight: 700;
  color: #261a17;
  letter-spacing: 0.05em;
  line-height: 1.2;
}
.fukuyama-doctor__kana {
  font-size: 1.8rem;
  color: #777;
  font-weight: 400;
}
.fukuyama-doctor__right {
  flex: 1;
  min-width: 0;
}

/* ============================================================
   施設紹介グリッド（about.php）
   ============================================================ */
.fukuyama-facility-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 896px) {
  .fukuyama-facility-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 639px) {
  .fukuyama-facility-grid {
    grid-template-columns: 1fr;
  }
}
.fukuyama-facility-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  border-top: 4px solid #8dc21f;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.fukuyama-facility-card__img {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.fukuyama-facility-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fukuyama-facility-card__title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #8dc21f;
  margin-bottom: 8px;
  padding: 16px 18px 0;
}
.fukuyama-facility-card__text {
  font-size: 1.6rem;
  line-height: 1.8;
  color: #555;
  padding: 0 18px 18px;
}

/* ============================================================
   求人イメージ画像（recruit.php）
   ============================================================ */
.fukuyama-recruit-img {
  width: 800px !important;
  max-width: 100% !important;
  height: auto !important;
  display: block;
  margin: 0 auto;
}

/* ============================================================
   選考の流れ・フローコンポーネント（recruit.php）
   ============================================================ */
.fukuyama-flow {
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
}
.fukuyama-flow__item {
  position: relative;
  background: #fff;
  border: 2px solid #8dc21f;
  border-radius: 8px;
  padding: 20px 16px;
  text-align: center;
  flex: 1;
  min-width: 140px;
}
.fukuyama-flow__item::after {
  content: "▶";
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: #8dc21f;
  z-index: 1;
}
.fukuyama-flow__item:last-child::after {
  display: none;
}
.fukuyama-flow__num {
  font-size: 2rem;
  font-weight: 700;
  color: #8dc21f;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.fukuyama-flow__text {
  font-size: 2.3rem;
  font-weight: 700;
  color: #261a17;
}
@media (max-width: 639px) {
  .fukuyama-flow {
    flex-direction: column;
    align-items: center;
  }
  .fukuyama-flow__item {
    width: 100%;
    max-width: 300px;
  }
  .fukuyama-flow__item::after {
    content: "▼";
    right: auto;
    left: 50%;
    top: auto;
    bottom: -20px;
    transform: translateX(-50%);
  }
}

/* ============================================================
   ボタン色上書き
   ============================================================ */
.btn--solid {
  background: #8dc21f;
  border-color: #8dc21f;
  color: #fff;
}
.btn--solid:hover {
  background: #6e9718;
  border-color: #6e9718;
}
.btn--outline {
  border-color: #8dc21f;
  color: #8dc21f;
}
.btn--outline:hover {
  background: #8dc21f;
  color: #fff;
}

/* ============================================================
   bg-svg（下層ページ 装飾 SVG 背景）
   ============================================================ */
.fukuyama-bg-svg {
  position: relative;
  overflow: hidden;
}
.fukuyama-bg-svg::before {
  position: absolute;
  content: "";
  width: 35%;
  height: 50%;
  top: 0;
  left: 0;
  background: url("https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28027/bg-green.svg") no-repeat top left / contain;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}
.fukuyama-bg-svg::after {
  position: absolute;
  content: "";
  width: 35%;
  height: 50%;
  bottom: 0;
  right: 0;
  background: url("https://ros-cdn.s3.ap-northeast-1.amazonaws.com/hp/img/ros_keiyaku/28027/bg-green02.svg") no-repeat bottom right / contain;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}
.fukuyama-bg-svg > * {
  position: relative;
  z-index: 1;
}
@media (max-width: 896px) {
  .fukuyama-bg-svg::before {
    width: 40%;
    height: 40%;
  }
  .fukuyama-bg-svg::after {
    width: 60%;
    height: 60%;
  }
}

/* ============================================================
   フォントサイズ上書き
   ============================================================ */
.heading .heading__ja {
  font-size: 2.8rem;
}
@media (max-width: 639px) {
  .heading .heading__ja {
    font-size: 2rem;
  }
}

/* ============================================================
   見出しアクセント色上書き
   ============================================================ */
/* :where() は specificity 0 なので .heading__en (0,1,0) で上書き可能 */
.heading__en {
  color: #386505;
}
:where(.heading) .heading__en {
  color: #386505;
}
:where(.heading-bar) .heading__en {
  color: #386505;
}
.heading__sub {
  color: #8dc21f;
}
.heading__number {
  color: #8dc21f;
}
.heading-bar {
  border-left: 6px solid #8dc21f;
}
.heading-bar--two-tone {
  border-left-color: #8dc21f;
}
.heading-bar--two-tone::before {
  background: #00913a;
}
.heading-accent {
  color: #8dc21f;
}
.heading-accent::before {
  background: #8dc21f;
}

/* ============================================================
   mbox アクセント上書き
   ============================================================ */
.mbox--top-accent {
  border-top: 4px solid #8dc21f;
}
.mbox--border {
  border: 2px solid #8dc21f;
}

/* ============================================================
   テーブル基本（基本情報・求人など）
   ============================================================ */
.table-basic a {
  color: #00913a;
}
.fukuyama-treatment-section .table-basic td {
  background: #fff;
}
.table-basic th {
  background: #00913a;
  color: #fff;
}
.table-basic--th-side th {
  background: #00913a;
  color: #fff;
  width: 25%;
}
.table-stripe tbody tr:nth-child(odd) th,
.table-stripe tbody tr:nth-child(odd) td {
  background: #f4f8e8;
}

/* ============================================================
   card-icon アクセント色（rehabilitaion / sports）
   ============================================================ */
.card-icon .text-accent {
  color: #8dc21f;
}

/* ============================================================
   card-flow アクセント色上書き（about.php 診察の流れ）
   ============================================================ */
.card-flow__body {
  font-size: 1.8rem;
}
:where(.heading-bar) .heading__ja {
  font-size: 1.8rem;
}
.card-flow__number {
  color: #8dc21f;
}
.card-flow__number--badge {
  background: #8dc21f;
}
.card-flow__connector {
  color: #8dc21f;
}
.card-flow--4col .card-flow__number {
  color: #8dc21f;
  font-size: 2.2rem;
  text-align: center;
}
.card-flow--4col .card-flow__item {
  text-align: left;
}
.card-flow--4col .card-flow__item:not(:last-child)::after {
  border-top-color: #8dc21f;
  border-right-color: #8dc21f;
}
.card-flow--4col .card-flow__icon {
  background: rgba(141,194,31,0.08);
  color: #8dc21f;
}
.card-flow__icon img {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin: 0 auto;
}

/* ============================================================
   table-border アクセント上書き
   ============================================================ */
.table-border {
  border-color: #8dc21f;
}
.table-border th {
  background: #8dc21f;
}

/* ============================================================
   list-check / list-dot アクセント
   ============================================================ */
.list-check li::before {
  border-color: #00913a;
}
.list-dot li::before {
  background: #8dc21f;
}

/* アクセスリスト（住所・交通案内・駐車場）アイコン */
.fukuyama-access-list {
  list-style: none;
  padding-left: 0;
}
.fukuyama-access-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 4px 0;
}
.fukuyama-access-list li i {
  margin-top: 9px;
  color: #00913a;
  flex-shrink: 0;
  width: 16px;
  text-align: center;
}
.fukuyama-access-list__label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  flex-shrink: 0;
}
.fukuyama-access-list__label i {
  margin-top: 4px;
  color: #00913a;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}
@media (max-width: 639px) {
  .fukuyama-access-list li {
    flex-direction: column;
    gap: 2px;
  }
  .fukuyama-access-list__label i {
    margin-top: 2px;
  }
}

/* ============================================================
   table-hours（診療時間）は main.css にないため完全定義済み
   ============================================================ */

/* ============================================================
   診療時間セクション — 波模様背景（bg-03 参考）
   ============================================================ */
.fukuyama-hours-wave {
  position: relative;
  z-index: auto;
  background: #e6f1d1;
  margin: 40px 0 0;
  padding: 60px 0;
}
.fukuyama-hours-wave::before {
  display: none;
}
.fukuyama-hours-wave::after {
  position: absolute;
  display: block;
  width: 100%;
  height: 240px;
  content: "";
  z-index: 1;
  bottom: -240px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1920 240'><path fill='%23e6f1d1' d='M0.2,240L0,111.3c0,0,112-61.3,267-88.3C326.6,12.6,457,0,487,0c78,0,227.6,7,411.5,77.2c186.8,71.3,381.7,108.3,512.7,108.3c146.9,0,274.2,3.7,508.9-71.9V240H0.2z'/></svg>") no-repeat center bottom / cover;
  transform: rotate(180deg);
}
.fukuyama-hours-wave > * {
  position: relative;
  z-index: 1;
}

/* ============================================================
   bg-base2 相当 — 波が乗る次セクションの背景（z-index: -2）
   ============================================================ */
.fukuyama-bg-base2 {
  position: relative;
  padding-top: 60px !important;
}
@media (max-width: 896px) {
  .fukuyama-bg-base2 {
    padding-top: 80px !important;
  }
}
.fukuyama-bg-base2::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: #f4f8e8;
  z-index: -1;
}
.fukuyama-bg-base2 > * {
  position: relative;
  z-index: 2;
}

@media (max-width: 896px) {
  .fukuyama-hours-wave {
    margin: 50px 0 0;
  }
  .fukuyama-hours-wave::after {
    height: 50px;
    bottom: -50px;
  }
}

/* ============================================================
   general.php お子さんセクション イラスト
   ============================================================ */
.fukuyama-kids-wrap {
  position: relative;
}
.fukuyama-kids-wrap__img {
  text-align: center;
  margin-bottom: -20px;
  position: relative;
  z-index: -1;
}
.fukuyama-kids-wrap__img img {
  width: 220px;
  height: auto;
}
@media (max-width: 639px) {
  .fukuyama-kids-wrap__img img {
    width: 160px;
  }
}

/* ============================================================
   rehabilitation.php リハビリ機器テーブル 画像セル
   ============================================================ */
.fukuyama-equip-img {
  padding: 8px;
  text-align: center;
  vertical-align: middle;
}
.table-stripe tbody th {
  color: #333;
}
.table-stripe tbody tr:nth-child(even) th,
.table-stripe tbody tr:nth-child(even) td {
  background: #eceff3;
}
.fukuyama-equip-img img {
  width: 140px;
  height: 100px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
}

/* ============================================================
   rehabilitation.php 物理療法・運動療法 高さ統一
   ============================================================ */
.fukuyama-rehab-therapy-cols {
  align-items: stretch;
}
.fukuyama-rehab-therapy-cols .column2__child {
  display: flex;
  flex-direction: column;
}
.fukuyama-rehab-therapy-cols .column2__child .card-icon {
  flex: 1;
}

/* ============================================================
   sports.php 当院の治療セクション デコレーション
   ============================================================ */
.fukuyama-sports-treatment .sentence p {
  text-shadow:
    1px  1px 0 #fff,
   -1px  1px 0 #fff,
    1px -1px 0 #fff,
   -1px -1px 0 #fff,
    2px  0   0 #fff,
   -2px  0   0 #fff,
    0    2px  0 #fff,
    0   -2px  0 #fff;
}
.fukuyama-sports-treatment {
  position: relative;
  overflow: hidden;
}
.fukuyama-sports-treatment__deco {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 260px;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 896px) {
  .fukuyama-sports-treatment__deco {
    width: 160px;
  }
}

.card-icon__title {
  font-size: 2rem;
}
.card-icon__text {
  font-size: 1.8rem;
  color: #333;
  text-align: left;
}

/* ============================================================
   about.php ご挨拶セクション 葉デコレーション
   ============================================================ */
.fukuyama-about-greeting {
  position: relative;
  overflow: hidden;
}
.fukuyama-about-leaf {
  position: absolute;
  top: 0;
  pointer-events: none;
  z-index: 0;
  width: 500px;
}
.fukuyama-about-leaf--tl {
  left: 0;
}
.fukuyama-about-leaf--tr {
  right: 0;
}
@media (max-width: 896px) {
  .fukuyama-about-leaf {
    width: 160px;
  }
}

/* ============================================================
   お知らせセクション デコレーション
   ============================================================ */
.fukuyama-news-section {
  position: relative;
  overflow: hidden;
}
.fukuyama-news-deco {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 300px;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 896px) {
  .fukuyama-news-deco {
    width: 130px;
  }
}

/* ============================================================
   ごあいさつセクション 花デコレーション
   ============================================================ */
.fukuyama-greeting-section {
  position: relative;
  overflow: hidden;
}
.fukuyama-greeting-hana {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}
.fukuyama-greeting-hana--tr {
  top: 0;
  right: 0;
  width: 338px;
  height: 583px;
  object-fit: contain;
  object-position: top right;
}
.fukuyama-greeting-hana--bl {
  bottom: 0;
  left: 0;
  width: 338px;
  height: 583px;
  object-fit: contain;
  object-position: bottom left;
}
@media (max-width: 896px) {
  .fukuyama-greeting-hana--tr,
  .fukuyama-greeting-hana--bl {
    width: 160px;
  }
}