@charset "utf-8";
main {
  margin-bottom: 0;
}
.main-img_con {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 400px;
  background-image: url(../img/top/main-img_b.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 0;
}
.main-img_con::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 40%);
  z-index: 1;
}
.main-img_con .main-text_wrap {
  position: absolute;
  bottom: 15%;
  left: 3%;
  z-index: 2;
}
.main-img_con .main-text_wrap h2{
  color: #fff;
}
.sec_con{
  max-width: 1300px;
  padding-top: 0;
  margin-top: 0;
}
h3.top_h3{
  font-size: 24px;
  margin-bottom: 15px;
}
.sec_wrap_bg {
  position: relative;
}
.sec_wrap_bg-sub {
  position: relative;
  padding-bottom: 60px;
  z-index: 1;
}
.sec_wrap_bg::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 30%;
  right: 0;
  bottom: 0;
  background-color: #F3ECE6;
  z-index: 0;
}
.sec_wrap_bg-sub::before {
  content: "";
  position: absolute;
  top: -60px;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #F8F2ED;
  z-index: -1;
}
/*news*/
#sec_news {
  display: block;
  margin-top: 60px;
  margin-right: auto;
  margin-left: auto;
  max-width: 1100px;
  width: 85%;
}
#sec_news #art_news {
  max-height: 330px;
  overflow-y: scroll;
}
#sec_news #art_topics {
  max-height: 500px;
  overflow-y: scroll;
}
#sec_news .link01 {
  font-size: 1rem;
  float: right;
}
#sec_news .link_wrap {
  justify-content: space-between;
  margin-top: calc(60px + 1rem);
}
#sec_news .link_wrap a{
  width: 45%;
  text-align: center;
}
/*news-end*/
/*time*/
#sec_time {
  margin-top: 0;
}
#sec_time .sec_con {
  position: relative;
  z-index: 10;
}
#sec_time .bg-img {
  position: relative;
  padding-top: 100px;
}
#sec_time .bg-img::after {
  content: "";
  position: fixed;
  top: 0;
  left: 30%;
  right: 0;
  bottom: 0;
  background: url(../img/top/bg-img_time.webp) 80% / cover no-repeat;
  z-index: -1;
}
#sec_time .time_table .table01 {
  position: relative;
  max-width: 100%;
  z-index: 10;
}
/*time-end*/
/*list*/
#sec_list {
  padding-top: 22.5px;
}
#sec_list .topics_con {
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}
#sec_list .topics_con .topics-item {
  flex: 1 0 calc((100%/ 3) - 15px);
  min-width: 260px;
  position: relative;
}
#sec_list .topics_con .topics-item h4{
  padding: 10px;
}
#sec_list .topics_con .topics-item .div_bg-img {
  height: 230px;
}
#sec_list .topics_con .topics-item .item01 {
  background: url(../img/top/im_topics-item01.webp) 80% / cover no-repeat;
}
#sec_list .topics_con .topics-item .item02 {
  background: url(../img/top/im_topics-item02b.webp) 80% / cover no-repeat;
}
#sec_list .topics_con .topics-item .item03 {
  background: url(../img/top/im_topics-item03.webp) 80% / cover no-repeat;
}
#sec_list .topics_con .topics-item .topics-item_text {
  padding: 15px;
  background-color: #fff;
}
#sec_list .list_con {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 3rem;
  gap: 15px;
}
#sec_list .list_con a.link02 {
  /* margin-bottom: 1rem; */
}
/*list-end*/
/*medical,access*/
#sec_medical h3 .f_s {
  padding-left: .5rem;
}
#sec_medical,#sec_access{
  position: relative;
}
#sec_medical::before,#sec_access::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: -1;
}
#sec_medical::before,#sec_medical .div_bg-img {
  background: url(../img/top/bg-img_medical.webp) 80% / cover no-repeat;
  left: 0;
  right: 30%;
}
#sec_access::before,#sec_access .div_bg-img {
  background: url(../img/top/bg-img_access.webp) 80% / cover no-repeat;
  left: 30%;
  right: 0;
}
#sec_medical .text-item,#sec_access .text-item {
  width: 30%;
  min-width: 340px;
  padding: 60px;
  background-color: #fff;
}
#sec_medical .text-item {
  margin-left: auto;
}
#sec_access .text-item {
  margin-right: auto;
}
#sec_access .text-item {
  position: relative;
}
#sec_access .text-item .link03 {
  position: absolute;
  top: 70px;
  left: 10.5em;
}
#sec_access .link03::after {
  width: 25px;
  height: 20px;
  background:
    url(../img/common/ic_access.svg) no-repeat;
}
/*medical,access-end*/
/*message*/
#sec_message .text_st01{
  font-size: 2rem;
  line-height: 3rem;
}
/*message-end*/
#sec_message,#sec_instagram {
  position: relative;
  z-index: 10;
}
/*instagram*/
#sec_instagram {
  background-color: #fff;
  padding: .5rem;
}
#sec_instagram h3.top_h3 {
  margin-bottom: 0;
}
#sec_instagram .ul_instagram {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
#sec_instagram .ul_instagram li a{
  position: relative;
}
#sec_instagram .ul_instagram li a::before {
  content: "";
  position: absolute;
  width: 25px;
  height: 25px;
  bottom: 8px;
  right: 8px;
  background: url(../img/common/ic_instagram_w.svg) no-repeat;
  background-size: contain;
  transition: all 0.5s;
  opacity: 1;
  z-index: 100;
}
#sec_instagram .ul_instagram li a:hover::before {
  opacity: 0;
}
#sec_instagram .ul_instagram li a {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
#sec_instagram .ul_instagram li img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
/* recruit */
#div_recruit {
  width: 100%;
  padding: 1rem;
  position: absolute;
  top: -70px;
  right: 0;
  background-color: #E7D3C1;
  z-index: 1;
}
#div_recruit h3 {
  font-size: 24px;
}
#div_recruit p {
  margin-bottom: 0;
}
#div_recruit .div_recruit_item {
  position: relative;
}
#div_recruit .div_recruit_item .link03 {
  position: absolute;
  top: -3px;
  left: 8.8em;
}
/* footer */
.footer_wrap .div_box01 {
	width: 80%;
	max-width: 800px;
    background-color: #fff;
    text-align: center;
	padding: 30px;
}
@media screen and (max-width: 767px) {
  #sec_news .link_wrap a:not(:last-of-type){
    margin-bottom: 1rem;
  }
  #sec_news #art_news,
  #sec_news #art_topics {
    /* width: 95%; */
    margin: 1rem auto 1rem;
  }
  /*
  #sec_news #art_news {
  height: 250px;
  overflow-y: scroll;
}
  */
  #sec_news .news_wrap h3 span {
    font-size: 0.8em;
  }
  #sec_news .link_wrap a {
    width: 100%;
    max-width: 500px;
    margin: auto;
    display: block;
  }
  #sec_time {
    margin-top: 30px;
    padding-top: 35px;
    position: relative;
  }
  #sec_time .bg-img {
    padding-top: 10px;
  }
  #sec_time .time_table {
    margin-bottom: -30px;
  }
  #sec_list {
    padding-top: 30px;
  }
  #sec_list .topics_con .topics-item {
    margin-bottom: 30px;;
  }
  #sec_list .list_con a.link02 {
    flex: 1 0 calc((100% / 2) - 15px);
  }
  #sec_medical .text-item,#sec_access .text-item {
    width: 100%;
    padding: 30px;
  }
  #sec_medical::before,#sec_access::before{
    display: none;
  }
  #sec_access .text-item .link03 {
    top: 42px;
  }
  #sec_list .topics_con .topics-item .div_bg-img ,#sec_medical .div_bg-img,#sec_access .div_bg-img {
    height: 200px;;
  }
  #sec_message h2.main-text {
    text-align: center;
    margin-bottom: 30px;
  }
  #sec_message p {
    font-size: 18px;
  }
  #sec_instagram {
    padding-bottom: 1rem;
  }
  #sec_instagram h3 {
    height: 65px;
    line-height: 65px;
    text-align: center;
  }
  #sec_instagram .ul_instagram li {
    position: relative;
    flex: 0 0 32.6%;
    padding-bottom: 32.6%;
    margin-top: 1%;;
  }
  #sec_instagram .ul_instagram li:nth-child(2),#sec_instagram .ul_instagram li:nth-child(5) {
    margin-left: 1%;
    margin-right: 1%;
  }
  #div_recruit {
    position: relative;
    top: 0;
  }
  #div_recruit .link03 {
    top: 0;
  }
.footer_wrap .div_box01 .link03 {
	display: block;
    margin: 1em;
}
}
@media screen and (min-width: 768px) {
  .sec_wrap_bg {
    padding-bottom: 180px;
  }
  .link01,.link03 {
    font-size: 16px;
  }
  #sec_news #art_news,
  #sec_news #art_topics {
    width: 100%;
    /* margin-left: 30px; */
    margin-bottom: 30px;
  }
  #sec_news #art_topics {
    margin-bottom: 1.5rem;
  }
  #sec_news .news_wrap h3{
    width: 220px;
  }
  #sec_time .time_table {
    margin-bottom: -45px;
  }
  #sec_time .time_table table{
    font-size: 1.2rem;
  }
  #sec_time .time_table .table01 {
    width: 500px;
  }
  #sec_list .topics_con .topics-item:first-of-type h4{
    background-color: #F8F2ED;
  }
  #sec_list .topics_con .topics-item:not(:first-of-type) h4{
    background-color: #F3ECE6;
  }
  #sec_list .topics_con .topics-item h4{
    display: inline;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
  }
  #sec_list .topics_con .topics-item .topics-item_text {
    min-height: 130px;
  }
  #sec_list .list_con a.link02 {
    flex: 1 0 calc((100% / 5) - 15px);
    min-width: 200px;
    width: 18%;
  }
  #sec_message p {
    font-size: 20px;
  }
  #sec_message h2,#sec_message p{
    text-align: center;
  }
  #sec_instagram h3 {
    position: relative;
    width: 30%;
    text-align: center;
  }
  #sec_instagram .instagram_con {
    width: 70%;
  }
  #sec_instagram h3 span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
  }
  #sec_instagram .ul_instagram li {
    position: relative;
    flex: 0 0 16%;
    padding-bottom: 16%;
  }
  #div_recruit {
    max-width: 700px;
  }
	.footer_wrap .div_box01 p {
		text-align: center;
	}
}