@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Sawarabi_Mincho';
    src: url('../font/Sawarabi_Mincho/SawarabiMincho-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%;
    font-size: 77%;
}
#page-top a {
    display: block;
    width: 50px;
    height: 50px;
    line-height: 4;
    text-align: center;
    background: #666;
    text-decoration: none;
    color: #fff;
    border-radius: 50px;
}
#page-top a:hover {
    background-color: yellowgreen;
}

body {
    background-color: whitesmoke;
}


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

header h1 {
    margin-bottom: 2%;
    text-align: center;
    text-shadow: 3px 3px rgb(161, 180, 125);
    font-size: 3vw;
    font-family: 'Sawarabi_Mincho';
    letter-spacing: 0.1em;
}

/*snsアイコン*/
.sns-icon {
    display: flex;
    width: 20%;
    padding-top: 0.8%;
    margin-left: auto;
    margin-right: 4%;
    text-align: center;
    text-shadow: 3px 3px rgb(161, 180, 125);
}

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

.sns-icon a:hover {
    color: yellowgreen;
    transition: 0.5s;
}

.sns-icon i {
    display: block;
    font-size: 1.8vw;
}


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

nav.NavMenu ul{
	background: rgba(207, 204, 204, 0.9); /*背景をグレーにする*/
	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: yellowgreen;
    transition: 0.5s;
}


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


/*トグルボタンのスタイルを指定*/
.Toggle {
	position: fixed;
    top: 5.85vw;
    right: 4%;
	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);
}

/* ////// */
.main2 {
    display: none;
}
/* //////*/



/*セクションAbout*/

main {
    width: 84%;
    margin-left: auto;
    margin-right: auto;
}

main section h2 {
    margin-bottom: 5%;
    text-align: center;
    text-shadow: 3px 3px rgb(161, 180, 125);
    letter-spacing: 0.1em;
    font-size: 2.2vw;
    font-family: 'Sawarabi_Mincho';
    
}

.about-box {
    display: flex;
}

/*address部分*/
address {
    width: 65%;
}

address p {
    font-size: 1.3vw;
    font-style: normal;
    font-family: 'Sawarabi_Mincho';
    font-weight: 500;
}

address p:nth-of-type(1) {
    margin-bottom: 4%;
    font-size: 1.6vw;
    font-weight: 600;
    letter-spacing: 0.1em;
}

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

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

.picture {
    width: 22.5%;
    margin-left: 10%; 
}

.picture img {
    width: 100%;
    vertical-align: bottom;
    border-radius: 50%;
    border: 5px solid gray;
    background-color: darkseagreen;
    
}

/*セクションWorks*/

.works-section {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 5%;
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 5%;
    border: 3px solid grey;
    border-radius: 10px;
    background-color: rgb(206, 232, 154);
}

.works-section .web-title {
    margin-bottom: 3%;
    font-size: 2vw;
    font-family: 'Sawarabi_Mincho';
    text-shadow: 3px 3px rgb(161, 180, 125);
    letter-spacing: 0.1em;
    border-bottom: 2px solid gray;
}

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

.graphic-title {
    letter-spacing: 0.1em;
    text-shadow: 3px 3px rgb(161, 180, 125);
}

.graphic-genre {
    margin-bottom: 3%;
    text-align: center;
    font-size: 1.6vw;
    font-family: 'Sawarabi_Mincho';
    letter-spacing: 0.1em;
    text-shadow: 3px 3px rgb(161, 180, 125);
}

.works-section ul {
    margin-top: 5%;
    list-style-type: none;
}

.works-section ul li {
    display: flex;
    line-height: 1.7;
    font-family: 'Sawarabi_Mincho';
}

.works-section ul li span {
    display: inline-block;
    width: 28%;
    font-size: 1.3vw;
    font-weight: 600;
}
.works-section ul li p {
    width: 70%;
    margin-left: 2%;
    font-size: 1.1vw;
}

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

.works-flexbox1 section:nth-of-type(1) {
    width: 28%;
    margin-left: auto;
    margin-right: 2%;
}
.works-flexbox1 section:nth-of-type(2) {
    width: 28%;
    margin-left: auto;
    margin-right: auto;
}
.works-flexbox1 section:nth-of-type(3) {
    width: 28%;
    margin-left: 2%;
    margin-right: auto;
}

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

.works-flexbox1 section h4 a {
    text-decoration: none;
    color: #000;
    font-size: 1.2vw;
    font-family: 'Sawarabi_Mincho'; 
    letter-spacing: 0.1em;
}

.works-flexbox1 section h4 a:hover {
    color: whitesmoke;
    text-shadow: 2px 2px grey;
    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: yellowgreen;
    transition: 0.5s;
}

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

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

