/* 株式会社ジェイピーシー ランディングページ */
:root {
  --color-primary: #962623;
  --color-primary-dark: #7a1e1c;
  --color-text: #333;
  --color-text-muted: #555;
  --color-bg: #fff;
  --color-bg-warm: #f7f4ef;
  --color-bg-section: #e6e6e6;
  --color-border: #d8d0c4;
  --color-accent-blue: #5b9bd5;
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --max-width: 1100px;
  --header-height: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 16px;
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo:hover {
  text-decoration: none;
  opacity: 0.85;
}

.site-logo-img {
  display: block;
  width: auto;
  height: 52px;
  max-width: min(296px, 55vw);
}

.nav-desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  align-items: center;
}

.nav-desktop a {
  color: var(--color-text);
  font-size: 0.9rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 4px 0;
}

.nav-desktop a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 0 20px 16px;
  border-top: 1px solid #eee;
  background: #fff;
}

.nav-mobile.is-open {
  display: flex;
}

.nav-mobile a {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
  color: var(--color-text);
  font-weight: 500;
}

/* Hero */
.hero {
  background: #fff;
}

.hero-main-visual {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.hero-main-visual img {
  display: block;
  width: 100%;
  max-width: 1153px;
  height: auto;
  margin: 0 auto;
}

.hero-tagline {
  text-align: center;
  padding: 24px 20px 16px;
  margin: 0;
  font-size: clamp(0.95rem, 2.2vw, 1.05rem);
  font-weight: 700;
  color: #222;
}

.hero-process {
  text-align: center;
  padding: 0 20px 28px;
}

.hero-process img {
  display: inline-block;
  width: auto;
  max-width: min(754px, 100%);
  height: auto;
}

/* Category buttons */
.category-nav {
  padding: 0 20px 48px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max-width);
  margin: 0 auto;
}

/* top_1.pdf カテゴリボックス */
.category-card {
  display: block;
  padding: 15px 10px;
  border: 1px solid #b8b8b8;
  background: #e6e6e6;
  text-align: center;
  color: #222;
  transition: background 0.2s, border-color 0.2s;
  text-decoration: none;
}

.category-card:hover {
  background: #dcdcdc;
  border-color: #999;
  text-decoration: none;
}

.category-card h2 {
  margin: 0 0 8px;
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  font-weight: 700;
  color: #000;
}

.category-card p {
  margin: 0;
  font-size: 1.30rem;
  font-weight: 400;
  color: #222;
  line-height: 1.4;
}

/* Content sections */
.content-section {
  padding: 64px 0;
}

.content-section:nth-child(even) {
  background: var(--color-bg-section);
}

.section-label {
  color: #005282;
  font-size: clamp(1.75rem, 4.5vw, 2.35rem);
  font-weight: 800;
  margin: 0 0 28px;
  padding: 0 0 14px 18px;
  border-left: 6px solid #005282;
  letter-spacing: 0.14em;
  line-height: 1.25;
}

.section-banner {
  margin: -8px 0 22px;
}

.section-banner img {
  display: block;
  width: 100%;
  max-width: 1153px;
  height: auto;
  margin: 0 auto;
}

.subsection-title {
  position: relative;
  z-index: 1;
}

.section-lead {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 28px;
}

.section-body p {
  margin: 0 0 1.2em;
}

.section-subtitle {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: var(--color-text);
}

.section-desc {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

/* Cards & grids */
.card-grid {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.card-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid.cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  border: 1px solid #e8e4dc;
  border-radius: 8px;
  padding: 24px;
}

.card h3,
.card h4 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.card p,
.card li {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.card ul {
  margin: 0;
  padding-left: 1.2em;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid #eee;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #005282;
  font-weight: bold;
}

/* お悩みブロック（背景画像） */
.worries-block {
  position: relative;
  padding: 8px 0 24px;
  margin-bottom: 8px;
}

.worries-block > * {
  position: relative;
  z-index: 1;
}

.worries-block--bg1::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  min-height: 180px;
  background: url("../assets/bg1.jpg") right center / contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

.worries-block--bg2::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  min-height: 200px;
  background: url("../assets/bg2.jpg") right center / contain no-repeat;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}

/* Before / After（_sankou1 / _sankou3 レイアウト） */
.ba-visual {
  margin-top: 24px;
}

.ba-visual-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px 20px;
  align-items: center;
  border: 1px solid #333;
  padding: 2px 24px;
  background: #fff;
}

.ba-heading {
  margin: 0 0 16px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #000;
}

.ba-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ba-list li {
  padding: 5px 0;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #222;
}

.ba-panel--before .ba-heading,
.ba-panel--before .ba-list {
  text-align: right;
}

.ba-panel--after .ba-heading,
.ba-panel--after .ba-list {
  text-align: left;
}

/* 企業・法人：Beforeは左寄せ、枠左線からの距離は右寄せ時と同位置 */
.ba-visual:not(.ba-visual--consumer) .ba-panel--before {
  max-width: 240px;
  margin-left: auto;
  margin-right: 0;
}

.ba-visual:not(.ba-visual--consumer) .ba-panel--before .ba-heading,
.ba-visual:not(.ba-visual--consumer) .ba-panel--before .ba-list {
  text-align: left;
}

/* 個人・ご家庭：Beforeは左寄せ */
.ba-visual--consumer .ba-panel--before .ba-heading,
.ba-visual--consumer .ba-panel--before .ba-list {
  text-align: left;
}

.ba-center-img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  flex-shrink: 0;
}

.ba-center-img img {
  display: block;
  width: auto;
  max-width: min(300px, 32vw);
  height: auto;
}

.ba-visual--consumer .ba-visual-inner {
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  column-gap: 40px;
  row-gap: 24px;
}

.ba-visual--consumer .ba-center-img {
  padding: 4px 12px;
}

.ba-visual--consumer .ba-center-img img {
  transform: none;
  height: 255px;
  width: auto;
  max-width: min(675px, 36vw);
  object-fit: contain;
}

/* サービス3カラム（_sankou2 レイアウト） */
.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.service-card {
  border: 1px solid #333;
  background: #fff;
  padding: 20px 18px;
}

.service-card-title {
  margin: 0 0 14px;
  font-size: 1.1rem;
  font-weight: 700;
  color: #000;
}

.service-card-inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
}

.service-card-list {
  list-style: disc;
  margin: 0;
  padding-left: 1.2em;
  flex: 1;
  min-width: 0;
}

.service-card-list li {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #222;
}

.service-card-img {
  flex-shrink: 0;
  width: auto;
  max-width: 42%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

/* 作業の流れ（_sample1.jpg 形式） */
.order-flow {
  margin-top: 24px;
  background: #fff;
  border-top: 1px solid #c8c8c8;
  border-bottom: 1px solid #c8c8c8;
}

.order-flow-row {
  display: flex;
  align-items: stretch;
  border-bottom: 1px solid #d5d5d5;
}

.order-flow-row:last-child {
  border-bottom: none;
}

.order-flow-left {
  flex: 0 0 160px;
  max-width: 160px;
  padding: 2px 16px;
  text-align: center;
  border-right: 1px solid #d5d5d5;
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.order-flow-step {
  margin: 0 0 0px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #000;
  letter-spacing: 0.04em;
}

.order-flow-icon {
  display: block;
  width: 50px;
  height: auto;
  max-height: 48px;
  object-fit: contain;
}

.order-flow-right {
  flex: 1;
  padding: 2px 16px;
  display: flex;
  align-items: center;
  background: #fff;
}

.order-flow-right p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.85;
  color: #222;
  text-align: left;
}

/* 作業の流れ画像（個人向けなど） */
.flow-figure {
  margin-top: 24px;
  text-align: center;
}

.flow-figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

/* Table */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  font-size: 0.9rem;
}

.data-table th,
.data-table td {
  border: 1px solid var(--color-border);
  padding: 12px 14px;
  text-align: left;
}

.data-table th {
  background: var(--color-bg-warm);
  font-weight: 600;
}

.data-table--consumer tbody td {
  background: #ffffff;
}

/* FAQ */
.faq-list {
  margin-top: 24px;
}

.faq-item {
  border-bottom: 1px solid #e8e4dc;
  padding: 20px 0;
}

.faq-item dt {
  font-weight: 700;
  margin-bottom: 8px;
}

.faq-item dd {
  margin: 0;
  color: var(--color-text-muted);
}

/* CTA block */
.cta-block {
  text-align: center;
  padding: 48px 24px;
  background: linear-gradient(135deg, #f2ede0 0%, #fff 50%, #e8e0d0 100%);
  border-radius: 12px;
  margin-top: 40px;
}

.cta-block h3 {
  margin: 0 0 16px;
  font-size: 1.4rem;
}

.cta-block p {
  margin: 0 0 24px;
  color: var(--color-text-muted);
}

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--color-primary);
  color: #fff !important;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  text-decoration: none;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.tag {
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  font-size: 0.85rem;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.trust-badges span {
  padding: 8px 14px;
  background: var(--color-bg-warm);
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 500;
}

/* Contact */
/* 会社案内 */
.profile-offices {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}

.profile-office-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
}

.profile-office p {
  margin: 0;
  line-height: 1.8;
}

.profile-note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 8px;
}

.profile-contact-link {
  margin: 0 0 28px;
}

.profile-map-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 45%;
  height: 0;
  overflow: hidden;
  margin-bottom: 8px;
  border: 1px solid var(--color-border);
}

.profile-map-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.profile-map-link {
  text-align: right;
  margin: 0 0 32px;
  font-size: 0.9rem;
}

.profile-info {
  display: grid;
  grid-template-columns: 8em 1fr;
  gap: 12px 20px;
  margin: 0;
}

.profile-info dt {
  font-weight: 700;
  margin: 0;
}

.profile-info dd {
  margin: 0;
  line-height: 1.8;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  font-size: 0.9rem;
}

.history-table th,
.history-table td {
  border: 1px solid var(--color-border);
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.history-table th {
  width: 120px;
  background: var(--color-bg-warm);
  font-weight: 600;
  white-space: nowrap;
}

.history-table td {
  background: #ffffff;
}

/* プライバシーポリシー */
.privacy-content {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--color-text);
}

.privacy-heading {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 20px;
  color: #000;
}

.privacy-policy-list {
  margin: 24px 0;
}

.privacy-policy-list dt {
  font-weight: 700;
  margin: 20px 0 8px;
}

.privacy-policy-list dd {
  margin: 0 0 0 1em;
  color: var(--color-text-muted);
}

.privacy-date,
.privacy-sign {
  text-align: right;
  margin: 16px 0;
}

.privacy-contact-box {
  text-align: right;
  margin: 24px 0;
  font-size: 0.9rem;
}

.privacy-contact-title {
  margin: 0 0 8px;
}

.privacy-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 40px 0;
}

.privacy-detail-list dt {
  font-weight: 700;
  margin: 24px 0 8px;
}

.privacy-detail-list dd {
  margin: 0 0 16px;
}

.privacy-detail-list ul {
  margin: 8px 0;
  padding-left: 1.4em;
}

.privacy-detail-list li {
  margin-bottom: 4px;
}

.privacy-table {
  width: 100%;
  max-width: 700px;
  border-collapse: collapse;
  margin-top: 24px;
  font-size: 0.9rem;
}

.privacy-table th,
.privacy-table td {
  border: 1px solid #333;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
  background: #fff;
}

.privacy-table th {
  width: 140px;
  background: #fff;
  font-weight: 600;
}

.contact-section {
  background: #e6e6e6;
  padding: 72px 0;
}

.contact-section-desc {
  text-align: center;
  margin-bottom: 0;
}

.contact-price-list {
  max-width: 1000px;
  margin: 0 auto 24px;
}

.price-list-table-wrap {
  margin-bottom: 8px;
}

.price-list-table .col-unit {
  width: 7em;
  text-align: center;
  white-space: nowrap;
}

.price-list-table .col-price {
  width: 9em;
  text-align: right;
  white-space: nowrap;
}

.contact-price-list .price-list-notes-title {
  margin-top: 28px;
}

.price-list-notes {
  margin: 0;
  padding-left: 1.4em;
  line-height: 1.85;
  font-size: 0.95rem;
}

.price-list-notes li + li {
  margin-top: 8px;
}

.contact-form {
  max-width: 1000px;
  margin: 32px auto 0;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

.scan-order-form .scan-form-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  margin: 0 0 24px;
  padding-left: 14px;
  border-left: 6px solid #005282;
  color: #222;
}

.form-box {
  border: 1px solid #ccc;
  background: #fff;
  padding: 24px;
  margin-bottom: 24px;
}

.form-box-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 16px;
  color: #222;
}

.form-inline {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.form-inline:last-child {
  margin-bottom: 0;
}

.form-inline label {
  flex: 0 0 220px;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
}

.form-inline-input {
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-inline input[type="number"] {
  width: 140px;
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

.form-unit {
  font-size: 0.95rem;
  color: #222;
  white-space: nowrap;
}

.scan-order-form input::placeholder,
.scan-order-form textarea::placeholder {
  color: #999;
}

.scan-order-form .form-box textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.6;
  resize: vertical;
  min-height: 120px;
}

.scan-order-form .form-box textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(150, 38, 35, 0.15);
}

.form-note {
  margin: 10px 0 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.form-total {
  font-size: 1.05rem;
  line-height: 1.8;
  background: #fafafa;
}

.scan-order-form .form-group {
  margin-bottom: 16px;
}

.scan-order-form .form-group:last-child {
  margin-bottom: 0;
}

.scan-order-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

.form-group label,
.form-group .form-group-label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-radio-group .form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
  margin-bottom: 0;
}

.form-check-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-check {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  cursor: pointer;
}

.form-check input {
  width: auto;
  margin: 0;
}

.scan-order-form .form-check input[type="radio"],
.scan-order-form .form-check input[type="checkbox"] {
  width: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.scan-order-form .form-check input[type="radio"]:focus,
.scan-order-form .form-check input[type="checkbox"]:focus {
  outline: auto;
  border-color: transparent;
  box-shadow: none;
}

.btn-submit-order {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  background: #005282;
}

.btn-submit-order:hover {
  background: #003d61;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group label .required {
  color: var(--color-primary);
  font-size: 0.8rem;
  margin-left: 4px;
}

.form-group input:not([type="radio"]):not([type="checkbox"]),
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

.form-group input:not([type="radio"]):not([type="checkbox"]):focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(150, 38, 35, 0.15);
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-submit {
  text-align: center;
  margin-top: 8px;
}

.order-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.order-confirm-modal[hidden] {
  display: none;
}

.order-confirm-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.order-confirm-modal__panel {
  position: relative;
  width: min(100%, 560px);
  max-height: min(90vh, 720px);
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.2);
  padding: 24px;
}

.order-confirm-modal__title {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.order-confirm-modal__lead {
  margin: 0 0 16px;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.order-confirm-modal__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  background: var(--color-bg-warm);
  padding: 16px;
}

.order-confirm-section + .order-confirm-section {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
}

.order-confirm-section__title {
  margin: 0 0 8px;
  font-size: 0.95rem;
  color: var(--color-primary);
}

.order-confirm-list {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(8em, 38%) 1fr;
  gap: 6px 12px;
  font-size: 0.92rem;
}

.order-confirm-list dt {
  margin: 0;
  color: var(--color-text-muted);
  font-weight: 500;
  white-space: pre-line;
}

.order-confirm-list dd {
  margin: 0;
  word-break: break-word;
}

.order-confirm-list__full {
  grid-column: 1 / -1;
}

.order-confirm-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
  flex-shrink: 0;
}

.btn-order-cancel {
  padding: 12px 24px;
  background: #fff;
  color: var(--color-text);
  font-weight: 600;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: inherit;
  transition: background 0.2s, border-color 0.2s;
}

.btn-order-cancel:hover {
  background: #f5f5f5;
  border-color: #aaa;
}

/* Footer */
.site-footer {
  padding: 24px 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #888;
  border-top: 1px solid #eee;
}

/* Responsive */
@media (max-width: 900px) {
  .category-grid {
    grid-template-columns: 1fr;
  }

  .card-grid.cols-3,
  .card-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-cards {
    grid-template-columns: 1fr;
  }

  .ba-visual-inner {
    grid-template-columns: 1fr;
    padding: 20px 16px;
  }

  .ba-center-img img {
    max-width: min(280px, 80vw);
  }

  .ba-visual--consumer .ba-visual-inner {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 16px;
  }

  .ba-visual--consumer .ba-center-img {
    padding: 12px 0;
  }

  .ba-visual--consumer .ba-center-img img {
    max-width: min(320px, 80vw);
  }

  .ba-visual--consumer .ba-center-img img {
    height: auto;
    width: 100%;
    max-width: min(450px, 100%);
    max-height: none;
  }

  .ba-visual:not(.ba-visual--consumer) .ba-panel--before {
    max-width: none;
    margin-left: 0;
  }

  .category-card p {
    font-size: clamp(1rem, 4vw, 1.75rem);
  }

  .order-flow-left {
    flex: 0 0 100px;
    max-width: 100px;
    padding: 12px 8px;
  }

  .order-flow-step {
    font-size: 0.75rem;
    margin-bottom: 6px;
  }

  .order-flow-icon {
    width: 40px;
    max-height: 38px;
  }

  .order-flow-right {
    padding: 12px 14px;
  }

  .order-flow-right p {
    font-size: 0.85rem;
    line-height: 1.6;
  }
}

@media (max-width: 768px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .site-logo-img {
    height: 44px;
  }

  .order-flow-left {
    flex: 0 0 88px;
    max-width: 88px;
    padding: 10px 6px;
  }

  .order-flow-step {
    font-size: 0.7rem;
  }

  .order-flow-icon {
    width: 36px;
    max-height: 34px;
  }

  .order-flow-right {
    padding: 10px 12px;
  }

  .order-flow-right p {
    font-size: 0.8rem;
  }

  .card-grid.cols-2,
  .card-grid.cols-3,
  .card-grid.cols-4 {
    grid-template-columns: 1fr;
  }

  .service-card-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .service-card-img {
    max-width: 70%;
    max-height: 140px;
    align-self: center;
  }

  .worries-block--bg1::after,
  .worries-block--bg2::after {
    width: 55%;
    opacity: 0.14;
  }

  .profile-info {
    grid-template-columns: 1fr;
  }

  .profile-info dt {
    margin-top: 12px;
  }

  .history-table th {
    width: auto;
    display: block;
  }

  .history-table td {
    display: block;
  }

  .history-table tr {
    display: block;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--color-border);
  }

  .content-section {
    padding: 48px 0;
  }

  .contact-form {
    padding: 0;
  }

  .form-inline {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .form-inline label {
    flex: none;
  }

  .form-inline-input {
    width: 100%;
  }

  .form-inline input[type="number"] {
    flex: 1;
    width: auto;
  }
}
