/* html, body { height: 100%; } */
html {
  scroll-behavior: smooth;
}
body:not(.obs) {
  background:radial-gradient(ellipse at center, rgba(255,254,234,1) 0%, rgba(255,254,234,1) 35%, #B7E8EB 100%);
  /* overflow: hidden; */
  overflow-y: auto;
}

body:not(.obs) .ocean { 
  height: 5%;
  width:100%;
  position:fixed;
  bottom:0;
  left:0;
  background: #015871;
  z-index: 0;
}

body:not(.obs) .wave {
  background: url(/images/wave.svg) repeat-x; 
  position: absolute;
  top: -198px;
  width: 6400px;
  height: 198px;
  animation: wave 15s cubic-bezier( 0.36, 0.45, 0.63, 0.53) infinite;
  transform: translate3d(0, 0, 0);
}

body:not(.obs) .wave:nth-of-type(2) {
  top: -175px;
  animation: wave 15s cubic-bezier( 0.36, 0.45, 0.63, 0.53) -.125s infinite, swell 7s ease -1.25s infinite;
  opacity: 1;
}

@keyframes wave {
  0% {
    margin-left: 0;
  }
  100% {
    margin-left: -1600px;
  }
}

@keyframes swell {
  0%, 100% {
    transform: translate3d(0,-25px,0);
  }
  50% {
    transform: translate3d(0,5px,0);
  }
}

.wrap {
  background: url(/images/bg_l.png) no-repeat left top 10vh, url(/images/bg_r.png) no-repeat right top;
  background-size: 350px auto;
  /* height: 100vh;
  position: relative; */
  position: relative;
  z-index: 10;
  min-height: 100vh;
  padding-bottom: 50px;
}

.title {
  font-size: 2rem;
  text-align: center;
}

.map {
  width: 750px;
  margin: 0 auto;
  padding-top: 50px;
  position: relative;
}

.btn-wrap {
  position: fixed;
  height: 100px;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.btn {
  position: absolute;
  display: block;
  width: 150px;
  text-align: center;
  z-index: 9999;
  transition-property: opacity;
  transition-duration: 0.5s;
}
.btn:hover {
  opacity: .75;
}
.btn.ftr {
  border-radius: 15px 15px 0 0;
  background: #fff;
  color: #264d6d;
  padding: 10px;
  bottom: 0;
  left: auto;
  right: 20px;
  box-shadow: 5px 3px 0px #d12c23;
}

.modalcontent {
  display: none;
}
.modaal-container {
  max-width: 700px;
  text-align: center;
}
/* .modaal-content {
  background: linear-gradient(
    180deg,
    #f3efe6,
    #e6dcc8
  );
  border-radius: 16px;
  box-shadow:
    0 30px 80px rgba(0,0,0,.45);
} */
.modaal-content {
  background:
    linear-gradient(
      rgba(0,0,0,0.15),
      rgba(0,0,0,0.505)
    ),
    url("/images/77692f40-bdc4-47d1-9ff5-a9cca5bd09cc.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.modaal-close:after,
.modaal-close:before {
  background:#ccc;
}
.modaal-close:focus:after,
.modaal-close:focus:before,
.modaal-close:hover:after,
.modaal-close:hover:before {
  background:#333;
}

.prefecture {
  cursor: pointer;
  opacity: 1;
  visibility: visible;
}
.prefecture:hover {
  opacity: .8;
}

.modaaltitle {
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 10px;
  text-align: center;
}

.clm3wrap {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin: 0 auto;
  gap: 15px;
}

.clm3wrap .wrapitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(100% / 4);
}

.itemimg {
  width: 75px;
  height: 75px;
  background: #ccc;
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.playerbox {
  font-weight: bold;
}
.playerbox>dt {
  font-style: 2rem;
}

.is-fadein {
  opacity: .5;
  visibility: hidden;
  transition: 300ms;
}

.modal01 {
  cursor: pointer;
  transition-property: opacity;
  transition-duration: 0.5s;
}
.modal01:hover {
  /* fill: orange;
  stroke: orange; */
  opacity: .75;
}

.cls-0 {
  fill: transparent;
}
.cls-1 {
  fill: #58991b;
  filter: drop-shadow(0 0  10px #fff);
  background: #58991b !important;
  stroke: #fff;
  stroke-width: 3px;
}

.mv {
  text-align: center;
  position: absolute;
  top: 10px;
}

.mv>img {
  width: 300px;
}

.obs {
  background: #000a9c;
  height: 100vh;
}

.obs .cls-0 {
  fill: #000a9c;
}

.togoWrap {
  width: 430px;
  margin: 0 auto;
  font-size: 1.3rem;
  background: #fff;
  padding: 5px;
  position: absolute;
  top: 170px;
}
.togoWrap>h2 {
  font-weight: bold;
  text-align: center;
  margin-bottom: 5px;
}
.togoWrap .kenItem {
  display: flex;
  align-items: center;
}
.togoWrap .kenItem>p {
  font-weight: bold;
  line-height: 1;
  margin-left: 5px;
}
.togoWrap .itemBlock {
  width: 30px;
  height: 30px;
  background: #ccc;
  display: inline-block;
}
.kenWrap {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

/* team color */
/* .team01 {
  fill: #246927;
  background: #246927 !important;
  stroke: #ffffff80;
  stroke-width: 5;
}
.team02,
.Kochi {
  fill: #7c1015;
  background: #7c1015!important;
  stroke: #ffffff80;
  stroke-width: 5;
}
.team03,
.Osaka {
  fill: #ffd700;
  background: #ffd700!important;
  stroke: #ffffff80;
  stroke-width: 5;
}
.team04,
.Kochi {
  fill: #ff9d52;
  background: #ff9d52!important;
  stroke: #ffffff80;
  stroke-width: 5;
}
.team05,
.OKNW {
  fill: #9c2d61;
  background: #9c2d61!important;
  stroke: #ffffff80;
  stroke-width: 5;
}
.team06,
.TOTIGI {
  fill: #eeff00;
  background: #eeff00 !important;
  stroke: #ffffff80;
  stroke-width: 5;
}
.team08,
.FKSM {
  fill: #ff7c9b;
  background: #ff7c9b !important;
  stroke: #ffffff80;
  stroke-width: 5;
}
.team09,
.Hokkai {
  fill: #d30f18;
  background: #d30f18 !important;
  stroke: #ffffff80;
  stroke-width: 5;
}
.team10 {
  fill: #8f683b;
  background: #8f683b !important;
  stroke: #ffffff80;
  stroke-width: 5;
}
.team10 {
  fill: #c327c9;
  background: #c327c9 !important;
  stroke: #ffffff80;
  stroke-width: 5;
}
.team99,
.null {
  fill: #fefeff;
  stroke: #ccc;
  stroke-width: 5;
  background: #fefeff !important;
  border: 2px solid #ccc !important;
} */

@keyframes blink {
  0% {opacity: .5;}
  100% {opacity: 1;}
}

body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  background: #0f0f0f;
  color: #eee;
}

h2.section-title {
  font-family: 'Hina Mincho', serif;
  text-align: center;
  font-size: 2.5rem;
  margin: 3rem 0 2rem;
  color: #c9a24d;
  letter-spacing: .15em;
}

.faction {
  /* max-width: 1100px; */
  /* margin: 0 auto 4rem; */
  padding: 0 1rem;
}

.faction-name {
  font-family: 'Hina Mincho', serif;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  border-left: 6px solid #8b1e1e;
  padding-left: .8rem;
  color: #f1d28a;
}

.modal-header {
  position: relative;
  background: rgba(246, 241, 231, 0.9);
  backdrop-filter: blur(2px);
  padding: 1.6rem 1rem 1.4rem;
  margin-bottom: 1.8rem;
  border-bottom: 4px solid #c9a24d;
  box-shadow:
    0 6px 14px rgba(0,0,0,.28),
    inset 0 -1px 0 rgba(0,0,0,.08);
  text-align: center;
}

.modal-header::after {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  bottom: -7px;
  height: 2px;
  background: rgba(201,162,77,.55);
}

.modal-header::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 15%;
  width: 5px;
  height: 70%;
  background: linear-gradient(
    180deg,
    #b33,
    #7a1c1c
  );
}

.pref-name {
  font-family: 'Hina Mincho', serif;
  font-size: 2rem;
  letter-spacing: .25em;
  color: #8b1e1e;
  line-height: 1;
    text-shadow:
    0 1px 0 #fff,
    0 2px 6px rgba(0,0,0,.25);
}

.member-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

@media (max-width: 900px) {
  .member-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .member-grid {
    grid-template-columns: 1fr;
  }
}

.member-card {
  background: linear-gradient(180deg, #1a1a1a, #111);
  border: 2px solid #6d4d1b;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,.6);
}
.member-image {
  background: linear-gradient(
    180deg,
    #f9f4e8,
    #e6dcc6
  );
  border-radius: 10px 10px 0 0;
  padding: 8px 8px 0 8px;
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.08),
    inset 0 8px 16px rgba(0,0,0,0.08);
  overflow: hidden;
}

.member-image img {
  filter:
    drop-shadow(0 4px 6px rgba(0,0,0,0.25))
    blur(0.0001px);
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  image-rendering: auto;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.member-image.set01 img {
  transform: scale(1.5);
}
.member-image.set02 img {
  transform: scale(1.2);
}
.member-image.set03 img {
  object-position: 50% -80%;
}
.member-image.set04 img {
  object-position: 50% -40%;
}
.member-image.set05 img {
  transform: scale(1.5) translateY(20%);
}
.member-image.set05_01 img {
  transform: scale(1.5) translateY(10%);
}
.member-image.set06 img {
  transform: scale(1.5) translateY(20%) translateX(-11%);
}
.member-image.set07 img {
  object-position: 50% 0%;
}
.member-image.set08 img {
  transform: scale(1.5) translateY(5%);
}
.member-image.set09 img {
  transform: scale(2.5) translateY(20%) translateX(-15%);
}
.member-image.set10 img {
  transform: scale(1.5) translateY(20%) translateX(15%);
}
.member-image.set11 img {
  transform: scale(3.5) translateY(31%) translateX(0%);
}
.member-image.set11 img {
  transform: scale(2.5) translateY(25%) translateX(5%);
  object-position: 50% 0%;
}
.member-image.set12 img {
  transform: scale(2.5) translateY(25%) translateX(-9%);
  object-position: 50% 0%;
}
.member-image.set13 img {
  object-position: 100% 0;
  transform: scale(1.7) translateY(9%) translateX(-12%);
}

.member-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  filter: saturate(1.1) contrast(1.05) drop-shadow(0 4px 6px rgba(0,0,0,0.25)) blur(0.0001px);
  object-position: 50% 10%;
}


.member-info {
  padding: .6rem .4rem .9rem;
}

.member-name {
  font-weight: 700;
  margin: .3rem 0;
  color: #fff;
}

.member-platform a {
  font-size: .85rem;
  color: #c9a24d;
  text-decoration: none;
  display: block;
}

.member-platform a:hover {
  text-decoration: underline;
  color: #f5e4b8;
}

/* モバイル調整 */
@media (max-width: 600px) {
  h2.section-title {
    font-size: 2rem;
  }
  .faction-name {
    font-size: 1.4rem;
  }
}

/* ===== モーダル背景 ===== */
.modaal-overlay {
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(2px);
}

/* ===== コンテナ（白殺し） ===== */
.modaal-container {
  background: none;
  box-shadow: none;
}

/* ===== 中身（和紙） ===== */
.modaal-content-container {
  /* background: url("/assets/img/washi.png") center / cover; */
  padding: 2.2rem;

  /* 初期状態 */
  opacity: 1;
  transform: translateY(0);
}

/* ===== アニメ用：開く直前 ===== */
.modaal-wrapper.modaal-opening .modaal-content-container {
  opacity: 0;
  transform: translateY(-40px) scale(.96);
}

/* ===== 開いた後 ===== */
.modaal-wrapper.is-active .modaal-content-container {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    transform .45s cubic-bezier(.22,1,.36,1),
    opacity .35s ease;
}

/* ===== 閉じる ===== */
.modaal-wrapper.is-closing .modaal-content-container {
  opacity: 0;
  transform: translateY(-20px) scale(.98);
}

.member-page-wrap {
  width: 700px;
  margin: 0 auto;
}

.member-page-wrap > .mv {
  position: relative;
}

.member-page-wrap > .faction {
  margin-top: 50px;
}

/* rule page */
.rule-page-wrap {
  max-width: 100%;
  margin: 0 auto;
  font-family: "Yuji Syuku", serif;
}
.rule-page-wrap > .mv {
  position: relative;
}

.title {
  font-family: 'Hina Mincho', serif;
}

.ofuregaki {
  max-width: 700px;
  padding: 18px 10px;
  margin: 0 auto;
  background:
    repeating-linear-gradient(
      90deg,
      #caa46a,
      #caa46a 6px,
      #c19a5d 12px
    );
  border: 2px solid #1f140c;
  border-radius: 4px 8px 5px 7px;
  box-shadow:
    0 10px 24px rgba(0,0,0,.45),
    inset 0 0 28px rgba(0,0,0,.18);
  color: #111;
  filter: saturate(.95) contrast(1.05);
  font-weight: 500;
}
.ofuregaki:hover {
  animation: sway .4s ease-in-out;
}
@keyframes sway {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(0.6deg); }
  100% { transform: rotate(0deg); }
}

.ofuregaki+.ofuregaki {
  margin-top: 30px;
}

.ofuregaki h3 {
  text-align: center;
  margin: 0 0 14px;
  letter-spacing: .15em;
  font-weight: bold;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}
.ofuregaki h3::before,
.ofuregaki h3::after {
  content: "";
  display: block;
  height: 4px;
  background: #1f140ca1;
  flex-grow: 1;
}
.ofuregaki h3::before {
  left: 0;
  margin-right: 1rem;
}
.ofuregaki h3::after {
  right: 0;
  margin-left: 1rem;
}

.ofuregaki hr {
  background: rgba(0,0,0,.25);
  height: 2px;
}

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

.ofuregaki li {
  margin-bottom: 10px;
  line-height: 1.7;
  position: relative;
  padding-left: 1.8em;
}

.ofuregaki .dot li {
  padding-left: 1em;
}

.ofuregaki li::before {
  content: "一、";
  position: absolute;
  left: 0;
}
.ofuregaki .dot li::before {
  content: "●";
  position: absolute;
  left: 0;
  font-size: 0.5em;
  top: 1em;
}

.ofuregaki strong {
  font-weight: 900;
}

.ofuregaki-paper {
  background: rgba(255,255,255,.25);
  padding: 14px 16px;
  box-shadow: inset 0 0 12px rgba(0,0,0,.08);
}

.note-list {
  margin-top: 14px;
  padding-top: 8px;
  list-style: none;
}

.note-list li {
  font-size: 0.8em;
  line-height: 1.6;
  color: #1a1a1a;
  text-shadow: 0.25px 0.25px 0 rgba(0,0,0,.25);
  padding-left: 1.4em;
  text-indent: -1.4em;
  margin-bottom: 4px;
}

.note-list li::before {
  content: "※";
  margin-right: 0.3em;
}

.tac {
  text-align: center;
}
.tal {
  text-align: left;
}
.dib {
  display: inline-block;
}

.fz1_1 {
  font-size: 1.1em;
}
.fz1_25 {
  font-size: 1.25em;
}
.fz1_5 {
  font-size: 1.5em;
}

.fwb {
  font-weight: 900;
}

.mb00 {
  margin-bottom: 0 !important;
}