@charset "UTF-8";

@media (max-width: 991.98px) {
  .front6-header {
    overflow: visible;
  }

  .front6-header__inner,
  .front6-shell,
  .main-body > .inner,
  .basic-subpage__inner,
  .front6-footer__inner {
    width: min(100% - 32px, 1200px);
  }

  .front6-header__inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    min-height: 64px !important;
  }

  .front6-header__menu {
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    z-index: 80 !important;
    display: inline-flex !important;
    flex: 0 0 44px !important;
    color: #fff !important;
    background: var(--basic-ink) !important;
    border: 1px solid var(--basic-ink) !important;
    opacity: 1 !important;
    transform: translateY(-50%) !important;
  }

  .front6-header__menu span {
    background: currentColor !important;
  }

  .front6-header__nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    z-index: 60;
    display: none !important;
    width: 100%;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    color: var(--basic-ink) !important;
    background: var(--basic-paper) !important;
    border: 1px solid var(--basic-line);
  }

  .front6-header.is-menu-open .front6-header__nav {
    display: grid !important;
    grid-template-columns: 1fr;
  }

  .front6-header__nav a {
    justify-content: flex-start;
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    color: var(--basic-ink) !important;
    background: transparent !important;
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid var(--basic-line);
    white-space: normal;
  }

  .front6-header__nav a:hover {
    color: var(--basic-main-dark) !important;
    background: var(--basic-soft) !important;
  }

  .front6-layout,
  .basic-subpage__inner,
  .front6-footer__inner {
    grid-template-columns: 1fr;
  }

  .front6-game-card,
  .front6-result-grid,
  .game-card-wrap {
    grid-template-columns: 1fr;
  }

  .game-card {
    min-width: 0;
  }

  .game-card > a,
  .game-card-body,
  .game-card-body > .col-12 {
    min-width: 0;
  }

  .game-card-body__upper {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .game-card__team-name {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .basic-info-table,
  .competition-detail-info,
  .custom_detail_table,
  .score_detail_table,
  .game-record-table {
    width: 100%;
  }

  .table-responsive,
  .score_detail_table__wrap,
  .custom_detail_table__wrap,
  .game-record-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .form-control,
  input,
  textarea,
  select {
    max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .front6-header__inner,
  .front6-shell,
  .main-body > .inner,
  .basic-subpage__inner,
  .front6-footer__inner {
    width: min(100% - 24px, 1200px);
  }

  .front6-section,
  .basic-article__body,
  .basic-detail-section,
  .basic-list-section {
    padding: 16px;
  }

  .basic-list-section {
    overflow: visible;
    background: transparent;
    border: 0;
    padding: 0 !important;
  }

  .basic-list-section > h2 {
    border: 1px solid var(--basic-line, var(--archive-line, var(--corp-line, #d9e0dd)));
  }

  .basic-list-section > h2 + * {
    background: var(--basic-paper, var(--archive-paper, var(--corp-paper, #fff)));
    border: 1px solid var(--basic-line, var(--archive-line, var(--corp-line, #d9e0dd)));
    border-top: 0;
  }

  .basic-list-section > .basic-card-list,
  .basic-list-section > .basic-news-list,
  .basic-list-section > .basic-link-list {
    padding: 14px;
  }

  .basic-info-table {
    display: block;
    width: 100%;
    border: 0;
    border-collapse: separate;
  }

  .basic-article > .basic-info-table,
  .basic-detail-section > .basic-info-table {
    width: calc(100% - 24px);
    margin: 12px;
  }

  .basic-info-table tbody,
  .basic-info-table tr {
    display: block;
    width: 100%;
  }

  .basic-info-table tr {
    border: 1px solid var(--basic-line, var(--archive-line, var(--corp-line, #d9e0dd)));
  }

  .basic-info-table tr + tr {
    margin-top: -1px;
  }

  .basic-info-table th,
  .basic-info-table td {
    display: block;
    width: 100% !important;
    max-width: 100%;
    border: 0 !important;
  }

  .basic-info-table th {
    border-bottom: 1px solid var(--basic-line, var(--archive-line, var(--corp-line, #d9e0dd))) !important;
  }

  .front6-section__header,
  .basic-article__header {
    gap: 8px;
    padding: 14px 16px;
  }

  .front6-section__header h2,
  .basic-article__header h2,
  .section-heading {
    font-size: 20px;
    line-height: 1.35;
  }

  .game-card-body__upper {
    grid-template-columns: 1fr;
  }

  .game-card__score-wrapper,
  .game-card__result {
    min-height: 34px;
  }

  .modal-footer {
    flex-direction: column-reverse;
  }

  .modal-footer .btn {
    width: 100%;
  }
}

/* Other template mobile */
@charset "UTF-8";

@media (max-width: 991.98px) {
  .front-type-other .front6-header__inner {
    width: min(100% - 32px, 1200px);
  }

  .front-type-other .front6-header__nav {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .front-type-other .front6-header__nav a {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .front-type-other .front6-layout,
  .front-type-other .basic-subpage__inner {
    grid-template-columns: 1fr;
  }

  .front-type-other .front6-side,
  .front-type-other .basic-subpage__side {
    position: static;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .front-type-other .front6-header__inner,
  .front-type-other .front6-shell,
  .front-type-other .basic-subpage__inner {
    width: min(100% - 24px, 1200px);
  }
}

.competition-files__link {
  align-items: flex-start;
  flex-direction: column;
  gap: 6px;
}
