@charset "UTF-8";

/*============================================================
font-face
============================================================*/

@font-face {
  font-family: 'YakuHanJP';
  font-style: normal;
  font-weight: 400;
  src: url(fonts/YakuHanJP/YakuHanJP-Regular.woff2) format('woff2'),
  url(fonts/YakuHanJP/YakuHanJP-Regular.woff) format('woff'),
  url(fonts/YakuHanJP/YakuHanJP-Regular.eot);
}
@font-face {
  font-family: 'YakuHanJP';
  font-style: normal;
  font-weight: 500;
  src: url(fonts/YakuHanJP/YakuHanJP-Medium.woff2) format('woff2'),
  url(fonts/YakuHanJP/YakuHanJP-Medium.woff) format('woff'),
  url(fonts/YakuHanJP/YakuHanJP-Medium.eot);
}
@font-face {
  font-family: 'YakuHanJP';
  font-style: normal;
  font-weight: 700;
  src: url(fonts/YakuHanJP/YakuHanJP-Bold.woff2) format('woff2'),
  url(fonts/YakuHanJP/YakuHanJP-Bold.woff) format('woff'),
  url(fonts/YakuHanJP/YakuHanJP-Bold.eot);
}

/*============================================================
base
============================================================*/

h1 {
  font-size: 5vw;
}

li {
  list-style: none;
}

img {
  width: 100%;
  height: auto;
}

#lock {
  width: 15px;
  position: absolute;
  z-index: 9999;
  right: 25px;
}

.intro-section {
  text-align: center;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.content-section {
  --scroll-length: 1.5;
  height: calc( var(--scroll-length) * 100vh );
  width: 100%;
  font-family: 'Noto Sans JP', sans-serif;
}
.content-section .content .subheading,
.content-section .content .paragraph {
  opacity: 1;
  opacity: calc( 1 + var(--viewport-y) );
}

.figure {
  width: 100%;
  height: 100vh;
  margin: 0;
  position: absolute;
  top: 0;
  left: 0;
}
.figure > img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center center;
     object-position: center center;
}

.content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-width: 35em;
  display: grid;
  grid-template-rows: 1fr 1fr;
  color: white;
  padding: 2em;
  font-size: 2.5vmin;
}
.content * {
  text-shadow: 0 0 4vmin rgba(0, 0, 0, 0.25);
}
.content > .header {
  grid-row: 1 / 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.content > .paragraph {
  grid-row: 2 / 3;
  line-height: 1.5;
}

.heading {
  font-size: 2.75em;
  margin: 0;
}

.subheading {
  font-size: 1.25em;
  font-weight: 500;
  margin-bottom: .5em;
}

@media (min-width: 769px) {

/* スマートフォンのみ表示 */
.sp {
  display: none;
}

/* PCのみ表示 */
.pc {
  display: block !important;
}

/* PCのみ改行 */
.pcbr {
  display: inline;
}

/* スマートフォンのみ改行 */
.spbr {
  display: none;
}

}

@media (max-width: 768px) {

.sp {
  display: inline-block;
}

.pc {
  display: none !important;
}

.pcbr {
  display: none;
}

.spbr {
  display: inline;
}

h1 {
  font-size: 7vw;
}

.heading {
  font-size: 4em;
}

.subheading {
  font-size: 2em;
}

}

/* ---------------------------------- */
.figure {
  --scale: calc(.8 +
    (.2 * var(--scroll-length) * var(--visible-y))
  );
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  margin: 0;
  display: block;
  overflow: hidden;
  will-change: transform;
  -webkit-transform: scale(var(--scale));
          transform: scale(var(--scale));
}
.figure:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background-color: black;
  opacity: calc( var(--visible-y) );
}
.figure > img {
  display: block;
  will-change: transform;
  -webkit-transform: scale(calc(1 / var(--scale)));
          transform: scale(calc(1 / var(--scale)));
}

@media (min-width: 769px) {

body,
a {
  cursor: none;
}

.cursor,
.follower {
  border-radius: 50%;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.cursor {
  width: 8px;
  height: 8px;
  background-color: #000;
  z-index: 1001;
}

.follower {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(253, 254, 0, .5);
  z-index: 1000;
  transition: transform ease .1s;
  text-align: center;
}

.follower span {
  display: inline-block;
  font-size: 14px;
  font-weight: bold;
  transform: scale(0);
}

.follower.is-active {
    transform: scale(3);
}


}

a {
  color: #000;
  display: block;
  text-decoration: none;
}

*::selection {
  background: rgba(0, 0, 0, 1);
  color: #FDFE00;
}
*::-moz-selection,
*::-webkit-selection {
  background: rgba(0, 0, 0, 1);
  color: #FDFE00;
}


/* ---------------------------------- */
.char {
  display: inline-block;
  opacity: calc(  1 + (  ( var(--viewport-y) * 1.5 ) - var(--char-percent) ) );
}

*,
*:before,
*:after {
  position: relative;
  box-sizing: border-box;
}

.heading,
.intro-heading {
  font-weight: 700;
  line-height: 1.2;
}

body, html {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -.015em;
  font-family: "YakuHanJP", "Noto Sans JP", "-apple-system", BlinkMacSystemFont, "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", "Hiragino Kaku Gothic ProN", "MS PGothic", Osaka, sans-serif;
  font-feature-settings: 'palt' 1;
  -webkit-text-size-adjust: 100%;
  -ms-overflow-style:none;
  position: relative;
}
