@charset "utf-8";

/* ========================================
   scroll reveal target　
======================================== */
.fadein.amin1 {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fadein.amin1.is-show {
  opacity: 1;
  transform: translateY(0);
}

.fadein.amin1.logo {
  transition:
    opacity 0.8s ease 1s,
    transform 0.8s ease 1s;
}


/* ========================================
   文字右から左
======================================== */
.animinner {
  display: inline-block;
}

.anim1.fadein.is-show .animinner {
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  animation: title_text 1.2s forwards linear;
}

@-webkit-keyframes title_text {
  0% { width: 0%; }
  100% { width: 100%; }
}

@keyframes title_text {
  0% { width: 0%; }
  100% { width: 100%; }
}

@media (max-width: 768px) {
  .animinner {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
  }

  .anim1.fadein.is-show .animinner {
    overflow: hidden;
    position: relative;
    z-index: 100;
    clip-path: inset(0 100% 0 0);
    animation: title_clip 1.2s linear forwards;
  }

  @keyframes title_clip {
    to { clip-path: inset(0 0 0 0); }
  }
}


/* ========================================
   要素 左から右
======================================== */
.sliderightin {
  opacity: 0;
}

.sliderightin.is-show {
  animation: slideRightIn 2s cubic-bezier(.22,1,.36,1) forwards;
}

@keyframes slideRightIn {
  0% {
    opacity: 0;
    transform: translateX(80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}


/* ========================================
   要素 右から左
======================================== */
.slideleftin {
  opacity: 0;
}

.slideleftin.is-show {
  animation: slideLeftIn 2s cubic-bezier(.22,1,.36,1) forwards;
}

@keyframes slideLeftIn {
  0% {
    opacity: 0;
    transform: translateX(-80px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}


/* ========================================
   要素 ぼやけた画像から表示
======================================== */
.blur-in,
.blur-in2,
.blur-in3 {
  opacity: 0;
}

.blur-in3 {
  filter: blur(20px);
}

.blur-in.is-show {
  animation: blurFadeIn 1.2s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: 1.2s;
}

.blur-in2.is-show {
  animation: blurFadeIn2 1.7s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: 1.7s;
}

/* 左 */
.penimg2_left.blur-in3.is-show {
  animation:
    blurFadeIn 3.2s cubic-bezier(.22,1,.36,1) forwards,
    float 4s ease-in-out 1.2s infinite;
}

/* 右 */
.penimg2_right.blur-in3.is-show {
  animation:
    blurFadeIn 3.2s cubic-bezier(.22,1,.36,1) forwards,
    float 4s ease-in-out 2s infinite;
}

@keyframes blurFadeIn {
  0% {
    opacity: 0;
    filter: blur(20px);
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

@keyframes blurFadeIn2 {
  0% {
    opacity: 0;
    filter: blur(20px);
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
  }
}

@keyframes float {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}


/* ========================================
   要素 見出し
======================================== */
.midashi_anim img {
  opacity: 0;
  transition:
    opacity 0.8s ease 0.5s,
    transform 0.8s ease 0.5s;
}

.midashi_anim.is-show img {
  opacity: 1;
  animation: blurFadeIn 1.2s forwards;
}

@media (max-width: 768px) {
  .midashi_anim img {
    opacity: 0;
    transition:
      opacity 0.8s ease 0.5s,
      transform 0.8s ease 0.5s;
  }
}


/* ========================================
   要素 クロスさせる
======================================== */
.pen2 {
  position: absolute;
  left: 50%;
  top: 0;
  opacity: 0;
  transform: translateX(-50%);
  transform-origin: 50% 50%;
  will-change: transform, opacity, filter;
  filter: blur(20px);
}

.pen2.is-show-anim {
  width: 110px;
  opacity: 1;
}

/* 左右の初期位置を margin-left で持つ */
.pen2.left {
  margin-left: -360px;
}

.pen2.right {
  margin-left: 360px;
}

/* スペーサー */
.pen2-stage {
  position: relative;
  min-height: 580px;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.pen2-stage.is-fixed {
  opacity: 1;
}

.pen2-wrap {
  position: relative;
  height: 0;
  pointer-events: none;
  z-index: 0;
}

.pen2-stage.is-fixed .pen2-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
}

/* ペン登場 */
.pen2.left.is-show-anim {
  animation: penBlurInLeft 1.1s cubic-bezier(.22,1,.36,1) forwards;
}

.pen2.right.is-show-anim {
  animation: penBlurInRight 1.1s cubic-bezier(.22,1,.36,1) forwards;
}

@keyframes penBlurInLeft {
  0% {
    opacity: 0;
    filter: blur(20px);
    transform: translateX(-50%) translateY(0) rotate(0deg) scale(1.05);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateX(-50%) translateY(0) rotate(0deg) scale(1);
  }
}

@keyframes penBlurInRight {
  0% {
    opacity: 0;
    filter: blur(20px);
    transform: translateX(-50%) translateY(0) rotate(0deg) scale(1.05);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateX(-50%) translateY(0) rotate(0deg) scale(1);
  }
}

/* ふわふわ */
.pen2.float-left {
  animation:
    penBlurInLeft 1.1s cubic-bezier(.22,1,.36,1) forwards,
    penFloatLeft 4s ease-in-out 1.1s infinite;
}

.pen2.float-right {
  animation:
    penBlurInRight 1.1s cubic-bezier(.22,1,.36,1) forwards,
    penFloatRight 4s ease-in-out 1.6s infinite;
}

@keyframes penFloatLeft {
  0%   { transform: translateX(-50%) translateY(0) rotate(0deg); }
  50%  { transform: translateX(-50%) translateY(-14px) rotate(0deg); }
  100% { transform: translateX(-50%) translateY(0) rotate(0deg); }
}

@keyframes penFloatRight {
  0%   { transform: translateX(-50%) translateY(0) rotate(0deg); }
  50%  { transform: translateX(-50%) translateY(-14px) rotate(0deg); }
  100% { transform: translateX(-50%) translateY(0) rotate(0deg); }
}

/* クロス発火 */
.pen2-stage.is-cross .pen2.left {
  margin-left: 0;
  animation:
    penCrossLeft 0.8s cubic-bezier(.22,1,.36,1) forwards,
    penFloatCrossLeft 4s ease-in-out 0.8s infinite;
}

.pen2-stage.is-cross .pen2.right {
  margin-left: 0;
  animation:
    penCrossRight 0.8s cubic-bezier(.22,1,.36,1) forwards,
    penFloatCrossRight 4s ease-in-out 1.2s infinite;
}

@keyframes penCrossLeft {
  0% {
    opacity: 1;
    filter: blur(0);
    transform: translateX(-50%) translateY(0) rotate(0deg);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateX(-50%) translateY(-10px) rotate(45deg);
  }
}

@keyframes penCrossRight {
  0% {
    opacity: 1;
    filter: blur(0);
    transform: translateX(-50%) translateY(0) rotate(0deg);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: translateX(-50%) translateY(-10px) rotate(-45deg);
  }
}

@keyframes penFloatCrossLeft {
  0%   { transform: translateX(-50%) translateY(-10px) rotate(45deg); }
  50%  { transform: translateX(-50%) translateY(-24px) rotate(45deg); }
  100% { transform: translateX(-50%) translateY(-10px) rotate(45deg); }
}

@keyframes penFloatCrossRight {
  0%   { transform: translateX(-50%) translateY(-10px) rotate(-45deg); }
  50%  { transform: translateX(-50%) translateY(-24px) rotate(-45deg); }
  100% { transform: translateX(-50%) translateY(-10px) rotate(-45deg); }
}

@media (prefers-reduced-motion: reduce) {
  .pen2,
  .pen2-stage.is-cross .pen2 {
    animation: none !important;
    opacity: 1;
    filter: none;
  }
}

/* fixed開始演出 */
@keyframes focusIn {
  0%   { opacity: 0; filter: blur(20px); }
  100% { opacity: 1; filter: blur(0); }
}

@keyframes focusOut {
  0%   { opacity: 1; filter: blur(0); }
  100% { opacity: 0; filter: blur(20px); }
}

.pen2-stage.is-fixed:not(.is-cross) .pen2.fix-in-left {
  animation:
    focusIn 0.7s cubic-bezier(.22,1,.36,1) forwards,
    penFloatLeft 4s ease-in-out 0.7s infinite !important;
}

.pen2-stage.is-fixed:not(.is-cross) .pen2.fix-in-right {
  animation:
    focusIn 0.7s cubic-bezier(.22,1,.36,1) forwards,
    penFloatRight 4s ease-in-out 1.2s infinite !important;
}

.pen2-stage.is-unfixing .pen2.unfix-left {
  animation: focusOut 0.6s cubic-bezier(.22,1,.36,1) forwards !important;
}

.pen2-stage.is-unfixing .pen2.unfix-right {
  animation: focusOut 0.6s cubic-bezier(.22,1,.36,1) forwards !important;
}

@media (max-width: 768px) {
  .pen2 {
    width: 65px;
  }

  .pen2.is-show-anim {
    width: 65px;
  }

  .pen2.left {
    margin-left: -170px;
  }

  .pen2.right {
    margin-left: 140px;
  }

  .pen2-wrap {
    top: 20%;
  }

  .pen2-stage {
    min-height: 380px;
  }

  .pen2-stage.is-fixed .pen2-wrap {
    position: absolute;
    top: -240px;
    left: 0;
    width: 100%;
  }

  .pen2-stage .pen2-wrap {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }

  .pen2-stage.active_sp .pen2-wrap {
    position: fixed;
    top: 20px;
    opacity: 1;
    transform: translateY(0);
  }

  .pen2-stage.is-cross .pen2-wrap {
    position: relative;
    opacity: 1;
  }

  .pen2-stage.is-cross {
    position: relative;
    top: -220px;
    left: 0;
    right: 0;
  }
}


/* ========================================
   要素 文字バラバラ
======================================== */
.visual-title {
  --p: 0;
  --invp: 1;
  position: relative;
  height: 50vh;
}

.visual-title .piece {
  position: absolute;
}

/*
.visual-title .piece__inner {
  display: block;
  will-change: transform, opacity;
  transform:
    translate(
      calc(var(--sx, 0px) * var(--invp)),
      calc(var(--sy, 0px) * var(--invp))
    )
    rotate(calc(var(--sr, 0deg) * var(--invp)));
  opacity: calc(0.8 + (var(--p) * 0.2));
}
*/


.visual-title img {
  display: block;
  width: 100%;
  height: auto;
}


.p-text1 { 
  left: 0;
  top: 46px;
  width: 134px;
}
.p-text2 {
  left: 104px;
  top: 95px;
  width: 20px;
}
.p-text3 {
  left: 127px;
  top: 113px;
  width: 33px;
}
.p-text4 {
  left: 162px;
  top: 114px;
  width: 43px;
}
.p-text5 { left: 208px; top: 113px; width: 39px; }
.p-text6 { left: 249px; top: 93px; width: 20px; }

.p-text7 {
  left: 18px;
  top: 175px;
  width: 45px;
}
.p-text8 {
  left: 62px;
  top: 173px;
  width: 34px;
}
.p-text10 {
    left: 186px;
    top: 175px;
    width: 15px;
}
.p-text11 {
    left: 203px;
    top: 189px;
    width: 34px;
}
.p-text12 {
    left: 150px;
    top: 172px;
    width: 34px;
}
.p-text13{
    left: 97px;
    top: 172px;
    width: 16px;
}
.p-text14 {
    left: 115px;
    top: 190px;
    width: 33px;
}
.p-text15 {
    left: 237px;
    top: 187px;
    width: 36px;
}

.p-text9 {
    left: 20px;
    top: 246px;
    width: 261px;
}
.p-text16 { 
  left: 0;
  top: 0;
  width: 71px;
}


.p2-text1 {
  left: 0;
  top: 46px;
  width: 104px;
}
.p2-text2 {
  left: 75px;
  top: 116px;
  width: 35px;
}
.p2-text3 {
  left: 107px;
  top: 116px;
  width: 45px;
}
.p2-text4 {
  left: 152px;
  top: 102px;
  width: 28px;
}

.p2-text17 {
    left: 180px;
    top: 114px;
    width: 43px;
}
.p2-text18 {
    left: 225px;
    top: 113px;
    width: 39px;
}
.p2-text19 {
    left: 265px;
    top: 91px;
    width: 20px;
}

.p2-text7 {
  left: 18px;
  top: 175px;
  width: 45px;
}
.p2-text8 {
  left: 62px;
  top: 173px;
  width: 34px;
}
.p2-text9 {
    left: 20px;
    top: 246px;
    width: 261px;
}
.p2-text10 {
    left: 186px;
    top: 175px;
    width: 15px;
}
.p2-text11 {
    left: 203px;
    top: 189px;
    width: 34px;
}
.p2-text12 {
    left: 150px;
    top: 172px;
    width: 34px;
}
.p2-text13{
    left: 97px;
    top: 172px;
    width: 16px;
}
.p2-text14 {
    left: 115px;
    top: 190px;
    width: 33px;
}
.p2-text15 {
    left: 237px;
    top: 187px;
    width: 36px;
}
.p2-text16 {
  left: 0;
  top: 0;
  width: 71px;
}




@media (max-width: 768px) {
  .visual-title {
/*    width: 100%;*/
    width: 150px;
    height: 340px;
    margin: 0 auto;
  }
  .p-text16 {
        left: 0;
        top: 0px;
        width: 38px;
  }
  .p-text1 {
        left: 0;
        top: 27px;
        width: 67px;
  }
  .p-text2 {
        left: 55px;
        top: 46px;
        width: 12px;
  }
  .p-text3 {
        left: 70px;
        top: 60px;
        width: 18px;
  }
  .p-text4 {
        left: 89px;
        top: 59px;
        width: 25px;
  }
  .p-text5 {
        left: 116px;
        top: 60px;
        width: 21px;
  }
  .p-text6 {
        left: 138px;
        top: 48px;
        width: 11px;
  }
  .p-text7 {
        left: 18px;
        top: 104px;
        width: 24px;
  }
  .p-text8 {
        left: 41px;
        top: 103px;
        width: 18px;
  }
  .p-text9 {
        left: 32px;
        top: 148px;
        width: 97px;
  }
  .p-text10 {
        left: 60px;
        top: 104.3px;
        width: 8px;
  }
  .p-text11 {
        left: 68px;
        top: 111.5px;
        width: 18px;
  }
  .p-text12 {
        left: 87px;
        top: 104.3px;
        width: 17px;
  }
  .p-text13 {
        left: 105px;
        top: 104.3px;
        width: 8px;
  }
  .p-text14 {
        left: 114px;
        top: 111.5px;
        width: 18px;
}
  .p-text15 {
        left: 131px;
        top: 111px;
        width: 18px;
  }
  
/*
  .p-text1 { left: 0%; top: 0%; width: 48%; }
  .p-text2 {
        left: 37%;
        top: 7.5%;
        width: 7%;
  }
  .p-text3 {
        left: 45%;
        top: 10.2%;
        width: 12%;
  }
  .p-text4 {
        left: 58%;
        top: 10.2%;
        width: 16%;
  }
  .p-text5 {
        left: 75%;
        top: 10.2%;
        width: 14%;
  }
  .p-text6 {
        left: 90%;
        top: 5.6%;
        width: 8%;
  }
  .p-text7 {
        left: 12%;
        top: 19%;
        width: 15%;
  }
  .p-text8 {
        left: 27%;
        top: 19%;
        width: 11%;
  }
  .p-text10 {
        left: 38.5%;
        top: 18.6%;
        width: 5.5%;
  }
  .p-text11 {
        left: 45%;
        top: 21.4%;
        width: 11%;
  }
  .p-text12 {
        left: 57%;
        top: 19%;
        width: 11%;
  }
  .p-text13 {
        left: 69%;
        top: 18.6%;
        width: 5.5%;
  }
  .p-text14 {
      left: 75%;
        top: 21.4%;
        width: 11%;
}
  .p-text15 {
        left: 86%;
        top: 21.5%;
        width: 12%;
  }
  .p-text16 {
        left: 0;
        top: -8%;
        width: 27%;
  }
  
  .p-text9 {
        left: 26%;
        top: 30%;
        width: 57%;
  }
*/
  
  
  

  
  .p2-text16 {
        left: 0;
        top: -1px;
        width: 38px;
  }
  .p2-text1 {
        left: 0;
        top: 27px;
        width: 53px;
  }
  .p2-text2 {
        left: 39px;
        top: 61px;
        width: 19px;
  }
  .p2-text3 {
        left: 57px;
        top: 62px;
        width: 24px;
  }
  .p2-text4 {
        left: 81px;
        top: 55px;
        width: 15px;
  }


  .p2-text7 {
        left: 18px;
        top: 104px;
        width: 24px;
  }
  .p2-text8 {
        left: 41px;
        top: 103px;
        width: 18px;
  }
  .p2-text9 {
        left: 32px;
        top: 148px;
        width: 97px;
  }
  .p2-text10 {
        left: 60px;
        top: 104.3px;
        width: 8px;
  }
  .p2-text11 {
        left: 68px;
        top: 111.5px;
        width: 18px;
  }
  .p2-text12 {
        left: 87px;
        top: 104.3px;
        width: 17px;
  }
  .p2-text13 {
        left: 105px;
        top: 104.3px;
        width: 8px;
  }
  .p2-text14 {
        left: 114px;
        top: 111.5px;
        width: 18px;
}
  .p2-text15 {
        left: 131px;
        top: 111.5px;
        width: 18px;
  }
  
  .p2-text17 {
        left: 95px;
        top: 61px;
        width: 23px;
  }
  .p2-text18 {
        left: 118px;
        top: 61px;
        width: 20px;
  }
  .p2-text19 {
        left: 138px;
        top: 48px;
        width: 11px;
  }
  
/*
  

  .p2-text1 {
        left: 1%;
        top: 0%;
        width: 37%;
  }
  .p2-text2 {
        left: 27%;
        top: 10%;
        width: 13%;
  }
  .p2-text3 {
        left: 39%;
        top: 10.3%;
        width: 16%;
  }
  .p2-text4 {
        left: 55%;
        top: 8.2%;
        width: 10%;
  }
  .p2-text7 {
        left: 12%;
        top: 19%;
        width: 15%;
  }
  .p2-text8 {
        left: 27%;
        top: 19%;
        width: 11%;
  }
  
  .p2-text9 {
        left: 16%;
        top: 30%;
        width: 57%;
  }
  
  .p2-text10 {
        left: 38.5%;
        top: 18.6%;
        width: 5.5%;
  }
  .p2-text11 {
        left: 45%;
        top: 21.4%;
        width: 11%;
  }
  .p2-text12 {
        left: 57%;
        top: 19%;
        width: 11%;
  }
  .p2-text13 {
        left: 69%;
        top: 18.6%;
        width: 5.5%;
  }
  .p2-text14 {
      left: 75%;
        top: 21.4%;
        width: 11%;
  }
  .p2-text15 {
        left: 86%;
        top: 21.5%;
        width: 12%;
  }
  
  .p2-text16 {
    left: 0;
    top: -8%;
    width: 27%;
  }
  .p2-text17 {
        left: 65%;
        top: 10%;
        width: 16%;
  }
  .p2-text18 {
        left: 81%;
        top: 10.1%;
        width: 14%;
  }
  .p2-text19 {
        left: 95%;
        top: 7.4%;
        width: 7%;
  }
*/
}


/* ========================================
   要素 スクロールバー
======================================== */
.scroll-indicator {
  opacity: 0;
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-indicator.fadein.is-show {
  animation: blurFadeIn 1.2s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: 2s;
}

.scroll-indicator.fadein.is-hidden {
  animation: blurFadeIn 1.2s cubic-bezier(.22,1,.36,1) forwards;
  animation-delay: 1s;
}

.scroll-indicator__line {
  display: block;
  width: 1px;
  height: 50px;
  transform-origin: top;
  transform: scaleY(0);
  opacity: 0;
}

.scroll-indicator.is-line-anim .scroll-indicator__line {
  animation: scrollLineLoop 1.6s ease-in-out infinite;
}

@keyframes scrollLineLoop {
  0%   { transform: scaleY(0); opacity: 0; }
  10%  { opacity: 1; }
  60%  { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-indicator.is-line-anim .scroll-indicator__line {
    animation: none;
    transform: scaleY(1);
    opacity: 1;
  }
}

.scroll-indicator.is-hidden {
  animation: none !important;
  opacity: 0 !important;
  pointer-events: none;
}

@media (min-width: 769px) {
  .scroll-indicator.is-hidden {
    transform: translateY(-40%) !important;
  }
}

@media (max-width: 768px) {
  .scroll-indicator.is-hidden {
    transform: translateY(10px) !important;
  }
}