@charset "utf-8";
#wrapper{
	position: relative;
  width: 100%;
  max-width: 750px;
  margin: 0 auto;
}
img {width: 100%;}


/*  downloadList  */
#downloadList{
  background: #1732ad;
  padding: 25px 25px 30px;
}
#downloadList h2{
  margin-bottom: 15px;
}
#downloadList .list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 18px;
}
#downloadList .list > li:nth-child(3) {
  grid-column: 1 / -1;
  margin-top: 15px;
}

#downloadList .list > li:nth-child(4) {
  grid-column: 1 / -1;
}
#downloadList .list > li .schedule{
  margin-bottom: 5px;
}
#downloadList .list > li .box{
  border: 2px solid #fff;
  box-sizing: border-box;
  padding: 10px 10px 20px;
}
#downloadList .list > li h3{
  margin-bottom: 10px;
}
#downloadList .list > li .downloadimglist{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  padding: 0 2px 15px;
}
#downloadList .list > li a{
  width: 60%;
  display: block;
  margin: 0 auto;
}
#downloadList .list > li .box{
  border: 2px solid #fff;
  box-sizing: border-box;
  padding: 10px 10px 20px;
}
#downloadList .list > li.clm1{
  grid-column: 1 / -1;
  margin-top: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 15px;
  padding: 0 2px 15px;
}



/*  downloadList_shop  */
#downloadList_shop{
  background: #1732ad;
  padding: 32px 22px 45px;
}
#downloadList_shop h2{
  margin-bottom: 15px;
}
#downloadList_shop .list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}


/*  downloadBlock  */
.downloadBlock{
  position: relative;
}
.downloadBlock h2{
  width: 100%;
  margin: 0 auto 15px;
}
.downloadBlock .list{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5%;
  padding: 0 6%;
}
.downloadBlock .list li{
  box-sizing: border-box;
  margin-bottom: 15px;
}
.downloadBlock .list li .icon{
  margin: 0 auto 10px;
}
.downloadBlock .list li .img{
  border: 3px solid #fff;
  box-sizing: border-box;
  margin: 0 auto 10px;
  width: 90%;
}
.downloadBlock .list li .name{
  width: 100%;
  margin: 0 auto;
}
.downloadBlock .btn{
  width: 85%;
  margin: 0 auto;
}
.downloadBlock .btn a{
  display: block;
  position: relative;
  z-index: 100;
}
.downloadBlock .illust1{
  position: relative;
  padding-bottom: 24%;
  
}
.downloadBlock .illust1 img{
  position: absolute;
  bottom: -20px;
  right: 0;
  width: 61%;
  z-index: 10;
}
.downloadBlock .illust2{
  position: relative;
  padding-bottom: 21%;
  
}
.downloadBlock .illust2 img{
  position: absolute;
  bottom: -20px;
  left: 3%;
  width: 85%;
  z-index: 10;
}




/*  school1  */
#school1{
    background: url(../images/bg1.png) no-repeat left top / cover;
}
#school2{
    background: url(../images/bg2.png) no-repeat left top / cover;
}
#school3{
    background: url(../images/bg3.png) no-repeat left top / cover;
}
#school4{
    background: url(../images/bg4.png) no-repeat left top / cover;
}
#school1.shop{
    background: url(../images/bg1_shop.png) no-repeat left top / cover;
}
#school2.shop{
    background: url(../images/bg2_shop.png) no-repeat left top / cover;
}
#school3.shop{
    background: url(../images/bg3_shop.png) no-repeat left top / cover;
}
#school4.shop{
    background: url(../images/bg4_shop.png) no-repeat left top / cover;
}




/*  infoBlock  */
#infoBlock{
    background: url(../images/bg5.png) no-repeat left top / cover;
    width: 100%;
    padding: 30px 0;
    box-sizing: border-box;
}
#infoBlock h3 {
  width: 40%;
  margin: 0 auto 20px;
}
#infoBlock .text {
  width: 83.5%;
  margin: 0 auto 50px;
}
/*
#infoBlock .sitebanner {
  width: 80%;
  margin: 0 auto 50px;
}
*/
#infoBlock .schedule {
  width: 72%;
  margin: 0 auto 50px;
}
#infoBlock .copyright {
  width: 61.5%;
  margin: 0 auto;
}




/*  modal  */

/*
#downloadModal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 9999;
}

#downloadModal img{
  width: 60%;
  max-width: 500px;
  -webkit-touch-callout: default;
  user-select: none;
}

#downloadModal a{
  margin-top: 20px;
  background: #fff;
  padding: 10px 20px;
  text-decoration: none;
}

.modal-close{
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: #fff;
  background: none;
  border: none;
}
.saveText{
  color: #fff;
  margin-top: 20px;
}
*/


/* ボタン */
.open-btn {
  border: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
  display: block;
}


.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

/* モーダル表示状態 */
.modal.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
}

/* モーダルの中身*/
.modal-content {
  width: 60vw;
  max-width: 500px;
  text-align: center;
  position: relative;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
}

.modal-close{
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 40px;
  color: #fff;
  background: none;
  border: none;
}
.saveText{
  color: #fff;
  margin-top: 20px;
}



/* アニメーション*/
.modal.active .modal-content {
  animation: fadeInScale 0.4s ease forwards;
}

@keyframes fadeInScale {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}


/*  pageTop  */

#pageTop{
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 50px;
  height: 50px;
  background: #000;
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transition: .3s;
  z-index: 1000;
}
#pageTop{
  bottom: calc(20px + env(safe-area-inset-bottom));
}
/* 矢印 */
#pageTop::before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:10px;
  height:10px;
  border-top:3px solid #fff;
  border-left:3px solid #fff;
  transform: translate(-50%,-30%) rotate(45deg);
}

#pageTop.show{
  opacity:1;
  visibility:visible;
}