@charset "utf-8";
/* CSS Document */
body {
  background: #FFF2F9;
  color: #000210;
}
svg {
  position: fixed;
  z-index: 1;
}
#home {
  clip-path: url(#cache);
  position: fixed;
}
#red {
  fill: none;
  opacity: 0.5;
  stroke: #FCDEE8;
  stroke-width: 12;
  stroke-miterlimit: 10;
  animation: show 4s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
#blue {
  fill: none;
  opacity: 0.8;
  stroke: #F4D3E5;
  stroke-width: 12;
  stroke-miterlimit: 10;
  animation: show 4s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
#light-blue {
  fill: none;
  opacity: 0.2;
  stroke: #FE83C6;
  stroke-width: 6;
  stroke-miterlimit: 10;
  stroke-dasharray: 200;
  stroke-dashoffset: 800;
  animation: draw 4s;
  animation-fill-mode: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes show {
  0% {
    opacity: 0.15;
  }
  50% {
    opacity: 0.2;
  }
  100% {
    opacity: 0.15;
  }
}
header {
  width: 100%;
  height: 80px;
  background: #000210;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
}
footer {
  width: 100%;
  height: 30px;
  background: #000210;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 18;
  color: #FFFFFF;
  text-align: center;
  font-size: 0.8em;
}
.logo {
  height: 50px;
  margin: 15px 0 0 60px;
}
@media screen and (min-width:501px) {
  .wrapper {
    width: 1000px;
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    z-index: 10;
  }
  .left {
    width: 220px;
    margin: auto;
    padding-top: 80px;
    float: left;
  }
  .right {
    width: 500px;
    margin: auto;
    padding-top: 100px;
    padding-left: 10px;
  }
  ul#top-img li {
    width: 500px;
    height: 220px;
    position: relative;
    margin: auto;
  }
  ul#top-img li img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
  }
  #logo {
    text-align: center;
  }
  .link {
    color: #000210;
    text-decoration-line: none;
  }
  .game {
    width: 500px;
    border-bottom: 1px dotted #0e0220;
    font-family: "corporate-logo-ver2", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  .line {
    width: 500px;
    display: block;
    border-bottom: 1px dotted #FF3F98;
  }
  .icoBimage::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("img/gicon.png");
    background-size: contain;
    vertical-align: middle;
  }
  .text {
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
    font-weight: 500;
    font-size: 0.8em;
  }
  .box {
    cursor: pointer;
    height: 50px;
    margin-inline: left;
    margin-top: 20px;
    overflow: hidden;
    position: relative;
    width: 200px;
  }
  /* 画像のスタイル */
  .box img {
    height: auto;
    left: 0;
    position: absolute;
    width: 100%;
  }
  /* 1枚目の画像 */
  .box img:first-of-type {
    left: 0;
    transition: left .7s, opacity .7s;
    z-index: 1;
  }
  /* hoverすると1枚目の画像が右にスライドする */
  .box:hover img:first-of-type {
    left: 100%;
    opacity: 0;
  }
}
@media screen and (max-width:500px) {
  .wrapper {
    width: 95%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    z-index: 10;
  }
  .left {
    width: 100%;
    height: 100%;
    margin: auto;
    padding-top: 80px;
    text-align: center; /* 横方向の中央寄せ */
  }
  .right {
    width: 100%;
	  height: 100%;
  }
  ul#top-img li {
    width: 500px;
	  height: 200px;
    position: relative;
    margin: auto;
  }
  ul#top-img li img {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 100%;
    max-height: 100%;
    margin: auto;
  }
  #logo {
    text-align: center;
  }
  #official {
    width: 95%;
	  height: auto;
  }
  .twitter {
    width: 95%;
  }
  .link {
    color: #000210;
    text-decoration-line: none;
  }
  .game {
    width: 100%;
    border-bottom: 1px dotted #0e0220;
    font-family: "corporate-logo-ver2", sans-serif;
    font-weight: 700;
    font-style: normal;
  }
  .line {
    width: 500px;
    display: block;
    border-bottom: 1px dotted #FF3F98;
  }
  .icoBimage::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url("img/gicon.png");
    background-size: contain;
    vertical-align: middle;
  }
  .text {
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", "serif";
    font-weight: 500;
    font-size: 0.8em;
  }
  .box {
    cursor: pointer;
    height: 50px;
    margin-inline: 5px; /* 左右のマージンを追加 */
    margin-top: 5px;
    overflow: hidden;
    position: relative;
    width: 80px;
    display: inline-block; /* 横一列に並ぶように設定 */
  }
  /* 画像のスタイル */
  .box img {
    height: auto;
    left: 0;
    position: absolute;
    width: 100%;
  }
  /* 1枚目の画像 */
  .box img:first-of-type {
    left: 0;
    transition: left .7s, opacity .7s;
    z-index: 1;
  }
  /* hoverすると1枚目の画像が右にスライドする */
  .box:hover img:first-of-type {
    left: 100%;
    opacity: 0;
  }
}