@charset "UTF-8";
body{
    background-color: #afeeee;
}
main article img{
    width: 100%;
    height: auto;
}
#about img{
    width: 100%;
}
#news{
    padding-top: 100px;
    padding-bottom: 50px;
    color:#366769;
    pointer-events: none;
}
.news-text{
    padding-left: 14%;
    padding-right: 10%;
    padding-bottom: 50px;
}
.item-attend{
    background-image: url(images/bg1.jpeg);
    background-size: cover;
    padding-top: 50px;
    padding-bottom: 230px;
    border-top: 5px dotted white;
    border-bottom: 5px dotted white;
}
.text3{
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    position: absolute;
    margin-left: 15%;
    margin-right: 15%;
    margin-top: -45px;
    padding: 20px 20px;
    color: #366769;
}
.item-plan{
    color: #366769;
    padding-bottom: 50px;
    background-color: white;
    pointer-events: none;
}
.present{
    text-align: center;
    margin-top: -50px;
}
.andmore img{
    padding-top: 20px;
    width: 60%;
    height: auto;
    margin-left: 15%;
}

/* ホバー時色変える */
.andmore img:hover{
    color: rgb(255, 255, 255, 0.5);
}
/*  */
#print{
    background-color: white;
    color: #5f9ea0;
    padding: 30px 0;
    border-radius: 8px;
    margin-top: 50px;
    margin-left: 5%;
    margin-right: 5%;
}
.item-print{
    padding-top: 40px;
}
.attend-2{
    color: white;
}
ol, ul{
    list-style-position: inside;
}
/* アイテム画像ここから */
#news img{
    width: 50%;
    height: auto;
    margin-top: -20%;
    margin-left: 5%;
}
#attend img{
    width: 70%;
    height: auto;
    margin-left: -2%;
    margin-top: -60px;
}
#plan img{
    width: 70%;
    height: auto;
    margin-top: 50px;
    margin-left: -2%;
}
.list img{
    width: 70%;
    height: auto;
    margin-top: -10px;
}
.print2 img{
    width: 80%;
    height: auto;
    margin-top: -20%;
    margin-left: -5%;
}
#form img{
    width: 70%;
    height: auto;
}
#QA img{
    width: 45%;
    height: auto;
    margin-left: 40%;
    margin-top: -30px;
}
/* アイテム画像ここまで */

/* テキスト中央寄せ左揃えここから */
.text{
    padding-left: 15%;
    padding-right: 10%;
    margin-top: -5%;

}
/* テキスト中央寄せ左揃えここまで */

.scroll{
    display: flex;
    flex-direction: column;
    text-align: center;
    color: #366769;
}
.banner a img{
    width: 60%;
    height: auto;
    padding-left: 10%;
    padding-top: 30px;
}
h4{
    padding-bottom: 10px;
}
.text2{
    padding-left: 15%;
    padding-right: 10%;
    border-bottom: 1px dotted #5f9ea0;
}
.text2:last-child{
    border-bottom: none;
}
.item-line img{
    width: 100%;
    height: auto;
    padding-top: px;
}
.box img{
    width: 40%;
    height: auto;
    position: fixed;
    top: 10%;
    right: -10%;
    pointer-events: none;
}
.box2 img{
    width: 40%;
    height: auto;
    position: fixed;
    top: 0;
    left: -10%;
    pointer-events: none;
}
.box3 img{
    width: 40%;
    height: auto;
    position: fixed;
    top: 60%;
    left: -10%;
    pointer-events: none;
}
.box4 img{
    width: 40%;
    height: auto;
    position: fixed;
    top: 60%;
    right: -10%;
    pointer-events: none;
}
.item-form{
    background-image: url(images/bg2.PNG);
    background-size: 100%;
    margin-top: 80px;
    padding-bottom: 150px;
    color: #366769;
}
#form p{
    padding-left: 10%;
    padding-right: 35%;
}
.item-QA{
    background-image: url(images/bg3.PNG);
    background-size: 100%;
    padding-bottom: 100px;
    color: #366769;
}
.QA-text{
    padding-left: 40%;
    padding-right: 10%;
    margin-top: -20px;
}
.andmore2 img{
    width: 45%;
    height: auto;
    margin-top: 10px;
    margin-left: 45%;
}

/* サークル横並び */
.horizontal_scroll {
  overflow-x: scroll;
  -webkit-overflow-scrolling: touch;
  padding: 20px 0 12px 8px;
  display: -ms-flexbox;
  display: flex;
  list-style-type: none;
  justify-content: safe center; 
 }
.horizontal_scroll img{
    width: 80%;
}
/* 画面幅が1500px以上の場合、横スクロールを解除 */
@media screen and (min-width: 1500px) {
  .horizontal_scroll {
    overflow-x: inherit;
    padding: 0 8px 6px; } }

.horizontal_scroll > li {
  width: 100%;
  min-width: 140px; }

@media screen and (min-width: 1500px) {
  .horizontal_scroll > li {
    min-width: inherit; } }

.horizontal_scroll > li:not(:last-child) {
  margin-right: 5px; }

.horizontal_scroll > li:last-child {
  padding-right: 5px; }

@media screen and (min-width: 1500px) {
  .horizontal_scroll > li:last-child {
    padding-right: 0; } }

.horizontal_scroll img {
  vertical-align: bottom; }


  /* 発火アニメーション */
.fadein {
    opacity: 0;
    transform: translate(0,0);
    transition: all 1s;
  &.fadein-bottom{
      transform: translate(0,30px);
  }
  &.scrollin{
    opacity: 1 !important;
    transform: translate(0, 0) !important;
  }
}

/* ローディングアニメーション */
/* ローディング画面のスタイル（画面全体を覆う場合） */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease; /* フェードアウト用 */
}

/* 画像のパルスアニメーション */
.pulse-image {
  width: 200px; /* 必要に応じてサイズ変更 */
  height: auto;
  animation: pulse 1.2s infinite ease-in-out;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.15); /* 拡大時サイズ */
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
}

/* フェードアウト用の非表示クラス */
.is-hidden {
  opacity: 0;
  pointer-events: none;
}




footer{
    color: #366769;
    background-color: rgb(255, 255, 255, 0.5);
    padding-top: 50px;
    text-align: center;
}

@media screen and (min-width: 1000px) {
    article div img{
        background-image: url(images/pc_visual.PNG);
        background-size: cover;
    }
    #news img{
    width: 30%;
    height: auto;
    margin-top: -20%;
    margin-left: 15%;
    }
    .news-text{
        padding-left: 20%;
    }
    #attend img{
    width: 45%;
    height: auto;
    margin-left: 10%;
    margin-top: -60px;
    }
    .text3{
        padding-left: 20%;
        padding-right: 20%;
    }
    #plan img{
    width: 40%;
    height: auto;
    margin-top: 50px;
    margin-left: 10%;
    padding-bottom: 50px;
    }
    .present{
        width: 100%;
        height: auto;
        margin-left: -5%;
    }
    .list img{
    width: 45%;
    height: auto;
    margin-top: -10px;
    margin-left: 10%;
    }
    .horizontal_scroll img{
        width: 80%;
    }
    .andmore{
        width: 50%;
        margin-left: 27%;
    }
    .print2 img{
    width: 45%;
    height: auto;
    margin-top: -20%;
    margin-left: 6%;
    }
    .banner{
        width: 70%;
        padding-left: 7%;
    }
    .item-print{
        padding-bottom: 100px;
    }
    #form img{
    width: 80%;
    height: auto;
    margin-top: -100px;
    }
    .item-form{
        background-image: none;
    }
    #form p{
        padding-right: 20%;
        padding-left: 15%;
        padding-top: 50px;
    }
    #QA img{
        width: 60%;
        padding-top: 120px;
        margin-left: 15%;
    }
    .item-QA{
        background-image: none;
    }
    .QA-text{
        padding-left: 25%;
        padding-right: 15%;
    }
    .end{
        background-image: url(images/bg4.PNG);
        background-size: 100%;
        padding-bottom: 100px;
        display: flex;
        justify-content: space-between;
    }
    .box3 img{
        display: none;
    }
    .box4 img{
        display: none;
    }
}