@charset "UTF-8";

/*===============
ヘッダー
================*/

header {
    background-image: url("../images/patter.png");
}

.mainpic {
    height: 500px;
    width: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

h1 {
    color: #736c70;
    font-family: 'Patrick Hand SC', cursive;
    font-weight: 400;
    font-size: 120px;
    position: relative;
}

.main-p {
    color: #736c70;
    position: absolute;
    top: 37%;
    font-family: 'Patrick Hand SC', cursive;
    font-size: 30px;
}

/*===============
ナビゲーション
================*/
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #c9c7b2;
    height: 50px;
    opacity: 0.8;
}

.toggle-menu-button {
    display: none;
}

.site-menu {
    display: flex;
    justify-content: space-around;
    list-style: none;
}

.site-menu a {
    text-decoration: none;
    font-family: 'Comfortaa', cursive;
    font-weight: 400;
    font-size: 20px;
    color: #68533b;
}
nav a:hover{
    text-decoration: underline;
}

/*===============
メイン
================*/
h2 {
    text-align: center;
    color: #68533b;
    font-family: 'Comfortaa', cursive;
    font-weight: 500;
    font-size: 50px;
}

h3 {
    color: #68533b;
}

/*===============
Sample
================*/
#sample {
    padding-top: 55px;
    /*margin-top: -55px;*/
    margin-bottom: 100px;
}

.sample-img {
    height: 300px;
    width: 400px;
}
.sample-img:hover {
	opacity: 0.5;
}

.sample-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
}

.sample-item {
    margin-right: 20px;
    margin-left: 20px;
}

.sample-item p {
    width: 400px;
    overflow-wrap: break-word;
}

/*===============
About
================*/
#about {
    padding-top: 55px;
    margin-top: -55px;
    margin-bottom: 100px;
}

.about-img {
    width: 300px;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
}

.about-item {
    margin-left: 16px;
    margin-right: 16px;
    
}

.about-item p {
    width: 400px;
    overflow-wrap: break-word;
}


/*===============
Skill
================*/
#skill {
    padding-top: 55px;
    margin-top: -55px;
    margin-bottom: 100px;
}

.skill-container1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 10px;
}

.skill-container2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.skill-item {
    text-align: center;
    margin-right: 30px;
    margin-left: 30px;
    margin-top: 30px;
    margin-bottom: 40px;
    width: 500px;
}

.skill-item img {
    height: 100px;
    width: 100px;
    margin-left: 5px;
    margin-right: 5px;
}


/*===============
Contact
================*/
#contact {
    padding-top: 55px;
    margin-top: -55px;
    margin-bottom: 100px;
    text-align: center;
}

#contact img {
    width: 45px;
}

#contact a {
    font-size: 24px;
    margin-left: 20px;
    text-decoration: none;
    color: #867e77;
}

#contact a:hover {
    color: #dfb4ae;
    text-decoration: underline;
}

/*
.contact-p {
    text-align: center;
}
*/

/*===============
フッター
================*/
footer {
    background-color: #736c70;
    text-align: center;
    margin-top: 50px;
    font-size: 20px;
}

.footer-p {
    color: whitesmoke;
}

.copy {
    color: whitesmoke;
}


/*===============
モバイル
================*/

@media (max-width: 800px) {

    .site-menu {
        display: block;
        text-align: center;
        position: absolute;
        left: 0;
        right: 0;
        color: #68533b;
        background-color:  #c9c7b2;
        padding-bottom: 30px;
        display: none;
    }

    .toggle-menu-button {
        display: block;
        width: 44px;
        height: 34px;
        background-image: url(../images/メニューの無料アイコン5.png);
        background-size: 60%;
        background-position: center;
        background-repeat: no-repeat;
        background-color: transparent;
        border: none;
        border-radius: 0;
        outline: none;
    }

    .site-menu.is-show {
        display: block;
    }

    h1 {
        font-size: 70px;
    }
}