@charset "UTF-8";

*{
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: OpenSans SB;
    src: url(../font/Open_Sans/static/OpenSans-SemiBold.ttf);
}

@font-face {
    font-family: OpenSans M;
    src: url(../font/Open_Sans/static/OpenSans-Medium.ttf);
}

@font-face {
    font-family: OpenSans R;
    src: url(../font/Open_Sans/static/OpenSans-Regular.ttf);
}

@font-face {
    font-family: ZenKakuGothicNew B;
    src: url(../font/ZenKakuGothicNew/ZenKakuGothicNew-Bold.ttf);
}

@font-face {
    font-family: ZenKakuGothicNew M;
    src: url(../font/ZenKakuGothicNew/ZenKakuGothicNew-Medium.ttf);
}

@font-face {
    font-family: PlaywritePL;
    src: url(../font/PlaywritePL/static/PlaywritePL-Regular.ttf);
}

body {
    font-family: ZenKakuGothicNew M;
    font-size: 1.2vw;
    background-color: #fffeeb;
    color: #505a6d;
}

li {
    list-style-type: none;
}

a {
    display: block;
    text-decoration: none;
}


/* --------------------header start------------------------------------------ */
nav.NavMenu{
	position: fixed;
	z-index: 2;
	top: 0;
	right: 0;
    width: 40%;
    height: 100vh;
	text-align: center;
    background-color: rgba(157, 214, 212,0.9);
    border-radius: 20px 0px 0px 20px;
	transform: translateX(100%);
	transition: all 0.6s;
}

nav.NavMenu ul{
	width: 100%;
    
}

nav.NavMenu ul li{
	font-size: 30px;
	width: 100%;
}

nav.NavMenu ul li:nth-of-type(1){
    margin-top: 20%;
}

nav.NavMenu ul li a{
	display: block;
    padding-top: 1.5em;
    padding-bottom: 1.5em;
    font-family: OpenSans SB;
    letter-spacing: 0.08em;
	color: #fffeeb;
    transition: 0.5s;
}

nav.NavMenu ul li a:hover {
    opacity: 0.4;
    transition: 0.5s;
}

nav.NavMenu.active {
	transform: translateX(0%);
}


.Toggle {
	position: fixed;
	right: 2%;
	top: 2%;
	width: 45px;
	height: 42px;
	cursor: pointer;
	z-index: 3;
}

.Toggle span {
	display: block;
	position: absolute;
	width: 38px;
	border-bottom: solid 3px #9dd6d4;
	transition: 0.35s ease-in-out;
	left: 6px;
}

.Toggle span:nth-child(1) {
	top: 10px;
}

.Toggle span:nth-child(2) {
	top: 21px;
}

.Toggle span:nth-child(3) {
	top: 32px;
}

.Toggle p {
    position: absolute;
    top: 38px;
    width: 32px;
    font-size: 12.5px;
    font-family: OpenSans M;
    color: #9dd6d4;
    left: 6px;
    transition: 0.5s;
}

.Toggle.active span:nth-child(1) {
	top: 18px;
	left: 6px;
	transform: rotate(-45deg);
    border-bottom: solid 3px #fffeeb
}

.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
	top: 18px;
	transform: rotate(45deg);
    border-bottom: solid 3px #fffeeb
}

.Toggle.active p {
    opacity: 0;
}
/* --------------------header finish------------------------------------------ */
main {
    width: 80%;
    margin-left: auto ;
    margin-right: auto ;
}


.detail-parentbox {
    width: 90%;
    margin-top: 5%;
    margin-right: auto;
    margin-left: auto;
    padding:  3% 5%;
    background-color: #ffffff;
}

h2 {
    width: fit-content;
    padding: 0.5em 1em;
    font-size: 1.3vw;
    font-weight: normal;
    background-color: #9dd6d4;
    color: #ffffff;
}

.img-description {
    margin-top: 2%;
}

.img-description img {
    display: block;
    width: 100%;
}

.works-cta {
    width: 25%;
    margin-top: 7%;
    margin-left: auto;
    margin-right: auto;
}

.works-cta a{
    display: block;
    text-align: center;
    line-height: 2.4;
    background-color: #9dd6d4;
    border: 1.5px solid #9dd6d4;
    font-size: 1.6vw;
    color: #ffffff;
    transition: 0.5s;
}

.works-cta a:hover{
    background-color: #ffffff;
    border: 1.5px solid #9dd6d4;
    color: #9dd6d4;
    transition: 0.5s;
}


/* --------------------footer finish------------------------------------------ */
footer {
    margin-top: 7.5%;
    padding-top: 2%;
    padding-bottom: 2%;
    text-align: center;
    background-color: #9dd6d4;
    color: #ffffff;
}