@charset "UTF-8";
/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  z-index: 9999;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s, box-shadow 0.3s;
}

body.is-home .header:not(.is-scrolled) {
  background-color: transparent;
  box-shadow: none;
}
body.is-home .header__inner {
  padding-top: 3.2rem;
  align-items: flex-start;
}
body.is-home .header__logo {
  top: 0.8rem;
}
body.is-home .header__utils {
  padding-top: 0;
}

body.is-home.is-scrolled .header__inner {
  padding-top: 1.4rem;
}
body.is-home.is-scrolled .header__logo {
  top: 1.7rem;
}
body.is-home.is-scrolled .header__sns-item {
  border: 1px solid #EAEAEA;
  border-radius: 50%;
}
body.is-home.is-scrolled .header__sns-item img {
  width: 3.9rem;
  height: 3.9rem;
}

body.is-home.is-menu-open .header {
  background-color: #FFFFFF;
  box-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.05);
}
body.is-home.is-menu-open .header__inner {
  padding-top: 0.7rem;
}

body:not(.is-home) .header__sns-item {
  border: 1px solid #EAEAEA;
  border-radius: 50%;
}
body:not(.is-home) .header__sns-item img {
  width: 3.9rem;
  height: 3.9rem;
}

.header__spacer {
  height: 10rem;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  padding-top: 0.7rem;
  transition: padding-top 0.3s ease;
  max-width: 128rem;
  width: 100%;
  margin: 0 auto;
  height: auto;
}

.header__logo {
  flex-shrink: 0;
  width: 34.8rem;
  position: relative;
  top: -0.3rem;
  transition: top 0.3s ease;
}

.header__logo img {
  width: 100%;
  height: auto;
  display: block;
}

.header__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.header__utils {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1rem;
  padding-top: 0.7rem;
}

/* Utils Button — base */
.header__utils-btn {
  display: inline-flex;
  align-items: center;
  padding: 1.2rem 2.3rem 1.2rem 2.4rem;
  border-radius: 9999px;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  font-weight: 600;
  gap: 0.8rem;
  line-height: 1;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

@media screen and (min-width: 769px) {
  .header__utils-btn:hover {
    opacity: 1;
  }
}
/* Utils Button — Red gradient */
.header__utils-btn--red {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to right, #E50011 50%, #fed867 100%);
  color: #FFFFFF;
}
.header__utils-btn--red::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #E50011;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}
@media screen and (min-width: 769px) {
  .header__utils-btn--red:hover::before {
    opacity: 1;
  }
}

.header__utils-btn--red img {
  width: 1.8rem;
  height: auto;
  display: block;
  position: relative;
  z-index: 2;
}

/* Utils Button — Black */
.header__utils-btn--black {
  background-color: #000000;
  color: #FFFFFF;
  padding: 1.3rem 1.7rem 1.3rem 1.3rem;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  gap: 0.6rem;
  transition: background-color 0.3s ease;
  min-width: 16rem;
  justify-content: end;
}
.header__utils-btn--black .header__utils-btn-icon {
  position: relative;
  left: -0.1rem;
  top: -0.1rem;
}

.header__utils-btn--black-ext {
  background-color: #000000;
  color: #FFFFFF;
  padding: 1.3rem 1.4rem 1.3rem 1.4rem;
  font-size: 1.4rem;
  letter-spacing: 0.04em;
  gap: 2.3rem;
  transition: background-color 0.3s ease;
  min-width: 16rem;
  justify-content: end;
}

@media screen and (min-width: 769px) {
  .header__utils-btn--black:hover,
  .header__utils-btn--black-ext:hover {
    background-color: #e50011;
    opacity: 1;
  }
  .header__utils-btn--black:hover .icon-default,
  .header__utils-btn--black-ext:hover .icon-default {
    display: none !important;
  }
  .header__utils-btn--black:hover .icon-hover,
  .header__utils-btn--black-ext:hover .icon-hover {
    display: block !important;
  }
}
.header__utils-btn--black img,
.header__utils-btn--black-ext img {
  width: 1.4rem;
  height: auto;
  position: relative;
  z-index: 2;
}

/* Utils Button Icon wrapper */
.header__utils-btn-icon {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 1.6rem;
  height: 1.2rem;
}

.header__utils-btn-icon img {
  width: 100%;
  height: auto;
}

.header__utils-btn-icon .icon-default {
  display: block;
}

.header__utils-btn-icon .icon-hover {
  display: none;
}

.header__sns {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.header__sns-item img {
  display: block;
  width: 40px;
  height: 40px;
}

/* Global Navigation */
.gnavi {
  display: flex;
  gap: 3.28rem;
}

.gnavi__item {
  position: relative;
}

.gnavi__item.gnavi__item--has-dropdown .gnavi__link {
  cursor: default;
}

/* Mega Dropdown */
.gnavi-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0%;
  transform: translateX(-50%);
  width: 61.6rem;
  background-color: #FFFFFF;
  box-shadow: 0 0.4rem 2rem rgba(0, 0, 0, 0.12);
  z-index: 200;
  padding: 4rem;
  margin-top: 1rem;
  border-radius: 0.8rem;
}

/* Invisible bridge to prevent hover from being interrupted across gaps */
.gnavi-dropdown::before {
  content: "";
  position: absolute;
  top: -1rem;
  left: 0;
  right: 0;
  height: 1rem;
}

@media screen and (min-width: 769px) {
  .gnavi__item--has-dropdown:hover .gnavi-dropdown {
    display: block;
  }
}
.gnavi-dropdown__header {
  margin-bottom: 4rem;
}

.gnavi-dropdown__en {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-family: "Poppins", sans-serif;
  color: #E50011;
  margin-bottom: 0.1rem;
}

.gnavi-dropdown__title {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #000000;
  margin: 0;
  line-height: 3rem;
}

.gnavi-dropdown__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.2rem 2.4rem;
}

.gnavi-dropdown__item {
  border-bottom: 1px solid #EAEAEA;
  min-width: 21.8rem;
}
.gnavi-dropdown__item {
  position: relative;
}
.gnavi-dropdown__item::after {
  content: "";
  position: absolute;
  bottom: -0.1rem;
  left: 0;
  width: 100%;
  height: 0.1rem;
  background-color: #E50011;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
@media screen and (min-width: 769px) {
  .gnavi-dropdown__item:hover::after {
    transform: scaleX(1);
  }
}
@media screen and (min-width: 769px) {
  .gnavi-dropdown__item:hover .top-link__arrow,
  .gnavi-dropdown__item:hover .icon-arrow-red,
  .gnavi-dropdown__item:hover .top-campaign__arrow-img,
  .gnavi-dropdown__item:hover .gnavi-dropdown__arrow {
    transform: translateX(0.8rem);
  }
}
.gnavi-dropdown__item.is-active::after {
  transform: scaleX(1);
}

.gnavi-dropdown__link {
  display: grid;
  grid-template-areas: "num num" "name arrow";
  grid-template-columns: 1fr 1.4rem;
  gap: 0 1rem;
  padding: 0 0.8rem 0.8rem 0;
}
.gnavi-dropdown__link .gnavi-dropdown__arrow {
  grid-area: arrow;
  width: 1.4rem;
  height: 1.4rem;
  align-self: center;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.gnavi-dropdown__num {
  grid-area: num;
  font-size: 1.2rem;
  font-weight: 500;
  font-family: "Poppins", sans-serif;
  color: #E50011;
  line-height: 1;
}

.gnavi-dropdown__name {
  grid-area: name;
  font-size: 1.4rem;
  font-weight: 600;
  color: #000000;
  line-height: 2.8rem;
  align-self: center;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.gnavi-dropdown__arrow {
  grid-area: arrow;
  align-self: center;
}

/* Nav Link with animated underline */
.gnavi__link {
  font-size: 1.4rem;
  font-weight: 500;
  color: #000000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  padding-top: 0.5rem;
  letter-spacing: 0.04em;
  padding-bottom: 0.8rem;
}

.gnavi__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0.3rem;
  background: linear-gradient(to right, #e50011 80%, #f39800);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

@media screen and (min-width: 769px) {
  .gnavi__link:hover::after {
    transform: scaleX(1);
  }
}
.gnavi__link.is-active {
  color: #E50011;
}

.gnavi__link.is-active::after {
  transform: scaleX(1);
}

.gnavi__link .icon-plus {
  display: inline-flex;
  align-items: center;
  position: relative;
  left: 1.4px;
  top: 1px;
}

.gnavi__link .icon-plus__svg {
  width: 1.2rem;
  height: 1.2rem;
}

.gnavi__link .icon-plus__default {
  display: block;
}

.gnavi__link .icon-plus__hover {
  display: none;
}

@media screen and (min-width: 769px) {
  .gnavi__link:hover .icon-plus__default {
    display: none;
  }
  .gnavi__link:hover .icon-plus__hover {
    display: block;
  }
}
.gnavi__link.is-active .icon-plus__default {
  display: none;
}

.gnavi__link.is-active .icon-plus__hover {
  display: block;
}

.gnavi-dropdown__link.is-active .gnavi-dropdown__name {
  color: #E50011;
}

.header__hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.5rem;
  width: 4.4rem;
  height: 4.4rem;
  border-radius: 50%;
  background: linear-gradient(90deg, #E50011 50%, #FED867 100%);
  border: none;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}

.header__hamburger-line {
  display: block;
  width: 1.8rem;
  height: 0.2rem;
  background-color: #FFFFFF;
  border-radius: 0.1rem;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.header__hamburger.is-active .header__hamburger-line:nth-child(1) {
  transform: translateY(0.7rem) rotate(25deg);
}

.header__hamburger.is-active .header__hamburger-line:nth-child(2) {
  opacity: 0;
}

.header__hamburger.is-active .header__hamburger-line:nth-child(3) {
  transform: translateY(-0.7rem) rotate(-25deg);
}

@media screen and (max-width: 768px) {
  body.is-home .header__inner {
    padding-top: 2.1rem;
  }
  body.is-home .header__logo {
    top: 1.5rem;
  }
  body.is-home.is-scrolled .header__inner {
    padding-top: 0.7rem;
  }
  .header__inner {
    padding: 0.7rem 1.8rem 0.7rem 1.8rem;
    height: auto;
    width: 100%;
  }
  .header__spacer {
    height: 9.9rem;
  }
  .gnavi-dropdown__list {
    grid-template-columns: 1fr;
    row-gap: 1.5rem;
  }
  .gnavi-dropdown__header {
    margin-bottom: 5rem;
  }
  .gnavi-dropdown__num {
    margin-bottom: -0.1rem;
  }
  .gnavi-dropdown__link {
    padding: 0 0.8rem 0.6rem 0;
  }
  .header__logo {
    width: 26.1rem;
    top: 0;
  }
  .header__hamburger-line {
    width: 2.7rem;
  }
  .header__right {
    flex-direction: row;
    align-items: center;
  }
  .header__utils {
    display: none;
  }
  .gnavi {
    display: none;
  }
  .header__hamburger {
    display: flex;
    width: 5.8rem;
    height: 5.8rem;
  }
}

/*# sourceMappingURL=header.css.map */
