@charset "UTF-8";
/* ========= Theme ========= */
:root {
  --blue: #1e88e5;
  --green: #21c08b;
  --blue-600: #1565c0;
  --green-600: #16a777;
  --bg: #f6f9fb;
  --card: #ffffff;
  --text: #1a1f2b;
  --muted: #6b7280;
  --line: #e6edf3;
  --warn: #d62828;
  --radius: 16px;
  --gap: 14px;
  --shadow: 0 10px 24px rgba(17, 24, 39, .10), 0 2px 8px rgba(17, 24, 39, .06);
  --focus: 0 0 0 3px rgba(30, 136, 229, .18), 0 0 0 6px rgba(33, 192, 139, .12);
  --grad: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  --grad-strong: linear-gradient(135deg, var(--blue-600) 0%, var(--green-600) 100%);
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 10% -10%, rgba(30, 136, 229, 0.08), transparent 60%), radial-gradient(900px 500px at 110% 20%, rgba(33, 192, 139, 0.1), transparent 60%), var(--bg);
}

/* ========= Header ========= */
.hero {
  padding: 42px 20px 28px;
  background: var(--grad);
  color: #fff;
  text-align: center;
}

.hero h1 {
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: clamp(22px, 2.4vw, 28px);
}

.line-skin {
  /* 既存の #btn-send をベースに、variant クラスで上書き */
}
.line-skin .hero {
  text-align: center;
  background: linear-gradient(135deg, #06C755, #05b349);
}
.line-skin .hero h1 {
  display: inline-block;
  padding: 16px 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.25;
  background: #fff;
  border: 2px solid #06C755;
  border-radius: 16px;
  box-shadow: 0 6px 16px rgba(6, 199, 85, 0.15);
  color: #06C755;
}
@media (max-width: 480px) {
  .line-skin .hero h1 {
    padding: 14px 20px;
    border-radius: 14px;
    font-size: clamp(20px, 5.2vw, 26px);
  }
}
.line-skin .btn {
  background: linear-gradient(135deg, #06C755, #05b349);
  box-shadow: 0 6px 16px rgba(6, 199, 85, 0.25), 0 2px 6px rgba(5, 179, 73, 0.18);
  color: #fff;
}
.line-skin input:focus,
.line-skin select:focus,
.line-skin textarea:focus {
  box-shadow: 0 0 0 3px rgba(6, 199, 85, 0.18), 0 0 0 6px rgba(5, 179, 73, 0.12);
  border-color: transparent;
  outline: none;
}
.line-skin #btn-send {
  background: linear-gradient(135deg, #07C160, #06B357);
  /* LINEグリーン */
  box-shadow: 0 6px 16px rgba(7, 193, 96, 0.25);
}
.line-skin #btn-send:hover {
  filter: brightness(1.05);
}

.mail-skin .hero {
  text-align: center;
}
.mail-skin .hero h1 {
  display: inline-block;
  padding: 16px 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.25;
  background: #fff;
  border: 2px solid #1e88e5;
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  color: #40C4FF;
  background-image: none !important;
  -webkit-background-clip: initial !important;
  background-clip: initial !important;
  -webkit-text-fill-color: initial !important;
  margin-bottom: 42px;
}
@media (max-width: 480px) {
  .mail-skin .hero h1 {
    padding: 14px 20px;
    border-radius: 14px;
    font-size: clamp(20px, 5.2vw, 26px);
  }
}
.mail-skin #btn-send {
  background: linear-gradient(135deg, #2563EB, #3B82F6);
  /* メール=ブルー系（例） */
  box-shadow: 0 6px 16px rgba(37, 99, 235, 0.25);
}
.mail-skin #btn-send:hover {
  filter: brightness(1.05);
}

/* ========= Card/Form ========= */
.wrap {
  max-width: 860px;
  margin: -28px auto 56px;
  padding: 0 18px;
}

.card {
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: clamp(18px, 3vw, 28px);
}

/* “うちの良さ”告知ボックス */
.pitch {
  position: relative;
  margin: 0 0 16px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--line, #e6edf3);
  background: linear-gradient(180deg, rgba(33, 192, 139, 0.1), rgba(30, 136, 229, 0.1));
  box-shadow: 0 6px 16px rgba(17, 24, 39, 0.06);
}

.pitch::before {
  content: "POINT";
  position: absolute;
  top: -10px;
  left: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  padding: 2px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--blue, #1e88e5), var(--green, #21c08b));
  box-shadow: 0 2px 8px rgba(30, 136, 229, 0.25);
}

.pitch .lead {
  margin: 0 0 6px;
  font-weight: 800;
  font-size: clamp(15px, 1.9vw, 17px);
  color: #0b3a2b;
}

.pitch .sub {
  margin: 0;
  color: #334155;
  line-height: 1.7;
  font-size: 14px;
}

.form {
  display: grid;
  gap: var(--gap);
}

.row {
  display: grid;
  padding: 5px 0;
  gap: 3px;
}

.grid-2 {
  display: grid;
  align-items: start;
  gap: var(--gap);
  grid-template-columns: 1fr 1fr;
}

/* 個人情報の取扱いボックス */
.privacy-box {
  margin: 12px 0 10px;
  padding: 12px 14px;
  border: 1px solid var(--line, #e6edf3);
  border-radius: 10px;
  background: #f8fafc;
  color: #475569;
  font-size: 13px;
  line-height: 1.7;
}

.privacy-box h3 {
  margin: 0 0 6px;
  font-size: 14px;
  color: #0b3a2b;
  font-weight: 700;
}

label {
  font-size: 15px;
}

.required {
  font-size: 20px;
  font-weight: 600;
}

.required::after {
  content: " *";
  color: var(--warn);
}

input,
select,
textarea {
  padding: 12px 12px;
  font-size: 16px;
  border: 1.2px solid #d9e3ec;
  border-radius: 12px;
  background: #fbfdff;
  transition: 0.15s ease;
  outline: none;
}

.name-field input {
  width: 100%;
}

input::-moz-placeholder, textarea::-moz-placeholder {
  color: #9aa6b2;
}

input::placeholder,
textarea::placeholder {
  color: #9aa6b2;
}

select:disabled {
  background: #f3f6f9;
  color: #98a2b3;
  cursor: not-allowed;
}

input:focus,
select:focus,
textarea:focus {
  border-color: transparent;
  box-shadow: var(--focus);
  background: #fff;
}

.hint {
  font-size: 12.5px;
  color: var(--muted);
}

.important {
  color: #ff0000;
}

.note {
  font-size: 13px;
  color: var(--muted);
  margin: 6px 0 0;
}

/* ========= Button ========= */
.actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 6px;
}

.btn {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(30, 136, 229, 0.18), 0 2px 6px rgba(33, 192, 139, 0.12);
  transition: transform 0.06s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.btn:hover {
  filter: saturate(1.05);
  box-shadow: 0 8px 20px rgba(30, 136, 229, 0.24), 0 4px 10px rgba(33, 192, 139, 0.16);
}

.btn:active {
  transform: translateY(1px);
}

/* ========= Section title ========= */
.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  margin: 6px 0 2px;
}

.section-title .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--grad-strong);
}

.badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #0b3a2b;
  background: linear-gradient(135deg, #ddfff2, #e8f3ff);
  border: 1px solid #c9ebff;
  padding: 4px 8px;
  border-radius: 999px;
}

.is-hidden {
  display: none !important;
}

.notice {
  margin: 10px 0 0;
  padding: 12px 14px;
  border-left: 6px solid #f2ac00;
  /* 目立たせる */
  background: #fff8db;
  /* 淡い強調 */
  border-radius: 8px;
}

.notice__title {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
}

#visa_notice_pt {
  border-left-color: #06c755;
}

/* アルバイト時はより目立たせる */
/* 確認モーダル */
#confirm-overlay {
  position: fixed;
  inset: 0;
  display: none;
  background: rgba(12, 16, 28, 0.5);
  z-index: 50;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#confirm-overlay[aria-hidden=false] {
  display: flex;
}

.confirm-card {
  width: min(720px, 100%);
  background: #fff;
  color: var(--text);
  border-radius: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  padding: 20px;
}

.confirm-card h2 {
  margin: 0 0 8px;
  font-size: clamp(18px, 2.2vw, 22px);
}

.confirm-note {
  margin: 0 0 14px;
  color: var(--muted);
}

.confirm-list {
  margin: 0;
}

.confirm-list > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px dashed #e3e8ef;
}

.confirm-list > div:first-child {
  border-top: none;
}

.confirm-list dt {
  font-weight: 700;
  color: #0b3a2b;
}

.confirm-list dd {
  margin: 0;
  word-break: break-word;
}

.confirm-list .pre {
  white-space: pre-wrap;
}

.confirm-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.rb-group {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.rb-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  width: 100%;
}

.btn.ghost {
  background: #eef6ff;
  color: #0b3a2b;
}

/* ===== エラーメッセージ用 ===== */
.rb-group.is-error {
  border-radius: 8px;
  padding: 10px;
}

.rb-group + .error-msg {
  margin-top: 8px;
}

/* 枠の外に出たときの余白 */
.error-msg {
  font-size: 12px;
  color: #e11;
  line-height: 1.4;
}

@keyframes glow-red {
  0% {
    box-shadow: 0 0 0 rgba(225, 17, 17, 0);
  }
  50% {
    box-shadow: 0 0 14px rgba(225, 17, 17, 0.65);
  }
  100% {
    box-shadow: 0 0 0 rgba(225, 17, 17, 0);
  }
}
.glow-error--persistent {
  animation: glow-red 1.2s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .glow-error--persistent {
    animation: none;
  }
}
/* ===== 確認モーダル：ベース ===== */
.is-hidden {
  display: none !important;
}

#confirm-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  -webkit-backdrop-filter: blur(2px);
          backdrop-filter: blur(2px);
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 9999;
}

/* ダイアログ本体 */
#confirm-overlay .confirm-dialog {
  width: min(720px, 100%);
  max-height: min(90vh, 900px);
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr auto;
  /* アニメーション */
  transform: translateY(8px);
  opacity: 0;
  animation: confirm-in 220ms ease-out forwards;
}

/* タイトル */
#confirm-overlay #confirm-title {
  font-size: 1.25rem;
  font-weight: 700;
  padding: 16px 20px 8px;
  margin: 0;
  line-height: 1.3;
  border-bottom: 1px solid #eef0f3;
}

/* 内容グリッド */
#confirm-overlay .confirm-grid {
  padding: 16px 20px 8px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 10px 20px;
  overflow: auto;
}

/* ラベル列・値列 */
#confirm-overlay .confirm-grid > div:nth-child(odd) {
  color: #475467;
  font-weight: 600;
  white-space: nowrap;
}

#confirm-overlay .confirm-grid > div:nth-child(even) {
  color: #1f2937;
  word-break: break-word;
}

/* 外国籍の行はJSで display 切替。ここでは余白馴染ませ */
/* アクション行 */
#confirm-overlay .confirm-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 14px 20px 18px;
  border-top: 1px solid #eef0f3;
}

/* ボタン */
#btn-back,
#btn-send,
#btn-close {
  font: inherit;
  line-height: 1;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
}

#btn-send:active {
  transform: translateY(1px);
}

#btn-back {
  padding: 12px 16px;
  background: #eef2f7;
  color: #111827;
  font-weight: 600;
}

#btn-send {
  color: #ffffff;
}

#btn-back:hover {
  filter: brightness(0.98);
}

/* × クローズボタン（右上フローティング） */
#btn-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #f3f4f6;
  color: #111827;
  display: grid;
  place-items: center;
}

#btn-close:hover {
  filter: brightness(0.97);
}

/* スクロール時の下端グラデーション（長文になっても綺麗） */
#confirm-overlay .confirm-dialog::after {
  content: "";
  pointer-events: none;
  grid-row: 2/3;
  margin-top: auto;
  height: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}

/* モバイル最適化（1カラム） */
@media (max-width: 640px) {
  #confirm-overlay {
    padding: 12px;
  }
  #confirm-overlay .confirm-dialog {
    width: 100%;
    border-radius: 14px;
  }
  #confirm-overlay .confirm-grid {
    grid-template-columns: 1fr;
    gap: 6px 0;
  }
  #confirm-overlay .confirm-grid > div:nth-child(odd) {
    color: #6b7280;
    font-weight: 600;
    margin-top: 8px;
  }
}
/* 文字サイズユーティリティ（任意） */
#confirm-overlay .muted {
  color: #6b7280;
}

/* アニメーション */
@keyframes confirm-in {
  from {
    transform: translateY(8px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}
/* 動きが苦手な環境配慮 */
@media (prefers-reduced-motion: reduce) {
  #confirm-overlay .confirm-dialog {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 640px) {
  .form,
  .grid-2 {
    gap: 0;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
  .row {
    padding: 1.5vw 0;
  }
  .name-field {
    padding: 5px 0;
  }
}/*# sourceMappingURL=style.css.map */