/* --- CSS 變數與基礎設定 --- */
:root {
  --primary-blue: #1a9ac0;
  --accent-gold: #f2a900;
  --tag-orange: #ff6a28;
  --tag-cyan: #49d3f1;
  --bg-beige: #f5f2e9;
  --input-bg: #e6e9e0;
  --transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'Noto Sans TC', sans-serif;
  margin: 0;
  overflow-x: hidden;
  color: #333;
  line-height: 1.6;
}

html,
body {
  margin: 0;
  font-family: Roboto, "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--text);
  font-size: 16px;
  height: auto;
  color: #333;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

/* visually hidden */
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  clip-path: inset(50%);
}

.mark {
  font-weight: bolder;
}

/* =========================================================
  LAYOUT CONTAINERS
========================================================= */
.w1200,
.w1100,
.w1000,
.w800 {
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.w1200 {
  max-width: 1280px;
}

.w1100 {
  max-width: 1100px;
}

.w1000 {
  max-width: 1000px;
}

.w800 {
  max-width: 800px;
}


section {
  width: 100%;
  height: 100vh;
  min-height: 768px;
  position: relative;
  overflow: hidden;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* --- 0. Loading 頁面 --- */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s;
}

.loader {
  border: 5px solid #f3f3f3;
  border-top: 5px solid var(--primary-blue);
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(5px);
}

/* --- 1. 第一屏 (Hero) --- */


.brand {
  padding: 30px 30px;
  display: inline-flex;
}

.brand_logo {
  height: 40px;
}

.hero {
  background: #f7f4ef;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 10;
  padding-top: 2vh;

}

.main-title {
  width: 80%;
  max-width: 600px;
  margin: 0 auto 20px;
  background: transparent url('../img/mainTxt.png') center / contain no-repeat;
  width: 100%;
  aspect-ratio: 650 / 155;
}

.main-subtitle {
  font-size: 1.25rem;
  font-weight: 500;
  margin: 0 auto;
  max-width: 500px;
  text-align: center;
}

.hero-characters {
  width: 100%;
  max-width: 1000px;
  background: transparent url('../img/ch.png') center / contain no-repeat;
  aspect-ratio: 1000 / 530;
  position: relative;
  margin: 0 auto;
  z-index: 5;
  animation: handshake 1.2s ease-in-out infinite;
  transform-origin: bottom center;
  transition: all 0.5s ease;
}

@keyframes handshake {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  25% {
    transform: translateY(-3px) rotate(-0.4deg);
  }

  50% {
    transform: translateY(0px) rotate(0deg);
  }

  75% {
    transform: translateY(3px) rotate(0.4deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

.bldg {
  position: absolute;
  bottom: 0;
  z-index: 5;
  width: 45%;
}

.bldg-left {
  left: 0;
}

.bldg-right {
  right: 0;
}

.obj {
  position: absolute;
  bottom: 0;
  z-index: 9;
  width: 100%;
  height: 500px;
}

.obj img:nth-child(1) {
  position: absolute;
  left: 28%;
  bottom: 62%;
  animation: coin-glow .8s ease-in-out infinite;
}

.obj img:nth-child(2) {
  position: absolute;
  left: 40%;
  bottom: 30%;
  animation: coin-glow .8s .5s ease-in-out infinite;
}

.obj img:nth-child(3) {
  position: absolute;
  right: 40%;
  bottom: 24%;

  animation: coin-glow 1s 1.5s ease-in-out infinite;
}

.obj img:nth-child(4) {
  position: absolute;
  right: 28%;
  bottom: 50%;
  animation: coin-glow 1s .5s ease-in-out infinite;
}

.obj img:nth-child(5) {
  position: absolute;
  right: 25%;
  bottom: 70%;
  animation: coin-glow 1s ease-in-out infinite;
}

.cta {
  position: absolute;
  top: 60%;
  z-index: 10;
  left: 50%;
  width: 300px;
  transform: translateX(-50%);
}

.cta-btn {
  background: transparent url('../img/btn-cta.png') no-repeat center / contain;
  cursor: pointer;
  width: 100%;
  aspect-ratio: 200 / 90;
  border: none;
  transform: translateX(-50%);
  transition: .5s all;
  display: block;
}


.cta-btn:hover {
  animation: pulse-glow 1s ease-in-out infinite;
}

@keyframes pulse-glow {
  0% {
    filter: brightness(1) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }

  50% {
    filter: brightness(1.2) drop-shadow(0 0 18px rgba(255, 255, 255, 0.8));
  }

  100% {
    filter: brightness(1) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
  }
}

@keyframes coin-glow {

  0%,
  100% {
    filter: brightness(1) drop-shadow(0 0 0 rgba(255, 255, 255, 0));
    transform: scale(1);
  }

  50% {
    filter: brightness(1.2) drop-shadow(0 0 18px rgba(255, 255, 255, 0.8));
    transform: scale(1.05) rotate(5deg);
  }
}

.scroll {
  color: var(--tag-orange);
  font-size: 1.25em;
  font-style: italic;
  font-weight: bold;
  letter-spacing: 0.1em;
  animation: float-down 1s ease-in-out infinite;
  position: absolute;
  left: 50%;
  top: 80%;
  transform: translate(-50%, -50%);
}

@keyframes float-down {

  0%,
  100% {
    margin: 0;
  }

  50% {
    margin-top: 8px;
  }
}

.scroll::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 10px 10px 0;
  border-color: var(--tag-orange) transparent transparent;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
}


.submit-btn {
  background: transparent url('../img/btn-submit.png') no-repeat center / contain;
  cursor: pointer;
  width: 100%;
  aspect-ratio: 200 / 90;
  border: none;
  transform: translateX(-50%);
  transition: .5s all;
}

.cloud-group {
  width: 100%;
  position: absolute;
  z-index: 0;
  height: 200px;
  top: 50%;
  left: 0;
  overflow: hidden;
}

.cl-left {
  position: relative;
  left: 0;
  top: 0;
  width: 300px;
  animation: float-cloud 2s ease-in-out infinite reverse;
}

.cl-right {
  position: absolute;
  right: -100px;
  top: 0;
  width: 300px;
  animation: float-cloud 3s .5s ease-in-out infinite reverse;
}

/* --- 2. 第二屏 (GSAP 橫向捲動) --- */
.pain-points-section {
  background: #fff;
}

.pain-title-area {
  margin: 80px auto 40px;
  width: 100%;
  text-align: center;
}

.pain-title {
  position: relative;
}

h2 {
  font-size: 2.5em;
  letter-spacing: 0.1em;
  padding: 0 10px;
}

h2::before {
  content: '';
  background: transparent url('../img/title-before.png') center/contain no-repeat;
  aspect-ratio: 50/23;
  display: inline-block;
  margin-right: 20px;
  position: relative;
  top: 20px;
  height: 23px;
  width: auto;
}

h2::after {
  content: '';
  background: transparent url('../img/title-after.png') center/contain no-repeat;
  aspect-ratio: 105/23;
  display: inline-block;
  margin-left: 20px;
  position: relative;
  top: -20px;
  height: 23px;
  width: auto;
}

.horizontal-wrapper {
  display: flex;
  align-items: center;
}

.panel {
  width: 100vw;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.pain-card {
  background: #f7f4ef;
  width: 85%;
  max-width: 1100px;
  height: 550px;
  border-radius: 50px;
  display: flex;
  padding: 50px;
}

.card-left {
  flex: 1.2;
  padding-right: 40px;
  position: relative;
}

.pain-num {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 7.5em;
  font-style: italic;
  font-weight: 900;
  color: #f9e8b4;
  z-index: 1;
  transform: translate(-50%, -50%);
}

.pain-header {
  display: flex;
  align-items: center;
}

.tag-pain {
  color: var(--tag-orange);
  position: relative;
  z-index: 5;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.1em;
  font-size: 1.875em;
  white-space: nowrap;
}

h3 {
  font-size: 1.625em;
  color: #444;
  letter-spacing: 0.05em;
  text-align: left;
  margin: 0;
  position: relative;
  z-index: 10;
}

h4 {
  font-size: 1.25em;
  font-weight: 400;
  color: #888;
  letter-spacing: 0.05em;
  text-align: center;
  margin: 0;
  background: #ffffffef;
  padding: 6px 30px;
  border-radius: 50px;
}

.card-right {
  flex: 1;
  border-radius: 40px;
  padding: 30px;
  text-align: center;
}

.brand-blue {
  color: var(--primary-blue);
  font-weight: 600;
  font-size: 1.875rem;
  margin: 20px 0 0;
  text-align: left;
}

.pain-footer-note {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .4s ease, transform .4s ease, visibility .4s ease;
}

.pain-footer-note.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  animation: bounce-up 0.7s ease;
}

@keyframes bounce-up {
  0% {
    transform: translateY(15px);
    opacity: 0;
  }

  50% {
    transform: translateY(-8px);
    opacity: 1;
  }

  70% {
    transform: translateY(3px);
  }

  100% {
    transform: translateY(0);
  }
}

.btn-group {
  position: absolute;
  z-index: 1000;
  top: 50%;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  max-width: 1300px;

}

.prev-btn,
.next-btn {
  width: 50px;
  height: 50px;
  background-color: transparent;
  border-radius: 50%;
  cursor: pointer;
  position: relative;
  border: 2px solid #333;
  animation: notice-right 1s ease-in-out infinite;
}

.prev-btn {
  display: none;
}

@keyframes notice-right {

  0%,
  100% {
    margin: 0;
  }

  50% {
    margin-right: 20px;
  }

}

.prev-btn:hover,
.next-btn:hover {
  background-color: #333;
}

.prev-btn.disabled,
.next-btn.disabled {
  opacity: 0.35;
  cursor: not-allowed;
  border-color: #bbb;
  background-color: transparent;
}

.prev-btn.disabled::before,
.next-btn.disabled::before {
  border-color: #bbb;
}

.prev-btn::before,
.next-btn::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 0 6px 10px;
  border-color: transparent transparent transparent #333;
  position: relative;
  top: 40%;
  left: 55%;
  display: inline-block;
  transform: translate(-50%, -50%);
}

.next-btn:hover::before {
  border-color: transparent transparent transparent #fff;
}

.prev-btn::before {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 6px 10px 6px 0;
  border-color: transparent #333 transparent transparent;
  position: relative;
  top: 40%;
  left: 45%;
  display: inline-block;
  transform: translate(-50%, -50%);
}

.prev-btn:hover::before {
  border-width: 6px 10px 6px 0;
  border-color: transparent #fff transparent transparent;
}

/* --- 3. 第三屏 (優勢) --- */
.advantage-section {
  background-color: #ffcf49;
  padding: 60px 0;
  min-height: auto;
  height: auto;
}

.advantage-section::after {
  content: '';
  background: transparent url('../img/p3-tree.png') center / contain no-repeat;
  aspect-ratio: 1500/50;
  position: absolute;
  z-index: 0;
  left: 50%;
  bottom: 0;
  width: 100%;
  transform: translateX(-50%);
}

.adv-main-title {
  text-align: center;
  color: #333;
  margin-bottom: 60px;
}

.adv-content-wrapper {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
  z-index: 10;
  position: relative;
}

.adv-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.right-side {
  margin-top: 50px;
}

/* 標籤樣式 */
.tag-wrapper {
  margin: -60px 0 -30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.adv-tag {
  display: inline-block;
  padding: 8px 30px;
  border-radius: 50px;
  font-weight: 600;
  letter-spacing: 0.1em;
  font-size: 1.875em;
  color: white;
}

.tag-orange {
  background-color: #ff6a28;
}

.tag-cyan {
  background-color: #49d3f1;
}

/* 卡片樣式 */
.adv-card {
  background-color: white;
  border-radius: 30px;
  padding: 20px 30px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 20px
}

.card-icon {
  width: 80px;
  flex-shrink: 0;
}

.card-icon img {
  max-width: 100%;
  height: auto;
}

.card-body h3 {
  margin-top: 0;
  font-size: 1.5em;
  font-weight: 600;
  color: #444;
  margin-bottom: 10px;
  letter-spacing: .1em;
}

.card-body p {
  color: #555;
  line-height: 1.5;
  margin: 0;
}

/* 文字強調色 */
.highlight-orange {
  color: #ff6a28;
}

.highlight-cyan {
  color: #1a9ac0;
}

.city {
  background: transparent url('../img/obj.png') center / contain no-repeat;
  aspect-ratio: 538/358;
  position: absolute;
  z-index: 0;
  left: 52%;
  top: 60px;
  mix-blend-mode: overlay;
  width: 530px;
}

.b1 {
  position: absolute;
  left: 10%;
  bottom: 0;
  z-index: 1;
}

.b2 {
  position: absolute;
  right: 10%;
  bottom: 0;
  z-index: 1;
}

/* RWD 調整 */
@media (max-width: 992px) {
  .adv-content-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .adv-column {
    width: 100%;
    max-width: 600px;
  }
}

/* --- 4. 第四屏 (成功案例) --- */
.cases-section {
  background: #62b8cb;
  padding: 60px 0;
  min-height: auto;
  height: auto;
  overflow: visible;
  min-height: calc(100vh + 80px);
}

.cases-section h2::before,
.cases-section h2::after {
  content: '';
  background: transparent url('../img/title-iconw.png') center/contain no-repeat;
  top: auto;
  bottom: auto;
  width: 53px;
}

.cases-container {
  max-width: none;
  padding: 0 18px;
}

.cases-header {
  position: relative;
  text-align: center;
  z-index: 5;
}

.cases-title-wrap {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 10px;
}

.cases-main-title {
  color: #fff;
}

.accordion-container {
  width: 100%;
  display: flex;
  gap: 30px;
  margin: -65px auto 0;
  align-items: center;
  max-width: 1500px;
}

.acc-item {
  flex: 1;
  min-width: 0;
  position: relative;
  border-radius: 25px;
  overflow: hidden;
  cursor: pointer;
  transition: .5s all;
  background: #efefef;
}

.acc-item:not(.active):hover {
  box-shadow: 2px 7px 15px #00000076;
}

.acc-item:not(.active) {
  box-shadow: none;
}

.acc-item:not(.active) .acc-inner {
  background: #ebe6e3;
}

.acc-item.active {
  flex: 1;
  background: transparent;
  box-shadow: 3px 7px 15px rgba(0, 0, 0, 0.25);
  opacity: 1;
}

.acc-inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 30px;
}

.acc-img-box {
  position: relative;
  height: 100%;
  overflow: hidden;
  background: transparent;
  height: 300px;
}

.acc-item.active .acc-img-box {
  height: 300px;
  background: linear-gradient(180deg, #b7e1ef 0%, #42b1d3 100%);
  border-radius: 30px;
}

.acc-bg-img {
  width: 100%;
  height: 115%;
  object-fit: contain;
  object-position: center bottom;
  transition: transform 0.55s ease, opacity 0.45s ease, filter 0.45s ease;
}

.acc-item:not(.active) .acc-bg-img {
  opacity: 0.2;
}

.acc-item:not(.active):hover .acc-bg-img {
  opacity: .6;
}

.acc-item.active .acc-bg-img {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.acc-tag {
  white-space: nowrap;
  font-size: 1.5em;
  border-radius: 30px;
  padding: 4px 15px;
  background: linear-gradient(90deg, #1a8fd2 0%, #14add9 100%);
  color: #fff;
  font-weight: 600;
  display: inline-block;
}

.txt {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  text-align: center;
}

.acc-item.active .txt {
  transform: none;
  opacity: 0;
  pointer-events: none;
  visibility: hidden
}

.acc-title-center {
  text-align: center;
  font-size: 1.5em;
  font-weight: 600;
  margin-top: 10px;
  color: #444;
  z-index: 2;
  text-shadow: 0 0 10px #fff;
}


.acc-content {
  opacity: 0;
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 0 0 30px 30px;
  padding: 0 30px;
  transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.55s cubic-bezier(0.25, 1, 0.5, 1), padding 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

.acc-item.active .acc-content {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  padding: 25px 30px;
  max-height: none;
}

.acc-item.active .desc {
  /* max-height: 200px;
  overflow-y: auto; */
}

.acc-content-head {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 18px;
  align-items: start;
  margin-bottom: 16px;
}

.acc-school-name {
  color: #333;
  font-size: 1.875em;
  font-weight: 600;
  line-height: 1.5;
  padding-top: 12px;
}

.acc-content h3 {
  font-size: 1.5em;
  margin: 0;
  text-align: right;
  line-height: 1.5;
  font-weight: 600;
}

.acc-content p {
  line-height: 1.5;
  color: #555;
}

.acc-content p:last-child {
  margin-bottom: 0;
}

.highlight-orange {
  color: #ff7a2f;
}

.highlight-cyan {
  color: #1a98d2;
}

/* --- 5. 第五屏 (表單) --- */
.form-section {
  background: #f7f4ef;
  padding: 80px 0 60px;
  min-height: auto;
  height: auto;
  display: block;
}

.form-section h2::before,
.form-section h2::after {
  content: '';
  background: transparent url('../img/title-icon.png') center/contain no-repeat;
  top: auto;
  bottom: auto;
  width: 53px;
}

.consult-title {
  text-align: center;
  color: #333;
  margin: 0 0 60px;
  letter-spacing: 0.1em;
}

.consult-wrap {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  position: relative;
  z-index: 1000;
}

.consult-illus {
  flex: 0 0 calc((100% - 40px)/2);
  max-width: 500px;
}

.consult-illus img {
  width: 100%;
  height: auto;
  display: block;
}

.consult-form {
  flex: 0 0 calc((100% - 40px)/2);
}

.consult-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-group {
  min-width: 0;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label,
.captcha-label {
  display: block;
  font-size: 1.25em;
  font-weight: 500;
  color: #2b2b2b;
  margin-bottom: 8px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.form-group label span,
.captcha-label span,
.check-item em {
  color: #ff7a00;
  font-style: normal;
  margin-left: 2px;
}

.form-group input,
.form-group textarea,
.captcha-input {
  width: 100%;
  border: none;
  outline: none;
  background: #e8e8e0;
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 1rem;
  color: #333;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.form-group input {
  height: 50px;
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
  padding-top: 16px;
}

.form-group textarea::placeholder {
  color: #9c9c9c;
  font-weight: 600;
}

.phone-fields {
  display: flex;
  align-items: center;
  gap: 10px;
}

.phone-fields input:first-child {
  flex: 0 0 110px;
}

.phone-fields input:last-child {
  flex: 1;
}

.phone-fields .dash {
  flex: 0 0 auto;
  font-size: 1.5rem;
  line-height: 1;
  color: #444;
  transform: translateY(1px);
}

.check-list {
  margin-top: 18px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 1.25em;
  color: #333;
  font-weight: 500;
  line-height: 1.5;
}

.check-item input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin: 2px 0 0;
  border-radius: 2px;
  background: #e8e8e0;
  border: 1px solid rgba(0, 0, 0, 0.04);
  flex: 0 0 24px;
  position: relative;
}

.check-item input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 2px;
  width: 6px;
  height: 12px;
  border: solid #333;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.captcha-block {
  margin-top: 18px;
  display: flex;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.captcha-input {
  width: 100px;
  flex: 0 0 100px;
  height: 50px;
}

.captcha-code {
  flex: 0 0 auto;
  min-width: 80px;
  height: 50px;
  border-radius: 16px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  font-size: 1.375rem;
  font-weight: 900;
  color: #2e2e2e;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  letter-spacing: 0.12em;
}

.captcha-refresh {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: #2b2b2b;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.captcha-refresh svg {
  width: 26px;
  height: 26px;
}

.consult-submit {
  margin-top: 30px;
  text-align: center;
  width: 250px;
}

.consult-submit:hover {
  animation: pulse-glow 1s ease-in-out infinite;
}

.form-section .cloud-group {
  top: 0;
  height: 100vh;
}

@keyframes float-cloud {

  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(30px);
  }
}

.cl-left2 {
  position: relative;
  left: -300px;
  top: 20%;
  width: 600px;
  animation: float-cloud 4s ease-in-out infinite;
}

.cl-left3 {
  position: relative;
  left: 100px;
  top: 35%;
  animation: float-cloud 5s ease-in-out infinite;
}

.cl-left4 {
  position: relative;
  left: 300px;
  top: 55%;
  width: 260px;
  animation: float-cloud 4.5s ease-in-out infinite;
}

.cl-right2 {
  position: absolute;
  right: -400px;
  top: 65%;
  width: 600px;
  animation: float-cloud 5.5s ease-in-out infinite reverse;
}

.cl-right3 {
  position: absolute;
  right: 0;
  top: 65%;
  width: 250px;
  animation: float-cloud 4s ease-in-out infinite reverse;
}

/* Popup */
.success-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
}

.success-box {
  background: white;
  padding: 50px;
  border-radius: 30px;
  text-align: center;
  max-width: 320px;
  margin: 20px auto;
}

.success-box h3 {
  color: #1a8fdf;
  font-weight: 600;
  text-align: center;
}

.main-btn {
  background: transparent;
  border: 3px solid #444;
  color: #444;
  font-size: 1.25em;
  letter-spacing: 0.1em;
  font-weight: 600;
  padding: 10px 40px;
  border-radius: 30px;
  cursor: pointer;
}

.main-btn:hover {
  background: #444;
  color: #fff;
}

/* Utility */
.is-hidden {
  display: none !important;
}


.bolder {
  font-weight: 600;
}


p {
  font-size: 1em;
  letter-spacing: .1em;
  font-weight: 500;
  text-align: left;
  position: relative;
  z-index: 5;
}

p a {
  text-decoration: underline;
}


.link {
  text-decoration: underline;
}

/* Footer */
footer {
  background: #333;
  padding: 20px 30px;
  color: white;
  letter-spacing: .1em;
}

.center {
  text-align: center;
}

/* RWD */
@media (max-width: 1440px) {
  .accordion-container {
    gap: 20px;
    min-height: 620px;
  }

  .acc-item.active {
    flex: 2.5;
  }

  .obj {
    height: 100px;
  }
}

@media (max-width: 1024px) {
  .cases-person {
    width: 74px;
  }

  .cases-person-left {
    left: -90px;
  }

  .cases-person-right {
    right: -90px;
  }

  .consult-wrap {
    gap: 25px;
  }

  .consult-illus {
    flex: 1 1 100%;
    width: 100%;
  }

  .consult-form {
    flex: 1 1 100%;
    width: 100%;
  }

  .hero-characters {
    min-width: 1000px;
    left: 50%;
    transform: translateX(-50%) !important;
  }

}

@media (max-width: 769px) {
  .btn-group {
    display: none;
  }

  .hero-content {
    padding-top: 4vh;
  }

  .brand_logo {
    height: 35px;
  }

  .bldg {
    width: 200%;
  }

  .main-title {
    width: 80%;
    max-width: 600px;
    margin: 0 auto 20px;
    background: transparent url('../img/mainTxt-m.png') center / contain no-repeat;
    width: 100%;
    aspect-ratio: 620 / 259;
  }

  .hero-characters {
    min-width: 800px;
  }


  .cta {
    top: 65%;
    width: 250px;
  }

  .scroll {
    top: 90%;
  }

  h2 {
    font-size: 2em;
  }

  h2::before,
  h2::after {
    height: 18px;
    width: auto;
    top: auto;
    bottom: auto;
  }

  h2::after {
    background: transparent url('../img/title-before.png') center/contain no-repeat;
    aspect-ratio: 53/23;
  }

  .horizontal-wrapper,
  .adv-content-wrapper {
    flex-direction: column;
    height: auto;
  }

  .pain-points-section {
    height: auto;
    min-height: auto;
  }

  .card-left {
    padding: 0;
  }

  .card-right {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
  }

  .solution-text {
    order: 1;
  }

  .solution-illus {
    order: 2;
    width: 100%;
  }

  .pain-footer-note {
    position: relative;
    bottom: auto;
    padding: 0 30px 30px;
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    position: static !important;
  }

  img {
    margin: 0 auto;
  }

  .panel,
  .adv-card {
    width: 100% !important;
    height: auto !important;
    margin-bottom: 40px;
  }

  .pain-card {
    flex-direction: column;
    height: auto;
    padding: 40px 20px;
  }

  .city {
    left: 50%;
    top: -20px;
    transform: translateX(-50%) !important;
  }

  .cases-section {
    padding: 36px 0 70px;
  }

  .cases-title-wrap {
    min-height: auto;
    padding-top: 0;
    margin-top: 40px;
  }

  .cases-main-title {
    margin-top: 0;
  }

  .acc-content p {
    line-height: 1.5;
  }

  .form-group label,
  .captcha-label {
    font-size: 1.25em;
    font-weight: 500;
  }

  .accordion-container {
    min-height: auto;
    margin-top: 0;
    gap: 40px
  }

  .acc-item,
  .acc-item.active {
    width: 100% !important;
  }

  .acc-item {
    flex: none !important;
    min-height: 180px;
    transform: none !important;
  }

  .acc-item.active .acc-img-box {
    height: 260px;
    border-radius: 28px 28px 0 0;
  }

  .acc-content {
    border-radius: 0 0 28px 28px;
  }

  .acc-item.active .acc-content {
    padding: 20px 20px 18px;
  }

  .acc-content-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .acc-school-name,
  .acc-content h3 {
    text-align: center;
    padding-top: 0;
  }

  .form-section {
    padding: 70px 0 90px;
  }

  .consult-title {
    margin-bottom: 30px;
  }

  .consult-wrap {
    flex-direction: column;
  }

  .consult-illus {
    max-width: 300px;
    margin: 0 auto;
  }

  .consult-grid {
    grid-template-columns: 1fr;
  }

  .form-group.full {
    grid-column: auto;
  }

  .phone-fields input:first-child {
    flex: 0 0 90px;
  }

  .captcha-row {
    flex-wrap: wrap;
    gap: 10px;
  }

  .consult-submit {
    left: 50%;
    position: relative;
  }

  p {
    font-size: 1.125em;
  }

  .adv-tag {
    font-size: 1.5em;
  }
}

@media (max-width: 769px) {

  /* 容器改直式 */
  .accordion-container {
    flex-direction: column;
  }

  /* 卡片全部一樣大小 */
  .acc-item,
  .acc-item.active {
    flex: none !important;
    width: 100% !important;
    cursor: default;
  }

  /* 圖片區固定高度 */
  .acc-img-box {
    height: 220px !important;
    background: linear-gradient(180deg, #8cc9dd 0%, #42b1d3 100%);
    border-radius: 28px 28px 0 0;
  }

  /* 圖片全部正常顯示 */
  .acc-bg-img {
    opacity: 1 !important;
    transform: none !important;
  }

  /* 中間文字（未展開狀態的標題）全部隱藏 */
  .txt {
    display: none !important;
  }

  /* 內容全部展開 */
  .acc-content {
    opacity: 1 !important;
    pointer-events: auto !important;
    max-height: none !important;
    padding: 20px !important;
  }

  /* 移除 hover / active 差異 */
  .acc-item:not(.active),
  .acc-item.active {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    background: transparent;
  }

  .obj {
    height: 450px;
  }
}

@media screen and (max-width:480px) {
  .obj img:nth-child(1) {
    left: 50%;
  }

  .obj img:nth-child(3),
  .obj img:nth-child(4),
  .obj img:nth-child(5) {
    display: none;
  }

  h3 {
    font-size: 1.5em;
    letter-spacing: normal;
  }

  .tag-pain,
  .brand-blue,
  .acc-school-name {
    font-size: 1.625em;
  }

  .mark {
    display: block;
  }

  .adv-card {
    flex-wrap: wrap;
  }

  .card-icon {
    width: 100%;
  }

  .card-body {
    width: 100%;
  }

  .card-body h3 {
    text-align: center;
  }

  .cases-person {
    display: none;
  }
}