/* Base (from production custom CSS) */
* {
  box-sizing: border-box;
}

* {
  font-family: "Roboto", "Noto Sans JP", sans-serif;
}

body {
  margin: 0;
  padding-top: 48px;
  background-color: #404044;
}

@media screen and (max-width: 850px) {
  body {
    padding-top: 52px;
  }
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

a {
  color: inherit;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  width: 100%;
  height: 48px;
  background-color: #1c1b26;
}

@media screen and (max-width: 850px) {
  .site-header {
    height: 52px;
  }
}

.site-header__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0;
}

.site-header__logo {
  display: block;
  flex-shrink: 0;
  width: 188px;
  height: 32px;
  margin: 8px auto 0;
  background: url("../images/header/header-logo.png") center / contain no-repeat;
}

.site-header__nav {
  display: none;
}

.site-header__tabs {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header__tab {
  display: flex;
  align-items: center;
  padding: 16px 24px 0;
  color: #fff;
  font-size: 11px;
  line-height: 32px;
  white-space: nowrap;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.site-header__tab--active {
  border-bottom-color: #0066ff;
}

.site-header__tab--menu {
  color: rgba(255, 255, 255, 0.7);
  padding-right: 12px;
}

.site-header__menu-btn {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  margin: 16px 20px 0;
  padding: 0;
  border: 0;
  background: url("../images/header/header-menu-button.png") center / contain no-repeat;
  cursor: pointer;
}

@media screen and (min-width: 851px) {
  .site-header__inner {
    justify-content: center;
  }

  .site-header__logo {
    margin: 8px 0 0 16px;
  }

  .site-header__nav {
    display: flex;
    flex: 1;
    min-width: calc(100% - 300px);
    max-width: calc(100% - 300px);
    justify-content: flex-end;
  }

  .site-header__menu-btn {
    display: none;
  }
}

@media screen and (max-width: 850px) {
  .site-header__logo {
    max-width: 150px;
    margin-left: auto;
    margin-right: auto;
  }

  .site-header__nav {
    display: none;
  }
}

/* Drawer menu */
body.is-drawer-open {
  overflow: hidden;
}

.drawer[hidden] {
  display: none;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100%;
  padding: 56px 0 24px;
  overflow-y: auto;
  background: #1c1b26;
}

.drawer__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.drawer__close::before,
.drawer__close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: #fff;
  content: "";
}

.drawer__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.drawer__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.drawer__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.drawer__list a {
  display: block;
  padding: 14px 24px;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.drawer__list a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #00d1ff;
}

/* Layout wrap */
.layout-wrap {
  background-color: #2c2b32;
}

/* Widget layout (from source/css.css) */
section.widget__wrap.event__layout {
  position: relative;
  padding: 0;
}

section.widget__wrap.event__layout > div:nth-child(2n) {
  background-color: #1c1b26;
}

section.widget__wrap.event__layout > div:nth-child(2n + 1) {
  background-color: #ffffff;
}

section.widget__wrap.event__layout > div.layout-spacer {
  display: none;
}

section.widget__wrap.event__layout > div:nth-child(5) {
  background-color: #404044;
}

/* Link menu overlay */
section.widget__wrap.event__layout > div:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  background-color: transparent;
}

ul.custom_linkMenu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 850px) {
  ul.custom_linkMenu {
    flex-wrap: wrap;
  }
}

ul.custom_linkMenu li {
  position: relative;
  flex-basis: calc(100% / 8);
  width: calc(100% / 8);
  text-align: center;
}

@media screen and (max-width: 850px) {
  ul.custom_linkMenu li {
    flex-basis: calc(100% / 4);
    width: calc(100% / 4);
  }
}

@media screen and (min-width: 851px) {
  ul.custom_linkMenu li:not(:last-of-type)::after {
    display: block;
    position: absolute;
    top: 17px;
    right: 0;
    z-index: 1;
    width: 1px;
    height: 32px;
    background-color: rgba(255, 255, 255, 0.1);
    content: "";
  }
}

@media screen and (max-width: 850px) {
  ul.custom_linkMenu li::before {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    content: "";
  }

  ul.custom_linkMenu li:nth-last-of-type(-n + 4)::before {
    display: none;
  }

  ul.custom_linkMenu li::after {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    width: 1px;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    content: "";
  }

  ul.custom_linkMenu li:nth-of-type(4n)::after {
    display: none;
  }
}

ul.custom_linkMenu a {
  display: block;
  height: 66px;
  padding: 16px;
  background-color: rgba(28, 27, 38, 0.7);
  text-decoration: none;
  transition: 0.4s;
}

@media screen and (max-width: 850px) {
  ul.custom_linkMenu a {
    height: 52px;
    padding: 11px;
  }
}

@media screen and (min-width: 851px) and (hover: hover) and (pointer: fine) {
  ul.custom_linkMenu a:hover {
    height: 120px;
    background-color: #1c1b26;
  }
}

ul.custom_linkMenu .custom_linkMenu_en {
  height: 16px;
  overflow: hidden;
  color: #fff;
  font-weight: bold;
  font-size: 14px;
  line-height: 16px;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: 0.4s;
}

@media screen and (max-width: 850px) {
  ul.custom_linkMenu .custom_linkMenu_en {
    font-size: 14px;
    line-height: 16px;
  }
}

@media screen and (min-width: 851px) and (hover: hover) and (pointer: fine) {
  ul.custom_linkMenu a:hover .custom_linkMenu_en {
    color: #00d1ff;
  }
}

ul.custom_linkMenu .custom_linkMenu_jp {
  height: 18px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 18px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media screen and (max-width: 850px) {
  ul.custom_linkMenu .custom_linkMenu_jp {
    font-size: 14px;
    line-height: 18px;
  }
}

ul.custom_linkMenu .custom_linkMenu_image {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 47px;
  margin-top: 8px;
}

ul.custom_linkMenu .custom_linkMenu_image img {
  width: 100%;
  height: auto;
  max-width: 150px;
  opacity: 0;
  transition: 0.4s;
}

@media screen and (min-width: 851px) and (hover: hover) and (pointer: fine) {
  ul.custom_linkMenu a:hover .custom_linkMenu_image img {
    opacity: 1;
  }
}

/* Carousel */
section.widget__wrap.event__layout > div:nth-child(3) {
  aspect-ratio: 1 / 0.5;
  background-color: #1c1b26;
}

@media screen and (max-width: 850px) {
  section.widget__wrap.event__layout > div:nth-child(3) {
    display: none;
  }
}

section.widget__wrap.event__layout > div:nth-child(4) {
  aspect-ratio: 0.625 / 1;
  background-color: #1c1b26;
}

@media screen and (min-width: 851px) {
  section.widget__wrap.event__layout > div:nth-child(4) {
    display: none;
  }
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-carousel__track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}

.hero-carousel__slide {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
}

.hero-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-carousel__dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  z-index: 2;
  display: flex;
  gap: 8px;
  transform: translateX(-50%);
}

.hero-carousel__dot {
  width: 24px;
  height: 4px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: #fff;
  opacity: 0.5;
  cursor: pointer;
}

.hero-carousel__dot--active {
  opacity: 1;
}

/* Vision */
.custom_vision {
  padding: 0 0 120px;
  background-color: #404044;
}

@media screen and (max-width: 850px) {
  .custom_vision {
    padding: 0;
  }
}

.custom_vision_container {
  width: 70%;
  max-width: 1024px;
  margin: 0 auto;
}

@media screen and (max-width: 850px) {
  .custom_vision_container {
    width: 100%;
    max-width: 600px;
    padding: 0 24px;
  }
}

.custom_vision_main {
  position: relative;
  z-index: 1;
  padding: 160px 0 21px;
}

@media screen and (max-width: 850px) {
  .custom_vision_main {
    padding: 80px 0 56px;
  }
}

.custom_vision_main::before {
  position: absolute;
  top: 0;
  left: 20.7%;
  z-index: -1;
  width: 349px;
  height: 100%;
  background: #1c1b26;
  opacity: 0.8;
  content: "";
}

@media screen and (max-width: 850px) {
  .custom_vision_main::before {
    left: -8px;
    width: 193px;
  }
}

.custom_vision_main::after {
  position: absolute;
  left: 0;
  z-index: -2;
  width: 424px;
  height: 408px;
  background: url("../images/vision/vision-background.jpg")
    no-repeat center / cover;
  content: "";
}

@media screen and (min-width: 851px) {
  .custom_vision_main::after {
    bottom: 0;
  }
}

@media screen and (max-width: 850px) {
  .custom_vision_main::after {
    top: 80px;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 0.96;
  }
}

.custom_vision_title {
  position: absolute;
  bottom: -77px;
  left: -40px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  font-size: 120px;
  line-height: 140px;
  writing-mode: vertical-rl;
}

@media screen and (max-width: 850px) {
  .custom_vision_title {
    position: relative;
    top: 0;
    left: -8px;
    margin: 0 0 37px;
    font-size: 50px;
    line-height: 60px;
  }
}

.custom_vision_catchCopy {
  position: relative;
  margin: 0 0 40px 34.18%;
  padding: 0 0 40px;
  color: #ffffff;
  font-weight: bold;
  font-size: 36px;
  line-height: 48px;
}

@media screen and (max-width: 850px) {
  .custom_vision_catchCopy {
    margin: 0 0 16px;
    padding: 0 0 16px;
    font-size: 24px;
    line-height: 28px;
  }
}

.custom_vision_catchCopy::after {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 90px;
  height: 2px;
  background: linear-gradient(90deg, #00d1ff 0%, #0085ff 100%);
  content: "";
}

@media screen and (max-width: 850px) {
  .custom_vision_catchCopy::after {
    width: 96px;
  }
}

.custom_vision_body {
  margin: 0 0 0 34.18%;
}

@media screen and (max-width: 850px) {
  .custom_vision_body {
    margin: 0;
  }
}

.custom_vision_body p {
  margin: 1em 0;
  color: #eaeaea;
  font-weight: normal;
  font-size: 16px;
  line-height: 32px;
  text-align: justify;
}

@media screen and (max-width: 850px) {
  .custom_vision_body p {
    font-size: 14px;
    line-height: 28px;
  }
}

.custom_vision_body > *:first-child {
  margin-top: 0;
}

.custom_vision_body > *:last-child {
  margin-bottom: 0;
}

/* Widget sections */
.widget-section .container {
  max-width: 1024px;
  margin: 0 auto;
}

.widget-header {
  max-width: 1024px;
  margin: 0 auto 16px;
  padding: 96px 0 0;
}

@media screen and (max-width: 850px) {
  .widget-header {
    width: 100%;
    max-width: 600px;
    margin-bottom: 40px;
    padding: 56px 16px 0;
  }
}

.widget-header__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

@media screen and (max-width: 850px) {
  .widget-header__row {
    flex-direction: column;
    align-items: center;
  }
}

.widget-title__wrap {
  display: block;
  margin: 0 0 10px;
}

@media screen and (max-width: 850px) {
  .widget-title__wrap {
    margin: 0;
  }
}

.widget-title__wrap h2 {
  margin: 0;
  color: #0085ff;
  font-size: 24px;
  line-height: 26px;
  text-align: left;
}

@media screen and (max-width: 850px) {
  .widget-title__wrap h2 {
    text-align: center;
  }
}

.widget-title__wrap h2::after {
  display: block;
  color: #b0b0b0;
  font-weight: normal;
  font-size: 14px;
  line-height: 18px;
}

section.widget__wrap.event__layout > div:nth-child(6) h2::after {
  content: "";
}

section.widget__wrap.event__layout > div:nth-child(7) h2::after {
  content: "";
}

section.widget__wrap.event__layout > div:nth-child(8) h2::after {
  content: "サッカーグッズ新着商品情報";
}

.widget-header__more {
  display: flex;
  margin-bottom: 20px;
}

@media screen and (max-width: 850px) {
  .widget-header__more {
    display: none;
  }
}

.widget-header__more a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #0085ff;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}

.widget-header__more svg {
  width: 20px;
  height: 20px;
  fill: #0085ff;
}

.widget-header__border {
  height: 1px;
  background-color: #0085ff;
}

@media screen and (max-width: 850px) {
  .widget-header__border {
    display: none;
  }
}

.widget-contents {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 0 96px;
}

@media screen and (max-width: 850px) {
  .widget-contents {
    width: 100%;
    max-width: 600px;
    padding: 0 16px 40px;
  }
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.card-grid__item {
  position: relative;
  z-index: 1;
  flex: 0 0 calc((100% - 32px) / 3);
  max-width: calc((100% - 32px) / 3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

@media screen and (max-width: 850px) {
  .card-grid__item {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

section.widget__wrap.event__layout > div:nth-child(2n + 1) .card-grid__item {
  border-color: rgba(28, 27, 38, 0.1);
}

.card-grid__item::after {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #0085ff 0%, #5200ff 100%);
  opacity: 0;
  transition: 0.4s;
  content: "";
}

.card-grid__item:hover::after {
  opacity: 1;
}

.card-grid__link {
  display: block;
  height: 100%;
  text-decoration: none;
}

.card-grid__image {
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.card-grid__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.card-grid__item:hover .card-grid__image img {
  transform: scale(1.1);
}

.card-grid__title {
  display: -webkit-box;
  margin: 0;
  padding: 12px;
  overflow: hidden;
  color: #ffffff;
  font-size: 16px;
  line-height: 24px;
  text-align: justify;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

section.widget__wrap.event__layout > div:nth-child(2n + 1) .card-grid__title {
  color: #1c1b26;
}

section.widget__wrap.event__layout > div:nth-child(2n + 1) .card-grid__item:hover .card-grid__title {
  color: #ffffff;
}

.widget-footer-more {
  display: none;
  justify-content: center;
  padding-bottom: 56px;
}

@media screen and (max-width: 850px) {
  .widget-footer-more {
    display: flex;
  }
}

.widget-footer-more a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 170px;
  height: 40px;
  border-radius: 20px;
  background-color: #0066ff;
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

.widget-footer-more svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* Footer */
.custom_footer {
  padding: 48px 0 104px;
  background-color: #404044;
}

.custom_footer_container {
  width: 70%;
  max-width: 1024px;
  margin: 0 auto;
}

@media screen and (max-width: 850px) {
  .custom_footer_container {
    width: 100%;
    max-width: 600px;
    padding: 0 16px;
  }
}

.custom_footer_logo {
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid #808080;
}

.custom_footer_logo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 42px;
  vertical-align: bottom;
}

ul.custom_footer_menu {
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  font-size: 14px;
  line-height: 16px;
}

@media screen and (max-width: 850px) {
  ul.custom_footer_menu {
    flex-direction: column;
    gap: 16px;
  }
}

ul.custom_footer_menu li a {
  display: inline-block;
  color: #eaeaea;
  font-weight: normal;
  text-decoration: none;
  transition: 0.4s;
}

@media (hover: hover) and (pointer: fine) {
  ul.custom_footer_menu li a:hover {
    background: linear-gradient(90deg, #00d1ff 0%, #0085ff 100%);
    -webkit-background-clip: text;
    color: #0085ff;
    -webkit-text-fill-color: transparent;
  }
}

.custom_footer_copyright {
  color: #808080;
  font-weight: normal;
  font-size: 12px;
  line-height: 14px;
}

/* Back to top */
.top-button {
  position: fixed;
  right: 56px;
  bottom: 40px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.top-button--visible {
  opacity: 1;
  visibility: visible;
}

@media screen and (max-width: 850px) {
  .top-button {
    right: 16px;
    bottom: 16px;
  }
}

.top-button svg {
  width: 24px;
  height: 24px;
  fill: #1c1b26;
}
