@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

:root {
  --main-blue: #0c22c3;
  --white: #fff;
}

/* common */
.anton {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.container {
  padding: 200px 0 100px;
  @media (max-width: 600px) {
    padding: 120px 0 60px;
  }
}

.container-sm {
  padding: 100px 0 100px;
  @media (max-width: 600px) {
    padding: 100px 0 40px;
  }
}

#content {
  padding-top: 0 !important;
  margin-bottom: 0 !important;
}

.is-style-btn_line a {
  border-radius: 0 !important;
}

.btn-white a {
  color: var(--white);
  border: 0.5px solid var(--white) !important;
  border-radius: 0 !important;
}

.btn-white a:hover {
  background-color: var(--white);
  color: var(--main-blue) !important;
}

.blue-wide {
  padding-top: 12em !important;
}

.wide-section {
  padding: 14em 0 !important;
  position: relative;
  @media (max-width: 600px) {
    padding: 10em 0 !important;
  }
}

h2 span {
  position: relative;
}
h2 span::before {
  font-family: "Anton", sans-serif;
  font-weight: 400;
  font-style: normal;
  position: absolute;
  top: -1.4em;
  left: 50%;
  transform: translateX(-50%);
  font-size: 5em;
  z-index: -1;
  width: 100vw;
  opacity: 1;
}

.radius {
  border-radius: 16px;
}

@media (min-width: 600px) {
  .l-topTitleArea {
    min-height: 500px;
    padding: 1em 0;
  }
  .l-topTitleArea img {
    object-position: top;
  }
}
@media (min-width: 600px) {
  .c-pageTitle {
    font-size: 2.5em;
  }
}

/* カテゴリー・アーカイブ・検索結果ページのヘッダーをmain-blueで統一 */
/* SWELLはbody_class()を<div id="body_wrap">に適用するため#body_wrapを使う */
#body_wrap.category .l-topTitleArea,
#body_wrap.tag .l-topTitleArea,
#body_wrap.date .l-topTitleArea,
#body_wrap.archive .l-topTitleArea,
#body_wrap.search-results .l-topTitleArea {
  background-color: var(--main-blue) !important;
  min-height: 300px;
  display: flex;
  align-items: center;
}

/* タイトルブロックをフル幅に保ち左寄せを維持 */
#body_wrap.category .l-topTitleArea__body,
#body_wrap.tag .l-topTitleArea__body,
#body_wrap.date .l-topTitleArea__body,
#body_wrap.archive .l-topTitleArea__body,
#body_wrap.search-results .l-topTitleArea__body {
  width: 100%;
}

/* ロゴ背景画像を非表示にして青単色にする */
#body_wrap.category .l-topTitleArea__img,
#body_wrap.tag .l-topTitleArea__img,
#body_wrap.date .l-topTitleArea__img,
#body_wrap.archive .l-topTitleArea__img,
#body_wrap.search-results .l-topTitleArea__img {
  display: none !important;
}

/* タイトル・見出し文字を白に */
#body_wrap.category .l-topTitleArea__body *,
#body_wrap.tag .l-topTitleArea__body *,
#body_wrap.date .l-topTitleArea__body *,
#body_wrap.archive .l-topTitleArea__body *,
#body_wrap.search-results .l-topTitleArea__body * {
  color: var(--white) !important;
}

/* パンくずリストも白に */
#body_wrap.category .c-breadcrumb a,
#body_wrap.tag .c-breadcrumb a,
#body_wrap.date .c-breadcrumb a,
#body_wrap.archive .c-breadcrumb a,
#body_wrap.search-results .c-breadcrumb a {
  color: var(--white) !important;
}

/* フィルターレイヤーも非表示 */
#body_wrap.category .l-topTitleArea .c-filterLayer,
#body_wrap.tag .l-topTitleArea .c-filterLayer,
#body_wrap.date .l-topTitleArea .c-filterLayer,
#body_wrap.archive .l-topTitleArea .c-filterLayer,
#body_wrap.search-results .l-topTitleArea .c-filterLayer {
  display: none !important;
}

/*
 * is_show_ttltop が true の場合の fallback
 * archive.php の else ブランチで l-mainContent__inner 内に出力される c-pageTitle を青に
 */
#body_wrap.date .l-mainContent__inner > .c-pageTitle,
#body_wrap.author .l-mainContent__inner > .c-pageTitle,
#body_wrap.archive .l-mainContent__inner > .c-pageTitle {
  background-color: var(--main-blue) !important;
  padding: 60px 30px;
  margin-top: 0;
  margin-bottom: 40px;
  box-sizing: border-box;
}

#body_wrap.date .l-mainContent__inner > .c-pageTitle *,
#body_wrap.author .l-mainContent__inner > .c-pageTitle *,
#body_wrap.archive .l-mainContent__inner > .c-pageTitle * {
  color: var(--white) !important;
}

/* TOP */
.p-mainVisual::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-image: url(images/raccoons-logo.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 500px;
  height: 400px;
  @media (max-width: 600px) {
    width: 250px;
    height: 150px;
  }
}

.slogan-title span::before {
  content: "Team Slogan";
  color: var(--main-blue);
}

.game-title span::before {
  content: "Game";
  color: var(--white);
}

.blog-title span::before {
  content: "Blog";
  color: var(--main-blue);
}

.insta-title span::before {
  content: "Instagram";
  color: var(--white);
}

.sponsor-title span::before {
  content: "Sponsors";
  color: var(--main-blue);
}

.contact-title span::before {
  content: "Contact";
  color: var(--white);
}

.concept-content .swell-block-columns__inner {
  justify-content: center;
}

.logo-bg {
  position: relative;
}

.logo-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  background-image: url(images/logo-bg.png);
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  width: 35vw;
  height: 35vw;
  @media (max-width: 600px) {
    width: 250px;
    height: 250px;
  }
}

.logo-bg .swell-block-columns__inner {
  justify-content: center;
}

.member {
  padding: 20em 0 !important;
  @media (max-width: 600px) {
    padding: 15em 0 !important;
  }
}

.member-position {
  position: absolute;
  right: 0;
  top: 0;
  @media (max-width: 600px) {
    right: 16px;
  }
}

.member-position h2 {
  font-size: 5em;
}

.loop-slider {
  display: flex;
  gap: 5rem; /* 画像間の余白を指定 */
}

.loop-slider .wp-block-group__inner-container,
.loop-slider .swell-block-columns {
  display: contents;
}

.loop-slider .swell-block-columns__inner {
  flex-wrap: nowrap;
  gap: 5rem;
}

.loop-slider.top-slider .swell-block-columns__inner {
  animation: infinity-scroll-left 50s infinite linear;
}

.loop-slider.bottom-slider .swell-block-columns__inner {
  animation: infinity-scroll-right 50s infinite linear;
}

.loop-slider .swell-block-column figure {
  width: 250px; /* 画像の横幅を指定（パソコン） */
  position: relative;
}

.loop-slider .swell-block-column figure::before {
  padding-top: 65%; /* 画像の縦横比を指定 */
  display: block;
  content: "";
}

.loop-slider .swell-block-column figure img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  object-position: center;
}

@media screen and (max-width: 959px) {
  .loop-slider .swell-block-column figure {
    width: 200px; /* 画像の横幅を指定（スマホ） */
  }
}

@keyframes infinity-scroll-left {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-3700px);
  }
}

@keyframes infinity-scroll-right {
  from {
    transform: translateX(-3700px);
  }

  to {
    transform: translateX(0%);
  }
}

/* recruitment */
.about-title span::before {
  content: "About Us";
  color: var(--main-blue);
}
.profile-title span::before {
  content: "Profile";
  color: var(--white);
}
.info-title span::before {
  content: "Info";
  color: var(--white);
}
.schedule-title span::before {
  content: "Schedule";
  color: var(--main-blue);
}
.flow-title span::before {
  content: "Flow";
  color: var(--white);
}
.faq-title span::before {
  content: "FAQ";
  color: var(--main-blue);
}
.profile-content > .wp-block-group__inner-container {
  padding-left: 80px;
  @media (max-width: 600px) {
    padding-left: 40px;
  }
}
.profile-content p {
  position: relative;
  &::before {
    content: "";
    position: absolute;
    top: 0;
    left: -40px;
    width: 30px;
    height: 30px;
    background-image: url(images/amefuto-icon.png);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
  }
}

/* =====================
   MEMBER ページ背景
   ===================== */
.page-member-bg {
  background-color: var(--main-blue) !important;
}

.page-member-bg .l-main,
.page-member-bg .l-main__content,
.page-member-bg .p-pageHeader {
  background-color: var(--main-blue) !important;
}

.page-member-bg .p-pageHeader__title,
.page-member-bg .p-pageHeader__subTitle,
.page-member-bg h1,
.page-member-bg h2,
.page-member-bg h3,
.page-member-bg p {
  color: #fff !important;
}

.page-member-bg .copyright,
.page-member-bg .copyright * {
  color: #1a1a1a !important;
}

.page-member-bg .p-breadcrumb {
  background: transparent !important;
}

.page-member-bg .p-breadcrumb__text,
.page-member-bg .p-breadcrumb__item,
.page-member-bg .p-breadcrumb__item::after {
  color: rgba(255, 255, 255, 0.8) !important;
}

.page-member-bg .p-breadcrumb__text:hover {
  color: #fff !important;
}

/* =====================
   MEMBER フィルター
   ===================== */
.member-filter {
  display: flex;
  gap: 12px;
  padding: 24px 0 8px;
  flex-wrap: wrap;
}

.member-filter__btn {
  height: 40px;
  padding: 0 28px;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s,
    border-color 0.2s;
}

.member-filter__btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: #fff;
}

.member-filter__btn--active {
  background: #fff;
  color: var(--main-blue);
  border-color: #fff;
}

/* =====================
   MEMBER カード
   ===================== */
.member-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 24px;
  padding: 40px 0;
}

.member-card {
  display: flex;
  flex-direction: column;
}

/* 写真エリア */
.member-card__img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #555;
}

.member-card__uniform {
  position: absolute;
  top: 10px;
  left: 12px;
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  z-index: 1;
  letter-spacing: 0.02em;
}

.member-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.member-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: #555;
}

/* テキストエリア */
.member-card__info {
  padding: 12px 0 0;
}

.member-card__name-ja {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 2px;
  letter-spacing: 0.1em;
  line-height: 1.3;
}

.member-card__name-en {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 10px;
  letter-spacing: 0.05em;
}

.member-card__meta-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.member-card__meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.6;
}

.member-card__meta--message {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.member-loadmore-wrap {
  display: flex;
  justify-content: center;
  padding: 16px 0 40px;
}

.member-loadmore__btn {
  height: 48px;
  padding: 0 48px;
  background: transparent;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  cursor: pointer;
  transition:
    background 0.2s,
    color 0.2s;
}

.member-loadmore__btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.member-list__empty {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0;
  grid-column: 1 / -1;
}

/* タブレット対応 */
@media (max-width: 900px) {
  .member-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* スマホ対応 */
@media (max-width: 600px) {
  .member-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
    padding: 24px 0;
  }

  .member-card__name-ja {
    font-size: 16px;
  }

  .member-card__meta {
    font-size: 12px;
  }
}

/* OBOG */
.message-title span::before {
  content: "Message";
  color: var(--main-blue);
}
.use-title span::before {
  content: "How to Use";
  color: var(--white);
}
.account-title span::before {
  content: "Account";
  color: var(--main-blue);
}
.support-title span::before {
  content: "Support";
  color: var(--main-blue);
}

/* =====================
   GAME フィルター
   ===================== */
.game-filter {
  padding: 24px 0 8px;
}

.game-filter__selects {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.game-filter__select {
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  color: #1a1a1a;
  background: #fff;
  cursor: pointer;
}

.game-filter__select:focus {
  outline: none;
  border-color: var(--main-blue);
}

/* =====================
   GAME カード
   ===================== */
.game-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 40px 0;
  max-width: 900px;
  margin: 0 auto;
  transition: opacity 0.2s ease;
}

.game-card {
  position: relative;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  overflow: hidden;
}

/* 右上のバッジ */
.game-card__badge {
  position: absolute;
  top: 0;
  right: 0;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 8px 16px;
}

.game-card__badge--win {
  background: #0c22c3;
}

.game-card__badge--lose {
  background: #333;
}

.game-card__badge--draw {
  background: #3ab8c8;
}

/* カード本体：日付 + スコアエリア */
.game-card__body {
  display: flex;
  align-items: center;
  padding: 36px 40px;
  gap: 40px;
}

/* 日付エリア（左側） */
.game-card__date {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 90px;
  flex-shrink: 0;
  gap: 2px;
}

.game-card__date-ym {
  font-size: 13px;
  color: #333;
  line-height: 1.4;
}

.game-card__date-d {
  font-size: 40px;
  color: #1a1a1a;
  line-height: 1.1;
  display: flex;
  align-items: baseline;
  gap: 5px;
}

.game-card__date-d small {
  font-size: 14px;
  font-weight: 400;
  color: #555;
}

.game-card__date-line {
  width: 100%;
  border: none;
  border-top: 1.5px solid #1a1a1a;
  margin: 8px 0 6px;
}

.game-card__date-time {
  font-size: 13px;
  color: #333;
  line-height: 1.4;
}

/* スコアエリア（中央） */
.game-card__match {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.game-card__title {
  font-size: 13px;
  color: #555;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.game-card__score-row {
  display: flex;
  align-items: center;
  gap: 20px;
  @media (max-width: 600px) {
    gap: 0;
  }
}

.game-card__team-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 100px;
  gap: 6px;
}

.game-card__team-name {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.2;
  text-align: center;
}

.game-card__team-univ {
  font-size: 13px;
  color: #555;
  font-weight: 400;
  line-height: 1.4;
}

.game-card__score {
  font-size: 52px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
  min-width: 64px;
  text-align: center;
}

.game-card__score--high {
  color: var(--main-blue);
}

.game-card__separator {
  font-size: 40px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1;
}

/* 会場エリア（下部） */
.game-card__location {
  text-align: center;
  padding: 14px 40px 18px;
  font-size: 13px;
  color: #1a1a1a;
  border-top: 1px solid #f0f0f0;
}

/* TOPページ用：透明背景・白ボーダー・白文字 */
.game-card--transparent {
  background: transparent;
  border-color: #fff;
}

.game-card--transparent .game-card__date-ym,
.game-card--transparent .game-card__date-d,
.game-card--transparent .game-card__date-d small,
.game-card--transparent .game-card__date-time,
.game-card--transparent .game-card__title,
.game-card--transparent .game-card__team-name,
.game-card--transparent .game-card__team-univ,
.game-card--transparent .game-card__score,
.game-card--transparent .game-card__separator,
.game-card--transparent .game-card__location {
  color: #fff;
}

.game-card--transparent .game-card__date-line {
  border-top-color: #fff;
}

.game-card--transparent .game-card__location {
  border-top-color: rgba(255, 255, 255, 0.3);
}

.game-card--transparent .game-card__score--high {
  color: #7eb3ff;
}

.game-card--transparent .game-card__body {
  justify-content: center;
}

.game-card--transparent .game-card__match {
  flex: unset;
}

.game-list__empty {
  text-align: center;
  color: #888;
  padding: 60px 0;
}

.game-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 16px 0 8px;
  width: 100%;
  grid-column: 1 / -1;
}

.game-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  font-size: 14px;
  color: #1a1a1a;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}

.game-pagination .page-numbers:hover {
  background: #f5f5f5;
}

.game-pagination .page-numbers.current {
  background: var(--main-blue);
  border-color: var(--main-blue);
  color: #fff;
}

/* memberページ用：白ベースのページネーション */
.page-member-bg .game-pagination .page-numbers {
  border-color: rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.8);
  background: transparent;
}

.page-member-bg .game-pagination .page-numbers:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.page-member-bg .game-pagination .page-numbers.current {
  background: #fff;
  border-color: #fff;
  color: var(--main-blue);
}

/* スマホ対応 */
@media (max-width: 600px) {
  h2 span.u-fz-xl {
    font-size: 1.3em !important;
  }

  .concept-content img {
    width: 60% !important;
  }

  .recruit-info p strong {
    display: block;
  }

  .obog-use {
    padding: 0 5%;
  }

  .obog-account td:first-child {
    width: 120px !important;
  }

  .game-list {
    gap: 16px;
    padding: 24px 0;
  }

  .game-card__body {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 32px 20px 24px;
  }

  .game-card__date {
    align-items: center;
    min-width: auto;
  }

  .game-card__score {
    font-size: 40px;
  }

  .game-card__separator {
    font-size: 30px;
  }

  .game-card__team-block {
    min-width: 70px;
  }

  .game-card__team-name {
    font-size: 15px;
  }

  .game-card__location {
    padding: 12px 20px 16px;
  }

  .about-us p br {
    display: none;
  }
}

/* Blog */
.blog .l-topTitleArea img {
  object-position: center;
}
.blog .p-breadcrumb,
.archive .p-breadcrumb {
  margin-bottom: 60px;
}
