@charset "UTF-8";

main {padding: 0;}

main .link01 {
  margin: 10px auto;
  text-align: center;
}


/*  header
---------------------------------------------------------- */
header.top {
  position: absolute;
  background: none;
  box-shadow: none;
}
header.top nav ul li a {
  color: #fff;
}
header.top .logo img {
  display: none;
}
header.top .logo:before {
  content: "";
  display: block;
  width: 16vw;
  height: 4.5vw;
  background: url(../img/common/logo_top.png) no-repeat;
  background-size: contain;
}

@media screen and (max-width: 768px) {
  header.top .logo:before {
    width: 42vw;
    height: 11.9vw;
  }
  header.top button span {background: #fff;}
  header.top nav ul li a { color: #000;}
  header.top button.close span {background: #000;}
  header nav ul li.contact a {color: #fff;}

}

/*  main_img
---------------------------------------------------------- */
.main_img {
  position: relative;
  width: 100%;
  height: 100vh;
  margin-bottom: 90px;
}

.main_img .slide {
  overflow: hidden;
  position: relative;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.main_img .slide li {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-animation: slider 24s linear infinite;
  animation: slider 24s linear infinite;
  font-size: 0;
  opacity: 0;
}

.main_img .slide li:nth-child(1) {
  background: url(../img/top/slide_01.jpg);
  background-size: cover;
  background-position: center;
  -webkit-animation-delay: -2s;
  animation-delay: -2s;
}
.main_img .slide li:nth-child(2) {
  background: url(../img/top/slide_02.jpg);
  background-size: cover;
  background-position: center;
  -webkit-animation-delay: 6s;
  animation-delay: 6s;
}
.main_img .slide li:nth-child(3) {
  background: url(../img/top/slide_03.jpg);
  background-size: cover;
  background-position: center;
  -webkit-animation-delay: 14s;
  animation-delay: 14s;
}
.main_img .slide li:nth-child(4) {
  background: url(../img/top/slide_04.jpg);
  background-size: cover;
  background-position: center;
  -webkit-animation-delay: 14s;
  animation-delay: 14s;
}

/* slide animation */
@keyframes slider {
  0% {
    opacity: 0;
    transform: scale(1);
  }
  4.16% {
    opacity: 1;
  }
  33.33% {
    opacity: 1;
  }
  41.66% {
    opacity: 0;
    transform: scale(1.2);
  }
  100% {
    opacity: 0;
  }
}

.main_img p {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 8.7em;
  padding-top: 20px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
  line-height: 1.7;
  color: #fff;
  font-weight: 700;
  font-size: 4.2rem;
  text-shadow: 0px 0px 10px rgba(32,44,77,0.2);
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  z-index: 1;
}

.main_img .notice {
  position: absolute;
  left: 30px;
  bottom: 30px;
  min-width: 20%;
  padding: 20px;
  background: rgba(255,255,255,.8);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(12px);
  border-radius: 8px;
  transition: .5s;
  -webkit-transition: .5s;
  z-index: 1;
}
.main_img .notice:hover { background: #fff;}
.main_img .notice a {
  display: block;
  width: 100%;
  height: 100%;
}
.main_img .notice a:hover {opacity: 1;}

.main_img .notice h2 {
  display: flex;
  align-items: center;
  margin: 0 0 15px;
  color: #FF590A;
  font-weight: 700;
}
.main_img .notice h2 img {
  width: 24px;
  margin-right: 10px;
  vertical-align: middle;
}
.main_img .notice dl {
  display: flex;
  font-weight: 600;
  font-size: 1.4rem;
}
.main_img .notice dt {
  margin-right: 10px;
  letter-spacing: 0;
}

@media screen and (max-width: 768px) {
  .main_img p {
    padding: 0;
    font-size:3.5rem;
  }
  
  .main_img .notice {
    bottom: 20px;
    left: 20px;
    width: calc(100% - 40px);
    padding: 15px;
  }
  .main_img .notice h2 {
    margin: 0;
    font-size: 2.2rem;
  }
  .main_img .notice dl {display: none}
}


/*  FOR PATIENTS
---------------------------------------------------------- */
.hospital_list img {
  width: 100%;
  height: 290px;
  object-fit: cover;
  border-radius: 4px;
}
.hospital_list .ttl {
  display: flex;
  align-items: flex-start;
  margin: 25px 15px 20px;
}
.hospital_list .ttl .area {
  padding: 10px;
  margin-right: 15px;
  background: #337EBA;
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
}
.hospital_list .ttl .name {
  padding-top:4px;
  flex: 1;
  font-weight: 700;
  font-size: 2.4rem;
}
.hospital_list .txt {
  margin: 0 15px 25px;
  line-height: 1.65;
  letter-spacing: 0.025em;
}

.hospital_list .info { margin: 0 15px;}
.hospital_list .info img {
  display: inline-block;
  width: 18px;
  height: 18px;
  object-fit: contain;
  margin-right: 10px;
  vertical-align: middle;
}
.hospital_list .info address {
  margin-bottom: 15px;
  padding-left: 28px;
  text-indent: -28px;
  font-weight: bold;
}
.hospital_list .info a {
  display: block;
  font-weight: 600;
}

.hospital_list .info a:hover {
  color: #309CC5;
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .hospital_list img {height: 200px;}
  .hospital_list .ttl {margin: 10px 5px 15px;}
  .hospital_list .ttl .area {
    margin-right: 10px;
    padding: 8px 10px;
    font-size: 1.2rem;
  }
  .hospital_list .ttl .name {
    padding-top: 2px;
    font-size: 2.0rem;
  }
  .hospital_list .txt {
    margin: 0 5px 15px;
    line-height: 1.5;
  }
  .hospital_list .info {
    margin: 0 5px;
    font-size: 1.3rem;
  }
}


/*  FOR RECRUIT
---------------------------------------------------------- */
.recruit_block {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-column-gap: 130px;
  grid-row-gap:60px;
  width: 88.85%;
}
.recruit_block figure {
  grid-area: 1 / 1 / 3 / 2;
  height: 454px;
}
.recruit_block figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit_block h2 {
  grid-area: 1 / 2 / 2 / 3;
  align-self: flex-end;
  margin: 0;
  text-align: left;
}
.recruit_block .txt {grid-area: 2 / 2 / 3 / 3;}
.recruit_block p {
  margin-bottom: 40px;
  line-height: 2;
  letter-spacing: 0.2em;
  font-size: 2.4rem;
  font-weight: bold;
}
.recruit_block .link01 {text-align: left;}

@media screen and (max-width: 768px) {
  .recruit_block {
    display: block;
    width: 100%;
  }
  .recruit_block h2 {
    margin: 0 0 25px;
    text-align: center;
  }
  .recruit_block figure {
    width: 85vw;
    height: 57vw;
    margin-bottom: 30px;
  }
  .recruit_block .txt {
    width: calc(100% - 40px);
    margin: 0 auto;
  }
  .recruit_block p {
    margin-bottom: 20px;
    font-size: 2.0rem;
  }
}


/*  FOR NEWS
---------------------------------------------------------- */
.news_block {
  display: grid;
  grid-template-columns: 200px 1fr;
  grid-template-rows: 1fr 1fr;
  margin: 0 auto;
}

.news_block .ttl02 {
  grid-area: 1 / 1 / 2 / 2;
  text-align: left;
  font-size: 3.6rem;
}
.news_block .ttl02 span {
  margin-top: 20px;
  font-size: 1.2rem;
}
.news_block .link01 {
  grid-area: 2 / 1 / 3 / 2;
  width: 100%;
  text-align: left;
}
.news_block ul {
  overflow: hidden;
  grid-area: 1 / 2 / 3 / 3;
  border-top: #ccc solid 1px;
}
.news_block ul li {
  border-bottom: #ccc solid 1px;
}
.news_block ul li a {
  display: flex;
  align-items: center;
  padding: 20px 5px;
}
.news_block ul li .date {
  width: 6em;
  letter-spacing: 0;
  color: #888888;
  font-weight: 600;
  font-size: 1.6rem;
}
.news_block ul li .cate {
  min-width: 10em;
  margin: 0 25px 0 20px;
  padding: 8px 15px;
  letter-spacing: 0.01em;
  color: #fff;
  text-align: center;
  font-weight: bold;
  font-size: 1.2rem;
}
.news_block ul li .ttl {
  overflow: hidden;
  flex: 1;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-weight: bold;
  transition: .5s;
  -webkit-transition: .5s;
}
.news_block ul li a:hover .ttl { color: #337EBA;}

@media screen and (max-width: 768px) {
  .news_block {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    grid-row-gap: 20px;
  }
  
  .news_block .ttl02 {
    grid-area: 1 / 1 / 2 / 2;
    margin: 0;
    font-size: 2.8rem;
  }
  .news_block .ttl02 span {margin-top: 15px;}
  
  .news_block .link01 {
    grid-area: 1 / 2 / 2 / 3;
    align-self: center;
    text-align: right;
  }
  
  .news_block ul {grid-area: 2 / 1 / 3 / 3;}
  
  .news_block ul li a {
    flex-wrap: wrap;
    padding: 15px 0;
  }
  .news_block ul li .cate {margin: 0 0 0 15px;}
  .news_block ul li .ttl {
    width: 100%;
    margin: 15px 0 0;
    flex: auto;
  }
}