/* =============================================
   お問い合わせ — contact.css
   青ペン×ノート
   ============================================= */

/* フォームイントロ */
.contact-intro {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  margin-bottom: 48px;
}
.contact-intro p {
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 2.2;
}

/* 送信完了メッセージ */
.form-thanks {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 32px;
  background: var(--blue-light);
  border: 1.5px solid var(--blue);
  border-radius: 10px;
  padding: 26px 32px;
  text-align: center;
}
.form-thanks__title {
  font-family: 'Klee One', cursive;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.form-thanks__body {
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 2;
}

/* 送信エラーメッセージ */
.form-error {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 32px;
  background: #fff5f5;
  border: 1.5px solid #e57373;
  border-radius: 10px;
  padding: 26px 32px;
  text-align: center;
}
.form-error__title {
  font-family: 'Klee One', cursive;
  font-size: 1.1rem;
  font-weight: 600;
  color: #c62828;
  margin-bottom: 8px;
}
.form-error__body {
  font-size: .88rem;
  color: var(--ink-soft);
  line-height: 2;
}
.form-error__body a {
  color: var(--blue-dark);
  text-decoration: underline;
}

/* FormSubmit honeypot（画面外・スクリーンリーダー非表示） */
.form-honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* フォーム（ノート用紙の上に） */
.contact-form {
  max-width: 760px;
  margin-inline: auto;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(36,52,74,.07);
  padding: 48px 52px 40px;
  position: relative;
}
/* 上辺にテープ */
.contact-form::before {
  content: '';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 120px;
  height: 28px;
  background: rgba(150,190,255,.45);
  border-left: 1px dashed rgba(255,255,255,.8);
  border-right: 1px dashed rgba(255,255,255,.8);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { margin-bottom: 22px; }
.form-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.form-label-req {
  font-family: 'Klee One', cursive;
  font-size: .66rem;
  font-weight: 600;
  background: var(--blue);
  color: #fff;
  padding: 2px 10px;
  border-radius: 40px;
  letter-spacing: .06em;
}
.form-label-opt {
  font-family: 'Klee One', cursive;
  font-size: .66rem;
  font-weight: 600;
  background: var(--gray-100);
  color: var(--gray-600);
  padding: 2px 10px;
  border-radius: 40px;
  letter-spacing: .06em;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: .88rem;
  font-family: inherit;
  color: var(--text);
  background: var(--blue-pale);
  transition: border-color .2s, box-shadow .2s, background .2s;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(43,92,201,.12);
}
.form-textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.9;
}
.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 fill='%232b5cc9' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-submit {
  text-align: center;
  margin-top: 8px;
}

/* LINE CTAカード */
.contact-line-section {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding-block: 56px;
}
.contact-line-card {
  max-width: 600px;
  margin-inline: auto;
  background: #fff;
  border: 2px dashed var(--line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 26px 30px;
}
.contact-line-icon {
  width: 58px; height: 58px;
  background: var(--line);
  color: #fff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .88rem;
  letter-spacing: .04em;
  flex-shrink: 0;
  box-shadow: 0 6px 14px rgba(6,199,85,.25);
}
.contact-line-texts { flex: 1; }
.contact-line-sub {
  font-family: 'Klee One', cursive;
  font-size: .8rem;
  font-weight: 600;
  color: var(--line);
  margin-bottom: 4px;
}
.contact-line-main {
  font-size: .96rem;
  color: var(--text);
  font-weight: 500;
}
.contact-line-main strong { font-weight: 900; }

/* レスポンシブ */
@media (max-width: 768px) {
  .contact-form { padding: 32px 20px 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-line-card { flex-direction: column; text-align: center; padding: 24px 20px; }
  .contact-line-texts { text-align: center; }
}
