/* 問い合わせ画面(2026-09-04)。
   公開GitHubのIssuesへ飛ばすのをやめ、アプリの中で完結させるための画面。 */

.contact-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-title {
  font-size: 19px;
  margin: 4px 0 0;
  text-align: center;
}

/* 種別の2択。横に並べて、選んでいるほうを塗る */
.contact-kinds {
  display: flex;
  gap: 8px;
}

.contact-kind {
  flex: 1;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 700;
  /* 指で押す最小の高さ。ここを割ると隣を誤タップする */
  min-height: 44px;
  padding: 10px 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink-soft);
  cursor: pointer;
}

.contact-kind.is-selected {
  border-color: var(--accent);
  color: var(--accent-dark);
  background: var(--bg-card);
}

.contact-lead {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

#contact-form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

#contact-text {
  font-family: inherit;
  font-size: 16px; /* 16px未満だとiOS Safariが勝手に拡大する */
  line-height: 1.75;
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  color: var(--ink);
  resize: vertical;
}

#contact-text:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
}

.contact-count {
  font-size: 12px;
  color: var(--ink-soft);
  text-align: right;
  margin: 0;
}

.contact-note {
  font-size: 12.5px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0;
}

.contact-error {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.7;
  color: #c0392b;
  margin: 0;
}

/* 送ったあと。フォームと入れ替えて出す */
.contact-thanks {
  text-align: center;
  padding: 24px 0 8px;
}

.contact-thanks-mark {
  font-size: 40px;
  margin: 0 0 8px;
}

.contact-thanks-text {
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 16px;
}

/* 設定画面のリンク一覧に混ぜるボタン。前後のリンクと同じ見た目にする
   (ここだけボタンらしく見えると、並びの中で浮く) */
.about-link-btn {
  padding: 0;
  font-size: inherit;
  text-align: left;
}
