/* ==============================

    PC版の共通スタイル

============================== */

.site-header {
  width: 100%;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}



.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 10px 0;
}



/* 左ロゴ */

.header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-left img {
  height: 150px;
width:100%;

/*   max-height: 50px; */
}



/* 中央：受付と予約 */

.header-center {
  display: flex;
  align-items: center;
  gap: 20px;
  text-align: center;
  padding: 0 1.5rem;
  border-radius: 4px;
}

.header-center img {
  height: 150px;
width:100%;
}

.header-center .reception {
  display: block;
  background: #f8f4ec;
  padding: 0.2rem 0;
  font-size: 0.85rem;
  color: #333;
  font-weight: bold;
  margin-bottom: 0.4rem;
}

.header-center .reserve {
  font-weight: bold;
  font-size: 1.1rem;
  color: #5c3d2e;
  display: flex;
  flex-direction: column;
  align-items: center;
}



/* 右：診療時間表 */

.header-right {
  max-width: 500px;
}

.schedule-table {
  border-collapse: collapse;
  width: 100%;
  text-align: center;
  font-size: 14px;
  margin-top: 5px;
}

.schedule-table thead th {

  background: linear-gradient(to right, #c8a2ff, #e6ccff);
  color: #fff;
  padding: 8px;
  border: none;
  font-weight: 600;
font-family:serif,"Noto sans jp";
}

.schedule-table td {

  border: 1px solid #ddd;
  padding: 8px;
}

.dot {
  color: #a67c52;
  font-size: 16px;
}

.triangle {
  color: #a67c52;
  font-size: 16px;
}

.cross {
  color: #555;
  font-size: 16px;
}



/* スマホ専用のコンテンツもデフォルトで非表示 */

.sp-only-content {
  display: none;
}



/* ==============================

    レスポンシブ用（スマホ版）

============================== */

@media (max-width: 768px) {

  /* PC版のヘッダーを非表示にする */
  .pc-only {
    display: none;
  }



  /* スマホ版専用のコンテンツを表示する */

  .sp-only-content {
/*     display: flex; */
    flex-direction: column;
    align-items: center;
    padding: 20px;
  order: 2;
  }



  /* スマホ版のWeb予約と診療時間表の幅を調整 */

  .sp-only-content .header-right {
    width: 90%;
    max-width: 400px;
  }

  .sp-only-content .header-center {
    margin-bottom: 20px;
     width: 90%;
    max-width: 400px;
          margin-left: -20%;
  }



  /* グローバルナビをハンバーガーメニューに切り替え */

  
.header-center img {
    height: 70px;
    width: 100%;
}
}



/* ==============================

    レスポンシブ用（タブレット版）

    適用範囲: 769px 〜 1024px

============================== */

@media (min-width: 769px) and (max-width: 1024px) {

    /* PC版のヘッダーを表示し、モバイル版要素を非表示 */

    .pc-only {
        display: block;
    }
    .sp-only-content,
    .menu-toggle {
        display: none !important;
    }

    /* ヘッダー全体 (PC版のヘッダー要素をタブレット向けに調整) */

    .header-top {
        /* 中央寄せを維持しつつ、PC版の1200pxから幅を縮める */
        max-width: 96%; 
        padding: 0 10px;
        margin: 5px auto;
    }

    /* 左ロゴ */
    .header-left img {
        height: 120px; /* PC版より小さく */
    }

    
    /* 中央：予約ボタン */

    .header-center {
        padding: 0 1rem;
    }

    .header-center img {
        height: 120px; /* PC版より小さく */
    }

    /* 右：診療時間表 */
    .header-right {
        max-width: 400px; /* PC版の500pxから縮める */
    }

    .schedule-table {
        font-size: 12px; /* PC版の14pxから縮める */
        margin-top: 0;
    }

    .schedule-table thead th,
    .schedule-table td {
        padding: 6px; /* パディングを縮める */
    }


}

/* ロゴエリアが横に広がって他の要素を邪魔しないようにする */
.header-left {
  display: flex !important;
  flex-direction: column !important; /* 絶対に縦並びにする */
  align-items: flex-start !important; /* 左揃え */
  width: auto !important;            /* 幅を中身（ロゴ）に合わせる */
  margin-right: 30px;                /* 隣のバナーとの隙間 */
}

/* h1：ロゴの上の極小テキスト */
.site-description {
  font-size: 10px !important;
  color: #866F6F !important;
  margin-bottom: 3px !important;     /* ロゴとの距離 */
  white-space: nowrap !important;    /* 途中で改行させない */
}