@charset "UTF-8";
/* ==========================================================================
基本設定
========================================================================== */
:root {
  --color-surface: #e7f4fa;
  --color-on-surface: #102e3c;
  --color-section-surface: #143a4b;
  --color-on-section-surface: #bce0f1;

  --color-red: #fcd4d2;
  --color-on-red: #885452;
  --color-yellow: #f2e6b1;
  --color-on-yellow: #71673c;
  --color-blue: #cadff9;
  --color-on-blue: #4b6381;
  --color-green: #c6e7d6;
  --color-on-green: #4c695a;
  --color-purple: #e7f4fa;
  --color-on-purple: #143a4b;

  --color-dolphins: #3ba5d6;
  --color-facebook: #1877f2;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-user-color-scheme="light"]) {
    --color-surface: #102e3c;
    --color-on-surface: #f2f2f2;
    --color-section-surface: #bce0f1;
    --color-on-section-surface: #143a4b;

    --color-red: #885452;
    --color-on-red: #fcd4d2;
    --color-yellow: #71673c;
    --color-on-yellow: #f2e6b1;
    --color-blue: #4b6381;
    --color-on-blue: #cadff9;
    --color-green: #4c695a;
    --color-on-green: #c6e7d6;
    --color-purple: #143a4b;
    --color-on-purple: #e7f4fa;
  }
  :root:not([data-user-color-scheme="light"]) code[class*="language-"],
  :root:not([data-user-color-scheme="light"]) pre[class*="language-"] {
    --color-on-surface: var(--color-surface);
    --color-surface: var(--color-on-surface);
  }
  :root:not([data-user-color-scheme="light"]) pre[class*="language-"] {
    border: 1px solid;
  }
}

:root[data-user-color-scheme="dark"] {
  --color-surface: #102e3c;
  --color-on-surface: #f2f2f2;
  --color-section-surface: #bce0f1;
  --color-on-section-surface: #143a4b;

  --color-red: #885452;
  --color-on-red: #fcd4d2;
  --color-yellow: #71673c;
  --color-on-yellow: #f2e6b1;
  --color-blue: #4b6381;
  --color-on-blue: #cadff9;
  --color-green: #4c695a;
  --color-on-green: #c6e7d6;
  --color-purple: #143a4b;
  --color-on-purple: #e7f4fa;
}

:root[data-user-color-scheme="dark"] code[class*="language-"],
:root[data-user-color-scheme="dark"] pre[class*="language-"] {
  --color-on-surface: var(--color-surface);
  --color-surface: var(--color-on-surface);
}

:root[data-user-color-scheme="dark"] pre[class*="language-"] {
  border: 1px solid;
}

.mode-toggle {
  grid-gap: 0.5em;
  align-items: center;
  display: inline-grid;
  font-size: 0.8rem;
  font-weight: 600;
  grid-template-areas: "input label";
  grid-template-columns: 2.5rem auto;
  justify-self: center;
  letter-spacing: 0.05em;
  padding-left: 30px;
}

.mode-toggle input {
  opacity: 0;
}

.mode-toggle input,
.mode-toggle-control {
  font-size: 1rem;
  grid-area: input;
  height: 0.8rem;
  width: 2rem;
}

.mode-toggle-control {
  align-items: center;
  background-color: var(--color-on-blue);
  border-radius: 1em;
  display: inline-grid;
  opacity: 0.8;
}

.mode-toggle-control:before {
  --switch-color: var(--color-surface);
  --switch-x: 0%;
  background-color: var(--switch-color);
  border: 2px solid var(--color-on-blue);
  border-radius: 50%;
  content: "";
  height: 1em;
  transform: translateY(-8%) translateX(var(--switch-x));
  transition: all 0.12s ease-in-out;
  width: 1em;
}

input:checked + .mode-toggle-control:before {
  --switch-color: var(--color-blue);
  --switch-x: 100%;
}

input:focus + .mode-toggle-control:before {
  box-shadow: 0 0 0 3px var(--color-on-surface);
}

input:checked:focus + .mode-toggle-control:before {
  box-shadow: 0 0 0 3px var(--color-surface);
}

*,
:after,
:before {
  box-sizing: border-box;
  -webkit-animation-duration: 0.01ms !important;
  animation-duration: 0.01ms !important;
  -webkit-animation-iteration-count: 1 !important;
  animation-iteration-count: 1 !important;
  scroll-behavior: auto !important;
  transition-duration: 0.01ms !important;
}

* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
  list-style: none;
  text-decoration: none;
}

body {
  text-rendering: optimizeSpeed;
  min-height: 100vh;
  background-color: var(--color-surface);
  color: var(--color-on-surface);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 100;
  letter-spacing: 0.08em;
  line-height: 1.6em;
}

.sp-br {
  display: none;
}

/* ==========================================================================
スマホ対応
========================================================================== */
@media screen and (max-width: 520px) {
  .sp-br {
    display: block;
  }

  .sp-none {
    display: none;
  }

  .detail-dl dl {
    flex-flow: column;
  }
  .detail-dl dt,
  .detail-dl dd {
    width: 100% !important;
  }
  .detail-dl dt {
    font-weight: 500;
  }

  /* ========== スコア ========== */
  .gameBody .scoreBoard {
    width: 90% !important;
    min-height: 100px !important;
  }

  .gameBody .scoreBoard .team {
    width: 22% !important;
  }

  .gameBody .scoreBoard .team .logo {
    min-height: 80px !important;
    display: grid;
    place-items: center;
  }

  .gameBody .scoreBoard .team .logo > img {
    width: 70px !important;
    height: 70px !important;
    max-width: 72px !important;
    max-height: 72px !important;
  }

  .gameBody .scoreBoard .team .name {
    display: none;
  }

  .main {
    width: 56% !important;
  }

  .score {
    font-size: small;
  }

  .gameBody .scoreBoard .score .goal {
    width: 25% !important;
    font-size: 26px !important;
    text-align: center !important;
  }

  .gameBody .scoreBoard .score .point {
    width: 18% !important;
  }

  .gameBody .scoreBoard .score .time {
    width: 14% !important;
  }

  .youtube-mobile {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25% !important;
  }

  .youtube-mobile iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  h3.member-name {
    margin-top: 50px;
  }
}

/* ==========================================================================
ページ設定
========================================================================== */
article {
  display: block;
}

section {
  margin: 0 auto;
  padding-bottom: 50px;
}

section p:not([data-padding-unset]) {
  margin-bottom: 0.8rem;
}

.section-color-change {
  background-color: var(--color-on-section-surface);
}

section > .pege-read {
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

section div[class="articleContent"]:not([data-youtube], [data-member]) {
  padding: 1.5rem;
}

.articleContent {
  margin: 0 auto;
  padding-top: 1.5rem;
  max-width: 1280px;
}

.articleContent [class*="flexbox"]:not([data-youtube], [data-member]) {
  --min: 480px;
  --gap: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  align-content: start;
}

header {
  padding: 10px 0;
  background: url(/image/header.jpg) no-repeat center center;
  height: 460px;
  background-size: cover;
  position: relative;
}

header::after {
  content: "";
  background-color: var(--color-surface);
  position: absolute;
  opacity: 0.4;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

header a {
  color: var(--color-on-surface);
}

header a:hover {
  color: var(--color-dolphins);
  text-decoration: underline;
}

header #header-title {
  display: flex;
  position: relative;
  z-index: 1;
}

header h1 {
  font-size: x-large;
  font-weight: 300;
  padding-left: 10px;
  display: flex;
  justify-content: left;
  position: relative;
}

h2#page-title {
  margin: 70px auto 50px;
  padding: 20px 0 10px;
  text-align: center;
  line-height: initial;
}

h2#page-title,
h2.section-title {
  font-weight: 200;
  display: flex;
  justify-content: center;
  text-align: center;
  line-height: initial;
}

h2.section-title {
  margin: 0 auto 1rem;
  padding-top: 6rem;
}

h3.section-subtitle-date,
h3.section-subtitle {
  width: 90%;
  display: flex;
  justify-content: center;
  text-align: center;
  margin: 8rem auto 1rem;
  /* padding-top: 50px; */
  /* font-weight: bold; */
  font-weight: 200;
}

h3.section-subtitle {
  margin: 0 auto 1rem;
}

h4.match-title {
  display: flex;
  justify-content: center;
  width: 90%;
  padding-top: 50px;
  margin: 5rem auto 2rem;
  text-align: center;
  font-weight: 500;
  font-size: 1.17em;
}

header #header-nav {
  position: relative;
  z-index: 1;
  padding: 0 10px;
  font-weight: 600;
}

header #header-nav ul {
  display: inline-block;
  margin: 10px;
  position: relative;
}

#header-nav > ul > li {
  padding: 5px;
  margin: 0;
  position: relative;
}

#header-nav > ul > li:first-child {
  padding-top: 10px;
  position: relative;
}

.flexbox-grid {
  --min: 460px;
  --gap: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}

.flexbox-grid > * {
  flex: 1 1 var(--min);
}

.articleContent
  [class*="flexbox"]:not([data-youtube], [data-member])
  > :not([class="data-youtube"], [class="data-member"]) {
  display: grid;
}

.articleContent [data-youtube] > div {
  max-width: 100%;
  display: grid;
  padding: 1rem;
  place-content: center;
}

.articleContent [data-member] {
  --min: 300px;
  --gap: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  text-align: center;
}

.flexbox-grid > div > .member-caption,
.flexbox-grid > div > .member-parents-caption {
  width: 90%;
  margin: 0 auto 1rem;
  text-align: left;
}

.flexbox-grid > div > h3.member-name {
  margin-top: revert;
  font-size: x-large;
  font-weight: 300;
}

.flexbox-grid > div > h3 > span.member-num {
  color: var(--color-dolphins);
  font-family: "Tourney", cursive;
  font-size: xx-large;
  font-weight: 400;
}

.detail-dl > dl > dd > span.member-num {
  color: var(--color-dolphins);
  font-family: "Graduate", cursive;
  font-weight: bold;
  letter-spacing: normal;
}

.flexbox-grid > div > h3 > span.member-role {
  color: var(--color-dolphins);
}

.detail-text p.text-end {
  margin-bottom: 2rem;
}

.detail-dl dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding: 1.2em 1rem;
  border-bottom: 1px solid var(--color-on-surface);
}

.member-detail-dl {
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.member-detail-dl dl {
  display: flex;
  flex-wrap: wrap;
  width: 90%;
  margin: auto;
  padding: 1.2em 1rem;
  border-bottom: 1px solid var(--color-on-surface);
}

.detail-dl dl:first-child,
.member-detail-dl dl:first-child {
  border-top: 2px solid var(--color-on-surface);
}

.detail-dl dl:last-child,
.member-detail-dl dl:last-child {
  border-bottom: 2px solid var(--color-on-surface);
}

.detail-dl dt,
.member-detail-dl dd,
.detail-dl dt,
.member-detail-dl dd {
  display: inline-block;
  vertical-align: top;
}

.detail-dl dt {
  width: 10%;
}

.detail-dl dd {
  width: 90%;
}

.member-detail-dl dt {
  width: 30%;
}

.member-detail-dl dd {
  width: 70%;
}

h4.member-memories,
h4.member-parents-memories {
  padding: 20px 0 10px;
  color: var(--color-dolphins);
}

h4.match-member {
  padding: 1rem 0;
}

footer {
  background-color: #060606;
  font-size: 0.8rem;
  color: #c3c3c3;
  text-align: center;
  padding: 2rem;
}

footer .sns {
  font-size: 1rem;
}

footer a {
  color: #c3c3c3;
}

hr.bonus {
  margin-top: 1.5rem;
  border-top: 2px dashed var(--color-dolphins);
}


/* ==========================================================================
メンバー画像差し替え
========================================================================== */
/* しゅんや */
.shunya-photo {
  margin: 10px auto;
  background-size: 300px;
  width: 300px;
  height: 497px;
  background-image: url("/image/members/shunya_white.jpg");
}

.shunya-photo.change {
  background-image: url("/image/members/shunya_blue.jpg");
}

/* ゆうた */
.yuta-photo {
  margin: 10px auto;
  background-size: 300px;
  width: 300px;
  height: 497px;
  background-image: url("/image/members/yuta_white.jpg");
}

.yuta-photo.change {
  background-image: url("/image/members/yuta_blue.jpg");
}

/* はると */
.haruto-photo {
  margin: 10px auto;
  background-size: 300px;
  width: 300px;
  height: 497px;
  background-image: url("/image/members/haruto_white.jpg");
}

.haruto-photo.change {
  background-image: url("/image/members/haruto_blue.jpg");
}

/* はるき */
.haruki-photo {
  margin: 10px auto;
  background-size: 300px;
  width: 300px;
  height: 497px;
  background-image: url("/image/members/haruki_white.jpg");
}

.haruki-photo.change {
  background-image: url("/image/members/haruki_blue.jpg");
}

/* はやと */
.hayato-photo {
  margin: 10px auto;
  background-size: 300px;
  width: 300px;
  height: 497px;
  background-image: url("/image/members/hayato_white.jpg");
}

.hayato-photo.change {
  background-image: url("/image/members/hayato_blue.jpg");
}

/* ==========================================================================
SNSエリア設定
========================================================================== */
.sns {
  margin: 25px auto;
  text-align: center;
}

.sns a {
  color: inherit;
  font-size: 1.6em;
  padding: 0.1em;
  margin: 0.5vw;
  transition: all 0.25s;
}

.facebook:hover {
  color: var(--color-facebook);
}

/* ==========================================================================
アバター設定
========================================================================== */
.avatar {
  position: absolute;
  top: 400px;
  left: 0px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.avatar > img {
  width: 120px;
  height: 120px;
  max-width: 128px;
  max-height: 128px;
  border-radius: 50%;
  border: 3px solid var(--color-on-surface);
}

/* ==========================================================================
インデックスページ設定
========================================================================== */
.front a {
  color: inherit;
  font-size: 1.2em;
  padding: 0.1em;
  margin: 0.5vw;
  transition: all 0.25s;
}

.front-font:hover {
  color: var(--color-green);
}

/* ==========================================================================
SCOREBOARD設定
========================================================================== */
.gameBody {
  margin: 0 auto;
  padding-top: 1.5rem;
  max-width: 1280px;
}

.scoreBoard {
  margin: auto;
  min-height: 140px;
  overflow: hidden;
  display: flex;
  width: fit-content;
}

.gameBody .scoreBoard .team {
  float: left;
  width: 185px;
  text-align: center;
}

.gameBody .scoreBoard .team .logo > img {
  width: 100px;
  height: 100px;
  max-width: 102px;
  max-height: 102px;
  border-radius: 50%;
  border: 2px solid var(--color-on-surface);
}

.gameBody .scoreBoard .team .logo {
  min-height: 100px;
}

.gameBody .scoreBoard .team .name {
  font-weight: bold;
  width: 185px;
  margin: auto;
  font-size: 12px;
}

.main {
  width: max-content;
}

.score {
  font-family: "Graduate", cursive;
  width: 100%;
  font-weight: normal;
  line-height: 1.2;
  text-align: center;
  border-spacing: 0;
}

.gameBody .scoreBoard .score .goal {
  font-weight: bold;
  width: 64px;
  max-width: 64px;
  font-size: 30px;
}

.gameBody .scoreBoard .score .goal.home {
  color: var(--color-dolphins);
  padding-left: 2px;
  text-align: left;
  vertical-align: middle;
}

.gameBody .scoreBoard .score .goal.away {
  padding-right: 2px;
  text-align: right;
  vertical-align: middle;
}

.gameBody .scoreBoard .score .point {
  max-width: 20px;
  min-width: max-content;
  text-align: center !important;
  letter-spacing: normal;
}

.gameBody .scoreBoard .score .time {
  width: 80px;
  padding: 2px 0;
  color: #888;
}
