.ceo-hero {
  padding: 52px 0 30px;
  background: linear-gradient(180deg, rgba(233, 239, 248, 0.78), rgba(229, 235, 244, 0.62));
  border-bottom: 1px solid #d8dfea;
}

.ceo-eyebrow {
  margin-bottom: 12px;
  color: #6d7890;
  font-family: var(--font-en);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
}

.ceo-lead {
  max-width: 58ch;
  color: #4a5770;
  font-size: 0.96rem;
  letter-spacing: 0.035em;
  line-height: 1.9;
}

.ceo-section {
  padding-top: 22px;
  padding-bottom: 12px;
  overflow-x: hidden;
}

.ceo-card {
  position: relative;
  width: 100%;
  max-width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: stretch;
  min-width: 0;
  border: 1px solid #d4dce8;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(158deg, rgba(255, 255, 255, 0.93), rgba(245, 249, 255, 0.84));
  box-shadow: 0 12px 26px rgba(24, 30, 40, 0.078), inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.ceo-card::before {
  display: none;
}

.ceo-photo-wrap {
  flex: 1 1 320px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.ceo-photo-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  flex-shrink: 0;
  min-height: 440px;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.82) saturate(0.9) blur(0.35px);
}

.ceo-content {
  position: relative;
  flex: 1 1 420px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 40px min(40px, 4vw) 40px 0;
}

@media (min-width: 1181px) {
  .ceo-card {
    flex-wrap: nowrap;
  }

  .ceo-photo-wrap {
    flex: 0 1 380px;
    width: auto;
  }

  .ceo-content {
    flex: 1 1 0;
    width: auto;
  }
}

.ceo-content::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% - 8px);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #c7ccd5 0%, #646f7f 100%);
}

.ceo-content h2 {
  display: inline-block;
  margin-bottom: 22px;
  padding-bottom: 12px;
  color: #253750;
  font-family: var(--font-en);
  font-size: 1.06rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  border-bottom: 1px solid #d6deea;
}

.ceo-content p {
  margin-bottom: 16px;
  color: #314057;
  font-size: 0.93rem;
  letter-spacing: 0.024em;
  line-height: 2.08;
  display: block;
  max-width: 100%;
  white-space: normal;
  text-wrap: auto;
  word-break: normal;
  overflow-wrap: anywhere;
  line-break: auto;
}

.sp-break {
  display: none;
}

.ceo-sign {
  margin-top: 28px;
  margin-bottom: 0;
  position: relative;
  text-align: right;
  color: #33445f;
  font-family: var(--font-en), var(--font-sans);
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.1em;
  font-size: 0.98rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
}

.ceo-sign::before {
  content: "";
  position: absolute;
  top: -12px;
  right: 0;
  width: 170px;
  height: 1px;
  background: linear-gradient(90deg, rgba(146, 159, 180, 0), rgba(146, 159, 180, 0.7));
}

.nav a.is-current::after {
  transform: scaleX(1);
}

@media (max-width: 1180px) {
  .ceo-card {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
  }

  .ceo-photo-wrap img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 320px;
  }

  .ceo-content {
    width: 100%;
    max-width: 100%;
    padding: 30px 24px 28px;
  }
}

@media (max-width: 900px) {
  .ceo-hero {
    padding-top: 40px;
    padding-bottom: 18px;
  }

  .ceo-hero .section-title {
    margin-bottom: 0;
    font-size: clamp(1.36rem, 7.2vw, 1.72rem);
    letter-spacing: 0.08em;
  }

  .ceo-eyebrow {
    margin-bottom: 8px;
    font-size: 0.64rem;
    letter-spacing: 0.2em;
  }

  .ceo-lead {
    font-size: 0.9rem;
    line-height: 1.82;
  }

  .ceo-section {
    padding-top: 16px;
    padding-bottom: 8px;
  }

  .ceo-card {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 26px rgba(19, 30, 47, 0.12);
  }

  .ceo-content::after {
    width: calc(100% - 10px);
  }

  .ceo-photo-wrap img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 260px;
  }

  .ceo-content {
    padding: 24px 18px 22px;
    width: 100%;
    max-width: 100%;
  }

  .ceo-content h2 {
    font-size: 0.96rem;
    margin-bottom: 14px;
  }

  .ceo-content p {
    font-size: 0.9rem;
    line-height: 1.88;
    margin-bottom: 13px;
    letter-spacing: 0.01em;
    text-wrap: auto;
    word-break: normal;
    overflow-wrap: anywhere;
    line-break: auto;
  }

  .ceo-sign {
    margin-top: 20px;
    font-size: 0.86rem;
    letter-spacing: 0.04em;
    font-style: normal;
  }

  .ceo-sign::before {
    width: 120px;
    top: -10px;
  }

  .sp-break {
    display: inline;
  }
}

/* Final Safari / WebKit width guard */
body,
main,
.ceo-section,
.ceo-section .container{
  max-width: 100vw !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
}

.ceo-card {
  box-sizing: border-box !important;
  max-width: 100vw !important;
  overflow-x: hidden !important;
}

@media (min-width: 901px) {
  .ceo-card {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .ceo-photo-wrap {
    box-sizing: border-box !important;
    flex: 0 0 30% !important;
    width: 30% !important;
    max-width: 30% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  .ceo-content {
    box-sizing: border-box !important;
    flex: 0 0 65% !important;
    width: 65% !important;
    max-width: 65% !important;
    min-width: 0 !important;
    padding: 40px 32px 40px 0 !important;
    overflow-wrap: anywhere !important;
  }

  .ceo-content h2,
  .ceo-content p,
  .ceo-sign {
    display: block !important;
    max-width: 100% !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    line-break: auto !important;
  }

  .ceo-photo-wrap img {
    width: 100% !important;
    max-width: 100% !important;
    flex-shrink: 0 !important;
    object-fit: cover !important;
  }
}

@media (max-width: 900px) {
  .ceo-card,
  .ceo-photo-wrap,
  .ceo-content {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 auto !important;
  }
}
