* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Kaisei Opti', serif ;
  background-color: #00001d;
  color: #333;
  line-height: 1.6;
}

.container {
  background-color: #000;
  background-image: url(../img/main_bg.jpg);
  background-size: 100% auto;  
  max-width: 750px;
  margin: 0 auto;
}

.hero {
  max-width: 750px;
  margin: 0 auto;  
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  position: relative;    
  overflow: hidden; 
}

.header-top-image {
  width: 100%;
  height: auto;
  display: block;
  animation: glowEffect 2s infinite alternate;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.7));
}

@keyframes glowEffect {
  from {
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.3));
  }
  to {
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
  }
}

.floating-title {
  opacity: 0;
  animation:
    fadeInUp 1s ease-out forwards;  
  animation-delay: 0.5s, 1.5s; 
}


.title-image {
  max-width: 750px;
  opacity: 1; 
  width: 100%;
  height: auto;
  display: block;
  margin: 0;
}

.main-cont {
  position: relative;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  overflow: hidden;
}

/* 星座ボタンリスト */
.number-button-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-width: 750px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.number-button-list li {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0; 
  animation: 
    float-up 0.8s ease-out forwards,
    gentle-float 4s infinite ease-in-out; /* 浮遊アニメーション */
}

/* 個別の遅延設定 */
.number-button-list li:nth-child(1) { animation-delay: 0.1s; }
.number-button-list li:nth-child(2) { animation-delay: 0.2s; }
.number-button-list li:nth-child(3) { animation-delay: 0.3s; }
.number-button-list li:nth-child(4) { animation-delay: 0.4s; }
.number-button-list li:nth-child(5) { animation-delay: 0.5s; }
.number-button-list li:nth-child(6) { animation-delay: 0.6s; }
.number-button-list li:nth-child(7) { animation-delay: 0.7s; }
.number-button-list li:nth-child(8) { animation-delay: 0.8s; }
.number-button-list li:nth-child(9) { animation-delay: 0.9s; }
.number-button-list li:nth-child(10) { animation-delay: 1.0s; }
.number-button-list li:nth-child(11) { animation-delay: 1.1s; }
.number-button-list li:nth-child(12) { animation-delay: 1.2s; }

.number-button-list li img {
  width: 100%;
  max-width: 230px;
  height: auto;
  display: block;
  animation: 
    glow-pulse 2s infinite alternate ease-in-out;
  border-radius: 8px;
  will-change: transform; 
}

/* 浮かび上がるアニメーション */
@keyframes float-up {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

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

/* 彩光エフェクト */
@keyframes glow-pulse {
  0% {
    filter: 
      drop-shadow(0 0 3px rgba(255, 215, 0, 0.5))
      drop-shadow(0 0 6px rgba(255, 140, 0, 0.3));
  }
  100% {
    filter: 
      drop-shadow(0 0 6px rgba(255, 215, 0, 0.8))
      drop-shadow(0 0 12px rgba(255, 140, 0, 0.5));
  }
}

/*
@keyframes glow-pulse-orange {
  0%, 100% {
    filter: drop-shadow(0 0 2px rgba(255, 140, 0, 0.4))
            drop-shadow(0 0 4px rgba(255, 100, 0, 0.3));
  }
  50% {
    filter: drop-shadow(0 0 4px rgba(255, 140, 0, 0.8))
            drop-shadow(0 0 6px rgba(255, 100, 0, 0.6));
  }
}

@keyframes glow-pulse-yellow {
  0%, 100% {
    filter: drop-shadow(0 0 2px rgba(255, 255, 180, 0.3))
            drop-shadow(0 0 4px rgba(255, 255, 180, 0.2));
  }
  50% {
    filter: drop-shadow(0 0 4px rgba(255, 255, 180, 0.6))
            drop-shadow(0 0 6px rgba(255, 255, 150, 0.4));
  }
}
*/
.tap-guide {
  animation: blink 2s ease-in-out infinite;
  pointer-events: none;
}

.tap-guide-static {
  position: relative;
  width: 100%;
  aspect-ratio: 680 / 209; /* ← 横750px × 縦120px の比率 */
  background: url(../img/select_bar.jpg) no-repeat center center / contain;
  margin-bottom: 16px;
  overflow: hidden;
}

.tap-guide-static img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: auto;
  transform: translate(-50%, -50%);
  animation: blink 2s ease-in-out infinite;
  pointer-events: none;
}

/* 点滅アニメーション */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}


@keyframes floatUpDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  60% {
    transform: translateX(20px); 
    opacity: 1;
  }
  100% {
    transform: translateX(0);
  }
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out both, glowPulse 2s ease-in-out infinite, float 3s ease-in-out infinite;

}

@keyframes glowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 2px #fff);
  }
  50% {
    filter: drop-shadow(0 0 4px #ffffff);
  }
}

@keyframes fadeInFloat {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-float {
  opacity: 0;
  animation: fadeInFloat 1.2s ease-out forwards;
  animation-delay: 1s; 
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

img.full-width {
  width: 100%;
  height: auto;
  display: block;
}

/* content*/
.content-section {
  width: 100%;
  margin: 0 auto;
  background: url("../img/cont_bg.jpg") no-repeat center top;
  background-size: 100% auto; /* ← 横は常に100%、縦は自動拡大 */
  background-repeat: no-repeat;
  background-position: top center;
  position: relative;
  overflow: hidden;
  padding-top:30px;
  padding-bottom: 20px;
  text-align: center;
}

.content-top-image {
  width: 100%;
  height: auto;
  display: block;
  animation: bgFloatIn 2.5s ease-out forwards;
  padding-top:30px;
}

@keyframes bgFloatIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatBackground {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0px);
  }
}


.content-inner-box {
  width: 95%;
  padding: 30px 20px;
  margin: 30px auto;
  box-sizing: border-box;
  position: relative;
  overflow: hidden;
  background-color: rgba(0, 7, 34, 0.4);
  border-radius: 5px;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.8;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  text-align: center; /* ← テキスト中央寄せを維持 */
}

.content-inner-box::before {
  content: "";
  position: absolute;
  top: -150%;
  left: -150%;
  width: 400%;
  height: 400%;
  background: radial-gradient(
    circle,
    rgba(255, 254, 160, 0.25) 0%,
    rgba(255, 254, 160, 0.05) 40%,
    transparent 80%
  );
  animation: diagonalLight 3s linear infinite;
  pointer-events: none;
  z-index: 1;
  filter: blur(8px);
}

@keyframes diagonalLight {
  0% {
    transform: translate(-60%, -60%);
  }
  100% {
    transform: translate(60%, 60%);
  }
}

.content-inner-box * {
  position: relative;
  z-index: 2;
}

@keyframes moveLight {
  0% {
    left: -50%;
  }
  100% {
    left: 100%;
  }
}

.content-inner-box .red-text {
  color: #d11414;
  font-weight: bold;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.9);
}

.content-inner-box .gold-text {
  color: #a07100;
  font-weight: bold;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.9);
}

.content-inner-box .yellow-text {
  color: #fff000;
  font-weight: bold;
  text-shadow: 0 0 3px rgba(255, 240, 255, 0.9);
}

@media (max-width: 480px) {
  .content-inner-box {
    padding: 20px 15px;
    margin: 20px auto; /* ← 左右の余白を消し、中央寄せにする */
  }

  .content-inner-box::before {
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
  }
}
.howto-section{
  background: url("../img/howto_bg.jpg") no-repeat center top;
  background-size: cover;
  position: relative;
  overflow: hidden;
  padding: 0 0 20px 0;
  text-align: center;
  z-index: 1;
}


html {
  scroll-behavior: smooth;
}


.fade-bar {
  height: auto;
  display: block;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}
.fade-bar.show {
  opacity: 1;
  transform: translateY(0);
}

/*利用者の声*/
.voices {
  max-width: 750px;
  padding-bottom:30px;
  text-align: center;
  background: url("../img/voice_bg.jpg") no-repeat center top;
  background-size: 100% auto; 
  margin: 0 auto;
}
.voice-box {
  max-width: 640px;
  background: rgba(255, 255, 255, 1);
  border-left: 4px solid #ffc;
  border-radius: 12px;
  margin: 30px auto;
  padding: 20px;
  position: relative;  
  color: #000722;
  font-size: 16px;
  line-height: 1.6;
  opacity: 0; 
  transform: translateY(30px);
  transition: all 0.8s ease-out;
  box-sizing: border-box;
}

.voices h2 {
    position: relative;
    display: inline-block;
    font-size: 26px;
    color: #ffc;
    text-align: center;
    margin: 0 auto;    
    letter-spacing: 1px;
    padding: 20px 40px;
    border: 2px solid white;
    border-radius: 6px;
    background: linear-gradient(to right, rgba(255, 50, 150, 0.8), rgba(180, 0, 90, 0.8));
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    overflow: hidden;
    z-index: 1;
}

@media (max-width: 480px) {
  .voice-box {
    margin: 30px 15px;
  }

  .voice-image {
    width: 80px;
    height: 80px;
  }
}

.voice-image-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.voice-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.voice-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px double #ffc;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.voice-label {
  font-size: 16px;
  font-weight: bold;
  color: #6b3f0b;
  line-height: 1.3;
}

.show {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/*フォームページ*/
#container {
  padding-top:20px;
  padding-bottom:20px;
  font-family: 'Kaisei Opti', serif;
  max-width: 750px;
  margin: 0 auto;
  background-color: #000; /* ← 黒色で下地を設定 */
  background-image: url('../img/main_bg.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto; /* 横ぴったり、縦は比率維持 */
}

.sign {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

#signTitle {  
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  color: #fff;
  font-family: 'Kaisei Opti', serif;
  letter-spacing: 2px;
  position: relative;
  margin: 10px auto;
  width: fit-content;
  background: 
    linear-gradient(to bottom, rgba(255, 223, 100, 0.9), rgba(198, 142, 0, 0.85)),
    url('../img/background.jpg') center center / cover no-repeat;
      border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  outline: 2px solid rgba(255, 215, 0, 0.2);
  outline-offset: 4px;
  padding: 10px 20px;
}

#signDesc {
  width: calc(100% - 40px);
  max-width: 640px;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 1.8;
  color: #602d00;
  background:
  linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(220, 220, 220, 0.9))
  /*url('../img/background.jpg') center center / cover no-repeat*/;
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  outline: 2px solid rgba(255, 215, 0, 0.2);
  outline-offset: 4px;
  margin: 20px auto;
  text-align: left;
}

#signImage{
  width:200px;
}

/*フォーム入力デザイン*/
.entryForm {
  background:  linear-gradient(to bottom, rgba(255, 255, 255, 0.9), rgba(220, 220, 220, 0.9));
  color: #fff;
  border: 4px solid rgba(0, 5, 54, 0.8);
  border-radius: 4px;
  padding: 24px 16px;
  margin: 40px 16px 30px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.form-group {
  margin-bottom: 30px;
  text-align: center;
}

.form-group p {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 16px;
  color: #893000;
}

.gender-options {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.gender-button_man,
.gender-button_women {
  flex: 1 1 120px;
  max-width: 180px;
  padding: 14px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  cursor: pointer;
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.4),
    0 0 24px rgba(255, 255, 255, 0.2),
    inset 0 0 10px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.gender-button_man {
  background: linear-gradient(135deg, #1b3ce0, #0725c0);
}

.gender-button_man:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #9ae6f9, #47cef0);
  box-shadow:
    0 0 16px rgba(255, 255, 255, 0.6),
    0 0 32px rgba(255, 255, 255, 0.3),
    inset 0 0 14px rgba(255, 255, 255, 0.08);
}

.gender-button_women {
  background: linear-gradient(135deg, #f3215d, #ff4f81);
}

.gender-button_women:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #faa0cd, #ff69b4);
  box-shadow:
    0 0 16px rgba(255, 255, 255, 0.6),
    0 0 32px rgba(255, 255, 255, 0.3),
    inset 0 0 14px rgba(255, 255, 255, 0.08);
}

.form-group select {
  background-color: #fff9c4; /* 明るめの水色 */
  border: 1px solid #999;
  padding: 6px;
  border-radius: 4px;
}

.entryForm input[type="text"],
.entryForm select {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  font-size: 16px;
  box-sizing: border-box;
  border: none;
  border-radius: 5px;
  background: rgba(255, 252, 253, 0.9);
  border: 1px solid #999;
  color: #000;
  box-shadow: inset 0 0 8px rgba(255, 255, 255, 0.1);
}

.entryForm select:focus,
.entryForm input[type="text"]:focus {
  outline: none;
  border: 2px solid #ffc107;
  box-shadow: 0 0 10px rgba(255, 200, 0, 0.4);
  background-color: rgba(255, 255, 255, 0.2);
}

.entryForm button[type="submit"] {
  background: linear-gradient(135deg, #c19a3f, #a67c00);/*フォームボタン配色*/
  color: #ffffff;
  font-family: 'Kaisei Opti', serif; 
  padding: 14px 24px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  cursor: pointer;
  display: block;
  margin: 0 auto;
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.4),
    0 0 24px rgba(255, 255, 255, 0.2),
    inset 0 0 10px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  animation: zoomPulse 2.2s ease-in-out infinite;
}

@keyframes zoomPulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.entryForm button[type="submit"]:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #ffd36e, #ff8c42);
  box-shadow:
    0 0 16px rgba(255, 255, 255, 0.6),
    0 0 32px rgba(255, 255, 255, 0.3),
    inset 0 0 14px rgba(255, 255, 255, 0.08);
}


input#male:checked + label.gender-button_man {
  background: linear-gradient(135deg, #9ae6f9, #47cef0);
  transform: scale(1.05);
  box-shadow:
    0 0 16px rgba(255, 255, 255, 0.6),
    0 0 32px rgba(255, 255, 255, 0.3),
    inset 0 0 14px rgba(255, 255, 255, 0.08);
}

/* 女性ボタンが選択されているときの見た目 */
input#female:checked + label.gender-button_women {
  background: linear-gradient(135deg, #faa0cd, #ff69b4);
  transform: scale(1.05);
  box-shadow:
    0 0 16px rgba(255, 255, 255, 0.6),
    0 0 32px rgba(255, 255, 255, 0.3),
    inset 0 0 14px rgba(255, 255, 255, 0.08);
}

/*テキスト（より詳細な鑑定）*/
.more-detail-message {
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  margin-top: 30px;
  padding: 20px;
  background: rgba(4, 2, 78, 0.8);
  text-shadow:
    0 0 5px #ffffff,
    0 0 10px #dddddd,
    0 0 15px #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  animation: glowWhite 2.5s ease-in-out infinite alternate,
             floatUpDown 3s ease-in-out infinite;
}

@keyframes floatUpDown {
  0% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
  100% { transform: translateY(0); }
}

@keyframes glowWhite {
  0% {
    text-shadow:
      0 0 5px #ffffff,
      0 0 10px #dddddd,
      0 0 15px #ffffff;
  }
  100% {
    text-shadow:
      0 0 10px #ffffff,
      0 0 20px #eeeeee,
      0 0 30px #ffffff;
  }
}

/*フッター*/
footer {
  background: #fff;
  color: #000;
  padding: 1em 0;
  text-align: center;
  font-size: 0.9em;
}

footer ul {
  display: flex;
  justify-content: center;
  gap: 1em;
  list-style: none;
  padding: 0;
  margin: 0 0 0.5em 0;
}

footer a {
  color: #000;
  text-decoration: underline;
}

/*reslutページ*/
.result-page {
  color: #fff;
  padding: 20px;
  font-family: 'Kaisei Opti', serif;
  }

#container.result-page {
  position: relative;
  z-index: 0;
  font-family: 'Kaisei Opti', serif;
  padding: 20px;
  color: #fff;
  background: url("../img/main_bg.jpg") center top / 100% auto no-repeat;
  background-color: #000; /* 補助背景色 */
}


#resultTitle {
  text-align: center;
  font-size: 2em;
  font-weight: bold;
  color: #fff;
  font-family: 'Kaisei Opti', serif;
  letter-spacing: 2px;
  position: relative;
  margin: 10px auto;
  width: fit-content;
  background: 
    linear-gradient(to bottom, rgba(255, 223, 100, 0.9), rgba(198, 142, 0, 0.85)),
    url('../img/form_bg.jpg') center center / cover no-repeat;
      border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  outline: 2px solid rgba(255, 215, 0, 0.2);
  outline-offset: 4px;
  padding: 10px 20px;

}
.result-summary {
  background: rgba(0, 31, 92, 0.9);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 20px;
  max-width: 600px;
  margin: 30px auto;
  text-align: center;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.result-summary h2 {
  font-size: 1.6em;
  margin-bottom: 12px;
  color: #ffd700;
}

.result-summary p {
  font-size: 1.1em;
  margin: 6px 0;
}

.result-form {
  max-width: 600px;
  margin: 30px auto;
  padding: 20px;
  background:rgba(0, 0, 0, 0.6);
  /*background: linear-gradient(135deg, rgba(26, 26, 64, 0.8), rgba(44, 0, 109, 0.8));*/
  /*background: linear-gradient(135deg, #1a1a40, #2c006d);*/
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  text-align: center;
}


.result-form button[type="submit"] {
  background: linear-gradient(135deg, #c19a3f, #a67c00);/*フォームボタン配色*/
  color: #ffffff;
  font-family: 'Kaisei Opti', serif;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  cursor: pointer;
  display: inline-block;  
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.4),
    0 0 24px rgba(255, 255, 255, 0.2),
    inset 0 0 10px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  animation: zoomPulse 2.2s ease-in-out infinite;
}

.result-form button[type="submit"]:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #ffd36e, #ff8c42);
  box-shadow:
    0 0 16px rgba(255, 255, 255, 0.6),
    0 0 32px rgba(255, 255, 255, 0.3),
    inset 0 0 14px rgba(255, 255, 255, 0.08);

}


.result-form button[type="button"] {
  background: linear-gradient(135deg, #c19a3f, #a67c00);/*フォームボタン配色*/
  color: #ffffff;
  font-family: 'Kaisei Opti', serif;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  cursor: pointer;
  display: inline-block;  
  box-shadow:
    0 0 12px rgba(255, 255, 255, 0.4),
    0 0 24px rgba(255, 255, 255, 0.2),
    inset 0 0 10px rgba(255, 255, 255, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  animation: zoomPulse 2.2s ease-in-out infinite;
}

.result-form button[type="button"]:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, #ffd36e, #ff8c42);
  box-shadow:
    0 0 16px rgba(255, 255, 255, 0.6),
    0 0 32px rgba(255, 255, 255, 0.3),
    inset 0 0 14px rgba(255, 255, 255, 0.08);

}


.entry-note {
  width: 80%;
  margin: 40px auto 0;
  padding: 16px 20px;
  font-size: 15px;
  line-height: 1.6;
  text-align: left;
  color: #001f5c;
  background-color: rgba(255, 255, 255, 0.85); 
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  box-sizing: border-box;
}

/*サポートページ関連*/
.support-container{
  background-color: #000;
  max-width: 750px;
  margin: 0 auto;

}

.support-wrapper {
  max-width: calc(100% - 40px); 
  width: 100%;
  margin: 30px auto;
  padding: 25px 20px;
  background-color: #f8f9fa;
  border-radius: 6px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
  font-family: 'Kaisei Opti', serif;
  line-height: 1.5;
  color: #333;
  box-sizing: border-box;
}

/* タイトルスタイル */
.support-wrapper h3 {
  position: relative;
  font-size: 1.15rem;
  font-weight: 600;
  font-family: 'Kaisei Opti', serif;
  color: #05248a; 
  margin: 25px 0 12px 0;
  padding: 8px 0 8px 20px;
  letter-spacing: 0.05em;
  border-left: 4px solid #0011b1; /* 左にアクセントライン */
  background: linear-gradient(to right, rgba(155, 89, 182, 0.1), transparent);
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
}

.support-wrapper h3:after {
  width: 40px; 
}

/* コンテンツスタイル */
.support-wrapper p {
  margin: 0 0 12px 0;
  padding: 10px 12px;
  font-size: 0.95rem;
}

    .content-body {
      padding: 10px 12px;
  background: url("../img/form_bg.jpg") center top / 100% auto repeat;
  /*min-height: 100vh; */
}

.content-body section {
  padding: 20px;
  overflow: visible;
  text-align: left; /* これも必要に応じて変更 */
}

.intro-text {
    text-align: center;
  font-size: 1em;
  font-weight: bold;
  color: #fff;
  font-family: 'Kaisei Opti', serif;
  letter-spacing: 2px;
  position: relative;
  margin: 10px auto;
  width: fit-content;
  background: 
    linear-gradient(to bottom, rgba(40, 60, 150, 0.9), rgba(10, 20, 80, 0.85)),
    url('../img/form_bg.jpg') center center / cover no-repeat;
      border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  outline: 2px solid rgba(255, 215, 0, 0.2);
  outline-offset: 4px;
  padding: 10px 20px;
}

.intro-text h2 {
  text-align: center;
  font-size: 1.3em;
}

/* スマホ対応（480px以下） */
@media (max-width: 480px) {
  .support-wrapper {
    max-width: calc(100% - 30px); /* 左右15pxの余白 */
    padding: 20px 15px;
    margin: 20px auto;
  }
  
  .support-wrapper h3 {
    font-size: 1rem;
  }
  
  .support-wrapper p {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
}


/* TOPへ戻るボタンのスタイル */
.top-return-btn {
  margin-top: 40px;
  text-align: center;
}

.top-return-btn a {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #206dec, #3498db);
  color: white;
  text-decoration: none;
  border-radius: 0px;
  font-family: 'Kaisei Opti', serif;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.top-return-btn a:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #8e44ad, #2980b9);
}

@media (max-width: 480px) {
  .top-return-btn {
    margin-top: 30px;
  }
  
  .top-return-btn a {
    padding: 10px 25px;
    font-size: 0.9rem;
  }
}

/* メール問い合わせボタンのコンテナ */
.support-contact-btn {
  margin: 30px 0;
  text-align: center;
}

/* ボタン本体のスタイル */
.support-contact-btn a {
  display: inline-block;
  padding: 14px 28px;
  background: linear-gradient(135deg, #FF7F00, #FF5500); /* オレンジ系グラデーション */
  color: #fff;
  font-family: 'Kaisei Opti', serif;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(255, 85, 0, 0.3);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ホバーエフェクト */
.support-contact-btn a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(108, 92, 231, 0.4);
  color: #fff;
}

/* アクティブエフェクト */
.support-contact-btn a:active {
  transform: translateY(1px);
}

/* 光るエフェクト */
.support-contact-btn a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
  z-index: -1;
}

.support-contact-btn a:hover::before {
  left: 100%;
}


@keyframes twinkle {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 0.3; }
}

/* レスポンシブ対応 */
@media (max-width: 480px) {
  .support-contact-btn {
    margin: 25px 0;
  }
  
  .support-contact-btn a {
    padding: 12px 24px;
    font-size: 0.95rem;
    width: 90%;
    max-width: 200px;
  }
}

.button-container {
  text-align: center;
  margin-bottom: 1em;
}

.fortune-button-container
 {
  text-align: center;
  margin-bottom: 1em;
}

.support-button {
  background-color: #fff;
  color: #4b0082; /* 濃い紫に合う文字色 */
  padding: 14px 24px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  display: block;
  width: 260px; /* 横幅を統一 */
  margin: 0 auto;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.support-button:hover {
  background-color: #f5f5f5;
  transform: scale(1.04);
}

/*共有*/
ul {
    padding-left:1em;  
}

ul li::before {
  font-size: 0.6em;
  color: #888;
  margin-right: 0.5em;
}