/* --- 基本設定 --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    background-color: #000;
    color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- 1. 背景動画エリア --- */
.video-container {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

/* ヘッダー・ナビゲーション */
header {
    position: absolute;
    top: 0;
    width: 100%;
    padding: 30px 0;
    z-index: 10;
}

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

.header-logo img {
    height: 40px;
    width: auto;
    display: block;
    transition: 0.3s;
}

.header-logo:hover img {
    opacity: 0.7;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 0.15em;
    position: relative;
    padding-bottom: 8px;
    transition: 0.3s;
    white-space: nowrap;
}

nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background: #ff3300;
    transition: 0.3s;
}

nav ul li a:hover {
    color: #ff3300;
}

nav ul li a:hover::after {
    width: 100%;
}

/* ヒーローコンテンツ */
.hero-content {
    text-align: center;
    z-index: 1;
    margin-top: -30px;
}

h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
    margin-bottom: 15px;
    letter-spacing: 0.1em;
}

.sub-text {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 50px;
    opacity: 0.8;
}

/* ボタン */
.button-area {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-details,
.btn-request {
    display: inline-block;
    padding: 16px 45px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    border: 2px solid #fff;
}

.btn-details {
    background: transparent;
    color: #fff;
}

.btn-details:hover {
    background: #fff;
    color: #000;
    transform: translateY(-5px);
}

.btn-request {
    background: #fff;
    color: #000;
}

.btn-request:hover {
    background: #ff3300;
    border-color: #ff3300;
    color: #fff;
    transform: translateY(-5px);
}

/* スクロールガイド */
.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 10px;
    opacity: 0.7;
}

.mouse-line {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    margin-top: 10px;
}

.mouse-line::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    animation: scroll-line 2s infinite;
}

@keyframes scroll-line {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* --- 2. カメラマンセクション --- */
.about-section {
    padding: 120px 20px;
    background-color: #0a0a0a;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 70px;
    letter-spacing: 0.2em;
}

.profile-flex {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
}

.profile-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 4px;
    filter: grayscale(40%);
    transition: 0.5s;
}

.profile-image img:hover {
    filter: grayscale(0%);
}

.gallery-label {
    margin-bottom: 20px;
    border-left: 2px solid #ff3300;
    padding-left: 15px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.gallery-item img {
    width: 100%;
    aspect-ratio: 3/2;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: 0.5s;
}

.gallery-item img:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* スクロールアニメーション用 */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1.2s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 拡大ポップアップ */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 90%;
    max-height: 85%;
    border-radius: 4px;
    transform: scale(0.7);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.modal.show .modal-content {
    transform: scale(1);
}

/* --- スマホ用調整 --- */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
        padding: 0 20px;
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav ul li a {
        font-size: 12px;
    }

    .profile-flex {
        flex-direction: column;
        text-align: center;
    }

    .button-area {
        flex-direction: column;
        align-items: center;
    }
}