@charset "utf-8";
*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
 
.clearfix::after{
  content: "";
	display: block;
	clear: both;
}

.cf {
    zoom:1;
}

/* =====ボタン内側===== */
.openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 7px;
    height: 1px;
    border-radius: 2px;
	background: #eee;
  	width: 70%;
}

/* =====コンテンツ===== */
.box{
    color: #eee;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    transition:  0.5s cubic-bezier(0.4, 0.4, 0, 1)
}

#box1{
    background-image: url(../img/st_top_25ss-1.jpg);
}

#box2{
    background-image: url(../img/st_top_25ss-2.jpg);
}

#box3{
    background-image: url(../img/st_top_25ss-3.jpg);
}

#box4{
    background-image: url(../img/st_top_25ss-1.jpg);
}
.box-link {
    width: 100%;
    height: 100%;
    cursor: pointer;
    display: flex;
    justify-content: left;
    align-items: flex-end;
    padding: 55px 20px;
}

.box a:hover{
	color: #eee;
}

/*=====ページネーションCSS =====*/

.pagination {
	position:fixed;
	right:20px;
	top: 50%;
  	transform: translateY(-50%);
	font-size:1em;
	z-index: 10;
	list-style: none;
}

.pagination a {
	display:block;
	height:20px;
	margin-bottom:5px;
	color:#eee;
	position:relative;
	padding:4px;
}

.pagination a.active:after {
	box-shadow:inset 0 0 0 5px;
}

/*現在地表示のテキストの設定*/
.pagination a .hover-text {
	position:absolute;
	right:15px;
	top:0;
	opacity:0;
	-webkit-transition: opacity 0.5s ease;
	transition: opacity 0.5s ease;
	padding-right: 15px;
}

.pagination a:hover .hover-text {
	opacity: 1;
}

.pagination a:after {
	-webkit-transition:box-shadow 0.5s ease;
	transition:box-shadow 0.5s ease;
	width:8px;
	height:8px;
	display: block;
	border:1px solid;
	border-radius:50%;
	content:"";
	position: absolute;
	margin:auto;
	top:0;
	right:3px;
	bottom:0;
}

#main{
    min-height: 100vh;
    position: relative;
}


/* タブレット: 768px〜 */
@media screen and (max-width:768px) { 

    #box1{
        background-image: url(../img/st_top_25ss-1-sp.jpg);
    }

    #box4{
        background-image: url(../img/st_top_25ss-1-sp.jpg);
    }

	.pagination a .hover-text{
		display: none;
	}

    #g-nav, #g-nav.panelactive #g-nav-list {
        width: 100%;
    }

    #g-nav ul {
        left: 60px;
    }

    /* .sp-only {
    display: block;
    } */
}

@media (orientation: landscape) and (max-width: 768px){
    #box1{
        background-image: url(../img/st_top_25ss-1.jpg);
    }

    #box4{
        background-image: url(../img/st_top_25ss-1.jpg);
    }

}

