@charset "utf-8";
/* CSS Document */

/* 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;
}

/* 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;
}
*, *:before, *:after {
box-sizing: border-box;
}
a{
  outline: none;
}
/* ------ */

body {
  margin: 0px;
  padding: 0px;
  font-family: 'メイリオ',Meiryo,'Hiragino Kaku Gothic Pro','ヒラギノ角ゴ Pro W3','ＭＳ Ｐゴシック',sans-serif;
  line-height: 1.4;
  overflow-y: scroll;
    background-color: #ffffff;
}

#wrapper{
  min-width: 1000px;
  overflow: hidden;
  text-align: center;
}

.inner{
  width: 1000px;
  margin: 0 auto;
}
button{
  outline: none;
}
/* Firefox */
button::-moz-focus-inner {
  border: 0;
}

.clearfix:after {
 visibility: hidden;
 display: block;
 font-size: 0;
 content: " ";
 clear: both;
 height: 0;
}

/*============
header
============*/
header{
  background: url("../images/header-bg.jpg") no-repeat top center;
  position: relative;
}

header .inner{
  height: 1018px;
  position: relative;
}

header .inner h1{
  position: absolute;
  top: 0;
  right: 15px;
  z-index: 2;
}

header .inner h2{
  position: absolute;
  top: 425px;
  right: -3px;
  z-index: 2;
}
header .inner .illust{
	position: absolute;
	top: 138px;
	right: 12px;
	z-index: 2;
}

header .inner .sns{
  position: absolute;
  top: 9px;
  left: 13px;
  display: flex;
  z-index: 2;
}

header .inner .sns li{
	padding-right: 10px;
}

header .inner .chara li{
    position: absolute;
    z-index: 1;
}

header .inner .chara li:nth-child(1){
    top: 282px;
    right: -376px;
	animation: balloon 1s ease-in-out infinite alternate, fadein 1s ease both;
	/*animation-delay: 1s;*/
}

header .inner .chara li:nth-child(2){
    top: 32px;
    right: -259px;
	animation: balloon 2s ease-in-out infinite alternate, fadein 1s ease both;
}

header .inner .chara li:nth-child(3){
    top: 119px;
    left: -227px;
	animation: balloon 3s ease-in-out infinite alternate, fadein 1s ease both;
}

header .inner .chara li:nth-child(4){
    top: 41px;
    left: -444px;
	animation: balloon 1.2s ease-in-out infinite alternate, fadein 1s ease both;
}

header .inner .chara li:nth-child(5){
    top: 375px;
    left: 52px;
	animation: balloon 2s ease-in-out infinite alternate, fadein 1s ease both;
}

header .inner .chara li:nth-child(6){
    top: 0;
    left: 47px;
	animation: balloon 2.5s ease-in-out infinite alternate, fadein 1s ease both;
}

header .inner .chara li:nth-child(7){
    top: 223px;
    left: 41px;
	animation: balloon 1.7s ease-in-out infinite alternate, fadein 1s ease both;
}

header .inner .chara li:nth-child(8){
    top: 62px;
    left: 114px;
	animation: balloon 1.3s ease-in-out infinite alternate, fadein 1s ease both;
}

.header-bottom{
    background: url("../images/header-bottom.png") no-repeat top center;
    height: 190px;
	position: absolute;
	width: 100%;
	bottom: 0;
	z-index: 3;
}

@keyframes fadein {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes balloon {
  0% { transform:translateY(-15px); }
  100% { transform:translateY(  0px); }
}

/* ============
cp
============*/
#cp{
  background: url("../images/cp-bg.jpg") no-repeat top center;
  position: relative;
}

#cp .inner{
  height: 788px;
  position: relative;
}
#cp .inner h3{
	padding: 52px 0 33px 0;
}
#cp .inner .cp-list{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
}

#cp .inner .cp-list li{
	padding-bottom: 15px;
}
/* ============
loading
============*/
/* ローディング画面全体を覆うスタイル */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, #25499d 0%, #0d1e5c 100%); /* 画像に合わせた明るい水色 */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
  transition: opacity 1.5s ease-out; /* 非表示時のフェードアウトアニメーション */
}

.loading-img{
	animation: ugoki 0.5s linear alternate;
}

@keyframes ugoki {
  0% { opacity: 0;  transform: translateY(50px);}
  100% { opacity: 1; transform: translateY(0);}
}

/* ローディングメッセージのスタイル */
#loading-message {
  font-size: 2em;
  color: #fff;
  margin-top: 20px;
  /* 親要素をFlexboxにして、文字を並べます */
  display: flex;
  justify-content: center;
  align-items: center;
}

#loading-message span {
  animation-name: float-char;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

/* アニメーションの遅延設定 */
#loading-message span:nth-child(1) { animation-delay: 0s; }
#loading-message span:nth-child(2) { animation-delay: 0.05s; } 
#loading-message span:nth-child(3) { animation-delay: 0.1s; }
#loading-message span:nth-child(4) { animation-delay: 0.15s; }
#loading-message span:nth-child(5) { animation-delay: 0.2s; }
#loading-message span:nth-child(6) { animation-delay: 0.25s; }
#loading-message span:nth-child(7) { animation-delay: 0.3s; }
#loading-message span:nth-child(8) { animation-delay: 0.35s; }
#loading-message span:nth-child(9) { animation-delay: 0.4s; }
#loading-message span:nth-child(10) { animation-delay: 0.45s; }


/* 文字をふわふわさせるアニメーションの定義 */
@keyframes float-char {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}
/* 文字をふわふわさせるアニメーションの定義 */
@keyframes float {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-15px); /* 垂直方向に15px浮上 */
  }
}

/* きらきらした星のエフェクト */
.star {
  position: absolute;
  background: #ffffff;
  border-radius: 50%;
  opacity: 0; /* 最初は透明 */
  animation: twinkle 1s infinite; /* アニメーションを無限に繰り返す */
}

/* 星のアニメーション定義 */
@keyframes twinkle {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  50% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0.5);
    opacity: 0;
  }
}

/* ============
footer
============*/
footer{
  background: url(../images/footer-bg.jpg) repeat-x top center;
  height: 230px;
}

footer ul{
  padding-top: 40px;
  display: flex;
  justify-content: center;
}

footer li{
  padding: 0 10px 0 0;
}

footer p{
    padding-top: 16px;
}

footer #copyright{
    font-size: 15px;
    color: #0b1d72;
    line-height: 8px;
}

/*============
wallpaper
============*/
#wallpaper{
	background: url("../images/wallpaper/wallpaper-bg.jpg") no-repeat top center;
	width: 576px;
}

#wallpaper .wp_img{
	height: 488px;
	position: relative;
}
#wallpaper h2{
	position: absolute;
}

#wallpaper .title1{
	top: 28px;
	left: 110px;
}

#wallpaper .title2{
	top: 299px;
	left: 193px;
}

#wallpaper ul{
	display: flex;
	position: absolute;
	top: 61px;
	left: 30px;
}

#wallpaper ul li{
	padding-right: 10px
}

#wallpaper p{
	position: absolute;
	top: 328px;
	left: 223px;
}

/*============
illustrator
============*/
#illustrator{
	background: url("../images/illustrator/illustrator-bg.jpg") no-repeat top center;
	width: 474px;
	height: 345px;
	position: relative;
}

#illustrator h3{
	position: absolute;
	top: 52px;
	left: 71px;
}

#illustrator h2{
	position: absolute;
}

#illustrator .title1{
	top: 17px;
	left: 120px;
}

#illustrator .title2{
	top: 146px;
	left: 94px;
}

#illustrator .title3{
	top: 146px;
	left: 293px;
}

#illustrator ul{
	display: flex;
	position: absolute;
	top: 181px;
	left: 80px;
}

#illustrator ul li{
	padding-right: 60px
}