/*
    ==========================================================================
    1. CSS Refactoring: 全局样式、变量与布局
    ==========================================================================
    */

:root {
  --text-color: #000;
  --background-color: #ffffff;
  --grid-color: rgba(0, 0, 0, 0.05);
  --border-color: #eee;
  --primary-blue: #3aa9ff;
  --primary-pink: #ff5c5c;
  --primary-yellow: #ffc02d;
  --primary-purple: #bfa4ff;
  --primary-gray: #1f2937;
  --primary-green: #9dffd9;
  --path-color: #d9d9d9;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  font-family: "Outfit", "Noto Sans JP", sans-serif;
  margin: 0;
  overflow-x: hidden;
}

.container {
  width: 1360px;
  margin: 0 auto;
  padding: 0 40px;
  min-width: 1360px;
}

main {
  padding-top: 70px;
}

/*
    ==========================================================================
    2. CSS Refactoring: 字体与通用工具类
    ==========================================================================
    */
.font-blue {
  color: var(--primary-blue);
}

/* 2. Audiowide 字体工具类 */
.font-audiowide {
  font-family: "Audiowide", cursive;
}

.shadow {
  -webkit-filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.1));
  filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.1));
}

/*
    ==========================================================================
    3. CSS Refactoring: 主要组件 (Header, Section)
    ==========================================================================
    */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  z-index: 1000;
  height: 70px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-color);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.header-logo a {
  text-decoration: none;
  color: inherit;
  box-sizing: border-box;
}

.header-logo img,
.footer-logo img,
.mobile-menu-logo img {
  width: 130px;
}

.nav-menu {
  height: 70px;
  display: flex;
  align-items: center;
}

.nav-menu a.nav-menu-item {
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  box-sizing: border-box;
}

.nav-menu a.nav-menu-item:not(:last-child) {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  height: 70px;
  justify-content: center;
  width: 135px;
}

.nav-menu a.nav-menu-item:last-child {
  text-decoration: none;
  display: inline-block;
  background-color: #000;
  color: #fff;
  border-radius: 22px;
  padding: 8px 20px;
  margin-left: 10px;
}

.nav-menu a#nav-about:hover {
  color: #3aa9ff;
  border-bottom: 4px solid #3aa9ff;
}

.nav-menu a#service-dropdown-toggle:hover {
  color: #bfa4ff;
  border-bottom: 4px solid #bfa4ff;
}

.nav-menu a#nav-company:hover {
  color: #000;
  border-bottom: 4px solid #000;
}

/* --- Header Dropdown --- */
.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 8px; /* Space between text and arrow */
  cursor: pointer;
}

.dropdown-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s ease;
}

.dropdown-container.is-open .dropdown-toggle span,
.dropdown-container.is-open .dropdown-arrow {
  color: var(--primary-purple);
}

.dropdown-container.is-open .dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 70px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
  border: 1px solid #eee;
  border-radius: 0 0 8px 8px;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
  width: 135px;
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, top 0.3s ease;
}

.dropdown-container.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-menu a {
  text-decoration: none;
  color: #000;
  display: block;
  padding: 15px 20px;
  font-size: 14px; /* Smaller font size for dropdown items */
  font-weight: 700;
  margin: 0 !important; /* Override existing margin */
  background-color: transparent !important; /* Override button style */
  border-radius: 0 !important;
  text-align: left;
}

.dropdown-menu a:first-child {
  border-bottom: 1px solid #d3d3d3;
}

.dropdown-menu a:hover {
  background-color: #f9f9f9 !important;
}

.section {
  position: relative;
}

.section-with-grid {
  background-image: linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(to right, var(--grid-color) 1px, transparent 1px);
  background-size: 25px 25px;
  background-color: #f9f9f9;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-title {
  font-size: 110px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 10px;
  line-height: 1;
  margin-top: 0;
}

.section-subtitle {
  font-size: 24px;
  color: var(--text-color);
  margin: 0;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 2px;
}

.section-title.about {
  color: var(--primary-blue);
}

.section-title.philosophy {
  color: var(--primary-pink);
}

.section-title.value {
  color: var(--primary-yellow);
}

.section-title.service {
  color: var(--primary-purple);
}

/*
    ==========================================================================
    4. CSS Refactoring: Hero Section & Logo 动画
    ==========================================================================
    */
.hero-section {
  height: 700px;
  text-align: center;
  background-color: var(--background-color);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-subtitle {
  font-size: clamp(14px, 2vw, 24px);
  font-weight: 600;
  opacity: 0;
  animation: fadeInLetter 1s ease-out 4s forwards;
  margin-bottom: 50px;
}

.logo-animation-container {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100%;
}

.letter-group {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.letter {
  height: 130px;
  opacity: 0;
}

.letter img {
  height: 130px;
}

.letter-i {
  animation: fadeInLetter 1.5s ease-out forwards;
}

.letter-glm {
  animation: fadeInLetter 1.5s ease-out 2s forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

@keyframes fadeInLetter {
  from {
    opacity: 0;
    transform: translateY(15px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 2. 新增箭头向下“戳”的动画 */
@keyframes poke-down {
  0%,
  100% {
    transform: translateY(0);
  }

  20% {
    transform: translateY(10px);
  }

  40% {
    transform: translateY(0);
  }
}

/*
    ==========================================================================
    5. CSS Refactoring: ABOUT US Section
    ==========================================================================
    */

/* --- ABOUT US: Layout & Containers --- */
#about .container {
  position: relative;
  height: 1300px;
}

.section-title-wrapper {
  position: absolute;
  left: 40px;
  text-align: left;
  z-index: 5;
}

#about .section-title-wrapper {
  top: 350px;
  left: 80px;
}

.card-cluster {
  /* 之前是 .card-container */
  position: absolute;
}

.card-cluster-about-1 {
  right: 180px;
  top: 0;
  width: 530px;
  height: 900px;
}

.card-cluster-about-2 {
  left: 230px;
  bottom: -220px;
  width: 530px;
  height: 870px;
}

/* --- General Cards --- */
.content-card {
  background-color: var(--background-color);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  border: 2px solid #000;
  line-height: 1.8;
  position: absolute;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.card-label {
  position: absolute;
  top: 25px;
  right: 20px;
  z-index: 5;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  display: flex;
  align-items: center;
  gap: 10px;
  /* 点和文字的间距 */
}

.card-label-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.card-label-text {
  font-size: 11px;
  color: var(--text-color);
  letter-spacing: 1px;
  font-weight: 400;
}

/* --- ABOUT US: Specific Cards --- */
.card-top-right {
  bottom: 0;
  right: 0;
  z-index: 1;
  padding: 30px;
  min-height: 470px;
  width: 470px;
}

.card-bottom-left {
  top: 0;
  left: 0;
  z-index: 3;
  padding: 90px;
  min-height: 350px;
  width: 350px;
}

.card-top-right h3 {
  margin-top: 0;
  font-size: 32px;
  line-height: 2;
  text-align: center;
}

.card-bottom-left p {
  font-size: 16px;
  margin: 0 0 1em 0;
  line-height: 2;
  font-weight: 500;
  letter-spacing: 1px;
}

.card-bottom-left p:last-child {
  margin-bottom: 0;
}

/* --- ABOUT US: Timeline Elements --- */
.start-circle {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background-color: var(--primary-blue);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 36px;
  font-weight: 700;
  z-index: 2;
}

.start-circle svg {
  animation: poke-down 2.5s infinite;
  animation-delay: 1s;
  width: 40px;
  height: 40px;
}

.start-circle span {
  padding-top: 40px;
}

.timeline-dot {
  position: absolute;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  z-index: 2;
}

.timeline-star {
  position: absolute;
  width: 53px;
  height: 53px;
  z-index: 2;
  animation: spin 5s linear infinite;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.dot-1 {
  top: 160px;
  left: calc(50% - 20px);
  background-color: var(--primary-blue);
}

.dot-2 {
  top: 270px;
  left: calc(50% - 20px);
  background-color: var(--primary-blue);
}

.dot-3 {
  bottom: 250px;
  left: calc(50% - 20px);
  background-color: var(--primary-blue);
}

.dot-4 {
  bottom: 85px;
  left: 70px;
  background-color: var(--primary-pink);
}

.gamification-bubble,
.beginning-bubble {
  position: absolute;
  /* 容器高度 */
  height: 70px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;

  /*
   * 关键：将元素的变换原点设置为中心，
   * 这样 scale 缩放就会从中心点开始。
   * 同时，设置初始状态为不可见且缩小，为动画做准备。
  */
  transform-origin: center center;
  opacity: 0;
  transform: scale(0);

  /* * 应用动画！
   * animation: [动画名称] [总时长] [缓动函数] [循环次数];
  */
  animation: bounce-in-out 5s ease-in-out infinite;
}

.gamification-bubble {
  top: 270px;
  right: -30px;
  width: 200px;
  /* 容器宽度 */
  height: 70px;
}

.beginning-bubble {
  top: 530px;
  right: 60px;
  width: 400px;
}

.gamification-bubble svg,
.beginning-bubble svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

svg.mobile-svg {
  display: none;
}

svg.pc-svg {
  display: block;
}

.gamification-bubble span,
.beginning-bubble span {
  position: relative;
  color: #000;
  font-size: 21px;
  font-weight: 400;
  padding-bottom: 15px;
}

.gamification-bubble span {
  padding-right: 20px;
}

/*
    ==========================================================================
    6. CSS Refactoring: PHILOSOPHY Section
    ==========================================================================
    */
#philosophy {
  background-color: var(--background-color);
}

#philosophy .container {
  position: relative;
  height: 1660px;
}

#philosophy .section-title-wrapper {
  top: 170px;
  right: 80px;
  left: auto;
  text-align: right;
}

.card-cluster-philosophy-1 {
  left: 50px;
  top: 190px;
  width: 530px;
  height: 530px;
}

.card-cluster-philosophy-2 {
  right: 80px;
  top: 520px;
  width: 830px;
  height: 1300px;
}

/* 左侧卡片 */
.philosophy-card-1 {
  top: 0;
  left: 0;
  z-index: 1;
  padding: 70px;
  min-height: 390px;
  width: 390px;
}

.philosophy-card-1 h3 {
  margin-top: 0;
  font-size: 32px;
  line-height: 2;
  text-align: center;
  font-weight: 700;
}

/* 右侧卡片 */
.philosophy-card-2 {
  top: 0;
  right: 0;
  width: 670px;
  min-height: 920px;
  padding: 80px;
  padding-bottom: 0;
  z-index: 2;
}

.philosophy-card-2 p {
  font-size: 20px;
  margin: 0 0 1em 0;
  line-height: 2;
  letter-spacing: 1px;
}

.philosophy-card-2 p:last-child {
  margin-bottom: 0;
}

.light-up-circle {
  position: absolute;
  top: 940px;
  left: 130px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--primary-pink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  z-index: 2;
}

.top-space {
  margin-top: 130px;
}

.dot-5 {
  bottom: 200px;
  left: calc(50% - 20px);
  background-color: var(--primary-pink);
}

.dot-6 {
  bottom: 85px;
  left: calc(50% - 20px);
  background-color: var(--primary-yellow);
}

/*
    ==========================================================================
    10. CSS Refactoring: VALUE Section
    ==========================================================================
    */

#value .container {
  position: relative;
  height: 1420px;
}

#value .section-title-wrapper {
  top: 110px;
  left: 80px;
}

.card-cluster-value-1 {
  right: 230px;
  top: 130px;
  width: 700px;
  height: 450px;
}

.card-cluster-value-2 {
  left: 80px;
  top: 380px;
  width: 700px;
  height: 450px;
}

.card-cluster-value-3 {
  right: 230px;
  top: 620px;
  width: 700px;
  height: 450px;
}

.card-cluster-value-4 {
  left: 80px;
  top: 870px;
  width: 530px;
  height: 700px;
}

/* 卡片 */
.value-card {
  z-index: 9;
  padding: 0 70px;
  min-height: 360px;
  width: 390px;
}

.value-card-1,
.value-card-3 {
  top: 0;
  right: 0;
}

.value-card-2,
.value-card-4 {
  top: 0;
  left: 0;
}

.value-card h3 {
  margin-top: 0;
  font-size: 32px;
  line-height: 1.6;
  text-align: center;
}

.value-card p {
  font-size: 16px;
  margin: 0 0 1em 0;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 1px;
}

.value-card p:last-child {
  margin-bottom: 0;
}

/* Block1/3 */
.svg-path-4,
.svg-path-6 {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
}

.dot-7 {
  bottom: 0;
  left: 250px;
  background-color: var(--primary-yellow);
}

.star-1 {
  bottom: -5px;
  left: 250px;
}

/* Block2 */
.svg-path-5 {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 120px;
}

.dot-8 {
  bottom: 0;
  left: 400px;
  background-color: var(--primary-yellow);
}

/* Block4 */
.svg-path-7 {
  bottom: 0;
  right: 0;
  width: 100%;
  height: 350px;
}

.dot-10 {
  bottom: 240px;
  left: calc(50% - 20px);
  background-color: var(--primary-yellow);
}

.dot-11 {
  bottom: 90px;
  left: calc(50% + 75px);
  background-color: var(--primary-purple);
}

.meet-circle {
  position: absolute;
  bottom: 60px;
  right: 80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background-color: var(--primary-yellow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  z-index: 2;
}

/*
    ==========================================================================
    11. CSS Refactoring: SERVICE Section
    ==========================================================================
    */

#service .container {
  position: relative;
  height: 2200px;
}

#service .section-title-wrapper {
  top: 100px;
  right: 80px;
  text-align: right;
}

.card-cluster-service-1 {
  left: 80px;
  top: 120px;
  width: 730px;
  height: 600px;
}

.card-cluster-service-2 {
  left: 190px;
  top: 680px;
  width: 1060px;
  height: 600px;
}

.card-cluster-service-3 {
  right: 190px;
  top: 1250px;
  width: 1060px;
  height: 670px;
}

/* 卡片 */
.service-card {
  z-index: 9;
  padding: 0 70px;
  top: 0;
  left: 0;
}

.service-card p {
  font-weight: 500;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 1px;
}

.service-card-1 {
  min-height: 340px;
  width: 590px;
}

.svg-path-8 {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 280px;
}

.dot-12 {
  bottom: 90px;
  left: 620px;
  background-color: var(--primary-purple);
}

.service-card-2 {
  min-height: 500px;
  width: 920px;
}

.svg-path-9 {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
}

.service-card-3 {
  min-height: 500px;
  width: 920px;
}

.svg-path-10 {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 200px;
}

.dot-13 {
  bottom: 80px;
  left: calc(50% - 20px);
  background-color: var(--primary-purple);
}

.card-cluster h4 {
  text-align: center;
  font-size: 20px;
  font-weight: 500;
  width: 100%;
  padding-bottom: 13px;
  border-bottom: 1px solid #e5e5e5;
  margin-bottom: 45px;
}

.content-wrapper {
  display: flex;
  justify-content: center;
  /* 将项目作为一个整体居中 */
  gap: 30px;
  margin-bottom: 30px;
}

.image-card {
  flex-shrink: 0;
  /* 防止图片被压缩 */
}

.text-content {
  display: flex;
  /* <-- 添加 */
  flex-direction: column;
  /* <-- 添加：设置为纵向排列 */
}

.image-card img {
  height: 307px;
  display: block;
}

.service-title {
  font-size: 32px;
  font-weight: bold;
  margin: 0 0 15px 0;
}

.description {
  font-size: 16px;
  line-height: 2;
  margin-bottom: 30px;
}

.more-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 70px;
  background-color: white;
  border: 2px solid #000;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  color: #000;
  box-shadow: 4px 5px 0 #000;
  transition: all 0.1s ease-out;
  margin-top: auto;
  align-self: center;
}

.more-button:hover {
  transform: translateY(5px);
  box-shadow: 0 0px 0 #000;
}

.more-button svg {
  width: 24px;
  height: 24px;
  padding-left: 10px;
}

.contact-button {
  position: absolute;
  bottom: 60px;
  left: calc(50% - 125px);
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 3px solid #000;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #000;
  z-index: 10;
  cursor: pointer;
  box-shadow: 4px 5px 0 #000;
  transition: all 0.1s ease-out;
}

.contact-button:hover {
  transform: translateY(5px);
  box-shadow: 0 0 0 #000;
}

.contact-button-title {
  font-size: 36px;
  padding-top: 50px;
}

.contact-button-subtitle {
  font-size: 18px;
  margin-bottom: 10px;
}

.contact-button svg {
  width: 32px;
  height: 32px;
}

.svg-path-11 {
  position: absolute;
  bottom: -320px;
  left: calc(50% - 50px);
  width: 100px;
  height: 420px;
  z-index: 1;
}

.dot-14 {
  bottom: 210px;
  width: 34px;
  height: 34px;
  left: calc(50% - 20px);
  background-color: white;
  border: 3px solid black;
}

.dot-15 {
  bottom: 100px;
  width: 34px;
  height: 34px;
  left: calc(50% - 20px);
  background-color: white;
  border: 3px solid black;
}

/*
==========================================================================
13. CSS Refactoring: COMPANY Section
==========================================================================
*/

#company .container {
  position: relative;
  height: 1630px;
}

#company .section-title-wrapper {
  top: 80px;
  left: 80px;
}

.card-cluster-company-1 {
  left: calc(50% - 530px);
  top: 280px;
  width: 1060px;
  height: 1140px;
}

/* 卡片 */
.company-card {
  z-index: 9;
  padding: 0 70px;
  top: 0;
  left: 0;
}

.company-card-1 {
  min-height: 1000px;
  width: 920px;
}

.company-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  font-size: 20px;
  border-top: 1px solid #f0f0f0;
  padding-top: 20px;
}

.info-row {
  display: flex;
  border-bottom: 1px solid #f0f0f0;
  padding-bottom: 20px;
}

.info-row dt,
.info-row dd {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 1px;
  font-weight: 500;
}

.info-row dt {
  flex-basis: 20%;
  padding-right: 20px;
  color: #7e7e7e;
}

.company-partners {
  display: flex;
  flex-wrap: wrap;
  gap: 0 0.8em;
  align-items: baseline;
}

.company-partners .company-name {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  gap: 0.4em;
}

.company-partners .company-name:not(:last-of-type)::after {
  content: "/";
  display: inline-block;
  margin-left: 0.4em;
}

.company-partners .company-note {
  display: block;
  width: 100%;
  margin-top: 0.4em;
}

.info-row dd {
  flex-basis: 80%;
  margin: 0;
}

a.map-link {
  color: var(--text-color);
}

.map-link img {
  vertical-align: middle;
}

.svg-path-12 {
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
}

.thankyou-circle {
  position: absolute;
  bottom: 90px;
  left: calc(50% - 100px);
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: black;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  font-size: 36px;
  font-weight: 400;
  z-index: 2;
}

.back-to-top-btn-floating {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 65px;
  height: 65px;
  background-color: white;
  border: 2px solid #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 4px 4px 0 #000;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.1s ease-out,
    box-shadow 0.1s ease-out;
}

.back-to-top-btn-floating.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top-btn-floating:hover {
  transform: translateY(4px);
  box-shadow: 0 0px 0 #000;
}

/*
    ==========================================================================
    7. CSS Refactoring: SVG 路径 & 滚动动画
    ==========================================================================
    */
.svg-path-container {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.svg-path-container path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.svg-path-1 {
  top: 0;
  left: 0%;
  width: 100%;
  height: 100%;
}

.svg-path-2 {
  bottom: 0;
  left: 0%;
  width: 100%;
  height: 400px;
}

.svg-path-3 {
  bottom: 0;
  left: 0%;
  width: 100%;
  height: 400px;
}

.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/*
    ==========================================================================
    8. 蜡烛动画
    ==========================================================================
    */

@keyframes scaleUpDown {
  0%,
  100% {
    transform: scaleY(1) scaleX(1);
  }

  50%,
  90% {
    transform: scaleY(1.1);
  }

  75% {
    transform: scaleY(0.95);
  }

  80% {
    transform: scaleX(0.95);
  }
}

@keyframes shake {
  0%,
  100% {
    transform: skewX(0) scale(1);
  }

  50% {
    transform: skewX(5deg) scale(0.9);
  }
}

@keyframes particleUp {
  0% {
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    left: 100%;
    top: -100%;
    transform: scale(0.5);
  }
}

@keyframes particleUp2 {
  0% {
    opacity: 0;
  }

  20% {
    opacity: 1;
  }

  80% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    top: -100%;
    left: 0%;
    transform: scale(0.5);
  }
}

@keyframes glow {
  0%,
  100% {
    background-color: #ff5c5c;
  }

  50% {
    background-color: #ff5c5c;
  }
}

@keyframes glow2 {
  0%,
  100% {
    background-color: #fff;
  }

  50% {
    background-color: #fff;
  }
}

.fire {
  position: absolute;
  top: 120px;
  left: calc(50% - 50px);
  width: 100px;
  height: 100px;
  background-color: transparent;
  margin-left: auto;
  margin-right: auto;
}

.fire-center {
  position: absolute;
  height: 100%;
  width: 100%;
  z-index: 10;
  animation: scaleUpDown 3s ease-out;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.fire-center .main-fire {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0.5;
  background-color: #ff5c5c;
  transform: scaleX(0.8) rotate(45deg);
  border-radius: 0 40% 60% 40%;
  filter: drop-shadow(0 0 10px #d43322);
}

.fire-center .particle-fire {
  position: absolute;
  top: 0%;
  left: 65%;
  width: 30px;
  height: 30px;
  opacity: 0.6;
  background-color: #ebeae8;
  transform: scaleX(0.8) rotate(45deg);
  animation: particleUp 2s ease-out 0;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.fire-center .particle-fire2 {
  position: absolute;
  top: 0%;
  left: 35%;
  width: 20px;
  height: 20px;
  opacity: 0.6;
  background-color: #ebeae8;
  transform: scaleX(0.8) rotate(45deg);
  animation: particleUp2 1.5s ease-out 0;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.fire-bottom {
  position: absolute;
  z-index: 20;
  height: 100%;
  width: 100%;
  animation: scaleUpDown 2.66s ease-out;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.fire-bottom .main-fire {
  position: absolute;
  top: 30%;
  left: 12.5%;
  width: 75%;
  height: 75%;
  background-color: #ff5c5c;
  transform: scaleX(0.8) rotate(45deg);
  border-radius: 0 40% 100% 40%;
  animation: glow 2s ease-out 0;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.fire-bottom2 {
  position: absolute;
  z-index: 30;
  height: 100%;
  width: 100%;
  animation: scaleUpDown 2s ease-out;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.fire-bottom2 .main-fire {
  position: absolute;
  top: 50%;
  left: 25%;
  width: 50%;
  height: 50%;
  z-index: 100;
  background-color: #fff;
  transform: scaleX(0.8) rotate(45deg);
  border-radius: 0 40% 100% 40%;
  animation: glow2 1s ease-out 0;
  animation-iteration-count: infinite;
  animation-fill-mode: both;
}

.jiku {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 0;
  transform: translateX(-50%);
  background-color: #000;
  height: 30px;
  width: 16px;
}

/*
    ==========================================================================
    9. NEW: PHILOSOPHY DECO SHAPES
    ==========================================================================
    */

.deco-shape {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.1);
  transform: rotate(45deg);
  opacity: 0;
  animation-name: fadeInOut;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
    transform: rotate(45deg) scale(0.9);
  }

  50% {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }

  100% {
    opacity: 0;
    transform: rotate(45deg) scale(0.9);
  }
}

/*
==========================================================================
14. Footer
==========================================================================
*/

.site-footer {
  width: 100%;
}
.footer-main {
  background-color: var(--background-color);
  padding: 30px 0;
  border-top: 1px solid var(--border-color);
}
.footer-main-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-logo {
  font-size: 45px;
  font-weight: 600;
}
.footer-logo a {
  text-decoration: none;
  color: inherit;
}
.footer-nav a {
  margin-left: 40px;
  text-decoration: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 16px;
}
.footer-bottom {
  background-color: #000;
  color: white;
  padding: 30px 0;
  display: flex;
  justify-content: center;
}
.footer-bottom-content {
  display: flex;
  justify-content: flex-end; /* Align items to the right */
  align-items: center;
  gap: 40px; /* Space between items */
  max-width: 1440px;
  width: 1440px;
  padding: 0 40px;
  box-sizing: border-box;
}
.footer-link {
  color: white;
  text-decoration: none;
  font-size: 14px;
}
.copyright-text {
  font-size: 14px;
}

/*
==========================================================================
14-1. Preparing Links (準備中リンク)
==========================================================================
*/

.preparing-link {
  opacity: 0.4 !important;
  pointer-events: none !important;
  cursor: not-allowed !important;
  position: relative;
}

.preparing-link::after {
  content: " (準備中)";
  font-size: 0.8em;
  opacity: 0.6;
}

/*
==========================================================================
15. Bouncing Element
==========================================================================
*/

/* * 定义动画关键帧 (Keyframes)
 * 我们将整个动画过程（弹出 -> 停顿 -> 淡出）定义在 0% 到 100% 的时间线内。
 * 总时长为 5s，其中：
 * - 0% ~ 20% (1s): 扩张并带有弹性效果
 * - 20% ~ 80% (3s): 保持显示状态（停顿）
 * - 80% ~ 100% (1s): 淡出
*/
@keyframes bounce-in-out {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }

  12% {
    opacity: 1;
    transform: scale(1.1);
  }

  15% {
    transform: scale(0.95);
  }

  20% {
    opacity: 1;
    transform: scale(1);
  }

  /* 阶段二：停顿 (20% -> 80%) */
  /* 从 20% 到 80% 状态保持不变 */
  80% {
    opacity: 1;
    transform: scale(1);
  }

  /* 阶段三：淡出 (80% -> 100%) */
  100% {
    opacity: 0;
    transform: scale(0.7); /* 淡出时可以伴随轻微缩小效果，更自然 */
  }
}

/*
==========================================================================
16. Contact Page
==========================================================================
*/

.contact-section {
  background-color: #ebe8e8;
  padding: 80px 0;
}

.page-title-wrapper {
  background-color: #fff;
  padding: 60px 0;
  margin: 0 auto;
  width: 1295px;
}

.page-subtitle {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 10px 0;
}

.page-title {
  font-size: 64px;
  font-weight: 700;
  margin: 0;
  /* display: inline-block; */
  padding-bottom: 10px;
  line-height: 1;
  display: flex;
  align-items: center;
}

.page-title::after {
  content: "";

  width: 175px;
  height: 1px;
  background-color: black;
  margin-left: 30px;
}

.contact-form-container {
  margin-top: 80px;
  background-color: white;
  border-radius: 20px;
  padding: 80px;
  max-width: 1135px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-description {
  text-align: left;
  font-size: 24px;
  margin-bottom: 50px;
}

.form-group {
  margin-bottom: 35px;
}

.form-group label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
}

.required {
  background-color: #ff5c5c;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-left: 10px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  box-sizing: border-box;
}

.form-group textarea {
  resize: vertical;
}

.form-submit {
  text-align: center;
  margin-top: 50px;
}

.submit-button {
  background-color: #757575;
  color: white;
  border: none;
  padding: 18px 120px;
  border-radius: 50px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-button:hover {
  background-color: #555;
}

.mobile-menu-icon {
  display: none; /* Hidden by default on desktop */
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 2000;
  position: relative;
}

.mobile-menu-icon span {
  width: 100%;
  height: 3px;
  background-color: #000;
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mobile-nav-menu {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  z-index: 1500;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  opacity: 0;
  visibility: hidden;

  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
  padding: 0 5.33vw;
  box-sizing: border-box;
}

.mobile-nav-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4vw 0;
  height: 8vw;
}

.mobile-menu-logo {
  font-weight: 600;
  font-size: 8vw;
}

.mobile-menu-logo a {
  text-decoration: none;
  color: inherit;
}

.mobile-menu-close-icon {
  background-color: #000;
  border: none;
  width: 10.67vw;
  height: 10.67vw;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mobile-menu-close-icon svg {
  width: 10.67vw;
  height: 10.67vw;
}

.mobile-nav-links {
  width: 100%;
  /* margin-top: 8vw; */
  flex-grow: 1;
  border-top: 0.27vw solid #eee;
}

.mobile-nav-links a {
  display: block;
  font-size: 4.8vw;
  font-weight: 700;
  color: var(--text-color);
  text-decoration: none;
  padding: 4.5vw 0;
  border-bottom: 0.27vw solid #eee;
  text-align: left;
}
.mobile-nav-links a.sub-link {
  padding-left: 5.33vw;
  font-size: 4.27vw;
  font-weight: 500;
}

.mobile-menu-contact {
  margin: 10.67vw 0;
}

.mobile-menu-contact .contact-btn {
  background-color: #000;
  color: #fff;
  text-decoration: none;
  padding: 4vw 13.33vw;
  border-radius: 13.33vw;
  font-weight: 700;
  font-size: 4.8vw;
}

.footer-sub-link,
.footer-contact-mobile {
  display: none;
}

/*
==========================================================================
18. Responsive Styles (Mobile)
==========================================================================
*/

@media (min-width: 1441px) {
  .mobile-only-break {
    display: none; /* 隐藏br标签，从而取消换行 */
  }
}

@media (max-width: 1440px) {
  /* --- General Layout --- */
  html {
    font-size: 16px;
  }

  .container {
    width: auto;
    min-width: 375px;
    padding: 0 5.33vw;
    box-sizing: border-box;
  }

  #main-content {
    overflow: hidden;
  }

  main {
    padding-top: 16vw; /* Adjust for potentially smaller header */
    overflow: hidden;
  }

  body.no-scroll {
    overflow: hidden;
  }

  /* --- Header & Navigation --- */
  header {
    height: 16vw;
    border-bottom: 0.27vw solid var(--border-color);
  }
  .navbar {
    width: 100%;
    height: 100%;
    justify-content: space-between;
  }

  .nav-menu {
    display: none;
  }
  .mobile-menu-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.07vw;
    width: 10.67vw;
    height: 10.67vw;
    flex-shrink: 0;
    background-color: #000;
    border-radius: 50%;
    border: none;
    padding: 0;
  }

  .mobile-menu-icon span {
    width: 4.8vw;
    height: 0.53vw;
    background-color: #fff;
  }

  .header-logo img,
  .footer-logo img,
  .mobile-menu-logo img {
    width: 26.13vw;
  }

  /* --- Typography --- */
  .section-title {
    font-size: clamp(2.5rem, 0.211rem + 9.77vw, 9rem);
    line-height: 1.2;
    margin-bottom: 0;
  }
  .section-subtitle {
    font-size: clamp(1.1rem, -0.097rem + 5.11vw, 4.5rem);
    letter-spacing: 1px;
    font-weight: 600;
  }

  .hero-section {
    padding: 0;
    height: 90vw;
    min-height: unset;
    box-sizing: border-box;
  }
  .logo-animation-container {
    width: 90vw;
  }

  .letter {
    height: 17.6vw;
  }

  .letter img {
    height: 17.6vw;
  }

  .hero-subtitle {
    font-size: clamp(1rem, 0.12rem + 3.76vw, 3.5rem);
    padding: 0 1.2rem;
    margin-bottom: 8vw;
  }

  .svg-path-container {
    height: 100%;
  }

  .svg-path-container svg {
    width: 100%;
    height: auto;
    position: absolute;
  }

  .timeline-dot-mobile {
    position: absolute;
    width: 5.33vw;
    height: 5.33vw;
    border-radius: 50%;
    z-index: 2;
  }

  /* --- Hide Decorative Elements --- */
  .timeline-dot {
    display: none;
  }

  /* --- Section & Card Layout Reset --- */
  .section .container {
    padding-top: 60px;
    padding-bottom: 60px;
    box-sizing: border-box;
    min-width: 375px;
  }

  .section-title-wrapper {
    position: absolute;
    margin-bottom: 40px;
  }

  .card-cluster {
    position: absolute;
  }

  .card-cluster:not(:last-child) {
    margin-bottom: 30px;
  }

  .content-card {
    border-radius: clamp(0.5rem, -0.204rem + 3vw, 2.5rem);
    border-width: clamp(0.125rem, 0.081rem + 0.19vw, 0.25rem);
    box-sizing: border-box;
  }

  .card-top-right h3,
  .philosophy-card-1 h3,
  .value-card h3 {
    font-size: clamp(1rem, -0.056rem + 4.51vw, 4rem);
    line-height: 2;
    text-align: center;
  }

  .card-label {
    writing-mode: vertical-rl;
    top: clamp(0.625rem, -0.035rem + 2.82vw, 2.5rem);
    right: clamp(0.375rem, -0.043rem + 1.78vw, 1.563rem);
    gap: clamp(0.313rem, 0.07rem + 1.03vw, 1rem);
  }

  .card-label-text {
    font-size: clamp(0.5rem, -0.204rem + 3vw, 2.5rem);
  }

  .card-label-dot {
    width: clamp(0.313rem, -0.128rem + 1.88vw, 1.563rem);
    height: clamp(0.313rem, -0.128rem + 1.88vw, 1.563rem);
  }

  /* --- Specific Section Adjustments --- */

  .card-bottom-left p,
  .philosophy-card-2 p,
  .value-card p,
  .service-card-1 p,
  .description {
    font-size: clamp(0.875rem, -0.049rem + 3.94vw, 3.5rem);
    line-height: 2;
  }

  .content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .text-content {
    align-items: flex-start;
    text-align: left;
    width: 100%;
  }

  /* --- About Section --- */

  #about .container {
    position: relative;
    height: 255.47vw;
  }

  #about .section-title-wrapper {
    top: 16vw;
    left: 5vw;
  }

  .card-cluster-about-1 {
    right: 5vw;
    top: 0;
    width: 70vw;
    height: 127.2vw;
  }

  .card-top-right {
    padding: 8vw;
    min-height: 70vw;
    width: 70vw;
  }

  .card-cluster-about-2 {
    left: 5vw;
    bottom: -57vw;
    width: 84vw;
    height: 190vw;
    z-index: 1;
  }

  .card-bottom-left {
    padding: 9.3vw;
    min-height: 115vw;
    width: 100%;
  }

  .start-circle {
    left: auto;
    transform: translate(0, -50%);
    right: 0;
    width: 27vw;
    height: 27vw;
    font-size: 4.67vw;
  }

  .start-circle svg {
    width: 7vw;
    height: 7vw;
  }

  .start-circle span {
    padding-top: 7vw;
  }

  .gamification-bubble {
    top: 44.67vw;
    left: calc(50% - 14.33vw);
    width: 28vw;
    height: 11.2vw;
  }

  .gamification-bubble span,
  .beginning-bubble span {
    font-size: 2.93vw;
    padding-right: 2.8vw;
    padding-bottom: 3vw;
  }

  .svg-path-1 {
    width: 27vw;
    right: 0;
    left: auto;
  }

  .svg-path-1 svg {
    top: 0;
  }

  .dot-about-1 {
    left: calc(50% - 2.67vw);
    top: 24vw;
    background-color: var(--primary-blue);
  }

  .dot-about-2 {
    left: calc(50% - 2.67vw);
    top: 40vw;
    background-color: var(--primary-blue);
  }

  .svg-path-2 {
    bottom: 0;
    top: auto;
    width: 36vw;
  }

  .svg-path-2 svg {
    bottom: 0;
  }

  .dot-about-3 {
    right: 1.3vw;
    bottom: 58vw;
    background-color: var(--primary-blue);
  }

  .dot-philosophy-1 {
    left: 5.4vw;
    bottom: 33vw;
    background-color: var(--primary-pink);
  }

  .dot-philosophy-2 {
    left: 5.4vw;
    bottom: 19vw;
    background-color: var(--primary-pink);
  }

  /* --- Philosophy Section --- */

  #philosophy .container {
    position: relative;
    height: 316vw;
  }

  #philosophy .section-title-wrapper {
    top: 20vw;
    right: 8vw;
    text-align: right;
  }

  .card-cluster-philosophy-1 {
    left: 5vw;
    top: 48vw;
    width: 70vw;
    height: 70vw;
  }

  .card-cluster-philosophy-2 {
    right: 5vw;
    top: 115vw;
    width: 84vw;
    height: 253vw;
    z-index: 1;
  }

  .fire {
    top: 16vw;
    left: calc(50% - 7vw);
    width: 14vw;
    height: 14vw;
  }

  .fire-center .main-fire {
    filter: drop-shadow(0 0 2vw #d43322);
  }

  .fire-center .particle-fire {
    width: 5vw;
    height: 5vw;
  }

  .fire-center .particle-fire2 {
    width: 3vw;
    height: 3vw;
  }

  .jiku {
    height: 5vw;
    width: 3vw;
  }

  /* 左侧卡片 */
  .philosophy-card-1 {
    padding: 8vw;
    min-height: 100%;
    width: 100%;
  }

  /* 右侧卡片 */
  .philosophy-card-2 {
    top: 0;
    right: 0;
    width: 100%;
    height: 145vw;
    max-height: 145vw;
    padding: 8vw;
    min-height: auto;
  }

  .philosophy-card-2 .top-space {
    margin-top: 27vw;
    height: 92vw;
    overflow-y: auto;
  }

  .light-up-circle {
    top: auto;
    bottom: 8vw;
    width: 39.73vw;
    height: 39.73vw;
    left: calc(50% - 32vw);
    font-size: 5.33vw;
  }

  .svg-path-3 {
    bottom: 0;
    top: auto;
    width: 26.67vw;
    right: 0;
    left: auto;
  }

  .svg-path-3 svg {
    bottom: 0;
  }

  .dot-philosophy-3 {
    left: 2.6vw;
    bottom: 94vw;
    background-color: var(--primary-pink);
  }

  .dot-philosophy-4 {
    left: 2.6vw;
    bottom: 77vw;
    background-color: var(--primary-pink);
  }

  .dot-philosophy-5 {
    left: 2.6vw;
    bottom: 60vw;
    background-color: var(--primary-pink);
  }

  .dot-value-1 {
    left: 2.6vw;
    bottom: 43vw;
    background-color: var(--primary-yellow);
  }

  .dot-value-2 {
    left: 2.6vw;
    bottom: 26vw;
    background-color: var(--primary-yellow);
  }

  .dot-value-3 {
    left: 2.6vw;
    bottom: 10vw;
    background-color: var(--primary-yellow);
  }

  /* --- Value Section --- */

  #value .container {
    position: relative;
    height: 415vw;
  }

  #value .section-title-wrapper {
    top: 21vw;
    left: 8vw;
  }

  .beginning-bubble {
    top: 207.67vw;
    right: auto;
    left: 13.33vw;
    width: 52.8vw;
    height: 16vw;
  }

  .beginning-bubble span {
    padding-right: 1vw;
  }

  svg.pc-svg {
    display: none;
  }

  svg.mobile-svg {
    display: block;
  }

  .card-cluster-value-1 {
    right: 5vw;
    top: 45.3vw;
    width: 70vw;
    height: 96vw;
  }

  .value-card-1,
  .value-card-2,
  .value-card-3,
  .value-card-4 {
    top: 0;
    right: 0;
    width: 100%;
    height: 65.07vw;
    padding: 8vw;
    min-height: auto;
  }

  .value-card-4 {
    height: 50.13vw;
  }

  .card-cluster-value-2 {
    left: 5vw;
    top: 129.3vw;
    width: 70vw;
    height: 105vw;
  }

  .card-cluster-value-3 {
    right: 5vw;
    top: 224vw;
    width: 70vw;
    height: 96vw;
  }

  .card-cluster-value-4 {
    left: 5vw;
    top: 308.53vw;
    width: 70vw;
    height: 163vw;
  }

  .meet-circle {
    top: auto;
    bottom: 7.47vw;
    right: 5.33vw;
    width: 39.6vw;
    height: 39.6vw;
    font-size: 5.38vw;
  }

  .svg-path-4 {
    bottom: 0;
    top: auto;
    width: 49.33vw;
    right: auto;
    left: 0;
  }

  .svg-path-4 svg {
    bottom: 0;
  }

  .dot-value-4 {
    left: 22vw;
    bottom: 18.7vw;
    background-color: var(--primary-yellow);
  }

  .svg-path-5 {
    bottom: 0;
    top: auto;
    width: 49.33vw;
    right: 0;
    left: auto;
  }

  .svg-path-5 svg {
    bottom: 0;
  }

  .dot-value-5 {
    left: 22vw;
    bottom: 26.7vw;
    background-color: var(--primary-yellow);
  }

  .svg-path-6 {
    bottom: 0;
    top: auto;
    width: 49.33vw;
    right: auto;
    left: 0;
  }

  .svg-path-6 svg {
    bottom: 0;
  }

  .timeline-star {
    position: absolute;
    width: 5.33vw;
    height: 5.33vw;
    left: 23vw;
    bottom: 19.2vw;
    z-index: 2;
    animation: spin 5s linear infinite;
  }

  .svg-path-7 {
    bottom: 0;
    top: auto;
    width: 34.67vw;
    right: auto;
    left: 0;
  }

  .svg-path-7 svg {
    bottom: 0;
  }

  .dot-value-6 {
    left: 20vw;
    bottom: 101.7vw;
    background-color: var(--primary-yellow);
  }

  .dot-value-7 {
    left: 26.8vw;
    bottom: 84.7vw;
    background-color: var(--primary-yellow);
  }

  .dot-value-8 {
    left: 26.8vw;
    bottom: 66.7vw;
    background-color: var(--primary-yellow);
  }

  .dot-service-1 {
    left: 26.8vw;
    bottom: 48.7vw;
    background-color: var(--primary-purple);
  }
  .dot-service-2 {
    left: 26.8vw;
    bottom: 30.7vw;
    background-color: var(--primary-purple);
  }
  .dot-service-3 {
    left: 26.8vw;
    bottom: 12.7vw;
    background-color: var(--primary-purple);
  }

  .svg-path-8,
  .svg-path-9,
  .svg-path-10,
  .svg-path-12 {
    bottom: 0;
    top: auto;
    width: 48vw;
    right: auto;
    left: 0;
  }

  .svg-path-8 svg,
  .svg-path-9 svg,
  .svg-path-10 svg,
  .svg-path-12 svg {
    bottom: 0;
  }

  .dot-service-4 {
    left: 41.87vw;
    bottom: 20.5vw;
    background-color: var(--primary-purple);
  }

  .dot-service-5 {
    left: 41.87vw;
    bottom: 20.5vw;
    background-color: var(--primary-purple);
  }

  .svg-path-11 {
    position: absolute;
    bottom: -80vw;
    left: calc(50% - 24vw);
    width: 48vw;
    height: 112vw;
  }

  .dot-company-1 {
    left: calc(50% - 3.47vw);
    bottom: 68vw;
    background-color: white;
    border: 0.8vw solid black;
  }

  .dot-company-2 {
    left: 40.5vw;
    bottom: 47.5vw;
    background-color: white;
    border: 0.8vw solid black;
  }

  /* Service Section */
  #service .container {
    position: relative;
    height: 603vw;
  }

  #service .section-title-wrapper {
    top: 21vw;
    right: 8vw;
    text-align: right;
  }

  .card-cluster-service-1 {
    left: calc(50% - 45vw);
    top: 48vw;
    width: 90vw;
    height: 150vw;
  }

  .service-card-1 {
    width: 100%;
    height: 107vw;
    z-index: 9;
    padding: 0 8vw;
    top: 0;
    left: 0;
  }

  .card-cluster-service-2 {
    left: calc(50% - 45vw);
    top: 185vw;
    width: 90vw;
    height: 176vw;
  }

  .service-card-2 {
    height: 154vw;
    width: 100%;
    padding: 7vw;
  }

  .card-cluster-service-3 {
    left: calc(50% - 45vw);
    top: 350vw;
    width: 90vw;
    height: 202vw;
  }

  .service-card-3 {
    height: 168vw;
    width: 100%;
    padding: 7vw;
  }

  .card-cluster h4 {
    font-size: 3.7vw;
    padding-bottom: 2.6vw;
    margin-bottom: 4.8vw;
  }

  .image-card {
    width: 41vw;
    height: 41vw;
  }

  .image-card img {
    width: 100%;
    height: 100%;
    border-radius: 5%;
  }

  .service-title {
    font-size: 4.8vw;
    text-align: center;
    width: 100%;
    margin: 0;
  }

  .description {
    font-size: 3.7vw !important;
    margin-bottom: 8vw;
  }

  .more-button {
    align-self: center;
    padding: 2.5vw 16vw;
    font-size: 4vw;
    box-shadow: 0.6vw 0.8vw 0 #000;
    border-radius: 8vw;
  }

  .more-button svg {
    width: 9.06vw;
    height: 6.4vw;
    padding-left: 1vw;
  }

  .contact-button {
    width: 50vw;
    height: 50vw;
    bottom: 13vw;
    box-shadow: 1vw 1.3px 0 #000;
    border-width: 0.53vw;
    left: calc(50% - 25vw);
  }

  .contact-button-title {
    font-size: 7.2vw;
    padding-top: 10vw;
  }

  .contact-button-subtitle {
    font-size: 4.8vw;
    margin-bottom: 2.6vw;
  }

  .contact-button svg {
    width: 8.5vw;
    height: 8.5vw;
  }

  /* Company Section */
  #company .container {
    position: relative;
    height: 390vw;
  }

  #company .section-title-wrapper {
    top: 21vw;
    left: 8vw;
  }

  .card-cluster-company-1 {
    left: calc(50% - 45vw);
    top: 48vw;
    width: 90vw;
    height: 311vw;
  }

  .company-card-1 {
    width: 100%;
    height: 279vw;
    z-index: 9;
    padding: 0 8vw;
    top: 0;
    left: 0;
  }

  .company-info-list {
    padding-top: 6vw;
  }

  .info-row {
    /* flex-direction: column; */
    gap: 1.3vw;
    padding-bottom: 4vw;
  }

  .info-row dt {
    flex-basis: 30%;
    font-weight: 600;
    color: #7e7e7e;
    font-size: 3.7vw;
  }

  .info-row dd {
    flex-basis: 70%;
    font-size: 3.7vw;
  }

  .info-row dd.small-text {
    font-size: 3.2vw;
  }

  .map-link img {
    width: 3vw;
    height: auto;
  }

  .thankyou-circle {
    bottom: 26vw;
    left: calc(50% - 13.3vw);
    width: 26.6vw;
    height: 26.6vw;
    font-size: 4.8vw;
  }

  /* --- Contact Page --- */
  .contact-section {
    padding: 10vw 0;
  }

  .page-subtitle {
    font-size: 4.5vw;
    margin: 0 0 2.67vw 0;
  }

  .page-title {
    font-size: 8vw;
    padding-bottom: 2.67px;
  }

  .page-title::after {
    width: 25vw;
    height: 0.27vw;
    margin-left: 4vw;
  }

  .page-title-wrapper {
    padding: 8vw 5.33vw;
  }

  .contact-form-container {
    padding: 7vw 5vw;
    border-radius: 4vw;
  }

  .form-description {
    font-size: 4.27vw;
    margin-bottom: 8vw;
  }

  .form-group {
    margin-bottom: 8vw;
  }

  .form-group label {
    font-size: 4.27vw;
    margin-bottom: 4vw;
  }

  .required {
    padding: 0.5vw 2vw;
    border-radius: 1vw;
    font-size: 3vw;
    margin-left: 2vw;
  }

  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group select,
  .form-group textarea {
    padding: 4vw;
    border: 0.27vw solid #ccc;
    border-radius: 2.13vw;
    font-size: 4.27vw;
    background-color: #fff;
    box-sizing: border-box;
    width: 100%;
  }

  .form-group select {
    -webkit-appearance: none; /* for Chrome, Safari, etc. */
    -moz-appearance: none; /* for Firefox */
    appearance: none;
    color: #000;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-chevron-down' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 4vw center;
    background-size: 4.27vw;

    padding-right: 10vw;
  }

  .form-submit {
    margin-top: 13.33vw;
  }

  .submit-button {
    padding: 5vw 33vw;
    border-radius: 10vw;
    font-size: 4.7vw;
  }
  */

  /* --- Footer --- */
  .site-footer {
    background-color: #fff; /* Match design */
  }

  .site-footer .container {
    padding: 0 5.33vw;
  }

  .footer-main {
    padding: 0;
    border-top: 0.53vw solid black;
  }
  .footer-main-content {
    flex-direction: column;
    align-items: flex-start; /* Align logo to the left */
    gap: 0;
    text-align: left;
    padding: 0 5.33vw;
  }
  .footer-logo {
    font-size: 8vw;
    width: 100%;
    padding: 6vw 0;
    box-sizing: border-box;
    border-bottom: 0.27vw solid #eee;
  }
  .footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
  }
  .footer-nav a {
    margin-left: 0;
    font-size: 4.8vw;
    font-weight: 700;
    padding: 4.5vw 0;
    border-bottom: 0.27vw solid #eee;
  }

  /* Show sub-links on mobile */
  .footer-nav a.footer-sub-link {
    display: block !important;
    padding-left: 5.33vw;
    font-size: 4.27vw;
    font-weight: 500;
  }

  /* Hide desktop contact link and show mobile button */
  .footer-nav .desktop-contact-link {
    display: none;
  }
  .footer-contact-mobile {
    display: block !important;
    width: 100%;
    text-align: center;
    margin: 8vw 0;
  }
  .footer-contact-mobile .contact-btn {
    background-color: #000;
    color: #fff;
    text-decoration: none;
    padding: 4vw 13.33vw;
    border-radius: 13.33vw;
    font-weight: 700;
    font-size: 4.8vw;
    display: inline-block;
  }

  .footer-bottom {
    padding: 5.33vw;
    background-color: #000;
  }
  .footer-bottom-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 4vw;
    width: 100%;
    box-sizing: border-box;
    padding: 0; /* remove container padding */
  }
  .footer-bottom-content .footer-link,
  .footer-bottom-content .copyright-text {
    font-size: 3.2vw;
  }

  .back-to-top-btn-floating {
    width: 13.33vw;
    height: 13.33vw;
    right: 5.33vw;
    bottom: 5.33vw;
    box-shadow: 0.53vw 0.53vw 0 #000;
    border: 0.53vw solid #000;
  }

  .back-to-top-btn-floating svg {
    width: 8.53vw;
    height: 8.53vw;
  }
}
