@charset "utf-8";
/* 一般 */
div,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,abbr,address,cite,code,del,dfn,em,img,ins,kbd,q,samp,small,strong,sub,sup,var,b,i,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary,time,mark,audio,video,input,textarea {
  margin: 0;
  padding: 0;
  border: none;
  font-size: 100%;
  font-style: normal;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
/* 丸枠 */
.circle-box {
  width: 100%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.circle-container {
  width: clamp(320px, 70vw, 460px);
  height: clamp(320px, 70vw, 460px);
  border-radius: 50%;
  background-color: #f5ecd7;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
.text-content {
  text-align: center;
  line-height: 2.5;
}
.text-content p {
  margin: 0;
  font-size: clamp(0.813rem, 0.707rem + 0.47vw, 1rem);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  color: #333;
}
.illustration {
  width: 24%;
  min-width: 100px;
  max-width: 140px;
  height: auto;
  margin-top: -50px;
  object-fit: contain;
}
@media screen and (max-width: 575px) {
  .text-content { line-height: 2; }
  .illustration { margin-top: -50px; }
}
@media screen and (max-width: 468px) {
  .illustration { margin-top: -40px; }
}

/* ゲームメニュータイトル */
.title-box {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
.title-box span {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: clamp(1.875rem, 1.607rem + 1.19vw, 2.5rem);
  font-weight: 700;
  stroke-width: 0.01rem;
  stroke: #000;
  text-shadow: 1px 1px 1px #000000;
  color: #EC6A52;
}
h2 > span{
  display: inline-block;
  animation: wave-text 4s ease-in-out infinite;
}
h2 > span:nth-of-type(1){ animation-delay: 0s; }
h2 > span:nth-of-type(2){ animation-delay: 0.4s; }
h2 > span:nth-of-type(3){ animation-delay: 0.8s; }
h2 > span:nth-of-type(4){ animation-delay: 1.2s; }
h2 > span:nth-of-type(5){ animation-delay: 1.6s; }
h2 > span:nth-of-type(6){ animation-delay: 2s; }
h2 > span:nth-of-type(7){ animation-delay: 2.4s; }
h2 > span:nth-of-type(8){ animation-delay: 2.8s; }
@keyframes wave-text{
  0% { transform: translateY(0em); }
  60%{ transform: translateY(-0.3em); }
  100%{ transform: translateY(0em); }
}

/* ゲームタイトル */
.game-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
.game-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  justify-items: center;
  box-sizing: border-box;
}
.game-card {
  width: 100%;
  max-width: 350px;
  text-align: center;
  margin-top: 80px;
  padding: 0;
}
.game-box, .game-box2 {
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 3fr 7fr;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-sizing: border-box;
}
.game-box2 {
  max-width: 400px;
}
.game-number {
  text-align: right;
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-size: clamp(2.188rem, 2.054rem + 0.6vw, 2.5rem);
  font-weight: 400;
  color: #64ACE9;
  text-decoration: overline;
}
.game-product {
  text-align: left;
  line-height: 1.3;
}
h3.game-nihongo {
  margin: 0;
  padding: 0;
  font-size: clamp(1.313rem, 1.205rem + 0.48vw, 1.563rem);
  font-family: "Kaisei Opti" , serif;
  font-weight: 700;
  color: #160c28;
  -webkit-text-stroke-width: 0.02rem;
  stroke-width: 0.02rem;
}
p.game-eigo {
  margin: 0;
  padding: 0;
  font-size: clamp(0.813rem, 0.759rem + 0.24vw, 0.938rem);
  font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
  font-weight: 400;
  color: #160c28;
}
.game-shoukai {
  text-align: center;
  font-family: "Noto Sans JP", sans-serif;
  margin: 0;
  padding: 0;
  font-size: clamp(0.938rem, 0.911rem + 0.12vw, 1rem);
  font-weight: 400;
  color: #160c28;
}
.game-img-button {
  margin: 0 20px;
  padding: 20px 0;
  border-radius: 20px;
  background: linear-gradient(135deg, #3c3c3c 0%, #5a5a5a 25%, #7a7a7a 50%, #5a5a5a 75%, #3c3c3c 100%);
  border: 3px solid #d4af37;
  box-shadow: inset 0 2px 4px rgb(0 0 0 / .9);
}
.game-img {
  width: auto;
  height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 2px 10px rgb(0 0 0 / .9));
}
@media (min-width: 768px) {
  .game-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .game-card { margin-top: 0; }
}

/* カードカルーセル */
.goods-container {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  perspective: 1500px;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  overflow: hidden;
  z-index: 2;
}
.goods-wrapper {
  position: relative;
  width: 400px;
  height: 670px;
  overflow: visible;
  margin: 20px auto 0;
}
.goods-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.goods-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0 0 0 / .8);
}
.goods-card {
  position: absolute;
  width: 100%;
  padding: 20px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  transform-origin: center center;
  backface-visibility: hidden;
  background: linear-gradient(135deg, #3c3c3c 0%, #5a5a5a 25%, #7a7a7a 50%, #5a5a5a 75%, #3c3c3c 100%);
  border: 4px solid #d4af37;
  box-shadow: inset 0 2px 4px rgb(0 0 0 / .9);
}
/* デフォルト状態：右に積み重なって待機 */
.goods-card {
  transform: translateX(120%) scale(0.7);
  opacity: 0;
  z-index: 0;
}
/* アクティブカード：中央に表示 */
.goods-card.active {
  box-sizing: border-box;
  transform: translateX(0) scale(1);
  opacity: 1;
  z-index: 10;
  box-shadow: 0 0 20px rgba(102 126 234 / .4);
}
/* 左に去ったカード */
.goods-card.prev {
  transform: translateX(-120%) scale(0.7);
  opacity: 0;
  z-index: 0;
}
/* 前のカードを少し見せる */
.goods-card.prev-preview {
  box-sizing: border-box;
  transform: translateX(-40%) scale(0.8);
  opacity: 0.3;
  z-index: 5;
}
/* 次に来るカードを少し見せる */
.goods-card.next-preview {
  box-sizing: border-box;
  transform: translateX(40%) scale(0.8);
  opacity: 0.3;
  z-index: 5;
}
.goods-title {
  width: fit-content;
  margin: -25px auto 10px;
  color: #FFEE00;
  font-family: "craft", serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.6;
  text-shadow: 0 0 5px rgba(0 0 0 / .9);
  background: rgba(255 255 255 / .1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255 255 255 / .2);
  border-radius: 16px;
  padding: 5px 10px;
  box-shadow: 0 8px 32px 0 rgba(0 0 0 / .1);
}
.goods-description {
  font-size: 16px;
  line-height: 1.6;
  color: white;
  margin: 0 0 10px;
  padding: 0;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}
.goods-controls {
  width: 95%;
  max-width: 240px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto 20px;
  padding: 0;
}
.goods-control-btn {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(102 126 234 / .9);
  position: relative;
  overflow: hidden;
}
.goods-control-btn::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(255 255 255 / .3);
  transform: translateX(-100%) rotate(45deg);
  transition: transform 0.6s;
}
.goods-control-btn:hover::before {
  transform: translateX(100%) rotate(45deg);
}
.goods-control-btn:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 20px rgba(102 126 234 / .4);
}
.goods-control-btn:active {
  transform: scale(0.95);
}
.goods-dots-container {
  display: flex;
  gap: 10px;
}
.goods-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e0;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}
.goods-dot::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s ease;
}
.goods-dot.active::after {
  opacity: 1;
  transform: scale(1);
}
.goods-dot.active {
  width: 20px;
  border-radius: 5px;
}
/* リンクボタン */
@property --gradient-angle-with {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}
.color-button {
  display: flex;
  margin: 0 auto;
  position: relative;
  padding: 12px 28px;
  font-family: "Gill sans", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.2em;
  border: 1px solid transparent;
  border-radius: 50px;
  color: white;
  background: 
    linear-gradient(#4098ff, #4058ff) padding-box,
    conic-gradient(
      from var(--gradient-angle-with),
      transparent,
      gold 5%,
      white 10%,
      gold 15%,
      transparent 20%
    ) border-box;
  cursor: pointer;
  animation: rotate-with 3s linear infinite;
  overflow: hidden;
}
@keyframes rotate-with {
  to { --gradient-angle-with: 360deg; }
}
.color-button:active { translate: 0 1px; }
.color-button::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 0;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(-50deg, transparent, gold, transparent);
  mask-image: radial-gradient(circle at bottom, transparent 40%, black);
  opacity: 0.6;
  pointer-events: none;
  animation: 
    rotate-element 3s linear infinite,
    rotate-element calc(3s / 0.4) linear infinite reverse paused;
  animation-composition: add;
}
@keyframes rotate-element { to { rotate: 360deg; } }
.color-button span {
  position: relative;
  z-index: 1;
}
@media screen and (max-width: 480px) and (min-width: 390px) {
  .goods-wrapper { width: 330px; height: 570px; }
  .goods-card.prev-preview { transform: translateX(-24%) scale(0.75); }
  .goods-card.next-preview { transform: translateX(24%) scale(0.75); }
  .goods-title { font-size: 23px; }
  .goods-description { font-size: 15px; }
  .color-button { font-size: 15px; }
  .goods-card { padding: 20px 15px; }
}
@media screen and (max-width: 389px) and (min-width: 360px) {
  .goods-wrapper { width: 300px; height: 570px; }
  .goods-card.prev-preview { transform: translateX(-24%) scale(0.75); }
  .goods-card.next-preview { transform: translateX(24%) scale(0.75); }
  .goods-title { font-size: 23px; }
  .goods-description { font-size: 15px; }
  .color-button { font-size: 15px; }
  .goods-card { padding: 20px 15px; }
}
@media screen and (max-width: 359px) {
  .goods-wrapper { width: 260px; height: 520px; }
  .goods-card.prev-preview { transform: translateX(-24%) scale(0.75); }
  .goods-card.next-preview { transform: translateX(24%) scale(0.75); }
  .goods-title { font-size: 22px; }
  .goods-description { font-size: 14px; }
  .color-button { font-size: 14px; }
  .goods-card { padding: 15px; }
}

/* アニメーション */
.bounce-in-bck {
  opacity: 0;
}
.bounce-in-bck.inView {
  animation: bounce-in-bck 1.1s both;
  -webkit-animation: bounce-in-bck 1.1s both;
}
@keyframes bounce-in-bck {
  0% {
    transform: scale(10);
    animation-timing-function: ease-in;
    opacity: 0;
  }
  38% {
    transform: scale(1);
    animation-timing-function: ease-out;
    opacity: 1;
  }
  55% {
    transform: scale(1.5);
    animation-timing-function: ease-in;
    opacity: 1;
  }
  72% {
    transform: scale(1);
    animation-timing-function: ease-out;
    opacity: 1;
  }
  81% {
    transform: scale(1.24);
    animation-timing-function: ease-in;
    opacity: 1;
  }
  89% {
    transform: scale(1);
    animation-timing-function: ease-out;
    opacity: 1;
  }
  95% {
    transform: scale(1.04);
    animation-timing-function: ease-in;
    opacity: 1;
  }
  100% {
    transform: scale(1);
    animation-timing-function: ease-out;
    opacity: 1;
  }
}

/* ページトップへ戻るボタン */
.back-to-top {
  height: 46px;
  width: 46px;
  margin: 60px 5px 30px auto;
  background: #AABBEE;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}
.back-to-top-arrow {
  height: 10px;
  width: 10px;
  border-top: 3px solid white;
  border-right: 3px solid white;
  transform: translateY(20%) rotate(-45deg);
}

/* 画像 */
.gazou-waku {
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

/* フッター */
.noasobi {
  width: 14%;
  min-width: 200px;
  height: auto;
}
@media screen and (max-width: 768px) and (min-width: 481px) {
  .noasobi { width: 35%; max-width: 200px; }
}
@media (max-width: 480px) {
  .noasobi { width: 30%; min-width: 150px; }
}
.footer {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 20px 0 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-weight: 400;
  background-color: #fdfbf3;
}
.link-container {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  color: #160c28;
}
.link-list {
  list-style: none;
  padding: 0;
}
.link-list li {
  position: relative;
  padding-left: 15px;
  margin-bottom: 5px;
  line-height: 1.6;
}
.link-list li a {
  color: #160c28;
}
.link-list li::before {
  content: "→";
  position: absolute;
  left: 0;
}
.footer-copyright {
  width: 100%;
  height: 50px;
  background: #000;
  display: flex;
  align-items: center;
}
.footer-copyright p {
  color: white;
  font-size: 13px;
  margin-left: auto;
  margin-right: 5px;
}
/* スペース */
.space-5 { margin-top: -5px; }
.space-10 { margin-top: -10px; }
.space-15 { margin-top: -15px; }
.space-20 { margin-top: -20px; }
.space-30 { margin-top: -30px; }
.space-40 { margin-top: -40px; }
.space-50 { margin-top: -50px; }
.space-60 { margin-top: -60px; }
.space10 { margin-top: 10px; }
.space20 { margin-top: 20px; }
.space30 { margin-top: 30px; }
.space40 { margin-top: 40px; }
.space50 { margin-top: 50px; }
.space60 { margin-top: 60px; }
.space80 { margin-top: 80px; }
.space100 { margin-top: 100px; }
.space120 { margin-top: 120px; }
.space200 { margin-top: 200px; }
.space300 { margin-top: 300px; }
.space400 { margin-top: 400px; }
.botomu10 { margin-bottom: 10px; }
.botomu40 { margin-bottom: 40px; }
/* 画像大きさ */
.haba90 { width: 90%; }
.haba80 { width: 80%; }
.haba70 { width: 70%; }
.haba60 { width: 60%; }
.haba50 { width: 50%; }
.haba45 { width: 45%; }
.haba40 { width: 40%; }
.haba30 { width: 30%; }
.haba20 { width: 20%; }
.haba15 { width: 15%; }
.haba10 { width: 10%; }
.haba15-20 { width: 15%; }
@media (max-width: 480px) {
  .haba15-20 { width: 20%; }
}
.gazou-waku img {
  height: auto;
  object-fit: contain;
}
/* フォント */
@font-face {
    src: url("https://miyajima-noasobi.com/fonts/NotoSansJP-Regular.woff2") format("woff2");
    font-family: "Noto Sans JP";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    src: url("https://miyajima-noasobi.com/fonts/GIL_____.woff2") format("woff2");
    font-family: "Gill sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    src: url("noasobi-kaiseiopti-400.woff2") format("woff2");
    font-family: "Kaisei Opti";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    src: url("noasobi-kaiseiopti-700.woff2") format("woff2");
    font-family: "Kaisei Opti";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}
@font-face {
    src: url("noasobi-craftmincho.woff2") format("woff2");
    font-family: "craft";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}