/*font-face*/
@font-face {
  src: url(../fonts/NotoSerifJP-VariableFont_wght.ttf);font-family: "NotoSerif";
  src: url(../fonts/MPLUSRounded1c-Regular.ttf);font-family:"MP";
}
@media only screen and (min-width:1024px){
  /*rule*/
  .mb{
    display: none!important;
  }
  .mb-br{
    display: none;
  }
  .content-wrap{
    padding-left:1em;
  }
  .indent{
    padding-left:1em;
  }
  #m_top{
    margin-top:160px;
  }
}@media only screen and (max-width:1023px){
  .pc{
    display: none!important;
  }
  .header-contact{
    display: none!important;
  }
  #m_top{
    margin-top:120px;
  }
}
.content-wrap{
  padding-top:1rem;
}
:root {
  --color-base-light: #76bcd7;  /* 優しい背景やアクセントに */
  --color-base: #5aa6c6;        /* 基本の強調色 */
  --color-main: #4794b6;        /* メインボタン・見出しなどに最適 */
  --color-main:#3567a3;
  --color-deep: #34addb;
  --color-deep:#3fa8f4;
  --color-deep:#4f7cca;   /* 小さな文字やhover時にも使える濃さ */
  --color-sub: #a8deea;
  --color-bg: #f5fcfe;
  --color-text: #2f3e4e;
  --color-subtext: #4e5e6b;
  --color-line: #d6e6ec;
  --color-yellow: #f5c518;
  --color-pink: #da76a9;
  --color-green: #7dc66a;
  --brown:#534741;
  --blue: #66cce2;
  --light-blue:#77b8fb;
  --base-blue:#3567a3;
  --dr-blue:#08267c;
  --gr-blue:linear-gradient(to right,#3fb4ef,#3076ef);
  --gr-light-blue:linear-gradient(to right,#beebf4,#42bbd4);
  --green:#7ac943;
  --gray:rgba(0,0,0,.6);
  --red:#ff422a;
  --base-width:min(100%,1200px);
}
.textCenter{
  text-align: center;
}
.switch-flex-content{
  flex: 1;
  min-width: 0;
}
.switch-flex-img-wrap{
  display: flex;flex-direction: column;
}
.switch-flex-img-wrap-s{
  width: min(300px, 50vw);height:200px;
}
@media only screen and (min-width:1024px){
.switch-flex-img-wrap{
  width:320px!important;
}
  .switch-flex-img{
    width: 320px;
    height: 240px;
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto 5px;
  }
  .access-flex,.switch-flex {
    gap: 0 3rem;justify-content: space-around;
  }
}@media only screen and (max-width:1023px){
  .switch-flex-img-wrap{
    width: 100%;height:auto;
  }
  .access-flex,.switch-flex{
    flex-direction: column;gap:5vh 0;align-items: center;
  }
  .switch-flex-order01{
    order:1;
  }
  .switch-flex-order02{
    order:2;
  }
}
.img-shadow{
  box-shadow: 15px 15px 0 var(--color-main);

}
.flex-img3 {
  display: flex;
  flex-wrap: wrap;
  gap: 4vw;
}

.flex-img3 > div {
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

/* imgの幅を基準にdivの幅を自動調整 */
.flex-img3 img {
  height: 100%;         /* 高さ200pxにフィットさせる */
  width: auto;          /* 画像のアスペクト比維持して幅自動 */
  display: block;
}
@media only screen and (max-width:747px) {
  .flex-img3{gap:8vw;}
}
.content-child{
  margin-bottom:3vh;
}
/*rule*/
html {
  font-size: clamp(14px, 1.5vw, 18px); /* 高齢者に配慮した柔軟な文字サイズ */
  height: -webkit-fill-available;
  text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Hiragino Sans', 'ヒラギノ角ゴシック', 'メイリオ', Meiryo, sans-serif;letter-spacing: 0.04em;
  font-weight: 300; /* 少し太めの方が読みやすい */
  font-size: 1rem;  /* htmlの基準を使う（= clamp により16〜20px） */
  line-height: 1.75;letter-spacing: 0.07em;
  color: #1a1a1a;
  overflow-x: hidden;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 初期は2列 */
  gap: 16px;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: #333;
  padding: 1em;
  background-color: #ffffff;
  /* カード風スタイル追加 */
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border:2px solid var(--color-base);
}

.menu-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.menu-item svg {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  fill: var(--color-base);
}

.menu-item span {
}


@media (min-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(4, 1fr); /* 横4つに */
  }
}
#m_top{

}
.c_visual{
  height:max(550px,60vh);margin:0 auto;position: relative;
}
.c_visual-content-wrap{
  position: absolute;
  top: 52%;
  left: 50%;
  transform: translate(-50%,-50%);
  align-items: flex-end;padding:25px;z-index:50;text-shadow: 0 0 50px #fff;color:#fff;text-align: center;white-space: nowrap;font-family: "NotoSerif";
}
.c_visual-content{
}
.c_visual-content-l{
  font-size: clamp(2.2rem, 2.6vw, 2.6rem);margin-bottom:.5rem;
}
.c_visual-content-s{
  font-size: clamp(1.4rem,1.8vw,1.8rem);
}
.c_visual-news{
}
.c_visual-news-title{
  padding-right:3em;
}
.c_visual-news-inner{
  width:100%;padding: .6em 3vw;
display: flex;
justify-content: center;
}
.c_visual-news-title{
  display: inline-block;
}
.c_visual-news-content{
  /*animation: VisualNews 10s forwards linear;*/
}
@keyframes VisualNews {
  from{
    transform: translateX(100%);
  }
  to{
    transform: translateX(0);
  }
}
@media (max-width: 1023px) {
  .c_visual-bottom {
    align-items: center;
  }
  .c_visual-news {
    width:100%;height:auto;
  }
}
a:hover{
  cursor: pointer;
}
h1,h2,h3,h4,h5,h6{
  font-weight: 500;
  letter-spacing: 0.08em;
}
h1 {
  font-size: clamp(36px, 6vw, 48px); /* 36〜48px */
  line-height: 1.2;
}
h2 {
  font-size: clamp(1.4rem, 1.8vw, 1.8rem);padding:20px;background: var(--color-base);color:#fff;
  position: relative;display: flex;align-items:center;border-radius: 10px;box-shadow: 0 0 10px rgba(0,0,0,.05);
}
/*h2::before{
  content: "";
  background: #fff;
  display: inline-block;
  width: .1em;
  height: .8em;
  margin-right: .8em;
  border-radius: 10px 20px ;
}*/
h3 {
  font-size: clamp(1.2rem, 1.6vw, 1.6rem);
  line-height: 1.4;white-space: nowrap;padding: 2rem 0 1rem;position: relative;margin-bottom:1.5rem;
}
h3::before{
  background: #ddd;
  display: inline-block;
  width: 100%;z-index:1;
  height: .1em;position: absolute;bottom:0;left:0;
}
h3::after{
  content: "";
  background: var(--color-base);
  display: inline-block;
  width: 2em;z-index:2;
  height: .1em;position: absolute;bottom:0;left:0;
}
.content-wrap h3:not(:nth-of-type(1)){
  margin-top:2em;;
}
h4{
  font-size: clamp(1.1rem, 1.5vw, 1.5rem);
  padding-bottom: 1.5rem;display: flex;
align-items: center;
}
h4::before{
  content: "";
  background: var(--color-base);
  display: inline-block;
  width: .5rem;border-radius: 50%;
  height: .5rem;margin-right: .5em;
}

.textright{
  text-align: right;
}
/*slideshow*/
.c_visual-slideshow {
  position: relative;
  width: 100%;   /* 任意の幅 */
  height: 100%;  /* 任意の高さ */
  overflow: hidden;margin:0 0 0 auto;
}
.slideshow::before{
  content:"";position: absolute;top:0;left:0;z-index:10;width:100%;height:100%;
  background: linear-gradient(to bottom,rgba(50, 137, 222, 0.2)20%,rgba(193,226,255,.4)100%);
  background: rgba(0,0,0,.15);
}
.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-position: 50% 40%;
  opacity: 0;
  transform: scale(1.05);
  animation: fadeZoom 40s infinite;
  filter: hue-rotate(10deg) saturate(1.2) brightness(1.05) contrast(1.05);
}
.slide:nth-child(1) {
  animation-delay: 0s;object-position: 50% 18%;
}
.slide:nth-child(2) {
  animation-delay: 10s;
}
.slide:nth-child(3) {
  animation-delay: 20s;
}
.slide:nth-child(4) {
  animation-delay: 30s;object-position: 50% 20%;
}

@keyframes fadeZoom {
  0% {
    opacity: 0;
    transform: scale(1.05);
  }
  5%{
    opacity: 1;
  }
  25%{
    opacity: 1;
  }
  40% {
    opacity: 0;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}

section{
  position: relative;
  height: auto;
  width: var(--base-width);
  margin: 0 auto;
  padding: 30px 3vw;
}
.container{
  width: var(--base-width);
  margin:0 auto;padding:2rem 0;
}
.t_container{
  padding:50px 6vw;
  width: var(--base-width);
margin: 0 auto;
}
.content{
  max-width: 800vw;
  margin: 30px auto 0;
  width: 100%;
}
.detail{
  font-size:.9em;
}
.underline{
  color:var(--red);font-weight: 400;text-decoration: underline;
}
.font-blue{
  position: relative;background: linear-gradient(transparent 70%, #bff3ff 30%); font-weight: 400;
}
/*========HELLO=========*/

/*---hello-visual---*/
.hello-visual{
  width:100%;overflow: hidden;
  height:100vh;max-height:650px;position: relative;
}
.hello-visual-img {
    z-index:50;
    opacity: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 50%;
    position: absolute;
    left: 0;
    top: 0;
    -webkit-animation: hellovisualanime 60s 0s infinite;
    animation: hellovisualanime 60s 0s infinite;
}
.hello-visual-img:nth-of-type(2) {
      -webkit-animation-delay: 15s;
      animation-delay: 15s; }

    .hello-visual-img:nth-of-type(3) {
      -webkit-animation-delay: 30s;
      animation-delay: 30s; }

    .hello-visual-img:nth-of-type(4) {
      -webkit-animation-delay: 45s;
      animation-delay: 45s;
      object-position: 100% 50%;}
  @keyframes hellovisualanime {
    rom{
          opacity: 0;
      }
      5% {
          opacity: 1;
      }
      23% {
          opacity: 1;
      }
      28%{
        opacity: 0;
        transform: scale(1.1) ;
         z-index:8;
      }
      100% { opacity: 0 }
  }
  /*---hello-message---*/
   .hello-message-container h1{
     position:absolute;
     opacity: 0;
   }
   .hello-message-inner{
     position:absolute;
     left:50%;
     top:50%;
     transform:translate(-50%,-50%);
     -webkit-transform:translate(-50%,-50%);
     padding:30px;
     color:#fff;font-size: 1.8rem;
     z-index:200;font-family: "KiwiMaru";text-align: center;
   }
   .hello-message-title{
     font-size:3.6rem;line-height: 1.8em;white-space: nowrap;margin-bottom:30px;
   }
   .hello-scroll{
     position: absolute;
     bottom: 8%;left:50%;
     height: 100px;
   }
   .hello-scroll-text{
     position: absolute;
     top:0;
     left: 50%;
     transform: translateX(-50%);
     z-index: 200;
     color: #fff;font-size:1.3rem;
   }
   .hello-scroll::before{
     content:"";background: #fff;width:1px;height:60px;position: absolute;bottom: 6%;
     left: 50%;
     transform: translateX(-50%);animation: topscrolllongAnime 5s 0s infinite;z-index:100;
   }
   .hello-scroll::after{
     content:"";background: #fff;width:1px;height:10px;position: absolute;bottom: 6%;
     left: calc(50% - 5px);
     transform: translateX(-50%) skewX(45deg);animation: topscrollshortAnime 5s 0s infinite;z-index:100;
   }
/*header*/
.header-description{
  font-size: .8rem;
  background: var(--color-base);color:#fff;
  padding: .2rem 6vw;
}
.site-header {
  background: #fff;position: fixed;
top: 0;
left: 0;
z-index: 400;
width: 100%;
box-shadow: 0 0 20px rgba(0,0,0,.1);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;padding: 1rem 3vw;
}
.header-right-top{
  display: flex;align-items: center;justify-content: flex-end;
}
.header-contact{
  display: flex;align-items: center;justify-content: flex-end;
}
.header-access svg{
  width:30px;height:30px;padding-right:10px;
  fill: var(--color-base);
}
.header-access-text{
  font-size: 1rem;
}.header-access {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0.5em 1.2em;
  border-radius: 5px;
  background: #f9f7f4;
  overflow: hidden;
  transition: color 0.3s ease;
  border:2px solid #f9f7f4;
  box-shadow: 0 0 2px rgba(0,0,0,.1);
}

.header-access::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: #fff; /* ホバー時の背景色 */
  transition: width 0.4s ease;
  z-index: 0;
}

.header-access:hover::before {
  width: 100%;
}

.header-access:hover {
  color: var(--color-base); /* 元の背景色を文字色に */
}

.header-access svg,
.header-access-text {
  position: relative;
  z-index: 1;
  transition: color 0.3s ease, fill 0.3s ease;
}

.header-access:hover svg {
  fill: var(--color-base);
}
.site-branding {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-weight:400;
}
.site-logo {
  height: 80px;
  width: auto;
}

/* モバイル用に小さくする（768px以下） */
@media (max-width: 768px) {
  .site-logo {
    height: 60px;
  }
}

.site-title-block {
  display: flex;
  flex-direction: column;
  line-height: 1.8;white-space: nowrap;font-weight: 300;color:#333;
}
.company-name {
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
}
.clinic-name {
  font-size: clamp(.8rem, 1.7vw, 1.4rem);
}
.clinic-subject{
  font-size: clamp(0.7rem, .9vw, 0.9rem);
  color:var(--color-base);
}
.header-contact{
  text-align: center;margin-top:20px;
}
.header-phone{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  /* font-weight: 500; */
  font-size: clamp(1rem, 2vw, 1.3rem);
  background: rgba(255,255,255,.9);
  color: #1a1a1a;
  padding: 1em 2em;
  box-shadow: 0 0 20px rgba(0,0,0,.2);
  border-radius: 9999px;
  margin-top: 30px;
  font-family: "NotoSerif",serif;
}
.header-phone svg{
  width: 50px;
  height: 50px;
  padding-right: 15px;
  fill: var(--color-base);
}
.header-contact-note{
  color: indianred;
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
}
/*モバイル用phoneボタン*/
@media (max-width: 1023px) {
  .mb-contactmenu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    z-index: 1000;
  }

  .mb-phone,
  .mb-fever-phone {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    border: 2px solid var(--color-main);
    text-align: center;
    cursor: pointer;
  }
  .mb-phone{
    background: var(--color-main);color: #fff;
  }
  .mb-fever-phone{
    color: var(--color-main);background: #e6f1ff;
  }
  .mb-phone svg {
    height: 1.2rem;
    fill: #fff;
  }

  .mb-phone span,
  .mb-fever-phone span {
    white-space: nowrap;
  }
  .header-right-top{
  }
  .header-right-top .tel{
    width: 50%;
    background: var(--color-deep);
    padding: 1em;color:#fff;
  }
  .header-right-top .tel-note{
    font-size: .75rem;
    white-space: nowrap;
    color: #fff;
    text-align: center;margin-bottom: 5px;
  }
  .header-right-top .tel svg{
    fill:#fff;
  }
  .header-access{
    width: 50%;
    text-align: center;
    justify-content: center;
    height: 100%;
    background: #fff;margin:0;
  }
}
.nav-overlay__list{
  display: flex;gap:0 1.5em;
}
.hamburger {
  width: 42px;
  height: 42px;
  cursor: pointer;
  z-index: 501;
  position: relative;
}

.hamburger-bar {
  display: block;
  height: 3px;
  background-color: var(--color-base);
  margin: 8px 0;
  transition: transform 0.4s, width 0.4s;
}

/* 初期状態：1本目は100%、2本目は短め */
.hamburger-bar:nth-child(1) {
  width: 100%;
}
.hamburger-bar:nth-child(2) {
  width: 70%;
  margin-left: auto; /* 右寄せにして短く見せる */
}

/* ✕状態（どちらも100%幅、交差） */
.hamburger.active .hamburger-bar:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
  width: 100%;
}
.hamburger.active .hamburger-bar:nth-child(2) {
  transform: rotate(-45deg) translate(4px, -4px);
  width: 100%;
  margin-left: 0;
}

.hamburger-text {
  margin-top: 6px;
  display: block;
  color: var(--color-base);
  font-size: clamp(0.6rem, 1vw, 0.8rem);white-space: nowrap;
  text-align: center;
}
/* メニューのスタイル */
.menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255,255,255,.4);
  opacity: 0; /* 初期状態は透明 */
  pointer-events: none; /* クリック不可 */
  transition: opacity 0.5s ease; /* フェードインのアニメーション */
  box-sizing: border-box;
  z-index: 500;
}

/* メニューが開いたとき */
.menu.open {
  opacity: 1; /* 不透明にする */
  pointer-events: auto; /* クリック可能にする */
}
.menu ul{
  display: flex;
  justify-content: space-evenly;
  flex-direction: column;
  width: 220px;
  position: absolute;
  right: 0;
  background: #fff;
  padding: 3vw;
  padding-top: 100px;
  height: 100%;
  box-shadow: 0 0 20px rgba(0,0,0,.1);
}
/*m_nav*/
.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: #ffffff;
  display: flex;
  justify-content: space-around;
  border-top: 1px solid #ddd;
  box-shadow: 0 -2px 6px rgba(0, 0, 0, 0.08);
  z-index: 999;
  padding: 6px 0;
}

.bottom-nav a {
  flex: 1;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-size: 13px;
  line-height: 1.2;
}

.bottom-nav .icon {
  width: 24px;
  height: 24px;
  margin: 0 auto 2px;
  display: block;
  color: #006D77;
}

.bottom-nav .label {
  display: block;
  font-size: 12px;
}

@media (min-width: 768px) {
  .bottom-nav {
    display: none; /* PCでは非表示に */
  }
  .float-left {
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
    width: 200px;
  }
  .clearfix::after {
  content: "";
  display: block;
  clear: both;
}
.syncbox{
  display: flex;
}
main{width:100%
}
.syncbox-sub{
  width:20%;
}
}
#m_menu{
  background: rgb(240,252,255);
}
.fadeRight{
  animation: fadeRight 2.5s ease forwards;opacity:0;
}
@keyframes fadeRight {
  0{
    transform: translateX(0);opacity:0;
  }
  100%{
    transform: translateX(5%);opacity: 1;
  }
}
#footer{
  background: aliceblue;
}
.pdf-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top:3vh;
  padding: 0.6em 1.4em;
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #3567a3;
  border: 2px solid #3567a3;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.pdf-button .icon {
  font-size: 1.2em;
  transition: transform 0.3s ease;
}

.pdf-button:hover .icon {
  transform: scale(1.2);
}

.pdf-button:hover {
  background-color: #ffffff;     /* ホバーで白背景 */
  color: #3567a3;                /* ホバーで青文字 */
  border-color: #3567a3;        /* 青い枠はそのまま */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}
.schedule-wrapper table {
  overflow-x: auto;min-width:800px;
}
table.schedule {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
  table-layout: auto;
  background: #fff;box-shadow: 0 0 30px rgba(0,0,0,.05);

}

.schedule th,
.schedule td {

  text-align: center;
  padding: 0.6em;
  font-size: 1rem;
  white-space: nowrap;
  color: #1a1a1a;
}
.schedule tr{
  border-top: 1px solid #e9e7e4;
}
.th-tr{
  border-top: none!important;
}
.schedule thead,.reception-table-wrap th {
}
.schedule thead th,.schedule thead td,.reception-table-wrap th{

}
.schedule thead th {
  padding: 0.8em 0.6em;font-weight: 300;
  letter-spacing: 0.03em;color:#333;
}

.schedule td.circle {
  color: var(--color-main);
  font-weight: bold;
  font-size: 1.5em;
}
.doctor_ad{
  position: relative;
  padding-top: .5em;
  margin-top: .5em;
  display: inline-block;
  font-size: .9rem;
}
.doctor_ad::before{
  content: "";
  width: 100%;
  height: 1px;
  background: #c5ceda;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
  .schedule th,
  .schedule td {
    font-size: 0.9rem;
    padding: 0.5em;
  }
}
.schedule td small,
.schedule td .small {
  display: block;
  font-size: 0.8rem;
  color: #555;
  margin-top: 0.2em;
}

.doctor:nth-of-type(2) {
  margin-top:3rem;
}

.doctor strong {
  font-size: 1.1rem;
  color: #1a1a1a; /* 医師名も黒系に統一 */
  font-weight: 600;
}
/*reception*/
.reception-table-wrap {
  margin-top: 1rem;
  max-width: 100%;
  overflow-x: auto;
}

.reception-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #1a1a1a;
}

.reception-table th {
  text-align: left;
  background-color: #e1e8f0;
  color: #08267c;
  padding: 0.6em 1em;
  white-space: nowrap;
  font-weight: bold;
  width: 120px;
}

.reception-table td {
  padding: 0.6em 1em;
  background-color: #f8f9fb;
}

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

.news-item {
  border-bottom: 1px solid #e0e7ef;
}

.news-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  padding: 1.2rem 0;
  color: #1a1a1a;
  transition: background 0.3s;
}

.news-item a:hover {
  background-color: #f5f7fa;
}

.news-meta time {
  font-size: 0.9rem;
  color: #777;
  min-width: 100px;
}

.news-title {
  flex: 1;
  padding: 0 1rem;
  font-size: 1rem;
}

.news-arrow {
  font-size: 1.5rem;
  color: #ccc;
  transition: color 0.2s;
}

.news-item a:hover .news-arrow {
  color: #005bab;
}

.access-flex,.switch-flex {
  display: flex;
}

.access-info {
  flex: 1 1 48%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* 診療時間表 */
.access-timetable {
  margin-bottom: 2rem;
}

.access-timetable table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  background: #fff;
  box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.access-timetable th,
.access-timetable td {
  border: 1px solid var(--color-main);
  padding: 0.6em;
  color: #1a1a1a;
}

.access-timetable th {
  background: var(--color-main);
  color: #fff;
}

.access-timetable td {
  font-size: 1rem;
}

.access-timetable td:contains("●") {
  font-size: 1.3rem;
  color: var(--color-main);
  font-weight: bold;
}

.access-reception table {
  width: 100%;
  border: 1px solid var(--color-main);
  border-collapse: collapse;
  font-size: 0.9rem;
}

.access-reception td {
  border: 1px solid var(--color-main);
  padding: 0.6em 1em;
}

.access-reception h4 {
  font-size: 1rem;
  margin-bottom: 0.5em;
  color: #08267c;
}

/* 基本情報 */
/* 共通テーブルラッパー */
.reception-table-wrap,
{
  flex: 1 1 48%;
  min-width: 300px;
}

/* 共通テーブル */
.reception-table,
.access-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
  line-height: 1.6;
  color: #1a1a1a;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  overflow: hidden;
}

/* ヘッダーセル */
.reception-table th,
.access-table th {
  text-align: left;
  color: #333; /* 濃い青→落ち着いたグレーへ */
  padding: 0.8em 1.2em;
  white-space: nowrap;
  font-weight: 600;
  border-bottom: 1px solid #e0e0e0;
}

/* 内容セル */
.reception-table td,
.access-table td {
  padding: 0.8em 1.2em;
  border-bottom: 1px solid #eaeaea;
}

/* 電話リンク */
.tel {
  text-decoration: none;
  display: inline-block;position:relative;overflow: hidden;margin:0 20px;
}
footer .tel{
  margin-top:15px;
}
.tel-note{
  font-size: .75rem;white-space: nowrap;
}
.tel-inner{
  display: flex;align-items: center;justify-content: center;font-size: clamp(1.2rem, 2.2vw, 1.6rem);
}
.tel svg{
  width:45px;height:45px;padding-right:5px;
  fill: var(--color-base);
}
.tel:hover {
  opacity: 0.6;
}
/*footer*/
.site-footer {
  padding: 5em 6vw;
  font-size: 0.9rem;
  color: #333;
  margin-bottom: -120px;
  text-align: center;
  position: relative;
  padding-bottom: 120px;
  position: relative;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width:var(--base-width);
  margin: 0 auto 3em;
}
.footer-logo{
  justify-content: center;text-align: left;
}
.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-nav a {
  text-decoration: none;
  color: #08267c;font-size: .9em;
}

.footer-nav a:hover {
  text-decoration: underline;
}

.footer-copy {
  text-align: center;
  color: #999;
  font-size: 0.8rem;margin-top:.5em;
}
.clinic-timetable{
  font-size: .9rem;
}
footer .clinic-timetable{
  font-size: .8rem;
}
.clinic-timetable table {
  width: 100%;
  border-collapse: collapse;
}
.syncbox-timetable{
  font-size: .7rem;
}
.clinic-timetable th,
.clinic-timetable td {
  padding: 0.5em;
}
.timetable01 tr:not(:nth-of-type(1)){
  border-top: 1px solid #ddd;
}

.timetable02 th,.timetable02 td{
  border: 1px solid #ddd;
}
.footer-timetable th,
.footer-timetable td{
  padding: 0.4em 0.5em;
}
.clinic-timetable th{
  background: #eee;font-weight:300;
}
.houmon {
  display: inline-block;
  width: 1.8em;
  height: 1.8em;
  line-height: 1.8em;
  border: 1px solid #333;
  border-radius: 50%;
  text-align: center;
  font-size: 0.9em;
}
.maru{
  font-size:1.2rem;color:var(--color-main);display: none;
}
.shiromaru{
  font-size:1.2rem;color:var(--color-pink);display: none;
}
.kome{
  font-size:.6rem;color:#333;
}
.clinic-timetable td:contains("●") {
  color: var(--color-base);
  font-weight: bold;
  font-size: 1rem;
}
.clinic-timetable-detail{
  text-align: left;color:#333;margin-top:1em;
}
.footer-wave {
  width: 100%;
  height: 200px;
  overflow: hidden;
  transform: scaleY(1.5);pointer-events: none;
  width: 100%;
position: absolute;
bottom: 0;
left: 0;
z-index: 100;
}
.switch-flex {
  display: flex;
  gap: 5vh 0; /* モバイル用：縦方向の余白だけ */
  flex-direction: column; /* モバイルでは縦並び */
}

.switch-flex > * {
  width: 100%;
}

/* 横並び用：1024px以上 */
@media (min-width: 1024px) {
  .switch-flex {
    flex-direction: row;
    gap: 1rem 3rem; /* 上下なし、左右に3rem */
  }

  .switch-flex > * {
    width: 50%;
  }
}
.access-map{
  text-align: center;
}
