/* ========== Company Hero ========== */
.company-hero {
  position: relative;
  width: 100%;
  min-height: 550px;
  padding-top: 70px;
  overflow: hidden;
  background-color: #07111e;
  display: flex;
  flex-direction: column;
}

.company-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.company-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.company-hero__overlay {
  display: none;
}

.company-hero__inner {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.company-hero__content {
  text-align: center;
  color: #fff;
}

.company-hero__title {
  font-family: "Source Han Serif JP", serif;
  font-size: 36px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.02em;
  margin: 0 0 20px;
  line-height: 1;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.company-hero__sub {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

/* ヒーロー内ナビ (page-hero__nav と同仕様) */
.company-hero__nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-start;
  gap: 0;
  background: transparent;
}

.company-hero__nav::before,
.company-hero__nav::after {
  content: "";
  flex: 0 0 auto;
  margin: auto;
}

.company-hero__nav-item {
  flex: 0 1 auto;
  min-width: 160px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 12px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: #000;
  background: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.company-hero__nav-item:first-child {
  border-left: none;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
}

.company-hero__nav-item:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.company-hero__nav-item.is-active {
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
}

/* ========== Company Section ========== */
.company-section {
  background: #fff;
  padding: 110px 24px 100px;
  color: #15181c;
}

.company-section--alt {
  /* background: #f5f6f8; */
}

.company-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.company-section__heading-wrap {
  text-align: center;
  margin-bottom: 56px;
}

.company-section__heading-jp {
  display: inline-block;
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 28px;
  font-weight: 600;
  color: #15181c;
  margin: 0;
  padding-bottom: 12px;
  letter-spacing: 0.08em;
  line-height: 1.3;
  position: relative;
  z-index: 2;
}

.company-section__heading-jp::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 57px;
  height: 3px;
  background: linear-gradient(to right, #36a2cc, #0962a5);
}

/* ========== 企業理念 ========== */
.company-philosophy {
  max-width: 980px;
  margin: 0 auto;
}

.company-philosophy__catch {
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 28px;
  font-weight: 600;
  color: #15181c;
  text-align: center;
  margin: 0 0 40px;
  padding-bottom: 28px;
  letter-spacing: 0.06em;
  line-height: 1.7;
  position: relative;
}

.company-philosophy__catch::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 57px;
  height: 3px;
  background: linear-gradient(to right, #36a2cc, #0962a5);
}

.company-philosophy__lead {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 2.1;
  color: #2a2a2a;
  letter-spacing: 0.04em;
  text-align: justify;
  margin: 0 0 36px;
}

.company-philosophy__image {
  margin: 0 0 36px;
}

.company-philosophy__image img {
  display: block;
  width: 100%;
  height: auto;
}

.company-philosophy__lead:last-child {
  margin-bottom: 0;
}

/* ========== Mission / Vision ========== */
.company-mv {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.company-mv__row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 32px;
  align-items: center;
  padding: 28px 36px;
  background: #f1f3f5;
  border-radius: 6px;
}

.company-mv__label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Roboto", sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #136db6;
  letter-spacing: 0.18em;
  margin: 0;
}

.company-mv__dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 3px solid #136db6;
  background: transparent;
  flex-shrink: 0;
  position: relative;
  animation: company-mv-dot-pulse 2.4s ease-out infinite;
}

@keyframes company-mv-dot-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(19, 109, 182, 0.55);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(19, 109, 182, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(19, 109, 182, 0);
  }
}

.company-mv__text {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 14px;
  line-height: 1.9;
  color: #2a2a2a;
  letter-spacing: 0.04em;
  margin: 0;
}

/* ========== 代表挨拶 ========== */
.company-greeting-section {
  background: #fff;
}

.company-greeting-hero {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background-color: #1c1916;
}

.company-greeting-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.company-greeting-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.company-greeting-hero__overlay {
  display: none;
}

.company-greeting-hero__title {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 40px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.company-greeting-section .company-section__inner {
  padding: 80px 24px 100px;
}

.company-greeting__head {
  text-align: center;
  margin-bottom: 32px;
}

.company-greeting__heading {
  display: inline-block;
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 28px;
  font-weight: 600;
  color: #15181c;
  margin: 0;
  padding-bottom: 12px;
  position: relative;
  letter-spacing: 0.08em;
}

.company-greeting__heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 57px;
  height: 3px;
  background: linear-gradient(to right, #36a2cc, #0962a5);
}

.company-greeting__catch {
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 22px;
  font-weight: 600;
  color: #15181c;
  text-align: center;
  margin: 0 0 40px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.company-greeting__body {
  max-width: 720px;
  margin: 0 auto;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  line-height: 1.95;
  color: #181818;
  letter-spacing: 0.02em;
}

.company-greeting__body p {
  margin: 0 0 26px;
}

.company-greeting__numbered {
  margin: 0 0 14px !important;
  padding-left: 2em;
  text-indent: -1em;
}

.company-greeting__numbered + .company-greeting__numbered {
  margin-top: -14px !important;
}

.company-greeting__signature {
  display: table;
  margin: 36px 0 0 auto !important;
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.18em;
  font-size: 18px;
  color: #1c1916;
  padding-bottom: 12px;
  border-bottom: 1px solid #9a9a9a;
}

/* ========== 会社情報 ========== */
.company-info-section {
  background: #fff;
}

.company-info-hero {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background-color: #5a6e8a;
}

.company-info-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.company-info-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.company-info-hero__overlay {
  display: none;
}

.company-info-hero__title {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 40px;
  font-weight: 400;
  color: #fff;
  letter-spacing: 0.02em;
}

.company-info-body {
  background: #eef0f4;
  padding: 80px 24px 100px;
}

.company-info-body .company-section__inner {
  max-width: 1100px;
  margin: 0 auto;
}

.company-info__head {
  text-align: center;
  margin-bottom: 56px;
}

.company-info__heading {
  display: inline-block;
  font-family: "Noto Serif JP", "Source Han Serif JP", serif;
  font-size: 28px;
  font-weight: 600;
  color: #15181c;
  margin: 0;
  padding-bottom: 12px;
  position: relative;
  letter-spacing: 0.08em;
}

.company-info__heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 57px;
  height: 3px;
  background: linear-gradient(to right, #36a2cc, #0962a5);
}

.company-info {
  margin: 0;
  background: #fff;
  border: 1px solid #d8dce2;
}

.company-info__row {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0;
  border-bottom: 1px solid #d8dce2;
}

.company-info__row:last-child {
  border-bottom: 0;
}

.company-info__term {
  background: #e3e8ee;
  padding: 22px 24px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #2f2f2f;
  letter-spacing: 0.05em;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.company-info__desc {
  background: #fff;
  padding: 22px 70px;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  line-height: 1.9;
  color: #2a2a2a;
  margin: 0;
  letter-spacing: 0.04em;
}

.company-info__link {
  display: inline-block;
  margin-top: 4px;
  color: #136db6;
  text-decoration: underline;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.company-info__link:hover {
  opacity: 0.8;
}

/* ========== メディア実績 ========== */
.company-media {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.company-media__item {
  background: linear-gradient(180deg, #fbfbfc 0%, #f1f3f6 100%);
  border: 1px solid #ebedf1;
  border-radius: 4px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 1px 3px rgba(20, 28, 48, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.company-media__item:hover {
  transform: translateY(-4px);
  border-color: #b6bcc6;
  box-shadow: 0 14px 32px rgba(15, 24, 40, 0.1);
}

/* リンクラッパ：見た目はそのまま、a タグ化したときの初期スタイルを打ち消す */
.company-media__inner {
  display: block;
  color: inherit;
  text-decoration: none;
}
a.company-media__inner:hover,
a.company-media__inner:focus { color: inherit; text-decoration: none; }
.company-media__item--linked a.company-media__inner { cursor: pointer; }

.company-media__image {
  position: relative;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  overflow: hidden;
}

.company-media__badge {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(150%);
  padding: 4px 8px;
  background: rgba(20, 28, 48, 0.5);
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  text-align: center;
  white-space: nowrap;
  z-index: 2;
}

.company-media__image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.company-media__item:hover .company-media__image img {
  transform: scale(1.04);
}

.company-media__title {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #1f2c4d;
  margin: 0 0 10px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.company-media__desc {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 13px;
  line-height: 1.8;
  color: #5a6678;
  margin: 0;
}

/* ========== Responsive ========== */
@media screen and (max-width: 1024px) {
  .company-hero {
    min-height: 420px;
  }

  .company-hero__title {
    font-size: 52px;
  }

  .company-section {
    padding: 80px 24px 70px;
  }

  .company-greeting-hero {
    height: 220px;
  }

  .company-greeting-hero__title {
    font-size: 32px;
  }

  .company-info-hero {
    height: 220px;
  }

  .company-info-hero__title {
    font-size: 32px;
  }
}

@media screen and (max-width: 768px) {
  .company-hero {
    min-height: 380px;
  }

  .company-hero__inner {
    padding: 20px;
  }

  .company-hero__title {
    font-size: 40px;
  }

  .company-hero__sub {
    font-size: 13px;
  }

  .company-hero__nav {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .company-hero__nav::-webkit-scrollbar {
    display: none;
  }

  .company-hero__nav-item {
    flex: 0 0 auto;
    padding: 12px 16px;
    font-size: 12px;
  }

  .company-section {
    padding: 56px 20px 56px;
  }

  .company-section__heading-wrap {
    margin-bottom: 36px;
  }

  .company-section__heading-jp,
  .company-greeting__heading,
  .company-info__heading {
    font-size: 22px;
  }

  .company-philosophy__catch {
    font-size: 20px;
  }

  .company-mv__row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 20px 22px;
  }

  .company-greeting-hero {
    height: 180px;
  }

  .company-greeting-hero__title {
    font-size: 26px;
  }

  .company-greeting-section .company-section__inner {
    padding: 56px 20px 64px;
  }

  .company-greeting__catch {
    font-size: 18px;
  }

  .company-info-hero {
    height: 180px;
  }

  .company-info-hero__title {
    font-size: 26px;
  }

  .company-info-body {
    padding: 48px 16px 56px;
  }

  .company-info__row {
    grid-template-columns: 110px 1fr;
  }

  .company-info__term {
    padding: 12px 5px;
    font-size: 13px;
  }

  .company-info__desc {
    padding: 12px 16px;
    font-size: 13px;
  }

  .company-media {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .company-media__image {
    height: 180px;
  }
}
