@charset "UTF-8";
/* 1. ボックスモデルの定義：paddingやborderを幅に含める */
*, *::before, *::after {
  box-sizing: border-box;
}

/* 2. デフォルトの余白をリセット */
* {
  margin: 0;
  padding: 0;
}

/* 3. 本文のセットアップ：スクロールを滑らかにし、ベースの行間を整える */
html {
  color-scheme: light dark; /* ダークモード対応 */
}

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased; /* フォントを綺麗に見せる（mac/iOS用） */
  text-rendering: optimizeSpeed;
}

/* 4. 画像やメディア要素の扱い：親要素からはみ出さないようにする */
img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

/* 5. フォーム要素のフォント継承：inputやbuttonが独自のフォントにならないように */
input, button, textarea, select {
  font: inherit;
}

/* 6. テキストエリアのサイズ調整を縦方向のみに制限 */
textarea {
  resize: vertical;
}

/* 7. リストの記号を消す（必要に応じて） */
ul, ol {
  list-style: none;
}

/* 8. アニメーションを好まないユーザーへの配慮（アクセシビリティ） */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
:root {
  /* ウェイトの定義 */
  --weight-normal: 400;
  --weight-bold: 700;
  --color-primary: #f28633;
  --color-text: #454545;
  --color-bg-light: #fdfaf5;
  --font-main: "Roboto", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --header-height-pc: 110px;
  --header-height-sticky: 80px;
  --header-height-sp: 60px;
  --transition: 0.3s ease;
  /* Fluid Typography: 16px */
  --fz-base: 1rem;
  --inner-width: 1240px;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body {
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeSpeed;
  font-family: var(--font-main);
  color: var(--color-text);
  font-size: var(--fz-base);
  font-size-adjust: 0.51;
}

a {
  color: inherit;
  text-decoration: none;
}

.is-block {
  display: block !important;
}

.is-inline {
  display: inline !important;
}

.is-inline-block {
  display: inline-block !important;
}

.is-none {
  display: none !important;
}

@media screen and (max-width: 767px) {
  .is-mobile-block {
    display: block !important;
  }
  .is-mobile-inline {
    display: inline !important;
  }
  .is-mobile-inline-block {
    display: inline-block !important;
  }
  .is-mobile-none {
    display: none !important;
  }
}
@media screen and (min-width: 576px) {
  .is-fablet-block {
    display: block !important;
  }
  .is-fablet-inline {
    display: inline !important;
  }
  .is-fablet-inline-block {
    display: inline-block !important;
  }
  .is-fablet-none {
    display: none !important;
  }
}
@media screen and (min-width: 768px) {
  .is-tablet-block {
    display: block !important;
  }
  .is-tablet-inline {
    display: inline !important;
  }
  .is-tablet-inline-block {
    display: inline-block !important;
  }
  .is-tablet-none {
    display: none !important;
  }
}
@media screen and (min-width: 1000px) {
  .is-desktop-block {
    display: block !important;
  }
  .is-desktop-inline {
    display: inline !important;
  }
  .is-desktop-inline-block {
    display: inline-block !important;
  }
  .is-desktop-none {
    display: none !important;
  }
}
@media screen and (min-width: 1200px) {
  .is-wide-block {
    display: block !important;
  }
  .is-wide-inline {
    display: inline !important;
  }
  .is-wide-inline-block {
    display: inline-block !important;
  }
  .is-wide-none {
    display: none !important;
  }
}
/* ==========================================================================
   Variables (CSS変数)
   ========================================================================== */
:root {
  --header-height-pc: 110px; /* 140pxから110pxに変更 */
  --header-height-sticky: 80px;
  --color-primary: #f38131;
  --color-text: #333;
  --transition: 0.3s;
  --font-main: sans-serif;
}

/* ページ全体の横スクロールを防止 */
body {
  overflow-x: hidden;
}

/* ==========================================================================
   Header Section
   ========================================================================== */
.l-header {
  width: 100%;
  background-color: #fff;
  font-family: var(--font-main);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  transition: background-color var(--transition);
  /* ------------------------------------------------------------------
     Sticky Gimmick (追従時のスタイル)
  ------------------------------------------------------------------ */
}
.l-header.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  animation: headerSlideDown 0.4s ease-out forwards;
  /* 追従時はサブナビ（オレンジ帯）を非表示 */
}
.l-header.is-sticky .l-header-subnav {
  display: none;
}
.l-header.is-sticky {
  /* 追従時の高さスリム化 */
}
.l-header.is-sticky .l-header-inner {
  height: var(--header-height-sticky);
}
.l-header.is-sticky {
  /* ロゴのスリム化 */
}
.l-header.is-sticky .l-header-logo {
  width: 240px; /* 110pxに合わせて少し小さめに調整 */
}
.l-header.is-sticky {
  /* メインナビを中央寄せ */
}
.l-header.is-sticky .l-header-mainnav {
  margin-top: 0;
  padding-bottom: 0;
  height: 100%;
  display: flex;
  align-items: center;
}
.l-header-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height-pc);
  transition: height 0.3s ease;
}
.l-header {
  /* ロゴエリア */
}
.l-header-logo {
  flex-shrink: 0;
  width: 280px; /* 110pxに合わせて初期サイズも調整 */
  padding-left: 30px;
  transition: width 0.3s ease;
}
.l-header-logo a {
  display: block;
}
.l-header-logo a img {
  width: 100%;
  height: auto;
  display: block;
}
.l-header {
  /* ナビゲーション全体のコンテナ */
}
.l-header-nav-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  height: 100%;
  padding-left: 20px;
}
.l-header {
  /* ------------------------------------------------------------------
     上段：サブナビゲーション（装飾パーツを維持）
  ------------------------------------------------------------------ */
}
.l-header-subnav {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--color-primary);
  color: #fff;
  padding: 0 30px;
  border-radius: 0 0 0 12px;
  height: 40px; /* 高さを明示的に指定して安定させます */
  /* 左側の装飾パーツ */
}
.l-header-subnav::before {
  content: url(../images/common/r.svg);
  display: block;
  width: 24px;
  height: 24px;
  position: absolute;
  left: -24px;
  top: 0px;
  transform: rotate(270deg);
}
.l-header-subnav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0 30px 0 0;
  gap: 20px;
  white-space: nowrap;
}
.l-header-subnav-list li a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px; /* 全体の高さに合わせて少しだけ調整 */
  transition: opacity var(--transition);
}
.l-header-subnav-list li a:hover {
  opacity: 0.8;
}
.l-header {
  /* 電話番号エリア */
}
.l-header-contact {
  display: flex;
  gap: 15px;
  align-items: center;
  white-space: nowrap;
}
.l-header-contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.l-header-contact-label {
  font-size: 10px;
  font-weight: 700;
  border: 1px solid #fff;
  padding: 1px 4px;
  border-radius: 2px;
  line-height: 1.2;
}
.l-header-contact-tel {
  font-size: 20px; /* 高さに合わせて調整 */
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.l-header {
  /* ------------------------------------------------------------------
     下段：メインナビゲーション
  ------------------------------------------------------------------ */
}
.l-header-mainnav {
  margin-top: auto;
  padding-bottom: 10px; /* 110pxに合わせて余白を微調整 */
  padding-right: 30px;
  transition: all 0.3s ease;
}
.l-header-mainnav-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 30px;
  white-space: nowrap;
}
.l-header-mainnav-list li a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 17px; /* 高さに合わせてバランスを調整 */
  transition: color var(--transition);
}
.l-header-mainnav-list li a:hover {
  color: var(--color-primary);
}

/* ヘッダー降下アニメーション */
@keyframes headerSlideDown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}
/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .l-header-nav-area {
    display: none;
  }
  .l-header-inner {
    height: 70px; /* 全体に合わせてスマホ時も微調整 */
  }
  .l-header-logo {
    width: 220px;
  }
  .l-header.is-sticky {
    position: absolute;
    animation: none;
    box-shadow: none;
  }
}
/* ==========================================================================
   Hamburger Button
   ========================================================================== */
.l-header-hamburger {
  display: none; /* PCでは隠す */
  position: relative;
  z-index: 200;
  width: 60px;
  height: 60px;
  background: var(--color-primary);
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 0 0 0 12px; /* サブナビのデザインと統一 */
}
.l-header-hamburger-lines {
  position: relative;
  width: 26px;
  height: 18px;
  display: block;
}
.l-header-hamburger-lines span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}
.l-header-hamburger-lines span:nth-child(1) {
  top: 0;
}
.l-header-hamburger-lines span:nth-child(2) {
  top: 8px;
}
.l-header-hamburger-lines span:nth-child(3) {
  top: 16px;
}
.l-header-hamburger-text {
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  margin-top: 4px;
}

/* ボタン活性化時（×印に変形） */
.is-open .l-header-hamburger-lines span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.is-open .l-header-hamburger-lines span:nth-child(2) {
  opacity: 0;
}
.is-open .l-header-hamburger-lines span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   SP Navigation Overlay
   ========================================================================== */
/* SPメニュー内のヘッダー */
.l-sp-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--color-primary); /* オレンジのラインで引き締める */
}

.l-sp-nav-logo {
  width: 200px;
}
.l-sp-nav-logo img {
  width: 100%;
  height: auto;
}

/* 閉じるボタン（×） */
.l-sp-nav-close {
  width: 44px;
  height: 44px;
  background: #eee;
  border: none;
  border-radius: 50%;
  position: relative;
  cursor: pointer;
}
.l-sp-nav-close span {
  position: absolute;
  top: 50%;
  left: 20%;
  width: 60%;
  height: 2px;
  background: #333;
}
.l-sp-nav-close span:nth-child(1) {
  transform: rotate(45deg);
}
.l-sp-nav-close span:nth-child(2) {
  transform: rotate(-45deg);
}

.l-sp-nav {
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}
.l-sp-nav.is-active {
  opacity: 1;
  visibility: visible;
}
.l-sp-nav-inner {
  padding: 20px;
  height: 100%;
  overflow-y: auto;
}
.l-sp-nav-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}
.l-sp-nav-list li {
  border-bottom: 1px solid #eee;
}
.l-sp-nav-list li a {
  display: block;
  padding: 15px 0;
  color: var(--color-text);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}
.l-sp-nav-sub {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}
.l-sp-nav-sub li a {
  font-size: 14px;
  color: #666;
  text-decoration: underline;
}
.l-sp-nav-tel {
  display: block;
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 20px;
  border-radius: 12px;
  text-decoration: none;
}
.l-sp-nav-tel span {
  font-size: 24px;
  font-weight: 700;
  display: block;
}

/* ==========================================================================
   Mobile Header Adjustments
   ========================================================================== */
@media (max-width: 1024px) {
  /* ヘッダー全体の高さをボタンに合わせる */
  .l-header-inner {
    height: var(--header-height-sp) !important;
  }
  .l-header-logo {
    width: 200px; /* 高さが60pxになるのでロゴも少し小ぶりに調整 */
    padding-left: 15px; /* スマホ用に余白を詰める */
  }
  /* ハンバーガーメニュー自体の設定 */
  .l-header-hamburger {
    display: flex;
    width: var(--header-height-sp); /* 幅と高さをヘッダーと同じにする */
    height: var(--header-height-sp);
    border-radius: 0; /* ヘッダーの端にピッタリ合わせる */
    padding: 0;
    /* 追従時(Sticky)もこのサイズを維持する */
  }
  .l-header.is-sticky .l-header-hamburger {
    height: var(--header-height-sp);
  }
}
/* ==========================================================================
  ページビジュアル
   ========================================================================== */
.page-mv-common {
  padding: 210px 0 100px;
  position: relative;
}
@media screen and (max-width: 767px) {
  .page-mv-common {
    padding: 120px 20px 30px;
  }
}
.page-mv-common .inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
@media screen and (max-width: 767px) {
  .page-mv-common .inner {
    flex-direction: row !important;
    justify-content: flex-start; /* 左詰めでアイコンと文字を並べる */
    align-items: center; /* アイコンと文字の上下中央を揃える */
    gap: 12px; /* アイコンと文字の間の隙間 */
  }
}
.page-mv-common h1 {
  flex: 1;
  text-align: right;
  font-size: clamp(32px, 5.5vw, 88px);
  line-height: 1.3;
  color: var(--color-primary);
  font-weight: 100;
}
@media screen and (max-width: 767px) {
  .page-mv-common h1 {
    font-size: clamp(16px, 5vw, 22px) !important; /* 画面幅に合わせて16〜22pxの間で動的に変化 */
    text-align: left; /* 左側のアイコンに続く形なので左寄せに */
    line-height: 1.4;
  }
}
.page-mv-common .page-icon {
  width: 169px;
  height: 169px;
  flex-shrink: 0; /* 文字が長くなっても絶対にアイコンを潰さない */
  position: relative;
  top: auto;
  transform: none;
}
.page-mv-common .page-icon img {
  width: 100%;
  height: auto;
}
@media screen and (max-width: 767px) {
  .page-mv-common .page-icon {
    width: 42px !important; /* タイトル文字の2行分に収まるサイズ感 */
    height: 42px !important;
    position: relative;
    top: auto;
    transform: none;
  }
}

.inner {
  width: 100%;
  max-width: var(--inner-width);
  margin: 0 auto;
  position: relative;
  padding: 0 20px;
}
@media screen and (max-width: 767px) {
  .inner {
    max-width: auto;
  }
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tag-list a {
  display: inline-block;
  padding: 3px 20px 1px;
  border: #ddd solid 1px;
  font-size: 14px;
  line-height: 1;
  border-radius: 4px;
  color: var(--color-text);
  transition: var(--transition);
}
.tag-list a:hover {
  background-color: var(--color-primary);
  color: #fff;
  border: var(--color-primary) solid 1px;
}

/* 2カラムレイアウト */
.contents-column.__is-two {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}
@media screen and (max-width: 767px) {
  .contents-column.__is-two {
    flex-direction: column;
    gap: 30px;
  }
}

/* メイン */
.contents-main {
  flex: 1;
}
@media screen and (max-width: 767px) {
  .contents-main {
    width: 100%;
    display: block;
  }
}

/* サブエリア（一覧を見るボタン） */
.contents-sub {
  flex: 0 0 160px;
}
@media screen and (max-width: 767px) {
  .contents-sub {
    width: 100%;
    display: block;
  }
}

.contents-sub h2 {
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.sub-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.sub-menu a {
  display: inline-block;
  padding: 3px 20px 1px;
  border: #ddd solid 1px;
  font-size: 14px;
  line-height: 1;
  border-radius: 4px;
  color: var(--color-text);
  transition: var(--transition);
}
.sub-menu a:hover {
  background-color: var(--color-primary);
  color: #fff;
  border: var(--color-primary) solid 1px;
}

.sub-menu a.active {
  background-color: var(--color-primary);
  color: #fff;
  border: var(--color-primary) solid 1px;
}

.grid {
  display: flex;
}
@media screen and (max-width: 767px) {
  .grid {
    display: block;
  }
}

.grid.is-6 {
  justify-content: space-between;
  margin-bottom: 2%;
}
.grid.is-6 .column {
  width: 49%;
}
@media screen and (max-width: 767px) {
  .grid.is-6 .column {
    width: 100%;
    margin-bottom: 10px;
  }
  .grid.is-6 .column iframe {
    width: 100% !important;
  }
}

.grid.is-thumb-layout {
  justify-content: space-between;
  margin-bottom: 2%;
}
.grid.is-thumb-layout .column-textbox {
  width: calc(100% - 450px);
}
@media screen and (max-width: 767px) {
  .grid.is-thumb-layout .column-textbox {
    width: 100%;
    margin-bottom: 15px;
  }
}
.grid.is-thumb-layout .column-imgaebox {
  max-width: 400px;
}

.separate-line {
  display: block;
  width: 100%;
  height: 1px;
  background-color: #ddd;
  margin: 50px auto;
}

.notice-txt {
  font-size: 14px;
}

.is-mb-20 {
  margin-bottom: 20px !important;
}

.is-mb-40 {
  margin-bottom: 40px !important;
}

.is-mb-60 {
  margin-bottom: 60px !important;
}

.is-align-left {
  text-align: left !important;
}

.is-align-center {
  text-align: center !important;
}

.image-warp {
  padding: 80px;
  border-radius: 10px;
  background-color: var(--color-bg-light);
}
@media screen and (max-width: 767px) {
  .image-warp {
    padding: 40px;
  }
}

.image-warp.is-bg-white {
  background-color: #fff;
}

/* ==========================================================================
   見出し
   ========================================================================== */
.headline-ph {
  font-size: 32px;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  flex-direction: column;
  margin-bottom: 40px;
  margin-bottom: 0;
}
@media screen and (max-width: 767px) {
  .headline-ph {
    margin-bottom: 20px;
  }
}
.headline-ph span {
  font-size: 14px;
  color: var(--color-text);
  margin-top: 5px;
}

.headline2 {
  font-size: 30px;
  padding: 15px;
  font-weight: 400;
  color: var(--color-primary);
  border-left: var(--color-primary) solid 1px;
  margin-bottom: 70px;
}
.headline2 .department-icon {
  display: inline-block;
  width: 60px;
  height: 40px;
  position: relative;
  top: 9px;
  left: 20px;
}
.headline2 .department-icon img {
  width: auto;
  height: 100%;
}

.headline2-center {
  font-size: 30px;
  padding: 15px;
  font-weight: 400;
  color: var(--color-primary);
  text-align: center;
  font-weight: 600;
  margin-bottom: 70px;
}
@media screen and (max-width: 767px) {
  .headline2-center {
    margin-bottom: 30px;
  }
}

.headline3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: #ddd solid 1px;
  padding-bottom: 20px;
  margin-bottom: 40px;
}
.headline3.is-no-border {
  border: none;
  padding-bottom: 0;
  margin-bottom: 20px;
}

.headline4 {
  color: var(--color-primary);
  font-size: 18px;
  margin-bottom: 20px;
}

.is-bold {
  font-weight: 700 !important;
}

.is-center {
  text-align: center;
}

/* ==========================================================================
   コンテンツ
   ========================================================================== */
.content p {
  font-size: 16px;
  margin-bottom: 15px;
}

.end-block {
  margin-bottom: 150px !important;
}
@media screen and (max-width: 767px) {
  .end-block {
    margin-bottom: 75px !important;
  }
}

/* ==========================================================================
   リスト
   ========================================================================== */
.nomarl-list li:not(:last-child) {
  list-style: none;
  margin-bottom: 7px;
}

.disc-list li {
  list-style: none;
  margin: 7px 0 7px 20px;
  position: relative;
}
.disc-list li:before {
  content: "";
  width: 5px;
  height: 5px;
  background-color: var(--color-primary);
  border-radius: 5px;
  position: absolute;
  left: -15px;
  top: 10px;
}

.disc-list.is-text-orange li {
  color: var(--color-primary);
}

.disc-list.is-disc-black li::before {
  background-color: var(--color-text);
}

/* ==========================================================================
   テーブルリスト
   ========================================================================== */
/* テーブル全体の枠線（上と左） */
.table-list {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid #E3E3E3;
  border-left: 1px solid #E3E3E3;
  border-radius: 20px;
  overflow: hidden;
  margin: 0;
}
@media screen and (max-width: 767px) {
  .table-list {
    display: block;
  }
}

.table-list dt:first-child {
  border-radius: 20px 0 0 0;
}

.table-list dd:first-child {
  border-radius: 0 20px 0 0;
}

.table-list dt:last-child {
  border-radius: 0 0 0 20px;
}

.table-list dd:last-child {
  border-radius: 0 0 20px 0;
}

/* 左側：項目名（dt） */
.table-list dt {
  flex: 0 0 210px; /* PC時のラベル幅 */
  background-color: var(--color-bg-light);
  color: var(--color-primary);
  font-weight: 700;
  padding: 25px 30px;
  border-right: 1px solid #E3E3E3;
  border-bottom: 1px solid #E3E3E3;
  display: flex;
  align-items: center;
}

.table-list.is-s dt {
  flex: 0 0 130px;
  padding: 15px 15px;
}

/* 右側：内容（dd） */
.table-list dd {
  flex: 1;
  min-width: calc(100% - 210px); /* dtの幅を引いた残りを全て使う */
  margin: 0;
  padding: 25px 30px;
  border-right: 1px solid #E3E3E3;
  border-bottom: 1px solid #E3E3E3;
  background-color: #fff;
}

.table-list.is-s dd {
  min-width: calc(100% - 130px);
  padding: 15px 15px;
}

/* dd内の段落間隔 */
.table-list dd p {
  margin: 0;
  line-height: 1.8;
  color: var(--color-text);
}

.table-list dd p + p {
  margin-top: 10px; /* 複数のpタグがある場合の隙間 */
}

/* ==========================================================================
   グループリスト
   ========================================================================== */
.group-list {
  display: flex;
}
@media (max-width: 768px) {
  .group-list {
    overflow-x: auto; /* 横方向にはみ出した場合にスクロールさせる */
    overflow-y: hidden;
    white-space: nowrap; /* 改行を禁止 */
    -webkit-overflow-scrolling: touch; /* iOSでのスクロールを滑らかにする */
    padding-bottom: 20px; /* スクロールバーとコンテンツの間の余白 */
    /* スクロールバーを非表示にする（デザイン重視の場合） */
  }
  .group-list::-webkit-scrollbar {
    display: none;
  }
  .group-list {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}
.group-list li {
  width: 20%;
  padding: 10px;
  flex-shrink: 0; /* 【重要】親が狭くなっても幅を維持させる */
  /* スマホ時：幅を固定（PC版の20%相当のサイズを維持、あるいは任意の幅に固定） */
}
@media (max-width: 768px) {
  .group-list li {
    width: 220px; /* PCでの見え方に近いサイズで固定。必要に応じて調整してください */
  }
}
.group-list li a {
  display: block;
  position: relative;
  color: var(--color-primary);
  transition: 0.3s;
}
.group-list li a figure {
  margin-bottom: 15px;
  border-radius: 20px;
  overflow: hidden;
  transition: 0.3s;
}
.group-list li a h3 {
  font-size: 18px;
  font-weight: 600;
}
@media (max-width: 768px) {
  .group-list li a h3 {
    white-space: normal; /* テキストは改行を許可 */
    font-size: 16px;
  }
}

.group-list li a:hover {
  color: var(--color-text);
}

.group-list li a:hover figure {
  border-radius: 0;
}

.group-list li a:hover .view-more::after {
  background-color: var(--color-text);
}

.view-more {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-text);
  font-size: 15px;
  font-weight: bold;
  padding-bottom: 5px;
  transition: 0.3s;
  position: absolute;
  right: 0;
  bottom: 0;
}
.view-more::after {
  content: url(../images/common/arrow.svg);
  margin-left: 15px;
  width: 35px;
  height: 35px;
  background-color: var(--color-primary);
  border-radius: 0 20px 0 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
  transition: 0.3s;
}
.view-more:hover {
  color: var(--color-primary);
}

.view-more:hover::after {
  border-radius: 24px;
}

/* ==========================================================================
   card
   ========================================================================== */
.card {
  background-color: var(--color-bg-light);
  border-radius: 10px;
  padding: 2.5%;
}
@media screen and (max-width: 767px) {
  .card {
    padding: 20px;
  }
}
.card h3 {
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 600;
  border-bottom: #ddd solid 1px;
  padding-bottom: 10px;
  margin-bottom: 15px;
}
@media screen and (max-width: 767px) {
  .card h3 {
    font-size: 20px;
  }
}
.card p + p {
  margin-bottom: 15px;
}

.card h3.is-no-border-bottom {
  border-bottom: none;
}

/* ==========================================================================
   アコーディオン
   ========================================================================== */
:root {
  --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.c-accordion {
  max-width: 1200px;
  margin: 20px auto;
  border: 1px solid var(--color-primary);
  border-radius: 8px;
  background-color: var(--color-bg-light);
  overflow: hidden;
}
@media screen and (max-width: 767px) {
  .c-accordion {
    max-width: 90%;
  }
}

/* タイトル部分 */
.c-accordion__title {
  padding: 25px 30px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  user-select: none;
  transition: 0.3s;
}

/* 右側の＋アイコン */
.c-accordion__title::after,
.c-accordion__title::before {
  content: "";
  position: absolute;
  right: 30px;
  width: 20px;
  height: 2px;
  background-color: var(--color-primary);
  transition: transform var(--transition);
}

.c-accordion__title::before {
  transform: rotate(90deg); /* 縦棒 */
}

.c-accordion__title[aria-expanded=true] {
  background-color: var(--color-primary);
  color: #fff;
}

/* 開いている時のアイコン（ーにする） */
.c-accordion__title[aria-expanded=true]::before {
  transform: rotate(0deg);
  background-color: #fff;
  z-index: 2;
}

/* コンテンツ部分 */
.c-accordion__content {
  margin: 0;
  height: 0;
  overflow: hidden;
  transition: height var(--transition);
  background-color: #fff; /* 中身は白背景にすると読みやすい */
}

.c-accordion__inner {
  padding: 20px 30px 40px;
  border-top: 1px solid rgba(242, 134, 51, 0.2);
}
.c-accordion__inner p:not(:last-child) {
  margin-bottom: 15px;
}

/* ==========================================================================
   Pagination (WordPress Standard)
   ========================================================================== */
.pagination {
  margin: 100px auto 60px;
  display: flex;
  justify-content: center;
}
.pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pagination .page-numbers {
  /* ここでサイズを一括管理 */
  width: 40px;
  height: 40px;
  /* 中の数字を中央配置にするための設定 */
  display: flex;
  align-items: center;
  justify-content: center;
  /* デザイン装飾 */
  background-color: transparent;
  color: var(--color-text);
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  border-radius: 8px;
  transition: all var(--transition);
  /* 現在のページ（span）とホバー時のスタイル */
}
.pagination .page-numbers.current, .pagination .page-numbers:hover:not(.current) {
  background-color: var(--color-primary);
  color: #fff;
}
.pagination .page-numbers {
  /* 前へ・次へボタン (a.prev / a.next) */
}
.pagination .page-numbers.prev, .pagination .page-numbers.next {
  background-color: var(--color-primary);
}
.pagination .page-numbers.prev img, .pagination .page-numbers.next img {
  width: 12px;
  height: auto;
  /* 元のSVGが黒の場合、白く見せるための処理 */
  filter: brightness(0) invert(1);
  transform: rotate(90deg);
}
.pagination .page-numbers.prev img.is-prev, .pagination .page-numbers.next img.is-prev {
  transform: rotate(-90deg);
}
.pagination .page-numbers.prev:hover, .pagination .page-numbers.next:hover {
  filter: brightness(1.1);
}
.pagination .page-numbers {
  /* スマートフォン等、画面が小さい時の調整 */
}
@media (max-width: 640px) {
  .pagination .page-numbers {
    width: 45px;
    height: 45px;
    font-size: 18px;
    border-radius: 8px;
  }
}

@media screen and (max-width: 767px) {
  .pagination {
    margin: 40px auto 60px;
  }
  .pagination .page-numbers {
    width: 30px;
    height: 30px;
    font-size: 14px;
    border-radius: 2px;
  }
}
/* ==========================================================================
  ページ内リンク
  ========================================================================== */
.page-mv-visual {
  position: relative;
}
@media screen and (max-width: 767px) {
  .page-mv-visual {
    padding-top: 60px;
    overflow: hidden;
  }
}
.page-mv-visual::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
}
.page-mv-visual::after {
  content: "";
  display: block;
  width: 100%;
  height: 80px;
  border-radius: 80px 80px 0 0;
  background-color: #fff;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 10;
}
@media screen and (max-width: 767px) {
  .page-mv-visual::after {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .page-mv-visual {
    height: 300px;
  }
}
.page-mv-visual .page-visual {
  width: 100%;
}
@media screen and (max-width: 767px) {
  .page-mv-visual .page-visual {
    margin-top: 0;
    height: 300px;
  }
  .page-mv-visual .page-visual img {
    height: 300px;
    width: auto;
    max-width: none;
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
  }
}
.page-mv-visual .page-headding {
  width: 100%;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  color: #fff;
  transform: translate(-50%, -50%);
}
@media screen and (max-width: 767px) {
  .page-mv-visual .page-headding {
    margin-top: 20px;
  }
}
.page-mv-visual .page-headding h1 {
  text-align: center;
  margin-bottom: 40px;
}
@media screen and (max-width: 767px) {
  .page-mv-visual .page-headding h1 {
    font-size: 24px;
    margin-bottom: 20px;
  }
}

.page-mv-visual .page-anchor-link {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  position: relative;
  z-index: 20;
}
@media screen and (max-width: 767px) {
  .page-mv-visual .page-anchor-link {
    gap: 10px;
  }
}
.page-mv-visual .page-anchor-link a {
  color: #fff;
  text-decoration: underline;
  transition: 0.3s;
}
.page-mv-visual .page-anchor-link .view-more-btn::after {
  transform: rotate(180deg);
}

.page-mv-visual a:hover {
  text-decoration: none;
}

.menu-container {
  background-color: var(--color-bg-light);
  padding: 40px;
  border-radius: 20px;
  margin-bottom: 40px;
}

.menu-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media screen and (max-width: 767px) {
  .menu-list {
    display: block;
  }
}

.menu-item {
  width: calc((100% - 60px) / 4);
  flex: none;
}
@media screen and (max-width: 767px) {
  .menu-item {
    width: 100%;
    margin: 5px 0;
  }
}

/* ボタン本体 */
.menu-link {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border: 2px solid var(--color-primary);
  border-radius: 10px;
  text-decoration: none;
  position: relative;
  padding: 12px 40px 12px 15px;
  transition: var(--transition);
}

.menu-link:hover {
  background-color: var(--color-primary);
}

/* ボタン内テキスト */
.menu-text {
  color: var(--color-primary);
  font-size: 18px;
  font-weight: 700;
  transition: color var(--transition);
}

.menu-link:hover .menu-text {
  color: #fff;
}

/* 右側の矢印（下向きアロー） */
.menu-icon {
  position: absolute;
  top: 19px;
  right: 20px;
  width: 12px;
  height: 12px;
  transform: rotate(180deg);
}

.menu-link:hover .menu-icon {
  border-color: #fff;
}

/* ==========================================================================
  ボタン /　リンク
   ========================================================================== */
.ico-pdf {
  padding: 0 0 0 15px;
  position: relative;
  text-decoration: underline;
  color: var(--color-text);
  margin: 10px 0;
}
.ico-pdf::before {
  display: block;
  content: "";
  width: 10px;
  height: 15px;
  background-image: url(../images/common/icon_pdf.png);
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  left: 0;
  top: 0px;
}
.ico-pdf:hover {
  text-decoration: none;
}

.view-all-btn {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-text);
  font-size: 15px;
  font-weight: bold;
  padding-bottom: 5px;
  transition: 0.3s;
}
.view-all-btn span {
  position: relative;
}
.view-all-btn span::before {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background-color: var(--color-primary);
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: 0.3s;
}
.view-all-btn::after {
  content: url(../images/common/arrow.svg);
  margin-left: 15px;
  width: 35px;
  height: 35px;
  background-color: var(--color-primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
  transition: 0.3s;
}
.view-all-btn:hover {
  color: var(--color-primary);
}

.view-all-btn:hover span::before {
  width: 100%;
}

.view-all-btn:hover::after {
  border-radius: 24px;
}

.contents-sub .view-all-btn {
  margin-top: 40px;
}

.view-more-btn {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-text);
  font-size: 15px;
  font-weight: bold;
  padding-bottom: 5px;
  transition: 0.3s;
}
.view-more-btn::after {
  content: url(../images/common/arrow.svg);
  margin-left: 7px;
  width: 20px;
  height: 20px;
  background-color: var(--color-primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
  transition: 0.3s;
}
.view-more-btn:hover {
  color: var(--color-primary);
}

.view-more-btn:hover span::before {
  width: 100%;
}

.view-more-btn:hover::after {
  border-radius: 12px;
}

.more-link-arrow {
  color: var(--color-text);
  text-decoration: underline;
  margin-right: 25px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.more-link-arrow::after {
  content: url(../images/common/arrow.svg);
  display: inline-flex;
  width: 20px;
  height: 20px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transform: rotate(90deg);
}

/* ==========================================================================
   お知らせ詳細ページ（single）最終修正版
   ========================================================================== */
.section-news {
  padding-bottom: 120px;
}
@media screen and (max-width: 767px) {
  .section-news {
    padding-bottom: 60px;
  }
}

.entry-header {
  border-bottom: 1px solid #ddd;
  padding-bottom: 30px;
  margin-bottom: 40px;
}
@media screen and (max-width: 767px) {
  .entry-header {
    padding-bottom: 20px;
    margin-bottom: 30px;
  }
}
.entry-header .meta {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}
.entry-header .meta .date {
  font-size: 14px;
  color: var(--color-text);
}
.entry-header .meta .cat {
  display: inline-block;
  padding: 4px 15px 3px;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  border-radius: 4px;
  line-height: 1;
}
.entry-header .entry-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .entry-header .entry-title {
    font-size: 20px;
  }
}

/* 本文エリア */
.entry-body {
  margin-bottom: 100px;
}
@media screen and (max-width: 767px) {
  .entry-body {
    margin-bottom: 60px;
  }
}
.entry-body p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
}
.entry-body hr, .entry-body .wp-block-separator {
  display: none !important;
}

/* ⭕️ 修正：詳細度を上げ（.contents-mainを付与）、スマホ時の挙動を限界まで安定化 */
.contents-main .entry-navigation {
  display: flex !important; /* 強制的にflexを維持 */
  flex-direction: row !important; /* スマホでも絶対に横並び */
  justify-content: center;
  align-items: center;
  gap: 40px;
  border-top: 1px solid #ddd;
  padding-top: 60px;
  margin-top: 50px;
}
@media screen and (max-width: 767px) {
  .contents-main .entry-navigation {
    gap: 10px !important; /* 隙間をさらにタイトにして画面内に収める */
    padding-top: 40px;
    justify-content: space-between !important;
  }
}
.contents-main .entry-navigation {
  /* ボタン個別設定 */
}
.contents-main .entry-navigation .nav-btn {
  display: inline-flex !important;
  flex-direction: row !important; /* ボタン単体の中身（箱と文字）も絶対横並び */
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: var(--transition);
}
@media screen and (max-width: 767px) {
  .contents-main .entry-navigation .nav-btn {
    gap: 4px !important;
  }
}
.contents-main .entry-navigation .nav-btn {
  /* テキスト部分（常時下線） */
}
.contents-main .entry-navigation .nav-btn .text {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  text-decoration: underline;
  text-underline-offset: 5px;
  white-space: nowrap !important; /* 絶対に改行させない */
  transition: color var(--transition);
}
@media screen and (max-width: 767px) {
  .contents-main .entry-navigation .nav-btn .text {
    font-size: 12px !important; /* スマホでは限界まで文字を小さくして収める */
  }
}
.contents-main .entry-navigation .nav-btn {
  /* オレンジの矢印ボックス */
}
.contents-main .entry-navigation .nav-btn .arrow-box {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--color-primary);
  border-radius: 6px;
  position: relative;
  flex-shrink: 0 !important; /* 絶対に潰さない */
  transition: var(--transition);
}
@media screen and (max-width: 767px) {
  .contents-main .entry-navigation .nav-btn .arrow-box {
    width: 28px !important; /* スマホ用にコンパクト化 */
    height: 28px !important;
  }
}
.contents-main .entry-navigation .nav-btn .arrow-box::after {
  content: "";
  display: block;
  width: 14px;
  height: 14px;
  background-image: url(../images/common/arrow.svg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  filter: brightness(0) invert(1);
  transition: var(--transition);
}
@media screen and (max-width: 767px) {
  .contents-main .entry-navigation .nav-btn .arrow-box::after {
    width: 8px !important;
    height: 8px !important;
  }
}
.contents-main .entry-navigation .nav-btn .arrow-box.__left::after {
  transform: rotate(-90deg);
}
.contents-main .entry-navigation .nav-btn .arrow-box.__right::after {
  transform: rotate(90deg);
}
.contents-main .entry-navigation .nav-btn:hover .text {
  color: var(--color-primary);
}
.contents-main .entry-navigation .nav-btn:hover .arrow-box {
  background-color: var(--color-text);
  border-radius: 12px;
}

.l-footer {
  width: 100%;
  color: var(--color-text);
  font-family: var(--font-main);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background-color: #FBFAF6;
}
@media screen and (max-width: 767px) {
  .l-footer {
    padding: 40px 0 80px;
  }
}
.l-footer-inner {
  max-width: var(--inner-width);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}
@media screen and (max-width: 767px) {
  .l-footer-inner {
    gap: 0px;
    padding: 0 20px;
  }
}
.l-footer-brand {
  flex: 0 0 400px;
}
.l-footer-brand .l-footer-logo {
  margin-bottom: 20px;
}
.l-footer-brand .l-footer-logo img {
  width: 100%;
  max-width: 300px;
  height: auto;
  display: block;
}
.l-footer-brand .l-footer-address {
  font-style: normal;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text-light);
  margin-bottom: 60px;
}
@media screen and (max-width: 767px) {
  .l-footer-brand .l-footer-address {
    margin-bottom: 20px;
  }
}
.l-footer-brand .l-footer-catchphrase {
  font-size: 32px;
  font-weight: bold;
  line-height: 1.4;
  color: var(--color-primary);
  margin-bottom: 40px;
  letter-spacing: 0.05em;
  margin-top: 180px;
}
@media screen and (max-width: 767px) {
  .l-footer-brand .l-footer-catchphrase {
    font-size: 24px;
    margin-bottom: 20px;
    margin-top: 0;
  }
}
.l-footer-brand .l-footer-copyright {
  font-size: 11px;
  color: var(--color-text-light);
  margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
  .l-footer-brand .l-footer-copyright {
    display: none;
  }
}
.l-footer-content {
  flex: 1;
  padding-left: 60px;
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 40px;
  border-left: #ddd solid 1px;
}
.l-footer-contact-label {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
}
.l-footer-contact .l-footer-tel {
  font-size: 36px;
  font-weight: bold;
  color: var(--color-primary);
  text-decoration: none;
  line-height: 1;
  transition: opacity 0.3s;
}
.l-footer-contact .l-footer-tel:hover {
  opacity: 0.7;
}
.l-footer-nav-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}
@media screen and (max-width: 767px) {
  .l-footer-nav-wrapper {
    gap: 10px;
    font-size: 12px;
  }
}
.l-footer-nav-list, .l-footer-group-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
@media screen and (max-width: 767px) {
  .l-footer-nav-list, .l-footer-group-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
}
.l-footer-nav-list li, .l-footer-group-list li {
  margin-bottom: 12px;
}
@media screen and (max-width: 767px) {
  .l-footer-nav-list li, .l-footer-group-list li {
    margin-bottom: 0;
  }
}
.l-footer-nav-list li a, .l-footer-group-list li a {
  text-decoration: underline;
  color: var(--color-text);
  font-size: 15px;
  transition: color 0.3s;
}
@media screen and (max-width: 767px) {
  .l-footer-nav-list li a, .l-footer-group-list li a {
    font-size: 12px;
  }
}
.l-footer-nav-list li a:hover, .l-footer-group-list li a:hover {
  color: var(--color-primary);
}
.l-footer-group-title {
  font-weight: bold;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}
@media screen and (max-width: 767px) {
  .l-footer-group-title {
    margin-bottom: 0;
  }
}
.l-footer-group-title a {
  text-decoration: none;
  color: inherit;
}
.l-footer-group-list li a {
  text-decoration: none;
  font-size: 14px;
  position: relative;
  padding-left: 15px;
}
@media screen and (max-width: 767px) {
  .l-footer-group-list li a {
    font-size: 12px;
  }
}
.l-footer-group-list li a::before {
  content: "・";
  position: absolute;
  left: 0;
  color: var(--color-primary);
}

.pagetop {
  position: absolute;
  right: 0;
  bottom: 0;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 24px 0 0 0;
  padding: 18px 18px 18px 35px;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.3s, background-color 0.3s;
}
.pagetop::before {
  content: url(../images/common/r.svg);
  display: block;
  width: 24px;
  height: 24px;
  position: absolute;
  left: -24px;
  bottom: 0px;
}
.pagetop::after {
  content: url(../images/common/arrow.svg);
  display: inline-block;
  width: 20px;
  height: 20px;
}
.pagetop:hover {
  filter: brightness(1.1);
  transform: translateY(-5px);
}

/* レスポンシブ（960px以下） */
@media (max-width: 960px) {
  .l-footer-inner {
    flex-direction: column;
  }
  .l-footer-brand {
    flex: none;
    width: 100%;
  }
  .l-footer-content {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
  }
}
@media screen and (max-width: 960px) and (max-width: 767px) {
  .l-footer-content {
    padding-top: 0px;
  }
}
@media (max-width: 960px) {
  .l-footer-nav-wrapper {
    grid-template-columns: 0.8fr 1.2fr;
    margin-bottom: 40px;
  }
}
.sp-copyright {
  display: none;
}
@media screen and (max-width: 767px) {
  .sp-copyright {
    display: block;
    font-size: 12px;
    text-align: center;
  }
}

/* ==========================================================================
   メインビジュアル
   ========================================================================== */
.main-visual {
  position: relative;
  width: 100%;
  height: 700px;
  overflow: visible;
}

/* スライドの基本設定 */
.mv-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 1;
  /* フェード時間を少し短くして重なりをタイトに */
  transition: opacity 3s ease-in-out;
  /* GPUレンダリング */
  will-change: opacity, transform;
  transform: scale(1); /* 初期状態 */
  background-image: var(--pc-path);
}
@media screen and (max-width: 767px) {
  .mv-slide {
    background-image: var(--sp-path) !important;
  }
}

/* アクティブなスライド */
.mv-slide.active {
  opacity: 1;
  z-index: 2;
  /* forwards を指定して、アニメーション終了時の状態を維持 */
  animation: kenburns 15s linear forwards;
}

/* 徐々に拡大するアニメーション（1.0倍から1.1倍へ） */
@keyframes kenburns {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}
/* コンテンツ（テキスト）の設定 */
.mv-content {
  position: absolute;
  left: 10%;
  bottom: 15%;
  z-index: 10;
  color: #fff;
}

.mv-copy {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.5;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4); /* 背景に紛れないよう影を付与 */
  font-feature-settings: "palt";
}

/* スマホ対応 */
@media (max-width: 768px) {
  .mv-copy {
    font-size: 2rem;
    left: 20px;
    bottom: 20%;
  }
}
/* ==========================================================================
   重要なお知らせセクション
   ========================================================================== */
.important-notice-section {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  z-index: 50;
  max-width: 1200px;
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
}

.important-notice-box {
  display: flex;
  align-items: center;
  background-color: #fffdf9;
  border: 2px solid #e67e22;
  border-radius: 20px;
  padding: 24px 40px;
  box-sizing: border-box;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
@media (max-width: 768px) {
  .important-notice-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 8px;
  }
}
.important-notice-box .important-label {
  color: #e67e22;
  font-weight: 700;
  font-size: 1.1rem;
  margin-right: 40px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .important-notice-box .important-label {
    margin-right: 0;
    font-size: 1rem;
  }
}
.important-notice-box .important-date {
  color: #333333;
  font-size: 12px;
  margin-right: 24px;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .important-notice-box .important-date {
    margin-right: 0;
    font-size: 0.85rem;
  }
}
.important-notice-box .important-title {
  color: #333333;
  font-weight: 700;
  font-size: 14px;
  text-decoration: underline;
  line-height: 1.5;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.important-notice-box .important-title:hover {
  text-decoration: none;
  color: #e67e22;
}
@media (max-width: 768px) {
  .important-notice-box .important-title {
    white-space: normal;
  }
}

/* ==========================================================================
   サービス部分
   ========================================================================== */
.service-navigation-container {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 140px 20px 60px;
}
@media screen and (max-width: 767px) {
  .service-navigation-container {
    max-width: 100%;
    padding: 140px 20px 60px;
  }
}

/* 左側グリッド */
.nav-grid-wrapper {
  flex: 2;
}

.nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #fff;
  border-radius: 24px;
  aspect-ratio: 1/1;
  text-decoration: none;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  overflow: hidden;
}
.nav-card .view-more {
  padding-bottom: 0;
}

.nav-card:hover .view-more::after {
  border-radius: 0 20px 0 20px;
}

/* ホバー時に枠線をふわっと出す（前回のアドバイス反映） */
.nav-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 4px solid #f38131;
  border-radius: 24px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.nav-card:hover {
  transform: translateY(-5px);
}

.nav-card:hover::after {
  opacity: 1;
}

.nav-title {
  color: #f38131;
  font-weight: bold;
  margin-bottom: 20px;
  z-index: 1;
}

.nav-icon {
  width: 72px;
  height: 72-x;
  z-index: 1;
}

/* 右側：サマリーエリア */
.summary-aside {
  flex: 1.2;
  min-width: 520px;
}
@media screen and (max-width: 767px) {
  .summary-aside {
    min-width: 100%;
  }
}

.summary-card {
  background-color: #fafaf8;
  border-radius: 30px;
  padding: 40px 30px;
  text-align: center;
  height: 100%;
}

.summary-times {
  display: flex;
  justify-content: center;
  gap: 20px;
}
@media screen and (max-width: 767px) {
  .summary-times {
    display: block;
  }
}

.summary-title {
  color: #f38131;
  margin-bottom: 20px;
}

.tag-dark {
  background: #444;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  margin-right: 8px;
}

.time-row .time {
  font-family: "Roboto", sans-serif;
  font-weight: 700;
  display: inline-block;
  width: 95px;
  text-align: left;
}

.summary-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 20px 0;
}

.summary-holiday {
  font-weight: bold;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.summary-holiday-sub {
  font-size: 0.85rem;
  color: #666;
  line-height: 1.6;
}

/* 白地にオレンジのボタン */
.summary-buttons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
  justify-content: center;
}
@media screen and (max-width: 767px) {
  .summary-buttons {
    display: block;
  }
}

.btn-white-orange {
  width: 210px;
  background: #fff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 25px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}
@media screen and (max-width: 767px) {
  .btn-white-orange {
    width: 100%;
    margin: 10px auto;
  }
}

.btn-white-orange:hover {
  background-color: var(--color-primary);
  color: #fff;
}

.icon-circle-arrow {
  width: 30px;
  height: 30px;
  background: #f38131;
  border-radius: 50%;
  position: relative;
}
.icon-circle-arrow:after {
  content: url(../images/common/arrow.svg);
  display: block;
  width: 30px;
  height: 30px;
  transform: rotate(90deg);
  position: relative;
  left: -2px;
  transition: 0.3s;
}

.btn-white-orange:hover .icon-circle-arrow::after {
  left: 3px;
}

/* スマホ対応 */
@media (max-width: 900px) {
  .service-navigation-container {
    flex-direction: column;
  }
  .nav-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
/* ==========================================================================
   専門外来・診療科のご案内セクション
   ========================================================================== */
.medical-menu {
  padding: 50px;
  text-align: center;
}
@media screen and (max-width: 767px) {
  .medical-menu {
    padding: 20px;
  }
}

.menu-inner {
  width: 100%;
  margin: 0 auto;
  background-color: #fafaf8;
  padding: 80px 50px 50px;
  border-radius: 20px;
}
@media screen and (max-width: 767px) {
  .menu-inner {
    padding: 25px;
  }
}

.menu-title {
  color: #f38131;
  font-size: 2rem;
  margin-bottom: 20px;
}
@media screen and (max-width: 767px) {
  .menu-title {
    font-size: 1.4rem;
  }
}

.menu-lead {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 60px;
  line-height: 1.6;
}
@media screen and (max-width: 767px) {
  .menu-lead {
    text-align: left;
  }
}

.category-title {
  font-size: 1.4rem;
  margin-bottom: 30px;
}

/* 専門外来カードレイアウト */
.special-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  margin-bottom: 60px;
  justify-content: center;
}
@media screen and (max-width: 767px) {
  .special-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

.special-card {
  padding: 26px;
  background: #fff;
  border-radius: 20px;
  display: flex;
  overflow: hidden;
  text-decoration: none;
  color: #333;
  position: relative;
  transition: transform 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}
.special-card .view-more {
  padding-bottom: 0;
  position: absolute;
  right: 0;
  bottom: 0;
}

.special-card:after {
  display: block;
  content: "";
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: var(--color-primary) solid 4px;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.special-card:hover:after {
  opacity: 1;
}

.special-card:hover {
  transform: translateY(-5px);
}

.card-thumb {
  width: 40%;
  max-width: 100px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  width: 60%;
  padding: 0 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-body h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.card-body p {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.4;
}

/* 診療科グリッドレイアウト */
.department-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
  justify-content: center;
}
@media screen and (max-width: 767px) {
  .department-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

.dept-item {
  background: #fff;
  border: #fff solid 4px;
  padding: 25px 20px;
  border-radius: 15px;
  color: var(--color-text);
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.dept-item:hover {
  border: var(--color-primary) solid 4px;
  transform: translateY(-5px);
}

.dept-icon {
  width: auto;
  height: 35px;
  margin-right: 20px;
}

.dept-name {
  font-weight: bold;
  font-size: 1.1rem;
}

/* 矢印ボタンの共通スタイル */
.dept-arrow {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: 0.3s;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background-color: var(--color-primary);
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
}
.dept-arrow::after {
  content: url(../images/common/arrow.svg);
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
  transition: 0.3s;
}

.menu-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 60px 0;
}

/* ==========================================================================
   当院についてセクション
   ========================================================================== */
.about-section {
  position: relative;
  width: 100%;
  min-height: 450px;
  padding: 80px 5%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  /* 背景画像の設定 */
  background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url("../images/top/about_img.jpg") no-repeat center center;
  background-size: cover;
  overflow: hidden;
  color: #fff;
}

.about-content {
  max-width: 600px;
  z-index: 2;
}

.about-title {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 24px;
}

.about-text {
  font-size: 1rem;
  line-height: 2;
  margin-bottom: 40px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* 文字の視認性向上 */
}
@media screen and (max-width: 767px) {
  .about-text {
    text-align: left;
  }
}

/* ボタン：病院概要について */
.btn-hospital-info {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  color: #f38131; /* オレンジ */
  text-decoration: none;
  font-weight: bold;
  padding: 18px 30px;
  min-width: 280px;
  border-radius: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-hospital-info:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  background-color: #f38131;
  color: #fff;
}

/* 矢印アイコンの装飾 */
.bnr-icon-arrow {
  position: relative;
  width: 24px;
  height: 24px;
  background-color: #f38131;
  border-radius: 50%;
  margin-left: 10px;
  transition: background-color 0.3s ease;
}

/* 擬似要素で矢印を作成 */
.bnr-icon-arrow::after {
  content: url(../images/common/arrow.svg);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
  transition: 0.3s;
  left: 0;
}

.btn-hospital-info:hover .bnr-icon-arrow::after {
  position: relative;
  left: 5px;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .about-section {
    padding: 60px 20px;
    text-align: center;
    justify-content: center;
  }
  .about-title {
    font-size: 1.8rem;
  }
  .btn-hospital-info {
    width: 100%;
  }
}
/* ==========================================================================
   Group Section
   ========================================================================== */
.section-group {
  padding: 5%;
  background-color: var(--color-bg-light);
}

/* ==========================================================================
   News Section
   ========================================================================== */
.section-news {
  max-width: var(--inner-width);
  margin: 80px auto;
  padding: 0 20px;
}
@media screen and (max-width: 767px) {
  .section-news {
    margin: 20px auto;
  }
}

.section-news .tag-list {
  position: relative;
  top: -34px;
}
@media screen and (max-width: 767px) {
  .section-news .tag-list {
    top: 0;
    margin-bottom: 20px;
  }
}

.news-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.news-list li {
  border-bottom: 1px solid #ddd;
}
.news-list li a {
  display: block;
  padding: 25px 50px 25px 25px;
  text-decoration: none;
  color: var(--color-text);
  position: relative;
  transition: 0.3s;
}
@media screen and (max-width: 767px) {
  .news-list li a {
    padding: 20px 50px 20px 0;
  }
}
.news-list li a:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
.news-list li a:hover::after {
  border-radius: 24px;
}
.news-list li a::after {
  content: url(../images/common/arrow.svg);
  position: absolute;
  right: 20px;
  top: 50%;
  margin-top: -15px;
  width: 30px;
  height: 30px;
  background-color: var(--color-primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
  transition: 0.3s;
}
@media screen and (max-width: 767px) {
  .news-list li a::after {
    right: 10px;
  }
}
.news-list li .date {
  font-size: 14px;
  color: var(--color-text-light);
  display: inline-block;
  margin-right: 20px;
}
.news-list li .cat {
  display: inline-block;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 20px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.news-list li p {
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* 詳細ページ：記事ヘッダー */
.body-header {
  margin-bottom: 40px;
  padding-bottom: 25px;
  border-bottom: 1px solid #ddd;
}
.body-header .date {
  display: inline-block;
  color: var(--color-text-light); /* 💡 カンプの文字色（グレー）に合わせ調整 */
  font-size: 14px;
  font-weight: 500;
}
.body-header .cat {
  display: inline-block;
  background-color: var(--color-primary);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 4px 15px 3px;
  margin-left: 15px;
  border-radius: 4px; /* 💡 カンプのスマートな角丸に調整 */
  line-height: 1;
}
.body-header h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 15px;
  line-height: 1.5;
}
@media screen and (max-width: 767px) {
  .body-header h2 {
    font-size: 20px;
  }
}

/* 詳細ページ：記事本文 */
.entry-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  border-bottom: #ddd solid 1px;
  padding-bottom: 60px;
  margin-bottom: 50px;
}
.entry-body h1 {
  font-size: 24px;
  font-weight: 800;
  color: var(--color-primary);
  margin: 40px 0 20px;
}
.entry-body h2 {
  font-size: 22px;
  font-weight: 800;
  margin: 40px 0 20px;
}
.entry-body h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary);
  margin: 35px 0 15px;
}
.entry-body h4 {
  font-size: 18px;
  font-weight: 800;
  margin: 30px 0 15px;
}
.entry-body h5 {
  font-size: 16px;
  font-weight: 800;
  color: var(--color-primary);
  margin: 25px 0 15px;
}
.entry-body p {
  margin-bottom: 25px;
}
.entry-body ul {
  list-style: outside disc;
  margin: 15px 0 25px;
  padding-left: 20px;
}
.entry-body ul li {
  margin: 7px 0;
}
.entry-body ol {
  list-style: outside decimal;
  margin: 15px 0 25px;
  padding-left: 20px;
}
.entry-body ol li {
  margin: 7px 0;
}
.entry-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px; /* 💡 カンプのグレーのマスク画像に合わせ角丸化 */
  margin: 20px 0 35px;
  display: block;
}

/* 詳細ページ：下部3連ナビゲーション */
.post-navigation {
  padding: 40px 0;
}
@media screen and (max-width: 767px) {
  .post-navigation {
    padding: 20px 0;
  }
}

.post-navigation__inner {
  display: flex;
  justify-content: center; /* 💡 カンプ通り中央寄せにし、等間隔に配置 */
  align-items: center;
  gap: 60px;
  margin: 0 auto;
}
@media screen and (max-width: 767px) {
  .post-navigation__inner {
    flex-direction: row; /* column から row に変更 */
    gap: 15px; /* スマホ画面に収まるようボタン同士の隙間を狭く */
    justify-content: space-between; /* 画面幅いっぱいにバランスよく配置 */
    padding: 0 10px; /* 画面端との絶妙な余白を確保 */
  }
}

.post-navigation__link {
  /* 左右のボタンが非表示になっても「一覧を見る」が必ず中央を維持する幅を確保 */
  flex: 0 1 180px;
  display: flex;
  justify-content: center;
}
.post-navigation__link a {
  display: flex;
  align-items: center;
  gap: 15px; /* 💡 矢印とテキストの隙間 */
  color: var(--color-text);
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s;
}
@media screen and (max-width: 767px) {
  .post-navigation__link a {
    font-size: 14px;
    gap: 10px;
  }
}
.post-navigation__link a {
  /* テキスト部分（常時綺麗な下線を表示） */
}
.post-navigation__link a .link-text {
  position: relative;
  text-decoration: underline;
  text-underline-offset: 4px; /* 文字と線の隙間調整 */
  /* 💡 以前のバグの元（途切れ下線の疑似要素）は美しく撤去しました */
}
.post-navigation__link a .link-text::before {
  display: none;
}
.post-navigation__link a {
  /* オレンジの矢印ボックス */
}
.post-navigation__link a .arrow-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background-color: var(--color-primary);
  flex-shrink: 0;
  border-radius: 8px;
  position: relative;
  transition: all 0.3s;
  transform: none; /* 💡 もともとの90度回転をリセットし、CSSで綺麗な白矢印を描写 */
}
@media screen and (max-width: 767px) {
  .post-navigation__link a .arrow-icon {
    width: 36px;
    height: 36px;
    border-radius: 6px;
  }
}
.post-navigation__link a .arrow-icon {
  /* 白い矢印をCSSでスタイリッシュに描写 */
}
.post-navigation__link a .arrow-icon::after {
  content: "";
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg); /* 基本は右向き */
  margin-right: 2px;
}
@media screen and (max-width: 767px) {
  .post-navigation__link a .arrow-icon::after {
    width: 6px;
    height: 6px;
  }
}
.post-navigation__link a .arrow-icon {
  /* 左向き矢印（前へ・一覧を見る）の反転 */
}
.post-navigation__link a .arrow-icon.is-prev::after {
  transform: rotate(-135deg);
  margin-right: 0;
  margin-left: 2px;
}
.post-navigation__link a {
  /* 🔥 カンプ通りのリッチなホバーアクション演出 */
}
.post-navigation__link a:hover .link-text {
  color: var(--color-primary);
}
.post-navigation__link a:hover .arrow-icon {
  background-color: var(--color-text); /* 背景色を黒（テキスト色）に反転 */
  border-radius: 14px; /* 四角形がぷにっと丸みを帯びる演出 */
}

/* ボックス本体 */
.c-consult-box {
  display: flex;
  align-items: center;
  background-color: var(--color-bg-light);
  padding: 40px 60px;
  border-radius: 10px;
  margin: 5px 0;
}
@media screen and (max-width: 767px) {
  .c-consult-box {
    width: 100%;
    display: block;
    align-items: center;
  }
}
.c-consult-box dt {
  flex-shrink: 0;
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 700;
  max-width: 240px;
  width: 25%;
  position: relative;
}
@media screen and (max-width: 767px) {
  .c-consult-box dt {
    width: 100%;
  }
}
.c-consult-box dd {
  flex: 1;
  margin: 0;
  font-size: 18px;
  color: var(--color-text);
  line-height: 1.6;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .c-consult-box dd {
    white-space: normal;
    font-size: 16px;
  }
}

.c-consult-box.is-orange {
  background-color: var(--color-primary);
  padding: 20px 30px;
}
.c-consult-box.is-orange dt {
  font-size: 18px;
  color: #fff;
  font-weight: 700;
  max-width: 180px;
  width: 20%;
}
@media screen and (max-width: 767px) {
  .c-consult-box.is-orange dt {
    width: 100%;
  }
}
.c-consult-box.is-orange dd {
  font-size: 24px;
  color: #fff;
  font-weight: 700;
}
.c-consult-box.is-orange dd span {
  font-size: 18px;
  margin-left: 10px;
}
@media screen and (max-width: 767px) {
  .c-consult-box.is-orange dd {
    font-size: 18px;
    color: #fff;
    font-weight: 700;
  }
  .c-consult-box.is-orange dd span {
    font-size: 16px;
    display: block;
    margin-left: 0;
  }
}

.action-box {
  background-color: var(--color-bg-light);
  border-radius: 10px;
  padding: 20px 30px 0;
}
@media screen and (max-width: 767px) {
  .action-box {
    padding: 20px 30px;
  }
}
.action-box dt {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary);
  border-bottom: #ddd solid 1px;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
@media screen and (max-width: 767px) {
  .action-box dt {
    font-size: 18px;
  }
}
.action-box dd {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 600;
  font-family: "Roboto", sans-serif;
}
@media screen and (max-width: 767px) {
  .action-box dd {
    display: block;
  }
}
.action-box dd .tel {
  font-size: 32px;
  margin-right: 1.042vw;
}
@media screen and (max-width: 767px) {
  .action-box dd .tel {
    font-size: 16px;
  }
}
.action-box dd .fax {
  font-size: 28px;
}
@media screen and (max-width: 767px) {
  .action-box dd .fax {
    font-size: 16px;
  }
}
.action-box dd span {
  font-size: 1.111vw;
  margin-right: 0.694vw;
}
@media screen and (max-width: 767px) {
  .action-box dd span {
    font-size: 14px;
  }
}

.action-box.is-orange {
  padding: 40px 40px 20px;
  background-color: var(--color-primary);
  color: #fff;
}

.action-box.is-orange dt {
  border-bottom: none;
  color: #fff;
  margin-bottom: 0;
}

.recruit-wrap {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

/* ==========================================================================
  南大分通所リハビリテーション
  ========================================================================== */
.section-philosophy {
  padding: 80px 0;
  background-color: var(--color-bg-light);
}

.image-wrap {
  background-color: var(--color-bg-light);
  border-radius: 10px;
  padding: 5%;
  margin-bottom: 20px;
  max-width: 980px;
  margin: 0 auto 40px;
}
.image-wrap img {
  width: 100%;
  height: auto;
}
.image-wrap iframe {
  width: 100% !important;
}

.image-wrap.is-bg-white {
  background: none;
}

.flow-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.flow-item {
  display: flex;
  align-items: flex-start;
  gap: 60px;
  position: relative;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: #ddd solid 1px;
}

/* 画像エリア */
.flow-img {
  flex: 0 0 300px;
  position: relative;
}

.flow-img img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  display: block;
}

/* ステップ間の矢印 */
.flow-item:not(:last-child) .flow-img::after {
  content: url(/images/kenshin/flow_arrow.svg);
  position: absolute;
  bottom: -65px;
  left: 50%;
  width: 46px;
  height: 46px;
  text-align: center;
  background-color: #fff;
  transform: translateX(-50%);
}
@media screen and (max-width: 767px) {
  .flow-item:not(:last-child) .flow-img::after {
    display: none;
  }
}

/* テキストコンテンツエリア */
.flow-content {
  flex: 1;
  padding-top: 20px;
}

.flow-step-title {
  font-size: 28px;
  color: var(--color-primary);
  font-weight: 700;
  margin-bottom: 20px;
}

.flow-step-title span {
  margin-right: 0;
  font-family: "Roboto", sans-serif;
}

.flow-step-text {
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
}
@media screen and (max-width: 767px) {
  .flow-step-text {
    text-align: left;
  }
}

/* レスポンシブ：スマホ版 */
@media (max-width: 768px) {
  .flow-item {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
    padding-bottom: 60px;
  }
  .flow-img {
    flex: 0 0 auto;
    width: 100%;
    max-width: 400px;
  }
  .flow-step-title {
    font-size: 22px;
  }
}
/* ==========================================================================
  リハビリテーション
  ========================================================================== */
.equipment-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.equipment-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2カラム */
  gap: 60px 40px; /* 上下左右の余白 */
  list-style: none;
  padding: 0;
  margin: 0;
}

.equipment-item {
  display: flex;
  flex-direction: column;
}

/* 画像エリア */
.equipment-img {
  width: 100%;
  margin-bottom: 20px;
}

.equipment-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2; /* 写真の比率を統一 */
  object-fit: cover;
  border-radius: 20px;
  display: block;
}

/* タイトル */
.equipment-title {
  font-size: 18px;
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

/* 説明文 */
.equipment-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
}

/* レスポンシブ：タブレット・スマホ */
@media (max-width: 768px) {
  .equipment-list {
    grid-template-columns: 1fr; /* 1カラムに切り替え */
    gap: 40px;
  }
  .equipment-title {
    font-size: 16px;
  }
}
.doctor-profile-block {
  display: flex;
  gap: 60px;
  align-items: flex-start;
  margin: 60px auto;
  padding: 0 0 60px;
  border-bottom: #ddd solid 1px;
}

/* 写真エリア */
.doctor-profile-img {
  flex: 0 0 260px;
}

.doctor-profile-img img {
  width: 100%;
  height: auto;
  border-radius: 40px; /* 大きめの角丸 */
  display: block;
}

/* 情報エリア全体 */
.doctor-profile-info {
  flex: 1;
}

.doctor-header {
  margin-bottom: 30px;
}

.doctor-dept {
  display: block;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}

.doctor-name {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text);
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.doctor-kana {
  font-size: 18px;
  font-weight: 400;
  color: var(--color-text);
}

/* プロフィール項目（3つのボックス） */
.doctor-data-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.doctor-data-item {
  display: flex;
  background-color: var(--color-bg-light);
  padding: 25px 35px;
  border-radius: 15px;
  margin: 0;
}

.doctor-data-item dt {
  flex: 0 0 140px;
  color: var(--color-primary);
  font-weight: 700;
  font-size: 16px;
}

.doctor-data-item dd {
  flex: 1;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}

/* リンク付きの専門分野 */
.doctor-link {
  color: var(--color-text);
  text-decoration: underline;
  margin-right: 25px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.doctor-link::after {
  content: url(../images/common/arrow.svg);
  display: inline-flex;
  width: 20px;
  height: 20px;
  background-color: var(--color-primary);
  color: #fff;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transform: rotate(90deg) !important;
}

/* 資格リスト */
.doctor-cert-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.doctor-cert-list li::before {
  content: "・";
  color: var(--color-primary);
  font-weight: bold;
}

/* レスポンシブ */
@media (max-width: 960px) {
  /* 全体の並びを「写真 → 情報」の順に */
  .doctor-profile-block {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin: 30px auto;
    padding: 0 0 40px;
  }
  .doctor-profile-img {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%; /* 横幅いっぱいに */
  }
  .doctor-profile-img img {
    border-radius: 25px; /* スマホに合わせて少し角丸を調整 */
  }
  .doctor-profile-info {
    width: 100%;
  }
  .doctor-header {
    margin-bottom: 20px;
  }
  .doctor-header .doctor-name {
    font-size: 24px; /* スマホ用にサイズダウン */
    flex-wrap: wrap; /* フリガナが入りきらない場合に対応 */
    gap: 10px;
  }
  .doctor-header .doctor-kana {
    font-size: 14px;
  }
  /* プロフィール項目（ここが重要） */
  .doctor-data-item {
    /* スマホでも「dt：dd」の横並びを維持する */
    display: flex !important;
    flex-direction: row !important;
    padding: 15px 20px;
    align-items: flex-start; /* 上揃え */
  }
  .doctor-data-item dt {
    flex: 0 0 90px; /* ラベルの幅を固定して縦を揃える */
    font-size: 14px;
    margin-bottom: 0; /* 縦並び用のマージンを解除 */
  }
  .doctor-data-item dd {
    font-size: 14px;
    line-height: 1.5;
  }
  /* 専門分野のリンク（外科などの四角い崩れを修正） */
  .doctor-link {
    margin-right: 15px;
    margin-bottom: 5px;
    display: inline-flex;
    text-decoration: none; /* 下線を消してスッキリさせる */
  }
  .doctor-link::after {
    content: url(../images/common/arrow.svg);
    display: inline-flex;
    width: 16px; /* スマホ用に少し小さく */
    height: 16px;
    background-color: var(--color-primary);
    color: #fff;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    transform: rotate(0deg) !important;
  }
}
/* テーブル全体の基本設定 */
.hospital-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #333;
  border-radius: 12px; /* 外枠を少し丸くする場合 */
  overflow: hidden;
}

/* ヘッダー・セルの共通設定 */
.hospital-table th,
.hospital-table td {
  padding: 24px;
  border: 1px solid #e0e0e0;
  vertical-align: middle;
}

/* ヘッダーの装飾 */
.hospital-table th {
  background-color: #FBFAF6;
  color: #f38131; /* オレンジのアクセント */
  font-weight: bold;
  font-size: 1.1rem;
  text-align: center;
}

.hospital-table th:first-child {
  border-top-left-radius: 12px;
}

.hospital-table th:last-child {
  border-top-right-radius: 12px;
}

.hospital-table td {
  text-align: left;
  min-width: 160px;
}
@media screen and (max-width: 767px) {
  .hospital-table td {
    min-width: auto;
  }
}

.hospital-table tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

.hospital-table tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

/* 病床種類のテキスト左寄せ */
.cell-type {
  text-align: left !important;
  width: 60%;
}

.type-title {
  font-weight: bold;
  font-size: 1.1rem;
  margin: 0 0 8px 0;
}

.type-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.cell-count,
.cell-floor {
  text-align: center !important;
}

/* 合計行の装飾 */
.hospital-table tfoot td {
  background-color: #FBFAF6;
}

.cell-total-label {
  text-align: right !important;
  color: #f38131;
  font-weight: bold;
  text-align: center;
}

.cell-total-value {
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center !important;
}

/* モバイル対応：画面が狭い時に横スクロールさせる場合 */
.table-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* 親コンテナ：横幅いっぱいに広がるよう設定 */
.custom-slider {
  width: 100%;
  max-width: 100%; /* 親要素に対して100% */
  margin: 0 auto;
  overflow: hidden; /* コンテナ外を隠す */
}

.slider-viewport {
  width: 100%;
  overflow: hidden; /* ここで枠外をカット */
  border-radius: 20px;
}

.slide-photo {
  display: flex;
  width: 100%; /* 親の幅に合わせる */
  padding: 0;
  margin: 0;
  list-style: none;
  transition: transform 0.5s ease-in-out;
  /* 重要：子要素が並べるように設定 */
}

.slide-photo li {
  /* 各スライドが「親（viewport）の100%」を占めるように強制 */
  flex: 0 0 100%;
  width: 100%;
}

.slide-photo img {
  width: 100%; /* 親(li)の幅いっぱいに広げる */
  height: auto; /* アスペクト比を維持 */
  display: block;
  object-fit: cover;
}

/* ドットのスタイリング（前回のものを踏襲） */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 16px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #d1d1d1;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.dot.is-active {
  background-color: #e67e22; /* アクティブなオレンジ */
  transform: scale(1.2); /* 少し強調して視認性を高める */
}

.insurance-info-section.is-mt-40 {
  margin-top: 50px;
}
.insurance-info-section .headline3 {
  margin-top: 40px;
  margin-bottom: 15px;
}
.insurance-info-section .headline3:first-child {
  margin-top: 0;
}
.insurance-info-section p {
  line-height: 1.7;
  margin-bottom: 0;
}

.table-container.is-fixed-table {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.table-container.is-fixed-table .hospital-table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
}
.table-container.is-fixed-table .hospital-table th, .table-container.is-fixed-table .hospital-table td {
  min-width: 0 !important;
  word-break: break-all !important;
  box-sizing: border-box !important;
  font-size: 14px !important;
}
.table-container.is-fixed-table .hospital-table th:first-child, .table-container.is-fixed-table .hospital-table td:first-child {
  width: 40% !important;
}
.table-container.is-fixed-table .hospital-table th:last-child, .table-container.is-fixed-table .hospital-table td:last-child {
  width: 60% !important;
  text-align: center !important;
}

.hospital-table td.cell-count {
  display: table-cell !important;
  text-align: center !important;
  white-space: nowrap !important;
  vertical-align: middle !important;
}
.hospital-table .ico-pdf {
  display: inline-block !important;
  position: relative !important;
  vertical-align: middle !important;
  margin: 0 0 0 8px !important;
  padding: 0 0 0 16px !important;
  text-decoration: underline;
}
.hospital-table .ico-pdf::before {
  display: block !important;
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) rotate(0deg) !important;
  width: 10px !important;
  height: 15px !important;
  background-image: url(../images/common/icon_pdf.png) !important;
  background-position: 0 0 !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  margin: 0 !important;
}

.section-department {
  border-radius: 60px 60px 0 0;
  position: relative;
}

.section-department-inner {
  width: 100%;
  max-width: var(--inner-width);
  position: relative;
  margin: 0 auto;
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}
@media screen and (max-width: 767px) {
  .section-department-inner {
    flex-direction: column;
    gap: 0;
  }
}

.department-main {
  display: block;
  width: calc(100% - 240px);
  position: relative;
}
@media screen and (max-width: 767px) {
  .department-main {
    width: 100%;
  }
}

.department-sub {
  padding-top: 75px;
  width: 160px;
  position: sticky;
  left: 0;
  top: 0;
}
@media screen and (max-width: 767px) {
  .department-sub {
    position: relative;
    width: 100%;
    padding: 20px;
  }
}

.department-menu h2 {
  font-size: 16px;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.local-menu {
  font-size: 16px;
}

.local-menu li {
  margin-bottom: 10px;
}
@media screen and (max-width: 767px) {
  .local-menu li {
    width: 49%;
    float: left;
  }
}
.local-menu .ico-arrow {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-text);
  font-size: 15px;
  font-weight: bold;
  padding-bottom: 5px;
  transition: 0.3s;
}
.local-menu .ico-arrow::before {
  content: url(../images/common/arrow.svg);
  margin-right: 7px;
  width: 20px;
  height: 20px;
  background-color: var(--color-primary);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(90deg);
  transition: 0.3s;
}
.local-menu .ico-arrow:hover {
  color: var(--color-primary);
}

.department-wrap {
  padding: 75px 0 150px;
  background-color: #FBFAF6;
  position: relative;
}
.department-wrap::before {
  content: "";
  display: block;
  width: 200vw;
  height: 100%;
  background-color: #FBFAF6;
  position: absolute;
  left: -100%;
  top: 0;
  z-index: -1;
}
@media screen and (max-width: 767px) {
  .department-wrap {
    padding: 30px 20px 35px;
    margin-bottom: 35px !important;
  }
}

.department-wrap:nth-child(even) {
  background-color: #fff;
}
.department-wrap:nth-child(even)::before {
  content: "";
  background-color: #fff;
  position: absolute;
}

.department-details-list {
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.department-details-list li {
  display: flex;
  padding: 20px;
  background-color: #fff;
  margin: 10px 10px;
  border-radius: 10px;
}
@media screen and (max-width: 767px) {
  .department-details-list li {
    display: block;
  }
}
.department-details-list li h3 {
  margin-bottom: 20px;
}

.department-wrap:nth-child(even) .department-details-list li {
  background-color: var(--color-bg-light);
}

.department-details-list li .details-head {
  display: block;
  color: var(--color-primary);
  font-size: 24px;
  font-weight: 600;
  width: 240px;
}
@media screen and (max-width: 767px) {
  .department-details-list li .details-head {
    width: 100%;
    font-size: 18px;
    margin-bottom: 10px;
  }
}

.department-details-list li.display-block {
  display: block;
}

.department-details-list li .details-body {
  width: calc(100% - 240px);
  display: block;
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}
@media screen and (max-width: 767px) {
  .department-details-list li .details-body {
    width: 100%;
    font-size: 14px;
  }
}

.department-details-list li.display-block .details-body {
  width: 100%;
}

/* コンテナ：横スクロール対応 */
.schedule-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
}

/* テーブル基本設定 */
.schedule-table {
  width: 100%;
  min-width: 800px; /* PCでの可読性を担保 */
  border-collapse: separate; /* 角丸のために必要 */
  border-spacing: 0;
  border-top: 1px solid #e0e0e0;
  border-left: 1px solid #e0e0e0;
  background-color: #fff;
  border-radius: 12px; /* 外枠の角丸 */
  overflow: hidden;
  font-family: sans-serif;
  color: #333;
}

/* セルの共通設定 */
.schedule-table th,
.schedule-table td {
  padding: 16px 10px;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  text-align: center;
  vertical-align: middle;
}

/* ヘッダー装飾 */
.schedule-table thead th {
  background-color: #FBFAF6;
  font-weight: bold;
  color: #444;
}

/* 列ごとの幅調整 */
.col-item {
  width: 20%;
}

.col-time {
  width: 25%;
}

/* 検査項目名の強調 */
.cell-label {
  font-weight: 500;
  color: #555;
}

/* ○と×の出し分け */
.status-ok {
  color: #f38131; /* オレンジ */
  font-size: 1.5rem;
  font-weight: bold;
}

.status-ng {
  color: #999;
  font-size: 1.2rem;
}

/* レスポンシブ：スマホでのフォントサイズ調整 */
@media screen and (max-width: 768px) {
  .schedule-table th,
  .schedule-table td {
    padding: 12px 5px;
    font-size: 14px;
  }
}
.info-guide-container {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* スマホ時に縦並びにする */
  font-family: sans-serif;
  color: #333;
}

/* 共通カードスタイル */
.info-card, .guide-card {
  flex: 1;
  min-width: 340px;
  background-color: #fafaf8;
  border-radius: 24px;
  padding: 40px;
  box-sizing: border-box;
}

/* 左側：受付時間・休診日 */
.info-section {
  text-align: center;
}

.info-title-orange {
  color: #f38131;
  font-size: 1.4rem;
  margin-bottom: 20px;
}

.time-badges {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.time-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-dark {
  background: #444;
  color: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  font-weight: bold;
}

.time-text {
  font-size: 1.3rem;
  font-weight: bold;
}

.info-divider {
  border: none;
  border-top: 1px solid #e0e0e0;
  margin: 30px 0;
}

.holiday-main {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.holiday-sub {
  font-size: 0.95rem;
  color: #666;
}

/* 右側：案内ガイド */
.guide-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

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

.guide-label {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  color: #fff;
  font-weight: bold;
  font-size: 1.2rem;
  text-align: center;
}

.label-orange {
  background-color: #f38131;
}

.label-yellow {
  background-color: #fbc02d;
  color: #333;
} /* 再診は少し濃い黄色に調整 */
.guide-text {
  line-height: 1.8;
  padding-top: 10px;
}

.text-highlight-orange {
  color: #f38131;
  font-weight: bold;
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .info-card, .guide-card {
    padding: 30px 20px;
  }
  .guide-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
.section-outpatient .table-container {
  margin-bottom: 100px;
}
.section-outpatient .schedule-table td {
  height: 120px;
  width: 12%;
}

/* 外来担当医表 特有のスタイル */
.time-header {
  background-color: #fff !important;
  font-weight: bold;
  white-space: nowrap;
}

.badge {
  background: #444;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.85em;
  margin-right: 5px;
}

.doctor-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.doctor-list li a {
  text-decoration: none;
  color: #333;
  border-bottom: 1px solid #333; /* デザインのアンダーライン再現 */
  transition: all 0.2s;
}

.doctor-list li a:hover {
  color: #f38131;
  border-bottom-color: #f38131;
}

.is-reserved .note {
  display: block;
  font-size: 0.75em;
  color: #d32f2f;
  margin-top: 2px;
}

.empty-cell {
  color: #999;
}/*# sourceMappingURL=style.css.map */