@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Cause:wght@100..900&family=Elms+Sans:ital,wght@0,100..900;1,100..900&family=Noto+Sans+JP:wght@100..900&family=Stack+Sans+Notch:wght@200..700&family=Wallpoet&display=swap');
html{
    scroll-behavior: smooth;
}

h1{
    color: #4A4A4A;
    font-size: 250%;
    font-family: "Noto Sans JP", sans-serif;
}


body {
    background-color: #FAF8F5;
    color: #333333;
    font-family: "Noto Sans JP", sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}
header {
    text-align: left;
}
footer {
    text-align: center;
}
.main-visual {
    width: 100%;
    height: auto;
    display: block;
}

/* ナビゲーション */
nav ul{
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 0;
    margin: 20px 0;
}

nav li{
    list-style: none;
}

nav a{
    text-decoration: none;
    color: #4A4A4A;
    transition: 0.3s;
}

nav a:hover{
    color: #8B8680;
}  

h1,footer,h2{
    text-align: center;
}
ul{
    list-style-type: none;
}
.career-list,
.tools-list{
    text-align: left;
    display: inline-block;
    padding-left: 20px;
}
/* HOME */
.hero {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.hero img{
    width:100%;
    height:100vh;
    object-fit:cover;
    display:block;
}
nav{
    position: relative;
    z-index: 10;
}

/* ABOUT */
.about{
    padding: 80px 10%;
    background-color: #F5F2EE;
    text-align: center;
}
.about p{
    max-width: 700px;
    margin: 0 auto 20px;
}

h3{
    margin-top: 50px;
    margin-bottom: 20px;
}


.profile-photo {
    display: block;
    margin: 0 auto 30px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #F5F2EE;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}
.career-section,
.tools-section{
    max-width: 600px;
    margin: 40px auto;
    text-align: left;
}
.career-list li{
    margin-bottom: 12px;
}

.year{
    display: inline-block;
    width: 140px;
    font-weight: 600;
    color: #8B8680;
}
/* WORKS */
.works-grid{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
}

work-card{
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: 0.3s;
}


.work-card img{
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* CONTACT */
.contact {
    max-width: 600px;
    margin: 80px auto;
    padding: 0 20px;
}

.contact h2 {
    text-align: center;
    margin-bottom: 20px;
}

.contact p {
    text-align: center;
    margin-bottom: 40px;
    color: #666;
}

.contact label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.contact input,
.contact textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
}

.contact textarea {
    resize: vertical;
}

.contact button {
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    border: none;
    border-radius: 8px;
    background-color: #8B8680;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

.contact button:hover {
    opacity: 0.8;
}
/* TOP BUTTON */
.back-to-top{
    position: fixed;
    right: 20px;
    bottom: 20px;

    width: 50px;
    height: 50px;

    background-color: #8B8680;
    color: #fff;

    text-decoration: none;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 4px 10px rgba(0,0,0,0.15);

    transition: 0.3s;
}

.back-to-top:hover{
    opacity: 0.8;
}
@media (max-width: 768px){

    nav ul{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        padding: 10px;
        margin: 10px 0;
    }

    nav a{
        font-size: 14px;
        padding: 8px 12px;
    }

    .works-grid{
        grid-template-columns: 1fr;
    }
}