/* ===== Company Page Styles (styles9.css) ===== */

/* ===== Header Dropdown (shared) ===== */
.header-dropdown-wrap {
  position: relative;
}
.header-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: linear-gradient(135deg, rgba(251,233,237,0.5), rgba(234,244,255,0.5));
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 4px 20px rgba(0,0,0,0.06), 0 1px 0 rgba(255,255,255,0.5) inset;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  z-index: 100;
}
.header-dropdown.open {
  max-height: 200px;
  opacity: 1;
}
.header-dropdown-item {
  padding: 12px 24px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-primary);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s;
}
.header-dropdown-item:hover {
  background: rgba(117,177,255,0.12);
}
.header-nav-item .dropdown-icon {
  transition: transform 0.3s;
}
.header-nav-item.dropdown-open .dropdown-icon {
  transform: rotate(180deg);
}

/* ===== Shared Section Styles ===== */
.s9-section-icon {
  width: 48px;
  height: 66px;
  flex-shrink: 0;
}
.s9-section-header {
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
}
.s9-jp-title-row {
  display: flex;
  align-items: center;
}
.s9-jp-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.5;
  color: #0a0a0a;
}
.s9-en-label {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 80px;
  line-height: 1;
  letter-spacing: -0.8px;
  text-transform: capitalize;
  opacity: 0.08;
  margin-bottom: -40px;
  padding-bottom: 10px;
  white-space: nowrap;
}

/* ===== FV (Hero) ===== */
.s9-fv {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  height: 581px;
  overflow: hidden;
}
.s9-fv-deco {
  position: absolute;
  right: -100px;
  top: 60px;
  width: 600px;
  height: 460px;
  background: radial-gradient(ellipse at 30% 50%, rgba(117,177,255,0.15) 0%, transparent 70%),
              radial-gradient(ellipse at 70% 40%, rgba(255,117,118,0.12) 0%, transparent 70%),
              radial-gradient(ellipse at 50% 70%, rgba(180,130,255,0.08) 0%, transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
}
.s9-fv-image {
  position: absolute;
  right: 160px;
  top: 175px;
  width: 643px;
  height: 337px;
  border-radius: 24px;
  overflow: hidden;
  opacity: 0;
  transform: translateX(100px);
  animation: s9-slide-in-right 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}
@keyframes s9-slide-in-right {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.s9-fv-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s9-fv-content {
  position: absolute;
  left: 160px;
  top: 175px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  z-index: 1;
}
.s9-fv-en {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 96px;
  line-height: 1;
  letter-spacing: -0.96px;
  text-transform: capitalize;
  padding-bottom: 10px;
}
.s9-fv-title-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.s9-fv-title-row {
  display: flex;
  align-items: center;
}
.s9-fv-title-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.5;
  color: var(--text-primary);
}
.s9-fv-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  color: var(--text-primary);
}

/* ===== Content Layout ===== */
.s9-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 160px 0;
  display: flex;
  flex-direction: column;
  gap: 88px;
}
.s9-section {
  scroll-margin-top: 120px;
}

/* ===== Mission Statement ===== */
.s9-mission-content {
  display: flex;
  flex-direction: column;
  gap: 44px;
}
.s9-mission-main-copy {
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  background: #fff;
  box-shadow: 0px 12px 24px rgba(0,0,0,0.06);
}
.s9-mission-main-copy h3 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.4;
  color: #2E3F63;
}
.s9-mission-sub-copy {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 2.05;
  letter-spacing: 2.4px;
  color: #1E2A44;
}

/* ===== Company Overview Section (full-width) ===== */
.s9-company-section {
  position: relative;
  width: 100%;
  margin-top: 88px;
  padding: 80px 0 120px;
  overflow: hidden;
}
.s9-rectangle10 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 294px;
  z-index: 0;
}
.s9-rectangle10 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s9-rectangle10-overlay {
  position: absolute;
  inset: 0;
  background: rgba(243,184,196,0.44);
}
.s9-company-inner {
  position: relative;
  z-index: 1;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 160px;
  display: flex;
  gap: 48px;
  align-items: flex-start;
}
.s9-company-left {
  flex: 1;
  min-width: 0;
  padding-top: 240px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.s9-company-desc p {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-primary);
}
.s9-company-en {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 1.1;
}
.s9-company-right {
  width: 548px;
  flex-shrink: 0;
}
.s9-company-table {
  background: linear-gradient(90deg, #75B1FF 0%, #FF7576 100%);
  border-radius: 16px;
  padding: 32px 16px;
}
.s9-company-table-heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.5;
  color: #fff;
  margin-bottom: 24px;
}
.s9-company-table-body {
  display: flex;
  flex-direction: column;
}
.s9-table-row {
  display: flex;
  align-items: flex-start;
}
.s9-table-label {
  width: 140px;
  flex-shrink: 0;
  padding: 8px 4px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: #fff;
}
.s9-table-value {
  flex: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 12px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: #fff;
}
.s9-table-divider {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: #fff;
  flex-shrink: 0;
  margin-top: 5px;
}

/* ===== Representative Message Cards ===== */
.s9-message-cards {
  display: flex;
  gap: 12px;
}
.s9-message-card {
  flex: 1;
  min-width: 0;
  border-radius: 12px;
  padding: 20px 16px;
  box-shadow: 0px 0px 32px rgba(74,111,165,0.12);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.s9-message-card-pink {
  background: #FF7576;
}
.s9-message-card-blue {
  background: #75B1FF;
}
.s9-message-card-header {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.s9-message-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 4px;
  border-radius: 6px;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
  align-self: flex-start;
}
.s9-badge-pink {
  background: #fff;
  color: #FF7576;
}
.s9-badge-blue {
  background: #fff;
  color: #75B1FF;
}
.s9-message-name-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}
.s9-message-name-jp {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  color: #fff;
}
.s9-message-name-en {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.56px;
  color: #fff;
}
.s9-message-card-body {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.s9-message-card-body p {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 2.2;
  color: #fff;
}

/* ===== Advisor Message Cards ===== */
.s9-advisor-cards {
  display: flex;
  gap: 12px;
}
.s9-advisor-card {
  flex: 1;
  min-width: 0;
  border-radius: 12px;
  padding: 20px 16px;
  background: linear-gradient(180deg, #FBE9ED 0%, #EAF4FF 100%);
  box-shadow: 0px 0px 32px rgba(74,111,165,0.12);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}
.s9-advisor-photo-wrap {
  position: absolute;
  top: 4px;
  right: 8px;
  width: 171px;
  height: 146px;
  overflow: hidden;
  pointer-events: none;
}
.s9-advisor-card:nth-child(2) .s9-advisor-photo-wrap {
  top: 0;
  right: 19px;
  width: 145px;
  height: 146px;
}
.s9-advisor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.s9-advisor-photo-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(243,238,246,0) 67%, #f3eef6 100%);
}
.s9-advisor-card-header {
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  z-index: 1;
}
.s9-advisor-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 3px 4px;
  border-radius: 6px;
  background: linear-gradient(90deg, #75B1FF, #FF7576);
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
  color: #fff;
  align-self: flex-start;
}
.s9-advisor-name-jp {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  color: #333;
}
.s9-advisor-name-en {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.5;
  letter-spacing: 0.56px;
  color: #333;
}
.s9-advisor-affiliation {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  color: #333;
}
.s9-advisor-affiliation-label {
  font-size: 12px;
  line-height: 1.8;
  white-space: nowrap;
}
.s9-advisor-affiliation-text {
  font-size: 10px;
  line-height: 1.6;
}
.s9-advisor-affiliation-text p {
  margin: 0;
}
.s9-advisor-card-body {
  position: relative;
  z-index: 1;
}
.s9-advisor-card-body p {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 2.2;
  color: #333;
  margin: 0;
}

/* ============================================= */
/* ===== SP Responsive (max-width: 767px) ===== */
/* ============================================= */
@media (max-width: 767px) {

  body { overflow-x: hidden; }

  /* ===== FV ===== */
  .s9-fv {
    height: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .s9-fv-deco { display: none; }
  .s9-fv-content {
    position: relative;
    left: auto;
    top: auto;
    padding: 72px 12px 24px;
    gap: 24px;
    width: 100%;
    box-sizing: border-box;
    order: 1;
  }
  .s9-fv-en {
    font-size: 48px;
    line-height: 1.1;
    letter-spacing: 0;
  }
  .s9-fv-title-group { gap: 0; }
  .s9-fv-title-text { font-size: 20px; }
  .s9-fv-desc {
    font-size: 15px;
    white-space: normal;
  }
  .s9-fv-desc br { display: none; }
  .s9-fv-image {
    position: relative;
    right: auto;
    top: auto;
    width: calc(100% - 24px);
    height: 184px;
    margin: 0 12px;
    border-radius: 16px;
    opacity: 1;
    transform: none;
    animation: none;
    order: 2;
  }
  .s9-section-icon { width: 48px; height: 66px; }

  /* ===== Content ===== */
  .s9-content {
    padding: 44px 12px 0;
    gap: 44px;
  }
  .s9-section { scroll-margin-top: 60px; }

  /* ===== Section Headers ===== */
  .s9-section-header {
    padding-bottom: 24px;
  }
  .s9-section-header-center {
    align-items: center;
    text-align: center;
  }
  .s9-en-label {
    font-size: 48px;
    line-height: 1.1;
    opacity: 0.08;
    margin-bottom: -40px;
    padding-bottom: 10px;
  }
  .s9-jp-title { font-size: 20px; }
  .s9-jp-title-row {
    justify-content: center;
  }

  /* ===== Mission ===== */
  .s9-mission-main-copy {
    display: inline-flex;
  }
  .s9-mission-main-copy h3 {
    font-size: 20px;
  }
  .s9-mission-sub-copy {
    font-size: 15px;
    letter-spacing: 1px;
  }

  /* ===== Company Overview ===== */
  .s9-company-section {
    margin-top: 44px;
    padding: 44px 0;
  }
  .s9-rectangle10 { height: 160px; }
  .s9-company-inner {
    padding: 0 12px;
    flex-direction: column;
    gap: 32px;
  }
  .s9-company-left {
    padding-top: 160px;
    gap: 20px;
  }
  .s9-company-desc p {
    font-size: 15px;
    color: #525252;
  }
  .s9-company-en {
    font-size: 32px;
    line-height: 1.1;
  }
  .s9-company-right {
    width: 100%;
  }
  .s9-company-table {
    padding: 16px 12px;
    border-radius: 12px;
  }
  .s9-company-table-heading {
    font-size: 20px;
    margin-bottom: 12px;
  }
  .s9-table-label {
    font-size: 15px;
    width: 105px;
  }
  .s9-table-value {
    font-size: 15px;
    gap: 8px;
  }
  .s9-table-divider {
    height: auto;
    align-self: stretch;
    margin-top: 0;
  }

  /* ===== Representative Message ===== */
  .s9-message-cards {
    flex-direction: column;
    gap: 12px;
  }
  .s9-message-card {
    padding: 16px 12px;
    gap: 20px;
    border-radius: 12px;
  }
  .s9-message-badge {
    font-size: 12px;
    padding: 3px 4px;
  }
  .s9-message-name-jp {
    font-size: 20px;
  }
  .s9-message-name-en {
    font-size: 12px;
    letter-spacing: 0.36px;
  }
  .s9-message-card-body p {
    font-size: 13px;
    line-height: 2.2;
  }

  /* ===== Advisor Message ===== */
  .s9-advisor-cards {
    flex-direction: column;
    gap: 12px;
  }
  .s9-advisor-card {
    padding: 20px 12px;
    border-radius: 12px;
    gap: 20px;
  }
  .s9-advisor-card:nth-child(2) {
    padding: 16px 12px;
  }
  .s9-advisor-photo-wrap {
    width: 121px;
    height: 122px;
    right: 0;
    top: 0;
  }
  .s9-advisor-card:nth-child(2) .s9-advisor-photo-wrap {
    width: 121px;
    height: 122px;
    right: 0;
    top: 0;
  }
  .s9-advisor-name-jp { font-size: 20px; }
  .s9-advisor-name-en { font-size: 14px; }
  .s9-advisor-card-body p { font-size: 12px; line-height: 2.2; }

}
