/**
 * Basic Reset CSS
 */

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
  letter-spacing: 0.04em;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  background: linear-gradient(to bottom, #1F212E, #2B4271);
  background-attachment: fixed;
  color: #ffffff;
  position: relative;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
   scroll-behavior: auto;
  }
  
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/bg_dec.png");
  z-index: -2;
}

/* body::after {
  content: "";
  position: absolute;
  bottom: 0 !important;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/bg_bottom.png");
  background-size: contain;
  background-repeat: no-repeat;
  z-index: -1;
} */

main {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 80px;
}

.fastview {
  width: 100%;
  max-width: 862px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 80px;
  padding: 0 20px;
}

.fastview-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fastview-text .catch-copy-text {
  font-weight: 600;
  font-size: 24px;
  line-height: 42px;
  text-align: center;
  letter-spacing: 0.04em;
  background: linear-gradient(360deg, #966725 0%, #F9DE81 38.38%, #EEBF70 88.69%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  text-shadow: 0px 0px 6px rgba(255, 255, 255, 0.4);
  margin-top: 16px;
  margin-bottom: 40px;
}

.fastview-text .store-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.fastview-text .release-message {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 2px;
}

section h2 {
  font-size: 24px;
  margin-bottom: 32px;
  text-align: center;
}

.price-card {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  gap: 16px;
  width: 100%;
  background: rgba(47, 42, 143, 0.6);
  box-shadow: 0px 0px 20px rgba(255, 255, 255, 0.25);
  border-radius: 8px;
}

.content-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.price-card-text h3 {
  font-size: 24px;
}

.price-card-text p {
  font-size: 32px;
  font-weight: 500;
  color: #C6FFBF;
}

.price-card-text p > span {
  font-size: 20px;
}

.price-card-note p {
  font-size: 16px;
  font-weight: 200;
}

.price-card-note p:first-child {
  margin-bottom: 4px;
}

.price-card-note p a {
  color: #fff204;
}

header {
  padding: 80px 0 40px 0;
  text-align: center;
}

header a{
  display: inline-block;
  width: 200px;
}
  
footer {
  width: 100%;
  margin: 0 auto;
  margin-top: 120px;
  height: 100%;
  text-align: center;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 40px 0px 20px;
  gap: 40px;
  background: linear-gradient(180deg, rgba(31, 33, 46, 0.9) 0%, rgba(43, 66, 113, 0.9) 100%);
  position: relative;
}

footer::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 0;
  width: 100%;
  height: 400px;
  background-image: url("img/bg_bottom.png");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  z-index: -1;
  opacity: 0.6;
  mix-blend-mode: hard-light;
  -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
  mask-image: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
}

.footer-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 0px;
  gap: 40px;
}

.footer-links .item {
  color: #fff;
  text-decoration: none;
  font-weight: 200;
  position: relative;
}

.footer-links .item::before {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  width: 1px;
  height: 16px;
  background: #fff;
  transform: translateY(-50%);
}

.footer-links .item:last-child::before {
  display: none;
}

/* Custom Fonts */
.font-mincho {
  font-family: "Hiragino Mincho ProN", "Hiragino Mincho Pro", "BIZ UDPMincho", "MS PMincho", serif;
}

/* 子ページ */
.content-card {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  background: #1F212F;
  border-radius: 8px;
  padding: 40px;
}

.content-card h2 {
  font-size: 24px;
  margin-bottom: 40px;
  text-align: center;
}

.content-card .opening-text {
  margin-bottom: 40px;
}

.content-card h3 {
  font-size: 16px;
  margin-bottom: 20px;
}

.content-card p {
  font-size: 16px;
  font-weight: 200;
}

.content-card .item-text {
  margin-bottom: 40px;
}

.content-card .item-text:last-of-type {
  margin-bottom: 0;
}

.content-card ol {
  padding-left: 24px;
  font-weight: 200;
  line-height: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.content-card ol:last-of-type {
  margin-bottom: 0;
}

.content-card ol ul {
  padding-left: 24px;
  font-weight: 200;
  line-height: 28px;
  list-style-type: initial;
}

.content-card ol ul.number {
  list-style-type: none;
  counter-reset: number-counter;
  padding-left: 0;
}

.content-card ol ul.number li {
  counter-increment: number-counter;
  position: relative;
  padding-left: 30px;
}

.content-card ol ul.number li::before {
  content: "(" counter(number-counter) ")";
  position: absolute;
  left: 0;
}

.content-card .enactment-date {
  margin-top: 40px;
  text-align: right;
}

@media (max-width: 768px) {
  main {
    margin-top: 40px;
  }
  .fastview {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: relative;
    padding-bottom: 108px;
    margin-bottom: 40px;
  }

  .fastview > img {
    width: 60vw;
  }

  .fastview-text > img {
    width: 60vw;
  }

  .fastview-text .catch-copy-text {
    font-size: 24px;
    line-height: 40px;
    margin-bottom: 0;
  }

  .fastview-text .store-btns {
    width: 100%;
    margin-bottom: 0;
    justify-content: center;
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
  }

  .fastview-text .store-btns img {
    width: 100%;
  }

  .fastview-text .release-message {
    position: absolute;
    bottom: 0;
  }

  .price-card {
    width: initial;
    padding: 12px;
    margin: 0 20px;
    flex-direction: column;
    gap: 20px;
  }

  .content-header {
    width: 100%;
  }

  .content-header img {
    width: 12vw;
    height: auto;
  }

  .price-card-text h3 {
    font-size: 20px;
  }

  .price-card-text p {
    font-size: 36px;
  }

  .price-card-text p > span {
    font-size: 20px;
  }

  .price-card-note p {
    font-size: 14px;
  }

  footer {
    margin-top: 80px;
    font-size: 12px;
    padding: 20px 0px;
    gap:20px;
  }

  .footer-links {
    flex-direction: column;
    gap: 20px;
  }

  .footer-links .item::before {
    display: none;
  }

  /* 子ページ */
  .content-card {
    padding: 20px;
  }
}

/* PrivacyPolicy テーブル */
.privacy-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #ffffff;
  font-size: 14px;
  color: #1f212e;
}

.privacy-table th,
.privacy-table td {
  border: 1px solid #1f212e;
  padding: 8px;
  text-align: left;
}

.privacy-table th {
  font-weight: 600;
  bold
}

/* 資金決済法の非表示 */
a.item[href$="payment-service-act/"] {
  display: none;
}