@charset "UTF-8";
.purchase-btn {
  position: fixed;
  bottom: 20px;
  right: -10px;
  display: inline-block;
  padding: 20px 50px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  letter-spacing: 30px;
  background: url("../image/yellow-(1).png") no-repeat center center / cover;
  filter: drop-shadow(0 0 2px rgba(255, 255, 255, 1));
  z-index: 9999;
  transition: all 0.3s ease;
}
.purchase-btn:hover {
  color: #fff;
  text-shadow:
    0 0 5px #002B2A,
    0 0 10px #002B2A,
    0 0 20px #002B2A,
    0 0 40px #002B2A;
  transform: scale(1.05);
  opacity: 0.95;
}

body {
    background-color: #000000;
    color: #fff;
    font-family: "Shippori Mincho",serif;
    margin: 0;
    padding: 0;
    width: 100%;
    height: auto;
}
#top .first-view {
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.steam-video {
   position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  object-fit: cover;
  pointer-events: none;
  mix-blend-mode: screen;
  z-index: 1;
}
.fog-image {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
  pointer-events: none;

  mix-blend-mode: screen;
  z-index: -2; 
}
header {
  height: 72px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50;
}
header h1 {
  padding-top: 18px;
  padding-bottom: 2px;
  width: 14%;
  margin: 10px;
}
header h1 img {
  width: 210px;
  height: 42px;
  filter: drop-shadow(0 4px 10px rgba(255, 255, 255, 0.8));
}

.humb-button-wrap {
  position: relative;
  top: -8vh;
}
.humb-button {
  width: 64px;
  height: 64px;
  position: relative;
  margin-left: 94%;
}
.humb-button span {
  width: 44px;
  height: 4px;
  display: block;
  background-color: #fff;
  position: absolute;
  top: calc(50% - 2px);
  left: calc(50% - 22px);
}
.top-line {
  transform: translateY(-15px);
}
.bottom-line {
  transform: translateY(15px);
}
.humb-button.active .top-line {
  transform: rotate(45deg);
  top: 50%;
}
.humb-button.active .mid-line {
  opacity: 0;
}
.humb-button.active .bottom-line {
  transform: rotate(-45deg);
  top: 50%;
}
.slide-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.95);
  color: #fff;
  z-index: 99;
  transition: right 0.4s ease;
  padding-top: 120px;
}
.slide-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}
.slide-menu li {
  margin: 24px 0;
}
.slide-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  letter-spacing: 1px;
  transition: color 0.2s;
}
.slide-menu a:hover {
  color: #ccc;
}
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 80;
}
.slide-menu.open {
  right: 0;
}
.overlay.show {
  opacity: 1;
  visibility: visible;
}
.main-visual {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  padding-top: 10vh;
  padding-bottom: 10vh;
  gap: 0;
}
.main-visual p {
  margin: 0;
  padding: 0;
}
.dates {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: auto;
}
.logo {
  width: min(55vw, 600px);
  height: auto;
}
.trial-day {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  color: #fff;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}
.sale-day {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 0;
  color: #fff;
  letter-spacing: 5px;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}
.attention {
  font-size: 1rem;
  margin-top: 0;
  color: #ccc;
  opacity: 0.95;
  margin-bottom: 2rem;
  width: 80%;
  max-width: 640px;
  line-height: 1.6;
}
.hero {
  position: absolute;
  top: 0;
  width: 100%;
  height: calc(100vh);
  box-sizing: border-box;
  background-image: url("../image/main-photo.jpg");
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  z-index: -1;
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);

}
.shoping {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh;
  width: 80%;
  margin: 180px auto;
}
.shoping a img {
  width: 240px;
  height: auto;
  margin-bottom: 80px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.6));
}
.btn-wrapper {
  display: flex;
  justify-content: center;
  gap: min(120px, 8vw);
  flex-wrap: nowrap;
  margin: 30px 0;
}
 .btn {
  display: inline-block;
  padding: 1rem 3rem;
  color: #fff;
  background: #180000;
  border: 2px solid #7a0000;
  border-radius: 4px;
  font-size: clamp(16px, 2vw, 28px);
  font-weight: bold;
  letter-spacing: 0.2em;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: 0.2s ease;
  white-space: nowrap;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,0,0,0.35), transparent 70%);
  mix-blend-mode: screen;
  animation: pulse 2.2s infinite ease-in-out;
}
@keyframes pulse {
  0%   { transform: scale(1); opacity: 0.6; }
  50%  { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 0.6; }
}
.btn:hover {
  border-color: #ff0000;
  box-shadow: 0 0 25px rgba(255,0,0,0.6);
  transform: translateY(-2px);
}
#shoping-1 {
    letter-spacing: 0.6em;
  padding: 1rem 6rem; 
}
#shoping-2 {
  letter-spacing: 0.1em;
}
.table-chart {
  margin-top: 120px;
  text-align: center;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center; 
  justify-content: space-between;
  box-sizing: border-box;
}
.price {
  border-collapse: collapse;
  width: 80%;
  background-color: #d9d9d9;
  color: #000;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  table-layout: fixed;
  letter-spacing: 2px;
}
#shop-price {
  width: 90%;
}
.price thead th {
  background-color: #d9d9d9;
  border: 3px solid #000;
  padding: 0.6rem;
  font-weight: bold;
  text-align: center;
  vertical-align: middle;
  text-decoration: underline;
}
.price tbody td {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.2rem 0.8rem;
  line-height: 1.6;
  border: 3px solid #000;
  vertical-align: middle;
  text-align: center;
  height: 100px;
}
.price tbody td:nth-child(2),
.price tbody td:nth-child(4) {
  background-color: #fff;
}
.price thead th:nth-child(2),
.price thead th:nth-child(4) {
  background-color: #fff;
}
.pushase-btn {
  display: inline-block;
  padding: 1rem 4rem;
  margin-top: 100px;
  color: #fff;
  background: #180000;
  border: 2px solid #7a0000;
  border-radius: 4px;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: bold;
  letter-spacing: 0.25em;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: 0.25s ease;
}
.pushase-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255,0,0,0.35), transparent 70%);
  mix-blend-mode: screen;
  animation: pulse-purchase 2.2s infinite ease-in-out;
}
.pushase-btn:hover {
  border-color: #ff0000;
  box-shadow: 0 0 28px rgba(255,0,0,0.65);
  transform: translateY(-2px);
}
@keyframes pulse-purchase {
  0%   { transform: scale(1); opacity: 0.6; }
  50%  { transform: scale(1.2); opacity: 1; }
  100% { transform: scale(1); opacity: 0.6; }
}
.fade-up {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease-out;
}
.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}
.steam-logo.fade-up {transition-delay: 0s; }
.btn-wrapper.fade-up { transition-delay: 0.3s; }
.table-chart.fade-up { transition-delay: 0.6s; }

.subtitle {
  background-image: url("../image/subtitle-photo.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 120vh;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 20%, black 80%, transparent);

}
.subtitle-title {
  color: #fff;
  font-size: clamp(1rem, 3vw, 3rem);
  font-weight: 600;
  text-shadow: 0 0 10px rgba(0,0,0,0.7);
  line-height: 1.5;
  opacity: 0;
  transform: translateX(-40px);
  transition: all 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.subtitle-title.show {
  opacity: 1;
  transform: translateX(0);
}
.red {
  color: #FF002B;
}
.story {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  height: 80vh;
  text-align: center;
  color: #fff;
  line-height: 1.8;
}
.story-top {
  font-size: clamp(1rem, 1.8vw, 1.8rem);
}
.story-mid {
  font-size: clamp(0.8rem, 1.4vw, 1.4rem);
  opacity: 0.9;
}
.story-bottom {
  font-size: clamp(1rem, 1.8vw, 1.8rem);
}
.story p {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s ease, transform 1.2s ease;
   text-shadow: 0 0 10px rgba(0,0,0,0.7);
}
.story p.show {
  opacity: 1;
  transform: translateY(0);
}
.story-top.show {
  transition-delay: 0s;
}
.story-mid.show {
  transition-delay: 0.3s;
}
.story-bottom.show {
  transition-delay: 0.6s;
}
.gallery {
  position: relative;
  overflow: hidden;
  width: 100%;
  background-color: transparent;
  padding: 40px 0;
}

.scroll-gallery {
  width: 100%;
  overflow: hidden;
}

.gallery-inner {
  display: flex;
  gap: 20px;
  animation: scroll-slide 20s linear infinite forwards; /* ゆっくり左→右へ流す */
  cursor: grab;
}

.gallery-inner:active {
  cursor: grabbing;
}

.gallery-img img {
  width: 400px;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-img img:hover {
  transform: scale(1.05);
}
/* 拡大画像モーダル */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.modal.active {
  display: flex;
}

/* 無限に流れるアニメーション */
@keyframes scroll-slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-134%);
  }
}
.characrer-logo,.news-logo,.move-logo,.shop-logo {
  width: 30%;
  margin-bottom: 5rem;
}
.character-ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  display: flex;
  flex-direction: column;
  gap: 100px;
  box-sizing: border-box;
  padding: 0 20px;
}
.character-inner {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  box-sizing: border-box;
}
.character-inner > img,
.character-inner img {
  flex: 0 0 320px;
  width: 320px;
  height: auto;
  border-radius: 2px;
  object-fit: cover;
}

.chara-info {
  flex: 1 1 auto;
  max-width: none;
  text-align: left;
  box-sizing: border-box;
  margin-top: 10px;
}
.chara-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 20px 0;
}
.chara-name {
  font-size: 2rem;
  line-height: 1.4;
  letter-spacing: 1px;
  display: inline-block;
  white-space: nowrap;
  background-image: url("../image/Rectangle\ 8-2.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 10px 20px;
  margin: 0;
}
.chara-name.show {
  opacity: 1;
  transform: translateX(0);
}
.chara-name {
  transform: translateX(-40px);
  transition: all 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.chara-photo.show {
  opacity: 1;
  transform: translateX(0);
}
.chara-photo {
  transform: translateX(-40px);
  transition: all 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.chara-desc {
  font-size: 1.3rem;
  line-height: 1.8;
  margin: 80px 0;
  text-align: center;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}
.chara-quote {
  font-size: 2rem;
  font-style: italic;
  color: #d0baba;
  text-align: center;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
  margin-top: 30px;
}
.news,
.move,
.characters,
.shop {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 6rem 0;
}
.news-box {
  background: url("../image/News-Container.jpg") no-repeat center center / cover;
  width: min(90%, 900px);
  height: clamp(350px, 60vh, 600px);
  padding: 3rem 2rem;
  border: 1px solid #666;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.6);
  overflow-y: auto;
  overflow-x: hidden;
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
}
.news-inner {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 800px;
  font-size: clamp(1rem, 2.3vw, 1.4rem);
  color: #fff;
  text-align: left;
  position: relative;
}
.news-p {
  margin-bottom: 2.8rem;
}
.news-blok {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.news-date {
  color: #f0c9a8;
  font-weight: bold;
}
.news-headline {
  color: #fff;
  font-weight: bold;
}
.news-desc {
  color: #ddd;
  line-height: 1.8;
}
.news-box::-webkit-scrollbar {
  width: 10px;
}
.news-box::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
}
.news-box::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 8px;
}
.news-box::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.5);
}
.move-inner {
  width: 90%;
  max-width: 900px;
  margin: 0 auto;
}
.move-block {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.move-inblock {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.moveitem img {
  width: clamp(270px, 40vw, 600px);
  height: auto;
  border: 4px solid #fff;
  border-radius: 10px;
  box-shadow: 0 0 18px rgba(255, 255, 255, 0.3);
  transition: transform 0.3s ease;
}
.moveitem img:hover {
  transform: scale(1.02);
}
.move-inblock p {
  font-size: clamp(0.3rem, 2.5vw, 1.4rem);
  color: #ddd;
  text-align: center;
  line-height: 1.5;
}
.endroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  font-family: "Shippori Mincho", serif;
  margin-top: 6rem;
}
.endroll-xvi {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
}
.endroll-top p {
  font-size: clamp(1rem, 1.8vw, 1.6rem);
  letter-spacing: 1px;
  margin: 2rem 0;
}
.endroll-mid p {
  font-size: clamp(0.9rem, 1.6vw, 1.3rem);
  white-space: nowrap;
  letter-spacing: 1px;
  margin: 2rem auto;
  width: min(90%, 480px);
}
.endroll-bottom p {
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  white-space: pre-line;
  margin: 0 auto 3rem;
  width: min(90%, 480px);
}
.end-link {
  margin: 2.5rem 0;
}
.end-block {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 0;
  margin: 0;
}
.end-block img {
  width: clamp(40px, 6vw, 60px);
  height: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}
.end-block img:hover {
  transform: scale(1.1);
  opacity: 0.8;
}
footer {
  text-align: center;
  padding: 3rem 1rem 4rem;
}

.footer-iner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.copylight {
  font-size: clamp(0.8rem, 1.2vw, 1rem);
  line-height: 1.8;
  text-align: center;
}
.support ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.support a {
  color: #ccc;
  text-decoration: none;
  font-size: clamp(0.85rem, 1.3vw, 1rem);
  transition: color 0.3s ease;
}
.support a:hover {
  color: #fff;
  text-decoration: underline;
}
#shop .first-view {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh; /* 画面いっぱいの高さ */
  text-align: center;
  box-sizing: border-box;
}
.shops {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列に並べる */
  gap: 1.5rem;
  justify-items: center; 
  margin-bottom: 2rem;
}
.shops img {
  width: 160px;
  height: auto;
  border-radius: 12px;
  transition: transform 0.3s ease;
}
.shops img:hover {
  transform: scale(1.05);
}
.shoptable-chart {
  margin: 4rem auto 2rem;
  width: 90%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-sizing: border-box;
}
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  70% {
    transform: scale(1.05);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
.shops a {
  display: inline-block;
  opacity: 0;
  transform: scale(0.8);
  animation: popIn 0.4s ease forwards;
}
.shops a:nth-child(1) {
  animation-delay: 0.1s;
}
.shops a:nth-child(2) {
  animation-delay: 0.25s;
}
.shops a:nth-child(3) {
  animation-delay: 0.4s;
}
.shops a:nth-child(4) {
  animation-delay: 0.55s;
}
.shop-kome {
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 1.5rem;
  line-height: 1.6;
}
.present, .steam-present {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 200px 0;
}

/* タイトル＋画像を横並び */
.present-photo,
.sp-photo {
  flex: 1;
}

.present-title,
.sp-title {
  flex: 0 0 auto;
  font-size: 1.4rem;
  color: #fff;
  margin-right: 20px;
  white-space: nowrap;
  border-bottom: 1px solid #fff;
 transform: translateX(-40px);
  transition: all 1.2s cubic-bezier(0.25, 0.1, 0.25, 1);

}
.present-title.show,
.sp-title.show {
  opacity: 1;
  transform: translateX(0);
}
.present-top,
.steam-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.present-photo img,
.sp-photo img {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  border-radius: 8px;
}
.present-ex,
.sp-ex {
  width: 100%;
  max-width: 700px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px;
}
.sp-ex {
  margin-top: 0;
}
.present-inner {
  background-image: url(../image/present2.png);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain; /* ← 全体を見せる */
  background-color: transparent;
  padding: 80px;
  line-height: 1.8;
  border-radius: 6px;
  text-align: left;
  box-sizing: border-box;

  width: 100%;
  max-width: 700px;
  min-height: 300px; /* ← 背景が見えるように最低高さを設定 */
  display: flex;
  flex-direction: column;
  justify-content: center;}

.present-big {
  font-weight: bold;
  font-size: 18px;
  color: #ffb347;
  text-shadow:
    1px 1px 2px rgba(0, 0, 0, 0.8),
    0 0 6px rgba(255, 180, 70, 0.6);
}
#steam-inner {
  background-image: url(../image/steam-present2.png);
  width: 700px;
}
.present-info {
  width: 80%;
  font-size: 16px;
  margin: auto;
}
.present-info p {
  margin-bottom: 8px;
}
.present-kome {
  font-size: 12px;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
}
.contact-section {
  text-align: center;
  width: 90%;
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}
.contact-title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid #fff;
  display: inline-block;
  padding-bottom: 0.3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
  width: 100%;
}

label {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

input,
textarea {
  width: 100%;
  padding: 0.6rem;
  font-size: 1rem;
  border: none;
  border-radius: 3px;
  background-color: #fff !important;
  color: #000;
  box-sizing: border-box;
  transition: background-color 0.3s ease;
}
input:focus,
textarea:focus {
  outline: 2px solid #ffb347;
  background-color: #fdfdfd;
  box-shadow: 0 0 10px rgba(255,180,71,0.4);
}
textarea {
  resize: none;
}

.contact-btn {
  background: linear-gradient(#f5f5f5, #d8d8d8);
  color: #000;
  font-size: 1rem;
  padding: 0.6rem 2rem;
  border: none;
  border-radius: 4px;
  margin: 1rem auto 0;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0,0,0,0.4);
  transition: all 0.3s ease;
  display: block;
}

.contact-btn:hover {
  background: linear-gradient(#ffffff, #e4e4e4);
  transform: translateY(-2px);
}
.rule-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: left;
  width: 90%;
  max-width: 600px;
  margin: 8rem auto 5rem;
}

.rule-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  border-bottom: 1px solid #fff;
  padding-bottom: 0.5rem;
}

.rule-box {
  width: 100%;
  max-height: 400px;
  background-color: #fff;
  color: #000;
  padding: 1.5rem;
  overflow-y: scroll; /* ← スクロール可能 */
  box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

.rule-content p {
  line-height: 1.8;
  font-size: 0.95rem;
}

.rule-content strong {
  display: block;
  margin-top: 1rem;
  color: #333;
  font-weight: bold;
}

.rule-footer {
  margin-top: 2rem;
  text-align: center;
}

.rule-btn {
  display: inline-block;
  background: linear-gradient(#f5f5f5, #d8d8d8);
  color: #000;
  padding: 0.6rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.rule-btn:hover {
  background: linear-gradient(#fff, #e4e4e4);
  transform: translateY(-2px);
}



@media (max-width: 768px) {
.purchase-btn {
  padding: 10px 28px;
  font-size: 1.4rem;
  letter-spacing: 20px;
  }
.humb-button {
    margin-left: 90%;
  }
.humb-button-wrap {
  top: -9vh;
}
.logo {
  width: 50vh;
}
.trial-day {
  font-size: 2rem;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}
.sale-day {
  font-size: 3.5rem;
}
.shoping a img {
  width: 200px;
}
.btn-wrapper {
  gap: 100px;
}
.btn {
  font-size: 1.2rem;
  padding: 20px 40px;
}
#shoping-1 {
  padding: 20px 50px;
}
#shoping-2 {
  padding: 20px 20px;
}
.subtitle {
  height: 90vh;
}
.gallery-img img {
  width: 300px;
}
.characrer-logo {
  width: 40%;
}
.news-logo,
.move-logo, .shop-logo {
  width: 25%;
}
.chara-name {
  font-size: 1.2rem;
}
.chara-desc {
  font-size: 1rem;
  margin: 40px 0;
}
.chara-quote {
  font-size: 1.2rem;
}
.character-inner > img, .character-inner img {
  width: 220px;
  flex: 0;
}
.news-inner {
  font-size: 1rem;
}
.news-box {
  width: 70%;
}
.shops img {
  width: 100px;
}
.price {
  letter-spacing: 0;
  width: 100%;
  font-size: 1rem;
}
.price tbody td {
  padding: 2px;
  height: 100px;
}
.present-info {
  font-size: 0.8rem;
}
.present-big {
  font-size: 0.9rem;
}
.present-kome {
font-size: 0.6rem;
margin-top: 0;
}
.contact-section {
  width: 80%;
  }
.contact-title {
    font-size: 1.3rem;
  }
.rule-section {
  width: 80%;
  }
.rule-title {
  font-size: 1.3rem;
  }
.rule-box {
  max-height: 350px;
  padding: 1rem;
  }
.rule-content p {
  font-size: 0.9rem;
  line-height: 1.6;
  }
}
@media (max-width: 670px) {
.present-top, .steam-top {
  gap: 10px;
  font-size: 1rem;
  margin-left: 20px;
  margin-right: 0;
}
.price thead th {
  padding: 0.2rem;
}
}

@media (max-width: 630px) {
.present-inner {
  padding: clamp(30px, 6vw, 90px);
}
.price thead th {
  font-size: 0.8rem;
  padding: 0.4rem;
}
}
@media (max-width: 574px) {
  .present-inner {
padding: clamp(20px, 4vw, 60px);
 }
 .price {
 font-size: 0.7rem;
 padding: 0.2rem;
}
.price thead th {
font-size: 0.6rem;
}
.price tbody td {
  height: 30px;
}
}
@media (max-width: 480px) {
header {
    top: 0;
}
header h1 {
    padding-top: 0;
}
header h1 img {
  width: 160px;
  height: 35px;
}
.humb-button {
  margin-left: 85%;
}
.humb-button span {
  width: 35px;
  height: 3px;
}
.humb-button-wrap {
  top: -7vh;
}
.logo {
  width: 50vh;
}
.dates {
  width: 90%;
  margin-top: 120px;
}
.trial-day {
 font-size: 1.4rem;
}
.sale-day {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}
.shoping a img {
  width: 100px;
}
.btn-wrapper {
  gap: 40px;
}
.btn {
  font-size: 0.8rem;
}
.shoping {
  height: 80vh;
}
#shoping-1 {
  padding: 10px 40px;
}
#shoping-2 {
  padding: 10px 30px;
}
.table-chart {
  margin-top: 80px;
}
.price {
  letter-spacing: 0;
  width: 100%;
  font-size: 0.6rem;
}
.price tbody td {
  padding: 1px;
  height: 60px;
}
.pushase-btn {
  margin-top: 40px;
  padding: 10px 40px;
  font-size: 0.6rem;
}
.subtitle {
  height: 40vh;
}
.story {
  height: 70vh;
}
.gallery-img img {
  width: 200px;
}
.rule-title {
    font-size: 1.1rem;
}
.news-logo,
.move-logo, .shop-logo {
  width: 40%;
}
.characrer-logo {
  width: 70%;
}
.chara-name {
  font-size: 1.2rem;
}
.chara-desc {
  font-size: 1rem;
  margin: 40px 0;
}
.chara-quote {
  font-size: 1.2rem;
}
.character-inner {
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.chara-top {
  align-items: center;
  margin: 0;
}
.character-inner > img, .character-inner img {
  width: 220px;
}
.news-inner {
  font-size: 0.8rem;
}
.endroll-top p {
  font-size: 1rem;
}
.endroll-mid p {
  width: 80%;
  margin: 2rem auto;
  align-items: center;
  font-size: 0.8rem;
  letter-spacing: 0;
  white-space: unset;
}
.endroll-bottom p {
  letter-spacing: 0;
  font-size: 0.8rem;
}
.purchase-btn {
  font-size: 1.5rem;
  padding: 10px 30px;
  letter-spacing: 18px;
}
.shops img {
  width: 100px;
}
.shop-kome {
  font-size: 0.7rem;
}
.present-top, .steam-top {
  flex-direction: column;
}
.present-info {
  font-size: 0.8rem;
  width: 80%;
  margin: 0 0 0 50px;
}
.present-inner {
  padding: 0;
}
.present-big {
  font-size: 0.8rem;
}
.present-big {
  font-size: 0.7rem;
}
.present-kome {
  margin-top: 0;
  font-size: 0.5rem;
}
.present, .steam-present {
  margin: 150px 0;
}
.rule-box {
    max-height: 300px;
    padding: 0.8rem;
}
  .rule-content p {
    font-size: 0.85rem;
    line-height: 1.5;
  }
}
@media (max-width: 450px) {
  .present-info{
   width: 90%;
   margin: 0 auto;
  }
  .present-inner {
    background-image: none;
  }
  #steam-inner {
    background-image: none;
  }
  .price thead th {
  word-wrap: break-word;
}
.btn-wrapper {
  gap: 20px;
  margin: 30px 10px;
}
}
@media (max-width: 360px) {
  .btn-wrapper {
  flex-direction: column;
  }
  #shoping-1 {
    padding: 10px 50px;
  }
}











