/* ===== Company page ===== */
.company-page #top_title_area {
  position: relative;
  min-height: clamp(210px, 30vw, 340px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.company-page #top_title_area::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(4, 28, 81, 0.78), rgba(24, 95, 231, 0.42));
}

.company-page .l-topTitleArea__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.company-page .l-topTitleArea__body {
  position: relative;
  z-index: 1;
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.company-page .c-pageTitle {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 1.2;
}

.company-page .c-pageTitle__subTitle {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
  font-weight: 700;
}

.company-page .l-content {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 84px) 0;
}

.company-page .post_content {
  color: #223552;
  line-height: 1.95;
}

.company-page .post_content > *:first-child h2 {
  margin-top: 0;
}

.company-page .post_content h2 {
  margin: 56px 0 24px;
  padding: 18px 22px;
  border-radius: 8px;
  background: #185fe7;
  color: #fff;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.5;
}

.company-page .post_content h3 {
  margin: 34px 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #d8e6fb;
  color: #0a225f;
  font-size: clamp(1.15rem, 2.4vw, 1.55rem);
}

.company-page .post_content h4 {
  margin: 28px 0 12px;
  padding-left: 14px;
  border-left: 3px solid #185fe7;
  color: #0a225f;
}

.company-page .post_content p {
  margin: 0 0 1.35em;
}

.company-page .post_content a {
  color: #185fe7;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.company-page .wp-block-columns,
.company-page .swell-block-columns__inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(22px, 4vw, 42px);
  align-items: start;
  margin: 32px 0;
}

.company-page .wp-block-column,
.company-page .swell-block-column {
  min-width: 0;
}

.company-page figure {
  margin: 0 0 22px;
}

.company-page #content img {
  max-width: 100%;
  height: auto;
}

.company-page #top_title_area img {
  max-width: none;
  height: 100%;
}

.company-page .wp-block-image img {
  border-radius: 12px;
}

.company-page .wp-image-1131 {
  max-width: min(260px, 100%);
}

.company-page .swell-block-column .wp-block-image img[style*="width:300px"] {
  width: min(300px, 100%) !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.company-page .swell-block-column {
  padding: 22px;
  border: 1px solid #d8e6fb;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(20, 75, 168, 0.08);
}

.company-page .wp-block-table {
  overflow-x: auto;
}

.company-page table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.company-page td {
  border: 1px solid #d8e6fb;
  padding: 14px 16px;
  vertical-align: top;
}

.company-page td:first-child {
  width: 180px;
  background: #f6f9ff;
  color: #0a225f;
  font-weight: 800;
}

.company-page iframe {
  width: 100%;
  max-width: 100%;
  min-height: 360px;
  border-radius: 8px;
}

.company-page .swell-block-button {
  margin: 42px 0 0;
  text-align: center;
}

.company-page .swell-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 260px;
  padding: 14px 24px;
  border-radius: 999px;
  background: #185fe7;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
}

.company-page .post_content .swell-block-button__link,
.company-page .post_content .swell-block-button__link span {
  color: #fff;
  text-decoration: none;
}

.company-page .__icon {
  fill: currentColor;
}

@media (max-width: 780px) {
  .company-page .wp-block-columns,
  .company-page .swell-block-columns__inner {
    grid-template-columns: 1fr;
  }

  .company-page td,
  .company-page td:first-child {
    display: block;
    width: 100%;
  }

  .company-page td:first-child {
    padding-bottom: 6px;
    border-bottom: 0;
  }

  .company-page td + td {
    padding-top: 0;
  }
}
