/* Common Card-set Theme Begin */
.card-set .detail .logo {
  max-height: 8em;
  object-fit: contain;
  height: 30%;
  max-width: min(100%, 20em);
}

.card-set.theme-grey .detail,
.card-set.theme-grey .detail::before {
  background-color: #e0e0e0;
}

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

.card-set.theme-glass .detail,
.card-set.theme-glass .detail::before {
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
}

.card-set.theme-glass .box {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

@media screen and (min-width: 768px) {
  .card-set .logo {
    object-position: center left;
  }

  .card-set .btn-default {
    margin: 0;
  }

  .card-set.theme-glass .box {
    position: relative;
  }

  .card-set.theme-glass > img {
    position: absolute;
  }
}

/* Common Card-set Theme End */

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

.verticle-line {
  border: 0;
  height: 3.6em;
  width: 2px;
  background: #989a9b;
  margin: 2em auto;
  opacity: 1;
}

.ct-inline-size {
  container-type: inline-size;
}

.wrapper-right {
  float: right;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .wrapper-right {
    width: calc(100vw - 2.5% - 2em);
  }
}

@media screen and (min-width: 1100px) {
  .wrapper-right {
    width: calc(100vw - 5% - 2em);
  }
}

@media screen and (min-width: 1630px) {
  .wrapper-right {
    max-width: calc(100vw - (100vw - 92em) / 2 - 1.5em);
  }
}

/* Service Common End */

/* Home Application Intro Begin */
.home-app-intro {
  background-color: #fff;
}

.home-app-intro .image {
  overflow: hidden;
  position: relative;
  container-type: inline-size;
}

.home-app-intro .wrapper-right {
  border-radius: 2em 2em 0 0;
  overflow: hidden;
  background: url(https://webbackend.mqdc.com/assets/f58cf59d-963f-4656-8813-8ee52349775e)
    no-repeat 0 0 / cover;
}

.home-app-intro .caption {
  position: absolute;
  width: 55%;
  right: 0;
  top: 1em;
  font-size: 4.5cqw;
  font-weight: 500;
  text-align: center;
}

.home-app-intro video {
  object-fit: cover;
}

.home-app-intro .swiper {
  color: #fff;
  position: static;
}

.home-app-intro .swiper .row {
  margin: 0 auto;
  width: 90%;
  padding: 3em 1.5em;
}

.home-app-intro .wrapper-right .number {
  font-size: min(72cqw, 10em);
  margin-top: min(-4cqw, -0.5rem);
  font-weight: 700;
  color: transparent;
  display: block;
  line-height: 1;
  -webkit-text-stroke: 1px #fff;
}

.home-app-intro .swiper-pagination {
  --swiper-pagination-bottom: 1em;
}

.home-app-intro .swiper-pagination-bullet {
  background-color: transparent;
  border: 1px solid #fff;
}

.home-app-intro .swiper-pagination-bullet-active {
  background-color: #fff;
}

@media screen and (min-width: 576px) {
  .home-app-intro .swiper .row {
    width: 75%;
  }
}

@media screen and (min-width: 768px) {
  .home-app-intro .wrapper-right {
    border-radius: 2em 0 0 2em;
  }

  .home-app-intro .image {
    max-width: 36em;
  }

  .home-app-intro .caption {
    top: 6cqw;
    padding-left: 9cqw;
    width: 100%;
    text-align: left;
    font-size: 5cqw;
  }

  .home-app-intro .swiper-pagination {
    text-align: right;
    padding-right: 3em;
    max-width: 55em;
  }

  .home-app-intro .swiper .row {
    width: 100%;
    margin: 0;
    max-width: 55em;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
  }
}

/* Home Application Intro End */

/* Home Application Feature Begin */
.home-app-feature .intro {
  background-color: #e0e0e0;
}

.home-app-feature .intro img {
  box-shadow: 0px 12px 12px rgba(0, 0, 0, 0.16);
  border: 1px solid #ddddde;
}

.home-app-feature .feature-list {
  background-color: #25a7b7;
  position: relative;
  padding-bottom: 4em;
  border-radius: 0 0 2em 2em;
}

.home-app-feature .feature-list::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 25%;
  z-index: -1;
  background-color: #25a7b7;
}

.home-app-feature .feature-list .image img {
  position: relative;
  z-index: 1;
  width: 100%;
}

.home-app-feature .feature-list .image {
  position: relative;
  overflow: hidden;
  background-color: #3caab9;
  animation: feature-bg 5s infinite;
  box-shadow: 0px 12px 12px rgba(0, 0, 0, 0.16);
}

.home-app-feature .feature-list .image::before {
  content: "";
  position: absolute;
  background-color: #40b5c6;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  clip-path: polygon(100% 0%, 100% 0%, 100% 100%, 38% 100%);
  animation: feature-bg-right 5s infinite;
}

.home-app-feature .feature-list .image::after {
  content: "";
  position: absolute;
  background-color: #3696a4;
  left: 0;
  top: 0;
  bottom: 0;
  right: 0;
  clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 57% 100%);
  animation: feature-bg-left 5s infinite;
}

@keyframes feature-bg {
  0% {
    background-color: #3caab9;
  }

  50% {
    background-color: #40b5c6;
  }

  100% {
    background-color: #3caab9;
  }
}

@keyframes feature-bg-right {
  0% {
    background-color: #40b5c6;
  }

  50% {
    background-color: #3696a4;
  }

  100% {
    background-color: #40b5c6;
  }
}

@keyframes feature-bg-left {
  0% {
    background-color: #3696a4;
  }

  50% {
    background-color: #3caab9;
  }

  100% {
    background-color: #3696a4;
  }
}

@media screen and (min-width: 768px) {
  .home-app-feature .intro {
    container-type: inline-size;
    background: #e9e9e7
      url(https://webbackend.mqdc.com/assets/b20707df-96da-4a27-9a29-1b9710944d03)
      no-repeat top right / auto 100%;
  }

  .home-app-feature .intro h2,
  .home-app-feature .intro p {
    font-size: min(1.4em, 2.3cqw) !important;
  }

  .home-app-feature .feature-list::before {
    height: 10em;
  }
}

@media screen and (min-width: 992px) {
  .home-app-feature .intro {
    aspect-ratio: 1620 / 709;
  }

  .home-app-feature .feature-list {
    border-radius: 0;
  }
}

/* Home Application Feature End */

/* Home Application Privilege Begin */
.home-app-privilege {
  position: relative;
  padding-bottom: 4em;
}

.home-app-privilege::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, #e8e8e8 0%, #b2b1b1 58%, #ddddde 100%) 0 0;

  background: transparent
    linear-gradient(180deg, #e8e8e8 0%, #b2b1b1 58%, #ddddde 100%) 0% 0%
    no-repeat padding-box;

  opacity: 0.59;
  z-index: -1;
}

@media screen and (min-width: 768px) {
  .home-app-privilege {
    padding-bottom: 15em;
  }

  .home-app-privilege::after {
    top: 0;
  }

  .home-app-privilege .wrapper {
    max-width: 78em;
  }

  .home-app-privilege .deco-woman {
    position: absolute;
    left: 36%;
    bottom: 0;
    transform: translate(-100%, 0);
    z-index: 2;
    clip-path: polygon(
      0 61%,
      27% 31%,
      49% 23%,
      59% 24%,
      62% 13%,
      69% 7%,
      77% 8%,
      81% 18%,
      84% 24%,
      100% 50%,
      100% 100%,
      0 100%
    );
  }

  .home-app-privilege .image {
    position: absolute;
    top: 40%;
    transform: translate(0, -50%);
    left: 0;
    right: 0;
  }

  .home-app-privilege .sprite {
    background: url(https://webbackend.mqdc.com/assets/d2c66bff-4c91-4ad6-a2a6-713d1f401deb)
      no-repeat 0 0/ 432% auto;
    aspect-ratio: 219/325;
    width: 14.28%;
    overflow: hidden;
    text-indent: -9999em;
    transition: 0.2s ease-out;
    margin: 0 0.5em;
  }

  .home-app-privilege .sprite.active {
    transform: scale(1.4);
    margin-left: 2%;
    margin-right: 2%;
  }

  .home-app-privilege .sprite.near {
    transform: scale(1.2);
    margin-left: 2%;
    margin-right: 2%;
  }

  .home-app-privilege .sprite.far {
    transform: scale(1.1);
  }

  .home-app-privilege .sp-food {
    background-position: 0.277% 100%;
  }

  .home-app-privilege .sp-travel {
    background-position: 33.426% 100%;
  }

  .home-app-privilege .sp-beauty {
    background-position: 66.574% 100%;
  }

  .home-app-privilege .sp-health {
    background-position: 99.723% 0.565%;
  }

  .home-app-privilege .sp-shop {
    background-position: 66.574% 0.565%;
  }

  .home-app-privilege .sp-life {
    background-position: 33.426% 0.565%;
  }

  .home-app-privilege .sp-service {
    background-position: 0.277% 0.565%;
  }
}

@media screen and (min-width: 992px) {
  .home-app-privilege p {
    width: 30%;
    max-width: 22rem;
    position: absolute;
    top: 6%;
  }

  .home-app-privilege .deco-woman {
    max-width: 35%;
  }
}

/* Home Application Privilege End */

/* Home Application Download Begin */
.home-app-download {
  padding-top: 0;
  margin-top: -2em;
}

.home-app-download .wrapper {
  background-color: #25a7b7;
  text-align: center;
  color: #fff;
}

.home-app-download .intro {
  margin-top: -2em;
}

.home-app-download .call {
  font-size: 3em;
}

@media screen and (min-width: 768px) {
  .home-app-download {
    margin-top: -10em;
  }

  .home-app-download .wrapper {
    padding-top: 2em;
    max-width: 62em;
  }

  .home-app-download .intro {
    margin-top: 0;
  }
}

/* Home Application Download End */

/* Courtesy Begin */
.courtesy-intro .image {
  min-height: 20em;
}

/* Courtesy End */

/* The Estate Begin */
.estate-list .theme-glass img.d-md-none {
  min-height: 45em;
}

.estate-video .bg-estate {
  background-color: #213746;
  color: #ddddde;
}

.estate-video .bg-estate .wrapper {
  max-width: 75em;
}

.estate-video .bg-estate h2 {
  color: #f5f5f5;
}

/* The Estate End */

/* Security Begin */
.security-list {
  background: linear-gradient(
    180deg,
    #ced6d9 0%,
    #f2f4f5d6 67%,
    transparent 100%
  );
  margin-top: 2em;
}

.security-list .title {
  color: #25a7b7;
  border-bottom: 1px solid var(--softblue);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.security-list .sublist li {
  display: flex;
  margin-bottom: 1em;
  align-items: flex-start;
}

.security-list .sublist img {
  flex-grow: 0;
  margin-right: 2em;
  object-fit: contain;
  max-width: 3.5em;
}

@media screen and (min-width: 768px) {
  .security-list .info {
    position: relative;
  }

  .security-list .title {
    padding-top: min(16cqw, 13rem);
    position: relative;
  }

  .security-list .number {
    position: absolute;
    font-size: min(23cqw, 13rem);
    font-weight: 700;
    color: transparent;
    display: block;
    line-height: 1;
    -webkit-text-stroke: 1px rgba(83, 85, 89, 0.22);
    left: 0;
    top: 0;
  }

  .security-list .sublist {
    position: relative;
    padding-top: 1em;
  }

  .security-list .sublist::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background-color: var(--softblue);
    margin-left: -0.5px;
  }
}

/* Security End */

/* Projects Begin */
.projects {
  padding-top: 6em;
}

.project {
  margin-bottom: 1em;
}

.project > .row {
  transition: 0.3s;
  border-radius: 0.63em;
  overflow: hidden;
  background-color: #fff;
  position: relative;
  box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
}

.project-l {
  display: flex;
  align-items: center;
}

.project-image {
  position: relative;
  display: block;
  aspect-ratio: 3/4;
  flex: 1 1 auto;
}

.project-image img {
  height: 100%;
  max-width: none;
  width: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.project-topic {
  align-items: center;
  color: #fff;
  transition: 0.3s;
  padding: 0.5rem;
  min-height: 40%;
  background-color: var(--darkgray);
}

.project-topic img {
  height: 2.75em;
  max-width: 4.3em;
  width: auto;
  object-fit: contain;
}

.project-name {
  font-size: 0.98em;
  margin-bottom: 0;
  padding-right: 0.7em;
}

.project-name a {
  color: #fff;
  font-weight: 400;
}

.project-info p:first-child,
.project-info li,
.btn-project-view span,
.btn-project-regist {
  display: none;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
}

.project-tags,
.project-info {
  margin: 0.5rem;
}

.project-tags span {
  font-size: 0.62em;
  padding: 0.2rem 0.6rem;
  font-weight: 300;
  background-color: var(--softblue);
  border-radius: 1rem;
  display: inline-block;
  color: #fff;
  margin: 0 2px 4px;
}

.project-info {
  font-size: 0.8em;
}

.project-info ul {
  padding-left: 1.8rem;
  margin-bottom: 0.5rem;
}

.project-info li {
  color: #898888;
  margin-bottom: 0.4em;
}

.project-info li:first-child {
  display: block;
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"%3E%3Cg%3E%3Cpath d="M0,0H16.5V16.5H0Z" fill="rgba(0,0,0,0)"/%3E%3Cpath d="M19.125,15.4a2.063,2.063,0,1,1-2.063-2.063A2.063,2.063,0,0,1,19.125,15.4Z" transform="translate(-8.812 -7.833)" fill="rgba(0,0,0,0)" stroke="%239b9b9b" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/%3E%3Cpath d="M16.057,14.391,13.14,17.308a1.375,1.375,0,0,1-1.944,0L8.278,14.391a5.5,5.5,0,1,1,7.779,0Z" transform="translate(-3.916 -2.938)" fill="rgba(0,0,0,0)" stroke="%239b9b9b" stroke-linecap="round" stroke-linejoin="round" stroke-width="1"/%3E%3C/g%3E%3C/svg%3E')
    no-repeat left top / auto 1.5em;
  margin-left: -1.7rem;
  padding-left: 1.8rem;
}

.project-info p {
  font-weight: 500;
}

.project-info p:last-child {
  padding-right: 1rem;
  margin-bottom: 0.5em;
}

.project-info .price {
  color: var(--softblue);
}

.project-info .soldout {
  color: var(--red);
}

.project-action {
  position: absolute;
  right: 0.8em;
  bottom: 0.5em;
  width: auto;
}

.btn-project-view i {
  transform: rotate(45deg);
  font-size: 1.3em;
  color: #5e6066;
}

@media screen and (min-width: 500px) {
  .project-topic img {
    height: 3.75em;
  }
}

@media screen and (min-width: 576px) {
  .project-topic {
    padding: 1rem 0.5rem 1rem 1rem;
  }

  .project-name {
    font-weight: 700;
  }

  .project-tags,
  .project-info {
    margin: 1rem;
  }

  .project-info {
    font-size: 0.9em;
  }

  .project-info ul {
    margin-bottom: 1rem;
  }
}

@media screen and (min-width: 768px) {
  .project-list {
    justify-content: center;
  }

  .project {
    margin-bottom: 2.5em;
    max-width: 22.75em;
  }

  .project > .row {
    border-radius: 1.2em;
    flex-direction: row;
    height: 100%;
    align-content: flex-start;
  }

  .project-l {
    display: block;
  }

  .project:hover > .row {
    transform: translate(0, -1.3rem);
  }

  .project:hover .project-image::after {
    background: #424243;
    mix-blend-mode: multiply;
    opacity: 0.34;
  }

  .project:hover .btn-project-regist {
    background-size: 100% 100%;
  }

  .project-image::after {
    position: absolute;
    content: "";
    transition: 0.3s;
    background: transparent;
    opacity: 0;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
  }

  .project-info p:first-child,
  .btn-project-view span,
  .btn-project-regist {
    display: block;
  }

  .project-info li {
    display: list-item;
  }

  .project-tags,
  .project-info {
    margin-top: 1rem;
    margin-bottom: 1rem;
  }

  .project-topic {
    min-height: auto;
  }

  .project:not(:hover) .project-topic {
    background-color: #686d71 !important;
  }

  .project-content {
    padding-bottom: 2.96rem;
  }

  .project-tags {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
  }

  .project-tags span {
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
  }

  .project-tags span:not(:last-child) {
    color: #004a97;
    background-color: rgba(255, 255, 255, 0.68);
  }

  .project-info ul {
    list-style: disc;
  }

  .project-action {
    display: flex;
    right: 0;
    bottom: 0;
    width: 100%;
  }

  .project-action a {
    font-size: 0.85em;
    color: #fafafa;
    text-align: center;
    display: block;
    flex: 1;
    padding: 1em 0.3em;
  }

  .btn-project-view i {
    display: none;
  }

  .btn-project-view span,
  .btn-project-regist {
    display: block;
  }

  .btn-project-view {
    background-color: var(--lightgray);
  }

  .btn-project-regist {
    background: linear-gradient(180deg, #3ea8b8 0%, #3ea8b8 29%, #237faa 100%);
    background-size: 100% 330%;
  }
}

/* Projects End */
