@charset "utf-8";
/* CSS Document */

.box{
    width: 100%;
    height: auto;
    padding-top: 137px;
}

.box-1{
    width: 100%;
    height: auto;
}
@media screen and (max-width:960px){
    .box{
        padding-top: 98px;
    }
}
@media screen and (max-width:520px){
    .box{
        padding-top: 87px;
    }
}
@media screen and (max-width:480px){
    .box{
        padding-top: 80px;
    }
}
@media screen and (max-width:375px){
    .box{
        padding-top: 70px;
    }
}
/*ページ見出し*/
.title{
    width: 100%;
    height: auto;
    margin: 0 auto;
    text-align: center;
    padding-top: 60px;
    padding-bottom: 55px;
    background-image: url("image/background-midashi.webp");
    background-position: center;
/*    background-repeat: no-repeat;*/
    object-fit: cover;
    background-size:cover;
}
.title h1{
    position: relative;
    display: inline-block;
    margin-bottom: 1em;
    font-size: 35px;
    letter-spacing: 0.08em;
}
.title h1:before {
    content: '';
    position: absolute;
    bottom: -20px;
    display: inline-block;
    width: 60px;
    height: 5px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    background-color: #14B8DC;
    border-radius: 2px;
}
.title span{
	display:inline-block;
}
@media screen and (max-width:640px){
    .title h1{
        font-size: 30px;
    }
}
@media screen and (max-width:520px){
    .title{
        padding-top: 30px;
        padding-bottom: 25px;
    }
    .title h1{
        font-size: 22px;
    }
    .title h1:before{
        width: 50px;
        bottom: -20px;
    }
}

/*ページ見出し終わり*/

.content{
    padding-bottom: 100px;
}
/*写真・画像*/
.content-1_1 img{
    display: block;
    width: 100%;
    height: auto;
    background-color: #f2f2f2;
}

.content-1_1 p a{
    color: #14B8DC;
    font-weight: bold;
}
.content-1_1 p a:hover{
    opacity: 0.7;
}
.content-1_1 p a i{
    margin-right: 3px;
}
@media screen and (max-width:768px){
    .content-1:first-child{
        padding-top: 0;
    }
}
@media screen and (max-width:520px){
    .content-1_1 p{
        font-size: 15px;
    }
}
@media screen and (max-width:375px){
    .content-1{
        padding-top: 30px;
    }
}


/*患者様の声*/
.voice1 {
	background-color:#fff;
	padding:15px 30px;
	border-radius:10px;
	margin:10px 0;
	box-shadow: 2px 2px 5px #cdcdcd;
	border:solid 1px#14B8DC;
}
.voice1 p{
	display:block;
	margin:0;
	border-bottom:dotted 3px #14B8DC;
	padding:5px;
	font-weight:bold;
}
.voice1-bottom{
	padding-top:20px;
	display:flex;
	justify-content:space-between;
}
.voice-img{
	width:35%;
}
.voice-img img{
	width:100%;
	display:block;
	margin-bottom:10px;
}
.sheet{
	border:solid 1px #adadad;
}
.voice1-bottom-text{
	padding-left:0;
	width:63%;
}
.voice1-bottom-text a{
	color:#000;
	font-weight:bold;
}
.voice1-bottom-text a:hover{
	color:#14B8DC;
}
.voice1-bottom-text ul{
	padding-left:0px;
	margin:0;
}
.voice1-bottom-text ul li{
	color:#14B8DC;;
	font-weight:bold;
	font-size:17px;
	margin-bottom:17px;
	list-style:none;
	margin-right:30px;
}
.voice1-bottom-text ul .voice-q{
	color:#14B8DC;;
	font-weight:bold;
	font-size:17px;
	margin-bottom:5px 0 0 0;
	list-style:none;
	display:flex;
}
.voice1-bottom-text ul .voice-q::before{
	content:"●";
	margin-right:3px;
	margin-top:5px;
	font-size:10px;
}
.voice1-bottom-text .voice-a{
	color:#000;
	font-weight:normal;
	display:block;
	padding:0 0 5px 0;
	margin:0 0 0 13px;
	font-size:16px;
}
@media(max-width:768px){
.voice1-bottom{
	padding-top:20px;
	display:flex;
	justify-content:space-between;
	flex-direction:column;
}	
.voice-img{
	width:100%;
	display:flex;
	justify-content: space-between;
	flex-wrap:wrap;
}
.voice-img a{
	width:49%;
	display:block;
}
.voice1-bottom-text{
	width:100%;
}
}
@media(max-width:520px){
.voice-img a{
	width:100%;
	display:block;
}
.voice1-bottom-text ul li{
	margin-bottom:10px;
	margin-right:0px;
}
.voice1-bottom-text ul .voice-q{
	font-size:16px;
}
.voice1-bottom-text .voice-a{
	color:#000;
	font-weight:normal;
	font-size:15px;
	display:block;
	padding:0 0 5px 0;
	margin:0 0 0 13px;
}
}
/*リンク位置調整*/
.jump-adjust{
	padding-top:150px;
	margin-top:-150px;
}
.voice-btn {
	margin-top:15px;
	margin-bottom:35px;
}
.voice-btn ul{
	padding-left:0;
	display:flex;
	justify-content:space-between;
	flex-wrap:wrap;
}
.voice-btn ul li{
	width:16%;
	margin-bottom:5px;
}
.voice-btn ul li a{
	/*border:solid 2px #95CDD9;*/
	width:100%;
	display:block;
	padding:10px 0;
	box-sizing: border-box;
	border-radius:5px;
	color:#000;
	background-color:#A1E2F1;
	border-bottom:solid 2px #adadad;
	font-weight:bold;
}
.voice-btn ul li a:hover{
	opacity:0.8;
}
.voice-btn-empty{
	content:"";
	display:block;
	width:19%;
	margin-bottom:5px;
}
@media(max-width:480px){
.voice-btn ul li{
	width:32%;
	margin-bottom:5px;
}
.voice-btn ul li a{
	padding:7px 0;
	font-size:15px;
}
.voice-btn-empty{
	content:"";
	display:block;
	width:32%;
	margin-bottom:5px;
}
}



/* 患者様の声：もっと見る機能 */
.patient-voices-list {
  position: relative;
}

/* 折りたたみ時は、6件目以降を非表示にする */
.patient-voices-list.is-collapsed .patient-voices-extra-card {
  display: none;
}

/* 5件目だけを途中まで表示する */
.patient-voices-list.is-collapsed .patient-voices-preview-card {
  position: relative;
  display: block;
  max-height: var(--patient-voices-preview-height, 260px);
  overflow: hidden;
}

/* 5件目の下側を白いグラデーションで薄くする */
.patient-voices-list.is-collapsed .patient-voices-preview-card::after {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  height: 155px;
  content: "";
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.82) 48%,
    #fff 100%
  );
}

/* 「残りの患者様の声を見る」ボタン */
.patient-voices-toggle {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(280px, calc(100% - 32px));
  min-height: 54px;
  margin: -53px auto 22px;
  padding: 10px 20px;
  color: #087d98;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.96);
  border: 2px solid #14B8DC;
  border-radius: 999px;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.16);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.patient-voices-toggle:hover,
.patient-voices-toggle:focus-visible {
  color: #fff;
  background: #14B8DC;
  outline: none;
}

.patient-voices-toggle:hover {
  transform: translateY(-2px);
}

/* 下向き矢印 */
.patient-voices-toggle__icon {
  display: inline-block;
  width: 11px;
  height: 11px;
  margin: -4px 0 0 9px;
  border-right: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(45deg);
}

/* スマートフォン用 */
@media screen and (max-width: 520px) {
  .patient-voices-list.is-collapsed .patient-voices-preview-card {
    max-height: var(--patient-voices-preview-height-mobile, 235px);
  }

  .patient-voices-list.is-collapsed .patient-voices-preview-card::after {
    height: 145px;
  }

  .patient-voices-toggle {
    width: min(260px, calc(100% - 24px));
    min-height: 50px;
    margin-top: -48px;
    font-size: 15px;
  }
}