@charset "utf-8";

html, body {
  height: auto;         /* 蝗ｺ螳夐ｫ倥ｒ隗｣髯､ */
  min-height: 100%;
}
.all {
  position: relative !important;
  min-height: 100svh;   /* 繝｢繝舌う繝ｫ縺ｮ繧｢繝峨Ξ繧ｹ繝舌・螟牙虚縺ｫ繧ょｼｷ縺・*/
  padding-top: 130px;   /* 蝗ｺ螳壹・繝・ム繝ｼ蛻・・菴咏區 */
}

.comment{
  font-size: 1.2em;
  line-height: 160%;
  font-weight: 200;
  padding: 0;
  margin: 0;
  text-indent: 1em;
}
.bold{ font-weight: 600; border-bottom: dotted 1px #0e3460; }
.bottom30{ padding: 0 0 30px 0 !important; }
.katagaki{
  font-size: 1em;
  padding: 0 0 30px 0;
  margin: 0;
  text-align: right;
}
/* 荳堺ｽｿ逕ｨ縺縺梧里蟄倥↓蜷医ｏ縺帙※邯ｭ謖・*/
.konna{
  display: flex;
  padding: 100px 0;
  margin: 0;
  overflow: hidden;
  background: transparent;
}
.syoujyou{
  width: 200px;
  padding: 20px;
  margin: 10px;
  border: dotted 1px #0e3460;
  display: inline-block;
  text-align: center;
  color: #0e3460;
}
.syoujyou h2{ padding: 0; margin: 0; text-align: center; }
.syoujyou p{ padding: 10px 0 25px 0; margin: 0; text-align: left; }
.syoujyou a{
  padding: 5px 10px; margin: 0 auto; text-align: center;
  border: solid 1px #0e3460; text-decoration: none; color: #0e3460;
}
.syoujyou a:hover{ background: #f3f5f7; }

/* スライドショー　*/
.container {
  position: fixed;
  top: 0;
  right: 0;
  width: 35%;
  height: 100%;
  pointer-events: none; 

}
.slider-area{
  /*position: relative; width: 100%; height: 100%; padding: 0; margin: 0;*/
}
.slider-item{
  position: absolute; inset: 0; opacity: 0; z-index: 0;
  animation: slideShow 30s linear infinite 0s;
}
.slider-item:nth-child(2){ animation-delay: 10s; }
.slider-item:nth-child(3){ animation-delay: 20s; }
.slider-item img{
  width: 100%; height: 100%; object-fit: cover; opacity: 0.8;
}

@keyframes slideShow{
  0%{ opacity: 0; animation-timing-function: ease-in; }
  8%{ opacity: 1; animation-timing-function: ease-out; }
  20%{ opacity: 1; }
  40%,100%{ opacity: 0; }
}

/*左側コンテンツ（コンテナ）*/
div.animation_box {
  position: relative !important; /* 莉･蜑阪・ absolute 繧堤┌蜉ｹ蛹・*/
  left: auto !important;
  top: auto !important;
  width: auto !important;
  padding: 40px 200px 120px 200px; /* 譌｢蟄倥ョ繧ｶ繧､繝ｳ縺ｫ霑代＞菴咏區 */
  z-index: 1;
  box-sizing: border-box;
  margin-right: 35%;
	font-family: "Noto Serif JP", serif;
}
h1{
  font-size: 2.2em;
  font-weight: 400;
  padding: 0 0 35px 0;
  margin: 0;
  line-height: 160%;
}
.next{
  width: 100%;
  padding: 0;
  text-align: left;
  margin: 0 auto;
}

/*左側コンテンツ（地図コンテナ）*/
.map{
  width: 100%;
  padding: 0;
  margin: 10px 0 30px 0;
  height: 60vh;
  display: inline-block;
  border: 0;
}

/*左側コンテンツ（アクセス方法リスト）*/
.yoyakuul{
  list-style-position: outside;
  margin: 5px 0 20px 20px;
  padding: 0;
}
.yoyakuul li{ padding: 0 0 5px 0; margin: 0; }

/*左側コンテンツ（診察時間テーブル）*/
figure table{
  text-align: center;
  border: solid 2px #0e3460;
  border-radius: 7px;
  font-size: 0.95em !important;
}

@media (max-width: 900px){
  div.animation_box{
    position: relative !important;
    top: auto !important; left: auto !important;
    width: 100% !important;
    padding: 24px 5vw !important;
    writing-mode: horizontal-tb !important;
  }
  h1{
    font-size: 1.8rem !important;
    line-height: 1.6 !important;
    padding-bottom: 16px !important;
  }

  .container{
    position: relative !important;
    width: 100% !important;
    height: 40vh !important;
    top: auto !important; right: auto !important;
    margin-top: 8px;
  }
  .slider-area{ height: 100% !important; }

  .comment{ font-size: 1rem !important; line-height: 1.7 !important; }
}
@media (max-width: 900px){
  .table-scroll{
    display: block !important;
	  width: 100% !important;
    max-width: 100% !important;
	  box-sizing: border-box !important;
    overflow-x: auto !important;      /* ← 横スクはここだけ */
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch !important;
    margin: 0 0 10px 0 !important;
    padding: 0 30px 10px 0 !important;     
    background: transparent !important;
    scrollbar-gutter: stable both-edges;
	  touch-action: pan-x !important;   /* ← 端末での横スワイプを確実に */
  }
  .table-scroll > table{
	  display: inline-block !important; /* ← shrink-to-fit を止める決め手 */
    width: auto !important;    /* 内容幅＝スクロール幅（右端まで行ける） */
   /* min-width: 720px !important;*/      /* 必要なら 720–900px で調整 */
    border-collapse: collapse !important;
    table-layout: auto !important;
	  vertical-align: top;
  }
  .table-scroll > table th,
  .table-scroll > table td{
    white-space: nowrap !important;
    padding: 10px 12px !important;
  }

  .next figure{
    display: block !important;   /* ← inline-block を無効化 */
    width: 100% !important;      /* ← 画面幅に固定（中身がハミ出せる状態に） */
    overflow: visible !important; /* ← figure 自体にはスクロールを付けない */
    margin: 0 !important;
    padding: 0 !important;
  }
  figure ul{
    list-style:disc outside !important;
    padding-left:1.2em !important;
    text-align:left !important;
  }
	.table-scroll::-webkit-scrollbar{ height: 8px; }
  .table-scroll::-webkit-scrollbar-thumb{ background: #b7c2d6; border-radius: 4px; }
  .table-scroll::-webkit-scrollbar-track{ background: #eef2f7; }
}
@media (max-width: 900px){
  html, body { overflow-x: hidden; }
  *, *::before, *::after { box-sizing: border-box; }
}
/* === モバイル：診察時間テーブルだけ横スク === */