:root {
    --color-blue-700: #005050;
    --color-blue-600: #006363;
    --color-blue-500: #007979;
    --color-blue-400: #24A09A;
    --color-blue-300: #1CBEAD;
    --color-blue-200: #8EE2DA;
    --color-blue-100: #CBF2EE;
    --color-blue-50: #E4FCF9;
    --color-yellow-500: #E79925;
    --color-yellow-400: #EAC868;
    --color-yellow-300: #F7E38F;
    --color-gray-900: #1A1A1A;
    --color-gray-700: #333333;
    --color-gray-600: #4A4A4A;
    --color-gray-550: #666666;
    --color-gray-500: #7D7D7D;
    --color-gray-400: #A5A5A5;
    --color-gray-300: #C2C2C2;
    --color-gray-200: #D6D6D6;
    --color-gray-150: #E6E6E6;
    --color-gray-100: #F1F1F1;
    --color-gray-50: #FAFAFA;
    --vh-100: 100vh;

    --fs-3xl: 60px;
    --fs-2xl: 48px;
    --fs-xl: 40px;
    --fs-lg: 32px;
    --fs-md: 24px;
    --fs-sm: 20px;
    --fs-xs: 16px;

    --space: 64px;
}

body {
    font-family: 'Montserrat', 'Noto Sans TC', Arial, '微軟正黑體', sans-serif;
    overflow: hidden;
}
#app {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100vh;
}
img {
    max-width: 100%;
    width: auto;
    height: auto;
    display: block;
}

button, a {
    cursor: pointer;
}
hr {
    border: 0;
    height: 1px;
    background-color: var(--color-gray-700);
    margin: 16px 0;
}
/* fs */
.fs-3xl { font-size: var(--fs-3xl); }
.fs-2xl { font-size: var(--fs-2xl); }
.fs-xl { font-size: var(--fs-xl); }
.fs-lg { font-size: var(--fs-lg); }
.fs-md { font-size: var(--fs-md); }
.fs-sm { font-size: var(--fs-sm); }
.fs-xs { font-size: var(--fs-xs); }

.text-gray-500 { color: var(--color-gray-500); }

/* btn */
.btn-primary {
    display: inline-flex;
    padding: 0.5em 1.5em;
    border-radius: 5px;
    box-shadow: 2px 4px 15px 0px rgba(0, 0, 0, 0.25);
    background: var(--color-blue-400);
    color: white;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: var(--fs-md);
    font-weight: bold;
}

/* display */
.show-sm {
    display: none;
}

/* layout */
.container {
    width: 100%;
    max-width: 1420px;
    padding: 64px 64px;
    margin: 0 auto;
}
.container-fluid {
    width: 100%;
}
.footer .container {
    padding-top: 16px;
    padding-bottom: 16px;
}

/* header */
header {
    position: fixed;
    z-index: 999;
    width: 100%;
    transition: all 0.6s ease;
    transform: translateY(-100%);
}
header.on-article {
    background-color: white;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.25);
    transform: translateY(0%);
}
header.show {
    transform: translateY(0%);
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 16px;
}
.menu-toggler {
    position: relative;
}
.menu-toggler .icon-svg {
    width: 40px;
    height: auto;
    color: var(--color-blue-400);
}
.age-close .icon-svg {
    width: 50px;
    height: auto;
    color: var(--color-blue-400);
    transform: rotate(180deg);
    margin-right: 16px;
}
.menu .menu-toggler {
    padding: var(--space);
    display: inline-block;
}
.menu {
    position: absolute;
    background-color: white;
    top: 0;
    height: var(--vh-100);
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: all 0.4s ease;
}
.menu::-webkit-scrollbar { width: 0px; }
.menu::-webkit-scrollbar-track { background: var(--color-blue-500); }
.menu::-webkit-scrollbar-thumb { background: var(--color-blue-400); }

.menu.active {
    transform: translateX(0%);
    box-shadow: 0px 0px 12px 0px rgba(0, 0, 0, 0.25);
}

.menu-items {
    flex-grow: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
}
.menu-items > li {
    border-top: 1px solid var(--color-blue-200);
    flex-grow: 16;
    display: flex;
}

.menu-items li a,
.drop-menu .drop-item button {
    display: flex;
    align-items: center;
    padding: 12px var(--space);
    font-weight: bold;
    color: var(--color-blue-400);
    line-height: 1.3;
}

.menu-items li a:hover,
.drop-menu .drop-item button:hover {
    background-color: var(--color-blue-100);
}
.menu-logos {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 48px 12px 32px;
    background-color: var(--color-blue-500);
}
.menu-logos img {
    height: 77px;
    width: auto;
}

.drop-menu {
    display: flex;
}
.drop-item {
    display: flex;
    align-items: stretch;
}
.drop-menu .drop-item a .icon-svg,
.drop-menu .drop-item button .icon-svg {
    height: 0.75em;
}
.drop-menu ul {
    background-color: white;
    flex-grow: 1;
    max-height: 0;
    max-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.drop-menu ul li {
    flex-grow: 1;
}
.drop-menu ul a {
    white-space: nowrap;
    width: 100%;
    height: 100%;
}
.drop-menu.active {
    background-color: var(--color-blue-500);
}
.drop-menu.active .drop-item a,
.drop-menu.active .drop-item button {
    color: white;
}
.drop-menu.active .drop-item a:hover,
.drop-menu.active .drop-item button:hover {
    background-color: var(--color-blue-400);
}
.drop-menu.active .drop-item a .icon-svg path:last-child,
.drop-menu.active .drop-item button .icon-svg path:last-child {
    transform-origin: center;
    transform: rotate(90deg);
}
.drop-menu.active ul {
    max-width: 300px;
    max-height: 500px;
}
/* scene */
.scene, .scene-anime {
    position: absolute;
    inset: 0;
    overflow: hidden;
    width: 100%;
    height: calc(var(--vh-100) - 48px);
    display: flex;
    flex-direction: column;
    background-color: var(--color-gray-50);
}
.scene .container,
.scene .container-fluid,
.scene-anime .container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}
/* load-section */
.load-section {
    background-color: var(--color-blue-500);
}
.load-section .menu-logos {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* topic */
.topic-section {
    display: flex;
    align-items: stretch;
}
.topic-section .container {
    position: relative;
    align-items: flex-start;
    justify-content: center;
}
.topic-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.topic-linear {
    position: absolute;
    inset: 0 50% 0 0;
    background: linear-gradient(to right, #ffffff, #ffffff00);
}
.topic-title {
    position: relative;
    width: 50%;
    display: flex;
    align-items: center;
    font-size: var(--fs-xl);
    font-weight: bold;
    color: var(--color-blue-500);
    line-height: 1.3;
}
.topic-title > * {
    position: absolute;
}
.topic-section .pie {
    width: 45%;
    max-width: 360px;
}
.topic-logos {
    position: absolute;
    top: 28vw;
    left: 0;
    bottom: 0;
    margin: auto;
    display: flex;
    align-items: center;
    padding: 32px;
    gap: 32px;
}
.topic-logos img {
    height: 60px;
    width: auto;
}
.topic-logos img:last-of-type {
    height: 37px;
}
/* pie */
.pie {
    position: relative;
    height: fit-content;
}
.pie-stroke {
    transform: rotate(-90deg) scaleY(-1);
    color: var(--color-blue-500);
}

.pie-content {
    position: absolute;
    inset: 5% 0 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.pie-percentage {
    color: var(--color-blue-500);
    letter-spacing: -0.05em;
}
.pie-num {
    font-size: 120px;
}
.danger .pie-stroke {
    color: #CC433A
}
.pie-unit {
    font-size: 48px;
    font-weight: bold;
    margin-left: 0.125em;
}
.pie-title {
    font-size: var(--fs-lg);
    font-weight: bold;
    text-align: center;
    line-height: 1.3;
}
#topic .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-right: 120px;
}
.pie-right {
    position: relative;
    margin-left: 32px;
    width: 100%;
    height: calc( var(--fs-xl) * 2.6 );
    display: flex;
    align-items: center;
}
.topic-section .pie-title-right {
    color: white;
    text-shadow: 0 0 8px rgba(0, 0, 0, 0.75);
    font-weight: bold;
    font-size: var(--fs-2xl);
    text-align: center;
    line-height: 1.3;
    position: absolute;
    opacity: 0;
    inset: 0;
    transform: translateX(10px);
    padding-top: 0.5em;
}
.topic-section .pie-title-right br {
    display: none;
}
.topic-section .pie-title {
    position: absolute;
    inset: 65% 0 10% 0;
    margin: auto;
    opacity: 0;
    transform: translateY(10px);
}
.topic-section .pie-title span {
    opacity: 0;
}


.mouse {
    position: absolute;
    inset: auto 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 80px;
    height: 80px;
    padding-bottom: 8px;
    border-radius: 50%;
    border: 3px solid var(--color-blue-500);
    color: var(--color-blue-500);
    font-weight: bold;
    animation-duration: 2s;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    animation-name: scroll;
}
.mouse .icon-down {
    position: absolute;
    inset: auto 0 12px;
    margin: auto;
    animation-duration: 2s;
    animation-fill-mode: both;
    animation-iteration-count: infinite;
    animation-name: scroll;
    width: 0.5em;
}
.mouse .icon-svg {
    transform: rotate(90deg);
    width: 0.5em;
}


@keyframes scroll {
  0% {
    /* opacity: 1; */
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
  }
  50% {
    /* opacity: 0; */
    -webkit-transform: translateY(12px);
    -ms-transform: translateY(12px);
    transform: translateY(12px);
  }
  100% {
    /* opacity: 0; */
    -webkit-transform: translateY(0px);
    -ms-transform: translateY(0px);
    transform: translateY(0px);
  }
}


/* section-title */
.section-title-wrap {
    position: relative;
    text-align: right;
}
.section-title {
    font-size: var(--fs-md);
    font-weight: bold;
    position: relative;
    padding: 12px 24px;
    background-color: var(--color-blue-500);
    color: white;
    width: fit-content;
    display: inline-block;
    right: 0;
    top: 0;
    white-space: nowrap;
    overflow: hidden;
    max-width: 800px;
}

/* key-content */
.key-content {
    flex-grow: 1;
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: calc(var(--space) * 2);
    align-items: center;
    justify-content: space-between;
}
.key-pie {
}
.key-pie .pie-num {
    font-size: 120px;
    letter-spacing: -0.05em;
}
.key-pie .pie-unit {
    font-size: 36px;
    margin-left: 0.2em;
}
.key-pie .key-pie-icon-next {
    display: none;
    transform: rotate(90deg);
    color: var(--color-blue-500);
}

/* key-survey */
.key-survey-title {
    font-size: var(--fs-lg);
    font-weight: bold;
    color: var(--color-gray-700);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
}
.key-survey-title span {
    font-size: var(--fs-xs);
    font-weight: normal;
    color: var(--color-gray-500);
}
/* text-cloud */
.text-cloud {
    margin-top: -0.75em;
}


/* chart */
.key-chart {
    position: relative;
}
.chart-detail {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.chart-toast {
    position: absolute;
    opacity: 0;
    padding: 8px 16px;
    border-radius: 6px;
    background-color: white;
    box-shadow: 0px 4px 8px 0px rgba(0, 0, 0, 0.16);
    transition: all 0.2s ease;
}
.chart-toast h5 {
    display: flex;
    gap: 6px;
    font-weight: bold;
    color: var(--color-blue-500);
    margin-bottom: 6px;
}
.chart-toast.active {
    opacity: 1;
}

/* chart-brick */
.bricks {
    display: grid;
    grid-template-columns: repeat(30, 1fr);
    grid-template-rows: repeat(10, 1fr);
    grid-auto-flow: column;
    gap: 6px;
}
.brick {
    width: 100%;
    height: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--color-gray-500);
}
.bricks.hover .brick {
    opacity: 0.3;
}
.bricks.hover .brick.hover {
    opacity: 1;
}
.chart-list li .brick,
.chart-toast .brick,
.chart-list li .dot {
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
}
.brick[data-item="0"] {
    background-color: var(--color-yellow-500);
}
.brick[data-item="1"] {
    background-color: var(--color-yellow-400);
}
.brick[data-item="2"] {
    background-color: var(--color-blue-500);
}
.brick[data-item="3"] {
    background-color: var(--color-blue-400);
}
.brick[data-item="4"] {
    background-color: var(--color-blue-200);
}

.chart-brick .chart-toast[data-item="0"] { left: 30%; top: 40%; }
.chart-brick .chart-toast[data-item="1"] { left: 40%; top: 10%; }
.chart-brick .chart-toast[data-item="2"] { left: 30%; top: 40%; }
.chart-brick .chart-toast[data-item="3"] { left: 40%; top: 10%; }
.chart-brick .chart-toast[data-item="4"] { left: 60%; top: 40%; }

/* .chart-list li */
.chart-list {
    margin: 2em auto;
    width: fit-content;
}
.chart-list li {
    display: grid;
    grid-template-columns: 1.25em 200px 50px;
    align-items: center;
    margin-top: 0.65em;
}
.chart-list li span {
    color: var(--color-gray-700);
}
.chart-list li span:last-child {
    text-align: right;
}

/* quadrant */
.quadrant {
    position: relative;
    padding: 20px 40px 20px 40px;
}
.quadrant-content {
    position: relative;
}
.quadrant-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, minmax(80px, 12vh));
    border: 1px solid var(--color-gray-400);
    border-width: 0 1px 1px 0;
}
.quadrant-area {
    border: 1px solid var(--color-gray-400);
    border-width: 1px 0 0 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-md);
    font-weight: bold;
}
.quadrant-area:nth-child(5) {
    background-color: var(--color-blue-500);
    color: white;
}
.quadrant-items {
    position: absolute;
    inset: 0;
}
.quadrant-item {
    position: absolute;
    cursor: default;
}
.quadrant-item:nth-of-type(1) { bottom: 92%; left: 92%; }
.quadrant-item:nth-of-type(2) { bottom: 75%; left: 25%; }
.quadrant-item:nth-of-type(3) { bottom: 20%; left: 17%; }
.quadrant-item:nth-of-type(4) { bottom: 8%; left: 85%; }
.quadrant-item .dot {
    position: absolute;
    inset: -0.5em;
    width: 1em;
    height: 1em;
    background-color: var(--color-blue-500);
    border-radius: 50%;
}
.dot {
    background-color: var(--color-blue-500);
    border-radius: 50%;
}
.quadrant-item h5 {
    position: absolute;
    color: var(--color-blue-500);
    font-weight: bold;
    white-space: nowrap;
    bottom: 1em;
    left: -4em;
    right: -4em;
    margin: auto;
    text-align: center;
}
.quadrant-item.hover .dot {
    background-color: var(--color-yellow-500);
}
.quadrant-item.hover h5 {
    color: var(--color-yellow-500);
}
.quadrant-text {
    position: absolute;
    inset: 0;
}
.quadrant-y, .quadrant-x  {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.quadrant-y {
    inset: 0 auto 0 0;
    flex-direction: column;
    padding: 20px 0 20px 1em;
}
.quadrant-x {
    inset: auto 0 0 0;
    padding: 0 40px 0 40px;
}
.quadrant-y span, .quadrant-x span {
    white-space: nowrap;
    color: var(--color-gray-700);
}
.quadrant-y span:nth-of-type(1) {
    position: absolute;
    font-weight: bold;
    top: 0;
    left: 0;
}
.quadrant-x span:nth-of-type(1) {
    position: absolute;
    font-weight: bold;
    right: 0;
    bottom: 0px;
}

.chart-quadrant .chart-toast[data-item="0"] { left: 60%; top: 20%; }
.chart-quadrant .chart-toast[data-item="1"] { left: 40%; top: 25%; }
.chart-quadrant .chart-toast[data-item="2"] { left: 30%; top: 60%; }
.chart-quadrant .chart-toast[data-item="3"] { left: 60%; top: 50%; }

/* age-section */
.age-wrap {
    flex-grow: 1;
    display: flex;
    gap: 64px;
    justify-content: space-between;
    align-items: center;
}
.age-guide-togglers-wrap {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.age-guide-togglers-wrap .age-bg-circle {
    position: absolute;
    z-index: 0;
    display: block;
    background-color: var(--color-blue-500);
    inset: -8% 50% -16% 0;
    border-radius: 0 50% 50% 0;
}
.age-guide-togglers {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    max-width: 320px;
}
.age-guide-toggler-wrap {
    position: relative;
    display: flex;
    justify-content: center;
}
.age-guide-toggler-wrap:nth-of-type(n + 3) {
    border-top: 1px solid var(--color-blue-300)
}
.age-guide-toggler-wrap:nth-of-type(2n) {
    border-left: 1px solid var(--color-blue-300)
}

.age-guide-toggler {
    font-weight: bold;
    font-size: var(--fs-xs);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 24px 24px 12px 24px;
}

.age-guide-toggler .age-icon {
    display: block;
    width: 100%;
    height: auto;
    color: var(--color-blue-200);
    transition: all 0.4s ease;
}
.age-guide-toggler h4 {
    color: var(--color-blue-200);
    transition: all 0.4s ease;
}
.age-guide-toggler:hover .age-icon,
.age-guide-toggler:hover h4 {
    color: var(--color-yellow-300);
}
.age-guide-toggler.active .age-icon,
.age-guide-toggler.active h4 {
    color: var(--color-yellow-300);
}
.age-guide-wrap {
    position: relative;
    width: 50%;
}
.age-guide {
    position: absolute;
    inset: 0;
    margin: auto;
    padding-left: 24px;
    pointer-events: none;
}
.age-guide.active {
    position: relative;
    pointer-events: initial;
}
.age-guide-tag {
    font-size: 70px;
    font-weight: bold;
    color: var(--color-blue-500);
    transition: all 0.4s ease;
    transform: translateX(20px);
    opacity: 0;
}
.age-guide.active .age-guide-tag {
    transition: all 0.6s ease;
    transform: translateX(0px);
    opacity: 1;
}
.age-guide hr {
    background-color: var(--color-blue-500);
    transition: all 0.4s;
    transform: translateX(20px);
    opacity: 0;
}
.age-guide.active hr {
    transition: all 0.6s ease 0.2s;
    transform: translateX(0px);
    opacity: 1;
}
.age-guide-name {
    display: flex;
    align-items: center;
    gap: 1em;
    transition: all 0.4s ease;
    transform: translateX(20px);
    opacity: 0;
}
.age-guide.active .age-guide-name {
    transition: all 0.6s ease 0.4s;
    transform: translateX(0px);
    opacity: 1;
}
.age-guide-msg {
    margin-top: 1em;
    padding: 0.75em 1.25em;
    background-color: var(--color-gray-100);
    border-radius: 0.75em;
    font-size: var(--fs-sm);
    line-height: 1.3;
    max-width: 400px;
    transition: all 0.4s ease;
    transform: translateX(20px);
    opacity: 0;
}
.age-guide.active .age-guide-msg {
    transition: all 0.6s ease 0.6s;
    transform: translateX(0px);
    opacity: 1;
}
.age-guide-more {
    margin-top: 1.5em;
    display: flex;
    justify-content: flex-end;
    font-size: var(--fs-md);
    font-weight: bold;
    transition: all 0.4s ease;
    transform: translateX(-20px);
    opacity: 0;
}
.age-guide.active .age-guide-more {
    transition: all 0.6s ease 0.8s;
    transform: translateX(0px);
    opacity: 1;
}
.age-guide-more a {
    display: flex;
    align-items: center;
    gap: 0.5em;
    color: var(--color-blue-500);
}
.age-guide-more .icon-svg {
    height: 40px;
}
/* portrait */
.portrait {
    display: inline-block;
    width: 60px;
    height: 60px;
    padding: 5px;
    border-radius: 50%;
    background-color: var(--color-gray-100);
    color: var(--color-blue-500);
}
.age-name {
    display: inline-block;
    font-size: var(--fs-md);
    font-weight: bold;
}
.age-name span {
    color: var(--color-gray-400);
}
/* ff section */
.ff-section .container {
}
.ff-section .container-fluid {
    padding-bottom: 64px;
}
.ff-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 64px;
}
.ff-left {
    width: 60%;
    max-width: calc(100vh - 64px);
    margin-left: 32px;
    margin-top: -48px;
}
.ff-right {
    position: relative;
    z-index: 1;
    width: 300px;
    flex-grow: 1;
    flex-shrink: 1;
}
.ff-swiper {
    position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: visible;
    z-index: 0;
}
.ff-slides {
    position: absolute;
    inset: 0;
}
.ff-slide {
    position: relative;
    padding: 14% 18% 22% 18%;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--color-blue-500);
    opacity: 0.2;
}
.ff-slide * {
    opacity: 0;
}
.ff-slide.swiper-slide-active {
    opacity: 1;
}
.ff-slide.swiper-slide-active * {
    opacity: 1;
}
.ff-slide h4 {
    letter-spacing: 1em;
    display: flex;
    gap: 12px;
}
.ff-slide h4 span {
    font-size: var(--fs-md);
    font-weight: bold;
    color: var(--color-blue-500);
    background-color: white;
    border-radius: 50%;
    width: 1.5em;
    height: 1.5em;
    padding: 0.25em;
    aspect-ratio: 1 / 1;
    margin-bottom: 32px;
}
.ff-slide h3 {
    font-size: var(--fs-lg);
    font-weight: bold;
    color: white;
    line-height: 1.3;
    white-space: nowrap;
}
.ff-slide h3 span {
    color: var(--color-yellow-300);
}
.ff-slide hr {
    background-color: white;
    margin: 0.75em 0 1em;
    height: 2px;
}
.ff-slide p {
    color: white;
    line-height: 1.3;
    text-align: justify;
}
.ff-title h2 {
    font-size: 120px;
    letter-spacing: -0.05em;
    color: var(--color-blue-500);
    text-align: center;
}
.ff-title h4 {
    font-size: var(--fs-lg);
    font-weight: bold;
    color: var(--color-blue-500);
    margin-bottom: 24px;
    letter-spacing: 0.025em;
    text-align: center;
}
.ff-title h3 {
    font-size: var(--fs-md);
    font-weight: bold;
    line-height: 1.3;
    margin-bottom: 6px;
}
.ff-title p {
    line-height: 1.3;
    width: fit-content;
    margin: 0 auto;
    white-space: nowrap;
}
.ff-swiper-button {
    width: 70px;
    height: 70px;
    color: white;
    background: var(--color-blue-500);
    border: 3px solid white;
    border-radius: 50%;
    padding: 12px;
}
.swiper-button-next:after, .swiper-button-prev:after {
    content: none;
}
.ff-swiper .swiper-button-prev {
    top: 75%;
    left: 4%;
    padding-left: 6px;
}
.ff-swiper .swiper-button-prev .icon-svg {
    transform: rotate(180deg);
}
.ff-swiper .swiper-button-next {
    top: 75%;
    right: 4%;
    padding-right: 6px;
}
/* .ff-left {
    position: relative;
    padding: 64px;
    flex-grow: 1;
}
.ff-left img {
    position: absolute;
    width: 100%;
    height: 200%;
    object-fit: contain;
    inset: -600px 0;
    margin: auto;
    z-index: 0;
    opacity: 0.25;
}
.ff-right {
    flex-grow: 1;
}
.ff-title {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    line-height: 1.3;
}
.ff-title h3 {
    font-size: var(--fs-xl);
    font-weight: bold;
    text-align: center;
}
.ff-title p {
    max-width: 320px;
}
.ff-list li {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    letter-spacing: 0.25em;
    font-size: var(--fs-md);
    font-weight: bold;
    color: var(--color-gray-700);
    gap: 12px;
    border-bottom: 1px solid var(--color-blue-400);
    padding: 12px 0;
}
.ff-list li:first-of-type {
    border-top: 1px solid var(--color-blue-400);
}
.ff-list li h4 {
    letter-spacing: 1em;
    display: flex;
    gap: 12px;
}
.ff-list li h4 span {
    color: white;
    background-color: var(--color-blue-500);
    border-radius: 50%;
    width: 1.5em;
    height: 1.5em;
    padding: 0.25em;
    aspect-ratio: 1 / 1;
} */
/* stars */
#stars-sec .section-title {
    background-color: white;
    color: var(--color-blue-500);
    z-index: 1;
}
.stars-section {
    background-color: var(--color-blue-600);
    display: flex;
    flex-direction: column;
}
.stars-section .container {
    flex-grow: 0;
}
.stars-roulette {
    position: relative;
    flex-shrink: 1;
    flex-grow: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}
.stars-wrap {
    position: absolute;
    padding-bottom: 100%;
    inset: -5% -5% 0 -5%;
    aspect-ratio: 1 / 1;
    height: 0;
    margin: 0 auto;
}
.stars-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background-color: var(--color-blue-500);
    z-index: 0;
    border: 20px solid var(--color-blue-600);
    outline: 5px solid var(--color-blue-500);
}
.stars-wrap .stars-svg {
    position: absolute;
    inset: 0%;
}
.stars-wrap .stars-svg .star-btn {
    color: white;
    transition: all 0.4s ease;
}
.stars-wrap .stars-svg .star-btn:hover {
    color: var(--color-yellow-300);
}
.stars-wrap .stars-svg .star-btn.active {
    color: var(--color-yellow-300);
}
.stars-wrap .half-circle {
    position: absolute;
    width: 78%;
    inset: -0.5% 0 0 0;
    margin: auto;
    pointer-events: none;
}
.stars-content-wrap {
    position: absolute;
    inset: 36% 30% 3% 30%;
    z-index: 1;
    color: white;
    margin: 0 auto;
    display: flex;
    align-items: center;
}
.stars-swiper {
    overflow: hidden;
    display: flex;
    align-items: center;
}
.star-slides {
    display: flex;
    align-items: center;
}
.star-slide h4 {
    text-align: center;
    font-size: var(--fs-sm);
    font-weight: bold;
}
.star-slide .icon-svg {
    width: 1em;
}
.star-slide {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    gap: 0.75em;
}
.star-slide[aria-label="5 / 12"] {
    margin-top: 32px;
}
.star-slide legend {
    text-align: center;
    font-size: var(--fs-lg);
    font-weight: bold;
    padding: 0 0.5em;
}
.star-slide fieldset {
    padding-top: 1em;
    padding-bottom: 0.5em;
    border-top: 2px solid white;
    border-bottom: 2px solid white;
}
.star-slide fieldset p {
    position: relative;
    line-height: 1.3;
    margin-bottom: 0.5em;
    padding-left: 1.5em;
}
.star-slide fieldset .icon-svg {
    position: absolute;
    top: -0.25em;
    left: 0;
}
/* news-swiper */
.news-section {
    background-color: var(--color-gray-100);
}
.news-list-wrap {
    flex-grow: 1;
    display: flex;
    align-items: center;
}
.news-swiper-wrapper {
    flex-grow: 1;
    display: flex;
    align-items: center;
}
.news-swiper {
    overflow: visible;
    width: 100%;
}
.news-slide {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.news-img {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 12 / 11;
    border-bottom: 4px solid var(--color-blue-500);
}
.news-img img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    z-index: 0;
}
.news-img::after {
    content: '';
    position: absolute;
    inset: 50% 0 0 0;
    background: linear-gradient(to top, #000000, #00000000);
}
.news-img h4 {
    position: absolute;
    z-index: 2;
    inset: auto 1em 0.65em 1em;
    color: white;
    line-height: 1.3;
    display: -webkit-box; 
    -webkit-box-orient: vertical; 
    -webkit-line-clamp: 2; 
    overflow: hidden; 
    text-overflow: ellipsis;
    font-size: var(--fs-sm);
}
.news-read-more-btn {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
    color: var(--color-blue-500);
    font-weight: bold;
    font-size: var(--fs-xs);
}

/* academy */
.academy-bg {
    position: absolute;
    z-index: -1;
    inset: 0;
}
.academy-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 60% 50%;
}
.academy-section {
    background: none;
}
.academy-section .container {
    justify-content: center;
    align-items: flex-start;
    gap: 1.5em;
}
.academy h2 {
    font-size: var(--fs-2xl);
    font-weight: bold;
    color: var(--color-blue-500);
}
.academy hr {
    height: 3px;
    background-color: var(--color-yellow-500);
    width: 280px;
    margin: 0;
}
.academy p {
    font-size: var(--fs-md);
    color: var(--color-gray-700);
}

/* footer */
.footer {
    position: fixed;
    inset: auto 0 0 0;
    background-color: black;
    color: white;
    text-align: center;
    z-index: 99;
}
main ~ .footer {
    /* transform: translateY(100%); */
}

/* article-wrap */
.article-age {
    z-index: 99;
    position: fixed;
    inset: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    background-color: white;
    transition: all 0.6s ease;
    transform: translateX(100%);
    padding-top: 65px;
}
.article-age .footer {
    position: relative;
}
.article-age.active {
    transform: translateX(0%);
}
.article-age.prev {
    transform: translateX(-100%);
}
.article-header {
    position: relative;
    height: 0;
    padding-bottom: 40%;
    overflow: hidden;
}
.article-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}
.article-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 121, 121, 0.00) 30.73%, #007979 100%);
}
.article-header .container {
    position: absolute;
    inset: 0;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    height: 100%;
    gap: 24px;
    padding-top: 48px;
    padding-bottom: 48px;
    max-width: 960px;
}
.article-tag {
    font-weight: bold;
    font-size: var(--fs-3xl);
    color: white;
}
.article-name {
    display: flex;
    align-items: center;
    gap: 24px;
}
.article-name .age-name {
    font-size: var(--fs-xl);
    color: white;
}
.article-name .age-name span {
    color: var(--color-blue-200);
}
.article-body .container {
    padding-top: 64px;
    padding-bottom: 64px;
    max-width: 800px;
}
.article-body p {
    line-height: 1.45;
    margin-bottom: 1em;
    font-size: 18px;
    text-align: justify;
}

/* article-chart */
.article-chart {
    margin: 64px auto;
}
.chart-bar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 2px solid var(--color-blue-400);
    margin-bottom: 16px;
}
.chart-bar-header h3 {
    font-size: var(--fs-lg);
    font-weight: bold;
    color: var(--color-blue-500);
}
.chart-bar-header h3 span {
    font-size: var(--fs-md);
    font-weight: bold;
    color: var(--color-gray-500);
}
.chart-bar-header h4 {
    font-size: var(--fs-lg);
    font-weight: bold;
    color: var(--color-gray-600);
}
.chart-bar-header h4 span {
    color: var(--color-gray-400);
}
/* article-chart body */
.chart-bar-body {
    position: relative;
    margin-left: 160px;
    margin-top: 48px;
}
.chart-bar-grid {
    position: absolute;
    inset: 0 0 0 -1px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}
.chart-bar-line {
    position: relative;
    width: 1px;
    background-color: var(--color-gray-150);
}
.chart-bar-line span {
    position: absolute;
    inset: -24px -2px auto auto;
    margin: auto;
    text-align: center;
    color: var(--color-gray-200);
}

/* article-chart list */
.chart-bar-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding: 16px 0;
}
.bar-wrap {
    position: relative;
    width: 100%;
    color: var(--color-gray-600);
    display: flex;
    align-items: center;
}
.bar-name {
    position: absolute;
    left: -160px;
    width: 160px;
    padding-right: 8px;
    text-align: right;
    line-height: 1.15;
    font-size: 16px;
}
.highlight .bar-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--color-blue-500);
}
.bar {
    position: relative;
    height: 30px;
    background-color: var(--color-blue-500);
    flex-grow: 0;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    width: 0%;
}
.bar-num {
    position: absolute;
    left: calc(100% + 12px);
    font-size: 16px;
}
.highlight > .bar .bar-num {
    font-size: 22px;
    font-weight: bold;
    color: var(--color-yellow-500);
}

.bar[data-item="0"] { background-color: var(--color-blue-700); }
.bar[data-item="1"] { background-color: var(--color-blue-600); }
.bar[data-item="2"] { background-color: var(--color-blue-500); }
.bar[data-item="3"] { background-color: var(--color-blue-400); }
.bar[data-item="4"] { background-color: var(--color-blue-300); }
.bar[data-item="5"] { background-color: var(--color-blue-200); }
.bar[data-item="6"] { background-color: var(--color-blue-100); }
.bar[data-item="7"] { background-color: var(--color-blue-50); }
.bar[data-item="8"] { background-color: var(--color-gray-100); }

/* chart bar multiple */
.chart-bar-group-name {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 24px 0;
}
.chart-bar-group-name li {
    color: var(--color-gray-600);
}
.chart-bar-group-name li.on-age {
    color: var(--color-blue-500);
    font-weight: bold;
    font-size: 18px;
}
.chart-bar-group-name .brick {
    display: inline-block;
    width: 0.75em;
    height: 0.75em;
    margin-right: 2px;
}
.chart-bar-group-name li.on-age .brick {
    background-color: var(--color-blue-500);
}
.chart-bar-multiple .chart-bar-list {
    gap: 32px;
}
.chart-bar-multiple .bar-wrap {
    opacity: 0.65;
    display: none;
}
.chart-bar-multiple .bar-wrap.highlight {
    opacity: 1;
    display: flex;
}
.multiple-bar {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.multiple-bar .bar {
    height: 30px;
}
.multiple-bar .bar-num {
    font-size: 16px;
    color: var(--color-gray-500);
}
.bar[data-age="30"], .brick[data-age="30"] { background-color: var(--color-gray-550); }
.bar[data-age="40"], .brick[data-age="40"] { background-color: var(--color-gray-500); }
.bar[data-age="50"], .brick[data-age="50"] { background-color: var(--color-gray-400); }
.bar[data-age="60"], .brick[data-age="60"] { background-color: var(--color-gray-300); }

.bar.on-age[data-age] {
    background-color: var(--color-blue-500);
}
.bar.on-age[data-age].highlight .bar-num {
    font-size: 22px;
    font-weight: bold;
    color: var(--color-yellow-500);
}
/* retire-score-wrap */
.retire-score-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 64px auto;
}
.retire-pie {
    height: 300px;
    width: 300px;
}
.retire-pie .pie-percentage {
    margin-bottom: 0;
}
.retire-pie .pie-content {
    padding-left: 18px;
}
.retire-pie .pie-num {
    font-size: 90px;
    font-weight: bold;
}
.retire-pie .pie-unit {
    font-size: 32px;
}
.retire-pie-right {
    padding-top: 16px;
}
.retire-pie-right h3 {
    font-size: var(--fs-xl);
    font-weight: bold;
    color: var(--color-blue-500);
    margin-bottom: 6px;
}
.retire-pie-right .age-name {
    font-size: var(--fs-lg);
    color: var(--color-gray-600);
}

/* expert-title */
.expert-wrap {
    margin: 64px auto 0;
}
.expert-title {
    font-size: var(--fs-lg);
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    line-height: 1.3;
    color: var(--color-blue-400);
}
.expert-card {
    padding: 24px 32px;
    background-color: var(--color-blue-100);
    color: black;
    border-radius: 12px;
}
.expert-card p {
    margin-bottom: 0;
}
.expert-card p + p {
    margin-top: 1em;
}
/* article-end */
.article-goto-btn {
    font-size: var(--fs-md);
    font-weight: bold;
    color: var(--color-blue-500);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 16px;
    line-height: 1.3;
}
.article-goto-btn .icon-svg {
    width: 60px;
}
.article-goto-btn.goto-prev {
    flex-direction: row-reverse;
}
.article-goto-btn.goto-prev .icon-svg {
    transform: rotate(180deg);
}
.article-end hr {
    background-color: var(--color-blue-400);
    margin: 64px auto;
}

/* article news-list */
.news-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    padding: 32px 0;
}
.news img {
    width: 100%;
    height: 70%;
    object-fit: cover;
}
.news h4 {
    margin-top: 8px;
    color: var(--color-gray-900);
    line-height: 1.3;
    display: -webkit-box; 
    -webkit-box-orient: vertical; 
    -webkit-line-clamp: 2; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

/* article academy */
.article-academy {
    position: relative;
    padding-bottom: 45%;
    height: 0;
}
.article-academy img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.article-academy .container {
    position: absolute;
    inset: 0;
    margin: 0 auto 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5em;
}
