html,
body,
a {
  cursor: none;
}

body.scrolling-to-top {
  filter: invert(1);
}

.cursor {
  position: fixed;
  top: -5px;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #e6b422;
  z-index: 1000;
  transition: width 0.5s, height 0.5s, top 0.5s, left 0.5s;
  transform: translate(0, 0);
  pointer-events: none;
}

/*aタグにホバーした時に見た目変化*/
.cursor.cursor--hover {
  top: -20px;
  left: -20px;
  width: 80px;
  height: 80px;
  background-color: rgba(255, 255, 255, .5);
}

header {
  z-index: 1;
}

@keyframes blur {
  0% {
    filter: blur(0);
  }

  20%,
  80% {
    filter: blur(10px);
  }

  100% {
    filter: blur(0);
  }
}

body.active {
  animation: blur .3s;
}

div#canvas img {
  height: 100vh;
}

#page-structure {
  height: 100vh;
}

.header-text h1,
.header-text h2 {
  font-family: "Cormorant Upright", serif;
  font-weight: 900 !important;
  text-shadow: 1px 1px 20px #333;
}

.back-block-green-bottom-right::before,
.back-block-green-bottom-right:after {
  display: none;
}

img#image {
  filter: grayscale(1);
}


@media (max-width: 768px) {

  #image {
    height: 100vh;
    object-fit: cover;
  }
}

h3#count {
  font-family: "Cormorant Upright", serif;
  font-size: 12rem;
  font-weight: bold;
  font-style: italic;
  -webkit-text-stroke: 1px #e0e0e0;
  letter-spacing: 2rem;
  color: transparent;
  will-change: transform, color;
  background-color: transparent;
  padding: 0;
  margin: 0;
  position: fixed;
  top: 35%;
  right: 0%;
  transform: rotateZ(-90deg);
  z-index: 2;
}

body.scrolling-to-top > h3#count {
  -webkit-text-stroke: 1px #fff;
  letter-spacing: 2rem;
  color: transparent;
  will-change: transform, color;
  background-color: transparent;
}

@media (max-width: 768px) {
  h3#count {
    transform: rotate(-40deg);
  }
}

#fly-text {
  color: #fff;
  text-align: center;
  width: 100vw;
  font-weight: 700;
  overflow: hidden;
  font-family: 'Montserrat', sans-serif;
  margin-top: -3rem;
  position: relative;
}


#fly-in {
  font-size: 4em;
  margin: 40vh auto;
  height: 20vh;
  position: relative;
  z-index: 2;
}

#fly-in span {
  display: block;
  font-size: .4em;
  opacity: .8;
}

#fly-in div {
  position: absolute;
  margin: 2vh 0;
  opacity: 0;
  left: 10vw;
  width: 80vw;
  animation: switch 36s linear infinite;
}

#fly-in div:nth-child(2) {
  animation-delay: 4s
}

#fly-in div:nth-child(3) {
  animation-delay: 8s
}

#fly-in div:nth-child(4) {
  animation-delay: 12s
}

#fly-in div:nth-child(5) {
  animation-delay: 16s
}

#fly-in div:nth-child(6) {
  animation-delay: 20s
}

#fly-in div:nth-child(7) {
  animation-delay: 24s
}

#fly-in div:nth-child(8) {
  animation-delay: 28s
}

#fly-in div:nth-child(9) {
  animation-delay: 32s
}

@keyframes switch {
  0% {
    opacity: 0;
    filter: blur(20px);
    transform: scale(12)
  }

  3% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1)
  }

  10% {
    opacity: 1;
    filter: blur(0);
    transform: scale(.9)
  }

  13% {
    opacity: 0;
    filter: blur(10px);
    transform: scale(.1)
  }

  80% {
    opacity: 0
  }

  100% {
    opacity: 0
  }
}

@media (max-width: 768px) {
  #fly-in {
    font-size: 3em;
    margin: 40vh auto;
    height: 25vh;
    position: relative;
  }
}

.article_container {
  overflow: hidden;
  position: relative;
}

@keyframes scroll_clock {
  0% {
    transform: translateX(-50%) rotate(0deg);
  }

  100% {
    transform: translateX(-50%) rotate(360deg);
  }

}

@keyframes scroll_clock_short {
  0% {
    transform: translateX(-50%) rotate(35deg);
  }

  100% {
    transform: translateX(-50%) rotate(395deg);
  }

}

.clock_hands {
  position: fixed;
  bottom: -5%;
  left: 50%;
  width: 80px;
  animation-name: scroll_clock;
  animation-duration: .5s;
  transform-origin: bottom;
  animation-timeline: scroll();
  animation-range: 0% 100%;
  opacity: .2;
}

.short {
  width: 40px;
  animation-name: scroll_clock_short;
}

article {
  background-image: url(img/background.jpg);
  background-size: cover;
  background-color: rgba(0, 0, 0, .5);
  background-blend-mode: darken;
  background-attachment: fixed;
  position: relative;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}

section#container {
  margin: 3rem 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  z-index: 1;
}

section#container>div {
  display: flex;
  flex-direction: column;
  width: calc(100% / 3);
}

.about_container>div>p {
  color: #fff;
  text-align: center;
  margin-bottom: 0.2rem;
  opacity: 0;
  transform: matrix(1, 0, 0, 1, 0, 100);
  transition: 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.fadein {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.7s ease-out;
}

.fadein.active {
  opacity: 1;
  transform: translateY(0);
}

.about_container h3 {
  margin-bottom: 3rem;
}

.about_container>div.fadein.active>p {
  opacity: 1;
  transform: matrix(1, 0, 0, 1, 0, 0);
  padding-bottom: 1rem;
}


.about_img {
  filter: grayscale(1);
}

h2.article_title {
  color: transparent;
  -webkit-text-stroke: 1px #e0e0e0;
  text-align: center;
  font-size: 4rem;
  font-family: "Cormorant Upright", serif;
  margin: 5rem 0;
  clip-path: inset(0 100% 0 0);
  transition: 2s cubic-bezier(0.37, 0, 0.63, 1);
  transition-property: clip-path;
}

h2.article_title.active {
  clip-path: inset(0);
}


.contents {
  max-width: 600px;
  overflow: hidden;
}

.video-wrap {
  position: absolute;
  z-index: 1;
}

@import url(https://fonts.googleapis.com/css?family=Raleway:400,500,700);

.snip {
  font-family: 'Raleway', Arial, sans-serif;
  position: relative;
  margin: 10px;
  width: 100%;
  color: #ffffff;
  text-align: left;
  background-color: #000000;
  font-size: 16px;
}

.snip * {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.4s ease-in;
  transition: all 0.4s ease-in;
}

.snip img {
  position: relative;
  max-width: 100%;
  vertical-align: top;
}

.snip figcaption {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0;
  padding: 20px 30px;
}

.snip figcaption:before,
.snip figcaption:after {
  width: 1px;
  height: 0;
}

.snip figcaption:before {
  right: 0;
  top: 0;
}

.snip figcaption:after {
  left: 0;
  bottom: 0;
}

.snip h3,
.snip h4,
.snip p {
  line-height: 1.5em;
  text-transform: unset;
}

.snip h3 {
  margin: 0 0 5px;
  font-weight: 700;
}

.snip h4 {
  color: #000;
  background-color: rgba(255, 255, 255, .5);
  font-size: 0.8em;
  display: inline-block;
  line-height: 0.9;
  font-weight: bold;
  padding: 1em 1.2em 0.9em 1.45em;
  margin-bottom: 2em;
  -webkit-font-smoothing: antialiased;
  position: absolute;
  bottom: 0;
  right: 5%;
}

.snip p {
  color: #ffffff;
  font-size: 0.8em;
  font-weight: 500;
  margin: 0 0 15px;
}

.snip a {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 1;
}

.snip:before,
.snip:after,
.snip figcaption:before,
.snip figcaption:after {
  position: absolute;
  content: '';
  background-color: #ffffff;
  z-index: 1;
  -webkit-transition: all 0.4s ease-in;
  transition: all 0.4s ease-in;
  opacity: 0.8;
}

.snip:before,
.snip:after {
  height: 1px;
  width: 0%;
}

.snip:before {
  top: 0;
  left: 0;
}

.snip:after {
  bottom: 0;
  right: 0;
}

.snip:hover img,
.snip.hover img {
  opacity: 0.8;
}

.snip:hover figcaption,
.snip.hover figcaption {
  opacity: 1;
}

.snip:hover figcaption:before,
.snip.hover figcaption:before,
.snip:hover figcaption:after,
.snip.hover figcaption:after {
  height: 100%;
}

.snip:hover:before,
.snip.hover:before,
.snip:hover:after,
.snip.hover:after {
  width: 100%;
}

.snip:hover:before,
.snip.hover:before,
.snip:hover:after,
.snip.hover:after,
.snip:hover figcaption:before,
.snip.hover figcaption:before,
.snip:hover figcaption:after,
.snip.hover figcaption:after {
  opacity: 0.1;
}

@keyframes color_effect {
  0% {
    color: #fff;
  }

  50% {
    color: #e6b422;
  }

  100% {
    color: #fff;
  }
}

.rand {
  animation: color_effect 3s cubic-bezier(0.1, -0.6, 0.2, 0);
}

article.last {
  height: 5000px;
}

@media (max-width: 768px) {
  section#container.about_container {
    flex-direction: column;
    flex-wrap: unset;
  }

  section#container.about_container>div {
    width: 100%;
    padding: 1rem;
  }
}

@media (min-width: 769px) {

  h2.article_title {
    font-size: 10rem;
    padding: 10rem 0;
  }

  .snip {
    font-family: 'Raleway', Arial, sans-serif;
    position: relative;
    width: calc(100% / 3);
    padding: 1rem;
    color: #ffffff;
    text-align: left;
    font-size: 16px;
    background-color: transparent;
    transform: skewX(15deg) translateY(0);
    opacity: 1;
  }

}