@charset "UTF-8";
@font-face {
    font-family: 'CustomFont'; /* フォントの名前 */
    src: url('../font/uzura.ttf') format('truetype'); /* フォントファイルへのパス */
    font-weight: 900; /* より細いフォントの太さ */
    font-style: normal; /* フォントのスタイル */
  }

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    font-family: 'CustomFont', sans-serif;

}

.buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
}

.glow-button {
    display: inline-block;
    padding: 8px 24px;
    color: white;
    border: 2px solid white;
    text-decoration: none;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.8), 0 0 12px rgba(255, 255, 255, 0.5);
}

.glow-button:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 255, 255, 0.6);
    background-color: rgba(255, 255, 255, 0.1);
}



.name {
    color: white;
    font-size: 1.5em;
    line-height: 2em;
    text-align: center;
    opacity: 0;  /* 初めは透明 */
    transform: scale(1.2);  /* 初めは少し大きめに */
    animation: appear 2s ease-out forwards;  /* アニメーションを指定 */
    margin: 3em 0 1.5em;
}



@keyframes appear {
    0% {
        opacity: 0;
        transform: scale(1.2);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.4), 0 0 30px rgba(255, 255, 255, 0.3);
    }
    50% {
        opacity: 0.6;
        transform: scale(1);
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6), 0 0 30px rgba(255, 255, 255, 0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        text-shadow: 0 0 10px rgb(48, 74, 146), 0 0 20px rgb(48, 74, 146), 0 0 30px rgb(48, 74, 146), 0 0 40px rgb(48, 74, 146);
    }
}
.content {
    position: relative;
    z-index: 1;
    padding:0px 0px 3em;
    margin-top: -1px;
    background-image: url(../img/223842432328462.png);
    background-position: top center;
    background-size: cover;
}
#sparkle_container {
    position: relative;
    width: 100%;
    height: 130px; /* 親要素の高さ */
    overflow: hidden;
    background-image: url(../img/5.png);
    background-size: cover;
        background-position: center center;

  }

  .sparkle {
    position: absolute;
    border-radius: 50%;
    background-color: white; /* 白い点 */
    animation-name: twinkle;
    animation-iteration-count: infinite;
  }

  @keyframes twinkle {
    50% {
      transform: scale(0.2);   /* 50%の時に縮小 */
      opacity: 0.8;            /* 半透明になる */
    }
    100% {
      transform: scale(1);     /* 元のサイズに戻る */
      opacity: 1;              /* 完全に透明にならない */
    }
  }




.terms{
    color: white;
    text-align: center;
    padding: 2em 1em 0;
    font-size: 18px;
  }

.terms > div{
    margin: 2em auto;
    width: 100%;
    height: 100%;
    max-width: 600px;
    padding: .5em;
    border-radius: 25px;
    background-image: url(../img/22706670.jpg);
    background-position: center;
    box-shadow: 0 10px 20px rgba(99, 99, 99, 0.4); /* 影で立体感 */
    text-align: left;
  }
.terms > div > div{
    width: 100%;
    border-radius: 25px;
    background-image: url(../img/223842.png);
    background-size: cover;
    width: 100%;
    padding: 2em 1em;
    max-height: 700px;
    overflow-y: scroll;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5), 0 0 10px rgba(255, 255, 255, 0.3), 0 0 15px rgba(255, 255, 255, 0.2);
  }

  .terms h2 {
    font-size: 2em;
    position: relative;
    display: inline-block;
    overflow: hidden;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5), 0 0 10px rgba(255, 255, 255, 0.3), 0 0 15px rgba(255, 255, 255, 0.2);
    color: white;
    background-color: transparent;
    padding-bottom: .3em;
}

.terms h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;  /* ボーダーの高さ */
    background: url('../img/b_simple_2_0L.png') repeat-x; /* 画像を繰り返して表示 */
    transition: width 2s ease-in-out;
}
.terms h2.in-view::after {
    width: 100%;
}
ul{
    list-style: none;
}
.first_thing{
    text-align: left;
    margin-bottom: 2.5em;
}
.terms h3{
    font-size: 1.4em;
    margin-bottom: .5em;
}
.each_term > li{
    margin-bottom: 2.5em;
}
.terms_details{
    padding: .5em 0 0 1em;
}

.terms_details li{
    margin-bottom: .3em;
    line-height: 1.2em;
}


@media (min-width: 1000px) {


    .terms > div{
        margin: 2em auto;
        width: 100%;
        height: 100%;
        max-width: 900px;
        padding: .5em;
        border-radius: 25px;
        background-image: url(../img/22706670.jpg);
        background-position: center;
        box-shadow: 0 10px 20px rgba(99, 99, 99, 0.4); /* 影で立体感 */
        text-align: left;
      }
}