/* リセットCSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Meiryo", sans-serif;
    line-height: 1.8;
    color: #e0e0e0;
    background-color: #0a0a0a;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ヘッダー・ナビゲーション */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    line-height: 1;
}

.logo-image {
    height: 40px;
    width: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.logo-image:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-menu a {
    font-size: 14px;
    letter-spacing: 1px;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e0e0e0, transparent);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    opacity: 1;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 2px;
    background-color: #e0e0e0;
    transition: all 0.3s ease;
}

/* ヒーローセクション */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #0a0a0a;
    overflow: hidden;
}

/* 動画背景 */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* 動画の上に半透明のオーバーレイ */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.3);
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    animation: float 10s ease-in-out infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(20px, -20px);
    }
    50% {
        transform: translate(-20px, 20px);
    }
    75% {
        transform: translate(20px, 20px);
    }
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 80px;
    font-weight: bold;
    letter-spacing: 8px;
    margin-bottom: 20px;
    line-height: 1.2;
    padding: 0 40px;
    animation: fadeInUp 1s ease;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.hero-logo {
    max-width: 600px;
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
    animation: fadeInUp 1s ease, glowPulse 3s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(255, 105, 180, 0.4));
}

.hero-subtitle {
    font-size: 18px;
    letter-spacing: 3px;
    opacity: 0.7;
    animation: fadeInUp 1s ease 0.3s both;
}

.scroll-indicator {
    position: absolute;
    bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    animation: fadeInUp 1s ease 0.6s both;
    z-index: 10;
}

.scroll-indicator span {
    font-size: 12px;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(224, 224, 224, 0.8), rgba(224, 224, 224, 0));
    animation: scrollLineAnim 2s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollLineAnim {
    0%, 100% {
        transform: scaleY(0);
        transform-origin: top;
    }
    50% {
        transform: scaleY(1);
        transform-origin: top;
    }
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.3),
                     0 0 30px rgba(255, 255, 255, 0.2);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.5),
                     0 0 50px rgba(255, 255, 255, 0.3),
                     0 0 70px rgba(255, 255, 255, 0.2);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes letterBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.section-title.animate .letter {
    animation: letterBounce 0.6s ease;
}

.section-title.scrolling .letter {
    transition: transform 0.3s ease;
}

/* セクション共通スタイル */
.section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-size: 48px;
    font-weight: bold;
    letter-spacing: 5px;
    margin-bottom: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.section-title .letter {
    display: inline-block;
    opacity: 0;
    transform: translateY(50px) rotateX(-90deg);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.section-title.animate .letter {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

.section-title::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transform: translateX(-50%);
    transition: width 0.8s ease 0.3s;
}

.section-title.animate::before {
    width: 120px;
}

/* コンセプトセクション */
.concept-section {
    background-color: #0f0f0f;
}

.concept-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.concept-text {
    font-size: 18px;
    line-height: 2.2;
    letter-spacing: 1px;
}

.concept-text.animate {
    animation: fadeInUp 0.8s ease forwards;
}

/* プロフィールセクション */
.profile-section {
    background-color: #0a0a0a;
}

.profile-content {
    max-width: 800px;
    margin: 0 auto;
}

.profile-item {
    margin-bottom: 50px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-item:last-child {
    border-bottom: none;
}

.profile-item.slide-left {
    animation: slideInLeft 0.8s ease forwards;
}

.profile-item.slide-right {
    animation: slideInRight 0.8s ease forwards;
}

.profile-item h3 {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
    color: #888;
    font-weight: normal;
}

.profile-item p {
    font-size: 18px;
    line-height: 2;
}

/* 実績セクション */
.works-section {
    background-color: #0f0f0f;
}

.works-content {
    max-width: 900px;
    margin: 0 auto;
}

.coming-soon {
    text-align: center;
    padding: 80px 40px;
}

.coming-soon-text {
    font-size: 36px;
    letter-spacing: 4px;
    opacity: 0.6;
    font-weight: 300;
}

.work-item {
    margin-bottom: 60px;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.work-item:hover {
    background-color: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 20px rgba(255, 255, 255, 0.1);
}

.work-item.scale-in {
    animation: scaleIn 0.6s ease forwards;
}

.work-title {
    font-size: 24px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.work-description {
    font-size: 16px;
    line-height: 1.8;
    opacity: 0.8;
    margin-bottom: 15px;
}

.work-year {
    font-size: 14px;
    color: #888;
    letter-spacing: 1px;
}

/* 理念セクション */
.philosophy-section {
    background-color: #0a0a0a;
    padding: 180px 0;
}

.philosophy-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.philosophy-title {
    font-size: 56px;
    font-weight: bold;
    letter-spacing: 3px;
    line-height: 1.4;
    margin-bottom: 50px;
    background: linear-gradient(90deg, #e0e0e0, #ffffff, #e0e0e0);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}

.philosophy-text {
    font-size: 16px;
    line-height: 2.2;
    opacity: 0.7;
}

/* コンタクトセクション */
.contact-section {
    background-color: #0f0f0f;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-text {
    font-size: 16px;
    margin-bottom: 40px;
    opacity: 0.8;
}

.contact-email {
    display: inline-block;
    font-size: 24px;
    letter-spacing: 1px;
    padding: 20px 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    transition: all 0.3s ease;
}

.contact-email:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
    animation: pulse 1s ease infinite;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

/* フッター */
.footer {
    background-color: #050505;
    padding: 60px 0 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 40px;
    list-style: none;
    margin-bottom: 30px;
}

.footer-nav a {
    font-size: 14px;
    letter-spacing: 1px;
}

.copyright {
    text-align: center;
    font-size: 12px;
    opacity: 0.5;
    letter-spacing: 1px;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-container {
        padding: 15px 20px;
    }

    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-title {
        font-size: 48px;
        letter-spacing: 4px;
        padding: 0 20px;
    }

    .hero-logo {
        max-width: 400px;
        width: 85%;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 36px;
        margin-bottom: 50px;
    }

    .concept-text {
        font-size: 16px;
    }

    .philosophy-title {
        font-size: 32px;
    }

    .philosophy-section {
        padding: 100px 0;
    }

    .contact-email {
        font-size: 18px;
        padding: 15px 30px;
    }

    .footer-nav {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
        letter-spacing: 3px;
        padding: 0 15px;
    }

    .hero-logo {
        max-width: 300px;
        width: 80%;
    }

    .section-title {
        font-size: 28px;
    }

    .work-item {
        padding: 30px 20px;
    }
}

