@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@300;400;600&family=Shippori+Mincho:wght@400;500;700&family=Zen+Kaku+Gothic+New:wght@300;400;500&display=swap');

:root {
    --font-ja-mincho: "Shippori Mincho", serif;
    --font-ja-gothic: "Zen Kaku Gothic New", sans-serif;
    --font-en: "Cormorant Garamond", serif;
    --color-text: #1a1a1a;
    --color-gray: #999999;
    --color-bg: #fdfcfb;
    --color-accent: #bfa37c;
    --color-border: rgba(0, 0, 0, 0.07);
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: var(--font-ja-gothic);
    color: var(--color-text);
    background-color: var(--color-bg);
    margin: 0;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.04em;
    font-weight: 400;
}

a { text-decoration: none; color: inherit; transition: opacity 0.5s var(--ease-out-expo); }
a:hover { opacity: 0.55; }
img, video { max-width: 100%; height: auto; display: block; }
ul { list-style: none; padding: 0; margin: 0; }

/* Page Transition */
.page-transition {
    position: fixed;
    inset: 0;
    background: var(--color-bg);
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s var(--ease-out-expo);
}
.page-transition.is-leaving { opacity: 1; pointer-events: all; }

/* Header */
.site-header {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 76px; z-index: 999;
    background: rgba(253, 252, 251, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 48px;
    border-bottom: 1px solid var(--color-border);
}
.logo img { height: 38px; width: auto; }

/* Hero */
.hero-wrapper {
    position: relative; width: 100%; height: 100vh; overflow: hidden; background: #0a0a0a;
}
.hero-video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center 25%; opacity: 0.6; transform: scale(1.03);
}
.hero-wrapper::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0) 60%, rgba(0,0,0,0.4) 100%);
    z-index: 1;
}
.hero-content {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    text-align: center; color: #fff; z-index: 2; width: 90%;
}
.hero-title {
    font-family: var(--font-en);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 300;
    text-transform: uppercase;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: 0.12em;
}
.hero-subtitle {
    font-family: var(--font-ja-mincho);
    font-size: 1rem;
    letter-spacing: 0.3em;
    font-weight: 400;
    opacity: 0.85;
}

/* Scroll Indicator */
.scroll-down {
    position: absolute; bottom: 48px; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 14px;
    color: rgba(255,255,255,0.6);
    font-family: var(--font-en); font-size: 0.65rem; letter-spacing: 0.35em; text-transform: uppercase;
    z-index: 3;
}
.scroll-down::after {
    content: ""; width: 1px; height: 56px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: scrollLine 2.2s ease-in-out infinite;
    transform-origin: top;
}
@keyframes scrollLine {
    0%   { transform: scaleY(0); opacity: 0; }
    20%  { opacity: 1; }
    100% { transform: scaleY(1); opacity: 0; }
}

/* Main Content */
.main-content { padding: 120px 48px; max-width: 1440px; margin: 0 auto; }

.section-title {
    text-align: center;
    font-family: var(--font-en);
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: 0;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}
.section-title::after {
    content: ""; display: block; width: 32px; height: 1px;
    background: var(--color-accent); margin: 22px auto 80px; opacity: 0.8;
}

.interview-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 72px 48px; }

/* Card */
.card {
    display: block; position: relative;
    opacity: 0; transform: translateY(32px);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.card.is-visible { opacity: 1; transform: translateY(0); }
.card:hover { opacity: 1; }
.card:hover .media-frame {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.11);
}

/* ゴールドのアンダーライン */
.card::after {
    content: ""; position: absolute; bottom: 0; left: 0;
    width: 100%; height: 1px; background: var(--color-accent);
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
}
.card:hover::after { transform: scaleX(1); }

/* Media Frame */
.media-frame {
    position: relative; aspect-ratio: 16 / 9; background: #111; overflow: hidden;
    border-radius: 3px; margin-bottom: 24px;
    transition: transform 0.6s var(--ease-out-expo), box-shadow 0.6s var(--ease-out-expo);
}
.media-frame img, .media-frame video {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover;
}
.media-frame img {
    z-index: 2; opacity: 1;
    transition: opacity 0.5s ease;
}
.media-frame video { z-index: 1; opacity: 1; }
.card.is-playing .media-frame img { opacity: 0; }

/* VIEW バッジ */
.media-frame::after {
    content: "VIEW →";
    position: absolute; bottom: 14px; right: 14px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-family: var(--font-en);
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.18em;
    padding: 6px 12px;
    border-radius: 2px;
    pointer-events: none;
    z-index: 4;
    transition: background 0.3s ease;
}
.card:hover .media-frame::after {
    background: rgba(191, 163, 124, 0.88);
}

/* Card Text */
.text-area { padding: 0 4px 28px; }
.text-company { font-size: 0.7rem; color: var(--color-gray); letter-spacing: 0.12em; margin-bottom: 12px; font-weight: 400; }
.text-catch { font-family: var(--font-ja-mincho); font-size: 1.2rem; line-height: 1.65; margin-bottom: 18px; font-weight: 600; letter-spacing: 0.03em; }
.text-name { font-family: var(--font-ja-mincho); font-size: 0.9rem; text-align: right; border-top: 1px solid var(--color-border); padding-top: 14px; color: #666; font-weight: 400; letter-spacing: 0.06em; }

/* Detail Page */
.detail-hero {
    padding: 160px 20px 90px; text-align: center; max-width: 820px; margin: 0 auto;
    opacity: 0; transform: translateY(32px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.detail-hero.is-visible { opacity: 1; transform: translateY(0); }
.detail-title {
    font-family: var(--font-ja-mincho);
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    line-height: 1.5; margin-bottom: 28px; font-weight: 700; letter-spacing: 0.05em;
}
.detail-title + .detail-name::before {
    content: ""; display: block; width: 24px; height: 1px;
    background: var(--color-accent); margin: 0 auto 20px;
}
.detail-name { font-size: 0.85rem; font-weight: 500; letter-spacing: 0.12em; color: var(--color-gray); }

/* --- Company Profile --- */
.company-profile {
    background: #fcfcfc;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    padding: 32px 40px;
    margin-bottom: 72px; /* Q&Aとの間隔 */
}
.profile-title {
    font-family: var(--font-en);
    font-size: 0.9rem;
    color: var(--color-accent);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}
.profile-title::before {
    content: ""; width: 32px; height: 1px; background: var(--color-accent);
}
.profile-text {
    font-size: 0.85rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
    letter-spacing: 0.06em;
}
.profile-text strong {
    color: var(--color-text);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Movie */
.movie-container {
    max-width: 960px; margin: 0 auto 100px;
    opacity: 0; transform: translateY(32px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.movie-container.is-visible { opacity: 1; transform: translateY(0); }

.movie-section-label {
    max-width: 960px; margin: 0 auto 32px;
    display: flex; align-items: center; gap: 20px;
}
.movie-section-label .label-en {
    font-family: var(--font-en); font-size: 1.5rem; font-weight: 300;
    letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-text);
}
.movie-section-label .label-ja {
    font-family: var(--font-ja-gothic); font-size: 0.75rem;
    color: var(--color-gray); letter-spacing: 0.1em;
}
.movie-section-label::before {
    content: ""; width: 32px; height: 1px; background: var(--color-accent); flex-shrink: 0;
}
.movie-wrap {
    position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden;
    border-radius: 4px; box-shadow: 0 32px 64px rgba(0,0,0,0.1);
}
.movie-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Interview Body */
.interview-body { max-width: 760px; margin: 0 auto 120px; padding: 0 20px; }
.qa-block {
    margin-bottom: 72px;
    opacity: 0; transform: translateY(32px);
    transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo);
}
.qa-block.is-visible { opacity: 1; transform: translateY(0); }

.qa-q {
    font-family: var(--font-ja-mincho); font-size: 1.2rem; color: var(--color-accent);
    margin-bottom: 24px; font-weight: 700;
    display: flex; align-items: center; gap: 16px; letter-spacing: 0.04em;
}
.qa-q::before {
    content: ""; flex-shrink: 0; width: 3px; height: 1.3em;
    background: var(--color-accent); border-radius: 2px;
}
.qa-a { font-size: 1rem; line-height: 2.4; text-align: justify; color: #444; padding-left: 19px; }

/* CTA */
.cta-area {
    border: 1px solid var(--color-border);
    padding: 80px 20px; text-align: center; margin-top: 100px;
    border-radius: 4px; background: transparent;
    opacity: 0; transform: translateY(32px);
    transition: opacity 1s var(--ease-out-expo), transform 1s var(--ease-out-expo);
}
.cta-area.is-visible { opacity: 1; transform: translateY(0); }

.btn {
    display: inline-block; border: 1px solid #1a1a1a; padding: 16px 64px;
    background: transparent; position: relative; overflow: hidden;
    font-family: var(--font-ja-gothic); font-size: 0.95rem; font-weight: 500;
    letter-spacing: 0.12em;
    transition: color 0.4s var(--ease-out-expo);
}
.btn::after {
    content: ""; position: absolute; inset: 0;
    background: #1a1a1a; transform: translateX(-101%);
    transition: transform 0.45s var(--ease-out-expo); z-index: -1;
}
.btn:hover { color: #fff; opacity: 1; }
.btn:hover::after { transform: translateX(0); }

/* Back Button */
.back-btn {
    display: flex; align-items: center; justify-content: center; gap: 12px;
    margin: 72px 0;
    font-family: var(--font-en); font-size: 0.9rem; font-weight: 400;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-gray);
    transition: color 0.4s ease, gap 0.4s var(--ease-out-expo), opacity 0.4s ease;
}
.back-btn::before {
    content: ""; width: 32px; height: 1px; background: currentColor;
    transition: width 0.4s var(--ease-out-expo);
}
.back-btn:hover { color: var(--color-text); opacity: 1; gap: 18px; }
.back-btn:hover::before { width: 48px; }

/* Footer */
.site-footer { background: #111; color: #555; text-align: center; padding: 48px; font-family: var(--font-en); font-size: 0.75rem; letter-spacing: 0.15em; }

/* Page Top */
.page-top-btn {
    position: fixed; right: 36px; bottom: -80px;
    width: 48px; height: 48px; background: transparent;
    border: 1px solid rgba(0,0,0,0.18); border-radius: 50%;
    cursor: pointer; z-index: 999; opacity: 0; visibility: hidden;
    transition: all 0.5s var(--ease-out-expo);
    display: flex; align-items: center; justify-content: center;
}
.page-top-btn.is-show { bottom: 36px; opacity: 1; visibility: visible; }
.page-top-btn:hover { background: var(--color-accent); border-color: var(--color-accent); transform: translateY(-4px); }
.page-top-btn::before {
    content: ""; width: 9px; height: 9px;
    border-top: 1.5px solid #333; border-left: 1.5px solid #333;
    transform: translateY(2px) rotate(45deg);
    transition: border-color 0.3s ease;
}
.page-top-btn:hover::before { border-color: #fff; }

/* Responsive */
@media screen and (max-width: 1024px) {
    .interview-grid { grid-template-columns: repeat(2, 1fr); gap: 60px 36px; }
}

@media screen and (max-width: 768px) {
    .site-header { padding: 0 20px; height: 60px; }

    .hero-wrapper {
        height: 70vh;
        min-height: 400px;
    }

    /* Hero: スマホでは横長映像をそのまま表示（黒帯あり） */
    .hero-video {
        object-fit: contain;
        object-position: center center;
        transform: none;
        opacity: 0.85;
    }
    .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); letter-spacing: 0.06em; }
    .hero-subtitle { font-size: 0.85rem; letter-spacing: 0.2em; }
    .scroll-down { bottom: 32px; }

    .main-content { padding: 32px 20px; }
    .section-title { font-size: 1.8rem; }
    .section-title::after { margin-bottom: 24px; }

    .interview-grid { grid-template-columns: 1fr; gap: 48px; }

    .media-frame::after {
        font-size: 0.65rem;
        padding: 5px 10px;
    }

    .detail-hero { padding: 110px 20px 60px; }
    .detail-title { font-size: clamp(1.4rem, 5vw, 1.8rem); }

    /* --- Company Profile（スマホ用調整） --- */
    .company-profile { padding: 24px 20px; margin-bottom: 56px; }
    .profile-text { font-size: 0.8rem; line-height: 1.7; }

    .interview-body { padding: 0 4px; margin-bottom: 80px; }
    .qa-a { padding-left: 0; line-height: 2.2; }
    .qa-q { font-size: 1.1rem; }

    .movie-container { margin-bottom: 60px; padding: 0 4px; }
    .movie-section-label { padding: 0 4px; }

    .cta-area { padding: 56px 20px; margin-top: 64px; }
    .btn { padding: 14px 40px; font-size: 0.9rem; }

    .back-btn { margin: 56px 0; }

    .page-top-btn { right: 16px; width: 44px; height: 44px; }
    .page-top-btn.is-show { bottom: 16px; }
}