@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;500;700;900&display=swap');

:root {
  --color-primary: #d10025;
  --color-text: #1f1715;
  --bezier: cubic-bezier(0.68, 0, 0.265, 1);

  --header-height: 120px;
  --header-padding-x: 40px;
  --header-logo-w: 150px;
  --header-nav-w: 190px;
  --header-nav-gap: 8px;
  --footer-bar-h: 88px;
  --footer-padding-x: 40px;
  --footer-padding-y: 40px;
}

@media (max-width: 1920px) and (min-width: 801px) {
  :root {
    --header-height: calc(120 / 1920 * 100vw);
    --header-padding-x: calc(40 / 1920 * 100vw);
    --header-logo-w: calc(150 / 1920 * 100vw);
    --header-nav-w: calc(190 / 1920 * 100vw);
    --header-nav-gap: calc(8 / 1920 * 100vw);
    --footer-bar-h: calc(88 / 1920 * 100vw);
    --footer-padding-x: calc(40 / 1920 * 100vw);
    --footer-padding-y: calc(40 / 1920 * 100vw);
  }
}

@media (max-width: 800px) {
  :root {
    --header-height: calc(60 / 375 * 100vw);
    --header-padding-x: calc(16 / 375 * 100vw);
    --header-logo-w: calc(75 / 375 * 100vw);
    --footer-bar-h: calc(45 / 375 * 100vw);
    --footer-padding-x: calc(16 / 375 * 100vw);
    --footer-padding-y: calc(24 / 375 * 100vw);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-family: 'Noto Sans TC', sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-top: var(--header-height);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  background: #fff;
}

h1, h2, h3, h4, h5, h6,
p, ul, ol, li, dl, dt, dd {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

img {
  display: block;
  max-width: 100%;
}

.d { display: block; }

.m { display: none; }

@media (max-width: 800px) {
  .d { display: none; }
  .m { display: block; }
}

.header-d {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--header-padding-x);
  height: var(--header-height);
  background: #fff;
}

@media (max-width: 800px) {
  .header-d { display: none; }
}

.header-d .logo {
  display: block;
  line-height: 0;
}

.header-d .logo img {
  width: var(--header-logo-w);
  height: auto;
}

.header-d .nav {
  display: flex;
  gap: var(--header-nav-gap);
  align-items: center;
}

.header-d .nav-btn {
  position: relative;
  display: block;
  text-decoration: none;
  line-height: 0;
}

.header-d .nav-btn img {
  width: var(--header-nav-w);
  height: auto;
}

.stage-m .content-wrap-m {
  position: absolute;
  inset: 0;
}

.stage-m .h1-m {
  position: absolute;
  top: calc(8 / 375 * 100vw);
  left: calc(37 / 375 * 100vw);
  width: calc(303 / 375 * 100vw);
  height: auto;
  margin: 0;
  line-height: 0;
}

.stage-m .h1-m img {
  width: 100%;
  height: auto;
  display: block;
}

.stage-m .h1-subtitle-m {
  position: absolute;
  top: calc(198 / 375 * 100vw);
  left: calc(20 / 375 * 100vw);
  width: calc(335 / 375 * 100vw);
  margin: 0;
  font-size: calc(18 / 375 * 100vw);
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.stage-m .h1-subtitle-m .sub-main {
  color: #86202E;
  display: block;
}

.stage-m .h1-subtitle-m .sub-paren {
  color: #794C33;
  display: block;
}

.stage-m .coins-m {
  position: absolute;
  top: calc(617 / 375 * 100vw);
  left: calc(306 / 375 * 100vw);
  width: calc(60 / 375 * 100vw);
  height: auto;
}

.stage-m .icon-mobile-m {
  position: absolute;
  top: calc(881 / 375 * 100vw);
  left: calc(283 / 375 * 100vw);
  width: calc(54 / 375 * 100vw);
  height: auto;
}

.stage-m .icon-graph-m {
  position: absolute;
  top: calc(1231 / 375 * 100vw);
  left: calc(320 / 375 * 100vw);
  width: calc(49 / 375 * 100vw);
  height: auto;
}

.content-wrap-m .section-anchor {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 1px;
  pointer-events: none;
  visibility: hidden;
  scroll-margin-top: var(--header-height);
}

#section-m-activity1 { top: calc(571 / 375 * 100vw); }

#section-m-activity2 { top: calc(883 / 375 * 100vw); }

#section-m-activity3 { top: calc(1211 / 375 * 100vw); }

#section-m-strategy  { top: calc(1622 / 375 * 100vw); }

.stage-m .link-btn-m-1 {
  position: absolute;
  top: calc(801 / 375 * 100vw);
  left: calc(105 / 375 * 100vw);
  width: calc(165 / 375 * 100vw);
  line-height: 0;
  transition: transform 200ms var(--bezier);
}

.stage-m .link-btn-m-2 {
  position: absolute;
  top: calc(1128 / 375 * 100vw);
  left: calc(85 / 375 * 100vw);
  width: calc(205 / 375 * 100vw);
  line-height: 0;
  transition: transform 200ms var(--bezier);
}

.stage-m .link-btn-m-1:active,
.stage-m .link-btn-m-2:active {
  transform: scale(0.97);
}

.stage-m .link-btn-m-1 img,
.stage-m .link-btn-m-2 img {
  width: 100%;
  height: auto;
  display: block;
}

.stage-m .activity3-note-m {
  position: absolute;
  top: calc(1492 / 375 * 100vw);
  left: calc(92 / 375 * 100vw);
  width: calc(212 / 375 * 100vw);
  margin: 0;
  font-size: calc(13 / 375 * 100vw);
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.15;
  text-align: left;
}

.stage-m .activity3-note-m .note-black {
  color: var(--color-text);
}

.stage-m .activity3-note-m a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 500;
}

.stage-m .cards-m-wrap {
  position: absolute;
  top: calc(1705 / 375 * 100vw);
  left: 0;
  right: 0;
  height: calc(340 / 375 * 100vw);
  touch-action: pan-y;
}

.stage-m .card-m {
  position: absolute;
  top: 0;
  left: 50%;
  width: calc(196 / 375 * 100vw);
  margin-left: calc(-98 / 375 * 100vw);
  display: block;
  line-height: 0;
  text-decoration: none;
  transform-origin: 50% 0;
  transition:
    transform 420ms cubic-bezier(0.22, 0.61, 0.36, 1),
    filter 320ms ease-out,
    opacity 320ms ease-out;
  will-change: transform, opacity, filter;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  -webkit-tap-highlight-color: transparent;
}

.stage-m .card-m img {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

.stage-m .card-m-center {
  transform: translate(0, 0) scale(1);
  filter: none;
  opacity: 1;
  z-index: 2;
}

.stage-m .card-m-left {
  transform: translate(-73%, calc(55 / 375 * 100vw)) scale(0.85);
  filter: blur(2px);
  opacity: 0.55;
  z-index: 1;
}

.stage-m .card-m-right {
  transform: translate(73%, calc(55 / 375 * 100vw)) scale(0.85);
  filter: blur(2px);
  opacity: 0.55;
  z-index: 1;
}

.stage-m .cards-m-dots {
  position: absolute;
  bottom: calc(22 / 375 * 100vw);
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: calc(14 / 375 * 100vw);
  padding: calc(7 / 375 * 100vw) calc(14 / 375 * 100vw);
  background: #fff;
  border-radius: 999px;
  box-shadow: 0 calc(2 / 375 * 100vw) calc(6 / 375 * 100vw) rgba(0, 0, 0, 0.12);
  z-index: 3;
}

.stage-m .cards-m-dots .dot {
  width: calc(7 / 375 * 100vw);
  height: calc(7 / 375 * 100vw);
  border-radius: 50%;
  background: #d9c7a8;
  cursor: pointer;
  transition: background 200ms;
}

.stage-m .cards-m-dots .dot.is-active {
  background: #5c3836;
}

.stage-m .strategy-extras-m {
  position: absolute;
  top: calc(2048 / 375 * 100vw);
  left: calc(13 / 375 * 100vw);
  width: calc(350 / 375 * 100vw);
  text-align: center;
}

.stage-m .strategy-extras-m-title {
  margin: 0 0 calc(4 / 375 * 100vw);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.stage-m .strategy-extras-m-title .title-main {
  color: #b8002c;
  display: block;
  font-size: calc(42 / 375 * 100vw);
  font-weight: 900;
  white-space: nowrap;
}

.stage-m .strategy-extras-m-title .title-main .zh {
  font-size: 0.88em;
  font-weight: 700;
}

.stage-m .strategy-extras-m-title .title-sub {
  color: #5c3836;
  display: block;
  font-size: calc(30 / 375 * 100vw);
  margin-top: calc(2 / 375 * 100vw);
}

.stage-m .strategy-extras-m-sub {
  margin: 0 0 calc(12 / 375 * 100vw);
  font-size: calc(11 / 375 * 100vw);
  font-weight: 400;
  color: #453935;
  line-height: 1.25;
}

.stage-m .strategy-firms-m {
  width: 100%;
  border-collapse: collapse;
  font-size: calc(15 / 375 * 100vw);
}

.stage-m .strategy-firms-m td {
  width: calc(100% / 3);
  height: calc(46 / 375 * 100vw);
  padding: 0;
  background: #fff;
  border: 1px solid #bbb;
  text-align: center;
  vertical-align: middle;
  color: #453935;
  font-weight: 400;
  line-height: 1.2;
}

.stage-m .strategy-firms-m tr:nth-child(odd) td:nth-child(odd),
.stage-m .strategy-firms-m tr:nth-child(even) td:nth-child(even) {
  background: #ededed;
}

.stage-m .strategy-firms-m td a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  transition: background 150ms;
}

.stage-m .strategy-firms-m td a:hover,
.stage-m .strategy-firms-m td a:active {
  background: rgba(0, 0, 0, 0.06);
}

.header-m {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: none;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--header-padding-x);
  height: var(--header-height);
  background: #fff;
}

@media (max-width: 800px) {
  .header-m {
    display: flex;
  }
}

.header-m .logo {
  position: relative;
  z-index: 100;
  display: block;
  line-height: 0;
}

.header-m .logo img {
  width: var(--header-logo-w);
  height: auto;
  display: block;
}

.header-m .menu-toggle {
  position: relative;
  z-index: 100;
  width: calc(36 / 375 * 100vw);
  height: calc(36 / 375 * 100vw);
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  transition: width 200ms ease-out, height 200ms ease-out;
}

.header-m[data-menu-open="true"] .menu-toggle {
  width: calc(56 / 375 * 100vw);
  height: calc(56 / 375 * 100vw);
}

.header-m .menu-toggle .icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity 200ms ease-out;
}

.header-m .menu-toggle .icon-close {
  opacity: 0;
}

.header-m[data-menu-open="true"] .menu-toggle .icon-open {
  opacity: 0;
}

.header-m[data-menu-open="true"] .menu-toggle .icon-close {
  opacity: 1;
}

.header-m .nav-m {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(28 / 375 * 100vw);
  padding: calc(120 / 375 * 100vw) 0 calc(40 / 375 * 100vw);
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: opacity 250ms ease-out;
  overflow-y: auto;
}

.header-m[data-menu-open="true"] .nav-m {
  opacity: 1;
  pointer-events: auto;
}

.header-m .nav-btn-m {
  position: relative;
  display: block;
  line-height: 0;
  text-decoration: none;
}

.header-m .nav-btn-m img {
  width: calc(240 / 375 * 100vw);
  height: auto;
  display: block;
}

.header-m .nav-btn-m .active {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 200ms ease-out;
}

.header-m .nav-btn-m.is-active .active {
  opacity: 1;
}

.header-d .nav-btn .active {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 200ms ease-out;
}

.header-d .nav-btn:hover .active,
.header-d .nav-btn.is-active .active {
  opacity: 1;
}

.stage {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.stage-m {
  display: none;
}

@media (max-width: 800px) {
  .stage-d { display: none; }
  .stage-m { display: block; }
}

.stage .bg {
  display: block;
  width: 100%;
  height: auto;
}

.stage .content-wrap {
  position: absolute;
  inset: 0;

}

.stage .content-wrap > * {
  position: absolute;
}

.content-wrap .h1 {
  position: absolute;
  top: calc(35 / 1920 * 100vw);
  left: 50%;
  transform: translateX(-50%);
  width: calc(1146 / 1920 * 100vw);
  height: auto;
  margin: 0;
  line-height: 0;
}

.content-wrap .h1 img {
  width: 100%;
  height: auto;
  display: block;
}

.content-wrap .h1-subtitle {
  top: calc(195 / 1920 * 100vw);
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: calc(31 / 1920 * 100vw);
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.content-wrap .h1-subtitle .sub-main { color: #86202E; }

.content-wrap .h1-subtitle .sub-paren { color: #794C33; }

.content-wrap .coins {
  top: calc(993 / 1920 * 100vw);
  left: calc(1143 / 1920 * 100vw);
  width: calc(222 / 1920 * 100vw);
  height: auto;
}

.content-wrap .icon-mobile {
  top: calc(1413 / 1920 * 100vw);
  left: calc(767 / 1920 * 100vw);
  width: calc(106 / 1920 * 100vw);
  height: auto;
}

.content-wrap .icon-graph {
  top: calc(1929 / 1920 * 100vw);
  left: calc(1170 / 1920 * 100vw);
  width: calc(96 / 1920 * 100vw);
  height: auto;
}

.content-wrap .activity3-note {
  top: calc(2249 / 1920 * 100vw);
  left: calc(1000 / 1920 * 100vw);
  transform: translateX(-50%);
  margin: 0;
  font-size: calc(22.6 / 1920 * 100vw);
  font-weight: 500;
  color: var(--color-primary);
  white-space: nowrap;
}

.content-wrap .activity3-note .note-black {
  color: var(--color-text);
}

.content-wrap .activity3-note a {
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 500;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(calc(-10 / 1920 * 100vw)); }
}

@keyframes float-m {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(calc(-12 / 375 * 100vw)); }
}

.float {
  animation: float 3s ease-in-out infinite;
}

@media (max-width: 800px) {
  .float {
    animation-name: float-m;
  }
}

.content-wrap .coins.float { animation-delay: 0s; }

.content-wrap .icon-mobile.float { animation-delay: 0.6s; }

.content-wrap .icon-graph.float { animation-delay: 1.2s; }

.stage-m .coins-m.float { animation-delay: 0s; }

.stage-m .icon-mobile-m.float { animation-delay: 0.6s; }

.stage-m .icon-graph-m.float { animation-delay: 1.2s; }

.content-wrap .section-anchor {
  left: 0;
  right: 0;
  width: 100%;
  height: 1px;
  pointer-events: none;
  visibility: hidden;
  scroll-margin-top: var(--header-height);
}

#section-activity1 { top: calc(830 / 1920 * 100vw); }

#section-activity2 { top: calc(1220 / 1920 * 100vw); }

#section-activity3 { top: calc(1610 / 1920 * 100vw); }

#section-strategy  { top: calc(2650 / 1920 * 100vw); }

.content-wrap .link-btn {
  display: block;
  line-height: 0;
  text-decoration: none;
  transition: transform 200ms var(--bezier);
}

.content-wrap .link-btn:hover {
  transform: scale(1.03);
}

.content-wrap .link-btn img {
  width: 100%;
  height: auto;
}

.content-wrap .link-btn-1 {
  top: calc(1229 / 1920 * 100vw);
  left: calc(1107 / 1920 * 100vw);
  width: calc(285 / 1920 * 100vw);
}

.content-wrap .link-btn-2 {
  top: calc(1696 / 1920 * 100vw);
  left: calc(970 / 1920 * 100vw);
  width: calc(321 / 1920 * 100vw);
}

.content-wrap .link-btn-1:hover,
.content-wrap .link-btn-2:hover {
  transform: scale(1.03);
}

.content-wrap .card {
  position: absolute;
  bottom: calc(289 / 1920 * 100vw);
  display: block;
  line-height: 0;
  text-decoration: none;
  transition: transform 200ms var(--bezier);
}

.content-wrap .card:hover {
  transform: translateY(calc(-5 / 1920 * 100vw));
}

.content-wrap .card img {
  width: 100%;
  height: auto;
  display: block;
}

.content-wrap .card-1 {
  left: calc(331 / 1920 * 100vw);
  width: calc(446 / 1920 * 100vw);
}

.content-wrap .card-2 {
  left: calc(777 / 1920 * 100vw);
  width: calc(391 / 1920 * 100vw);
}

.content-wrap .card-3 {
  left: calc(1168 / 1920 * 100vw);
  width: calc(421 / 1920 * 100vw);
}

.content-wrap .strategy-extras {
  position: absolute;
  top: calc(3239 / 1920 * 100vw);
  left: 50%;
  transform: translateX(-50%);
  width: calc(1140 / 1920 * 100vw);
  text-align: center;
}

.content-wrap .strategy-extras-title {
  margin: 0 0 calc(4 / 1920 * 100vw);
  font-size: calc(55 / 1920 * 100vw);
  font-weight: 700;
  line-height: 1.22;
  white-space: nowrap;
}

.content-wrap .strategy-extras-title .title-main {
  color: #b8002c;
  font-weight: 900;
}

.content-wrap .strategy-extras-title .title-main .zh {
  font-size: 0.88em;
  font-weight: 700;
}

.content-wrap .strategy-extras-title .title-sub {
  color: #5c3836;
}

.content-wrap .strategy-extras-sub {
  margin: 0 0 calc(20 / 1920 * 100vw);
  font-size: calc(16.12 / 1920 * 100vw);
  font-weight: 400;
  color: #453935;
  line-height: 1.25;
}

.content-wrap .strategy-firms {
  width: 100%;
  border-collapse: collapse;
  font-size: calc(22 / 1920 * 100vw);
}

.content-wrap .strategy-firms td {
  width: calc(100% / 6);
  height: calc(75 / 1920 * 100vw);
  padding: 0;
  background: #fff;
  border: 1px solid #bbb;
  text-align: center;
  vertical-align: middle;
  color: #453935;
  font-weight: 400;
  line-height: 1.2;
}

.content-wrap .strategy-firms tr:nth-child(odd) td:nth-child(odd),
.content-wrap .strategy-firms tr:nth-child(even) td:nth-child(even) {
  background: #ededed;
}

.content-wrap .strategy-firms td a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
  text-decoration: none;
  transition: background 150ms;
}

.content-wrap .strategy-firms td a:hover {
  background: rgba(0, 0, 0, 0.06);
}

.footer-d {
  position: relative;
  background: #fff;
}

@media (max-width: 800px) {
  .footer-d { display: none; }
}

.footer-d .footer-company {
  background: var(--color-primary);
  color: #fff;
  padding: 20px 0;
}

.footer-d .footer-company .inner {
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 40px;
  text-align: left;
}

.footer-d .footer-company p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.8;
  color: #fff;
}

.footer-d .footer-company a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.footer-d .footer-company a:hover {
  text-decoration: underline;
}

.footer-d .footer-text {
  max-width: 1366px;
  margin: 0 auto;
  padding: var(--footer-padding-y) var(--footer-padding-x) calc(var(--footer-padding-y) * 0.8);
  font-size: 20px;
  font-weight: 700;
  color: #251e1c;
  line-height: 1.8;
  text-align: justify;
  word-break: break-all;
}

.footer-d .footer-text .red {
  color: #b8002c;
}

.footer-d .footer-text .small {
  font-size: 12px;
}

.footer-d .footer-text a {
  color: #29498e;
  text-decoration: none;
  transition: opacity 200ms ease-out;
}

.footer-d .footer-text a:hover {
  opacity: 0.7;
}

@media (max-width: 1366px) and (min-width: 801px) {
  .footer-d .footer-company {
    padding: calc(20 / 1366 * 100vw) 0;
  }
  .footer-d .footer-company .inner {
    padding: 0 calc(40 / 1366 * 100vw);
  }
  .footer-d .footer-company p {
    font-size: calc(16 / 1366 * 100vw);
  }
  .footer-d .footer-text {
    font-size: calc(20 / 1366 * 100vw);
  }
  .footer-d .footer-text .small {
    font-size: calc(12 / 1366 * 100vw);
  }
}

.design-overlay {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1920px;
  pointer-events: none;
  z-index: 500;
  opacity: 0.5;
  mix-blend-mode: normal;
}

.design-overlay[hidden] {
  display: none;
}

.design-overlay img {
  display: block;
  width: 100%;
  height: auto;
}

.design-overlay img.d { display: block; }

.design-overlay img.m { display: none; }

@media (max-width: 800px) {
  .design-overlay img.d { display: none; }
  .design-overlay img.m { display: block; }
}

.design-overlay-controls {
  position: fixed;
  bottom: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border-radius: 8px;
  font-size: 13px;
  font-family: monospace;
  pointer-events: auto;
  z-index: 1000;
}

.design-overlay-controls label {
  display: flex;
  align-items: center;
  gap: 6px;
}

.design-overlay-controls input[type="range"] {
  width: 100px;
}

.design-overlay-controls button {
  padding: 4px 10px;
  background: #fff;
  color: #000;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

:root {
  --mobile-fixed-btn-space: 0;
}

@media (max-width: 800px) {
  body:has(.fixed-btn-m:not([style*="display: none"])) {
    --mobile-fixed-btn-space: calc(90 / 375 * 100vw);
  }
}

.footer-m {
  display: none;
  background: #fff;
  padding-bottom: var(--mobile-fixed-btn-space);
}

@media (max-width: 800px) {
  .footer-m { display: block; }
}

.footer-m .footer-company {
  background: var(--color-primary);
  color: #fff;
  padding: calc(20 / 375 * 100vw) 0;
}

.footer-m .footer-company .inner {
  padding: 0 calc(16 / 375 * 100vw);
  text-align: center;
}

.footer-m .footer-company p {
  margin: 0;
  font-size: calc(15 / 375 * 100vw);
  font-weight: 500;
  line-height: 1.8;
  color: #fff;
  word-break: break-all;
}

.footer-m .footer-company p:first-child {
  font-size: calc(24 / 375 * 100vw);
  font-weight: 700;
  margin-bottom: calc(4 / 375 * 100vw);
}

.footer-m .footer-company a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.footer-m .footer-text {
  margin: 0;
  padding: calc(24 / 375 * 100vw) calc(16 / 375 * 100vw);
  font-size: calc(18 / 375 * 100vw);
  font-weight: 700;
  color: #251e1c;
  line-height: 1.5;
  text-align: justify;
  word-break: break-all;
}

.footer-m .footer-text .red {
  color: #b8002c;
}

.footer-m .footer-text .small {
  font-size: calc(11 / 375 * 100vw);
}

.footer-m .footer-text a {
  color: #29498e;
  text-decoration: none;
}

.fade-in {
  opacity: 0;
  transition: opacity 800ms ease-out;
}

.fade-in.is-visible {
  opacity: 1;
}

.popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
  animation: popup-in 200ms ease-out;
}

.popup.is-hidden {
  display: none;
}

@keyframes popup-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.popup-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 980px;
  max-width: calc(100vw - 40px);
  height: 668px;
  max-height: calc(100vh - 40px);
  padding: 64px 0 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.popup-scroll {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 0 55px 20px;
}

.popup-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 23px;
  height: 23px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  line-height: 0;
  z-index: 1;
  transition: opacity 200ms ease-out;
}

.popup-close:hover {
  opacity: 0.6;
}

.popup-close img {
  width: 100%;
  height: 100%;
}

.popup-close img.d { display: block; }

.popup-close img.m { display: none; }

@media (max-width: 800px) {
  .popup-close img.d { display: none; }
  .popup-close img.m { display: block; }
}

.popup-title {
  margin: 0 0 25px;
  font-size: 30px;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  line-height: 1.2;
}

.popup-company {
  margin-bottom: 26px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--color-text);
}

.popup-company p {
  margin: 0;
  font-weight: 500;
}

.popup-company a {
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
}

.popup-company a:hover {
  text-decoration: underline;
}

.popup-text {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
  color: var(--color-text);
  text-align: justify;
  word-break: break-all;
}

.popup-text .red {
  color: #b8002c;
}

.popup-text .small {
  font-size: 10px;
}

.popup-text a {
  color: #29498e;
  text-decoration: none;
}

.popup-text a:hover {
  text-decoration: underline;
}

.popup-actions {
  display: flex;
  justify-content: center;
  flex-shrink: 0;
  padding: 20px 55px 17px;
}

.popup-btn-close {
  width: 180px;
  height: 50px;
  background: var(--color-primary);
  color: #fff;
  border: none;
  border-radius: 25px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: transform 200ms var(--bezier), box-shadow 200ms var(--bezier);
}

.popup-btn-close:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 20px rgba(209, 0, 37, 0.3);
}

@media (max-width: 800px) {
  .popup {
    padding: calc(20 / 375 * 100vw);
  }
  .popup-content {
    width: 100%;
    max-width: none;
    height: auto;
    max-height: calc(100vh - calc(40 / 375 * 100vw));
    padding: calc(50 / 375 * 100vw) 0 0;
    border-radius: calc(8 / 375 * 100vw);
  }
  .popup-scroll {
    padding: 0 calc(20 / 375 * 100vw) calc(14 / 375 * 100vw);
  }
  .popup-close {
    top: calc(14 / 375 * 100vw);
    right: calc(14 / 375 * 100vw);
    width: calc(22 / 375 * 100vw);
    height: calc(22 / 375 * 100vw);
  }
  .popup-title {
    font-size: calc(19 / 375 * 100vw);
    text-align: left;
    margin-bottom: calc(14 / 375 * 100vw);
  }
  .popup-company {
    font-size: calc(14 / 375 * 100vw);
    margin-bottom: calc(14 / 375 * 100vw);
    line-height: 1.7;
    word-break: break-all;
  }
  .popup-text {
    font-size: calc(14 / 375 * 100vw);
    line-height: 1.7;
  }
  .popup-actions {
    padding: calc(14 / 375 * 100vw) calc(20 / 375 * 100vw) calc(20 / 375 * 100vw);
  }
  .popup-btn-close {
    width: calc(180 / 375 * 100vw);
    height: calc(50 / 375 * 100vw);
    border-radius: calc(25 / 375 * 100vw);
    font-size: calc(20 / 375 * 100vw);
  }
}

@media (max-width: 1366px) and (min-width: 801px) {
  .popup-content {
    width: calc(980 / 1366 * 100vw);
    height: calc(668 / 1366 * 100vw);
    padding: calc(64 / 1366 * 100vw) 0 0;
  }
  .popup-scroll {
    padding: 0 calc(55 / 1366 * 100vw) calc(20 / 1366 * 100vw);
  }
  .popup-close {
    width: calc(23 / 1366 * 100vw);
    height: calc(23 / 1366 * 100vw);
    top: calc(18 / 1366 * 100vw);
    right: calc(18 / 1366 * 100vw);
  }
  .popup-title {
    font-size: calc(30 / 1366 * 100vw);
    margin-bottom: calc(25 / 1366 * 100vw);
  }
  .popup-company {
    font-size: calc(14 / 1366 * 100vw);
    margin-bottom: calc(26 / 1366 * 100vw);
  }
  .popup-text {
    font-size: calc(14 / 1366 * 100vw);
  }
  .popup-actions {
    padding: calc(20 / 1366 * 100vw) calc(55 / 1366 * 100vw) calc(17 / 1366 * 100vw);
  }
  .popup-btn-close {
    width: calc(180 / 1366 * 100vw);
    height: calc(50 / 1366 * 100vw);
    border-radius: calc(25 / 1366 * 100vw);
    font-size: calc(22 / 1366 * 100vw);
  }
}

.fixed-btn-d {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 90;
  line-height: 0;
}

@media (max-width: 800px) {
  .fixed-btn-d { display: none; }
}

.fixed-btn-d a {
  display: block;
  transition: transform 200ms var(--bezier);
}

.fixed-btn-d a:hover {
  transform: scale(1.05);
}

.fixed-btn-d img {
  width: 76px;
  height: auto;
}

.fixed-btn-m {
  display: none;
  position: fixed;
  bottom: calc(16 / 375 * 100vw);
  left: 50%;
  transform: translateX(-50%);
  z-index: 90;
  line-height: 0;
  width: calc(343 / 375 * 100vw);
  max-width: calc(343 / 375 * 100vw);
}

@media (max-width: 800px) {
  .fixed-btn-m { display: block; }
}

.fixed-btn-m a {
  display: block;
  transition: transform 200ms var(--bezier);
}

.fixed-btn-m a:active {
  transform: translateX(-50%) scale(0.98);
}

.fixed-btn-m img {
  width: 100%;
  height: auto;
  display: block;
}
