/* ========================================
   COMPANY PAGE STYLES
   ======================================== */

/* ---- Vertical Section Labels ---- */
.section-vertical-label {
  position: absolute;
  left: 2rem;
  writing-mode: vertical-rl;
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  color: var(--c-gray);
  z-index: 2;
}

.section-vertical-label--mission,
.section-vertical-label--vision,
.section-vertical-label--info {
  top: 4rem;
  color: #bbb;
}

/* Inline vertical label (next to title, not absolute) */
.section-vertical-label--inline {
  position: static;
  writing-mode: vertical-rl;
  font-family: var(--ff-body);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  letter-spacing: 0.2em;
  color: #bbb;
  flex-shrink: 0;
}

/* ========================================
   MISSION
   ======================================== */
.mission {
  padding: clamp(5rem, 10vw, 10rem) 0;
  background: var(--c-white);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #e5e5e5;
}

.mission__inner {
  text-align: left;
}

.mission__heading {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 3rem;
}

.company-vision__heading {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.mission__heading-img {
  max-width: min(60%, 500px);
  height: auto;
}

.mission__body {
  max-width: 900px;
  margin: 0 auto;
}

.mission__text-img {
  max-width: 100%;
  height: auto;
}

/* ========================================
   VISION (dark)
   ======================================== */
.company-vision {
  padding: clamp(6rem, 12vw, 12rem) 0;
  background: var(--c-white);
  color: var(--c-dark);
  position: relative;
  overflow: hidden;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
}

.company-vision__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.company-vision__left {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.company-vision__heading-img {
  max-width: min(80%, 400px);
  height: auto;
}

.company-vision__text-img {
  max-width: 100%;
  height: auto;
}

.company-vision__right {
  position: relative;
}

.company-vision__image-wrap {
  overflow: hidden;
  border-radius: var(--radius-sm);
}

.company-vision__image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ========================================
   COMPANY INFO TABLE
   ======================================== */
.company-info {
  padding: clamp(6rem, 12vw, 12rem) 0;
  background: var(--c-white);
  position: relative;
  overflow: hidden;
}

/* 背景装飾 STRONG Mt. + 山シルエット */
.company-info__deco {
  position: absolute;
  right: -2rem;
  bottom: 2rem;
  pointer-events: none;
  opacity: 0.04;
  z-index: 0;
}

.company-info__deco-strong {
  width: clamp(300px, 40vw, 500px);
  height: auto;
  display: block;
}

.company-info__deco-mt {
  width: clamp(60px, 8vw, 100px);
  height: auto;
  display: block;
  margin-top: -0.5rem;
}

.company-info__deco-mountain {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(200px, 30vw, 400px);
  height: auto;
  pointer-events: none;
  opacity: 0.03;
  z-index: 0;
}

.company-info__inner {
  max-width: 900px;
  margin: 0 auto;
}

.company-info__table {
  margin-top: 4rem;
}

.company-info__row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid #e5e5e5;
  transition: background-color 0.3s ease;
}

.company-info__row:first-child {
  border-top: 1px solid #e5e5e5;
}

.company-info__row:hover {
  background-color: #fafafa;
}

.company-info__row dt {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: var(--fw-bold);
  color: var(--c-dark);
  padding-left: 1rem;
  border-left: 3px solid var(--c-primary);
  display: flex;
  align-items: center;
}

.company-info__row dd {
  font-family: var(--ff-body);
  font-size: 0.95rem;
  font-weight: var(--fw-regular);
  color: var(--c-text);
  display: flex;
  align-items: center;
  line-height: 1.8;
}

/* ---- Footer deco (STRONG Mt. + mountain) ---- */
.footer--company {
  position: relative;
}

.footer--company::before {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 200px;
  background: url('../images/company-mountain.png') no-repeat center / contain;
  opacity: 0.06;
  pointer-events: none;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
  .section-vertical-label {
    left: 1rem;
    font-size: 0.75rem;
  }

  /* Vision 2-column -> stack */
  .company-vision__inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .company-vision__right {
    order: -1;
  }

  .company-vision__heading-img {
    max-width: 60%;
  }

  /* Mission */
  .mission__heading-img {
    max-width: 50%;
  }

  /* Company info table */
  .company-info__row {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    padding: 1.25rem 0;
  }

  .company-info__row dt {
    font-size: 0.85rem;
  }

  .company-info__row dd {
    padding-left: 1rem;
  }
}

@media (max-width: 480px) {
  .section-vertical-label {
    display: none;
  }

  .mission__heading-img {
    max-width: 40%;
  }

  .company-vision__heading-img {
    max-width: 50%;
  }
}
