.spOnly {
    display: none;
}
.pcOnly {
    display: block;
}

img {
    margin: 0 auto;
}
.inner {
	max-width: 1000px;
	margin: auto;
	padding: 0 1rem;
}
.individual {
  position: relative;
  overflow: hidden;
  background: #4670f8;
  background: linear-gradient(
    120deg,
    #4670f8 0%,
    #4c7bfc 7%,
    #5195ff 16%,
    #6dcdfe 42%,
    #d8f4ff 66%,
    #ece2fd 85%
  );
}

/* コンテンツはcoinより前面 */
.main_visu_bg,
.content_wrap {
  position: relative;
  z-index: 1;
}

/* 装飾レイヤー共通 */
.decor_layer {
  position: absolute;
  inset: 0;
  pointer-events: none; /* リンク操作を妨げない */
  overflow: hidden;
}
.decor_layer img {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
}

/* coin：背面（グラデーションの上・コンテンツの下） */
.decor_coin {
  z-index: 0;
}

/* kira：最前面 */
.decor_kira {
  z-index: 0;
}
.decor_kira img {
  animation: kira_twinkle 3s ease-in-out infinite;
}

@keyframes kira_twinkle {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.3; }
}

/* 動きを減らす設定のユーザーにはアニメーションを無効化 */
@media (prefers-reduced-motion: reduce) {
  .decor_kira img {
    animation: none;
  }
}
.main_visu {
	padding: 2.5rem 1rem;
    text-align: center;
}
.content_wrap{
	padding: 2.5rem 0;
}
.btn_wrapper {
    margin: -3rem auto 3rem;
}
.button a {
  max-width: 700px;
  margin: 0 auto;
  background-color: #eb2f4c;
  color: #fff;
  font-size: 2.6rem;
  font-weight: bold;
  text-align: center;
  position: relative;
  display: block;
  padding: 1.5rem 2rem;
  line-height: 1;
  border-radius: 8px;
  box-shadow: #b0001b 4px 4px;
}
.button a:hover {
  box-shadow: none;
  transform: translate(4px, 4px); 
}
.content01, .content02, .content03 {
    margin-top: 4rem;
}
.title, .content01_inner, .content02_inner>.cont_box, .content03_inner {
    text-align: center;
}
.cont_box {
    margin-top: 3rem;
}
.title {
    display: flex;
    align-items: center;
    gap: 16px;
}
.title::before,
.title::after {
    content: "";
    flex: 1;
    height: 2px;  
    background: #fff; 
}
.title img {
    display: block;
    flex-shrink: 0; 
    max-width: 80%;  
    height: auto;
}
p {
    text-align: center;
}
table {
    margin: 2rem auto;
}
.cord {
    margin-bottom: 6rem;
    text-align: center;
}
.content01_inner {
    margin-top: 3rem;
}
.content01_inner p {
    color: #fff;
}
.content01_inner .main_text {
    margin-top: 5rem;
    font-size: 2.4rem;
    line-height: 1.5;
    color: #010d48;
    text-shadow:
        0 0 4px #fff,
        0 0 8px #fff,
        0 0 16px #fff;
}
.content01_inner .main_text .emphasis {
    font-size: 3rem;
}
.content01_inner {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.content01_inner .flex_box {
    padding-right: 2rem;
}
.cont_box {
  position: relative;
  margin-top: 3rem;
  max-width: 900px;       /* 画像の幅に合わせて調整 */
  margin-left: auto;
  margin-right: auto;
}
.cont_box picture img {
  display: block;
  height: auto;
}
.cont_box .text_box {
  position: absolute;
  inset: 0;                /* 画像全体に重ねる */
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  box-sizing: border-box;
}
.text_box .telop,
.text_box .main_text,
.text_box .link_text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.text_box.is-show .telop,
.text_box.is-show .main_text,
.text_box.is-show .link_text {
  opacity: 1;
  transform: translateY(0);
}

/* 順番にずらして表示 */
.text_box.is-show .telop     { transition-delay: 0s; }
.text_box.is-show .main_text { transition-delay: 0.3s; }
.text_box.is-show .link_text { transition-delay: 0.6s; }

.content02_inner .cont_box:nth-child(1) .text_box { top: 52%; }
.content02_inner .cont_box:nth-child(2) .text_box { top: 46%; }

/* 動きを減らす設定のユーザー向け */
@media (prefers-reduced-motion: reduce) {
  .text_box .telop,
  .text_box .main_text,
  .text_box .link_text {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.cont_box > picture {
    filter: drop-shadow(0 0 3px rgba(123, 143, 245, 0.7));
}
.text_box .main_text{
    font-size: 2.4rem;
    color: #010d48;
    margin-top: 2.2rem;
    max-width: 580px;
    line-height: 1.5;
}
.text_box a {
    position: relative;
    display: inline-block;
    color: #010d48;
    border-bottom: 2px solid #010d48;
    font-size: 2rem;
    padding: 0 3rem 0.5rem 2rem;
    font-weight: normal;
}
.text_box a::after {
    content: "";
    position: absolute;
    right: 0.2rem;
    top: 50%;
    width: 2.2rem;
    height: 2.2rem;
    margin-top: -1.35rem;
    border-radius: 50%;
    background-color: #aae6fc;
}
.text_box a::before {
    content: "";
    position: absolute;
    right: 1rem;
    top: 50%;
    width: 0.7rem;
    height: 0.7rem;
    margin-top: -0.7rem;
    border-top: 2px solid #010d48;
    border-right: 2px solid #010d48;
    transform: rotate(45deg);
    z-index: 1;
}
.text_box .link_text {
    margin-top: 1.5rem;
}
.content03_inner {
    max-width: 900px;
    margin: auto;
}
.content03 .main_text {
    font-size: 2.4rem;
    color: #010d48;
    max-width: 680px;
    margin: auto;
    line-height: 1.5;
}
.code_table {
    width: 660px;
    border-collapse: collapse;
    border: 1px solid #010d48;
    background-color: #fff;
}
.code_table td {
    border: 1px solid #e3d6fe;  
    padding: 1.2rem 1.6rem; 
    color: #010d48;
}


@media screen and (max-width:690px){
.spOnly {
    display: inline;
}
.pcOnly {
    display: none;
}
.main_visu {
  padding: 0.5rem 0rem 1.5rem;
}
.button a {
  font-size: 2rem;
  font-weight: bold;
  padding: 1rem 0rem;
}
.btn_wrapper {
  margin: -3rem auto 0;
}
.title {
    width: 90%;
    margin: auto;
    gap: 5px;
}
.title img {
    max-width: 75%;
}
.content01, .content02, .content03 {
  margin-top: 3rem;
}
.content01_inner {
  margin-top: 1.5rem;
  flex-direction: column;
}
.content01_inner img {
    width: 50%;
}
.content01_inner .flex_box {
    padding-right: 0;
    margin: auto;
}
.content01_inner .main_text {
  margin: 1.5rem auto 0;
  font-size: 2rem;
}
.content01_inner .main_text .emphasis {
  font-size: 2.4rem;
}  
.content02_inner .cont_box:nth-child(1) .text_box { top: 44%; }
.content02_inner .cont_box:nth-child(2) .text_box { top: 40%; }
.text_box .main_text {
  font-size: 1.8rem;
  margin-top: 1.5rem;
}
.text_box .link_text {
  margin-top: 1rem;
}
.text_box a {
  font-size: 1.6rem;
  padding: 0 2.5rem 0.5rem 1rem;
  line-height: 1.5;
}
.text_box a::after {
  right: -0.2rem;
  width: 2rem;
  height: 2rem;
  margin-top: -1rem;
}
.text_box a::before {
  right: 0.4rem;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: -0.5rem;
}
.content03 .main_text {
  font-size: 1.8rem;
}
.code_table {
  width: 340px;
}
.code_table td {
  padding: 1rem 1.2rem;
}    
}
@media (max-width: 360px) {
.content02_inner .cont_box:nth-child(1) .text_box { top: 43%; }
.content02_inner .cont_box:nth-child(2) .text_box { top: 37%; }
}