@charset "utf-8";

/* !HTML5 elements
---------------------------------------------------------- */
header,
footer,
nav,
section,
aside,
article {
  display: block;
}

/* !Reseting
---------------------------------------------------------- */

body,
div,
pre,
p,
blockquote,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
th,
td {
  margin: 0;
  padding: 0;
}
input,
textarea {
  margin: 0;
  font-size: 100%;
}
label {
  cursor: pointer;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 100%;
}
fieldset,
img {
  border: 0;
}
img {
  vertical-align: top;
  max-width: 100%;
}
address,
caption,
cite,
code,
dfn,
em,
th,
var {
  font-style: normal;
  font-weight: normal;
}
ol,
ul {
  list-style: none;
}
caption,
th {
  text-align: left;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: 100%;
  font-weight: normal;
}
q:after,
q:before {
  content: "";
}
a,
input,
select,
textarea,
button {
  outline: none;
}
abbr,
acronym {
  border: 0;
}

bo *,
*:before,
*:after {
  box-sizing: border-box;
}
p {
  line-height: 200%;
}
a {
  color: inherit;
  text-decoration: none;
  transition: all 0.5s !important;
  -moz-transition: all 0.5s !important;
  -webkit-transition: all 0.5s !important;
}

@font-face {
  font-family: "lakesfont";
  src: url("../fonts/LAKESFONT2022.ttf") format("truetype");
  font-display: swap;
}

/* ホバー時 */
.btn a:hover {
  background: black;
  color: white;
}

.btn a:hover .arrow_bk {
  opacity: 0;
}

.btn a:hover .arrow_wh {
  opacity: 1;
  z-index: 2;
}

@media screen and (max-width: 767px) {
  .btn {
    width: 100%;
  }
}

@media (hover: hover) and (pointer: fine) and (min-width: 768px) {
  .btn a:hover {
    background: black;
    color: white;
  }

  .btn a:hover .arrow_bk {
    opacity: 0;
  }

  .btn a:hover .arrow_wh {
    opacity: 1;
    z-index: 2;
  }
}

/* !Layout
---------------------------------------------------------- */
html {
  overflow-y: scroll;
  font-size: 62.5%;
  scroll-padding-top: 122px;
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.6rem;
  letter-spacing: -0.24px;
  -webkit-text-size-adjust: none;
}
h1 {
  line-height: 1;
  font-family: "lakesfont";
  font-size: 12.8rem;
  margin-bottom: 6.4rem;
  text-align: center;
}
h2,
h3,
h4 {
  line-height: 200%;
  font-weight: 700;
}

.inner {
  margin: 0 auto;
}

/*** pc 835px ~ 1100px ***/
@media screen and (min-width: 768px) and (max-width: 1200px) {
  html {
    font-size: calc(100vw / 120);
  }
}

/*** sp ***/
@media screen and (max-width: 768px) {
  html {
    font-size: calc(100vw / 37.5);
  }
}

/*** pc ***/
@media screen and (min-width: 768px) {
  .sp {
    display: none;
  }
}

/*** sp ***/
@media screen and (max-width: 768px) {
  .pc {
    display: none;
  }

  h1 {
    font-size: 7rem;
    margin-bottom: 4.8rem;
  }
}

/* !背景レイヤーシステム
---------------------------------------------------------- */
.bg-layers {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100dvh;
  z-index: 0;
}

.bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.bg-layer.active {
  opacity: 1;
  z-index: 1;
}

.bg-layer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.bg-overlay-gradient {
  background: linear-gradient(
    to right,
    rgba(227, 0, 127, 0.8) 0%,
    rgba(227, 0, 127, 0.8) 33.33%,
    rgba(163, 213, 192, 0.9) 33.33%,
    rgba(163, 213, 192, 0.9) 66.66%,
    rgba(8, 41, 77, 0.8) 66.66%,
    rgba(8, 41, 77, 0.8) 100%
  ) !important;
}

/* !セクション共通
---------------------------------------------------------- */
.logo_section,
.color_section,
.game_section {
  padding: 20rem 0;
  font-weight: bold;
}

.special_goods {
  padding-bottom: 20rem;
}

@media screen and (max-width: 768px) {
  .logo_section,
  .color_section,
  .game_section {
    padding: 16rem 0;
  }
}

/* !メインコンテンツ
---------------------------------------------------------- */
main {
  position: relative;
  z-index: 2;
}

section {
  position: relative;
  transition: color 0.8s ease;
}

/* !first_section
---------------------------------------------------------- */
.first_section {
  width: 100%;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.first_section .main_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 35.6rem;
}

.first_section .sunchlorella_logo {
  position: absolute;
  bottom: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 22.4rem;
}

@media screen and (max-width: 768px) {
  .first_section .main_logo {
    width: 24rem;
  }

  .first_section .sunchlorella_logo {
    bottom: 6rem;
    width: 9.3rem;
  }
}

/* !WHAT'S SHIGA VIBE?
---------------------------------------------------------- */
.whats_shiga_vibe {
  position: relative;
  padding: 20rem 0;
  font-weight: bold;
  text-align: center;
  letter-spacing: normal;
}

.whats_shiga_vibe .inner {
  width: 108.8rem;
  max-width: calc(100% - 4rem);
}

.whats_shiga_vibe h1 {
  margin-bottom: 3.2rem;
}

.whats_shiga_vibe h1 span {
  display: inline-block;
}

.whats_shiga_vibe h2 {
  font-size: 4rem;
}

.whats_shiga_vibe p {
  margin-top: 7.2rem;
  font-size: 3rem;
}

.whats_shiga_vibe p span {
  display: inline-block;
  line-height: 200%;
  letter-spacing: normal;
}

@media screen and (max-width: 768px) {
  .whats_shiga_vibe {
    padding: 16rem 0;
  }

  .whats_shiga_vibe h1 {
    margin-bottom: 4.8rem;
  }

  .whats_shiga_vibe h2 {
    font-size: 2.4rem;
    line-height: 150%;
  }

  .whats_shiga_vibe p {
    margin-top: 2.4rem;
    font-size: 1.6rem;
  }
}

/* !LOGO
---------------------------------------------------------- */
.logo_section h1 {
  color: #e3007f;
}

.logo_section .inner {
  width: 96rem;
  max-width: calc(100% - 0.8rem);
}

.logo_section .logo_contents {
  display: flex;
  flex-direction: column;
  gap: 6.4rem;
}

.logo_section .logo_contents .logo_main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4.8rem;
}

.logo_section .logo_contents .logo_main img {
  width: 45rem;
}

.logo_section .logo_contents .logo_main h2 {
  font-size: 3.2rem;
  text-align: center;
}

.logo_section .logo_contents .logo_main p {
  font-size: 2.4rem;
}

.logo_section .logo_contents .sub_logo_images {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3.2rem;
}

.logo_section .logo_contents .logo_desc {
  font-size: 2.4rem;
}

@media screen and (max-width: 768px) {
  .logo_section .logo_contents {
    gap: 4.8rem;
  }

  .logo_section .logo_contents .logo_main {
    gap: 0;
  }

  .logo_section .logo_contents .logo_main img {
    width: 28.5rem;
  }

  .logo_section .logo_contents .logo_main h2 {
    font-size: 2.4rem;
    margin-top: 4.8rem;
  }

  .logo_section .logo_contents .logo_main p {
    font-size: 1.6rem;
    padding: 0 2.4rem;
    margin-top: 2.4rem;
    letter-spacing: normal;
  }

  .logo_section .logo_contents .sub_logo_images {
    flex-direction: column;
    gap: 2.3rem;
  }

  .logo_section .logo_contents .sub_logo_images img:nth-child(1) {
    width: 24rem;
  }

  .logo_section .logo_contents .sub_logo_images img:nth-child(2) {
    width: 22.8rem;
  }

  .logo_section .logo_contents .sub_logo_images img:nth-child(3) {
    width: 9.5rem;
  }

  .logo_section .logo_contents .logo_desc {
    font-size: 1.6rem;
    padding: 0 2.4rem;
  }
}

/* !COLOR
---------------------------------------------------------- */
.color_section .inner {
  width: 128rem;
  max-width: calc(100% - 6.4rem);
}

.color_section .color_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.color_section .color_list li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.4rem;
}

.color_section .color_list li span {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
}

.color_section .color_list li span.green {
  background: #a3d5c0;
}

.color_section .color_list li span.red {
  background: #e3007f;
}

.color_section .color_list li span.blue {
  background: #08294d;
}

.color_section .color_list li .color_name {
  font-family: "lakesfont";
  text-align: center;
  font-size: 4.8rem;
  line-height: normal;
}

.color_section .color_list li .color_desc {
  font-size: 2rem;
  margin-top: 2.4rem;
  padding: 0 2rem;
  letter-spacing: -0.2px;
}

@media screen and (max-width: 768px) {
  .color_section .color_list {
    grid-template-columns: repeat(1, 1fr);
    gap: 4.8rem;
  }

  .color_section .color_list li .color_desc {
    font-size: 1.6rem;
    padding: 0;
    letter-spacing: -0.16px;
  }
}

/* !SHIGA VIBE GAME
---------------------------------------------------------- */
.game_section .inner {
  width: 100%;
  max-width: calc(100% - 6.4rem);
}

.game_section .game_heading {
  width: 95.2rem;
  max-width: 100%;
  margin: 0 auto;
}

.game_section .game_heading h2 {
  text-align: center;
  font-size: 3.2rem;
}

.game_section .game_heading p {
  font-size: 2.4rem;
  margin-top: 4.8rem;
  text-align: center;
}

.game_section .game_heading p iframe {
  aspect-ratio: 16 / 9;
}

.game_section .game_heading p a {
  transition: 0.3s;
}

.game_section .game_heading p a:hover {
  opacity: 0.9;
}

.game_section .game_heading p img {
  margin-bottom: 2.4rem;
}

.game_section .game_heading p span {
  display: block;
  margin-bottom: 2.4rem;
}

.game_section h3 {
  font-family: "lakesfont";
  line-height: normal;
  font-size: 6.4rem;
  margin-bottom: 6.4rem;
  text-align: center;
}

.game_section .uniform_contents {
  max-width: 144rem;
  margin: 8rem auto 0;
}

.game_section .uniform_contents .uniform_images {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8rem;
  padding: 0 4rem;
}

.game_section .uniform_contents .uniform_desc {
  font-size: 2.4rem;
  max-width: 95.2rem;
  margin: 3.2rem auto 0;
}

.game_section .uniform_contents .btn {
  display: block;
  position: relative;
  margin: 8rem auto 0;
  width: 70rem;
  padding: 3.6rem 0 3.6rem 0;
  color: white;
  font-size: 2.4rem;
  background: #08294d;
  text-align: center;
  transition: 0.3s;
  line-height: 160%;
}

.game_section .uniform_contents .btn span {
  font-size: 1.8rem;
}

.game_section .uniform_contents .btn:hover {
  opacity: 0.8;
}

.game_section .uniform_contents .btn img {
  width: 5rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 2.4rem;
}

.game_section .uniform_contents .btn::before {
  position: absolute;
  content: "";
  top: -0.9rem;
  left: -0.9rem;
  width: 71.7rem;
  height: 13rem;
  background: transparent;
  z-index: -1;
  border: 0.2rem solid #a3d5c0;
}

.game_section .court_contents {
  /* max-width: 128rem; */
  max-width: 144rem;
  margin: 8rem auto 0;
}

.game_section .court_contents .court_detail {
  padding: 0 4rem;
}

.game_section .court_contents .court_desc {
  font-size: 2.4rem;
  max-width: 95.2rem;
  margin: 6.4rem auto 0;
}

@media screen and (max-width: 768px) {
  .game_section .game_heading h2 {
    font-size: 2.4rem;
  }

  .game_section .game_heading p {
    font-size: 1.6rem;
    margin-top: 2.4rem;
  }

  .game_section .game_heading p img {
    margin-bottom: 2rem;
  }

  .game_section .game_heading p span {
    margin-bottom: 4.8rem;
  }

  .game_section h3 {
    font-size: 4.8rem;
    margin-bottom: 2.4rem;
  }

  .game_section .uniform_contents {
    margin: 6.4rem auto 0;
  }

  .game_section .uniform_contents .uniform_images {
    grid-template-columns: repeat(1, 1fr);
    gap: 2.4rem;
    padding: 0;
  }

  .game_section .uniform_contents .uniform_desc {
    font-size: 1.6rem;
    margin: 2.4rem auto 0;
  }

  .game_section .uniform_contents .btn {
    margin: 4.8rem auto 0;
    width: 100%;
    padding: 1.1rem 0;
    font-size: 1.6rem;
    line-height: 150%;
  }

  .game_section .uniform_contents .btn span {
    font-size: 1.4rem;
  }

  .game_section .uniform_contents .btn:hover {
    opacity: 1;
  }

  .game_section .uniform_contents .btn img {
    width: 2rem;
    right: 1.1rem;
  }

  .game_section .uniform_contents .btn::before {
    top: -0.4rem;
    left: -0.4rem;
    width: 103%;
    height: 110%;
  }

  .game_section .court_contents {
    margin: 6.4rem auto 0;
  }

  .game_section .court_contents .court_detail {
    padding: 0;
  }

  .game_section .court_contents .court_desc {
    font-size: 1.6rem;
    margin: 2.4rem auto 0;
  }
}

/* !SPECIAL  GOODS
---------------------------------------------------------- */
.special_goods .inner {
  width: 95.2rem;
  max-width: calc(100% - 6.4rem);
}

.goods_container {
  display: flex;
  flex-direction: column;
  gap: 6.4rem;
  align-items: center;
}

.goods_container .goods_list {
  /* display: grid;
  grid-template-columns: repeat(2, 1fr); */
  display: flex;
  justify-content: center;
  gap: 4.8rem 3.2rem;
  flex-wrap: wrap;
}

.goods_container .goods_list li {
  width: 48%;
}

.goods_container .goods_list li a {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  color: white;
  font-size: 2rem;
  line-height: 200%;
  letter-spacing: -0.2px;
  font-weight: bold;
}

.goods_container .goods_list li a:hover {
  opacity: 0.8;
}

.goods_container .goods_list li .price {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}

.goods_container .goods_list li .price span {
  background: #e3007f;
  padding: 0.5rem 1.2rem;
  line-height: 100%;
}

.goods_container .btn {
  display: block;
  position: relative;
  width: 70rem;
  padding: 3.6rem 0 3.6rem 0;
  color: white;
  font-size: 2.4rem;
  background: #08294d;
  text-align: center;
  transition: 0.3s;
  line-height: 160%;
  font-weight: bold;
  line-height: 200%;
  letter-spacing: -0.24px;
}

.goods_container .btn span {
  font-size: 1.8rem;
}

.goods_container .btn:hover {
  opacity: 0.8;
}

.goods_container .btn img {
  width: 5rem;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 2.4rem;
}

.goods_container .btn::before {
  position: absolute;
  content: "";
  top: -0.9rem;
  left: -0.9rem;
  width: 71.7rem;
  height: 13.8rem;
  background: transparent;
  z-index: -1;
  border: 0.2rem solid #a3d5c0;
}

/* モーダル */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(163, 213, 192, 0.9);
  cursor: pointer;
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  max-height: 90vh;
  overflow-y: auto;
  transition: transform 0.3s ease;
  width: 64rem;
  max-width: calc(100% - 3.2rem);
}

.modal.active .modal-content {
  transform: translate(-50%, -50%) scale(1);
}

.modal-close {
  position: absolute;
  top: 6.4rem;
  right: 6.4rem;
  width: 6.4rem;
  height: 6.4rem;
  background: transparent;
  border: none;
  cursor: pointer;
  color: #333;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: #000;
}

.modal-image {
  width: 100%;
  height: auto;
  margin-bottom: 1.6rem;
}

.modal-name {
  color: #08294d;
  font-size: 2rem;
  font-weight: 700;
  line-height: 200%;
  letter-spacing: -0.2px;
  margin-bottom: 1.6rem;
}

.modal-price {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  font-weight: bold;
  font-size: 2rem;
  color: #08294d;
}

.modal-price span {
  background: #e3007f;
  padding: 0.5rem 1.2rem;
  line-height: 100%;
  color: white;
}

@media screen and (max-width: 767px) {
  .goods_container {
    gap: 4.8rem;
  }

  .goods_container .goods_list {
    gap: 4.8rem 1.1rem;
  }

  .goods_container .goods_list li a {
    gap: 1.6rem;
    font-size: 1.4rem;
    letter-spacing: -0.14px;
  }

  .goods_container .goods_list li .price {
    font-size: 1.2rem;
  }

  .goods_container .goods_list li .price span {
    background: #08294d;
    padding: 0.6rem 0.8rem;
  }

  .goods_container .btn {
    width: 100%;
    padding: 2.4rem 0;
    font-size: 1.6rem;
    line-height: 150%;
  }

  .goods_container .btn:hover {
    opacity: 1;
  }

  .goods_container .btn img {
    width: 2rem;
    right: 1.1rem;
  }

  .goods_container .btn::before {
    top: -0.4rem;
    left: -0.4rem;
    width: 103%;
    height: 110%;
  }

  .modal-content {
    position: absolute;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .modal-name {
    font-size: 1.6rem;
    letter-spacing: -0.16px;
  }

  .modal-price {
    font-size: 1.6rem;
  }

  .modal-price span {
    padding: 0.5rem 1.2rem;
  }

  .modal-close {
    top: unset;
    right: unset;
    width: 4rem;
    height: 4rem;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0;
  }
}

/* !FOOTER
---------------------------------------------------------- */
footer {
  padding-bottom: 16rem;
  display: flex;
  flex-direction: column;
  gap: 3.2rem;
  align-items: center;
  position: relative;
}

footer .main_logo {
  width: 27.2rem;
}

footer .sunchlorella_logo {
  width: 22.4rem;
}

footer a {
  position: absolute;
  right: 6.5rem;
  bottom: 16.7rem;
  transition: 0.3s;
}

footer a:hover {
  opacity: 0.8;
}

@media screen and (max-width: 768px) {
  footer {
    padding: 16rem 0 28rem;
    gap: 2.4rem;
  }

  footer .main_logo {
    width: 22.1rem;
  }

  footer .sunchlorella_logo {
    width: 16.1rem;
  }

  footer a {
    right: 3.2rem;
    bottom: 16rem;
  }
}

/* !アニメーション
---------------------------------------------------------- */
.js-fadeUp {
  opacity: 0;
  transform: translateY(100px);
  transition:
    opacity 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.js-fadeUp.inview {
  opacity: 1;
  transform: translateY(0);
}

.js-fadeIn {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 1.2s ease-out,
    transform 1.2s ease-out;
}

.js-fadeIn.inview {
  opacity: 1;
  transform: translateY(0);
}

.js-fadeIn-delay {
  transition-delay: 0.5s;
}

/* !2026-27 追加・修正分（2026-11-18）
   以前は index.html の <style> に書いていたもの。RCMSでは <head> 内の <style> が反映されないため、ここにまとめた。
---------------------------------------------------------- */
/* ファーストビュー：メインロゴとサン・クロレラロゴを1つのまとまりとして画面中央に縦に並べる。
   2つが重ならないよう、位置の固定（absolute）をやめて順番に並べる。
   画面の縦が短いときは、ロゴと間隔を画面の高さに合わせて縮める。 */
.first_section {
  flex-direction: column;
  gap: min(8rem, 10dvh);
}

.first_section .main_logo,
.first_section .sunchlorella_logo {
  position: static;
  transform: none;
  height: auto;
  flex-shrink: 0;
}

.first_section .main_logo {
  width: min(35.6rem, 45dvh);
}

/* サン・クロレラロゴ：1.4倍（28rem→39.2rem） */
.first_section .sunchlorella_logo {
  width: min(39.2rem, 49dvh);
}

/* 言葉のまとまり：途中で折り返さず、まとまりの切れ目でだけ改行する */
.whats_shiga_vibe p .ph,
.game_section .game_heading > p .ph {
  display: inline-block;
  margin-bottom: 0;
}

/* WHAT'S SHIGA VIBE のストーリー文：文字を小さくしてコンパクトに */
.whats_shiga_vibe p {
  margin-top: 5.6rem;
  font-size: 1.8rem;
}

/* LOGO セクションの見出し：本文（20px）より一回り大きい28pxにして差をつける */
.logo_section .logo_contents .logo_main h2 {
  font-size: 2.8rem;
  line-height: 1.6;
}

/* LOGO・COLOR・GAME（冒頭文・UNIFORM・COURT）の説明文：ストーリー文と同じ大きさにそろえてコンパクトに */
.logo_section .logo_contents .logo_main p,
.logo_section .logo_contents .logo_desc,
.color_section .color_list li .color_desc,
.game_section .game_heading > p,
.game_section .uniform_contents .uniform_desc,
.game_section .court_contents .court_desc {
  font-size: 1.8rem;
  line-height: 2;
}

/* ストーリー文の行間（段落間の空き行も含めて詰める） */
.whats_shiga_vibe p,
.whats_shiga_vibe p span {
  line-height: 1.9;
}

/* KV画像を2枚横並びに配置 */
.game_section .game_kv_list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: clamp(8px, 2vw, 24px);
  margin: 2.4rem 0;
}

/* 各画像の枠 */
.game_section .game_kv {
  display: block;
  width: 100%;
  min-width: 0;
  margin: 0;
}

/* 4:5比率で、画像を切り取らずに表示 */
.game_section .game_kv img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: contain;
}

.game_section .game_kv:focus-visible {
  outline: 3px solid white;
  outline-offset: 4px;
}


.game_section .game_video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
}

.game_section .game_schedule {
  margin-top: 6.4rem;
}

/* 「SPECIAL UNIFORM」「SPECIAL COURT」の見出しと同じ大きさ・余白にそろえる */
.game_section .game_schedule h2 {
  margin: 0 0 6.4rem;
  font: normal 6.4rem/normal "lakesfont", sans-serif;
  text-align: center;
}

@media screen and (max-width: 768px) {
  .game_section .game_schedule h2 {
    font-size: 4.8rem;
    margin-bottom: 2.4rem;
  }
}

.game_schedule .schedule_cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(10px, 1.1vw, 16px);
}

.game_schedule .schedule_card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 36%);
  grid-template-areas: "year crest" "dates crest" "opponent crest" "info info";
  align-content: center;
  align-items: center;
  column-gap: 8px;
  min-height: 156px;
  padding: clamp(12px, 1.35vw, 20px);
  color: white;
  background: #08294d radial-gradient(ellipse at 100% 0%, rgba(255, 255, 255, .10), transparent 75%);
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 10px;
  box-shadow: 0 5px 16px rgba(8, 41, 77, .20);
}

.game_schedule .schedule_watermark {
  position: absolute;
  z-index: -1;
  right: -12%;
  bottom: -23%;
  width: 79%;
  height: 126%;
  max-width: none;
  object-fit: contain;
  object-position: right bottom;
  filter: grayscale(1) invert(1);
  mix-blend-mode: screen;
  opacity: .18;
  pointer-events: none;
}

.game_schedule .schedule_crest {
  grid-area: crest;
  justify-self: center;
  width: 100%;
  height: auto;
  max-height: 118px;
  object-fit: contain;
  filter: grayscale(1) invert(1) contrast(1.6) brightness(1.25);
  mix-blend-mode: screen;
}

.game_schedule .schedule_year {
  grid-area: year;
  justify-self: start;
  padding: 3px 9px 2px;
  border-radius: 3px;
  color: #a3d5c0;
  background: #153650;
  box-shadow: inset 0 0 0 1px rgba(163, 213, 192, .44);
  font: normal 16px/1 "lakesfont", sans-serif;
  letter-spacing: .07em;
}

.game_schedule .schedule_dates {
  grid-area: dates;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 9px;
  margin: 9px 0 15px;
  font: normal clamp(32px, 3vw, 41px)/1 "lakesfont", sans-serif;
}

.game_schedule time {
  white-space: nowrap;
}

.game_schedule .schedule_day {
  margin-left: 2px;
  color: #d7e0e8;
  font-size: .45em;
  letter-spacing: .025em;
}

/* 曜日と試合開始時刻を、日付の高さの中に2段で並べる */
.game_schedule time:has(.schedule_meta) {
  display: inline-flex;
  align-items: center;
}

.game_schedule .schedule_meta {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: .2em;
  margin-left: .3em;
  font-size: .36em;
  line-height: 1;
}

.game_schedule .schedule_meta .schedule_day {
  margin-left: 0;
  font-size: 1em;
}

.game_schedule .schedule_tip {
  color: #a3d5c0;
  letter-spacing: .03em;
}

.game_schedule .schedule_opponent {
  grid-area: opponent;
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 1.4;
  text-align: left;
}

.game_schedule .schedule_vs {
  margin-right: .35em;
  color: #d7e0e8;
  font: normal 16px/1 "lakesfont", sans-serif;
}

.game_schedule .schedule_info {
  grid-area: info;
  align-self: end;
  justify-self: stretch;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
  min-height: 44px;
  padding: 8px 14px;
  color: #fff;
  background: #e3007f;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.game_schedule .schedule_info::after {
  content: "";
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.game_schedule .schedule_info:hover {
  background: #c4006e;
}

.game_schedule .schedule_info:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

.game_schedule .schedule_info[hidden] {
  display: none !important;
}

@media (min-width: 960px) {
  .game_schedule .schedule_card {
    /* 3枚とも同じボタン行を確保し、未公開のカードでも行の高さを揃える。 */
    grid-template-rows: auto 1fr auto minmax(56px, auto);
    /* 対戦相手名はカード幅いっぱいに使い、途中で改行されないようにする（ロゴは年・日付の横）。 */
    grid-template-areas: "year crest" "dates crest" "opponent opponent" "info info";
  }

  .game_schedule .schedule_opponent {
    white-space: nowrap;
  }

  .game_schedule .schedule_dates {
    align-self: start;
    font-size: clamp(29px, 2.55vw, 33px);
  }
}

@media (max-width: 959px) {
  .game_schedule .schedule_cards {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-inline: auto;
  }

  .game_schedule .schedule_card {
    grid-template-columns: minmax(0, 1fr) min(36%, 144px);
    min-height: 144px;
    padding: 14px clamp(12px, 4vw, 22px);
  }

  .game_schedule .schedule_watermark {
    right: -6%;
    bottom: -19%;
    width: 56%;
    height: 124%;
  }

  .game_schedule .schedule_crest {
    max-height: 116px;
  }

  .game_schedule .schedule_dates {
    font-size: clamp(29px, 8.4vw, 40px);
  }

  .game_schedule .schedule_opponent {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  /* スマホ：サン・クロレラロゴは13rem→18.2rem（1.4倍）。ロゴの間は6rem */
  .first_section {
    gap: min(6rem, 8dvh);
  }

  .first_section .main_logo {
    width: min(24rem, 45dvh);
  }

  .first_section .sunchlorella_logo {
    width: min(18.2rem, 34dvh);
  }

  /* スマホ：ストーリー文は14px相当にし、スマホ用の細かい改行をやめて行数を減らす */
  .whats_shiga_vibe p {
    margin-top: 2.4rem;
    /* 13px相当。小さいスマホでは12px、タブレット幅では14pxを下限・上限にする */
    font-size: clamp(12px, 1.3rem, 14px);
  }

  /* スマホ：LOGO 見出しは本文（12〜14px）より大きい19px相当。下限17px・上限21px */
  .logo_section .logo_contents .logo_main h2 {
    font-size: clamp(17px, 1.9rem, 21px);
    line-height: 1.6;
    margin-top: min(4.8rem, 48px);
  }

  .logo_section .logo_contents .logo_main p {
    margin-top: min(2.4rem, 24px);
  }

  /* スマホ：「EDITION GAMES」を改行させず1行に収める（SHIGA VIBEの9割の大きさ） */
  .game_section h1 .h1_sub {
    font-size: .9em;
    white-space: nowrap;
  }

  .logo_section .logo_contents .logo_main p,
  .logo_section .logo_contents .logo_desc,
  .color_section .color_list li .color_desc,
  .game_section .game_heading > p,
  .game_section .uniform_contents .uniform_desc,
  .game_section .court_contents .court_desc {
    font-size: clamp(12px, 1.3rem, 14px);
    line-height: 1.9;
  }

  .whats_shiga_vibe p,
  .whats_shiga_vibe p span {
    line-height: 1.8;
  }

  .whats_shiga_vibe p br.sp {
    display: none;
  }

  .whats_shiga_vibe p br.pc {
    display: inline;
  }

  .whats_shiga_vibe .inner {
    max-width: calc(100% - 3.2rem);
  }

  .game_section .game_schedule {
    margin-top: 4rem;
  }
}
.special_goods .goods_teaser {
  margin: 0 auto;
  padding: 0 1.6rem;
  color: white;
  text-align: center;
  font: normal clamp(36px, 6vw, 80px)/1.1 "lakesfont", sans-serif;
}

.special_goods .goods_container[hidden],
.special_goods .goods_container:not([hidden]) + .goods_teaser {
  display: none;
}

.game_section .uniform_images img,
.game_section .court_detail > img {
  display: block;
  width: 100%;
  height: auto;
}

/* !ファーストビュー：SHIGA VIBE GAMES へ移動するボタン（2026-11-18）
   四隅を丸めた半透明のボタン。背景の色が透けて見えるよう、白を薄く重ねてぼかす。
---------------------------------------------------------- */
.first_section .games_anchor_btn {
  /* ロゴ同士の間隔より狭く（4rem）するため、flex の gap 分を差し引く */
  margin-top: calc(min(4rem, 5dvh) - min(8rem, 10dvh));
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.4rem 3.2rem 1.3rem;
  color: #08294d;
  font: normal 2.4rem/1 "lakesfont", sans-serif;
  letter-spacing: .06em;
  background: rgba(255, 255, 255, .28);
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 1.2rem;
  box-shadow: 0 4px 18px rgba(8, 41, 77, .12);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  flex-shrink: 0;
}

/* 下向きの矢印（下へ移動することを示す） */
.first_section .games_anchor_btn::after {
  content: "";
  width: .45em;
  height: .45em;
  margin-top: -.2em;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.first_section .games_anchor_btn:hover {
  background: rgba(255, 255, 255, .45);
}

.first_section .games_anchor_btn:focus-visible {
  outline: 2px solid #08294d;
  outline-offset: 3px;
}

@media screen and (max-width: 768px) {
  .first_section .games_anchor_btn {
    margin-top: calc(min(3.2rem, 4dvh) - min(6rem, 8dvh));
    gap: 1rem;
    padding: 1.2rem 2.4rem 1.1rem;
    font-size: clamp(16px, 1.8rem, 20px);
    border-radius: 1rem;
  }
}

/* アンカー先（#games2627）の見出しは上下に動かさず、フェードだけにする。
   動きがあると、ボタンで移動したあと見出しが上にずれてメニューに隠れるため。 */
#games2627.js-fadeUp {
  transform: none;
}

/* !COLOR：色の四角の上にタイトルと説明文を重ねる（2026-11-18）
   四角（span.color）と文字（div）を同じマスに重ねる。文字が多いときは四角が縦に伸びる。
---------------------------------------------------------- */
.color_section .color_list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4rem;
}

.color_section .color_list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-width: 0;
}

.color_section .color_list li > span.color {
  grid-area: 1 / 1;
  align-self: stretch;
  aspect-ratio: 1 / 1;
}

.color_section .color_list li > div {
  grid-area: 1 / 1;
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  padding: 3.2rem;
}

/* 明るい緑の上はネイビーの文字にする */
.color_section .color_list li > span.green + div {
  color: #08294d;
}

.color_section .color_list li .color_name {
  font-size: 4.8rem;
  line-height: 1;
}

.color_section .color_list li .color_desc {
  margin-top: 0;
  padding: 0;
  line-height: 1.8;
}

@media screen and (max-width: 768px) {
  .color_section .color_list {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.6rem;
  }

  /* スマホは横長にして高さを抑える */
  .color_section .color_list li > span.color {
    aspect-ratio: 3 / 2;
  }

  .color_section .color_list li > div {
    gap: 1.2rem;
    padding: 2rem;
  }

  .color_section .color_list li .color_name {
    font-size: clamp(28px, 3.6rem, 40px);
  }

  .color_section .color_list li .color_desc {
    line-height: 1.7;
  }
}

/* !LOGO：サブロゴ（Shiga / Lakes / S）をメインロゴより小さくする（2026-11-18）
   PC：横1列で、元の大きさの6割。
   スマホ：左に Shiga・Lakes を2段、右に S を2段分の高さで置くグリッド。
---------------------------------------------------------- */
.logo_section .logo_contents .sub_logo_images img {
  height: auto;
}

.logo_section .logo_contents .sub_logo_images img:nth-child(1) {
  width: 18rem;
}

.logo_section .logo_contents .sub_logo_images img:nth-child(2) {
  width: 17.2rem;
}

.logo_section .logo_contents .sub_logo_images img:nth-child(3) {
  width: 7.1rem;
}

/* PC：真ん中の Lakes をページ中央に置き、Shiga と S を左右に同じ間隔で並べる。説明文も中央ぞろえ */
.logo_section .logo_contents .sub_logo_images {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 4rem;
  width: 100%;
}

.logo_section .logo_contents .sub_logo_images img:nth-child(1) {
  justify-self: end;
}

.logo_section .logo_contents .sub_logo_images img:nth-child(3) {
  justify-self: start;
}

.logo_section .logo_contents .logo_desc {
  text-align: center;
}

@media screen and (max-width: 768px) {
  .logo_section .logo_contents .sub_logo_images {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    align-items: center;
    column-gap: min(1.6rem, 20px);
    row-gap: min(.8rem, 10px);
  }

  .logo_section .logo_contents .sub_logo_images img:nth-child(1) {
    grid-area: 1 / 1;
    justify-self: center;
    width: min(15rem, 180px);
  }

  .logo_section .logo_contents .sub_logo_images img:nth-child(2) {
    grid-area: 2 / 1;
    justify-self: center;
    width: min(14.3rem, 172px);
  }

  /* S は Shiga と Lakes の2段分の高さ */
  .logo_section .logo_contents .sub_logo_images img:nth-child(3) {
    grid-area: 1 / 2 / 3 / 3;
    width: min(13.3rem, 160px);
  }
}

/* !GAME以降の背景トーン：PSD（shigavibe2026_#0_4×5）の背景に合わせた版（2026-11-18・試作）
   左上=白っぽい光、左下=ピンク、右=ティール、右下=濃い色。網点（ドット）を薄く重ねる。
   元の3色たて縞に戻すときは、このまとまりを丸ごと消す。
---------------------------------------------------------- */
.bg-overlay-gradient {
  background:
    radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1.6px) 0 0 / 7px 7px,
    radial-gradient(ellipse 70% 60% at 0% 100%, rgba(214, 16, 106, .92) 0%, rgba(188, 19, 67, .70) 35%, rgba(188, 19, 67, 0) 75%),
    radial-gradient(ellipse 65% 75% at 100% 45%, rgba(58, 165, 168, .88) 0%, rgba(42, 140, 148, .60) 40%, rgba(42, 140, 148, 0) 80%),
    radial-gradient(ellipse 60% 55% at 100% 100%, rgba(4, 22, 26, .95) 0%, rgba(10, 40, 46, .65) 45%, rgba(10, 40, 46, 0) 85%),
    linear-gradient(135deg, rgba(236, 232, 236, .62) 0%, rgba(150, 120, 140, .45) 45%, rgba(20, 45, 52, .70) 100%) !important;
}

/* !セクション間の余白を詰める・動画の位置・ストーリー見出し（2026-11-18）
   背景がなめらかに切り替わる余白は残しつつ、上下の空きを約6割に。
   元に戻すときは、このまとまりを丸ごと消す。
---------------------------------------------------------- */
.whats_shiga_vibe,
.logo_section,
.color_section,
.game_section {
  padding: 12rem 0;
}

.special_goods {
  padding-bottom: 12rem;
}

/* 公式動画：COLORとGAMEの境目に置き、下の「SHIGA VIBE EDITION GAMES」見出しとの間をあける */
.game_section .game_video {
  width: 95.2rem;
  max-width: 100%;
  margin: 0 auto 14rem;
}

/* 動画は上下に動かさずフェードだけにする（下から浮き上がる途中で見出しに近づき、余白がなく見えるため） */
.game_section .game_video.js-fadeUp {
  transform: none;
}

/* 「SHIGA VIBE STORY」を1行で表示 */
.whats_shiga_vibe h1.story_title {
  white-space: nowrap;
}

@media screen and (max-width: 768px) {
  .whats_shiga_vibe,
  .logo_section,
  .color_section,
  .game_section {
    padding: 9.6rem 0;
  }

  .special_goods {
    padding-bottom: 9.6rem;
  }

  .game_section .game_video {
    margin-bottom: 9.6rem;
  }

  /* スマホ幅でも1行に収まる大きさ */
  .whats_shiga_vibe h1.story_title {
    font-size: 5.6rem;
  }
}

/* !公式動画を一時的に非表示（2026-11-18）
   動画を入れ替えるまで隠す。HTMLの iframe はそのまま残してある。
   新しい動画にしたら、index.html の iframe の src を差し替え、このまとまりを丸ごと消す。
---------------------------------------------------------- */
.game_section .game_video {
  display: none;
}

/* !GAME：メインKV（16:9）を1枚で表示（2026-11-18）
   以前の「KV2枚並べ（game_kv_list）」の代わり。リンクなし。
---------------------------------------------------------- */
.game_section .game_kv_main {
  margin: 4.8rem 0 0;
}

.game_section .game_kv_main img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

@media screen and (max-width: 768px) {
  .game_section .game_kv_main {
    margin-top: 3.2rem;
  }
}
