:root {
  --navy: #111820;
  --navy-dark: #050505;
  --blue: #2a7780;
  --bg: #f5f4f1;
  --white: #ffffff;
  --text: #1c2429;
  --muted: #6d7579;
  --line: #dedfdd;
  --input: #fafafa;
  --accent: #e45f35;
}

* { box-sizing: border-box; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  padding: 18px max(24px, calc((100vw - 1040px) / 2));
  color: white;
  background: #050505;
  border-bottom: 1px solid #252525;
}
.brand { display: flex; align-items: center; gap: 20px; }
.brand img {
  width: auto;
  height: 46px;
  aspect-ratio: 1000 / 172;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
  display: block;
}
.logo-white { filter: brightness(0) invert(1); }
.logo-black { filter: brightness(0); }
.brand-copy {
  display: grid;
  gap: 6px;
  padding-left: 20px;
  border-left: 1px solid #343434;
}
.brand-copy span { color: rgba(255,255,255,.48); font: 700 9px/1 Arial, sans-serif; letter-spacing: .18em; }
.brand-copy strong { font-size: 15px; letter-spacing: .03em; }
.brand-link { color: inherit; text-decoration: none; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a {
  padding: 9px 13px;
  color: rgba(255,255,255,.56);
  border-radius: 6px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
}
.site-nav a:hover, .site-nav a.active { color: white; background: #202020; }
main { width: min(1040px, calc(100% - 32px)); margin: 0 auto 64px; }
.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  align-items: end;
  gap: 48px;
  padding: 48px 2px 30px;
}
.eyebrow {
  display: block;
  margin-bottom: 11px;
  color: var(--blue);
  font: 800 10px/1 Arial, sans-serif;
  letter-spacing: .18em;
}
h1 { margin: 0; color: var(--navy-dark); font-size: clamp(26px, 4vw, 38px); line-height: 1.25; letter-spacing: -.04em; }
.page-intro h1 { white-space: nowrap; }
.page-intro p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.intro-copy { display: grid; gap: 10px; }
.intro-links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 5px; }
.intro-links a {
  display: grid;
  gap: 4px;
  padding: 12px 13px;
  color: var(--navy);
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.intro-links a:hover { border-color: #a9c9cc; box-shadow: 0 6px 16px rgba(17,24,32,.07); transform: translateY(-1px); }
.intro-links span { color: var(--blue); font: 800 8px/1 Arial, sans-serif; letter-spacing: .12em; }
.intro-links strong { font-size: 11px; }
.text-link { color: var(--blue); font-size: 12px; font-weight: 800; text-decoration: none; }
form { display: grid; gap: 18px; }
.form-section {
  padding: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(17,24,32,.035);
}
.section-title { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 24px; }
.section-title > span {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  color: white;
  background: var(--navy);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}
h2 { margin: 1px 0 0; color: var(--navy); font-size: 20px; }
.section-title p { margin: 6px 0 0; color: var(--muted); font-size: 12px; }

.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.wide { grid-column: 1 / -1; }
label > span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 12px; font-weight: 700; }
input, select, textarea {
  width: 100%;
  color: var(--text);
  background: var(--input);
  border: 1px solid var(--line);
  border-radius: 7px;
  outline: none;
}
input, select { height: 46px; padding: 0 12px; }
textarea { padding: 12px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(42,119,128,.1); }

.date-grid { display: grid; grid-template-columns: minmax(0, 1fr) 180px; align-items: end; gap: 16px; }
.usage-period-field { display: grid; gap: 8px; }
.usage-period-label { color: var(--muted); font-size: 12px; font-weight: 700; }
.usage-period-inputs { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.arrow { color: var(--muted); }
.days-box { min-height: 46px; padding: 8px 14px; background: #eef4f5; border-radius: 7px; }
.days-box span { display: block; color: var(--muted); font-size: 10px; }
.days-box strong { display: block; margin-top: 2px; color: var(--navy); font-size: 17px; }
.handover-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.handover-grid > div {
  display: grid;
  gap: 6px;
  padding: 15px 17px;
  background: #eef4f5;
  border: 1px solid #cddfe1;
  border-radius: 9px;
}
.handover-grid span { color: var(--muted); font-size: 10px; font-weight: 800; }
.handover-grid strong { color: var(--navy); font-size: 14px; }
.schedule-note {
  margin: 11px 0 0;
  padding: 11px 13px;
  color: #596368;
  background: #faf8f1;
  border: 1px solid #e5dfc9;
  border-radius: 8px;
  font-size: 10px;
  line-height: 1.7;
}

.equipment-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 8px; }
table { width: 100%; border-collapse: collapse; min-width: 1050px; }
th { padding: 12px; color: rgba(255,255,255,.76); background: var(--navy-dark); text-align: left; font-size: 10px; letter-spacing: .04em; }
td { padding: 9px 10px; border-top: 1px solid var(--line); }
tbody tr:first-child td { border-top: 0; }
tbody tr:nth-child(even) { background: #f8fafb; }
.number-col { width: 58px; text-align: center; }
.category-col { width: 190px; }
.stock-col { width: 115px; }
.price-col { width: 145px; }
.qty-col { width: 100px; }
.action-col { width: 50px; }
td:first-child { color: var(--muted); text-align: center; font-size: 12px; }
td select, td input { height: 40px; background: white; }
.stock-value { color: var(--muted); font-size: 12px; white-space: nowrap; }
.price-value {
  display: grid;
  grid-template-columns: auto auto;
  justify-content: start;
  gap: 2px 5px;
  white-space: nowrap;
}
.price-value strong { color: var(--text); font-size: 11px; }
.price-value small { align-self: center; color: var(--muted); font-size: 8px; }
.remove-row {
  width: 32px;
  height: 32px;
  color: #9b4b3e;
  background: #faece8;
  border: 0;
  border-radius: 50%;
}
.add-row {
  margin-top: 14px;
  padding: 10px 16px;
  color: var(--navy);
  background: white;
  border: 1px solid #aeb3b5;
  border-radius: 7px;
  font-size: 12px;
  font-weight: 700;
}
.add-row:disabled { cursor: not-allowed; opacity: .45; }

.summary {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px 28px;
  padding: 26px 30px;
  color: white;
  background: linear-gradient(135deg, #111820, #202b32);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(17,24,32,.15);
}
.summary-selection span, .summary-price > span { display: block; color: rgba(255,255,255,.58); font-size: 11px; }
.summary-selection strong { display: block; margin-top: 5px; font-size: 18px; }
.summary-price { text-align: right; }
.summary-price > div { display: flex; align-items: baseline; justify-content: flex-end; gap: 7px; margin-top: 4px; white-space: nowrap; }
.summary-price strong { font-size: clamp(24px, 3.2vw, 32px); line-height: 1; letter-spacing: -.04em; }
.summary-price small { color: rgba(255,255,255,.62); font-size: 10px; font-weight: 700; }
.summary-price i { margin: 0 3px; color: rgba(255,255,255,.3); font-size: 18px; font-style: normal; }
.agreement { display: flex; align-items: flex-start; gap: 10px; grid-column: 1 / -1; }
.agreement input { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 1px; }
.agreement span { margin: 0; color: rgba(255,255,255,.72); line-height: 1.6; }
.submit-button, .success-actions button {
  min-height: 48px;
  padding: 0 24px;
  color: white;
  background: var(--accent);
  border: 0;
  border-radius: 7px;
  font-weight: 800;
  box-shadow: 0 7px 18px rgba(228,95,53,.22);
}
.summary > p { margin: 0; color: rgba(255,255,255,.46); font-size: 11px; text-align: right; }

.success { padding: 30px; background: #e9ebea; border: 1px solid var(--line); border-radius: 12px; }
.estimate-document {
  width: min(100%, 920px);
  margin: 0 auto;
  padding: 44px;
  background: white;
  box-shadow: 0 10px 30px rgba(17,24,32,.08);
}
.estimate-document table { min-width: 0; }
.estimate-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding-bottom: 20px; border-bottom: 3px solid var(--navy); }
.estimate-header span { color: var(--blue); font: 800 9px/1 Arial, sans-serif; letter-spacing: .18em; }
.estimate-header h2 { margin-top: 9px; font-size: 28px; letter-spacing: .18em; }
.estimate-header img {
  width: auto;
  height: 32px;
  aspect-ratio: 1000 / 172;
  object-fit: contain;
  object-position: right center;
}
.estimate-meta { display: grid; grid-template-columns: 1fr 275px; align-items: end; gap: 32px; margin: 26px 0 22px; }
.estimate-customer { display: grid; gap: 7px; }
.estimate-customer strong { width: min(100%, 440px); padding-bottom: 8px; border-bottom: 1px solid var(--navy); font-size: 18px; }
.estimate-customer span { color: var(--muted); font-size: 11px; }
.estimate-meta table { font-size: 10px; }
.estimate-meta th, .estimate-meta td { padding: 5px 7px; border: 1px solid var(--line); }
.estimate-meta th { width: 82px; color: var(--muted); background: #f3f4f3; font-weight: 700; }
.estimate-grand-total { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; padding: 15px 18px; background: #eef4f5; border-left: 5px solid var(--blue); }
.estimate-grand-total span { font-size: 13px; font-weight: 800; }
.estimate-grand-total strong { font-size: 28px; letter-spacing: -.03em; }
.estimate-info-table { margin-bottom: 22px; table-layout: fixed; font-size: 10px; }
.estimate-info-table th, .estimate-info-table td { padding: 8px 9px; border: 1px solid var(--line); word-break: break-word; }
.estimate-info-table th { width: 16%; color: var(--muted); background: #f3f4f3; font-size: 9px; }
.estimate-info-table td { width: 34%; }
.estimate-equipment-wrap { overflow-x: auto; }
.estimate-equipment-table { min-width: 760px !important; font-size: 10px; }
.estimate-equipment-table th { padding: 9px 7px; }
.estimate-equipment-table td { padding: 9px 7px; border-bottom: 1px solid var(--line); }
.estimate-equipment-table td:first-child { text-align: left; }
.estimate-equipment-table th:nth-last-child(-n+4),
.estimate-equipment-table td:nth-last-child(-n+4) { text-align: right; white-space: nowrap; }
.estimate-equipment-table td small { display: block; margin-top: 3px; color: var(--muted); font-size: 8px; }
.estimate-bottom { display: grid; grid-template-columns: 1fr 290px; align-items: start; gap: 32px; margin-top: 16px; }
.estimate-notes { padding: 12px 14px; color: var(--muted); background: #f6f6f4; font-size: 9px; line-height: 1.7; }
.estimate-notes strong { color: var(--navy); }
.estimate-notes p { margin: 5px 0 0; color: inherit; }
.estimate-totals { font-size: 11px; }
.estimate-totals th, .estimate-totals td { padding: 7px 4px; border-bottom: 1px solid var(--line); }
.estimate-totals th { color: var(--muted); background: transparent; text-align: left; }
.estimate-totals td { text-align: right; font-weight: 800; white-space: nowrap; }
.estimate-totals .grand th, .estimate-totals .grand td { padding-top: 11px; color: var(--navy); border-top: 2px solid var(--navy); border-bottom: 0; font-size: 15px; }
.estimate-company { display: flex; justify-content: flex-end; gap: 12px; margin-top: 28px; color: var(--muted); font-size: 9px; }
.estimate-company strong { color: var(--navy); }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 28px; }
.success-actions button:disabled { cursor: default; opacity: .62; }

footer { padding: 24px; color: var(--muted); text-align: center; font-size: 11px; }
.footer-links { display: flex; justify-content: center; gap: 18px; margin-bottom: 9px; }
.footer-links a { color: var(--muted); font-weight: 700; text-decoration: none; }
.footer-links a:hover { color: var(--blue); }

.catalog-main { margin-top: 0; }
.catalog-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
  gap: 48px;
  padding: 54px 2px 34px;
}
.catalog-hero p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.9; }
.catalog-controls {
  display: grid;
  gap: 22px;
  padding: 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
}
.category-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.category-filters button {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 13px;
  color: var(--muted);
  background: #f5f5f3;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}
.category-filters button span {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  background: white;
  border-radius: 999px;
  font-size: 9px;
}
.category-filters button.active { color: white; background: var(--navy); }
.category-filters button.active span { color: var(--navy); }
.search-row { display: grid; grid-template-columns: minmax(240px, 420px) 1fr; align-items: end; gap: 22px; }
.search-row label > span { margin-bottom: 7px; }
.search-row strong { padding-bottom: 14px; color: var(--muted); text-align: right; font: 700 10px/1 Arial, sans-serif; letter-spacing: .12em; }
.catalog-table-wrap { margin: 22px 0; overflow-x: auto; background: white; border: 1px solid var(--line); border-radius: 12px; }
.catalog-table { min-width: 980px; background: white; }
.catalog-table th { padding-top: 13px; padding-bottom: 13px; }
.catalog-table td { padding: 14px 12px; font-size: 11px; }
.catalog-table tbody tr:hover { background: #f2f6f6; }
.catalog-number { width: 92px; }
.catalog-number code { color: var(--muted); font: 700 10px/1 Arial, sans-serif; }
.catalog-category { width: 210px; }
.catalog-category-label {
  display: inline-block;
  padding: 5px 8px;
  color: var(--navy);
  background: #eef1f1;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}
.catalog-name { color: var(--text); font-weight: 700; line-height: 1.5; }
.catalog-stock { width: 90px; color: var(--muted); white-space: nowrap; }
.catalog-price { width: 92px; text-align: right; font-weight: 700; white-space: nowrap; }
.catalog-price.tax-included { color: var(--blue); }
.catalog-action { width: 82px; text-align: right; }
.catalog-action a { color: var(--blue); font-size: 10px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.catalog-empty { height: 190px; color: var(--muted); text-align: center !important; }
.catalog-empty strong, .catalog-empty span { display: block; }
.catalog-empty span { margin-top: 8px; font-size: 10px; font-weight: 400; }
.catalog-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 30px;
  color: white;
  background: linear-gradient(135deg, #111820, #202b32);
  border-radius: 14px;
}
.catalog-cta span { color: rgba(255,255,255,.45); font: 700 9px/1 Arial, sans-serif; letter-spacing: .16em; }
.catalog-cta h2 { margin: 9px 0 5px; color: white; }
.catalog-cta p { margin: 0; color: rgba(255,255,255,.55); font-size: 11px; }
.catalog-cta > a { padding: 14px 18px; color: white; background: var(--accent); border-radius: 7px; font-size: 12px; font-weight: 800; text-decoration: none; white-space: nowrap; }

.information-main { width: min(1040px, calc(100% - 32px)); }
.information-hero { max-width: 760px; padding: 54px 2px 34px; }
.information-hero h1 { white-space: normal; }
.information-hero p { margin: 15px 0 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.guide-section {
  margin-bottom: 18px;
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(17,24,32,.035);
}
.content-heading { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 24px; }
.content-heading > span {
  flex: 0 0 auto;
  padding-top: 4px;
  color: var(--blue);
  font: 800 10px/1 Arial, sans-serif;
  letter-spacing: .12em;
}
.content-heading h2 { margin: 0; font-size: 21px; }
.content-heading p { margin: 6px 0 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.flow-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.flow-list li { position: relative; display: grid; align-content: start; gap: 14px; min-height: 190px; padding: 18px; background: #f6f7f6; border-radius: 10px; }
.flow-list li:not(:last-child)::after { position: absolute; top: 32px; right: -9px; z-index: 2; content: "→"; color: var(--blue); font-size: 14px; font-weight: 800; }
.flow-list li > span { display: grid; place-items: center; width: 30px; height: 30px; color: white; background: var(--navy); border-radius: 50%; font: 800 12px/1 Arial, sans-serif; }
.flow-list strong { display: block; color: var(--navy); font-size: 13px; }
.flow-list p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.rule-grid, .cancellation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rule-grid article { padding: 21px; background: #eef4f5; border: 1px solid #cddfe1; border-radius: 10px; }
.rule-grid article > span { color: var(--blue); font: 800 9px/1 Arial, sans-serif; letter-spacing: .14em; }
.rule-grid h3 { margin: 9px 0 13px; color: var(--navy); font-size: 16px; }
.rule-grid strong { display: block; color: var(--navy); font-size: 17px; }
.rule-grid p { margin: 10px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.information-note { margin: 13px 0 0; padding: 12px 14px; color: #596368; background: #faf8f1; border: 1px solid #e5dfc9; border-radius: 8px; font-size: 10px; line-height: 1.7; }
.cancellation-section { border-top: 4px solid var(--accent); }
.cancellation-grid article { display: grid; gap: 8px; padding: 22px; background: #fff6f2; border: 1px solid #f0d0c5; border-radius: 10px; }
.cancellation-grid article.critical { color: white; background: #a8412d; border-color: #a8412d; }
.cancellation-grid span { font-size: 12px; font-weight: 800; }
.cancellation-grid strong { color: var(--accent); font-size: 22px; }
.cancellation-grid .critical strong { color: white; }
.check-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding: 13px 10px 13px 31px; color: #4f595e; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.7; }
.check-list li::before { position: absolute; top: 15px; left: 7px; content: "✓"; color: var(--blue); font-weight: 900; }
.information-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 30px;
  color: white;
  background: linear-gradient(135deg, #111820, #202b32);
  border-radius: 14px;
}
.information-cta span { color: rgba(255,255,255,.45); font: 700 9px/1 Arial, sans-serif; letter-spacing: .16em; }
.information-cta h2 { margin: 9px 0 0; color: white; }
.information-actions { display: flex; gap: 9px; }
.information-actions a { min-height: 44px; padding: 14px 17px; border-radius: 7px; font-size: 11px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.secondary-link { color: white; border: 1px solid rgba(255,255,255,.38); }
.primary-link { color: white; background: var(--accent); }
.access-layout { display: grid; grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr); gap: 18px; }
.address-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 450px;
  padding: 32px;
  color: white;
  background: linear-gradient(145deg, #111820, #25353c);
  border-radius: 14px;
}
.address-card > span { color: #74bbc1; font: 800 9px/1 Arial, sans-serif; letter-spacing: .16em; }
.address-card h2 { margin: 25px 0 18px; color: white; font-size: 23px; }
.address-card address { color: rgba(255,255,255,.82); font-size: 14px; font-style: normal; line-height: 2; }
.map-button { margin-top: auto; padding: 14px 17px; color: white; background: var(--accent); border-radius: 7px; font-size: 11px; font-weight: 800; text-decoration: none; }
.access-details { display: grid; gap: 18px; }
.access-details > section { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 27px; background: white; border: 1px solid var(--line); border-radius: 14px; }
.access-index { padding-top: 5px; color: var(--blue); font: 800 10px/1 Arial, sans-serif; letter-spacing: .12em; }
.access-details h2 { margin: 0 0 18px; font-size: 20px; }
.access-details p { margin: 15px 0 0; color: var(--muted); font-size: 11px; line-height: 1.75; }
.station-list { margin: 0; }
.station-list > div { display: grid; grid-template-columns: 145px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.station-list dt { color: var(--muted); font-size: 10px; font-weight: 800; }
.station-list dd { margin: 0; color: #4c565b; font-size: 12px; line-height: 1.6; }
.station-list dd strong { color: var(--navy); }
.access-reminder { margin: 18px 0; padding: 18px 21px; background: #faf8f1; border: 1px solid #e5dfc9; border-radius: 10px; }
.access-reminder strong { color: var(--navy); font-size: 12px; }
.access-reminder p { margin: 6px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.toast {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translate(-50%, 15px);
  padding: 11px 18px;
  color: white;
  background: var(--navy-dark);
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: .2s;
  font-size: 12px;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; }

@media (max-width: 900px) {
  .page-intro, .catalog-hero { grid-template-columns: 1fr; align-items: start; gap: 16px; }
  .page-intro { padding-top: 34px; }
  .page-intro h1 { white-space: nowrap; }
}

@media (max-width: 720px) {
  header {
    position: sticky;
    top: 0;
    z-index: 30;
    min-height: 66px;
    padding: 12px max(14px, env(safe-area-inset-right)) 12px max(14px, env(safe-area-inset-left));
  }
  .brand { gap: 12px; }
  .brand img { width: auto; height: 27px; }
  .brand-copy { display: none; }
  .site-nav { gap: 2px; }
  .site-nav a { min-height: 40px; padding: 12px 8px; font-size: 10px; white-space: nowrap; }
  main { width: 100%; margin: 0 auto 38px; padding: 0 10px; }
  .page-intro { gap: 12px; padding: 24px 6px 22px; }
  .page-intro h1 { max-width: 100%; font-size: clamp(26px, 8.5vw, 34px); line-height: 1.22; white-space: normal; }
  .page-intro p { font-size: 12px; line-height: 1.75; }
  .intro-links { grid-template-columns: 1fr 1fr; }
  .intro-links a { min-height: 58px; padding: 12px; }
  .eyebrow { margin-bottom: 9px; }
  form { gap: 12px; }
  .form-section { padding: 22px 16px; border-radius: 12px; box-shadow: 0 5px 20px rgba(17,24,32,.035); }
  .section-title { gap: 11px; margin-bottom: 20px; }
  .section-title > span { width: 28px; height: 28px; font-size: 12px; }
  h2 { font-size: 19px; }
  .section-title p { margin-top: 5px; line-height: 1.55; }
  .field-grid, .date-grid, .handover-grid, .usage-period-inputs { grid-template-columns: 1fr; }
  .field-grid { gap: 15px; }
  .wide { grid-column: auto; }
  .arrow { display: none; }
  input, select { min-height: 50px; height: 50px; padding-right: 10px; padding-left: 10px; font-size: 16px; }
  textarea { min-height: 112px; font-size: 16px; }
  .date-grid { gap: 12px; }
  .usage-period-inputs { gap: 10px; }
  .days-box { min-height: 50px; padding: 9px 13px; }
  .handover-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .handover-grid > div { padding: 13px; }
  .handover-grid strong { font-size: 13px; }
  .schedule-note { font-size: 10px; line-height: 1.65; }

  .equipment-table-wrap { overflow: visible; border: 0; border-radius: 0; }
  .equipment-table-wrap table,
  .equipment-table-wrap tbody { display: block; min-width: 0; }
  .equipment-table-wrap thead { display: none; }
  .equipment-table-wrap tbody { display: grid; gap: 12px; }
  .equipment-table-wrap tbody tr {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(110px, .7fr);
    gap: 12px;
    padding: 16px;
    background: #f8f9f8;
    border: 1px solid var(--line);
    border-radius: 10px;
  }
  .equipment-table-wrap tbody tr:nth-child(even) { background: #f8f9f8; }
  .equipment-table-wrap td {
    display: grid;
    gap: 6px;
    min-width: 0;
    padding: 0;
    border: 0;
    text-align: left;
  }
  .equipment-table-wrap td::before { color: var(--muted); font-size: 10px; font-weight: 800; }
  .equipment-table-wrap td:nth-child(2),
  .equipment-table-wrap td:nth-child(3),
  .equipment-table-wrap td:nth-child(5) { grid-column: 1 / -1; }
  .equipment-table-wrap td:nth-child(2)::before { content: "分類"; }
  .equipment-table-wrap td:nth-child(3)::before { content: "器材"; }
  .equipment-table-wrap td:nth-child(4)::before { content: "参考在庫"; }
  .equipment-table-wrap td:nth-child(5)::before { content: "1日料金"; }
  .equipment-table-wrap td:nth-child(6)::before { content: "数量"; }
  .equipment-table-wrap .row-number {
    grid-column: 1 / -1;
    color: var(--navy);
    font-size: 11px;
    font-weight: 800;
  }
  .equipment-table-wrap .row-number::before { content: "選択器材 "; }
  .equipment-table-wrap td:last-child {
    position: absolute;
    top: 12px;
    right: 12px;
  }
  .equipment-table-wrap td:last-child::before { display: none; }
  .equipment-table-wrap td select,
  .equipment-table-wrap td input { height: 48px; background: white; }
  .price-value { grid-template-columns: auto auto auto auto; gap: 3px 6px; align-items: center; }
  .price-value strong { font-size: 12px; }
  .remove-row { width: 36px; height: 36px; }
  .add-row { width: 100%; min-height: 48px; }

  .summary { grid-template-columns: 1fr; gap: 20px; padding: 24px 18px calc(24px + env(safe-area-inset-bottom)); border-radius: 12px; }
  .summary-price { text-align: left; }
  .summary-price > div { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 4px 8px; white-space: normal; }
  .summary-price strong { font-size: 26px; }
  .summary-price i { display: none; }
  .summary > p { text-align: left; }
  .submit-button { width: 100%; min-height: 54px; }
  .success { padding: 10px; }
  .estimate-document { padding: 24px 16px; box-shadow: none; }
  .estimate-header img { width: auto; height: 24px; }
  .estimate-header h2 { font-size: 21px; }
  .estimate-meta, .estimate-bottom { grid-template-columns: 1fr; }
  .estimate-info-table { table-layout: auto; }
  .estimate-info-table th, .estimate-info-table td { display: block; width: 100%; }
  .estimate-info-table th { border-bottom: 0; }
  .estimate-grand-total { align-items: flex-start; flex-direction: column; gap: 8px; }
  .estimate-company { align-items: flex-end; flex-direction: column; }
  .success-actions button { width: 100%; min-height: 52px; }
  .catalog-hero { gap: 12px; padding: 24px 6px 22px; }
  .catalog-hero h1 { font-size: clamp(25px, 8vw, 33px); }
  .catalog-controls { padding: 16px; }
  .category-filters {
    flex-wrap: nowrap;
    margin: 0 -16px;
    padding: 0 16px 4px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }
  .category-filters::-webkit-scrollbar { display: none; }
  .category-filters button { flex: 0 0 auto; min-height: 42px; }
  .search-row { grid-template-columns: 1fr; gap: 6px; }
  .search-row strong { padding: 0; text-align: left; }
  .catalog-table-wrap { overflow: visible; background: transparent; border: 0; border-radius: 0; }
  .catalog-table,
  .catalog-table tbody { display: block; min-width: 0; background: transparent; }
  .catalog-table thead { display: none; }
  .catalog-table tbody { display: grid; gap: 10px; }
  .catalog-table tbody tr {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px 14px;
    padding: 15px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 10px;
  }
  .catalog-table tbody tr:hover { background: white; }
  .catalog-table td {
    width: auto;
    padding: 0;
    border: 0;
    text-align: left;
  }
  .catalog-table .catalog-number,
  .catalog-table td:nth-child(2),
  .catalog-table .catalog-name,
  .catalog-table .catalog-stock { grid-column: 1 / -1; }
  .catalog-table .catalog-name { font-size: 13px; }
  .catalog-table .catalog-stock::before,
  .catalog-table .catalog-price::before {
    display: block;
    margin-bottom: 3px;
    color: var(--muted);
    font-size: 9px;
    font-weight: 800;
  }
  .catalog-table .catalog-stock::before { content: "参考在庫"; }
  .catalog-table .catalog-price:nth-child(5)::before { content: "税抜"; }
  .catalog-table .catalog-price:nth-child(6)::before { content: "税込"; }
  .catalog-table .catalog-action {
    grid-column: 1 / -1;
    margin-top: 4px;
  }
  .catalog-table .catalog-action a {
    display: block;
    min-height: 44px;
    padding: 14px;
    color: white;
    background: var(--blue);
    border-radius: 7px;
    text-align: center;
  }
  .catalog-table .catalog-empty { display: block; height: auto; padding: 28px 12px; text-align: center !important; }
  .catalog-cta { align-items: stretch; flex-direction: column; }
  .catalog-cta > a { min-height: 48px; padding: 16px 18px; text-align: center; }
  .information-main { width: 100%; padding: 0 10px; }
  .information-hero { padding: 28px 6px 24px; }
  .information-hero h1 { font-size: clamp(29px, 9vw, 38px); }
  .information-hero p { margin-top: 11px; font-size: 12px; line-height: 1.75; }
  .guide-section { margin-bottom: 12px; padding: 22px 16px; border-radius: 12px; }
  .content-heading { gap: 10px; margin-bottom: 19px; }
  .content-heading h2 { font-size: 19px; }
  .flow-list { grid-template-columns: 1fr; gap: 9px; }
  .flow-list li { grid-template-columns: 34px 1fr; gap: 11px; min-height: 0; padding: 15px; }
  .flow-list li:not(:last-child)::after { display: none; }
  .flow-list li > span { width: 28px; height: 28px; }
  .flow-list p { margin-top: 5px; }
  .rule-grid, .cancellation-grid { grid-template-columns: 1fr; }
  .rule-grid article, .cancellation-grid article { padding: 18px; }
  .cancellation-grid strong { font-size: 21px; }
  .check-list li { padding-right: 2px; }
  .information-cta { align-items: stretch; flex-direction: column; padding: 24px 18px; border-radius: 12px; }
  .information-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .information-actions a { display: grid; place-items: center; padding: 13px 10px; text-align: center; white-space: normal; }
  .access-layout { grid-template-columns: 1fr; gap: 12px; }
  .address-card { min-height: 350px; padding: 25px 22px; }
  .address-card h2 { margin-top: 20px; }
  .map-button { width: 100%; min-height: 48px; padding: 16px; text-align: center; }
  .access-details { gap: 12px; }
  .access-details > section { grid-template-columns: 1fr; gap: 9px; padding: 22px 17px; border-radius: 12px; }
  .station-list > div { grid-template-columns: 1fr; gap: 5px; }
  .access-reminder { margin: 12px 0; }
  footer { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
}

@media (max-width: 380px) {
  .site-nav a { padding-right: 6px; padding-left: 6px; font-size: 9px; }
  .handover-grid { grid-template-columns: 1fr; }
  .equipment-table-wrap tbody tr { grid-template-columns: 1fr; }
  .equipment-table-wrap td:nth-child(4),
  .equipment-table-wrap td:nth-child(6) { grid-column: 1 / -1; }
  .intro-links, .information-actions { grid-template-columns: 1fr; }
}

@media print {
  @page { size: A4; margin: 10mm; }
  body { background: white; }
  body > header, .page-intro, form, footer, .success-actions, .toast { display: none !important; }
  main { width: 100%; margin: 0; }
  .success { display: block !important; padding: 0; background: white; border: 0; }
  .estimate-document { width: 100%; margin: 0; padding: 0; box-shadow: none; }
  .estimate-equipment-wrap { overflow: visible; }
  .estimate-equipment-table { min-width: 0 !important; }
}
