
/* =========================================================
   FROM OITA | 13_私たちについて
   Page-specific styles.
   Common styles live in style.css.
   ========================================================= */

.about-page {
  overflow-x: clip;
}

/* Header: active page */
.site-nav-desktop a.is-current,
.mobile-menu-inner a.is-current {
  font-weight: 600;
  position: relative;
}
.site-nav-desktop a.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 1px;
  background: currentColor;
}

/* Shared page typography */
.about-page .oita-eyebrow {
  letter-spacing: .22em;
}
.about-page .section-kicker {
  display: block;
  margin-bottom: 12px;
  font-size: .7rem;
  letter-spacing: .22em;
  color: var(--oita-text-soft);
}
.about-page .section-title {
  font-size: clamp(1.8rem, 1.35rem + 1.8vw, 2.65rem);
  line-height: 1.55;
  margin-bottom: 20px;
}
.about-page .section-copy {
  color: var(--oita-text-soft);
  font-size: .92rem;
  line-height: 2.05;
}

/* HERO */
.about-hero {
  position: relative;
  min-height: 520px;
  height: min(62vw, 620px);
  overflow: hidden;
}
.about-hero-media,
.about-hero-media img,
.about-hero-overlay {
  position: absolute;
  inset: 0;
}
.about-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about-hero-overlay {
  background:
    linear-gradient(90deg, rgba(12,22,27,.48) 0%, rgba(12,22,27,.20) 43%, rgba(12,22,27,.03) 78%),
    linear-gradient(0deg, rgba(12,22,27,.18), rgba(12,22,27,.02));
}
.about-hero-inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  align-items: center;
}
.about-hero-copy {
  max-width: 650px;
  color: #fff;
  padding-top: 8px;
}
.about-hero-copy .section-kicker {
  color: rgba(255,255,255,.86);
}
.about-hero-copy h1 {
  font-size: clamp(2rem, 1.35rem + 3vw, 3.7rem);
  line-height: 1.45;
  letter-spacing: .035em;
  margin-bottom: 18px;
}
.about-hero-copy p {
  max-width: 37rem;
  font-size: .9rem;
  line-height: 2;
  color: rgba(255,255,255,.92);
}
.about-hero-copy .oita-btn {
  margin-top: 28px;
}

/* Philosophy */
.about-philosophy {
  padding-block: 72px 76px;
}
.about-philosophy-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
.about-philosophy-copy {
  max-width: 610px;
}
.about-philosophy-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 12 / 7;
  border-radius: 2px;
}
.about-philosophy-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-philosophy-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,23,27,.30), transparent 50%);
}
.about-philosophy-caption {
  position: absolute;
  z-index: 1;
  left: 9%;
  bottom: 10%;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, .9rem + 1.1vw, 1.8rem);
  line-height: 1.55;
  letter-spacing: .05em;
  text-shadow: 0 1px 8px rgba(0,0,0,.18);
}
.about-philosophy-copy .section-title {
  margin-bottom: 18px;
}

/* Values */
.about-values {
  position: relative;
  isolation: isolate;
  padding-block: 74px 82px;
  overflow: hidden;
}
.about-values-bg,
.about-values-bg img,
.about-values-tint {
  position: absolute;
  inset: 0;
}
.about-values-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-values-tint {
  background: rgba(250,247,242,.58);
}
.about-values-inner {
  position: relative;
  z-index: 1;
}
.about-values-heading {
  margin-bottom: 42px;
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.about-value {
  min-width: 0;
  padding: 0 28px;
  border-left: 1px solid rgba(92,87,79,.25);
}
.about-value:first-child {
  border-left: 0;
}
.about-value-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border: 1px solid rgba(35,60,73,.28);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #173a50;
  background: rgba(250,247,242,.72);
}
.about-value-icon svg {
  width: 26px;
  height: 26px;
}
.about-value h3 {
  font-size: 1.05rem;
  text-align: center;
  margin-bottom: 10px;
}
.about-value p {
  color: var(--oita-text-soft);
  font-size: .78rem;
  line-height: 1.85;
  text-align: center;
}

/* Company */
.about-company {
  padding-block: 72px 76px;
}
.about-company-grid {
  display: grid;
  gap: 42px;
  align-items: center;
}
.about-company-media {
  aspect-ratio: 1000 / 650;
  overflow: hidden;
}
.about-company-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-company-info {
  display: grid;
  gap: 22px;
}
.about-company-table {
  display: grid;
  grid-template-columns: 5.2rem 1fr;
  gap: 10px 20px;
  font-size: .82rem;
}
.about-company-table dt {
  color: var(--oita-text-soft);
}
.about-company-table dd {
  margin: 0;
  color: var(--oita-text);
}
.about-company-action {
  display: flex;
  justify-content: flex-start;
}

/* CTA */
.about-cta {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.about-cta img,
.about-cta::after {
  position: absolute;
  inset: 0;
}
.about-cta img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-cta::after {
  content: "";
  background: linear-gradient(0deg, rgba(8,28,36,.48), rgba(8,28,36,.08));
}
.about-cta-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #fff;
  padding-block: 76px;
}
.about-cta-inner .section-kicker {
  color: rgba(255,255,255,.78);
}
.about-cta-inner h2 {
  font-size: clamp(1.65rem, 1.2rem + 1.7vw, 2.45rem);
  margin-bottom: 12px;
}
.about-cta-inner p {
  font-size: .82rem;
  color: rgba(255,255,255,.88);
  margin-bottom: 28px;
}
.about-cta-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Footer mountain line */
.site-footer {
  position: relative;
  overflow: hidden;
}
.site-footer::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  opacity: .18;
  background:
    linear-gradient(145deg, transparent 49%, rgba(255,255,255,.5) 50%, transparent 51%) 0 100% / 220px 70px repeat-x;
  pointer-events: none;
}

/* Tablet */
@media (min-width: 768px) {
  .about-philosophy-grid {
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    gap: 62px;
  }
  .about-company-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 58px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .about-hero {
    min-height: 600px;
    height: 78vh;
  }
  .about-hero-media img {
    object-position: 62% center;
  }
  .about-hero-overlay {
    background:
      linear-gradient(180deg, rgba(12,22,27,.08) 0%, rgba(12,22,27,.18) 38%, rgba(12,22,27,.62) 100%);
  }
  .about-hero-inner {
    align-items: flex-end;
    padding-bottom: 58px;
  }
  .about-hero-copy h1 {
    font-size: clamp(1.85rem, 8vw, 2.35rem);
  }
  .about-hero-copy p {
    font-size: .82rem;
  }
  .about-philosophy {
    padding-block: 58px 62px;
  }
  .about-philosophy-grid {
    gap: 34px;
  }
  .about-values {
    padding-block: 58px 64px;
  }
  .about-values-heading {
    margin-bottom: 30px;
  }
  .about-values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 0;
  }
  .about-value {
    padding: 0 16px;
    border-left: 1px solid rgba(92,87,79,.22);
  }
  .about-value:nth-child(odd) {
    border-left: 0;
  }
  .about-value-icon {
    width: 50px;
    height: 50px;
  }
  .about-value h3 {
    font-size: .92rem;
  }
  .about-value p {
    font-size: .72rem;
  }
  .about-company {
    padding-block: 58px 62px;
  }
  .about-company-grid {
    gap: 30px;
  }
  .about-company-table {
    grid-template-columns: 4.5rem 1fr;
    font-size: .76rem;
    gap: 9px 14px;
  }
  .about-cta {
    min-height: 330px;
  }
  .about-cta-inner {
    padding-inline: 20px;
    padding-block: 62px;
  }
  .about-cta-actions .oita-btn {
    width: 100%;
    justify-content: center;
  }
}

/* Very small screens */
@media (max-width: 420px) {
  .about-values-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-value,
  .about-value:nth-child(odd) {
    border-left: 0;
    border-top: 1px solid rgba(92,87,79,.22);
    padding-top: 24px;
  }
  .about-value:first-child {
    border-top: 0;
    padding-top: 0;
  }
}
