/* Company LP — Figma node 244:93 (conpayn) */

:root {
  --co-primary: #2947a9;
  --co-red: #ce1126;
  --co-yellow: #fcd118;
  --co-page-bg: #f4f4f4;
  --co-text: #131313;
  --co-text-main: #000a11;
  --co-white: #ffffff;
  --co-table-th: #f5f5f5;
  --co-table-border: #e8e8e8;
  --co-youtube-badge: #dd0f17;
  --co-max: 1440px;
  --co-content-pad: clamp(16px, 4vw, 76px);
  --co-shadow-card:
    0 8px 8px -4px rgba(17, 24, 39, 0.04),
    0 20px 24px -4px rgba(17, 24, 39, 0.1);
  --co-hero-gradient: linear-gradient(
    39deg,
    rgba(255, 56, 60, 0.98) 2%,
    rgba(0, 56, 168, 0.7) 16%,
    rgba(255, 205, 40, 0.4) 27%,
    rgba(207, 207, 207, 0) 37%
  );
}

body.company-lp {
  margin: 0;
  background: var(--co-page-bg);
  color: var(--co-text);
}

body.company-lp .co-page img {
  max-width: 100%;
  height: auto;
  display: block;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Parent theme header bar: visible on load (mobile) */
@media (max-width: 768px) {
  body.company-lp .l-header__bar,
  body.company-lp .p-header__bar {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translate3d(0, 0, 0) !important;
    pointer-events: auto !important;
    max-height: none !important;
    margin-top: 0 !important;
  }
}

/* Site header / nav */
.co-site-header {
  width: 100%;
  max-width: 1340px;
  margin: clamp(24px, 4vw, 60px) auto 0;
  padding: 0 var(--co-content-pad);
  box-sizing: border-box;
}

body.company-lp .co-site-header .mc-fv__overlay {
  display: block;
  width: 100%;
  margin: 0;
}

/* Page shell */
.co-page {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.co-contents {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: var(--co-max);
  margin: 0 auto;
  padding: clamp(24px, 3vw, 40px) 0 clamp(48px, 6vw, 80px);
  gap: clamp(48px, 6vw, 80px);
}

/* Hero */
.co-hero {
  position: relative;
  width: calc(100% - var(--co-content-pad) * 2);
  max-width: 1280px;
  margin-inline: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--co-shadow-card);
}

.co-hero__media {
  position: relative;
  aspect-ratio: 1280 / 520;
  min-height: 220px;
}

.co-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (max-width: 565px) {
  body.company-lp .co-hero__media {
    aspect-ratio: auto !important;
    height: 160px !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }

  body.company-lp .co-hero__img {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    object-position: 100% 50% !important;
  }
  .co-hero__title {
    font-size: 18px!important;
  }
  .co-hero__lead {
    font-size: 14px!important;
  }
}

.co-hero__gradient {
  position: absolute;
  inset: 0;
  background: var(--co-hero-gradient);
  pointer-events: none;
}

.co-hero__copy {
  position: absolute;
  left: clamp(20px, 5vw, 67px);
  bottom: clamp(20px, 4vw, 46px);
  z-index: 1;
  color: var(--co-white);
  text-shadow: 3px 4px 2px rgba(0, 0, 0, 0.33);
  max-width: min(787px, 90%);
}

.co-hero__title {
  margin: 0;
  font-size: clamp(40px, 8vw, 90px);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.co-hero__lead {
  margin: 0.15em 0 0;
  font-size: clamp(18px, 2.5vw, 32px);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

/* Company profile table */
.co-profile {
  width: 100%;
  padding-inline: var(--co-content-pad);
  box-sizing: border-box;
}

.co-profile__table-wrap {
  width: 100%;
  max-width: 950px;
  margin: 0 auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.co-profile__table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.5;
  color: var(--co-text-main);
}

.co-profile__table th,
.co-profile__table td {
  border: 1px solid var(--co-table-border);
  padding: clamp(14px, 2vw, 20px) clamp(12px, 2vw, 30px);
  vertical-align: middle;
  text-align: left;
}

.co-profile__table th {
  width: 32%;
  min-width: 140px;
  background: var(--co-table-th);
  font-weight: 400;
}

.co-profile__table td a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

@media (max-width: 640px) {
  .co-profile__table,
  .co-profile__table tbody,
  .co-profile__table tr,
  .co-profile__table th,
  .co-profile__table td {
    display: block;
    width: 100%;
    min-width: 0;
  }

  .co-profile__table tr + tr {
    margin-top: 0;
  }

  .co-profile__table th {
    border-bottom: none;
    padding-bottom: 8px;
  }

  .co-profile__table td {
    border-top: none;
    padding-top: 0;
  }
}

/* Representative — full-width section; band spans viewport without 100vw */
.co-rep {
  position: relative;
  width: 100%;
  max-width: none;
  margin-block: clamp(48px, 6vw, 80px);
  padding-bottom: clamp(120px, 18vw, 200px);
  box-sizing: border-box;
}

.co-rep__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 500px);
  gap: clamp(24px, 4vw, 48px);
  align-items: start;
  width: 100%;
  max-width: var(--co-max);
  margin-inline: auto;
  padding-inline: var(--co-content-pad);
  box-sizing: border-box;
}

.co-rep__title {
  margin: 0 0 clamp(20px, 3vw, 32px);
  font-size: clamp(28px, 4.5vw, 50px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--co-text);
}

.co-rep__message {
  background: var(--co-white);
  border-radius: 30px;
  padding: clamp(20px, 3vw, 30px);
  font-size: clamp(14px, 1.5vw, 15px);
  line-height: 22px;
  color: #111111;
}

.co-rep__message p {
  margin: 0 0 1em;
}

.co-rep__message p:last-child {
  margin-bottom: 0;
}

.co-rep__photo {
  margin: 0;
  border-radius: 10px;
  overflow: hidden;
}

.co-rep__photo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.co-rep__band {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  width: 100%;
  height: clamp(120px, 20vw, 304px);
  background: var(--co-red);
  z-index: 0;
}

@media (max-width: 900px) {
  .co-rep__band {
    height: 1020px;
  }
  .co-rep__inner {
    grid-template-columns: 1fr;
  }

  .co-rep__photo {
    order: -1;
    max-width: 420px;
    margin-inline: auto;
  }
}

@media (max-width: 768px) {
  .co-rep {
    padding-bottom: clamp(32px, 5vw, 48px);
  }

  .co-rep__band {
    top: clamp(200px, 52vw, 320px);
    bottom: 0;
    height: auto;
  }

  .co-rep__photo {
    position: relative;
    z-index: 2;
    margin-bottom: clamp(-72px, -14vw, -32px);
  }

  .co-rep__content {
    padding-top: clamp(56px, 14vw, 88px);
  }

  .co-rep__title {
    margin-bottom: clamp(16px, 4vw, 24px);
  }
}


/* Staff Q&A */
.co-staff {
  width: 100%;
  background: var(--co-white);
}

.co-staff__banner img {
  width: 100%;
  max-height: 424px;
  object-fit: cover;
}

.co-staff__qa {
  max-width: 695px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) var(--co-content-pad) clamp(56px, 8vw, 100px);
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 50px);
}

.co-staff__q {
  margin: 0 0 21px;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  color: #000000;
}

.co-staff__a {
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
  color: #000000;
}

/* Staff Interview videos */
.co-videos {
  width: 100%;
  background: var(--co-yellow);
  padding: clamp(48px, 6vw, 74px) var(--co-content-pad) clamp(56px, 8vw, 90px);
  box-sizing: border-box;
}

.co-videos__title {
  margin: 0 auto clamp(32px, 4vw, 48px);
  max-width: 900px;
  font-size: clamp(36px, 8vw, 96px);
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
  color: var(--co-text);
}

.co-videos__panel {
  max-width: 1159px;
  margin: 0 auto;
  background: var(--co-white);
  border-radius: 40px;
  padding: clamp(24px, 4vw, 60px);
  box-shadow: var(--co-shadow-card);
}

.co-videos__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 74px) clamp(24px, 4vw, 81px);
  justify-items: center;
}

.co-videos__card {
  position: relative;
  display: block;
  width: 100%;
  max-width: 480px;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.co-videos__card img {
  width: 100%;
  aspect-ratio: 480 / 345;
  object-fit: cover;
}

.co-videos__badge {
  position: absolute;
  left: 50%;
  bottom: 14%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(221, 15, 23, 0.9);
  border-radius: 10px;
}

.co-videos__badge img {
  width: 37px;
  height: auto;
  aspect-ratio: auto;
}

.co-videos__badge-text {
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fcfcfc;
}

@media (hover: hover) {
  .co-videos__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
  }
}

@media (max-width: 768px) {
  .co-videos__grid {
    grid-template-columns: 1fr;
  }
}

/* About us */
.co-about {
  width: 100%;
  background: var(--co-white);
  padding: clamp(40px, 5vw, 74px) var(--co-content-pad);
  box-sizing: border-box;
}

.co-about__visual {
  position: relative;
  max-width: 1212px;
  margin: 0 auto;
}

.co-about__photo {
  width: 100%;
  max-width: 902px;
  border-radius: 2px;
  box-shadow: var(--co-shadow-card);
}

.co-about__card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(488px, 92%);
  padding: clamp(28px, 4vw, 50px) clamp(24px, 4vw, 40px);
  background: var(--co-primary);
  border-radius: 2px;
  box-shadow: var(--co-shadow-card);
  color: var(--co-white);
  font-style: normal;
}

.co-about__card-title {
  margin: 0 0 clamp(20px, 3vw, 40px);
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 700;
}

.co-about__card-body {
  margin: 0;
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 400;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .co-about__visual {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .co-about__card {
    position: static;
    width: 100%;
    max-width: none;
  }
}

/* Contact form + map (same as home footer) */
body.company-lp .co-contents .contact {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 4vw, 36px);
  width: 100%;
  max-width: 100%;
  margin-bottom: clamp(24px, 5vw, 80px);
  padding: clamp(48px, 8vw, 80px) var(--co-content-pad);
  overflow-x: visible;
  box-sizing: border-box;
}

body.company-lp .co-contents .mc-map-block {
  width: 100%;
  max-width: 100%;
  margin-bottom: clamp(48px, 6vw, 80px);
}

body.company-lp .mc-map__title {
  color: var(--co-text-main);
  opacity: 1;
  transform: none;
}

body.company-lp .mc-map-block__inner iframe {
  width: 100%;
  height: clamp(280px, 50vw, 480px);
  border: 0;
  border-radius: 12px;
  display: block;
}

/* Nav: company page on light background */
body.company-lp .co-site-header .mc-fv__nav-links a {
  color: var(--co-text);
}

body.company-lp .co-site-header .mc-fv__nav-links a.mc-is-active {
  color: var(--co-primary);
}

@media (max-width: 768px) {
  body.company-lp .co-site-header .mc-fv__overlay {
    display: none;
  }

  .co-hero__copy {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

.company-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 3em;
}

.company-gallery__item {
  overflow: hidden;
  border-radius: 8px;
}

.company-gallery__item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* SP */
@media (max-width: 767px) {
  .company-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

.p-global-nav__container .p-global-nav > li > a:hover {
  color: #fff !important;
}