@charset "UTF-8";

*{
    margin: 0;
    padding: 0;
}

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



/* TOPアニメーション */
.top-anime{
    display: flex;
    width: 100vw;
    height: 70vw;
    overflow-y: hidden;
    
}

/* 名前 */
.child{
    width: 100%;
}


.child p{
    display: block;
    margin-top: 5vw;
    text-align: center;
    font-family: Dela_Gothic_One ;
    font-size: 3vw;
    letter-spacing: 0.2em;
    animation: textanime 2s infinite linear;
  
}

@keyframes textanime{
    0%{

    }

    100%{
        transform: rotateX(180deg);
    }
} 

/* 福 */
.child1{
    width: 100%;
}
.child1 img{
    display: block;
    width: 30vw;
    height: 20vw;
    margin-top: 18vw;
    animation: transrate-y-Anime 1s infinite linear;
    
}




 @keyframes transrate-y-Anime{
    0%{

    }

    100%{
        transform: rotateY(360deg);
    }
} 






/* まねきねこ */

.top-anime div div img{
    display: block;
    width: 27vw;
    height: 30vw;


    }

.kuro{
    position: relative;
    top: 3vw;
    left: 2vw;
    z-index: 2;
    animation: opactyanime 1s forwards  ;
    
    
}

 @keyframes opactyanime{
    0%{

    }

    100%{
        opacity: 0;
    }

}  


.shiro{
    position: absolute;
    top: 12vw;
    left: 35vw;
}


 .mainSite { 
    width: 100vw;
    height: 10vw;


}


/*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: 20px;
	cursor: pointer;/*divだけどカーソルが変わるようにしている*/
	z-index: 3;/*ボタンを一番上にしている(押せなくなるから)*/
}

.Toggle span {
	display: block;
	position: absolute;
	width: 20px;
	border-bottom: solid 2px #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: 70%;
    margin-left: auto;
    margin-right: auto;
}

main section h2 {
    margin-bottom: 5%;
    text-align: center;
    font-size: 2.2vw;
    font-family: 'Sawarabi_Mincho';
}

.about-parent{
    display: flex;
    width: 70vw;
    margin-bottom: 7vw;

}

main section h2 a{
    text-decoration: none;
    color: #000;
}






/*address部分*/
address p {
    font-size: 1.8vw;
    font-style: normal;
    font-family: 'Sawarabi_Mincho';
}

address p:nth-of-type(1) {
    margin-bottom: 4%;
}

address p:nth-of-type(5) {
    margin-bottom: 4%;
}

address p:nth-of-type(6) {
    margin-bottom: 12%;
}


/*セクションWorks*/
.works-section .web-title {
    margin-bottom: 3%;
    font-size: 2vw;
    font-family: 'Sawarabi_Mincho';
    border-bottom: 1px solid #333;
}

.works-section .graphic-title {
    margin-bottom: 3%;
    font-size: 2vw;
    font-family: 'Sawarabi_Mincho';
    border-bottom: 1px solid #333;
}

.graphic-genre {
    margin-bottom: 3%;
    text-align: center;
    font-size: 1.6vw;
    font-family: 'Sawarabi_Mincho';
}

.works-section ul {
    list-style-type: none;
}

.works-section ul li {
    line-height: 2.2;
    font-size: 1vw;
    white-space: pre-wrap;
    font-family: 'Sawarabi_Mincho';
}

.works-section ul li span {
    display: inline-block;
    width: 6em;
}

.works-flexbox1 {
    display: flex;
    margin-bottom: 5%;
}

.works-flexbox1 section {
    width: 47%;
}

.works-flexbox1 section:nth-of-type(1) {
    margin-right: 6%;
    margin-bottom: 4%;
}

.works-flexbox1 section h4 {
    margin-bottom: 2%;
}

.works-flexbox1 section h4 a {
    text-decoration: none;
    color: #000;
    font-size: 1.4vw;
    font-family: 'Sawarabi_Mincho';
}

.works-flexbox1 section h4 a:hover {
    color: #f79428;
    transition: 0.5s;
}

.works-flexbox1 section a {
    display: block;
    margin-bottom: 2%;
    overflow: hidden;
}

.works-flexbox1 section img {
    width: 100%;
    vertical-align: bottom;
    transform: scale(1,1);
    transition: 1s;
}

.works-flexbox1 section a:hover img {
    transform: scale(1.05,1.05);
    transition: 1s;
}

/*セクションContact*/
.contact-section {
    margin-top: 12%;
}

/*コンタクト電話＆メール*/
.contact-flexbox {
    display: flex;
}

.tel-mailbox {
    display: flex;
    width: 60%;
    padding-top: 0.8%;
    text-align: center;
}

.tel-mailbox a {
    display: block;
    margin-right: 8%;
    color: #000;
    text-decoration: none;
    font-size: 1.2vw;
    font-family: 'Sawarabi_Mincho';
}

.tel-mailbox a:hover {
    color: #f79428;
    transition: 0.5s;
}

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

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

