/* =============================================
   Contact Page
============================================= */

.contact-main {
  padding-top: var(--header-h);
  min-height: 100vh;
}

/* ページヘッダー */
.page-hero {
  background: var(--green);
  color: var(--white);
  text-align: center;
  padding: 60px 20px;
}

.page-hero h1 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 14px;
  opacity: 0.8;
}

/* LINEショートカット */
.line-shortcuts {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 56px 0 0;
  flex-wrap: wrap;
}

.line-shortcut-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 6px;
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  transition: opacity 0.2s, transform 0.2s;
}

.line-shortcut-btn:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.line-sc-inquiry { background: #06C755; }
.line-sc-recruit  { background: #05a847; }

.ls-icon {
  font-size: 16px;
  font-weight: 900;
  background: rgba(255,255,255,0.25);
  padding: 4px 8px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.ls-label { font-size: 14px; }

/* 区切り */
.form-divider {
  text-align: center;
  margin: 36px 0;
  position: relative;
}

.form-divider::before,
.form-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: calc(50% - 140px);
  height: 1px;
  background: var(--border);
}

.form-divider::before { left: 0; }
.form-divider::after  { right: 0; }

.form-divider span {
  font-size: 13px;
  color: var(--text-sub);
}

/* フォーム */
.contact-form {
  max-width: 720px;
  margin: 0 auto;
  padding-bottom: 90px;
}

.form-note {
  margin: 0 0 28px;
  color: var(--text-sub);
  font-size: 13px;
  text-align: right;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-group {
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.required {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 2px;
  margin-left: 6px;
  vertical-align: middle;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: 'Noto Sans JP', sans-serif;
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form 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='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(43, 94, 58, 0.1);
}

.contact-form textarea { resize: vertical; }

/* プライバシーポリシー */
.privacy-iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: 1px solid var(--border);
  border-radius: 4px;
  margin-bottom: 14px;
}

.agree-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  cursor: pointer;
  font-weight: 500 !important;
  margin-bottom: 0 !important;
}

.agree-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--green);
  flex-shrink: 0;
}

/* 送信ボタン */
.form-submit {
  text-align: center;
  margin-top: 40px;
}

.btn-submit {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  border: none;
  padding: 16px 64px;
  font-size: 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.1em;
  transition: background 0.2s, transform 0.2s;
}

.btn-submit:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
}

/* 送信結果 */
.result-main .container {
  padding-top: 56px;
  padding-bottom: 80px;
}

.result-card {
  max-width: 720px;
  margin: 0 auto;
  padding: 52px 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(11, 45, 75, 0.08);
  text-align: center;
}

.result-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--green);
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
}

.result-card-error .result-mark {
  background: #a64535;
}

.result-card h2 {
  margin-bottom: 18px;
  color: var(--navy-deep);
  font-size: clamp(22px, 3vw, 30px);
}

.result-card > p:not(.result-mark) {
  line-height: 2;
}

.result-note {
  margin: 24px 0 32px;
  padding: 14px 18px;
  border-radius: 4px;
  background: var(--bg);
  color: var(--text-sub);
  font-size: 13px;
}

/* Responsive */
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .form-row .form-group { margin-bottom: 28px; }

  .form-divider::before,
  .form-divider::after { width: calc(50% - 120px); }

  .line-shortcuts { flex-direction: column; align-items: center; }
  .line-shortcut-btn { width: 100%; max-width: 320px; justify-content: center; }
  .result-main .container { padding-top: 32px; padding-bottom: 52px; }
  .result-card { padding: 38px 20px; }
  .result-card br { display: none; }
}
