@charset "utf-8";

/* ==========================
  初期設定
========================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}
img {
  width: 100%;
}
body {
  background-color: #ddd;
}

/* ==========================
  SVGアニメーション
========================== */

/* svg共通 */
.ly_svgWrap {
  text-align: center;
}
.svg_freefuntimes {
  width: 400px;
  height: auto;
  max-width: 100%;
}
.ly_svgWrap + * {
  margin-top: 20px;
}

/* パスで一筆書きしたインラインSVG */
.st1 {
  display: inline;
}
.st2 {
  fill: none;
  stroke: #fff;
  stroke-width: 11;
  stroke-miterlimit: 10;
  stroke-dasharray: 2580px;
  animation: mask_animation 3s ease-in forwards;
}
@keyframes mask_animation {
  0% {
    stroke-dashoffset: 2580px;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
.st3 {
  fill: none;
  stroke: #fff;
  stroke-width: 10;
  stroke-miterlimit: 10;
  stroke-dasharray: 50px;
  stroke-dashoffset: 50px;
  animation: mask_animation2 0.3s ease-in forwards;
  animation-delay: 3.3s;
}
@keyframes mask_animation2 {
  0% {
    stroke-dashoffset: 50px;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
.st4 {
  fill: none;
  stroke: #fff;
  stroke-width: 12;
  stroke-miterlimit: 10;
  stroke-dasharray: 20px;
  stroke-dashoffset: 20px;
  animation: mask_animation3 0.3s ease-in forwards;
  animation-delay: 3.3s;
}
@keyframes mask_animation3 {
  0% {
    stroke-dashoffset: 20px;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
.cursive {
  mask: url(#mask);
}

/* 左から右に要素が表示されるアニメーション */
.line2 {
  fill: none;
  stroke: #ffffff;
  stroke-width: 120;
  stroke-miterlimit: 10;
  stroke-dasharray: 620px;
  animation: mask_lineanimation 3s ease-in infinite;
}
@keyframes mask_lineanimation {
  0% {
    stroke-dashoffset: 620px;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
.cursive2 {
  mask: url(#mask2);
}

/* ギザギザに要素が表示されていくアニメーション */
.gizagiza2 {
  fill: none;
  stroke: #ffffff;
  stroke-width: 20;
  stroke-miterlimit: 10;
  stroke-dasharray: 7570px;
  animation: gizagiza_animation 3s ease-in infinite;
}
@keyframes gizagiza_animation {
  0% {
    stroke-dashoffset: 7570px;
  }
  100% {
    stroke-dashoffset: 0;
  }
}
.cursive3 {
  mask: url(#mask3);
}

/* ギザギザに要素が表示されていくアニメーション2 */
.rectback {
  fill: none;
  stroke: #000;
  stroke-width: 30;
  stroke-miterlimit: 10;
  stroke-dasharray: 9990px;
  animation: gizagiza_animation2 3s ease-in infinite;
}
@keyframes gizagiza_animation2 {
  0% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -9990px;
  }
}
/* safari対応 */
_:lang(x) + _:-webkit-full-screen-document,
.rectback {
  animation-direction: reverse;
  transform: rotate(180deg) scale(-1, 1);
  transform-origin: 50%;
}
/* スマホ対応 */
@media screen and (max-width: 768px) {
  .rectback {
    animation-direction: reverse;
    transform: rotate(180deg) scale(-1, 1);
    transform-origin: 50%;
  }
}

.ly_position {
  position: relative;
}
.ly_position .svg_freefuntimes {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

/* ==========================
  コンテンツの中身
========================== */
.ly_inner {
  width: 1080px;
  max-width: 100%;
  margin: 100px auto 200px;
  padding: 20px;
}
.ly_inner h2 {
  font-size: 150%;
  font-weight: bold;
  margin-bottom: 30px;
}
.ly_inner h3 {
  font-size: 110%;
  font-weight: bold;
  margin-bottom: 10px;
}
