:root {
  --navy: #0b2545;
  --navy-dark: #061936;
  --accent: #d4a017;
  --accent-light: #f2c94c;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-alt: #eef2f7;
  --text: #1c2833;
  --text-muted: #566573;
  --border: #dfe4ea;
  --shadow: 0 4px 20px rgba(11, 37, 69, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

/* --- Header --- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--navy);
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-text .jp-main { font-size: 17px; font-weight: 700; letter-spacing: 0.5px; }
.logo-text .jp-sub { font-size: 11px; color: var(--text-muted); letter-spacing: 1px; margin-top: 2px; }
nav a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
nav a:hover { background: var(--bg-soft); color: var(--navy); }
.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 10px 18px !important;
}
.nav-cta:hover { background: var(--navy-dark) !important; }
.menu-toggle {
  display: block;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
  color: var(--navy);
  padding: 6px 10px;
  border-radius: 6px;
  line-height: 1;
}
.menu-toggle:hover { background: var(--bg-soft); }
nav { position: relative; }
nav ul {
  list-style: none;
  display: none;
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  background: #fff;
  flex-direction: column;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: var(--shadow);
  min-width: 220px;
  gap: 2px;
}
nav ul.open { display: flex; }
nav a { padding: 12px 16px; }
.nav-cta { margin-top: 6px; text-align: center; }

/* --- Hero --- */
.hero {
  position: relative;
  background: #fff;
  color: var(--text);
  padding: 100px 24px 120px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(212, 160, 23, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(11, 37, 69, 0.04) 0%, transparent 40%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.hero p.lead { margin-left: auto; margin-right: auto; }
.hero-cta { justify-content: center; }
.hero-badge {
  display: inline-block;
  background: rgba(212, 160, 23, 0.12);
  color: #a37a10;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  border: 1px solid rgba(212, 160, 23, 0.35);
}
.hero h1 {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.35;
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--navy);
}
.hero h1 span { color: var(--accent); }
.hero p.lead {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 36px;
  max-width: 520px;
}
.hero p.lead strong { color: var(--accent) !important; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.15s, box-shadow 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--navy-dark);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 160, 23, 0.35);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-soft); }

/* --- Hero Menu --- */
.hero-menu {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 720px;
  margin: 0 auto;
}
.hero-menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 20px 12px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--navy);
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.hero-menu-item:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 6px 16px rgba(11, 37, 69, 0.08);
}
.hero-menu-num {
  font-size: 11px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 2px;
}
.hero-menu-label {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.hero-menu-cta {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.hero-menu-cta:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}
.hero-menu-cta .hero-menu-num { color: var(--accent-light); }
@media (max-width: 560px) {
  .hero-menu { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .hero-menu-item { padding: 16px 10px; }
  .hero-menu-label { font-size: 14px; }
}

/* --- Page Hero (sub-pages) --- */
.page-hero {
  background: var(--bg-soft);
  padding: 80px 24px 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.page-hero .section-label { display: inline-block; color: var(--accent); font-size: 13px; letter-spacing: 3px; font-weight: 600; margin-bottom: 12px; text-transform: uppercase; }
.page-hero h1 { font-size: clamp(26px, 3.5vw, 36px); color: var(--navy); font-weight: 700; }
.page-hero p { color: var(--text-muted); margin-top: 14px; font-size: 15px; }

/* --- Section --- */
section { padding: 90px 24px; }
.container { max-width: 1160px; margin: 0 auto; }
.section-head {
  text-align: center;
  margin-bottom: 60px;
}
.section-label {
  display: inline-block;
  color: var(--accent);
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.section-head h2 {
  font-size: clamp(24px, 3vw, 34px);
  color: var(--navy);
  font-weight: 700;
  letter-spacing: -0.3px;
}
.section-head p {
  color: var(--text-muted);
  margin-top: 14px;
  font-size: 15px;
}

/* --- About --- */
#about { background: var(--bg-soft); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-text { text-align: center; }
.about-text h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 20px;
  line-height: 1.4;
}
.about-text p { color: var(--text-muted); margin-bottom: 16px; }
.about-table {
  background: #fff;
  border-radius: 12px;
  padding: 8px 24px;
  box-shadow: var(--shadow);
}
.about-table dl {
  display: grid;
  grid-template-columns: 120px 1fr;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  align-items: baseline;
}
.about-table dl:last-child { border-bottom: none; }
.about-table dt {
  font-weight: 600;
  color: var(--navy);
  font-size: 14px;
}
.about-table dd { color: var(--text); font-size: 15px; }

/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--accent);
}
.service-icon {
  width: 52px; height: 52px;
  background: var(--bg-soft);
  color: var(--navy);
  border-radius: 10px;
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p {
  color: var(--text-muted);
  font-size: 14px;
}

/* --- Flow Diagram --- */
#flow { background: #fff; }
.flow-diagram {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.flow-node {
  background: #fff;
  border: 2px solid var(--navy);
  border-radius: 12px;
  padding: 18px 24px;
  text-align: center;
  width: 100%;
  max-width: 380px;
  position: relative;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
}
.flow-node-num {
  flex-shrink: 0;
  width: 32px; height: 32px;
  line-height: 32px;
  background: var(--navy);
  color: var(--accent-light);
  border-radius: 50%;
  font-weight: 700;
  font-size: 14px;
  text-align: center;
}
.flow-node-body { text-align: left; }
.flow-node h4 {
  color: var(--navy);
  font-size: 16px;
  margin: 0;
  font-weight: 700;
}
.flow-node .flow-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  display: block;
}
.flow-arrow {
  width: 2px;
  height: 32px;
  background: var(--navy);
  position: relative;
  margin: 0 auto;
}
.flow-arrow::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid var(--navy);
}
.flow-branches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 100%;
  align-items: stretch;
  position: relative;
}
.flow-branch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.flow-branch-end {
  flex: 1;
  width: 2px;
  min-height: 20px;
  background: var(--navy);
}
.flow-branch-header {
  background: var(--accent);
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 13px;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.flow-splitter {
  width: 100%;
  max-width: 500px;
  display: flex;
  justify-content: space-between;
  position: relative;
  height: 40px;
}
.flow-splitter::before {
  content: "";
  position: absolute;
  top: 0; left: 25%; right: 25%;
  height: 2px;
  background: var(--navy);
}
.flow-splitter-arm {
  width: 2px;
  height: 100%;
  background: var(--navy);
  position: relative;
}
.flow-splitter-arm::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid var(--navy);
}
.flow-splitter-arm.left { margin-left: 25%; }
.flow-splitter-arm.right { margin-right: 25%; }
.flow-merger {
  width: 100%;
  max-width: 500px;
  position: relative;
  height: 40px;
  margin: 0 auto;
}
.flow-merger::before {
  content: "";
  position: absolute;
  bottom: 10px; left: 25%; right: 25%;
  height: 2px;
  background: var(--navy);
}
.flow-merger-arm {
  position: absolute;
  top: 0;
  width: 2px;
  height: calc(100% - 8px);
  background: var(--navy);
}
.flow-merger-arm.left { left: 25%; }
.flow-merger-arm.right { right: 25%; }
.flow-merger-center {
  position: absolute;
  bottom: -12px; left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 22px;
  background: var(--navy);
}
.flow-merger-center::after {
  content: "";
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid var(--navy);
}
.flow-node-final {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  max-width: 480px;
  padding: 22px 28px;
  margin-top: 24px;
}
.flow-node-final h4 { color: #fff; font-size: 18px; }
.flow-node-final .flow-node-num {
  background: var(--accent);
  color: var(--navy-dark);
}
.flow-node-final .flow-sub { color: rgba(255,255,255,0.75); }

/* --- Cases --- */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.case-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.2s, box-shadow 0.2s;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.case-image {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  display: grid; place-items: center;
  color: rgba(255,255,255,0.4);
  position: relative;
  overflow: hidden;
}
.case-image svg { width: 50%; height: auto; }
.case-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent);
  color: var(--navy-dark);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}
.case-body { padding: 22px 24px; }
.case-body h3 {
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 10px;
}
.case-body p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.case-meta {
  font-size: 12px;
  color: var(--text-muted);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* --- FAQ --- */
#faq { background: var(--bg-soft); }
.faq-list { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.15s, border-color 0.15s;
}
.faq-item[open] { border-color: var(--accent); box-shadow: var(--shadow); }
.faq-item summary {
  list-style: none;
  padding: 20px 24px;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-weight: 600;
  color: var(--navy);
  font-size: 15px;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before {
  content: "Q";
  flex-shrink: 0;
  width: 28px; height: 28px;
  background: var(--navy);
  color: var(--accent-light);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 13px;
  font-weight: 700;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 24px; top: 20px;
  font-size: 22px;
  color: var(--text-muted);
  line-height: 1;
  transition: transform 0.2s;
}
.faq-item[open] summary::after { content: "−"; }
.faq-answer {
  padding: 0 24px 22px 66px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* --- Contact --- */
#contact { background: var(--bg-soft); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 50px;
  background: #fff;
  border-radius: 16px;
  padding: 50px;
  box-shadow: var(--shadow);
}
.contact-info h3 {
  color: var(--navy);
  font-size: 20px;
  margin-bottom: 20px;
}
.contact-info p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 14px;
}
.contact-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.contact-item:last-child { border-bottom: none; }
.contact-item-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--bg-soft);
  color: var(--navy);
  border-radius: 8px;
  display: grid; place-items: center;
}
.contact-item-icon svg { width: 22px; height: 22px; }
.contact-item-label {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 2px;
}
.contact-item-value {
  color: var(--navy);
  font-weight: 600;
  font-size: 16px;
}
.contact-item-value.big {
  font-size: 22px;
  letter-spacing: 0.5px;
}

form { display: flex; flex-direction: column; gap: 18px; }
.field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.field label .req {
  color: #c0392b;
  margin-left: 4px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11, 37, 69, 0.1);
}
.field textarea { resize: vertical; min-height: 120px; }
.field-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.check-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 8px 0;
}
.check-group label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  margin: 0;
  padding: 8px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  transition: background 0.15s, border-color 0.15s;
}
.check-group label:hover { background: #e8eef5; border-color: var(--navy); }
.check-group input { accent-color: var(--navy); margin: 0; }
.form-note-lead {
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.8;
  padding: 20px 0 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.form-actions .form-submit { flex: 2; }
.form-reset {
  flex: 1;
  background: #fff;
  color: var(--navy);
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.form-reset:hover { background: var(--bg-soft); }
.form-submit {
  background: var(--navy);
  color: #fff;
  padding: 16px;
  border-radius: 8px;
  border: none;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s;
}
.form-submit:hover { background: var(--navy-dark); }
.form-note {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* --- Bottom CTA --- */
.bottom-cta {
  background: #fff;
  padding: 70px 24px;
  text-align: center;
  border-top: 1px solid var(--border);
}
.bottom-cta h2 {
  font-size: clamp(22px, 2.6vw, 28px);
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.bottom-cta p {
  color: var(--text-muted);
  margin-bottom: 30px;
  font-size: 15px;
}
.bottom-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.bottom-cta-btn:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(11, 37, 69, 0.2);
}
.bottom-cta-btn .arrow {
  display: inline-grid;
  place-items: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--navy-dark);
  font-size: 14px;
}
.bottom-cta-tel {
  margin-top: 20px;
  font-size: 14px;
  color: var(--text-muted);
}
.bottom-cta-tel strong {
  color: var(--navy);
  font-size: 20px;
  letter-spacing: 0.5px;
  margin-left: 6px;
}

/* --- Footer --- */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 50px 24px 24px;
  font-size: 14px;
}
.footer-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.7; }
.footer-col h4 {
  color: #fff;
  font-size: 14px;
  margin-bottom: 14px;
  font-weight: 600;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  font-size: 13px;
}
.footer-col a:hover { color: var(--accent-light); }
.copyright {
  max-width: 1160px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* --- Responsive --- */
html, body { overflow-x: hidden; }
img, svg { max-width: 100%; height: auto; }

/* Tablet & small desktop */
@media (max-width: 960px) {
  .hero-inner, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-grid { padding: 30px; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .flow-branches { grid-template-columns: 1fr; gap: 0; }
  .flow-splitter, .flow-merger { display: none; }
  .flow-branch { margin-bottom: 20px; width: 100%; }
  .flow-branch-header { margin-top: 24px; }
  .flow-branch-end { display: none; }
  .nav-inner { padding: 12px 20px; }
  .logo-text .jp-main { font-size: 16px; }
  .services-grid { gap: 18px; }
  .service-card { padding: 26px 22px; }
  .cases-grid { gap: 18px; }
}

/* Mobile landscape / small tablet */
@media (max-width: 720px) {
  nav ul {
    min-width: 220px;
    max-width: calc(100vw - 32px);
    white-space: nowrap;
  }
  nav ul a { white-space: nowrap; }
  .hero { padding: 60px 20px 70px; }
  section { padding: 60px 20px; }
  .section-head { margin-bottom: 40px; }
  .page-hero { padding: 50px 20px 40px; }
  .flow-node { padding: 14px 16px; }
  .flow-node h4 { font-size: 14px; }
  .flow-node .flow-sub { font-size: 11px; }
  .flow-node-final { padding: 18px 22px; }
  .contact-grid { padding: 24px; gap: 32px; }
  .about-table { padding: 4px 18px; }
  .about-table dl { grid-template-columns: 100px 1fr; padding: 14px 0; gap: 10px; }
  .about-table dt { font-size: 13px; }
  .about-table dd { font-size: 14px; }
  .bottom-cta { padding: 55px 20px; }
  .bottom-cta-btn { padding: 16px 30px; font-size: 15px; }
  .bottom-cta-tel { font-size: 13px; }
  .bottom-cta-tel strong { font-size: 18px; display: block; margin-left: 0; margin-top: 4px; }
  .hero h1 { line-height: 1.4; }
  .hero p.lead { font-size: 15px; }
  .faq-item summary { padding: 16px 18px 16px 18px; font-size: 14px; }
  .faq-item summary::after { right: 18px; top: 16px; }
  .faq-answer { padding: 0 18px 18px 60px; font-size: 13px; }
  .footer-inner { padding-bottom: 24px; }
  .footer-brand p { font-size: 13px; }
  .form-actions { flex-direction: column; }
  .form-actions .form-submit,
  .form-actions .form-reset { flex: none; width: 100%; }
  .check-group { gap: 8px 10px; }
  .check-group label { padding: 6px 12px; font-size: 13px; }
  .contact-item { padding: 14px 0; gap: 12px; }
  .contact-item-icon { width: 40px; height: 40px; }
  .contact-item-value.big { font-size: 20px; }
  .contact-info h3 { font-size: 18px; }
}

/* Mobile portrait */
@media (max-width: 560px) {
  section { padding: 48px 16px; }
  .hero { padding: 44px 16px 56px; }
  .page-hero { padding: 40px 16px 30px; }
  .section-head { margin-bottom: 32px; }
  .container { padding: 0; }
  .hero-badge { font-size: 12px; padding: 5px 12px; }
  .about-table dl {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 12px 0;
  }
  .about-table dt {
    font-size: 12px;
    letter-spacing: 0.5px;
    color: var(--accent);
  }
  .about-table dd { font-size: 14px; }
  .services-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  .flow-node { max-width: 100%; }
  .flow-node-body h4 { font-size: 14px; }
  .contact-grid { padding: 20px; }
  .field input, .field select, .field textarea { padding: 11px 12px; font-size: 15px; }
  .bottom-cta h2 { font-size: 20px; }
  .bottom-cta p { font-size: 14px; }
  .copyright { font-size: 11px; }
  .logo-text .jp-main { font-size: 15px; }
  .logo-text .jp-sub { font-size: 10px; }
  .menu-toggle { font-size: 24px; padding: 4px 8px; }
}
