@charset "utf-8";
/* Shared components for inner pages (vgate / company / recruit / sokushu). */

/* ---------- Page hero (single banner image, desktop/mobile crops) ---------- */
.page-hero { line-height: 0; }
.page-hero picture, .page-hero img { width: 100%; height: auto; display: block; }

/* ---------- Lead image directly under hero ---------- */
.lead-image { max-width: var(--max); margin: 50px auto; padding: 0 20px; }
.lead-image img { margin: 0 auto; border-radius: 4px; }

/* ---------- Generic content section ---------- */
.content-block { max-width: var(--max); margin: 0 auto; padding: 40px 30px; }
.content-block.-narrow { max-width: 900px; }
.content-block h2 {
  font-size: 25px;
  color: var(--text-dark);
  text-align: center;
  line-height: 1.6;
  margin: 0 0 10px;
}
.content-block .lead {
  font-size: 17px;
  line-height: 1.9;
}
.content-block p { margin: 0 0 1em; }
.content-block p:last-child { margin-bottom: 0; }

/* ---------- Two-column image row (with optional caption) ---------- */
.image-pair {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 30px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
@media (min-width: 800px) {
  .image-pair { grid-template-columns: 1fr 1fr; }
}
.image-pair figure { margin: 0; text-align: center; }
.image-pair img { border-radius: 4px; margin: 0 auto; }
.image-pair figcaption {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-muted2);
}

/* ---------- Benefit row: heading/text + illustrative image, stacked ---------- */
.benefit-row {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 30px;
  text-align: center;
}
.benefit-row p.lead {
  font-size: 16px;
  color: var(--text);
  margin: 0 0 20px;
}
.benefit-row img { border-radius: 4px; margin: 0 auto; }

/* ---------- Price table ---------- */
.price-table-wrap { max-width: var(--max); margin: 0 auto; padding: 20px 30px 50px; overflow-x: auto; }
table.price-table {
  border-collapse: collapse;
  width: 100%;
  min-width: 480px;
}
table.price-table th, table.price-table td {
  border: 1px solid #d8d8d8;
  padding: 12px 14px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}
table.price-table thead th {
  background: #e8e8e8;
  color: var(--text-dark);
  font-weight: 700;
}
table.price-table tbody td:first-child { text-align: left; }
table.price-table tbody tr:nth-child(odd) { background: #fafafa; }
@media (max-width: 640px) {
  table.price-table thead { display: none; }
  table.price-table, table.price-table tbody, table.price-table tr, table.price-table td {
    display: block; width: auto; min-width: 0;
  }
  table.price-table { min-width: 0; }
  table.price-table tr { border: 1px solid #e0e0e0; border-radius: 4px; margin-bottom: 10px; padding: 10px 0; }
  table.price-table td { border: 0; text-align: left !important; padding: 4px 14px; }
  table.price-table td:first-child { font-weight: 700; color: var(--text-dark); }
}

/* ---------- Tabs (V-GATE flow, etc.) ---------- */
.tabs { max-width: var(--max); margin: 0 auto; padding: 20px 20px 60px; }
.tabs-nav {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.tabs-nav button {
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  background: #f2f2f2;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.tabs-nav button.is-active {
  background: var(--teal);
  border-color: var(--teal);
  color: #ffffff;
}
.tabs-nav button:hover { background: #e6e6e6; }
.tabs-nav button.is-active:hover { background: var(--teal-deep); }
.tab-panel { display: none; text-align: center; }
.tab-panel.is-active { display: block; }
.tab-panel h3 {
  font-size: 20px;
  color: var(--text-dark);
  margin: 0 0 20px;
}
.tab-panel img { margin: 0 auto 20px; border-radius: 4px; }
.tab-panel p {
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
  color: var(--text);
}

/* ---------- Contact / embedded form ---------- */
.form-embed { max-width: var(--max); margin: 0 auto; padding: 20px 30px 60px; text-align: center; }
.form-embed iframe { width: 100%; max-width: 900px; border: 0; }

/* ---------- Enclosure heading (bordered box) ---------- */
.enclosure-heading {
  max-width: var(--max);
  margin: 60px auto 20px;
  padding: 0 30px;
  text-align: center;
}
.enclosure-heading span {
  display: inline-block;
  border: 1px solid rgba(43, 43, 43, .35);
  padding: 14px 40px;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

/* ---------- Info list table (label + multi-line value) ---------- */
.info-list-wrap { max-width: var(--max); margin: 0 auto; padding: 10px 30px 40px; overflow-x: auto; }
table.info-list { border-collapse: collapse; width: 100%; min-width: 520px; }
table.info-list th, table.info-list td {
  border-bottom: 1px solid rgba(43, 43, 43, .2);
  padding: 14px 12px;
  text-align: left;
  font-size: 14px;
  vertical-align: top;
}
table.info-list th {
  width: 220px;
  color: var(--text-dark);
  font-weight: 700;
  white-space: nowrap;
}
table.info-list td p { margin: 0 0 4px; }
table.info-list td p:last-child { margin-bottom: 0; }
@media (max-width: 640px) {
  table.info-list, table.info-list tbody, table.info-list tr, table.info-list th, table.info-list td {
    display: block; width: auto; min-width: 0;
  }
  table.info-list { min-width: 0; }
  table.info-list tr { padding: 12px 0; }
  table.info-list th { border-bottom: 0; padding-bottom: 4px; }
  table.info-list td { border-bottom: 0; padding-top: 0; }
}

/* ---------- Company profile table (label / value) ---------- */
.profile-table-wrap { max-width: var(--max); margin: 0 auto; padding: 0 30px 50px; overflow-x: auto; }
table.profile-table { border-collapse: collapse; width: 100%; min-width: 480px; }
table.profile-table th, table.profile-table td {
  border: 1px solid #ddd;
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.7;
  vertical-align: middle;
}
table.profile-table th {
  background: #ebebeb;
  color: var(--text-muted);
  width: 140px;
  text-align: center;
  font-weight: 500;
}
table.profile-table td { background: #ffffff; color: var(--text-muted2); }
@media (max-width: 640px) {
  table.profile-table, table.profile-table tbody, table.profile-table tr, table.profile-table th, table.profile-table td {
    display: block; width: auto; min-width: 0;
  }
  table.profile-table { min-width: 0; }
  table.profile-table th { text-align: left; border-bottom: 0; }
  table.profile-table td { border-top: 0; }
}

/* ---------- Generic inline slideshow (e.g. office photos) ---------- */
.slideshow {
  position: relative;
  overflow: hidden;
  max-width: var(--max);
  margin: 0 auto 20px;
  aspect-ratio: 16 / 8;
  border-radius: 4px;
  background: #ffffff;
}
.slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.slideshow img.is-active { opacity: 1; }
@media (max-width: 640px) {
  .slideshow { aspect-ratio: 4 / 3; }
}

/* ---------- Map embed ---------- */
.map-embed { max-width: var(--max); margin: 0 auto 40px; padding: 0 30px; }
.map-embed iframe { width: 100%; height: 380px; border: 0; border-radius: 4px; }

/* ---------- Job posting card ---------- */
.job-posting { max-width: 800px; margin: 0 auto 60px; padding: 0 30px; }
.job-posting .job-title {
  display: inline-block;
  border: 1px solid #d9c46a;
  background: #fdf8e8;
  color: #7f6000;
  padding: 10px 28px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 24px;
  border-radius: 4px;
}
.job-posting h4 { font-size: 15px; font-weight: 700; color: var(--text-dark); margin: 22px 0 8px; }
.job-posting h4:first-of-type { margin-top: 0; }
.job-posting p { margin: 0 0 10px; font-size: 14px; color: var(--text-muted2); }
.job-posting p:last-child { margin-bottom: 0; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 900px; margin: 0 auto 20px; padding: 0 30px; }
.faq-item { border-bottom: 1px solid #e6e6e6; }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  padding: 20px 4px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  cursor: pointer;
}
.faq-question::after {
  content: "+";
  flex: none;
  font-size: 22px;
  font-weight: 400;
  color: var(--teal-deep);
  transition: transform .2s ease;
}
.faq-item.is-open .faq-question::after { content: "\2212"; }
.faq-answer {
  display: none;
  padding: 0 4px 22px;
}
.faq-item.is-open .faq-answer { display: block; }
.faq-answer h3 { font-size: 16px; color: var(--text-dark); margin: 0 0 10px; }
.faq-answer p { margin: 0; color: var(--text); font-size: 14px; }

/* ---------- Divider ---------- */
.divider { max-width: var(--max); margin: 30px auto; padding: 0 30px; }
.divider hr { border: 0; border-top: 1px solid #ddd; margin: 0; }

/* ---------- Explainer video card grid ---------- */
.explainer-grid {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 30px 40px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 700px) {
  .explainer-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}
.explainer-card { display: block; text-decoration: none; color: inherit; }
.explainer-card img { border-radius: 4px; margin-bottom: 14px; }
.explainer-card h4 { font-size: 15px; color: var(--text-dark); margin: 0 0 8px; line-height: 1.6; }
.explainer-card p { font-size: 13px; color: var(--text-muted2); margin: 0 0 6px; }
.explainer-card .duration { font-size: 12px; color: var(--teal-deep); }

/* ---------- Simple screenshot row ---------- */
.screenshot-row {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 30px 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.screenshot-row img { border-radius: 4px; max-width: 260px; border: 1px solid #eee; }

/* ---------- Textured hero (sokushu) ---------- */
.textured-hero {
  background-color: #fffdd7;
  background-image: url(../../_src/25153/img20250929192536092567.png);
  background-repeat: repeat;
  text-align: center;
  padding: 20px 15px;
}
.textured-hero img { max-width: 100%; height: auto; margin: 0 auto; }
.catch-banner {
  background: #000000;
  color: #ffffff;
  text-align: center;
  padding: 22px 20px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
}
.catch-banner .-yellow { color: #ffff00; }
.catch-banner .-orange { color: #ff9900; }
@media (max-width: 640px) {
  .catch-banner { font-size: 17px; padding: 18px 16px; }
}

/* ---------- Social link button ---------- */
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ddd;
  border-radius: 999px;
  padding: 10px 22px;
  color: var(--text-dark);
  text-decoration: none;
  font-size: 14px;
}
.social-link:hover { background: #f5f5f5; }

/* ---------- Simple two-column media/text intro (reuse of top-page pattern) ---------- */
.media-text {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding: 40px 30px;
}
@media (min-width: 800px) {
  .media-text { grid-template-columns: 1fr 1fr; }
}
.media-text img { border-radius: 4px; }
.media-text p { margin: 0; }
