/**
 * Header locale + COSMO U.S. (2026-09-16)
 * JAPAN / GLOBAL          ｜  COSMO U.S.
 * Brand & Worldwide          Products / Stories
 */

/* ── PC ── */
@media screen and (min-width: 769px) {
  .c-gHeadPc__ul li.c-gHeadPc__localeItem {
    border-right: 0;
    padding: 0 2.4rem 0 1.8rem;
    align-items: flex-end;
    flex-shrink: 0;
  }

  .c-gHeadPc__localeBlock {
    line-height: 1.25;
  }

  .c-gHeadPc__localeRow {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    flex-wrap: nowrap;
    margin: 0;
  }

  .c-gHeadPc__jpCol,
  .c-gHeadPc__usCol {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    flex: 0 0 auto;
    width: max-content;
    min-width: max-content;
  }

  .c-gHeadPc__localeSites {
    margin: 0;
    white-space: nowrap;
    padding-top: 0.05em;
  }

  .c-gHeadPc__jpSub {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1.1rem !important;
    font-weight: 400 !important;
    font-style: italic !important;
    letter-spacing: 0.01em !important;
    color: #666 !important;
    white-space: nowrap !important;
    width: max-content !important;
  }

  .c-gHeadPc__cpipe {
    display: inline-block;
    margin: 0 0.55em;
    padding-top: 0.05em;
    color: #c8c8c8;
    font-weight: 400;
    flex-shrink: 0;
    align-self: flex-start;
  }

  .c-gHeadPc__usBrand {
    color: #1a1a1a;
    text-decoration: none;
    white-space: nowrap;
  }

  .c-gHeadPc__usBrand:hover {
    opacity: 0.72;
  }

  .c-gHeadPc__usSub {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    font-size: 1.1rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
    width: max-content !important;
    max-width: none !important;
  }

  .c-gHeadPc__usSub a {
    display: inline !important;
    color: #666 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  .c-gHeadPc__usSub a:hover {
    color: #005fb0 !important;
  }

  .c-gHeadPc__usDot {
    display: inline !important;
    color: #b0b0b0;
  }
}

/* ── SP drawer ── */
@media screen and (max-width: 768px) {
  .drawer-nav .c-gHeadPc__localeBlock {
    margin-top: 1.8rem;
    margin-bottom: 0.4rem;
    text-align: center;
  }

  .drawer-nav .c-gHeadPc__localeRow {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 0.25rem 0;
  }

  .drawer-nav .c-gHeadPc__jpCol,
  .drawer-nav .c-gHeadPc__usCol {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    width: max-content;
    max-width: 100%;
  }

  .drawer-nav .c-gHeadPc__localeSites {
    margin: 0;
    white-space: nowrap;
  }

  .drawer-nav .c-gHeadPc__jpSub {
    display: block !important;
    margin: 0 !important;
    font-size: 1.2rem !important;
    font-weight: 400 !important;
    font-style: italic !important;
    color: rgba(255, 255, 255, 0.85) !important;
    white-space: nowrap !important;
  }

  .drawer-nav .c-gHeadPc__cpipe {
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0.4em;
  }

  .drawer-nav .c-gHeadPc__usBrand,
  .drawer-nav a.c-gHeadPc__usBrand {
    color: #fff !important;
    white-space: nowrap;
  }

  .drawer-nav .c-gHeadPc__usSub {
    display: block !important;
    margin: 0 !important;
    font-size: 1.2rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
    width: max-content !important;
  }

  .drawer-nav .c-gHeadPc__usSub a {
    display: inline !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-decoration: none !important;
    white-space: nowrap !important;
  }

  .c-gHeadPc__usDot {
    display: inline !important;
    color: rgba(255, 255, 255, 0.45);
  }
}

/* ── Footer PRODUCTS: COSMO U.S. ── */
.c-footUmaincnt__usBlock {
  display: block;
  margin-top: 0.85rem;
}

.c-footUmaincnt__usBlock .c-footUmaincnt__linksText {
  display: block;
  margin-right: 0;
}

.c-footUmaincnt__usBlock .c-footUmaincnt__linksText:before {
  content: none !important;
  margin: 0 !important;
}

.c-footUmaincnt__usSub {
  display: block;
  margin-top: 0.25rem;
  margin-left: 0;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #666;
}

.c-footUmaincnt__usSub a {
  display: inline !important;
  color: #666;
  text-decoration: none;
  white-space: nowrap;
}

.c-footUmaincnt__usSub a:hover {
  color: #005fb0;
}

@media screen and (max-width: 768px) {
  .c-footUmaincnt__usSub {
    font-size: 1.1rem;
  }
}
