/* =========================================================
   Breakpoints
---------------------------------------------------------
   PC / SP 切り替え
   900px 以下：スマートフォンレイアウトへ切替

   SP内微調整
   640px 以下：小型スマートフォン向け最適化

   ※基本方針
   ・900px → レイアウト変更（2カラム → 1カラム / ナビ切替など）
   ・640px → 文字サイズ・余白・UIの微調整

   ※mech系サイトと共通ルール
========================================================= */

/* =========================================================
   root
========================================================= */
/* Font Awesome */
 @import url("https://use.fontawesome.com/releases/v7.1.0/css/all.css");

:root{
  --color-primary: #0aa57b;
  --color-primary-dark: #078a67;
  --color-primary-soft: #e7f7f2;

  --color-accent: #ef8d12;
  --color-accent-soft: #fff2df;

  --color-text: #333333;
  --color-text-light: #666666;
  --color-border: #d9dfdb;
  --color-bg: #f6f6f4;
  --color-bg-soft: #fbfbf8;
  --color-white: #ffffff;

  --font-base: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;

  --content-width: 1080px;
  --content-narrow: 860px;

  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;

  --radius-sm: 6px;
  --radius-md: 10px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* =========================================================
   reset / base
========================================================= */
*,
*::before,
*::after{
  box-sizing: border-box;
}

html{
  font-size: 100%;
}

body{
  margin: 0;
  color: var(--color-text);
  background: var(--color-bg);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

img{
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a{
  color: inherit;
  text-decoration: none;
}

ul,
ol{
  margin: 0;
  padding: 0;
  list-style: none;
}

p,
h1,
h2,
h3,
h4,
h5,
h6{
  margin: 0;
}

table{
  border-collapse: collapse;
  border-spacing: 0;
}

@media (min-width: 901px){
  .is-sp-only{ display:none !important; }
}
@media (max-width: 900px){
  .is-pc-only{ display:none!important; }
}



/* =========================================================
   Link（サイト共通）
========================================================= */

a{
  color: var(--color-primary);
  text-decoration: none;
  transition: color .15s ease, opacity .15s ease;
}

a:hover{
  color: var(--color-primary-dark);
  opacity: 0.8;
}

a:visited{
  /* color: var(--color-primary-dark); */
}


/* 本文リンク（少し目立たせたい場合） */
.c-text-block a{
  text-decoration: underline;
  text-underline-offset: 3px;
}


a.a-link-arrow::after {
  font-family: "Font Awesome 7 Free";
  content: "\f105";
  font-weight: 700;
  margin-left: 0.5em;
  font-size: 70%;
}

a.a-link-pdf::after {
  font-family: "Font Awesome 7 Free";
  content: "\f1c1";
  font-weight: 700;
  margin-left: 0.5em;
  color: #c0392b; /* 少し柔らかい赤 */
}

a.a-link-doc::after {
  font-family: "Font Awesome 7 Free";
  content: "\f1c2";
  font-weight: 700;
  margin-left: 0.5em;
  color: #2a6db0;
}

a[rel~="external"]::after{
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  content: "\f08e";
  font-size: .8em;
  margin-left: 4px;
  color: var(--color-primary);
}

a.a-link-mail::after {
  font-family: "Font Awesome 7 Free";
  content: "\f0e0";
  font-weight: 700;
  margin-left: 0.5em;
  color: var(--color-primary);
}










/* =========================================================
   layout
========================================================= */
.l-site{
  min-width: 320px;
}

.l-container{
  width: min(100% - 32px, var(--content-width));
  margin-inline: auto;
}

.l-main{
  padding: var(--space-lg) 0 var(--space-3xl);
}

.l-header{
  background: var(--color-white);
  border-bottom: 1px solid #e6ebe8;
}

.l-header__inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-md) 0;
}

.l-global-nav{
  background: var(--color-primary);
}

.l-footer{
  margin-top: var(--space-3xl);
  background: var(--color-primary);
  color: var(--color-white);
  padding: var(--space-lg) 0;
}

/* =========================================================
   header
========================================================= */
.c-site-logo{
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  transition: opacity .2s ease;
}

.c-site-logo,
.c-site-logo:hover,
.c-site-logo:visited{
  text-decoration: none;
}

.c-site-logo:hover{
  opacity: 0.85;
}

.c-site-logo__sub{
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

.c-site-logo__main{
  color: var(--color-primary);
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.c-site-logo__meta{
  color: var(--color-primary-dark);
  font-size: 1.1rem;
  line-height: 1.5;
}

.c-header-tel{
  text-align: right;
}

.c-header-tel__label{
  display: block;
  margin-bottom: 2px;
  color: var(--color-text-light);
  font-size: 0.8rem;
  line-height: 1.4;
}

.c-header-tel__number{
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.c-header-access{
  margin-top: 4px;
  color: var(--color-text-light);
  font-size: 0.9rem;
  line-height: 1.6;
  text-align: right;
}

/* =========================================================
   global nav
========================================================= */
.c-global-nav{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.c-global-nav__item{
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.c-global-nav__item:last-child{
  border-right: 1px solid rgba(255, 255, 255, 0.25);
}

.c-global-nav__link,
.c-global-nav__link:visited,
.c-global-nav__link:hover{
  color: var(--color-white);
}

.c-global-nav__link{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 12px 16px;
  font-weight: 700;
  text-align: center;
  transition: background-color 0.25s ease;
}

.c-global-nav__link:hover,
.c-global-nav__link:focus-visible{
  background: rgba(255, 255, 255, 0.12);
}

.c-global-nav__link.is-current{
  background: rgba(255, 255, 255, 0.2);
}

/* =========================================================
   breadcrumb / page header
========================================================= */
.c-breadcrumb{
  margin-bottom: var(--space-md);
}

.c-breadcrumb__list{
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  color: var(--color-text-light);
  font-size: 0.9rem;
}

.c-breadcrumb__item + .c-breadcrumb__item::before{
  content: "›";
  margin-right: 10px;
}

.c-page-header{
  margin-bottom: var(--space-xl);
}

.c-page-title{
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--color-accent) 0%, #f3dfc6 100%);
  color: var(--color-white);
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  font-weight: 800;
  line-height: 1.4;
}

/* =========================================================
   section / entry
========================================================= */
.c-section + .c-section{
  margin-top: var(--space-2xl);
}

.c-section-title{
  margin-bottom: var(--space-lg);
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--color-accent) 0%, #f3dfc6 100%);
  color: var(--color-white);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.4;
}

.c-entry{
  font-size: 1rem;
  line-height: 1.9;
}

.c-entry > * + *{
  margin-top: 1em;
}

.c-map{
  margin-top: var(--space-lg);
  text-align: center;
}

.c-map img{
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}




/* =========================================================
   sidebar
========================================================= */
.c-sidebar-box{
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 30px;
}

.c-sidebar-box + .c-sidebar-box{
  margin-top: var(--space-lg);
}

.c-sidebar-box__title{
  padding: 14px 16px;
  background: #ecebe5;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.5;
}

.c-sidebar-box__body{
  padding: 16px;
}

.c-side-banners__list{
  display: grid;
  gap: var(--space-md);
}




.c-side-banners__item a{
  display: block;
  overflow: hidden;
  border-radius: 4px;
  box-shadow:
    0 0 0 4px rgba(255, 255, 255, 0.5),
    0 0 0 6px rgba(0, 0, 0, 0.04),
    var(--shadow-sm);
}
.c-side-banners__item a:hover{
  opacity: 0.7;
}


.c-link-list a{
  color: #0b6e93;
}



/* ========================================
   side clinic（サイド最下部）
======================================== */
.c-side-clinic{
  margin-top: 48px;
  padding-top: 16px;
  border-top: 1px solid #e6ebe8;
  text-align: left;
}

.c-side-clinic__name{
  margin: 0;
  font-weight: 700;
  font-size: 0.95rem;
}

.c-side-clinic__address{
  margin-top: 6px;
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--color-text-light);
}





/* =========================================================
   cards / list
========================================================= */
.c-news-card{
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.c-news-card__header{
  display: flex;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eceee9;
}

.c-news-card__title{
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.5;
}

.c-news-card__date{
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: #eef3ef;
  color: var(--color-text-light);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.c-news-card__body > * + *{
  margin-top: 1em;
}

.c-note-box{
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  background: #f2f4ee;
}

.c-note-box ul{
  padding-left: 1.2em;
  list-style: disc;
}

.c-note-box li + li{
  margin-top: 0.5em;
}

.c-update-list{
  display: grid;
  gap: 12px;
}

.c-update-list__item{
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6ebe8;
}

.c-update-list__date{
  flex: 0 0 auto;
  color: var(--color-text-light);
  font-weight: 700;
}

.c-update-list__link,
.c-text-link{
  color: #c45b00;
}
.c-update-list__link:hover,
.c-text-link:hover{
  color: #c45b00;
  opacity:0.7;
}



/* 一覧を見る */
.c-section__more-wrap{
  margin: -6px 0 14px;
  text-align: right;
}

.c-section__more{
  color: #c45b00;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.c-section__more:hover{
  color: #c45b00;
  opacity: 0.7;
}







/* =========================================================
   footer
========================================================= */
.c-footer-nav__list{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
}

.c-footer-nav__item a{
  color: var(--color-white);
  font-size: 0.95rem;
}

.c-copyright{
  margin-top: var(--space-md);
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
}

/* =========================================================
   page: home
========================================================= */
.p-home-mv{
  margin-bottom: var(--space-2xl);
}

/* MV画像（overlay親） */
.p-home-mv__image{
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}

.p-home-mv__image img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.p-home-layout{
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 36px;
}

.p-home-layout__side,
.p-home-layout__main{
  min-width: 0;
}

/* 画像下部の帯 */
.p-home-mv__overlay{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 22px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(2px);
}

/* 左：医院名 */
.p-home-mv__caption{
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.p-home-mv__caption-sub{
  color: var(--color-text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.p-home-mv__caption-main{
  color: var(--color-primary);
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

/* 右：アクセス */
.p-home-mv__access{
  flex: 0 0 330px;
  display: grid;
  grid-template-columns: 88px 1fr;
  align-items: stretch;
  border: 3px solid var(--color-accent);
  border-radius: 10px;
  background: var(--color-accent);
  overflow: hidden;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.p-home-mv__access-title{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 8px;
  margin: 0;
  background: #ffffff;
  color: var(--color-primary);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.p-home-mv__access-text{
  margin: 0;
  padding: 8px 12px 8px 10px;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

/* =========================================================
   utility
========================================================= */
.u-mt-0{
  margin-top: 0 !important;
}

/* =========================================================
   hamburger menu
========================================================= */
body.is-menu-open{
  overflow: hidden;
}

.c-menu-toggle{
  display: none;
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 1200;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.14);
  cursor: pointer;
  appearance: none;
}

.c-menu-toggle__line{
  position: absolute;
  left: 50%;
  width: 24px;
  height: 2px;
  background: var(--color-primary-dark);
  border-radius: 999px;
  transform: translateX(-50%);
  transition:
    top 0.25s ease,
    transform 0.25s ease,
    opacity 0.2s ease;
}

.c-menu-toggle__line:nth-child(1){
  top: 19px;
}

.c-menu-toggle__line:nth-child(2){
  top: 27px;
}

.c-menu-toggle__line:nth-child(3){
  top: 35px;
}

body.is-menu-open .c-menu-toggle__line:nth-child(1){
  top: 27px;
  transform: translateX(-50%) rotate(45deg);
}

body.is-menu-open .c-menu-toggle__line:nth-child(2){
  opacity: 0;
}

body.is-menu-open .c-menu-toggle__line:nth-child(3){
  top: 27px;
  transform: translateX(-50%) rotate(-45deg);
}

/* =========================================================
   responsive
========================================================= */
@media (max-width: 900px){
  .l-header{
    padding-right: 84px;
  }

  .l-header__inner{
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .l-header__brand{
    width: 100%;
    min-width: 0;
  }

  .l-header__contact,
  .c-header-tel,
  .c-header-access{
    text-align: left;
  }

  .l-header__contact{
    width: 100%;
    padding-right: 0;
  }

  .l-global-nav{
    position: fixed;
    top: 84px;
    right: 14px;
    left: 14px;
    z-index: 1100;
    background: transparent;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.25s ease,
      opacity 0.25s ease,
      visibility 0.25s ease;
  }

  body::before{
    content: "";
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.32);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
  }

  body.is-menu-open::before{
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  body.is-menu-open .l-global-nav{
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .l-global-nav .l-container{
    width: 100%;
  }

  .c-site-logo{
    display: flex;
    width: 100%;
    min-width: 0;
  }

  .c-site-logo__sub{
    font-size: 0.85rem;
  }

  .c-site-logo__main{
    font-size: clamp(1.6rem, 6vw, 2.15rem);
    line-height: 1.15;
    letter-spacing: 0.01em;
    word-break: keep-all;
    overflow-wrap: anywhere;
  }

  .c-site-logo__meta{
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .c-header-tel__label{
    margin-bottom: 4px;
    font-size: 0.78rem;
  }

  .c-header-tel__number{
    display: inline-block;
    font-size: clamp(1.5rem, 5.8vw, 2rem);
    line-height: 1.2;
    letter-spacing: 0.02em;
  }

  .c-header-access{
    margin-top: 6px;
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .c-global-nav{
    grid-template-columns: 1fr;
    gap: 0;
    background: var(--color-primary);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
  }

  .c-global-nav__item,
  .c-global-nav__item:last-child{
    border-right: none;
  }

  .c-global-nav__item{
    border-left: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .c-global-nav__item:last-child{
    border-bottom: none;
  }

  .c-global-nav__link{
    min-height: 56px;
    justify-content: flex-start;
    padding: 14px 18px;
    font-size: 1rem;
  }

  .c-menu-toggle{
    display: block;
  }

  .p-home-layout{
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .p-home-mv__image{
    aspect-ratio: 16 / 8;
  }

  .p-home-mv__overlay{
    gap: 14px;
    padding: 14px 16px;
  }

  .p-home-mv__access{
    flex-basis: 280px;
    padding: 12px 14px;
  }

  .p-home-mv__caption-sub{
    font-size: 0.9rem;
  }

  .p-home-mv__caption-main{
    font-size: clamp(1.3rem, 4.8vw, 1.9rem);
  }

  .p-home-mv__access-title{
    font-size: 1rem;
  }

  .p-home-mv__access-text{
    font-size: 0.88rem;
  }
}

@media (max-width: 640px){
  body{
    font-size: 15px;
  }

  .l-container{
    width: min(100% - 24px, var(--content-width));
  }

  .l-main{
    padding: var(--space-md) 0 var(--space-2xl);
  }

  .l-header{
    padding-right: 76px;
  }

  .l-header__inner{
    gap: 10px;
    padding-top: 16px;
    padding-bottom: 16px;
  }

  .l-global-nav{
    top: 74px;
    right: 12px;
    left: 12px;
  }

  .c-site-logo__sub{
    font-size: 0.8rem;
  }

  .c-site-logo__main{
    font-size: clamp(1rem, 6vw, 1.5rem);
  }

  .c-site-logo__meta{
    font-size: 0.82rem;
  }

  .c-header-tel__number{
    font-size: clamp(1.35rem, 6vw, 1.8rem);
  }

  .c-header-access{
    font-size: 0.82rem;
  }

  .c-page-title,
  .c-section-title{
    font-size: 1.35rem;
    padding: 14px 16px;
  }

  .c-news-card{
    padding: 18px;
  }

  .c-news-card__title{
    font-size: 1.2rem;
  }

  .c-update-list__item{
    flex-direction: column;
    gap: 4px;
  }

  .c-menu-toggle{
    top: 12px;
    right: 12px;
    width: 52px;
    height: 52px;
  }

  .c-menu-toggle__line:nth-child(1){
    top: 17px;
  }

  .c-menu-toggle__line:nth-child(2){
    top: 25px;
  }

  .c-menu-toggle__line:nth-child(3){
    top: 33px;
  }

  body.is-menu-open .c-menu-toggle__line:nth-child(1){
    top: 25px;
  }

  body.is-menu-open .c-menu-toggle__line:nth-child(3){
    top: 25px;
  }

  .p-home-mv__image{
    aspect-ratio: 16 / 10;
  }

  .p-home-mv__overlay{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.84);
  }

  .p-home-mv__caption-sub{
    font-size: 0.82rem;
  }

  .p-home-mv__caption-main{
    font-size: 1.25rem;
  }

  .p-home-mv__access{
    display: none;
/*
    flex: none;
    width: 100%;
    padding: 10px 12px;
    border-width: 2px;
    border-radius: 8px;
*/
  }

  .p-home-mv__access-title{
    margin-bottom: 4px;
    font-size: 0.95rem;
  }

  .p-home-mv__access-text{
    font-size: 0.82rem;
    line-height: 1.55;
  }
}

@media (min-width: 901px){
  .l-global-nav{
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}



/* ========================================
   profile / doctor message
======================================== */
.c-profile{
  margin-top: var(--space-2xl);
  padding: 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.c-profile__layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  align-items: start;
}

.c-profile.is-reverse .c-profile__layout{
  grid-template-columns: 280px minmax(0, 1fr);
}

.c-profile.is-reverse .c-profile__body{
  order: 2;
}

.c-profile.is-reverse .c-profile__photo{
  order: 1;
}

/* 本文 */
.c-profile__body{
  min-width: 0;
}

.c-profile__name{
  margin: 0;
  color: var(--color-primary);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.3;
}

.c-profile__ruby{
  margin-top: 6px;
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.c-profile__lead{
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.8;
}

/* h3 相当 */
.c-profile__heading{
  margin: 28px 0 12px;
  padding: 10px 14px;
  border-left: 5px solid var(--color-accent);
  background: var(--color-accent-soft);
  color: var(--color-text)!important;
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.5;
}

/* h4 相当が必要になった場合 */
.c-profile__subheading{
  margin: 20px 0 10px;
  color: var(--color-primary-dark);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.5;
}

/* 本文リスト */
.c-profile__list{
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.c-profile__list li{
  position: relative;
  padding-left: 1.1em;
  line-height: 1.85;
}

.c-profile__list li::before{
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* 職歴 */
.c-profile__history{
  margin: 0;
}

.c-profile__history-row{
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px solid #e6ebe8;
}

.c-profile__history-row:first-child{
  border-top: 1px solid #e6ebe8;
}

.c-profile__history dt{
  margin: 0;
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.7;
}

.c-profile__history dd{
  margin: 0;
  line-height: 1.85;
}

/* 写真 */
.c-profile__photo{
  margin: 0;
}

.c-profile__photo img{
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* ========================================
   responsive
======================================== */
@media (max-width: 900px){
  .c-profile__layout,
  .c-profile.is-reverse .c-profile__layout{
    grid-template-columns: 1fr 240px;
    gap: 24px;
  }

  .c-profile__history-row{
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
  }
}

@media (max-width: 640px){
  .c-profile{
    padding: 18px;
  }

  .c-profile__layout,
  .c-profile.is-reverse .c-profile__layout{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* SP*/
  .c-profile__body{
    order: 2;
  }

  .c-profile__photo{
    order: 1;
    max-width: 320px;
  }

  .c-profile__name{
    font-size: 1.4rem;
  }

  .c-profile__heading{
    margin-top: 22px;
    font-size: 1.05rem;
  }

  .c-profile__history-row{
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }

  .c-profile__history dt{
    font-size: 0.95rem;
  }

  .c-profile__photo{
    order: 1; /* ←写真を先に */
    margin-inline: auto;
    max-width: 320px;
  }

  .c-profile__photo img{
    width: 100%;
    height: auto;
  }

  .c-profile__body{
    order: 2;
  }
}

/* ========================================
   profile：下段1カラム
======================================== */
.c-profile__full{
  margin-top: var(--space-xl);
}





/* ========================================
   c-entry headings
======================================== */




.c-entry h2 {
  margin: 1.8em 0 0.8em;
  padding: 10px 14px;
  border-left: 5px solid var(--color-accent);
  background: var(--color-accent-soft);
  color: var(--color-text);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.5;
}

.c-entry h3{
  margin: 1.4em 0 0.6em;
  color: var(--color-text);
  border-bottom: 1px solid var(--color-accent);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.5;
}

.c-profile h2{
  margin: 2.2em 0 0.9em;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--color-accent) 0%, #f3dfc6 100%);
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.4;
}
.c-profile h2:first-child{
  margin-top: 0;
}



/* ========================================
   medical table
======================================== */
.c-table-wrap{
  width: 100%;
  overflow-x: auto;
}

.c-medical-table{
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  text-align: center;
  font-size: 1rem;
  line-height: 1.5;
}

.c-medical-table th,
.c-medical-table td{
  border: 1px solid var(--color-border);
  padding: 14px 10px;
}

.c-medical-table thead th{
  background: #dff2eb;
  color: var(--color-text);
  font-weight: 800;
}

.c-medical-table__timehead{
  width: 190px;
}

.c-medical-table tbody th{
  background: #eef8f4;
  font-weight: 800;
  white-space: nowrap;
}

.c-medical-table td{
  background: var(--color-white);
  font-weight: 700;
}

.c-medical-table__naika{
  margin-left: 0.15em;
  color: var(--color-accent);
  font-weight: 800;
}

.c-medical-table__note{
  margin-top: 14px;
  color: #d94b3d;
  font-weight: 700;
}

.c-medical-table__legend{
  margin-top: 6px;
  color: var(--color-text-light);
  font-size: 0.95rem;
}

/* ========================================
   responsive
======================================== */
@media (max-width: 640px){
  .c-medical-table{
    font-size: 0.95rem;
  }

  .c-medical-table th,
  .c-medical-table td{
    padding: 12px 8px;
  }

  .c-medical-table__timehead{
    width: 160px;
  }
}




/* ========================================
   schedule table
======================================== */
.c-table-wrap{
  width: 100%;
  overflow-x: auto;
}

.c-schedule-table{
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  font-size: 1rem;
  line-height: 1.7;
}

.c-schedule-table th,
.c-schedule-table td{
  padding: 14px 16px;
  border: 1px solid var(--color-border);
  vertical-align: top;
}

.c-schedule-table thead th{
  background: #dff2eb;
  color: var(--color-text);
  font-weight: 800;
  text-align: center;
}

.c-schedule-table__timehead{
  width: 140px;
}

.c-schedule-table__menuhead{
  width: 180px;
}

.c-schedule-table tbody th{
  background: #eef8f4;
  color: var(--color-primary-dark);
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.c-schedule-table td strong{
  color: var(--color-primary);
  font-weight: 800;
}

.c-schedule-table td p{
  margin: 0;
}

.c-schedule-table td p + p{
  margin-top: 0.7em;
}

.c-schedule-table__note{
  color: #d94b3d;
  font-size: 0.95rem;
  font-weight: 700;
}

/* ========================================
   responsive
======================================== */
@media (max-width: 640px){
  .c-schedule-table{
    min-width: 640px;
    font-size: 0.95rem;
  }

  .c-schedule-table th,
  .c-schedule-table td{
    padding: 12px 12px;
  }

  .c-schedule-table__timehead{
    width: 120px;
  }

  .c-schedule-table__menuhead{
    width: 160px;
  }
}





/* ========================================
   clinic gallery
======================================== */
.c-clinic-gallery{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.c-clinic-gallery__item{
  min-width: 0;
}

.c-clinic-gallery__figure{
  margin: 0;
}

.c-clinic-gallery__figure img{
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: var(--shadow-sm);
}

.c-clinic-gallery__caption{
  margin-top: 10px;
  color: var(--color-primary);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.08em;
}

/* ========================================
   responsive
======================================== */
@media (max-width: 900px){
  .c-clinic-gallery{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 14px;
  }

  .c-clinic-gallery__caption{
    font-size: 1rem;
  }
}

@media (max-width: 640px){
  .c-clinic-gallery{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .c-clinic-gallery__figure img{
    aspect-ratio: 16 / 10;
  }

  .c-clinic-gallery__caption{
    margin-top: 8px;
    font-size: 0.98rem;
  }
}





/* ========================================
   media（文章＋画像）
======================================== */
.c-media{
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 24px;
  align-items: start;
  margin-top: var(--space-lg);
}

.c-media__body{
  min-width: 0;
}

.c-media__image{
  margin: 0;
}

.c-media__image img{
  display: block;
  width: 100%;
  height: auto;
}

/* 左右入れ替え */
.c-media.is-reverse{
  grid-template-columns: 260px minmax(0, 1fr);
}

.c-media.is-reverse .c-media__body{
  order: 2;
}

.c-media.is-reverse .c-media__image{
  order: 1;
}

/* ========================================
   responsive
======================================== */
@media (max-width: 640px){
  .c-media,
  .c-media.is-reverse{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* SPは常に「文章 → 画像」 */
  .c-media__body{
    order: 1;
  }

  .c-media__image{
    order: 2;
    max-width: 300px;
    margin-inline: auto;
  }
}




/* ========================================
   flow
======================================== */
.c-flow{
  margin-top: var(--space-lg);
}

.c-flow__step{
  padding: 16px 18px;
  background: #f4f7f1;
  /* border-left: 6px solid var(--color-primary); */
  border: 1px solid var(--color-primary);
  border-radius: 6px;
}

.c-flow__step + .c-flow__step{
  margin-top: 0;
}

.c-flow__text{
  margin: 0;
  line-height: 1.9;
  font-size: 1rem;
  font-weight: 500;
}

/* 番号ラベル */
.c-flow__num{
  display: inline-block;
  min-width: 88px;
  margin-right: 12px;
  margin-bottom: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  vertical-align: middle;
  letter-spacing: 0.03em;
}

/* 矢印 */
.c-flow__arrow{
  margin: 8px 0;
  text-align: center;
}

.c-flow__arrow img{
  display: inline-block;
  width: auto;
  max-width: 54px;
  height: auto;
}

/* 最後だけ少し強調したい場合 */
.c-flow__step:last-child{
  background: var(--color-primary-soft);
}

.c-flow__step:last-child .c-flow__text{
  font-weight: 700;
}

/* ========================================
   responsive
======================================== */
@media (max-width: 640px){
  .c-flow__step{
    padding: 14px 14px;
  }

  .c-flow__text{
    font-size: 0.96rem;
    line-height: 1.8;
  }

  .c-flow__num{
    min-width: 78px;
    margin-right: 8px;
    padding: 4px 8px;
    font-size: 0.84rem;
  }

  .c-flow__arrow{
    margin: 6px 0;
  }

  .c-flow__arrow img{
    max-width: 44px;
  }
}





/* ========================================
   slider
======================================== */
.c-slider{
  position: relative;
  margin-top: var(--space-lg);
  padding: 0 56px 44px;
}

.c-slider__viewport{
  overflow: hidden;
}

.c-slider__track{
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
  transition: transform 0.35s ease;
  will-change: transform;
}

.c-slider__slide{
  flex: 0 0 calc((100% - 36px) / 3);
  min-width: 0;
}

.c-slider__figure{
  margin: 0;
}

.c-slider__figure img{
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.c-slider__caption{
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}

/* 矢印 */
.c-slider__arrow{
  position: absolute;
  top: 42%;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--color-text);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
}

.c-slider__arrow--prev{
  left: 0;
}

.c-slider__arrow--next{
  right: 0;
}

.c-slider__arrow:disabled{
  opacity: 0.35;
  cursor: default;
}

/* ドット */
.c-slider__dots{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.c-slider__dot{
  width: 12px;
  height: 12px;
  padding: 0;
  border: 2px solid #111;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
}

.c-slider__dot.is-active{
  background: #111;
}

/* ========================================
   responsive
======================================== */
@media (max-width: 640px){
  .c-slider{
    padding: 0 0 36px;
  }

  .c-slider__track{
    gap: 0;
  }

  .c-slider__slide{
    flex: 0 0 100%;
  }

  .c-slider__figure img{
    max-width: 300px;
    margin-inline: auto;
  }

  .c-slider__arrow{
    top: auto;
    bottom: -2px;
    width: 36px;
    height: 36px;
    font-size: 1.8rem;
    transform: none;
  }

  .c-slider__arrow--prev{
    left: calc(50% - 84px);
  }

  .c-slider__arrow--next{
    right: calc(50% - 84px);
  }

  .c-slider__dots{
    margin-top: 14px;
  }
}





/* ========================================
   CTA
======================================== */
.c-cta{
  margin: var(--space-xl) 0;
  text-align: center;
}

.c-cta__button{
  display: inline-block;
  max-width: 720px;
  width: 100%;
  padding: 26px 20px;
  border-radius: 12px;
  border: 2px solid #f0b400;
  background: linear-gradient(180deg, #fff7cc 0%, #ffe9a8 100%);
  color: #e24b2c;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
}

.c-cta__button:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
}

.c-cta__main{
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1.5;
}

.c-cta__sub{
  display: block;
  margin-top: 6px;
  font-size: 1rem;
  font-weight: 700;
}

/* SP */
@media (max-width: 640px){
  .c-cta__button{
    padding: 20px 14px;
  }

  .c-cta__main{
    font-size: 1.1rem;
  }

  .c-cta__sub{
    font-size: 0.95rem;
  }
}





/* ========================================
   note box（共通）
======================================== */
.c-note{
  margin: var(--space-lg) 0;
  padding: 14px 18px;
  border-radius: 6px;
  font-weight: 700;
  text-align: left;
  line-height: 1.7;
}

/* 緑系（基本） */
.c-note--green{
  background: #e6f4ee; /* ←少し濃く */
  color: var(--color-primary-dark);
  border: 1px solid rgba(10,165,123,0.25); /* ←追加 */
}

/* オレンジ系 */
.c-note--orange{
  background: #ffe9cc; /* ←少し濃く */
  color: #c75a00;      /* ←少しだけ深く */
  border: 1px solid rgba(210,106,0,0.25); /* ←追加 */
}

/* 白系 */
.c-note--white{
  background: #ffffff;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  box-shadow: 0 1px 4px rgba(0,0,0,0.04); /* ←ほんの少しだけ浮かせる */
}




/* ========================================
   badge（診療科）
======================================== */
.c-badge{
  display: inline-block;
  margin-left: 4px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.2;
  vertical-align: middle;
  letter-spacing: 0.03em;
}

/* 整形 */
.c-badge--ortho{
  background: #e6f4ee;
  color: var(--color-primary-dark);
  border: 1px solid rgba(10,165,123,0.3);
}

/* リハ */
.c-badge--reha{
  background: #eef3fb;
  color: #2a6db0;
  border: 1px solid rgba(42,109,176,0.3);
}

/* 内科 */
.c-badge--naika{
  background: #fff3e2;
  color: #c75a00;
  border: 1px solid rgba(210,106,0,0.3);
}


/* ヘッダー内の診療科バッジ */
.c-site-logo__meta .c-badge{
  margin-left: 6px;
  vertical-align: baseline;
}

/* 最初の整形だけ強調 */
.c-site-logo__meta .c-badge--ortho{
  padding: 4px 10px;
  
  font-size: 0.95rem;
  font-weight: 800;
  background: var(--color-primary);
  color: #fff;
  border: 1px solid var(--color-primary);
  box-shadow: 0 2px 6px rgba(10,165,123,0.18);
}

/* 補助2科は少し控えめ */
.c-site-logo__meta .c-badge--reha,
.c-site-logo__meta .c-badge--naika{
  font-size: 0.72rem;
  padding: 2px 6px;
}




/* ========================================
   to top button
======================================== */
.c-to-top{
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 100;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px rgba(0,0,0,0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease;
}

/* アイコン（FontAwesome） */
.c-to-top::before{
  font-family: "Font Awesome 7 Free";
  content: "\f062"; /* ↑ */
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
}

/* 表示状態 */
.c-to-top.is-visible{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* ホバー */
.c-to-top:hover{
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}




/* ========================================
   accordion（details）
======================================== */
.c-accordion{
  border-bottom: 1px solid var(--color-border);
}

/* タイトル行 */
.c-accordion__summary{
  position: relative;
  display: block;
  padding: 12px 28px 12px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

/* デフォルトの三角を消す */
.c-accordion__summary::-webkit-details-marker{
  display: none;
}

/* 矢印 */
.c-accordion__summary::after{
  content: "＋";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary);
  transition: transform .2s ease;
}

/* 開いたとき */
.c-accordion[open] .c-accordion__summary::after{
  content: "－";
}

/* 中身 */
.c-accordion__content{
  padding: 8px 0 14px;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* リスト調整 */
.c-accordion__content ul{
  margin-top: 6px;
  padding-left: 1.2em;
}


