@charset "UTF-8";
html{
    scroll-behavior: smooth;
}

body {
    background-image: url(../images/backimg.png);
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 400;
    font-style: normal;
    color: #333;
}

/*header*/
header {
    background-image: url(../images/main.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 600px;
    padding-top: 60px;
}

header h1{
    color: #36763f;
    font-size: 80px;  
    /*width: 600px;*/
    margin: 150px 90px 30px;
    /*padding: 0 50px 30px;*/
    text-align: right;
    text-transform: uppercase;
    -webkit-text-stroke: 1px #fef5e7;
}
header h2{
    color: #36763f;
    font-size: 100px;
    margin: -30px 100px;
    text-align: right;
    text-transform: uppercase;
    -webkit-text-stroke: 1px #fef5e7;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

header nav ul {
    font-size: 30px;
    justify-content: center;
    display: flex;
    background-color: #fef5e7;
    padding: 12px 0 10px;
}

header nav ul li {
    margin: 0 20px;
    font-weight: bold;
    color: #d64503;
    text-transform: uppercase;
}

/*main*/
main {
    background-color: #fef5e7;
    max-width: 1240px;
    margin: 0 auto 80px;
    border-radius: 24px;
}

main div {
    text-align: center;
}

main h2 {
    font-family: 'M PLUS 1p', sans-serif;
    font-weight: 700;
    color: #d64503;
    font-size: 40px;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 20px;
    border-bottom: 3px solid #d64503;
    padding-bottom: 4px;
    display: inline-block;
    text-transform: uppercase;
}

/*main profile*/
main .profile {
    padding: 50px;
}
main .profileflex{
    display: flex;
    align-items: center;
    gap: 40px;
}

.profile_image{
    flex-basis: 35%;
}

/*.profile_image img {
    width: 280px;
    height: 430px;
    border-radius: 64px; 顔写真つかうなら
}*/

.profileText{
    flex-basis: 60%;
}

.profileText h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.profileText p {
    line-height: 1.8;
    text-align: left;
    margin-bottom: 1.5em;
}

/*main work*/
.workall {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 30px;
    gap: 30px;
    line-height: 1.5em;
}

.workall h3 {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}

.workall div {
    width: 500px;
    padding: 16px;
    border-radius: 8px;
    box-sizing: border-box;
}

.workall img {
    width: 300px;
    height: auto;
    margin-bottom: 10px;
    box-shadow: 0 0 8px rgb(255 69 2/0.4);
}

/*main skill*/
.skill ul {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0;
    justify-content: center;
}

.skill li {
    text-align: center;
    align-items: center;
    gap: 10px;
    padding: 15px;
    border-radius: 10px;
    width: 300px;
}

.skill img {
    width: 100px;
    margin: 0 auto;
    margin-top: 10px;
    margin-bottom: 10px;
}

/*main contact*/
.contact {
    margin-bottom: 0;
    padding: 60px 0;
    border-radius: 20px;
}

.contacttxt p {
    margin-bottom: 20px;
}

form {
    width: 500px;
    margin: 0 auto;
}

input[type="text"],
input[type="email"],
textarea {
    background-color: #FFFCF5;
    width: 100%;
    margin-top: 5px;
    padding: 0.8em;
    resize: none;
    border: 1px solid #333;
    border-radius: 10px;
}

textarea {
    height: 148px;
    margin-bottom: 30px;
}

form p {
    margin-bottom: 20px;
}

form p .Txt{
    text-align: left; /*フォーム内左書きスタート。class名変更？*/
}

.submitBtn {
    text-align: center;
}

input[type="submit"] {
    color: #f9f7f4;
    background-color: #d64503;
    padding: 18px 60px;
    border-radius: 20px;
}

/*footer*/
footer {
    background-color: #36763f;
    color: #f9f7f4;
    text-align: center;
    padding: 14px 10px 20px;
}

/* 使用した色
#333333(テキスト)
#fef5e7(全体背景)
#f9f7f4(textarea,footer)
#d64503(メイン)
#36763f(アクセント)
*/