@charset "utf-8";


/* =Reset default browser CSS.
Based on work by Eric Meyer: http://meyerweb.com/eric/tools/css/reset/index.html
-------------------------------------------------------------- */
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, font, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td {border: 0;font-family: inherit;font-size: 100%;font-style: inherit;font-weight: inherit;margin: 0;outline: 0;padding: 0;vertical-align: baseline;}
:focus {outline: 0;}

ol, ul {list-style: none;}
table {border-collapse: separate;border-spacing: 0;}
caption, th, td {font-weight: normal;text-align: left;}
blockquote:before, blockquote:after,q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}
a img{border: 0;}
figure{margin:0}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display: block;}
/* -------------------------------------------------------------- */


/* 基本レイアウト */
body {
	margin: 0;
	font-family: "Shippori Mincho", serif;
	font-weight: 400;
	font-style: normal;
	color: #fff;
	background-color: #2C678C;
}
/* video */

.video-box {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  /* margin-bottom: 150px; */
}
.video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* overlay */

.overlay::after {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  content: "";
  background-color: #14162a;
  opacity: 0.8;
}



 /* 拡大表示アニメーション */
.logo-title {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60%;
  transform: translate(-50%, -50%) scale(0.8); 
  opacity: 0; 
  transition: opacity 1s ease, transform 2.5s ease;
}

.logo-title.show {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1); 
}

/* スクロールダウン */
.scroll {
  position: absolute;  
  right: 70px;     
  bottom: 150px;    
  writing-mode: vertical-rl;
  z-index: 10;    
}

/* 線*/
.scroll::before {
  animation: scroll 2s infinite;
  background-color: #fff;
  bottom: -115px;
  content: "";
  height: 100px;
  left: 0;
  margin: auto;
  position: absolute;
  right: 0;
  width: 1px;
}

/* 線のアニメーション */
@keyframes scroll {
  0% {
    transform: scale(1, 0);
    transform-origin: 0 0;
  }
  50% {
    transform: scale(1, 1);
    transform-origin: 0 0;
  }
  51% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
  100% {
    transform: scale(1, 1);
    transform-origin: 0 100%;
  }
}

.intro {
  background-size: cover;
  margin: 150px 0;
}
.wrapper {
	width: 1120px;
	margin: 0 auto;
}

.header_top {
	margin-bottom: 10px;
	overflow: hidden;
}

/* スライド設定 */
#slideshow {
	position: relative;
	height: 350px;
}
#slideshow img {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 1;
	opacity: 0;
}
#slideshow img.active {
	z-index: 3;
	opacity: 1;
}
#slideshow img.last-active {
	z-index: 2;
}


h2 {
	font-size: 38px;
	line-height: 1.7;
}
#what-is-miku {
  margin-top: 130px;
  padding: 0 20px;
}

/* テキストエリアとイラストの横並び*/
.welcome-text {
	font-size: 19px;
	margin-top: 20px;
	line-height: 1.5;
}
.main-text {
	margin-bottom: 25px;

}
.text-area {
  display: flex;
  justify-content: center; 
  gap: 70px;
  align-items: flex-start;
}

/* 文章＆ボタンまとめ部分 */
.text-area .text-content {
  max-width: 660px;
  text-align: left;
  display: flex;
  flex-direction: column; 
  gap: 20px; 
  color: #fff;
  font-size: 16px;     
  line-height: 2;   
}


/* ボタン */
.miku-button {
  align-self: flex-start; 
  padding: 10px 25px;
  border: 2px solid #b3ff6b;
  background-color: transparent;
  color: #b3ff6b;
  border-radius: 24px;
  font-weight: bold;
  font-size: 16px;       
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* ボタンホバー */
.miku-button:hover {
  background-color: #99ed4b;
  color: #fff;
}

/* 右側イラスト */
.illustration {
  display: flex;
  flex-direction: column;
  justify-content: center; 
  margin-top: 100px;
}

.text-area .illustration img {
  display: block;
  max-width: 560px;
  height: auto;
  border-radius:5%;
}

/********************
テーマセクション
**************************************************/
.theme-section {
  background-color: #0b1e26;
  padding: 120px 0 160px 0;
  color: #fff;
  text-align: center;
}

.theme-section .theme-title {
  font-size: 42px;
  margin-bottom: 20px;
  color: #17dddd;
}

.theme-section .theme-subtitle {
  font-size: 22px;
  margin-bottom: 50px;
}

.theme-section .theme-image img {
  max-width: 100%;
  height: auto;
}



/********************
衣装チェンジセクション
**************************************************/
.change-text, 
.enjoy-text {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s ease;
  text-align: center;
  font-size: 2rem;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
  margin-top: 120px; 

}

/* 表示時 */
.show-text {
  opacity: 1;
  transform: translateY(0);
}

/* Enjoy! */
.enjoy-text {
  transform: translateX(-100px);
}
.enjoy-text.show-text {
  transform: translateX(0);
}


/* ふわふわアニメーション */
@keyframes floatUpDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.float {
  position: absolute; 
  top: 20%; 
  width: 300px;
}

/* キャラクター1 */
.float1 {
  left: 30%;
  animation: floatUpDown 3s ease-in-out infinite;
}
/* キャラクター2*/
.float2 {
  left: 60%;
  animation: floatUpDown 4s ease-in-out infinite;
  animation-delay: 1s; 
}

/* フッター */
.footer_top {
  margin: 40px 0;
  text-align: center;
}

small {
  font-size: 12px;
}

/********************
その他のページ
**************************************************/
/* 波線の境界線 */
.cstm-wave svg {
   display: block;
}
.up-wave {
   margin-bottom: -1px !important;
}

/* 共通 スクロールするとしたから上に表示される*/
.fade-in-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.2s ease-out, transform 1.2s ease-out;
}

.fade-in-section.appear {
  opacity: 1;
  transform: translateY(0);
}
