@charset "utf-8";

/* home.css
 * おまかせプラン ver.7 - v1.0.0
 * 2022-09-01
 * **************************************************
 * Search
 * News Links
 * like This（at a time like this）
 * Recommend
 * Loop img
 * **************************************************
 */


/* News links
------------------------------------------------------------------- */

.news-list {
  width:70%;
}
.news-links{
	margin:50px 20px 30px;
}

.news-links__inner {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width:1260px;
}
.news-links h2{
  position:relative;
  display:flex;
  align-items:center;
	border-bottom:3px solid #66a3cc;
	padding-bottom:10px;
}

.news-links h2:after{
	position:absolute;
	content:'';
	bottom:0;
	right:0;
	width:402px;
	height:130px;
	background:url(../images/home/news-img.svg)no-repeat bottom center/100%;
	
}

.news-list h2 img{
	max-width:166px;
}
.news-links h2 span{
  width:100%;
}
/* News */
.news-list__header {
  overflow: hidden;
  position: relative;
}

.news-list--link a{
  height:auto;
  display:inline-block;
  position:absolute;
  left:200px;
  bottom:25px;
  padding:3px;
  color:#66a3cc;
	font-weight:bold;
  text-decoration: none;
  font-size:1.6em;
  text-align:center;
  transition: 0.1s;
  background:url(../images/common/arrow.svg)no-repeat left center/20px;;
  padding-left:25px;}


.news-list--link a:hover{
	text-decoration:underline;
}
.news-list--link span{
  position:relative;}

.news-list__inner {
  z-index: 1;
  position: relative;
  padding-top:10px;
  height: 35em;
  overflow-y: scroll;
}
.news-list li {
  display: flex;
  font-size: 1.6em;
  line-height: 1.4;
  padding:14px 0 16px;
  border-bottom:1px dashed #cccccc;
}
.news-list li + li {
  margin-top: 10px;
}

.news-list__inner dl{
  display:flex;
}

.news-list__inner dt{
  display:flex;

}

/* links */
.links {
  margin-left: 50px;
  max-width:340px;
  width:100%;
}
.links .links_list{
}
.links .links_list li + li,
.links .links_list li:first-child{
margin-bottom:10px;
}

.links .links_list li:hover{
  transform: translateY(0.2em);
}

.links .links_list li img{
  width:100%;
}

/* Like This（at a time like this）
------------------------------------------------------------------- */
.like-this {
	padding:150px 0 180px;
  margin:0px auto 0;
  font-weight: bold;
	background:#fff;
	position:relative;
}
.like-this::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 120px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C240,100 480,20 720,30 960,40 1200,90 1440,60 L1440,0 L0,0 Z' fill='%23f3f8fa'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
}

.like-this::after {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(16px, 20vw, 450px);
  width:258px;
  height:120px;
  background:url(../images/home/icon-construction01.svg)no-repeat center center/contain;
}


.like-this__inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding:0;
  max-width: 1300px;
}
.like-this__btn {
  min-height: 13.5em;
}
@media screen and (max-width: 1280px) {
  .like-this__inner {
      margin: 0 20px;
  }
}
.like-this h2 {
  margin-bottom: 50px;
	text-align:center;
  font-size: 3.2em;
  letter-spacing:0.3em;
　padding-left: 0.15em;
	font-weight:bold;
  color: #66a3cc;
  line-height: 1.2;
}
.like-this__filter dl {
  display: flex;
  align-items:center;
	justify-content:center;
  margin: 5px 0 20px 0px;
}
.like-this__filter dd {
  width: 215px;
  padding:10px 10px;
  font-size: 1.6em;
  text-align: center;
  cursor: pointer;
  background-color: #f3f8fa;
  color: #66a3cc;
  border-bottom:none;
  transition: 0.3s;
}
.like-this__filter dd:hover,
.like-this__filter dd.active {
  background-color: #66a3cc;
  color: #fff;
	position:relative;
}

.like-this__filter dd + dd {
  margin-left:1px;
}
.like-this__filter dd:first-child{
	border-radius:100px 0 0 100px;
}
.like-this__filter dd:last-child{
	border-radius:0 100px 100px 0;
}

/* Recommend
------------------------------------------------------------------- */
.recommend {
  padding:30px 20px 50px;
  font-weight: bold;
  position:relative;
}
.recommend::before {
  content: "";
  position: absolute;
  top:-120px;
  left: 0;
  width: 100%;
  height: 120px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C240,100 480,20 720,30 960,40 1200,90 1440,60 L1440,0 L0,0 Z' fill='%23f3f8fa'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  transform: scaleY(-1);
}

.recommend::after {
  content: "";
  position: absolute;
  top: -110px;
  margin:auto;
  left:0;
  right:0;
  width:858px;
  height:84px;
  background:url(../images/home/icon-construction02.svg)no-repeat center center/contain;
}
.recommend h2 {
  display: block;
  margin: 0 auto;
  font-size: 2.8em;
  letter-spacing:0.3em;
　padding-left: 0.15em;
  font-weight: bold;
  color: #66a3cc;
  text-align: center;
  line-height: 1.2;
  white-space: nowrap;
}

.recommend  ul {
	padding:40px 40px 0;
	max-width: 1270px;
	width:100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;

  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  margin: auto;
	position:relative;
}

.recommend li {
	width: 32.0%;
}
.recommend li + li {
	margin-right: 2.0%;
	margin-bottom: 1.5%;
}
.recommend li:first-child {
	margin-right: 2.0%;
	margin-bottom: 1.5%;
}
.recommend li:nth-child(3n) {
	margin-right: 0;
}
.recommend li:nth-child(n + 3) {
	margin-bottom: 0;
}
.recommend a {
	display: table-cell;
	padding: 0 100px 0 20px;
	height: 100px;
	width: 32.0%;
	border-radius: 15px;
	font-size: 1.6em;
	font-weight: bold;
	color: #4190c2;
	text-decoration: none; 
	line-height: 1.3;
	vertical-align: middle;
	border:1px solid #bed7e9;
	background:#ffffff no-repeat center right 15px/80px;
	position:relative;
  transition: 0.3s;
  -webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.2);
          box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.1);
}
.recommend a:hover {
	background-color:#f3f8fa;
}
.recommend li a:hover {
  -webkit-box-shadow: 0 0 5px rgb(0 127 137 / 25%);
  box-shadow: 0 0 5px rgb(0 127 137 / 25%);
  transform: scale(1.05);
}
.recommend span {
	display: block;
	font-size: 78%;
}
/*  Illust（Mini Content） */
/* 接骨院にかかるとき */
.recommend li.osteopathic a {
	background-image:url(../images/home/recommend-osteopathic.svg);
}
/* ジェネリック医療の活用 */
.recommend li.generic a {
	background-image:url(../images/home/recommend-generic.svg);
}
/* 自動車事故にあったとき */
.recommend li.accident a {
	background-image:url(../images/home/recommend-accident.svg);
}
/* 時間外受診編 */
.recommend li.off-hours a {
	background-image:url(../images/home/recommend-off-hours.svg);
}
/* はしご受診編 */
.recommend li.ladder a {
	background-image:url(../images/home/recommend-ladder.svg);
}
/* かかりつけ受診編 */
.recommend li.doctor a {
	background-image:url(../images/home/recommend-doctor.svg);
}

@media screen and (max-width: 767px) {
	
 /*search
-------------------------------------------------------------------
#home .header__search{
	display:block!important;
	margin:-1px auto 0;
	background:#830051;
	padding:25px 10px 25px;
}
#home .header__search .search__inner {
	margin: 0 auto;
    width: auto;
    text-align: center;
  }
#home .header__search form {
	display:block!important;
	width:auto;
	height:auto;
}

	
 #home .header__search input[type="text"] {
    display:inline-block;
    font-size: 1.5em;
	 margin-right:5px;
	border:1px solid #dfdfdf;
	 border-radius:100vw;
	 padding:10px;
	 width:60%;
	 height:30px;
	 
  }

#home .header__search input[type="submit"] {
  display:inline-block;
	margin-top:0;
  top:0;
  right:0;
	height:30px;
  width:90px;
  aspect-ratio:inherit;
  background-image:none;
  background: #f0ab00;
  -webkit-border-radius: 100vh;
  border-radius: 100vh;
  border: none;
  font-size: 1.6em;
  font-family: 'Trebuchet MS', "ヒラギノ丸ゴ ProN W4","ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic ProN","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO", Meiryo, Arial, sans-serif;
  font-weight: bold;
  color: #fff;
  text-indent:0!important;
  position:relative;
  padding: 2px 2px;
  border:1px solid #fff!important;
} */
	

  /* News links
  ------------------------------------------------------------------- */

.news-links{
	display:block;
	margin:0px;
	padding:0;
}
	
  .news-links__inner {
	width:100%;
    display: block;
    justify-content: flex-start;
    margin: 0;
    padding:0px 0 0 0;
    max-width: none;
  }

	
  /* News */
  .news-list {
    width: 100%;
	  padding:0px;
  }
	
  .news-list__header {
    padding:10px 0 0;
	margin:0;
  }



.news-list h2{
  min-height:auto;
}
.news-list h2 span{
	font-size:2.0em;
	
}

.news-list h2 img{
	max-width:130px;
	margin:40px 10px 0;
}

.news-links h2:after{
	position:absolute;
	content:'';
	bottom:0;
	right:5px;
	width:240px;
	height:78px;
	background:url(../images/home/news-img.svg)no-repeat bottom center/100%;
	
}
	
.news-list--link a{
  left:auto;
  right:10px;
  bottom:55px;}

.news-list__inner {
  padding:0;
  margin:0;
}
	
.news-list li {
	 margin:0;
    display: block;
    font-size: 1.6em;
    padding: 0px 20px 10px 15px;
}
  .news-list li:nth-child(1){
	  padding-top:15px;
  }
	
  .news-list li + li {
  }
.news-list__inner dl{
	display:block;
}
.news-list li a:after{
	display:none;
}
	
.news-list__inner dl dd{
	margin-top:5px;
	padding:0;
}
	
  .news-list--cat > span {
    margin-right: 12px;
    padding: 2px 6px;
  }
	
  .news-list--date {
    margin-right: 0;
  }
  .news-list--date::after {
    content: "\A";
    white-space: pre;
  }

.news-list__inner{
  height: 27.8em;
}
	
/* like-links
------------------------------------------------------------------- */
	
  /* links */
  .links {
	  padding:20px 15px 0px;
    width: auto;
	  max-width:100%;
	  margin:0 auto;
  }
.links_list{
	margin-top:0!important;
	display:flex;
	justify-content:space-between;
	flex-wrap:wrap;
	align-items:stretch;
}
	
.links_list li{
	width:48%;
}
.links_list li:nth-child(1){
	}

.links_list li:nth-child(odd){
		margin-right:2%;}
	
.links_list li + li{
	}
.links_list li img{
		vertical-align:top!important;
	}
	

  /* like This（at a time like this）
  ------------------------------------------------------------------- */

.like-this {
  padding:90px 0 120px;
  margin:0 0 0px;
  background:#fff;
}
.like-this::before {
  height: 120px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C240,48 480,48 720,60 960,72 1200,48 1440,60 L1440,0 L0,0 Z' fill='%23f3f8fa'/%3E%3C/svg%3E");
}

.like-this::after {
  content: "";
  position: absolute;
  top: 5px;
  left:40px;
  width:160px;
  height:74px;
  background:url(../images/home/icon-construction01.svg)no-repeat center center/contain;
}




.like-this h2 {
  margin-bottom: 20px;
  font-size: 3em;
}

	
.like-this__title{
  border-radius:30px 30px 0 0;
  background:url(../images/common/blue-plaid.svg)no-repeat center top/cover;
}
  .like-this__inner {
    margin: 0 0;
    max-width: none;
  }
.like-this__filter dl{
	display:flex;
	justify-content:center;
	width:97%;
	margin-bottom:5px;
}
.like-this__filter dd{
	display:flex;
	justify-content:center;
	align-items:center;
	font-size:1.3em;
	line-height:1.2;
	width: auto;
	padding:5px 10px;
}
.like-this__filter dd + dd{
	margin-left:1%;
}


.recommend {
  padding:0px 15px 0;
}
.recommend::before {
  content: "";  height: 120px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C240,48 480,48 720,60 960,72 1200,48 1440,60 L1440,0 L0,0 Z' fill='%23f3f8fa'/%3E%3C/svg%3E");

}

.recommend::after {
  top: -104px;
  width:85%;
  height:76px;
  background:url(../images/home/icon-construction02-sp.svg)no-repeat center center/contain;
}

	
#home .recommend h2{
margin:0 auto 20px;
	font-size:2.2em;
text-align:center;}
	
#home .recommend ul {
	justify-content:space-between;
	padding:0;
}
	
#home .recommend ul li{
	width:48%;
	display:flex;
	justify-content:center;
}
#home .recommend ul li:first-child{
	margin-top:10px!important;
	margin-right:0!important;
}

#home .recommend ul li + li{
	margin-right:0!important;
	margin-top:10px;
}
.recommend li:nth-child(n + 3) {
	margin-bottom:5px;
}

.recommend a {
	display:flex;
	align-items:center;
	flex-wrap:wrap;
	padding: 5px 40px 5px 20px;
	height: 90px;
	width: 100%;
	background:#ffffff no-repeat center right 5px/40px;
	border:2px solid #bed7e9;
  -webkit-box-shadow:none;
          box-shadow:none;
}

.recommend a span{
	
}
	
}
/* 追記：こんなときボタンの並びを5×4に */
.like-this li {
  width: calc(20% - 20px);
}
