@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 {
    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.08em;
    color: #9dd6d4;
}

.about-title {
    margin-top: 5%;
}

.designphilosophy-title,.strength-title {
    margin-top: 8%
}

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

.about-title::before,
.likes-title::before {
    width: 40%;
}

.designphilosophy-title::before {
    width: 28%;
}

.strength-title::before {
    width: 37%;
}

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

.about-title::after,
.likes-title::after {
    width: 40%;
}

.designphilosophy-title::after {
    width: 28%;
}

.strength-title::after {
    width: 37%;
}

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

/* --------------------about finish------------------------------------------ */
.about-container {
    display: flex;
    width: 90%;
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
}

.about-img {
    width: 36%;
    margin-right: 8%;
}

img {
    width: 100%;
}

.about-text {
    width: 56%;
}

.about-text-name {
    font-weight: normal;
    font-family: OpenSans SB;
    font-size: 2.5vw;
}

.about-text-name-kanji {
    padding-left: 1em;
    font-family: ZenKakuGothicNew M;
    font-size: 1vw;
}

.about-text-mydata {
    margin-top: 0.5%;
}

.about-text-description {
    margin-top: 3%;
}

/* --------------------about finish------------------------------------------ */

/* --------------------designphilosophy start------------------------------------------ */
.designphilosophy-message {
    position: relative;
    margin-top: 3%;
    text-align: center;
    font-weight: normal;
    font-size: 2.5vw;
}

.designphilosophy-message-en {
    position: absolute;
    bottom: -50%;
    left: 18%;
    font-family: OpenSans SB;
    font-size: 4vw;
    color: rgba(157, 214, 212, 0.3);
    z-index: -1;
    
}

.designphilosophy-text {
    width: 90%;
    margin-left: auto;
    margin-right: auto ;
    text-align: center;
    line-height: 1.6;
}

.designphilosophy-text p:nth-of-type(1) {
    margin-top: 2em;
}

.designphilosophy-text p:nth-of-type(2),
.designphilosophy-text p:nth-of-type(3) {
    margin-top: 1em;
    white-space: pre-wrap;
}
/* --------------------designphilosophy start------------------------------------------ */
/* --------------------strangth start------------------------------------------ */
.strength-container {
    display: flex;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.strength-container:nth-of-type(1) {
    margin-top: 5%;
}

.strength-container:nth-of-type(2),
.strength-container:nth-of-type(3) {
    margin-top: 3%;
}

.strength-container-point {
    width: 20%;
    padding-top: 2%;
    padding-bottom: 2%;
    background-color: #9dd6d4;
    border-radius: 8px 0 0 8px;
}

.strength-container-text {
    width: 74%;
    padding: 2% 3%;
    background-color: #ffffff;
    border-radius: 0 8px 8px 0;
}

.strength-container-point p:nth-of-type(1) {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 4%;
    font-family: OpenSans M;
    font-size: 1.4vw;
    text-align: center;
    color: #fffeeb;
    border-bottom: 1px solid #fffeeb;
}

.strength-container-point p:nth-of-type(2) {
    margin-top: 4%;
    text-align: center;
    font-size: 1.4vw;
    color: #fffeeb;
}

/* --------------------strangth finish------------------------------------------ */
/* --------------------likes start------------------------------------------ */
.liks-parentbox {
    display: flex;
    width: 90%;
    margin-top: 5%;
    margin-right: auto;
    margin-left: auto;
}

.liks-childbox {
    width: calc((100% - 18%) / 3);
    background-color: #ffffff;
    border-radius: 20px;
    padding: 2%;
}

.liks-childbox img {
    width: 100%;
    margin-top: 4%;
}

.liks-childbox:nth-of-type(2) {
    margin-left: 3%;
    margin-right: 3%;
}

.likes-chiidbox-title {
    font-weight: normal;
    text-align: center;
    font-size: 1.4vw;
    font-family: ZenKakuGothicNew B;
    color: #9dd6d4;
}

.liks-childbox p {
    margin-top: 3%;
}

.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;
}
/* --------------------footer finish------------------------------------------ */
footer {
    margin-top: 7.5%;
    padding-top: 2%;
    padding-bottom: 2%;
    text-align: center;
    background-color: #9dd6d4;
    color: #ffffff;
}