:root {
  --brand-gold: #e0a95b;
  --text-main: #343434;
  --text-muted: #7a7a7a;
  --line-soft: #e8e8e8;
  --card-bg: #ffffff;
  --top-offset: 120px;
  --bottom-offset: 128px;
}

body.home-index {
  color: var(--text-main);
  background: linear-gradient(180deg, #f9f7f3 0%, #ffffff 240px) no-repeat;
  padding-top: calc(var(--top-offset) + 4px);
  padding-bottom: 0;
}

#sposp_fixed_top {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: 100%;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

#sposp_fixed_top #bottom.top-contact {
  max-width: 750px;
  margin: 0 auto;
  padding: 8px 10px;
  border-bottom: 1px solid var(--line-soft);
}

#sposp_fixed_top #bottom.top-contact p {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

#sposp_fixed_top #bottom.top-contact p a {
  color: var(--text-muted);
}

#sposp_fixed_top #bottom.top-contact .sep {
  color: #c8c8c8;
}

#sposp_fixed_top .mian {
  height: auto;
  max-width: 750px;
  margin: 0 auto;
  padding: 8px 5px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
}

#sposp_fixed_top .mian > div {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#sposp_fixed_top .mian a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 28px;
  white-space: nowrap;
  color: var(--brand-gold);
  font-size: 13px;
  line-height: 1;
}

#sposp_fixed_top .mian a .layui-icon {
  margin: 0;
  padding: 0;
  font-size: 13px;
  line-height: 1;
  color: var(--brand-gold);
}

#sposp_fixed_top .mian_list {
  max-width: 750px;
  margin: 0 auto;
  padding: 6px 5px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  justify-content: space-around;
  background: #fff;
}

#sposp_fixed_top .mian_list a {
  display: inline-block;
  font-size: 16px;
  line-height: 2.2;
  color: #4a4a4a;
  font-weight: 600;
}

.sposp_container.home-page {
  margin-top: 0 !important;
  background: #fff;
  box-sizing: border-box;
  padding-bottom: var(--bottom-offset);
}

.sposp_body.hero-gallery p {
  margin: 0;
}

.sposp_body.hero-gallery img {
  display: block;
}

#kefu {
  width: 100%;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 45;
  text-align: center;
  box-shadow: none;
}

#kefu .kefu-action,
#kefu .kefu-agreement,
#kefu #scroll-text {
  max-width: 750px;
  width: 100%;
  margin: 0 auto;
  background: var(--card-bg);
}

#kefu .kefu-action img {
  display: block;
}

#kefu .kefu-agreement {
  box-sizing: border-box;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 1.4;
}

#kefu .kefu-agreement label {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3px;
}

#kefu .kefu-agreement a {
  color: #292fc8;
}

#scroll-text {
  width: 100%;
  overflow: hidden;
  color: #909090;
  font-size: 12px;
  letter-spacing: 0.5px;
  line-height: 30px;
}

.scroll-wrapper {
  white-space: nowrap;
  will-change: transform;
  animation: marquee-scroll 18s linear infinite;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.form-pop {
  width: 100%;
  height: 100vh;
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.8);
}

.success_box {
  max-width: 640px;
  width: 92%;
  margin: 18% auto 0;
  padding: 22px 12px 14px;
  border-radius: 8px;
  box-sizing: border-box;
  background-image: linear-gradient(to right, #ead3d1, #ffffff, #ead3d1);
}

.success_box h3 {
  width: 100%;
  text-align: center;
  font-size: 24px;
  line-height: 1.8;
}

.success_box p {
  width: 100%;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  line-height: 2;
}

#jump_type > div:nth-child(1) {
  width: 100%;
  font-size: 20px;
  background: #16b777;
  border-radius: 5px;
  animation: pulse 1.1s infinite;
}

#jump_type .btn_open {
  width: 90%;
  margin: 26px auto;
  padding: 6px 0;
}

#jump_type .btn_open a {
  display: block;
  width: 100%;
  color: #fff;
  text-align: center;
  line-height: 2;
}

#jump_type .btn_open a img {
  width: 40px;
  height: 40px;
  margin-right: 8px;
  vertical-align: middle;
}

.modal-close {
  display: block;
  margin: 0 auto 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  padding: 6px 18px;
  font-size: 14px;
  cursor: pointer;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.96);
  }
}

.box_text .close {
  width: 100%;
  height: 20%;
  border: 0;
  margin: 0;
  padding: 0;
  background: transparent;
}

.box_text_describe {
  width: 98%;
  height: 100vh;
  margin: 0 1%;
  box-sizing: border-box;
  padding: 18px 12px;
  background: #fff;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.box_text_describe h2 {
  margin-bottom: 22px;
  border-bottom: 1px solid #ddd;
  font-size: 20px;
  font-weight: 700;
  line-height: 2;
}

.box_text_describe p {
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-line;
}

@media (max-width: 420px) {
  :root {
    --top-offset: 132px;
    --bottom-offset: 136px;
  }

  #sposp_fixed_top .mian a {
    font-size: 12px;
    gap: 3px;
  }

  #sposp_fixed_top .mian a .layui-icon {
    font-size: 12px;
  }

  #sposp_fixed_top .mian_list a {
    font-size: 15px;
  }

  .success_box h3 {
    font-size: 20px;
  }

  .success_box p {
    font-size: 17px;
  }
}
