@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: #080810;
  color: #ffffff;
  font-family: 'Noto Sans JP', sans-serif;
  min-height: 100vh;
  padding: 40px 16px;
}

/* メインコンテナ */
#wrapper, #container, .form-wrap, form {
  max-width: 720px;
  margin: 0 auto;
}

/* ヘッダー */
h1, h2, #form-title, .form-title, .section__ttl {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 16px 24px;
  background: linear-gradient(135deg, #e6007e, #7c3aed);
  color: #fff;
  border-radius: 8px 8px 0 0;
  margin-bottom: 0;
}

/* フォーム全体の枠 */
table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(230,0,126,0.2);
  border-radius: 0 0 8px 8px;
}

/* 説明文 */
p, .description {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  margin: 20px 0 16px;
  line-height: 1.8;
}

/* ラベルセル（左列） */
th, td.label, .form-label {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 700;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  vertical-align: middle;
  white-space: nowrap;
  width: 160px;
}

/* 入力セル（右列） */
td {
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: transparent;
  vertical-align: middle;
}

/* インプット・テキストエリア・セレクト 共通 */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(230,0,126,0.3);
  border-radius: 6px;
  color: #ffffff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  border-color: #e6007e;
  box-shadow: 0 0 0 3px rgba(230,0,126,0.15);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

/* 会社名（2行目のtextarea）を1行に */
table tr:nth-child(2) textarea {
  height: 42px !important;
  min-height: 42px !important;
  resize: none;
  overflow: hidden;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23e6007e' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* プレースホルダー */
::placeholder { color: rgba(255,255,255,0.25); }

/* 確認ボタン */
input[type="submit"],
input[type="button"],
button {
  display: block;
  margin: 28px auto 16px;
  padding: 14px 48px;
  background: linear-gradient(135deg, #e6007e, #7c3aed);
  color: #ffffff;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity 0.2s;
}

input[type="submit"]:hover,
button:hover { opacity: 0.85; }

/* Return to site リンク */
a {
  color: rgba(230,0,126,0.8);
  text-decoration: none;
  font-size: 13px;
  display: block;
  text-align: center;
  margin-top: 12px;
}

a:hover { color: #e6007e; text-decoration: underline; }

/* 必須マーク */
.required, span.req {
  color: #e6007e;
  font-size: 11px;
  margin-left: 4px;
}

/* エラーメッセージ */
.error, .err { color: #ff6b9d; font-size: 12px; margin-top: 6px; }

/* セレクト選択肢 */
option {
  background-color: #1a1a2e;
  color: #ffffff;
}