@charset "UTF-8";
/* =========================================
   GRAPHIC DESIGN ページ専用スタイル
   （共通部分は style.css）
========================================= */

/* ----- Page Hero ----- */
.page-hero {
  display: grid;
  grid-template-columns: minmax(360px, 46%) 1fr;
  min-height: min(86vh, 680px);
  background: var(--c-bg);
  overflow: hidden;
}
.page-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px var(--gutter) 48px;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 36px;
  padding: 0;
  list-style: none;
  font-family: var(--f-en);
  font-size: 10px;
  letter-spacing: .12em;
  color: var(--c-gray);
}
.breadcrumb li + li::before { content: "/"; margin-right: 10px; }
.breadcrumb a:hover { color: var(--c-black); }

.page-hero__num {
  font-family: var(--f-en);
  font-size: 13px;
  letter-spacing: .2em;
  padding-bottom: 10px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--c-black);
  width: 40px;
}
.page-hero__title {
  font-family: var(--f-en);
  font-weight: 300;
  font-size: clamp(44px, 5.6vw, 80px);
  line-height: 1.02;
  letter-spacing: .04em;
  color: var(--c-black);
}
.page-hero__ja {
  margin-top: 14px;
  font-family: var(--f-mincho);
  font-size: 14px;
  letter-spacing: .3em;
}
.page-hero__lead {
  margin-top: 30px;
  font-family: var(--f-mincho);
  font-size: 13px;
  line-height: 2.1;
}
.page-hero__stats {
  display: flex;
  gap: 40px;
  margin: 32px 0 0;
}
.page-hero__stats dt { font-size: 10px; color: var(--c-gray); }
.page-hero__stats dd {
  margin: 0;
  font-family: var(--f-en);
  font-weight: 300;
  font-size: 34px;
  line-height: 1.2;
  color: var(--c-black);
}

.page-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  margin: 64px 0 0 -120px;
  padding: 48px 40px 48px 160px;
  background: #1c1c1c;
  clip-path: polygon(24% 0, 100% 0, 100% 100%, 0 100%);
}
.page-hero__visual img {
  width: auto;
  max-height: 520px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .5);
  transform: rotate(-3deg);
}

/* ヒーロー：モノクロの作業風景写真（下層ページ共通） */
.page-hero__visual--photo {
  padding: 0;
  background: #1c1c1c;
}
.page-hero__visual--photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  transform: none;
  box-shadow: none;
  filter: grayscale(100%) contrast(1.15) brightness(.85);
}

/* コントラストをさらに強めたモノクロ */
.page-hero__visual--photo img.page-hero__photo--strong {
  filter: grayscale(100%) contrast(1.4) brightness(.8);
}

/* ----- Pickup (case) ----- */
.case {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid var(--c-line);
}
.case:last-child { border-bottom: none; }
.case--reverse .case__imgs { order: 2; }

.case__imgs {
  display: grid;
  gap: 12px;
}
.case__imgs img { width: 100%; box-shadow: 0 10px 24px rgba(0, 0, 0, .12); }
.case__imgs--pair { grid-template-columns: 1fr 1fr; align-items: start; }
.case__imgs--four { grid-template-columns: 1fr 1fr; align-items: start; max-width: 560px; }
.case__imgs--kool { grid-template-columns: 1fr 1fr; align-items: start; }
.case__imgs--kool img:nth-child(3) { grid-column: 1 / -1; }

.case__cat {
  font-family: var(--f-en);
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--c-gray);
}
.case__title {
  margin-top: 10px;
  font-family: var(--f-mincho);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.6;
  letter-spacing: .1em;
  color: var(--c-black);
}
.case__text {
  margin-top: 18px;
  font-size: 13px;
  line-height: 2;
  max-width: 34em;
}
.case__meta { margin: 22px 0 0; border-top: 1px solid var(--c-line); }
.case__meta div {
  display: grid;
  grid-template-columns: 5em 1fr;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-line);
  font-size: 12px;
}
.case__meta dt { color: var(--c-gray); }
.case__meta dd { margin: 0; }

/* ----- Gallery ----- */
.gallery { background: var(--c-bg); }
.filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.filter__btn {
  padding: 8px 16px;
  border: 1px solid var(--c-black);
  background: transparent;
  color: var(--c-black);
  font-size: 12px;
  letter-spacing: .08em;
  transition: background .2s, color .2s;
}
.filter__btn:hover { background: rgba(0, 0, 0, .06); }
.filter__btn.is-active { background: var(--c-black); color: var(--c-white); }
.gallery__count {
  margin: 18px 0 20px;
  font-family: var(--f-en);
  font-size: 12px;
  color: var(--c-gray);
}
.gallery__count span { font-size: 20px; color: var(--c-black); margin-right: 2px; }

.gallery__grid {
  columns: 4 220px;
  column-gap: 14px;
}
.gallery__item {
  break-inside: avoid;
  margin-bottom: 14px;
}
.gallery__item[hidden] { display: none; }
.gallery__btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: #e4e4e2;
  text-align: left;
  overflow: hidden;
}
.gallery__btn img { width: 100%; transition: transform .5s ease; }
.gallery__caption {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 28px 12px 10px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
  color: var(--c-white);
  opacity: 0;
  transition: opacity .3s;
}
.gallery__cat { font-size: 9px; letter-spacing: .1em; opacity: .8; }
.gallery__title { font-size: 12px; line-height: 1.5; }
.gallery__btn:hover img,
.gallery__btn:focus-visible img { transform: scale(1.03); }
.gallery__btn:hover .gallery__caption,
.gallery__btn:focus-visible .gallery__caption { opacity: 1; }

/* ----- Scope ----- */
.scope {
  padding-block: clamp(56px, 7vw, 88px);
  background: #1c1c1c;
  color: var(--c-white);
}
.scope__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(32px, 5vw, 72px);
}
.scope__title {
  font-family: var(--f-mincho);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: .15em;
}
.scope__lead {
  margin-top: 18px;
  font-size: 13px;
  line-height: 2;
  opacity: .85;
}
.scope__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(255, 255, 255, .25);
  border-left: 1px solid rgba(255, 255, 255, .25);
}
.scope__list li {
  padding: 22px 20px;
  border-right: 1px solid rgba(255, 255, 255, .25);
  border-bottom: 1px solid rgba(255, 255, 255, .25);
}
.scope__list h3 {
  margin: 0;
  font-family: var(--f-mincho);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: .1em;
}
.scope__list p { margin-top: 6px; font-size: 11px; opacity: .75; }

/* ----- Other works ----- */
.other__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.other__list a { display: block; }
.other__list img {
  width: 100%;
  aspect-ratio: 232 / 150;
  object-fit: cover;
  transition: opacity .3s;
}
.other__list a:hover img { opacity: .8; }
.other__cat {
  display: flex;
  align-items: center;
  margin-top: 12px;
  font-family: var(--f-en);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--c-black);
}

/* ----- Lightbox ----- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: 64px 1fr 64px;
  align-items: center;
  padding: 24px 12px;
  background: rgba(12, 12, 12, .97);
  color: var(--c-white);
}
.lightbox[hidden] { display: none; }
.lightbox__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 0;
  min-width: 0;
  height: 100%;
  justify-content: center;
}
.lightbox__figure img {
  max-width: 100%;
  max-height: calc(100vh - 140px);
  object-fit: contain;
}
.lightbox figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 6px 16px;
  font-size: 12px;
  text-align: center;
}
.lightbox__cat { opacity: .6; font-size: 10px; letter-spacing: .1em; }
.lightbox__index { font-family: var(--f-en); opacity: .6; }

.lightbox__close,
.lightbox__nav {
  position: relative;
  width: 48px;
  height: 48px;
  border: none;
  background: none;
  color: var(--c-white);
}
.lightbox__close { position: absolute; top: 16px; right: 16px; }
.lightbox__close::before,
.lightbox__close::after {
  content: "";
  position: absolute;
  left: 12px; top: 23px;
  width: 24px; height: 1px;
  background: currentColor;
  transform: rotate(45deg);
}
.lightbox__close::after { transform: rotate(-45deg); }
.lightbox__nav::before {
  content: "";
  position: absolute;
  top: 18px; left: 18px;
  width: 12px; height: 12px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
}
.lightbox__nav--prev::before { transform: rotate(-45deg); left: 20px; }
.lightbox__nav--next::before { transform: rotate(135deg); left: 14px; }
.lightbox button:hover { opacity: .7; }
.lightbox button:focus-visible { outline: 1px solid var(--c-white); }

/* ----- Responsive ----- */
@media (max-width: 1024px) {
  .case,
  .case--reverse { grid-template-columns: 1fr; }
  .case--reverse .case__imgs { order: 0; }
  .scope__inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .page-hero { grid-template-columns: 1fr; min-height: auto; }
  .page-hero__text { padding-top: 96px; }
  .page-hero__lead br { display: none; }
  .page-hero__visual {
    margin: 0;
    padding: 56px 24px 40px;
    clip-path: polygon(0 10%, 100% 0, 100% 100%, 0 100%);
  }
  .page-hero__visual img { max-height: 360px; }
  .page-hero__visual--photo { padding: 0; aspect-ratio: 4 / 3; }

  .scope__list { grid-template-columns: 1fr 1fr; }
  .other__list { grid-template-columns: 1fr; }
  .gallery__grid { columns: 2 140px; column-gap: 10px; }
  .gallery__item { margin-bottom: 10px; }
  .gallery__caption { opacity: 1; padding-top: 20px; }
  .gallery__title { font-size: 10px; }

  .lightbox { grid-template-columns: 40px 1fr 40px; padding: 60px 4px 24px; }
  .lightbox__close,
  .lightbox__nav { width: 40px; }
}

@media (max-width: 480px) {
  .filter { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; }
  .filter__btn { flex: none; }
}
