@charset "UTF-8";
/*==========================================
 PC［1001px~］
===========================================*/
/*------------
 mainArea
------------*/
#mainArea {
  margin-bottom: 2%;
  width: 100%;
  position: relative;
  background: rgb(227, 243, 243);
  background: linear-gradient(145deg, rgba(188, 225, 223, .4) 0%, rgba(144, 202, 252, .5) 30%, rgba(199, 210, 255, .7) 50%, rgba(209, 255, 234, 1) 100%);
  background-size: 200% 200%; /*サイズを大きくひきのばす*/
  animation: bggradient 10s ease infinite;
}
@keyframes bggradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
#mainArea .inner {
  margin: 0 autonaなんかあああ000;
  padding: 120px 0 40px;
  width: min(95%, 2500px);
  position: relative;
  z-index: 1;
}
#copyArea {
  margin: 0;
  align-self: center;
  width: max(350px, 30%);
	position: relative;
}
.copyArea-ttl {
  margin-bottom: clamp(20px, 3vw, 30px);
  font-size: clamp(30px, 3vw, 35px);
  line-height: 1.25;
  letter-spacing: 0;
}
.btm.top-main a::after {
	top: 30%;
	transform: rotate(90deg);
}
.btm.top-main a:hover::after {
	right: 15px;
	top: 35%;
}
#sliderArea {
  margin: 0;
  width: min(calc(100% - 350px), 70%);
  overflow: hidden;
}
#sliderArea .slick-list{
  border-radius: 20px;
}
#sliderArea img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 7/4;
}
/*slickの設定*/
@keyframes fadezoom {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.1);
  }
}
.slick-animation {
  animation: fadezoom 5s 0s forwards;
}
/*END slickの設定*/
.parts-circle {
  margin: auto;
  width: 150%;
  height: 150%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: -90%;
  animation: 80s linear infinite circle1;
}
@keyframes circle1 {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*------------
 infoArea　
------------*/
#infoArea {
  position: relative;
}
#infoArea::before, #infoArea::after {
  content: '';
  position: absolute;
}
#infoArea::before {
  width: 95%;
  height: 20%;
  bottom: 0;
  right: 0;
  background: linear-gradient(145deg, rgba(188, 225, 223, .4) 0%, rgba(144, 202, 252, .5) 30%, rgba(199, 210, 255, .7) 50%, rgba(209, 255, 234, 1) 100%);
  z-index: -1;
  background-size: 200% 200%;
  animation: bggradient 10s ease infinite;
}
#infoArea::after {
  width: 350px;
  height: 90px;
  background: url("../images/top-info-text.svg");
  background-repeat: repeat;
  background-repeat: no-repeat;
  top: 50%;
  left: calc((100% - 1000px)/2);
  z-index: -1;
}
.textBox {
  width: 300px;
  letter-spacing: 0;
}
.textBox p {
  line-height: 1.6;
}
.linkBox {
  width: calc(100% - 360px);
}
.linkBox-item {
  margin-bottom: 20px;
  width: calc(50% - 10px);
  height: 150px;
  background: #ddd;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
}
.linkBox-item.greeting {
  width: 100%;
  height: 300px;
}
.linkBox-item a {
  width: 100%;
  height: 100%;
  display: flex;
  background-color: #ABBCC4;
}
.linkBox-item a:hover {
  background-color: var(--line-color);
}
.linksWrap {
  position: absolute;
  width: 50%;
  height: 100%;
  transform: translateX(100%);
  z-index: 1;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition-duration: .3s;
}
.infoAreattl {
  font-weight: bold;
  font-size: 22px;
  color: #fff;
  position: relative;
  transition-duration: .3s;
}
a:hover :is(.linksWrap, .infoAreattl) {
  text-shadow: 0px 0px 5px #999;
}
.infoAreattl::after {
  content: '';
  margin-left: 10px;
  position: absolute;
  width: 20px;
  height: 20px;
  top: 5px;
  background: url("../images/icon-arrow-wh.svg");
  background-size: contain;
}
.greeting .infoAreattl {
  /*ご挨拶*/
  margin-bottom: 25px;
}
:is(.history, .staff, .student,.patient) .infoAreattl {
  position: absolute;
  margin: auto;
  margin-left: -20px;
  z-index: 1;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  left: 0;
  display: inline-block;
  text-align: center;
}
:is(.history, .staff, .student,.patient) .infoAreattl::after {
  top: 50%;
  transform: translateY(-50%);
}
.kouza {
  margin-bottom: 20px;
}
.linkBox-item a img {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  transition-duration: .3s;
  mix-blend-mode: multiply;
  object-fit: cover;
}
.linkBox-item a:hover img {
	width: 105%;
  height: 105%;
}
/*------------
 news　
------------*/
#newsArea .inner {
  background: #fff;
  border-radius: 10px;
}
#newsArea .content-ttl-h2 {
  margin: 0 auto 40px 0;
  width: 125px;
  display: inline-block;
}
#newsArea .tabContents {
	overflow: scroll;
   height: 380px;
}
/*お知らせのリスト*/
.news {
  text-align: left;
}
.news dt {
  margin: 20px 0;
  font-size: 15px;
  position: relative;
  justify-content: flex-start;
  align-items: center;
	
}
.news .new {
	margin-left: 15px;
  color: var(--main-color);
  font-size: 12px;
  font-weight: bold;
	display: inline-block;
}
.news dd {
  padding: 0 0 20px;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: solid 1px var(--line-color);
}
.news dd a {
  display: block;
	position: relative;
	text-decoration: none;
color: var(--text-color);
}
.news dd a:hover {
color: var(--main-color);
}
#newsArea .btm-text {
  margin-bottom: 0;
}
/*------------
 linksArea　
------------*/
#linksArea {
  background: #efefef;
}
.linksArea-item {
  margin-bottom: 0;
  border-radius: 20px;
  background: #fff;
}
.linksArea-item a {
  padding: 25px;
  width: 100%;
  height: 100%;
  color: var(--text-color);
  flex-direction: row-reverse;
  border-radius: 20px;
  box-shadow: 0px 10px 30px -25px rgba(8, 74, 114, .3);
  text-decoration: none;
}
.linksArea-item a:hover {
  box-shadow: 0px 10px 30px -15px rgba(8, 74, 114, .3);
}
.linksTextBox {
  width: calc(100% - 155px);
  margin-bottom: 0;
  text-align: justify;
  letter-spacing: 0;
}
.linksAreattl {
  padding-right: 35px;
  margin-bottom: 10px;
  font-weight: bold;
  font-size: 20px;
  position: relative;
}
.linksAreattl:after {
  content: '';
  width: 25px;
  height: 25px;
  background-image: url("../images/icon-arrow-black.svg");
  background-size: contain;
  position: absolute;
  right: 0;
  top: 0;
}
a[target="_blank"] .linksAreattl:after {
  background-image: url("../images/icon-blank-bk.svg");
}
.linksImgBox {
  width: 130px;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 10px;
}
.linksImgBox img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition-duration: .3s;
}
.linksArea-item a:hover img {
  transform: scale(1.1, 1.1);
}
/*==========================================
 tb［540px-1024px以下］
===========================================*/
@media screen and (max-width: 1024px) {
  /*------------
	 mainArea
------------*/
  #sliderArea {
    margin: 0 0 30px 0;
    width: 100%;
  }
  #mainArea .inner {
    flex-direction: column-reverse;
  }
  #copyArea {
    margin: 30px 0 0 0;
  }
  #copyArea {
    margin: 0 0 0 auto;
    width: auto;
  }
  .parts-circleWrap {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
  }
  .parts-circle {
    width: 270%;
    left: -180%;
  }
  /*------------
	 linksArea　
	------------*/
  .linksArea-item:first-child {
    margin-bottom: 25px;
  }
  /*------------
	 infoArea　
	------------*/
  #infoArea::after {
    transform: rotate(90deg);
    top: 190px;
    left: -160px;
    height: 90px;
  }
  .textBox {
    width: 90%;
    margin: 0 0 25px auto;
  }
  .linkBox {
    width: 90%;
    margin-left: auto;
  }
}
/*==========================================
 sp［540px以下］
===========================================*/
@media screen and (max-width: 540px) {
  /*------------
	 mainArea
------------*/
	.parts-circleWrap {
		width: 30%;
	}
  .parts-circle {
    width: 350%;
    height: 100%;
    left: -250%;
    bottom: -20%;
    top: initial;
  }
  /*------------
	 infoArea　
	------------*/
  #infoArea::before {
    height: 60%;
  }
  .linkBox {
    width: 95%;
  }
  .linksWrap {
    padding: 20px;
    height: 100%;
    width: 100%;
    transform: none;
    justify-content: flex-end;
  }
  .linkBox-item {
  	width: calc(50% - 10px);
    height: 100px;
  }
	:is(.history, .staff, .student,.patient) .infoAreattl {
	font-size: 14px;
	}
  
  /*------------
	 linksArea　
	------------*/
  .linksArea-item a {
    padding: 20px;
    flex-direction: column-reverse;
  }
  .linksTextBox {
    width: 100%;
  }
  .linksImgBox {
    margin-bottom: 10px;
    height: 100px;
    width: 100%;
  }
}