/* ============================================================
   tomarin — 資料請求 (Document Request) page
   Reuses tokens.css + design language from the main LP.
   ============================================================ */

.req-main {
  position: relative;
  min-height: calc(100vh - 60px);
  padding: 120px 24px 80px;
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(111,175,42,0.05), transparent 60%),
    var(--bg-cream);
  overflow: hidden;
}
.req-shapes { position: absolute; inset: 0; pointer-events: none; }
.req-shapes svg { position: absolute; opacity: 0.16; }

.req-wrap {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

/* ---------- Aside ---------- */
.req-aside { position: sticky; top: 110px; padding-top: 8px; }
.req-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green-bg); color: var(--green-text);
  padding: 5px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 500;
  border: 0.5px solid rgba(111,175,42,0.3);
  margin-bottom: 24px;
}
.req-eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-green); }
.req-title {
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--black);
  margin: 0 0 22px;
  text-wrap: balance;
}
.req-lead {
  font-size: 14px;
  line-height: 2;
  color: var(--text-dim);
  margin: 0 0 32px;
}
.req-lead .brand-name { color: var(--green-text); font-weight: 500; }
.req-points { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 16px; }
.req-points li { display: flex; gap: 12px; align-items: flex-start; }
.req-points li svg { margin-top: 3px; flex-shrink: 0; }
.req-points li strong { display: block; font-size: 14px; font-weight: 500; color: var(--black); margin-bottom: 3px; }
.req-points li span { font-size: 12.5px; color: var(--text-dim); line-height: 1.7; }
.req-contact {
  border-top: 0.5px solid var(--border-subtle);
  padding-top: 22px;
}
.rc-label { font-family: var(--font-en); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-quiet); margin-bottom: 8px; }
.rc-mail { display: inline-block; font-size: 16px; font-weight: 500; color: var(--green-text); text-decoration: none; border-bottom: 0.5px dashed rgba(111,175,42,0.5); margin-bottom: 8px; }
.rc-org { font-size: 12px; color: var(--text-dim); }

/* ---------- Card / form ---------- */
.req-card {
  background: white;
  border: 0.5px solid var(--border-subtle);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 24px 60px -36px rgba(31,58,43,0.28);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 4px; }
.form-field { margin-bottom: 24px; }
.form-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--black);
  margin-bottom: 9px;
}
.form-label .req {
  font-size: 10px; font-weight: 500;
  background: var(--green-bg); color: var(--green-text);
  padding: 2px 7px; border-radius: 4px; letter-spacing: 0.04em;
}
.form-input {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  color: var(--black);
  background: var(--bg-off-white);
  border: 0.5px solid var(--border-card);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
  box-sizing: border-box;
}
.form-input::placeholder { color: var(--text-quiet); }
.form-input:focus {
  outline: none;
  background: white;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(111,175,42,0.12);
}
.form-input.err { border-color: #d4583b; background: #fdf4f1; }
.form-textarea { resize: vertical; line-height: 1.7; min-height: 96px; }
.form-hint { font-size: 11.5px; color: var(--text-quiet); margin-top: 7px; }
.form-error { font-size: 11.5px; color: #c0492e; margin-top: 7px; font-weight: 500; }

/* ---------- Chips ---------- */
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.select-chip {
  font-family: inherit;
  font-size: 13px;
  color: var(--text-dim);
  background: var(--bg-off-white);
  border: 0.5px solid var(--border-card);
  border-radius: 999px;
  padding: 9px 16px;
  cursor: pointer;
  transition: all 160ms ease;
  display: inline-flex; align-items: center; gap: 6px;
}
.select-chip:hover { border-color: var(--brand-green); color: var(--black); }
.select-chip.active {
  background: var(--green-bg);
  border-color: var(--brand-green);
  color: var(--green-text);
  font-weight: 500;
}
.select-chip .chip-check { font-size: 11px; }

/* ---------- Agree ---------- */
.form-agree {
  display: flex; align-items: center; gap: 11px;
  font-size: 13px; color: var(--text-dim);
  margin: 8px 0 24px;
}
.agree-box {
  width: 22px; height: 22px; flex-shrink: 0;
  border: 1px solid var(--border-card);
  border-radius: 6px;
  background: var(--bg-off-white);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 150ms ease;
}
.agree-box.on { background: var(--brand-green); border-color: var(--brand-green); }
.form-agree span { cursor: pointer; }
.form-agree a { color: var(--green-text); text-decoration: underline; text-underline-offset: 2px; }
.form-agree.err .agree-box { border-color: #d4583b; }

.req-submit { width: 100%; justify-content: center; }
.req-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 18px;
}
.req-note a { color: var(--green-text); text-decoration: none; border-bottom: 0.5px dashed rgba(111,175,42,0.5); }

/* ---------- Confirmation ---------- */
.req-done { text-align: center; padding: 24px 12px; }
.req-done-mark {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--brand-green);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px;
  animation: popIn 500ms cubic-bezier(.16,1.3,.4,1);
}
@keyframes popIn { from { transform: scale(0.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.req-done h2 { font-family: var(--font-serif); font-size: 28px; font-weight: 400; color: var(--black); margin: 0 0 16px; }
.req-done > p { font-size: 14px; line-height: 2; color: var(--text-dim); margin: 0 0 28px; }
.req-done > p strong { color: var(--green-text); }
.req-done-summary {
  max-width: 360px; margin: 0 auto 30px;
  background: var(--bg-off-white);
  border: 0.5px solid var(--border-subtle);
  border-radius: 12px; padding: 6px 18px;
  text-align: left;
}
.rds-row { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 0.5px solid var(--border-subtle); font-size: 13px; }
.rds-row:last-child { border-bottom: none; }
.rds-row span:first-child { color: var(--text-quiet); }
.rds-row span:last-child { color: var(--black); font-weight: 500; text-align: right; }
.req-done-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---------- Nav (simple) ---------- */
.nav-inner-simple {
  display: flex !important; justify-content: space-between; align-items: center;
  max-width: 1140px; margin: 0 auto; padding: 0 24px; width: 100%;
}
.nav-back { font-size: 13px; color: var(--text-dim); text-decoration: none; font-weight: 500; }
.nav-back:hover { color: var(--black); }

/* ---------- Footer ---------- */
.req-footer { background: var(--black); color: rgba(255,255,255,0.7); padding: 26px 24px; }
.rf-inner { max-width: 1140px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.rf-inner > div:first-child { color: white; font-weight: 500; font-size: 16px; }
.rf-copy { font-size: 12px; font-family: var(--font-en); letter-spacing: 0.03em; }

/* ---------- Responsive ---------- */
@media (max-width: 920px) {
  .req-wrap { grid-template-columns: 1fr; gap: 40px; }
  .req-aside { position: static; }
  .req-title { font-size: 30px; }
}
@media (max-width: 560px) {
  .req-main { padding: 96px 16px 56px; }
  .req-card { padding: 26px 20px; border-radius: 16px; }
  .form-grid { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- Conversion upgrades ---------- */
.req-form-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 26px; padding-bottom: 18px;
  border-bottom: 0.5px solid var(--border-subtle);
}
.req-time {
  background: var(--green-bg); color: var(--green-text);
  font-size: 12px; font-weight: 600;
  border-radius: 999px; padding: 5px 12px;
  border: 0.5px solid rgba(111,175,42,0.3);
  white-space: nowrap;
}
.req-time-note { font-size: 12.5px; color: var(--text-dim); }
.req-trust {
  text-align: center;
  font-size: 12px; color: var(--text-dim);
  margin-top: 14px;
}
.req-doc {
  display: flex; align-items: center; gap: 18px;
  background: white;
  border: 0.5px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 0 0 32px;
  box-shadow: 0 10px 30px -22px rgba(31,58,43,0.3);
}
.req-doc-pages { position: relative; width: 64px; height: 78px; flex-shrink: 0; }
.rdp {
  position: absolute; inset: 0;
  background: white;
  border: 0.5px solid var(--border-card);
  border-radius: 6px;
}
.rdp-2 { transform: rotate(4deg); background: var(--bg-off-white); }
.rdp-3 { transform: rotate(8deg); background: var(--bg-off-white); }
.rdp-1 {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; color: var(--green-text);
  background: linear-gradient(180deg, white 0%, var(--green-bg) 140%);
}
.req-doc-title {
  font-family: var(--font-en);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text-quiet); margin-bottom: 7px;
}
.req-doc-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.req-doc-list li {
  font-size: 12.5px; color: var(--text-dim);
  display: flex; align-items: center; gap: 7px;
}
.req-doc-list li::before {
  content: ''; width: 5px; height: 5px; border-radius: 50%;
  background: var(--brand-green); flex-shrink: 0;
}
