/* === ベーススタイル === */
body {
    margin: 0;
    padding: 0;
    font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    background: #fefdf9;
    color: #333;
  }
  
  /* === レイアウト === */
  
  .top-icons {
    display: flex;
    justify-content: space-between;
    padding: 10px;
  }
  
  .logo-icon {
    width: 50px;
  }
  
  .bubble-icon {
    background: #9bbfc3;
    color: white;
    padding: 8px;
    border-radius: 50%;
    font-size: 16px;
  }
  
  /* === メイン画像 === */
  .main-image {
    position: relative;
    clip-path: ellipse(75% 55% at 50% 45%);
    overflow: hidden;
  }
  
  .main-image img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .image-text {
    position: absolute;
    bottom: 10px;
    right: 15px;
    background: #ffffffaa;
    padding: 4px 8px;
    font-size: 14px;
    border-radius: 6px;
  }
  

  .fixed-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10000; /* 他より前面に */
  }

  .custom-header {
    background: #29A449;
    z-index: 1;
    border-radius: 0;
    box-shadow: none;
    padding: 10px 20px 0px 20px;
    overflow: visible; /* これが必要！ */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10002;
    height: 50px; /* ←これが決め手！ */
  }
  
  .custom-header::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: 0;
    width: 100%;
    height: 120px;
    background: url('images/header-bg.png') no-repeat center top;
    background-size: cover;
    z-index: 1000;
    pointer-events: none;
  }

  .header-logo {
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10002;
  }
  
  .header-logo img {
    width: 100px;
    height: auto;
  }

  .cloud-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
  }
  
  .cloud-bottom svg {
    width: 100%;
    height: 100%;
    display: block;
  }
  
  .header-image {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* はみ出し防止 */
    width: 80%;
  }
  
  
  .header-image img {
    width: 160%;          /* ← 少し大きく（通常より5%拡大） */
    max-width: none;      /* 制限解除して拡大を反映 */
    height: auto;
    object-fit: cover;
    display: block;
  }
  
  main {
    padding-top: 140px;
    padding-bottom: 120px;
  }

  .fade-slider {
    margin-top: 80px; /* または必要な高さに調整 */
    z-index: 0;
    position: relative;
  }
  
  .logo img {
    width: 80px;
    height: auto;
  }
  
  .menu-button {
    position: absolute;
    top: 3px;
    right: 35px; /* ← どの画面幅でも右上 */
    z-index: 10002;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .menu-button img {
    width: 80px;
    height: auto;
    transition: transform 0.3s ease;
  }
    
  .menu-label {
    font-size: 12px;
    color: white;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
    margin-top: 0px;
  }

  .menu-list li::marker {
    display: none;
    list-style: none !important;
  }
  
  /* PC表示時（幅769px以上）では左上に寄せる */
  @media (min-width: 769px) {

    .menu-button {
      position: absolute;
      top: 20px;
      right: 70px; /* ← どの画面幅でも右上 */
      z-index: 10002;
      display: flex;
      flex-direction: column;
      align-items: center;
    }

    .menu-button img {
      transform: scale(1.6);
    }

    .menu-label {
      font-size: 16px;
      color: white;
      font-weight: bold;
      text-shadow: 1px 1px 2px rgba(0,0,0,0.4);
      margin-top: 18px;
    }
  }
  
  

  .menu-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 5px;     /* ← ここを調整 */
    margin-bottom: 15px;  /* ← 下にも余白をつけて視認性UP */
    position: relative; /* ← 追加 */
    z-index: 3;         /* ← 追加 */
  }


  .menu-buttons .menu-action {
    width: 120px;
    text-align: center;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: #333;
    text-decoration: none;
    font-size: 18px;
  }

  .fade-slider {
    position: relative;
    width: 100%;
    height: 400px; /* ← ★ここで画像表示エリアの高さをしっかり確保！ */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 30px;
  }
  
  .fade-slider .slide {
    width: 100%;
    height: 100%;
    object-fit: cover; /* ← 高さと幅いっぱいに表示しつつバランスよく切り取り */
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 0;
  }
  
  .fade-slider .slide.active {
    opacity: 1;
    z-index: 1;
  }
  
  @media (max-width: 768px) {
    .fade-slider .slide.pc-hide {
      position: relative;
      display: block;
      width: 150%;
      height: auto;
      object-fit: cover;
      opacity: 1 !important;   /* ← 強制的に表示 */
      z-index: 1;
    }
  }
  
  /* 初期状態：すべて非表示 */
.pc-only {
  display: none;
}

/* デフォルトでは表示 */
.pc-hide {
  display: block;
}

/* PCサイズ（769px以上）のときのみ表示 */
@media (min-width: 769px) {
  .pc-only {
    display: block;
  }

  .pc-hide {
    display: none !important;
  }
}



.floating-clinic-logo {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 400px; /* ← スマホで見切れないサイズに調整 */
  z-index: 10;
}
  
  
  
  /* === メニュー === */
  .slide-menu {
    margin-top: 30px;
    position: fixed;
    top: 0;
    left: -150%;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: #c1e7cb;
    z-index: 999;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 10px;
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
  }
  
  .slide-menu.show {
    left: 0;
  }

  .menu-list li {
    position: relative;
  }
  
  .menu-list li a {
    display: block;
    width: 100%;
    height: 100%;
  }
  
  .menu-list {
    display: grid;
    grid-template-columns: 1fr 1fr; /* ← 2列 */
    list-style: none !important;
    gap: 8px;
    padding: 0;
    margin: 0;
    margin-bottom: 8px;
    padding-top: 70px;  /* ← ここで雲の下にくるように調整！ */
  }

  .menu-list li {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 10px;
    border-radius: 12px;
    list-style: none !important;
  }

  @media (min-width: 769px) {
  
    .menu-buttons {
      justify-content: center;
      gap: 30px; /* ← ボタン間隔を広げる */
      margin-top: 40px;  /* ← 上に余白追加 */
      margin-bottom: 40px; /* ← 下にも余白 */
    }
  
    .menu-buttons .menu-action {
      width: 150px;  /* ← ボタン幅を広げる */
      font-size: 18px; /* ← テキストも大きく */
      padding: 15px;  /* ← 余白も広げる */
    }
    
    .menu-list {
      position: relative;
      display: grid;
      grid-template-columns: 1fr 1fr; /* ← 2列 */
      list-style: none !important;
      gap: 5px;
      padding: 0;
      margin: 0;
      margin-bottom: 8px;
      padding-top: 130px;  /* ← ここで雲の下にくるように調整！ */
    }
  
    .menu-list li {
      display: block;
      align-items: center;
      background: #ffffff;
      padding: 13px;
      border-radius: 12px;
      list-style: none !important;

    }
  }

  .menu-list i {
    margin-right: 8px;
    font-size: 15px;
    color: #29A449;
    list-style: none !important;
  }
  .menu-list a {
    font-size: 13px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
  }


  .menu-close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
  }

  body.menu-open {
    overflow: hidden;
  }
  
  
  
  .white-button {
    background: #fff;
    border: 1px solid #ccc;
    padding: 12px;
    text-align: center;
    font-weight: bold;
    color: #333;
    border-radius: 10px;
    text-decoration: none;
  }
  
  
  /* === ラベル === */
  .side-label {
    position: absolute;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 14px;
    font-weight: bold;
    padding: 6px 5px;
    text-align: center;
    border-radius: 6px;
  }
  
  .side-label.right {
    right: 0;
  }
  
  .side-label.yellow {
    background: #eddb74;
    top: 270px;
  }
  
  .side-label.blue {
    background: #9bbfc3;
    top: 320px;
    color: white;
  }
  
  /* === フッター === */
  .footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 10px 0;
  }
  
  .circle-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #eddb74;
    border-radius: 50%;
    width: 90px;
    height: 90px;
    justify-content: center;
    font-weight: bold;
    font-size: 13px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  }
  
  .circle-button img {
    width: 50px;
    margin-bottom: 5px;
  }
  
  .phone {
    font-size: 16px;
    font-weight: bold;
    color: #333;
  }
  
  /* === クリニック情報ページ === */
  main.clinic-info {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
  }
  
  section {
    margin-bottom: 40px;
  }
  
  h2 {
    font-size: 2.0em;
    border-left: 8px solid #29A449;
    padding-left: 10px;
    margin-bottom: 15px;
  }
  
  h3 {
    font-size: 1.2em;
    color: #444;
    margin-top: 1em;
  }
  
  ul {
    padding-left: 1.5em;
  }
  
  ul li {
    margin-bottom: 0.3em;
  }
  
  a {
    color: #0077cc;
    text-decoration: underline;
  }
  
  img.icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
  }
  
  address {
    font-style: normal;
    line-height: 1.6;
  }
  
  /* メディアクエリ */
  @media (max-width: 600px) {
    main.clinic-info {
      padding: 10px;
    }
  
    table th,
    table td {
      font-size: 0.8em;
      padding: 6px;
    }
  
    h2 {
      font-size: 2.0em;
    }
  
    h3 {
      font-size: 1.1em;
    }
  }
  
  /* === スライドパネル === */
  .slide-panel-news,
  .slide-panel-time {
    position: fixed;
    top: 50%;
    left: -100%;
    transform: translateY(-50%);
    width: 80%;
    max-width: 400px;
    height: 75%;
    background: #fff;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.2); /* 左から出るので shadow 方向を変更 */
    z-index: 900;
    overflow-y: auto;
    transition: left 0.3s ease-in-out;
    border-radius: 0 15px 15px 0; /* 右側を角丸に */
    padding: 20px;
  }

  .slide-ready-panel {
    position: fixed;
    top: 50%;
    left: -100%;
    transform: translateY(-50%);
    width: 80%;
    max-width: 400px;
    height: 68%;
    background: #fff;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.2); /* 左から出るので shadow 方向を変更 */
    z-index: 900;
    overflow-y: auto;
    transition: left 0.3s ease-in-out;
    border-radius: 0 15px 15px 0; /* 右側を角丸に */
    padding: 20px;
  }
  
  .panel-header {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: center;
  }
  
  .news-list {
    list-style: none;
    padding: 0;
  }
  
  .news-list li {
    border-bottom: 1px dotted #ccc;
    padding: 10px 0;
  }
  
  .news-date {
    font-size: 0.85em;
    color: #999;
  }
  
  .news-title {
    font-weight: bold;
    margin-top: 5px;
  }
  
  .news-content {
    font-size: 0.9em;
    margin-top: 5px;
  }
  
  .time-content {
    font-size: 0.9em;
    margin-bottom: 120px;
  }
  
  /* === フローティングボタン === */
  .floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
  }
  
  .floating-button {
    background: #ffd700;
    color: #333;
    font-weight: bold;
    font-size: 16px;
    border: none;
    border-radius: 50px;
    padding: 14px 24px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
  }
  
  .floating-button:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  }
  
  /* === サイドボタン === */
  .side-buttons {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 1000;
  }
  
  .side-button {
    writing-mode: vertical-rl;
    text-align: center;
    padding: 10px 8px;
    border-radius: 12px 0 0 12px;
    font-size: 14px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
    background-color: #ffc107;
  }
  
  .side-button.time {
    background-color: #66c2cc;
  }

  .side-button.green {
    background-color: #68cc66;
  }

  .side-button.parple {
    background-color: #6d66cc;
  }
  
  .side-button:hover {
    opacity: 0.85;
  }
  
  #sinryo_jikan {
    position: relative;
    z-index: 1;
    width: 100%;
    border-collapse: collapse;
    margin-top: 8px;
  }
  
  #sinryo_jikan td {
    border: 1px solid #ccc;
    padding: 6px;
    text-align: center;
  }
  
  .icon {
    width: 20px;
    vertical-align: middle;
    margin-right: 4px;
  }
  
  .oyasumi {
    color: #999;
    font-size: 0.8em;
  }
  
  .tosmall {
    font-size: 1.3em;
  }

  .wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 120px; /* ← ここを調整！ */
    overflow: hidden;
    line-height: 0;
    z-index: 2;
  }
  
  
  .wave-bottom svg {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
  }

  .cloud-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
    z-index: 1;
  }
  
  .cloud-bottom svg {
    width: 100%;
    height: 100%;
    display: block;
  }
  
  
  .custom-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .custom-logo {
    display: flex;
    align-items: center;
    gap: 16px;
  }
  
  .custom-logo img {
    height: 50px;
  }
  
  .clinic-name {
    font-size: 24px;
    color: #3ca4c2;
    font-weight: bold;
  }
  
  .custom-nav ul {
    display: flex;
    gap: 24px;
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .custom-nav ul li a {
    text-decoration: none;
    color: #444;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 12px;
    transition: background-color 0.3s ease;
  }
  
  .custom-nav ul li a:hover {
    background-color: #eaf7fb;
    color: #3ca4c2;
  }
  
/* ボトムバー全体 */
.bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: #29A449;
  border-top: 2px solid #ccc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 10003;
}

/* 二重丸のネット予約ボタン */
.bottom-bar-left {
  position: relative;
  width: 100px;
  height: 100px;
  margin-top: -60px; /* はみ出す */
}

.circle-button {
  position: relative;
  bottom: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: #eddb74;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(255, 221, 0, 0.2);
  flex-direction: column;
}

.circle-button .circle-label {
  position: absolute;
  bottom: 5px;
  left: 00%;
  transform: translateX(0%);
  font-size: 20px;
  font-weight: bold;
  color: #414141;
  z-index: 2;
}

/* 内側の白丸 */
.circle-button .inner-circle {
  position: relative;
  width: 95px;
  height: 95px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.circle-button .inner-circle img {
  width: 90px;
  height: 90px;
  object-fit: contain;
}

/* テキスト */
.circle-button span {
  font-size: 10px;
  font-weight: bold;
  margin-top: 4px;
}

/* 中央エリア（電話番号と笹） */
.bottom-bar-center {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.phone-info {
  display: flex;
  align-items: center;
  z-index: 1;
}

.phone-icon {
  width: 40px;
  margin-right: 8px;
}

.phone-number a {
  font-size: 23px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
}

/* ささ */

.sasa-bg {
  position: absolute;
  height: 50px; /* 小さめに */
  opacity: 1;
  pointer-events: none;
}

/* 自由に配置できるように、個別に座標をつける */
.sasa1 {
  bottom: 40px;
  left: 50%;
}

.sasa2 {
  bottom: 40px;
  left: 70%;
}

/* 表 */

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3列固定 */
  gap: 8px;
  padding: 20px 10px;
  margin: 0 auto;
  max-width: 900px; /* オプションで中央に寄せる */
  margin-bottom: 10px;
  box-sizing: border-box;
}

.info-item {
  text-align: center;
  padding: 20px 10px;
  border: 1px dashed #333;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  transition: transform 0.2s, box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  aspect-ratio: 1 / 1;  /* ← 正方形に保つ */
  width: 100%;         /* ← 高さを自動に */
  min-height: auto;     /* ← 最小高さをリセット */
  box-sizing: border-box; /* ← paddingが横幅を押し出さないように */
}

.info-item:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.info-item i {
  font-size: 45px;
  margin-bottom: 8px;
  display: block;
}

.info-item p {
  margin: 0;
  font-weight: bold;
  font-size: 14px;
}

/* --- チェッカーデザイン交互指定 --- */
.info-item:nth-child(1),
.info-item:nth-child(3),
.info-item:nth-child(5),
.info-item:nth-child(7),
.info-item:nth-child(9),
.info-item:nth-child(11) {
  background-color: #389541;
  color: white;
}

.info-item:nth-child(2),
.info-item:nth-child(4),
.info-item:nth-child(6),
.info-item:nth-child(8),
.info-item:nth-child(10),
.info-item:nth-child(12) {
  background-color: #ffffff;
  color: #333;
}

/* 推しポイント */
.intro-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.intro-label {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 400px; /* 横幅を統一して折り返せるようにする */
  max-width: 100%;
}

.intro-highlights-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  margin-bottom: 10px;
}

.intro-row {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 100%;
}

.intro-center {
  display: flex;
  justify-content: center;
}

.intro-label {
  display: flex;
  align-items: center;
  position: relative;
  width: fit-content;
}

@media (max-width: 600px) {
  .info-grid {
    grid-template-columns: repeat(3, 1fr); /* スマホでは2列 */
    margin-bottom: 10px;
    justify-content: center;               /* ★追加：スマホでも中央寄せ */
  }
}

/* 既存の .koala-circle, .koala-band, 色class はそのまま使えます */


/* コアラ丸の共通 */
.koala-circle {
  width: 60px;
  height: 60px;
  border: 3px dashed;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.koala-circle img {
  width: 68px;
  height: auto;
}

/* 帯（共通） */
.koala-band {
  background-color: #29A449;
  color: white;
  padding: 14px 20px 14px 40px;
  border-radius: 0 30px 30px 0;
  font-weight: bold;
  font-size: 14px;
  margin-left: -20px;
  position: relative;
  z-index: 1;
}

/* 色バリエーション */
.koala-circle.green {
  border-color: #29A449;
  background-color: #29A449;
}

.koala-circle.yellow {
  border-color: #eddb74;
  background-color: #eddb74;
}

.koala-circle.blue {
  border-color: #9bbfc3;
  background-color: #9bbfc3;
}

.koala-circle.beige {
  border-color: #f3e9d2;
  background-color: #f3e9d2;
}

.koala-circle.orange {
  border-color: #f5c063;
  background-color: #f5c063;
}

.orange-band {
  background-color: #f5c063;
}

.yellow-band {
  background-color: #eddb74;
  color: #333; /* 黄色に合わせて文字を見やすく */
}

@media (max-width: 768px) {
  .intro-highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    justify-items: center;
  }

  .intro-row,
  .intro-center {
    display: contents; /* グリッド内でバラす */
  }

  .intro-label {
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
  }

  .koala-circle {
    width: 50px;
    height: 50px;
  }

  .koala-circle img {
    width: 55px;
  }

  .koala-band {
    font-size: 10px;
    padding: 10px 16px 10px 36px;
    white-space: normal;
  }

  /* 5つ目の中央アイテムを中央揃えに */
  .intro-highlights-grid > .intro-label:nth-child(5) {
    grid-column: span 2;
    justify-self: center;
  }
}

/* 診療時間 */
/* 診療時間テーブルのデザイン */
#sinryo_jikan {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* 角丸適用：最初と最後のセル */
#sinryo_jikan tr:first-child td:first-child {
  border-top-left-radius: 15px;
}
#sinryo_jikan tr:first-child td:last-child {
  border-top-right-radius: 15px;
}
#sinryo_jikan tr:last-child td:first-child {
  border-bottom-left-radius: 15px;
}
#sinryo_jikan tr:last-child td:last-child {
  border-bottom-right-radius: 15px;
}

/* セル共通設定 */
#sinryo_jikan td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: center;
  font-size: 10px;
    border-left: none;
    border-right: none;
  
}

/* アイコン画像の調整 */
#sinryo_jikan .icon {
  font-size: 16px;
  color: #29A449; /* 緑系 */
  margin: 2px;
  vertical-align: middle;
}


/* キャプション調整 */
#sinryo_jikan caption {
  margin-bottom: 8px;
  font-weight: bold;
  text-align: left;
  font-size: 13px;
  padding-left: 8px;
}

/*ボード*/
.news-board {
  margin: 1em auto 0.5em;
  padding: 0.8em;
  background: #fdfdfd;
  border: 1px solid #ccc;
  border-radius: 5px;
  max-width: 3600px;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
  margin-bottom: 100px;
}

.news-board dl.news-list {
  font-size: 0.85em; /* 小さめに */
}

.news-list dt.news i.fas.fa-check-circle {
  color: #29A449; /* 緑のチェックマーク */
}

.newicon {
  background: #ff69b4;  /* ピンク色 */
  color: white;
  font-size: 10px;
  padding: 0px 5px;
  border-radius: 2px;
  margin-left: 8px;
}

.newsdocs {
  margin-bottom: 1em;
  line-height: 1.4;
}

.board-title {
  font-size: 1.0em;
  margin-bottom: 1em;
  border-left: 5px solid #67a27d;
  padding-left: 0.5em;
  color: #333;
}

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

.news-list li {
  display: flex;
  flex-direction: row;
  gap: 1em;
  margin-bottom: 1em;
  padding: 0.8em;
  background: #f9f9f9;
  border-left: 4px solid #67a27d;
  border-radius: 6px;
}

.news-date {
  white-space: nowrap;
  font-weight: bold;
  color: #555;
  min-width: 80px;
}

.news-text {
  color: #333;
  line-height: 0.2;
}

/* bottom bar*/
/* 全体ボトムバー */
/* === ボトムバー全体 === */
.bottom-bar {
  display: flex;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  z-index: 10004;
  box-sizing: border-box;
  overflow: visible;
  margin: 0;
  padding: 0;
}

/* === 各ボタン共通 === */
.bottom-button {
  flex: 1;
  text-align: center;
  line-height: 60px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  color: white;
  position: relative;
  box-sizing: border-box;
  border: none;
  margin: 0;
  padding: 0;
}

/* === 左：予約ボタン（黄色） === */
.reserve-button {
  background-color: #f8d94c;
  color: #333;
}

/* === 右：電話ボタン（緑） === */
.call-button {
  background-color: #339933;
  color: white;
}

/* === 笹画像（はみ出し用） === */
.sasa {
  position: absolute;
  width: 40px;
  height: auto;
  pointer-events: none;
  z-index: 1000;
}

.sasa1 {
  bottom: 60px;
  right: 10px;
}

.sasa2 {
  bottom: 60px;
  right: 45px;
}

/* モーダルのベース */
/* モーダル全体 */
.reserve-modal {
  position: fixed;
  bottom: 20pxqb;
  left: 0;
  width: 100vw; /* ← 画面いっぱいにする */
  max-width: 100vw;
  background: #f8d94c;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s ease;
  z-index: 9999;
  padding: 30px 30px; /* これ以上広げない */
  box-sizing: border-box;
}

.reserve-modal.show {
  transform: translateY(0);
}

.reserve-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1em;
  padding: 0; /* ← paddingがズレの原因なのでここでリセット */
}



.reserve-option {
  display: flex;                /* ← 中身のアイコン＋テキストを横並びに */
  align-items: center;
  justify-content: center;      /* ← 中央に配置 */
  width: 100%;
  max-width: 450px;
  margin: 0 auto;               /* ← ボタン自体を中央揃え */
  padding: 1em;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  font-size: 1.1em;
  text-decoration: none;
  box-sizing: border-box;
  gap: 0.5em;                   /* ← アイコンとテキストの間に余白 */
}



.reserve-modal.show {
  transform: translateY(0);
}

.reserve-modal.show {
  bottom: 0;
}

.reserve-modal-header {
  display: flex;
  justify-content: space-between;
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 1em;
}

.reserve-modal-close {
  cursor: pointer;
  font-size: 1.5em;
}

.reserve-options {
  display: flex;
  flex-direction: column;
  gap: 1em;
}

.reserve-option {
  display: block;
  width: 100%;
  padding: 1em;
  text-align: center;
  border-radius: 8px;
  color: white;
  font-weight: bold;
  font-size: 1.1em;
  text-decoration: none;
}

.reserve-option.line {
  background-color: #00c300;
}

.reserve-option.web {
  background-color: #2196f3;
}

.reserve-option.tel {
  background-color: #ff7043;
}

.reserve-options {
  background: #ffea8b;
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 50px;
}


/* LINEの追加ボタン */

.line-fixed-button {
  position: fixed;
  bottom: 60px;
  right: 20px;
  z-index: 10010;
  width: 120px; /* 必要に応じてサイズ調整 */
  cursor: pointer;
  transition: transform 0.2s ease;
}

.line-fixed-button:hover {
  transform: scale(1.05);
}

.line-fixed-button img {
  width: 100%;
  height: auto;
  display: block;
}

/*Summary の文言*/

.clinic-summary {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 11;
  max-width: 300px;
}

.summary-box {
  padding: 10px;
  border-radius: 12px;
  font-size: 11px;
  color: #ffffff;
  font-weight: bold;
  backdrop-filter: blur(5px); /* 背景ぼかしオプション（好みで） */
}

.summary-box.green {
  background-color: rgba(41, 164, 73, 0.8);   /* #29A449 透明度50% */
}
.summary-box.blue {
  background-color: rgba(60, 164, 194, 0.8);  /* #3ca4c2 透明度50% */
}
.summary-box.yellow {
  background-color: rgba(237, 219, 116, 0.8); /* #eddb74 透明度50% */
}
.summary-box.beige {
  background-color: rgba(239, 194, 241, 0.8); /* #f3e9d2 透明度50% */
}

@media (max-width: 768px) {
  .clinic-summary {
    bottom: 10px;
    right: 10px;
    font-size: 10px;
    padding: 0px 12px;
    max-width: 80%;
  }
}

#line-add-button {
  bottom: 20px;
  right: 20px;
  z-index: 12000; /* メニューより下にしないと隠れないかも */
}

/* メニューが開いている時は非表示に */
body.menu-open #line-add-button {
  display: none;
}

/* ===== スマホでも可愛い6つの特徴セクション調整 ===== */

/* ===== スマホに最適化した intro-highlights セクション ===== */
/* ===== かっこよくて可愛い特徴セクション ===== */
.clinic-features {
  background: #fffefb;
  padding: 48px 16px;
  border-top: 4px dotted #29A449;
  border-bottom: 4px dotted #29A449;
  margin-bottom: 100px;
}

.features-title {
  font-size: 1.3rem;
  text-align: center;
  color: #29A449;
  margin-bottom: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}

.features-title i {
  color: #f5b100;
  font-size: 1.3rem;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  gap: 16px;
}

.feature-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #eaf7f0;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 0 2px #29A449;
}

.feature-icon img {
  width: 90%;
  height: auto;
}

.feature-content {
  flex: 1;
}

/* 白い文字にする（fill用の色は常に白） */
/* 置き換え推奨：全端末で同じ表示にする */
.feature-label {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 8px;
  display: inline-block;
  padding: 1px 1px;
  border-radius: 12px;

  /* 中の色は白だけ */
  color: #fff;

  /* モバイルでバグりやすい指定は無効化 */
  -webkit-text-fill-color: initial !important;
  -webkit-text-stroke: 0 !important;

  /* 影ではなく “縁取り” として使う（整数pxでにじみ防止） */
  text-shadow:
    1px  0   0 #373737,
   -1px  0   0 #373737,
    0    1px 0 #373737,
    0   -1px 0 #373737,
    1px  1px 0 #373737,
   -1px  1px 0 #373737,
    1px -1px 0 #373737,
   -1px -1px 0 #373737;
}



.feature-label.green { background-color: #29A449; }
.feature-label.yellow { background-color: #f8d94c; }
.feature-label.orange { background-color: #ffbd84; }
.feature-label.blue { background-color: #6c98bc; }
.feature-label.purple { background-color: #a666a1;}
.feature-label.pink { background-color: #ffa5ca; }

/* 説明文 */
.feature-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  color: #444;
}

.feature-icon img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  object-fit: cover;
}

/* モバイル対応 */
@media screen and (max-width: 400px) {
  .clinic-features {
    padding: 32px 12px;
  }

  .features-title {
    font-size: 1.1rem;
    gap: 6px;
  }

  .feature-card {
    padding: 12px;
    gap: 12px;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  }

  .feature-icon {
    width: 48px;
    height: 48px;
  }

  .feature-label {
    font-size: 0.85rem;
    padding: 3px 10px;
    border-radius: 10px;
  }

  .feature-content p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .feature-icon img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
  }
}

.clinic-charm-box {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px auto 50px;
  max-width: 600px;
}

.clinic-charm-row {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 10px;
  margin: 18px auto 20px;
  padding: 0 12px;
  max-width: 900px;
}

.charm-item {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 10px 6px;
  text-align: center;
  font-weight: bold;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.charm-item img {
  width: 100px;
  height: auto;
  margin-bottom: 4px;
}


.charm-item.green { border-top: 4px solid #29A449; }
.charm-item.blue { border-top: 4px solid #3ca4c2; }
.charm-item.yellow { border-top: 4px solid #eddb74; }
.charm-item.beige { border-top: 4px solid #f3e9d2; }

@media (max-width: 600px) {
  .charm-item {
    font-size: 15px;
    padding: 8px 4px;
  }
  .charm-item img {
    width: 60px;
  }
}

.charm-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

@keyframes floatUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== 意見箱ボタン ===== */
.ikenbako-float {
  position: absolute; /* トップ画像の上に重ねる */
  bottom: 20px; /* 画像の下寄り */
  right: 20px; /* 右下に配置 */
  z-index: 500; /* モーダル(9999)より低く、画像や他の要素より高く */
  text-align: center;
  }
  
  
  .ikenbako-float .bubble {
  display: inline-block;
  background: #fff;
  color: #333;
  font-weight: 700;
  padding: 6px 20px;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.2);
  margin-bottom: 8px;
  font-size: 0.9rem;
  }
  
  
  .ikenbako-float .btn-ikenbako {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #29A449; /* サイトの緑 */
  color: #fff;
  font-size: 28px;
  box-shadow: 0 6px 14px rgba(41,164,73,0.35);
  transition: transform .15s ease, box-shadow .15s ease;
  }
  
  
  .ikenbako-float .btn-ikenbako:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(41,164,73,0.45);
  }