*{
    padding:0;
    margin:0;
    font-family: "Dela Gothic One", sans-serif;
}
body{
    background-color: #ffffff;
}
#intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f5ea8a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: fadeOut 1s ease forwards;
  animation-delay: 2.8s; /* 3秒後にフェードアウト */
}

#intro-logo {
  width: 40%;
  animation: spinZoom 2.5s ease-out forwards;
}

/* 回転しながら飛び出すアニメーション */
@keyframes spinZoom {
  0% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  40% {
    opacity: 1;
    transform: scale(1.2) rotate(720deg);
  }
  70% {
    transform: scale(0.9) rotate(1080deg);
  }
  100% {
    transform: scale(1) rotate(1080deg);
  }
}

/* フェードアウト（ロゴ消える） */
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
header{
    width: 80%;
    height: 30px;
    padding: 20px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 999;
    background-color: transparent;
}
header nav ul{
    display: flex;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    padding: 0;
}
header nav ul li a{
    color: #383838;
    font-weight: bold;
    text-decoration: none;
}
#logo{
    text-align: center;
    background: repeating-conic-gradient(transparent,transparent 6deg,#f5ea8a 6deg 12deg);
    width:100%;
    height: auto;
    position: relative;
}
.rogo{
    width: 45%;
    height: auto;
    background-color: transparent;
    margin-top: 40px;
    animation: swing 1s ease-in-out infinite;
}
.star{
  position: absolute;
  width: 80px; /* 星のサイズ */
  animation: swing 1s ease-in-out infinite;
  
}
.star1 { top: 160px; left: 20%; transform: translateX(-50%); }
.star2 { top: 520px; right: 18%; transform: translateX(-50%); }
.star3 { top: 240px; left: 15%; transform: translateX(-50%); }
#nagare{
  align-items: center;
  background: #f9e900;
  color: #888888;
  display: flex;
  height: 40px;
  line-height: 40px;
  overflow:hidden;
  width: 100%;
  white-space:nowrap;
  z-index: 1;
}
#nagare ul {
  animation: flowing 20s linear infinite;
  font-size: 20px;
  font-weight: bold;
  transform:translateX(100%);
  margin: 0;
  padding: 0;
}
#nagare ul li{
  display: inline-block;
  padding-right: 10px;
}
@keyframes flowing {
  0% { transform:translateX(0); }
  100% { transform:translateX(-100%); }
}
#about h1{
    text-align: center;
    margin: 40px;
    font-size: 200%;
    color: #888888;  
    -webkit-text-stroke: 1px black;  
}
#about .S{
     color: #f9e900;
    -webkit-text-stroke: 1px black;
}
#date {
    text-align: center;
    font-size: 120%;
    color: #f9e900;
    -webkit-text-stroke: 1px black;
}
#date img{
    display: block;
    margin: 120px auto 20px;
    width: 20%;
    height: auto;
}
#shu img{
  width: 15%;
  height: auto;
  display: block;
  margin: 120px auto 0px;
}
#shutsuennsha{
  position: relative;
  margin: 0 auto;
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 左からスライド */
.fade-in.left {
  transform: translateX(-80px);
  width: 70%;
  height: auto;
  display: block;
  position: relative;
  margin: 0 auto;
}

/* 右からスライド */
.fade-in.right {
  transform: translateX(80px);
  width: 75%;
  height: auto;
  display: block;
  position: relative;
  margin: 0 auto;
}

/* 表示されたとき */
.fade-in.show {
  opacity: 1;
  transform: translateX(0);
}


.zuma {
  position: absolute;
  width: 75px; /* 星のサイズ */
  animation: swing 1s ease-in-out infinite;
}

/* 星の位置を個別に設定 */
.zuma1 { top: 240px; left: 20%; transform: translateX(-50%); }
.zuma2 { top: 550pt; right: 17%; transform: translateX(-50%); }
.zuma3 { top: 900px; right: 25%; transform: translateX(-50%); }
@keyframes swing {
  0%   { transform: rotate(0deg); }
  15%   { transform: rotate(3deg); }
  25%  { transform: rotate(6deg); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(-6deg); }
  90%   { transform: rotate(-3deg); }
  100% { transform: rotate(0deg); }
}
#ge img{
  width: 15%;
  height: auto;
  display: block;
  margin: 120px auto 0px;
}
#cm img{
  width: 15%;
  height: auto;
  display: block;
  margin: 120px auto 10px;
}
#cm video {
    width: 60%;
    height: auto;
    display: block;
    margin: 60px auto;
  }
@media screen and (max-width: 959px) {
  *{
    padding:0;
    margin:0;
    font-family: "Dela Gothic One", sans-serif;
}
body{
    background-color: #ffffff;
}
#intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f5ea8a;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  animation: fadeOut 1s ease forwards;
  animation-delay: 2.8s; /* 3秒後にフェードアウト */
}

#intro-logo {
  width: 40%;
  animation: spinZoom 2.5s ease-out forwards;
}

/* 回転しながら飛び出すアニメーション */
@keyframes spinZoom {
  0% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  40% {
    opacity: 1;
    transform: scale(1.2) rotate(720deg);
  }
  70% {
    transform: scale(0.9) rotate(1080deg);
  }
  100% {
    transform: scale(1) rotate(1080deg);
  }
}

/* フェードアウト（ロゴ消える） */
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
header{
    width: 80%;
    height: 30px;
    padding: 20px;
    position: fixed;
    top: 0;
    z-index: 999;
    margin: 0px auto;
    background-color: transparent;
}
header nav ul{
    display: flex;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    padding: 0;
}
header nav ul li a{
    color: #383838;
    font-weight: bold;
    text-decoration: none;
}
#logo{
    text-align: center;
    background: repeating-conic-gradient(transparent,transparent 6deg,#f5ea8a 6deg 12deg);
    width:100%;
    height: auto;
    position: relative;
}
.rogo{
    width: 60%;
    height: auto;
    background-color: transparent;
    margin-top: 40px;
    animation: swing 1s ease-in-out infinite;
}
.star{
  position: absolute;
  width: 50px; /* 星のサイズ */
  animation: swing 1s ease-in-out infinite;
  
}
.star1 { top: 140px; left: 12%; transform: translateX(-50%); }
.star2 { top: 310px; right: 10%; transform: translateX(-50%); }
.star3 { top: 210px; left: 7%; transform: translateX(-50%); }
#nagare{
  align-items: center;
  background: #f9e900;
  color: #888888;
  display: flex;
  height: 40px;
  line-height: 40px;
  overflow:hidden;
  width: 100%;
  white-space:nowrap;
  z-index: 1;
}
#nagare ul {
  animation: flowing 20s linear infinite;
  font-size: 20px;
  font-weight: bold;
  transform:translateX(100%);
  margin: 0;
  padding: 0;
}
#nagare ul li{
  display: inline-block;
  padding-right: 10px;
}
@keyframes flowing {
  0% { transform:translateX(0); }
  100% { transform:translateX(-100%); }
}
#about h1{
  text-align: center;
    margin: 40px;
    font-size: 180%;
    color: #383838;
}
#about .S{
     color: #f9e900;
    -webkit-text-stroke: 1px black;
}
.fade-in.left1 {
  transform: translateX(-80px);
  text-align: center;
    font-size: 160%;
    color: #f9e900;
    -webkit-text-stroke: 1px black;
}
#date img{
    display: block;
    margin: 110px auto 20px;
    width: 30%;
    height: auto;
}
#shu img{
  width: 25%;
  height: auto;
  display: block;
  margin: 120px auto 0px;
}
#shutsuennsha{
  position: relative;
  margin: 0 auto;
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 左からスライド */
.fade-in.left {
  transform: translateX(-80px);
  width: 85%;
  height: auto;
  display: block;
  position: relative;
  margin: 0 auto;
}

/* 右からスライド */
.fade-in.right {
  transform: translateX(80px);
  width: 85%;
  height: auto;
  display: block;
  position: relative;
  margin: 0 auto;
}

/* 表示されたとき */
.fade-in.show {
  opacity: 1;
  transform: translateX(0);
}


.zuma {
  position: absolute;
  width: 60px; /* 星のサイズ */
  animation: swing 1s ease-in-out infinite;
}

/* 星の位置を個別に設定 */
.zuma1 { top: 150px; left: 9%; transform: translateX(-50%); }
.zuma2 { top: 540px; right: 9%; transform: translateX(-50%); }
.zuma3 { top: 900px; right: 25%; transform: translateX(-50%); }
@keyframes swing {
  0%   { transform: rotate(0deg); }
  15%   { transform: rotate(3deg); }
  25%  { transform: rotate(6deg); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(-6deg); }
  90%   { transform: rotate(-3deg); }
  100% { transform: rotate(0deg); }
}
#ge img{
  width: 25%;
  height: auto;
  display: block;
  margin: 120px auto 0px;
}
#cm img{
  width: 25%;
  height: auto;
  display: block;
  margin: 120px auto 10px;
}
#cm video {
    width: 60%;
    height: auto;
    display: block;
    margin: 60px auto;
  }
}
@media screen and (max-width: 480px){
  *{
    padding:0;
    margin:0;
    font-family: "Dela Gothic One", sans-serif;
}
body{
    background-color: #fff;
}
#intro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;  /* ← ビューポート幅を基準に変更 */
  height: 100vh; /* ← 高さも同じく */
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #f5ea8a;
  z-index: 10000;
  animation: fadeOut 1s ease forwards;
  animation-delay: 2.8s;
  overflow: hidden; /* ← 念のためズレ防止 */
}

#intro-logo {
  width: 40%;
  max-width: 400px;  /* ← 大画面でも大きくなりすぎないように */
  min-width: 180px;  /* ← 小画面でも小さすぎないように */
  height: auto;
  animation: spinZoom 2.5s ease-out forwards;
}

/* 回転しながら飛び出すアニメーション */
@keyframes spinZoom {
  0% {
    opacity: 0;
    transform: scale(0) rotate(0deg);
  }
  40% {
    opacity: 1;
    transform: scale(1.2) rotate(720deg);
  }
  70% {
    transform: scale(0.9) rotate(1080deg);
  }
  100% {
    transform: scale(1) rotate(1080deg);
  }
}

/* フェードアウト（ロゴ消える） */
@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}
header{
    width: 80%;
    height: 30px;
    padding: 20px;
    position: fixed;
    top: 0;
    z-index: 999;
    margin: 0 auto;
    background-color: transparent;
}
header nav ul{
    display: flex;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    padding: 0;
}
header nav ul li a{
    color: #383838;
    font-weight: bold;
    text-decoration: none;
}
#logo{
    text-align: center;
    background: repeating-conic-gradient(transparent,transparent 6deg,#f5ea8a 6deg 12deg);
    width:100%;
    height: auto;
    position: relative;
}
.rogo{
    width: 80%;
    height: auto;
    background-color: transparent;
    margin-top: 40px;
    animation: swing 1s ease-in-out infinite;
}
.star{
  position: absolute;
  width: 30px; /* 星のサイズ */
  animation: swing 1s ease-in-out infinite;
  
}
.star1 { top: 105px; left: 5%; transform: translateX(-50%); }
.star2 { top: 230px; right: 2%; transform: translateX(-50%); }
.star3 { top: 150px; left: 2%; transform: translateX(-50%); }
#nagare{
  align-items: center;
  background: #f9e900;
  color: #888888;
  display: flex;
  height: 40px;
  line-height: 40px;
  overflow:hidden;
  width: 100%;
  white-space:nowrap;
  z-index: 1;
}
#nagare ul {
  animation: flowing 20s linear infinite;
  font-size: 20px;
  font-weight: bold;
  transform:translateX(100%);
  margin: 0;
  padding: 0;
}
#nagare ul li{
  display: inline-block;
  padding-right: 10px;
}
@keyframes flowing {
  0% { transform:translateX(0); }
  100% { transform:translateX(-100%); }
}
#about h1{
  text-align: center;
    margin: 30px 0 30px 0;
    font-size: 100%;
    color: #383838;
}
#about .S{
     color: #f9e900;
    -webkit-text-stroke: 1px black;
}
.fade-in.left1 {
  transform: translateX(-80px);
  text-align: center;
    font-size: 130%;
    color: #f9e900;
    -webkit-text-stroke: 1px black;
}
#date img{
    display: block;
    margin: 110px auto 20px;
    width: 40%;
    height: auto;
}
#shu img{
  width: 35%;
  height: auto;
  display: block;
  margin: 100px auto 0px;
}
#shutsuennsha{
  position: relative;
  margin: 0 auto;
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 左からスライド */
.fade-in.left {
  transform: translateX(-80px);
  width: 95%;
  height: auto;
  display: block;
  position: relative;
  margin: 0 auto;
}

/* 右からスライド */
.fade-in.right {
  transform: translateX(80px);
  width: 95%;
  height: auto;
  display: block;
  position: relative;
  margin: 0 auto;
}

/* 表示されたとき */
.fade-in.show {
  opacity: 1;
  transform: translateX(0);
}


.zuma {
  position: absolute;
  width: 40px; /* 星のサイズ */
  animation: swing 1s ease-in-out infinite;
}

/* 星の位置を個別に設定 */
.zuma1 { top: 150px; left: 5%; transform: translateX(-50%); }
.zuma2 { top: 330px; right: 6%; transform: translateX(-50%); }
.zuma3 { top: 900px; right: 25%; transform: translateX(-50%); }
@keyframes swing {
  0%   { transform: rotate(0deg); }
  15%   { transform: rotate(3deg); }
  25%  { transform: rotate(6deg); }
  50%  { transform: rotate(0deg); }
  75%  { transform: rotate(-6deg); }
  90%   { transform: rotate(-3deg); }
  100% { transform: rotate(0deg); }
}
#ge img{
  width: 35%;
  height: auto;
  display: block;
  margin: 100px auto 0px;
}
#cm img{
  width: 35%;
  height: auto;
  display: block;
  margin: 100px auto 10px;
}
#cm video {
    width: 60%;
    height: auto;
    display: block;
    margin: 60px auto;
  }
}