@charset "utf-8";

/* reset -------------------------------- */
html,h1,h2,h3,ul,li,p,span,small {
    margin: 0;
    padding: 0;
    line-height: 1.0;
}
img {
    max-width: 100%;
    vertical-align: bottom;
}
a {
    text-decoration: none;
    color: inherit;
}
ul,li {
    list-style: none;
}

/* body -------------------------------------------- */
html {
    font-size: 62.5%;
}
body {
    width: 100%;
    height: 100vh;
    background: #fff url(../img/main.jpg) no-repeat center center/cover;
    background-attachment: fixed;
    font-size: 1.6rem;
    font-family:
        "Noto Serif JP",
        serif,
        "Mrs Saint Delafield",
        cursive;
    position: relative;
}
#top {
    position: absolute;
    top: 0;
    left: 0;
    margin: auto;
}
/* logo -------------------------------------------- */

.logo.scroll {
    display: block;
    width: 30rem;
    height: 22.9rem;
    opacity: 1;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    margin: 0 auto auto 0;
    z-index: 9998;
}
@media (max-width: 767px){
    .logo.scroll {
    width: 30%;
    height: auto;
}
}
/* layout -------------------------------------------- */
.header {
    width: 100%;
    height: 100vh;
    position: absolute;
    top: 0;
    left: 0;
    margin: auto;
}

/* g-nav -------------------------------------------- */

.g-nav.scroll {
    display: block;
    width: 60rem;
    height: 20.9rem;
    background: url(../img/png-2/nav2.png) no-repeat right -2rem/contain;
    position: fixed;
    top: 0;
    right: 0;
    margin: auto;
    font-family:
        "Noto Serif JP",
        serif;
    z-index: 9999;
}
.sp-menu {
    width: 18rem;
    height: 3rem;
    text-align: end;
    color: rgba(255, 255, 255, 0.9);
    font-size: 5rem;
    font-weight: normal;
    font-family:
        "Mrs Saint Delafield",
        serif;
    position: fixed;
    top: 10rem;
    right: 2rem;
    margin: auto;
}
.g-nav-ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.g-nav a {
    display: block;
    margin: 0 1rem;
    padding: 1rem 0.5rem;
    line-height: 2;
    text-align: center;
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.9);
    background: url(../img/png-2/banner01.png) no-repeat center center/contain;
}
.g-nav-ul>li:nth-child(4) a{
    margin: 0 1rem 0 8rem;
}
.g-nav-ul>li:nth-child(5) a{
    margin: 0 1rem 0 1rem;
}
.g-nav-ul>li:nth-child(6) a{
    margin: 0 1rem 0 1rem;
}
.g-nav-ul>li:nth-child(7) a{
    margin: 0 1rem 0 1rem;
}
.g-nav a:hover {
    color: #003a65;
}

@media (max-width: 767px){
    
    .g-nav.scroll {
        width: 32rem;
        height: 
            56.8rem;
        background: 
            url(../img/png-2/nav_sp.png) no-repeat right -3rem/contain;
        /* .containerに対して50%幅のnavを右に50%はみ出させる */
        position: fixed;
        right: 0;
        top: -40rem;
        margin: auto;
        z-index: 9999;
        transition: 0.5s;
    }
    .g-nav.scroll.slide {
        top: 0;
    }
    .sp-menu {
        display: block;
        width: 15rem;
        height: 4.4rem;
        font-size: 3rem;
        position: fixed;
        top: 2rem;
        right: 1.5rem;
        margin: auto;
    }
    .sp-menu.slide {
        top: 43rem;
    }
    .g-nav-ul {
        display: block;
        flex-wrap: nowrap;
        width: 32rem;
        height: auto;
        position:fixed;
        top: -37.8rem;
        right: 0;
        margin: 0 auto auto 0;
    }
    .g-nav-ul.slide {
        top: 0;
    }
    .g-nav li {
        width: 32rem;
        height: auto;
        text-align: end;
        opacity: 0.9;
    }
    .g-nav-ul>li:nth-child(4){
    display: none;
}
    .g-nav a {
        display: inline-block;
        margin: 0.5rem 0;
        padding: 1.3rem 2rem;
        line-height: 1;
        font-size: 1.8rem;
        box-sizing: border-box;
    }
    .g-nav-ul>li:nth-child(4) a{
        display: none;
        margin: 0.5rem 0;
}
.g-nav-ul>li:nth-child(5) a{
        margin: 0.5rem 0;
}
.g-nav-ul>li:nth-child(6) a{
        margin: 0.5rem 0;
}
.g-nav-ul>li:nth-child(7) a{
        margin: 0.5rem 0;
}
}

/* main -------------------------------------------- */
.main {
    width: 100%;
    height: 100vh;
    margin: 0 auto;
}
.main-header {
    width: 35rem;
    height: 10vh;
    position: fixed;
    left: 25%;
    top: 0;
}
.main-header h2 {
    margin: 2.0rem;
    font-size: 2.4rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: normal;
}
.main-header p {
    font-size: 1.6rem;
    color: rgba(255, 255, 255, 0.92);
    font-weight: normal;
}

/* zoom -------------------------------------------- */
.zoom-wrapper {
    width: 100%;
    height: 100vh;
    padding-top: 20vh;
}
.pin {
    width: 100%;
    height: 5vh;
    margin-bottom: 5vh;
}

.box {
    width: 100%;
    padding: 4rem 0;
    background: rgba(255,255,255,0.6);
    margin-bottom: 25vh;
}
.zoom-inner {
    width: 75%;
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    margin: 5vh 1% 5vh 15%;
}
.zoom-box {
    width: 55%;
}
.zoom {
    max-width: 100%;
    max-height: 80vh;
    z-index: 9999;
}
.zoom-info>span {
    width: 20rem;
    height: 2rem;
    display: inline-block;
    padding: 1rem;
    margin: 0 1rem;
    font-size: 1.4rem;
    color: #002e96;
    background: rgba(255, 255, 255, 0.5);
    text-align: center;
    /*border: 0.3rem double rgba(0, 46, 150, 0.5);*/
}
.zoom-info>p {
    padding: 5rem;
    font-size: 2.4rem;
    color: rgba(0, 0, 0, 0.33);
    z-index: 9998;
}

/* to-top button -------------------------------------------- */
#to-top {
    width: 5rem;
    height: 5rem;
    position: fixed;
    right: 3rem;
    bottom: 2rem;
    z-index: 1000;
    -wibkit-filter: saturate( 1.5 );
    filter: saturate( 1.5 );
}

/* footer -------------------------------------------- */
.footer {
    width: 100%;
    height: 2.5rem;
    background: rgba(90, 144, 206, 0.5);
    padding: 0.5rem 0;
    font-family:
        "Noto Serif JP",
        serif;
    align-items: center;
    text-align: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}
.footer>p>small {
    color: #fff;
    font-size: 1rem;
}