/* ==========================================
   Gemaris 応募フォーム・カード修正版（余計なズレを完全に排除）
   ========================================== */
.apply-card-box {
  position: relative;
  background: #fdfaf4;
  border: 2px solid #e6d7c3;
  border-radius: 16px;
  padding: 35px 15px; /* 🚨 左右のパディングを 25px から 15px に狭めてスペースを稼ぐ */
  box-shadow: 0 10px 30px rgba(215, 201, 182, 0.25);
  text-align: center;
  box-sizing: border-box;
}

/* 上部の APPLY & キラキラ装飾 */
/* --- 修正版: 絶対に改行させないCSS --- */
.apply-header-top {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  margin-bottom: 20px !important;
  gap: 8px !important; /* 線とひし形の間の隙間 */
  box-sizing: border-box !important;
}

.apply-ornament-line {
  flex: 1 !important; /* 画面幅に合わせて線が綺麗に伸びる */
  max-width: 60px !important; /* 長すぎないように制限 */
  height: 1px !important;
  background: #d4af37 !important;
}

.apply-ornament-diamond {
  width: 7px !important;
  height: 7px !important;
  background-color: #9c2a2a !important;
  transform: rotate(45deg) !important;
  flex-shrink: 0 !important; /* ひし形は縮まない */
}
/* メインタイトル */
.apply-card-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 2rem;
  color: #8b1e24;
  margin-bottom: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* 中央の区切り線（赤玉付き） */
.apply-center-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0 25px;
}

.apply-center-divider span {
  height: 1px;
  width: 60px;
  background-color: #d4af37;
}

.apply-center-dot {
  width: 8px;
  height: 8px;
  background-color: #9c2a2a;
  border-radius: 50%;
  margin: 0 10px;
}

/* 本文テキスト */
.apply-card-text {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1.05rem;
  color: #333333;
  line-height: 2;
  margin: 0;
}

/* ==========================================
   Gemaris 応募ボタン風スタイル
   ========================================== */
.apply-submit-btn {
  position: relative;
  width: 100%;
  max-width: 560px;
  height: 80px;
  background: linear-gradient(135deg, #a82328 0%, #83151a 100%);
  border: 2px solid #e0c283;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(131, 21, 26, 0.25), inset 0 0 0 2px rgba(224, 194, 131, 0.4);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  padding: 0;
  outline: none;
  overflow: hidden;
}

.apply-submit-btn:hover {
  transform: scale(0.98);
  opacity: 0.95;
  box-shadow: 0 5px 15px rgba(131, 21, 26, 0.2);
}

.apply-submit-text {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1.8rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.apply-submit-btn::before,
.apply-submit-btn::after {
  content: '✦';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #f3dfb2;
  font-size: 1.2rem;
  text-shadow: 0 0 6px rgba(243, 223, 178, 0.8);
}

.apply-submit-btn::before {
  left: 35px;
}

.apply-submit-btn::after {
  right: 35px;
}

/* ==========================================
   Gemaris 相談バナー風スタイル（統一感アップ版）
   ========================================== */
.apply-consult-card {
  display: block;
  max-width: 560px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #e6d7c3;
  border-radius: 16px;
  padding: 40px 25px;
  box-shadow: 0 10px 30px rgba(215, 201, 182, 0.25);
  text-decoration: none;
  box-sizing: border-box;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.apply-consult-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(215, 201, 182, 0.2);
}

.apply-consult-text-box {
  text-align: center;
  margin-bottom: 25px;
}

.apply-consult-title {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 1.3rem;
  color: #8b1e24;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.apply-consult-desc {
  font-family: "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 0.95srem;
  color: #555555;
  line-height: 1.8;
  margin: 0;
}

/* ==========================================
   全体調整・リセット用
   ========================================== */
.apply-form {
  background-color: #ffffff;
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.form-group label {
  color: #2b2b2b !important;
}

.form-group input[type="text"],
.form-group select,
.form-group textarea {
  background-color: #ffffff !important;
  color: #2b2b2b !important;
  border: 1px solid #cccccc !important;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999999 !important;
}
/* 応募ボタンの左右のキラキラを強制的に消す */
.apply-submit-btn::before,
.apply-submit-btn::after {
  display: none !important;
  content: none !important;
}