@charset "UTF-8";
main {
  margin-top: 0;
}
main article {
  width: 100%;
}
main img.animation {
  transform: scale(1.05);
  opacity: 0;
  transition: 1s;
}
main img.animation.active {
  opacity: 1;
  transform: scale(1);
}
main #top {
  position: relative;
  margin-top: 0;
}
main #top .background {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}
main #top .background img {
  position: absolute;
  vertical-align: bottom;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: 0s;
  top: 0;
  z-index: 0;
  pointer-events: none;
  user-select: none;
  transition: 3s 1s;
  opacity: 0;
  transform: scale(1.1);
}
main #top .background p {
  position: absolute;
  text-align: center;
  width: 100%;
  z-index: 5;
  margin: 0;
  color: #fff;
  font-family: kinto-sans, sans-serif;
  font-weight: 300;
  opacity: 0;
  transition: 1s 4s;
}
main #top .background p.top {
  font-size: 1.4vw;
  top: 10px;
}
main #top .background p.tel {
  top: 10px;
  right: 20px;
  width: fit-content;
}
main #top .background p.tel span {
  display: block;
  font-size: 1.4vw;
  line-height: 2vw;
}
main #top .background p.tel span:last-child {
  font-family: din-2014, sans-serif;
  font-weight: 600;
  font-size: 2.5rem;
  margin-top: 10px;
}
main #top .background p.bottom {
  bottom: 10px;
}
main #top .background p.bottom span {
  font-size: 1.4vw;
}
main #top .background::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 4;
  background: rgb(0, 0, 0);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5046393557) 0%, rgba(170, 170, 170, 0.4990371148) 10%, rgba(255, 255, 255, 0) 15%, rgba(255, 255, 255, 0) 85%, rgba(170, 170, 170, 0.4990371148) 90%, rgba(0, 0, 0, 0.4962359944) 100%);
}
main #top .logo {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  display: block;
  width: 60vw;
  pointer-events: none;
  user-select: none;
  transition: 5s;
  opacity: 0;
}
main #top.animated .background img, main #top.animated .logo, main #top.animated p {
  transition: none;
}
main #top.show .background img {
  opacity: 1;
  transform: scale(1);
}
main #top.show .logo {
  opacity: 1;
}
main #top.show p {
  opacity: 1;
}
main .triangle {
  margin: 30px 0;
}
main .triangle .wrap {
  display: flex;
  justify-content: space-between;
  width: 200px;
  margin: 0 auto;
}
main .triangle .wrap span {
  display: block;
  width: 40px;
  height: 30px;
  background-image: url(./img/triangle.svg);
  background-position: center;
  background-repeat: no-repeat;
  transform: rotate(180deg);
}
main #about {
  display: flex;
  background: #fafafa;
  position: relative;
}
main #about .img {
  width: 50vw;
  height: 50rem;
  overflow: hidden;
  position: relative;
  z-index: 1;
}
main #about .img img {
  vertical-align: bottom;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left;
  user-select: none;
  pointer-events: none;
}
main #about .content {
  width: 50vw;
  position: relative;
}
main #about .content div {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: calc(50vw - 200px);
}
main #about .content div h2 {
  margin: 0 auto 30px auto;
}
main #about .content div p {
  line-height: 3rem;
  margin: 0 auto;
  text-align: center;
}
main #about .content div p span {
  display: inline-block;
}
main #news {
  background: #FAFAFA;
  padding: 100px 0 50px;
}
main #news .triangle {
  position: absolute;
  top: 40px;
  right: 0;
  left: 0;
  margin: 0 auto;
}
main #news h2 {
  margin: 0 auto;
}
main #news ul {
  margin: 30px auto;
  padding: 0;
  width: 1000px;
}
main #news ul li {
  list-style: none;
}
main #news ul li:not(:last-child) {
  background-image: linear-gradient(to right, #aaa, #aaa 5px, transparent 5px, transparent 8px); /* 幅2の線を作る */
  background-size: 8px 1px;
  background-position: left bottom;
  background-repeat: repeat-x;
}
main #news ul li a {
  text-decoration: none;
  display: flex;
  align-items: center;
  height: 80px;
  transition: 0.3s;
}
main #news ul li a p {
  margin: 0;
  position: relative;
}
main #news ul li a p:nth-child(1) {
  text-align: center;
  font-family: din-2014, sans-serif;
  font-weight: 600;
  vertical-align: center;
  padding: 0 20px;
}
main #news ul li a p:nth-child(2) {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: kinto-sans, sans-serif;
  font-weight: 300;
  bottom: 2px;
  padding-right: 20px;
}
main #news ul li a:hover {
  background: rgba(85, 85, 85, 0.0666666667);
}
main #parallax {
  margin-top: 0;
  width: 100%;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  opacity: 0;
  transition: 1s;
  background-image: url(https://kaigo-enmusubi.jp/material/img/IMG_3068.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}
main #parallax.active {
  opacity: 1;
}
main #parallax::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.3333333333) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.3333333333) 75%), linear-gradient(45deg, rgba(255, 255, 255, 0.3333333333) 25%, transparent 25%, transparent 75%, rgba(255, 255, 255, 0.3333333333) 75%);
  background-color: rgba(85, 85, 85, 0.3333333333);
  background-size: 4px 4px;
  background-position: 0 0, 2px 2px;
}
main #access {
  margin: 100px 0;
}
main #access h2 {
  margin: 0 auto;
}
main #access .map {
  width: 1000px;
  border: none;
  margin: 30px auto 0;
  aspect-ratio: 1.6/1;
  position: relative;
}

footer {
  margin: 0;
}

@media (max-width: 1300px) {
  main #top .background p span {
    display: block;
    font-size: 2.1vw;
  }
  main #about {
    margin-top: 0;
  }
  main #about .content div {
    width: calc(50vw - 80px);
  }
  main #about .content div h2 {
    margin-bottom: 20px;
  }
  main #about .content div p {
    line-height: 40px;
  }
  main #about .content div .link {
    margin-top: 20px;
  }
  main #news {
    margin-top: 0;
    padding: 50px 0;
  }
  main #access {
    margin: 50px 0;
  }
  main #access .footprint {
    display: none;
  }
}
@media (max-width: 1050px) {
  main #top .background p.top, main #top .background p.tel {
    display: none;
  }
  main #top .background p.bottom span {
    font-size: 2vw;
  }
  main #about .img {
    width: 100%;
    height: fit-content;
  }
  main #about .content {
    width: 70vw;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(250, 250, 250, 0.8666666667);
  }
  main #about .content div {
    width: calc(100% - 80px);
    margin: 0 auto;
  }
  main #news {
    padding: 50px 0;
  }
  main #news .triangle {
    display: none;
  }
  main #news ul {
    margin: 30px auto 0;
    width: calc(100% - 100px);
  }
  main #news .link {
    margin-top: 10px;
  }
  main #parallax {
    height: 250px;
  }
  main #access {
    margin-top: 50px;
  }
  main #access .map {
    width: 100%;
    margin-top: 30px;
  }
}
@media (max-width: 800px) {
  main #top .background p {
    display: none;
  }
  main #top .logo {
    width: 90vw;
  }
  main #about {
    display: block;
  }
  main #about .img {
    width: 100%;
    height: 300px;
  }
  main #about .content {
    width: 100%;
    position: relative;
    padding-top: 0;
  }
  main #about .content div {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: 90vw;
    margin: 0 auto;
    margin-top: 50px;
    display: block;
  }
  main #about .content div p {
    text-align: center;
  }
  main #news {
    padding: 50px 0 30px;
    margin-top: 0;
  }
  main #news ul {
    width: 90vw;
  }
  main #parallax {
    background-attachment: local;
  }
  main #access {
    width: 100%;
    margin-top: 30px;
  }
  main #access .map {
    margin-top: 30px;
  }
}