/* Custom production line page only. */

body.ppc #directions,
body.ppc #inquiry { scroll-margin-top: calc(var(--front-header) + 16px); }
body.ppc .ppc-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
  gap: 28px 40px;
  align-items: center;
  margin-top: 8px;
}
body.ppc .ppc-hero h1 { max-width: 12em; }
body.ppc .ppc-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
body.ppc .ppc-actions .v0-btn { margin-top: 0; }
body.ppc .ppc-btn-line {
  background: #fff;
  color: var(--front-blue);
  border: 1px solid var(--front-blue);
}
body.ppc .ppc-btn-line:hover { background: #f4f8fb; color: var(--front-blue); }
body.ppc .ppc-hero__fig { margin: 0; background: #fff; }
body.v0.ppv.ppc .site-crumbs li:nth-child(2) a {
  color: var(--front-blue);
  font-weight: 650;
}
body.ppc .ppc-hero__fig img,
body.ppc .ppc-dirs img,
body.ppc .ppc-equip img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  background: #fff;
}
body.ppc .ppc-hero__fig img {
  width: 100%;
  height: auto;
  max-height: 460px;
}
body.ppc .ppc-kicker {
  margin: 8px 0 0;
  color: #6b747c;
  font-size: 13px;
}

body.v0.ppc p.ppc-intro {
  max-width: 42em;
  margin-top: 36px;
}
body.ppc .ppc-block { margin-top: 8px; }
body.ppc .ppc-block h2 { margin: 36px 0 8px; }

body.ppc .ppc-dirs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
body.ppc .ppc-dirs a,
body.ppc .ppc-equip a {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  background: #fff;
  border: 1px solid #e3e7eb;
}
body.ppc .ppc-dirs a:hover,
body.ppc .ppc-equip a:hover { border-color: var(--front-blue); }
body.ppc .ppc-dirs a:focus-visible,
body.ppc .ppc-equip a:focus-visible,
body.ppc .ppc-flow a:focus-visible,
body.ppc .ppc-form input:focus-visible,
body.ppc .ppc-form textarea:focus-visible,
body.ppc .ppc-form button:focus-visible,
body.ppc .ppc-actions a:focus-visible,
body.ppc .ppc-person a:focus-visible,
body.ppc .ppc-more a:focus-visible {
  outline: 3px solid var(--front-blue);
  outline-offset: 2px;
}
body.ppc .ppc-dirs figure,
body.ppc .ppc-equip figure {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  aspect-ratio: 16 / 10;
  background: #fff;
  overflow: hidden;
}
body.ppc .ppc-dirs strong,
body.ppc .ppc-equip strong { display: block; padding: 12px 14px 14px; font-size: 16px; line-height: 1.3; }
body.ppc .ppc-more { margin-top: 14px; }
body.ppc .ppc-more a { color: var(--front-blue); font-weight: 650; }

body.ppc .ppc-flow {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}
body.ppc .ppc-flow li { display: flex; align-items: center; flex: 1 1 0; min-width: 0; }
body.ppc .ppc-flow li > div {
  flex: 1 1 auto;
  min-width: 0;
  min-height: 108px;
  padding: 12px 12px 14px;
  background: #fff;
  border: 1px solid #e3e7eb;
}
body.ppc .ppc-flow .n { display: block; color: var(--front-blue); font-size: 18px; font-weight: 700; }
body.ppc .ppc-flow strong { display: block; margin-top: 4px; font-size: 16px; line-height: 1.3; }
body.ppc .ppc-flow p { margin: 6px 0 0; color: #5c656e; font-size: 14px; line-height: 1.4; }
body.ppc .ppc-flow li:not(:last-child)::after {
  content: "→";
  flex: 0 0 24px;
  color: var(--front-blue);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

body.ppc .ppc-contact {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 28px 36px;
  align-items: start;
  margin-top: 40px;
  padding: 28px;
  background: #f3f4f6;
}
body.ppc .ppc-person img {
  display: block;
  width: 100%;
  max-width: 240px;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
  object-position: center top;
  background: #fff;
}
body.ppc .ppc-person h2 { margin: 14px 0 0; font-size: 28px; }
body.ppc .ppc-role { margin: 4px 0 0; color: var(--front-blue); font-weight: 650; }
body.ppc .ppc-person a { color: var(--front-blue); font-weight: 650; }
body.ppc .ppc-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
  margin: 0;
}
body.ppc .ppc-form label { display: flex; flex-direction: column; gap: 6px; color: #1c2126; font-size: 14px; font-weight: 650; }
body.ppc .ppc-form .wide { grid-column: 1 / -1; }
body.ppc .ppc-form input,
body.ppc .ppc-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid #c5ced6;
  background: #fff;
  color: #1c2126;
  font: inherit;
  font-weight: 400;
}
body.ppc .ppc-form textarea { min-height: 110px; resize: vertical; }
body.ppc .ppc-form button { margin-top: 0; }
body.ppc .ppc-mailnote { grid-column: 1 / -1; margin: 0; color: #3c4650; font-size: 14px; font-weight: 400; }

body.ppc .ppc-equip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

@media (max-width: 1099px) {
  body.ppc .ppc-dirs { grid-template-columns: 1fr 1fr; }
  body.ppc .ppc-flow { flex-direction: column; align-items: stretch; }
  body.ppc .ppc-flow li { flex-direction: column; align-items: flex-start; width: 100%; }
  body.ppc .ppc-flow li > div { width: 100%; min-height: 0; }
  body.ppc .ppc-flow li:not(:last-child)::after { content: "↓"; flex-basis: auto; margin: 4px 0 4px 16px; }
}
@media (max-width: 960px) {
  body.ppc .ppc-hero { grid-template-columns: 1fr; align-items: start; }
  body.ppc .ppc-hero h1 { max-width: none; }
  body.ppc .ppc-hero__fig { max-width: 720px; }
}
@media (max-width: 800px) {
  body.ppc .ppc-contact,
  body.ppc .ppc-equip { grid-template-columns: 1fr; }
  body.ppc .ppc-person img { max-width: 220px; }
}
@media (max-width: 700px) {
  body.ppc .ppc-dirs { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  body.ppc .ppc-form { grid-template-columns: 1fr; }
}
