@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}




    
h1 {
    
    font-family: "Playfair Display", serif;
}
  

  


body {
    background-color:#fff8dc;
}

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

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

/*スムーススクロール*/
#page-top {
    position: fixed;
    bottom: 5%;
    right: 5%;
    font-size: 77%;
}
#page-top a {
    display: block;
    width: 50px;
    height: 50px;
    line-height: 4%;
    text-align: center;
    background: #5aff19;
    text-decoration: none;
    color: #fff;
    border-radius: 50px;
}
#page-top a:hover {
    background-color: #5aff19;
}


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

header h1 {
    margin-bottom: 2%;
    text-align: center;
    font-size: 1.6vw;
    font-family: 'Sawarabi_Mincho';
}

/*snsアイコン*/
.sns-icon {
    display: flex;
    width: 20%;
    padding-top: 0.8%;
    margin-left: auto;
    margin-right: 4%;
    text-align: center;
}

.sns-icon a {
    display: block;
    width: calc( 100% / 3 );
    color: #fff;
    text-decoration: none;
}

.sns-icon a:hover {
    color: #5aff19;
    transition: 0.5s;
}



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

nav.NavMenu ul{
	background:#5aff19; /*背景をグレーにする*/
	width: 100%;
	margin: 0 auto;
	padding: 0;
}

nav.NavMenu ul li{
	font-size: 1.1em;
	list-style-type: none;
	padding: 0;
	width: 100%;
	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: #5aff19;
    transition: 0.5s;
}


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


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

.Toggle span {
	display: block;
	position: absolute;
	width: 30px;
	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: 70%;
    margin-left: auto;
    margin-right: auto;
}

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

/*address部分*/
address p {
    font-size: 1.2vw;
    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 #fff;
}

.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: 1.1vw;
    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: #fff;
    font-size: 1.4vw;
    font-family: 'Sawarabi_Mincho';
}

.works-flexbox1 section h4 a:hover {
    color: #5aff19;
    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: #fff;
    text-decoration: none;
    font-size: 1.2vw;
    font-family: 'Sawarabi_Mincho';
}

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

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

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

/*ロボットスラブ*/
@font-face {
    font-family: 'Roboto Slab';
    src: url(../font/Roboto_Slab/static/RobotoSlab-Regular.ttf);
}

.anime {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100vh;
    background-color: #00ffea;
}

.anime p {
    font-size: 2vw;
    font-family: 'Roboto Slab';
}

.anime p span {
    color: transparent;
}

.anime p span:nth-child(1) {
    animation: writing1 2s forwards;
}
@keyframes writing1 {
    14.2% { color: #fff;}
    100%  { color: #fff;}
}

.anime p span:nth-child(2) {
    animation: writing2 2s forwards;
}
@keyframes writing2 {
    28.4% { color: #fff;}
    100%  { color: #fff;}
}

.anime p span:nth-child(3) {
    animation: writing3 2s forwards;
}
@keyframes writing3 {
    42.6% { color: #fff;}
    100%  { color: #fff;}
}

.anime p span:nth-child(4) {
    animation: writing4 2s forwards;
}
@keyframes writing4 {
    56.8% { color: #fff;}
    100%  { color: #fff;}
}

.anime p span:nth-child(5) {
    animation: writing5 2s forwards;
}
@keyframes writing5 {
    71% { color: #fff;}
    100%  { color: #fff;}
}

.anime p span:nth-child(6) {
    animation: writing6 2s forwards;
}
@keyframes writing6 {
    85.2% { color: #fff;}
    100%  { color: #fff;}
}

.anime p span:nth-child(7) {
    animation: writing7 2s forwards;
}
@keyframes writing7 {
    99.4% { color: #fff;}
    100%  { color: #fff;}
}

.mainSite {
    width: 100%;
    height: 18.5vh;
    font-size: 100px;
    color: #fff;
    font-size: 2.6vw;
    text-align: center;
    background-color: #5aff19;
}

.main-gazou img {
    width: 35%;
    margin-left: 32.5%;
    margin-right: 32.5%;
}


.profile-gazou {
    width: 24.5%;
    margin-left: auto;
    margin-right: auto;
}

.fadeIn img {
    height: 50vh;
}


section p {
    font-size: 1.3vw;
}

main section p {
    font-size: 1.1vw;
}

header h1 {
    font-size: 1.4;
}

footer {
	background:#5aff19; 
    

}

.col-box1 {
    width: 80%;
   
}

.gzou-item {
    width: 80%;
    margin-left: 30%;
    margin-right: 10%;
}




.col-box1 img {
    width: 55%;
    margin-right: auto;
    margin-right: auto;
}


.post-box1 {
 
   display: flex;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
 
    
}

.col-item {
    width: 80%;
   margin-left: 10%;
   margin-right: 10%;
}

.col-item img {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
   
}

section {
    margin-top: 3%;
    margin-bottom: 3%;
    
}

section ul li {
    list-style-type: none;
}


.post-item3 {
  width: 80%;
  text-align: center;
}

.post-item3 img {
    width: 50%;
    margin-left: 35%;
    margin-right: 25%;
}





.post-box1 img {
    width: 30%;
}




.meisi-box1 {
    display: flex;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
  
}

.meisi-box1 img {
    width: 30vw;
   
}

.meisi-box1 ul li {
    list-style-type: none;
}

.rogo-box {
    width: 77%;
    
}

.rogo-box img {
    width: 77%;
    margin-right: 25%;
    margin-left: 25%;
}






    




