@charset "UTF-8";

/* ============================================
   1. Base Settings: 静寂のベース
   ============================================ */
:root {
    --bg-color: #0a0a0a;       /* 背景：限りなく黒に近いダークグレー */
    --text-main: #ffffff;      /* メイン文字：白 */
    --text-sub: #aaaaaa;       /* サブ文字：グレー */
    --accent-color: #666666;   /* アクセント：濃いグレー */
    
    --font-serif: 'Noto Serif JP', serif;   /* 明朝体：静寂・肉体・コンセプト */
    --font-sans: 'Noto Sans JP', sans-serif; /* ゴシック体：喧騒・都市・情報 */
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-sans);
    line-height: 1.8;
    letter-spacing: 0.1em;
    -webkit-font-smoothing: antialiased;
}

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

a:hover {
    opacity: 0.6;
}

/* ============================================
   2. Header: 邪魔しないナビゲーション
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
    z-index: 100;
    mix-blend-mode: difference; 
    color: #fff;
}

.logo {
    font-size: 1.4rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    font-family: var(--font-serif);
    margin: 0;
}

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

.site-header nav a {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 300;
    position: relative;
    font-family: var(--font-sans); /* ナビは読みやすいゴシック */
}

.site-header nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: #fff;
    transition: width 0.3s ease;
}

.site-header nav a:hover::after,
.site-header nav a.active::after {
    width: 100%;
}

/* ============================================
   3. Hero Section & Home v2
   ============================================ */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #000;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/common/top-bg.jpg'); 
    background-size: cover;
    background-position: center top; 
    filter: brightness(0.8) contrast(1.1);
    z-index: 1;
}

.hero-content-minimal {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    padding-top: 25vh; 
    animation: fadeIn 4s ease;
}

.enter-btn-minimal {
    display: inline-block;
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    font-weight: 300;
    padding: 12px 30px;
    min-width: 180px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.4); 
    background: rgba(0, 0, 0, 0.2); 
    backdrop-filter: blur(5px);
    transition: all 0.6s ease;
}

.enter-btn-minimal:hover {
    letter-spacing: 0.6em;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

/* --- Index Page News Link (New!) --- */
.hero-news-link {
    display: inline-block;
    margin-top: 40px;
    font-family: var(--font-serif);
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: #fff;
    opacity: 0.7;
    text-decoration: none;
    transition: all 0.4s ease;
    border-bottom: 1px solid transparent;
}

.hero-news-link:hover {
    opacity: 1;
    letter-spacing: 0.2em;
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   4. Works Page
   ============================================ */
.works-wrapper {
    padding-top: 120px;
    padding-left: 5%;
    padding-right: 5%;
    max-width: 1400px;
    margin: 0 auto;
    box-sizing: border-box;
    animation: fadeIn 2s ease;
}

.section-title {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--accent-color);
    margin-bottom: 40px;
    text-transform: uppercase;
    font-weight: 300;
    border-left: 1px solid var(--accent-color);
    padding-left: 15px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.project-card {
    display: block;
    position: relative;
}

.project-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 20px;
}

.project-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* ▼ 修正: モノクロ(grayscale)を解除 ▼ */
    transition: transform 0.6s ease, filter 0.6s ease;
}

.project-card:hover .project-img img {
    transform: scale(1.03);
}

.project-info { padding-left: 5px; }

.project-year {
    font-size: 0.7rem;
    color: var(--accent-color);
    display: block;
    margin-bottom: 5px;
}

.project-name {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--text-main);
    margin: 0 0 10px 0;
    font-weight: 400;
}

.project-desc {
    font-size: 0.8rem;
    color: var(--text-sub);
    line-height: 1.6;
}

.divider-long {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #333, transparent);
    margin-bottom: 80px;
}

.filter-menu {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-item {
    font-size: 0.75rem;
    color: var(--text-sub);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.filter-item.active {
    color: var(--text-main);
    text-decoration: underline;
    text-underline-offset: 5px;
}

.masonry-grid {
    column-count: 3;
    column-gap: 30px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 30px;
    transition: opacity 0.5s ease;
}

.masonry-item img {
    width: 100%;
    display: block;
    /* ▼ 修正: モノクロ(grayscale)を解除。少し暗くする設定のみ残す ▼ */
    filter: brightness(0.9);
    transition: all 0.4s ease;
    cursor: zoom-in;
}

.masonry-item:hover img {
    filter: brightness(1);
}

/* --- プロジェクトリンクの誘導テキスト --- */
.project-action {
    display: inline-block;
    margin-top: 15px;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    color: var(--text-sub);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: color 0.4s ease, transform 0.4s ease;
}

/* カード全体にホバーした時の動き */
.project-card:hover .project-action {
    color: var(--text-main);
    transform: translateX(8px);
}


/* ============================================
   5. Portfolio Main: 没入型エキシビション
   ============================================ */
body.exhibition-mode {
    background-color: #050505;
    color: #ccc;
    overflow-x: hidden;
}

.back-nav {
    position: fixed;
    top: 40px;
    left: 40px;
    z-index: 100;
    opacity: 0.6;
}

.back-nav a {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chapter {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px 5%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.chapter.visible {
    opacity: 1;
    transform: translateY(0);
}

.pair-container {
    display: block;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.pair-images-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 40px;
}

.work-img-wrapper {
    width: 49%;
}

.work-img {
    width: 100%;
    height: auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    /* ▼ 修正: モノクロ(grayscale)を解除 ▼ */
    filter: brightness(0.9);
    transition: filter 0.5s ease;
}

.text-container {
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.pair-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 0.2em;
    margin-bottom: 5px;
}

.pair-subtitle {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.pair-desc {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    line-height: 2.2;
    color: #aaa;
}

.prologue-container {
    margin-top: 15vh;
    margin-bottom: 15vh;
    text-align: center;
}

.prologue-text {
    font-family: var(--font-serif);
    font-weight: 300;
    font-size: 1.1rem;
    letter-spacing: 0.25em;
    line-height: 2.8;
    color: #fff;
    margin-bottom: 40px;
    animation: fadeInText 3s ease forwards; 
    opacity: 0;
}

.prologue-en {
    font-family: var(--font-serif);
    font-weight: 300;
    font-style: italic;
    font-size: 0.85rem;
    color: #888;
    letter-spacing: 0.1em;
    line-height: 2.0;
    animation: fadeInText 3s ease 1s forwards;
    opacity: 0;
}

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

/* ============================================
   6. Interactive: Lightbox
   ============================================ */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show { opacity: 1; }

.lightbox-content {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    animation: zoomIn 0.3s;
}

.lightbox-close {
    position: absolute;
    top: 20px; right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

/* ============================================
   7. Profile Page Styles
   ============================================ */
.profile-wrapper {
    padding-top: 150px;
    padding-bottom: 100px;
    display: flex;
    justify-content: center;
    animation: fadeIn 2s ease;
}

.profile-container {
    width: 100%;
    max-width: 800px; 
    padding: 0 20px;
    text-align: center;
}

.profile-identity-unit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-bottom: 60px;
    text-align: left;
}

.profile-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    /* ▼ 修正: プロフィール画像のモノクロ(grayscale)も解除 ▼ */
    flex-shrink: 0;
    margin: 0 !important;
}

.profile-image img { width: 100%; height: 100%; object-fit: cover; }

.artist-name {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin: 0 0 5px 0;
    line-height: 1;
    letter-spacing: 0.1em;
}

.artist-role {
    font-size: 0.8rem;
    color: var(--text-sub);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.profile-section {
    margin-bottom: 80px;
    text-align: left;
}

.sub-title {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-sub);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 30px;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    display: inline-block;
}

.statement-text {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    line-height: 2.4;
    letter-spacing: 0.15em;
    margin-bottom: 30px;
    text-align: center;
}

.statement-text-en {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 0.9rem;
    color: #888;
    line-height: 2.0;
    text-align: center;
}

.bio-text {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    line-height: 2.2;
    color: #ccc;
    text-align: justify;
}

.divider-short {
    width: 40px;
    height: 1px;
    background-color: #444;
    margin: 0 auto 80px;
}

/* --- Exhibition Styling --- */
.exhibition-statement {
    margin-bottom: 50px;
    text-align: center;
    font-family: var(--font-serif);
    font-size: 1.0rem;
    line-height: 2.6;
    letter-spacing: 0.15em;
    color: #e0e0e0;
}

.exhibition-info-box {
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.02), transparent);
}

.exhibition-title {
    font-family: var(--font-serif);
    font-size: 1.6rem;
    margin: 0 0 40px 0;
    letter-spacing: 0.15em;
    color: #fff;
    text-align: center;
}

.exhibition-details {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: #ccc;
    max-width: 600px;
    margin: 0 auto;
}

.ex-row {
    display: flex;
    margin-bottom: 25px;
    border-bottom: 1px dotted #333;
    padding-bottom: 15px;
}

.ex-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.ex-label {
    width: 100px;
    font-weight: 400;
    color: var(--text-sub);
    flex-shrink: 0;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    padding-top: 2px;
}

.ex-content {
    flex-grow: 1;
    line-height: 1.8;
}

.ex-note {
    font-size: 0.8rem;
    color: #888;
    display: block;
    margin-top: 5px;
}

.ex-address {
    display: block;
    font-size: 0.85rem;
    color: #999;
    margin-top: 5px;
}

.exhibition-links {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- Contact & SNS --- */
.contact-links {
    text-align: center;
    margin-top: 20px;
}

.contact-item {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 1.0rem;
    margin-bottom: 30px;
    border-bottom: 1px solid transparent;
}

.contact-item:hover {
    border-bottom-color: #fff;
}

.sns-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.sns-link {
    font-size: 0.75rem;
    border: 1px solid #555;
    padding: 8px 20px;
    border-radius: 30px;
    color: var(--text-sub);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: var(--font-sans);
    background: rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

.sns-link:hover {
    border-color: #fff;
    background-color: #fff;
    color: #000;
}


/* --- Exhibition DM Image Styles --- */
.exhibition-image-wrapper {
    margin-bottom: 40px; /* ステートメントとの間隔 */
    text-align: center; /* 中央寄せ */
}

.exhibition-dm-img {
    max-width: 100%; /* 親要素の幅に収める */
    height: auto;    /* アスペクト比を維持 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.5); /* 軽く影をつけて浮かせる */
    border: 1px solid rgba(255,255,255,0.1); /* 薄い枠線で引き締める */
}

/* ============================================
   8. Animations & Responsive
   ============================================ */
@keyframes fadeIn {
    0% { opacity: 0; transform: translateY(15px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
    from {transform: scale(0.9); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

@media (max-width: 1024px) { .masonry-grid { column-count: 2; } }

@media (max-width: 768px) {
    .site-header { padding: 20px; }
    .hero-bg { background-size: cover; }
    .hero-content-minimal { padding-top: 30vh; }
    .masonry-grid { column-count: 1; }
    
    .profile-identity-unit { gap: 15px; flex-direction: column; text-align: center; }
    .artist-name { font-size: 1.4rem; }
    .back-nav { top: 20px; left: 20px; }
    
    /* Portfolio Mainのスマホ対応 */
    .pair-images-wrapper {
        flex-direction: column;
        gap: 30px;
    }
    .work-img-wrapper { width: 100%; }
    .text-container { padding: 0 10px; }
    
    /* Exhibitionのスマホ対応 */
    .exhibition-info-box { padding: 30px 20px; }
    .exhibition-title { font-size: 1.3rem; text-align: left; }
    .ex-row { flex-direction: column; border-bottom: none; margin-bottom: 30px; }
    .ex-label { margin-bottom: 5px; color: var(--accent-color); }
    .exhibition-links { flex-direction: column; gap: 15px; }
    .sns-link { display: block; text-align: center; }
}

.footer-space { height: 100px; }