html {
    scroll-behavior: smooth;
}

body {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    color: #333333;
    background-color: #fff5f7;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(92, 70, 78, 0.95);
    color: #ffffff;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav {
    max-width: 960px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.nav-logo {
    font-weight: bold;
    font-size: 1.2rem;
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 25px;
}

nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.95rem;
}

nav a:hover {
    text-decoration: underline;
}

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #f8bbd0 0%, #f48fb1 50%, #ec407a 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 80px 20px 40px 20px;
    box-sizing: border-box;
}

.hero-title {
    font-size: 5.5rem;
    margin: 0;
    letter-spacing: 8px;
    font-weight: 800;
    animation: fadeUp 1.2s ease-out forwards;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin: 10px 0 20px 0;
    letter-spacing: 4px;
    color: #fff0f3;
    opacity: 0;
    animation: fadeUp 1.2s ease-out 0.4s forwards;
}

.hero-desc {
    font-size: 1rem;
    color: #fff0f3;
    opacity: 0;
    animation: fadeUp 1.2s ease-out 0.8s forwards;
}

@keyframes fadeUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

main {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.content-section {
    padding-top: 70px;
    margin-bottom: 50px;
}

h2 {
    border-bottom: 2px solid #ec407a;
    padding-bottom: 8px;
    margin-bottom: 25px;
    color: #880e4f;
}

.profile-box {
    background-color: #ffffff;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #ec407a;
}

.profile-box p {
    margin: 8px 0;
}

.intro-text {
    margin-top: 15px !important;
    padding-top: 15px;
    border-top: 1px solid #ffebee;
}

.works-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
    overflow-x: auto;
    gap: 20px;
    padding-bottom: 15px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.work-card {
    flex-basis: 280px;
    flex-grow: 0;
    flex-shrink: 0;
    scroll-snap-align: start;
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.media-box {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #fce4ec;
    border-bottom: 1px solid #ffebee;
}

.media-box img,
.media-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.work-card h3 {
    margin: 15px 15px 10px 15px;
    font-size: 1.2rem;
    color: #880e4f;
}

.work-card p {
    margin: 0 15px 20px 15px;
    font-size: 0.95rem;
    color: #444444;
}

footer {
    text-align: center;
    padding: 45px 20px 35px 20px;
    background-color: #5c464e;
    color: #ffffff;
}

.footer-inner {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.footer-logo {
    margin-bottom: 18px;
}

.footer-tel {
    margin: 0 0 16px 0;
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
}

.footer-copy {
    margin: 0;
    font-size: 0.85rem;
    color: #f3e5ea;
}

@media (max-width: 600px) {
    nav {
        padding: 12px 15px;
    }

    nav ul {
        gap: 12px;
    }

    nav a {
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 3.8rem;
        letter-spacing: 5px;
    }

    .hero-subtitle {
        font-size: 1.15rem;
        letter-spacing: 2px;
    }

    .hero-desc {
        font-size: 0.9rem;
    }

    main {
        padding: 25px 15px;
    }

    .profile-box {
        padding: 20px 18px;
    }

    .work-card {
        flex-basis: 240px;
    }

    .footer-tel {
        font-size: 1.15rem;
    }
}