:root{
  --bg:#f6f8f7;
  --card:#ffffff;
  --text:#172523;
  --muted:#64706d;
  --line:#e4eae7;
  --accent:#19735f;
  --accent-soft:#eaf6f1;
  --accent-border:#69ad99;
  --accent-dark:#145e4e;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;
  background:var(--bg);
  color:var(--text);
  min-height:100vh;
  display:flex;
  flex-direction:column;
}
.wrap{
  flex:1;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:24px;
}

/* ESUKARE共通ナビ（ヘッダー） */
.esukare-nav{
  background:var(--card);
  border-bottom:1px solid var(--line);
}
.esukare-nav-inner{
  max-width:760px;
  margin:0 auto;
  padding:10px 20px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:8px 16px;
}
.esukare-nav-brand{
  font-weight:700;
  color:var(--accent-dark);
  font-size:15px;
  text-decoration:none;
}
.esukare-nav-links{
  display:flex;
  flex-wrap:wrap;
  gap:4px 4px;
}
.esukare-nav-links a,
.esukare-footer a{
  display:inline-block;
  padding:10px 14px;
  border-radius:8px;
  color:var(--text);
  text-decoration:none;
  font-size:15px;
  line-height:1.3;
  white-space:nowrap;
}
.esukare-nav-links a:hover,
.esukare-nav-links a:focus,
.esukare-footer a:hover,
.esukare-footer a:focus{
  background:var(--accent-soft);
  color:var(--accent-dark);
}

/* ESUKARE共通ナビ（フッター） */
.esukare-footer{
  border-top:1px solid var(--line);
  padding:12px 20px 28px;
}
.esukare-footer nav{
  max-width:760px;
  margin:0 auto;
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:4px 8px;
}
.card{
  width:min(760px,100%);
  background:var(--card);
  border:1px solid var(--line);
  border-radius:24px;
  padding:28px;
  box-shadow:0 8px 28px rgba(0,0,0,.05);
}
.progress-wrap{
  margin-bottom:24px;
}
.progress-label{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  margin-bottom:8px;
  font-size:14px;
  color:var(--muted);
}
.progress-track{
  width:100%;
  height:10px;
  border-radius:999px;
  background:#e5e7eb;
  overflow:hidden;
}
.progress-fill{
  height:100%;
  border-radius:999px;
  background:var(--accent);
  transition:width .25s ease;
}
.top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-bottom:18px;
}
.brand{
  font-size:15px;
  color:var(--muted);
}
h1{
  margin:0 0 10px;
  font-size:clamp(26px,4vw,38px);
  line-height:1.35;
}
.lead{
  margin:0 0 24px;
  font-size:17px;
  color:var(--muted);
  line-height:1.8;
}
.options{
  display:grid;
  gap:12px;
}
button{
  width:100%;
  min-height:64px;
  padding:15px 18px;
  border-radius:16px;
  border:1px solid #d0d5dd;
  background:#fff;
  font-size:19px;
  text-align:left;
  cursor:pointer;
  font-family:inherit;
  color:inherit;
}
button:hover{
  border-color:#94a3b8;
  background:#fafafa;
}
button.selected{
  background:var(--accent-soft);
  border-color:var(--accent-border);
  color:#16634f;
}
button.primary{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
  text-align:center;
  font-weight:700;
}
button.secondary{
  background:#fff;
  text-align:center;
}
button.help{
  min-height:56px;
  margin-top:14px;
  border:1px solid var(--accent-border);
  border-radius:14px;
  background:var(--accent-soft);
  color:var(--accent);
  font-size:17px;
  font-weight:700;
  padding:14px 16px;
  text-align:center;
}
.nav{
  margin-top:22px;
  display:flex;
  gap:10px;
}
.nav button{
  min-height:48px;
  font-size:16px;
}
.chips{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}
.chip{
  min-height:60px;
}
.result{
  border-radius:18px;
  padding:20px;
  margin:18px 0;
}
.green{background:#ecfdf3}
.yellow{background:#fffaeb}
.blue{background:#eff6ff}
.red{background:#fef3f2}
.result h2{
  margin:0 0 8px;
  font-size:26px;
}
.result p{
  margin:0;
  font-size:18px;
  line-height:1.7;
}
.small{
  font-size:14px;
  color:var(--muted);
  line-height:1.7;
}
.hidden{display:none}

.help-panel{
  margin-top:16px;
  border:1px solid #d0d5dd;
  border-radius:16px;
  padding:18px;
  background:#f8fafc;
}
.help-panel h3{
  margin:0 0 10px;
  font-size:20px;
}
.help-panel p{
  margin:0 0 12px;
  font-size:16px;
  line-height:1.7;
}

.profile-grid{
  display:grid;
  gap:18px;
  margin-top:18px;
}
.profile-label{
  display:block;
  font-size:17px;
  font-weight:700;
}
.profile-input{
  display:block;
  width:100%;
  margin-top:8px;
  padding:15px 16px;
  border:1px solid #d0d5dd;
  border-radius:14px;
  font-size:19px;
  background:#fff;
}
.sex-options{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:10px;
  margin-top:8px;
}
.body-default-note{
  margin:12px 0 0;
  padding:12px 14px;
  border-radius:12px;
  background:#fff7ed;
  border:1px solid #fed7aa;
  font-size:14px;
  line-height:1.7;
}

.support-section{
  margin-top:24px;
}
.support-section-title{
  margin:0 0 8px;
  font-size:23px;
}
.support-section-lead{
  margin:0 0 16px;
  color:var(--muted);
  font-size:16px;
  line-height:1.7;
}
.support-list{
  display:grid;
  gap:14px;
}
.support-card{
  border:1px solid #dbe2ea;
  border-radius:18px;
  padding:18px;
  background:#fff;
}
.support-card-top{
  display:flex;
  align-items:flex-start;
  gap:12px;
}
.support-icon{
  flex:0 0 auto;
  width:42px;
  height:42px;
  border-radius:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#f1f5f9;
  font-size:22px;
}
.support-card h3{
  margin:0 0 6px;
  font-size:20px;
}
.support-card p{
  margin:0;
  color:#475569;
  font-size:16px;
  line-height:1.7;
}
.support-card .action-hint,
.next-step-box .action-hint{
  margin-top:6px;
  font-size:14px;
  color:var(--muted);
  line-height:1.6;
}
.concern-summary{
  margin:18px 0;
  padding:15px 16px;
  border-radius:14px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
}
.concern-summary-row + .concern-summary-row{
  margin-top:12px;
}
.concern-summary-label{
  font-size:14px;
  color:var(--muted);
  margin-bottom:4px;
}
.concern-summary-value{
  font-size:19px;
  font-weight:700;
}
.next-step-box{
  margin-top:22px;
  border:2px solid var(--accent-border);
  border-radius:18px;
  padding:18px;
  background:var(--accent-soft);
}
.next-step-box h3{
  margin:0 0 8px;
  font-size:21px;
}
.next-step-box p{
  margin:0;
  font-size:16px;
  line-height:1.7;
}
.result-actions{
  margin-top:18px;
  display:grid;
  gap:10px;
}

.result-kicker{
  display:inline-block;
  margin-bottom:10px;
  padding:6px 10px;
  border-radius:999px;
  background:#f1f5f9;
  color:#475569;
  font-size:14px;
  font-weight:700;
}
.result-explanation{
  margin-top:12px;
  font-size:17px;
  line-height:1.8;
  color:#334155;
}

.result .result-wish-kicker{
  margin:0;
  font-size:14px;
  font-weight:700;
  opacity:.7;
}

.result-note{
  margin-top:14px;
  padding:12px 14px;
  border-radius:12px;
  background:rgba(255,255,255,0.6);
  border:1px solid rgba(15,23,42,0.08);
}
.result-note-title{
  font-size:13px;
  font-weight:700;
  color:#334155;
  margin:0 0 4px;
}
.result-note-body{
  font-size:14px;
  line-height:1.7;
  color:#475569;
  margin:0;
}

.result-advice{
  margin:18px 0;
}
.result-advice-title{
  margin:0 0 10px;
  font-size:19px;
}
.result-advice-item{
  padding:14px 16px;
  border-radius:14px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  margin-top:10px;
}
.result-advice-item:first-child{
  margin-top:0;
}
.result-advice-item p{
  margin:0;
  font-size:16px;
  line-height:1.7;
  color:#334155;
}
.result-advice-item.urgent{
  background:#fef3f2;
  border-color:#fecaca;
}
.result-advice-item.urgent p{
  color:#7f1d1d;
  font-weight:700;
}

.result-meta{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin:18px 0;
}
.result-meta-item{
  border:1px solid #e2e8f0;
  border-radius:14px;
  padding:13px 14px;
  background:#f8fafc;
}
.result-meta-label{
  font-size:13px;
  color:var(--muted);
  margin-bottom:4px;
}
.result-meta-value{
  font-size:17px;
  font-weight:700;
  word-break:break-word;
}
.score-summary{
  margin-top:22px;
}
.score-summary h2{
  margin:0 0 12px;
  font-size:22px;
}
.score-summary-line{
  display:flex;
  flex-wrap:wrap;
  gap:10px 20px;
  font-size:16px;
  font-weight:700;
  color:#334155;
}
.score-note{
  margin-top:12px;
  padding:12px 14px;
  border-radius:12px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  color:#475569;
  font-size:14px;
  line-height:1.7;
}
.matched-items{
  margin-top:20px;
}
.matched-items h2{
  margin:0 0 10px;
  font-size:22px;
}

.official-check-table-wrap{
  margin-top:20px;
  width:100%;
  max-width:100%;
  overflow-x:auto;
  border:1px solid #cbd5e1;
  border-radius:12px;
  background:#fff;
}
.official-check-table{
  width:100%;
  min-width:560px;
  max-width:100%;
  border-collapse:collapse;
  table-layout:fixed;
  font-size:12px;
}
.official-check-table col.col-no{ width:6% }
.official-check-table col.col-question{ width:64% }
.official-check-table col.col-answer{ width:12% }
.official-check-table col.col-judge{ width:18% }
.official-check-table th,
.official-check-table td{
  border:1px solid #94a3b8;
  padding:7px 8px;
  vertical-align:middle;
}
.official-check-table th{
  background:#f1f5f9;
  font-weight:700;
  text-align:center;
  font-size:12px;
}
.official-check-table td.no{
  text-align:center;
  font-weight:700;
  white-space:nowrap;
}
.official-check-table td.question{
  line-height:1.3;
  font-size:12px;
}
.official-check-table td.answer{
  text-align:center;
  font-weight:700;
  white-space:nowrap;
}
.official-check-table td.answer.risk{
  background:#f9a8d4;
}
.official-check-table td.judge{
  text-align:center;
  font-weight:700;
  background:#f8fafc;
  line-height:1.3;
  font-size:11px;
}
.official-check-table .bmi-detail{
  display:block;
  margin-top:4px;
  font-size:11px;
  font-weight:400;
  color:#475569;
}
.official-check-note{
  padding:10px 12px;
  border-top:1px solid #cbd5e1;
  font-size:12px;
  line-height:1.6;
  color:#475569;
  background:#f8fafc;
}

.export-actions{
  margin-top:26px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.export-actions.single{
  grid-template-columns:1fr;
}
.export-actions button{
  min-height:58px;
  text-align:center;
  font-size:17px;
  font-weight:700;
}
.export-primary{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
}
.export-secondary{
  background:#fff;
  color:var(--accent);
  border-color:var(--accent-border);
}
.share-panel{
  margin-top:16px;
  border:1px solid #cbd5e1;
  border-radius:16px;
  padding:16px;
  background:#f8fafc;
}
.share-panel h3{
  margin:0 0 10px;
  font-size:19px;
}
.share-text{
  width:100%;
  min-height:190px;
  resize:vertical;
  padding:12px 14px;
  border:1px solid #cbd5e1;
  border-radius:12px;
  background:#fff;
  font-size:14px;
  line-height:1.65;
  font-family:inherit;
}
.share-note{
  margin-top:8px;
  color:#64748b;
  font-size:13px;
  line-height:1.6;
}
.print-only{
  display:none;
}
.print-result{
  display:none;
}

/* ============================================================
   業務用結果票プレビュー（FREE：モザイク＋鍵 / PREMIUM：入力＋操作）
   ============================================================ */
.form-card{
  margin-top:8px;
}
.form-card button{
  text-align:center;
}
.form-card-sheet{
  position:relative;
  padding:22px 20px;
  border:1px solid #d8dee5;
  border-radius:16px;
  background:#fff;
  box-shadow:0 2px 10px rgba(15,23,42,.05);
}
.form-card.locked .form-card-sheet{
  cursor:pointer;
  overflow:hidden;
}
.form-card-header{
  padding-bottom:14px;
  margin-bottom:14px;
  border-bottom:1px solid var(--line);
}
.form-card-brand{
  display:block;
  font-size:12px;
  color:var(--muted);
  letter-spacing:.02em;
}
.form-card-header h3{
  margin:4px 0 0;
  font-size:20px;
  color:var(--text);
}
.form-card-fields{
  display:grid;
  gap:2px;
}
.form-card-fields > div{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:14px;
  padding:10px 0;
  border-bottom:1px dashed #e2e8f0;
}
.form-card-fields span{
  flex:0 0 auto;
  color:var(--muted);
  font-size:14px;
}
.form-card-fields strong{
  text-align:right;
  font-size:15px;
  word-break:break-word;
}
.form-card-divider{
  height:1px;
  margin:16px 0;
  background:var(--line);
}

/* FREE：モザイク＋鍵付きロック案内 */
.form-card-mosaic{
  display:grid;
  gap:10px;
  padding-bottom:4px;
}
.mosaic-bar{
  height:14px;
  border-radius:6px;
  background:linear-gradient(90deg,#e6ebf0,#eef2f5);
  filter:blur(1px);
}
.mosaic-bar.w1{ width:88%; }
.mosaic-bar.w2{ width:70%; }
.mosaic-bar.w3{ width:100%; height:22px; }
.form-card-lock{
  position:relative;
  margin-top:-44px;
  padding:52px 16px 6px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  background:linear-gradient(180deg,rgba(255,255,255,0) 0%,rgba(255,255,255,.95) 32%,#fff 58%);
}
.form-card-lock-lead{
  align-self:stretch;
  margin:10px 0 12px;
  font-size:15px;
  font-weight:700;
  color:var(--text);
  line-height:1.6;
}
.form-card-lock .premium-lock-list{
  align-self:stretch;
  text-align:left;
  margin:0 0 16px;
}
.form-card-lock .export-primary{
  width:100%;
  max-width:340px;
  margin:0 0 4px;
}
.premium-lock-badge{
  display:inline-block;
  padding:4px 12px;
  border-radius:999px;
  background:#334155;
  color:#fff;
  font-size:13px;
  font-weight:700;
  letter-spacing:.03em;
}
.premium-lock-list{
  margin:0 0 4px;
  padding-left:20px;
  color:var(--muted);
  font-size:15px;
  line-height:1.9;
}
.premium-info-link{
  display:inline-block;
  margin-top:12px;
  color:var(--accent);
  font-size:15px;
  font-weight:700;
  text-decoration:underline;
}
.premium-info-link:hover{
  color:var(--accent-dark);
}
.form-card-lock .premium-info-link{
  display:block;
}

/* PREMIUM：実施者名表示＋操作 */
.office-name-label{
  display:block;
  margin:0;
  font-size:15px;
  font-weight:700;
  color:var(--text);
}
.office-name-input{
  display:block;
  width:100%;
  margin-top:8px;
  padding:14px 16px;
  border:1px solid #cbd5e1;
  border-radius:12px;
  font-size:17px;
  font-family:inherit;
  background:#fff;
}
.office-name-value{
  display:block;
  width:100%;
  box-sizing:border-box;
  margin-top:8px;
  padding:14px 16px;
  border:1px solid #cbd5e1;
  border-radius:12px;
  font-size:17px;
  font-family:inherit;
  background:#f8fafc;
}
.office-name-label small{
  display:block;
  margin-top:6px;
  font-size:13px;
  font-weight:400;
  color:var(--muted);
}
.form-card-actions{
  display:grid;
  gap:6px;
  margin-top:18px;
}
.form-card-actions button{
  min-height:56px;
}
.form-card-caption{
  margin:0 0 8px;
  font-size:13px;
  color:var(--muted);
  text-align:center;
}

/* ============================================================
   PREMIUM案内モーダル
   ============================================================ */
body.modal-open{
  overflow:hidden;
}
.premium-modal-overlay{
  position:fixed;
  inset:0;
  z-index:1000;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  background:rgba(23,37,35,.55);
}
.premium-modal-overlay[hidden]{
  display:none;
}
.premium-modal{
  position:relative;
  width:min(420px,100%);
  max-height:calc(100vh - 40px);
  overflow-y:auto;
  padding:32px 26px 28px;
  border-radius:20px;
  background:#fff;
  text-align:center;
  box-shadow:0 20px 50px rgba(0,0,0,.25);
}
.premium-modal-close{
  position:absolute;
  top:12px;
  right:12px;
  width:40px;
  height:40px;
  min-height:0;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:center;
  border:none;
  border-radius:50%;
  background:#f1f5f9;
  color:var(--text);
  font-size:22px;
  line-height:1;
  text-align:center;
  cursor:pointer;
}
.premium-modal-close:hover{
  background:#e2e8f0;
}
.premium-modal-icon{
  font-size:32px;
  margin-bottom:8px;
}
.premium-modal h2{
  margin:0 0 14px;
  font-size:21px;
  color:var(--text);
}
.premium-modal-lead{
  margin:0 0 10px;
  font-size:16px;
  line-height:1.7;
  color:var(--text);
}
.premium-modal-sub{
  margin:0 0 24px;
  font-size:14px;
  line-height:1.7;
  color:var(--muted);
}
.premium-modal-cta{
  display:block;
  width:100%;
  padding:16px;
  border-radius:14px;
  background:var(--accent);
  color:#fff;
  font-size:17px;
  font-weight:700;
  text-decoration:none;
  box-sizing:border-box;
}
.premium-modal-cta:hover{
  background:var(--accent-dark);
}
@media (max-width:480px){
  .premium-modal{ padding:26px 18px 22px; }
}

/* 印刷専用帳票内で使う、FREE利用者向けのロック案内 */
.print-locked{
  display:none;
}
.load-error{
  padding:18px;
  border-radius:14px;
  background:#fef3f2;
  border:1px solid #fecaca;
  color:#991b1b;
  font-size:15px;
  line-height:1.7;
}

/* ============================================================
   トップ画面：説明とCTAを中央寄せで見せる1カラムUI
   ============================================================ */
.landing-app{
  width:min(1180px,100%);
  max-width:none;
  padding:0;
  background:transparent;
  border:0;
  box-shadow:none;
}
.landing-app .top{ margin-bottom:28px; }
.landing-app .brand{ color:var(--text); font-weight:800; font-size:18px; letter-spacing:.02em; }
.landing-app .brand:before{ content:'●'; display:inline-block; margin-right:8px; color:var(--accent); font-size:12px; vertical-align:2px; }
.landing-hero{ display:block; }
.landing-copy{ max-width:720px; margin:0 auto; padding:12px 0 24px; }
.landing-kicker,.section-eyebrow{ margin:0 0 18px; color:var(--accent); font-size:14px; font-weight:800; letter-spacing:.04em; }
.landing-app h1{ max-width:650px; margin:0 0 20px; color:#172523; font-size:clamp(34px,4.2vw,52px); line-height:1.35; letter-spacing:-.04em; }
.landing-app .lead{ max-width:580px; margin-bottom:22px; font-size:17px; color:#64706d; line-height:1.85; }
.landing-chips{ display:flex; flex-wrap:wrap; gap:8px; margin:0 0 30px; }
.landing-chips span{ padding:8px 12px; border:1px solid #dce9e4; border-radius:999px; background:#eaf6f1; color:#38675b; font-size:14px; font-weight:700; }
.landing-cta{ width:min(360px,100%); min-height:60px; padding:16px 22px; border-radius:16px; background:var(--accent)!important; border-color:var(--accent)!important; font-size:18px; box-shadow:0 8px 18px rgba(25,115,95,.14); transition:transform .18s ease, box-shadow .18s ease; }
.landing-cta span{ margin-left:8px; font-size:22px; }
.landing-cta:hover{ background:var(--accent-dark)!important; transform:translateY(-2px); box-shadow:0 11px 24px rgba(25,115,95,.2); }
.landing-note{ margin:15px 0 0; color:#64706d; font-size:13px; line-height:1.7; }
.landing-situations{ margin-top:20px; padding-top:22px; border-top:1px solid #e4eae7; }
.landing-situations h2{ margin:0 0 18px; color:#172523; font-size:26px; }
.situation-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.situation-card{ padding:20px; border:1px solid #e4eae7; border-radius:18px; background:#fff; transition:transform .18s ease, box-shadow .18s ease; }
.situation-card:hover{ transform:translateY(-2px); box-shadow:0 8px 18px rgba(33,64,55,.08); }
.situation-icon{ display:flex; align-items:center; justify-content:center; width:34px; height:34px; margin-bottom:14px; border-radius:11px; background:#eaf6f1; color:var(--accent); }
.situation-icon svg{ display:block; }
.situation-card h3{ margin:0 0 8px; color:#172523; font-size:16px; line-height:1.5; }
.situation-card p{ margin:0; color:#64706d; font-size:14px; line-height:1.7; }

/* 初回表示のみ、案内を順にやわらかく出す */
@keyframes landing-reveal{
  from{ opacity:0; transform:translateY(12px); }
  to{ opacity:1; transform:translateY(0); }
}
.landing-app .top,
.landing-app .landing-kicker,
.landing-app h1,
.landing-app .lead,
.landing-app .landing-chips,
.landing-app .landing-cta,
.landing-app .landing-note,
.landing-app .landing-situations{
  opacity:0;
  animation:landing-reveal .5s ease-out forwards;
}
.landing-app .top{ animation-delay:.03s; }
.landing-app .landing-kicker{ animation-delay:.1s; }
.landing-app h1{ animation-delay:.17s; }
.landing-app .lead{ animation-delay:.25s; }
.landing-app .landing-chips{ animation-delay:.32s; }
.landing-app .landing-cta{ animation-delay:.39s; }
.landing-app .landing-note{ animation-delay:.46s; }
.landing-app .landing-situations{ animation-delay:.53s; }

@media (max-width:900px){
  .landing-copy{ padding-bottom:0; }
}
@media (max-width:620px){
  .landing-app{ padding:0; }
  .landing-app .top{ margin-bottom:22px; }
  .landing-app .brand{ font-size:16px; }
  .landing-kicker{ margin-bottom:14px; font-size:13px; }
  .landing-app h1{ font-size:clamp(30px,8.5vw,36px); line-height:1.42; }
  .landing-app .lead{ font-size:16px; line-height:1.8; }
  .landing-chips{ margin-bottom:22px; }
  .landing-chips span{ font-size:13px; }
  .landing-cta{ width:100%; min-height:60px; }
  .landing-situations{ margin-top:4px; }
  .situation-grid{ grid-template-columns:1fr; }
  .situation-card{ padding:17px; }
}
@media (prefers-reduced-motion:reduce){
  .landing-cta,.situation-card{ transition:none; }
  .landing-cta:hover,.situation-card:hover{ transform:none; }
  .landing-app .top,
  .landing-app .landing-kicker,
  .landing-app h1,
  .landing-app .lead,
  .landing-app .landing-chips,
  .landing-app .landing-cta,
  .landing-app .landing-note,
  .landing-app .landing-situations{
    opacity:1;
    animation:none;
    transform:none;
  }
}

@media (max-width:620px){
  .top{flex-wrap:wrap;row-gap:8px;}
  .card{padding:20px;border-radius:18px}
  .chips{grid-template-columns:1fr}
  button{font-size:18px}
  .sex-options{grid-template-columns:1fr}
  .result-meta{grid-template-columns:1fr}
  .export-actions{grid-template-columns:1fr}
  .official-check-table{font-size:11px}
  .form-card-sheet{padding:18px 16px}
  .form-card-fields > div{flex-direction:column;align-items:flex-start;gap:2px}
  .form-card-fields strong{text-align:left}
}

/* ============================================================
   印刷仕様：A4縦・1ページ・上下左右10mm均等余白
   （プロトタイプ内の複数の試行錯誤版を1本に整理統合）
   ============================================================ */
@media print{
  @page{
    size:A4 portrait;
    margin:10mm;
  }

  /* ブラウザの「背景のグラフィック」設定がオフでも、該当項目のハイライト色等は必ず印刷させる */
  *{
    -webkit-print-color-adjust:exact !important;
    print-color-adjust:exact !important;
  }

  html, body{ height:auto !important; background:#fff !important; }
  .wrap{ display:block !important; padding:0 !important; min-height:auto !important; }
  .card{ display:block !important; width:100% !important; max-width:none !important; border:none !important; border-radius:0 !important; box-shadow:none !important; padding:0 !important; }

  /* 画面用UIは印刷では一切出さず、#printResult（印刷専用帳票）だけを表示する */
  .esukare-nav,
  .esukare-footer,
  .progress-wrap,
  .nav,
  button,
  .top,
  h1,
  .result-meta,
  .result-kicker,
  .result,
  .result-advice,
  .concern-summary,
  .support-section,
  .next-step-box,
  .score-summary,
  .small,
  .result-actions,
  .form-card,
  .premium-modal-overlay{
    display:none !important;
  }

  .print-only{ display:block !important; }

  /* ==== 印刷専用帳票（#printResult） ==== */
  .print-result{
    --navy:#16324f;
    --blue:#2563eb;
    --green:#15803d;
    --green-soft:#f0fdf4;
    --blue-soft:#eff6ff;
    --yellow-soft:#fffbeb;
    --amber:#92400e;
    --red:#b91c1c;
    --red-soft:#fef2f2;
    --border:#d9e2ec;
    --muted:#64748b;
    --text:#172033;
    --risk:#f9a8d4;

    display:block !important;
    width:100%;
    color:var(--text);
    background:#fff;
    font-size:9pt;
  }

  .print-header{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:1mm;
    padding-bottom:0.8mm;
    border-bottom:0.5mm solid var(--navy);
  }
  .print-brand{ font-size:7.3pt; color:var(--muted); font-weight:700; }
  .print-header h1{ margin:0.3mm 0 0; font-size:15pt; line-height:1.1; color:var(--navy); }
  .print-person{ display:grid; gap:0.6mm; text-align:right; }
  .print-person > div{ display:flex; gap:2mm; justify-content:flex-end; align-items:baseline; }
  .print-person span{ font-size:7.3pt; color:var(--muted); }
  .print-person strong{ font-size:9pt; color:var(--text); }

  .result-hero{
    display:grid;
    grid-template-columns:9mm 1fr;
    gap:3mm;
    align-items:center;
    padding:1.4mm 4mm;
    margin-bottom:1.4mm;
    border-radius:4mm;
    border:0.35mm solid var(--border);
    background:#f8fafc;
    break-inside:avoid;
  }
  .result-icon{
    display:flex;
    align-items:center;
    justify-content:center;
    width:8mm;
    height:8mm;
    border-radius:50%;
    background:var(--navy);
    color:#fff;
    font-size:11pt;
    font-weight:700;
  }
  .result-hero-wish{ margin:0 0 0.6mm; font-size:6.8pt; font-weight:700; color:var(--muted); }
  .result-hero h2{ margin:0 0 1mm; font-size:13pt; line-height:1.2; color:var(--navy); }
  .result-hero p{ margin:0; font-size:8.3pt; line-height:1.4; }

  .result-hero.mode-green{ background:var(--green-soft); border-color:#bbf0cc; }
  .result-hero.mode-green .result-icon{ background:var(--green); }
  .result-hero.mode-green h2{ color:var(--green); }
  .result-hero.mode-yellow{ background:var(--yellow-soft); border-color:#f5d976; }
  .result-hero.mode-yellow .result-icon{ background:var(--amber); }
  .result-hero.mode-yellow h2{ color:var(--amber); }
  .result-hero.mode-blue{ background:var(--blue-soft); border-color:#bfdbfe; }
  .result-hero.mode-blue .result-icon{ background:var(--blue); }
  .result-hero.mode-blue h2{ color:var(--blue); }
  .result-hero.mode-red{ background:var(--red-soft); border-color:#fecaca; }
  .result-hero.mode-red .result-icon{ background:var(--red); }
  .result-hero.mode-red h2{ color:var(--red); }

  .print-advice{
    margin:0 0 1.4mm;
    padding:1mm 3mm;
    border-radius:2.5mm;
    border:0.3mm solid var(--border);
    background:#f8fafc;
    break-inside:avoid;
  }
  .print-advice p{ margin:0; font-size:7.3pt; line-height:1.45; color:var(--text); }
  .print-advice.urgent{ background:var(--red-soft); border-color:#fecaca; }
  .print-advice.urgent p{ color:var(--red); }

  .print-two-column{
    display:grid;
    grid-template-columns:35% 65%;
    gap:3mm;
    margin-bottom:1.2mm;
  }
  .situation-card,
  .support-card-area{
    border:0.35mm solid var(--border);
    border-radius:3.5mm;
    padding:1.3mm 2.5mm;
    break-inside:avoid;
  }
  .print-result h3{ margin:0 0 1.6mm; font-size:10pt; color:var(--navy); }

  .situation-card dl{ margin:0; }
  .situation-card dl > div{ margin-bottom:1.5mm; }
  .situation-card dl > div:last-child{ margin-bottom:0; }
  .situation-card dt{ font-size:6.8pt; color:var(--green); font-weight:700; }
  .situation-card dd{ margin:0.5mm 0 0; font-size:8.3pt; font-weight:700; line-height:1.3; }

  .support-empty{ margin:0; font-size:8pt; color:var(--muted); line-height:1.5; }
  .support-item{
    display:grid;
    grid-template-columns:6mm 1fr;
    gap:2mm;
    align-items:start;
    padding:1.2mm 0;
    border-top:0.25mm solid #e5edf5;
  }
  .support-item:first-of-type{ border-top:0; padding-top:0; }
  .rank{
    display:flex;
    align-items:center;
    justify-content:center;
    width:5.5mm;
    height:5.5mm;
    border-radius:50%;
    color:#fff;
    background:var(--navy);
    font-size:7.5pt;
    font-weight:700;
  }
  .support-item strong{ font-size:8.3pt; color:var(--navy); }
  .support-item p{ margin:0.4mm 0 0; color:var(--muted); font-size:7.1pt; line-height:1.3; }

  .next-action{
    display:grid;
    grid-template-columns:26mm 1fr;
    align-items:center;
    gap:3mm;
    margin:0 0 1.5mm;
    padding:1.3mm 3.5mm;
    border-radius:3mm;
    background:var(--yellow-soft);
    border:0.35mm solid #f5d976;
    break-inside:avoid;
  }
  .next-action-title{ color:var(--amber); font-size:8.7pt; font-weight:700; }
  .next-action p{ margin:0; font-size:7.3pt; line-height:1.3; }

  .check-summary{ margin-bottom:1.3mm; break-inside:avoid; }

  /* 該当数サマリー2項目＋領域別小計6項目を同じ1行8列に並べる */
  .domain-grid{ display:grid; grid-template-columns:repeat(8, 1fr); gap:1.5mm; }
  .domain-grid > div{ padding:0.5mm 1mm; border:0.3mm solid var(--border); border-radius:2.5mm; text-align:center; }
  .domain-grid span{ display:block; font-size:5.6pt; color:var(--muted); line-height:1.15; }
  .domain-grid strong{ display:block; margin-top:0.5mm; font-size:8.7pt; color:var(--navy); }
  .domain-grid .summary-cell{ background:var(--green-soft); border-color:#bbf0cc; }
  .domain-grid .summary-cell.reference{ background:var(--blue-soft); border-color:#bfdbfe; }

  .check-table-area{ break-inside:avoid; }
  .check-table-area .matched-items{ margin-top:0; }
  .check-table-area .matched-items h2{ margin:0 0 1.3mm; font-size:10pt; color:var(--navy); font-weight:700; }
  .official-check-table-wrap{ width:100% !important; max-width:100% !important; overflow:visible !important; border:none !important; border-radius:0 !important; }
  .official-check-table{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    table-layout:fixed !important;
    font-size:8pt !important;
    border-collapse:collapse !important;
  }
  .official-check-table col.col-no{ width:5% !important; }
  .official-check-table col.col-question{ width:64% !important; }
  .official-check-table col.col-answer{ width:11% !important; }
  .official-check-table col.col-judge{ width:20% !important; }
  .official-check-table thead{ display:table-header-group !important; }
  .official-check-table tbody{ display:table-row-group !important; }
  .official-check-table tr{ break-inside:avoid !important; page-break-inside:avoid !important; }
  .official-check-table th,
  .official-check-table td{ border:0.2mm solid #9aaabd !important; padding:0.15mm 1.1mm !important; }
  .official-check-table th{ background:#eef3f8 !important; color:var(--navy) !important; font-size:8pt !important; font-weight:700 !important; }
  .official-check-table td.no{ text-align:center; }
  .official-check-table td.question{
    width:64% !important;
    white-space:normal !important;
    overflow-wrap:anywhere !important;
    word-break:break-word !important;
    font-size:7.6pt !important;
    line-height:1.08 !important;
  }
  .official-check-table td.answer{ width:11% !important; font-size:7.8pt !important; text-align:center; }
  .official-check-table td.answer.risk{ background:var(--risk) !important; font-weight:700; }
  .official-check-table td.judge{ width:20% !important; font-size:7pt !important; line-height:1.02 !important; text-align:center; }
  .official-check-table .bmi-detail{ font-size:6.8pt !important; }
  .official-check-note{ padding:0.6mm 0 0 !important; font-size:6.6pt !important; line-height:1.15 !important; color:var(--muted); border:none !important; background:none !important; }

  .print-footer{
    margin-top:0.8mm;
    padding:0.8mm 3mm;
    border-radius:2.5mm;
    background:#f8fafc;
    border:0.3mm solid var(--border);
    color:var(--muted);
    text-align:center;
    font-size:7pt;
    break-inside:avoid;
  }

  /* FREE利用者：印刷専用帳票の中身はPREMIUM案内のみを出力し、診断結果は出力しない */
  .print-locked{
    display:flex !important;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:6mm;
    height:120mm;
    margin-top:40mm;
    text-align:center;
    color:var(--text);
  }
  .print-locked-title{
    margin:0;
    font-size:15pt;
    font-weight:700;
    color:var(--navy);
  }
  .print-locked p{
    margin:0;
    max-width:120mm;
    font-size:9.5pt;
    line-height:1.7;
    color:var(--muted);
  }
}
