/* =============================================
   About Page
   ============================================= */

/* --- Page Hero --- */
.about-hero {
  background: var(--primary);
  padding: 5rem 48px;
  text-align: center;
}

.about-hero .hero-eng {
  font-size: 60px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.about-hero .hero-jp {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0;
}

/* --- Anchor Nav --- */
.about-nav {
  display: flex;
  justify-content: center;
  gap: 0;
  border-bottom: 1px solid #e0e0e0;
  padding: 80px 0;
}

.about-nav a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 200px;
  height: 48px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  border: 2px solid var(--primary);
  border-radius: 50px;
  background: #fff;
  transition: background 0.3s, color 0.3s;
}

.about-nav a:hover {
  background: var(--primary);
  color: #fff;
  opacity: 1;
}

.about-nav a i {
  font-size: 12px;
}

.bi::before,
[class*=" bi-"]::before,
[class^=bi-]::before {
  font-weight: 700 !important;
}

/* --- About Section --- */
.about-detail-section {
  padding: 50px 0 0;
  background: #fff;
}

.about-detail-section .about-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.about-detail-section .about-text p {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 2;
  margin-bottom: 24px;
}

/* --- Photo Gallery --- */
.about-gallery {
  padding: 80px 0;
  display: flex;
  gap: 50px;
  overflow: hidden;
}

.about-gallery-item {
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
}

.about-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 3/2;
}

/* --- Philosophy Section --- */
.philosophy-section {
  padding: 50px 0 80px;
  background: linear-gradient(to bottom, rgb(255 255 255 /1) 0%, rgb(240 248 255/1)100%);
}

.philosophy-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.philosophy-section .philosophy-text p {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 2;
  margin-bottom: 24px;
}

/* --- Message Section --- */
.message-section {
  padding: 50px 0 80px;
  background: var(--bg-light);
}

.message-ceo-area {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  margin-bottom: 40px;
}

.message-ceo-area img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.message-ceo-area .ceo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.55) 100%);
}

.message-ceo-area .ceo-info {
  position: absolute;
  bottom: 30px;
  left: 40px;
  color: #fff;
  text-align: start;
}

.message-ceo-area .ceo-info .ceo-title {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 0;
}

.message-ceo-area .ceo-info .ceo-name {
  font-size: 28px;
  font-weight: 700;
  margin: 0;
  line-height: 1;
}

.message-content .message-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.8;
  margin-bottom: 32px;
}

.message-content .message-text p {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 2;
  margin-bottom: 24px;
}

.message-photos {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message-photos img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

.message-closing {
  font-size: 18px;
  font-weight: bold !important;
  color: var(--text-dark);
  line-height: 2;
  text-align: start;
}

/* --- Overview Section --- */
.overview-section {
  padding: 50px 0 80px;
  background: #fff;
}

.overview-list {
  margin: 0;
}

.overview-item {
  border-bottom: 1px solid #e0e0e0;
  padding: 20px 0;
}

.overview-item:first-child {
  border-top: 1px solid #e0e0e0;
}

.overview-item dt {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.overview-item dd {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.8;
  margin: 0;
}

.overview-item dd .note {
  font-size: 12px;
  color: var(--text-muted);
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .about-hero .hero-eng {
    font-size: 44px;
  }

  .message-ceo-area img {
    height: 400px;
  }
}

@media (max-width: 767px) {
  .about-hero {}

  .about-hero .hero-eng {
    font-size: 36px;
  }

  .about-nav {
    flex-wrap: wrap;
    padding: 40px 0;
  }

  .about-nav a {
    width: 45%;
    font-size: 13px;
    text-align: center;
    padding: 5px;
    height: auto;
  }

  .about-detail-section,
  .philosophy-section,
  .message-section,
  .overview-section {
    padding: 40px 0 50px;
    overflow: hidden;
  }

  .about-detail-section .about-heading,
  .message-content .message-heading {
    font-size: 20px;
  }

  /* --- Photo Gallery --- */
  .about-gallery {
    flex-direction: column;
    padding: 0;
  }

  .message-ceo-area img {
    height: 300px;
  }

  .message-ceo-area .ceo-info {
    bottom: 16px;
    right: 20px;
  }

  .message-ceo-area .ceo-info .ceo-name {
    font-size: 22px;
  }

  .message-photos {
    margin-top: 24px;
  }

  .message-closing {
    font-size: 16px;
  }

  .overview-item {
    padding: 16px 0;
  }

  .section-eng-title {
    font-size: 70px;
    margin-bottom: -30px;
  }
}