@charset "utf-8"; /* CSS Document */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#wrapper{
    width: 800px;
    margin: 0 auto;
}

img{
    width: 100%;
    vertical-align: bottom;
}

.manage_wrap {
    width: 800px;
    margin: 0 auto 1vh;
}

.lp_manage {
    font-size: 16px;
    text-align: center;
    width: 16vw;
    border: 1px solid;
}

@media screen and (max-width: 640px) {

    #wrapper{
        width: 100%;
    }

    .lp_manage {
        font-size: 4vw;
        text-align: center;
        width: 60vw;
        border: 1px solid;
        margin-left: 1vw;
    }
    
    .manage_wrap {
        width: 100%;
    }
}

a:hover{
    opacity: 0.7;
}

@media screen and (max-width: 640px) {
img{margin-top: -1px;}
}

 /* スライド用 */
.slide_wrap{
aspect-ratio: 800/800;
position: relative;
overflow: hidden; 
}

.slider_container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 800 / 800;
}

.slider {
    display: flex;
    width: 100%;
    position: relative;
    top: 0;
    left: 0;
}

.slide_img {
    flex: 0 0 100%;
    max-width: 100%;
}

.slide_img p {
    margin: 0;
    width: 100%;
    aspect-ratio: 800 / 800;
}

.slide_img img {
    width: 100%;
    height: auto;
    display: block;
}

.slide_next {
  width: 8.5%;
  position: absolute;
  right: 0;
  bottom: 45%;
  z-index: 10;
  cursor: pointer;
}

.slide_next:hover {
  opacity: 0.7;
}

.slide_prev {
  width: 8.5%;
  position: absolute;
  left: 0;
  bottom: 45%;
  z-index: 10;
  cursor: pointer;
}

.slide_prev:hover {
  opacity: 0.7;
}

/*100% (コンテナ1個分) ずつ動かす */
.slider1 { transform: translateX(0); }
.slider2 { transform: translateX(-100%); }
.slider3 { transform: translateX(-200%); }
.slider4 { transform: translateX(-300%); }
.slider5 { transform: translateX(-400%); }
.slider6 { transform: translateX(-500%); }
.slider7 { transform: translateX(-600%); }
.slider8 { transform: translateX(-700%); }
.slider9 { transform: translateX(-800%); }
.slider10 { transform: translateX(-900%); }

/* 共通のアニメーション設定 */
.slider {
    display: flex;
    width: 100%;
    position: relative;
    transition: transform 0.3s ease;
}
/* スライド用ここまで */

.btn{
    position: absolute;
    aspect-ratio: 695/153;
    width: 86.875%;
    left: 6.5625%;   
}

.cont_02{
    position: relative;
    aspect-ratio: 800/908;
}

.cont02_btn{
    position: absolute;
    bottom: 0%;
}

.cont_07{
    position: relative;
    aspect-ratio: 800/745;
}

.cont07_btn{
    position: absolute;
    bottom: 7%;
}


#last{
	width: 100%;
    background-color: #ffe6e9;	
}

#last p{
	width: 800px;
	margin:20px auto 10px;
	padding: 0 5px 20px;
	font-size: 16px;
}

@media screen and (max-width: 640px) {

#last{
    background-color: #ffe6e9;		
}

#last p{
    width: 100%;
    margin: 20px auto 10px;
    padding: 0px 20px 20px;
    font-size: 16px;
}

}

#bunner{
    position: fixed;
    bottom: 3vh;
    right: 5%;
    width: 10%;
    max-width: 150px;
    transition: 1s;
    opacity: 0;
    z-index: 1;
}

.bunner_out{
    transition: 1s;
    opacity: 1!important;
}

.block-page-top{
display: none !important;
}

@media screen and (max-width: 640px) {

    #bunner{
        position: fixed;
        bottom: 2vh;
        right: 5%;
        width: 20%;
    }

}

@keyframes bunner_out{
    100%{opacity: 0;}
}
