/* style.css */
/* 基本フォント設定 */
body {
    background-color: #0A0A0A;
    color: #EAEAEA;
    font-family: 'Noto Serif JP', serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
}

.site-title, .main-nav, .mobile-menu-button, .mobile-menu-panel, .section-title, .page-title, .site-footer, .vision-title {
    font-family: 'Inter', sans-serif;
}

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

/* ヘッダー */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: background-color 0.3s, backdrop-filter 0.3s;
    padding: 1.5rem 2rem;
}
.site-header.header-blur {
    background-color: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(12px);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-title {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.1em;
}
.main-nav {
    display: none;
}
@media (min-width: 768px) {
    .main-nav {
        display: flex;
        gap: 2.5rem;
    }
}
.nav-link {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #9CA3AF;
    transition: color 0.3s ease;
}
.nav-link:hover, .nav-link.active {
    color: #FFFFFF;
}

/* モバイルメニュー */
.mobile-menu-button {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    background: none;
    border: none;
    color: #EAEAEA;
    cursor: pointer;
    z-index: 100;
    position: relative;
}
@media (min-width: 768px) {
    .mobile-menu-button {
        display: none;
    }
}
.mobile-menu-panel {
    display: none;
    position: fixed;
    inset: 0;
    background-color: #0A0A0A;
    z-index: 40;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}
.mobile-menu-panel.is-open {
    display: flex;
}
.mobile-menu-panel .nav-link {
    font-size: 1.5rem;
    color: #EAEAEA;
}

/* メインコンテンツ */
.main-content {
    padding: 8rem 1.5rem 4rem;
    max-width: 1024px;
    margin: 0 auto;
}
@media (min-width: 768px) {
    .main-content {
        padding: 10rem 2rem 6rem;
    }
}
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Aboutページ */
.profile-text {
    font-size: 0.875rem;
    line-height: 2;
    text-align: justify;
}
@media (min-width: 768px) {
    .profile-text {
        font-size: 1rem;
    }
}
.profile-header {
    margin-bottom: 2.5rem;
}
.profile-name {
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
.profile-title-sub {
    font-size: 0.875rem;
    color: #9CA3AF;
    margin-bottom: 1.5rem;
}
.bio-grid {
    margin-top: 4rem;
    display: grid;
    gap: 3.5rem;
}
.section-title {
    font-weight: 600;
    color: #E5E7EB;
    margin-bottom: 1.5rem;
    letter-spacing: 0.1em;
    font-size: 0.75rem;
    border-bottom: 1px solid #333;
    padding-bottom: 0.5rem;
    display: inline-block;
}
.timeline {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.timeline-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 1.5rem;
    align-items: start;
    font-size: 0.875rem;
    line-height: 1.75;
}
.timeline-year {
    font-family: 'Inter', sans-serif;
    color: #9CA3AF;
}
.timeline-desc {
    color: #D1D5DB;
}
@media (max-width: 767px) {
    .timeline-item {
        grid-template-columns: 1fr;
        gap: 0.25rem;
    }
}

/* ページタイトル */
.page-title {
    font-size: 1rem;
    letter-spacing: 0.15em;
    margin-bottom: 3rem;
    text-align: center;
}
@media (min-width: 768px) {
    .page-title {
        text-align: left;
    }
}

/* Work一覧ページ */
.work-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
@media (min-width: 768px) {
    .work-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}
.work-item {
    display: block;
}
.work-image-container {
    overflow: hidden;
    aspect-ratio: 16 / 9; 
    background-color: #111;
    border-radius: 4px;
}
.work-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.work-item:hover img {
    transform: scale(1.05);
}
.work-caption {
    margin-top: 1.25rem;
}
.work-caption h3 {
    font-family: 'Noto Serif JP', serif;
    font-size: 1.125rem;
    font-weight: 500;
}
.work-caption p {
    font-family: 'Inter', sans-serif;
    color: #9CA3AF;
    margin-top: 0.25rem;
    font-size: 0.875rem;
}

/* Vision一覧ページ */
.vision-list {
    display: flex;
    flex-direction: column;
}
.vision-item {
    display: block;
    padding: 2.5rem 0;
    border-bottom: 1px solid #333;
    transition: color 0.3s ease;
    color: #EAEAEA;
}
.vision-item:hover {
    color: #9CA3AF;
}
.vision-title {
    font-size: 1.125rem;
    font-weight: 400;
    position: relative;
    display: inline-block;
    font-family: 'Noto Serif JP', serif;
}
@media (min-width: 768px) {
    .vision-title {
        font-size: 1.25rem;
    }
}
.vision-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: currentColor;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.vision-item:hover .vision-title::after {
    transform: scaleX(1);
}

/* 詳細ページ (Work 1カラム用) */
.work-detail-wrapper {
    max-width: 48rem; /* 約768px 大きすぎないよう制限 */
    margin: 0 auto;
}
.work-detail-header {
    text-align: center;
    margin-bottom: 2rem;
}
.work-detail-title {
    font-size: 1.5rem;
    font-weight: 600;
    font-family: 'Noto Serif JP', serif;
    margin-bottom: 0.75rem;
}
.work-detail-meta {
    font-size: 0.875rem;
    color: #9CA3AF;
    line-height: 1.6;
}
.work-detail-image-main {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 2rem;
}
.work-detail-text {
    font-size: 0.9rem;
    line-height: 2;
    color: #D1D5DB;
    text-align: justify;
    margin-bottom: 2rem;
}
.work-detail-text p {
    margin-bottom: 1rem;
}
.work-detail-images-sub {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}
@media (min-width: 640px) {
    .work-detail-images-sub {
        grid-template-columns: 1fr 1fr;
    }
}
.work-detail-images-sub img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

/* Vision 詳細ページ */
.vision-detail-wrapper {
    max-width: 48rem;
    margin: 0 auto;
}

/* 動画埋め込み用 */
.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background-color: #111;
    border-radius: 4px;
    margin-bottom: 2rem;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.back-link {
    display: inline-block;
    font-size: 0.875rem;
    color: #9CA3AF;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
    margin-top: 4rem;
}
.back-link:hover {
    color: #FFFFFF;
}

/* Newsページ */
.news-item {
    display: grid;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #1F2937;
}
@media (min-width: 768px) {
    .news-item {
        grid-template-columns: 1fr 4fr;
    }
}
.news-date {
    color: #6B7280;
    font-size: 0.875rem;
    font-family: 'Inter', sans-serif;
}
.news-text {
    font-size: 0.875rem;
}

/* フッター */
.site-footer {
    text-align: center;
    padding: 3rem 1rem;
    font-size: 0.75rem;
    color: #4B5563;
}
