@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 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 ;
}
/* --------------------h2 start------------------------------------------ */

h2 {
    position: relative;
    margin-top: 5%;
    text-align: center;
    font-weight: normal;
    font-family: OpenSans SB;
    font-size: 2.4vw;
    letter-spacing: 0.1em;
    color: #9dd6d4;
}

h2::before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 40%;
    content: "";
    height: 2px;
    background-color: #9dd6d4;
}

h2::after {
    position: absolute;
    top: 50%;
    right: 0;
    display: block;
    width: 40%;
    content: "";
    height: 2px;
    background-color: #9dd6d4;
}

.subtitle {
    display: block;
    text-align: center;
    font-family: ZenKakuGothicNew R;
    font-size: 1.1vw;
}
/* --------------------h2 finish------------------------------------------ */

/* --------------------category start------------------------------------------ */
.category-parentbox {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}

.category-parentbox {
    display: flex;
    margin-top: 5%;
}

.category-sub-parentbox1 {
    display: flex;
    width: 50%;
}

.category-sub-parentbox2 {
    display: flex;
    justify-content: end;
    width: 50%;
}

.category-left {
    width: fit-content;
    margin-right: 17%;
}

.category-right {
    width: fit-content;
    margin-left: 17%;
}



.category-name a{
    display: block;
    white-space: nowrap;
    padding: 0.5em 1em;
    background-color: #ffffff;
    border: 1px solid #9dd6d4;
    font-size: 1.1vw;
    text-align: center;
    color: #9dd6d4;
    transition: 0.5s;
}

.category-left:nth-of-type(3) a {
    background-color: #9dd6d4;
    border: 1px solid #9dd6d4;
    color: #ffffff; 
}

.category-name a:hover {
    background-color: #9dd6d4;
    border: 1px solid #9dd6d4;
    color: #ffffff;
    transition: 0.5s;
}




/* --------------------category finish------------------------------------------ */

/* --------------------works start------------------------------------------ */

/* --------------------works start------------------------------------------ */
.works-container {
    width: 90%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5vw 10%;
    margin-top: 7%;
    margin-left: auto;
    margin-right: auto;
}

.works {
    overflow: hidden;
}

.works a img {
    display: block;
    width: 100%;
    vertical-align: bottom;
     transition: 0.5s;
}

.works a:hover img {
    transform: scale(1.03);
    transition: 0.5s;
}

.works-client-category-box {
    display: flex;
    font-size: 1.1vw;
    margin-top: 2%;
}

 .works-client,.works-category {
    padding: 1% 3%;
    color: #ffffff;
}

.works-client {
    margin-right: 3%;
    background-color: #9dd6d4;
}

.works-category-flier {
    background-color: #a6ce9f;
}

.works-title {
    margin-top: 1%;
    color: #505a6d;
}

.works-cta {
    width: 20%;
    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;
}

/* --------------------designphilosophy start------------------------------------------ */
/* --------------------strangth start------------------------------------------ */


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