/* Common Card-set Theme Begin */
.card-set .logo {
  position: absolute;
  left: 50%;
  top: 1em;
  transform: translate(-50%, 0);
  object-fit: contain;
  object-position: center left;
}

.card-set.theme-grey .detail {
  background-color: #f4f4f4;
}

.card-set.theme-blue .detail,
.card-set.theme-blue .detail::before {
  background-color: var(--softblue);
  color: #fff;
}

.card-set.theme-blue .btn-more {
  background-color: #fff;
}

.card-set.theme-blue .btn-more:hover {
  border-color: #fff;
  background-color: transparent;
}

.card-set.theme-white .detail,
.card-set.theme-white .detail::before {
  background-color: #fff;
}

@media screen and (min-width: 768px) {
  .card-set .logo {
    left: 1em;
    top: 1.5em;
    transform: none;
    height: 7em;
  }

  .card-set.theme-grey .bg-default {
    max-height: 23em;
  }
}

@media screen and (min-width: 992px) {
  .card-set.theme-grey .bg-default {
    max-height: none;
  }
}

/* Common Card-set Theme End */

/* About Common Begin */
.text-transform-none {
  text-transform: none;
}

.text-lightgrey-2 {
  color: #898888;
}

.btn-more {
  border: 1px solid var(--softblue);
  border-radius: 2rem;
  background-color: rgba(255, 255, 255, 0.3);
  color: var(--softblue);
  padding: 0.3rem 0.8rem;
  display: inline-flex;
  align-items: center;
}

.btn-more::after {
  content: "";
  background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNi45OTkgMTIuNjE5Ij4KICA8ZyB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMTIxLjUwOSAtMi41MjUpIj4KICAgIDxwYXRoIGQ9Ik0wLDBIMjUuOTk0IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgxMjIuMDA5IDguOTIpIiBmaWxsPSJub25lIiBzdHJva2U9IiMzZWE4YjgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLXdpZHRoPSIxIi8+CiAgICA8cGF0aCBkPSJNLTMxNjcuNTQ3LDQyOTguNzVsNi42OTEsNS43LTYuNjkxLDUuNTA2IiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgzMzA4Ljg2NSAtNDI5NS41MikiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzNlYThiOCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2Utd2lkdGg9IjEiLz4KICA8L2c+Cjwvc3ZnPg==)
    no-repeat 0 0 / contain;
  display: inline-block;
  width: 1.5rem;
  height: 0.8rem;
  margin-left: 0.5rem;
  transition: transform 0.2s;
}

.btn-more:hover {
  background-color: var(--softblue);
  color: #fff;
}

.btn-more:hover::after {
  filter: grayscale(1) invert(1) brightness(3);
  transform: translate(0.4em, 0);
}

/* About Common End */

/* About Intro Begin */

.about-intro {
  background: #bde0e8
    url(https://webbackend.mqdc.com/assets/9a411c6e-10e7-4f81-878f-ec7e10e67128)
    no-repeat center bottom;
  padding-bottom: 4em;
}

@media screen and (min-width: 768px) {
  .about-intro {
    background-size: cover;
    background-position: center bottom 15%;
  }
}

@media screen and (min-width: 1200px) {
  .about-intro {
    padding-bottom: 10em;
  }
}

/* About Intro End */

/* Milestone Begin */
.milestone {
  background: linear-gradient(181deg, #d6eff2 0%, #ecf8fa 39%, #fff 100%);
}

.milestone .box-round {
  border-radius: 12em;
  padding: 0.3em;
  transition: 0.5s;
  color: #fff;
  overflow: hidden;
  max-width: 30em;
  display: inline-block;
}

.milestone .box-round .logo {
  width: 65%;
  max-width: 12em;
  object-fit: contain;
}

.milestone .box-round-lg {
  height: 11em;
}

.milestone .box-round-md {
  height: 9em;
}

.milestone .box-round-sm {
  height: 7.5em;
}

.milestone .box-round-year {
  background-color: var(--softblue);
  display: inline-block;
  padding-left: 3rem;
  padding-right: 3rem;
}

.milestone .box-round.vertical {
  background: linear-gradient(177deg, #348996 0%, #3ea8b8 51%, #2c7d89 100%);
  padding: 3em 2em;
  width: 80%;
  max-width: 18em;
  margin: 0 auto;
}

.milestone .box-round.vertical .row {
  min-height: 20em;
}

.milestone .box-round .year {
  font-size: 2.5em;
}

.milestone .group {
  position: relative;
  width: 90%;
  max-width: 23em;
  margin: 2em auto 0;
  transition: 0.8s;
}

.milestone .group::before {
  content: "";
  height: 3em;
  width: 2%;
  background-color: var(--softblue);
  position: absolute;
  transform: translate(-50%, 0);
  left: 50%;
  top: -1.5em;
  border-radius: 3em;
  z-index: 1;
}

.milestone .group.active .box-round {
  background: linear-gradient(97deg, #004a97 0%, #3ea8b8 52%, #004a97 100%);
}

.milestone .box-round-group {
  display: grid;
  grid-template-rows: repeat(2, 8em);
}

.milestone .group-2009 .box-round-group {
  grid-template-columns: 40% 19% 40%;
}

.milestone .group-2009 .box-round:first-child {
  grid-area: 1 / 1 / 1 / 3;
}

.milestone .group-2009 .box-round:nth-child(2) {
  grid-area: 1 / 2 / 1 / 4;
}

.milestone .group-2009 .box-round:nth-child(3) {
  grid-area: 2 / 1 / 2 / 4;
}

.milestone .group-2009 .box-round:nth-child(4) {
  grid-area: 3 / 1 / 3 / 4;
}

.milestone .group-2015 .box-round-group {
  grid-template-columns: 30.5% 8% 23% 8% 30.5%;
}

.milestone .group-2015 .box-round:first-child {
  grid-area: 1 / 1 / 1 / 6;
}

.milestone .group-2015 .box-round:nth-child(2) {
  grid-area: 2 / 1 / 2 / 3;
}

.milestone .group-2015 .box-round:nth-child(3) {
  grid-area: 2 / 2 / 2 / 5;
}

.milestone .group-2015 .box-round:nth-child(4) {
  grid-area: 2 / 4 / 2 / 6;
}

@media screen and (min-width: 768px) {
  .milestone-line {
    position: relative;
  }

  .milestone-line::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    top: 2em;
    bottom: 2em;
    width: 0.5em;
    background-color: var(--softblue);
    z-index: -1;
  }

  .milestone .box-round.vertical {
    max-width: 56em;
    width: 95%;
    padding-left: 4em;
    padding-right: 4em;
  }

  .milestone .box-round.vertical .row {
    min-height: auto;
  }

  .milestone .box-round-year {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .milestone .box-round .logo {
    width: 55%;
  }

  .milestone .box-round-group .box-round {
    height: min(11vw, 10em);
  }

  .milestone .group {
    max-width: 35em;
    width: calc(50% - 2em);
  }

  .milestone .group::before {
    content: none;
  }

  .milestone .group-r {
    margin-left: calc(50% + 3em);
    text-align: left;
  }

  .milestone .group-l {
    margin-right: calc(50% + 3em);
    float: right;
    text-align: right;
  }

  .milestone .group-2009 {
    margin-top: -14em;
  }

  .milestone .group-2011 {
    margin-top: -7em;
  }

  .milestone .group-2013 {
    margin-top: -14em;
  }

  .milestone .group-2015 {
    margin-top: -12.5em;
  }

  .milestone .group-2018 {
    margin-top: -15.5em;
  }

  .milestone .group-2021 {
    margin-top: -6.5em;
  }

  .milestone .group-2022-1 {
    margin-top: -20em;
  }

  .milestone .group-2022-2 {
    margin-top: -2em;
  }

  .milestone .group-2009 .box-round-group {
    grid-template-rows: none;
    grid-template-columns: 20% 8% 13% 7% 1fr 8% 20%;
  }

  .milestone .group-2009 .box-round:nth-child(2) {
    grid-area: 1 / 2 / 1 / 5;
  }

  .milestone .group-2009 .box-round:nth-child(3) {
    grid-area: 1 / 4 / 1 / 7;
    z-index: 1;
  }

  .milestone .group-2009 .box-round:nth-child(4) {
    grid-area: 1 / 6 / 1 / 8;
  }

  .milestone .group-2015 .box-round-group {
    grid-template-rows: none;
    grid-template-columns: 1fr 7% 15% 7% 15% 7% 22%;
  }

  .milestone .group-2015 .box-round:first-child {
    grid-area: 1 / 1 / 1 / 3;
  }

  .milestone .group-2015 .box-round:nth-child(2) {
    grid-area: 1 / 2 / 1 / 5;
  }

  .milestone .group-2015 .box-round:nth-child(3) {
    grid-area: 1 / 4 / 1 / 7;
  }

  .milestone .group-2015 .box-round:nth-child(4) {
    grid-area: 1 / 6 / 1 / 8;
  }

  .milestone .group-2022-2 .box-round-group {
    grid-template-rows: none;
    grid-template-columns: 31% 7% 24% 7% 26%;
  }

  .milestone .group-2022-2 .box-round-group .box-round {
    height: min(13vw, 12em);
  }

  .milestone .group-2022-2 .box-round:first-child {
    grid-area: 1 / 1 / 1 / 3;
  }

  .milestone .group-2022-2 .box-round:nth-child(2) {
    grid-area: 1 / 2 / 1 / 5;
  }

  .milestone .group-2022-2 .box-round:nth-child(3) {
    grid-area: 1 / 4 / 1 / 7;
    z-index: 1;
  }

  .milestone .group-2022-2 .box-round:nth-child(4) {
    grid-area: 1 / 6 / 1 / 8;
  }
}

@media screen and (min-width: 992px) {
  .milestone .box-round-lg {
    height: 12em;
  }

  .milestone .group-2011 {
    margin-top: -8em;
  }

  .milestone .group-2013 {
    margin-top: -12em;
  }
}

/* Milestone End */

/* Vision Begin */
.vision {
  background-color: #fff;
}

.vision .detail {
  background: transparent
    linear-gradient(174deg, #348996 0%, var(--softblue) 51%, #2c7d89 100%);
  padding: 4em 1.5em 2em;
  margin-top: -2em;
  border-radius: 0 0 2em 2em;
  text-align: left;
  flex: 1;
  min-height: 9em;
}

.vision .caption.up {
  top: 10%;
}

@media screen and (min-width: 576px) {
  .vision .caption {
    container-type: inline-size;
  }

  .vision .caption p {
    font-size: min(1.5em, 3.5cqw);
  }
}

@media screen and (min-width: 768px) {
  .vision .caption.up {
    top: 0;
  }

  .vision .caption p {
    font-size: min(1.5em, 3cqw);
  }
}

/* Vision End */

/* Brand Begin */
.brand-intro {
  background-color: #fff;
  padding-bottom: 5em;
}

.brand-property {
  background-color: var(--softblue);
  padding-bottom: 5.5em;
}

.brand-theme {
  background-color: #f2f2f2;
  padding-bottom: 5em;
}

.brand-joint {
  background-color: #ddddde;
  padding-bottom: 5.5em;
}

.brand-mqdc-all {
  background: url(https://webbackend.mqdc.com/assets/688c8d38-f43e-4c88-8617-bffa244745d5)
    no-repeat center bottom / cover;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  margin-top: -2em;
  padding: 6em 0 4em;
}

.brand-mqdc-all .wrapper {
  container-type: inline-size;
}

.brand-mqdc-all .wrapper p {
  font-size: min(1.4em, 3cqw);
}

@media (hover: hover) {
  .brand-mqdc-all {
    background-attachment: fixed;
  }
}

/* Brand End */

/* Management Begin */
.management-intro {
  background: #d3eaf2
    url(https://webbackend.mqdc.com/assets/23be6758-84f9-4d1d-b932-c454877495f1)
    no-repeat center bottom / cover;
  padding-bottom: 4em;
}

.management-founder {
  background: linear-gradient(
      233deg,
      #348996 0%,
      var(--softblue) 51%,
      #2c7d89 100%
    )
    0 0;
  color: #fff;
  margin-top: -2em;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  padding: 6em 0 4em;
}

.wrapper-management {
  width: 80%;
  max-width: 27em;
}

.management-board {
  padding-bottom: 3em;
}

.management-board .item {
  background: linear-gradient(347deg, #d5d5d5 0%, #e3e3e3 28%, #c4c4c4 100%) 0 0;
}

.management-board .image {
  box-shadow: 0 1.8em 0 rgba(62, 168, 184, 0.78);
}

.management-committee {
  background: linear-gradient(0deg, #fffcfc80 0%, #fdfdfd 46%, #eaeaea 100%) 0 0;
}

.management-committee .item {
  background: linear-gradient(
      236deg,
      #348996 0%,
      var(--softblue) 51%,
      #2c7d89 100%
    )
    0 0;
  padding-top: 1em;
}

.management-committee .image {
  aspect-ratio: 22/25;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.committee .image img {
  object-position: top;
}

@media (hover: hover) {
  .management-intro {
    background-attachment: fixed;
  }
}

@media screen and (min-width: 768px) {
  .wrapper-management {
    width: 95%;
    max-width: 65em;
  }

  .management-board .item {
    background: transparent
      linear-gradient(270deg, #d5d5d5 0%, #e3e3e3 28%, #c4c4c4 100%) 0 0;
  }

  .management-board .image {
    box-shadow: 1em 0 0 rgba(62, 168, 184, 0.78);
  }
}

/* Management End */

/* Criteria Begin */
.criteria {
  background-color: #fff;
}

.criteria video {
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: translate(-50%, -50%);
  left: 50%;
  top: 50%;
  max-width: 15em;
  width: 75%;
}

.criteria .item {
  background-color: var(--softblue);
  border-top-left-radius: 2em;
  border-top-right-radius: 2em;
  height: 100%;
}

.criteria .ratio {
  aspect-ratio: 17/16;
  background: linear-gradient(
      133deg,
      #e6e6e6 0%,
      #fdfdfd 22%,
      #dfdfe1 57%,
      #d0d0d0 71%,
      #c7c7c7 84%,
      #b9baba 100%
    )
    0 0;
  box-shadow: 0px 10px 12px rgba(0, 0, 0, 0.42);
}

/* Criteria End */

/* Award Begin */
.award {
  background-color: #fff;
}

.award .swiper-thumb {
  border-bottom: 2px solid var(--softblue);
  overflow: visible;
  margin-bottom: 3em;
  text-align: center;
  cursor: pointer;
}

.award .swiper-thumb .swiper-wrapper {
  padding-bottom: 1em;
  color: #868686;
}

.award .swiper-thumb .swiper-slide::after {
  position: absolute;
  content: "";
  width: 0.75em;
  height: 0.75em;
  background-color: #989a9b;
  border-radius: 100%;
  bottom: -1.45em;
  left: 50%;
  transform: translate(-50%, 0);
  transition: 0.3s;
}

.award .swiper-thumb .swiper-slide-thumb-active {
  color: var(--softblue);
  font-weight: bold;
}

.award .swiper-thumb .swiper-slide-thumb-active::after {
  background-color: var(--softblue);
  transform: translate(-50%, 0) scale(1.5);
}

.award .swiper-thumb .swiper-slide:hover {
  color: var(--softblue);
}

.award .swiper-thumb .swiper-slide:hover::after {
  background-color: var(--softblue);
}

.award .swiper-fade .swiper-slide {
  opacity: 0 !important;
}

.award .swiper-fade .swiper-slide-active {
  opacity: 1 !important;
}

.award .swiper-award .swiper-slide {
  height: auto;
}

.award .swiper-award .detail {
  color: #fff;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
}

.award .swiper-award .detail::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -2rem;
  bottom: 0;
  z-index: 0;
  border-radius: 2em;
  background: linear-gradient(
      204deg,
      #348996 0%,
      var(--softblue) 51%,
      #2c7d89 100%
    )
    0 0;
}

.award .swiper-award .scroll {
  max-height: 32rem;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 1rem;
  z-index: 1;
}

.award .swiper-award .scroll::-webkit-scrollbar {
  width: 0.7rem;
}

.award .swiper-award .scroll::-webkit-scrollbar-track {
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 1rem;
}

.award .swiper-award .scroll::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 1rem;
  opacity: 0.8;
}

.award .swiper-award .scroll::-webkit-scrollbar-thumb:hover {
  opacity: 1;
}

.award .swiper-button-group {
  position: relative;
  display: flex;
  margin: 2em 0;
  justify-content: center;
}

.award .swiper-button-group .swiper-button-next,
.award .swiper-button-group .swiper-button-prev {
  background-color: #c5c5c7;
  width: 3em;
  height: 3em;
  border-radius: 100%;
  color: #fff;
  position: initial;
  margin: 0 0.5em;
  transition: 0.5s;
}

.award .swiper-button-group .swiper-button-prev::after {
  margin-left: -0.4em;
}

.award .swiper-button-group .swiper-button-next:hover,
.award .swiper-button-group .swiper-button-prev:hover {
  background-color: var(--softblue);
}

@-moz-document url-prefix() {
  .award .swiper-award .scroll {
    scrollbar-color: #fff rgba(255, 255, 255, 0.5);
    scrollbar-width: thin;
  }
}

@media screen and (min-width: 768px) {
  .award .swiper-award {
    background: linear-gradient(
        204deg,
        #348996 0%,
        var(--softblue) 51%,
        #2c7d89 100%
      )
      0 0;
  }

  .award .swiper-award .image {
    border-radius: 2em;
    overflow: hidden;
  }

  .award .swiper-award .detail {
    margin-top: 0;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s 0.1s;
  }

  .award .swiper-award .swiper-slide-active .detail {
    opacity: 1;
  }

  .award .swiper-award .detail::before {
    content: none;
  }

  .award .swiper-award .scroll {
    max-height: none;
  }
}

@media screen and (min-width: 1100px) {
  .award .swiper-button-group {
    position: initial;
    margin: 0;
  }

  .award .swiper-button-group .swiper-button-next,
  .award .swiper-button-group .swiper-button-prev {
    position: absolute;
    margin: -1.5em 0 0;
    --swiper-navigation-sides-offset: -3.5em;
  }
}

@media screen and (min-width: 1300px) {
  .award .swiper-thumb .swiper-wrapper {
    display: inline-flex;
    width: auto;
    padding-left: 60px;
  }
}

/* Award End */

/** News Begin */

.swiper-news {
  overflow: visible;
}

.swiper-news .swiper-slide {
  width: auto;
}

.swiper-news img {
  width: 100%;
  max-width: none;
}

.swiper-news .ratio {
  border-radius: 0.65em;
  overflow: hidden;
  display: block;
  margin-bottom: 1em;
}

/** News End */
