@charset "utf-8";

body {
  font-family: 'M PLUS 1p', sans-serif;
  background-color: #f5f7f9;
  margin: 0;
  padding: 0;
  color: #333333;
}

.wrapper {
  max-width: 600px;
  margin: 0 auto;
  padding: 1rem;
}

.contents img {
  width: 100%;
  margin: 1rem 0;
}

form {
  background: #fdfdfd;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

/* タイトル周り */
.form-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.excite-title {
  font-size: 1.8rem;
  font-weight: 900;
  color: #ff2929;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  margin-bottom: 0.5rem;
}

.excite-sub {
  font-size: 1.1rem;
  font-weight: 700;
  color: #444;
}

/* メールフォーム */
.mail_form {
  margin-bottom: 1.5rem;
}

.mail_form p.label {
  margin-bottom: 0.3rem;
  font-weight: bold;
  text-align: center;
}

.mail_form p.note {
  font-size: 0.85rem;
  color: #666;
  margin-bottom: 0.3rem;
}

.mail_in {
  width: 100%;
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #f8f8f8;
  color: #333;
  box-sizing: border-box;
}

.error {
  color: #b45f5f;
  font-size: 0.9rem;
  margin-top: 0.3rem;
}

/* 誘導文と矢印 */
.submit-info {
  text-align: center;
  margin: 1.5rem 0;
  font-size: 1rem;
  color: #666;
}

.arrow {
  font-size: 1.5rem;
  display: inline-block;
  margin-bottom: 0.5rem;
  animation: blink 1.2s infinite;
  color: #999;
}

@keyframes blink {
  0% { opacity: 0.2; }
  50% { opacity: 1; }
  100% { opacity: 0.2; }
}

.instruction {
  font-weight: bold;
  color: #5c5c5c;
  font-size: 1.1rem;
}

/* ボタン（銀色光沢＋動き） */
.submit-btn {
  display: block;
  width: 100%;
  font-size: 1.2rem;
  padding: 0.75rem;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.submit-btn.silver-gloss {
  position: relative;
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
  background: linear-gradient(145deg, #e0e0e0, #bcbcbc);
  border: 1px solid #aaa;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  z-index: 0;
  text-align: center;
}

.submit-btn.silver-gloss:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.3);
  background: linear-gradient(145deg, #f0f0f0, #c0c0c0);
}

.submit-btn.silver-gloss:focus {
  outline: 3px solid #999;
  outline-offset: 2px;
}

.submit-btn.silver-gloss:active {
  transform: scale(0.96);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* 光の筋アニメーション */
.submit-btn.silver-gloss::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 50%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg);
  animation: shine 2.5s infinite;
  z-index: 1;
}

@keyframes shine {
  0% {
    left: -60%;
  }
  50% {
    left: 110%;
  }
  100% {
    left: 110%;
  }
}

.submit-btn.silver-gloss span {
  position: relative;
  z-index: 2;
}

/* 波紋エフェクト */
.ripple-container {
  position: relative;
  overflow: hidden;
}

.ripple-container .ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  animation: ripple-animation 0.6s linear;
  background-color: rgba(255, 255, 255, 0.7);
  pointer-events: none;
  z-index: 3;
}

@keyframes ripple-animation {
  to {
    transform: scale(4);
    opacity: 0;
  }
}
