@charset "utf-8";

html {
    /* scroll-snap-type: x mandatory;
    -webkit-scroll-snap-type: x mandatory;
    -ms-scroll-snap-type: x mandatory; */

    width: calc(60vw * (1 + 8) + 40vw);
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}

body {
    /* scroll-snap-type: x mandatory;
    -webkit-scroll-snap-type: x mandatory;
    -ms-scroll-snap-type: x mandatory; */

    margin: 0;
    padding: 0;
    background: #fff;

    font-family: "Hiragino Kaku Gothic ProN", 'Noto Sans JP', sans-serif;
    font-weight: normal;
    font-size: 14px;
    line-height: 2;
    text-align: left;
    color: #707070;
}

a:link { color: inherit; text-decoration: none; }
a:visited { color: inherit; text-decoration: none; }
a:hover { color: inherit; text-decoration: none;}
a:active { color: inherit; text-decoration: none;}

a img {
    border-width: 0px;
    border-style: none;
    background: transparent;
}

#curtain-open{
    position: fixed;
    z-index: 9;

    width: 40vw;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    right: 0;

    background: transparent;
    /* Note: currently only Safari supports backdrop-filter */
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    background-color: rgba(255, 255, 255, 0.2);
    /* (plus shape's fill blended on top as a separate layer with 19.7% opacity) */
}

header {
    position: fixed;
    display: flex;
    flex-direction: column;
    z-index: 10;

    width: 40vw;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    right: 0;
    padding: 1rem;

    background: transparent;
    /* Note: currently only Safari supports backdrop-filter */
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    background-color: rgba(158, 178, 186, 0.2);
    /* (plus shape's fill blended on top as a separate layer with 19.7% opacity) */
}

header::before {
    content: "";
    position: absolute;
    right: -5px;
    top: 5px;

    width: inherit;
    height: inherit;
    padding: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0.2;
}

.header-start, .header-center, .header-end {
    position: relative;
    width: 100%;
    height: calc(100% / 3);
}

.header-start .logo{
    position: absolute;
    height: 3rem;
    width: auto;
    right: 0;

    opacity: 0.8;
    filter: drop-shadow( 2px 2px 2px rgba(0, 0, 0, 0.2) );
}

.header-center .page-navi {
    position: absolute;
    top: 0; bottom: 0; left: 0;
    width: 100%;
    height: 6rem;
    margin: auto;
    /* text-align: center; */

    opacity: 0.8;
    font-size: 2rem;
    line-height: 1;
    font-family: din-condensed, sans-serif;
    font-weight: 400;
    font-style: normal;
    color: rgb(117, 156, 169);
    filter: drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.2));
}
.header-center span#page-now{
    font-size: 6rem;
}
.header-center .page-navi img {
    height: 3rem;
}
.header-center #navi-forward, #navi-back{ cursor: pointer; }

.header-end ul#navi-p {
    position: absolute;
    bottom: 0;

    display: flex;
    justify-content: space-between;
    list-style-type: none;
    width: 100%;
    height: 1em;
}
.header-end ul#navi-p li {
    width: calc((100% - (1px * 7)) / 8);
    height: inherit;
    background: rgb(117, 156, 169);

    cursor: pointer;
}

#navi-p li, #navi-back, #navi-forward {
	transition: color .3s, background .3s, box-shadow .3s, transform .3s;
}
#navi-p li:hover, #navi-back:hover, #navi-forward:hover { animation: flash 1s both; }
@keyframes flash {
	0% { filter:brightness(100%); }
	10% { filter:brightness(130%); }
	100% { filter:brightness(100%); }
}

article {
    display: flex;
}

section {
    position: relative;
    width: 60vw;
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
}

article section:last-child{
    width: 40vw;
}

.artwork-area {
    position: absolute;
    top: 0; left: 0;
    width: inherit;
    height: inherit;
}

.artwork-area svg {
    width: 100%;
    max-height: 100%;
    opacity: 0;
}

.anm-drawing {
    stroke: #333;
    stroke-dasharray: 2000;
    stroke-dashoffset: 0;
    stroke-width: 0.5;
    -webkit-animation: drawing 3s ease-in forwards;
    animation: drawing 3s ease-in forwards;
}
@-webkit-keyframes drawing {
    0% { stroke-dashoffset: 2000; fill:transparent; }
    50% { fill:transparent; }
    100% { stroke-dashoffset: 0; }
}
@keyframes drawing {
    0% { stroke-dashoffset: 2000; fill:transparent; }
    50% { fill:transparent; }
    100% { stroke-dashoffset: 0; stroke: transparent; }
}

/* section#page0 { background: url("/img2020/door.jpg") no-repeat center; background-size: cover; } */
section#page9 { background: url("/img2020/yes.jpg") no-repeat center; background-size: cover; }

.text-area {
    position: absolute;
    left: 0;
    width: calc(60vw - (2rem *2));
    max-width: 35em;
    border-top: 1px solid #101c40;
    padding: 3rem 0 0 3rem;
    margin: 2rem;
    filter: drop-shadow(1px 1px 0px rgba(255, 255, 255, 0.8));

    background: transparent;
    /* Note: currently only Safari supports backdrop-filter */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(3px);
    background-color: rgba(255, 255, 255, 0.2);
    /* (plus shape's fill blended on top as a separate layer with 19.7% opacity) */
}

/* section:nth-of-type(2n+1) .text-area {
    top: unset; bottom: 0;
} */
section#page1 .text-area {top: 0;}
section#page3 .text-area {top: 0;}
section#page5 .text-area {top: 0;}
section#page7 .text-area {top: 0;}
section#page9 .text-area {top: 0;}

section#page2 .text-area {bottom: 0;}
section#page4 .text-area {bottom: 0;}
section#page6 .text-area {bottom: 0;}
section#page8 .text-area {bottom: 0;}

.text-area p {
    text-align: justify;
}

.text-area p.catchcopy {
    margin-bottom: 1rem;
    line-height: 0.97;
    text-align: left;

    font-family: din-2014, sans-serif;
    font-weight: 200;
    font-style: normal;
    font-size: 3.5rem;
    color: rgba(118, 157, 170, 0.30);
}

.text-area #page8 .catchcopy {
    font-size: 2rem;
}

.text-area h2 {
    line-height: 1.5;
    margin-bottom: 2.5rem;
    letter-spacing: 0.1em;

    font-size: 18px;
    font-family: "Hiragino Kaku Gothic ProN";
    font-weight: normal;
    font-feature-settings: "palt";
}

.text-area ul {
    margin-bottom: 1.2rem;
    list-style-type: none;
}

.text-area li {
    line-height: 1.2;
    margin-bottom: 0.8rem;
}

.text-area #inquiry-btn {
    display: block;
    width: 100%;
    line-height: 1.2;

    text-align: center;
    padding: 10px;

    text-decoration: none;
    background: #101c40;
    color: #FFF;
}


/* 2列対応 */

@media (max-width: 1050px){

    html { width: calc(50vw * (1 + 8) + 50vw); }
    #curtain-open { width: 50vw; padding: 1rem;}
    header { width: 50vw;}
    section { width: 50vw; padding: 1rem;}
    section#page0 { padding: 0;}
    article section:last-child{ width: 50vw;}

    .text-area { width: calc(50vw - (1rem *2)); max-width: none; padding: 1rem; margin: 1rem;}
}

/* 1列対応 */
@media (max-width: 700px){

    html { width: calc(100vw * (1 + 8) + 100vw); }
    body { line-height: 1.8; }
    section { width: 100vw;}
    article section:last-child{ width: 100vw;}

    a:hover { opacity: unset;}
    a:active { opacity: 0.5;}

    header {
        width: 100vw;
        height: 15vh;
        height: calc(var(--vh, 1vh) * 15);
        padding: 0;
        flex-flow: row-reverse wrap;
        bottom: 0;
    }
    #curtain-open {
        width: 100vw;
        height: 15vh;
        height: calc(var(--vh, 1vh) * 15);
        bottom: 0;
    }

    .header-start {
        width: 50%;
        height: calc(100% - 1em);
    }
    .header-start .logo{
        position: absolute;
        top: 0; bottom: 0; right: 1rem;
        margin: auto;
    }

    .header-center {
        width: 50%;
        height: calc(100% - 1em);
    }
    .header-center .page-navi {
        position: absolute;
        top: 0; bottom: 0; left: 1rem;
        margin: auto;
        height: 4rem;
    }
    .header-center .page-navi img { height: 2rem; }
    .header-center span#page-now{ font-size: 4rem; }

    .header-end {
        width: 100%;
        height: 1em;
    }

    .text-area {  width: calc(100vw - (1rem *2)); max-width: none; margin: 1rem;}
    section:nth-of-type(2n+1) .text-area {
        margin-bottom: 15vh;
        margin-bottom: calc(var(--vh, 1vh) * 15);
    }
    .text-area .catchcopy { margin-bottom: 0.5rem; }
    .text-area h2 { margin-bottom: 1.5rem; }
    .text-area li { margin-bottom: 0.5rem; }

}