@charset "utf-8";

body {
    font-family: "Zen Maru Gothic",sans-serif;
    background-color: rgb(115, 0, 0);
    margin: 0;
}

html {
    scroll-behavior: smooth;
    scroll-margin-top: 60px;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(115, 0, 0, 0.85);
    backdrop-filter: blur(8px);
}

.nav-menu {
    max-width: 800px;
    margin: 0 auto;
    padding: 16px 20px;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
    transition: opacity 0.2s;
}

.nav-menu a:hover {
    opacity: 0.7;
}

.header-inner {
    width: 500px;
    height: 350px;
    margin: 0 auto 0 auto;
}

.profile {
    background-color: #f5efe6;
    padding-top: 50px;
    padding-bottom: 50px;
}

.profile-title-box {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.profile-title {
    display: inline-block;
    background-color: rgb(115, 0, 0);
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px 40px;
    border-radius: 50px;
    letter-spacing: 2px;
    margin: 0;
}

.profile-box {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
}

.profile-box1 {
    flex: 1;
    background-color: rgb(115, 0, 0);
    padding: 35px;
    border-radius: 15px;
    text-align: left;
}

.profile-about1 {
    color: #fff;
    font-size: 25px;
}

.profile-about2 {
    color: #fff;
    font-size: 15px;
}

.profile-image {
    flex: 1;
    text-align: center;
}

.profile-image img {
    width: 260px; 
    height: 260px;
    object-fit: cover;
    border-radius: 50%;
    border: 13px solid rgb(115, 0, 0);
}

.work {
    background-color: rgb(115, 0, 0);
    padding-top: 80px;
    padding-bottom: 60px;
}

.work-title-box {
    text-align: center;
    margin-bottom: 40px;
}

.work-title {
    display: inline-block;
    background-color: #f5efe6;
    color: rgb(115, 0, 0);
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px 40px;
    border-radius: 50px;
    letter-spacing: 2px;
    margin: 0;
}

.work-list {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.work-item {
    width: 100%;
}

.work-date {
    color: #fff;
    font-size: 0.95rem;
    font-weight: bold;
    margin: 0 8px 0;
    text-align: left;
}

.work-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.work-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.work-name {
    color: #fff;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 14px 0 0 0;
    text-align: center;
}

.work-name a {
    color: inherit;
    text-decoration: none;
}

.work-name a:hover {
    color: #fa7f7f;
}

.footer {
    background-color: #3a2d28;
    color: #fff;
    padding-top: 30px;
    padding-bottom: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    display: block;
    width: auto;
    margin-top: 90px;
}

.footer-mail {
    font-size: 23px;
    font-weight: bold;
    margin-top: 90px;
}

.footer-tel {
    font-size: 23px;
    font-weight: bold;
    margin-top: 10px;
}

.copyright {
    font-size: 14px;
    font-weight: bold;
    margin-top: 90px;
}

@media (max-width: 800px) {
    html, body {
        margin: 0;
        padding: 0;
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    .profile-box {
        flex-direction: column-reverse;
        gap: 24px;
        padding: 0 16px;
    }

    .profile-box1 {
        width: 100%;
        box-sizing: border-box;
        padding: 24px;
    }

    .profile-image img {
        width: 200px;
        height: 200px;
        object-fit: cover;
        border-radius: 50%;
    }

    .work-item {
        padding-left: 30px;
        padding-right: 30px;
        box-sizing: border-box;
    }

    .header {
        padding: 20px 0;
    }

    .header-inner {
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 90px;
        width: 100%;
        box-sizing: border-box;
    }

    .logo {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .logo img {
        display: block;
        width: 100%;
        max-width: 280px;
        height: auto;
        margin: 0 auto;
    }

    .profile-box {
        padding-left: 30px;
        padding-right: 30px;
    }
}