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

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

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

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

header nav {
    width: fit-content;
    margin-left: auto;
    margin-right: 7%;
}

header nav ul {
    display: flex;
}

header nav ul li {
    list-style-type: none; 
    margin-right: 8%;
}

header nav ul li a{
    display: block;    
    text-decoration: none;
    width: fit-content;
    margin-top: 3%;
    line-height: 4;
    font-family: Noto_sans;
    font-weight: 400;
    font-size: 1.6vw;
    letter-spacing: 0.1em;
    color: #202020;    
}


/* 名前画像 */
h2 img {
    width: 35%;
    margin-top: 28%;
    margin-left: 8%;
}
    
header .portfolio img {
    width: 23%;
    margin-left: 17%;
}


/* ABOUT */

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



.profile {
    display: flex;
    width: 86%;
    padding: 7% 7%;    
}

.profile img {
    width: 15vw;
    height: 15vw;
    border-radius: 7.5vw;    
}

.profile .textbox {
    width: 80%;
    margin-top: 2%;
    margin-left: 5%;
}

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


/* skill */
.skill-title {
    margin-left: 7%;
    margin-bottom: 2%;
    font-family: Noto_sans_jp;
    font-size: 1.8vw;
    font-weight: 300;
    letter-spacing: 0.05em;
    color: #333;
}

.skill-flexbox {
    display: flex;
    gap: 5%;
    width: 86%;
    margin-left: auto;
    margin-right: auto;
}

.skill-flexbox .skill {
    width: 50%;
    margin-left: auto;
    margin-right: auto;
}

.skill-flexbox p span {
    margin-right: 5%;
    font-family: Noto_sans_jp;
    font-size: 1.5vw;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #333;
}

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

.p-box {
    margin-top: 4%;
}
.tateline {
    border-left: solid 1px #838383;
}




/* works */

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

section .works .sakuhin-flexbox {
    display: flex;
    width: 85%;
    gap: 2%;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3.5%;
}

.img-box {
    overflow: hidden;
  }
  

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

section .works .sakuhin-box img:hover {
    transform: scale(1.02,1.02); 
    filter: opacity(60%);
    transition: 1s;
}

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

section .works .sakuhin-box p span {
    font-family: Noto_sans_jp;
    font-size: 1.1vw;
    letter-spacing: 0.1em;
    color: #333;
}



/* ループスライド */

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

.loop-slide > div {
    display: flex;
    gap: 1%;
    animation: slide-to-left 18s linear infinite;
}
.loop-slide > div > * {
    min-width: calc(100% / 6);
}
@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: 30%;
    margin-bottom: 4%;
}
    
  
.footer-flexbox {
    display: flex;
}
  
footer .namebox {
    width: 38%;
}
  
footer .namebox p {
    font-weight: 300;
    font-size: 1.3vw;   
    font-style: normal;
    line-height: 2;
    font-family: Noto_Sans_JP;
    letter-spacing: 0.07em;
    color: #202020;  
}
  
footer .navbox {
    width: 50%;
    margin-left: 13%;
}

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: 1.4vw;
    letter-spacing: 0.1em;
    color: #202020;    
}

footer .sns-icon {
    width: 13%;
    margin-left: 15%;
    height: fit-content;
    font-size: 1.7vw;
}

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

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

.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.1vw;
    color: #202020;
}