/* 共通マッチング基盤 — ブランド色は /assets/theme.css の --primary / --accent で差し替える */
:root {
  --primary: #1f5f8b; --accent: #e8a33d;
  --bg: #fafaf8; --surface: #ffffff; --text: #1d2229; --muted: #6b7280; --line: #e5e7eb; --danger: #b42318; --ok: #1a7f4b;
  --radius: 10px; --shadow: 0 1px 2px rgba(0,0,0,.05), 0 4px 16px rgba(0,0,0,.05);
}
* { box-sizing: border-box; }
html { color-scheme: light; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", "Segoe UI", sans-serif; font-size: 15px; line-height: 1.7; color: var(--text); background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3 { line-height: 1.35; margin: 0 0 .6em; }
h1 { font-size: 1.6rem; } h2 { font-size: 1.3rem; } h3, .h3 { font-size: 1.1rem; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 620px; }
.muted { color: var(--muted); } .small { font-size: .85rem; } .plain { padding-left: 1.2em; }
.hidden { display: none !important; }

/* header / footer */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; }
.brand { font-weight: 700; font-size: 1.1rem; color: var(--primary); text-decoration: none; }
.nav { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.nav-link { color: var(--text); text-decoration: none; font-size: .92rem; }
.btn-link { background: none; border: 0; padding: 0; cursor: pointer; font: inherit; color: var(--primary); }
.site-main { min-height: 60vh; }
.site-footer { border-top: 1px solid var(--line); padding: 28px 0 40px; margin-top: 48px; background: var(--surface); }
.footer-links a { margin-right: 14px; font-size: .9rem; }

/* buttons / forms */
.btn { display: inline-block; padding: 9px 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--surface); color: var(--text); text-decoration: none; font: inherit; cursor: pointer; line-height: 1.3; }
.btn:hover { border-color: #c7cbd1; }
.btn-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; }
.btn-danger { color: var(--danger); border-color: #f1c9c3; }
.btn-sm { padding: 6px 12px; font-size: .88rem; } .btn-lg { padding: 13px 22px; font-size: 1.05rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 4px; }
.field > label { font-weight: 600; font-size: .92rem; }
.field input[type=text], .field input[type=email], .field input[type=password], .field input[type=number], .field input[type=date], .field input[type=url], .field select, .field textarea,
.filters select, .filters input { width: 100%; padding: 9px 11px; border: 1px solid #cfd4da; border-radius: 8px; font: inherit; background: #fff; }
.field textarea { min-height: 110px; }
.field .help { margin: 0; font-size: .82rem; color: var(--muted); }
.field.inline { grid-template-columns: auto 1fr; align-items: center; gap: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choice { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .9rem; }
.error { color: var(--danger); margin: 0; font-size: .9rem; }
.notice { background: #fff8e6; border: 1px solid #f3dfae; padding: 10px 12px; border-radius: 8px; }
.notice.warn { background: #fff3f0; border-color: #f1c9c3; }
.fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: var(--surface); display: grid; gap: 12px; }
.fieldset > legend, .fieldset > .legend { font-weight: 700; padding: 0 4px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.filters select { width: auto; min-width: 160px; }

/* sections */
.hero { padding: 56px 0 40px; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); }
.hero h1 { font-size: clamp(1.5rem, 3.2vw, 2.3rem); max-width: 760px; }
.hero .lead { font-size: 1.05rem; max-width: 640px; }
.section { padding: 32px 0; }
.section-title { font-size: 1.25rem; margin-bottom: 14px; }
.lead { color: #374151; }
.cta { margin: 16px 0 6px; display: flex; gap: 10px; flex-wrap: wrap; }
.category-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.category-grid a { display: grid; gap: 2px; padding: 12px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--text); }
.category-grid a:hover { border-color: var(--primary); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; gap: 4px; }
.steps li::before { counter-increment: s; content: counter(s); width: 26px; height: 26px; border-radius: 50%; background: var(--primary); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.steps li span { color: var(--muted); font-size: .9rem; }
.area-links a { display: inline-block; margin: 0 10px 6px 0; font-size: .92rem; }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.link-list li { display: grid; }
.breadcrumbs { font-size: .82rem; padding-top: 12px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; }
.faq { display: grid; gap: 6px; }
.faq dt { font-weight: 700; margin-top: 10px; } .faq dd { margin: 0 0 6px; color: #374151; }
.article p { margin: 0 0 1em; } .article h3 { margin-top: 1.6em; }
.empty { padding: 28px; text-align: center; color: var(--muted); background: var(--surface); border: 1px dashed var(--line); border-radius: var(--radius); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 12px 0; }
.kv dt { color: var(--muted); font-size: .9rem; } .kv dd { margin: 0; }
.tag, .chip { display: inline-block; padding: 2px 9px; border-radius: 999px; background: #eef2f6; font-size: .8rem; margin: 0 4px 4px 0; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 6px; background: #e8f4ee; color: var(--ok); font-size: .78rem; font-weight: 600; margin: 0 4px 4px 0; }
.badge-license_class1, .badge-license_class2, .badge-insurance, .badge-aircraft_registered { background: #eaf1fb; color: var(--primary); }
.badges { margin: 4px 0; }
.rating { color: #c47d0a; font-weight: 600; }
.price { font-weight: 700; }

/* cards */
.grid { display: grid; gap: 16px; }
.grid.providers { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.grid.works { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.card-media { display: block; aspect-ratio: 3 / 2; background: #eef0f3; overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.media-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: var(--muted); font-size: .85rem; aspect-ratio: 3 / 2; background: #eef0f3; }
.card-body { padding: 12px 14px 14px; display: grid; gap: 4px; }
.card-head { display: flex; gap: 10px; align-items: center; }
.card-title { font-size: 1rem; margin: 0; }
.card-title a { color: var(--text); text-decoration: none; }
.meta { margin: 0; font-size: .9rem; }
.avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; background: #dfe3e8; flex: none; }
.avatar-lg { width: 84px; height: 84px; }
.avatar-empty { display: inline-block; }
.work-card { text-decoration: none; color: var(--text); display: grid; }
.work-card img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.work-card .card-title { padding: 8px 10px; font-size: .92rem; }
.provider-head { display: flex; gap: 18px; align-items: flex-start; flex-wrap: wrap; }
.provider-head h1 { margin-bottom: 4px; }
.bio { margin: 16px 0; }
.work-images { display: grid; gap: 12px; }
.work-images figure { margin: 0; position: relative; } .work-images figcaption { font-size: .85rem; color: var(--muted); margin-top: 4px; }
.reviews { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.reviews li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.reviews p { margin: 4px 0 0; }
.aircraft { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; }
.drone-block { margin-top: 18px; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }

/* app (client rendered) */
.page-app .site-main { padding: 24px 0; }
.app-root { display: grid; gap: 18px; }
.app-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.app-nav a { padding: 6px 12px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--text); font-size: .9rem; }
.app-nav a.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; display: grid; gap: 10px; }
.panel h2 { font-size: 1.1rem; margin: 0; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row.between { justify-content: space-between; }
.list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; display: grid; gap: 4px; }
.list li a.title { font-weight: 600; text-decoration: none; color: var(--text); }
.status { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: .78rem; background: #eef2f6; }
.status-OPEN, .status-MATCHING, .status-SENT, .status-CONFIRMED, .status-active { background: #eaf1fb; color: var(--primary); }
.status-PROPOSAL_RECEIVED, .status-IN_PROGRESS, .status-DELIVERED, .status-pending { background: #fff3d6; color: #8a5a00; }
.status-BOOKED, .status-COMPLETED, .status-ACCEPTED, .status-approved { background: #e8f4ee; color: var(--ok); }
.status-CANCELLED, .status-DECLINED, .status-DISPUTED, .status-rejected, .status-banned, .status-suspended { background: #fdeceb; color: var(--danger); }
.table { width: 100%; border-collapse: collapse; font-size: .9rem; background: var(--surface); }
.table th, .table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { color: var(--muted); font-weight: 600; font-size: .82rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.kpis { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.kpi .v { font-size: 1.5rem; font-weight: 700; } .kpi .l { color: var(--muted); font-size: .82rem; }
.chat { display: grid; gap: 8px; max-height: 60vh; overflow-y: auto; padding: 8px; background: #f3f4f6; border-radius: var(--radius); }
.msg { max-width: 78%; padding: 8px 12px; border-radius: 12px; background: #fff; border: 1px solid var(--line); }
.msg.mine { margin-left: auto; background: #e6f0fa; border-color: #cfe0f3; }
.msg .t { font-size: .72rem; color: var(--muted); }
.line-items { display: grid; gap: 6px; }
.line-items .li { display: grid; grid-template-columns: 1fr 70px 110px 110px auto; gap: 6px; align-items: center; }
.line-items .li input { padding: 6px 8px; border: 1px solid #cfd4da; border-radius: 6px; font: inherit; width: 100%; }
.flags { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.flags li { padding: 8px 10px; background: #fff8e6; border: 1px solid #f3dfae; border-radius: 8px; font-size: .9rem; }
.score { font-weight: 700; color: var(--primary); }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: #1d2229; color: #fff; padding: 10px 16px; border-radius: 8px; font-size: .9rem; z-index: 50; }
.page-error .wrap { padding: 60px 16px; }
@media (max-width: 640px) {
  .line-items .li { grid-template-columns: 1fr 1fr; }
  .kv { grid-template-columns: 1fr; gap: 2px; } .kv dd { margin-bottom: 8px; }
  .hero { padding: 36px 0 28px; }
  .msg { max-width: 92%; }
}

/* トップ（第1サイト完成分） */
.hero-cta .btn { flex: 1 1 220px; text-align: center; }
.hero-points { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .88rem; color: var(--muted); }
.hero-points li::before { content: "✓ "; color: var(--ok); }
.chip-link { display: inline-block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); text-decoration: none; margin: 0 6px 6px 0; }
.area-more { margin-top: 8px; } .area-more summary { cursor: pointer; color: var(--primary); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: center; }
.safety-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.safety-list li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: grid; gap: 4px; }
.safety-list span { color: var(--muted); font-size: .9rem; }
.recruit { background: var(--surface); border-top: 1px solid var(--line); }
/* ウィザード */
.wizard-steps { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 12px; }
.wizard-steps span { font-size: .78rem; padding: 4px 10px; border-radius: 999px; background: #eef2f6; color: var(--muted); }
.wizard-steps span.active { background: var(--primary); color: #fff; } .wizard-steps span.done { background: #e8f4ee; color: var(--ok); }
.wizard-nav { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; }
.summary dt { font-weight: 600; }
@media (max-width: 640px) {
  .two-col { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.45rem; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .category-grid a { padding: 10px; font-size: .9rem; }
  .grid.providers { grid-template-columns: 1fr; }
  .btn-lg { width: 100%; text-align: center; }
  .filters select { width: 100%; }
}
@media (max-width: 640px) {
  .header-inner { align-items: flex-start; padding-top: 8px; padding-bottom: 8px; }
  .brand { font-size: .95rem; line-height: 1.3; max-width: 55%; }
  .nav { gap: 6px 10px; font-size: .85rem; justify-content: flex-end; }
  .nav .btn-sm { padding: 5px 9px; font-size: .8rem; }
}
.env-banner { background: #b42318; color: #fff; text-align: center; font-size: .8rem; padding: 4px 8px; }
.notice.launch { background: #eaf1fb; border-color: #cfe0f3; }
.notice.launch a { margin-left: 8px; }

/* ポータル（大本ドメイン） */
.portal-list a { padding: 16px; gap: 6px; }
.portal-list strong { font-size: 1.05rem; }
.page-portal .hero h1 { max-width: 620px; }

/* ============================================================ プロたのむ（protanomu.com） */
body.pt { font-size: 16px; background: #fbfbf9; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--primary); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 0 0 8px 0; }
.skip-link:focus { left: 0; }
.pt :focus-visible, .pt a:focus-visible, .pt button:focus-visible, .pt input:focus-visible, .pt textarea:focus-visible { outline: 3px solid #1769aa; outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.pt-header { border-bottom: 1px solid var(--line); }
.pt-brand { display: inline-flex; align-items: baseline; gap: 1px; font-size: 1.2rem; letter-spacing: .02em; white-space: nowrap; flex-shrink: 0; }
.pt-brand-sub { font-size: .72rem; color: var(--muted); font-weight: 600; }
.pt-header .nav-link { padding: 6px 4px; }

/* HERO */
.pt-hero { padding: 48px 0 36px; background: linear-gradient(165deg, #eaf6f3 0%, #fbfbf9 70%); border-bottom: 1px solid #e3ede9; }
.pt-hero h1 { font-size: clamp(1.6rem, 5.2vw, 2.6rem); line-height: 1.3; letter-spacing: .01em; max-width: 18em; }
.pt-hero .lead { font-size: 1.05rem; max-width: 34em; color: #35433f; }
.pt-hero-links { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }

/* 検索 */
.pt-search { margin: 20px 0 8px; }
.pt-search-big { margin: 24px 0 4px; }
.pt-search-label { display: block; font-weight: 700; font-size: 1.05rem; margin-bottom: 8px; }
.pt-search-row { display: flex; gap: 8px; }
.pt-search input[type=search] { flex: 1; min-width: 0; padding: 13px 15px; border: 2px solid #cfd9d5; border-radius: 12px; font-size: 1.05rem; background: #fff; }
.pt-search-big input[type=search] { padding: 16px 18px; font-size: 1.1rem; box-shadow: var(--shadow); }
.pt-search button { white-space: nowrap; border-radius: 12px; padding-left: 20px; padding-right: 20px; }

/* カード・グリッド */
.pt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.pt-grid-2 { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.pt-card { display: flex; flex-direction: column; gap: 5px; padding: 15px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--text); transition: border-color .12s, transform .12s; }
.pt-card:hover { border-color: var(--primary); transform: translateY(-1px); }
.pt-card-title { font-weight: 700; font-size: 1.05rem; color: var(--text); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pt-problem-card .pt-card-title { color: #143a34; }
.pt-card-tag { font-size: .78rem; color: var(--muted); font-weight: 600; }
.pt-card-experts { font-size: .82rem; color: #46564f; margin-top: 2px; }
.pt-badge { display: inline-block; font-size: .68rem; font-weight: 700; background: #eef5f2; color: #0f6b5e; border: 1px solid #cfe6df; border-radius: 999px; padding: 1px 8px; }

.pt-cat-grid a { border-radius: 14px; padding: 16px; min-height: 44px; }
.pt-cat-grid strong { font-size: 1.05rem; }

/* 帯セクション */
.pt-band { background: #0f6b5e; color: #fff; border-radius: 0; }
.pt-band .section-title, .pt-band h2 { color: #fff; }
.pt-band .lead { color: #e6f2ee; }
.pt-band .btn-primary { background: #fff; color: #0f6b5e; border-color: #fff; }
.pt-band-soft { background: #eef5f2; color: var(--text); }
.pt-band-soft .section-title { color: #143a34; }

.pt-safety { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.pt-band .pt-safety li { display: grid; gap: 3px; background: rgba(255,255,255,.1); padding: 14px; border-radius: 12px; }
.pt-safety strong { font-size: 1rem; }
.pt-safety span { font-size: .9rem; opacity: .95; }

/* チップ */
.pt-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 18px; padding: 0; }
.pt-chip { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--text); font-size: .92rem; }
.pt-chip:hover, .pt-chip.is-on { border-color: var(--primary); background: #eef5f2; color: #0f6b5e; }

/* 詳細ページ */
.pt-detail .wrap.narrow { max-width: 720px; }
.pt-eyebrow { color: var(--muted); font-weight: 600; font-size: .9rem; margin: 0 0 4px; }
.pt-detail h1 { font-size: clamp(1.4rem, 4.5vw, 2rem); }
.pt-block { margin: 26px 0; }
.pt-block h2 { font-size: 1.2rem; border-left: 4px solid var(--primary); padding-left: 10px; }
.pt-list { padding-left: 1.2em; margin: 8px 0; display: grid; gap: 6px; }
.pt-list li { line-height: 1.6; }
.pt-list-x { list-style: none; padding-left: 0; }
.pt-list-x li { padding-left: 1.5em; position: relative; }
.pt-list-x li::before { content: "→"; position: absolute; left: 0; color: var(--muted); }
.pt-callout { background: #eef5f2; border: 1px solid #d5e7e1; border-radius: 12px; padding: 14px 16px; }
.pt-callout h2 { border: 0; padding-left: 0; margin-top: 0; }
.pt-check { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; }
.pt-check li { padding-left: 1.7em; position: relative; }
.pt-check li::before { content: "✓"; position: absolute; left: 0; color: #0f6b5e; font-weight: 700; }
.pt-order { counter-reset: o; list-style: none; padding: 0; display: grid; gap: 8px; }
.pt-order li { counter-increment: o; padding-left: 2.4em; position: relative; line-height: 1.5; }
.pt-order li::before { content: counter(o); position: absolute; left: 0; top: 0; width: 1.7em; height: 1.7em; background: var(--primary); color: #fff; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.pt-vs { display: grid; gap: 10px; margin: 8px 0; }
.pt-vs dt { font-weight: 700; }
.pt-vs dd { margin: 2px 0 0; color: #45544f; }
.pt-legal { background: #fff8ee; border: 1px solid #f0dcbb; font-size: .88rem; line-height: 1.6; }

.pt-cta-box { background: #eef5f2; border: 1px solid #d5e7e1; border-radius: 16px; padding: 20px; margin: 30px 0; }
.pt-cta-box h2 { margin-top: 0; border: 0; padding: 0; }

/* 診断 */
.pt-diagnosis { display: grid; gap: 16px; }
.pt-q legend { font-size: 1.05rem; font-weight: 700; }
.pt-options { display: grid; gap: 8px; }
.pt-radio { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; min-height: 44px; }
.pt-radio:hover { border-color: var(--primary); }
.pt-radio input { width: 20px; height: 20px; accent-color: var(--primary); }
.pt-radio span { flex: 1; }
.pt-result { background: #eef5f2; border: 1px solid #d5e7e1; border-radius: 16px; padding: 20px; margin-bottom: 24px; }
.pt-candidates { list-style: none; counter-reset: c; padding: 0; display: grid; gap: 12px; }
.pt-candidate { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.pt-why { font-size: .85rem; color: #46564f; margin: 4px 0 8px; }
.pt-readjust { margin-top: 12px; }
.pt-readjust summary { cursor: pointer; color: var(--primary); font-weight: 600; }

/* フォーム */
.pt-form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.pt-check-line { display: flex; align-items: flex-start; gap: 10px; font-size: .95rem; }
.pt-check-line input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--primary); }
.pt-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pt-done { text-align: center; padding: 30px 0; }
.pt-done-mark { width: 64px; height: 64px; margin: 0 auto 12px; border-radius: 50%; background: #0f6b5e; color: #fff; font-size: 2rem; display: grid; place-items: center; }

.pt-footer .footer-links a { display: inline-block; padding: 4px 0; }

/* スマホ最適化（375px 基準） */
@media (max-width: 560px) {
  .pt-hero { padding: 32px 0 26px; }
  .pt-header .header-inner { flex-wrap: wrap; row-gap: 6px; padding-top: 8px; padding-bottom: 8px; }
  .pt-header .nav { gap: 10px; width: 100%; justify-content: flex-start; }
  .pt-header .nav-link { font-size: .9rem; }
  .pt-brand { font-size: 1.15rem; }
  .pt-grid, .pt-grid-2 { grid-template-columns: 1fr; }
  .pt-search-row { flex-direction: column; }
  .pt-search button { width: 100%; }
  .pt-form-row { grid-template-columns: 1fr; }
}
