/* ==================================================
   1. 超大型モニター対策：サイト外枠を1440pxに制限
   ================================================== */
body, 
#qodef-page-wrapper, 
.qodef-wrapper,
#page-container {
  max-width: 1440px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.08); /* 巨大画面で浮かび上がる立体感 */
}

/* サイト外枠（画面端の余白）の背景色設定 */
html {
  background-color: #f0f2f5 !important;
}
/* ヘッダー右側のウィジェットエリア・検索・メニューアイコンを完全非表示 */
.qodef-header-widget-area-one,
.qodef-header-widget-area-two,
.qodef-widget-holder,
.qodef-search-form-holder,
div[class*="search"] {
  display: none !important;
}
/* ==================================================
   2. 内部コンテンツ（1200px）の保護と中央配置
   ================================================== */
.qodef-header-inner,
.qodef-page-inner,
.qodef-footer-top-area-inner,
.qodef-footer-bottom-area-inner {
  max-width: 1200px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
/* 右端の検索窓（Search for...）を全ページで非表示 */
.qodef-header-widget-area,
.qodef-search-opener,
.qodef-header-search-item {
  display: none !important;
}
/* ページ読み込み時・レンダリング時のロゴ巨大化防止 */
.qodef-logo-wrapper img,
.qodef-mobile-header-logo-wrapper img,
header .qodef-logo-area img {
  max-height: 50px !important;
  width: auto !important;
}
/* ==================================================
   会員登録・プロフィール作成フォーム 専用スタイル
================================================== */

/* 全体枠 */
.spinel-full-form {
  width: 100%;
  box-sizing: border-box;
}

/* 冒頭の安心宣言枠 */
.form-intro-box {
  background: #f8fafc;
  border-left: 4px solid #0b705e;
  padding: 18px 22px;
  border-radius: 4px;
  margin-bottom: 25px;
}
.form-intro-box h4 {
  margin: 0 0 10px 0;
  font-size: 1rem;
  color: #0b705e;
  font-weight: 700;
}
.form-intro-box ul {
  margin: 0;
  padding-left: 20px;
  font-size: 0.85rem;
  line-height: 1.6;
  color: #4a5568;
}

/* 各セクションブロック */
.spinel-full-form .form-block {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 25px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.spinel-full-form .form-block-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
}

.spinel-full-form .form-block-title .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #0b705e;
  color: #ffffff;
  font-size: 0.85rem;
  border-radius: 50%;
  margin-right: 10px;
}

/* セクションごとの安心説明バナー */
.privacy-note {
  font-size: 0.82rem;
  line-height: 1.5;
  padding: 10px 14px;
  border-radius: 6px;
  margin-bottom: 20px;
}
.lock-note {
  background-color: #f0f7ff;
  border: 1px solid #bae0ff;
  color: #003a8c;
}
.open-note {
  background-color: #f6ffed;
  border: 1px solid #b7eb8f;
  color: #135200;
}
.photo-note {
  background-color: #fffbe6;
  border: 1px solid #ffe58f;
  color: #874d00;
}

/* 2カラムレイアウト（レスポンシブ） */
.spinel-full-form .field-row {
  display: flex;
  gap: 20px;
  margin-bottom: 18px;
}
.spinel-full-form .field-row.single {
  flex-direction: column;
  gap: 0;
}
.spinel-full-form .field-col {
  flex: 1;
}

@media (max-width: 600px) {
  .spinel-full-form .field-row {
    flex-direction: column;
    gap: 0;
  }
  .spinel-full-form .field-col {
    margin-bottom: 18px;
  }
}

/* ラベル・補助文・バッジ */
.spinel-full-form label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 6px;
}
.spinel-full-form .badge-req {
  background-color: #e53e3e;
  color: #ffffff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 6px;
  font-weight: normal;
}
.field-help {
  font-size: 0.78rem;
  color: #718096;
  display: block;
  margin-top: 4px;
}

/* 入力パーツ共通 */
.spinel-full-form input[type="text"],
.spinel-full-form input[type="email"],
.spinel-full-form input[type="tel"],
.spinel-full-form input[type="date"],
.spinel-full-form select,
.spinel-full-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #cbd5e0;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 0.95rem;
  background-color: #ffffff;
}

.spinel-full-form input:focus,
.spinel-full-form select:focus,
.spinel-full-form textarea:focus {
  border-color: #0b705e;
  outline: none;
  box-shadow: 0 0 0 3px rgba(11, 112, 94, 0.15);
}

.spinel-full-form input[type="file"] {
  width: 100%;
  padding: 12px;
  border: 1px dashed #cbd5e0;
  border-radius: 6px;
  background-color: #fafbfc;
}

/* 定型文ボタン */
.template-guide {
  font-size: 0.8rem;
  color: #0b705e;
  font-weight: 600;
  margin: 4px 0 8px 0;
}
.template-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.btn-template {
  background-color: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 0.82rem;
  cursor: pointer;
}
.btn-template.selected-tag {
  background-color: #e6f4f1;
  color: #0b705e;
  border-color: #0b705e;
  font-weight: bold;
}

/* 同意・誓約枠 */
.legal-agreement-box {
  margin-top: 15px;
  padding: 14px;
  border: 1px solid #cbd5e0;
  background-color: #f8fafc;
  border-radius: 6px;
  font-size: 0.82rem;
  line-height: 1.6;
}

/* 送信ボタン */
.form-submit-wrapper {
  text-align: center;
  margin-top: 30px;
}
.spinel-btn-submit {
  background-color: #0b705e;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 15px 45px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(11, 112, 94, 0.25);
  transition: all 0.2s ease;
}
.spinel-btn-submit:hover {
  background-color: #085547;
  transform: translateY(-2px);
}
.submit-note {
  font-size: 0.8rem;
  color: #718096;
  margin-top: 10px;
}
/* 生年月日の入力欄の高さを均一化（iOS Safari対応） */
.spinel-full-form input[type="date"] {
  min-height: 46px !important;
  line-height: 46px !important;
}

/* 送信ボタンの視認性強化（深緑背景×白文字のピル型） */
.spinel-full-form .spinel-btn-submit {
  background-color: #0b705e !important;
  color: #ffffff !important;
  border: none !important;
  padding: 16px 40px !important;
  font-size: 1.05rem !important;
  font-weight: bold !important;
  border-radius: 30px !important;
  box-shadow: 0 4px 14px rgba(11, 112, 94, 0.3) !important;
  display: inline-block !important;
  width: auto !important;
  text-align: center !important;
}

.spinel-full-form .spinel-btn-submit:hover {
  background-color: #085547 !important;
  color: #ffffff !important;
}