@charset "UTF-8";

/* ------- Reset CSS */
@import url("normalize.css");

/********************
共通
************************************************************/
* {
  box-sizing: border-box;
}
/* https://developer.mozilla.org/ja/docs/Web/CSS/box-sizing */

body {
  font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium",
    "游ゴシック", "Yu Gothic", sans-serif;
  background-image: url(../images/img-background.svg);
  /* 天地左右の中央に配置 */
  background-position: center center;
  /* タイル状に繰り返し表示しない */
  background-repeat: no-repeat;
  /* コンテンツの高さが画像の高さより大きい時、動かないように固定 */
  background-attachment: fixed;
  /* 表示するコンテナの大きさに基づいて、背景画像を調整 */
  background-size: cover;
  /* 背景画像が読み込まれる前に表示される背景のカラー */
  background-color: #ffffff;
}

/* 共通　ヘッダー・メインナビゲーション */
.header {
  width: 100%;
  background-color: #ffffff;
  padding-bottom: 4px; /* 增加白色区域高度 */
}
.header-wrapper {
  width: 960px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  
}
/* .header-logo {
  width: 50%;
} */
.header-logo h1 {
  margin: 10px 0 0 0;
}
.header-logo img {
  margin-left: 20px;
  margin-bottom: -10px;/*logo下方の余白を調整 */
  width: 180px;
  height: auto;
}

.logo-wrapper {
  position: relative; /* 设定定位基准 */
  display: inline-block;
}

.logo-star {
  position: absolute;
  top: 24%;     /* 位置 */
  left: 18%;   /* 位置 */
  width: 46px !important;  /* 宽度 */
  object-fit: contain;        /*   SVG 也能正确显示 */
  z-index: 10; /* 确保星星在 logo 上方 */
  animation: rotateStar 4.5s cubic-bezier(0.44, -0.02, 0.46, 0.98) infinite; /* 添加缓动效果 */
}

/* 星星旋转动画 */

@keyframes rotateStar {
  0% {
    transform: rotate(0deg) scale(0.5); /* 保持缩放效果 */
  }
  30% {
    transform: rotate(360deg) scale(0.5); /* 保持缩放效果 */
  }
  100% {
    transform: rotate(360deg) scale(0.5); /* 保持缩放效果 */
  }
}


.navigation-main {
  width: 48%; /* nav间距 */
  margin-right: 6px;
}
.navigation-main ul {
  margin: 0;
  display: flex;
  justify-content: space-between;
}
.navigation-main ul li {
  font-size: 18px;
  font-weight: bold;
  margin: 0;  /* 覆盖normalize.css中的默认margin */
  height: auto;  /* 让高度自适应内容 */
  display: flex;  /* 使用flex布局 */
  align-items: center;  /* 垂直居中 */
}
.navigation-main ul li a {
  text-decoration: none;
  color: #000000;
  transition: 0.3s;
  display: flex;  /* 使用flex布局 */
  align-items: center;  /* 垂直居中 */
  height: 19px;  /* 让高度自适应内容 */
  padding: 0;  /* 移除内边距 */
  line-height: 1;  /* 重置行高 */
}
.navigation-main ul li a:hover {
  color: #ba2bde;/* nav字 */
}



.nav-label {
  position: relative;
  width: 100px;/* 现在的nav间距 */
  /* display: inline-block; */
  height: 27px;        /* 裁切容器高度 */
  overflow: hidden;  
    /* 剪切出界文字 */
  margin-top: 10px ;    /* 在这里调整整体向下移动的距离 */
}

.nav-label .text {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  line-height: 27px;
  text-align: center;
  transition: transform 0.3s ease;
}

/* 初始状态 */
.nav-label .current {
  transform: translateY(0%);
}
.nav-label .hover {
  transform: translateY(100%); /* 初始在下方，未显示 */
}

/* 悬浮时切换两者位置 */
.nav li a:hover .current {
  transform: translateY(-100%);
}
.nav li a:hover .hover {
  transform: translateY(0%);
}



/* 共通　フッター */
.footer {
  width: 100%;
  height: 200px;
  margin-top: 100px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  background-color: #F3F3F3;
}
.footer-navigation {
  width: 100%;
}
.footer-navigation ul {
  padding-left: 0;
  display: flex;
  justify-content: center;
}
.footer-navigation ul li {
  margin: 0 40px;
  font-size: 14px;
  font-weight: bold;
}
.footer-navigation ul li a {
  text-decoration: none;
  color: #000000;
  transition: 0.3s;
}
.footer-navigation ul li a:hover {
  color: #ba2bde;/* footer字 */
}
.footer-copyright {
  color: #000000;
}

/********************
index.html 
**************************************************/
/* index.html　メインビジュアル */
.main-visual {
  width: 100%;
  height: 645px;            /* 自定义高度 */
  overflow: hidden;         /* 超出隐藏 */
  position: relative;
  
}

.main-visual img {
  position: absolute;
  height: 100%;             /*  保证图片铺满容器高度 */
  animation: scrollX 60s linear infinite; /* 控制速度（来回） */
  /* left: -80px;  */
  /* 位置向左移动 */
}

/* 首页横条 */
.section-divider {
  position: relative;
  width: 100%;
  height: 30px;
  background-color: #00C0FF; /* 主条底色 */
  overflow: hidden;
}

@keyframes scrollX {
  0% {
    left: 0px;
  }
  50% {
    left: -1200px; /* 移动到最左边 */
  }
  100% {
    left: 0px;    /* 返回原位 */
  }
}


.link-button {
  position: absolute;
  right: 10%;
  transform: translateX(50%) skewX(-35deg); /* 倾斜效果 */
  background-color: rgb(255, 238, 0);
  color: #00C0FF;
  font-weight: bold;
  border: none;
  height: 100%;
  padding: 0 40px;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.link-button .link-text {
  transform: skewX(35deg); /* 文字反向抵消倾斜 */
  font-size: 14px;
}

.arrow-icon {
  transform: skewX(35deg); /* 图标也抵消倾斜 */
  margin-left: 8px;
  width: 16px;
  height: 16px;
  stroke: #00C0FF;
}



/* index.html イントロテキスト部分 */
.text-intro {
  width: 960px;
  padding: 40px;
  margin: 0 auto 40px;
  background-color: rgb(255, 255, 255);
}
.text-intro p {
  font-size: 15px;
  font-weight: bold;
  line-height: 1.75;
  color: #6a6a6a;
}

/* index.html バナーエリア */
.feature-area {
  /* width: 100%; */
  width: 960px;
  margin: 0 auto 50px;
  display: flex;
  justify-content: space-around;
  background-color: rgb(255, 255, 255);
}
.feature-area-section {
  width: 30%;
  padding: 20px;
}
.feature-area-section h2 {
  margin: 5px;
  font-size: 22px;
  text-align: center;
}
.feature-area-section img {
  width: 100%;
}
.feature-area-section a img {
  transition: opacity 0.3s;
}
/* .feature-area-section a:hover img {
  opacity: 0.6;
} */
.feature-area-section a {
  text-decoration: none;
  color: #000000;

  transition: 0.3s;
}
.feature-area-section a:hover {
  color: #ba2bde;/* 首页下面三个图标的字 */
}

/********************
その他のページ
**************************************************/
/* 共通 */
.main-visual-secondpage {
  text-align: center;
  width: 100%;
  margin-bottom: 40px;
  background-color: #f3f3f300;
}
.main-visual-secondpage img {
  width: 960px;
}
.content-wrapper {
  width: 960px;
  margin: auto;
  padding: 40px;
  display: flex;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.8);
}
.content-wrapper h2 {
  font-size: 42px;
  font-weight: bold;
  color: #34a0ff;
}

/* STORY page *********************/
.content-text-story {
  width: 50%;
}
.content-text-story p {
  margin-top: 40px;
  font-size: 16px;
  color: #000000;
  line-height: 1.75;
  text-align: justify;
}
.content-img-story {
  width: 50%;
  margin-top: 140px;
}
.content-img-story img {
  padding: 40px 10px 20px 40px;
  width: 100%;
}

/* CHARACTER page *********************/
.content-text-character {
  width: 50%;
}
.content-text-title-character {
  margin: 0;
  font-size: 32px;
  font-weight: bold;
  color: #000000;
  line-height: 1.2;
}
.content-text-secondtitle-character {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
  color: #41a3ff;
}
.content-text-body-character {
  margin-top: 40px;
  font-size: 16px;
  color: #000000;
  line-height: 1.75;
  text-align: justify;
}
.content-text-body-character2 {
  margin-top: 40px;
  font-size: 14px;
  color: #41a3ff;
  line-height: 1.75;
  text-align: justify;
}
.content-img-character {
  width: 30%;
}
.content-img-character img {
  padding: 10px 10px 20px 40px;
  width: 100%;
  height: auto;
}


/* MANGA page *********************/

.content-img-manga {
  width: 50%;
}
.content-wrapper img {
  padding: 50px 10px 0px 10px;
  width: 100%;
}
.content-text-wrapper-manga {
  width: 960px;
  margin: auto;
  padding: 20px 60px 80px 60px;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.8);
}
.content-wrapper-manga p {
  margin-top: 40px;
  font-size: 16px;
  color: #000000;
  line-height: 1.75;
  text-align: justify;
  margin-bottom: 2em; /* 增加段落之间的间距 */
}
