/* リセット・基本 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  color: inherit;
}

a:visited {
  color: inherit;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-weight: 400;
  font-style: normal;
  color: #222;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* ナビゲーション */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background-color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #eee;
  z-index: 100;
  transition: transform 0.3s ease;
}

.nav-name {
  font-family: 'zen-kaku-gothic-new', sans-serif;
  font-style: normal;
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

nav ul a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

nav ul a:hover {
  color: #222;
}

/* ヒーロー */
#hero {
  position: relative;
  height: 100vh;
  padding: 2rem;

}

.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(6px);
  opacity: 0;
  transition: opacity 2s ease-in-out;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}

.hero-bg-img.active {
  opacity: 1;
}

#hero h1 {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  font-family: zen-kaku-gothic-antique, sans-serif;
  font-size: clamp(1.5rem, 10vw, 10rem);
  font-weight: 900;
  font-style: normal;
  letter-spacing: -0.02em;
  margin-bottom: 0.1rem;
  color: #eee;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  z-index: 1;
  white-space: nowrap;
  text-align: center;

}

#hero h1 .name-last {
  margin-right: 1rem;
}

#hero p {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: zen-kaku-gothic-antique, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: #eee;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 1);
  white-space: nowrap;
  text-align: center;
}

/* セクション共通 */
section {
  padding: 6rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: 'zen-kaku-gothic-new', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #aaa;
  margin-bottom: 3rem;
}

.section-title a {
  color: #aaa;
  text-decoration: none;
}

.section-title a:hover {
  color: #222;
}

/* 作品グリッド */
.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.works-grid-photo {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.works-section-wide {
  padding: 6rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.works-section-video {
  padding-top: 0.875rem;
}

/* カテゴリカード */
.category-card {
  text-decoration: none;
  color: #222;
  cursor: pointer;
}

.category-img-wrap {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  margin-bottom: 1rem;
}

.category-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .category-img-wrap img {
  transform: scale(1.03);
}

.category-card h3 {
  font-family: 'zen-kaku-gothic-new', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* 作品カード */
.card {
  text-decoration: none;
  color: #222;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.card .card-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: #fff;
}

.card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.card:hover {
  transform: scale(1.05);
}

.card h3 {
  font-family: 'zen-kaku-gothic-new', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.75rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover h3 {
  opacity: 1;
}

/* 映像カード */
.card-video .card-img-wrap {
  aspect-ratio: 3/2;
  width: 80%;
  margin: 0 auto;
}

/* デモリール */
.demo-reel {
  max-width: 600px;
  margin: 0 auto 4rem;
}

/* About */
.about-content {
  max-width: 600px;
  line-height: 1.9;
  color: #444;
  font-size: 0.95rem;
}

#about {
  position: relative;
  overflow: hidden;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 550px);
  padding-right: calc(50vw - 550px);
  min-height: 60vh;
  padding-top: 10rem;
  padding-bottom: 10rem;
}

#about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/photo-about5.jpg');
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(0px);

}

#about .section-title,
#about .about-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

#about .about-content p {
  color: #fff;
  font-size: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

#about .section-title {
  color: #eee;
  font-size: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}


/* Contact */
.contact-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-content p {
  font-size: 0.85rem;
  color: #888;
  letter-spacing: 0.05em;
}

.mail-link {
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  font-style: normal;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.25rem;
  transition: border-color 0.2s;
  width: fit-content;
}

.mail-link:hover {
  border-color: #222;
}

/* フッター */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.75rem;
  color: #bbb;
  letter-spacing: 0.08em;
  border-top: 1px solid #eee;
}

/* カテゴリページのヘッダー */
#page-header {
  padding: 10rem 3rem 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.page-title {
  font-family: 'zen-kaku-gothic-new', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* 作品詳細ページ共通 */
.work-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 12rem 3rem 6rem;
}

.work-breadcrumb {
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #aaa;
  margin-bottom: 0.75rem;
}

.work-breadcrumb a {
  color: #aaa;
  text-decoration: none;
}

.work-breadcrumb a:hover {
  color: #222;
}

.work-title {
  font-family: 'zen-kaku-gothic-new', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.work-section-title {
  font-family: 'zen-kaku-gothic-new', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #000000;
  margin-top: 4rem;
  margin-bottom: 2.5rem;
}

.work-year {
  font-size: 0.8rem;
  color: #aaa;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.work-desc {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.9;
  max-width: 600px;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}

/* 写真詳細 */
.photo-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.photo-images img {
  width: 100%;
  display: block;
}

/* 映像埋め込み */
.video-embed {
  width: 100%;
  aspect-ratio: 16/9;
  margin: 0 auto 2rem;
  display: block;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* 演劇詳細の情報 */
.theatre-info {
  margin-top: 3rem;
  border-top: 1px solid #eee;
  padding-top: 2rem;
}

.theatre-info-row {
  display: flex;
  gap: 2rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.theatre-info-label {
  font-size: 0.75rem;
  color: #aaa;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: 140px;
  flex-shrink: 0;
}

.theatre-info-value {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.7;
}

/* 前後ナビ */
.work-nav {
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  padding: 2rem 3rem;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  z-index: 99;
  transition: transform 0.3s ease;
}

.work-nav-hidden {
  transform: translateY(-160px);
}

.work-nav a {
  font-size: 1rem;
  color: #aaa;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.work-nav a:hover {
  color: #222;
}

/* スライダー */
.slider-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 750px;
  margin: 0 auto;
}

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.slider-track img {
  width: 100%;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.slider-prev,
.slider-next {
  background: none;
  border: none;
  font-size: 1.2rem;
  padding: 0.5rem;
  cursor: pointer;
  color: #aaa;
  transition: color 0.2s;
  flex-shrink: 0;
}

.slider-prev:hover,
.slider-next:hover {
  color: #222;
}

.slider-count {
  text-align: center;
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 0.75rem;
  letter-spacing: 0.1em;
}

/* ライトボックス */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

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

.lightbox-img {
  position: relative;
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  z-index: 201;

}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 202;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 202;
  padding: 1rem;
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-count {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: #aaa;
  letter-spacing: 0.1em;
  z-index: 202;
}

.works-grid-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.lightbox-tap-left,
.lightbox-tap-right {
  display: none;
}

.work-back {
  margin-top: 3rem;
  text-align: center;
}

.work-back a {
  font-size: 1rem;
  color: #aaa;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.work-back a:hover {
  color: #222;
}


/* スマホ対応 */
@media (max-width: 600px) {

  nav {
    padding: 1rem 1.5rem;
  }

  nav ul {
    gap: 1.5rem;
  }

  section {
    padding: 4rem 1.5rem;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  #page-header {
    padding: 7rem 1.5rem 2rem;
  }

  .page-title {
    font-size: 2rem;
  }
  
  #hero h1 {
    top: 20%;
    font-size: 4rem;
  }

  #hero h1 .name-last,
  #hero h1 .name-first {
    display: block;
  }

  .works-grid-photo {
    grid-template-columns: 1fr;
  }

  .card {
    transition: transform 0.3s ease;
  }

  .card.tapped {
    transform: scale(1.08);
  }

  .card.tapped h3 {
    opacity: 1;
  }

  .slider-wrap {
    gap: 0.25rem;
  }

  .slider-prev,
  .slider-next {
    font-size: 0.8rem;
    padding: 0.15rem;
  }

  .lightbox-prev,
  .lightbox-next {
    display: none;
  }

  .lightbox-tap-left,
  .lightbox-tap-right {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 203;
    cursor: pointer;
  }

  .lightbox-tap-left { left: 0; }
  .lightbox-tap-right { right: 0; }

  #about {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #about .about-content p {
    font-size: 0.9rem;
  }

  #about .section-title {
    font-size: 0.85rem;
  }
}

  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background-color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid #eee;
  z-index: 100;
  transition: transform 0.3s ease;
}

.nav-name {
  font-family: 'zen-kaku-gothic-new', sans-serif;
  font-style: normal;
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2.5rem;
}

nav ul a {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: #555;
  text-decoration: none;
  transition: color 0.2s;
}

nav ul a:hover {
  color: #222;
}

/* ヒーロー */
#hero {
  position: relative;
  height: 100vh;
  padding: 2rem;

}

.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 100%;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: blur(6px);
  opacity: 0;
  transition: opacity 2s ease-in-out;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 50%, rgba(0,0,0,0) 100%);
}

.hero-bg-img.active {
  opacity: 1;
}

#hero h1 {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  font-family: zen-kaku-gothic-antique, sans-serif;
  font-size: clamp(3rem,8vw,7rem);
  font-weight: 900;
  font-style: normal;
  letter-spacing: -0.02em;
  margin-bottom: 0.1rem;
  color: #eee;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  z-index: 1;
  white-space: nowrap;
  text-align: center;

}

#hero h1 .name-last {
  margin-right: 1rem;
}

#hero p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: zen-kaku-gothic-antique, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: #eee;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  white-space: nowrap;
  text-align: center;
}

/* セクション共通 */
section {
  padding: 6rem 3rem;
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-family: 'zen-kaku-gothic-new', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #aaa;
  margin-bottom: 3rem;
}

.section-title a {
  color: #aaa;
  text-decoration: none;
}

.section-title a:hover {
  color: #222;
}

/* 作品グリッド */
.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
}

.works-grid-photo {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 1.5rem;
}

.works-section-wide {
  padding: 6rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.works-section-video {
  padding-top: 0.875rem;
}

/* カテゴリカード */
.category-card {
  text-decoration: none;
  color: #222;
  cursor: pointer;
}

.category-img-wrap {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
  margin-bottom: 1rem;
}

.category-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover .category-img-wrap img {
  transform: scale(1.03);
}

.category-card h3 {
  font-family: 'zen-kaku-gothic-new', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

/* 作品カード */
.card {
  text-decoration: none;
  color: #222;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.card .card-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: #fff;
}

.card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.card:hover {
  transform: scale(1.05);
}

.card h3 {
  font-family: 'zen-kaku-gothic-new', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.75rem;
  text-align: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.card:hover h3 {
  opacity: 1;
}

/* 映像カード */
.card-video .card-img-wrap {
  aspect-ratio: 3/2;
  width: 80%;
  margin: 0 auto;
}

/* デモリール */
.demo-reel {
  max-width: 600px;
  margin: 0 auto 4rem;
}

/* About */
.about-content {
  max-width: 600px;
  line-height: 1.9;
  color: #444;
  font-size: 0.95rem;
}

#about {
  position: relative;
  overflow: hidden;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 550px);
  padding-right: calc(50vw - 550px);
  min-height: 60vh;
  padding-top: 10rem;
  padding-bottom: 10rem;
}

#about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('images/photo-about5.jpg');
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(0px);

}

#about .section-title,
#about .about-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

#about .about-content p {
  color: #fff;
  font-size: 1rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

#about .section-title {
  color: #eee;
  font-size: 1.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}


/* Contact */
.contact-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-content p {
  font-size: 0.85rem;
  color: #888;
  letter-spacing: 0.05em;
}

.mail-link {
  font-family: "zen-kaku-gothic-antique", sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  font-style: normal;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #ddd;
  padding-bottom: 0.25rem;
  transition: border-color 0.2s;
  width: fit-content;
}

.mail-link:hover {
  border-color: #222;
}

/* フッター */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.75rem;
  color: #bbb;
  letter-spacing: 0.08em;
  border-top: 1px solid #eee;
}

/* カテゴリページのヘッダー */
#page-header {
  padding: 10rem 3rem 1rem;
  max-width: 1400px;
  margin: 0 auto;
}

.page-title {
  font-family: 'zen-kaku-gothic-new', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* 作品詳細ページ共通 */
.work-detail {
  max-width: 900px;
  margin: 0 auto;
  padding: 12rem 3rem 6rem;
}

.work-breadcrumb {
  font-size: 1rem;
  letter-spacing: 0.1em;
  color: #aaa;
  margin-bottom: 0.75rem;
}

.work-breadcrumb a {
  color: #aaa;
  text-decoration: none;
}

.work-breadcrumb a:hover {
  color: #222;
}

.work-title {
  font-family: 'zen-kaku-gothic-new', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.work-section-title {
  font-family: 'zen-kaku-gothic-new', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: #000000;
  margin-top: 4rem;
  margin-bottom: 2.5rem;
}

.work-year {
  font-size: 0.8rem;
  color: #aaa;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
  margin-bottom: 2rem;
}

.work-desc {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.9;
  max-width: 600px;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}

/* 写真詳細 */
.photo-images {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.photo-images img {
  width: 100%;
  display: block;
}

/* 映像埋め込み */
.video-embed {
  width: 100%;
  aspect-ratio: 16/9;
  margin: 0 auto 2rem;
  display: block;
}

.video-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* 演劇詳細の情報 */
.theatre-info {
  margin-top: 3rem;
  border-top: 1px solid #eee;
  padding-top: 2rem;
}

.theatre-info-row {
  display: flex;
  gap: 2rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #eee;
}

.theatre-info-label {
  font-size: 0.75rem;
  color: #aaa;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: 140px;
  flex-shrink: 0;
}

.theatre-info-value {
  font-size: 0.85rem;
  color: #444;
  line-height: 1.7;
}

/* 前後ナビ */
.work-nav {
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  padding: 2rem 3rem;
  background-color: #ffffff;
  border-bottom: 1px solid #eee;
  z-index: 99;
  transition: transform 0.3s ease;
}

.work-nav-hidden {
  transform: translateY(-160px);
}

.work-nav a {
  font-size: 1rem;
  color: #aaa;
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.work-nav a:hover {
  color: #222;
}

/* スライダー */
.slider-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 750px;
  margin: 0 auto;
}

.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.slider-track img {
  width: 100%;
  flex-shrink: 0;
  display: block;
  object-fit: contain;
}

.slider-prev,
.slider-next {
  background: none;
  border: none;
  font-size: 1.2rem;
  padding: 0.5rem;
  cursor: pointer;
  color: #aaa;
  transition: color 0.2s;
  flex-shrink: 0;
}

.slider-prev:hover,
.slider-next:hover {
  color: #222;
}

.slider-count {
  text-align: center;
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 0.75rem;
  letter-spacing: 0.1em;
}

/* ライトボックス */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 200;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

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

.lightbox-img {
  position: relative;
  max-width: 90%;
  max-height: 85vh;
  object-fit: contain;
  z-index: 201;

}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 202;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 202;
  padding: 1rem;
}

.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

.lightbox-count {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: #aaa;
  letter-spacing: 0.1em;
  z-index: 202;
}

.works-grid-products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.lightbox-tap-left,
.lightbox-tap-right {
  display: none;
}

/* スマホ対応 */
@media (max-width: 600px) {

  nav {
    padding: 1rem 1.5rem;
  }

  nav ul {
    gap: 1.5rem;
  }

  section {
    padding: 4rem 1.5rem;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  #page-header {
    padding: 7rem 1.5rem 2rem;
  }

  .page-title {
    font-size: 2rem;
  }

  #hero h1 {
    top: 20%;
    font-size: 4rem;
  }

  #hero h1 .name-last,
  #hero h1 .name-first {
    display: block;
  }

  .works-grid-photo {
    grid-template-columns: 1fr;
  }

  .card {
    transition: transform 0.3s ease;
  }

  .card.tapped {
    transform: scale(1.08);
  }

  .card.tapped h3 {
    opacity: 1;
  }

  .slider-wrap {
    gap: 0.25rem;
  }

  .slider-prev,
  .slider-next {
    font-size: 0.8rem;
    padding: 0.15rem;
  }

  .lightbox-prev,
  .lightbox-next {
    display: none;
  }

  .lightbox-tap-left,
  .lightbox-tap-right {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    z-index: 203;
    cursor: pointer;
  }

  .lightbox-tap-left { left: 0; }
  .lightbox-tap-right { right: 0; }

  #about {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  #about .about-content p {
    font-size: 0.9rem;
  }

  #about .section-title {
    font-size: 0.85rem;
  }
}

