/* --- リセット・基本スタイル --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "HG明朝E", "MS P明朝", "MS PMincho", "MS 明朝", serif;
    background-color: #fff;
    color: #fff;
    overflow-x: hidden;
}

/* --- ロゴ --- */
.logo {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1002;
    color: #000;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.logo:hover {
    color: #ccc;
}

/* --- ハンバーガーメニューボタン --- */
.hamburger {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 1002;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    width: 45px;
    height: 45px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #000;
    margin: 3px 0;
    transition: 0.3s ease;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* --- ナビゲーションメニュー --- */
.nav-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 1);
    z-index: 1000;
    transition: right 0.4s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.nav-overlay.active {
    right: 0;
}



.nav-menu {
    list-style: none;
    text-align: center;
}

.nav-menu li {
    margin: 30px 0;
    position: relative;
}

.nav-menu li:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background-color: #333;
}

.nav-menu a {
    color: #000;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 2px;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: #ccc;
}

.instagram-icon img {
    width: 24px;
    height: 24px;
}

/* --- スライドショー --- */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slide.active {
    opacity: 1;
}

/* --- ページコンテンツ --- */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 40px;
    min-height: 100vh;
}

.page-title {
    font-size: 3rem;
    font-weight: 300;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: 3px;
    color: #000;
}

/* --- Works一覧 --- */
.works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.work-item a {
    display: block;
    color: #000;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.work-item a:hover {
    transform: translateY(-5px);
}

.work-item {
    transition: none;
}

.work-item:hover {
    transform: none;
}

.work-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin-bottom: 20px;
}

.work-title {
    font-size: 1.2rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: 1px;
    color: #000;
}

/* --- Bio・Contact・News --- */
.content-section {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 1.1rem;
    font-weight: 300;
    color: #000;
}

.content-section p {
    margin-bottom: 30px;
}

.contact-info {
    text-align: center;
    margin-top: 60px;
}

.contact-info a {
    color: #000;
    text-decoration: underline;
}

/* --- レスポンシブ --- */
@media (max-width: 768px) {
    .logo {
        top: 20px;
        left: 20px;
        font-size: 1.2rem;
    }
    
    .hamburger {
        top: 20px;
        right: 20px;
    }
    
    .nav-close {
        top: 20px;
        right: 20px;
    }
    
    .page-container {
        padding: 60px 20px;
    }
    
    .page-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .works-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .nav-menu a {
        font-size: 1.2rem;
    }
}
/* --- 作品詳細ページ --- */
.work-detail {
    max-width: 800px;
    margin: 0 auto;
}

.work-main-image {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.work-info {
    margin-bottom: 2rem;
    padding: 1rem 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
    color: #000;
}

.work-info p {
    margin: 0.5rem 0;
    color: #000;
}

.work-description {
    line-height: 1.8;
    color: #000;
}

.work-description p {
    color: #000;
}

.work-title a {
    color: #000;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.work-title a:hover {
    opacity: 0.7;
}
/* --- ヒーローテキスト --- */
.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    font-weight: 300;
    letter-spacing: 8px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

@media (max-width: 768px) {
    .hero-text {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }
}