@charset "utf-8";

.u-sp{
    display: none;
    @media screen and (max-width: 991px) {
        display: block;
    }
}

.u-pc{
    @media screen and (max-width: 991px){
        display: none;
    }
}

/* animation */
.open-container {
    position: relative;
    width: 100vw;
    height: 100vh;
    @media screen and (max-width: 991px){
        margin-top: -60px;
    }
}

.logo-screen {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #564E89;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    z-index: 3;
    transform-origin: left;
    transition: transform 1.5s ease-in-out;
    animation: fadeIn 1s ease-in forwards;
    @media screen and (max-width: 991px){
        transform-origin: top;
    }
}

.logo-screen.turn {
    transform: perspective(1500px) rotateY(-180deg);
    @media screen and (max-width: 991px){
        transform: perspective(1500px) rotateX(180deg);
    }
}

.logo{
    width: 35vw;
    @media screen and (max-width: 991px){
        transform: rotate(90deg);
        width: 90vh;
    }
}

/*body*/
body{
    font-family: "Roboto", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "游ゴシック体", YuGothic, "Meiryo", sans-serif;
}

.top {
    background-color: #F2F2F2;
}

/*header*/
header{
    position: fixed;
    z-index: 2;
    top: 0;
    width: 100vw;
}
@media screen and (max-width: 991px){
    .page header{
        background-color: #fff;
    }
}

.p-hd__inner{
    height: 85px;
    @media screen and (max-width: 991px){
        height: 60px;
    }
}

.p-hd__inner li:hover img{
    opacity: 0.5;
    transition: opacity .3s;
}

.p-hd__logo{
    display: inline-block;
    margin-top: 50px;
}

.p-hd__logo img{
    height: 35px;
    width: auto;
    @media screen and (max-width: 991px){
        height: 19px;
    }
}

.p-hd__logo.u-sp{
    display: none;
    @media screen and (max-width: 991px){
        display: block;
        margin-top: 0;
        position: absolute;
        top: 20.5px;
        left: 50%;
        transform: translateX(-50%);
    }
}

.p-hd__nav{
    margin: 0 auto;
    max-width: 1262px;
    padding: 0 31px;
}

.p-hd__nav ul{
    margin-top: 53px;
    float: right;
}

.p-hd__nav li{
    display: inline-block;
    vertical-align: middle;
}

.p-hd__nav li + li{
    margin-left: 31px;
}

.p-hd__nav li a {
    font-family: "Rokkitt", serif;
    color: #564E89;
    font-size: 20px;
    font-weight: 700;
}

.p-ft__nav{
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s linear;
    position: fixed;
    top: 0;
    height: 100vh;
    width: 100%;
    padding: 0 18px;
    background-color: #F2F2F2;
    display: flex;
    align-items: center;
}

.p-ft__nav.is-on{
    pointer-events: all;
    opacity: 1;
}

.p-ft__nav ul{
    margin: auto;
}

.p-ft__nav li{
    width: fit-content;
    margin: 0 auto;
}

.p-ft__nav li + li{
    margin-top: 31px;
}

.p-ft__nav li a {
    font-family: "Rokkitt", serif;
    color: #564E89;
    font-size: 20px;
    font-weight: 700;
}

.p-hd__menuSP{
    position: absolute;
    top: 0;
    right: 0;
}

.p-hd__menuSP button{
    height: 60px;
    width: 60px;
}

.p-hd__menuSP button span{
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 32px;
    height: 2px;
    background-color: #564E89;
    -webkit-transition: all .3s;
    transition: all .3s;
}

.p-hd__menuSP button span:nth-child(1){
    transform: translate(-50%, -8px);
}

.p-hd__menuSP.is-on button span:nth-child(1){
    transform: translate(-50%, 0) rotate(45deg);
}

.p-hd__menuSP button span:nth-child(2){
    transform: translate(-50%, 0);
}

.p-hd__menuSP.is-on button span:nth-child(2){
    transform: translate(-50%, 0);
    opacity: 0;
}

.p-hd__menuSP button span:nth-child(3){
    transform: translate(-50%, 8px);
}

.p-hd__menuSP.is-on button span:nth-child(3){
    transform: translate(-50%, 0) rotate(-45deg);
}

/*main*/
.l-main{
    position: relative;
    height: 100vh;
    width: 100%;
    @media screen and (max-width: 991px){
        height: 100vh;
    }
}

.flower{
    position: absolute;
    top: 0;
    right: 0;
}

.flower img{
    @media screen and (max-width: 991px){
        width: 96vw;
    }
}

.l-main-container{
    position: relative;
    height: 100vh;
    margin: 0 auto;
    max-width: 1262px;
    padding: 0 31px;
    @media screen and (max-width: 991px){
        margin-top: 60px;
        padding: 0 18px;
        height: 100vh;
    }
}

.barcode.u-pc{
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 80px;
}

.barcode.u-pc img{
    height: 72vh;
}

.barcode.u-sp{
    position: absolute;
    bottom: 25px;
    width: calc(100vw - 36px);
}

.barcode.u-sp img{
    width: 100%;
}

.ttl.u-pc{
    position: absolute;
    bottom: 14px;
    right: 31px;
}

.ttl.u-pc svg{
    width: 65vw;
}


.ttl.u-sp{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: calc(100% - 36px);
}

.ttl.u-sp svg{
    width: 100%;
}

/* TOP　イントロ */
.top .l-header,
.top .barcode {
    opacity: 0;
    animation: fade-animation .5s ease-in;
    animation-fill-mode: forwards;
    animation-delay: 4s;
}

.top .flower {
    opacity: 0;
    animation: fade-animation 1.5s ease-in;
    animation-fill-mode: forwards;
}
@keyframes fade-animation {
    0% {opacity: 0;}
    100% {opacity: 1;}
}

.logo-animated {
fill: transparent;
stroke: transparent;
stroke-width: 1px;
stroke-dasharray: 1000px;
stroke-dashoffset: 0;
animation: line-animation 3s ease-in;
animation-fill-mode: forwards;
animation-delay: 1s;
}

@keyframes line-animation {
    0% {
        fill: transparent;
        stroke-dasharray: 1000px;
        stroke-dashoffset: 1000px;
        stroke: #534C85;
    }
    80% {
        fill: transparent;
        stroke-dashoffset: 0;
    }
    90% {
        stroke: #534C85;
    }
    100%{
        stroke: transparent;
        fill: #534C85;
    }
}

.fade{
    opacity: 0;
    animation: logo-fade-in 3s ease-in;
    animation-fill-mode: forwards;
    animation-delay: 1s;
}

@keyframes logo-fade-in {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    80% {
        opacity: 0;
        transform: translateY(10px);
    }
    100%{
        opacity: 1;
        transform: translateY(0);
    }
}

/* NEWS */
.news {
    position: absolute;
    inset: auto 31px 200px auto;
    padding: 30px 25px;
    min-width: 400px;
    max-width: 650px;
    max-height: 200px;
    overflow-y: scroll;
    background-color: rgba(255,255,255,.8);
    box-shadow: 0 0 20px rgba(0, 0, 0, .3);
    border-radius: 10px;
    opacity: 0;
    animation: logo-fade-in 3s ease-in;
    animation-fill-mode: forwards;
    animation-delay: 2s;
    @media screen and (max-width: 991px){
        inset: auto 20px 100px 20px;
        padding: 20px 20px;
        min-width: auto;
        max-width: 100%;
        max-height: 250px;
    }

}

.news::-webkit-scrollbar {
    display: none;
}

.news h2 {
    font-family: "Rokkitt", serif;
    color: #564E89;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    @media screen and (max-width: 991px){
        margin-bottom: 15px;
    }
}

.news ul li {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-family: "Meiryo UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN","Yu Gothic UI", "MS PGothic", sans-serif;
    color: #1d1d1d;
    font-size: 16px;
    line-height: 1.8;
    @media screen and (max-width: 991px){
        display: block;
        margin-bottom: 20px;
    }

}

.news ul li span:nth-child(1) {
    display: block;
    width: 6em;
    font-weight: normal;
}
.news ul li span:nth-child(2) {
    flex: 1;
}
.news ul li a {
    color: #564E89;
    text-decoration: underline;
}

.news ul li a:hover {
    text-decoration: none;
}

