@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;
  padding:0 20px;
  max-width:1300px;
}
.news-links__inner {
  /*width:74.604%;
  max-width:940px;*/
	width:100%;
}

.links {
  z-index:1;
  width: 23%;
  max-width: 260px;
  background:#fff;
}

/* Main Visual */
.mv-wrap {
	position:relative;
  overflow:hidden;
  margin:0 auto;
  position:relative;
	border-radius:0.5vw;
}


.mv-wrap div{
  /*max-height:380px;*/
	max-height:512px;}

.photo01 {
  animation: slideIn01 7s 1;
}
.photo01 img {
  width: 138.9%;
  height: auto;
  object-position:-220px center;
	/*object-position:-185px center;*/
	vertical-align:middle;
}

@media screen and (max-width: 1330px) {
/*.mv-wrap div{
  max-height:350px;}*/
	
}

.photo02 {
  position: absolute;
  top:0;
  right:0;
	margin:auto;
	z-index:-1;
  animation: slideIn02 7s 1;
}

.photo02 img {
  position:relative;
  width: 138.9%;
  height: auto;
  /*max-height:380px;*/
	max-height:512px;
  right:220px;
}

@keyframes slideIn01 {
  0% {
    transform: translateX(-220px);
  }
  30% {
    transform: translateX(0);
  }
}
@keyframes slideIn02 {  
  0% {
    transform: translateX(220px);
  }
  30% {
    transform: translateX(0);
  }
}

/* News
------------------------------------------------------------------- */

.news-list{
  width:100%;
}

.news-list__header {
  margin:20px 0 0 0px;
  position:relative;
}
.news-list h2{
  position:relative;
  font-size:2.8em;
  color:#33b5e0;
  font-weight:bold;
  padding-bottom:5px;
  padding-left:130px;
}
.news-list h2::before{
	position:absolute;
	width:114px;
	height:26px;
	background:url(../images/home/news-icon.svg);
	content:'';
	top:0;
	bottom:0;
	left:0;
	margin:auto;
	
}

.news-list--link{
  position:absolute;
  display:inline-block;
  right:0;
  top:14px;
  background:#33b5e0;
  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: 0px 0px 20px 0px;
  margin:0 0 0 0;
}
.news-list li {
  display:block;
  font-size: 1.6em;
  line-height: 1.6;
  background:#f4f4f4;
  color:#3a3a3a;
  position:relative;
  margin:10px 0;
  padding:20px;
}

.news-list li dl{
  position:relative;
}
.news-list li a:hover:after{
  opacity:.8;
}

.news-list li + li {
}

.news-list--date::after{
   content:'\A';
   white-space: pre;}

.news-list__scroll-bar {
  height: 38.7em;
  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 .bullet-train img{
	width:100%;
	vertical-align:middle;
}
.like-this h2 {
  position:relative;
  padding:40px 20px;
  font-size: 2.5em;
  color: #33b5e0;
  font-weight:bold;
  line-height: 1.2;
  text-align:center;
	letter-spacing:0.7em;
	background:#e0f2fc;
}
.like-this__filter{
	background:#e0f2fc;
}
.like-this__filter dl {
  display: flex;
  margin:0 auto;
	max-width:1000px;
}
.like-this__filter dd {
	margin:0 auto;
  width:calc( (100% - 4% ) / 4 );
  padding:10px 5px;
  background:#f9f6f1;
  font-size: 1.6em;
  text-align: center;
  cursor: pointer;
  color: #fff;
	font-weight:bold;
	border-radius:1vw 1vw 0 0;
}
.like-this__filter dd#all,
.like-this__filter dd#all:hover,
.like-this__filter dd#all.active {
  background-color: #26b6e0;
}
.like-this__filter dd#card,
.like-this__filter dd#card:hover,
.like-this__filter dd#card.active {
  position:relative;
  background-color: #9bcc61;
}

.like-this__filter dd#medical,
.like-this__filter dd#medical:hover,
.like-this__filter dd#medical.active {
  background-color: #51c5c5;
}
.like-this__filter dd#lifescene,
.like-this__filter dd#lifescene:hover,
.like-this__filter dd#lifescene.active {
  background-color: #ff985e;
}

#like-this__btn__all.all{
	background:#26b6e0;
}
#like-this__btn__all.card {
	background:#9bcc61;
}
#like-this__btn__all.medical {
	background:#51c5c5;
}
#like-this__btn__all.lifescene {
	background:#ff985e;
}

.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;
}
.like-this__btn li {
  width: -webkit-calc(20% - 20px);
  width: calc(20% - 60px);
}

.like-this li:first-child,
.like-this li + li {
  margin: 30px 20px 0 0;
}

.like-this li a {
	border:none;
}
.like-this__btn > li.animate {
  animation: like-this-btn 0.6s;
}
/*@keyframes like-this-btn {
  0% {
   transform: scale(0.1);
  }
  100% {

   transform: none;
  }
}*/



/*  Recommend
------------------------------------------------------------------- */
#home .recommend {
}
#home .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;
}

#home .recommend li {
	width: 32.0%;
}
#home .recommend li + li {
	margin-right: 2.0%;
	margin-bottom: 1.5%;
}
#home .recommend li:first-child {
	margin-right: 2.0%;
	margin-bottom: 1.5%;
}
#home .recommend li:nth-child(3n) {
	margin-right: 0;
}
#home .recommend li:nth-child(n + 3) {
	margin-bottom: 0;
}
#home .recommend a {
	display: table-cell;
	padding: 0 50px 0 20px;
	height: 130px;
	width: 32.0%;
	border-radius: 10px;
	font-size: 1.5em;
	font-family: "Lucida Grande", "segoe UI", "ヒラギノ丸ゴ ProN W4","ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic ProN","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO", Meiryo, Arial, sans-serif;
	font-weight: bold;
	color: #000000;
	text-decoration: none; 
	line-height: 1.3;
	vertical-align: middle;
	background-color:#f4f4f4;
	background-repeat:no-repeat;
	background-position:right 20px center;
	background-size:90px;
}
#home .recommend a:hover {
  opacity: .8;
}
#home .recommend span {
	display: block;
	font-size: 78%;
}
/*  Illust（Mini Content） */

.recommend .osteopathic a{
  background-image: url(../images/home/recommend-osteopathic.svg);
}
.recommend .generic a{
  background-image: url(../images/home/recommend-generic.svg);
}
.recommend .accident a{
  background-image:url(../images/home/recommend-accident.svg);
}
.recommend .off-hours a{
  background-image:url(../images/home/recommend-off-hours.svg);
}
.recommend .ladder a{
  background-image:url(../images/home/recommend-ladder.svg);
}
.recommend .doctor a{
  background-image:url(../images/home/recommend-doctor.svg);
}

@media screen and (max-width: 767px) {
  /* Main Visual
  ------------------------------------------------------------------- */
.mv-wrap {
	border-radius:0;}
	
.mv-wrap div{
  max-height:auto;}

.photo01 img {
  width: 140%;
  height: auto;
	object-position:-88px center;
}
.photo02 img {
  position:relative;
  width: 140%;
  height: auto;
  max-height:auto;
  right:88px;
}

@keyframes slideIn01 {
  0% {
    transform: translateX(-88px);
  }
  30% {
    transform: translateX(0);
  }
}
@keyframes slideIn02 {  
  0% {
    transform: translateX(88px);
  }
  30% {
    transform: translateX(0);
  }
}
 /*search
------------------------------------------------------------------- */
#home .header__search{
	display:block!important;
	margin:-1px auto 0;
	padding:0;
	background:#f4f4f4;
	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;
  font-size: 1.6em;
  aspect-ratio:inherit;
  background-image:none;
  background: #02a3d8;
  -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-list h2::before{
	content:'';
	top:-30px;
}
	
  .news-links h2 {
	  padding:30px 0 0!important;
	  font-size:2.5em;
  }

  .news-links h2 span{
  letter-spacing:2px;}

	
.news-list--link{
  right:20px;
  top:auto;
  bottom:15px;
}


	
  /* News */
  .news-list {
    width: 100%;
	  background:#fff;
	  padding-bottom:30px;
  }
  .news-list__header {
    padding:10px;
	margin:0;
  }
  .news-list__inner {
  }

.news-list__inner {
  padding:0;
  margin:0;
}
	
  .news-list li {
	 margin:0;
    display: block;
    font-size: 1.6em;
    padding: 0px 20px 15px 15px;
  }

  .news-list li:nth-child(even){
	  background:#fff;
  }

  .news-list li:nth-child(1){
	  padding-top:1.2em;
	  border-top:1px solid #d5d5d5;
  }
	
  .news-list li + li {
	  padding-top:1.2em ;
	  border-top:1px solid #d5d5d5;
  }


.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: 30.2em;
}
	

  /* 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;
    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;
	width: auto;
	width:calc(94% /4);
	padding:15px 10px;
}

#home .recommend ul {
	justify-content:space-between;
	padding:20px 20px 0 20px;
}
	
#home .recommend ul li{
	width:48%;
}
#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;
}

#home .recommend a {
	padding: 0 50px 0 10px;
	height:80px;
	width:100%;
	background-position:right 10px center;
	background-size:45px;
}
	
}