html,
body {
    margin: 0;
    padding: 0;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #000000;
    color: #ffffff;
}

body {
    font-family:
        "Hiragino Kaku Gothic ProN",
        "Hiragino Sans",
        "Yu Gothic",
        "YuGothic",
        "Noto Sans JP",
        Meiryo,
        sans-serif;
}


.main-content {
    padding: 40px 40px 60px;

}

main {
    padding-top: 0;
    flex: 1;
}

.visually-hidden {
    position: absolute;
    left: -9999px;
}

.nav a.active {
    opacity: 0.6;
    pointer-events: none;
}

.header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    padding: 40px 40px;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 30px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo a {
    color: #fff;
    text-decoration: none;
}

.nav ul {
    display: flex;
    gap: 60px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav a {
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    letter-spacing: 0.1em;
}

.nav a:hover {
    opacity: 0.6;
}


.hello-logo {
    width: 200px;
    margin: 60px auto 40px;
    display: block;
}

.about-inner {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}


.about-text {
    margin-top: 30px;
    line-height: 2;
    font-size: 16px;
}

.about-text br {
    line-height: 3;
}

.about-name {
    font-family: 'Alata', sans-serif;
    font-size: 35px;
    letter-spacing: 0.12em;
    margin-bottom: 50px;
}

.tools {
    margin-top: 30px;
    letter-spacing: 0.05em;
    font-size: 15px;
    opacity: 0.7;
}

.contact a {
    font-family: 'Alata', sans-serif;
    font-size: 30px;
    letter-spacing: 0.08em;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 15px;

}

.contact {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
}

.pigeon {
    width: 100px;
    transform: translateY(3px);
    margin: 0 60px;

}

.contact a:hover {
    opacity: 0.6;
}

.site-footer {
    color: #fff;
    display: flex;
    justify-content: center;
    letter-spacing: 0.08em;
    align-items: center;
    margin: 0 30px;

}

.to-top {
    display: inline-block;
    margin-left: 20px;
    padding: 8px 12px;
    background: #fff;
    color: #000;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.home .to-top {
    display: none;
}

.to-top:hover {
    opacity: 0.7;
}

.home .to-top {
    display: none;
}

@media (max-width:768px) {
    .about-inner {
        width: 100%;
        padding: 0 20px;
        /* ←左右余白 */
        box-sizing: border-box;
    }

    .header {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        padding: 40px 40px;
        z-index: 100;
    }

    .header-inner {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .logo {
        font-size: 30px;
        font-weight: 500;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .logo a {
        color: #fff;
        text-decoration: none;
    }

    .nav ul {
        display: flex;
        gap: 60px;
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .nav a {
        color: #fff;
        text-decoration: none;
        font-size: 20px;
        letter-spacing: 0.1em;
    }

    .nav a:hover {
        opacity: 0.6;
    }


    .hello-logo {
        width: 200px;
        margin: 60px auto 40px;
        display: block;
    }

    .about-inner {
        max-width: 700px;
        margin: 0 auto;
        text-align: center;
    }


    .about-text {
        font-size: 14px;
        line-height: 1.8;
        margin-top: 20px;
        word-break: break-word;
        margin-top: 30px;
        line-height: 2;
        font-size: 16px;
    }

    .about-text br {
        line-height: 3;
    }

    .about-name {
        font-family: 'Alata', sans-serif;
        font-size: 35px;
        letter-spacing: 0.12em;
        margin-bottom: 50px;
    }

    .tools {
        margin-top: 30px;
        letter-spacing: 0.05em;
        font-size: 15px;
        opacity: 0.7;
    }

    .contact a {
        font-family: 'Alata', sans-serif;
        font-size: 30px;
        letter-spacing: 0.08em;
        color: #fff;
        text-decoration: underline;
        text-underline-offset: 15px;

    }

    .contact {
        margin-top: 40px;
        display: flex;
        flex-direction: column;
        /* 縦並び */
        align-items: center;
        gap: 12px;
    }

    .contact img:first-of-type {
        display: none;
    }

    .pigeon {
        width: 70px;
        margin: 50px;
    }

    .contact a:hover {
        opacity: 0.6;
    }

    .site-footer {
        color: #fff;
        display: flex;
        justify-content: center;
        letter-spacing: 0.08em;
        align-items: center;
        margin: 0 30px;

    }

    .home .to-top {
        display: inline-block;
        margin-left: 20px;
        padding: 8px 12px;
        background: #fff;
        color: #000;
        border-radius: 4px;
        text-decoration: none;
        font-weight: bold;
        font-size: 14px;
    }

    .home .to-top:hover {
        opacity: 0.7;
    }

}