
  /* ベーススタイル */
  body {
    margin: 0; padding: 0;
    font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    line-height: 1.5;
    color: #000000;
    background-color: #fff;
    align-items: center;
  }

  /* 全体幅制限 */
  .container {
    max-width: 500px;
    margin: 0 auto;
    padding: 1em;
    align-items: center;
  }

  /* ヘッダー */
  header {
    display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  flex-wrap: nowrap;
  white-space: nowrap;
  padding: 1em 0;
  }
  header img {
    display: block;
    width: 45px;
    height: auto;
    margin-right: 0.5em;
  }
  header h1 {
    font-size: 1.8em;
    margin: 0;
    text-align: right;
  }

  /* LINEボタン */
  .line-button {
    margin: 1em 0;
    text-align: center;
  }
  .line-button img {
    max-width: 100%;
    height: auto;
  }

  /* ナビゲーション */
nav {
    background-color: #ffff00;
  }
  
  nav ul {
    display: flex;
    flex-direction: column;  /* ← 横並びから縦並びに変更 */
    list-style: none;
    padding: 0.5em;
    margin: 0;
    justify-content: flex-start;  /* 上寄せ */
    align-items: flex-start;      /* 左寄せ */
  }
  
  nav li {
    margin: 0.5em 0;
    display: flex;
    align-items: center;
  }
  
  nav li img {
    width: 30px;
    height: auto;
    margin-right: 0.5em;
    display: block;
  }
  
  nav a {
    text-decoration: none;
    font-weight: bold;
    color: #000;
    white-space: nowrap;
  }
  
  nav a:hover {
    text-decoration: underline;
  }
  
  /* メインキャラクター */
  .main-character {
    text-align: left;
    margin: 1em 0;
  }
  .main-character img {
    width: 75px;
    height: auto;
  }

  /* コンテンツ本文 */
  main p, main div {
    margin-bottom: 1em;
    text-align: center;
  }

  /* カレンダー＆駐車場画像 */
  .info-images {
    display: flex;
    flex-wrap: wrap;
    gap: 1em;
    justify-content: center;
  }
  .info-images  {
    max-width: 100%;
    height: auto;
    border: 0;
    align-items: center;
  }
  .info-images2  {
    max-width: 100%;
    height: auto;
    border: 0;
    align-items: center;
  }
  .calendar {
    flex: 1 1 300px;
  }
  .parking {
    flex: 1 1 300px;
  }

  /* フッター */
  footer {
    background-color: #f0f0f0;
    text-align: center;
    font-size: 0.9em;
    max-width: 100%;
    padding: 1em 0;

  }

  .clinic-left,
.clinic-right {
  flex: 1 1 50%;
  min-width: 160px;
  padding: 0 1em; /* ← 適度な余白 */
  box-sizing: border-box;
}



  @media (max-width: 600px) {
    .clinic-info-wrapper {
      display: flex;
      flex-wrap: nowrap;
      overflow-x: hidden;
      width: 100%;
    }
  
    .clinic-left, .clinic-right {
      min-width: 0 !important; /* はみ出し防止 */
      flex: 1 1 0;
      padding: 0;
      margin: 0;
      box-sizing: border-box; /* はみ出し対策として安全 */
    }
  
    .clinic-left p,
    .clinic-right p {
      font-size: 0.75em;
      margin: 0.2em 0;
      word-break: break-word;
    }
  
    .main-character img,
    .line-button img {
      max-width: 100%;
      height: auto;
      display: block; /* インラインによる余白防止 */
    }
  
    .line-button a {
      display: inline-block;
      max-width: 100%;
    }
  }
  
  nav ul {
    padding: 0.5em;
  }

  nav li {
    flex-wrap: wrap; /* アイコンとテキストを折返し可能に */
  }

  nav li img {
    flex-shrink: 0;
    width: 24px;
    height: auto;
    margin-right: 0.5em;
  }

  nav a {
    font-size: 0.7em;         /* スマホ向けに文字をやや小さく */
    white-space: normal !important; /* ← 折返しを許可 */
    word-break: break-word;    /* 長い語句があれば折返す */
    flex: 1 1 auto;            /* 行の残りスペースを使う */
  }
  .step-row {
    display: flex;
    align-items: center;  /* 画像と矢印を縦中央揃え */
    justify-content: center;
    margin: 1em 0;
  }
  
  .step-img {
    width: 190px;
    height: 87px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .step-img img {
    width: 190px;
    height: 87px;
  }
  
  .step-arrow {
    width: 60px;
    text-align: center;
    font-size: 2em;
    color: #ff00ff;
  }
  
  .center-arrow .step-arrow {
    font-size: 2em;
  }
  .row {
    display: flex;
    flex-wrap: wrap; /* 追加：スマホで折り返せるように */
    justify-content: center;
    align-items: center;
    margin-bottom: 1em;
  }
  
  .image-col img {
    max-width: 100%; /* はみ出し防止 */
    height: auto;
  }
  
  .arrow-col {
    width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .arrow {
    font-size: 2em;
    color: #ff00ff;
  }
  
  .down-arrow {
    font-size: 2em;
    color: #ff00ff;
    margin-top: 0.3em;
  }
  .facility {
    max-width: 800px;
    margin: 0 auto;
    font-family: "MS PGothic", sans-serif;
    color: #000;
  }
  
  .section-block {
    margin-bottom: 2em;
    text-align: center;
  }
  
  .section-block img {
    max-width: 100%;
    height: auto;
    border: none;
  }
  
  .section-block h3 {
    font-size: 1.2em;
    margin: 0.5em 0;
  }
  
  .section-block p {
    font-size: 0.9em;
    line-height: 1.6;
    margin: 0.3em 0;
  }
  main {
    overflow-x: hidden; /* 横スクロールを防止 */
    width: 100%;
    box-sizing: border-box;
  }
  