/*トップスライダー*/
.swiper{
    width: auto !important;
    max-width: 1450px!important;
}
.tfc-slider img.sp-dn{
    width:100%;
}
/*メニューリストボタン*/
#kt-toplist .flex{
    display: flex;
    gap:2em;
    margin-bottom: 8em;
}
#kt-toplist .flex a img{
border: 1px solid #dddddd;
}
/*タブスタイル*/
#kt .tfc-box{
background: #e6dcc64d;
    padding: 4em 2em;
    margin-bottom: 3em;
}
#kt .content-box{
    border: none!important;
    background: none!important;
    padding: 0 2em 2em;
}
#kt .tab-container{
    display: flex;
    justify-content: center;
    gap:2em;
    align-items: center;
}
#kt .tab-container .tab{
    color: #b29e72;
    border: 1px solid #b29e72;
    padding: 1em 2em;
    background: #fff;
    margin-bottom: 2em;
}
#kt .tab-container .tab.active{
    background-color: #b29e72;
    color: #fff;
}
#kt .content-box .menulist-box{
   display: flex;
    gap: 1em;
    flex-wrap: wrap;
    justify-content: space-between;
}
#kt .content-box .menulist-box::after{
  content:"";
  display: block;
  width:30%;
}
#kt .container::after{
  content:"";
  display: block;
  width:23%;
}
#kt .content-box .menulist-box div {
    line-height: 2.2;
    width: calc(30% - 1.5em);
    border: 1px solid #ddd;
    padding: 0.5em 1em;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: #fff;
    color: #988762;
    position: relative;
}
#kt .content-box .menulist-box div::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    right: 10px;
    bottom: 50%;
    z-index: 10;
    cursor: pointer;
    border-top: solid 2px #dddddd;
    border-right: solid 2px #dddddd;
    -webkit-transform: rotate(45deg) translateY(50%);
    transform: rotate(45deg) translateY(50%);
}
#kt .content-box .menulist-box div a {color: #988762!important;}
#kt h3{
font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
    text-align: center;
    margin-bottom: 1em;
    line-height: 1.1;
    font-size: 30px !important;
}
#kt h3 span{
    font-size: 20px !important;
}
#kt .content-box {
    display: none;
}
#kt .content-box.show {
    display: block;
}

#kt-toplist .br-sp {display: none;}

/*医師カレンダー*/
/* ↓ スライドの外枠 */
.slide-wrapper {
  width: 100%;
  height: auto;
  position: relative;
  overflow: hidden; /* はみ出したスライドを隠す */
  margin-top: 4em;
}
/*  ↓ スライド（コンテンツ） */
.slide { /*スライド全体 */
  width: 200%;
  height: 100%;
  display: flex;
  transition: all 0.3s;
}
.slide div { /* スライド */
  width: 50%;
  height: 100%;
  font-size: 16px;
  text-align: center;
}
.slide1 { /* スライドさせるために必要なクラス */
  transform: translateX(0);
}
.slide2 { /* スライドさせるために必要なクラス */
  transform: translateX(-50%);
}

/* ↓ インジケーター */
.indicator {
  width: 100%;
  position: absolute;
  top: 3em;
  display: flex;
  column-gap: 18px;
  z-index: 10;
  justify-content: center;
  align-items: center;
margin-left: 0!important;
}
.indicator li {
  list-style: none;
  cursor: pointer;
}
.indicator li:first-of-type {
     position: absolute;
  width: 15px;
  height: 15px;
  left: 25px;
  bottom: 50%;
  z-index: 10;
  cursor: pointer;
  border-top: solid 2px #392e1d;
  border-right: solid 2px #392e1d;
  -webkit-transform: rotate(-135deg) translateY(-50%);
  transform: rotate(-135deg) translateY(-50%);
    opacity: 0.3;
}
.indicator li:last-of-type{
position: absolute;
  width: 15px;
  height: 15px;
  right: 10px;
  bottom: 50%;
  z-index: 10;
  cursor: pointer;
  border-top: solid 2px #392e1d;
  border-right: solid 2px #392e1d;
  -webkit-transform: rotate(45deg) translateY(50%);
  transform: rotate(45deg) translateY(50%);
}
.slide-wrapper .ttl05{
    border-bottom: none;
}
.slide-wrapper table{
margin-top: 2em !important;
}
#top-calendar #slide1 h4,#top-calendar #slide2 h4{
        color: #fff !important;
    border-bottom: none;
}
#top-calendar #slide1 .dr-cal ul li.cal-note,#top-calendar #slide2 .dr-cal ul li.cal-note {
    font-size: 70% !important;
    padding: 0.2em;
}
#top-calendar #slide1 td, #top-calendar #slide2 td {
    padding: 5px;
}
#top-calendar #slide1 table ul,#top-calendar #slide2 table ul{
    margin-bottom: 0;
}
#top-calendar #slide1 table,#top-calendar #slide2 table{
    margin-bottom: 2em!important;
}
#top-calendar #slide1 table ul li,#top-calendar #slide2 table ul li{
    line-height: 1.5;
}
#top-calendar #slide1 .cal-week-mon,#top-calendar #slide1 .cal-week,#top-calendar #slide1 .cal-week-sun {
    border-top: 1px solid #ea9a99 !important;
    border-left: 1px solid #ea9a99 !important;
    border-right: 1px solid #fff !important;
    border-bottom: 1px solid #ea9a99 !important;
}
#top-calendar #slide1 .cal-week-mon,#top-calendar #slide1 .cal-week, #top-calendar #slide1 .cal-week-sun {
    background: #ea9a99 !important;
    color: #fff !important;
}
#top-calendar #slide1 .cal-week-sun {
    border-top: 1px solid #ea9a99 !important;
    border-left: 1px solid #fff !important;
    border-right: 1px solid #ea9a99 !important;
    border-bottom: 1px solid #ea9a99 !important;
}
#top-calendar #slide1 td,#top-calendar #slide1 th {
    border: 1px solid #ea9a99!important;
}
#top-calendar #slide2 td, #top-calendar #slide2 th {
    border: 1px solid #c9bc9c !important;
}
.mb8{
margin-top: 8.6em;
}
/*---------------------------------------------------------------------
　ここからスマホ
---------------------------------------------------------------------*/
@media screen and (max-width: 540px) {
    #kt-toplist .br-sp {display: block;}
    #kt-toplist .flex {
    display: block;
    margin-bottom: 5em;
}
#kt-toplist .flex a img {
    margin-bottom: 1em;
    width: 90%;
    }
    
#kt .content-box .menulist-box div {
        width: calc(39% - 0.5em);
        padding: 0.5em 1em;
        padding-right: 1.5em;
    }
    #kt .content-box .menulist-box div a {line-height: 1.6!important;}
#kt h3 {
    font-size: 24px!important;
    margin-bottom: 1.5em;
    }
    #kt .content-box{
        padding: 0;
    }
#kt .tfc-box {
    padding: 2em 1em;
    }
#kt .tab-container {
    display: block;
    margin-bottom: 3em;
    }
    
    
    
#kt .tab-container .tab {
    padding: 1.5em;
    margin-bottom: 1em;
}
    
.news-list dl dt {
    border-bottom: none!important;
    margin-bottom: 1em;
}
.indicator {
    top: 2.5em;
    }
    #top-calendar .indicator {
        top: 2em;
    }
#top-calendar .slide-wrapper table {
    margin-top: 1.5em !important;
}
    #top-calendar table th,#top-calendar table thd,#slide1 table ul li,#slide2 table ul li{
        font-size: 13px!important;
    }
    .slide-wrapper .dr-cal ul {
        margin-bottom: 0.3em !important;
    }
.mb8{
margin-top:0em;
}

    }





