/* お問い合わせページだけの見た目。土台・ナビ・フッター・ボタンの形は ../styles.css を使う。外部の読み込みなし。 */
.ct {
  --green: #087c73;
  --green-hover: #06665f;
  --green-soft: #e8f4f2;
  --green-line: #b9dcd7;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(56px, 9vw, 112px) var(--gutter) clamp(72px, 10vw, 128px);
}
.ct :focus-visible { outline-color: var(--green); }

/* 見出し */
.ct__head { text-align: center; margin-bottom: clamp(40px, 6vw, 64px); }
.ct__eyebrow { color: var(--green); }
.ct__title { font-size: clamp(32px, 4.4vw, 52px); line-height: 1.25; font-weight: 800; color: var(--navy); letter-spacing: 0.01em; }
.ct__lead { margin-top: 18px; color: var(--ink-sub); font-size: var(--fs-lead); }

/* 二択のカード */
.ct__choices { border: 0; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.choice { position: relative; display: block; cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice__body { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 28px 26px; background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius); transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease; }
.choice:hover .choice__body { border-color: var(--green-line); }
.choice__icon { width: 32px; height: 32px; fill: none; stroke: var(--green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.choice__title { font-size: 20px; font-weight: 700; color: var(--navy); line-height: 1.4; }
.choice__text { font-size: 15px; color: var(--ink-sub); line-height: 1.6; }
.choice input:checked + .choice__body { border-color: var(--green); background: var(--green-soft); box-shadow: 0 0 0 1.5px var(--green) inset; }
.choice input:focus-visible + .choice__body { outline: 3px solid var(--green); outline-offset: 3px; }

/* 開く欄 */
.panel { margin-top: 40px; }
.panel:not([hidden]) { animation: ct-reveal 0.36s ease both; }
.panel--inner { margin-top: 28px; }
.panel__text { color: var(--ink-sub); font-size: var(--fs-small); margin-bottom: 20px; }
@keyframes ct-reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.field { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
.field__label { display: block; padding: 0; font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 12px; }
.field__label--sm { font-size: 15px; margin-bottom: 8px; }
.field__sub { margin-top: 16px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field__err { color: #b42318; font-size: 15px; margin-top: 8px; min-height: 0; }
.field__err:empty { display: none; }
.req { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-size: 12px; font-weight: 700; vertical-align: 2px; }

.input { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color 0.2s ease; }
.input:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 3px var(--green-soft); }
.input--area { resize: vertical; min-height: 128px; line-height: 1.7; }
.input[aria-invalid="true"] { border-color: #b42318; }
select.input { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-sub) 50%), linear-gradient(135deg, var(--ink-sub) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }

/* 選択の小さな札 */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 15px; background: #fff; transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease; }
.chip:hover span { border-color: var(--green-line); }
.chip input:checked + span { border-color: var(--green); background: var(--green); color: #fff; font-weight: 600; }
.chip input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 2px; }

/* 報告の方法 */
.ways { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.way { position: relative; cursor: pointer; }
.way input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.way span { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px 20px; border: 1.5px solid var(--line); border-radius: 16px; background: #fff; transition: border-color 0.2s ease, background-color 0.2s ease; }
.way b { font-size: 17px; color: var(--navy); }
.way small { font-size: 14px; color: var(--ink-sub); line-height: 1.6; }
.way:hover span { border-color: var(--green-line); }
.way input:checked + span { border-color: var(--green); background: var(--green-soft); box-shadow: 0 0 0 1.5px var(--green) inset; }
.way input:focus-visible + span { outline: 3px solid var(--green); outline-offset: 3px; }

.hint { color: var(--ink-sub); font-size: 15px; margin: 0 0 24px; }
.hint--accent { margin: 16px 0 0; color: var(--ink); }

/* ボタン */
.send { margin-top: 8px; }
.ct__btn { background: var(--green); color: #fff; }
.ct__btn:hover { background: var(--green-hover); }

/* メールアプリを開いたあと */
.after { margin-top: 40px; padding: 28px; border-radius: var(--radius); background: var(--bg-gray); animation: ct-reveal 0.36s ease both; }
.after__title { font-weight: 700; font-size: 18px; color: var(--navy); }
.after__title:focus { outline: none; }
.after__text { margin-top: 8px; color: var(--ink-sub); font-size: 15px; }
.copy { margin: 20px 0 0; }
.copy__row { margin-top: 14px; }
.copy dt { font-size: 14px; font-weight: 700; color: var(--ink-sub); margin-bottom: 6px; }
.copy dd { margin: 0; display: flex; gap: 10px; align-items: flex-start; }
.copy dd > span { flex: 1; min-width: 0; padding: 10px 14px; background: #fff; border-radius: 10px; border: 1px solid var(--line); overflow-wrap: anywhere; }
.copy__body { flex: 1; min-width: 0; min-height: 140px; font-size: 14px; }
.copy__btn { flex: none; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--green); background: #fff; color: var(--green); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.copy__btn:hover { background: var(--green-soft); }
.copy__status { margin-top: 10px; font-size: 14px; color: var(--green); min-height: 1em; }

.caution { margin-top: 48px; text-align: center; font-size: 14px; color: var(--ink-sub); }
.ct__addr { margin-top: 14px; font-size: 15px; color: var(--ink-sub); overflow-wrap: anywhere; }
.ct__addr a { color: var(--green); font-weight: 600; }

/* 下部の補足（控えめに畳む） */
.more { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; font-size: 14px; color: var(--ink-sub); }
.more summary { cursor: pointer; text-align: center; color: var(--ink-sub); font-weight: 600; list-style-position: inside; padding: 8px 0; }
.more summary:hover { color: var(--green); }
.more ul { margin: 12px 0 0; padding-left: 1.2em; line-height: 1.8; }
.more li + li { margin-top: 8px; }

/* スマホ幅 */
@media (max-width: 760px) {
  .ct__choices, .ways { grid-template-columns: 1fr; }
  .choice__body { padding: 22px 20px; }
  .choice__title { font-size: 18px; }
  .ct__btn { width: 100%; }
  .after { padding: 22px 18px; }
}
@media (max-width: 420px) {
  .field--row { grid-template-columns: 1fr; }
  .copy dd { flex-direction: column; align-items: stretch; }
  .copy__btn { align-self: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .panel:not([hidden]), .after { animation: none; }
}
