/* 모두멤버스 지점소개(공통) - 단일 소스: https://modumembers.co.kr/shop/shop.css */
.hidden-title {
  display: none;
}

.hero-branch {
  font-family: "Paperlogy", "GmarketSans", sans-serif;
}

.hero-branch.hero-region-section {
  background: url("https://modumembers.co.kr/shop/img/hero-region-bg.png")
    no-repeat right bottom / cover;
  /* background:
    linear-gradient(290deg, #f1f0fe 7.93%, #fefeff 43.38%),
    linear-gradient(286deg, #fff 63.54%, #f1f0fe 97.13%); */
}

.hero-branch .inner {
  width: 95%;
  padding-top: 100px;
  padding-bottom: 0;
  max-width: 1520px;
  margin: 0 auto;
}

.hero-region {
  display: flex;
  align-items: center;
  gap: 50px;
  padding-bottom: 60px;
}

.hero-region-map {
  position: relative;
  flex: 0 0 44%;
  max-width: 660px;
  background: #fff;
}

.hero-region-watermark {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  max-width: 130px;
}

.hero-region-watermark img {
  display: block;
  width: 100%;
}

.hero-region-section.is-inview .hero-region-watermark img {
  animation: watermarkSpin 10s linear infinite;
  animation-delay: 0.35s;
}

.hero-region-section.is-pending .hero-region-map,
.hero-region-section.is-pending .hero-region-head,
.hero-region-section.is-pending .hero-region-desc,
.hero-region-section.is-pending .region-tabs,
.hero-region-section.is-pending .region-branches,
.hero-region-section.is-pending .hero-region-watermark,
.hero-region-section.is-pending .korea-map {
  opacity: 0;
}

.hero-region-section.is-inview .hero-region-watermark {
  animation:
    watermarkFloat 4s ease-in-out infinite,
    watermarkIn 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.35s, 0.35s;
}

.hero-region-section.is-inview .korea-map {
  animation: mapReveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-region-section.is-inview .hero-region-map {
  animation: heroSlideRight 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-region-section.is-inview .hero-region-head {
  animation: heroFadeDown 1s ease both;
}

.hero-region-section.is-inview .hero-region-desc {
  animation: heroFadeUp 0.7s ease both;
  animation-delay: 0.38s;
}

.hero-region-section.is-inview .region-tabs {
  animation: heroFadeUp 0.7s ease both;
  animation-delay: 0.48s;
}

.hero-region-section.is-inview .region-branches {
  animation: heroFadeUp 0.7s ease both;
  animation-delay: 0.58s;
}

.korea-map {
  display: block;
  border-radius: 30px;

  box-shadow: 0 2px 10px 5px rgba(28, 22, 107, 0.08);
  overflow: hidden;
  background:
    linear-gradient(
      147deg,
      rgba(253, 253, 255, 0.7) 16.65%,
      rgba(241, 240, 254, 0.7) 101.71%
    ),
    #fff;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

.region-path {
  transition:
    fill 0.35s ease,
    filter 0.35s ease,
    opacity 0.35s ease;
  cursor: pointer;
}

.region-path:hover {
}

.region-path.is-active {
  fill: #3b318f;
}

.hero-region-info {
  flex: 1;
  min-width: 0;
  word-break: keep-all;
}

.hero-region-eyebrow {
  display: block;
  color: #5b48bc;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 14px;
}

/* 타이틀 copy_e 텍스트 채움 (지점 사이트 공통 — common.css 없이도 동작) */
.hero-region-section .copy_e {
  position: relative;
  display: inline-block;
  line-height: 1.3em;
  white-space: nowrap;
}

.hero-region-section .copy_e .copy {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-block;
  width: 0;
  height: 100%;
  font-size: 1em;
  font-weight: inherit;
  line-height: 1.3em;
  opacity: 0.2;
  overflow: hidden;
  white-space: nowrap;
  transition:
    width 1s ease-in-out,
    opacity 0.6s ease-in-out;
}

.hero-region-section .copy_e.active .copy {
  width: 100%;
  opacity: 1;
}

.hero-region-title {
  font-size: 52px;
  line-height: 1.3;
  font-weight: 700;
  color: #2a2827;
  margin-bottom: 30px;
}

.hero-region-title .copy_e {
  color: rgba(42, 40, 39, 0.12);
}

.hero-region-title .copy_e .copy {
  color: #2a2827;
}

.hero-region-title b {
  /* display: block; */
  color: #3b318f;
}

.hero-region-title b.copy_e {
  color: rgba(59, 49, 143, 0.12);
}

.hero-region-title b.copy_e .copy {
  color: #3b318f;
}

.hero-region-title b.copy_e.active .copy {
  transition-delay: 0.35s;
}

.hero-region-desc {
  font-size: 20px;
  color: #474342;
  margin-bottom: 70px;
}

.hero-region-desc b {
  color: #2a2827;
  font-weight: 700;
}

.region-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 10px;
  margin-bottom: 40px;
  border-radius: 50px;
  background: #fafafa;
  box-shadow: 0 1px 6px 5px rgba(15, 0, 89, 0.08);
}

.region-tabs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 34px;
  padding-right: 38px;
  border-radius: 50px;
  font-size: 20px;
  font-weight: 700;
  color: #3b308e;
  cursor: pointer;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  position: relative;
}

.region-tabs li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(59, 49, 143, 0.12);
}

.region-tabs li.active {
  background: #8f6ce5;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(143, 108, 229, 0.35);
}

.region-tabs li em {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(10%, -10%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  border-radius: 50px;
  background: #e7e3f2;
  color: #8a86a0;
  font-size: 16px;
  font-weight: 700;
  font-style: normal;
}

.region-tabs li.active em {
  background: #3b308e;
  color: #fff;
}

.region-branches {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-content: flex-start;
}

.region-branches > li {
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 20px;
  color: #3b318f;
  border: 0.5px solid rgba(165, 163, 181, 0.5);
  background: #fff;
  box-shadow: 0 2px 5px 3px rgba(15, 5, 98, 0.05);
  transition:
    border-color 0.25s ease,
    color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.region-branches > li.is-entering {
  animation: branchIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i, 0) * 0.04s);
}

.region-branch {
  cursor: pointer;
}

.region-branch:hover {
  border-color: #3b318f;
  background: #3b318f;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(59, 49, 143, 0.22);
}

.region-empty {
  color: #a6a2b4;
  border-style: dashed;
  cursor: default;
}

.hero-banner {
  background: #fff;
  padding: 20px 0;
  overflow: hidden;
}

.hero-banner-inner {
  display: flex;
  white-space: nowrap;
  animation: scroll-text 30s linear infinite;
}

.hero-banner p {
  font-family: "Paperlogy", "GmarketSans", sans-serif;
  color: rgba(59, 49, 143, 0.5);
  font-size: 50px;
  font-style: normal;
  font-weight: 200;
  letter-spacing: 50px;
  display: inline-block;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-banner p b {
  font-weight: 900;
}

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

  100% {
    transform: translateX(-50%);
  }
}

@keyframes watermarkSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes watermarkFloat {
  0%,
  100% {
    transform: translate(-50%, -50%);
  }

  50% {
    transform: translate(-50%, calc(-50% - 8px));
  }
}

@keyframes watermarkIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.85);
  }

  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes mapReveal {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(16px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroSlideRight {
  from {
    opacity: 0;
    transform: translateX(-28px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroSlideLeft {
  from {
    opacity: 0;
    transform: translateX(28px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroFadeDown {
  from {
    opacity: 0;
    transform: translate3d(0, -30px, 0);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes branchIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-region-section .copy_e .copy {
    transition: none;
    width: 100%;
    opacity: 1;
  }

  .hero-region-section.is-pending .hero-region-head,
  .hero-region-section.is-pending .hero-region-desc,
  .hero-region-section.is-pending .region-tabs,
  .hero-region-section.is-pending .region-branches,
  .hero-region-section.is-pending .hero-region-watermark {
    opacity: 1;
  }

  .hero-region-section.is-inview .hero-region-watermark,
  .hero-region-section.is-inview .hero-region-watermark img,
  .hero-region-section.is-inview .korea-map,
  .hero-region-section.is-inview .hero-region-head,
  .hero-region-section.is-inview .hero-region-desc,
  .hero-region-section.is-inview .region-tabs,
  .hero-region-section.is-inview .region-branches,
  .region-branches > li.is-entering,
  .hero-banner-inner {
    animation: none;
  }

  .region-tabs li:hover,
  .region-tabs li.active,
  .region-branch:hover {
    transform: none;
  }
}

@media (max-width: 1280px) {
  .hero-branch .inner {
    padding-top: 80px;
  }

  .hero-region {
    gap: 40px;
  }

  .hero-region-title {
    font-size: 44px;
  }

  .hero-region-desc {
    font-size: 18px;
    margin-bottom: 50px;
  }

  .region-tabs li {
    font-size: 18px;
    padding: 11px 28px;
  }

  .region-branches > li {
    font-size: 18px;
  }
}

@media (max-width: 1100px) {
  .hero-branch.hero-region-section {
    background-position: center top;
  }

  .hero-region {
    flex-direction: column-reverse;
    align-items: center;
    gap: 32px;
    padding-bottom: 40px;
  }

  .hero-region-map {
    flex: none;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    background: transparent;
  }

  .hero-region-watermark {
    max-width: 96px;
  }

  .korea-map {
    border-radius: 24px;
  }

  .hero-region-info {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-region-title {
    font-size: 38px;
  }

  .hero-region-desc {
    margin-bottom: 36px;
  }

  .region-tabs,
  .region-branches {
    justify-content: center;
  }

  .hero-banner-inner {
    animation: scroll-text 10s linear infinite;
  }
}

@media (max-width: 768px) {
  .hero-branch .inner {
    width: 92%;
    padding-top: 60px;
  }

  .hero-region {
    gap: 24px;
    padding-bottom: 32px;
  }

  .hero-region-map {
    max-width: 360px;
  }

  .hero-region-watermark {
    max-width: 72px;
  }

  .korea-map {
    border-radius: 18px;
  }

  .hero-region-info {
    text-align: left;
  }

  .hero-region-eyebrow {
    font-size: 14px;
    margin-bottom: 10px;
  }

  .hero-region-title {
    font-size: clamp(28px, 7.2vw, 34px);
    margin-bottom: 22px;
  }

  .hero-region-title .copy_e,
  .hero-region-title .copy_e .copy {
    white-space: normal;
  }

  .hero-region-desc {
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 28px;
  }

  .region-tabs {
    gap: 8px;
    padding: 8px;
    margin-bottom: 24px;
    border-radius: 20px;
    justify-content: flex-start;
  }

  .region-tabs li {
    font-size: 14px;
    padding: 9px 20px;
    padding-right: 24px;
  }

  .region-tabs li em {
    font-size: 12px;
    padding: 0 5px;
  }

  .region-branches {
    gap: 8px;
    justify-content: flex-start;
  }

  .region-branches > li {
    font-size: 14px;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .hero-branch .inner {
    padding-top: 44px;
  }

  .hero-region-map {
    max-width: 100%;
  }

  .hero-region-watermark {
    max-width: 60px;
  }

  .korea-map {
    border-radius: 16px;
    box-shadow: 0 2px 8px 3px rgba(28, 22, 107, 0.06);
  }

  .hero-region-eyebrow {
    font-size: 13px;
  }

  .hero-region-title {
    font-size: 7.2vw;
    line-height: 1.35;
    margin-bottom: 18px;
  }

  .hero-region-desc {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .region-tabs {
    gap: 6px;
    padding: 6px;
    margin-bottom: 20px;
    border-radius: 16px;
  }

  .region-tabs li {
    font-size: 13px;
    padding: 8px 14px;
    padding-right: 20px;
  }

  .region-tabs li em {
    font-size: 11px;
    transform: translate(8%, -12%);
  }

  .region-branches > li {
    font-size: 13px;
    padding: 7px 14px;
  }

  .hero-banner {
    padding: 5px 0;
  }

  .hero-banner p {
    font-size: 7vw;
    letter-spacing: 0.35em;
  }

  .hero-banner-inner {
    animation: scroll-text 8s linear infinite;
  }
}
