@charset "Shift_JIS";

/*===================================================
共通（ポップアップ）
===================================================*/
body {
	margin: 0;
	padding: 0;
	text-align: center;
	background: #ffffff;
	font-size: 12px;
	color: #333333;
	line-height: 1.5em;
	font-family: Verdana, "ＭＳ Ｐゴシック", sans-serif;
}
/* for WinIE6*/
* html body {
	font-family: Verdana, "ＭＳ Ｐゴシック", sans-serif;
	vertical-align: baseline;
}
/* for WinIE7・8*/
*:first-child+html body {
	font-family: Verdana, "ＭＳ Ｐゴシック", sans-serif;
}

div#wrap {
	position: relative;
	margin-left: auto;
	margin-right: auto;
	overflow: visible;
	width: 602px;
	text-align: left;
	margin-bottom: 5px;
 font-family: 'メイリオ', Meiryo, 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'HiraKakuPro-W3', 'ＭＳ Ｐゴシック', 'MS PGothic', Arial, Helvetica, sans-serif;
}

div#wrap div#subnavi {
	margin: 0;
	text-align: right;
	font-size: 10px;
	color: #666666;
	line-height: 1.5em;
}

div#wrap div#subnavi a:link,
div#wrap div#subnavi a:visited {
 color: #ea5810;
 text-decoration: underline;
}
div#wrap div#subnavi a:hover,
div#wrap div#subnavi a:active {
 color: #9f3b0a;
 text-decoration: none;
}

div#wrap h1 {
	margin: 0;
	font-size: 1.4em;
	font-weight: bold;
	color: #333333;
	line-height: 1.6em;
}

/*===================================================
omikuji.aspx
===================================================*/
div#wrap #omikuji {
  position: relative;
  margin: 0 0 20px;
  padding: 20px 30px;
  width: 540px;
  font-family: 'メイリオ', Meiryo, 'ヒラギノ角ゴ ProN W3', 
    'Hiragino Kaku Gothic ProN', 'HiraKakuPro-W3', 'ＭＳ Ｐゴシック', 
    'MS PGothic', Arial, Helvetica, sans-serif;
  background: linear-gradient(to bottom, #fff8e7, #f8b625);
  border: 4px double #cc0000;
  box-shadow: 0 0 10px rgba(0,0,0,0.15);
  color: #333;
}
div#wrap #omikuji .b {
  font-weight: bold;
}
div#wrap #omikuji a:link {
 color: #ea5810;
 text-decoration: underline;
}
div#wrap #omikuji a:visited {
 color: #ea5810;
 text-decoration: underline;
}
div#wrap #omikuji a:active {
 color: #9f3b0a;
 text-decoration: none;
}
div#wrap #omikuji a:hover {
 color: #9f3b0a;
 text-decoration: none;
}

/* 見出し */
div#wrap #omikuji h1,
div#wrap #omikuji #resultTitle {
  text-align: center;
  color: #880000;
  letter-spacing: 1px;
}
div#wrap #omikuji h1 {
  font-size: 2em;
}
div#wrap #omikuji #resultTitle {
  display: block;
  font-size: 1.8em;
  font-weight: bold;
  margin: 0 auto 15px;
  padding: 10px 20px;
  color: #fff;
  line-height: 1.6em;
  background: linear-gradient(to bottom, #d94f44, #cc9933);
  border-radius: 2px;
  box-shadow: 0 4px 10px rgba(255, 105, 135, 0.3);
  animation: fadeInPop 0.5s ease-in-out;
}
div#wrap #omikuji #resultTitle::before {
  content: "＼";
  margin-right: 0.2em;
}
div#wrap #omikuji #resultTitle::after {
  content: "／";
  margin-left: 0.2em;
}

/* h2 と h3 */
div#wrap #omikuji h2 {
  margin: 10px 0 15px;
  padding: 8px 0;
  background: #ff4c1d;
  color: #fff;
  font-size: 1.4em;
  border-radius: 2px;
  box-shadow: 0 3px 6px rgba(255, 105, 135, 0.3);
  font-family: "Segoe UI", "Comic Sans MS", cursive, sans-serif;
  text-align: center;
}
div#wrap #omikuji h3 {
  margin: 10px 0 7px;
  padding-left: 0.5em;
  font-size: 1.2em;
  color: #ff4c1d;
  font-weight: bold;
  border-bottom: #ff4c1d solid 2px;
}

/* p と ul */
div#wrap #omikuji p {
  font-size: 1.2em;
  text-align: center;
  line-height: 1.4em;
}
div#wrap #omikuji ul {
  margin: 5px 0 15px;
  padding-left: 1.2em;
  line-height: 1.6;
}
div#wrap #omikuji li {
  margin-left: 0.5em;
}


/* ボタン */
div#wrap #omikuji .btn button {
  display: block;
  margin: 0 auto 20px;
  background: #d62f00;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  padding: 16px 36px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px #a81f00;
  transition: all 0.2s ease;
}
div#wrap #omikuji .btn button:hover {
  background: #ff4c1d;
  transform: scale(1.07);
}

/* 結果テキスト */
div#wrap #omikuji #resultText {
  display: block;
  margin-bottom: 5px;
  font-size: 24px;
  text-align: center;
}

div#wrap #omikuji #resultLabel {
  display: block;
  margin: 0 auto 5px;
  font-weight: bold;
  line-height: 1.4em;
}

/* クーポン関連 */
div#wrap #omikuji #couponCode {
  display: none;
  padding: 3px 5px;
  margin: 0 auto 10px;
  line-height: 1.5em;
  max-width: 7em;
  font-weight: bold;
  font-size: 28px;
  color: #fff;
  background-color: #b22222;
  border: 2px solid #a00;
}
div#wrap #omikuji #couponNote,
div#wrap #omikuji .already-drawn-msg {
  font-size: 14px;
  display: block;
  text-align: center;
}
div#wrap #omikuji .already-drawn-msg {
  font-weight: bold;
  color: #cc0000;
  margin-top: 10px;
}

/* クーポン全体 */
div#wrap #omikuji .coupon {
  display: none;
  padding: 20px;
  margin-bottom: 30px;
  background: linear-gradient(145deg, #fffacd, #ffeaa7);
  border: 3px solid #ffcc70;
  border-radius: 30px;
  box-shadow: inset 0 0 0 3px #fff, 0 3px 10px rgba(255, 105, 135, 0.3);
  position: relative;
  text-align: center;
  color: #333;
  animation: pop-in 0.6s ease-out;
}

/* 注意書き */
div#wrap #omikuji .attention {
  padding: 15px 20px;
  background-color: #fff7e8;
  border-radius: 16px;
}

/* ズバンクちゃんエリア */
div#wrap #omikuji #zubankArea {
  display: none;
  text-align: center;
  margin-top: 20px;
  position: relative;
}
div#wrap #omikuji #zubankArea .speech {
  display: inline-block;
  background-color: #fff;
  border: 2px solid #d62f00;
  border-radius: 10px;
  padding: 10px;
  font-size: 16px;
  position: relative;
  margin-bottom: 20px;
  max-width: 80%;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}
div#wrap #omikuji #zubankArea .speech::before {
  content: "";
  position: absolute;
  bottom: -24px;
  left: 50%;
  margin-left: -12px;
  border-width: 12px;
  border-style: solid;
  border-color: #d62f00 transparent transparent transparent;
  z-index: 0;
}
div#wrap #omikuji #zubankArea .speech::after {
  content: "";
  position: absolute;
  bottom: -19px;
  left: 50%;
  margin-left: -10px;
  border-width: 10px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  z-index: 1;
}

div#wrap #omikuji #zubankArea .image {
  display: block;
  margin: 0 auto;
  max-width: 120px;
}

/* おみくじイントロ */
div#wrap #omikuji.omkj_intro #introTitle {
  display: block;
  font-size: 1.4em;
  font-weight: bold;
  margin: 0 auto 15px;
  padding: 10px 20px;
  color: #fff;
  line-height: 1.6em;
  background: linear-gradient(to bottom, #d94f44, #cc9933);
  border-radius: 2px;
  box-shadow: 0 4px 10px rgba(255, 105, 135, 0.3);
  animation: fadeInPop 0.5s ease-in-out;
}

div#wrap #omikuji.omkj_intro .coupon {
 margin-top: 10px;
 margin-bottom: 15px;
}

div#wrap #omikuji.omkj_intro .attention h2 {
  margin: 10px 0 10px;
  padding: 8px 0;
  background: #ff4c1d;
  color: #fff;
  font-size: 1.4em;
  border-radius: 2px;
  box-shadow: 0 3px 6px rgba(255, 105, 135, 0.3);
  font-family: "Segoe UI", "Comic Sans MS", cursive, sans-serif;
  text-align: center;
} 

div#wrap #omikuji.omkj_intro .zbnk-float {
  display: inline-block;
  animation: floatY 3s ease-in-out infinite;
}
div#wrap #omikuji.omkj_intro #zubankArea {
 margin-top: 15px;
}
div#wrap #omikuji.omkj_intro #zubankArea .speech {
 margin-top: 0;
}

div#wrap #omikuji.omkj_intro #mailmag {
 margin-top: 15px;
 padding: 10px 20px;
 background: rgba(255, 255, 255, 0.8);
 border-radius: 2px;
}
div#wrap #omikuji.omkj_intro #mailmag h3 {
 margin: 10px 0;
 font-size: 1.3em;
 border: none;
}
div#wrap #omikuji.omkj_intro #mailmag p {
 margin: 0;
 font-size: 1.1em;
 text-align: left;
}
div#wrap #omikuji.omkj_intro #mailmag ul {
 margin-top: 10px;
 padding-left:0;
 text-align: left;
}
div#wrap #omikuji.omkj_intro #mailmag li {
 margin: 10px 0 0;
}
div#wrap #omikuji.omkj_intro #mailmag li::marker {
 content: none;
}
div#wrap #omikuji.omkj_intro #mailmag li span.box {
 display: block;
 padding: 2px 5px;
 margin-bottom: 5px;
 background: #000;
 color: #fff;
 font-weight: bold;
}
div#wrap #omikuji.omkj_intro #mailmag li a {
 font-weight: bold;
}

/* アニメーション */
@keyframes pop-in {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
@keyframes fadeInPop {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes floatY {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

/* 下線アニメーション */
div#wrap #omikuji .underline-animate {
  position: relative;
  display: inline-block;
  color: inherit;
}
/* 下線を疑似要素で作成 */
div#wrap #omikuji .underline-animate::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.1em; /* 少し文字にかかるくらいに調整 */
  height: 8px; /* 太めに */
  width: 100%;
  background-color: rgba(214, 94, 64, 0.3); /* 薄いピンク（蛍光ペン風） */
  border-radius: 4px; /* 丸みをつけて柔らかく */
  transform: scaleX(0);
  transform-origin: left;
  animation: underlineIn 0.6s ease-out forwards;
}
/* アニメーションの定義 */
@keyframes underlineIn {
  to {
    transform: scaleX(1);
  }
}

/*===================================================
slot.aspx - NEON GAME風スロットデザイン
===================================================*/
div#wrap #slot {
  position: relative;
  margin: 0 0 20px;
  padding: 30px;
  width: 540px;
  background-color: #0d1021;
  border: 4px solid #00ffe7;
  border-radius: 16px;
  box-shadow: 0 0 20px rgba(0, 255, 231, 0.3);
  color: #eafaff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* タイトル */
div#wrap #slot h1 {
  font-size: 28px;
  font-weight: bold;
  text-align: center;
  color: #fafe00;
  margin-bottom: 20px;
  text-shadow: 0 0 6px #ff3cac, 0 0 12px #ff3cac;
}
div#wrap #slot .b {
 font-weight: bold;
}
div#wrap #slot p {
 margin: 0 0 20px;
 text-align: center;
 font-size: 1.2em;
 line-height: 1.5em;
}
div#wrap #slot p strong {
 font-weight: bold;
 color: #fafe00;
}

/* スロット枠 */
div#wrap #slot .slot-container {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

div#wrap #slot .slot {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: linear-gradient(145deg, #515a93, #7582d1);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

div#wrap #slot .slot img {
  max-width: 80px;
  max-height: 80px;
  display: none;
  object-fit: contain;
}

div#wrap #slot .question-mark {
  font-size: 42px;
  color: #cccccc;
  font-weight: bold;
  text-shadow: 0 0 6px #00ffe7;
}

/* スタートボタン */
div#wrap #slot #startBtn {
  display: block;
  margin: 0 auto 20px;
  background: linear-gradient(180deg, #ff3cac, #784ba0);
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  padding: 14px 36px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255, 60, 172, 0.6);
  transition: all 0.3s ease;
}
div#wrap #slot #startBtn:hover {
  background: linear-gradient(180deg, #ff6fba, #9671d9);
  transform: scale(1.07);
}
div#wrap #slot #startBtn:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  opacity: 0.6;
}

/* 結果表示 */
div#wrap #slot #result {
  margin-top: 20px;
  font-size: 18px;
  text-align: center;
  color: #fafe00;
  text-shadow: 0 0 4px #fafe00;
}
div#wrap #slot #result strong {
  display: block;
  margin-top: 20px;
  color: #00ffe7;
  font-size: 20px;
  text-shadow: 0 0 4px #00ffe7;
}

/* 壁紙ダウンロードセクション */
div#wrap #slot #downloadSection {
    margin: 20px auto 0 auto;
    background: #1e2238;
    border: 2px dashed #00ffe7;
    border-radius: 10px;
    padding: 16px;
    max-width: 320px;
    box-shadow: 0 0 12px rgba(0, 255, 231, 0.2);
}

div#wrap #slot #downloadSection label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #fafe00;
}

div#wrap #slot #wallpaperSelect {
  width: 100%;
  margin-bottom: 10px;
  padding: 8px 12px;
  font-size: 14px;
  border: 2px solid #fafe00;
  border-radius: 6px;
  background-color: #fff;
  color: #000;
  cursor: pointer;
}

div#wrap #slot #wallpaperSelect:hover,
#wallpaperSelect:focus {
  border-color: #ff3cac;
  outline: none;
}

div#wrap #slot #downloadBtn {
  width: 100%;
  padding: 10px 0;
  background-color: #ff3cac;
  border: none;
  border-radius: 6px;
  color: white;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 60, 172, 0.6);
  transition: background-color 0.3s ease;
}
div#wrap #slot #downloadBtn:hover {
  background-color: #ff6fba;
}
div#wrap #slot #downloadBtn:active {
  background-color: #ff3cac;
  box-shadow: none;
}

/* アニメーションの定義 */
@keyframes fadeScaleIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
div#wrap #slot .result-animate {
  animation: fadeScaleIn 0.7s ease-out;
}


/*===================================================
quiz.aspx 
===================================================*/
html.quiz-mode,
html.quiz-mode body {
  height: auto;
  overflow: visible;
}

.quiz-mode #wrap {
  overflow: visible;
  max-height: none;
  overscroll-behavior: contain;
}

.quiz-mode #quiz-scroll-wrapper {
  overflow: visible;
  max-height: 640px;
}

div#wrap #quiz {
  position: relative;
  margin: 0 0 20px;
  padding: 30px 30px 80px;
  width: 540px;
  background: linear-gradient(135deg, #e0fbe3, #b2f5df); /* 明るめグリーン */
  border: 5px solid #00c853; /* 鮮やかグリーン */
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 200, 83, 0.3);
  color: #333;
  font-family: "Arial", "Hiragino Kaku Gothic ProN", sans-serif;
}

div#wrap #quiz a:link {
 color: #ea5810;
 text-decoration: underline;
}
div#wrap #quiz a:visited {
 color: #ea5810;
 text-decoration: underline;
}
div#wrap #quiz a:active {
 color: #9f3b0a;
 text-decoration: none;
}
div#wrap #quiz a:hover {
 color: #9f3b0a;
 text-decoration: none;
}

div#wrap #quiz .quiz-progress {
  text-align: center;
  font-size: 1.1em;
  font-weight: bold;
  color: #00695c;
  margin: 10px 0 20px;
}
/*
div#wrap #quiz h1 {
  font-size: 30px;
  font-weight: 800;
  color: #008c3a;
  margin: 10px auto 30px;
  padding: 12px 20px;
  background: #ccffcc;
  border-radius: 12px;
  box-shadow: inset 0 -4px 0 rgba(0, 200, 83, 0.2);
  text-align: center;
  border: none;
}
*/
div#wrap #quiz #question {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 20px;
  text-align: center;
  color: #007e33;
}

div#wrap #quiz #quizImage {
  margin: 12px 15px 12px 0;
  display: block;
  float:left;
  width: 140px;
}

div#wrap #quiz #quizImage.center-image {
  float: none !important;
  margin: 20px auto !important;
  display: block;
}

div#wrap #quiz #choices {
 width: 385px;
 float: left;
 margin-bottom: 15px;
}

div#wrap #quiz #choices button {
  display: block;
  width: 100%;
  margin: 12px auto;
  padding: 10px;
  border: none;
  background: linear-gradient(to bottom, #ffe082, #ffb74d); /* 差し色：オレンジ */
  color: #4e342e;
  font-size: 1.2em;
  font-weight: bold;
  border-radius: 10px;
  box-shadow: 0 4px 0 #ffa000;
  cursor: pointer;
  transition: all 0.3s ease;
}

div#wrap #quiz #choices button:hover {
  background: linear-gradient(to bottom, #ffcc80, #ffa726);
  transform: scale(1.05);
}

div#wrap #quiz #choices button:disabled {
  background: #eeeeee;
  color: #888;
  transform: scale(1);
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
}
div#wrap #quiz .quiz-progress {
  display: block;
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 1.1em;
  font-weight: bold;
  color: #00695c;
  margin: 10px 0 20px;
}
div#wrap #quiz #nextBtn,
div#wrap #quiz #prevBtn {
  display: block;
  position: absolute;
  bottom: 30px;
  padding: 10px 25px;
  border: none;
  background: #26c6da;
  color: white;
  font-size: 1em;
  font-weight: bold;
  line-height: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 0 #00acc1;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
}
div#wrap #quiz #nextBtn:hover,
div#wrap #quiz #prevBtn:hover {
  background: #00acc1;
  transform: scale(1.03);
}
div#wrap #quiz #nextBtn {
  right: 30px;
}

div#wrap #quiz #prevBtn {
  left: 30px;
}


div#wrap #quiz #result {
  clear: both;
  font-size: 1.5em;
  font-weight: bold;
  margin-top: 1.5em;
  text-align: center;
  color: #00695c;
  animation: fadeIn 0.6s ease;
}

#quiz .perfect-badge {
  font-size: 2.5em;
  display: block;
  animation: bounce 1.2s ease infinite;
  margin-bottom: 10px;
}

div#wrap #quiz #hintBtn {
  clear: both;
  display: block;
  width: 40%;
  margin: 15px auto 10px;
  padding: 10px 20px;
  background: #80d8ff; /* 明るい水色 */
  color: #004d40;
  border: none;
  font-weight: bold;
  font-size: 1em;
  border-radius: 10px;
  box-shadow: 0 3px 0 #00acc1;
  cursor: pointer;
  transition: background 0.3s ease;
}

div#wrap #quiz #hintBtn:hover {
  background: #4dd0e1;
}

div#wrap #quiz #hintText {
  clear: both;
  background: #e0f7fa;
  border-left: 5px solid #26c6da;
  padding: 15px 20px;
  margin: 15px auto;
  font-style: italic;
  font-size: 1.1em;
  color: #006064;
  max-width: 85%;
  border-radius: 10px;
  animation: fadeIn 0.5s ease;
}
div#wrap #quiz #hintText .hintTitle {
  font-weight: bold;
  color: #26c6da;
}

div#wrap #quiz p#explanation {
  display: none;
  font-size: 1.2em;
  line-height: 1.5em;
  font-weight: bold;
  color: #008c3a;
  margin: 20px 0 0;
  padding: 15px 20px;
  animation: fadeIn 0.6s ease;
  background: #ccffcc;
}

div#wrap #quiz #result.final-score {
  font-size: 1.6em;
  font-weight: bold;
  color: #00695c;
  text-align: center;
  margin-top: 2em;
  animation: scoreBounce 1s ease;
}

div#wrap #quiz #share button {
  display: block;
  margin: 1.5em auto 0;
  background: #ff4081;
  color: white;
  border: none;
  padding: 10px 25px;
  font-size: 1em;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 0 #f50057;
  transition: background 0.3s ease, transform 0.2s ease;
}

div#wrap #quiz #share p {
  background: linear-gradient(180deg, #fff3b0, #ffe082); /* 金色系 */
  color: #4e342e;
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  padding: 25px 30px;
  border: 5px double #fbc02d;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(255, 215, 64, 0.5);
  margin-top: 30px;
  animation: fadeIn 0.8s ease;
  position: relative;
  line-height: 1.6em;
}

div#wrap #quiz #share button:hover {
  background: #f50057;
  transform: scale(1.05);
}

#quiz #share a.download-btn:link {
  display: block;
  max-width: 15em;
  background: linear-gradient(180deg, #ffeb3b, #fbc02d); /* ゴールド系 */
  color: #4e342e;
  padding: 15px 30px;
  font-size: 1.2em;
  font-weight: bold;
  border: none;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 6px 0 #f9a825;
  transition: transform 0.3s ease, background 0.3s ease;
  animation: pulseGlow 1.5s ease-in-out infinite;
  margin: 20px auto 0;
}

#quiz #share a.download-btn:hover {
  background: linear-gradient(135deg, #fff176, #fdd835);
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(251, 192, 45, 0.6);
}

div#wrap #quiz #quizImage {
  animation: float 5s ease-in-out infinite, glow 10s ease-in-out infinite alternate;
}

/* アニメーション効果 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(10px); }
}

@keyframes glow {
  from { filter: drop-shadow(0 0 0px rgba(255,255,255,0.0)); }
  to   { filter: drop-shadow(0 0 6px rgba(255,255,255,0.7)); }
}

/* キラッと脈打つアニメーション */
@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(251, 192, 45, 0.6);
  }
  50% {
    box-shadow: 0 0 20px rgba(251, 192, 45, 0.9);
  }
}
/* スコアに使うアニメーション */
@keyframes scoreBounce {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  60% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

/*===================================================
quiz_intro.css - クイズイントロページ用
===================================================*/
div#wrap #intro {
  position: relative;
  margin: 0 0 20px;
  padding: 30px 30px 50px;
  width: 540px;
  background: linear-gradient(135deg, #e0fbe3, #b2f5df); /* 明るめグリーン */
  border: 5px solid #00c853; /* 鮮やかグリーン */
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 200, 83, 0.3);
  color: #333;
  font-family: "Arial", "Hiragino Kaku Gothic ProN", sans-serif;
  text-align: center;
}

/*
div#wrap #intro h1 {
  font-size: 1.8em;
  color: #008c3a;
  margin-bottom: 20px;
}
*/
div#wrap #intro .intro-img {
  display: block;
  max-width: 180px;
  margin: 0 auto 0;
}

div#wrap #intro .intro-text {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border: 3px solid #00c853;
  border-radius: 16px;
  padding: 5px 25px;
  color: #333;
  font-size: 1.1em;
  line-height: 1.6em;
  text-align: center;
  max-width: 100%;
  margin: 15px auto;
  box-shadow: 0 4px 15px rgba(0, 200, 83, 0.2);
  animation: fadeSlideUp 0.8s ease-out both;
}

div#wrap #intro .intro-text::before {
  content: "";
  position: absolute;
  bottom: -26px;
  left: 50%;
  margin-left: -12px;
  border-width: 12px;
  border-style: solid;
  border-color: #00c853 transparent transparent transparent;
  z-index: 0;
}
div#wrap #intro .intro-text::after {
  content: "";
  position: absolute;
  bottom: -19px;
  left: 50%;
  margin-left: -10px;
  border-width: 10px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  z-index: 1;
}

div#wrap #intro .intro-text p {
  font-size: 1.1em;
  color: #333;
  line-height: 1.6em;
  margin: 13px 0;
}

div#wrap #intro .intro-text p.b {
  position: relative;
  display: inline-block;
  font-weight: bold;
  font-size: 1.3em;
  color: #008c3a;
  padding-bottom: 3px;
  margin-bottom: 0;
  z-index: 2;
}

div#wrap #intro .intro-text p.b::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0.1em;
  width: 100%;
  height: 0.6em;
  background: rgba(200, 255, 200, 0.4); /* 蛍光マーカー風の薄緑 */
  z-index: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s ease;
  border-radius: 4px;
}

/* アニメーションを発火させるクラス */
div#wrap #intro .intro-text p.b.animate::after {
  transform: scaleX(1);
}

div#wrap #intro .highlight {
  color: #f57c00;
  font-weight: bold;
  font-size: 1.1em;
}

div#wrap #intro .start-btn {
  display: inline-block;
  padding: 20px 50px;
  background: linear-gradient(to bottom, #ffe082, #ffb74d);
  color: #4e342e;
  font-size: 1.7em;
  font-weight: bold;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 0 #ffa000;
  transition: all 0.3s ease;
}

div#wrap #intro .start-btn:hover {
  background: linear-gradient(to bottom, #ffcc80, #ffa726);
  transform: scale(1.05);
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}