@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: Noto_sans;
    src: url(../font/Noto_Sans/NotoSans-VariableFont_wdth\,wght.ttf);
}

@font-face {
    font-family: Noto_sans_jp;
    src: url(../font/Noto_Sans_JP/NotoSansJP-VariableFont_wght.ttf);
}

body {
    background-color: #faf6f0;
}

header {
    background-image: url(../../../images/mimoza.jpg);
    background-size: cover;
    width: 100%;
    height: 18vw;
}

.header-box {
    position: fixed;
    display: flex;
    width: 100%;
    height: 5vw;
    z-index: 100;
    /* background-color: rgba(229, 227, 227, 0.5); */
}

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

nav.NavMenu ul{
	background: #faf7f7; /*背景をグレーにする*/
}

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

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

nav.NavMenu ul li a{
	display: block; /*クリックできる領域を広げる*/
    text-indent: 1em;
	color: #333;
	padding: 1em 0;
    font-weight: 300;
    text-decoration: none;
}


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


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

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

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

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

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

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

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


h1 img {
    width: 30%;
    margin-top: 3%;
    margin-left: 5%;

}
    
header .portfolio img {
    width: 20%;
    margin-left: 8%;
}


/* 作品 */

section {
    width: 85%;
    margin-left: auto;
    margin-right: auto;    
    margin-top: 10%;
}

section h2 {
    margin-bottom: 3%;
    font-family: Noto_sans_jp;
    font-weight: 300;
    font-size: 3vw;
    letter-spacing: 0.05em;
    color: #333;
}

section h2 a {
    text-decoration: none;
    font-weight: 300;
    font-size: 2.8vw;
    color: #333;
}

section img {
    width: 100%;
    margin-bottom: 5%;
}


table {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10%;
    font-family: Noto_sans_jp;
    font-weight: 300;
    font-size: 2.8vw;
    letter-spacing: 0.05em;
    color: #333;
}

caption {
    text-align: left;
    margin-bottom: 3%;
    font-family: Noto_sans_jp;
    font-weight: 400;
    font-size: 2.8vw;
    letter-spacing: 0.05em;
    color: #333;
}

th {
    width: 20%;
    text-align: left;
    vertical-align: top;
    font-weight: 400;
}

td {
    letter-spacing: 0.03em;
}

th,td {
    padding: 3% 0%; /* 各セルに内側の余白指定 */
}




/* フッター */
footer {
    padding: 6% 12.5%;
    background-color: rgb(229, 227, 227)
  }
  
footer h5 img {
    width: 70%;
    margin-bottom: 2%;
}
    
  
.footer-flexbox {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
  
footer .namebox {
    width: 80%;
}
  
footer .namebox p {
    font-weight: 300;
    font-size: 2.5vw;   
    font-style: normal;
    line-height: 2;
    font-family: Noto_Sans_JP;
    letter-spacing: 0.07em;
    color: #202020;  
}
  
footer .navbox {
    width: 80%;
    margin-top: 5%;
}

footer .navbox nav ul {
    display: flex;
}

footer .navbox nav ul li {
    list-style-type: none; 
    margin-right: 10%;
}

footer .navbox nav ul li a{
    display: block;    
    text-decoration: none;
    width: fit-content;
    line-height: 2;
    font-family: Noto_sans;
    font-weight: 400;
    font-size: 3vw;
    letter-spacing: 0.1em;
    color: #202020;    
}

footer .sns-icon {
    width: 30%;
    margin-top: 5%;
    height: fit-content;
    font-size: 5vw;
}

footer .sns-icon .fa-brands {
    color: #202020;
}

footer .sns-icon .fa-instagram {
    margin-left: 25%;
}
    

.line {
    width: 100%;
    margin-top: 5%;
    margin-bottom: 1%;
    border-bottom: 0.5px solid #202020;
}

.line-box p  { 
    display: block; 
    width: fit-content; 
    margin-left: auto;
    margin-right: auto; 
    letter-spacing: 0.07em;
    font-family: Noto_Sans_JP;
    font-size: 1.8vw;
    color: #202020;
}