*{
    box-sizing: border-box;
}
body{
    margin: 0;
    background-color: #ffeff6;
}

.swiper img{
    width: 100%;
    display: block;
}
.swiperbox{
    width: 1400px;
    margin: 0 auto;
}
 /* べネーション */
 .slider-area .swiper-pagination{
    position: static;
    margin-top: 5px;
    text-align: center;
 }

 /* 矢印を横並びにする */
 .swiper-navigation{
    display: flex;
    justify-content: space-between;
    margin-top: 16px;
 }

 .slider-area .swiper-button-prev,
 .slider-area .swiper-button-next{
    width: 50px;
    height: 100px;
    color:#333 ;
    background-color: rgba(225, 225, 225,0.6);
 }
 .slider-area .swiper-navigation-icon{
    width: 30px;
    height: 30px;
 }
 .slider-area{
    height: 850px;
 }

 .slider-area .swiper-pagination-bullet{
    background-color: #aaa;
    opacity: 1;
 }
 .slider-area .swiper-pagination-bullet-active{
    background-color: #fd94c5;
 }




h1{
    margin: 0;
}
.slide img, .access_item img, iframe{
    width: 100%;
}
section h2{
    border-left: 5px solid #fd94c5;
    border-bottom: 6px solid #ffe2ee;
    width: 200px;
    padding-left: 30px;
}
p,h2{
    color: #333;
}
body main{
    width: 75%;
    margin: 0 auto;
}
.headerflex{
    display: flex;
    justify-content: space-between;
}

header .logo img{
    max-height: 25px;
    width: 320px;
    margin: 13px 40px;
}
header .slide{
    text-align: center;
}
header ul{
    list-style-type: none;
    margin-right: 100px;
}
.nav{
    display: flex;
    justify-content: center;
    gap: 60px;
}

a:link{
    color: #ff66ad;
    text-decoration: none;
}
a:visited{
    color: #ff66ad;
    text-decoration: none;
}
a:hover{
    color: #ff268b;
    text-underline-offset: 1px;
}
a:active{
    color: #ff66ad;
    text-decoration-color: #ff268b;
    text-underline-offset: 1px;
}
span{
    color: #ffa2cd;
}


        /* 動き */
.line{
    position: relative;
    text-decoration: none;
    color: #ff3b97;
}
.line::after{
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px; /* 線の位置 */
    width: 0; /* 最初は線の長さゼロ */
    height: 2px;
    background-color: #ffa2cd;
    transition: width 0.3s ease-out;
}
.line:hover::after{
    width: 100%;
}

main ul{
    list-style-type: none;
}

main>div>p{
    text-align: center;
    width: 80%;
    margin: 0 auto 40px;
}


section{
    background-color: #ffffff;
    padding: 15px;
    margin: 40px 0;
    border-radius: 0 20px 0 20px;
    box-shadow: 2px 3px 2px rgba(168, 100, 147, 0.7);
}

/* アイテム------------- */
.items{
    width:100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px 20px;
    padding: 0;
}

.item{
    background-color: #ffe2ee;
}
.item img{
    max-height: 250px;
    width: 100%;
    object-fit: cover;
    border-radius: 0 40px 0 40px;
}
section>div>div>p{
    text-align: center;
}


/* お知らせ----------- */

section>p{
    margin-left: 40px;
}
section>div>div>div>img{
    max-width: 200px;
    max-height: 180px;
}
.banner img{
    width: 100%;
}



/* アクセス------------- */
table{
    border-collapse: collapse;
    width: 100%;
    margin-left: 40px;
    margin-bottom: 30px;
}
table th, table td{
    border: 2px solid #dbdbdb;
    padding: 10px 15px;
    color: #333;
}
iframe{
    margin: 0 auto;
}
.access_items{
    display: flex;
    gap: 30px;
}
.access_item img{
    width: 350px;
}
.roll img{
    width: 100%;
}
address{
    font-style: normal;
}


/* SimpleLightbox　ライトボックス --------------------- */

/* 画像の下のキャプション部分 */
.sl-wrapper .sl-image .sl-caption {
    color: #333 !important; /* 文字色 */
    background: #ffcfe5 !important; /* 背景色 */
	text-align: center; /* 行そろえ */
}

/* 画像の周りの部分 */
.sl-overlay {
    background: rgba(12, 7, 11, 0.6) !important; /* rgbaで半透明に */
}

/* ※ 閉じるの部分 */
.sl-close {
    color: #333 !important;	
}

/* ※ 画像送りの部分 */
.sl-navigation .sl-prev, 
.sl-navigation .sl-next {
    color: #333 !important;
}

/* ※ 閉じると画像送りの部分を同じ色にする場合 */
.sl-wrapper .sl-navigation button {
    color: #fff !important;
}



@keyframes rotate_animation{
    0%{
        transform: rotate(0);
        transform-origin: center;
    }
    50%{
        transform: rotate(-180deg);
        transform-origin: center;
    }
    100%{
        transform: rotate(-360deg);
        transform-origin: center;
    }
}
.access_item_div{
    position: relative;
    width: 400px;
    margin-left: 20px;
}
.access_item.roll{
    position: absolute;
    top: 5px;
    left: 210px;
    animation-name: rotate_animation;
    animation-duration: 10s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}




/* フッター---------------- */
footer p img{
    position: fixed;
    bottom: 35px;
    left: 95%;
    max-width: 40px;
    border-radius: 50%;
    box-shadow: 1px 3px 3px rgba(122, 122, 122, 0.7);
}
footer a:active{
    opacity: 0.7;
}
.copyright{
    background-color: #e83e77;
    text-align: center;
    color: #fff;
    padding-top: 60px;
    padding-bottom: 85px;
    margin: 0;
}




/*------------------------------------------------------------------*/
@media(max-width:1000px) {
    body main{
        width: 90%;
        margin: 0 auto;
    }
    .nav{
        gap: 30px;
    }
    .item img{
        height: 75%;
        border-radius: 0 35px 0 35px;
    }
    .item p{
        margin: 0;
    }
    .access_items{
        display: inline;
    }
    table{
        max-width: 80%;
    }

    .access_item_div{
        margin-bottom: 250px;
    }
    .access_item.roll{
        position: absolute;
        top: 200px;
        left: 100%;
    }
}

@media(max-width:805px) {
    .headerflex{
        display: inline;
    }
    header .logo{
        text-align: center;
    }
    header .logo img{
        max-height: 40px;
        margin: 20px auto 0;
    }
    header ul{
        margin-right: 0;
        padding: 0;
    }
    .nav{
        display: flex;
        justify-content: center;
        gap: 30px;
        margin-bottom: 20px;
    }
    .nav ul{
        margin: 0 auto;
    }

    .swiperbox{
        width: 90%;
    }
    .slider-area .swiper-pagination{
        position: static;
        margin-top: 2px;
        text-align: center;
    }
    .slider-area .swiper-button-prev,
    .slider-area .swiper-button-next{
        width: 30px;
        height: 80px;
    }
    .slider-area .swiper-navigation-icon{
        width: 24px;
        height: 24px;
    }
    .slider-area{
        height: 300px;
    }

    .swiper{
        position: relative;
    }
    .swiper-button-prev,
    .swiper-button-next{
        top: 50%;
        transform: translateY(-30%);
    }

    .items{
        width:100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
        padding: 0;
    }
    .item img{
        height: 70%;
        border-radius: 0 20px 0 20px;
    }
    .item p{
        margin: 0;
        font-size: 13px;
    }
    .items{
        gap: 20px 10px;
    }
    th,td{
        font-size: 14px;
    }
    .access_items{
        display:inline;
    }
    .access_item_div{
        margin-left: 11%;
        max-width: 100%;
    }
    .access_item.roll{
        left: 29%;
    }
    .smallsize{
        font-size: 14px;
    }
    footer p img{
        bottom: 65px;
        left: 90%;
        width: 40px;
        border-radius: 50%;
        z-index: 100;
    }
}