@charset "utf-8";

/* Theme: MyTheme */

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

/* base
---------------------------------------------*/
.box{background:#444;
width:300px;
height:300px;
display: block;
margin:0 auto;}

* {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:20px;
  font-family: 游ゴシック, YuGothic, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Verdana, メイリオ, Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", 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{font-size:0.7em;
padding:2em 0;
color: #fff;
background: #2477b8;}
footer a{    text-decoration: none !important;
    color: #fff !important;}

/* layout
---------------------------------------------*/
ol,
ul{
	list-style-position: inside;
	padding-left:10px;
}
ol li,
ul li{
	text-align:left;
}

/* utilities
---------------------------------------------*/
.c{color:#ff0000;}
.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; /* センター揃え（必要なら） */
}
/* ---  pagetop  ---*/
.pagetop{width:72px;
height:72px;
font-size: 24px;
padding: 1em;
background:#2477b8;
border-radius: 5px;
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;  /* フェードアウトにスムーズなトランジションを追加 */
}
/* pages - home
---------------------------------------------*/
/* btn */
.btn-box{     width: 93%;
    position: absolute;

    left: 50%;
    height: auto;
    transform: translate(-50%, -50%);}
.btn-box2.btn-box1, .btn-box1.ring::before, .btn-box1.ring::after{    top: 50%;}
.form-ring{       width: 93%;
    height: 157px;
    position: absolute;

    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 6;
		pointer-events: none;}


   /* 親要素に表示設定 */
    .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;
}
.form-btn.form-btn3, .form-ring.form-ring3{    bottom: 17.5%;}
.form-input.form-input2 {top: 34.5%;}
.form-input.form-input3 {top: 25.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 rgb(243 73 8 / 60%) inset;
    animation-name: ring;

}

.ring, .ring::before, .ring::after {
    animation-iteration-count: infinite;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
}

.ring {
    --ring-border-radius: 1em;
}

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

.ring {
    --ring-border-radius: 1em;
}

.btn {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-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);
}
}
/* responsive
---------------------------------------------*/
@media screen and (min-width: 750px) and (max-width: 960px) {
.pagetop{
 width: 8vw;
    height: 8vw;
    text-align: center;
    padding: 2vw;

    border-radius: 4px;
    display: block;
    line-height: 0.9;
    position: fixed;
    bottom: 5vw;
    right: 2%;
    margin: 0 auto;}
}
@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){
	body{font-size:4.5vw;}
	#wrap{width: 100%;}
	.pc{display:none;}
	footer br{display:inherit;}
#container{width: 100%;}
.btn-container{overflow: hidden;}
.form-ring{    height: 21vw;}
.pagetop{    width: 8vw;
    height: 8vw;
    font-size: 4vw;
    text-align: center;
    padding: 2vw;
    border-radius: 4px;
    display: block;
    line-height: 0.9;
    position: fixed;
    bottom: 5vw;
    right: 2%;
    margin: 0 auto;
}

}
