:root {
--twq-navy: #163b5c;
--twq-blue: #1f67a5;
--twq-blue-dark: #144a78;
--twq-pale: #f3f7fa;
--twq-border: #d6dee5;
--twq-text: #202830;
--twq-muted: #607080;
--twq-danger: #b42318;
--twq-success: #147d49;
}
.twq-app,
.twq-view-wrap {
color: var(--twq-text);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
}
.twq-app {
max-width: 980px;
margin: 0 auto;
}
.twq-intro {
margin-bottom: 28px;
}
.twq-intro h2 {
margin: 3px 0 12px;
font-size: clamp(26px, 4vw, 38px);
line-height: 1.3;
color: var(--twq-navy);
}
.twq-eyebrow {
margin: 0;
color: var(--twq-blue);
font-weight: 800;
letter-spacing: .04em;
}
.twq-notice {
margin-top: 18px;
padding: 16px 18px;
border-left: 5px solid var(--twq-blue);
background: #eef6fc;
}
.twq-notice p { margin: 4px 0 0; }
.twq-form,
.twq-order-panel {
border: 1px solid var(--twq-border);
border-radius: 10px;
background: #fff;
box-shadow: 0 8px 28px rgba(24, 55, 82, .08);
overflow: hidden;
}
.twq-section {
padding: 26px 28px;
border-bottom: 1px solid var(--twq-border);
}
.twq-section:last-of-type { border-bottom: 0; }
.twq-section h3 {
display: flex;
gap: 10px;
align-items: center;
margin: 0 0 20px;
color: var(--twq-navy);
font-size: 20px;
}
.twq-section h3 > span {
display: inline-grid;
width: 30px;
height: 30px;
place-items: center;
border-radius: 50%;
background: var(--twq-navy);
color: #fff;
font-size: 15px;
}
.twq-section-heading {
display: flex;
justify-content: space-between;
gap: 12px;
align-items: center;
margin-bottom: 18px;
}
.twq-section-heading h3 { margin: 0; }
.twq-grid {
display: grid;
gap: 18px;
}
.twq-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.twq-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.twq-field-wide { grid-column: 1 / -1; }
.twq-field {
display: flex;
flex-direction: column;
gap: 7px;
min-width: 0;
}
.twq-field > span { font-weight: 700; }
.twq-field em {
margin-left: 5px;
color: var(--twq-danger);
font-size: 12px;
font-style: normal;
}
.twq-field small,
.twq-help,
.twq-privacy {
color: var(--twq-muted);
font-size: 13px;
line-height: 1.55;
}
.twq-field input,
.twq-field textarea,
.twq-field select {
box-sizing: border-box;
width: 100%;
min-height: 45px;
padding: 10px 12px;
border: 1px solid #aab9c5;
border-radius: 5px;
background: #fff;
color: var(--twq-text);
font: inherit;
}
.twq-field textarea { min-height: 90px; resize: vertical; }
.twq-field input:focus,
.twq-field textarea:focus,
.twq-field select:focus {
border-color: var(--twq-blue);
outline: 3px solid rgba(31, 103, 165, .13);
}
.twq-radio-cards {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 14px;
}
.twq-radio-cards label { cursor: pointer; }
.twq-radio-cards input { position: absolute; opacity: 0; pointer-events: none; }
.twq-radio-cards span {
display: flex;
min-height: 74px;
flex-direction: column;
justify-content: center;
padding: 14px 16px;
border: 2px solid var(--twq-border);
border-radius: 7px;
background: #fff;
transition: .15s ease;
}
.twq-radio-cards strong { color: var(--twq-navy); font-size: 17px; }
.twq-radio-cards small { color: var(--twq-muted); }
.twq-radio-cards input:checked + span {
border-color: var(--twq-blue);
background: #eef7ff;
box-shadow: inset 0 0 0 1px var(--twq-blue);
}
.twq-items { display: grid; gap: 16px; }
.twq-item {
padding: 20px;
border: 1px solid var(--twq-border);
border-radius: 8px;
background: var(--twq-pale);
}
.twq-item-head {
display: flex;
justify-content: space-between;
margin-bottom: 16px;
color: var(--twq-navy);
}
.twq-remove-item {
padding: 2px 7px;
border: 0;
background: transparent;
color: var(--twq-danger);
cursor: pointer;
text-decoration: underline;
}
.twq-money-input {
display: flex;
align-items: stretch;
}
.twq-money-input > span {
display: grid;
min-width: 40px;
place-items: center;
border: 1px solid #aab9c5;
border-right: 0;
border-radius: 5px 0 0 5px;
background: #e9eef2;
font-weight: 700;
}
.twq-money-input input { border-radius: 0 5px 5px 0; }
.twq-button {
display: inline-flex;
box-sizing: border-box;
min-height: 44px;
align-items: center;
justify-content: center;
padding: 10px 18px;
border: 1px solid transparent;
border-radius: 5px;
font: inherit;
font-weight: 800;
line-height: 1.3;
text-decoration: none !important;
cursor: pointer;
}
.twq-button-primary { background: var(--twq-blue); color: #fff !important; }
.twq-button-primary:hover { background: var(--twq-blue-dark); }
.twq-button-secondary { border-color: var(--twq-blue); background: #fff; color: var(--twq-blue); }
.twq-button:disabled { cursor: not-allowed; opacity: .55; }
.twq-submit {
display: flex;
width: calc(100% - 56px);
min-height: 58px;
margin: 0 28px 8px;
font-size: 18px;
}
.twq-privacy { margin: 0 28px 26px; text-align: center; }
.twq-summary-section { background: var(--twq-pale); }
.twq-summary {
max-width: 600px;
margin-left: auto;
border-top: 1px solid var(--twq-border);
}
.twq-summary > div {
display: flex;
justify-content: space-between;
gap: 20px;
padding: 10px 4px;
border-bottom: 1px solid var(--twq-border);
}
.twq-summary-grand { margin-top: 7px; color: var(--twq-navy); font-size: 21px; }
.twq-summary-grand strong { font-size: 27px; }
.twq-agreement label,
.twq-agreement-inline {
display: flex;
gap: 10px;
align-items: flex-start;
line-height: 1.6;
}
.twq-agreement input,
.twq-agreement-inline input { width: 18px; height: 18px; margin-top: 3px; flex: 0 0 auto; }
.twq-honeypot { position: absolute !important; left: -9999px !important; }
.twq-error,
.twq-static-error {
margin: 18px 28px;
padding: 14px 16px;
border: 1px solid #f0b4ae;
border-radius: 5px;
background: #fff0ef;
color: var(--twq-danger);
font-weight: 700;
}
.twq-static-error { max-width: 900px; margin: 30px auto; }
.twq-success {
padding: 48px 30px;
border: 1px solid #a9d7bf;
border-radius: 10px;
background: #f0fbf5;
text-align: center;
}
.twq-success-icon {
display: grid;
width: 58px;
height: 58px;
margin: 0 auto 14px;
place-items: center;
border-radius: 50%;
background: var(--twq-success);
color: #fff;
font-size: 30px;
}
.twq-quote-number { font-size: 18px; }
.twq-view-wrap { max-width: 1000px; margin: 0 auto; }
.twq-view-actions {
display: flex;
justify-content: space-between;
gap: 14px;
align-items: center;
margin-bottom: 18px;
}
.twq-status {
padding: 7px 12px;
border-radius: 999px;
background: #e9eef2;
font-size: 13px;
font-weight: 800;
}
.twq-status-order_requested { background: #fff2cc; }
.twq-status-accepted { background: #dff4e8; color: #0d6037; }
.twq-status-declined,
.twq-status-invalid,
.twq-status-expired { background: #f4e1e1; color: #8c1f1f; }
.twq-success-message {
margin-bottom: 16px;
padding: 14px;
border: 1px solid #a9d7bf;
background: #f0fbf5;
color: #0d6037;
}
.twq-quote-sheet {
box-sizing: border-box;
min-height: 277mm;
padding: 16mm 15mm;
border: 1px solid #ccd5dc;
background: #fff;
box-shadow: 0 8px 28px rgba(24, 55, 82, .09);
color: #111;
}
.twq-quote-header {
display: flex;
justify-content: space-between;
gap: 20px;
align-items: flex-start;
}
.twq-quote-header h1 {
margin: 0;
border-bottom: 3px double #222;
font-size: 30px;
letter-spacing: .35em;
}
.twq-auto-label {
display: inline-block;
margin: 0 0 7px;
padding: 3px 8px;
border: 1px solid #333;
font-size: 11px;
font-weight: 800;
}
.twq-quote-header dl { min-width: 260px; margin: 0; font-size: 12px; }
.twq-quote-header dl div { display: grid; grid-template-columns: 80px 1fr; border-bottom: 1px solid #999; }
.twq-quote-header dt,
.twq-quote-header dd { margin: 0; padding: 5px; }
.twq-quote-header dt { background: #f0f0f0; font-weight: 700; }
.twq-quote-parties {
display: grid;
grid-template-columns: 1.2fr 1fr;
gap: 30px;
margin-top: 28px;
align-items: start;
}
.twq-customer strong { border-bottom: 1px solid #111; font-size: 20px; }
.twq-vendor { position: relative; display: flex; justify-content: space-between; gap: 10px; min-height: 105px; font-size: 12px; line-height: 1.7; }
.twq-vendor-text { position: relative; z-index: 2; }
.twq-vendor strong { font-size: 17px; }
.twq-seals { display: flex; align-items: flex-start; justify-content: flex-end; gap: 8px; width: 118px; min-width: 118px; min-height: 68px; margin-top: 2px; }
.twq-square-seal-img, .twq-round-seal-img { display: block; flex: 0 0 auto; object-fit: contain; opacity: .88; }
.twq-square-seal-img { width: 64px; height: 64px; }
.twq-round-seal-img { width: 42px; height: 42px; margin-top: 18px; }
.twq-css-seal { position: static; display: flex; flex: 0 0 auto; align-items: center; justify-content: center; box-sizing: border-box; color: #b40000; border: 3px double #b40000; font-family: serif; font-weight: 800; line-height: 1.05; text-align: center; opacity: .82; transform: rotate(-2deg); }
.twq-css-square { width: 64px; height: 64px; font-size: 14px; letter-spacing: .08em; }
.twq-css-round { width: 42px; height: 42px; margin-top: 18px; border-radius: 50%; font-size: 13px; }
.twq-rounding-row td { font-size: 10px; color: #555; }
.twq-inclusive-note { margin-top: 8px; }
.twq-quote-total-box {
display: flex;
max-width: 580px;
justify-content: space-between;
align-items: baseline;
margin: 28px 0 22px;
padding: 10px 14px;
border-bottom: 3px double #111;
font-weight: 700;
}
.twq-quote-total-box strong { font-size: 25px; }
.twq-quote-table {
width: 100%;
border-collapse: collapse;
table-layout: fixed;
font-size: 12px;
}
.twq-quote-table th,
.twq-quote-table td { padding: 7px 6px; border: 1px solid #777; vertical-align: top; }
.twq-quote-table thead th { background: #e9edf0; text-align: center; }
.twq-quote-table th:nth-child(1) { width: 38px; }
.twq-quote-table th:nth-child(3) { width: 55px; }
.twq-quote-table th:nth-child(4),
.twq-quote-table th:nth-child(5) { width: 100px; }
.twq-quote-table td:nth-child(1),
.twq-quote-table td:nth-child(3),
.twq-quote-table td:nth-child(4),
.twq-quote-table td:nth-child(5) { text-align: right; }
.twq-quote-table small { overflow-wrap: anywhere; color: #444; font-size: 9px; }
.twq-quote-table tfoot th { background: #e9edf0; text-align: right; font-size: 14px; }
.twq-quote-terms { margin-top: 22px; font-size: 10px; line-height: 1.65; }
.twq-quote-terms h2 { margin: 0 0 6px; font-size: 13px; }
.twq-order-panel { margin-top: 24px; padding: 28px; }
.twq-order-panel h2 { margin-top: 0; color: var(--twq-navy); }
.twq-order-form .twq-agreement-inline { margin: 20px 0; }
@media (max-width: 760px) {
.twq-grid-2,
.twq-grid-4,
.twq-radio-cards,
.twq-quote-parties { grid-template-columns: 1fr; }
.twq-section { padding: 22px 18px; }
.twq-section-heading { align-items: flex-start; flex-direction: column; }
.twq-submit { width: calc(100% - 36px); margin: 0 18px 8px; }
.twq-privacy { margin: 0 18px 22px; }
.twq-quote-sheet { min-height: 0; padding: 18px 14px; overflow-x: auto; }
.twq-quote-header { flex-direction: column; }
.twq-quote-header dl { width: 100%; min-width: 0; }
.twq-quote-table { min-width: 680px; }
}
@page { size: A4 portrait; margin: 8mm; }
@media print {
body { background: #fff !important; }
body * { visibility: hidden; }
.twq-quote-sheet,
.twq-quote-sheet * { visibility: visible; }
.twq-quote-sheet {
position: absolute;
inset: 0;
width: 100%;
min-height: auto;
margin: 0;
padding: 7mm 8mm;
border: 0;
box-shadow: none;
}
.twq-no-print { display: none !important; }
}
.twq-import-assumptions {
padding: 10px 12px;
border: 1px solid #b7c5d1;
background: #f6f9fb;
}
.twq-import-summary[hidden],
.twq-import-costs[hidden] { display: none !important; }
.twq-fixed-assumption {
display: flex;
flex-direction: column;
gap: 0.35rem;
padding: 0.85rem 1rem;
border: 1px solid #d9e2ec;
border-radius: 8px;
background: #f7fafc;
}
.twq-fixed-assumption strong {
font-size: 1.1rem;
}
.twq-document-actions,
.twq-document-links {
display: flex;
flex-wrap: wrap;
gap: 8px;
align-items: center;
}
.twq-document-actions .is-current {
background: #eaf4fb;
box-shadow: inset 0 0 0 1px var(--twq-blue);
}
.twq-delivery-address {
margin-top: 16px;
padding: 10px 12px;
border: 1px solid #aaa;
font-size: 11px;
line-height: 1.6;
}
.twq-invoice-payment {
padding: 12px;
border: 1px solid #b7c5d1;
background: #f8fafb;
}
.twq-invoice-payment > div + div {
margin-top: 8px;
}
.twq-document-invoice .twq-quote-header h1,
.twq-document-delivery .twq-quote-header h1 {
letter-spacing: .45em;
}
@media (max-width: 760px) {
.twq-view-actions {
align-items: flex-start;
flex-direction: column;
}
}
.twq-purpose-message{margin:0 0 18px;padding:14px 16px;border-left:4px solid #646970;background:#f6f7f7;color:#2c3338;border-radius:3px;line-height:1.7}.twq-purpose-message strong{font-size:1.02em}