@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 ;
}

/* --------------------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-name a:hover {
    background-color: #9dd6d4;
    border: 1px solid #9dd6d4;
    color: #ffffff;
    transition: 0.5s;
}

/* --------------------category finish------------------------------------------ */
/* --------------------overview start------------------------------------------ */
.works-img-overview-parentbox {
    display: flex;
    margin-top: 5%;
}
.works-img-box {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 55%;
    height: 31vw;
    margin-right: 5%;
    background-color: #ffffff;
}


.works-img-box img {
    display: block;
    width: 65%;

}

.kome {
    position: absolute;
    bottom: 1%;
    right: 1%;
    font-size: 0.9vw;
    color: #9dd6d4;
}

.works-overview-box {
    width: 40%;
}

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

.works-client,.works-category {
    width: fit-content;
    padding: 0.5em 1em;
    color: #ffffff;
}

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

.works-category-banner {
    background-color: #eac18f;
}

h2 {
    margin-top: 7%;
    font-size: 2vw;
    font-weight: normal;
    font-family: ZenKakuGothicNew B;
}

.subhead-top {
    margin-top: 5%;
    font-size: 1.3vw;
    font-weight: normal;
    font-family: ZenKakuGothicNew B;
}

.subhead-top:nth-of-type(1) {
    margin-top: 7%;
}

.kome {
    margin-top: 8%;
    color: #9dd6d4;
}
/* --------------------overview finish------------------------------------------ */
.detail-parentbox {
    width: 90%;
    margin-top: 5%;
    margin-right: auto;
    margin-left: auto;
    padding:  3% 5%;
    background-color: #ffffff;
}

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

.detail-childbox {
    display: flex;
    margin-top: 2%;
    margin-left: 1%;
}

.subhead-middle {
    width: 10%;
    margin-right: 1em;
    font-size: 1.3vw;
    font-weight: normal;
    font-family: ZenKakuGothicNew B;
}


.subhead-bottom {
    margin-top: 2%;
    font-size: 1.3vw;
    font-weight: normal;
    font-family: ZenKakuGothicNew B;
}

.detail-text {
    display: flex;
    width: 98%;
    margin-left: 2%;
}

.detail-text::before {
    display: block;
    padding-top: 0.9%;
    padding-right: 1%;
    content: "●";
    font-size: 0.5vw;
}

.img-description {
    position: relative;
    margin-top: 3%;
}

.detail-pc {
    display: block;
    width: 42%;
    margin-right: 3%;
}

.detail-sp {
    display: none;
}

.img-description p {
    position: absolute;
    width: 55%;
}

.img-description p:nth-of-type(1) {
    top: 10%;
    right: 0;
}

.img-description p:nth-of-type(2) {
    bottom: 15%;
    right: 0;
}




.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;
}