@charset "utf-8";

/* Theme: MyTheme */

 /* topの％で高さ調整 */
.btn-box{    top: 61%;}
 /* btn-boxに合わせて調整 */
.form-ring{    top: 61%;}

 /* topの％で高さ調整 */
.btn2 .btn-box{    top: 71%;}
 /* btn-boxに合わせて調整 */
.btn2 .form-ring{    top: 71%;}


.btn2  .count1{    top: 56%;}
/* root
---------------------------------------------*/
:root {
  --font-size-base: 26px;
  --sub-color:#5b4128;
}


@media (max-width: 750px) {
  :root {
    --font-size-base: clamp(14px, 3.4vw, 18px);
  }
}

/* base
---------------------------------------------*/
* {margin:0;padding:0;}

a:link,a:visited {
	color: #2236cf;
	text-decoration:underline;
}
a:hover,a:active {
	color: #d90909;
	text-decoration:underline;
}
body {
	width: 100%;
	height: 100%;
	margin: 0px;
	padding: 0px;
  background:#ffffff;
  text-align:center;
 scroll-behavior: smooth;
  font-size: var(--font-size-base);
  font-family: "NotoSansJP", "Noto Sans CJK JP", "Noto Sans JP", "游ゴシック体", "Yu Gothic", "メイリオ", Meiryo, sans-serif;
      color: #383d5c;
	-webkit-text-size-adjust: 100%;
}

#wrap{max-width: 750px;
margin: 0 auto;}
img{ display:block;
border: none;
max-width:100%;
height:auto;
margin:-1px auto;}
footer{position: relative;
  z-index: 100;
  font-size:0.7em;
padding:2em 0;
color: #fff;
background: var(--sub-color, #143078);}
footer a{    text-decoration: none !important;
    color: #fff !important;}

/* layout
---------------------------------------------*/


.p-center{position: absolute;
top:50%;
left:50%;
transform: translate(-50%, -50%);}
.text-date{
    width: 100%;
        font-weight: 400;
    color: #fff;
    font-size: 1.5em;}
.count1{      position: absolute;
    color: #fff;
    width: 100%;
    font-size: 2em;
    font-weight: 500;
    top: 41%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.count1 .count-text2{font-size:1.2em;}
.count2{    position: absolute;
    color: #fff;
    width: 80%;
    font-size: 1.6em;
    font-weight: 500;
    top: 50%;
    left: 53%;
    transform: translate(-50%, -50%);
}
.count2 .count-text2{font-size:2.3em;}
.count2.ended{    top: 50%;}
ol,
ul{
	list-style-position: inside;
	padding-left:10px;
}
ol li,
ul li{
	text-align:left;
}

/* utilities
---------------------------------------------*/
.c{color:#000000;}
.b{font-weight:bold;}
.y{background-color: #ffff66;}
.l{font-size:1.2em;    line-height: 130%;}
.ll{font-size:1.5em;    line-height: 130%;}
.u {  text-decoration: none;
background: linear-gradient(rgba(255, 204, 255,0) 80%, rgb(255, 244, 171) 20%);
background-repeat: no-repeat;
background-size: 0% 100%;
transition: background-size 2.5s;
}








/* components
---------------------------------------------*/
/* 親コンテナ */
.image-container {
  position: relative; /* 子要素の位置基準を設定 */
  max-width: 750px; /* 大きな画像の最大幅 */
  width: 100%; /* 画面幅に合わせて縮小 */
  margin: 0 auto; /* センター揃え（必要なら） */
  
}
.arrow1{   width:27.3%;
  height:auto;
 position: absolute; /* 親画像を基準に配置 */
  top: 0%; 
  left: 50%; /* 左から50%の位置（例） */
  z-index: 5;
 transform: translate(-50%, 0%);
}
.arrow2{   width: 23%;
    height:auto;
 position: absolute; /* 親画像を基準に配置 */
  top: 0%; 
  left: 50%; /* 左から50%の位置（例） */
  z-index: 5;
 transform: translate(-50%, 0%);
}
.arrow3{    width: 10%;
    height:auto;
 position: absolute; /* 親画像を基準に配置 */
  top: 0%; 
  left: 50%; /* 左から50%の位置（例） */
  z-index: 5;
 transform: translate(-50%, 0%);
}
.arrow4{   width: 17%;
    height:auto;
 position: absolute; /* 親画像を基準に配置 */
  top: 0%; 
  left: 50%; /* 左から50%の位置（例） */
  z-index: 5;
 transform: translate(-50%, 0%);
}
.arrow5{   width: 38%;
    height:auto;
 position: absolute; /* 親画像を基準に配置 */
  top: 0%; 
  left: 50%; /* 左から50%の位置（例） */
  z-index: 5;
 transform: translate(-50%, 0%);
}

/* ---  pagetop  ---*/
.pagetop{width:72px;
height:72px;
font-size: 24px;
padding: 1em;
background:var(--sub-color, #143078);
border-radius: .3em;
display: block;
    line-height: 0.9;
position: fixed;
bottom:25px;
right:25px;
margin:0 auto;
z-index:15;}
.pagetop a{text-decoration: none;
   vertical-align: middle;
    color: #fff;}
  #target {
      opacity:0;
            transition: opacity 1s ease-out;  /* フェードアウトにスムーズなトランジションを追加 */
    }
#target2 {
      opacity:0;
            transition: opacity 0.3s ease-in-out;  /* フェードアウトにスムーズなトランジションを追加 */
}

/* ---  モーダル  ---*/
/* モーダルの初期状態 */
.modal-overlay {

  position: fixed;
z-index: 16;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: visibility 0s linear 0.5s, opacity 0.5s ease;}
.limited-text{width: 100%;
    position: absolute;
    font-size: 49px;
    color: #fff;
    font-weight: 600;
    top: 1%;
    left: 50%;
    transform: translateX(-50%);}
    .random-counter-wrap{      position: absolute; 
      color: #fff;
       top: 36%;
    left: 50%;
    transform: translateX(-50%);}
    .random-counter{    width: 100%;


    
}
.c2{color: #b40d0d;}
    .today-date-wrap{       width: 100%;
    position: absolute;
    color: #fff;
    line-height: 140%;
    font-size: 1.5em;
    font-weight: 500;
    letter-spacing: 0.03em;
    top: 13%;
    left: 50%;
    transform: translate(-50%, -50%);}
    .today-date{   
}
.modal {
	position: relative;
    top: 13%;
  margin: auto;
    width: 650px;
  max-width: 90%;
  opacity: 0; /* 初期値: 不可視 */
  transition: opacity 0.5s ease; /* フェード効果 */
}
.modal-box1{ position: absolute;
    top: 45%;
    height: auto;
    max-width: 18%;
    left: 22.5%;
    transform: translate(-50%, -50%);}
.modal-box2{      position: absolute;
    top: 85%;
    height: auto;
    max-width: 82%;
    left: 50%;
    transform: translate(-50%, -50%);}
.modal-text-box{    width: 100%;
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);}
.modal-text{    color: #fff;
    font-size: 60px;
    line-height: 120%;
		font-weight:500;
		padding-top:2%;}
/* オーバーレイのフェードイン */
.modalOverlayFadeIn {
  opacity: 1 !important; /* 表示 */
  transition: opacity 0.5s ease;
}

/* モーダルのフェードイン */
.modalFadeIn {
  opacity: 1 !important; /* 表示 */
  transform: translateY(50px); /* 元の位置に戻す */
  transition: opacity 0.5s ease, transform 0.5s ease;
}

/* オーバーレイのフェードアウト */
.modalOverlayFadeOut {
  opacity: 0 !important; /* 不可視 */
  transition: opacity 0.5s ease;
}

/* モーダルのフェードアウト */
.modalFadeOut {
  opacity: 0 !important; /* 不可視 */
  transform: translateY(10%); /* 下に移動 */
  transition: opacity 0.5s ease, transform 0.5s ease;
}
/* 閉じるボタン */
.close-btn {
        position: absolute;
    background: #fff;
    color: #052335;
    width: 30px;
    height: 30px;
    top: -32px;
    line-height: 136%;
    border-radius: 3px;
    right: 3px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
}

/* pages - home
---------------------------------------------*/
/* ---  追尾バナー ---*/
.banner{width:750px;
max-width: 100%;
height:auto;
position: fixed;
bottom:0%;
margin:0 auto;
z-index: 10;
}
.banner-wrap{     max-width: 22%;
    height: auto;
    transform: translateY(-50%);
    position: absolute;
    right: -2%;
    top: 50%;
}


/* btn */
.btn-box{     width:77%;
    position: absolute;

    left: 50%;
    height: auto;
    transform: translate(-50%, -50%);}

.form-ring{    width:77%;
    height: 125px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;
    pointer-events: none;}
.form-ring.form-ring2{         width: 82%;
    height: 116px;
    position: absolute;
    max-width: 100%;
    top: 85%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;
    pointer-events: none;}
 .form-ring.ring2 {       width: 100%;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;
    pointer-events: none;}
.ring.form-ring2::before, .ring.form-ring2::after{    border-radius: 100vh;}

   /* 親要素に表示設定 */
    .btn-box {
      display: inline-block;
      overflow: hidden;
    }

    /* 画像の初期状態 */
    .btn-box img {
      display: block;
      width: 100%; /* 画像サイズをレスポンシブ対応に */
      filter: brightness(1); /* 初期は少し暗くする */
      transition: filter 0.3s ease; /* 滑らかなアニメーション */
    }

    /* Hover時の状態 */
    .btn-box:hover img, .modal-box2:hover, .form-btn:hover, .banner-wrap:hover img{
      filter: brightness(1.2); /* 明るくする */
    }
/* form */
.form-input {width: 81%;
    font-size: 28px;
    text-align: center;
    padding: 1em 0;
    position: absolute;
    top: 34%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: auto;
    background: #fff;
border: 3px solid transparent; /* ボーダーの幅を設定 */
    border-image: linear-gradient(90deg,
        #00def9 0%,
        #02afff 16%,
        #007dff 32%,
        #5b2fff 48%,
        #7d31ff 64%,
        #b500ff 80%,
        #ff00ff 100%) 1; /* 16%毎のグラデーション */
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.form-btn {
        width: 86%;
    position: absolute;
    bottom: 9.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: auto;
		z-index: 5;
}





/* ---  ring  ---*/
.ring::after {
    animation-delay: 0.4s;
}
.ring::before, .ring::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
	    border-radius: 100vh;
    top: 0;
    left: 0;
        box-shadow: 0 0 50px rgba(53, 250, 148, 0.53) inset;
    animation-name: ring;
}
.ring, .ring::before, .ring::after {
    animation-iteration-count: infinite;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
}

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


.btn {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: ;
    background-color: transparent;
    cursor: pointer;
    user-select: none;
    display: inline-block;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
@keyframes ring {
0% {
    transform: scale(0.95);
    opacity: 1;
}

90% {
    opacity: 0.1;
}
100% {
    transform: scale(var(--ring-scale, 1.3));
    opacity: 0;
}
}


/* animations
---------------------------------------------*/
.pulse{
animation: pulse 1s forwards ease-out;
    animation-iteration-count: infinite;}
/* ---  pulse  ---*/
@keyframes pulse{
0% {
    transform: translate(-50%, -50%) scaleX(1);
}

50% {
    transform: translate(-50%, -50%) scale( 1.05);
}
100% {
    transform: translate(-50%, -50%) scaleX(1);
}
}
/* ---  up-down  ---*/
.up-down{
animation: up-down 1.5s forwards ease-out;
    animation-iteration-count: infinite;}
@keyframes up-down {
  0% {
    transform: translate(-50%, -20%);
  }
  50% {
    transform: translate(-50%, calc(0% + -12%));
  }
  100% {
    transform: translate(-50%, -20%);
  }
}
/* ---  up-down  ---*/
.up-down2{
animation: up-down2 1.5s forwards ease-out;
    animation-iteration-count: infinite;}
@keyframes up-down2 {
  0% {
    transform: translate(-50%, -10%);
  }
  50% {
    transform: translate(-50%, 10%);
  }
  100% {
    transform: translate(-50%, -1%);
  }
}
/* responsive
---------------------------------------------*/
@media screen and (min-width: 750px) and (max-width: 960px) {
.pagetop{
 width: 8vw;
    height: 8vw;
    padding: 2vw;
    line-height: 0.9;
    position: fixed;
    bottom: 25vw;
    right: 2%;
}
}
@media only screen and
(-webkit-min-device-pixel-ratio: 2),
(min-resolution: 2dppx) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}
@media screen and (min-width: 751px){
	.sp{display:none;}
}
@media screen and (max-width: 750px){
	#wrap{width: 100%;
    overflow: hidden;}
	.pc{display:none;}
	footer br{display:inherit;}
#container{width: 100%;}
.btn-container, .modal-overlay{overflow: hidden;}

.form-ring{    height: 18vw;}
.form-ring.form-ring2{height: 16vw;}
.pagetop{    width: 8vw;
    height: 8vw;
    font-size: 4vw;
    padding: 2vw;
    line-height: 0.9;
    position: fixed;
    bottom: 27vw;
    right: 2%;
}

    .count2{   
    font-size: 1.4em;
}
}
