@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
}

/* ヘッダーここから */
/*  ナビここから */
header nav {
    width: 35%;
    padding: 2%;
    margin-left: auto;
    margin-right: auto;
}

header nav ul {
    display: flex;
    list-style-type: none;
}

header nav ul li {
    width: calc( 100% / 4 );
}

header nav ul li a {
    display: block;
    font-size: 1.5vw;
    text-align: center;
    text-decoration: none;
    color: #806C59;
    transition: 0.5s
}

header nav ul li a:hover {
    border-radius: 0.5vw;
    color: #806C59;
    transition: 0.5s;
}

.index {
    position: relative;
    font-size: 1vw;
}

.index:hover::before {
    width: 100%;
    transition: 0.5s;
}

.index::before {
    position: absolute;
    bottom: 0;
    display: block;
    content: "";
    width: 0%;
    height:  0.1vw;
    background-color: #664b4f;
    transition: 0.5s;
}

.about {
    position: relative;
    font-size: 1vw;
}

.about:hover::before {
    width: 100%;
    transition: 0.5s;
}

.about::before {
    position: absolute;
    bottom: 0;
    display: block;
    content: "";
    width: 0%;
    height:  0.1vw;
    background-color: #664b4f;
    transition: 0.5s;
}

.works {
    position: relative;
    font-size: 1vw;
}

.works:hover::before {
    width: 100%;
    transition: 0.5s;
}

.works::before {
    position: absolute;
    bottom: 0;
    display: block;
    content: "";
    width: 0%;
    height:  0.1vw;
    background-color: #664b4f;
    transition: 0.5s;
}

.contact {
    position: relative;
    font-size: 1vw;
}

.contact:hover::before {
    width: 100%;
    transition: 0.5s;
}

.contact::before {
    position: absolute;
    bottom: 0;
    display: block;
    content: "";
    width: 0%;
    height:  0.1vw;
    background-color: #664b4f;
    transition: 0.5s;
}
/* ナビここまで */

p.line0 {
   border-bottom: 2px solid #664b4f;
}

/*メインビジュアル*/
header .main-visual {
    height: 40vh;
    background-image: url(../images/about.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

/* About　はじめに */
header h1 {
    padding-top:5%;
    font-weight: 500;
    font-size: 4.5vw;
    text-align: center;
    letter-spacing: 0.1em;
    color: #664b4f;
}

header p {
    font-size: 1.2vw;
    text-align: center;
    letter-spacing: 0.1em;
    color: #664b4f;  
}
/* ヘッダーここまで */

p.line1 {
   border-bottom: 2px solid #664b4f;
}

/* セクションここから */
.main-section {
    text-align: center;
    padding: 1%; 
    background-color: #fff6ee;
}

/* about me */
h2 {
    margin-top: 5%;
    font-weight: 400;
    font-style: normal;
    font-size: 3vw;
    color: #664b4f;
}
/* 私について */
 .main-section p {
    padding-bottom: 1.5%;
    font-size: 1.2vw;
    color: #664b4f;
 }

.img {
    width: 100%;
}

/* 名前 */
.section1 {
    width: 50%;
    padding: 2%;
    margin-left: auto;
    margin-right: auto;
}

.section1 h3 {
    padding-top:3%;
    padding-bottom: 1%;
    font-weight: 400;
    font-style: normal;
    font-size: 1.7vw;
    color: #664b4f;
    text-align: left;
    white-space: pre-wrap;
}

.section1 p {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3%;
    text-align: left;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2vw;
    white-space: pre-wrap;
}

/* デザインについて */
.section2 {
    width: 50%;
    padding: 2%;
    margin-left: auto;
    margin-right: auto;
}

.section2 h3 {
    padding-bottom: 1%;
    text-align: left;
    font-weight: 400;
    font-style: normal;
    font-size: 1.7vw;
    color: #664b4f;
}

.section2 p {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3%;
    text-align: left;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2vw;
    white-space: pre-wrap;
}

/* デザインについて */
.section3 {
    width: 50%;
    padding: 2%;
    margin-left: auto;
    margin-right: auto;
}

.section3 h3 {
    padding-bottom: 1%;
    text-align: left;
    font-weight: 400;
    font-style: normal;
    font-size: 1.7vw;
    color: #664b4f;
}

.section3 p {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 3%;
    text-align: left;
    font-weight: 400;
    font-style: normal;
    font-size: 1.2vw;
}

p.line3 {
   border-bottom: 2px solid #664b4f;
}

/* Topへ戻る */
html {
    scroll-behavior: smooth;
}

.return {
    position: fixed;
    text-align: center;    
    line-height: 4;
    right: 50px;
    bottom: 50px;
    width: 5vw;
    height: 5vw;
    color: #664b4f;
    background-color: #fff6ee;
    border: 2px solid #dc9f95;
    border-radius: 5vw;
    white-space: pre-wrap;
}

.return a {
    color: #806C59;
    text-decoration: none;
}

/* フッターここから */
footer {
    padding-top: 1%;
    padding-right: 6%;
    padding-bottom: 1%;
    padding-left: 6%;
    background-image: url(../images/free2.jpg);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    color: #664b4f;
}

.footer-flexbox {
    width: 35%;
    padding: 2%;
    margin-left: auto;
    margin-right: auto;
}

footer  ul {
    display: flex;
    list-style-type: none;
}

footer ul li {
    width: calc( 100% / 4 );
}

footer ul li a {
    display: block;
    font-size: 1.5vw;
    text-align: center;
    text-decoration: none;
    color: #806C59;
    transition: 0.5s
}

footer ul li a:hover {
    border-radius: 0.5vw;
    color: #664b4f;
    transition: 0.5s;
}

footer span {
    margin-right: 1%;
}

footer p {
    margin-top: 2%;
    text-align: center;
    font-size: 1.5vw;
}
/* フッターここまで */