#miccosmo-configurable-footer {
  box-sizing: border-box;
  width: 100%;
  padding: 24px 20px;
  color: #fff;
  background: #078b70;
  font-family: Arial, "Microsoft YaHei", sans-serif;
}

#miccosmo-configurable-footer .miccosmo-configurable-footer__inner {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, 1fr) auto;
  gap: 18px 32px;
  width: min(100%, 960px);
  margin: 0 auto;
  align-items: start;
}

#miccosmo-configurable-footer .miccosmo-configurable-footer__content--wide {
  grid-column: 1 / 3;
}

#miccosmo-configurable-footer #miccosmo-social-links {
  display: flex;
  grid-column: 3;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 16px;
  justify-content: flex-start;
  justify-self: end;
  align-self: start;
  width: max-content;
  max-width: 242px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

#miccosmo-configurable-footer #miccosmo-social-links .miccosmo-social-entry,
#miccosmo-configurable-footer #miccosmo-social-links .miccosmo-social-entry:hover,
#miccosmo-configurable-footer #miccosmo-social-links .miccosmo-social-entry:focus-visible {
  box-sizing: border-box !important;
  width: 70px;
  min-width: 70px;
  height: 66px;
  min-height: 66px;
  max-height: 66px;
  margin: 0;
  padding: 4px;
  border: 0 !important;
  border-radius: 8px;
  background: transparent !important;
  box-shadow: none !important;
  color: #fff;
  font: 12px/1.4 Arial, "Microsoft YaHei", "PingFang SC", sans-serif !important;
  text-align: center;
  text-decoration: none;
  text-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
}

#miccosmo-configurable-footer #miccosmo-social-links .miccosmo-social-entry:hover,
#miccosmo-configurable-footer #miccosmo-social-links .miccosmo-social-entry:focus-visible {
  background: rgb(255 255 255 / 12%) !important;
}

#miccosmo-configurable-footer .miccosmo-configurable-footer__brand,
#miccosmo-configurable-footer .miccosmo-configurable-footer__content {
  min-width: 0;
}

#miccosmo-configurable-footer .miccosmo-configurable-footer__logo {
  display: block;
  width: auto;
  max-width: 210px;
  height: auto;
  max-height: 64px;
  margin: 0 0 10px;
  object-fit: contain;
}

#miccosmo-configurable-footer p,
#miccosmo-configurable-footer small {
  display: block;
  margin: 7px 0 0;
  color: inherit;
  font-size: 12px;
  line-height: 1.7;
}

#miccosmo-configurable-footer .miccosmo-configurable-footer__description {
  margin-top: 0;
  font-size: 13px;
}

#miccosmo-configurable-footer .miccosmo-configurable-footer__description,
#miccosmo-configurable-footer .miccosmo-configurable-footer__fixed,
#miccosmo-configurable-footer .miccosmo-configurable-footer__copyright {
  white-space: pre-line;
  overflow-wrap: anywhere;
}

#miccosmo-configurable-footer ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

#miccosmo-configurable-footer li {
  display: flex;
  align-items: center;
  float: none;
  min-height: 32px;
  margin: 0;
  padding: 0;
  background: none;
}

#miccosmo-configurable-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: #fff;
  font-size: 13px;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
}

#miccosmo-configurable-footer a:hover,
#miccosmo-configurable-footer a:focus-visible {
  text-decoration: underline;
}

#miccosmo-configurable-footer .miccosmo-configurable-footer__filing a {
  min-height: 0;
  font-size: 12px;
}

#miccosmo-configurable-footer .miccosmo-footer-site-switcher {
  position: relative;
}

#miccosmo-configurable-footer .miccosmo-footer-site-switcher__toggle {
  min-height: 32px;
  padding: 4px 22px 4px 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-size: 13px;
  line-height: 1.5;
  cursor: pointer;
}

#miccosmo-configurable-footer .miccosmo-footer-site-switcher__toggle::after {
  position: absolute;
  top: 50%;
  right: 5px;
  content: "⌃";
  transform: translateY(-45%);
}

#miccosmo-configurable-footer .miccosmo-footer-site-switcher__toggle[aria-expanded="true"]::after {
  content: "⌄";
}

#miccosmo-configurable-footer .miccosmo-footer-site-switcher__toggle:focus-visible {
  border-radius: 2px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

#miccosmo-configurable-footer ul.miccosmo-footer-site-switcher__menu {
  position: absolute;
  z-index: 20;
  right: 0;
  bottom: calc(100% + 8px);
  display: grid;
  box-sizing: border-box;
  min-width: 156px;
  max-width: calc(100vw - 32px);
  gap: 0;
  padding: 6px;
  border: 1px solid rgb(255 255 255 / 35%);
  border-radius: 4px;
  background: #006d59;
  box-shadow: 0 8px 24px rgb(0 0 0 / 22%);
}

#miccosmo-configurable-footer ul.miccosmo-footer-site-switcher__menu[hidden] {
  display: none;
}

#miccosmo-configurable-footer .miccosmo-footer-site-switcher__menu a {
  display: block;
  box-sizing: border-box;
  min-height: 40px;
  padding: 9px 12px;
  border-radius: 2px;
  white-space: nowrap;
}

#miccosmo-configurable-footer .miccosmo-footer-site-switcher__menu a:hover,
#miccosmo-configurable-footer .miccosmo-footer-site-switcher__menu a:focus-visible {
  background: rgb(255 255 255 / 13%);
}

#miccosmo-configurable-footer .miccosmo-configurable-footer__copyright {
  opacity: .86;
  font-size: 11px;
}

.miccosmo-back-to-top {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 124px;
  min-width: 124px;
  max-width: 124px;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
  margin: 0;
  padding: 0 16px;
  border: 1px solid #0b9d70;
  border-radius: 3px;
  background: #fff;
  color: #087a55;
  font: 600 14px/1.4 Arial, "Microsoft YaHei", sans-serif;
  cursor: pointer;
}

.miccosmo-back-to-top::before,
.miccosmo-back-to-top::after {
  position: absolute;
  display: block;
  box-sizing: border-box;
  content: "";
}

.miccosmo-back-to-top::before {
  top: 15px;
  left: 50%;
  width: 2px;
  height: 16px;
  border-radius: 1px;
  background: currentColor;
}

.miccosmo-back-to-top::after {
  top: 13px;
  left: calc(50% - 5px);
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg);
}

.p_end img[src*="793c261762cd53c642870b1c5c6911a38a800f11cbbc601511effafdf765b1e5"],
.p_end img[src*="to_top"],
.p_end img[src*="pagetop"],
#page-top img[src*="793c261762cd53c642870b1c5c6911a38a800f11cbbc601511effafdf765b1e5"],
#page-top img[src*="to_top"],
#page-top img[src*="pagetop"] {
  display: none !important;
}

.to_top a,
a.to_top,
a.to-top {
  display: none !important;
  background-image: none !important;
}

.p_end.miccosmo-runtime-back-to-top {
  display: flex;
  clear: both;
  align-items: center;
  justify-content: flex-end;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  min-height: 44px;
  margin: 32px 0 12px;
  padding: 0;
  background: none;
  text-align: right;
}

.miccosmo-back-to-top:hover,
.miccosmo-back-to-top:focus-visible {
  background: #f0faf6;
  outline: 2px solid #087a55;
  outline-offset: 2px;
}

[data-product-navigation-groups] {
  display: contents;
}

#local_navi [data-product-navigation-group-title] {
  clear: left;
  box-sizing: border-box;
  width: 140px;
  min-height: 40px;
  margin: 0;
  padding: 0 5px;
  background-image: none !important;
  color: #000;
  font-size: 12px;
  font-weight: 700;
  line-height: 40px;
  text-align: left;
  text-indent: 0 !important;
}

.miccosmo-mobile-navigation {
  display: none;
}

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

@media (max-width: 640px) {
  html.miccosmo-mobile-ready,
  html.miccosmo-mobile-ready body {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    overflow-x: clip !important;
  }

  html.miccosmo-mobile-ready .mean-container > .mean-bar,
  html.miccosmo-mobile-ready #global_navi_bg,
  html.miccosmo-mobile-ready #menunavi_waku {
    display: none !important;
  }

  html.miccosmo-shared-mobile-header-ready #top01,
  html.miccosmo-shared-mobile-header-ready #container_01,
  html.miccosmo-shared-mobile-header-ready #new_header,
  html.miccosmo-shared-mobile-header-ready #header {
    display: none !important;
  }

  html.miccosmo-mobile-ready .miccosmo-shared-mobile-header {
    position: relative;
    top: 0 !important;
    bottom: auto !important;
    z-index: 1000;
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    height: 168px;
    margin: 0;
    padding: 0;
    overflow: visible;
    background: #fff;
  }

  html.miccosmo-shared-mobile-header-ready #contents_area {
    margin-top: 0 !important;
  }

  .miccosmo-shared-mobile-header__tagline {
    box-sizing: border-box;
    width: 100%;
    height: 20px;
    margin: 0;
    padding: 0 7px;
    overflow: hidden;
    background: #008e68;
    color: #fff;
    font: 400 10px/20px Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .miccosmo-shared-mobile-header__logo {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    height: 100px;
    align-items: center;
    margin: 0;
    padding: 10px 12px 0;
    background: #fff;
  }

  .miccosmo-shared-mobile-header__logo a {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    text-decoration: none;
  }

  .miccosmo-shared-mobile-header__logo img {
    display: block;
    width: 238px;
    max-width: calc(100vw - 24px) !important;
    height: auto;
    max-height: 72px;
    object-fit: contain;
    object-position: left center;
  }

  .miccosmo-shared-mobile-header__logo-text {
    color: #078b68;
    font: 700 26px/1 Arial, sans-serif;
  }

  .miccosmo-shared-mobile-header > .miccosmo-mobile-navigation {
    height: 48px;
  }

  html.miccosmo-mobile-ready .lan_box,
  html.miccosmo-mobile-ready #top01 .top_text .lan_box,
  html.miccosmo-mobile-ready #top01 .top_text > div:has(.lan_box) {
    display: none !important;
  }

  html.miccosmo-mobile-ready .miccosmo-mobile-navigation {
    position: relative;
    z-index: 1000;
    display: block;
    clear: both;
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #079c76;
    color: #fff;
    font-family: Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
  }

  .miccosmo-mobile-navigation__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 0 14px;
    border: 0;
    background: #079c76;
    color: #fff;
    font: 700 14px/1.4 Arial, "Microsoft YaHei", "PingFang SC", sans-serif;
    text-align: left;
    cursor: pointer;
  }

  .miccosmo-mobile-navigation__icon {
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
  }

  .miccosmo-mobile-navigation__list,
  .miccosmo-mobile-navigation__list ul {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 0;
    background: #079c76;
    list-style: none;
  }

  .miccosmo-mobile-navigation__list[hidden],
  .miccosmo-mobile-navigation__list ul[hidden] {
    display: none !important;
  }

  .miccosmo-mobile-navigation__list > li {
    position: relative;
    float: none !important;
    box-sizing: border-box;
    width: 100% !important;
    height: auto !important;
    min-height: 44px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-top: 1px solid rgb(255 255 255 / 18%) !important;
    background: #079c76 !important;
  }

  .miccosmo-mobile-navigation__list a,
  .miccosmo-mobile-navigation__list a:link,
  .miccosmo-mobile-navigation__list a:visited {
    display: flex !important;
    align-items: center;
    box-sizing: border-box !important;
    width: 100% !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 10px 48px 10px 14px !important;
    background: none !important;
    color: #fff !important;
    font: 600 14px/1.55 Arial, "Microsoft YaHei", "PingFang SC", sans-serif !important;
    text-align: left !important;
    text-decoration: none !important;
    text-indent: 0 !important;
    white-space: normal !important;
  }

  .miccosmo-mobile-navigation__list ul a {
    padding-left: 30px !important;
    background: #078b6b !important;
  }

  .miccosmo-mobile-navigation__expand {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    width: 44px;
    height: 44px;
    padding: 0;
    place-items: center;
    border: 0;
    border-left: 1px solid rgb(255 255 255 / 25%);
    background: transparent;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
  }

  html.miccosmo-mobile-ready #new_header,
  html.miccosmo-mobile-ready #header,
  html.miccosmo-mobile-ready #topnavi,
  html.miccosmo-mobile-ready .layout_header,
  html.miccosmo-mobile-ready #wrapper,
  html.miccosmo-mobile-ready #contents_area,
  html.miccosmo-mobile-ready #container_01,
  html.miccosmo-mobile-ready #container_02,
  html.miccosmo-mobile-ready #container,
  html.miccosmo-mobile-ready #contents,
  html.miccosmo-mobile-ready #content,
  html.miccosmo-mobile-ready #main,
  html.miccosmo-mobile-ready #single,
  html.miccosmo-mobile-ready .contents_area,
  html.miccosmo-mobile-ready .layout_body,
  html.miccosmo-mobile-ready .layout_table,
  html.miccosmo-mobile-ready .layout_content,
  html.miccosmo-mobile-ready .system_content,
  html.miccosmo-mobile-ready .user_content,
  html.miccosmo-mobile-ready #main_st,
  html.miccosmo-mobile-ready #main_contents,
  html.miccosmo-mobile-ready main {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }

  html.miccosmo-mobile-ready body * {
    box-sizing: border-box !important;
    max-width: min(100%, 100vw) !important;
  }

  /* bxSlider needs a wide internal track; only its viewport should be clipped. */
  html.miccosmo-mobile-ready .bx-wrapper,
  html.miccosmo-mobile-ready .bx-viewport {
    max-width: 100% !important;
  }

  html.miccosmo-mobile-ready .bxslider,
  html.miccosmo-mobile-ready .bxslider2,
  html.miccosmo-mobile-ready .bxslider > *,
  html.miccosmo-mobile-ready .bxslider2 > * {
    max-width: none !important;
  }

  html.miccosmo-mobile-ready #header,
  html.miccosmo-mobile-ready #topnavi,
  html.miccosmo-mobile-ready #wrapper,
  html.miccosmo-mobile-ready #container,
  html.miccosmo-mobile-ready #container_01,
  html.miccosmo-mobile-ready #container_02,
  html.miccosmo-mobile-ready #contents,
  html.miccosmo-mobile-ready #contents_area,
  html.miccosmo-mobile-ready #content,
  html.miccosmo-mobile-ready #main,
  html.miccosmo-mobile-ready #single,
  html.miccosmo-mobile-ready .contents_area {
    float: none !important;
    height: auto !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  html.miccosmo-mobile-ready .layout_table,
  html.miccosmo-mobile-ready .layout_table > tbody,
  html.miccosmo-mobile-ready .layout_table > tbody > tr {
    display: block !important;
  }

  html.miccosmo-mobile-ready .layout_menu,
  html.miccosmo-mobile-ready #sub_st,
  html.miccosmo-mobile-ready #local,
  html.miccosmo-mobile-ready .replica-sidebar {
    display: none !important;
  }

  html.miccosmo-mobile-ready .layout_content,
  html.miccosmo-mobile-ready #main_st,
  html.miccosmo-mobile-ready main {
    float: none !important;
    margin-right: auto !important;
    margin-left: auto !important;
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  html.miccosmo-mobile-ready td.layout_content,
  html.miccosmo-mobile-ready td.layout_content .system_content,
  html.miccosmo-mobile-ready td.layout_content .user_content,
  html.miccosmo-mobile-ready td.layout_content #main_contents {
    display: block !important;
    box-sizing: border-box !important;
    width: calc(100vw - 24px) !important;
    min-width: 0 !important;
    max-width: calc(100vw - 24px) !important;
    margin-right: auto !important;
    margin-left: auto !important;
  }

  html.miccosmo-mobile-ready #footer,
  html.miccosmo-mobile-ready #footer_contents,
  html.miccosmo-mobile-ready #footer_content,
  html.miccosmo-mobile-ready #footer_navi,
  html.miccosmo-mobile-ready #foot_menu,
  html.miccosmo-mobile-ready .f_main,
  html.miccosmo-mobile-ready .fm_right,
  html.miccosmo-mobile-ready address {
    box-sizing: border-box !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
  }

  /* The Chinese mirror footer used a 400px desktop spacer before its links. */
  html.miccosmo-mobile-ready #footer #footer_content #foot_menu {
    padding: 14px 12px 8px !important;
  }

  html.miccosmo-mobile-ready #footer #footer_content #foot_menu ul {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 12px !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html.miccosmo-mobile-ready #footer #footer_content #foot_menu ul li {
    display: block !important;
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    letter-spacing: normal !important;
  }

  html.miccosmo-mobile-ready #footer #footer_content p {
    width: 100% !important;
    margin: 0 !important;
    padding: 8px 12px !important;
    text-align: center !important;
  }

  /* 2016 Valentine campaign: preserve its artwork while scaling each panel. */
  html.miccosmo-mobile-ready #container_02 .content #part1,
  html.miccosmo-mobile-ready #container_02 .content #part2,
  html.miccosmo-mobile-ready #container_02 .content #part3,
  html.miccosmo-mobile-ready #container_02 .content #part4,
  html.miccosmo-mobile-ready #container_02 .content #part5,
  html.miccosmo-mobile-ready #container_02 .content #part6,
  html.miccosmo-mobile-ready #bra_box1,
  html.miccosmo-mobile-ready #bra_box2,
  html.miccosmo-mobile-ready #bra_box3,
  html.miccosmo-mobile-ready #bra_box4 {
    clear: both !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    background-size: 100% auto !important;
  }

  html.miccosmo-mobile-ready #container_02 .content #part2 {
    aspect-ratio: 645 / 319;
  }

  html.miccosmo-mobile-ready #container_02 .content #part2 .link_cosomo {
    width: 72.25% !important;
    height: auto !important;
    margin: 32.5% auto 0 !important;
  }

  html.miccosmo-mobile-ready #container_02 .content #part2 .link_cosomo a,
  html.miccosmo-mobile-ready #container_02 .content #part2 .link_cosomo img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  html.miccosmo-mobile-ready #bra_box1 ul,
  html.miccosmo-mobile-ready #bra_box2 ul,
  html.miccosmo-mobile-ready #bra_box3 ul,
  html.miccosmo-mobile-ready #bra_box4 ul {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px !important;
    width: 100% !important;
    margin: 10px 0 0 !important;
    padding: 0 !important;
  }

  html.miccosmo-mobile-ready #bra_box1 li,
  html.miccosmo-mobile-ready #bra_box2 li,
  html.miccosmo-mobile-ready #bra_box3 li,
  html.miccosmo-mobile-ready #bra_box4 li {
    float: none !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
  }

  html.miccosmo-mobile-ready #bra_box1 li a,
  html.miccosmo-mobile-ready #bra_box2 li a,
  html.miccosmo-mobile-ready #bra_box3 li a,
  html.miccosmo-mobile-ready #bra_box4 li a {
    display: block !important;
    width: 100% !important;
  }

  /* Voice campaign: convert fixed 1148px rows into fluid artwork and grids. */
  html.miccosmo-mobile-ready #koe1,
  html.miccosmo-mobile-ready #koe2,
  html.miccosmo-mobile-ready #koe3,
  html.miccosmo-mobile-ready #koe4,
  html.miccosmo-mobile-ready #koe5,
  html.miccosmo-mobile-ready #koe6,
  html.miccosmo-mobile-ready #koe7,
  html.miccosmo-mobile-ready #anq,
  html.miccosmo-mobile-ready #campaign,
  html.miccosmo-mobile-ready #news,
  html.miccosmo-mobile-ready [id^="check"],
  html.miccosmo-mobile-ready #kansya,
  html.miccosmo-mobile-ready [id^="case"] {
    position: relative !important;
    clear: both !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    background-size: 100% auto !important;
    background-repeat: no-repeat !important;
  }

  html.miccosmo-mobile-ready #koe3,
  html.miccosmo-mobile-ready #koe5,
  html.miccosmo-mobile-ready #koe4,
  html.miccosmo-mobile-ready #koe6 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px !important;
    padding: 5px 7% !important;
  }

  html.miccosmo-mobile-ready #check2,
  html.miccosmo-mobile-ready #check3,
  html.miccosmo-mobile-ready #check4,
  html.miccosmo-mobile-ready #check5 {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px !important;
    padding: 5px 7% !important;
  }

  html.miccosmo-mobile-ready #koe3 [id^="goods"],
  html.miccosmo-mobile-ready #koe4 [id^="goods"],
  html.miccosmo-mobile-ready #koe5 [id^="goods"],
  html.miccosmo-mobile-ready #koe6 [id^="goods"] {
    float: none !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  html.miccosmo-mobile-ready #check2 [id^="goods"],
  html.miccosmo-mobile-ready #check3 [id^="goods"],
  html.miccosmo-mobile-ready #check4 [id^="goods"],
  html.miccosmo-mobile-ready #check5 [id^="goods"] {
    float: none !important;
    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    margin: 0 !important;
  }

  html.miccosmo-mobile-ready #koe4 [id$="t"],
  html.miccosmo-mobile-ready #koe6 [id$="t"] {
    font-size: 10px !important;
    line-height: 1.35 !important;
  }

  html.miccosmo-mobile-ready #check3 [id$="t"],
  html.miccosmo-mobile-ready #check5 [id$="t"] {
    font-size: 10px !important;
    line-height: 1.35 !important;
  }

  html.miccosmo-mobile-ready #case1,
  html.miccosmo-mobile-ready #case2,
  html.miccosmo-mobile-ready #case3 {
    aspect-ratio: 1148 / 390;
  }

  html.miccosmo-mobile-ready #case1t,
  html.miccosmo-mobile-ready #case2t,
  html.miccosmo-mobile-ready #case3t {
    position: absolute !important;
    right: 20% !important;
    bottom: 7% !important;
    left: auto !important;
    float: none !important;
    width: 23% !important;
    height: auto !important;
    margin: 0 !important;
    font-size: clamp(7px, 2.4vw, 12px) !important;
    line-height: 1.3 !important;
  }

  html.miccosmo-mobile-ready #mic_1,
  html.miccosmo-mobile-ready #mic_2,
  html.miccosmo-mobile-ready #mic_3,
  html.miccosmo-mobile-ready #mic_4 {
    width: 100% !important;
    height: auto !important;
    min-height: 42px !important;
    background-size: 100% auto !important;
  }

  html.miccosmo-mobile-ready #mic_t,
  html.miccosmo-mobile-ready #mic_4 #gnavi {
    float: none !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 8px 12px !important;
  }

  html.miccosmo-mobile-ready #mic_4 #gnavi p {
    width: 100% !important;
    margin: 0 !important;
  }

  /* MySalon campaign: keep overlay captions inside the scaled artwork. */
  html.miccosmo-mobile-ready #cont03 .series ul {
    position: absolute !important;
    top: 32% !important;
    left: 0 !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8% !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 14% 0 28% !important;
  }

  html.miccosmo-mobile-ready #cont03 .series .item01,
  html.miccosmo-mobile-ready #cont03 .series .item02 {
    position: static !important;
    width: auto !important;
    min-width: 0 !important;
    font-size: clamp(8px, 2.4vw, 12px) !important;
    line-height: 1.35 !important;
  }

  html.miccosmo-mobile-ready #twitter .item01,
  html.miccosmo-mobile-ready #twitter .item02 {
    width: 42% !important;
    font-size: clamp(8px, 2.4vw, 12px) !important;
  }

  html.miccosmo-mobile-ready #twitter .item01 {
    left: 6% !important;
  }

  html.miccosmo-mobile-ready #twitter .item02 {
    right: 6% !important;
    left: auto !important;
  }

  html.miccosmo-mobile-ready img,
  html.miccosmo-mobile-ready video,
  html.miccosmo-mobile-ready iframe,
  html.miccosmo-mobile-ready input,
  html.miccosmo-mobile-ready select,
  html.miccosmo-mobile-ready textarea {
    max-width: 100% !important;
  }

  html.miccosmo-mobile-ready img,
  html.miccosmo-mobile-ready video {
    height: auto;
  }

  html.miccosmo-mobile-ready table:not(.layout_table) {
    display: block;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto;
  }

  html.miccosmo-mobile-ready p,
  html.miccosmo-mobile-ready li,
  html.miccosmo-mobile-ready dd,
  html.miccosmo-mobile-ready td,
  html.miccosmo-mobile-ready th,
  html.miccosmo-mobile-ready a {
    overflow-wrap: anywhere;
  }

  html.miccosmo-mobile-ready .miccosmo-product-detail-row {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 12px;
    width: 100% !important;
  }

  html.miccosmo-mobile-ready .miccosmo-product-detail-row > .miccosmo-product-card {
    width: auto !important;
    max-width: none !important;
    min-width: 0 !important;
    flex: none !important;
  }

  html.miccosmo-mobile-ready #FS2_itemlayout_E > table,
  html.miccosmo-mobile-ready #FS2_itemlayout_E > table > tbody,
  html.miccosmo-mobile-ready #FS2_itemlayout_E > table > tbody > tr,
  html.miccosmo-mobile-ready #FS2_itemlayout_E .FS2_itemlayout_td_Left,
  html.miccosmo-mobile-ready #FS2_itemlayout_E .FS2_itemlayout_td_Right {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
  }
}

@media (max-width: 370px) {
  html.miccosmo-mobile-ready .miccosmo-product-detail-row {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  #miccosmo-configurable-footer .miccosmo-configurable-footer__inner {
    grid-template-columns: minmax(180px, 200px) minmax(0, 1fr);
    gap: 18px 28px;
  }

  #miccosmo-configurable-footer .miccosmo-configurable-footer__content--wide {
    grid-column: 1 / 3;
  }

  #miccosmo-configurable-footer #miccosmo-social-links {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  #miccosmo-configurable-footer {
    padding: 22px 16px;
  }

  #miccosmo-configurable-footer .miccosmo-configurable-footer__inner {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }

  #miccosmo-configurable-footer .miccosmo-configurable-footer__content--wide,
  #miccosmo-configurable-footer #miccosmo-social-links {
    grid-column: 1;
  }

  #miccosmo-configurable-footer #miccosmo-social-links {
    justify-self: center;
    max-width: 242px;
  }

  #miccosmo-configurable-footer .miccosmo-configurable-footer__logo {
    max-width: 180px;
    margin: 0 auto 9px;
  }

  #miccosmo-configurable-footer ul {
    justify-content: center;
    gap: 9px 16px;
  }

  #miccosmo-configurable-footer .miccosmo-footer-site-switcher__toggle {
    min-height: 44px;
  }

  #miccosmo-configurable-footer ul.miccosmo-footer-site-switcher__menu {
    right: 50%;
    transform: translateX(50%);
  }

  #miccosmo-configurable-footer .miccosmo-footer-site-switcher__menu a {
    min-height: 44px;
  }

}
