:root {
    --navy: #0b1f3a;
    --blue: #1d4ed8;
    --line: #dbe3ef;
    --text: #102033;
    --muted: #667085;
    --bg: #f6f8fb;
    --card: #ffffff;
    --red: #dc2626;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    line-height: 1.7;
}
.wrap { width: min(1120px, calc(100% - 36px)); margin: 0 auto; }
.rental-hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(59,130,246,.32), transparent 28%),
        linear-gradient(135deg, #071529 0%, #0b1f3a 48%, #143b76 100%);
    color: #fff;
    padding: 64px 0 54px;
    text-align: center;
}
.eyebrow { margin: 0 0 10px; color: #bfdbfe; font-size: 12px; font-weight: 900; letter-spacing: .22em; }
.eyebrow.dark { color: var(--blue); }
h1 { margin: 0; font-size: clamp(32px, 5vw, 56px); line-height: 1.12; letter-spacing: .08em; font-weight: 900; }
.lead { max-width: 720px; margin: 18px auto 0; color: #dbeafe; font-size: 15px; }
.rental-section { padding: 38px 0 34px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.section-head h2, .inquiry-copy h2 { margin: 0; font-size: 26px; line-height: 1.3; letter-spacing: .04em; }
.section-head p, .inquiry-copy p { margin: 6px 0 0; color: var(--muted); font-size: 14px; }
.count-badge {
    flex: 0 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 999px;
    padding: 9px 16px; font-weight: 900; color: var(--navy); box-shadow: 0 8px 18px rgba(15,23,42,.06);
}
.notice, .form-message {
    background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px;
    color: #475467; box-shadow: 0 10px 22px rgba(15,23,42,.05);
}
.form-message { margin: 22px 0 0; }
.form-message.success { border-color: #86efac; background: #f0fdf4; color: #166534; }
.form-message.error { border-color: #fca5a5; background: #fef2f2; color: #991b1b; }
.car-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.car-card {
    position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 18px;
    box-shadow: 0 14px 30px rgba(15,23,42,.075); min-height: 330px; display: flex; flex-direction: column;
}
.car-card:before { content: ""; position: absolute; left: 0; top: 0; width: 5px; height: 100%; background: linear-gradient(180deg, #1d4ed8, #60a5fa); z-index: 2; }
.car-image { width: 100%; aspect-ratio: 16 / 10; background: #e5eaf3; overflow: hidden; }
.car-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.car-image.no-image { display: flex; align-items: center; justify-content: center; color: #64748b; font-size: 13px; font-weight: 900; letter-spacing: .12em; background: linear-gradient(135deg, #eef2f7, #dbe3ef); }
.car-body { padding: 18px 22px 20px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.maker { color: var(--muted); font-size: 14px; font-weight: 800; letter-spacing: .04em; }
.car-card h3 { margin: 4px 0 0; color: #0b1f3a; font-size: 28px; line-height: 1.25; font-weight: 900; letter-spacing: .02em; }
.meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0 16px; }
.meta-item { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 10px 12px; }
.meta-item span { display: block; color: #64748b; font-size: 11px; font-weight: 900; line-height: 1.2; margin-bottom: 4px; }
.meta-item strong { display: block; color: #111827; font-size: 15px; line-height: 1.25; font-weight: 900; }
.status-row { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; }
.status-pill { display: inline-flex; align-items: center; border-radius: 999px; padding: 7px 13px; font-size: 13px; font-weight: 900; border: 1px solid transparent; }
.available { background: #2563eb; }
.rented { background: var(--red); }
.maintenance { background: #4b5563; }
.reserved { background: #f59e0b; }
.other { background: #64748b; }
.status-pill.available { background: #dbeafe; color: #1e40af; border-color: #93c5fd; }
.status-pill.rented { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }
.status-pill.maintenance { background: #f1f5f9; color: #334155; border-color: #cbd5e1; }
.status-pill.reserved { background: #fef3c7; color: #92400e; border-color: #fcd34d; }
.status-pill.other { background: #f1f5f9; color: #334155; border-color: #cbd5e1; }
.inquiry-section { padding: 0 0 70px; }
.inquiry-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 30px; box-shadow: 0 18px 42px rgba(15,23,42,.08); }
.info-list { margin: 16px 0 0; padding-left: 1.2em; color: #475467; font-size: 14px; }
.inquiry-form { margin-top: 24px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.form-grid label, .inquiry-form label { min-width: 0; display: block; }
.inquiry-form label > span { display: block; color: #334155; font-size: 13px; font-weight: 900; margin-bottom: 6px; }
.inquiry-form em { color: var(--red); font-style: normal; font-size: 11px; margin-left: 4px; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea {
    width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; border: 1px solid #cbd5e1; border-radius: 12px;
    padding: 12px 13px; font: inherit; background: #fff; color: #0f172a; outline: none;
}
input[type="datetime-local"] { width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; -webkit-appearance: none; appearance: none; }
.inquiry-form input:focus, .inquiry-form select:focus, .inquiry-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,78,216,.12); }
.full { margin-top: 16px; }
.form-actions { margin-top: 20px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-actions button { appearance: none; border: none; border-radius: 999px; background: linear-gradient(135deg, #0b1f3a, #1d4ed8); color: #fff; padding: 13px 24px; font-weight: 900; font-size: 15px; cursor: pointer; box-shadow: 0 12px 22px rgba(29,78,216,.22); }
.form-actions p { margin: 0; color: var(--muted); font-size: 13px; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
@media (max-width: 920px) { .car-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 768px) { .form-grid { grid-template-columns: 1fr; gap: 16px; } input[type="datetime-local"] { font-size: 16px; } }
@media (max-width: 640px) {
    .wrap { width: min(100% - 28px, 1120px); }
    .rental-hero { padding: 46px 0 38px; }
    .rental-section { padding: 28px 0 26px; }
    .section-head { display: block; }
    .count-badge { display: inline-flex; margin-top: 12px; }
    .car-list { grid-template-columns: 1fr; gap: 14px; }
    .car-card { min-height: 0; border-radius: 16px; }
    .car-card h3 { font-size: 27px; }
    .car-body { padding: 18px 18px 18px; }
    .inquiry-card { padding: 22px 18px; border-radius: 18px; }
    .form-actions { display: block; }
    .form-actions button { width: 100%; }
    .form-actions p { margin-top: 12px; }
}
