:root {
  --MSIBodyFont: -apple-system, BlinkMacSystemFont, "Segoe UI","Noto Sans TC", "Microsoft JhengHei", "Meiryo UI", Helvetica, Arial, sans-serif;
  --body-font-size: var(--text-md);
  /*font size*/
  --title-xl: 24px;
  --title-lg: 22px;
  --title-md: 20px;
  --title-sm: 18px;
  --title-xs: 16px;
  --text-xl: 20px;
  --text-lg: 18px;
  --text-md: 17px;
  --text-sm: 16px;
  --text-xs: 15px;
  --note-lg: 16px;
  --note-xl: 14px;
  --note-md: 13px;
  --note-sm: 12px;
  --link-xl: 20px;
  --link-lg: 18px;
  --link-md: 17px;
  --link-sm: 16px;
  --link-xs: 14px;
  --line-height-xl: 2;
  --line-height-lg: 1.8;
  --line-height-md: 1.5;
  --line-height-xs: 1.3;
  --line-height-list: 1.8;
  --line-height-article: 1.8;
}
@media (min-width: 992px) {
  :root {
    --title-xl: 36px;
    --title-lg: 26px;
  }
}
@media (min-width: 1930px) {
  :root {
    --title-md: 22px;
    --title-sm: 20px;
    --title-xs: 17px;
    --text-lg: 19px;
    --text-md: 18px;
    --text-sm: 17px;
    --text-xs: 16px;
    --note-lg: 17px;
    --note-xl: 15px;
    --note-md: 14px;
    --note-sm: 13px;
    --link-lg: 19px;
    --link-md: 18px;
    --link-sm: 17px;
    --line-xs: 16px;
  }
}

html:lang(ja-JP) body,
html:lang(JP) body {
  --MSIBodyFont: -apple-system, BlinkMacSystemFont, "Segoe UI", "Meiryo UI", Arial, sans-serif;
}

html:lang(zh-TW) body,
html:lang(zh-CN) body,
html:lang(ja-JP) body,
html:lang(JP) body,
html:lang(ko-KR) body {
  --title-md: 22px;
  --text-md: 18px;
}
@media (min-width: 1930px) {
  html:lang(zh-TW) body,
  html:lang(zh-CN) body,
  html:lang(ja-JP) body,
  html:lang(JP) body,
  html:lang(ko-KR) body {
    --title-md: 26px;
    --text-md: 20px;
  }
}

:root {
  --color-black: #000;
  --color-white: #ffffff;
  --color-error: var(--color-red-400);
  --color-gray-100: #fafafa;
  --color-gray-200: #ececec;
  --color-gray-300: #cccccc;
  --color-gray-400: #808080;
  --color-gray-500: #7c7b7b;
  --color-gray-600: #696969;
  --color-gray-700: #333333;
  --color-gray-800: #222222;
  --color-gray-900: #1a1a1a;
  --color-gold-400: #9a8555;
  --color-red-300: #e92c2c;
  --color-red-400: #ea2023;
  --color-red-500: #fe0000;
  --color-red-600: #cc0000;
  --color-green-300: #92b457;
  --color-green-400: #86b000;
  --color-green-500: #82BC00;
  --color-gaming: var(--color-red-500);
  --color-cc: var(--color-gold-400);
  --color-bp: var(--color-gold-400);
  --color-amd: var(--color-green-400);
  --color-alpha: var(--color-green-300);
  --color-ws: var(--color-green-500);
  --body-bgcolor: var(--color-white);
  --body-text-color: var(--color-gray-700);
}

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

ol, ul, li {
  list-style: none;
}

button, select {
  appearance: none;
  outline: none;
}

a {
  outline: none;
  text-decoration: none;
  appearance: none;
}

main {
  margin-top: 60px;
}
@media (min-width: 996px) {
  main {
    margin-top: 0;
  }
}

.kv {
  position: relative;
  margin-top: 60px;
  overflow: hidden;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 996px) {
  .kv {
    margin-top: 0;
    height: 150px;
  }
}
@media (min-width: 1600px) {
  .kv {
    height: 200px;
  }
}
.kv img {
  width: 100%;
  vertical-align: bottom;
}
.kv picture {
  position: absolute;
  z-index: 1;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.kv__text {
  position: relative;
  z-index: 2;
  color: #222;
  padding: 0 25px;
  text-align: center;
  text-shadow: #fff 1px 1px 3px;
}
.kv__text.white {
  color: #fff;
  text-shadow: none;
}
.kv__text h1 {
  text-align: center;
  line-height: 1.1;
  font-size: 24px;
}
.kv__text h1 span {
  display: block;
  font-weight: normal;
  font-size: 70%;
}
@media (min-width: 996px) {
  .kv__text h1 {
    font-size: 36px;
  }
  .kv__text h1 span {
    padding-bottom: 8px;
    font-size: 80%;
  }
}

.solution__content {
  padding-top: 10px;
  padding-bottom: 30px;
}
@media (min-width: 996px) {
  .solution__content {
    padding-top: 50px;
    padding-bottom: 80px;
  }
}
.solution__item {
  margin-top: 20px;
}
.solution__item img {
  vertical-align: bottom;
}
@media (min-width: 996px) {
  .solution__item {
    margin-top: 60px;
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
  }
  .solution__item picture {
    position: relative;
    z-index: 3;
    flex: 0 0 40%;
  }
  .solution__item picture img {
    width: 100%;
    transform: scale(1.08);
  }
  .solution__item:nth-child(even) picture {
    order: 2;
  }
}
.solution-case {
  color: #2E98E5;
  display: flex;
}
.solution-case::before {
  content: "\ea13";
  font-family: "msi-icons" !important;
}
.solution-case a {
  color: #2E98E5;
  text-decoration: underline;
  font-size: 16px;
}
.solution-case a:hover {
  text-decoration: none;
}
.solution__text {
  background: #F6F6F6;
  padding: 25px;
}
.solution__text h3 {
  color: #336699;
  font-size: 22px;
  padding-bottom: 15px;
}
.solution__text p {
  padding-bottom: 15px;
}
@media (min-width: 996px) {
  .solution__text {
    flex: 0 0 60%;
    position: relative;
    z-index: 1;
    padding: 40px 60px;
    min-height: 500px;
  }
  .solution__text h3 {
    font-size: 26px;
  }
  .solution__text p {
    line-height: 1.8;
  }
}

.pd {
  text-align: left;
}
.pd a {
  color: #222;
}
.pd a:hover h3 {
  color: #2E98E5;
}
.pd a:hover img {
  transform: scale(1.03);
}
.pd__img {
  background: #f6fbfe;
  padding: 20px;
}
.pd h3 {
  font-size: 20px;
  padding: 10px 0;
}
.pd h4 {
  display: none;
}
.pd p {
  font-size: 15px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
@media (min-width: 996px) {
  .pd__img {
    padding: 40px;
  }
  .pd h3 {
    padding-top: 20px;
  }
  .pd p {
    font-size: 16px;
    line-height: 1.6;
  }
}

.solution__product {
  background: #fff;
  padding: 30px 0;
}
@media (min-width: 996px) {
  .solution__product {
    padding: 50px 0 40px;
  }
}
.solution__product .product {
  position: relative;
  margin-bottom: 40px;
}

.pd__img {
  text-align: center;
}
.pd__img img {
  max-width: 200px;
  margin: 0 auto;
}
.pd h4 {
  font-weight: normal;
  color: var(--color-gray-600);
  padding: 10px 0 0;
  font-size: 15px;
}
.pd h4::after {
  content: " > ";
}

.solution__application {
  background: var(--color-gray-100);
  padding: 30px 25px 50px;
}
@media (min-width: 996px) {
  .solution__application {
    padding: 50px 25px 80px;
  }
}

@media (min-width: 768px) {
  .application {
    display: flex;
    flex-wrap: wrap;
  }
}
.application__img {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  margin-top: 2px;
}
@media (min-width: 768px) {
  .application__img {
    display: inline-flex;
    flex-direction: column;
    width: calc(50% - 10px);
    margin: 5px;
  }
}
@media (min-width: 996px) {
  .application__img {
    width: calc(20% - 10px);
  }
}
.application .img {
  flex: 0 0 40%;
}
.application .img img {
  vertical-align: bottom;
}
.application figcaption {
  flex: 0 0 60%;
  padding-left: 20px;
  font-size: 16px;
}
@media (min-width: 768px) {
  .application figcaption {
    padding: 25px 10px;
  }
}

.slick-arrow {
  font-size: 0px;
  background: rgba(255, 255, 255, 0.9);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 40px;
  height: 40px;
  border: #2E98E5 1px solid;
  cursor: pointer;
  color: #2E98E5;
}
.slick-arrow:hover {
  background: #2E98E5;
  color: #fff;
}
.slick-arrow::before {
  font-family: "msi-icons";
  font-size: 30px;
}
.slick-prev {
  left: -50px;
}
.slick-prev::before {
  content: "\ea10";
}
.slick-next {
  right: -50px;
}
.slick-next::before {
  content: "\ea09";
}
.slick-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}
.slick-dots button {
  background: #000;
  font-size: 0px;
  width: 30px;
  height: 8px;
  cursor: pointer;
  border-radius: 4px;
}
.slick-dots button:hover {
  background: #2E98E5;
}
.slick-dots .slick-active button {
  background: #2E98E5;
}

.caseCard {
  position: relative;
  background: var(--color-gray-100);
  text-align: left;
}
.caseCard a {
  position: absolute;
  z-index: 0;
  inset: 0;
  color: var(--color-gray-800);
}
.caseCard:hover h3 {
  color: #2E98E5;
  text-decoration: underline;
}
.caseCard__text {
  padding: 16px;
}
.caseCard__img {
  position: relative;
  overflow: hidden;
  padding-bottom: 60%;
}
.caseCard__img img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}
.caseCard h3 {
  font-size: var(--title-sm);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  margin-bottom: 8px;
}
.caseCard__tag {
  padding: 16px 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}
.caseCard__tag a {
  position: relative;
  z-index: 10;
  display: inline-block;
  background: #336699;
  color: #fff;
  font-size: var(--note-sm);
  padding: 4px 8px;
  border-radius: 16px;
  letter-spacing: 0.5px;
}
.caseCard__tag a:hover {
  background: #2E98E5;
  color: #fff;
}
.caseCard__location {
  color: #2E98E5;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--note-md);
}
.caseCard__location i {
  color: var(--color-gray-800);
  padding-top: 4px;
  font-size: var(--note-lg);
}

.solution {
  background: url("https://storage-asset.msi.com/event/msi_ipc_2024/images//solution-bg.jpg") top center no-repeat ;
  background-size: cover;
  background-attachment: fixed;
}
.solution .common-title {
  text-align: center;
}
.solution__qmenu {
  text-align: center;
  position: sticky;
  z-index: 10;
  top: 60px;
  background: rgba(255, 255, 255, 0.5);
}
@media (min-width: 996px) {
  .solution__qmenu {
    top: 0;
  }
}
.solution__qmenu ul {
  display: flex;
}
.solution__qmenu li {
  flex: 1;
  padding: 5px 10px;
  border: #336699 1px solid;
  color: #336699;
  margin: 5px;
  font-size: 15px;
  cursor: pointer;
  background: #fff;
}
.solution__qmenu li:hover {
  background: #2E98E5;
  color: #fff;
  border-color: #2E98E5;
}
@media (min-width: 996px) {
  .solution__qmenu li {
    font-size: 18px;
    font-weight: bold;
    padding: 10px 25px;
  }
}

.caseList {
  padding-bottom: 40px;
}
@media (min-width: 996px) {
  .caseList {
    padding-bottom: 60px;
  }
}
.case .common-title {
  text-align: center;
}
.case__box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
@media (min-width: 996px) {
  .case__box {
    flex-wrap: wrap;
    flex-direction: row;
  }
}
@media (min-width: 996px) {
  .case__box .caseCard {
    width: calc(33.3333333333% - 24px);
  }
}
.case__btn {
  text-align: right;
  padding-top: 16px;
  padding-right: 20px;
}

@media (min-width: 996px) {
  .product .pd {
    margin: 0 12px;
  }
}
