/* お問い合わせページ /contact 専用スタイル
   テンプレ magazine/contact.html のインライン <style> を移植（1:1） */

  /* hero block */
  .c-hero{ background:radial-gradient(120% 90% at 82% -10%, rgba(194,255,61,.12), transparent 55%), var(--blue); color:#fff; }
  .c-hero .frame{ max-width:var(--maxw); margin:0 auto; padding:40px 40px 56px; }
  .c-hero .crumb{ margin-bottom:30px; }
  .c-hero .crumb, .c-hero .crumb a{ color:rgba(255,255,255,.6); }
  .c-hero .crumb .cur{ color:#fff; }
  .c-hero .crumb .sep{ color:rgba(255,255,255,.32); }
  .c-hero .eyebrow{ color:rgba(255,255,255,.72); margin-bottom:18px; }
  .c-hero .eyebrow::before{ background:var(--acid); }
  .c-hero h1{ font-family:var(--disp); font-weight:400; font-size:clamp(72px,15vw,200px); line-height:.86; letter-spacing:.012em; margin:0; color:#fff; }
  .c-hero h1 .dot{ color:var(--acid); }
  .c-hero .sub{ font-size:16px; line-height:1.95; color:rgba(255,255,255,.82); max-width:min(100%,780px); margin:20px 0 0; }

  /* form */
  .c-body{ max-width:760px; margin:0 auto; padding:64px 40px 0; }
  .c-note{ font-size:13px; color:var(--ink-3); line-height:1.9; margin:0 0 36px; padding:16px 20px; border:1px dashed var(--line); border-radius:8px; }
  .c-note b{ color:var(--acid); font-weight:400; font-family:var(--mono); font-size:11px; letter-spacing:.1em; }

  form{ display:flex; flex-direction:column; gap:24px; }
  .field{ display:flex; flex-direction:column; gap:9px; }
  .row2{ display:grid; grid-template-columns:1fr 1fr; gap:24px; }
  label{ font-family:var(--mono); font-size:11px; letter-spacing:.12em; text-transform:uppercase; color:var(--ink-2); display:flex; align-items:center; gap:9px; }
  label .req{ color:#0b0b0d; background:var(--acid); font-size:9px; letter-spacing:.08em; padding:3px 7px; border-radius:100px; }
  label .opt{ color:var(--ink-3); border:1px solid var(--line); font-size:9px; letter-spacing:.08em; padding:2px 7px; border-radius:100px; }
  label .jp{ font-family:var(--sans); font-weight:700; font-size:13px; letter-spacing:0; text-transform:none; color:var(--ink); }
  input, select, textarea{
    font-family:var(--sans); font-size:15px; color:#fff;
    background:var(--paper-3); border:1px solid var(--line); border-radius:9px;
    padding:14px 16px; outline:none; transition:border-color .18s, box-shadow .18s; width:100%;
    /* Tailwind preflight の line-height:inherit を打ち消し、テンプレのブラウザ既定に合わせる */
    line-height:normal;
  }
  textarea{ resize:vertical; min-height:150px; line-height:1.8; }
  input::placeholder, textarea::placeholder{ color:var(--ink-3); }
  input:focus, select:focus, textarea:focus{ border-color:var(--acid); box-shadow:0 0 0 3px rgba(194,255,61,.16); }
  select{ appearance:none; 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='%2376767e' stroke-width='1.6' fill='none'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 18px center; padding-right:42px;
    /* select 内部の行ボックスが環境依存で縮む対策。テンプレの実測値(22px)に固定して高さ52pxを揃える */
    line-height:22px; }

  .agree{ display:flex; gap:13px; align-items:flex-start; padding:20px 22px; background:var(--paper-3); border:1px solid var(--line); border-radius:9px; }
  .agree input{ width:20px; height:20px; flex:none; margin-top:1px; accent-color:#76e63a; }
  .agree label{ font-family:var(--sans); text-transform:none; letter-spacing:0; font-size:13.5px; color:var(--ink-2); line-height:1.7; }
  .agree a{ color:var(--acid); text-decoration:underline; text-underline-offset:3px; }

  /* 送信ボタンはセンタリングし、返信目安のヒントはボタンの下に配置 */
  .submit-row{ display:flex; flex-direction:column; align-items:center; gap:14px; margin-top:6px; }
  .submit-row .btn.gold{ font-size:13px; padding:17px 38px; line-height:normal; }
  .submit-row .hint{ font-family:var(--mono); font-size:11px; color:var(--ink-3); letter-spacing:.04em; }

  /* honeypot（bot 対策）: 画面外へ退避 */
  .hp{ position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }

  /* 送信失敗メッセージ */
  .form-error{ display:none; font-size:13px; line-height:1.8; color:#ff8080; margin:0; text-align:center; }

  .sent{ display:none; text-align:center; padding:54px 30px; border:1px solid var(--acid); border-radius:12px; background:var(--gold-tint); }
  .sent.on{ display:block; }
  .sent .ic{ width:54px; height:54px; border-radius:50%; background:var(--acid); color:#0b0b0d; display:flex; align-items:center; justify-content:center; margin:0 auto 18px; font-size:26px; }
  .sent h3{ font-family:var(--head); font-weight:400; font-size:30px; letter-spacing:.01em; margin:0 0 10px; color:#fff; }
  .sent p{ color:var(--ink-2); font-size:14px; margin:0; }

  @media (max-width:680px){
    .c-hero .frame{ padding-left:22px; padding-right:22px; }
    .c-body{ padding-left:22px; padding-right:22px; }
    .row2{ grid-template-columns:1fr; }
  }

/* 同意文のリンクが語中で折り返して下線が割れるのを防ぐ（SPで顕著） */
.agree a{ white-space:nowrap; }
/* 同意文のリンクは指で押す対象。行内でも上下に当たり判定を持たせる */
.agree a{ display:inline-block; padding:5px 0; }
