@charset "utf-8";

/* home.css
 * おまかせプラン ver.7 - v1.0.0
 * 2022-09-01
 * **************************************************
 * Main Visual
 * Search
 * News Movie
 * like This（at a time like this）
 * Recommend
 * Loop img
 * **************************************************
 */

/* Main Visual
------------------------------------------------------------------- */
.main-visual {
  display: flex;
  width: 100%;
}
/* message用CSS */
.main-visual__message {
  overflow: hidden;
  position: relative;
  padding: 20px 30px;
  width: 450px;
  background-color: #f3f3f3;
  text-align: center;
}
.main-visual__message::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  border-bottom: 400px solid #f9f9f9;
  border-left: 490px solid transparent;
}
.main-visual__message span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 70px;
  font-size: 2.8em;
  color: #005c6b;
  font-weight: 700;
  line-height: 1.2;
}
.main-visual__message span::before {
  z-index: -1;
  position: absolute; top: -60px; left: 30px;
  content: '';
  display: inline-block;
  width: 300px;
  height: 115px;
  background-image: url(../images/home/message.svg);
  background-size: contain;
  vertical-align: middle;
}
.main-visual__message p {
  position: relative;
  z-index: 1;
  margin: 60px auto 0 auto;
  padding: 0 10px;
  width: -webkit-calc(85% - 30px);
  width: calc(85% - 30px);
  font-size: 1.6em;
}
.main-visual__message p::before {
  position: absolute; top: -30%; left: -20px;
  content: '';
  display: inline-block;
  width: 22px;
  height: 150px;
  background-image: url(../images/home/open-braces.svg);
  background-size: contain;
  vertical-align: middle;
}
.main-visual__message p::after {
  position: absolute; top: -30%; right: -20px;
  content: '';
  display: inline-block;
  width: 22px;
  height: 150px;
  background-image: url(../images/home/close-braces.svg);
  background-size: contain;
  vertical-align: middle;
}

/* 拡大表示用（1番目）CSS */
.main-visual__top {
  overflow: hidden;
  width: 100%;
}
.main-visual__top img{
  max-width:100%;
  width:100%;
  vertical-align:middle;
}
.main-visual__top a {
  overflow: hidden;
  position: relative;
  display: block;
  padding: 50px 20px;
  height: 300px;
  width : -webkit-calc(100% - 40px);
  width : calc(100% - 40px);
  font-size: 3.0em;
  font-weight: 400;
  color: #000;
  text-decoration: none;
  text-align: center;
}
.main-visual__top a img {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.main-visual__top a:hover img {
  opacity: 0.8;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
.main-visual__top span {
  position: relative;
  z-index: 2;
}
.main-visual__top span.cont {
  display: none;
  margin: 15px auto 0 auto;
  width: 75%;
  font-size: 60%;
  line-height: 1.5;
}
.main-visual__top a:hover span.cont {
  display: block;
}

.main-visual__pickup {
  display: flex;
  flex-wrap: wrap;
  width: -webkit-calc(100% - 450px);
  width: calc(100% - 450px);
}
.main-visual__pickup > div {
  display: flex;
  width: -webkit-calc(100% / 3);
  width: calc(100% / 3);
}
.main-visual__pickup a {
  overflow: hidden;
  position: relative;
  display: block;
  padding: 50px 20px;
  height: 100px;
  width : -webkit-calc(100% - 40px);
  width : calc(100% - 40px);
  font-size: 2.0em;
  font-weight: 400;
  color: #fff;
  text-decoration: none;
  text-align: center;
}
.main-visual__pickup a img {
  position: absolute;
  top: 0;
  left: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.main-visual__pickup a:hover img {
  opacity: 0.8;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}
.main-visual__pickup a:before {
  z-index: 2;
  content: '';
  background-color: rgba(0,0,0,25%);
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.main-visual__pickup a:hover::before {
  background-color: rgba(0,0,0,50%);
}
.main-visual__pickup span {
  position: relative;
  z-index: 2;
}
.main-visual__pickup span.cont {
  display: none;
  margin: 15px auto 0 auto;
  width: 75%;
  font-size: 75%;
  line-height: 1.5;
}
.main-visual__pickup a:hover span.cont {
  display: block;
}

.fade-up {
  animation-name: fadeUpAnime;
  animation-duration: 0.8s;
  animation-fill-mode: forwards;
  opacity: 0;
}
@keyframes fadeUpAnime {
  from {
    opacity: 0;
    transform: translateY(100px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* News Links
------------------------------------------------------------------- */
.news-links{
  background:#f1f7fe;
  font-family: 'Trebuchet MS', "ヒラギノ丸ゴ ProN W4","ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic ProN","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO", Meiryo, Arial, sans-serif;
}

.news-links__inner {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  padding: 50px 40px 70px;
  max-width: 1450px;
}
/* News */
.news-list {
  width:73%;
/*  width:100%;*/
}
.news-list__header {
  overflow: hidden;
  z-index: 0;
  position: relative;
}

.news-links h2 {
  width:420px;
  height:75px;
  background: url("../images/home/news-ttl.png") no-repeat left center/auto 100%;
  line-height: 1.2;
  text-indent: 500%;
  overflow: hidden;
  white-space: nowrap;
}

.news-list__header::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
}

.news-list--link {
  display:inline-block;
  position:absolute;
  right:0;
  top:20px;
  padding: 1em 1.2em 1em 3.5em;
  background-color: #0058a6;
  border-radius:100vw;
  font-size: 1.4em;
  font-weight: bold;
  color: #fff;
  line-height: 1;
  text-decoration: none;
}

.news-list--link:hover{
  opacity:.8;
}

.news-list--link span{
  position:relative;}

.news-list--link span::before{
  display:inline-block;
  content:'';
  position:absolute;
  top:0;
  bottom:0;
  margin:auto;
  left:-2.87em;
  width:30px;
  height:30px;
  background: url("../images/home/list-icon.png") no-repeat center center/auto 100%;
}

.news-list__scroll-bar {
  height: 52.5em;
  overflow-y: scroll;
}
.news-list li {
  display: flex;
  font-size: 1.6em;
  font-weight: bold;
  line-height: 1.6;
  border-bottom:2px dotted #cccccc;
  margin-right:10px;
}
.news-list li:nth-child(1){
  border-top:2px dotted #cccccc;
	padding:17px 0;
}

.news-list li + li {
	padding:17px 0;
}
.news-list__scroll-bar li dl{
    display:flex;
}

.news-list__scroll-bar li dl dt{
  width:100px;
}
.news-list__scroll-bar li dl dd{
  max-width:723px;
}

.news-list__scroll-bar li dd span.news-list--date{
  display:block;
}


/* links */
.links {
  width: 21.853%;
}
.links__inner{
	margin-top:85px;
}

.links__inner li:first-child{
	margin-bottom:23px;
}
.links__inner li + li{
	margin-bottom:23px;
}
.links__inner li img{
	vertical-align:middle;
	max-width:100%;
}
.links__inner li{
  transition: 0.3s;
}

.links__inner li:hover {
  transform: translateY(-0.2em);
  -webkit-box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
  box-shadow: 0px 5px 10px rgba(0,0,0,0.2);
}

/* Like This（at a time like this）
------------------------------------------------------------------- */
.like-this {
  margin-top: 50px;
  font-family: 'Trebuchet MS', "ヒラギノ丸ゴ ProN W4","ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic ProN","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO", Meiryo, Arial, sans-serif;
  font-weight:bold;
	
}

.like-this__inner {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  padding:0 40px 0 40px;
  max-width: 1450px;
  position:relative;
}

.like-this__inner:before{
	position:absolute;
	display:block;
	content:"";
	width:400px;
	height:128px;
	right:40px;
	top:-100px;
	background:url(../images/home/konnatoki-img.svg) no-repeat center center/contain;
	
}
.like-this h2 {
  flex-grow: 1;
  text-align:center;
  margin:0 auto 40px;
  width:210px;
  height:28px;
  background: url("../images/home/konnatoki-ttl.png") no-repeat center center/auto 100%;
  line-height: 1.2;
  text-indent: 500%;
  overflow: hidden;
  white-space: nowrap;
}

.like-this__filter dl {
  display: flex;
  justify-content:center;
  margin: 5px 0 0 50px;
}
.like-this__filter dt {
  margin-right: 10px;
  font-size: 1.5em;
}
.like-this__filter dt:after {
  content: "：";
}
.like-this__filter dd {
  width: 10em;
  padding:4px 5px 2px;
  border: 1px solid #509b79;
  color:#509b79;
  -webkit-border-radius: 100vh;
  border-radius: 100vh;
  font-size: 1.6em;
  text-align: center;
  cursor: pointer;
  position:relative;
}
.like-this__filter dd:hover,
.like-this__filter dd.active {
  background-color: #509b79;
  border: 1px solid #509b79;
  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 #509b79;
}

.like-this__filter dd + dd {
  margin-left: 10px;
}
.like-this__btn {
  clear: both;
  display: flex;
  flex-flow: row wrap;
  align-items: stretch;
  justify-content:center;
  margin-left:20px;
  margin-top:20px;
}
.like-this__btn li {
  overflow: hidden;
  position: relative;
  width: -webkit-calc(20% - 20px);
  width: calc(20% - 20px);
  background:url(../images/home/like-bg.svg) no-repeat center -20px/contain;
  -webkit-border-radius: 15px;
  border-radius: 15px;
  transition: 0.3s;
	border:1px solid #509b79;
}
.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: 20px 20px 0 0;
}

.like-this li:nth-child(5n) {
}

.like-this li:hover {
  -webkit-box-shadow: 0 0 15px rgb(80 155 121 / 25%);
  box-shadow: 0 0 15px rgb(80 155 121 / 25%);
  transform: scale(1.05);
}
.like-this li a {
  display: flex;
  align-items: center;
  justify-content:center;
  padding:110px 20px 10px;
  min-height: 170px;
  font-size: 1.5em;
  color:#509b79;
  text-align: center;
  text-decoration: none;
  line-height: 1.4;
  background:no-repeat center 5px /120px;
}

/* Recommend
------------------------------------------------------------------- */
.recommend {
  padding:40px 0;
  margin-top: 80px;
 background:#f8f8f8;
}
.recommend__inner{
  margin: 0 auto;
  padding:0 40px 0 40px;
  max-width: 1450px;
}

.recommend h2 {
  flex-grow: 1;
  text-align:center;
  margin:0 auto 40px;
  width:284px;
  height:28px;
  background: url("../images/home/recommend-ttl.png") no-repeat center center/auto 100%;
  line-height: 1.2;
  text-indent: 500%;
  overflow: hidden;
  white-space: nowrap;
}
.recommend ul {
  display: flex;
  flex-flow: row wrap;
  margin: 40px auto 0 auto;
  max-width: 1450px;
}
.recommend li {
  padding: 0 10px;
  width: -webkit-calc(100% / 6 );
  width: calc(100% / 6 );
  text-align: center;
}
.recommend li:first-child,
.recommend li + li {
  border-left: 1px solid #d2d2d2;
}
.recommend li:last-child {
  border-right: 1px solid #d2d2d2;
}
.recommend .osteopathic {
  background: url(../images/home/recommend-osteopathic.svg) no-repeat right 50% top 12%;
  -webkit-background-size: 100px auto;
  background-size: 100px auto;
}
.recommend .generic {
  background: url(../images/home/recommend-generic.svg) no-repeat right 50% top 12%;
  -webkit-background-size: 100px auto;
  background-size: 100px auto;
}
.recommend .accident {
  background: url(../images/home/recommend-accident.svg) no-repeat right 50% top 12%;
  -webkit-background-size: 100px auto;
  background-size: 100px auto;
}
.recommend .off-hours {

  background: url(../images/home/recommend-off-hours.svg) no-repeat right 50% top 12%;
  -webkit-background-size: 100px auto;
  background-size: 100px auto;
}
.recommend .ladder {
  background: url(../images/home/recommend-ladder.svg) no-repeat right 50% top 12%;
  -webkit-background-size: 100px auto;
  background-size: 100px auto;
}
.recommend .doctor {
  background: url(../images/home/recommend-doctor.svg) no-repeat right 50% top 12%;
  -webkit-background-size: 100px auto;
  background-size: 100px auto;
}
.recommend li a {
  display: block;
  padding-top: 120px;
  min-height: 183px;
  font-size: 1.6em;
  color: #02589e;
  font-weight:bold;
  text-decoration: none;
  line-height: 1.4;
  letter-spacing: 0.03em;
  font-family: 'Trebuchet MS', "ヒラギノ丸ゴ ProN W4","ヒラギノ丸ゴ Pro", "Hiragino Maru Gothic ProN","HG丸ｺﾞｼｯｸM-PRO","HGMaruGothicMPRO", Meiryo, Arial, sans-serif;
}
.recommend li span {
  display: block;
  font-size: 75%;
  letter-spacing: 0.01em;

}
.recommend .generic a {
  padding-top: 120px;
  height: 55px;
}
.recommend li {
  transition: 0.3s;
}
.recommend li:hover {
  transform: translateY(-0.5em);
  -webkit-box-shadow: 0px 10px 20px rgba(0,0,0,0.2);
  box-shadow: 0px 10px 20px rgba(0,0,0,0.2);
}

.recommend li:first-child:hover,
.recommend li:hover + li,
.recommend li + li:hover {
  border-left: 1px solid #fafafa;
}

/* 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
  ------------------------------------------------------------------- */
  .main-visual {
    display: block;
    width: 100%;
  }
  /* message用CSS */
  .main-visual__message {
    padding: 20px 10px 30px 10px;
    width: auto;
  }
  .main-visual__message span {
    margin-top: 10px;
    font-size: 2.4em;
  }
  .main-visual__message span::before {
    position: absolute; top: -15px; left: 30px;
    width: 150px;
    height: 57.5px;
    background-image: url(../images/home/message.svg);
    background-size: contain;
    vertical-align: middle;
  }
  .main-visual__message p {
    margin: 20px auto 0 auto;
    padding: 0 5px;
    width: -webkit-calc(92% - 18px);
    width: calc(92% - 18px);
    font-size: 1.3em;
  }
  .main-visual__message p::before {
    position: absolute; top: -35%; left: -20px;
    width: 12px;
    height: 85px;
    background-image: url(../images/home/open-braces.svg);
    background-size: contain;
  }
  .main-visual__message p::after {
    position: absolute; top: -35%; right: -20px;
    width: 12px;
    height: 85px;
    background-image: url(../images/home/close-braces.svg);
    background-size: contain;
  }

  /* 拡大表示用（1番目）CSS */
  .main-visual__top {
    width: auto;
  }
  .main-visual__top a {
    padding: 30px 15px;
    height: 120px;
    width : -webkit-calc(100% - 30px);
    width : calc(100% - 30px);
    font-size: 2.6em;
  }

  .main-visual__pickup {
    width: auto;
  }
  .main-visual__pickup > div {
    width : -webkit-calc(100% / 2);
    width : calc(100% / 2);
  }
  .main-visual__pickup a {
    padding: 30px 15px;
    height: 80px;
    width : -webkit-calc(100% - 30px);
    width : calc(100% - 30px);
    font-size: 1.8em;
    line-height: 1.4;
  }

  /* Search
  ------------------------------------------------------------------- */
  .search {
	margin:0;
	padding:0;
	background:#509b79;
}
.search__inner {
	margin: -1px 0 0 0;
	padding:18px 50px 20px;
    width: auto;
    text-align: center;
	
  }
	.search form{
	position:relative;
	}
	.search input[type="text"] {


	padding: 3px 30px 3px 5px !important;
    height: 30px !important;
    width: 100% !important;
	border:none !important;
	font-size: 1.3em;
	background-color:#f1f7fe!important;
}
.search input[type="text"]:focus {
    outline: 0;
}
.search input[type="submit"] {
	position:absolute;
	top:2px;
	right:5px;
	overflow:hidden;
    height: 25px;
	width: 25px;
	text-indent: -70px;
	border: 0 none;
	background: url("../images/common/icon-search.png") no-repeat center/70%;
	-webkit-appearance: none;
	cursor:pointer;
}

  /* News Movie
  ------------------------------------------------------------------- */
.news-links__inner {
  display:block;
  padding:20px 0px 115px;
/*  padding:20px 0px 0px;*/
}
	
.news-list {
  width:100%;
}
	  
  /* News */
  .news-list {
    width: 100%;
  }
  .news-list__header {
    padding: 0px 15px 0px 15px;
  }
	
.news-links h2 {
	width:45%;
  background: url("../images/home/news-ttl-sp.png") no-repeat left center/contain;
}
.news-list--link {
	display:block;
    padding:10px 10px 10px 36px;
  background-color: #0058a6;
  border-radius:100vw;
  font-weight: bold;
  color: #fff;
  line-height: 1;
  text-decoration: none;
    font-size: 1.3em;
	width:auto;
	right:15px;
}
.news-list--link span::before{
  display:inline-block;
  content:'';
  position:absolute;
  top:0;
  bottom:0;
  margin:auto;
  left:-2.2em;
  width:25px;
  height:25px;
  background: url("../images/home/list-icon.png") no-repeat center center/contain;
}


.news-list__scroll-bar {
  height: 35em;
  overflow-y: scroll;
}

  .news-list li {
    display: block;
    font-size: 1.6em;
	padding:15px 15px 10px!important;
	margin-right:0;
  }

.news-list__scroll-bar li dl {
	display:block;
}

.news-list__scroll-bar li dl dt{
  width:100%;
}
.news-list__scroll-bar li dl dd{
  width:100%;
}

	
  .news-list li + li {
    margin-top:0px;
  }
  .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;
  }

/* links */
.links {
  width:100%;
  padding:0 15px 115px;
}
.links__inner{
	margin-top:10px;
	display:flex;
	justify-content:space-between;
	flex-wrap:wrap;
}
.links__inner li{
	width:48.5%;
}

.links__inner li:first-child{
	margin-bottom:10px;
}
.links__inner li + li{
	margin-bottom:0px;
}


  /* like This（at a time like this）
  ------------------------------------------------------------------- */
  .like-this {
    margin-top: 0px;
	  position:relative;
  }
  .like-this:before{
	position:absolute;
	display:block;
	content:"";
	width:100%;
	height:100px;
	right:0;
	left:0;
	top:-100px;
	background:url(../images/home/konnatoki-img.svg) no-repeat center center/contain;
	
}
	
  .like-this__inner {
    padding: 20px 10px;
    max-width: none;
  }
  .like-this__inner:before{
	  display:none;
  }
	
  .like-this h2 {
    float: none;
    margin-bottom:20px;
    font-size: 2.6em;
    text-align: center;
  }
  .like-this__filter dl {
    clear: both;
    float:none;
	display:flex;
	margin:0;
  }
  .like-this__filter dt {
    margin: 0 0 5px 0;
    font-size: 1.4em;
  }
  .like-this__filter dt:after {
    content: "";
  }
	
  .like-this__filter dd {
    width:calc(100% /3);
    min-width:auto;
    padding: 0 5px;
    font-size: 1.3em;
  }
  .like-this__btn {
    margin-left:0px;
	margin-top:0px;
  } 
  .like-this__btn li {
    width: -webkit-calc(100% / 3 ) - 15px);
    width: calc((100% / 3 ) - 15px);
  background:url(../images/home/like-bg.svg) no-repeat center -0px/100%;
  } 
  .like-this__btn li:first-child,
  .like-this__btn li + li {
    margin: 15px 15px 0 0;
  }
  .like-this__btn li:nth-child(3n){
	  margin-right:0!important;
  }
  .like-this__btn li a {
  align-items: center;
  justify-content: center;
  display: flex;
	font-size: 1.4em;
	letter-spacing: 0;
	padding:60px 5px 5px;
	background:no-repeat center -5px /80px;
	min-height:110px;
  height: 100%;
	}
	
  .like-this__btn li a br{
	  display:none;
  }

  /* Recommend
  ------------------------------------------------------------------- */
  .recommend {
    margin-top:20px;
	padding:20px 0 0;
  }

.recommend h2 {
  margin:0px auto!important;
  padding:0!important;
}

.recommend__inner{
  margin: 0 auto;
  padding:0;
}
	
  .recommend ul {
	margin-top:20px;
    display: flex;
    flex-flow: row wrap;
    width: auto;
	border-bottom:1px solid #dedede!important;
  }
  .recommend li {
    padding: 0 10px;
    width: -webkit-calc(100% / 3);
    width: calc(100% / 3);
	border-right:dotted #dedede;
	border-top:dotted #dedede;}

  .recommend li br{
	  display:none;
  }
	
  .recommend li:nth-child(3),
  .recommend li:last-child {
    border-right:none;
  } 

  .recommend li:nth-child(4),
  .recommend li:nth-child(1){
	border-left:none;
  }

.recommend li + li {
  border-left:none;
}
	
	
  .recommend .osteopathic {
    -webkit-background-size: 85px auto;
    background-size: 85px auto;
  }
  .recommend .generic {
    -webkit-background-size: 85px auto;
    background-size: 85px auto;
  }
  .recommend .accident {
    -webkit-background-size: 85px auto;
    background-size: 85px auto;
  }

  .recommend .off-hours {
    -webkit-background-size: 85px auto;
    background-size: 85px auto;
  }
  .recommend .ladder {
    -webkit-background-size: 85px auto;
    background-size: 85px auto;
  }
  .recommend .doctor {
    -webkit-background-size: 85px auto;
    background-size: 85px auto;
  }
  .recommend li a {
    padding-top: 110px!important;
    min-height: 180px;
    font-size: 1.5em;
    letter-spacing: 0.03em;
  }
  .recommend li span {
    font-size: 75%;
  }

  /* Loop img
  ------------------------------------------------------------------- */
  .loop-img {
    margin-top: 40px;
  }
  .loop-img__inner > div > div {
    width: calc(100vw/2);
  }
}
