/* slider */
.bx-wrapper {
  box-shadow: none;
  border: none;
  width: 100%;
}
.content-section.fixed p {
/*  color:#404040;*/
  letter-spacing: .1em;
  font-size:22px;
  line-height:2;
  padding:25px 0 5px;
  font-weight:300;
  font-family: "Sawarabi Mincho",serif;
  width:65%;
  left:auto;
  margin-top: 15px;
  margin-left: 50px;
  text-align:left;
  display:block;
  z-index:100;
}
li.ms-slide {
  position: relative;
}
li.ms-slide p {
  position: absolute;
}
.bx-wrapper {
  margin: 0 !important;
  -moz-box-shadow: none !important;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border: none !important;
  background: none !important;
}

/* front */
.content-section.light {
  background:#f9f8f8 !important;
}
.front ul {
  margin-bottom: 0;
}
.front li {
  display: inline-block;
/*  font-family: serif;*/
  font-size: 1em;
  font-weight: 300;
  line-height: 1.6;
}
.front li.sp {
  display: none;
}
.front li.owl {
/*  position: absolute;*/
  width: 35%;
  text-align: center;
}
.front li.copy {
  width: 60%;
  padding: 20px 0;
  box-sizing: border-box;
  vertical-align: middle;
}

/* Feature list */
.feature-list {
  background-color:#f9f8f8;
  overflow:hidden;
  width:100%;
  margin-bottom: 60px;
}
.feature-list .container {
  overflow:hidden;	
}
.feature-list .feature {
  margin-top:24px;
  margin-bottom:13px;
}
.feature-list .feature p.box {
  width: 230px;
  height: 170px;
  background-color: #fff;
  padding: 10px;
  overflow: scroll;
}
.feature-list .feature i {
  font-size:32px;
  width:78px;
  height:78px;
  text-indent:23px;
  padding-top:23px;
  background:#fff;
  border:1px solid #ececec;
  color:#6ebff3;
  float:left;
  -webkit-border-radius: 78px;
  -moz-border-radius: 78px;
  border-radius: 78px;
}
.feature-list .feature:hover i {
  color:#fff;
  background-color:#6ebff3;
  border:1px solid #5fb5ec;
}
.feature-list .feature p.more {
  text-align: right;
  font-size: .85em;
  border-top:1px dashed #ccc;
  margin-top: 1.25em;
}
.feature-list .feature i.fa-angle-double-right { 
  font-size: 1em;
  width:auto;
  height:auto;
  text-indent:0;
  background:none;
  border:none;
  color:#6ebff3;
  float:none;
  border-radius: 0;
}
.feature-list .feature:hover i.fa-angle-double-right {
  color: none;
  background-color:none;
  border:none;
}
.feature-list .feature .content {
  float:left;
  width:260px;
  margin-left:10px;
}
.feature-list .feature .content ul {
  height: 190px;
  overflow-y: auto;
}
.feature-list .feature .content h4 {
  font-size:20px;
/*  color:#404040;*/
  font-weight:300;	
}
.feature-list .feature .content h5 {
  font-size:1em;
  font-weight:600;	
  line-height:1.4;
  margin-top: 0;
  margin-bottom: 0;
}
.feature-list .feature p {
  font-size:.9em;
  font-weight:300;
  line-height:1.4;
}
.feature-list-2 {
  margin-top:13px;
  margin-bottom:-60px;
}
.feature-list-2 .feature {
  margin-bottom:60px;
}
.feature-list-2 .feature h5 {
  font-size:20px;
/*  font-family:"Roboto", Arial, sans-serif;*/
  font-weight:300;
}
.feature-list-2 .feature h5 i {
  margin-right:18px;
  font-size:22px;
  padding:0;
  position:relative;
  top:1px;
}
.feature-list-2 .feature:hover h5 i {
  color:#6ebff3;
}
.feature-list-2 .feature p {
  font-size:16px;
  text-align:left;
  padding:0;
  width:90%;
  line-height:25px;
  margin:0 0 0 39px;	
}

/* 診療のご案内 */
.care .wrapper {
  margin:0 auto;
  width:980px;
  margin-bottom: 40px;
}

.medical-services {
  background-color: #e6f4ff; /* 薄い水色の背景 */
  padding: 40px 20px;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  border-radius: 12px;
}

.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* PCは3列 */
  gap: 40px;
}

.service-card {
  display: flex;
  flex-direction: column;
}

.service-title {
  color: #007bc2; /* 濃い水色の文字 */
  font-size: 1.85rem;
  font-weight: bold;
  margin: 0 0 10px 0;
}

.content-section p.service-desc {
  color: #333;
  font-size: 1.45rem;
  line-height: 1.6;
  margin: 0 0 10px 0;
  flex-grow: 1;
}

.service-link {
  color: #007bc2;
  text-decoration: none;
  font-weight: bold;
  display: inline-flex;
  align-items: center;
  font-size: 1.35rem;
  background-color: #fff;
  padding: 4px 0 4px 12px;
  width: 150px;
  border-radius: 4px;
}

.service-link:hover {
  text-decoration: underline;
}

.arrow-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: #f39800;
  border-radius: 50%;
  position: relative;
  margin-left: 8px;
}

.arrow-icon::after {
  content: '';
  width: 6px;
  height: 6px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 8px;
  left: 7px;
}

/* tablet (2列) */
@media (max-width: 900px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .empty-card {
    display: none; /* 隙間埋め用カードを消す */
  }
}

/* sp (1列) */
@media (max-width: 600px) {
  .services-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .medical-services {
    padding: 30px 15px;
  }
}



/*clinic-hours*/
.clinic-hours .wrapper {
  margin:0 auto;
  width:980px;
  margin-bottom: 40px;
}

.hours-wrapper {
  width: 100%;
  overflow-x: auto; /* 横方向にスクロールを許可 */
  -webkit-overflow-scrolling: touch; /* iOSでのスクロールを滑らかに */
  margin-bottom: 1em;
}

.hours {
  border-collapse: collapse;
  width: 100%;
  min-width: 650px; /* ★重要：これ以下には縮まない（スクロールが発生する） */
  table-layout: fixed;
  font-family: sans-serif;
  font-size: 14px;
}

.hours th, .hours td {
  border: 2px solid #fff;
  background-color: #e6f1f6;
  padding: 8px 4px;
  text-align: center;
  vertical-align: middle;
}

.hours thead th, 
.hours tbody th {
  background-color: #4d9bc1;
  color: #fff;
  font-weight: bold;
}

.col-title { width: 16%; }
.col-time  { width: 18%; }
.col-day   { width: 7%;  }
.col-note  { width: 17%; }

.hours tbody th span.reserve {
  display: inline-block;
  background-color: #fff;
  color: #e67e22;
  border-radius: 4px;
  padding: 1px 4px;
  font-size: 0.75em;
  margin-top: 4px;
  font-weight: bold;
}

.note-cell {
  background-color: #e6f1f6;
  font-size: 0.85em;
  color: #333;
  line-height: 1.4;
  padding: 10px 8px;
  text-align: left;
}

@media screen and (max-width: 640px) {
  .clinic-hours .wrapper {
    width: 100%;
    display: block;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
  }
  .hours {
    font-size: 13px;
  }
  .hours th, .hours td {
    padding: 6px 2px;
  }
}

/*inside*/
.inside .wrapper {
  margin:0 auto;
  width:980px;
}

.inside ul li {
  display: inline-block;
  width: 316px;
  margin-right: 10px;
  margin-bottom: 20px;
}
.inside ul li img {
  width: 100%;
  border-radius: 5px;
}
.inside li:nth-child(3n) {
  margin-right: 0;
}
.content-section p {
  font-weight:100;
  line-height:1.8;
  margin-bottom:0;
/*  color:rgba(64,64,64,.7);*/
/*	font-family: serif;*/
  text-align:left;
}
section {
  margin-bottom: 0;
}
@media (max-width: 1199px) {
  .feature-list .feature i {
    font-size:28px;
    width:58px;
    height:58px;
    -webkit-border-radius: 58px;
    -moz-border-radius: 58px;
    border-radius: 58px;
    text-indent:15px;
    padding-top:15px;
  }
  .feature-list .feature {
    display:inline-block;
    float:left;
  }
  .feature-list .feature .content {
    max-width:205px;
  }
  .care .wrapper {
    width:970px;	
  } 

}

@media (max-width: 780px) {
  .slider .container {
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
  .content-section p {
	font-size:1em;
  }
  .care li.owl {
    padding-top: 0;
  }
  .content-section.fixed p {
    display: none;
  }
  .content-section.front {
    font-family: serif;
    padding: 20px 0;
    background: none;
  }
  .content-section.front p {
    padding-left: 0; 
  }
  .feature-list {
    margin-bottom: 20px;
  }
  .feature-list .feature p.box {
    width: 100%;
    height: 170px;
    overflow: scroll;
  }
  .feature-list .feature {
    position:relative;
    margin:0 0 25px 0;
    padding:0;
    width:100%;
  }
  .feature-list .feature i {
    font-size:32px;
    width:78px;
    height:78px;
    text-indent:23px;
    padding-top:23px;
    background:#fff;
    border:1px solid #ececec;
    color:#6ebff3;
    float:left;
    -webkit-border-radius: 78px;
    -moz-border-radius: 78px;
    border-radius: 78px;
    float:none;
    clear:both;
    position:relative;
    display:block;
    left:50%;
    margin:15px 0 15px -39px;
  }
  .feature-list .feature .content h4 {
    text-align:center;
  }
  .feature-list .feature .content {
    display:block;
    width:100%;
    max-width:100%;
  }
  .feature-list .feature .content p,
  .feature-list .feature .content h4 {
/*    max-width:90%;*/
  }
  .feature-list .feature p.more {
    text-align: center;
    font-size: 1em;
    border:1px solid #bbb;
    margin-top: 1em;
    padding: .5em;
    border-radius: .5em;
  }
  .feature-list .feature .content {
    margin-left: 0;
  }
  .feature-list .feature i.fa-angle-double-right { 
    display: none;
  }
  section .content-section.blur {
    margin-bottom: 0;
  }
  .front li.sp {
    display: block;
  }
  .front li.pc {
    display: none;
  }
  .care .wrapper {
    width:100%;
    margin-bottom: 10px;
  }
  .care li {
    display: block;
    padding: 10px;
    width: 100%;
    height: auto;
    margin-right: 0;
    margin-bottom: 1em;
  }
  .inside .wrapper {
    margin:0 auto;
    width:100%;
  }
  .inside ul li {
    display: block;
    width: 100%;
    margin-right: 0;
    margin-bottom: 1em;
  }

}

/*top slider height*/
.bx-viewport {
  height: 300px!important;
}
@media (max-width: 780px) {
  .bx-viewport {
    height: 100px!important;
  }
}