<turbo-stream action="replace" target="contact"><template><div id="contact">
  <div class="mt-4 flex flex-wrap items-center gap-2.5">
    <span class="flex shrink-0 items-center gap-2" aria-current="step">
      <span class="grid h-[22px] w-[22px] place-items-center rounded-full border text-micro tabular-nums border-fill bg-fill text-white">1</span>
      <span class="whitespace-nowrap text-footnote text-ink">入力</span>
    </span>
      <span aria-hidden="true" class="flex shrink-0 items-center">
        <svg viewBox="0 0 16 16" class="h-3 w-3 text-edge" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M6 3.5L10.5 8 6 12.5"/></svg>
      </span>
    <span class="flex shrink-0 items-center gap-2" aria-current="false">
      <span class="grid h-[22px] w-[22px] place-items-center rounded-full border text-micro tabular-nums border-line text-disable">2</span>
      <span class="whitespace-nowrap text-footnote text-faint">確認</span>
    </span>
      <span aria-hidden="true" class="flex shrink-0 items-center">
        <svg viewBox="0 0 16 16" class="h-3 w-3 text-edge" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"><path d="M6 3.5L10.5 8 6 12.5"/></svg>
      </span>
    <span class="flex shrink-0 items-center gap-2" aria-current="false">
      <span class="grid h-[22px] w-[22px] place-items-center rounded-full border text-micro tabular-nums border-line text-disable">3</span>
      <span class="whitespace-nowrap text-footnote text-faint">完了</span>
    </span>
</div>

  <form class="mt-2 max-w-[44rem]" action="/contact/confirm" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="am_wnUzOnKvjDMNWqEE55a4ItGbbYydL0yww658d-km5oZoIjcfsaC3jVPTUA02xogx7q-L0Drw50R5iQj8cSg" />
  <p class="m-0 leading-body text-ink-soft">
    製品情報の誤り、投稿の削除依頼、不具合の報告などをお送りください。返信が必要と判断した場合にお送りします。返信までに数営業日いただくことがあります。
  </p>

  <div class="mt-6 grid gap-5">
    <div class="grid gap-5 wide:grid-cols-[144px_minmax(0,1fr)] max-wide:gap-1.5">
      <label class="m-0 text-small wide:pt-3" for="contact_category">種類 <span class="text-alert" aria-hidden="true">*</span></label>
      <div>
        <div class="relative" data-controller="select" data-select-label="種類">
          <select class="block h-11 w-full rounded-tight border bg-white px-3 text-body text-ink focus:border-accent border-edge" data-select-target="select" aria-describedby="contact_category_error" name="contact[category]" id="contact_category"><option selected="selected" value="wrong_info">製品情報の誤りを知らせる</option>
<option value="delete_request">投稿の削除を依頼する</option>
<option value="bug">不具合を報告する</option>
<option value="add_request">製品の追加を依頼する</option>
<option value="other">その他</option></select>
        </div>
      </div>
    </div>

    <div class="grid gap-5 wide:grid-cols-[144px_minmax(0,1fr)] max-wide:gap-1.5">
      <label class="m-0 text-small wide:pt-3" for="contact_email">メールアドレス <span class="text-alert" aria-hidden="true">*</span></label>
      <div>
        <input class="block h-11 w-full rounded-tight border bg-white px-3 text-body text-ink focus:border-accent border-edge" autocomplete="email" placeholder="you@example.com" aria-describedby="contact_email_error contact_email_hint" type="email" name="contact[email]" id="contact_email" />
        <p class="mt-1.5 text-footnote leading-body text-faint" id="contact_email_hint">返信先として使います。それ以外の目的では使いません。</p>
      </div>
    </div>

    <div class="grid gap-5 wide:grid-cols-[144px_minmax(0,1fr)] max-wide:gap-1.5" data-controller="counter">
      <label class="m-0 text-small wide:pt-3" for="contact_body">内容 <span class="text-alert" aria-hidden="true">*</span></label>
      <div>
        <textarea rows="8" maxlength="2000" class="block w-full resize-y rounded-tight border bg-white p-3 text-body leading-body text-ink focus:border-accent border-edge" placeholder="該当するページのアドレスや、製品名を書いていただけると調べやすくなります。" data-counter-target="input" data-action="input-&gt;counter#update" aria-describedby="contact_body_error" name="contact[body]" id="contact_body">
</textarea>
        <p class="mt-1.5 text-right text-caption text-faint tabular-nums"><span data-counter-target="count">0</span> / 2,000</p>
      </div>
    </div>
  </div>

  <div class="mt-2 flex flex-col items-start gap-3.5">
    <div>
      <div class="flex min-h-11 w-fit items-center gap-2.5 text-footnote text-ink-soft">
        <label class="flex cursor-pointer items-center" for="contact_agreed">
          <input name="contact[agreed]" type="hidden" value="0" /><input class="peer sr-only" aria-labelledby="contact_agreed_text" aria-describedby="contact_agreed_error" type="checkbox" value="1" name="contact[agreed]" id="contact_agreed" />
          <span class="grid h-3.5 w-3.5 shrink-0 place-items-center rounded-tight border border-edge peer-checked:border-accent peer-checked:bg-accent peer-focus-visible:outline-2 peer-focus-visible:outline-offset-1 peer-focus-visible:outline-ink [&>svg]:hidden peer-checked:[&>svg]:block">
            <svg viewBox="0 0 12 12" class="h-[9px] w-[9px]" fill="none" stroke="#fff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M2.5 6.5L4.8 8.8 9.5 3.5"/></svg>
          </span>
</label>        <span id="contact_agreed_text"><a class="cursor-pointer text-accent-dark hover:text-[color-mix(in_oklch,var(--color-accent-dark)_75%,var(--color-ink))]" href="/privacy">プライバシーポリシー</a><label class="cursor-pointer" for="contact_agreed">に同意します</label></span>
      </div>
    </div>
    <div class="flex self-stretch justify-end">
      <button name="button" type="submit" class="inline-flex h-11 cursor-pointer items-center justify-center whitespace-nowrap rounded-tight border-0 bg-fill px-6 text-body text-white hover:opacity-[.86]">確認する</button>
    </div>
  </div>
</form>
</div>
</template></turbo-stream>