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

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


.container {
  background-color: #000;
  max-width: 750px;
  margin: 0 auto;

}


.hero {
  max-width: 750px;
  margin: 0 auto;  
  background-image: url(../img/main_bg.jpg);
  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: bgFloatIn 2.5s ease-out forwards;
}

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

.glow-image {
  width: 100%;
    height: auto;
  display: block;
  animation: fadeInUp 1s ease-out forwards,  
  zoomPulse 3s ease-in-out infinite,
             imageGlow 2s ease-in-out infinite alternate;

}

/* 画像を上下 */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* 光らせる */
@keyframes imageGlow {
  from {
    filter: drop-shadow(0 0 8px gold) drop-shadow(0 0 12px orange);
  }
  to {
    filter: drop-shadow(0 0 16px orange) drop-shadow(0 0 24px red);
  }
}

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

.pulse {
    width: 100%;
    height: auto;
  display: inline-block;
  animation: pulse 10s ease-in-out infinite;
}

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

/*---スロット----*/

.slot-area {
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  padding: 0;
  line-height: 0; /* ★上下余白ゼロにする魔法 */
  overflow: hidden;
}

.slot-area svg {
  width: 100%;
  height: auto;
  display: block; /* ★inlineではなくblockに */
}

@keyframes flashBlur {
  0% {
    opacity: 1;
    filter: blur(0) brightness(1);
  }
  50% {
    opacity: 0.7;
    filter: blur(2px) brightness(2); /* ぼかし＆輝き */
  }
  100% {
    opacity: 1;
    filter: blur(0) brightness(1);
  }
}

.text-animate {
  animation: flashBlur 0.5s ease; /* 0.5秒でアニメーション */
}
/*-------*/



.main-cont {
  position: relative;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  background: url('../img/cont_bg.jpg') no-repeat center/cover;
  overflow: hidden;
}

.image-grid {
  max-width: 750px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列にする */
  gap: 1px; /* 画像間の隙間を狭く */
}

.image-grid img {
  width: 100%;
  padding: 3%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% {
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
  }
  50% {
    filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.7));
  }
}
.main-cont2 {
  position: relative;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
  background: url('../img/cont2_bg.jpg') no-repeat center top;
  background-size: cover; /* 幅に合わせて広がる */
  overflow: hidden;
}


/*
@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));
  }
}

.blink-text{
  width: 100%;
  animation: blink 2s ease-in-out infinite;
}


/* ブリンク */
@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, float 3s ease-in-out infinite;
  width: 100%;
}

@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); }
}



/* howto*/
.howto-section {
  width: 100%;
  margin: 0 auto;
  background: url("../img/howto_bg.jpg") no-repeat center top;
  background-size: 100% auto; 
  background-repeat: no-repeat;
  background-position: top center;
  position: relative;
  overflow: hidden;
  padding-top:30px;
  padding-bottom: 20px;
  text-align: center;
}

.howto-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);
  }
}


.howto-inner-box {
  position: relative;
  overflow: hidden; /* 擬似要素がはみ出さないように */
  background-color: rgba(255, 255, 255, 0.8);
  padding: 30px 20px;
  margin: 30px auto;
  max-width: 600px;
  border-radius: 5px;
  color: #000722;
  font-size: 1.2rem;
  font-weight:Semi Bold;
  line-height: 1.8;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.howto-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%);
  }
}
.howto-inner-box * {
  position: relative;
  z-index: 2;
}

@keyframes moveLight {
  0% {
    left: -50%;
  }
  100% {
    left: 100%;
  }
}
.howtoinner-box .red-text {
  color: #d11414 ;
  font-weight: bold;
  text-shadow: 0 0 3px rgba(255, 255, 255, 0.9);
}

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



@media (max-width: 480px) {
  .content-inner-box {
    padding: 20px 15px;
    margin: 20px 15px;
  }
}

.step-text{
  background: url("../img/3step_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 {
  width: 100%;
  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: 15px 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: #fff; /* ← 黒色で下地を設定 */
  background-image: url('../img/form_bg.jpg');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: 100% auto; /* 横ぴったり、縦は比率維持 */
}

/*おみくじ*/

#fortuneResult {
  text-align: center;
  margin: 24px 0;
}

#fortuneImage {
  max-width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 0px; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* 少し浮かせる影 */
}


.form-step {
  display: none;
}
.form-step:first-child {
  display: block;
}


.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 {
  width: 100%;
  max-width: 750px;
  aspect-ratio: 750 / 306; /* ← この一行で縦横比が取れる */
  background-image: url(../img/entry_bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
    margin: 0 auto;               /* 横中央 */
  display: flex;                /* flexコンテナにする */
  flex-direction: column;       /* 中身は縦方向 */
  justify-content: center;      /* 垂直方向中央寄せ */
  align-items: center;          /* 水平方向中央寄せ */
}
}


.form-group {
  text-align: center;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px; /* 適度に間隔 */

}

.form-group p {
  width: 100%;
  text-align: center;
  margin-top: 4px;
  flex: 1 1 100%;
  font-family: "Yu Kyokasho", "Yu Mincho", "MS Mincho", serif; 
  color:#fff;
  font-wight:bold;
  font-size:18px;

}

.gradient-gold-text {
  background: linear-gradient(90deg, #ffe680, #ffcc33, #d4a700); /* 好みで色味を調整 */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent; /* テキストそのものの色は透明に */
  animation: glow 2s ease-in-out infinite alternate;
}

  @keyframes glow {
    from { text-shadow: 0 0 10px #FFD700, 0 0 20px #FFA500; }
    to { text-shadow: 0 0 20px #FFA500, 0 0 40px #FF4500; }
  }


.gender-options {
  text-align: center;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: nowrap; /* ★ 折り返さない */
}

.gender-button_man,
.gender-button_women {
  flex: 0 0 auto;     /* ★ 固定幅にする */
  padding: 7px;
  width: 120px;       /* ★ ボタン幅を固定 */
  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 {
  width: auto; !important;
  padding: 8px 12px;
  margin-bottom: 0;    /* 下余白なし */
  font-size: 16px;
  border: 1px solid #999;
  border-radius: 4px;
  background-color: #fff9c4;
}

.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(180deg, #ffffff, #d9d9d9); /* 白からグレーにかけるグラデーション */
  color: #1a2f6a; /* 濃いめのネイビー */
  font-family: "Yu Kyokasho", "Yu Mincho", "MS Mincho", serif;
  padding: 6px 30px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  border: 1px solid #999;
  cursor: pointer;
  display: block;
  margin: 10px auto;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3),
              inset 0 1px 0 rgba(255, 255, 255, 0.7); /* ほんのり立体感 */
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.4); /* テキストに影 */
  text-align:center;
  transition: all 0.2s ease-in-out;
  animation: zoomPulse 2.2s ease-in-out infinite;
}



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




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(184, 134, 11, 0.9);
  /*text-shadow:
    0 0 5px #ffffff,
    0 0 10px #dddddd,
    0 0 15px #ffffff;
    */
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3); /* 文字の輪郭を強調 */
  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 2px #ffffff,
      0 0 5px #dddddd,
      0 0 7px #ffffff;
  }*/
  100% {
    text-shadow:
      0 0 5px #ffffff,
      0 0 10px #eeeeee,
      0 0 15px #ffffff;
  }
}



#step1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

#step1 select {
  width: auto !important;
  padding: 8px 12px;
  border: 1px solid #999;
  border-radius: 4px;
  background-color: #fff9c4;
  font-size: 16px;
  margin: 0; /* 余計なマージンなし */
}

#step1 span {
  display: inline-block;
  font-size: 16px;
  margin: 0 4px;
}

/*フッター*/
footer {
  background: #000;
  color: #fff;
  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: #fff;
  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/cont2_bg.png") 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: #000; 
  margin: 25px 0 12px 0;
  padding: 8px 0 8px 20px;
  letter-spacing: 0.05em;
  border-left: 4px solid #ca0c0c; /* 左にアクセントライン */
  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/cont_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(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;
}

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


}


/* スマホ対応（480px以下） */
@media (max-width: 480px) {
  .support-wrapper {
    max-width: calc(100% - 30px); 
    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, #c0392b, #e74c3c);
  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;
}