@charset "UTF-8";

*{
    margin: 0;
    padding: 0;
}

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



/*SCROLLイベント*/
.fadeIn {
    transform: translateY(50px);
	opacity: 0;
}

.fadeIn.animated {
	transform: translateY(0px);
	transition: 1s;
	opacity: 1;
}

/*スムーススクロール*/
#page-top {
    position: fixed;
    bottom: 5%;
    right: 5%;
    
}
#page-top a {
    display: block;
    width: 3vw;
    height: 3vw;
    padding: 1vw;
    line-height: 2;
    text-align: center;
    font-size: 77%;
    background: #666;
    text-decoration: none;
    color: #fff;
    border-radius: 80%;
}
#page-top a:hover {
    background-color: #f79428;
}


/*ヘッダー*/
header {
    display: flex;
    padding: 6%;

}




/* about */


/*グローバルナビゲーション*/
nav.NavMenu{
	position: fixed; /*表示位置を固定*/
	z-index: 2; /*重ね順を変更*/
	top: 0; /*表示位置を指定*/
	right:0; /*表示位置を指定*/
	color: #000; /*文字色を黒にする*/
	text-align: center; /*テキストを中央揃え*/
	width: 20%; /*全幅表示*/
	transform: translateX(100%); /*ナビを上に隠す上から出したい場合は、transform: translateYを使う。*/
	transition: all 0.6s; /*アニメーションの時間を指定*/
}

nav.NavMenu ul{
	background: rgba(171,171,171,0.9); /*背景をグレーにする*/
	width: 100%;
	margin: 0 auto;
	padding: 0;
}

nav.NavMenu ul li{
	font-size: 1.1em;
	list-style-type: none;
	padding: 0;
	border-bottom: 1px dotted #333;
}

nav.NavMenu ul li:last-child{
	padding-bottom: 0;
	border-bottom: none; /*最後のメニュー項目のみ下線を消す*/
}

nav.NavMenu ul li a{
	display: block; /*クリックできる領域を広げる*/
	line-height: 1.8;
	padding: 1em 0;
    color: #000;
    text-decoration: none;
    font-family: 'Sawarabi_Mincho';

}

nav.NavMenu ul li a:hover {
	color: #f79428;
    transition: 0.5s;
}


/*トグルボタンが押されたときに付与するクラス*/
nav.NavMenu.active{
	transform: translateY(0%);/*上から出したい場合は、transform: translateYを使う。*/
}


/*トグルボタンのスタイルを指定*/
.Toggle {
	position: fixed;
    top: 1vw;
    right: 3%;
	width: 20px;
	height: 30px;
	cursor: pointer;/*divだけどカーソルが変わるようにしている*/
	z-index: 3;/*ボタンを一番上にしている(押せなくなるから)*/
}

.Toggle span {
	display: block;
	position: absolute;
	width: 20px;
	border-bottom: solid 3px #000;
	transition: .35s ease-in-out;			/*変化の速度を指定*/
	left: 6px;
}

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

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

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

/* 最初のspanをマイナス45度に */
.Toggle.active span:nth-child(1) {
	top: 18px;
	left: 6px;
	transform: rotate(-45deg);
}

/* 2番目と3番目のspanを45度に */
.Toggle.active span:nth-child(2),
.Toggle.active span:nth-child(3) {
	top: 18px;
	transform: rotate(45deg);
}


/*セクションAbout*/

main {
    width: 90%;
    margin-left: auto;
    margin-right: auto;

}

main section h2 {
    margin-bottom: 5vw;
    text-align: center;
    font-size: 2.2vw;


}

.about-parent{
    display: flex;
    width: 70vw;
    margin-right: auto;
    margin-left: auto;
}

/* 右向きオウム */
.profile3-child1 {
    width: 20%;
    margin-top: 15vw;
    margin-right: auto;
    animation: move 3s linear  infinite;
}


@keyframes move{
    100%{
        margin-left: 1000px;
       
    }
}


.profile3-child1 img{
    width: 100%;

}

.profile3 div p{
    white-space: pre-wrap;
    line-height: 3em;
}

/* 左向きオウム */

.profile3-child3 {
    width: 20%;
    margin-left: auto;

    animation: move2 3s linear infinite;


}

@keyframes move2{
    100%{
        margin-right: 1000px;
       
    }
}


.profile3-child3 img{
    width: 100%;

}


/*セクションWorks 強み*/
.works-section {
    margin-top: 5vw;
    margin-bottom: 3%;
    font-size: 2vw;
    border-bottom: 1px solid #333;

}

.works-section h2{
    width: 15vw;
    margin-top: 5vw;
    margin-right: auto;
    margin-left: auto;
    text-align: center;


}

.works-section h3{
    width: 15vw;
    margin: 3vw auto 4vw auto;
    text-align: center;
    font-size: 20px;
    background:linear-gradient(transparent 30%, palegreen 30%);
}

.works-flexbox1{
    width: 90vw;

}

.works-flexbox1:nth-of-type(1){
    margin-bottom: 3vw;

}

.works-flexbox1:nth-of-type(1)p{
    white-space: pre-wrap;
    width:20vw;
    font-size: 18px;
    
}



.works-flexbox1 section div{
   display: flex;
   width: 100%;


}



.works-flexbox1 section div img{
    display: block;
    width:40vw ;
    height: 35vw;
    margin-bottom: 5vw;

}

.works-flexbox1:nth-of-type(2) div p{

    width: 50vw;
    margin-left: 2vw;
    
}


.works-flexbox1:nth-of-type(3) div p{

    width: 50vw;
    margin-left: 2vw;
    margin-bottom: 5vw;
    
}


/*セクションContact*/
.contact-section {
    margin-top: 15vw;

}

.contact-section a{

    text-decoration: none;
    color: #000;
}
.contact-section a h2{
    display: block;
    margin-right: auto;
    margin-left: auto;
    margin:0 auto 5vw auto ;

}

/*フッター*/
footer {
    padding-top: 5%;
    padding-bottom: 5%;
}

footer p {
    text-align: center;
    font-size: 1vw;
    font-family: 'Sawarabi_Mincho';
}

