/* styles/style.css の先頭か、body セレクタが定義されている箇所 */
body {
    font-family: 'Playfair Display', serif;
}

/* ===============================
   Google Fonts: Global Font Imports
   =============================== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Shadows+Into+Light&display=swap');

/* 既存のCSSはこの下に続けてください */

/* ▼ トップ画像用スタイル ▼ */
.js-Img {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.js-Img__inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ▼ ハンバーガーメニュー用スタイル ▼ */
.js-Hamburger {
    display: none;
}

.js-Hamburger.is-open {
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 999;
    overflow-y: auto;
    transition: all 0.3s ease;
}

.js-Hamburger__logo.is-open {
    display: block;
}

.js-Hamburger__button.is-open .js-Hamburger__buttonLine:nth-child(1) {
    transform: rotate(45deg) translateY(6px);
}

.js-Hamburger__button.is-open .js-Hamburger__buttonLine:nth-child(2) {
    opacity: 0;
}

.js-Hamburger__button.is-open .js-Hamburger__buttonLine:nth-child(3) {
    transform: rotate(-45deg) translateY(-6px);
}

/* ▼▼▼ Gallery Layout for Photography & Film ▼▼▼ */
.Gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 10px;
    padding: 2rem;
    margin: 0 auto;
}

.Gallery__grid img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.Gallery__grid img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.Gallery__grid a {
    text-align: center;
    display: block;
}

.Gallery__grid p {
    font-size: 1rem;
    color: #333;
    margin-top: 0.5rem;
}

/* ======================= レスポンシブデザイン ======================= */
@media (max-width: 768px) {
    .Gallery__grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        padding: 1rem;
    }

    .Gallery__grid p {
        font-size: 0.9rem;
    }
}

@media (max-width: 1024px) {
    .Gallery__grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

/* -------------------- Biography 見た目調整 -------------------- */
body {
    font-family: 'Playfair Display', serif;
    line-height: 1.6;
    margin: 0;
    padding: 2rem;
    background-color: #f9f9f9;
    color: #333;
}

.bio-title {
    font-family: 'Big Shoulders Inline', sans-serif;
    font-size: 3em;
    font-weight: 700;
    text-align: center;
    color: #333;
    margin-top: 50px;
}

.bio-section {
    margin-bottom: 4rem;
}

.series-links {
    margin-top: 1rem;
}

.series-links a {
    display: inline-block;
    margin-right: 1rem;
    text-decoration: none;
    color: #0066cc;
}

.series-links a:hover {
    text-decoration: underline;
}

.exhibition-list {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.exhibition-list ul {
    padding-left: 1.2rem;
}

.biography-container {
    max-width: 850px;
    margin: 3rem auto;
    padding: 2rem;
    background-color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.03);
    border-radius: 8px;
    line-height: 1.8;
}

/* 名前と写真を横並びに */
.bio-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.bio-header h2 {
    font-size: 2rem;
    margin: 0;
    color: #111;
    text-align: center;
}

.profile-photo {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    margin-bottom: 1rem;
}

/* strongタグを目立たせる */
p strong {
    background-color: #fff3cd;
    padding: 0.1em 0.3em;
    border-radius: 4px;
    font-weight: 600;
    color: #222;
}

/* モバイル用調整 */
@media (max-width: 768px) {
    .bio-header {
        flex-direction: column;
        align-items: center;
    }

    .bio-header h2 {
        margin-top: 1rem;
    }

    .profile-photo {
        width: 120px;
        height: 120px;
    }

    .biography-container {
        padding: 1.5rem;
        margin: 2rem 1rem;
    }
}

/* ========================
   ▼ グローバルナビゲーション 横並び化 ▼
   ======================== */
.Header__navList {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.Header__navItem {
    position: relative;
    margin: 0 15px;
}

.Header__navMainLink {
    text-decoration: none;
    color: #111;
    font-weight: bold;
    padding: 10px;
    display: inline-block;
}

/* ▼ ドロップダウンメニューのスタイル ▼ */
.Header__navDrop {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 180px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
}

.Header__navItem:hover .Header__navDrop {
    display: block;
}

.Header__navDropItem {
    padding: 10px 20px;
}

.Header__navDropItem a {
    color: #333;
    text-decoration: none;
    display: block;
}

.Header__navDropItem a:hover {
    background-color: #f0f0f0;
}

/* ▼ TOPページ専用画像の位置調整 ▼ */
.top-main-image {
    object-fit: cover;
    object-position: center center;
    width: 100%;
    height: 80vh;
    display: block;
}

@media screen and (max-width: 768px) {
    .top-main-image {
        height: 60vh;
    }
}

/* ▼▼▼ モーダル ▼▼▼ */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 60px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 80vh;
}

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

.close:hover {
    color: #bbb;
}

/* ▼ ロゴタイトルとサブキャッチ ▼ */
.logo-title {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #111;
    margin-left: 1rem;
}

.logo-sub {
    font-family: 'Shadows Into Light', cursive;
    font-size: 1.1rem;
    color: #666;
    margin-left: 1.2rem;
}

/* ▼ モバイル時のナビゲーション調整 ▼ */
@media screen and (max-width: 768px) {
    .Header__navList {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding: 1rem 0;
    }

    .Header__navItem {
        width: 100%;
        text-align: center;
    }

    .Header__navMainLink {
        font-size: 1.1rem;
        display: block;
        padding: 0.5rem 0;
    }

    .Header__nav {
        overflow-x: auto;
        white-space: nowrap;
        max-width: 100vw;
    }

    .js-Hamburger {
        display: block;
    }

    .js-Hamburger__inner {
        width: 100% !important;
        padding: 1rem;
    }

    .js-Hamburger__scroller {
        padding: 1rem;
    }
}