
/* CSS Document */

/*==================================================

top-contents
=================================================*/

header {
	width: 100%;
    position: relative;
}

.project-wrapper {
    width: 100%;
    transform: scale(0.8);
    transform-origin: center center;
}
.p-story {
    background-color: #e1edf2;
    margin: 80px auto 0;
    padding: 20px 0 80px;
}
.p-story .banner {
    width: 90%;
    max-width: 750px;
    margin: 0 auto;
}
.p-story .banner img {
    width: 100%;
	max-width: 100%;
	height: auto;
}
.project {
    width: 100%;
    max-width: 1200px;
    position: relative;
    margin: 0 auto;
    -webkit-transition: all 3s;
    transition: all 3s;
}
.project.end {
    filter: grayscale(100%) brightness(1);
}


.project .bc {
    width: 100%;
    overflow: hidden;
}
.project .wc {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
    top: 0;
    left: 0;
    z-index: 1;
}
.project .bord {
    width: 100%;
    height: 100%;
    position: absolute;
    display: none;
    background-color: #000;
    top: 0;
    left: 0;
    z-index: 999;
}
.story {
    width: 100%;
    height: 100%;
	position: absolute;
    display: none;
    top: 0;
    left: 0;
    z-index: 1;
}

.option {
    width: 100%;
    height: 100%;
	position: absolute;
    display: none;
    background-color: rgba(0, 144, 129, .8);
    top: 0;
    left: 0;
    z-index: 2;
}
.option .inner {
    width: 80%;
	position: absolute;
    background-color: #FFF;
    background-image: url("../../project/images/book.png");
    background-position: right -25% bottom -40px;
    background-repeat: no-repeat;
    background-size: 45%;
    border-radius: 12px;
    top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%); 
	transform: translate(-50%, -50%);
    z-index: 2;
    padding: 8%;
}
.option .inner h1 {
    width: 90%;
    max-width: 400px;
    color: #009081;
    font-size: clamp(1.2rem, 1.8vw, 1.8rem);
    line-height: 140%;
    text-align: center;
    border: 2px solid #009081;
    margin: 0 auto;
    padding: .8em 1em;
}
.option .inner h2 {
    width: 90%;
    color: #009081;
    font-size: clamp(1.6rem, 2.4vw, 2.4rem);
    line-height: 140%;
    text-align: center;
    text-decoration: underline;
    margin: 4% auto 0;
}
.option .inner p {
    color: #009081;
    font-size: clamp(1.4rem, 1.8vw, 1.8rem);
    line-height: 160%;
    text-align: center;
    padding: 1em 0 1em;
}
.option .inner .opt-photo {
    width: 90%;
    max-width: 400px;
    margin: 0 auto 1em;
}
.option .inner .inner-cl {
    width: 90%;
    max-width: 240px;
    cursor: pointer;
    color: #FFF;
    text-align: center;
    background-color: #CCC;
    border-radius: 40px;
    margin: 0 auto;
    padding: .5em 1em;
}

.project .profile {
    width: 40%;
    position: absolute;
    color: #FFF;
    font-size: clamp(1.4rem, 2.4vw, 2.4rem);
    line-height: 160%;
    background-color: rgba(0, 0, 0, .6);
    top: 50%;
    left: 0;
	transform: translate(0, -50%);
    padding: 1em;
    z-index: 1;
}
.project .profile span {
    display: block;
    font-size: 80%;
    margin-bottom: .3em;
}
.project .profile::before {
    content: " ";
	display: block;
    position: absolute;
    width: 100%;
    height: 3px;
    background-color: #30a9ac;
    left: 0;
    bottom: 0;
    z-index: 1;
    
    animation: 2s ease-in alternate forwards load-bar;
}
@keyframes load-bar {
    0%{
        width: 0;
    }
    100%{
        width: 100%;
    }
}
.project .photo {
    position: relative;
    overflow: hidden;
    z-index: 2;
}
.project .photo::before {
    content: " ";
	display: block;
    position: absolute;
    width: 100%;
    height: 5%;
    background-color: #000;
    top: 0;
    left: 0;
    z-index: 1;
}
.project .photo::after {
    content: " ";
	display: block;
    position: absolute;
    width: 100%;
    height: 5%;
    background-color: #000;
    left: 0;
    bottom: 0;
    z-index: 1;
}
.project .txt {
    width: 100%;
    height: 100%;
    position: absolute;
    color: #FFF;
    font-size: clamp(1.6rem, 2.8vw, 2.8rem);
    background-color: rgba(0, 0, 0, 0);
    top: 0;
    left: 0;
    padding: 8% 3em 8% 3em;
    z-index: 3;
    
    transition: all 0.8s;
}

.project.opening .txt {
    color: #000;
    text-align: center;
    animation: 1s ease-in alternate forwards opening-bg;
}
@keyframes opening-bg {
    0%{
        background-color: rgba(255, 255, 255, 0);
    }
    100%{
        background-color: rgba(255, 255, 255, 1);
    }
}

.project.ending .txt {
    color: #30a9ac;
    animation: 1s ease-in alternate forwards ending-bg;
}
@keyframes ending-bg {
    0%{
        background-color: rgba(255, 255, 255, 0);
    }
    100%{
        background-color: rgba(255, 255, 255, 1);
    }
}
.project .txt.ce p {
    text-align: center;
}

/* main txt size */

.project .txt p {
    font-size: clamp(1.4rem, 2.5vw, 2.5rem);
    line-height: 160%;
    font-weight: 500;
    margin-bottom: 1.5em;
}
.project .txt p i.name {
    display: inline-block;
    font-style: normal;
    padding-right: 1em;
}
.project .txt > p:has(.name) {
    text-indent: -1.5em;
    padding-left: 3em;
}
.project.ending .txt p {
    margin-bottom: 1.5em;
}
.project .tips {
    display: inline-block;
    text-indent: 0;
    color: #00c8cd;
    font-style: normal;
    cursor: pointer;
    text-decoration: underline;
}
.project .tips.name {
    text-indent: -1.5em;
}
.project .tips:hover {
    opacity: .7;
}
.project .txt p.nomb {
    margin-bottom: 0;
}
.project .txt p.small {
    color: #999;
    font-size: clamp(1rem, 1.4vw, 1.4rem);
    line-height: 140%;
}
.project .txt p em {
    display: inline-block;
    font-style: normal;
    transition: margin-left 1.5s ease-out;
    margin-left: 2em;
}
.project .txt p.open em {
    margin-left: 0;
}

.project .txt a {
    width: 90%;
    max-width: 480px;
    display: block;
    color: #FFF;
    font-size: clamp(1.4rem, 2vw, 2rem);
    text-decoration: none;
    background-color: #30a9ac;
    background-image: url("../../images/arrow_w.png");
    background-position: right 15px center;
    background-repeat: no-repeat;
    background-size: 3%;
    border: 2px solid #30a9ac;
    border-radius: 48px;
    margin: 0 auto;
    padding: 1em;
}
.project .txt a:hover {
    opacity: 1;
    color: #30a9ac;
    background-color: #FFF;
    background-image: url("../../images/arrow_b.png");
}


/* button set */

.project .b-att {
    width: 13%;
    max-width: 130px;
    position: absolute;
    line-height: 0;
    right: 0;
    bottom: 15%;
    transform: translate(-12%, 0);
    margin: 0;
    padding: 0;
    z-index: 1;
}
.project .bk-att {
    width: 13%;
    max-width: 130px;
    position: absolute;
    line-height: 0;
    left: 0;
    bottom: 15%;
    transform: translate(12%, 0);
    margin: 0;
    padding: 0;
    z-index: 1;
}
.project .st-arrow,.project .in-arrow,.project .tx-arrow,.project .ph-arrow {
    width: 20%;
    max-width: 64px;
    position: absolute;
    background-color: #FFF;
    cursor: pointer;
    text-align: center;
    border-radius: 8px;
    border: 1px solid #DDD;
    padding: 1% 1%;
    right: 4%;
    bottom: 5%;
    z-index: 1;
}
.project .st-arrow.back {
    background-color: transparent;
    border: 1px solid #DDD;
    right: initial;
    right: auto;
    left: 4%;
    z-index: 1;
}
.project .st-arrow.back img {
   animation: none;
}

p[class*="-arrow"]:hover {
	filter: opacity(50%);
}
p[class*="-arrow"] img {
	width: 100%;
    max-width: 40px;
    height: auto;
    display: block;
    position: relative;
    margin: 0 auto;
    
    animation: .6s ease-in infinite alternate forwards cursor;
}

@keyframes cursor {
    0%{
        transform: translate(-10%, 0);
    }
    100%{
        transform: translate(10%, 0);
    }
}

.project .select {
    width: 100%;
    position: relative;
    margin: 0 auto;
}
.project .select span {
    width: 100%;
    max-width: 100%;
    display: block;
    position: relative;
    text-align: left;
    border-radius: 12px;
    background-color: rgba(0, 0, 0, .6);
    margin-bottom: 5%;
    padding: .8em 4.5em .8em 4.5em;
    right: 0;
    bottom: 0;
}
.project .select span::before {
    content: " ";
	display: block;
    position: absolute;
    width: 20px;
    height: 20px;
    background-image: url("../../project/images/arrow.png");
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    top: 50%;
    right: 0;
    -webkit-transform: translate(-100%, -50%); 
    transform: translate(-100%, -50%);
    
    animation: .6s ease-in infinite alternate forwards arrow;
}
@keyframes arrow {
    0%{
        right: 2%;
    }
    100%{
        right: 0;
    }
}

.project .select span strong {
    color: #600;
    font-size: clamp(2rem, 5vw, 5rem);
    letter-spacing: .1em;
    font-weight: 700;
    line-height: 130%;
    transition: letter-spacing 2s ease-out;
}
.project .select.open span strong {
    letter-spacing: .3em;
}
.project .select span.select-a {
    border: 2px solid #009081;
}
.project .select span.select-b {
    border: 2px solid #0083a9;
}
.project .select span.select-c {
    text-align: center;
    
    background-color: rgba(255, 0, 0, .6);
    border: 2px solid #F00;
    padding: 1em;
}
.project .select span.select-c.cl {
    background-color: rgba(0, 145, 149, .6);
    border: 2px solid #009195;
}
.project .select span.select-c.cl strong {
    color: #FFF;
}

.project .select span.select-a:hover {
    border: 2px solid #FFF;
}
.project .select span.select-b:hover {
    border: 2px solid #FFF;
}
.project .select span.select-c:hover {
    border: 2px solid #FFF;
}
.project .select span:hover {
    border: 2px solid #FFF;
}
.project .select span.select-a::after {
    content: "A";
	display: block;
    width: 1em;
    height: 1em;
    position: absolute;
    color: #009081;
    font-size: clamp(2rem, 5vw, 5rem);
    line-height: 100%;
    font-weight: 100;
    top: 50%;
    left: .8em;
	-webkit-transform: translate(0, -50%); 
	transform: translate(0, -50%);
}
.project .select span.select-b::after {
    content: "B";
	display: block;
    width: 1em;
    height: 1em;
    position: absolute;
    color: #0083a9;
    font-size: clamp(2rem, 5vw, 5rem);
    line-height: 100%;
    font-weight: 100;
    top: 50%;
    left: .8em;
	-webkit-transform: translate(0, -50%); 
	transform: translate(0, -50%);
}


.project .wc img,.project .bc img,.project .photo img {
    width: 100%;
    max-width: 100%;
    height: auto;
}
/*.project .photo img.ce {
        margin-left: -5%;
    }
.project .photo img.ri {
    margin-left: -10%;
}*/

.project img {
    width: 100%;
	max-width: 100%;
	height: auto;
}
@media only screen and (min-width:1px) and (max-width: 860px) {
    
    .project-wrapper {
        width: 100%;
        transform: scale(1);
    }
    .p-story {
        margin: 8% auto 0;
        padding: 20px 0 6%;
    }
    .p-story .banner {
        width: 90%;
        max-width: 750px;
        margin: 6% auto 0;
    }
    .project .wc img,.project .bc img,.project .photo img {
        width: 120%;
        max-width: 120%;
        height: auto;
    }
    .project .photo img.ce {
        margin-left: -10%;
    }
    .project .photo img.ri {
        margin-left: -20%;
    }
}
@media only screen and (min-width:1px) and (max-width: 768px) {
	
    .option .inner {
        background-position: right -25% center;
        background-size: 45%;
    }
    .option .inner p {
        text-align: left;
    }
    
    .project .wc img,.project .bc img,.project .photo img {
        width: 140%;
        max-width: 140%;
        height: auto;
    }
    .project .photo img.ce {
        margin-left: -20%;
    }
    .project .photo img.ri {
        margin-left: -40%;
    }
    
    .project .txt {
        padding: 10% 2em 10% 2em;
    }
    .project .txt p {
        line-height: 160%;
        font-weight: 500;
        margin-bottom: 1.5em;
    }
    .project .txt > p:has(.name) {
        text-indent: 0;
        padding-left: 0;
    }
	.project .tips.name {
        text-indent: 0;
    }
    .project .profile {
        width: 50%;
        /*top: initial;
        top: auto;
        bottom: 5%;*/
        left: 0;

        transform: translate(0, -10%);
    }
    
    .project .select span {
        width: 100%;
        display: block;
        position: relative;
        text-align: left;
        border-radius: 8px;
        background-color: rgba(0, 0, 0, .6);
        margin-bottom: 5%;
        padding: .8em 3.5em .8em 3.5em;
    }
    .project .select span::before {
        width: 15px;
        height: 20px;
        -webkit-transform: translate(-100%, -30%); 
        transform: translate(-100%, -30%);

        animation: .6s ease-in infinite alternate forwards arrow;
    }
    
    .project .st-arrow,.project .in-arrow,.project .tx-arrow,.project .ph-arrow {
        width: 20%;
        max-width: 45px;
        border-radius: 6px;
        padding: 2% 1%;
        right: 4%;
        z-index: 1;
    }
    .project .st-arrow.back {
        background-color: transparent;
        right: initial;
        right: auto;
        left: 4%;
        z-index: 1;
    }
    p[class*="-arrow"] img {
        width: 100%;
        max-width: 25px;
        height: auto;
        display: block;
        position: relative;
        margin: 0 auto;

        animation: .6s ease-in infinite alternate forwards cursor;
    }
}

@media only screen and (min-width:1px) and (max-width: 568px) {
	
    .project .wc img {
        width: 180%;
        max-width: 180%;
        height: auto;
    }
    .project .bc img {
        width: 180%;
        max-width: 180%;
        height: auto;
    }
    .project .photo img {
        width: 180%;
        max-width: 180%;
        height: auto;
    }
    .project .photo img.ce {
        margin-left: -40%;
    }
    .project .photo img.ri {
        margin-left: -80%;
    }

}
	
@media only screen and (min-width:1px) and (max-width: 480px) {
	

}

