:root {
  --color-bg: #eceff1;
  --color-text: #2c2c2c;
  --color-text-dark: #00001c;
  --color-gray: #d9d9d9cc;
  --color-mid-gray: #8f8f9b;
  --color-border-gray: #333345;
  --color-charcoal-black: #3e3e3e;
  --color-white: #f7f7ff;
  --color-primary: #4d4bc5;
  --color-primary-soft: #6765ec;
  --color-accent: #00ff8b;

  --font-body: 1rem;
  --font-body-s: 0.875rem;
  --font-label-l: 1.125rem;
  --font-label-m: 0.938rem;
  --font-head-1: 3rem;
  --font-head-2: 2rem;
  --font-head-3: 1.5rem;

  --style-transition: all 0.24s ease-in-out;

  --block-px: 8.3%;
  --block-py: 100px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family:
    "Noto Sans TC", "Helvetica", "Arial", "LiHei Pro", "黑體-繁", "微軟正黑體",
    sans-serif;
  font-size: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  font-size: inherit;
  background: transparent;
}

input,
textarea {
  outline: none;
  font-size: inherit;
}

.btn-style {
  transition: var(--style-transition);
}

.btn-style:hover {
  background: var(--color-primary);
  color: var(--color-accent);
  font-weight: 700;
}

.btn-icon {
  display: flex;
  align-items: center;
  gap: 16px;
  width: fit-content;
  padding: 8px 16px;
  border: solid 1px var(--color-primary);
  border-radius: 10px;
}

.btn-icon__img {
  width: 15px;
  height: 15px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: var(--style-transition);
}

.btn-glass {
  border: solid 1px transparent;
  border-radius: 11px;
  background:
    linear-gradient(var(--color-bg)) padding-box,
    linear-gradient(
        155deg,
        rgb(255, 255, 255),
        rgba(255, 255, 255, 0),
        rgb(255, 255, 255)
      )
      border-box;
  box-shadow:
    inset -3px -3px 8px rgba(255, 255, 255, 0.5),
    inset 5px 2px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: var(--style-transition);
}

.btn-glass:hover {
  box-shadow: unset;
}

.l-block {
  padding: var(--block-py) var(--block-px);
}

.block {
  display: flex;
  position: relative;
}

.block__title {
  color: var(--color-primary-soft);
  font-size: var(--font-head-2);
  font-weight: 900;
  letter-spacing: 0.4em;
  white-space: nowrap;
  writing-mode: vertical-lr;
}

.block__title::after {
  content: "";
  display: block;
  width: 2px;
  height: 620px;
  margin-top: calc(var(--font-body-s) * 3.5);
  margin-left: 9px;
  background: var(--color-primary);
}

.block__desc {
  display: flex;
  align-items: center;
  position: absolute;
  height: 4em;
  margin-left: calc(var(--font-head-2) * 3 + 4px);
  padding-bottom: 14px;
  color: var(--color-charcoal-black);
  font-size: var(--font-body-s);
}

.block__desc::after {
  content: "";
  display: block;
  position: absolute;
  top: 100%;
  width: 450px;
  height: 2px;
  background: var(--color-border-gray);
}

.block__content {
  width: 100%;
  margin-top: calc(var(--font-body-s) * 4 + 14px);
  padding: 28px 48px 0;
}

.news {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(430px, 1fr));
  column-gap: 6%;
  row-gap: clamp(48px, 3.95vw, 76px);
}

.news__item {
  display: flex;
  gap: 24px;
  padding: 16px;
  border-radius: 15px;
  background: var(--color-white);
}

.news__content,
.news__cover {
  flex-basis: 50%;
}

.news__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.news__top {
  font-size: var(--font-body-s);
}

.news__top.--desktop {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.news__top.--mobile {
  display: none;
  text-align: center;
}

.news__top.--mobile .news__date {
  margin-bottom: 1em;
}

.news__date {
  color: var(--color-mid-gray);
}

.news__cat {
  color: var(--color-primary-soft);
}

.news__title,
.news__desc {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.news__title {
  font-weight: 700;
  line-height: 1.8;
}

.news__desc {
  margin: 8px 0 24px;
  color: var(--color-mid-gray);
  font-size: var(--font-body-s);
}

.news__btn .btn-icon__img {
  background-image: url("/static/assets/icons/link.png");
}

.news__btn:hover .btn-icon__img {
  background-image: url("/static/assets/icons/link-hover.png");
}

.news__cover {
  overflow: hidden;
  max-height: 300px;
  aspect-ratio: 1 / 1;
  border-radius: 15px;
}

.news__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact {
  max-width: 1137px;
  margin: 0 auto;
  padding: 48px;
  border-radius: 20px;
  background: var(--color-white);
}

.contact__title {
  margin-bottom: 36px;
  font-size: var(--font-label-l);
  font-weight: 600;
}

.contact__form {
  display: flex;
  gap: 36px;
}

.contact__form > div {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact__form > div:first-child {
  width: 60%;
}

.contact__form > div:last-child {
  width: 40%;
}

.contact__input {
  padding: 12px 16px;
  border: solid 2px var(--color-mid-gray);
  border-radius: 10px;
  background: transparent;
}

.contact__input::placeholder {
  color: var(--color-mid-gray);
}

.contact__group {
  display: flex;
  gap: 20px;
  margin-left: 18px;
  color: var(--color-mid-gray);
  font-size: var(--font-body-s);
}

.contact__radios {
  flex-grow: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(103px, 1fr));
  gap: 24px;
}

.contact__radio input[type="radio"] {
  display: none;
}

.contact__radio label {
  display: block;
  padding: 6px 20px;
  border-radius: 5px;
  background: var(--color-gray);
  text-align: center;
  cursor: pointer;
}

.contact__form input[type="radio"]:checked + label {
  background: var(--color-primary);
  color: var(--color-accent);
  font-weight: 700;
}

.contact__form textarea {
  height: 100%;
  resize: vertical;
}

.contact__btn {
  align-self: flex-end;
  width: fit-content;
  padding: 4px 32px;
  border: solid 1px var(--color-primary);
  border-radius: 5px;
  cursor: pointer;
}

.tabs {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 52px;
}

.tab {
  width: 16.67em;
  padding: 0.44em;
  border: solid 1px var(--color-primary);
  border-radius: 10px;
  font-size: var(--font-label-l);
  text-align: center;
}

.tab.--active {
  background: var(--color-primary);
  color: var(--color-accent);
  font-weight: 600;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 52px;
  font-size: var(--font-body-s);
}

.pagination__page {
  padding: 6px 8px;
  border: solid 1px var(--color-primary);
  border-radius: 3px;
  cursor: pointer;
}

.pagination__page.--active {
  background: var(--color-primary);
  color: var(--color-accent);
  font-weight: 700;
}

.pagination__ellipsis {
  color: var(--color-primary);
  font-weight: 900;
}

.cta.--mobile {
  display: none;
}

.cta__title {
  margin-bottom: 1.25em;
  font-size: var(--font-head-2);
  font-weight: 600;
  text-align: center;
}

.cta__btn {
  display: block;
  margin: 0 auto;
  padding: 0.75em;
  width: min(250px, 100%);
  border-radius: 5px;
  font-size: var(--font-head-3);
  text-align: center;
}

/* ---------- Header ---------- */
.header {
  position: sticky;
  z-index: 998;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px var(--block-px);
  background: var(--color-bg);
  transition: var(--style-transition);
}

.header .--mobile {
  display: none;
}

.header.--hidden {
  top: -100%;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  background: var(--color-bg);
}

.header__left,
.header__right {
  flex-basis: 33%;
}

.header__right {
  display: flex;
  justify-content: end;
}

.header__logo img {
  width: clamp(50px, 3.8vw, 73px);
  height: auto;
  vertical-align: middle;
}

.header-nav {
  display: flex;
  gap: 10px;
  padding: 4px;
  border: solid 1px var(--color-mid-gray);
  border-radius: 15px;
}

.header-nav__item {
  display: block;
  width: 7em;
  padding: 0.66em 0;
  font-size: var(--font-label-l);
  font-weight: 600;
}

.header-nav__item:hover {
  background: var(--color-gray);
}

.header-menu {
  display: none;
  position: absolute;
  top: calc(100% + 20px);
  left: 0;
  width: 100%;
  padding: 35px 60px;
  border-radius: 20px;
  background: var(--color-bg);
}

.header-menu__item {
  display: block;
  margin-bottom: 2.5em;
  font-weight: 700;
}

.header-menu__social {
  display: flex;
  gap: 40px;
}

.header-menu__social a {
  width: 35px;
  height: 35px;
  padding: 6px;
  border-radius: 999px;
  background: var(--color-primary);
}

.header-menu__social img {
  display: block;
  width: auto;
  height: 100%;
  margin: 0 auto;
}

/* ---------- Footer ---------- */

.footer {
  padding: var(--block-px) var(--block-py);
  font-size: var(--font-label-m);
}

.footer__inner {
  display: flex;
  padding: 48px 20px;
  gap: 2%;
  border: 24px solid transparent;
  border-image: url("/static/assets/icons/footer-border.svg") 30 stretch;
}

.footer__info {
  width: 31%;
}

.footer__logo {
  width: min(385px, 100%);
  min-width: 250px;
}

.footer__logo img {
  width: 100%;
  height: auto;
}

.footer__text {
  margin: 8px 0 0 32px;
}

.footer__text p:not(:last-child) {
  margin-bottom: 24px;
}

.footer-list {
  width: 23%;
}

.footer-list__item {
  display: block;
  width: min(275px, 100%);
  min-width: max-content;
  padding: 8px 12px;
  border-radius: 5px;
  transition: var(--style-transition);
}

.footer-list__item:not(:last-child) {
  margin-bottom: 12px;
}

.footer-list__item.--main {
  color: var(--color-text-dark);
}

.footer-list__item.--sub {
  color: var(--color-mid-gray);
}

.footer-list__item.--main:hover {
  background: var(--color-primary);
  color: var(--color-accent);
}

.footer-list__item.--sub:hover {
  background: var(--color-accent);
  color: var(--color-text);
  font-weight: 700;
}

.footer__social {
  display: none;
  align-items: center;
  gap: 24px;
}

.footer__social a {
  width: 50px;
  height: 50px;
  padding: 9px;
  border-radius: 999px;
  background: var(--color-primary);
}

.footer__social img {
  display: block;
  width: auto;
  height: 100%;
  margin: 0 auto;
}

.copyright {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75em;
  padding: 1em var(--block-px);
  background: var(--color-mid-gray);
  color: var(--color-charcoal-black);
  font-size: var(--font-label-m);
  text-align: center;
  opacity: 0.5;
}

@media only screen and (max-width: 1750px) {
  .tab {
    width: 100%;
  }

  .tab span {
    display: none;
  }
}

@media only screen and (max-width: 1440px) {
  :root {
    --font-label-l: 0.875rem;
    --font-label-m: 0.765rem;
    --font-head-1: 1.53rem;
    --font-head-2: 1.375rem;
    --font-head-3: 1.125rem;

    --block-py: 75px;
  }

  .footer {
    padding: 12px var(--block-px) 35px;
  }
}

@media only screen and (max-width: 1366px) {
  .l-block:first-child {
    padding-top: calc(var(--block-py) / 2);
  }
  .contact__form {
    flex-direction: column;
  }

  .contact__form > div:first-child,
  .contact__form > div:last-child {
    width: 100%;
  }

  .contact__title {
    text-align: center;
  }

  .contact__form textarea {
    min-height: 200px;
  }

  .contact__btn {
    align-self: center;
  }

  .footer__info {
    width: 100%;
  }

  .footer__logo {
    width: min(250px, 100%);
    min-width: auto;
  }

  .footer__text {
    margin-left: 0;
  }

  .footer__text p:not(:last-child) {
    margin-bottom: 8px;
  }

  .footer-list {
    display: none;
  }

  .footer__social {
    display: flex;
  }
}

@media only screen and (max-width: 1024px) {
  body.--overlay main::before {
    background: rgba(0, 0, 0, 0.5);
  }

  body.--overlay main::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    pointer-events: none;
  }

  .header {
    background: transparent;
  }

  .header .--mobile {
    display: block;
  }

  .header .--desktop {
    display: none;
  }

  .header__inner {
    padding: 9px 28px;
    border: solid 1px var(--color-mid-gray);
    border-radius: 20px;
  }

  .header__logo img {
    width: max(35px, 4.88vw);
  }

  #header-menu__btn .header-menu__close,
  #header-menu__btn.--active .header-menu__open,
  #header-menu {
    display: none;
  }

  #header-menu__btn.--active .header-menu__close,
  #header-menu__btn.--active .header-menu {
    display: block;
  }

  #header-menu__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max(25px, 3.41vw);
    height: max(25px, 3.41vw);
  }

  .header-menu__close {
    width: 100%;
    height: auto;
    cursor: pointer;
  }

  .header-menu__open {
    width: 75%;
    height: auto;
    cursor: pointer;
  }

  .footer__inner {
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
    border: none;
    border-image: none;
  }

  .footer__info {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer__text {
    text-align: center;
  }

  .copyright div {
    flex-grow: 1;
  }
}

@media only screen and (max-width: 768px) {
  :root {
    --block-px: clamp(12px, 5.12vw, 20px);
  }

  .block {
    display: block;
  }

  .block__title::after,
  .block__desc::after {
    display: none;
  }

  .block__title {
    font-weight: 600;
    text-align: center;
    letter-spacing: inherit;
    writing-mode: unset;
    white-space: unset;
  }

  .block__desc,
  .block__content {
    padding: 0;
    margin: 0;
  }

  .block__desc {
    justify-content: center;
    position: static;
    height: auto;
    margin: 18px 0 20px;
    text-align: center;
  }

  .block.--align-left .block__title {
    text-align: left;
  }

  .block.--align-left .block__desc {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    text-align: left;
  }

  .block.--align-left .block__desc::after {
    display: block;
    position: static;
    width: min(200px, 100%);
  }

  .btn-style {
    background: var(--color-primary);
    color: var(--color-accent);
    font-weight: 700;
  }

  .btn-icon__img {
    display: none;
  }

  .news {
    grid-template-columns: 1fr;
  }

  .news__item {
    padding: 32px 20px;
    flex-direction: column-reverse;
    align-items: center;
  }

  .news__content,
  .news__cover {
    flex-basis: unset;
  }

  .news__content {
    width: 100%;
  }

  .news__cover {
    width: min(250px, 100%);
  }

  .news__top.--desktop {
    display: none;
  }

  .news__top.--mobile {
    display: block;
  }

  .news__btn {
    justify-content: center;
    width: min(175px, 100%);
    margin: 0 auto;
    padding: 1em;
  }

  .contact {
    padding: 36px 24px;
  }

  .contact__group {
    flex-direction: column;
    text-align: center;
    margin-left: 0;
  }

  .tabs {
    margin: 48px 0;
  }

  .cta.--mobile {
    display: block;
  }
}

@media only screen and (max-width: 576px) {
  .tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    justify-content: center;
    column-gap: 40px;
    padding: 20px;
    border-radius: 15px;
    background: var(--color-white);
    box-shadow: 2px 2px 2px -1px rgba(0, 0, 0, 0.25);
  }

  .pagination {
    flex-wrap: wrap;
    gap: 16px;
  }

  .pagination__page {
    padding: 4px 7px;
  }
}

@media only screen and (max-width: 375px) {
  .tabs {
    grid-template-columns: 1fr;
  }

  .header-menu {
    padding: 35px;
  }

  .header-menu__item {
    text-align: center;
  }

  .header-menu__item span {
    display: none;
  }

  .header-menu__social {
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
  }

  .footer__social {
    gap: 16px;
  }

  .footer__social a {
    width: 35px;
    height: 35px;
    padding: 6px;
  }
}

/* HOME */
.h-hero {
  display: flex;
  height: 85vh;
}

.h-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 35px;
  margin: 0 auto;
}

.h-hero__logo {
  width: clamp(150px, 15.29vw, 235px);
  height: auto;
}

.h-hero__btn {
  display: block;
  width: 14.72em;
  padding: 0.89em;
  border-radius: 15px;
  background: var(--color-text-dark);
  color: var(--color-white);
  font-size: var(--font-label-l);
  font-weight: 600;
  text-align: center;
}

.h-hero__text {
  color: var(--color-mid-gray);
  font-size: var(--font-body-s);
  text-align: center;
}

.h-service {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(321px, 1fr));
  row-gap: 80px;
  column-gap: 6%;
}

.h-service__item {
  text-align: center;
}

.h-service__icon {
  width: 75px;
  height: auto;
  margin-bottom: 12px;
}

.h-service__title {
  font-size: var(--font-label-l);
  font-weight: 600;
}

.h-service__btn {
  display: block;
  margin: 12px 0 16px;
  padding: 0.625em;
  border-radius: 15px;
  background: var(--color-white);
  font-size: var(--font-head-2);
  font-weight: 600;
  transition: var(--style-transition);
}

.h-service__btn:hover {
  color: var(--color-white);
  background: var(--color-text);
}

.h-service__desc {
  color: var(--color-mid-gray);
  font-size: var(--font-body-s);
}

.h-service__nav {
  display: none;
}

.h-news__item {
  display: flex;
}

.h-news__btn {
  display: block;
  width: 315px;
  margin: clamp(28px, 4.16vw, 80px) 0 0 auto;
  padding: 8px;
  border: 2px solid var(--color-primary);
  border-radius: 10px;
  text-align: center;
}

@media only screen and (max-width: 768px) {
  .h-news__item:not(:first-child) {
    display: none;
  }

  .h-news__item {
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  }

  .h-news__item .news__btn,
  .h-news__item .news__desc {
    display: none;
  }

  .h-news__btn {
    width: min(250px, 100%);
    margin-right: auto;
    padding: 1em 16px;
  }

  /* Carousel */
  .h-service {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding-bottom: 8px;
  }

  .h-service::-webkit-scrollbar {
    display: none;
  }

  .h-service {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }

  .h-service__item {
    flex: 0 0 100%;
    position: relative;
    padding: 32px 32px;
    scroll-snap-align: start;
  }

  .h-service__item::before {
    content: url("/static/assets/icons/service-border-t.png");
    position: absolute;
    top: 0;
    left: 0;
  }

  .h-service__item::after {
    content: url("/static/assets/icons/service-border-b.png");
    position: absolute;
    bottom: 0;
    right: 0;
  }

  .h-service__item.--clickable {
    cursor: pointer;
  }

  .h-service__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
  }

  .h-service__nav img {
    width: 100%;
    height: auto;
  }

  .h-service__prev,
  .h-service__next {
    width: 50px;
    height: 50px;
    cursor: pointer;
  }

  .h-service__next {
    margin-top: 2px;
  }
}

@media only screen and (max-width: 576px) {
  .h-hero__inner {
    gap: 24px;
  }

  .h-hero__logo {
    width: min(150px, 100%);
  }

  .h-hero__btn {
    width: min(200px, 100%);
  }

  .h-service__icon {
    width: 45px;
  }

  .h-service__btn {
    border-radius: 5px;
    padding: 0.5em;
  }
}
/* HOME END */

/* ABOUT */
.a-hero {
  --a-hero-block-px: 80px;
  --a-hero-block-py: 56px;
  display: flex;
  height: 85vh;
}

.a-hero__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.a-hero__logo {
  width: clamp(250px, 15.62vw, 300px);
}

.a-hero__checkbox {
  display: none;
}

.a-hero__content {
  width: min(970px, 100%);
  min-height: 250px;
  cursor: pointer;
}

.a-hero__base,
.a-hero__overlay {
  overflow: hidden;
  border-radius: 15px;
}

.a-hero__base {
  padding: var(--a-hero-block-py) var(--a-hero-block-px);
  background: var(--color-white);
  line-height: 1.8;
}

.a-hero__overlay {
  max-height: 0;
  padding: 0 var(--a-hero-block-px);
  background: var(--color-text);
  color: var(--color-white);
}

.a-hero__checkbox:checked + .a-hero__content .a-hero__base {
  max-height: 0;
  padding: 0 var(--a-hero-block-px);
  transition: var(--style-transition);
}

.a-hero__checkbox:checked + .a-hero__content .a-hero__overlay {
  max-height: 1000px;
  padding: var(--a-hero-block-py) var(--a-hero-block-px);
  transition: var(--style-transition);
}

.a-hero__content p:not(:last-child) {
  margin-bottom: 32px;
}

.a-introduction {
  display: flex;
}

.a-cards {
  display: grid;
  justify-content: space-between;
  grid-template-columns: repeat(auto-fit, min(525px, 100%));
  column-gap: 16px;
  row-gap: clamp(48px, 5vw, 96px);
  width: min(1200px, 100%);
  margin: 0 auto;
}

.a-card {
  height: 100%;
}

.a-card__checkbox {
  display: none;
}

.a-card__label {
  display: block;
  padding: 40px 60px 20px;
  border-radius: 15px;
  background: var(--color-mid-gray);
  color: var(--color-bg);
  cursor: pointer;
  transition: var(--style-transition);
}

.a-card__checkbox:checked + .a-card__label {
  background: var(--color-primary);
}

.a-card__content {
  position: relative;
}

.a-card__content p {
  line-height: 1.8;
}

.a-card__checkbox:checked + .a-card__label .a-card__overlay {
  opacity: 1;
  pointer-events: unset;
}

.a-card__checkbox:checked + .a-card__label .a-card__base {
  opacity: 0;
  pointer-events: none;
}

.a-card__overlay,
.a-card__base {
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: var(--style-transition);
}

.a-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
}

.a-card__title {
  font-size: var(--font-label-l);
  font-weight: 600;
}

.a-card__btn {
  width: fit-content;
  margin: 0 auto;
  padding: 4px 14px;
  border: solid 1px var(--color-white);
  border-radius: 2px;
  font-size: var(--font-label-m);
}

.a-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70vh;
}

.a-quote__inner {
  width: min(1000px, 100%);
  font-weight: 600;
}

.a-quote__title {
  font-size: var(--font-head-2);
}

.a-quote__subtitle,
.a-quote__author {
  font-size: var(--font-head-3);
}

.a-quote__subtitle {
  margin: 24px 0;
}

.a-quote__author {
  margin: 0 0 0 auto;
  text-align: end;
}

@media only screen and (max-width: 1536px) {
  .a-cards {
    grid-template-columns: 1fr;
  }

  .a-card__overlay,
  .a-card__base {
    width: 100%;
    text-align: center;
  }

  .a-card__title {
    display: flex;
    flex-direction: column;
    font-size: 1.125rem;
  }

  .a-card__hidden {
    display: none;
  }
}

@media only screen and (max-width: 1366px) {
  .a-hero {
    height: auto;
  }

  .a-hero__inner {
    flex-direction: column;
    gap: 32px;
  }

  .a-hero__content {
    text-align: center;
  }
}

@media only screen and (max-width: 768px) {
  .a-hero {
    --a-hero-block-px: 24px;
    --a-hero-block-py: 36px;
  }

  .a-hero__logo {
    width: min(250px, 100%);
  }

  .a-card__label {
    padding: 24px 16px;
  }

  .a-quote {
    height: auto;
  }
}
/* ABOUT END*/

/* CONTACT */
.c-container {
  display: flex;
  align-items: center;
  gap: 80px;
  max-width: 1137px;
  margin: 0 auto 84px;
}

.c-info {
  flex-shrink: 0;
  width: 31%;
}

.c-info__logo {
  width: 100%;
  height: auto;
  margin-bottom: 16px;
}

.c-info__text p:not(:last-child) {
  margin-bottom: 20px;
}

.c-qa__item:not(:last-child) {
  margin-bottom: 35px;
}

.c-qa__checkbox {
  display: none;
}

.c-qa__label {
  display: block;
  padding: 32px 28px;
  border-radius: 15px;
  background: var(--color-white);
  line-height: 1.8;
  cursor: pointer;
  transition: var(--style-transition);
}

.c-qa__label img,
.c-qa__arrow {
  flex-shrink: 0;
  width: 25px;
  height: 25px;
}

.c-qa__question,
.c-qa__answer {
  display: flex;
  align-items: center;
  gap: 16px;
}

.c-qa__question {
  font-weight: 700;
}

.c-qa__question-text {
  flex-grow: 1;
}

.c-qa__arrow {
  background-image: url("/static/assets/icons/arrow-down.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: var(--style-transition);
}

.c-qa__answer {
  overflow: hidden;
  max-height: 0;
  margin-right: calc(16px + 25px);
  color: var(--color-white);
  font-weight: 700;
  transition: var(--style-transition);
}

.c-qa__answer p:not(:last-child) {
  margin-bottom: 32px;
}

.c-qa__checkbox:checked + .c-qa__label {
  background: var(--color-primary);
  color: var(--color-white);
}

.c-qa__checkbox:checked + .c-qa__label .c-qa__question {
  margin-bottom: 44px;
  font-weight: 400;
}

.c-qa__checkbox:checked + .c-qa__label .c-qa__arrow {
  background-image: url("/static/assets/icons/arrow-up.png");
}

.c-qa__checkbox:checked + .c-qa__label .c-qa__answer {
  max-height: 1000px;
  transition: all 0.5s ease-in-out;
}

@media only screen and (max-width: 1366px) {
  .c-container {
    flex-direction: column;
    gap: 52px;
  }

  .c-info {
    width: 100%;
    text-align: center;
  }

  .c-info__logo {
    display: block;
    width: min(350px, 100%);
    margin: 0 auto 16px;
  }
}

@media only screen and (max-width: 768px) {
  .c-info__logo {
    margin-top: var(--block-py);
  }

  .c-qa__label {
    padding: 16px 28px;
  }
}
/* CONTACT END*/

/* NEWS CONTENT */
.nc-news__info,
.nc-news__social {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nc-news__date {
  font-size: var(--font-body-s);
}

.nc-news__social img {
  width: 35px;
  height: 35px;
}

.nc-news__title {
  margin: 12px 0 36px;
  font-size: var(--font-head-1);
  font-weight: 700;
}

.nc-news__content {
  margin-left: 16%;
}

.nc-news__cover {
  overflow: hidden;
  max-width: 900px;
  border-radius: 15px;
}

.nc-news__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nc-news__article {
  margin: 36px 0;
  text-align: justify;
}

.nc-news__article p:not(:last-child) {
  margin-bottom: 32px;
}

.nc-news__btn {
  margin: 0 0 0 auto;
}

.nc-news__btn .btn-icon__img {
  background-image: url("/static/assets/icons/arrow-left.png");
}

.nc-news__btn:hover .btn-icon__img {
  background-image: url("/static/assets/icons/arrow-left-hover.png");
}

@media only screen and (max-width: 768px) {
  .nc-news__social {
    display: none;
  }

  .nc-news__content {
    margin-left: 0;
  }

  .nc-news__title {
    margin: 32px 0;
  }

  .nc-news__btn {
    margin-right: auto;
  }
}
/* NEWS CONTENT END */

/* SERVICE */
.s-service {
  display: flex;
  gap: 4%;
}

.s-list {
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.s-list__item {
  width: 325px;
  padding: 0.75em 0.25em;
  font-size: var(--font-label-l);
  text-transform: uppercase;
}

.s-list__item.--active {
  background: var(--color-primary);
  box-shadow: none;
  color: var(--color-accent);
  font-weight: 700;
}

.s-content {
  flex-grow: 1;
  margin-left: 40px;
}

.s-content > div:not(:last-child) {
  margin-bottom: 48px;
}

.s-content__title {
  margin-bottom: 32px;
  color: var(--color-primary-soft);
  font-weight: 600;
}

.s-content__title.--main {
  position: relative;
  font-size: var(--font-head-2);
}

.s-content__title.--sub {
  font-size: var(--font-head-3);
}

.s-content__title.--main::before {
  content: url("/static/assets/icons/line-horizontal.png");
  position: absolute;
  top: calc(var(--font-head-2) * -1 - 1.5rem);
  left: -40px;
}

.s-content__title.--main::after {
  content: url("/static/assets/icons/line-vertical.png");
  position: absolute;
  top: -2rem;
  left: -20px;
}

.s-content__title.--main + .s-content__para {
  max-width: 445px;
}

.s-content__para {
  margin-left: var(--font-head-2);
  line-height: 1.8;
}

.s-images {
  flex-shrink: 0;
  width: 400px;
}

.s-images img {
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.s-images img:not(:last-child) {
  margin-bottom: 24px;
}

@media only screen and (max-width: 1536px) {
  .s-images {
    width: 26%;
  }
}

@media only screen and (max-width: 1366px) {
  .s-service {
    flex-direction: column;
    gap: 48px;
  }

  .s-list {
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: row;
    column-gap: 8px;
    row-gap: 24px;
  }

  .s-list__item {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4px;
    width: 300px;
    padding: 0.4em 0.25em;
  }

  .s-list__item span:last-child {
    font-size: 0.75rem;
  }

  .s-list__hidden,
  .s-content__title.--main::before,
  .s-content__title.--main::after {
    display: none;
  }

  .s-content,
  .s-content__para {
    margin-left: 0;
  }

  .s-images {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .s-list__item span:first-child {
    font-size: 0.875rem;
  }

  .s-list__item {
    width: clamp(140px, 26.04vw, 200px);
    text-transform: capitalize;
  }

  .s-content__title {
    margin-bottom: 20px;
  }

  .s-content__para {
    font-size: 0.875rem;
  }
}
/* SERVICE END */

/* WORK */
.w-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  column-gap: 5%;
  row-gap: 52px;
}

.w-item {
  padding: 16px 20px;
  border-radius: 15px;
  background: var(--color-white);
  font-size: var(--font-label-l);
  text-align: center;
  cursor: pointer;
}

.w-item__cover {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  border-radius: 15px;
}

.w-item__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.w-item__overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  color: var(--color-white);
  font-weight: 600;
  opacity: 0;
  transition: var(--style-transition);
}

.w-item__cat {
  margin: 20px 0;
  color: var(--color-mid-gray);
}

.w-item__title {
  width: 80%;
  margin: 0 auto;
  padding: 4px;
  border-radius: 5px;
  transition: var(--style-transition);
}

.w-item:hover .w-item__title {
  background: var(--color-primary);
  color: var(--color-accent);
  font-weight: 600;
}

.w-item:hover .w-item__overlay {
  opacity: 1;
}

@media only screen and (max-width: 576px) {
  .w-list {
    grid-template-columns: 1fr;
    row-gap: 48px;
  }

  .w-item__cat {
    margin: 12px 0;
  }
}
/* WORK END */

/* WORK CONTENT */
.wc-title__sub {
  margin-bottom: 16px;
  color: var(--color-mid-gray);
  font-size: var(--font-head-2);
  font-weight: 600;
}

.wc-title__main {
  font-size: var(--font-head-1);
  font-weight: 700;
}

.wc-work__content {
  display: flex;
  gap: 20px;
  margin-top: 44px;
}

.wc-work__info {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: 24px;
  flex-grow: 1;
}

.wc-info__title {
  margin-bottom: 8px;
  color: var(--color-primary);
  font-size: var(--font-head-3);
  font-weight: 600;
}

.wc-article {
  width: 80%;
}

.wc-article__title {
  margin-bottom: 0.75em;
  font-size: var(--font-head-2);
  font-weight: 600;
}

.wc-article__title:not(:first-child) {
  margin-top: 100px;
}

.wc-article__content {
  line-height: 1.8;
  text-align: justify;
}

.wc-article__content p:not(:last-child) {
  margin-bottom: 2em;
}

.wc-article__content img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
}

.wc-article__content img:not(:last-child) {
  margin-bottom: 32px;
}

.wc-article__btn {
  margin: 32px 0 0 auto;
}

.wc-article__btn .btn-icon__img {
  background-image: url("/static/assets/icons/arrow-left.png");
}

.wc-article__btn:hover .btn-icon__img {
  background-image: url("/static/assets/icons/arrow-left-hover.png");
}

@media only screen and (max-width: 1366px) {
  .wc-work__content {
    flex-direction: column;
    gap: 48px;
  }

  .wc-work__info {
    grid-template-columns: repeat(2, 1fr);
  }

  .wc-article {
    width: 100%;
  }

  .wc-article__title:not(:first-child) {
    margin-top: 48px;
  }
}

@media only screen and (max-width: 768px) {
  .wc-title__sub {
    margin: 32px 0;
    font-size: 1.125rem;
  }

  .wc-work__content {
    margin-top: 32px;
  }

  .wc-info__content {
    font-size: 0.875rem;
  }

  .wc-article__btn {
    margin-right: auto;
  }
}

@media only screen and (max-width: 375px) {
  .wc-work__info {
    grid-template-columns: 1fr;
  }
}
/* WORK CONTENT END */
