@charset "utf-8";

html{
    font-size: 100%;
    scroll-padding-top: 100px;
    scroll-behavior: smooth;
    box-sizing: border-box;
}

body{
    background-color: rgba(51, 51, 51, 0.8);
    color: #fff;
    font-weight: 600;
    font-family: "Zen Old Mincho", serif;
}

a{
    text-decoration: none;
    color: #fff;
}

p{
    font-size: 1.3rem;
}

img{
    max-width: 100%;
}

li{
    list-style: none;
    font-size: 1.2rem;
}

address{
    font-style: normal;
}

/* hover */


/* header */
.shishi-head{
    background-color: #0f2450;
    position: fixed;
    width: 100%;
    height: 50vh; /* ビューポートの高さの50% */
    transition: transform 0.5s ease-in-out; 
    z-index: 500;
}

.shishi-head-top{
    top: 0;
}

.shishi-head-bottom{
    bottom: 0;
}

.shishi-head.shishi-head-top.is-fixed{
    height: 100px;
    z-index: 999;
}

.shishi-head.shishi-head-bottom.is-fixed{
    height: 100px;
    z-index: 999;
}

.header{
    position: relative;
    height: 750px;
    width: 100%;
    background-color: rgba(51, 51, 51, 0.8);
}

.header-logo>img{
    position: absolute;
    top: 57%;
    left: 50%;
    transform: translate(-50% ,-43%);
    width: 45%;
    opacity: 0.2;
    z-index: 600;
}

.header-title{
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50% ,-45%);
    font-size: 4.0rem;
    font-weight: 800;
    writing-mode: vertical-rl;
    text-shadow: 0 0 8px gray;
    z-index: 600;
}

.header-sub-title{
    position: absolute;
    top: 60%;
    left: 60%;
    transform: translate(-40% ,-40%);
    font-size: 2.5rem;
    font-weight: 800;
    writing-mode: vertical-rl;
    text-shadow: 0 0 8px gray;
    z-index: 600;
}

.header-nav{
    position: fixed;
    width: 100%;
    bottom: 110px;
    transform: translateY(200%);
    transition: transform 1.0s ease-in-out; 
    z-index: 99;
}

.header-nav.visible{
    transform: translateY(0); /* 画面内に表示 */
}

#header-nav:not(.visible) {
    /* Y軸方向に自身の高さ分、上に移動させて画面外に隠す */
    transform: translateY(400%);
}

.header-nav-list{
    display: flex;
    justify-content: center;
    gap: 50px;
}

.header-nav-item{
    text-align: center;
    min-width: 150px;
    background-color: #0f2450;
    box-shadow: 0 0 8px gray;
    padding: 10px;
    border-radius: 20px;
}

.header-nav-img{
    width: 80px;
}

@media screen and (max-width: 800px) {
    .header-nav{
        display: none;
    }
    .header-logo>img{
        width: 80%;
    }
}

@media screen and (max-width: 480px) {
    .header-sub-title{
        top: 60%;
        left: 70%;
        transform: translate(-40% ,-30%);
    }  
}

/* background */
.background{
    position: fixed;
    top: 80px;
    z-index: -2;
}

.swiper{
    margin: 0 calc(50% - 50vw);
    max-width: 100vw;
    position: relative;
    overflow: hidden;
}

@keyframes zoomIn {
  from {
    transform: scale(1.05); /* 開始時のサイズ */
  }
  to {
    transform: scale(1.0); /* 終了時のサイズ */
  }
}

.slide-images img{
    object-fit: cover;
    height: 100vh;
    width: 100vw;
    animation-name: zoomIn; /* 1で定義したアニメーション名 */
    animation-duration: 5s; /* アニメーションにかかる時間 */
    animation-timing-function: ease-in-out; /* アニメーションの速度変化 */
    animation-fill-mode: forwards; /* アニメーション終了後に終了時のスタイルを保持 */
}

.swiper-scrollbar-horizontal{
    display: none;
}

/* base */
.section{
    width: 100%;
}

.section.black-bg{
    width: 100%;
    background-color: rgba(51, 51, 51, 0.8);
}

.section.sb-bg{
    width: 100%;
    background: rgba(160, 216, 239, 0.9);
    color: #0f2450;
}

.section-button{
    text-align: center;
}

.button{
    display: inline-block;
    text-align: center;
    margin-top: 10px;
    padding: 2px 5px;
    border: 2px solid #333;
    border-radius: 15px;
    transition: color,border .25s;
    color: #0f2450;
}

.sb-bg .button:hover{
    background-color: #fff;
}

.wrapper{
    padding: 20px 4%;
}

.wrapper.page-title{
    padding-bottom: 5px;
}

.wrapper.page-content{
    padding-top: 20px;
    min-height: 500px;
}

.sec-title{
    font-size: 2.0rem;
    padding: 20px 0 10px;
    text-align: center;
}

.wrapper.pankuzu{
    padding: 20px;
    text-align: left;
}

.pankuzu a:hover{
    opacity: 0.5;
}

/* grid */
.grid{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.grid-4 > .grid-item{
    width: 24%;
    transition: all .25s;
}



@media screen and (max-width: 800px) {
    .grid-4 > .grid-item{
        width: 48%;
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 480px) {
    .grid-4 > .grid-item{
        width: 100%;
    }
}

/* pickup */
.np-title{
    text-align: center;
}

.np-card{
    background-color: #fff;
    border-radius: 20px;
    padding: 20px;
    margin: 5px auto 25px auto;
    width: 50%;
    box-shadow: 0 0 8px gray;
}

.np-name{
    display: block;
    text-align: center;
    font-size: 2.5rem;
    color: #0f2450;
}

.np-time,.np-address>a>p{
    display: block;
    font-size: 0.9rem;
    color: #0f2450;
}

.pp-button-box{
    display: flex;
    justify-content: space-between;
    width: 50%;
    margin: 0 auto;
}

.pp-button>a>p{
    color: #0f2450;
}

@media screen and (max-width: 800px) {
    .np-card{
        width: 90%;
    } 
    .pp-button-box{
        width: 90%;
    }
}

@media screen and (max-width: 480px) {
    .pp-button>a>p{
        font-size: 1.0rem;
    }
}


/* about */
.about-section{
    position: relative;
    min-height: 500px;
}

.about-title{
    position: absolute;
    writing-mode: vertical-rl;
}

.about-content{
    padding: 50px 50% 0 100px;
}

.sec-image{
    position: absolute;
    width: 40%;
    right: 5%;
}

@media screen and (max-width: 800px) {
    .about-content{
        padding: 50px 0 0 100px;
    }
    .sec-image{
        display: none;
    }
}

/* news */
.news-body{
    margin: 0 auto;
}

.news-content{
    margin-top: 30px;
}

.news-card{
    margin: 10px;
    width: 250px;
    height: 350px;
    background-color: #fff;
    color: #0f2450;
    border-radius: 5px;
    box-shadow: 0 0 8px gray;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    overflow: hidden;
}

.news-card.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.news-card.visible:hover{
    color: #fff;
    background-color: #007bbb;
    overflow: hidden;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.news-card.visible:hover>.news-card-image{
    max-height: 187.5px;
    max-width: 250px;
    overflow: hidden;
}

.news-card.visible:hover>.news-card-image>img{
    transform: scale(1.05);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.news-card::before{
  content:"";
  display: block;
  width:23%;
  order:1;
}

.news-card::after{
  content:"";
  display: block;
  width:23%;
}

.news-card-image{
    max-height: 187.5px;
    background-color: #A0D8EF;
    overflow: hidden;
}

.news-card-image>img{
    width: 100%;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.news-card-info{
    display: flex;
    justify-content: space-between;
    padding: 10px 20px 5px;
    font-size: 1.1rem;
}

.news-card-category{
    font-size: 1.1rem;
}

.news-card-title{
    height: 115px;
    padding: 0 20px;
    font-size: 1.2rem;
    overflow: hidden;
}

@media screen and (min-width: 1300px) {
    .news-list{
        flex-wrap: nowrap;
    }
}

@media screen and (max-width: 880px) {
    .news-list{
        justify-content: center;
        gap: 20px;
    }
}

@media screen and (max-width: 800px) {
    .news-category-list{
        flex-wrap: wrap;
    }

    .news-category-item{
        width: 29%;
        text-align: center;
        margin: 5px;
    }
}



.footer-main,.footer-nav,.copyright{
    padding: 20px 4% 0;
    background-color: #fff;
    color: #0f2450;
}

.footer-main{
    display: flex;
    justify-content: space-between;
    padding-bottom: 40px;
}

.footer-contact{
    position: relative;
    z-index: 1;
}

.footer-contact-item{
    margin: 10px 0;
}

.footer-mtf>a{
    display: flex;
    width: fit-content;
    color: #0f2450;
}

.footer-mtf>a>img{
    width: 30px;
    margin-right: 10px;
}

.footer-sitemap-item{
    display: flex;
    justify-content: space-between;
    margin: 5px 0;
    padding: 5px 15px;
    border: 2px solid #333;
    border-radius: 30px;
    width: 40%;
    min-width: 200px;
    text-align: center;
}

.footer-sitemap-item>a{
    display: block;
    color: #0f2450;
}

.footer-sitemap-item:hover{
    background-color: #eae5e3;
}

.footer-nav{
    display: flex;
    gap: 20px;
}

.footer-nav-item>a{
    color: #0f2450;
}

.copyright{
    text-align: center;
    padding-bottom: 10px;
    color: #0f2450;
    margin-bottom: 100px;
}

.copyright>p>a{
    color: #0f2450;
}

@media screen and (max-width: 800px) {
    .footer-main{
        flex-direction: column-reverse;
        padding-bottom: 0;
    }

    .footer-sitemap-item{
        margin: 5px auto;
    }

}

@media screen and (max-width: 480px) {
    .footer-mtf>a>p{
        font-size: 0.8rem;
    }

    .footer-nav{
        display: block;
    }

    .copyright>p{
        font-size: 0.9rem;
    }
}