@charset "utf-8";

/* ==========================================================================
   Base Styles & Typography
   ========================================================================== */
:root {
  --bg-color: #08080a;
  --text-color: #f0f0f0;
  --text-muted: #a0a0a0;
  --crimson-border: #a81c1c;
  --crimson-bright: #e53935;
  --crimson-text: #c62828;
  --font-main: 'Inter', 'Noto Sans JP', sans-serif;
  --font-custom: 'Playfair Display', 'Noto Serif JP', serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--text-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--crimson-bright);
  text-decoration: none;
}

.no-padding {
  padding: 0;
}

/* ==========================================================================
   Lightweight Page Transition Animation
   ========================================================================== */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  background-color: #050507;
  z-index: 9999;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-entered .page-transition-overlay {
  opacity: 0;
}

body.is-leaving .page-transition-overlay {
  opacity: 1;
  transition-duration: 0.24s;
}

.page-content-fade {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

body.is-entered .page-content-fade {
  opacity: 1;
  transform: translateY(0);
}

body.is-leaving .page-content-fade {
  opacity: 0;
  transform: translateY(-6px);
  transition-duration: 0.22s;
}

@media (prefers-reduced-motion: reduce) {
  .page-transition-overlay,
  .page-content-fade {
    transition: none !important;
    transform: none !important;
  }
}

/* ==========================================================================
   Base Reset & Self-Contained Layout (No Bootstrap Dependency)
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  vertical-align: middle;
}

button {
  font-family: inherit;
}

.container-fluid {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fixed-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

.navbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

.navbar-brand {
  display: inline-block;
  padding: 4px 0;
  margin-right: 20px;
  line-height: 1.4;
  white-space: nowrap;
}

.navbar-toggler {
  display: none;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 24px;
  height: 18px;
  position: relative;
  background:
    linear-gradient(#fff, #fff) 0 0 / 100% 2px no-repeat,
    linear-gradient(#fff, #fff) 0 50% / 100% 2px no-repeat,
    linear-gradient(#fff, #fff) 0 100% / 100% 2px no-repeat;
}

.navbar-collapse {
  display: flex;
  flex-basis: auto;
  flex-grow: 1;
  align-items: center;
}

.navbar-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-nav .nav-link {
  display: block;
  padding: 8px 6px;
}

@media (max-width: 991px) {
  .navbar-toggler {
    display: inline-flex;
  }
  .navbar-collapse {
    display: none;
    flex-basis: 100%;
    flex-grow: 1;
  }
  .navbar-collapse.show {
    display: block;
  }
  .navbar-nav {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Navigation
   ========================================================================== */
.glass-nav {
  background: rgba(8, 8, 10, 0.88) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(168, 28, 28, 0.35);
}

.navbar-brand {
  font-family: var(--font-custom);
  font-size: 1.15rem;
  font-weight: 300;
  color: #fff !important;
  letter-spacing: 2.5px;
}

.navbar-nav .nav-link {
  color: #fff !important;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 10px;
  position: relative;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--crimson-bright);
  transition: width 0.3s ease;
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .nav-link:hover {
  color: var(--crimson-bright) !important;
}

.navbar-nav .nav-shop-link .fa-external-link {
  font-size: 0.75rem;
  margin-left: 4px;
  opacity: 0.85;
}

.navbar-toggler {
  border: none;
  padding: 6px 8px;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

@media (max-width: 991px) {
  .navbar-collapse {
    padding: 10px 0 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 8px;
  }
  .navbar-nav .nav-link {
    margin: 2px 0;
    padding: 10px 6px;
  }
  .navbar-nav .nav-link::after {
    display: none;
  }
}

/* ==========================================================================
   Hero Section (index.html)
   ========================================================================== */
.header-image-container {
  position: relative;
  text-align: center;
  width: 100%;
  height: 100vh;
  height: 100svh;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
}

.responsive-gif {
  pointer-events: none;
  position: fixed;
  top: 56px;
  left: 0;
  width: 100vw;
  height: calc(100vh - 56px);
  object-fit: contain;
  z-index: -2;
}

.catch {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  max-width: calc(100vw - 32px);
  min-height: 240px;
  padding: 40px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* 「超人画像工房」用：二重の幾何学八芒星フレーム（深紅×白細線の緩やかな逆回転） */
.catch-emblem {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 248px;
  height: 248px;
  transform: translate(-50%, -50%);
  z-index: -1;
  pointer-events: none;
}

.catch-emblem::before,
.catch-emblem::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(8, 8, 10, 0.42);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.catch-emblem::before {
  border: 1px solid rgba(168, 28, 28, 0.85);
  box-shadow: 0 0 24px rgba(168, 28, 28, 0.25);
  animation: spinEmblemCCW 28s linear infinite;
}

.catch-emblem::after {
  inset: 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 8, 10, 0.32);
  animation: spinEmblemCW 42s linear infinite;
}

@keyframes spinEmblemCCW {
  from { transform: rotate(0deg); }
  to { transform: rotate(-360deg); }
}

@keyframes spinEmblemCW {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}

.catch h1 {
  font-family: var(--font-custom);
  font-size: 2.85rem;
  font-weight: 300;
  margin: 0;
  color: #f4f4f2;
  letter-spacing: 0.22em;
  padding-left: 0.22em;
  white-space: nowrap;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.85);
}

.catch p {
  font-family: var(--font-custom);
  font-size: 0.85rem;
  margin: 14px 0 0;
  padding-top: 10px;
  border-top: 1px solid rgba(168, 28, 28, 0.75);
  color: rgba(240, 240, 238, 0.82);
  letter-spacing: 0.32em;
  padding-left: 0.32em;
  white-space: nowrap;
}

@media (max-width: 767px) {
  .catch {
    width: calc(100vw - 28px);
    min-height: 200px;
    padding: 28px 16px;
  }
  .catch-emblem {
    width: 196px;
    height: 196px;
  }
  .catch h1 {
    font-size: 1.85rem;
    letter-spacing: 0.16em;
    padding-left: 0.16em;
  }
  .catch p {
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    padding-left: 0.22em;
    margin-top: 10px;
    padding-top: 8px;
  }
}

/* ==========================================================================
   Profile Section (ダークギャラリー・黒×深紅枠スタイル)
   ========================================================================== */
.profile-section {
  padding: 50px 24px 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.profile-card {
  width: 100%;
  max-width: 980px;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  align-items: center;
  padding: 44px;
  background-color: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--crimson-border);
  box-shadow: 0 14px 44px rgba(0, 0, 0, 0.78);
}

.profile-card-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.profile-photo-link {
  display: block;
  width: 100%;
}

.zigazo-container {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: 0 auto 14px;
  padding: 4px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.72);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.profile-photo-link:hover .zigazo-container {
  border-color: var(--crimson-bright);
  box-shadow: 0 0 16px rgba(168, 28, 28, 0.4);
}

.zigazo-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.zigazo {
  position: relative;
  z-index: 1;
}

.zigazo-container:hover .zigazo {
  opacity: 1;
  transform: none;
}

.profile-photo-caption {
  font-size: 0.85rem;
  color: #c8c8d0;
  text-align: center;
  margin: 0;
  line-height: 1.6;
}

.profile-photo-caption span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.profile-card-info {
  text-align: left;
  min-width: 0;
}

.profile-kicker {
  font-family: var(--font-custom);
  font-size: 0.76rem;
  letter-spacing: 3px;
  color: var(--crimson-bright);
  margin-bottom: 14px;
}

.profile-identity {
  display: flex;
  align-items: center;
  gap: 18px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(168, 28, 28, 0.55);
}

.profile-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.45);
  flex: 0 0 72px;
}

.profile-name {
  font-family: var(--font-custom);
  font-size: 2.2rem;
  font-weight: 300;
  letter-spacing: 4px;
  margin: 0;
  color: #fff;
  line-height: 1.2;
}

.profile-role {
  font-family: var(--font-custom);
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin: 4px 0 0;
}

.profile-desc {
  font-size: 0.98rem;
  color: #d6d6dc;
  line-height: 1.9;
  margin: 0 0 12px;
}

.profile-concept-link-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  margin: 0 0 24px;
}

.profile-concept-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-custom);
  font-size: 0.88rem;
  letter-spacing: 1px;
  color: #e06666;
  border-bottom: 1px solid rgba(168, 28, 28, 0.75);
  padding-bottom: 2px;
  transition: color 0.22s ease, border-color 0.22s ease, gap 0.22s ease;
}

.profile-concept-link:hover {
  color: #fff;
  border-color: var(--crimson-bright);
  gap: 10px;
}

.profile-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.profile-base-banner {
  padding: 14px 18px;
  gap: 16px;
}

.profile-base-banner .base-banner-badge {
  flex: 0 0 56px;
  height: 56px;
  font-size: 0.92rem;
}

.profile-base-banner .base-banner-title {
  font-size: 1.02rem;
}

.profile-base-banner .base-banner-sub {
  font-size: 0.8rem;
}

.profile-sns-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.profile-sns-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  padding: 8px 16px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #dcdce2;
  font-family: var(--font-custom);
  font-size: 0.82rem;
  letter-spacing: 1px;
  transition: border-color 0.22s ease, color 0.22s ease, background-color 0.22s ease;
}

.profile-sns-link:hover {
  border-color: #fff;
  background-color: rgba(255, 255, 255, 0.07);
  color: #fff;
}

@media (max-width: 820px) {
  .profile-section {
    padding: 30px 14px 48px;
  }
  .profile-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 28px 20px;
  }
  .zigazo-container {
    max-width: 220px;
  }
  .profile-card-info {
    text-align: left;
  }
  .profile-name {
    font-size: 1.85rem;
  }
  .profile-sns-link {
    flex: 1 1 auto;
    padding: 8px 12px;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   Artwork Page Header & 3×3 Scrollable Gallery Window
   ========================================================================== */
.page-section {
  text-align: center;
  padding: 100px 5% 26px;
  position: relative;
  z-index: 1;
}

.page-section h1 {
  font-family: var(--font-custom);
  font-weight: 400;
  font-size: 3rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.page-section p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto;
}

/* 3×3 均等グリッド（全小窓を完全な同サイズ・同ラインに固定） */
.header-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

.header-grid .grid-item {
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.75);
  cursor: pointer;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.header-grid .grid-item:hover,
.header-grid .grid-item.is-active {
  border-color: #fff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
}

.header-grid .grid-item img {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.header-grid .grid-item:hover img {
  transform: scale(1.05);
}

.header-grid .grid-item .caption {
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0) 100%);
  color: #f0f0f0;
  padding: 20px 8px 8px;
  text-align: center;
  font-size: 0.9rem;
  font-family: var(--font-custom);
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.header-grid .grid-item:hover .caption {
  opacity: 1;
}

/* 小窓の右上隅・控えめな販売中タグ（絵の主題や下部タイトルの邪魔にならない配置） */
.header-grid .grid-item .sale-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 7px;
  background-color: rgba(8, 8, 10, 0.84);
  border: 1px solid rgba(168, 28, 28, 0.85);
  color: var(--crimson-bright);
  font-family: var(--font-custom);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
  white-space: nowrap;
  z-index: 3;
  pointer-events: none;
}

/* ==========================================================================
   Artwork Preview Section
   ========================================================================== */
.introduction-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 5% 44px;
  position: relative;
  z-index: 1;
}

.artwork-items-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

@keyframes artworkReveal {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.introduction-section .item {
  width: 100%;
  max-width: 1120px;
  height: 74vh;
  max-height: 760px;
  min-height: 480px;
  position: relative;
  overflow: hidden;
  background: #0a0a0c;
  border: 1px solid var(--crimson-border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.75);
  display: none;
  flex-direction: row;
  align-items: stretch;
}

.introduction-section .item.active {
  display: flex;
  animation: artworkReveal 0.28s ease;
}

.introduction-section .preview-image {
  flex: 1 1 60%;
  background-color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-right: 1px solid rgba(168, 28, 28, 0.45);
}

.introduction-section .preview-image img,
.introduction-section .preview-image .preview-local-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.introduction-section .preview-image.is-video {
  padding: 0;
  background: #000;
}

.preview-video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 100%;
  background: #000;
}

.preview-video-wrap.is-shorts {
  width: auto;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 9 / 16;
}

.preview-video-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.introduction-section .preview-text {
  flex: 1 1 40%;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow-y: auto;
}

.preview-sale-status {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  margin-bottom: 14px;
  background-color: rgba(168, 28, 28, 0.14);
  border: 1px solid var(--crimson-border);
  color: var(--crimson-bright);
  font-family: var(--font-custom);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
}

.preview-sale-status.is-soldout {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.35);
  color: #a8a8b2;
  letter-spacing: 2.2px;
}

.introduction-section .preview-text .item-counter {
  font-family: var(--font-custom);
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--crimson-text);
  margin-bottom: 10px;
}

.introduction-section .preview-text .caption {
  font-size: 1.45rem;
  color: var(--text-color);
  margin-bottom: 16px;
  font-family: var(--font-custom);
  border-bottom: 1px solid rgba(168, 28, 28, 0.55);
  padding-bottom: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  white-space: pre-line;
}

.artwork-meta {
  margin: 0 0 18px;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.artwork-meta-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 0.9rem;
}

.artwork-meta-row dt {
  flex: 0 0 58px;
  font-family: var(--font-custom);
  font-size: 0.82rem;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0;
}

.artwork-meta-row dd {
  flex: 1;
  margin: 0;
  color: #e8e8ec;
  word-break: break-word;
}

.introduction-section .preview-text .desc {
  font-size: 0.98rem;
  color: #d0d0d5;
  line-height: 1.8;
  white-space: pre-line;
}

.base-item-cta {
  margin-top: 24px;
}

.base-item-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 18px;
  background-color: #000;
  border: 1px solid var(--crimson-border);
  color: var(--crimson-bright);
  font-family: var(--font-custom);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.base-item-btn:hover {
  background-color: rgba(168, 28, 28, 0.2);
  border-color: var(--crimson-bright);
  box-shadow: 0 0 14px rgba(168, 28, 28, 0.45);
  color: #fff;
}

.base-item-badge {
  display: inline-block;
  padding: 2px 7px;
  border: 1px solid var(--crimson-border);
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  color: var(--crimson-bright);
}

/* プレビュー直下のミニアイコンバー */
.viewer-thumb-strip {
  width: 100%;
  max-width: 1120px;
  margin: 22px auto 0;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.viewer-thumb-btn {
  width: 56px;
  height: 56px;
  padding: 2px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  opacity: 0.35;
  overflow: hidden;
  flex: 0 0 auto;
  transition: opacity 0.22s ease, border-color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.viewer-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.viewer-thumb-btn:hover {
  opacity: 1;
  border-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.25);
}

.viewer-thumb-btn.is-active {
  width: 64px;
  height: 64px;
  opacity: 1;
  border-color: var(--crimson-bright);
  box-shadow: 0 0 12px rgba(229, 57, 53, 0.5);
}

.viewer-thumb-btn:focus {
  outline: none;
}

/* 左右矢印ナビゲーション */
.introduction-section .nav-arrow {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  background-color: rgba(0, 0, 0, 0.8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 50;
  border: 1px solid var(--crimson-border);
  padding: 0;
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.introduction-section .nav-arrow i {
  pointer-events: none;
}

.introduction-section .nav-arrow:focus {
  outline: none;
}

.introduction-section .nav-arrow:hover {
  background-color: rgba(168, 28, 28, 0.35);
  border-color: var(--crimson-bright);
  transform: translateY(-50%) scale(1.06);
}

.introduction-section .prev-arrow { left: 2%; }
.introduction-section .next-arrow { right: 2%; }

/* ==========================================================================
   BASE EC Banner (Artworkページ下部)
   ========================================================================== */
.base-banner-wrap {
  width: 100%;
  max-width: 900px;
  margin: 10px auto 80px;
  padding: 0 5%;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.base-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  padding: 18px 22px;
  background-color: rgba(0, 0, 0, 0.92);
  border: 1px solid var(--crimson-border);
  color: var(--crimson-text);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.base-banner:hover {
  background-color: rgba(168, 28, 28, 0.14);
  border-color: var(--crimson-bright);
  box-shadow: 0 0 18px rgba(168, 28, 28, 0.35);
  color: var(--crimson-bright);
}

.base-banner-badge {
  flex: 0 0 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--crimson-border);
  background-color: #000;
  font-family: var(--font-custom);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--crimson-text);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.base-banner:hover .base-banner-badge {
  border-color: var(--crimson-bright);
  color: var(--crimson-bright);
}

.base-banner-text {
  text-align: left;
  flex: 1;
  min-width: 0;
}

.base-banner-title {
  font-family: var(--font-custom);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--crimson-bright);
  margin-bottom: 4px;
}

.base-banner-sub {
  font-family: var(--font-custom);
  font-size: 0.85rem;
  color: #b54545;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   Responsive Adjustments (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 768px) {
  .page-section {
    padding: 84px 16px 20px;
  }
  .page-section h1 {
    font-size: 2.2rem;
    margin-bottom: 8px;
  }
  .page-section p {
    font-size: 0.9rem;
  }

.header-grid {
    gap: 8px;
  }
  .header-grid .grid-item img {
    inset: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
  }
  .header-grid .grid-item .caption {
    font-size: 0.72rem;
    padding: 14px 4px 5px;
    bottom: 3px;
    left: 3px;
    right: 3px;
  }
  .header-grid .grid-item .sale-badge {
    top: 5px;
    right: 5px;
    padding: 1px 5px;
    font-size: 0.58rem;
  }

  .introduction-section {
    padding: 20px 14px 36px;
  }
  .introduction-section .item {
    flex-direction: column;
    height: auto;
    max-height: none;
    min-height: auto;
  }
  .introduction-section .preview-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    max-height: 58vh;
    min-height: 240px;
    border-right: none;
    border-bottom: 1px solid rgba(168, 28, 28, 0.45);
  }
  .introduction-section .preview-image.is-video {
    aspect-ratio: 16 / 9;
    min-height: 200px;
  }
  .introduction-section .preview-image.is-video.is-shorts {
    aspect-ratio: 9 / 16;
    max-height: 64vh;
  }
  .introduction-section .preview-text {
    width: 100%;
    padding: 20px 18px 24px;
  }
  .introduction-section .preview-text .caption {
    font-size: 1.25rem;
    margin-bottom: 12px;
    padding-bottom: 10px;
  }
  .artwork-meta-row {
    font-size: 0.86rem;
  }
  .introduction-section .preview-text .desc {
    font-size: 0.92rem;
    line-height: 1.75;
  }
  .base-item-btn {
    width: 100%;
    padding: 12px 16px;
  }

  .viewer-thumb-strip {
    margin-top: 18px;
    gap: 8px;
  }
  .viewer-thumb-btn {
    width: 46px;
    height: 46px;
  }
  .viewer-thumb-btn.is-active {
    width: 54px;
    height: 54px;
  }

  .introduction-section .nav-arrow {
    top: calc(76px + min(42vw, 26vh));
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
    background-color: rgba(0, 0, 0, 0.72);
  }
  .introduction-section .prev-arrow { left: 18px; }
  .introduction-section .next-arrow { right: 18px; }
}

@media (max-width: 576px) {
  .base-banner-wrap {
    margin: 10px auto 56px;
    padding: 0 14px;
  }
  .base-banner {
    padding: 14px;
    gap: 12px;
  }
  .base-banner-badge {
    flex: 0 0 50px;
    height: 50px;
    font-size: 0.85rem;
  }
  .base-banner-title {
    font-size: 0.98rem;
  }
  .base-banner-sub {
    font-size: 0.76rem;
  }
}

/* ==========================================================================
   Concept Page (Concept.html)
   ========================================================================== */
.concept-container {
  width: 100%;
  max-width: 900px;
  margin: 16px auto 90px;
  padding: 0 24px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.concept-statement {
  background-color: rgba(10, 10, 12, 0.94);
  border: 1px solid var(--crimson-border);
  padding: 46px 44px 38px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
  margin-bottom: 36px;
}

.concept-label {
  font-family: var(--font-custom);
  font-size: 0.78rem;
  letter-spacing: 3px;
  color: var(--crimson-bright);
  margin-bottom: 14px;
}

.concept-heading {
  font-family: var(--font-custom);
  font-size: 1.65rem;
  font-weight: 400;
  color: #fff;
  letter-spacing: 1.5px;
  line-height: 1.55;
  padding-bottom: 18px;
  margin: 0 0 24px;
  border-bottom: 1px solid rgba(168, 28, 28, 0.55);
}

.concept-body p {
  font-size: 0.98rem;
  color: #d6d6dc;
  line-height: 2;
  margin: 0 0 18px;
  white-space: pre-line;
}

.concept-body p:last-child {
  margin-bottom: 0;
}

.concept-sign {
  margin-top: 28px;
  text-align: right;
  font-family: var(--font-custom);
  font-size: 0.95rem;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.concept-pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}

.concept-pillar-card {
  background-color: #0b0b0e;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 26px 22px;
}

.pillar-num {
  font-family: var(--font-custom);
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--crimson-bright);
  margin-bottom: 10px;
}

.concept-pillar-card h3 {
  font-family: var(--font-custom);
  font-size: 1.12rem;
  color: #fff;
  margin: 0 0 4px;
  letter-spacing: 0.8px;
}

.pillar-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin: 0 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pillar-desc {
  font-size: 0.88rem;
  color: #c8c8d0;
  line-height: 1.8;
  margin: 0;
  white-space: pre-line;
}

.concept-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.concept-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 220px;
  padding: 13px 26px;
  background-color: #000;
  border: 1px solid rgba(255, 255, 255, 0.55);
  color: #f0f0f0;
  font-family: var(--font-custom);
  font-size: 0.95rem;
  letter-spacing: 1.2px;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.concept-action-btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
}

.concept-action-btn.is-crimson {
  border-color: var(--crimson-border);
  color: var(--crimson-bright);
}

.concept-action-btn.is-crimson:hover {
  background-color: rgba(168, 28, 28, 0.2);
  border-color: var(--crimson-bright);
  box-shadow: 0 0 16px rgba(168, 28, 28, 0.4);
  color: #fff;
}

@media (max-width: 768px) {
  .concept-container {
    padding: 0 14px;
    margin: 10px auto 64px;
  }
  .concept-statement {
    padding: 28px 20px 24px;
    margin-bottom: 24px;
  }
  .concept-heading {
    font-size: 1.3rem;
    margin-bottom: 18px;
    padding-bottom: 14px;
  }
  .concept-body p {
    font-size: 0.92rem;
    line-height: 1.9;
  }
  .concept-pillars {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 28px;
  }
  .concept-action-btn {
    width: 100%;
  }
}

/* ==========================================================================
   Split Pages: Gallery List & Artwork Detail Page
   ========================================================================== */
.gallery-list-wrap {
  width: 100%;
  max-width: 920px;
  margin: 18px auto 60px;
  padding: 0 24px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
}

.detail-page-main {
  padding-top: 94px;
  padding-bottom: 48px;
}

.detail-page-main .nav-arrow {
  top: 46%;
}

.back-to-list-btn {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 26px;
  background-color: #000;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #e8e8ec;
  font-family: var(--font-custom);
  font-size: 0.88rem;
  letter-spacing: 1.5px;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.back-to-list-btn:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .gallery-list-wrap {
    padding: 0 12px;
    margin: 12px auto 44px;
  }
  .detail-page-main {
    padding-top: 76px;
    padding-bottom: 36px;
  }
  .detail-page-main .nav-arrow {
    top: 30vh;
  }
  .back-to-list-btn {
    width: 100%;
    max-width: 320px;
    padding: 11px 20px;
  }
}

/* ==========================================================================
   Home Step-Carousel Artwork Showcase (プロフィール下の自動遷移小窓)
   ========================================================================== */
.home-gallery-section {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto 90px;
  padding: 28px 24px 34px;
  box-sizing: border-box;
  background-color: rgba(8, 8, 10, 0.88);
  border-top: 1px solid rgba(168, 28, 28, 0.55);
  border-bottom: 1px solid rgba(168, 28, 28, 0.55);
  position: relative;
  z-index: 1;
}

.home-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 20px;
}

.home-gallery-kicker {
  display: block;
  font-family: var(--font-custom);
  font-size: 0.72rem;
  letter-spacing: 3px;
  color: var(--crimson-bright);
  margin-bottom: 4px;
}

.home-gallery-header h2 {
  font-family: var(--font-custom);
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: 2px;
  margin: 0;
  color: #fff;
}

.home-gallery-all-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: #000;
  color: #e8e8ec;
  font-family: var(--font-custom);
  font-size: 0.78rem;
  letter-spacing: 2px;
  transition: border-color 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.home-gallery-all-link:hover {
  border-color: var(--crimson-bright);
  background-color: rgba(168, 28, 28, 0.18);
  color: #fff;
}

.home-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.home-carousel-viewport {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  padding: 4px 0;
}

.home-carousel-track {
  display: flex;
  gap: 14px;
  will-change: transform;
}

.home-carousel-card {
  position: relative;
  display: block;
  flex: 0 0 calc((100% - 42px) / 4);
  aspect-ratio: 1 / 1;
  box-sizing: border-box;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.72);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.home-carousel-card:hover {
  border-color: var(--crimson-bright);
  box-shadow: 0 0 14px rgba(168, 28, 28, 0.45);
}

.home-carousel-card img {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.home-carousel-card:hover img {
  transform: scale(1.05);
}

.home-carousel-card .caption {
  position: absolute;
  bottom: 4px;
  left: 4px;
  right: 4px;
  padding: 18px 8px 6px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.92) 0%, rgba(0, 0, 0, 0) 100%);
  color: #f0f0f0;
  font-family: var(--font-custom);
  font-size: 0.84rem;
  letter-spacing: 1px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.home-carousel-card:hover .caption {
  opacity: 1;
}

.home-carousel-card .sale-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  padding: 2px 7px;
  background-color: rgba(8, 8, 10, 0.84);
  border: 1px solid rgba(168, 28, 28, 0.85);
  color: var(--crimson-bright);
  font-family: var(--font-custom);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.3;
  z-index: 3;
  pointer-events: none;
}

.home-carousel-btn {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  background-color: rgba(0, 0, 0, 0.82);
  color: #fff;
  border: 1px solid var(--crimson-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.22s ease, border-color 0.22s ease;
}

.home-carousel-btn:hover {
  background-color: rgba(168, 28, 28, 0.32);
  border-color: var(--crimson-bright);
}

.home-carousel-btn:focus {
  outline: none;
}

@media (max-width: 900px) {
  .home-carousel-card {
    flex: 0 0 calc((100% - 28px) / 3);
  }
}

@media (max-width: 768px) {
  .home-gallery-section {
    margin: 0 auto 60px;
    padding: 22px 12px 26px;
  }
  .home-gallery-header h2 {
    font-size: 1.35rem;
  }
  .home-carousel-wrap {
    gap: 8px;
  }
  .home-carousel-track {
    gap: 10px;
  }
  .home-carousel-card {
    flex: 0 0 calc((100% - 10px) / 2);
  }
  .home-carousel-card img {
    inset: 3px;
    width: calc(100% - 6px);
    height: calc(100% - 6px);
  }
  .home-carousel-card .sale-badge {
    top: 5px;
    right: 5px;
    padding: 1px 5px;
    font-size: 0.58rem;
  }
  .home-carousel-btn {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   Empty Gallery State (Digital.html 等)
   ========================================================================== */
.empty-gallery-msg {
  text-align: center;
  padding: 64px 20px;
  color: var(--text-muted);
  font-family: var(--font-custom);
  font-size: 0.95rem;
  letter-spacing: 2px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(10, 10, 12, 0.7);
}

/* デジタル作品への控えめなサブ導線 */
.home-digital-sublink-wrap {
  margin-top: 26px;
}

.home-digital-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 20px;
  background-color: #0b0b0e;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #cfd0d8;
  transition: border-color 0.22s ease, background-color 0.22s ease, color 0.22s ease;
}

.home-digital-sublink:hover {
  border-color: rgba(255, 255, 255, 0.55);
  background-color: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.home-digital-sublink-label {
  font-family: var(--font-custom);
  font-size: 0.78rem;
  letter-spacing: 2.2px;
  color: #9e9ea8;
  white-space: nowrap;
}

.home-digital-sublink-desc {
  flex: 1;
  font-size: 0.86rem;
  color: #b8b8c4;
}

.home-digital-sublink-arrow {
  font-family: var(--font-custom);
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  color: #e0e0e8;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .home-digital-sublink {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 14px 16px;
  }
}

/* キーボードフォーカス視認性 */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--crimson-bright);
  outline-offset: 2px;
}

/* detail.html タイトルの h1 マージン調整 */
.introduction-section .preview-text h1.caption {
  margin-top: 0;
}

/* 作品拡大ライトボックス */
.introduction-section .preview-image.is-zoomable {
  position: relative;
  cursor: zoom-in;
}

.preview-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  pointer-events: none;
  opacity: 0.72;
  transition: opacity 0.2s ease, border-color 0.2s ease;
}

.introduction-section .preview-image.is-zoomable:hover .preview-zoom-hint {
  opacity: 1;
  border-color: #ffffff;
}

.artwork-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(4, 4, 6, 0.96);
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.artwork-lightbox[hidden] {
  display: none;
}

.artwork-lightbox.is-open {
  opacity: 1;
}

.lightbox-toolbar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: linear-gradient(to bottom, rgba(4, 4, 6, 0.9), rgba(4, 4, 6, 0));
}

.lightbox-tool-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  background: rgba(0, 0, 0, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #f0f0f2;
  font-family: var(--font-custom);
  font-size: 1.05rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.lightbox-tool-btn.is-level {
  min-width: 62px;
  font-size: 0.8rem;
  letter-spacing: 0.8px;
}

.lightbox-tool-btn.is-close {
  margin-left: 6px;
  font-size: 1.5rem;
}

.lightbox-tool-btn:hover {
  border-color: var(--crimson-bright);
  background: rgba(168, 28, 28, 0.28);
  color: #fff;
}

.lightbox-stage {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px 18px;
  cursor: zoom-out;
  touch-action: none;
}

.lightbox-img {
  max-width: 92vw;
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.9);
  background: #000;
  cursor: zoom-in;
  user-select: none;
  -webkit-user-select: none;
  will-change: transform;
}

.lightbox-stage.is-zoomed .lightbox-img {
  cursor: grab;
}

.lightbox-stage.is-zoomed.is-dragging .lightbox-img {
  cursor: grabbing;
}

.lightbox-bottom {
  position: relative;
  z-index: 2;
  padding: 10px 18px 18px;
  text-align: center;
  background: linear-gradient(to top, rgba(4, 4, 6, 0.92), rgba(4, 4, 6, 0));
}

.lightbox-caption {
  margin: 0;
  font-family: var(--font-custom);
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  color: #e4e4ec;
}

.lightbox-hint {
  margin: 4px 0 0;
  font-size: 0.74rem;
  letter-spacing: 0.6px;
  color: #8b8b96;
}

/* 全ページ共通フッター */
.site-footer {
  margin-top: 40px;
  padding: 32px 20px 42px;
  background-color: #050507;
  border-top: 1px solid rgba(168, 28, 28, 0.45);
  text-align: center;
}

.site-footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.site-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.site-footer-name {
  font-family: var(--font-custom);
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: 3px;
  color: #f0f0f2;
}

.site-footer-sub {
  font-family: var(--font-custom);
  font-size: 0.72rem;
  letter-spacing: 2.5px;
  color: #8b8b96;
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.site-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-custom);
  font-size: 0.8rem;
  letter-spacing: 1.2px;
  color: #b4b4c0;
  transition: color 0.2s ease;
}

.site-footer-links a:hover {
  color: #fff;
}

.site-footer-copy {
  margin: 4px 0 0;
  font-size: 0.74rem;
  letter-spacing: 1px;
  color: #6d6d78;
}

/* プロフィール内の控えめな展示歴 */
.profile-exhibition {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 16px;
  padding: 8px 12px;
  background-color: rgba(255, 255, 255, 0.025);
  border-left: 2px solid var(--crimson-border);
  font-size: 0.84rem;
}

.profile-exhibition-label {
  font-family: var(--font-custom);
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--crimson-bright);
  white-space: nowrap;
}

.profile-exhibition-item {
  color: #dcdce4;
  letter-spacing: 0.4px;
}

/* テキスト選択色と作品画像の誤ドラッグ抑止 */
::selection {
  background-color: rgba(168, 28, 28, 0.58);
  color: #ffffff;
}

.header-grid .grid-item img,
.introduction-section .preview-image img,
.home-carousel-card img,
.lightbox-img {
  -webkit-user-drag: none;
  user-select: none;
  -webkit-user-select: none;
}

/* ナビバーの現在地ハイライト */
.navbar-nav .nav-item.active .nav-link {
  color: var(--crimson-bright) !important;
}

.navbar-nav .nav-item.active .nav-link::after {
  width: 100%;
}

/* JavaScript無効環境向けの案内 */
.noscript-banner {
  margin: 72px auto 0;
  max-width: 820px;
  padding: 12px 18px;
  background: rgba(168, 28, 28, 0.2);
  border: 1px solid var(--crimson-border);
  color: #f0f0f2;
  font-size: 0.86rem;
  text-align: center;
}

/* 作品詳細ページ下部アクション（戻る＋URLコピー） */
.detail-bottom-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.detail-bottom-actions .back-to-list-btn {
  margin-top: 0;
}

.copy-url-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  background-color: #000;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #cfcfd8;
  font-family: var(--font-custom);
  font-size: 0.84rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: border-color 0.22s ease, color 0.22s ease, background-color 0.22s ease;
}

.copy-url-btn:hover {
  border-color: #ffffff;
  background-color: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.copy-url-btn.is-copied {
  border-color: var(--crimson-bright);
  background-color: rgba(168, 28, 28, 0.22);
  color: #fff;
}

/* 404 エラーページ */
.error-404-section {
  min-height: calc(100vh - 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 110px 20px 60px;
}

.error-404-card {
  max-width: 560px;
  width: 100%;
  padding: 44px 32px;
  background-color: #0b0b0e;
  border: 1px solid var(--crimson-border);
  text-align: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.75);
}

.error-404-code {
  font-family: var(--font-custom);
  font-size: 4.2rem;
  font-weight: 300;
  letter-spacing: 8px;
  color: var(--crimson-bright);
  line-height: 1.1;
  margin-bottom: 14px;
}

.error-404-card h1 {
  font-family: var(--font-custom);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 2px;
  margin: 0 0 12px;
  color: #fff;
}

.error-404-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 0 28px;
}

.error-404-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

/* プロフィール内のコンパクトなショップボタン・連絡先表記 */
.profile-sns-link.is-shop {
  border-color: var(--crimson-border);
  color: #f0b6b6;
}

.profile-sns-link.is-shop:hover {
  border-color: var(--crimson-bright);
  background-color: rgba(168, 28, 28, 0.22);
  color: #fff;
}

.profile-contact-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
  padding-top: 4px;
  font-size: 0.82rem;
}

.profile-contact-label {
  font-family: var(--font-custom);
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: #8b8b96;
}

.profile-contact-email {
  color: #cfcfd8;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.profile-contact-email:hover {
  color: #fff;
  border-bottom-color: var(--crimson-bright);
}

/* 展示歴リンク */
.profile-exhibition-link {
  color: #e4e4ec;
  letter-spacing: 0.4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  padding-bottom: 1px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.profile-exhibition-link .fa-external-link {
  font-size: 0.72rem;
  margin-left: 4px;
  opacity: 0.75;
}

.profile-exhibition-link:hover {
  color: #fff;
  border-bottom-color: var(--crimson-bright);
}

/* モバイル細部調整（576px以下） */
@media (max-width: 576px) {
  .concept-action-btn {
    width: 100%;
    min-width: 0;
  }
  .detail-bottom-actions {
    width: 100%;
    flex-direction: column;
  }
  .detail-bottom-actions .back-to-list-btn,
  .detail-bottom-actions .copy-url-btn {
    width: 100%;
    max-width: 320px;
  }
  .site-footer-links {
    gap: 12px 16px;
  }
  .error-404-card {
    padding: 32px 20px;
  }
  .error-404-code {
    font-size: 3.4rem;
  }
}
