/* ===== Vision Page Styles (styles5.css) ===== */

/* ===== Header Dropdown (shared with s4) ===== */
.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 ===== */
.s5-section-icon {
  width: 48px;
  height: 66px;
  flex-shrink: 0;
}
.s5-section-header {
  display: flex;
  flex-direction: column;
  padding-bottom: 24px;
}
.s5-jp-title-row {
  display: flex;
  align-items: center;
}
.s5-jp-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 1.5;
  color: #333333;
}
.s5-en-label {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 96px;
  line-height: 1;
  letter-spacing: -0.96px;
  text-transform: capitalize;
  opacity: 0.08;
  margin-bottom: -40px;
  padding-bottom: 10px;
  white-space: nowrap;
}
.s5-section-lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
  text-align: center;
  margin-top: 16px;
}

/* ===== FV (Hero) ===== */
.s5-fv {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  height: 581px;
  overflow: hidden;
}
.s5-fv-image {
  position: absolute;
  right: 120px;
  top: 175px;
  width: 580px;
  height: 337px;
  border-radius: 24px;
  overflow: hidden;
  opacity: 0;
  transform: translateX(100px);
  animation: s5-slide-in-right 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}
@keyframes s5-slide-in-right {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.s5-fv-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s5-fv-content {
  position: absolute;
  left: 170px;
  top: 175px;
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.s5-fv-en {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 96px;
  line-height: 1;
  letter-spacing: -0.96px;
  text-transform: capitalize;
}
.s5-fv-title-group {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.s5-fv-title-row {
  display: flex;
  align-items: flex-start;
}
.s5-fv-title-text {
  display: flex;
  flex-direction: column;
}
.s5-fv-title-text h1 {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.5;
  color: var(--text-primary);
}
.s5-fv-title-text p {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.5;
  color: var(--text-primary);
}

/* ===== Layout ===== */
.s5-layout {
  display: flex;
  gap: 24px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 0 0;
  overflow: visible;
}
.s5-main {
  width: 834px;
  margin-left: 184px;
  display: flex;
  flex-direction: column;
  gap: 66px;
  overflow: visible;
}
.s5-section {
  scroll-margin-top: 120px;
}

/* ===== INDEX Sidebar ===== */
.s5-sidebar {
  width: 380px;
  flex-shrink: 0;
  margin-left: 24px;
  position: relative;
}
.s5-sidebar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0.5px;
  height: var(--sidebar-line-height, 100%);
  background: var(--text-light);
}
.s5-index-sticky {
  position: fixed;
  top: 120px;
  width: 380px;
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.3s, visibility 0.3s;
  will-change: transform;
  transform: translateZ(0);
}
.s5-index-sticky.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.s5-index-title {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 32px;
  line-height: 1.4;
  letter-spacing: 0.64px;
  color: var(--text-primary);
}
.s5-index-divider {
  width: 100%;
  height: 0.5px;
  background: var(--text-primary);
}
.s5-index-nav {
  display: flex;
  flex-direction: column;
}
.s5-index-item {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 12px 0;
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.3s;
}
.s5-index-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-light);
  flex-shrink: 0;
  transition: background 0.3s, box-shadow 0.3s;
  position: relative;
}
.s5-index-dot::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 1px;
  background: var(--text-light);
  transition: background 0.3s;
}
.s5-index-item:hover {
  color: var(--tear-vivid-blue);
}
.s5-index-item.active .s5-index-dot {
  background: var(--brand-vivid-pink);
  box-shadow: 0 0 8px rgba(255,117,118,0.6), 0 0 16px rgba(255,117,118,0.3);
}
.s5-index-item.active .s5-index-dot::after {
  background: var(--brand-vivid-pink);
}
.s5-index-item.active {
  font-weight: 500;
}

/* ===== Main Copy Section ===== */
.s5-main-copy {
  display: flex;
  justify-content: center;
}
.s5-main-copy-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.4;
  color: #2E3F63;
  background: #fff;
  padding: 0 12px;
  box-shadow: 0px 12px 24px rgba(0,0,0,0.06);
  display: inline-block;
}
.s5-main-copy-body {
  display: flex;
  gap: 48px;
  margin-top: 44px;
}
.s5-main-copy-lead {
  flex-shrink: 0;
}
.s5-main-copy-lead p {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 2.05;
  letter-spacing: 2.4px;
  color: #1E2A44;
}
.s5-main-copy-desc {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.s5-desc-block {
  padding: 16px 20px;
  border-radius: 12px;
}
.s5-desc-block p {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 1.92px;
  color: #333333;
}


/* ===== Providing Value Section ===== */
.s5-value-row {
  display: flex;
  gap: 24px;
  margin-top: 44px;
}
.s5-value-col {
  flex: 1;
  min-width: 0;
}
.s5-value-col-capsule {
  flex: 0 0 262px;
}
.s5-capsule-img {
  width: 262px;
  height: 385px;
  border-radius: 1000px;
  object-fit: cover;
}
.s5-value-heading {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.5;
  color: #0A0A0A;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.s5-value-heading-border {
  width: 2px;
  height: 28px;
  background: linear-gradient(180deg, #75B1FF, #FF7576);
  flex-shrink: 0;
}
.s5-value-img-overlay {
  position: relative;
  width: 100%;
  height: 264px;
  border-radius: 24px;
  overflow: hidden;
}
.s5-value-img-overlay img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s5-value-img-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(255,255,255,0.9), transparent);
}
.s5-overlay-text {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-family: 'Noto Serif JP', serif;
  font-weight: 700;
  font-size: 24px;
  letter-spacing: 0.96px;
  color: #0A0A0A;
  z-index: 1;
}
.s5-value-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: #364153;
}
.s5-value-note {
  background: #FBE9ED;
  border-radius: 12px;
  padding: 12px 8px;
  margin-top: 12px;
}
.s5-value-note p {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.6;
  color: #4A5565;
}

/* Value Grid (2x2) */
.s5-value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1.3px solid #0A0A0A;
}
.s5-grid-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  border: 0.65px solid #0A0A0A;
}
.s5-grid-label {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.4;
  color: #0A0A0A;
}
.s5-grid-value {
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.4;
  color: #0A0A0A;
}

/* Value Checklist */
.s5-value-checklist {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.s5-check-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.4;
  color: #0A0A0A;
}
.s5-checkbox {
  width: 41px;
  height: 41px;
  border: 2.6px solid #0A0A0A;
  border-radius: 4px;
  flex-shrink: 0;
  position: relative;
}
.s5-checkbox::after {
  content: '✓';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--brand-vivid-pink);
  font-weight: 700;
}

/* ===== Social Contribution Section ===== */
.s5-social-list {
  display: flex;
  flex-direction: column;
}
.s5-social-item {
  display: flex;
  gap: 44px;
  align-items: center;
  padding: 32px 0;
}
.s5-social-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.s5-social-text-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.s5-social-num {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 24px;
  line-height: 1.5;
  letter-spacing: 0.56px;
  color: #75B1FF;
  background: linear-gradient(90deg, #75B1FF, #FF7576);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.s5-social-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.5;
  color: #0A0A0A;
}
.s5-social-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: #666666;
}
.s5-social-image {
  width: 357px;
  height: 221px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.s5-social-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s5-social-divider {
  width: 100%;
  height: 1px;
  background: #999999;
}

/* ===== Feature / これからの健康社会 ===== */
.s5-feature-list {
  display: flex;
  flex-direction: column;
}
.s5-feature-item {
  display: flex;
  gap: 44px;
  align-items: center;
  padding: 32px 0;
}
.s5-feature-image {
  width: 357px;
  height: 221px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
}
.s5-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s5-feature-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.s5-feature-title {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.5;
  color: #0A0A0A;
}
.s5-feature-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: #666666;
}
.s5-feature-divider {
  width: 100%;
  height: 1px;
  background: #999999;
}

/* ===== CTA Banner ===== */
.s5-cta-banner {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 48px 24px 20px 198px;
}
.s5-cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.s5-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(255,255,255,0.95) 5%, transparent 60%);
}
.s5-cta-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  text-align: left;
}
.s5-cta-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 700;
  font-size: 42px;
  line-height: 1.4;
  color: #2E3F63;
}
.s5-cta-sub {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  color: #666666;
}

/* ===== Contact Section ===== */
.s5-contact-section {
  padding: 0 184px 80px;
  margin-top: 80px;
}
.s5-contact-card {
  background: rgba(255,255,255,0.44);
  border-radius: 12px;
  box-shadow: 0px 0px 32px 0px rgba(0,0,0,0.08);
  backdrop-filter: blur(4px);
  display: flex;
  gap: 24px;
  align-items: center;
  padding: 66px 44px;
}
.s5-contact-left {
  width: 599px;
  display: flex;
  flex-direction: column;
  gap: 66px;
}
.s5-contact-text {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.s5-contact-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.s5-contact-en {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
  font-size: 48px;
  line-height: 1;
  letter-spacing: -0.48px;
  color: var(--text-primary);
  margin-bottom: 16px;
}
.s5-contact-title {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 500;
  font-size: 28px;
  line-height: 1.5;
  color: var(--text-primary);
}
.s5-contact-desc {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-primary);
}
.s5-contact-buttons {
  display: flex;
  gap: 24px;
}
.s5-contact-btn {
  flex: 1;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 0.5px solid #fff;
  box-shadow: 0px 0px 12px 0px #F9D6DE;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}
.s5-contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0px 6px 24px 0px rgba(249, 214, 222, 0.6);
}
.s5-contact-btn span {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-primary);
}
.s5-contact-btn img {
  width: 24px;
  height: 24px;
  transform: rotate(180deg) scaleY(-1);
}
.s5-contact-image {
  flex: 1;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
}
.s5-contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== Decoration: right-side metaball placeholder ===== */
.s5-fv::before {
  content: '';
  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;
}

/* PC: SP-only elements hidden */
.s5-index-header { display: block; }
.s5-index-toggle { display: none; }

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

  body { overflow-x: hidden; }

  /* ===== FV ===== */
  .s5-fv {
    height: auto; overflow: hidden;
    display: flex; flex-direction: column;
  }
  .s5-fv-content {
    position: relative; left: auto; top: auto;
    padding: 72px 12px 24px; gap: 24px;
    width: 100%; box-sizing: border-box; order: 1;
  }
  .s5-fv-en { font-size: 48px; line-height: 1.1; letter-spacing: 0; }
  .s5-fv-title-group { gap: 0; }
  .s5-fv-title-text { font-size: 20px; }
  .s5-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;
    overflow: hidden;
  }

  /* ===== Layout ===== */
  .s5-layout {
    flex-direction: column; padding: 24px 12px 0;
    gap: 24px; max-width: 100%; overflow: hidden;
  }
  .s5-main {
    width: 100% !important; max-width: 100%;
    margin-left: 0 !important; min-width: 0;
  }

  /* ===== Sidebar / INDEX (accordion) ===== */
  .s5-sidebar {
    width: 100% !important; margin-left: 0 !important;
    position: relative; order: -1;
  }
  .s5-main {
    display: contents;
  }
  #vision-world { order: 0; }
  #providing-value { order: 1; }
  #social-contribution { order: 2; }
  #feature { order: 3; }
  .s5-cta-banner { order: 4; }
  .s5-sidebar::before { display: none; }
  .s5-index-sticky {
    position: relative !important; top: auto !important;
    width: 100%;
    opacity: 1 !important; visibility: visible !important; pointer-events: auto !important;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
    border-left: 0.5px solid #999;
    padding: 0 0 0 12px; border-radius: 0; box-shadow: none; gap: 12px;
  }
  .s5-index-header {
    display: flex; align-items: center; justify-content: space-between; cursor: pointer;
  }
  .s5-index-title { font-size: 24px; letter-spacing: 0.48px; }
  .s5-index-toggle {
    display: block; width: 34px; height: 34px;
    position: relative; flex-shrink: 0; overflow: hidden;
  }
  .s5-index-toggle::before, .s5-index-toggle::after {
    content: ''; position: absolute;
    background: linear-gradient(90deg, #75B1FF, #FF7576);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    transition: transform 0.3s;
  }
  .s5-index-toggle::before { width: 24px; height: 2px; }
  .s5-index-toggle::after { width: 2px; height: 24px; }
  .s5-index-sticky.is-index-open .s5-index-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
  }
  .s5-index-divider { height: 0.5px; background: #333; margin: 0; }
  .s5-index-nav {
    max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease; opacity: 0;
  }
  .s5-index-sticky.is-index-open .s5-index-nav { max-height: 500px; opacity: 1; }
  .s5-index-item { padding: 8px 0; font-size: 15px; gap: 36px; }

  /* ===== Section Headers ===== */
  .s5-section-header { padding-bottom: 24px; }
  .s5-en-label {
    font-size: 48px; line-height: 1.1; opacity: 0.08;
    margin-bottom: -40px; padding-bottom: 10px;
  }
  .s5-jp-title { font-size: 20px; }
  .s5-section { scroll-margin-top: 60px; margin-bottom: 44px; }
  .s5-section-icon { width: 48px; height: 66px; }
  .s5-section-lead { font-size: 14px; }

  /* ===== Main Copy ===== */
  .s5-main-copy-title { font-size: 24px; }
  .s5-main-copy-body { flex-direction: column; gap: 24px; margin-top: 24px; }
  .s5-main-copy-lead p { font-size: 15px; letter-spacing: 1px; }
  .s5-main-copy-desc { gap: 12px; }
  .s5-desc-block p { font-size: 14px; }

  /* ===== Vision Cards ===== */
  .s5-vision-grid {
    grid-template-columns: 1fr; gap: 16px;
  }

  /* ===== Providing Value ===== */
  .s5-value-row, .s5-value-row.s5-value-row-reverse {
    flex-direction: column; gap: 16px; align-items: center;
  }
  .s5-value-col { width: 100%; order: 0; }
  .s5-value-col-capsule { order: 0; }
  .s5-capsule-img {
    width: 262px; height: 340px;
    object-fit: cover; border-radius: 1000px;
    display: block; margin: 0 auto;
  }
  .s5-value-heading {
    font-size: 20px;
    border-left: 2px solid #75B1FF;
    padding-left: 8px;
  }
  .s5-value-heading-border { display: none; }
  .s5-value-text { font-size: 15px; color: #364153; }
  .s5-value-note {
    font-size: 12px; line-height: 1.6; color: #4A5565;
    background: #FBE9ED; border-radius: 12px; padding: 12px 8px;
  }
  .s5-value-img-overlay {
    height: 264px; border-radius: 24px; overflow: hidden;
  }
  .s5-overlay-text { font-size: 24px; }
  .s5-value-grid { width: 100%; }
  .s5-grid-cell { padding: 8px; }
  .s5-grid-label { font-size: 18px; }
  .s5-grid-value { font-size: 16px; }
  .s5-check-item span:last-child { font-size: 18px; }

  /* ===== Social Contribution ===== */
  .s5-social-list { gap: 0; }
  .s5-social-item {
    flex-direction: column; gap: 16px; padding: 24px 0;
  }
  .s5-social-text { width: 100%; }
  .s5-social-image { width: 100%; height: 160px; }
  .s5-social-title { font-size: 18px; }
  .s5-social-desc { font-size: 14px; }
  .s5-social-num { font-size: 32px; }

  /* ===== Feature ===== */
  .s5-feature-list { gap: 0; }
  .s5-feature-item {
    flex-direction: column; gap: 16px; padding: 24px 0;
  }
  .s5-feature-image { width: 100%; height: 160px; }
  .s5-feature-text { width: 100%; }
  .s5-feature-title { font-size: 18px; }
  .s5-feature-title br { display: none; }
  .s5-feature-desc { font-size: 14px; }

  /* ===== CTA Banner ===== */
  .s5-cta-banner {
    border-radius: 5px;
    min-height: 0;
    height: 143px;
    position: relative;
    overflow: hidden;
  }
  .s5-cta-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
  }
  .s5-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to left, white 5.6%, rgba(255,255,255,0));
    border-radius: 5px;
  }
  .s5-cta-content {
    position: absolute;
    bottom: 8px;
    right: 12px;
    left: auto;
    top: auto;
    padding: 0;
    text-align: right;
    display: flex;
    flex-direction: column;
    gap: 3px;
    align-items: flex-end;
  }
  .s5-cta-title {
    font-size: 18px;
    color: #2E3F63;
    text-shadow: none;
  }
  .s5-cta-title br { display: none; }
  .s5-cta-sub {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    text-shadow: none;
  }
  .s5-cta-sub br { display: none; }

  /* ===== Contact ===== */
  .s5-contact-section { padding: 0; width: 90%; margin: 40px auto; }
  .s5-contact-card {
    flex-direction: column; padding: 0 0 44px;
    gap: 0; border-radius: 12px; overflow: hidden;
  }
  .s5-contact-image {
    width: 100%; aspect-ratio: 1/1; height: auto;
    border-radius: 0; order: -1; flex-shrink: 0;
  }
  .s5-contact-image img { width: 100%; height: 100%; object-fit: cover; }
  .s5-contact-left { width: 100%; padding: 28px 12px 0; gap: 28px; }
  .s5-contact-text { flex-direction: column; align-items: flex-start; gap: 8px; }
  .s5-contact-text .s5-section-icon { display: none; }
  .s5-contact-info { gap: 16px; }
  .s5-contact-en {
    font-size: 32px; letter-spacing: -0.32px; margin-bottom: 0;
    display: flex; align-items: center;
  }
  .s5-contact-en::before {
    content: ''; width: 48px; min-width: 48px; height: 66px;
    background: url('../images/dot-section.svg') no-repeat center / contain;
    flex-shrink: 0;
  }
  .s5-contact-title { font-size: 20px; line-height: 1.5; white-space: normal; }
  .s5-contact-desc { font-size: 14px; line-height: 1.8; }
  .s5-contact-buttons { flex-direction: column; gap: 16px; }
  .s5-contact-btn { width: 100%; }

}
