@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-links{
	margin:0 20px;
}

.news-links__inner {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width:1260px;
}
.news-links h2{
  position:relative;
  padding-left:90px;
  min-height:117px;
  display:flex;
  align-items:center;
}

.news-links h2 span{
  width:100%;
  font-size: 2.8em;
  color: #830051;
  line-height: 1.2;
  font-family: 'Trebuchet MS', "ヒラギノ丸ゴ ProN W4","ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic ProN","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO", Meiryo, Arial, sans-serif;
  font-weight:bold;
  letter-spacing:7px;
	padding-left:20px;
}
.news-links h2::before{
  position:absolute;
  left:0px;
  top:30;
  display: block;
  content: '';
  background:url(../images/common/h2-icon.svg)no-repeat center/contain;
  width:84px;
  height:104px;}
/* News */
.news-list {
  width:80%;
}
.news-list__header {
  overflow: hidden;
  position: relative;
}
.news-list--link a{
  width:110px;
  height:auto;
  display:inline-block;
  position:absolute;
  right:0;
  bottom:40px;
  padding:3px;
  background:#830051;
  color:#fff;
  text-decoration: none;
  font-size:1.4em;
  text-align:center;
  transition: 0.1s;}

.news-list--link a:hover{
}
.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:0px 0 10px;
  border-bottom:1px solid #ededed;
}
.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:260px;
  width:100%;
}
.links .links_list{
  margin-top:50px;
}
.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-links
------------------------------------------------------------------- */
.likerecommend-links{
  display: flex;
  justify-content: space-between;
  margin: 50px auto 0;
  padding:0 20px 50px;
  max-width:1370px;
}

.likerecommend{
	width:77%;
}

.links{
	width:19.55%;
}


/* Links */
.link-list li+ li {
  margin-top: 10px;
}
.link-list a {
  display: block;
  display: flex;
  transition: 0.3s;
}
.link-list a:hover {
  -webkit-box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.2);
  box-shadow: 1px 1px 5px 0px rgba(0,0,0,0.2);
  transform: scale(1.05);
}
.link-list a> img {
  width: 100%;
  height: auto;
}

/* Like This（at a time like this）
------------------------------------------------------------------- */
.like-this {
  margin:50px auto;
  font-weight: bold;
}
.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 {
  float: left;
  margin-bottom: 20px;
  font-size: 3.2em;
  color: #000;
  line-height: 1.2;
}
.like-this__filter dl {
  display: flex;
  align-items:center;
  margin: 5px 0 0 0px;
}
.like-this__filter dd {
  width: 215px;
  padding:20px 10px;
  font-size: 1.6em;
  text-align: center;
  cursor: pointer;
  background-color: #fff;
  color: #830051;
  border:1px solid #830051;
  border-bottom:none;
  border-radius:10px 10px 0 0 ;
  transition: 0.3s;
}
.like-this__filter dd:hover,
.like-this__filter dd.active {
  background-color: #830051;
  color: #fff;
	position:relative;
}

.like-this__filter dd + dd {
  margin-left:15px;
}

/* Recommend
------------------------------------------------------------------- */
.recommend {
  padding:50px 20px 50px;
  font-weight: bold;
  background:#fff url(../images/home/recommend-back.png);
}
.recommend h2 {
  display: block;
  margin: 0 auto;
  width: 8.0em;
  font-size: 2.8em;
  font-weight: bold;
  color: #830051;
  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 20px 0 100px;
	height: 72px;
	width: 32.0%;
	border-radius: 50px;
	font-size: 1.5em;
	font-weight: bold;
	color: #000;
	text-decoration: none; 
	line-height: 1.3;
	vertical-align: middle;
	border:1px solid #830051;
	background:#ffffff no-repeat center left 15px/74px;
	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.2);
}
.recommend a:hover {
	background-color:#fbe7ee;
	color:#830051;
}
.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 10px 0;
	margin:0;
  border-bottom:1px solid #ebcdcd;
  }



.news-list h2{
	padding:20px 10px 20px 30px!important;
  min-height:auto;
}
.news-list h2 span{
	font-size:2.0em;
	
}
.news-links h2::before{
  top:0;
  bottom:0;
	margin:auto;
  width:42px;
  height:52px;}
	
	

.news-list__inner {
  padding:0;
  margin:0;
}
	
.news-list li {
	 margin:0;
    display: block;
    font-size: 1.6em;
    padding: 0px 20px 10px 15px;
  border-bottom:1px solid #ebcdcd;
}
  .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.4345678em;
}
.news-list--link{
	padding:20px;
	text-align:center;
}

.news-list--link a{
  min-width:150px;
	margin:0 auto;
  height:auto;
  display:block;
  position:relative;
  right:auto;
  bottom:auto;
  color:#fff;
  font-size:1.4em;
  transition: 0.1s;}

/* like-links
------------------------------------------------------------------- */
	
  /* links */
  .links {
	  padding:30px 15px 20px;
    width: auto;
	  max-width:100%;
	  margin:0 auto;
	  background:#fff;
	  border-bottom:1px solid #edd0d0;
  }
.links_list{
	margin-top:0!important;
	display:flex;
	justify-content:space-between;
	flex-wrap:wrap;
	align-items:stretch;
}
	
.links_list li{
	width:48%;
	border:1px solid #cccccc;
}
.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:20px 0 0;
  margin:0;
  background:#fff;
}
	
.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%;
}
.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:30px 15px;
}
#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;
}

#home .recommend a {
	display:block;
	text-align:center;
	padding:70px 10px 20px 10px;
	height:auto;
	width:100%;
	background-position:center 10px;
	background-size:70px;
	border-radius:15px;
}
}