@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-smart.jpg);
    background-size: cover;
    width: 100%;
    height: 135vw;
}

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

header h1 {
    width: 40%;
    margin-left: 3%;
}

header h1 a {
    display: block;    
    text-decoration: none;
    width: fit-content;
    margin-top: 1%;
    line-height: 3;
    font-family: Noto_sans;
    font-weight: 300;
    font-size: 3vw;
    letter-spacing: 0.1em;
    color: #202020;    
}

/* ハンバーガーメニュー */
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);
}



/* 名前画像 */
h2 img {
    width: 55%;
    margin-top: 32%;
    margin-left: 8%;
}
    
header .portfolio img {
    width: 40%;
    margin-left: 8%;
}


/* ABOUT */

h3 img {
    width: 20%;
    vertical-align: bottom;
    margin-top: 10%;
    margin-left: 8%;
}
.about-box {
    width: 92%; 
    height: 190vw;   
    margin-left: auto;
    margin-right: auto;
    background-color: rgb(229, 227, 227);
}



.profile {
    display: block;
    width: 90%;
    padding: 7% 5%;    
}

.profile img {
    display: none;
    width: 18vw;
    margin-top: 3%;
    height: 18vw;
    border-radius: 9vw;    
}

.profile .textbox {
    width: 95%;
    margin-top: 7%;
    margin-left:auto;
    margin-right: auto;
}

.profile .textbox h4 {
    font-family: Noto_sans_jp;
    font-size: 3.2vw;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #333;
}
.profile .textbox p {
    font-family: Noto_sans_jp;
    margin-top: 6%;
    font-size: 3vw;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: #333;
}


/* skill */
.skill-title {
    margin-top: 5%;
    margin-left: 8%;
    margin-bottom: 2%;
    font-family: Noto_sans_jp;
    font-size: 3.2vw;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #333;
}

.skill-flexbox {
    display: block;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
}


.skill-flexbox .skill {
    width: 100%;
}


.skill-flexbox p span {

    margin-top: 5%;
    margin-right: 5%;
    font-family: Noto_sans_jp;
    font-size: 3vw;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #333;
}

.skill-flexbox p {
    display: block;
    font-family: Noto_sans_jp;
    font-size: 2.8vw;
    font-weight: 300;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: #333;
}

.p-box {
    margin-top: 4%;
}
.tateline {
    width: 20%;
    margin-top: 10%;
    margin-bottom: 10%;
    border-bottom: solid 1px #838383;
}




/* works */

.works h3 img {
    width: 17%;
    margin-top: 10%;
    margin-left: 8%;
}

section .works .sakuhin-flexbox {
    display: block;
    width: 65%;
    margin-left: auto;
    margin-right: auto;
}

.img-box {
    overflow: hidden;
  }
  

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

section .works .sakuhin-box p {
    margin-top: 1%;
    font-family: Noto_sans_jp;
    font-size: 3.2vw;
    letter-spacing: 0.05em;
    color: #333;
}

section .works .sakuhin-box p span {
    display: block;
    margin-bottom: 15%;
    font-family: Noto_sans_jp;
    font-size: 2.5vw;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: #333;
}



/* ループスライド */

.slide-title {
    margin-top: 15%;
    margin-left: 17%;
    font-family: Noto_sans_jp;
    font-size: 3.2vw;
    letter-spacing: 0.05em;
    color: #333;
}
.loop-slide {
    overflow: hidden;
    margin-top: 2%;
    margin-bottom: 15%;
}


.loop-slide > div {
    display: flex;
    gap: 2%;
    animation: slide-to-left 18s linear infinite;
}
.loop-slide > div > * {
    min-width: calc(100% / 2.5);
}
@keyframes slide-to-left {
    100% { transform: translateX(-100%) }
}

.loop-slide > div:hover{
    animation-play-state: paused;
}



/* フッター */
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;
}