/* ========================================
   About / Company Profile page
   ======================================== */

.page-about .main-nav a.is-active {
  color: var(--accent);
}

.page-about .main-nav a.is-active::after {
  transform: scaleX(1);
}

.about-title,
.about-message-text h2,
.about-mission-text h2,
.about-section-header h2 {
  font-family: "Noto Serif JP", "Hiragino Mincho ProN", serif;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.about-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.about-en,
.about-section-en {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-style: italic;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
}

.about-aside {
  position: relative;
  padding-left: 1.15rem;
  align-self: center;
}

.about-aside::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 2px;
  background: var(--accent);
}

.about-aside p {
  font-family: "Cormorant Garamond", "Times New Roman", serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--accent);
  line-height: 1.7;
}

.about-aside-en {
  margin-bottom: 0.45rem;
}

.about-aside-ja {
  font-family: var(--font-sans) !important;
  font-size: 0.75rem !important;
  font-style: normal;
  letter-spacing: 0.04em !important;
  color: var(--navy) !important;
}

.about-aside-on-media {
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  max-width: 9rem;
}

/* ---------- Hero ---------- */
.about-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f6f4f1;
}

.about-hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #f6f4f1 0%,
      rgba(246, 244, 241, 0.94) 26%,
      rgba(246, 244, 241, 0.55) 44%,
      rgba(246, 244, 241, 0.12) 60%,
      transparent 74%
    ),
    url("../assets/about-hero.png")
      right center / cover no-repeat;
}

.about-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.5rem;
  align-items: center;
  padding-block: 4.25rem 3.75rem;
}

.about-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  color: #7d8aa3;
  letter-spacing: 0.06em;
  margin-bottom: 0.7rem;
}

.about-title {
  font-size: clamp(2.15rem, 4vw, 2.85rem);
  margin-bottom: 0.1rem;
  line-height: 1.25;
}

.about-en {
  display: block;
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 1.6rem;
}

.about-lead {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
  margin-bottom: 0.7rem;
}

.about-desc {
  max-width: 28rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.95;
}

.about-hero-aside {
  justify-self: end;
  padding-left: 1rem;
  text-align: left;
}

.about-hero-aside::before {
  width: 1px;
}

.about-hero-aside p {
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  line-height: 1.65;
  white-space: nowrap;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  background: #f3f5f8;
  border-block: 1px solid #e8ecf2;
}

.breadcrumb-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.55rem;
  padding-block: 0.85rem;
  font-size: 0.75rem;
  color: var(--navy-muted);
}

.breadcrumb a {
  color: var(--navy-muted);
  transition: color 0.25s;
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* ---------- CEO message ---------- */
.about-message {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 460px;
  overflow: hidden;
  background: #f4f6f8;
}

.about-message-bg {
  position: absolute;
    inset: 0;
    background-color: #f4f6f8;
    background-image: linear-gradient(90deg, #f4f6f8 0%, rgba(244, 246, 248, 0.92) 32%, rgba(244, 246, 248, 0.4) 50%, transparent 66%), url(../assets/about-message.jpg);
    background-repeat: no-repeat;
    background-size: 100% 100%, auto 100%;
    background-position: 0 0, right;
}

.about-message-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2.5rem;
  align-items: center;
  padding-block: 4.5rem;
}

.about-message-aside {
  justify-self: end;
  max-width: 8.5rem;
  padding-block: 0.35rem;
}

.about-message-text h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin-bottom: 1.25rem;
}

.about-message-text > p:not(.about-label):not(.about-sign) {
  font-size: 0.875rem;
  color: var(--text);
  line-height: 1.95;
  margin-bottom: 1.5rem;
  max-width: 34rem;
}

.about-sign {
  font-size: 0.8125rem;
  color: var(--navy);
  letter-spacing: 0.04em;
  margin-bottom: 1.75rem !important;
}

/* ---------- Profile ---------- */
.about-profile {
  background: var(--white);
  padding-block: 5rem;
}

.about-section-header {
  margin-bottom: 2rem;
}

.about-section-header h2 {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.about-section-en {
  font-size: 0.8125rem;
  color: #8a9bb8;
  font-style: italic;
}

.about-section-en-inline {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.about-profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.75fr);
  gap: 2rem;
  align-items: stretch;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.profile-table th,
.profile-table td {
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid #e8edf4;
  text-align: left;
  vertical-align: middle;
  line-height: 1.75;
}

.profile-table tr:nth-child(odd) {
  background: #f4f6f9;
}

.profile-table th {
  width: 22%;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
}

.profile-table td {
  color: var(--navy);
}

.about-profile-visual {
  position: relative;
  min-height: 100%;
  height: 100%;
  overflow: hidden;
}

.about-profile-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 18% center;
  display: block;
}

.about-profile-aside {
  right: 1.1rem;
  max-width: none;
  padding-block: 0.35rem;
}

.about-profile-aside p {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  line-height: 1.55;
  white-space: nowrap;
}

/* ---------- Mission ---------- */
.about-mission {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #f6f3ee;
}

.about-mission-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      #f6f3ee 0%,
      rgba(246, 243, 238, 0.92) 28%,
      rgba(246, 243, 238, 0.45) 48%,
      rgba(246, 243, 238, 0.08) 64%,
      transparent 78%
    ),
    url("../assets/about-mission.png")
      right center / cover no-repeat;
}

.about-mission-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  gap: 2.5rem;
  align-items: center;
  padding-block: 4.5rem;
}

.about-mission-kicker {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  margin-bottom: 0.85rem;
}

.about-mission-kicker .about-label,
.about-mission-kicker .about-section-en-inline {
  margin-bottom: 0;
}

.about-mission-kicker .about-section-en-inline {
  color: #8a9bb8;
  font-style: italic;
}

.about-mission-text h2 {
  font-size: clamp(1.55rem, 2.8vw, 2.05rem);
  color: var(--accent);
  margin-bottom: 1.15rem;
  line-height: 1.45;
}

.about-mission-text > p:not(.about-label):not(.about-section-en-inline) {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.95;
  margin-bottom: 1.75rem;
  max-width: 30rem;
}

.about-mission-aside {
  justify-self: end;
  padding-left: 1rem;
  text-align: left;
}

.about-mission-aside::before {
  width: 1px;
}

.about-mission-aside p {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  line-height: 1.6;
  white-space: nowrap;
}

.about-mission-text .btn,
.about-message-text .btn {
  font-family: var(--font-sans);
  border-radius: 0;
  letter-spacing: 0.06em;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .about-hero-inner,
  .about-message-inner,
  .about-profile-grid,
  .about-mission-inner {
    grid-template-columns: 1fr;
  }

  .about-aside:not(.about-aside-on-media) {
    justify-self: start;
  }

  .about-aside-on-media,
  .about-message-aside {
    display: none;
  }

  .about-message-bg {
    background:
      linear-gradient(
        180deg,
        rgba(244, 246, 248, 0.94) 0%,
        rgba(244, 246, 248, 0.82) 48%,
        rgba(244, 246, 248, 0.28) 100%
      ),
      url("../assets/about-message.jpg")
        center 18% / cover no-repeat;
  }

  .about-profile-visual {
    min-height: 280px;
  }
}

@media (max-width: 640px) {
  .about-hero,
  .about-message,
  .about-mission {
    display: flex;
    align-items: center;
    min-height: 420px;
  }

  .about-hero-bg,
  .about-message-bg,
  .about-mission-bg {
    position: absolute;
    inset: 0;
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .about-hero-bg {
    background:
      linear-gradient(180deg, rgba(246, 244, 241, 0.9) 0%, rgba(246, 244, 241, 0.74) 52%, rgba(246, 244, 241, 0.4) 100%),
      url("../assets/about-hero.jpg") 68% center / cover no-repeat;
  }

  .about-message-bg {
    background-color: #f4f6f8;
    background-image:
      linear-gradient(180deg, rgba(244, 246, 248, 0.9) 0%, rgba(244, 246, 248, 0.7) 55%, rgba(244, 246, 248, 0.38) 100%),
      url("../assets/about-message.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center, center 16%;
  }

  .about-mission-bg {
    background:
      linear-gradient(180deg, rgba(246, 243, 238, 0.9) 0%, rgba(246, 243, 238, 0.72) 52%, rgba(246, 243, 238, 0.38) 100%),
      url("../assets/about-mission.png") 70% center / cover no-repeat;
  }

  .about-hero-inner,
  .about-message-inner,
  .about-mission-inner {
    padding-block: 2.25rem;
  }

  .about-aside {
    display: none;
  }

  .breadcrumb-inner,
  .about-label,
  .about-eyebrow {
    font-size: 0.6875rem;
  }

  .about-title {
    font-size: 1.45rem;
  }

  .about-en {
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
  }

  .about-lead,
  .about-desc,
  .about-message-text > p:not(.about-label):not(.about-sign),
  .about-mission-text > p:not(.about-label):not(.about-section-en-inline),
  .profile-table {
    font-size: 0.8125rem;
  }

  .about-message-text h2,
  .about-mission-text h2,
  .about-section-header h2 {
    font-size: 1.2rem;
  }

  .about-profile {
    padding-block: 2.5rem;
  }

  .about-section-header {
    margin-bottom: 1.25rem;
  }

  .about-profile-visual {
    min-height: 210px;
  }

  .profile-table th,
  .profile-table td {
    display: block;
    width: 100%;
    padding: 0.65rem 1rem;
  }

  .profile-table th {
    padding-bottom: 0.15rem;
    border-bottom: none;
    white-space: normal;
  }

  .profile-table td {
    padding-top: 0.15rem;
    overflow-wrap: anywhere;
  }

  .about-message-text .btn,
  .about-mission-text .btn {
    width: 100%;
    justify-content: center;
  }
}
