@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{
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1520px;
  padding-right:60px;
}
.news-links__inner {
    width:81%;
    max-width:1229px;
}

.links {
  width: 18%;
  max-width: 260px;
}

/* Main Visual */
.mv-wrap {
  width: 100%;
}
.mv-wrap img {
  max-width: 90%;
  height: auto;
  vertical-align:middle;
}
/* News
------------------------------------------------------------------- */
.news{
  margin:30px 0;
  width:53%;}

.news-list{
  width:100%;
  padding-bottom:50px;
}

.news-list__header {
  margin:50px 10% 0 80px;
  position:relative;
}
.news-list h2{
  position:relative;
  font-size:2.8em;
  color:#0079de;
  font-weight:bold;
  padding-bottom:10px;
}

.news-list--link{
  position:absolute;
  display:inline-block;
  right:0;
  top:14px;
  background:#00c4c6;
  color:#fff;
  text-decoration:none;
  font-size:1.5em;
  padding:0px 20px;
  border-radius:100vw;
}

.news-list--link:hover{
  opacity:.8;
}


.news-list__inner {
  z-index: 1;
  position: relative;
  padding: 20px 0px 20px 0px;
  margin:0 10% 0 80px;
}
.news-list li {
  display:block;
  font-size: 1.6em;
  line-height: 1.6;
  border-bottom:1px solid #0079de;
  padding-bottom:1em;
  color:#3a3a3a;
  position:relative;
}

.news-list li dl{
  position:relative;
}
.news-list li a:after{
  position:absolute;
  content:'';
  width:20px;
  height:20px;
  background:url(../images/common/arrow-icon.svg);
  right:10px;
  top:0;
  bottom:0;
  margin:auto;
}
.news-list li a:hover:after{
  opacity:.8;
}

.news-list li + li {
  padding-top:1em;
}

.news-list--date::after{
   content:'\A';
   white-space: pre;}

.news-list__scroll-bar {
  height: 28em;
  overflow-y: scroll;
}
/* Links */
.link-list li+ li {
  margin-top: 10px;
}
.link-list a {
  display: block;
  display: flex;
}
.link-list a:hover {
  opacity: .7;
}
.link-list a> img {
  width: 100%;
  height: auto;
}

/* Like This（at a time like this）
------------------------------------------------------------------- */
.like-this {
}
.like-this__title{
  border-radius:30px 30px 0 0;
  background:url(../images/common/blue-plaid.svg)no-repeat center top/100%;
}

.like-this__inner {
  position: relative;
  z-index: 1;
  margin: 0px auto;
  min-height: 180px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
}
.like-this h2 {
  padding:75px 20px 60px;
  font-size: 2.5em;
  color: #fff;
  font-weight:bold;
  line-height: 1.2;
  text-align:center;
	letter-spacing:0.7em;
}
.like-this__filter dl {
  display: flex;
  margin:0 auto;
	max-width:1420px;
}

.like-this__filter dd {
	margin:0 auto;
  width:calc( 100% / 4 );
  padding:10px 5px;
  background:#f9f6f1;
  font-size: 1.6em;
  text-align: center;
  cursor: pointer;
	color:#333;
	font-weight:bold;
}
.like-this__filter dd:hover,
.like-this__filter dd.active {
  position:relative;
  background-color: #00c4c6;
  color: #fff;
}

.like-this__filter dd:hover::after,
.like-this__filter dd.active::after{
	position:absolute;
	content:'';
	bottom:-10px;
	left:0;
	right:0;
	margin:auto;
	width: 0;
	height: 0;
	border-left:10px solid transparent;
	border-right:10px solid transparent;
	border-top:10px solid #00c4c6;
}

.like-this__filter dd + dd {
	border-left:1px solid #fff;
}
.like-this__btn__all {
	background:#fff;
}

.like-this__btn {
  clear: both;
  display: flex;
	justify-content:center;
  flex-flow: row wrap;align-items: stretch;
   max-width: 1380px;
	margin:0 auto;
  padding:30px 0px 50px 20px;
	background:#fff;
}
.like-this__btn li {
  position: relative;
  width: -webkit-calc(20% - 20px);
  width: calc(20% - 60px);
  background-color: #fff;
  -webkit-border-radius: 15px;
  border-radius: 15px;
  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);
}
.like-this__btn > li.animate {
  animation: like-this-btn 0.6s;
}
@keyframes like-this-btn {
  0% {
   transform: scale(0.1);
  }
  100% {
   transform: none;
  }
}
.like-this li:first-child,
.like-this li + li {
  margin: 30px 20px 0 0;
}

.like-this li:nth-child(5n) {
}

.like-this li: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);
}
.like-this li a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding:90px 5px 10px;
  min-height: 160px;
  height:100%;
  font-size: 1.4em;
  color: #333333;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
  background:no-repeat center 16px / 100px;
	position:relative;
	z-index:1;
	border:1px solid #dddddd;
	border-radius:15px;
	font-weight:bold;
}
.like-this li a:before{
	position:absolute;
	content:'';
	width:50px;
	height:10px;
	background:#00c4c6;
	border-radius:100vw;
	top:-5px;
}

.like-this li a:hover{
	border:1px solid #0079de;
	color:#0079de;
}
.like-this li a:hover:before{
	background:#0079de;
}

/* Recommend
------------------------------------------------------------------- */
.recommend {
  padding:50px 20px 50px;
  font-weight: bold;
  background-color: #f9f6f1;
}
.recommend h2 {
  display: block;
  margin: 0 auto;
  width: 8.0em;
  font-size: 2.8em;
  font-weight: bold;
  color: #0079de;
  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 90px 0 40px;
	height: 72px;
	width: 32.0%;
	border-radius: 50px;
	font-size: 1.5em;
	font-weight: bold;
	color: #0079de;
	text-decoration: none; 
	line-height: 1.3;
	vertical-align: middle;
	border:1px solid #0079de;
	background:#ffffff no-repeat center right 15px/74px;
	position:relative;
}
.recommend a:hover {
  opacity: .8;
}
.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);
}

/* Loop img
------------------------------------------------------------------- */
.loop-img {
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: 90px;
}
.loop-img__inner {
  display: flex;
}
.loop-img__inner > div {
  display: flex;
  /*animation: loop-img 50s infinite linear 1s both;*/  
}
@keyframes loop-img {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.loop-img__inner > div > div {
  width: calc(100vw/4);
}
.loop-img img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 767px) {
  /* Main Visual
  ------------------------------------------------------------------- */

.mv-wrap img {
  max-width: 100%;
}
  
 /*search
------------------------------------------------------------------- */
#home .header__search{
	display:block!important;
	margin:-1px auto 0;
	padding:0;
	background:#faefdc;
	padding:25px 10px 30px;
}
#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;
  font-size: 1.6em;
  aspect-ratio:inherit;
  background-image:none;
  background: #333333;
  -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;
}

  /* 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-links h2 {
	  padding-bottom:0!important;
	  font-size:2.5em;
  }

  .news-links h2 span{
  letter-spacing:2px;}

	
.news-list--link{
  right:10px;
  top:20px;
}


	
  /* News */
  .news-list {
    width: 100%;
	  background:#fff;
	  padding-bottom:30px;
  }
  .news-list__header {
    padding:10px;
	margin:0;
  }
  .news-list__inner {
	  border-top:1px solid #f1f1f1;
  }

.news-list__inner {
  padding:0;
  margin:0;
  height: 31em;
}
	
  .news-list li {
    display: block;
    font-size: 1.6em;
    padding: 0px 20px 15px 15px;
  }

  .news-list li:nth-child(1){
	  padding-top:1.2em;
	  border-top:1px solid #0079de;
  }
	
  .news-list li + li {
    margin-top:0.5em;
  }


.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__scroll-bar {
  height: 32em;
}
	

  /* links */
  .links {
	  padding:0 15px;
    width: auto;
	  max-width:100%;
	  background:#fff;
  }
.link-list{
	margin-top:0!important;
	display:flex;
	justify-content:center;
	flex-wrap:wrap;
	align-items:stretch;
	padding-bottom:30px;
}
	
.link-list li{
	border:1px solid #e0e0e0;
	width:48%;
}
	.link-list li:nth-child(1){
		margin-top:10px;
	}

	.link-list li:nth-child(odd){
		margin-right:2%;}
	
	.link-list li + li{
		margin-top:10px;
	}
	

  /* like This（at a time like this）
  ------------------------------------------------------------------- */

.like-this {
  padding: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;
    padding: 20px 0px;
    max-width: none;
  }
  .like-this h2 {
    float: none;
    margin-bottom: 0;
    font-size: 2.6em;
    text-align: center;
	padding:20px;
  }
.like-this__filter dl{
	width:90%;
}
.like-this__filter dd{
	display:flex;
	justify-content:center;
	align-items:center;
	font-size:1.4em;
	line-height:1.2;
}
 /* Recommend
  ------------------------------------------------------------------- */
  .recommend {
	padding:30px 30px!important;
  }
  .recommend h2 {
    font-size: 2.3em;
  }
  .recommend ul {
    display: block;
    flex-flow: row wrap;
	padding:25px 0 0px;
    margin: 0px 0 0 0;
    width: auto;
  }
  .recommend li {
    width:100%;
    margin-bottom:20px!important;
  }
  .recommend li a {
    font-size: 1.8em;
    letter-spacing: 0.03em;
  }
  .recommend li span {
	display:block;
    font-size: 75%;
  }
}