html{
    height: 100%;
    background: linear-gradient(180deg, #A1F0FD 0%, #A1F0FD 50%, #67C6FE 50%, #67C6FE 100%);
}

body{
    width:100%;
    height: 100vh;
    background: linear-gradient(#67C6FE, #A1F0FD);
    background-repeat: no-repeat;
    font-family: "DotGothic16", sans-serif;
}

.menu_back{
    background-image: url(../img/menu_back.png);
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 10;
    position:absolute;
    width: 18%;
    height: 80vw;
    margin-left: 1%;
}

.home{
    position: absolute;
    width: 5%;
    bottom: 5%;
    left: 8%;
    margin-top: 27vw;
    z-index: 20;
}

.container {
    background-image: url(../img/wood.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 80%;
    height: 100vh;
    margin: 2% 1% 0 0;
    float: right;
}

.box{
    overflow-y: scroll;
    width: 90%;
    max-height: 40vw;
    margin: auto;
    margin-top: 8%;
    padding-top: 0.5%;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    text-align: center;
    gap: 5px;
}
.box div{
    width: 19%;
    white-space: nowrap
}
.box img{
    width: 100%;
    position:relative;
	top:0;
}
.box img:hover{
	top:-3px;
	transition:0.3s;
}
.box img:active{
	top:3px;
	transition:0.3s;
}

.box button {  /*buttonのデフォルトスタイルを消す*/
    padding: 0;
    background-color: transparent;
    border: none;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.home button {  /*buttonのデフォルトスタイルを消す*/
    padding: 0;
    background-color: transparent;
    border: none;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
}

/*スクロールバーのスタイル*/
.box::-webkit-scrollbar{  
    background: rgba(0, 0, 0, 0.5);
    width: 1vw;
    border-radius: 5vw;
}
.box::-webkit-scrollbar-thumb{
    background-color: #FFF4D4;
    border: 2px solid #000;
    border-radius: 5vw;
}

/* -----------モーダルCSS----------- */

.modalContents{
    display: flex;
    height: 30vw;
    margin: 3%;
    margin-top: 5%;
    margin-bottom: 10vw;
}
.modalContents h1{
    font-size: 2.3vw;
    line-height: 130%;
}
.modalContents h2{
    font-size: 1.8vw;
    margin-top: 1.3vw;
}
.modalContents h3{
    font-size: 1.5vw;
    line-height: 130%;
}
.modalContents h4{
    font-size: 1.4vw;
    text-align: right;
    margin-top: 5%;
    margin-bottom: 5%;
}
.modalContents p{
    font-size: 1.5vw;
    margin-top: 1.5%;
}
.leftbox{
    width: 45%;
    text-align: center;
    margin: 7% 3% 0 0;
}
.rightbox{
    width: 55%;
    margin: 2% 0 2% 0;
    padding-left: 5%;
    border-left: 0.3vw solid black;
}
.rightbox img{
    display: block; 
    margin: auto;
    margin-bottom: 3%;
}

.modal {
    display: none;
    position: fixed;
    z-index: 100; /*サイトによってここの数値は調整 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
  
.modalBg {
    width: 100%;
    height: 100%;
    background-color: rgba(255, 243, 184, 0.5);
}
  
.modalWrapper {
    position: absolute;
    top: 60%;
    left: 50%;
    transform:translate(-50%,-50%);
    height: 80%;
    width: 70%;
    /* padding-bottom: 3%; */
    padding: 0 4%;
    /* max-height: 300px; */
    max-width: 50vw;
    background-image: url(../img/memo_pop.png);
    background-size: contain;
    background-repeat: no-repeat;
    animation: show 0.3s linear 0s;
}
  
.modal-close {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    cursor: pointer;
    font-size: 2vw;
}

@keyframes show{
    from{
        opacity: 0;
    }
    to{
        opacity: 1;
    }
}

/* ボタン */
a.btn_25 {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	height: 2vw;
	width: 100%;
	margin: auto;
	padding: 0 0rem;
	border-radius: 0.5vw;
    border: 0.2vw solid black;
	background: #000;
	background-size: 100%;
	color: #fff;
    font-size: 1.5vw;
}
a.btn_25:hover::before {
  transform: scaleX(1);
}
a.btn_25:hover {
	color: #000;
}
a.btn_25 span {
  position: relative;
  z-index: 1;
}
a.btn_25::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  transform: scaleX(0);
  transform-origin: 0 50%;
  width: 100%;
  height: inherit;
  border-radius: inherit;
  background: linear-gradient(
    82.3deg,
    #A1F0FD 10.8%,
    #67C6FE 94.3%
  );
  transition: all 0.475s;
}

/*.frame1{
    transform: rotate(3deg);
}
.frame2{
    transform: rotate(-1deg);
}
.frame3{
    transform: rotate(2deg);
}
.frame4{
    transform: rotate(-2deg);
}*/
