@charset 'utf-8';

/* ==========================================================================

	TOP

   ========================================================================== */


/*--------------------------------
    基本レイアウト
--------------------------------*/
/* スクロールでヘッダー表示 */

header {
  -webkit-transition: 0.3s;
  transition: 0.3s;
  /* -webkit-transform: translate(0, -100%);
  transform: translate(0, -100%); */
}

header.show {
  -webkit-transform: translate(0, 0);
  transform: translate(0, 0);
}

@media only screen and (max-width: 812px) {
  header {
    -webkit-transform: translate(0, 0);
    transform: translate(0, 0);
  }
}

/*--------------------------------
    メインビジュアル
--------------------------------*/

#mainvisual {
  position: relative;
  width: 100%;
  height: 100vh;
  text-align: center;
  padding: 0;
  margin: 0 auto;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

/* スライドショー */

#mainvisual .slide {
  width: 100%;
  height: 100vh;
}

#mainvisual .slide .slick-list,
#mainvisual .slide .slick-track,
#mainvisual .slide .slick-slide {
  width: 100%;
  height: 100%;
}

#mainvisual .slide picture {
  width: 100%;
  height: 100vh;
}

#mainvisual .slide picture img {
  width: 100%;
  height: 100%;
  margin: 0;
  -o-object-fit: cover;
  object-fit: cover;
  font-family: "object-fit: cover;";
  /*IE対策*/
}


/* スクロール */

#mainvisual .btn_scroll {
  display: block;
  position: absolute;
  bottom: 30px;
  left: 50%;
  -webkit-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
  font-size: 1.1rem;
}

#mainvisual .btn_scroll a:link,
#mainvisual .btn_scroll a:visited {
  color: #fff;
}

#mainvisual .btn_scroll:hover a,
#mainvisual .btn_scroll a:active {
  color: #326CBA;
}

#mainvisual .btn_scroll svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: #fff;
  margin: 0 auto;
  -webkit-animation: scroll 2s linear infinite;
  animation: scroll 2s linear infinite;
}

#mainvisual .btn_scroll:hover svg {
  fill: #326CBA;
}

@-webkit-keyframes scroll {
  0% {
    opacity: 0;
    -webkit-transform: translate(0, 0);
  }

  40% {
    opacity: 1;
  }

  80% {
    opacity: 1;
    -webkit-transform: translate(0, 15px);
  }

  100% {
    opacity: 0;
    -webkit-transform: translate(0, 15px);
  }
}

@keyframes scroll {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }

  40% {
    opacity: 1;
  }

  80% {
    opacity: 1;
    transform: translate(0, 15px);
  }

  100% {
    opacity: 0;
    transform: translate(0, 15px);
  }
}


@media only screen and (max-width: 812px) {

  #mainvisual .top_menu {
    display: none;
  }

  /* スライドショー */

  #mainvisual .slide {
    height: 100%;
  }

  /* dots */

  #mainvisual .slide .slick-dots {
    display: none !important;
  }

  /* スクロール */

  #mainvisual .btn_scroll {
    font-size: 1.0rem;
  }

  #mainvisual .btn_scroll a:link,
  #mainvisual .btn_scroll a:visited {
    color: #fff;
  }

  #mainvisual .btn_scroll a:hover,
  #mainvisual .btn_scroll a:active {
    color: #fff;
  }

  #mainvisual .btn_scroll:hover svg {
    fill: #fff;
  }
}

/* コンセプト */
.main_concept {
  position: absolute;
  top:50%;
  left:50%;
  z-index: 100;
  -webkit-transform:translate(-50%, -50%);
  transform:translate(-50%, -50%);
  color: #fff;
  text-shadow: 0px 1px 13px rgba(11, 58, 123, 0.6);
  font-size: 3.4rem;
}

.main_concept span {
  display: block;
  position: relative;
  font-size: 1.2rem;
  margin: 2em 0 0;
  text-align: right;
}

.main_concept span:before {
  content: "";
  display: inline-block;
  width: 65px;
  height: 1px;
  background: #fff;
  margin: 0 20px 4px 0;
}


@media only screen and (max-width: 812px) {
  /* コンセプト */
  .main_concept {
    width: 90%;
    font-size: 1.9rem;
  }

  .main_concept img {
    width: 100px;
    margin-bottom: 2em;
  }


}


/*--------------------------------
	タイトル共通
--------------------------------*/

/* head_top */
.head_top {
  position: relative;
  color: #3B74C3;
  text-align: left;
  margin-bottom: 2em;
  font-size: 2.8rem;
  font-weight: 500;
}

.head_top span {
  position: relative;
}

.head_top span:after {
  content: "";
  display: inline-block;
  width: 65px;
  height: 1px;
  background: #3B74C3;
  position: absolute;
  top: 50%;
  margin: 0 0 0 20px;
}

.head_top p {
  font-size: 1.8rem;
}

/* リンク */

.head_top em {
  position: absolute;
  right: 0;
  font-size: 1.6rem;
  font-weight: 500;
  color: #000;
}

.head_top em a {
  display: block;
  width: 100%;
  height: 100%;
}

.head_top em a svg {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin: 0 0 0 .5em;
  fill: #326CBA;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  will-change: transform;
}

@media only screen and (min-width: 813px) {
  .head_top em a:hover svg {
    -webkit-transform:translate3d(3px, 0, 0);
    transform:translate3d(3px, 0, 0);
  }
}

/* センター */

.news_head2 {
  position: relative;
  text-align: center;
  font-size: 2.4rem;
  font-weight: 500;
  color: #3B74C3;
}

.news_head2:after {
  content: "";
  display: block;
  width: 65px;
  height: 1px;
  background: #3B74C3;
  margin: 1em auto 3em;
}

.link_sp { display: none; }


@media only screen and (max-width: 812px) {

  /* head_top */
  .head_top {
    font-size: 2.4rem;
  }

  .head_top span:after {
    width: 50px;
    margin: 0 0 0 15px;
  }

  .head_top p {
    font-size: 1.5rem;
  }

  /* リンク */
  .head_top em {
    display: none;
  }

  /* センター */
  .news_head2 {
    font-size: 2rem;
  }

  .news_head2:after {
    width: 50px;
    margin: 1em auto 3em;
  }

    
  .link_sp {
    display: block;
    text-align: right;
    margin: 3em auto 0;
    padding: 0 5%;
  }
  .link_sp svg {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 0 0 1em;
    fill: #326CBA;
  }
}


/*--------------------------------
    重要なお知らせ
--------------------------------*/

.topnews {
  background: #F2F8FF;
}

.news_head {
  width: 240px;
  height: 56px;
  margin: 0 auto 3em;
  line-height: 50px;
  border: 3px solid #326CBA;
  color: #326CBA;
  font-weight: 700;
  text-align: center;
}

.top_news li {
  margin: 1em auto;
}

.top_news li p {
  color: #326CBA;
}

.top_news li p span {
  display: inline-block;
  margin-right: 2em;
}

.top_news li p svg {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin: 0 0 0 1em;
  fill: #326CBA;
}

@media only screen and (min-width: 813px) {
  .top_news li a:hover svg {
    -webkit-transform:translate3d(3px, 0, 0);
    transform:translate3d(3px, 0, 0);
    fill: #000;
  }

  .top_news li a:hover,
  .top_news li a:active {
      color:#000;
  }
}

@media only screen and (max-width: 812px) {
  .news_head {
    width: 180px;
    height: 46px;
    margin: 0 auto 2em;
    line-height: 40px;
  }
  
  .top_news li {
    margin: 1em auto;
  }
  
  .top_news li p {
    color: #326CBA;
  }
  
  .top_news li p span {
    display: block;
    margin: 0 auto .2em
  }
  
  .top_news li p svg {
    width: 12px;
    height: 12px;
    margin: 0 0 0 1em;
  }
  
}


/*--------------------------------
    患者様・一般の方へ
--------------------------------*/

.top_customers {
  background: url(/images/bg_01.jpg) no-repeat center center;
  background-size: cover;
}

.top_customers p {
  width: 60%;
}

.top_customers_menu {
  width: 100%;
}

.top_customers_menu ul {
  max-width: none;
  width: 100%;
  margin-top: 4em;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
}

.top_customers_menu ul li {
  max-height: 100%;
  height: 225px;
  width: 20%;
  margin: 0 .5em;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.top_customers_menu ul li a {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  text-align: center;
  -webkit-flex-direction: column;
  flex-direction: column;
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

.top_customers_menu ul li img {
  width: 90px;
  height: auto;
}

.top_customers_menu ul li p {
   margin-top: 1em;
   line-height: 1.5;
   font-weight: 500;
}

.top_customers_menu ul li small {
  display: block;
  font-size: 1.2rem;
}

@media only screen and (min-width: 813px) {

  .top_customers_menu ul li a:hover {
    box-shadow: 3px 3px 15px rgba(11, 58, 123, 0.3);
  }
  
}

@media only screen and (max-width: 812px) {

  .top_customers {
    background: url(/images/bg_01_sp.jpg) no-repeat center center;
    background-size: cover;
  }

  .top_customers p {
    width: 100%;
  }

  .top_customers_menu ul {
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    max-width: none;
    width: 100%;
    margin-top: 4em;
  }

  .top_customers_menu ul li {
    width: 32%;
    height: 160px;
    margin: 0 0 10px;
  }

  .top_customers_menu ul li:nth-of-type(1) {
    width: 66%;
    margin: 0 0 2vw;
  }

  .top_customers_menu ul li img {
    width: 50px;
  }

}


/*--------------------------------
    NEWS & TOPICS
--------------------------------*/

.list_info_cat {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 2em;
  text-align: center;
}

.list_info_cat li {
  flex-grow: 1;
  width: auto;
  height: 40px;
}

.list_info_cat li + li {
  margin-left: .5em;
}

.list_info_cat li a {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  width: 100%;
  height: 100%;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid #C6C6C6;
}

.list_info_cat li.active a {
  color:#fff;
  background-color: #3B74C3;
  border: 1px solid #3B74C3;
}

/* カレンダー */
.top_calendar {
  margin-top: 6em;
}


@media only screen and (min-width: 813px) {
  .list_info_cat li a:hover,
  .list_info_cat li a:active {
      color:#fff;
      background-color: #3B74C3;
      border: 1px solid #3B74C3;
  }
}

@media only screen and (max-width: 812px) {

  .list_info_cat {
    display: none;
  }


}

/*--------------------------------
	カレンダー
--------------------------------*/

#calendar {
  max-width: 900px;
  margin: 0 auto;
}

/*--------------------------------
	病院のご紹介
--------------------------------*/

.top_intro {
  background: #F2F8FF;
}

.top_intro_link {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 2em;
  text-align: center;
}

.top_intro_link li {
  width:48%;
  height: 68px;
  margin:0 4% 1.5vw 0;
}

.top_intro_link li:nth-child(2n) {
  margin-right:0;
}

.top_intro_link li a {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  width: 100%;
  height: 100%;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #CCE3F4;
  text-align: left;
  font-weight: 500;
  line-height: 1.2;
}

.top_intro_link li.active a {
  color:#fff;
  background-color: #3B74C3;
  border: 1px solid #3B74C3;
}

.top_intro_link li a svg {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 0 0 .5em;
  fill: #326CBA;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  will-change: transform;
}

@media only screen and (min-width: 813px) {
  .top_intro_link li a:hover svg {
    -webkit-transform:translate3d(3px, 0, 0);
    transform:translate3d(3px, 0, 0);
    fill: #fff;
  }
}

@media only screen and (min-width: 813px) {
  .top_intro_link li a:hover,
  .top_intro_link li a:active {
      color:#fff;
      background-color: #3B74C3;
      border: 1px solid #3B74C3;
  }
}

.top_intro_time img {
  display: block;
  margin-bottom: 1em;
}

.top_intro_time small {
  display: block;
  font-size: 1.5rem;
}

.top_intro_contact {
  margin: 2em auto;
  color: #3B74C3;
}

.top_intro_contact em {
  display: block;
  font-weight: 500;
  font-size: 3.2rem;
}

.top_intro_contact em small {
  display: inline-block;
  margin-right: 1em;
  font-size: 1.6rem;
}

.top_intro_contact p {
  font-size: 1.5rem;
}

.navi_access {
  display: -webkit-flex;
  display: flex;
}

.navi_access li {
  width: 180px;
  height: 50px;
  line-height: 50px;
  text-align: center;
}

.navi_access li + li {
  margin-left: 1em;
}

.navi_access li a {
  display: block;
  width: 100%;
  height: 100%;
  background: #DFECFB;
  -webkit-border-radius: 25px;
  border-radius: 25px;
  font-size: 1.5rem;
  font-weight: 500;
}

.navi_access li a svg {
  margin-right: .5em;
}

.top_intro_img {
  height: 60vh;
  min-height: 400px;
  background: transparent;
}

@media only screen and (max-width: 812px) {
  
  .top_intro_link {
    margin-bottom: 2em;
  }
  
  .top_intro_link li {
    width:80%;
    min-width: 300px;
    height: 60px;
    margin: 0 auto 1.5vw;
  }
  
  .top_intro_link li:nth-child(2n) {
    margin-right:auto;
  }

  .top_intro_link li a {
    font-size: 1.6rem;
  }

  .top_intro_time img {
    display: block;
    margin-bottom: 1em;
  }
  
  .top_intro_time small {
    display: block;
    font-size: 1.2rem;
  }
  
  .top_intro_contact {
    margin: 1em auto 1.5em;
  }
  
  .top_intro_contact em {
    font-size: 2.2rem;
  }
  
  .top_intro_contact em small {
    display: inline-block;
    margin-right: 1em;
    font-size: 1.4rem;
  }
  
  .top_intro_contact p {
    font-size: 1.4rem;
  }
  
  .navi_access li {
    width: 47.5%;
    height: 40px;
    line-height: 40px;
    text-align: center;
  }
  
  .navi_access li + li {
    margin-left: 5%;
  }
  
  .navi_access li a {
    display: block;
    width: 100%;
    height: 100%;
    background: #DFECFB;
    -webkit-border-radius: 25px;
    border-radius: 25px;
    font-size: 1.5rem;
  }
  
  .navi_access li a svg {
    width: 12px;
    height: 12px;
  }
  
  .top_intro_img {
    height: 75vw;
    min-height: 200px;
  }

}

/*--------------------------------
	病院のご紹介
--------------------------------*/
.link_btn {
  display: block;
  max-width: 300px;
  margin: 4em auto 0;
  text-align: center;
}

/*--------------------------------
	ブログ
--------------------------------*/

.top_info {
  position: relative;
  background: #DFECFB;
}

.top_info:before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 50%;
  top: 0;
  left: 0;
  background: transparent linear-gradient(123deg, #4A82CE 0%, #78B7E5 100%);
}

.top_info .head_top {
  color: #fff;
}

.top_info .head_top span:after {
  background: #fff;
}

.top_info .head_top em {
  color: #fff;
}

.top_info .head_top em a svg {
  fill: #fff;
}


#slideinfo {
  margin-bottom: 50px;
}

#slideinfo li {
  padding: 0 20px;
}

#slideinfo li > div {
  background: #fff;
  overflow: hidden;
  position: relative;
  z-index: 1;
  -webkit-border-radius: 5px;
  border-radius: 5px;
  overflow: hidden;
}

.slick-arrow img {
  width: 20px;
  height: 20px;
}

.slider-nav {
  position: relative;
  width: 100%;
  height: 20px;
  margin-top: 50px;
  font-size: 0;
}

.slider-nav .slideNext,
.slider-nav .slidePrev {
  position: absolute;
  height: 20px;
  cursor: pointer;
}

.slider-nav .slideNext img,
.slider-nav .slidePrev img {
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider-nav .slideNext {
  left: calc(50% + 120px);
}

.slider-nav .slidePrev {
  right: calc(50% + 120px);
}

.slider-nav .slick-dots {
  position: static;
  width: auto;
}

.slick-slide .postImg {
  overflow: hidden;
}

.slick-slide .postImg img {
  width: 100%;
  height: auto;
}

@media only screen and (min-width: 813px) {

  .top_info .head_top em:hover a svg {
    fill: #326CBA;
  }

  .slick-slide .postImg a:hover img {
      -webkit-transform: scale(1.05);
      transform: scale(1.05); 
  }
}

.slick-slide .postTitle {
  padding: 20px;
}

.slick-slide .postTitle span {
  display: block;
  margin-top: 2em;
  font-size: 1.4rem;
  color: #909090;
}

.slick-dots li.slick-active button:before {
    opacity: 1 !important;
    color: #326CBA !important;
}

@media only screen and (min-width: 813px) {
  .slider-nav .slideNext:hover img {
    -webkit-transform:translate3d(3px, 0, 0);
    transform:translate3d(3px, 0, 0);
  }

  .slider-nav .slidePrev:hover img {
    -webkit-transform:translate3d(-3px, 0, 0);
    transform:translate3d(-3px, 0, 0);
  }
}


/*--------------------------------
	 医療関係の方へ
--------------------------------*/


footer .container {
  margin-top: 0;
}

main > section.top_recruit {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  padding: 0;
}

.top_recruit > div {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  width: 50%;
  height: 400px;
  color: #fff;
  text-align: center;
}

.top_recruit > div:nth-of-type(1) {
  background: url(/images/top_medical.jpg) no-repeat;
  background-size: cover;
}

.top_recruit > div:nth-of-type(2) {
  background: url(/images/top_recruit.jpg) no-repeat;
  background-size: cover;
}

.top_recruit > div a {
  display: block;
  width: 100%;
  height: 100%;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
}

.top_recruit > div a em {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  width: 240px;
  height: 70px;
  font-weight: 500;
  text-shadow: 0px 0px 10px rgba(11, 58, 123, 0.5);
  border: 1px solid #FFFFFF;
  border-radius: 5px;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

@media only screen and (min-width: 813px) {
  .top_recruit > div a:hover em,
  .top_recruit > div a:active em {
      color:#3B74C3;
      background-color: #FFFFFF;
      text-shadow: 0px 0px 0 rgba(11, 58, 123, 0);
  }
}


@media only screen and (max-width: 812px) {

  main > section.top_recruit {
    display: block;
  }

  .top_recruit > div {
    display: block;
    width: 100%;
    height: 200px;
  }
  .top_recruit > div:nth-of-type(1) {
    background: url(/images/top_medical_sp.jpg) no-repeat;
    background-size: cover;
  }
  
  .top_recruit > div:nth-of-type(2) {
    background: url(/images/top_recruit_sp.jpg) no-repeat;
    background-size: cover;
  }

  .top_recruit > div a em {
    width: 180px;
    height: 60px;
    font-size: 1.8rem;
  }

}

