@charset "UTF-8";

/* ==========================================================================
   ライトモード変数の定義（視認性向上）
   ========================================================================== */
:root {
    --bg-light: #fbfbfd;         /* 高級感のある明るいオフホワイト */
    --bg-card: #ffffff;          /* カード用の純白 */
    --indigo-soft: #f0f4f8;      /* ヒーローエリア等のグラデーション用淡いブルーグレー */
    --accent-gold: #b38f1d;      /* 明るい背景でも視認しやすい深みのある濃い目のゴールド */
    --text-dark: #1d1d1f;        /* 視認性の高いメインのダークグレー（黒に近い） */
    --text-muted: #68686e;       /* サブテキスト用のミディアムグレー */
    --border-color: #e5e5ea;     /* 外枠・ボーダー用の薄いグレー */
}
html, body {
    overflow-x: hidden; /* 横方向のはみ出しを強制カット */
    width: 100%;
}
body.light-mode {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: 'Noto Serif JP', 'Playfair Display', serif;
    overflow-x: hidden;
    letter-spacing: 0.05em;
}
body.light-mode a {
    color: var(--accent-gold, #aa8643); /* 品のあるゴールド（または #1c1b1a などお好みで） */
    text-decoration: none;               /* ダサい下線を完全に消去 */
    font-weight: 500;
    transition: color 0.3s ease, border-bottom 0.3s ease; /* なめらかな変化アニメーション */
    border-bottom: 1px solid transparent; /* マウスホバー用の見えない下線 */
}
body.light-mode h1 a,
body.light-mode h2 a,
body.light-mode h3 a,
body.light-mode .entry-title a {
    color: var(--text-primary, #1c1b1a) !important;
}
body.light-mode a:hover {
    color: #ccaa66; /* 少し明るいゴールドに変化 */
    text-decoration: none;
    border-bottom: 1px solid #ccaa66; /* 繊細な細い下線がふんわり浮かび上がる */
}
body.light-mode .site-main article {
    margin-bottom: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color, #e2ded8);
}

body.light-mode .entry-meta,
body.light-mode .posted-on {
    color: var(--text-secondary, #65615c) !important;
    font-size: 0.85rem;
}

/* 汎用言語クラス初期化 */
.lang-ja {
    font-family: 'Noto Serif JP', serif;
}

/* Navigation */
.navbar {
    background-color: rgba(251, 251, 253, 0.92) !important;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
}
.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--accent-gold) !important;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
}
.nav-link {
    color: var(--text-dark) !important;
    font-size: 0.9rem;
    margin-left: 1.5rem;
    transition: color 0.3s ease;
    font-weight: 500;
}
.nav-link:hover {
    color: var(--accent-gold) !important;
}

/* ゴールドのアウトラインボタン（言語切り替え用） */
.btn-outline-gold {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    background-color: transparent;
    font-weight: 600;
    transition: all 0.2s ease;
}
.btn-outline-gold:hover {
    color: #ffffff;
    background-color: var(--accent-gold);
    border-color: var(--accent-gold);
}

/* Hero Section */
.hero-section {
    height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, var(--indigo-soft) 0%, var(--bg-light) 100%);
    border-bottom: 1px solid var(--border-color);
}
.hero-title {
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
    color: var(--text-dark);
}
.hero-subtitle {
    font-family: 'Playfair Display', serif;
    color: var(--text-muted);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}

/* Gallery Grid */
.gallery-title {
    font-size: 2rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 40px;
    color: var(--text-dark);
    font-family: 'Playfair Display', serif;
    letter-spacing: 0.1em;
}
.gallery-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background-color: var(--accent-gold);
}
.artwork-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}
.artwork-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}
.artwork-img-wrapper {
    overflow: hidden;
    position: relative;
    aspect-ratio: 4 / 3;
    background-color: #f5f5f7;
    cursor: pointer;
}
.artwork-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.artwork-card:hover .artwork-img {
    transform: scale(1.03);
}
.artwork-info {
    padding: 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
}
.artwork-name {
    font-size: 1rem;
    margin-bottom: 0;
    color: var(--text-dark);
    font-weight: 600;
}

/* Biography Section */
.bio-section {
    background-color: var(--indigo-soft);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.gold-border-left {
    border-left: 3px solid var(--accent-gold);
    padding-left: 24px;
}
.table {
    color: var(--text-dark) !important;
}

/* Footer */
footer {
    background-color: #1d1d1f;
    color: #86868b;
    font-size: 0.85rem;
    border-top: 1px solid #1d1d1f;
}

/* ==========================================================================
   Lightbox モーダル（ライトモード最適化：背景は作品に集中させるため深めの暗黒）
   ========================================================================== */
.custom-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 10, 12, 0.96);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.3s ease;
    align-items: center;
    justify-content: center;
}
.custom-lightbox.active {
    display: flex;
    opacity: 1;
}
.lightbox-content-wrapper {
    position: relative;
    max-width: 85%;
    max-height: 80%;
    text-align: center;
}
.lightbox-content-img {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.9);
    transform: scale(0.95);
    transition: transform 0.3s ease, opacity 0.2s ease;
}
.custom-lightbox.active .lightbox-content-img {
    transform: scale(1);
}
.lightbox-caption {
    margin-top: 20px;
    color: #eacb64;
    font-size: 1.2rem;
    letter-spacing: 0.1em;
}
.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f5f7fa;
    font-size: 40px;
    cursor: pointer;
    transition: color 0.2s ease;
    z-index: 10002;
}
.lightbox-close:hover {
    color: #eacb64;
}
.lightbox-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f5f7fa;
    font-size: 30px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10001;
    border-radius: 4px;
}
.lightbox-arrow:hover {
    background: rgba(212, 175, 55, 0.8);
    color: #000;
    border-color: #d4af37;
}
.prev-arrow { left: 40px; }
.next-arrow { right: 40px; }

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .lightbox-arrow { font-size: 20px; padding: 8px 14px; }
    .prev-arrow { left: 10px; }
    .next-arrow { right: 10px; }
    .lightbox-content-wrapper { max-width: 90%; }
}

/* ==========================================================================
   富嶽シリーズ セクション スタイル（背景画像追加版）
   ========================================================================== */

.fugaku-series-concept {
  position: relative; /* 擬似要素の基準点 */
  background-image: url('https://www.pablo-kenji.com/images/gallery/Fugaku-9033.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* スクロール時に背景を固定（視覚効果） */
  color: #333333;
  padding: 80px 20px;
  line-height: 1.8;
  z-index: 1;
}

.fugaku-series-concept::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(252, 252, 252, 0.58);
  z-index: -1;
}

.series-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* シリーズタイトル部分 */
.series-header {
  text-align: center;
  margin-bottom: 30px;
}

.series-title-ja {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin: 0 0 10px 0;
  color: #111111;
}

.series-title-en {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #666666; /* 背景に合わせて少しだけ濃く調整 */
  margin: 0;
}

/* 区切り線 */
.series-divider {
  border: none;
  border-top: 1px solid #bbbbbb; /* 背景に合わせて少しだけ濃く調整 */
  width: 60px;
  margin: 0 auto 50px auto;
}

/* 各言語のブロック共通 */
.concept-block {
  margin-bottom: 50px;
}

.concept-block:last-child {
  margin-bottom: 0;
}

/* サブタイトル（キャッチコピー） */
.concept-subtitle,
.concept-subtitle-en {
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 25px;
  letter-spacing: 0.05em;
  color: #111111;
}

/* 本文テキスト */
.concept-text {
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: justify;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5); /* 文字の可読性を上げるための隠し味 */
}

.concept-text:last-child {
  margin-bottom: 0;
}

/* 英語テキスト用の細かな調整 */
.concept-subtitle-en {
  font-size: 1.25rem;
  font-family: "Georgia", serif;
  font-style: italic;
  letter-spacing: 0.02em;
}

.concept-text-en {
  font-size: 0.95rem;
  color: #222222; /* 背景に合わせて少しだけ濃く調整 */
  margin-bottom: 20px;
  text-align: justify;
  font-family: "Georgia", serif;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.concept-text-en:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   レスポンシブ対応（スマホ表示時の調整）
   ========================================================================== */
@media (max-width: 768px) {
  .fugaku-series-concept {
    padding: 60px 15px;
    background-attachment: scroll; /* スマホでの背景カクつき防止 */
  }
  
  .series-title-ja {
    font-size: 1.8rem;
  }
  
  .concept-subtitle {
    font-size: 1.15rem;
  }
  
  .concept-subtitle-en {
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   Hero Area スタイル（背景画像追加版）
   ========================================================================== */

.hero-section {
  position: relative; /* 擬似要素の基準点 */
  background-image: url('https://www.pablo-kenji.com/images/gallery/0003.jpg');
  background-size: cover;      /* 領域全体をカバー */
  background-position: center;  /* 画像の中心を基準にする */
  background-repeat: no-repeat;
  background-attachment: fixed; /* スクロール時に背景を固定（パララックス効果） */
  padding: 160px 0 120px 0;    /* 上下に上品な余白を確保（サイトに合わせて調整してください） */
  z-index: 1;
}

/* 画像の上に白い半透明のフィルターをかけて「うっすら」させる */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.65); /* 最後の 0.85 で薄さを調整（1に近づくほど白く、0に近づくほど画像がハッキリします） */
  z-index: -1;
}

/* ヒーロータイトル（既存のスタイルがあれば必要に応じて統合してください） */
.hero-title {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #111111;
  margin-bottom: 15px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.6); /* 背景に馴染みつつ文字を読みやすくする隠し味 */
}

/* ヒーローサブタイトル */
.hero-subtitle {
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #666666;
}

/* ==========================================================================
   レスポンシブ対応（スマホ表示時のカクつき防止）
   ========================================================================== */
@media (max-width: 768px) {
  .hero-section {
    padding: 120px 0 80px 0;
    background-attachment: scroll; /* スマホでの背景の挙動を安定させる */
  }
}
#navbarNav.collapsing {
    transition: height 0.3s ease !important;
}
#navbarNav.collapsing.collapse {
    transition-duration: 1s;
}

