@charset "utf-8";

/* ==================================================
  Font Awesome
================================================== */
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/7.0.0/css/all.min.css");

/* ==================================================
  Foundation
================================================== */
:root{
  --color-primary: #8d6aaa;
  --color-primary-dark: #5f3f78;
  --color-primary-light: #eee5f5;
  --color-primary-soft: #f8f3fb;

  --color-accent: #c58bbd;
  --color-accent-dark: #9d5f95;
  --color-accent-soft: #fbedf8;

  --color-text: #333333;
  --color-muted: #666666;
  --color-border: #d8c8e5;
  --color-bg: #ffffff;
  --color-bg-soft: #faf7fc;

  --container-width: 1200px;
  --breakpoint-sp: 900px;

  --font-base: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(70, 35, 95, 0.08);
  --shadow-md: 0 8px 24px rgba(70, 35, 95, 0.14);

  --transition-base: .2s ease;
}

html{
  scroll-behavior: smooth;
}

body{
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  color: var(--color-text);
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.8;
  background: var(--color-bg);
  overflow-x: hidden;
}

body.is-nav-open{
  overflow: hidden;
}

img{
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a{
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

a:hover{
  color: var(--color-accent-dark);
  text-decoration: none;
}

button{
  font: inherit;
}

.skip-link{
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1000;
  padding: 8px 12px 8px 12px;
  background: #ffffff;
  color: var(--color-primary-dark);
  transform: translateY(-120%);
}

.skip-link:focus{
  transform: translateY(0);
}

/* ==================================================
  Utility
================================================== */
@media (min-width: 901px){
  .is-sp-only{ display:none !important; }
}
@media (max-width: 900px){
  .is-pc-only{ display:none!important; }
}




.u-text-red{
  color: #d60000;
}

.u-text-purple{
  color: var(--color-accent-dark);
}

.u-text-small{
  font-size:80%;
}

.clsKyushin {
  color: var(--color-accent);
}
.clsKyushin2 {
  color: var(--color-accent-dark);
}

.clsMk4 {
  background-color:yellow;
}


/* ==================================================
  Note Mark List
  - 「※」を自動表示する注釈リスト
================================================== */
.note-mark-list{
  margin: 12px 0 12px 0;
  padding: 0 0 0 0;
  list-style: none;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.note-mark-list li{
  position: relative;
  margin: 0 0 6px 0;
  padding: 0 0 0 1.4em;
}

.note-mark-list li:last-child{
  margin-bottom: 0;
}

.note-mark-list li::before{
  content: "※";
  position: absolute;
  top: 0;
  left: 0;
  color: var(--color-primary);
  font-weight: 700;
}

/* SP */
@media (max-width: 900px){
  .note-mark-list{
    font-size: 0.9rem;
  }
}


/* ==================================================
  Normal List
  - 通常の箇条書き
  - 左余白を少し控えめにする
================================================== */
.normal-list{
  margin: 0 0 0 0;
  padding: 0 0 0 1.2em;
  line-height: 1.8;
}

.normal-list li{
  padding-left: 0.15em;
}

.normal-list li + li{
  margin-top: 4px;
}

/* SP */
@media (max-width: 900px){
  .normal-list{
    padding-left: 1.1em;
  }
}



/* ==================================================
  Layout
================================================== */
.l-container{
  width: min(100% - 40px, var(--container-width));
  margin: 0 auto 0 auto;
}

.l-main{
  padding: 0 0 72px 0;
}

/* SP */
@media (max-width: 900px){
  .l-container{
    width: min(100% - 28px, var(--container-width));
  }

  .l-main{
    padding: 0 0 56px 0;
  }
}

/* ==================================================
  Header
================================================== */
.site-header{
  position: relative;
  z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 16px 0 16px 0;
}

.site-header__brand{
  min-width: 0;
}

.site-logo{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--color-primary-dark);
  font-weight: 800;
  text-decoration: none;
}

.site-logo__image{
  width: 56px;
  height: auto;
}

.site-logo__text{
  font-size: 1.45rem;
  line-height: 1.3;
  letter-spacing: .03em;
}

.site-header__info{
  display: grid;
  gap: 4px;
  margin: 0 0 0 auto;
  color: var(--color-muted);
  font-size: .92rem;
  text-align: right;
}

.site-header__info p{
  margin: 0 0 0 0;
}

.site-header__info a{
  color: var(--color-primary-dark);
  font-weight: 800;
  text-decoration: none;
}

.site-header__address .site-header__icon::before{
  content: "\f3c5";
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  margin: 0 6px 0 0;
  color: var(--color-primary);
}

.site-header__tel .site-header__icon::before{
  content: "\f095";
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  margin: 0 6px 0 0;
  color: var(--color-primary);
}

/* SP */
@media (max-width: 900px){
  .site-header__inner{
    min-height: 72px;
    padding: 12px 0 12px 0;
  }

  .site-logo__image{
    width: 44px;
  }

  .site-logo__text{
    font-size: 1.08rem;
  }

  .site-header__info{
    display: none;
  }
}

/* ==================================================
  Global Navigation
================================================== */
.g-nav-wrap{
  width: 100%;
  background: linear-gradient(90deg, var(--color-primary-light), #ffffff, var(--color-primary-light));
  border-top: 1px solid var(--color-border);
}

.g-nav__list{
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  list-style: none;
}

.g-nav__item{
  position: relative;
  flex: 1 1 0;
}

.g-nav__link{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 10px 14px 10px 14px;
  color: var(--color-primary-dark);
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition:
    background-color var(--transition-base),
    color var(--transition-base);
}

.g-nav__link:hover,
.g-nav__link.is-active{
  background: var(--color-primary);
  color: #ffffff;
}

.g-nav__submenu{
  margin: 0 0 0 0;
  padding: 8px 0 8px 0;
  list-style: none;
}

.g-nav__submenu a{
  display: block;
  padding: 10px 16px 10px 16px;
  color: var(--color-primary-dark);
  font-weight: 700;
  text-decoration: none;
}

.g-nav__submenu a:hover,
.g-nav__submenu a.is-active{
  background: var(--color-primary-soft);
  color: var(--color-accent-dark);
}

/* PC：サブメニューは hover / focus-within */
@media (min-width: 901px){
  .g-nav__submenu{
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 30;
    min-width: 240px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition:
      opacity var(--transition-base),
      visibility var(--transition-base),
      transform var(--transition-base);
  }

  .g-nav__item:hover > .g-nav__submenu,
  .g-nav__item:focus-within > .g-nav__submenu{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .g-nav__submenu-toggle{
    display: none;
  }
}

/* SP：同じメニューをドロワー化 */
@media (max-width: 900px){
  .g-nav-wrap{
    position: fixed;
    top: 0;
    right: 0;
    z-index: 210;
    width: min(84vw, 360px);
    height: 100dvh;
    padding: 82px 0 24px 0;
    background: #ffffff;
    border-top: 0;
    border-left: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    overflow-y: auto;
    transform: translateX(105%);
    transition: transform .25s ease;
  }

  body.is-nav-open .g-nav-wrap{
    transform: translateX(0);
  }

  .g-nav__list{
    display: block;
  }

  .g-nav__item{
    border-bottom: 1px solid var(--color-border);
  }

  .g-nav__link{
    justify-content: flex-start;
    min-height: 52px;
    padding: 13px 56px 13px 18px;
    text-align: left;
  }

  .g-nav__submenu{
    display: none;
    padding: 0 0 8px 0;
    background: var(--color-primary-soft);
  }

  .g-nav__item.is-open > .g-nav__submenu{
    display: block;
  }

  .g-nav__submenu a{
    padding: 10px 18px 10px 32px;
  }

  .g-nav__submenu-toggle{
    position: absolute;
    top: 4px;
    right: 6px;
    width: 44px;
    height: 44px;
    padding: 0 0 0 0;
    border: 0;
    background: transparent;
    color: var(--color-primary-dark);
    cursor: pointer;
  }

  .g-nav__submenu-toggle::before{
    content: "\2b";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
  }

  .g-nav__item.is-open > .g-nav__submenu-toggle::before{
    content: "\f068";
  }
}

/* ==================================================
  Hamburger
================================================== */
.nav-toggle{
  display: none;
}

/* SP：ハンバーガーメニューは常時表示 */
@media (max-width: 900px){
  .nav-toggle{
    position: fixed;
    top: 12px;
    right: 14px;
    z-index: 230;

    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;

    width: 46px;
    height: 46px;
    margin: 0 0 0 0;
    padding: 0 0 0 0;

    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    background: #ffffff;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
  }

  .nav-toggle__line{
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-primary-dark);
    transition:
      transform var(--transition-base),
      opacity var(--transition-base);
  }

  body.is-nav-open .nav-toggle__line:nth-child(1){
    transform: translateY(8px) rotate(45deg);
  }

  body.is-nav-open .nav-toggle__line:nth-child(2){
    opacity: 0;
  }

  body.is-nav-open .nav-toggle__line:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ==================================================
  Page Title
================================================== */
.page-title{
  width: 100%;
  padding: 52px 0 48px 0;
  background:
    linear-gradient(135deg, rgba(141,106,170,.92), rgba(238,229,245,.95)),
    var(--color-primary-light);
}

.page-title__label{
  margin: 0 0 8px 0;
  color: rgba(255, 255, 255, .85);
  font-size: .95rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.page-title__heading{
  margin: 0 0 0 0;
  color: #ffffff;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  line-height: 1.35;
  letter-spacing: .05em;
}

/* SP */
@media (max-width: 900px){
  .page-title{
    padding: 38px 0 34px 0;
  }

  .page-title__label{
    font-size: .82rem;
  }
}

/* ==================================================
  Breadcrumb
================================================== */
.breadcrumb{
  padding: 14px 0 14px 0;
  background: var(--color-bg-soft);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumb__list{
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  list-style: none;
  font-size: .88rem;
}

.breadcrumb__list li{
  display: inline-flex;
  align-items: center;
  color: var(--color-muted);
}

.breadcrumb__list li + li::before{
  content: "›";
  margin: 0 10px 0 0;
  color: var(--color-primary);
}

.breadcrumb__list a{
  color: var(--color-primary-dark);
  text-decoration: none;
}

.breadcrumb__list a:hover{
  text-decoration: underline;
}



/* ==================================================
  Page Content
  - パンくず下から本文開始までの余白
  - page-links が無いページでも見出しが詰まらないようにする
================================================== */
.page-content{
  padding: 40px 0 0 0;
}

.page-content .page-links{
  margin-top: 0;
}

/* SP */
@media (max-width: 900px){
  .page-content{
    padding: 30px 0 0 0;
  }
}


/* ==================================================
  Page Links
  - SP時にボタン幅がはみ出さないようにする
================================================== */
.page-links__list,
.page-links__list *,
.page-links__list *::before,
.page-links__list *::after{
  box-sizing: border-box;
}

.page-links{
  margin: 34px 0 40px 0;
}

.page-links__list{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 0 0;
  padding: 0 0 0 0;
  list-style: none;
}

.page-links__list a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px 10px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-weight: 800;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base);
}

.page-links__list a::after{
  content: "\f105";
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  margin: 0 0 0 8px;
  font-size: .85em;
}

.page-links__list a:hover,
.page-links__list a[aria-current="page"]{
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

/* SP */
/* SP */
@media (max-width: 900px){
  .page-links{
    margin: 26px 0 32px 0;
  }

  .page-links__list{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .page-links__list li{
    min-width: 0;
  }

  .page-links__list a{
    width: 100%;
    min-width: 0;
    padding: 10px 10px 10px 10px;
    word-break: keep-all;
  }
}

@media (max-width: 560px){
  .page-links__list{
    grid-template-columns: 1fr;
  }
}

/* ==================================================
  Section / Entry
================================================== */
.c-section{
  margin: 0 0 0 0;
}

.c-section + .c-section{
  margin-top: 56px;
}

.c-entry{
  max-width: 78ch;
}

.c-entry p{
  margin: 0 0 1.2em 0;
}

.c-entry p:last-child{
  margin-bottom: 0;
}

h2,
h3,
h4,
h5{
  color: var(--color-primary-dark);
  line-height: 1.45;
}

h2{
  position: relative;
  margin: 0 0 24px 0;
  padding: 0 0 12px 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  border-bottom: 2px solid var(--color-primary-light);
}

h2::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 96px;
  height: 2px;
  background: var(--color-primary);
}

h3{
  margin: 36px 0 18px 0;
  padding: 10px 16px 10px 16px;
  font-size: 1.3rem;
  background: var(--color-primary-soft);
  border-left: 5px solid var(--color-primary);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

h4{
  margin: 28px 0 12px 0;
  padding: 0 0 0 14px;
  font-size: 1.1rem;
  border-left: 4px solid var(--color-accent);
}

h5{
  margin: 28px 0 12px 0;
  padding: 0 0 0 0px;
  font-size: 1.1rem;
}


/* SP */
@media (max-width: 900px){
  .c-section + .c-section{
    margin-top: 44px;
  }

  h2{
    margin: 0 0 20px 0;
  }

  h3{
    margin: 30px 0 16px 0;
    padding: 9px 14px 9px 14px;
  }
}

/* ==================================================
  Clinic Hero
================================================== */
.clinic-hero{
  margin: 0 0 0 0;
}

.clinic-hero__figure{
  position: relative;
  margin: 0 0 0 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.clinic-hero__figure img{
  display: block;
  width: 100%;
}

.clinic-hero__caption{
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px 24px 18px 24px;
  background: rgba(255, 255, 255, .78);
  color: var(--color-primary-dark);
  font-size: clamp(1.2rem, 2.4vw, 1.8rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .04em;
}

/* SP */
@media (max-width: 900px){
  .clinic-hero__figure{
    border-radius: var(--radius-md);
  }

  .clinic-hero__caption{
    padding: 12px 16px 12px 16px;
  }
}

/* ==================================================
  Info List
================================================== */
.info-card{
  padding: 28px 30px 28px 30px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.info-list{
  margin: 0 0 0 0;
}

.info-list__row{
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 16px 0 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.info-list__row:first-child{
  padding-top: 0;
}

.info-list__row:last-child{
  padding-bottom: 0;
  border-bottom: 0;
}

.info-list dt{
  color: var(--color-primary-dark);
  font-weight: 800;
}

.info-list dd{
  margin: 0 0 0 0;
}

/* SP */
@media (max-width: 900px){
  .info-card{
    padding: 22px 18px 22px 18px;
  }

  .info-list__row{
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0 14px 0;
  }
}

/* ==================================================
  Table
================================================== */
.table-wrap{
  width: 100%;
  overflow-x: auto;
}

.schedule-table{
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid var(--color-border);
}

.schedule-table th,
.schedule-table td{
  padding: 14px 12px 14px 12px;
  border: 1px solid var(--color-border);
  line-height: 1.5;
  text-align: center;
  vertical-align: middle;
}

.schedule-table thead th{
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 800;
}

.schedule-table tbody th{
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-weight: 800;
}

.schedule-table td{
  font-weight: 700;
}

/* SP */
@media (max-width: 900px){
  .schedule-table th,
  .schedule-table td{
    padding: 12px 10px 12px 10px;
  }
}

/* ==================================================
  Notes
================================================== */
.c-note-list{
  margin: 14px 0 0 0;
  padding: 16px 18px 16px 36px;
  background: var(--color-accent-soft);
  border: 1px solid #ead0e5;
  border-radius: var(--radius-sm);
}

.c-note-list li + li{
  margin-top: 4px;
}

/* SP */
@media (max-width: 900px){
  .c-note-list{
    padding: 14px 16px 14px 32px;
  }
}

/* ==================================================
  Footer
================================================== */
.site-footer{
  width: 100%;
  padding: 42px 0 34px 0;
  background: var(--color-primary-dark);
  color: #ffffff;
}

.site-footer a{
  color: #ffffff;
}

.site-footer__inner{
  text-align: center;
}

.site-footer__name{
  margin: 0 0 8px 0;
  font-size: 1.2rem;
  font-weight: 800;
}

.site-footer__address,
.site-footer__tel,
.site-footer__copy{
  margin: 4px 0 0 0;
}

/* SP */
@media (max-width: 900px){
  .site-footer{
    padding: 34px 0 28px 0;
  }
}

/* ==================================================
  Page Top
================================================== */
.page-top{
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0 0 0 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition:
    opacity var(--transition-base),
    visibility var(--transition-base),
    transform var(--transition-base),
    background-color var(--transition-base);
}

.page-top::before{
  content: "\f077";
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
}

.page-top.is-show{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.page-top:hover{
  background: var(--color-accent-dark);
}

/* SP */
@media (max-width: 900px){
  .page-top{
    right: 16px;
    bottom: 16px;
    width: 44px;
    height: 44px;
  }
}




/* ==================================================
  Image Text
  - 画像＋文章の横並びレイアウト
  - PCでは画像を元サイズ以上に拡大しない
  - .image-text--left  ：画像左／文章右
  - .image-text--right ：画像右／文章左
================================================== */
.image-text{
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}

.image-text--right{
  grid-template-columns: 1fr auto;
}

.image-text--right .image-text__figure{
  order: 2;
}

.image-text--right .image-text__body{
  order: 1;
}

.image-text__figure{
  margin: 0 0 0 0;
  max-width: 320px;
}

.image-text__figure img{
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.image-text__body{
  min-width: 0;
}

.image-text__body p{
  margin: 0 0 1.2em 0;
}

.image-text__body p:last-child{
  margin-bottom: 0;
}

.image-text__name{
  margin: 1.8em 0 0 0;
  color: var(--color-primary-dark);
  font-weight: 800;
  text-align: right;
}

/* SP */
@media (max-width: 900px){
  .image-text,
  .image-text--right{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .image-text--right .image-text__figure,
  .image-text--right .image-text__body{
    order: initial;
  }

  .image-text__figure{
    max-width: 360px;
    margin: 0 auto 0 auto;
  }

  .image-text__figure img{
    width: auto;
    max-width: 100%;
  }

  .image-text__name{
    text-align: left;
  }
}


.image-text__figure figcaption{
  margin: 10px 0 0 0;
  color: var(--color-primary-dark);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
}

/* SP */
@media (max-width: 900px){
  .image-text__figure figcaption{
    margin: 8px 0 0 0;
    font-size: 0.9rem;
  }
}

/* ==================================================
  Image Card List
  - 小さめ画像＋キャプション
  - PC：左寄せ2列
  - SP：1列
================================================== */
.image-card-list{
  display: grid;
  grid-template-columns: repeat(2, auto);
  justify-content: start;
  gap: 24px;
  margin: 24px 0 24px 0;
}

.image-card{
  width: 300px;
  margin: 0 0 0 0;
}

.image-card img{
  display: block;
  width: 300px;
  height: 210px;
  object-fit: cover;
  object-position: center center;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.image-card figcaption{
  margin: 8px 0 0 0;
  color: var(--color-muted);
  font-size: 0.92rem;
  line-height: 1.6;
  text-align: left;
}

/* SP */
@media (max-width: 900px){
  .image-card-list{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .image-card{
    width: auto;
    max-width: 300px;
    margin: 0 auto 0 auto;
  }

  .image-card img{
    width: 100%;
    height: auto;
    aspect-ratio: 10 / 7;
    object-fit: cover;
  }
}




/* ==================================================
  Calendar Legend
  - 診療カレンダーの凡例
================================================== */
.calendar-legend{
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 24px 0;
  padding: 14px 16px 14px 16px;
  list-style: none;
  background: var(--color-primary-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.calendar-legend__item{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 0 0;
}

.calendar-legend__color{
  display: inline-block;
  width: 30px;
  height: 18px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  flex: 0 0 auto;
}

.calendar-legend__text{
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* 休診：薄いパープル */
.calendar-legend__color--closed{
  background: #eee5f5;
}

/* 臨時休診：濃いパープル */
.calendar-legend__color--temporary-closed{
  background: #8d6aaa;
}

/* 午後休診 */
.calendar-legend__color--pm-closed{
  background: #f5d7ea;
}

/* 17時30分終了 */
.calendar-legend__color--early-close{
  background: #f4c98b;
}

/* SP */
@media (max-width: 900px){
  .calendar-legend{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
    padding: 12px 12px 12px 12px;
  }

  .calendar-legend__item{
    align-items: flex-start;
  }

  .calendar-legend__color{
    width: 26px;
    height: 16px;
    margin: 3px 0 0 0;
  }

  .calendar-legend__text{
    font-size: 0.9rem;
  }
}

@media (max-width: 560px){
  .calendar-legend{
    grid-template-columns: 1fr;
  }
}

/* ==================================================
  Calendar
  - 診療カレンダー本体
================================================== */
.calendar-list{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 0 0 0;
}

.calendar-month{
  min-width: 0;
}

.calendar-month__title{
  margin: 0 0 8px 0;
  color: var(--color-primary-dark);
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.5;
}

.calendar-table{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: #ffffff;
  border: 1px solid var(--color-border);
}

.calendar-table th,
.calendar-table td{
  width: 14.285%;
  height: 38px;
  padding: 6px 7px 6px 7px;
  border: 1px solid var(--color-border);
  font-size: 0.92rem;
  line-height: 1.2;
  text-align: right;
  vertical-align: top;
}

.calendar-table th{
  height: auto;
  padding: 8px 6px 8px 6px;
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 800;
  text-align: center;
  vertical-align: middle;
}

.calendar-table td{
  color: var(--color-text);
}

/* 日曜 */
.calendar-table__sun{
  color: #d85b4a;
}

/* 土曜 */
.calendar-table__sat{
  color: #3f8f6b;
}

/* 休診：薄いパープル */
.calendar-cell--closed{
  background: #eee5f5;
}

/* 臨時休診：濃いパープル */
.calendar-cell--temporary-closed{
  background: #8d6aaa;
  color: #ffffff!important;
}

/* 午後休診 */
.calendar-cell--pm-closed{
  background: #f5d7ea;
}

/* 17時30分終了 */
.calendar-cell--early-close{
  background: #f4c98b;
}

/* SP */
@media (max-width: 900px){
  .calendar-list{
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .calendar-month__title{
    font-size: 1rem;
  }

  .calendar-table th,
  .calendar-table td{
    height: 34px;
    padding: 5px 6px 5px 6px;
    font-size: 0.86rem;
  }
}



/* ==================================================
  Link Box
  - 外部リンク・関連リンク用の枠付きリンク
================================================== */
.link-box{
  margin: 24px 0 24px 0;
}

.link-box a{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px 14px 18px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
  transition:
    background-color var(--transition-base),
    border-color var(--transition-base),
    color var(--transition-base);
}

.link-box a::after{
  content: "\f35d";
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  font-size: 0.85em;
}

.link-box a:hover{
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

/* SP */
@media (max-width: 900px){
  .link-box a{
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
    padding: 13px 14px 13px 14px;
    text-align: center;
  }
}



/* ==================================================
  Price Table
  - 料金表
================================================== */
.price-table{
  width: 100%;
  max-width: 720px;
  border-collapse: collapse;
  background: #ffffff;
  border: 1px solid var(--color-border);
}

.price-table caption{
  margin: 0 0 10px 0;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.5;
  text-align: left;
  padding: 0.5em;
}

.price-table caption span{
  display: inline-block;
  margin: 0 0 0 0.5em;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 500;
}

.price-table th,
.price-table td{
  padding: 13px 16px 13px 16px;
  border: 1px solid var(--color-border);
  line-height: 1.5;
  vertical-align: middle;
}

.price-table th{
  width: 65%;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-weight: 800;
  text-align: left;
}

.price-table td{
  width: 35%;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

/* SP */
@media (max-width: 900px){
  .price-table{
    max-width: none;
  }

  .price-table caption span{
    display: block;
    margin: 2px 0 0 0;
  }

  .price-table th,
  .price-table td{
    padding: 12px 12px 12px 12px;
  }
}


/* ==================================================
  Text Box
  - 色付きテキスト枠
  - .text-box              ：基本背景色枠（薄い紫）
  - .text-box--soft        ：基本背景色枠2（さらに薄め）
  - .text-box--attention   ：注意枠
  - .text-box--note        ：注釈枠
================================================== */
.text-box{
  margin: 24px 0 24px 0;
  padding: 18px 20px 18px 20px;
  background: var(--color-primary-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.text-box > *:first-child{
  margin-top: 0;
}

.text-box > *:last-child{
  margin-bottom: 0;
}

.text-box p{
  margin: 0 0 1em 0;
}

/* 基本背景色枠2：さらに薄め */
.text-box--soft{
  background: var(--color-bg-soft);
  border-color: var(--color-border);
}

/* 注意枠 */
.text-box--attention{
  background: #fff7ed;
  border-color: #f4c98b;
}

/* 注釈枠 */
.text-box--note{
  padding: 0.3em 0.5em 0.3em 0.5em!important;
  background: var(--color-accent-soft);
  border-color: #ead0e5;
}

/* SP */
@media (max-width: 900px){
  .text-box{
    margin: 20px 0 20px 0;
    padding: 16px 16px 16px 16px;
  }
}


.p--caption {
  display: inline-block;
  padding: 0.5em;
  margin: 0.5em 0 0.5em 0;
  background-color: #f5f5f5;
  border-color: #f5f5f5;
  border-radius: 8px;
}


/* ==================================================
  Treatment Badge
  - 保険診療／自由診療などの短い案内バッジ
================================================== */
.treatment-badge{
  display: inline-block;
  margin: 8px 0 8px 0;
  padding: 6px 14px 6px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.5;
}

/* 保険診療 */
.treatment-badge--insurance{
  background: #ffffff;
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

/* 自由診療 */
.treatment-badge--private{
  background: var(--color-accent-soft);
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}

/* SP */
@media (max-width: 900px){
  .treatment-badge{
    font-size: 0.9rem;
  }
}


/* ==================================================
  Term Toggle
  - Q&A本文中の用語説明
  - タップ／クリックでその場に説明を表示
================================================== */
.term-inline{
  position: relative;
  display: inline;
}

.term-toggle{
  display: inline;
  margin: 0 2px 0 2px;
  padding: 1px 6px 2px 6px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  cursor: pointer;
}

.term-toggle::after{
  content: "\f05a";
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  margin: 0 0 0 5px;
  font-size: 0.85em;
  color: var(--color-primary);
}

.term-toggle:hover,
.term-toggle[aria-expanded="true"]{
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.term-panel{
  display: block;
  margin: 8px 0 12px 0;
  padding: 12px 14px 12px 14px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
  font-size: 0.95rem;
  line-height: 1.7;
}

.term-panel::before{
  content: "用語説明";
  display: inline-block;
  margin: 0 0 6px 0;
  padding: 2px 8px 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.4;
}

.term-panel[hidden]{
  display: none;
}

/* SP */
@media (max-width: 900px){
  .term-toggle{
    padding: 2px 7px 3px 7px;
  }

  .term-panel{
    margin: 8px 0 14px 0;
    padding: 12px 12px 12px 12px;
    font-size: 0.92rem;
  }
}



/* ==================================================
  Map Frame
  - Google Map 埋め込み用レスポンシブ枠
================================================== */
.map-frame{
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  margin: 24px 0 24px 0;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.map-frame iframe{
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* SP */
@media (max-width: 900px){
  .map-frame{
    aspect-ratio: 1 / 1;
    margin: 20px 0 20px 0;
  }
}



/* ==================================================
  Home Hero
  - トップページ メインビジュアル
  - 文字要望があった場合に対応できる白半透明帯あり
================================================== */
.home-hero{
  margin: 0 0 48px 0;
}

.home-hero__figure{
  position: relative;
  margin: 0 0 0 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.home-hero__figure img{
  display: block;
  width: 100%;
  height: auto;
}

.home-hero__caption{
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 18px 24px 18px 24px;
  background: rgba(255, 255, 255, .82);
  color: var(--color-primary-dark);
}

.home-hero__title{
  display: block;
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  font-weight: 800;
  line-height: 1.4;
  letter-spacing: .04em;
}

.home-hero__lead{
  display: block;
  margin: 4px 0 0 0;
  color: var(--color-accent-dark);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 800;
  line-height: 1.6;
}

.home-hero__text{
  display: block;
  margin: 4px 0 0 0;
  color: var(--color-text);
  font-size: clamp(0.88rem, 1.4vw, 1rem);
  font-weight: 600;
  line-height: 1.7;
}


/* SP */
@media (max-width: 900px){
  .home-hero{
    margin: 0 0 36px 0;
  }

  .home-hero__caption{
    padding: 12px 14px 12px 14px;
  }

  .home-hero__lead{
    margin: 3px 0 0 0;
    font-size: 0.9rem;
  }

  .home-hero__text{
    margin: 3px 0 0 0;
    font-size: 0.84rem;
    line-height: 1.6;
  }

  .home-hero__text br{
    display: none;
  }
}

/* ==================================================
  Home Section
================================================== */
.home-section{
  margin: 0 0 0 0;
}

.home-section + .home-section{
  margin-top: 56px;
}

/* SP */
@media (max-width: 900px){
  .home-section + .home-section{
    margin-top: 44px;
  }
}

/* ==================================================
  News List
  - 日付・タイトル・文章の3点セット
================================================== */
.news-list{
  display: grid;
  gap: 14px;
}

.news-item{
  padding: 18px 20px 18px 20px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.news-item__date{
  display: inline-block;
  margin: 0 0 6px 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
}

.news-item__title{
  margin: 0 0 6px 0;
  padding: 0 0 0 0;
  background: none;
  border-left: 0;
  border-radius: 0;
  color: var(--color-primary-dark);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.5;
}

.news-item__text{
  margin: 0 0 0 0;
  line-height: 1.7;
}

/* SP */
@media (max-width: 900px){
  .news-item{
    padding: 16px 14px 16px 14px;
  }
}

/* ==================================================
  Closed Dates
  - トップページ休診日表示
  - 日付をバッジ風に表示
================================================== */
.closed-month{
  margin: 20px 0 0 0;
  padding: 20px 22px 20px 22px;
  background: var(--color-bg-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.closed-month + .closed-month{
  margin-top: 18px;
}

.closed-month__title{
  margin: 0 0 1em 0;
  padding: 0 0 0 0;
  background: none;
  border-left: 0;
  border-radius: 0;
  color: var(--color-primary-dark);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.5;
}

.closed-month__updated{
  margin: 0 0 14px 1em;
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.closed-date-list{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px 0;
  padding: 0 0 0 0;
  list-style: none;
}

.closed-date{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px 6px 10px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.4;
}

.closed-date span{
  font-size: 0.82rem;
  font-weight: 700;
}

/* 木曜などの通常休診 */
.closed-date--regular{
  background: var(--color-primary-soft);
  border-color: var(--color-border);
  color: var(--color-primary-dark);
}

/* 土曜休診 */
.closed-date--saturday{
  background: #eef8f2;
  border-color: #b8dcc8;
  color: #2f6f4f;
}

/* 臨時休診 */
.closed-date--temporary{
  background: #8d6aaa;
  border-color: #8d6aaa;
  color: #ffffff;
}

/* 午前休診 */
.closed-date--am{
  background: #fbedf8;
  border-color: #e4bedb;
  color: #8a4d7f;
}

/* 午後休診 */
.closed-date--pm{
  background: #fbedf8;
  border-color: #e4bedb;
  color: #8a4d7f;
}

/* 17時30分終了 */
.closed-date--early{
  background: #fff3df;
  border-color: #e8c98e;
  color: #8a5a1f;
}

.closed-month__note,
.closed-month__attention{
  margin: 8px 0 0 0;
  line-height: 1.7;
}

/* 日曜・祝日 */
.closed-date--holiday{
  background: #b24a72;
  border-color: #b24a72;
  color: #ffffff;
}

/* 休診日バッジとは別行で表示する場合 */
.closed-date-list--separate{
  margin-top: 10px;
}

.closed-month__note{
  color: var(--color-muted);
}

.closed-month__attention{
  color: var(--color-primary-dark);
  font-weight: 800;
}

/* SP */
@media (max-width: 900px){
  .closed-month{
    padding: 16px 14px 16px 14px;
  }

  .closed-date-list{
    gap: 7px;
  }

  .closed-date{
    padding: 6px 9px 6px 9px;
    font-size: 0.88rem;
  }

  .closed-date span{
    font-size: 0.78rem;
  }
}

/* ==================================================
  Home Link Buttons
================================================== */
.home-link-buttons{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 18px 0;
}

.home-link-button{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
}

.home-link-button--pdf::after{
  content: "\f1c1";
  font-family: "Font Awesome 7 Free";
  font-weight: 900;
  color: var(--color-primary);
}

.home-link-button:hover{
  background: var(--color-primary-light);
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

/* SP */
@media (max-width: 900px){
  .home-link-buttons{
    display: grid;
    grid-template-columns: 1fr;
  }

  .home-link-button{
    justify-content: center;
    text-align: center;
  }
}

/* ==================================================
  Home Note
================================================== */
.home-note{
  margin: 8px 0 0 0;
  color: var(--color-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==================================================
  Home Hours
================================================== */
.home-hours{
  padding: 20px 22px 20px 22px;
  background: var(--color-primary-soft);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.home-hours__list{
  margin: 0 0 0 0;
}

.home-hours__row{
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  padding: 10px 0 10px 0;
  border-bottom: 1px solid var(--color-border);
}

.home-hours__row:first-child{
  padding-top: 0;
}

.home-hours__row:last-child{
  padding-bottom: 0;
  border-bottom: 0;
}

.home-hours__row dt{
  color: var(--color-primary-dark);
  font-weight: 800;
}

.home-hours__row dd{
  margin: 0 0 0 0;
}

.home-hours__note{
  margin: 14px 0 0 0;
  color: var(--color-primary-dark);
  font-weight: 700;
}

/* SP */
@media (max-width: 900px){
  .home-hours{
    padding: 16px 14px 16px 14px;
  }

  .home-hours__row{
    grid-template-columns: 1fr;
    gap: 2px;
  }
}


/* ==================================================
  Print
  - 印刷用
  - PDF保存時も含め、できるだけPC表示に近いレイアウトで出力
================================================== */
@media print{

  /* ----------------------------------------
    Page Setting
    - A4縦、余白はメニューが折り返しにくい12mm
  ---------------------------------------- */
  @page{
    size: A4 portrait;
    margin: 12mm;
  }

  html{
    scroll-behavior: auto;
  }

  body{
    width: auto;
    min-width: 0;
    color: #000000;
    background: #ffffff;
    font-size: 10.5pt;
    line-height: 1.6;
    overflow: visible !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  body.is-nav-open{
    overflow: visible !important;
  }

  a{
    color: inherit;
    text-decoration: none;
  }

  img{
    page-break-inside: avoid;
    break-inside: avoid;
  }


  /* ----------------------------------------
    Hide Parts
    - 印刷時に不要なパーツ
  ---------------------------------------- */
  .skip-link,
  .nav-toggle,
  .nav-overlay,
  .page-top{
    display: none !important;
  }


  /* ----------------------------------------
    Layout
    - PDF保存時に横幅が広がりすぎないよう調整
  ---------------------------------------- */
  .l-container{
    width: 100% !important;
    max-width: 186mm !important;
    margin: 0 auto !important;
  }

  .l-main{
    padding-bottom: 0 !important;
  }

  .page-content{
    padding-top: 28px !important;
  }


  /* ----------------------------------------
    Header
    - SP表示を解除し、PCに近いヘッダーにする
  ---------------------------------------- */
  .site-header{
    position: static !important;
    border-bottom: 1px solid var(--color-border);
  }

  .site-header__inner{
    min-height: auto !important;
    padding: 10px 0 !important;
  }

  .site-header__info{
    display: grid !important;
  }

  .site-logo__image{
    width: 46px !important;
  }

  .site-logo__text{
    font-size: 1.15rem !important;
  }


  /* ----------------------------------------
    Global Navigation
    - SPドロワー化を解除し、PCメニュー風に戻す
    - メニューの折り返しを防ぐ
  ---------------------------------------- */
  .g-nav-wrap{
    position: static !important;
    width: 100% !important;
    height: auto !important;
    padding: 0 !important;
    overflow: visible !important;
    transform: none !important;
    box-shadow: none !important;
    border-top: 1px solid var(--color-border) !important;
    border-bottom: 1px solid var(--color-border) !important;
    border-left: 0 !important;
    background: linear-gradient(90deg, var(--color-primary-light), #ffffff, var(--color-primary-light)) !important;
  }

  .g-nav__list{
    display: flex !important;
    align-items: stretch !important;
    justify-content: center !important;
  }

  .g-nav__item{
    flex: 1 1 0 !important;
    border-bottom: 0 !important;
  }

  .g-nav__link{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 40px !important;
    padding: 7px 6px !important;
    background: transparent !important;
    color: var(--color-primary-dark) !important;
    font-size: 9.5pt !important;
    line-height: 1.35 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .g-nav__link.is-active{
    background: var(--color-primary) !important;
    color: #ffffff !important;
  }

  .g-nav__submenu,
  .g-nav__submenu-toggle{
    display: none !important;
  }


  /* ----------------------------------------
    Top Page
    - トップページ用パーツ
  ---------------------------------------- */
  .home-hero{
    margin-bottom: 30px !important;
  }

  .home-hero__figure{
    box-shadow: none !important;
  }

  .home-hero__caption{
    position: absolute !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    background: rgba(255, 255, 255, .88) !important;
  }

  .home-section + .home-section,
  .c-section + .c-section{
    margin-top: 34px !important;
  }


  /* ----------------------------------------
    Link Button
    - SP時の幅100%指定を解除し、PC表示に戻す
  ---------------------------------------- */
  .link-box a{
    width: auto !important;
    max-width: none !important;
    box-sizing: border-box !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  .home-link-buttons{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  .home-link-button{
    display: inline-flex !important;
    width: auto !important;
    max-width: none !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }


  /* ----------------------------------------
    Box / Card
    - 印刷時は影を控えめにする
  ---------------------------------------- */
  .news-item,
  .closed-month,
  .info-card,
  .text-box,
  .home-hours,
  .link-box a{
    box-shadow: none !important;
  }


  /* ----------------------------------------
    Table
    - 表はPC表示を維持
  ---------------------------------------- */
  .table-wrap{
    overflow: visible !important;
  }

  .schedule-table{
    min-width: 0 !important;
  }


  /* ----------------------------------------
    Calendar
    - PC表示と同じ3列を維持
  ---------------------------------------- */
  .calendar-list{
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }

  .calendar-table th,
  .calendar-table td{
    padding: 4px 5px !important;
    font-size: 9pt !important;
  }


  /* ----------------------------------------
    Image Card
    - PC表示と同じ横並びを維持
  ---------------------------------------- */
  .image-card-list{
    display: grid !important;
    grid-template-columns: repeat(2, auto) !important;
    justify-content: start !important;
  }

  .image-card{
    width: 300px !important;
    max-width: 300px !important;
    margin: 0 !important;
  }

  .image-card img{
    width: 300px !important;
    height: 210px !important;
    object-fit: cover !important;
  }


  /* ----------------------------------------
    Page Break
    - ブロック途中での改ページをできるだけ避ける
  ---------------------------------------- */
  .home-hero,
  .home-section,
  .c-section,
  .news-item,
  .closed-month,
  .info-card,
  .text-box,
  .calendar-month,
  .image-card,
  table{
    page-break-inside: avoid;
    break-inside: avoid;
  }

  h2,
  h3,
  h4,
  h5{
    page-break-after: avoid;
    break-after: avoid;
  }


  /* ----------------------------------------
    Footer
    - 印刷時も背景色を維持
  ---------------------------------------- */
  .site-footer{
    margin-top: 30px !important;
    padding: 22px 0 !important;
    background: var(--color-primary-dark) !important;
    color: #ffffff !important;
  }

  .site-footer a{
    color: #ffffff !important;
  }


  /* ----------------------------------------
    Print Utility
    - 必要に応じてHTML側で使用
  ---------------------------------------- */
  .print-hidden{
    display: none !important;
  }

  .print-break-before{
    break-before: page;
    page-break-before: always;
  }

  .print-avoid-break{
    break-inside: avoid;
    page-break-inside: avoid;
  }

}






/* ----------------------------------------
   掲載内容の更新案内
---------------------------------------- */
.c-preparing{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 180px;
  padding: 32px 40px;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: linear-gradient(120deg, var(--color-primary-soft), #ffffff);
  overflow: hidden;
}

.c-preparing__body{
  flex: 1;
  min-width: 0;
}

.c-preparing__title{
  margin: 0 0 12px;
  color: var(--color-primary-dark);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.5;
}

.c-preparing__text{
  margin: 0;
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.9;
}

/* お花の画像を後から指定する領域 */
.c-preparing__visual{
  flex: 0 0 180px;
  width: 180px;
  height: 150px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.c-preparing__visual{
  background-image: url("../images/preparing-flower.png");
}


/* コンパクト表示：中央寄せ */
.c-preparing--compact{
  width: 60%;
  box-sizing: border-box;
  margin: 0 auto;
}

/* SP */
@media (max-width: 900px){
  .c-preparing--compact{
    width: 100%;
  }
}


/* SP */
@media (max-width: 900px){
  .c-preparing{
    gap: 12px;
    min-height: 0;
    padding: 24px 20px;
    border-radius: 12px;
  }

  .c-preparing__title{
    font-size: 1.1rem;
  }

  .c-preparing__text{
    font-size: 0.95rem;
  }

  .c-preparing__visual{
    flex-basis: 100px;
    width: 100px;
    height: 110px;
  }
}
