/* ==========================================================================
Foundation
========================================================================== */
/* Reset
----------------------------------------------------------------- */
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input, button, textarea, select {
  background: none;
  border: none;
  border-radius: 0;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

/* Base
	----------------------------------------------------------------- */
html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  color: #fff;
  font-family: "Hiragino Sans", "Yu Gothic", sans-serif;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
}

@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
}

a {
  opacity: 1;
  text-decoration: none;
  color: #000;
  cursor: pointer;
  -webkit-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

.is-pc a:hover {
  opacity: 0.7;
  -webkit-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

img {
  vertical-align: bottom;
  max-width: 100%;
  height: auto;
}

/* ==========================================================================
	Layout
========================================================================== */
#wrapper {
  position: relative;
  overflow: hidden;
}

#content {
  max-width: 375px;
  margin: 0 auto;
}

@media screen and (min-width: 769px) {
  #content {
    max-width: 600px;
  }
}

/* ==========================================================================
	Object
========================================================================== */
/* Component
----------------------------------------------------------------- */
/* Project
----------------------------------------------------------------- */
.p-text {
  position: relative;
  padding: 0 35px;
  z-index: 10;
}

.p-text__title {
  font-size: 32px;
  line-height: 40px;
  color: #fff;
  opacity: 0.85;
  font-weight: 700;
  padding: 100px 0 60px;
}

.p-text__title img {
  width: 100%;
  height: auto;
}

.p-text__title > span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.is-pc .p-text__title {
  font-weight: 600;
}

.p-text__body {
  font-weight: 600;
  font-size: 20px;
  text-align: justify;
  line-height: 400%;
  color: #fff;
  opacity: 0.85;
}

@media screen and (min-width: 769px) {
  .p-text__body {
    letter-spacing: 0.05em;
  }
}

.p-catch {
  position: relative;
  padding: 0 35px;
  z-index: 11;
  max-width: 375px;
  margin: 150px auto 100px;
}

.p-catch__copy {
  opacity: 0.85;
}

.p-catch__copy img {
  width: 100%;
  height: auto;
}

.p-catch__logo {
  margin-top: 30px;
  text-align: center;
  opacity: 0.85;
}

.p-greeting {
  position: relative;
  padding: 0 35px;
  z-index: 11;
  max-width: 375px;
  margin: 0 auto;
  font-weight: 700;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.p-greeting p {
  margin-top: -40%;
  font-size: 32px;
  -ms-writing-mode: tb-rl;
  -webkit-writing-mode: vertical-rl;
          writing-mode: vertical-rl;
  line-height: 40px;
  letter-spacing: 0.2em;
  padding-right: 60px;
}

.p-greeting p strong {
  display: block;
}

.p-greeting p strong + strong {
  padding-top: 3em;
}

.p-greeting p span {
  margin-right: 20px;
  display: block;
  font-size: 20px;
  text-align: end;
}

.p-gradient {
  position: fixed;
  height: 100%;
  width: 100%;
  z-index: 1;
  background: -webkit-gradient(linear, left top, left bottom, from(#150d52), color-stop(41.7%, #cb213c), to(#ce7f00));
  background: linear-gradient(#150d52 0%, #cb213c 41.7%, #ce7f00 100%);
  -webkit-transition: -webkit-transform 3s 0.1s;
  transition: -webkit-transform 3s 0.1s;
  transition: transform 3s 0.1s;
  transition: transform 3s 0.1s, -webkit-transform 3s 0.1s;
}

.p-gradient:after {
  content: '';
  display: block;
  position: absolute;
  width: 100%;
  height: 300px;
  bottom: -300px;
  background: #ce7f00;
}

.p-mask {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background: #fff;
  top: 0;
  left: 0;
  -webkit-transition: opacity 2s;
  transition: opacity 2s;
  pointer-events: none;
}

.p-mask.is-disable {
  opacity: 0;
}

.p-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  margin-left: -120px;
  margin-top: -58px;
  z-index: 10;
  width: 240px;
  height: 116px;
  background-image: url(/assets/img/img-flare.png);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: 667px 523px;
  -webkit-mask: url(/assets/img/logo.svg);
          mask: url(/assets/img/logo.svg);
  -webkit-mask-size: cover;
          mask-size: cover;
}

.p-overlay {
  position: fixed;
  z-index: 20;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: url(/assets/img/img-paper.jpg) repeat left top;
  mix-blend-mode: overlay;
}

.p-cloud {
  position: fixed;
  width: 163px;
  height: 80px;
  z-index: 5;
  background: url(/assets/img/img-cloud.svg) no-repeat left top/cover;
  mix-blend-mode: overlay;
  left: 100%;
  top: 0;
}

.p-cloud.ext-01 {
  left: 50%;
  margin-left: -249.5px;
  top: -8px;
  opacity: 0.5;
}

.p-cloud.ext-02 {
  left: 50%;
  margin-left: 86.5px;
  top: 147px;
  opacity: 0.5;
}

.p-cloud.ext-03 {
  left: 50%;
  margin-left: -249.5px;
  top: 269px;
  opacity: 0.5;
}

.p-cloud.is-moving {
  left: 0;
  -webkit-transition: all 20s linear;
  transition: all 20s linear;
  margin-left: -163px;
}

.p-sun {
  width: 277px;
  height: 277px;
  z-index: 8;
  background: url(/assets/img/img-sun.svg) no-repeat center center/contain;
  position: fixed;
  left: 50%;
  margin-left: -138.5px;
  bottom: -93px;
}

.p-mountain {
  position: fixed;
  left: 50%;
  margin-left: -250px;
  bottom: calc( ( 10 / 812 * 100%) * -1);
  z-index: 15;
  background: url(/assets/img/img-mountain.svg) no-repeat center bottom;
  background-size: 500px 111px;
  width: 500px;
  height: 0;
  padding-top: 110px;
}

.p-mountain:after {
  content: '';
  display: block;
  position: absolute;
  background: url(/assets/img/img-cows.svg) no-repeat center center/contain;
  width: 110px;
  height: 66px;
  right: 119px;
  bottom: 78px;
}

canvas {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
}

/* Utility
----------------------------------------------------------------- */
@media screen and (min-width: 751px) {
  .u-sp_only {
    display: none;
  }
}

@media screen and (max-width: 750px) {
  .u-pc_only {
    display: none;
  }
}

.js-inview {
  opacity: 0;
  -webkit-transform: translate(0, 30px);
          transform: translate(0, 30px);
  -webkit-transition: all 1.5s;
  transition: all 1.5s;
}

.js-inview.is-inview {
  -webkit-transform: translate(0, 0);
          transform: translate(0, 0);
  opacity: 1;
}
