/* ======================================================
   About Us 固有スタイル
====================================================== */

/* ---- About Hero ---- */
.about-hero {
  min-height: 86vh;
  display: flex;
  align-items: center;
  padding: 212px 0 156px;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.about-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(246,247,247,0.64) 100%),
    radial-gradient(circle at 82% 18%, rgba(0, 128, 128, 0.05) 0%, rgba(0, 128, 128, 0) 34%);
  pointer-events: none;
}

.about-hero-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  position: relative;
  z-index: 2;
}

.about-hero-heading {
  max-width: 100%;
}

.about-hero-label {
  opacity: 0;
  animation: fadeUp 0.7s ease 0.15s forwards;
}

.hero-en-sub {
  font-family: var(--font-en-heading);
  font-size: clamp(52px, 6.1vw, 88px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: 0.028em;
  color: var(--charcoal);
  opacity: 0;
  animation: fadeUp 0.9s ease 0.28s forwards;
}

.hero-en-sub em {
  font-style: italic;
  color: var(--teal);
}

.hero-title-ja {
  font-family: var(--font-ja-heading);
  font-size: clamp(42px, 4.9vw, 68px);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: 0.01em;
  color: var(--charcoal);
}

.hero-title-prefix {
  display: inline-block;
  margin-right: 0.16em;
  font-size: 1em;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: #465257;
}

.hero-title-core {
  color: var(--teal);
  letter-spacing: 0.01em;
}

.hero-ja-main {
  font-family: var(--font-ja-heading);
  font-size: clamp(20px, 1.7vw, 25px);
  font-weight: 400;
  color: #5b666b;
  margin: 24px 0 0;
  max-width: 820px;
  line-height: 1.9;
  letter-spacing: 0.015em;
  opacity: 0;
  animation: fadeUp 0.9s ease 0.45s forwards;
}

.about-hero-copy {
  width: 100%;
  max-width: none;
  margin-top: 74px;
}

.hero-body-flow {
  width: 100%;
  max-width: none;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 0;
  padding: 36px 32px 30px;
  border: 1px solid rgba(24, 37, 42, 0.14);
  border-radius: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(251,252,252,0.94) 100%);
  box-shadow: 0 16px 36px rgba(17, 39, 45, 0.045);
  backdrop-filter: blur(6px);
}

.hero-body-flow-animate {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeCardIn 1s cubic-bezier(0.22, 1, 0.36, 1) 0.58s forwards;
}

.hero-body-flow::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  width: 96px;
  height: 1px;
  background: rgba(24, 37, 42, 0.52);
}

.hero-body-text {
  font-size: clamp(16px, 1.18vw, 18px);
  line-height: 2.2;
  color: #223035;
  margin: 0;
  max-width: none;
  width: 100%;
  letter-spacing: 0.02em;
  opacity: 0;
  animation: fadeUp 0.9s ease forwards;
}

.hero-body-text + .hero-body-text {
  margin-top: 0;
}

.hero-body-text:first-child {
  padding-right: 0;
  border-right: 0;
}

.hero-body-text:last-child {
  padding-left: 0;
}

.hero-body-flow .hero-body-text:nth-child(1) { animation-delay: 0.58s; }
.hero-body-flow .hero-body-text:nth-child(2) { animation-delay: 0.68s; }
.hero-body-flow .hero-body-text:nth-child(3) { animation-delay: 0.78s; }
.hero-body-flow .hero-body-text:nth-child(4) { animation-delay: 0.88s; }
.hero-body-flow .hero-body-text:nth-child(5) { animation-delay: 0.98s; }

/* ---- Mission ---- */
.mission-section {
  padding: var(--section-gap) 0;
  background: var(--teal);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.mission-section::before {
  content: 'MISSION';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-en-heading);
  font-size: 160px;
  font-weight: 300;
  color: rgba(255,255,255,0.05);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.1em;
}

.mission-label {
  font-family: var(--font-ui);
  font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.mission-label::before,
.mission-label::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,0.3);
}

.mission-ja {
  font-family: var(--font-ja-heading);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 40px;
}

.mission-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  line-height: 1.85;
  max-width: 560px;
  margin: 0 auto;
}

/* ---- Vision ---- */
.vision-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.vision-text {}

.vision-copy {
  font-family: var(--font-ja-heading);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 28px;
}

.vision-copy em {
  font-style: normal;
  color: var(--teal);
}

.vision-body {
  font-size: 17px;
  color: var(--charcoal);
  line-height: 1.85;
}

/* ビジョンロードマップ */
.vision-roadmap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 48px;
}

.roadmap-title {
  font-family: var(--font-ui);
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.roadmap-title::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--teal);
}

.roadmap-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.roadmap-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.roadmap-step.reveal .step-num,
.roadmap-step.reveal .step-line {
  opacity: 0;
}

.roadmap-step.reveal .step-num {
  transform: scale(0.82);
  transition: opacity 0.45s ease 0.14s, transform 0.45s ease 0.14s;
}

.roadmap-step.reveal .step-line {
  transform: scaleY(0);
  transform-origin: top center;
  transition: opacity 0.5s ease 0.22s, transform 0.7s ease 0.22s;
}

.roadmap-step.reveal.visible .step-num,
.roadmap-step.reveal.visible .step-line {
  opacity: 1;
}

.roadmap-step.reveal.visible .step-num {
  transform: none;
}

.roadmap-step.reveal.visible .step-line {
  transform: scaleY(1);
}

.roadmap-step-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step-line {
  width: 2px;
  flex: 1;
  background: var(--border);
  margin: 4px 0;
  min-height: 32px;
}

.roadmap-step:last-child .step-line {
  display: none;
}

.step-body {
  padding-bottom: 28px;
}

.step-label {
  font-family: var(--font-ui);
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 4px;
}

.step-title {
  font-family: var(--font-ja-heading);
  font-size: 18px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 15px;
  color: var(--mid-gray);
  line-height: 1.78;
}

/* ---- Core Values ---- */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px 36px;
  transition: border-color 0.25s, transform 0.25s;
}

.value-card:hover {
  border-color: var(--teal);
  transform: translateY(-4px);
}

.value-icon {
  width: 48px;
  height: 48px;
  background: rgba(134,202,182,0.15);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.value-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-en {
  font-family: var(--font-en-heading);
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 8px;
}

.value-ja {
  font-family: var(--font-ja-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.value-body {
  font-size: 16px;
  color: var(--mid-gray);
  line-height: 1.8;
}

/* ---- Values 総括 ---- */
.values-manifesto {
  margin-top: 56px;
  padding: 48px;
  background: rgba(134,202,182,0.08);
  border-left: 3px solid var(--teal);
  border-radius: 0 4px 4px 0;
}

.values-manifesto p {
  font-family: var(--font-ja-heading);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.75;
}

.values-manifesto em {
  font-style: normal;
  color: var(--teal);
}

/* ---- CEO Message ---- */
.ceo-section {
  padding: var(--section-gap) 0;
  background: var(--light-gray);
}

.ceo-inner {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 80px;
  align-items: start;
}

.ceo-profile {
  position: sticky;
  top: 100px;
}

.ceo-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 24px;
  background: linear-gradient(135deg, rgba(0,128,128,0.1) 0%, rgba(134,202,182,0.15) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ceo-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* フォールバック（画像なし時） */
.ceo-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, rgba(0,128,128,0.08) 0%, rgba(134,202,182,0.12) 100%);
  border-radius: 4px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  gap: 16px;
}

.ceo-img-placeholder svg {
  width: 64px;
  height: 64px;
  stroke: var(--teal);
  fill: none;
  stroke-width: 1;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.5;
}

.ceo-img-placeholder span {
  font-size: 15px;
  color: var(--mid-gray);
}

.ceo-name {
  font-family: var(--font-ja-heading);
  font-size: 22px;
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.ceo-name-en {
  font-family: var(--font-en-heading);
  font-size: 15px;
  letter-spacing: 0.12em;
  color: var(--mid-gray);
  margin-bottom: 12px;
}

.ceo-title {
  font-size: 15px;
  color: var(--teal);
  margin-bottom: 16px;
}

.ceo-contact {
  font-size: 15px;
  color: var(--mid-gray);
  line-height: 1.8;
}

.ceo-contact a {
  color: var(--teal);
  transition: color 0.2s;
}

.ceo-contact a:hover {
  color: var(--deep-teal);
}

/* CEO本文 */
.ceo-message-body {}

.ceo-lead {
  font-family: var(--font-ja-heading);
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.5;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.ceo-text {
  font-size: 17px;
  color: var(--charcoal);
  line-height: 1.85;
  margin-bottom: 20px;
}

/* CEOキャリア */
.ceo-career {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.ceo-career-label {
  font-family: var(--font-ui);
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ceo-career-label::before {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--teal);
}

.career-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.career-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.career-item.reveal .career-dot,
.career-item.reveal .career-vline {
  opacity: 0;
}

.career-item.reveal .career-dot {
  transform: scale(0.8);
  transition: opacity 0.45s ease 0.14s, transform 0.45s ease 0.14s;
}

.career-item.reveal .career-vline {
  transform: scaleY(0);
  transform-origin: top center;
  transition: opacity 0.5s ease 0.22s, transform 0.7s ease 0.22s;
}

.career-item.reveal.visible .career-dot,
.career-item.reveal.visible .career-vline {
  opacity: 1;
}

.career-item.reveal.visible .career-dot {
  transform: none;
}

.career-item.reveal.visible .career-vline {
  transform: scaleY(1);
}

.career-dot-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.career-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mint);
  border: 2px solid var(--teal);
  flex-shrink: 0;
}

.career-vline {
  width: 2px;
  flex: 1;
  background: var(--border);
  min-height: 24px;
  margin: 2px 0;
}

.career-item:last-child .career-vline {
  display: none;
}

.career-body {
  padding-bottom: 28px;
}

.career-period {
  font-family: var(--font-ui);
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 4px;
}

.career-desc {
  font-size: 15px;
  color: var(--charcoal);
  line-height: 1.8;
}

/* ---- CTA ---- */
.about-cta {
  padding: var(--section-gap) 0;
  background: var(--teal);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-cta::before {
  content: 'TOGETHER';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  font-family: var(--font-en-heading);
  font-size: 140px;
  font-weight: 300;
  color: rgba(255,255,255,0.04);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.1em;
}

/* ---- キーフレーム ---- */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeCardIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---- レスポンシブ ---- */
@media (max-width: 1024px) {
  .about-hero {
    padding: 176px 0 112px;
  }

  .about-hero-heading {
    max-width: 100%;
  }

  .about-hero-copy {
    width: 100%;
    max-width: none;
    margin-top: 70px;
  }

  .hero-body-flow {
    width: 100%;
    gap: 24px;
    padding: 34px 28px 30px;
  }

  .hero-body-text:first-child {
    padding-right: 0;
    padding-bottom: 0;
    border-right: 0;
    border-bottom: 0;
  }

  .hero-body-text:last-child {
    padding-left: 0;
  }

  .vision-content {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ceo-inner {
    grid-template-columns: 1fr;
  }

  .ceo-profile {
    position: static;
  }

  /* インラインgridのCEOセクション (about.php) */
  .ceo-content {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 767px) {
  .about-hero {
    min-height: auto;
    padding: 146px 0 88px;
  }

  .about-hero-heading {
    max-width: none;
  }

  .about-hero-copy {
    width: 100%;
    margin-top: 52px;
    max-width: none;
  }

  .hero-body-flow {
    width: 100%;
    gap: 18px;
    padding: 24px 14px 20px;
    border-radius: 0;
  }

  .hero-body-flow::before {
    width: 64px;
    left: -1px;
    content: '';
  }

  .hero-title-ja {
    font-size: clamp(34px, 9vw, 46px);
    letter-spacing: 0.01em;
    line-height: 1.22;
  }

  .hero-title-prefix {
    margin-right: 0.14em;
    font-size: 1em;
    letter-spacing: 0.01em;
  }

  .hero-ja-main {
    margin-top: 18px;
  }

  .hero-lead-text {
    font-size: clamp(22px, 7vw, 30px);
  }

  .hero-body-text {
    font-size: 15px;
    line-height: 2.0;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .values-manifesto {
    padding: 28px;
  }

  .ceo-lead {
    font-size: 18px;
  }
}
