@charset "UTF-8";
html {
  font-family: "dnp-shuei-mgothic-std", sans-serif;
  font-weight: 400;
  font-style: normal;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #353535;
}

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

#container {
    position: absolute;
    top: 80px; /* ヘッダーの高さに合わせて調整 */
    left: 0;
    width: 100vw;
    height: calc(100vh); /* ヘッダー部分を引いた高さ */
      pointer-events: none;
}

img.sakura {
    position: absolute;
    cursor: pointer;
    animation: fall 10s linear 1;  /* 花びらのアニメーション */
}

/* モーダルウィンドウのスタイル */
.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    margin: 20px auto;
    width: 70%;
    max-width: 550px;
   top:50%;
  left: 50%;
        display: flex;
        align-items: center; /* 縦方向の中央揃え */
        justify-content: center; /* 横方向の中央揃え */
}

@media screen and (max-width: 768px) {
.modal-content {
    width: 90%;
}}

#modalCaption {
    text-align: center;
    color: #ccc;
    padding: 10px;
}

.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #ccc;
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
}

/* 花びらの落下アニメーション */
@keyframes fall {

    to {
        transform: translateY(150vh) rotate(75deg);
    }
}

/* 渡辺追加分 */
body{
  background:linear-gradient(to right, #a2c2e8, #6ab7e7);
}
h1{
	padding: 10px;
	font-size: 54px;
	text-align: center;
	  color: #FFFF51;
  text-shadow:2px 2px 0 #000, -2px -2px 0 #000,
              -2px 2px 0 #000, 2px -2px 0 #000,
              0px 2px 0 #000,  0-2px 0 #000,
              -2px 0 0 #000, 2px 0 0 #000;
}
@media screen and (max-width: 768px) {
h1{	padding: 5px;
	font-size: 42px;
	line-height: 64px;
	margin-top: 30px;
	}}
h2{
	text-align: center;
	color: #FFF;
	font-size: 36px;
	line-height: 48px;
}

.result-entry {
	font-size: 30px;
	line-height: 48px;
}

.chara_detail {
	font-size: 24px;
	line-height: 32px;
}


@media screen and (max-width: 768px) {
h2{
	font-size: 24px;
	line-height: 30px;
	}
.chara_detail {
	font-size: 18px;
	line-height: 24px;
}
.result-entry {
	font-size: 22px;
	line-height: 30px;
}}

h3 {
  font-size: 30px;
  text-align: center;
  letter-spacing: 0.1em;
  margin: 0px 0px 10px 0px;
}
@media screen and (max-width: 768px) {
h3{
  font-size: 24px;
  line-height: 36px;
	}}	
/*----------------------
        wrap
----------------------*/
.header-wrap {
  background: #fff;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  margin: 0 auto;
    z-index: 998; /* 花びらより下に配置 */
}
.header-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 60px;
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  .header-inner {
    padding-left: 30px;
  }
}

.header-title {
  font-weight: 400;
  font-size: 20px;
  margin: 0 0 0 56px;
  line-height: 65px;
  height: 60px;
  float: left;
}
@media screen and (max-width: 768px) {
  .header-title {
    font-size: 16px;
    margin: 0 0 0 55px;
    line-height: 58px;
 
  }
}

.header-logo {
  display: inline-block;
  position: absolute;
  top: 5px;
  left: 35px;
  margin: 0;
  font-size: 0;
  line-height: 0;
  width: 55px;
  padding: 14px;
}
.header-logo:hover {
  opacity: 0.5;
}
@media screen and (max-width: 768px) {
  .header-logo {
    left: 22px;
    width: 40px;
  }
}

.header-logo a {
  cursor: pointer;
  margin-right: 15px;
}
.header-logo img {
  width: 100%;
  height: auto;
  display: block;
}
.lp-header {
  position: relative;
  box-sizing: border-box;
  display: block;
  margin: 0 auto;
   z-index: 998; /* ヘッダーを前面に */
}

/*----------------------
     ふわっと表示
----------------------*/
.js-fade {
  opacity: 0;
  visibility: hidden;
  transform: translateY(50px);
  transition: opacity 1s, visibility 1s, transform 1s;
}
.scroll {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}
.js-load {
  display: none;
}




/*========= LoadingのためのCSS ===============*/

/* Loading背景画面設定　*/
#splash {
    /*fixedで全面に固定*/
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background:#fff;
  text-align:center;
  color:#fff;
}

/* Loading画像中央配置　*/
#splash_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Loading アイコンの大きさ設定　*/
#splash_logo img {
  width:200px;
}


/* SPのみのリストの設定　*/
@media screen and (max-width: 768px) {
.chara_list--sp {
	text-decoration: none;
	}
.chara_list--sp :hover {
	color: darkorange;
	}}

#welcomeMessage {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-align: center;
    z-index: 1000;
    white-space: nowrap; /* 改行なし */
}

/* 文字のスタイル */
.fade-message {
    font-size: 24px;
    line-height: 1.8;
    text-align: center;
    white-space: pre-line; /* 改行を有効にする */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* スマホ版（幅600px以下）の文字サイズ */
@media (max-width: 600px) {
    .fade-message {
        font-size: 18px;
        line-height: 1.6;
    }
}

footer {
    position: fixed;
    bottom: 10px;
    right: 20px;
    color: white;
    font-size: 0.8rem;
    opacity: 0.7; /* さりげなく見せるために半透明 */
  z-index: 0; /* 花びらより下に配置 */
}


/* キラキラエフェクトの追加 */
@keyframes sparkle {
    0% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.5); }
    100% { opacity: 0; transform: scale(2); }
}

.sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
    animation: sparkle 1.5s ease-out forwards;
}

/* スマホ版の文字サイズ調整 */
@media screen and (max-width: 768px) {
    h1 {
        font-size: 36px;
        line-height: 48px;
        text-align: center;
    }
}

/* "クリックで桜が拡大します" のみ小さくする */
.click-message {
    font-size: 14px;
    color: #888;
}

.sparkle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px white;
}

.screen-flash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
    z-index: 1000;
}

/* 明転エフェクト */
.brighten-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(255, 255, 255, 0.8);
    opacity: 1;
    transition: opacity 1s ease-out;
}
