/* FILE ORDER: WORK DETAIL / HERO → VISUAL → CONTENT → CTA → RESPONSIVE */
.single-work-page {
  background: var(--surface-page);
}
.work-detail {
  color: var(--ink);
  background: var(--surface-page);
}
.detail-hero {
  position: relative;
  min-height: 510px;
  padding: 125px clamp(24px,8vw,140px) 48px;
  color: var(--ink);
  overflow: hidden;
  background:
    radial-gradient(circle at 91% 5%,rgba(88,207,247,.28),transparent 35%),
    linear-gradient(135deg,var(--white-pure) 0%,var(--surface-page) 58%,#e7f6fc 100%);
}
.detail-hero::after {
  content: "";
  position: absolute;
  width: 36vw;
  height: 36vw;
  right: -14vw;
  top: -23vw;
  border: 1px solid rgba(11,143,211,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(11,143,211,.025),0 0 0 120px rgba(11,143,211,.018);
  pointer-events: none;
}
.breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: #778aa0;
  font-size: 8px;
  letter-spacing: .13em;
}
.breadcrumb a {
  transition: color .25s;
}
.breadcrumb a:hover {
  color: var(--blue);
}
.detail-title {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0,1.45fr) minmax(280px,.55fr);
  align-items: end;
  gap: clamp(60px,10vw,160px);
  margin-top: clamp(52px,6vw,82px);
}
.detail-title >div >p:first-child {
  margin: 0 0 17px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .24em;
}
.detail-title >div >p:first-child span {
  margin-left: 16px;
  color: var(--text-subtle);
}
.detail-title h1 {
  margin: 0;
  font: 700 clamp(41px,6vw,90px)/1.2 "Noto Sans JP",sans-serif;
  letter-spacing: -.055em;
}
.detail-subtitle {
  margin: 22px 0 0;
  color: #5d7088;
  font: 400 12px/2 "Noto Sans JP",sans-serif;
  letter-spacing: .06em;
}
.detail-title dl {
  margin: 0;
  border-top: 1px solid rgba(7,91,160,.2);
}
.detail-title dl >div {
  display: grid;
  grid-template-columns: 75px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(7,91,160,.16);
}
.detail-title dt {
  color: var(--blue);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .17em;
}
.detail-title dd {
  margin: 0;
  color: #506780;
  font: 400 10px/1.6 "Noto Sans JP",sans-serif;
}
.detail-intro {
  display: grid;
  grid-template-columns: minmax(220px,.55fr) minmax(500px,1.45fr);
  gap: clamp(50px,10vw,160px);
  padding: clamp(80px,9vw,135px) clamp(24px,10vw,170px);
}
.detail-index {
  margin: 8px 0 0;
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .23em;
}
.detail-index span {
  margin-right: 12px;
  color: #8193a9;
}
.detail-intro-copy h2 {
  margin: 0 0 37px;
  font: 700 clamp(35px,4.5vw,65px)/1.42 "Noto Sans JP",sans-serif;
  letter-spacing: -.055em;
}
.detail-intro-copy >p {
  max-width: 740px;
  margin: 0;
  color: #607087;
  font: 400 13px/2.25 "Noto Sans JP",sans-serif;
  letter-spacing: .065em;
}
.detail-story {
  margin: 0 clamp(24px,8vw,140px);
  border-top: 1px solid rgba(7,91,160,.2);
}
.story-block {
  display: grid;
  grid-template-columns: minmax(220px,.55fr) minmax(500px,1.45fr);
  gap: clamp(50px,10vw,160px);
  padding: clamp(68px,7.5vw,108px) 0;
  border-bottom: 1px solid rgba(7,91,160,.2);
}
.story-label {
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.story-label >span {
  color: #8597ab;
  font-size: 9px;
  letter-spacing: .18em;
}
.story-label p {
  margin: 0;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
}
.story-label small {
  display: block;
  margin-top: 11px;
  color: #6a7a8f;
  font: 400 10px "Noto Sans JP",sans-serif;
  letter-spacing: .06em;
}
.story-content h2 {
  margin: 0 0 33px;
  font: 600 clamp(27px,3vw,44px)/1.55 "Noto Sans JP",sans-serif;
  letter-spacing: -.035em;
}
.story-content >p {
  max-width: 760px;
  margin: 0 0 22px;
  color: #607087;
  font: 400 13px/2.25 "Noto Sans JP",sans-serif;
  letter-spacing: .055em;
}
.structure-list {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 0 35px;
  margin: 42px 0 0;
  padding: 0;
  border-top: 1px solid rgba(7,91,160,.18);
  list-style: none;
}
.structure-list li {
  display: flex;
  align-items: center;
  min-height: 68px;
  border-bottom: 1px solid rgba(7,91,160,.18);
  color: #344b66;
  font: 500 11px "Noto Sans JP",sans-serif;
  letter-spacing: .05em;
}
.structure-list li span {
  width: 38px;
  color: #1397d4;
  font: 700 8px Inter,sans-serif;
  letter-spacing: .12em;
}
.detail-gallery {
  display: grid;
  grid-template-columns: 1.55fr .75fr;
  gap: clamp(16px,2vw,32px);
  padding: clamp(80px,9vw,130px) clamp(24px,5vw,90px);
}
.detail-gallery--lead {
  align-items: center;
  gap: clamp(30px,4vw,72px);
  padding: clamp(34px,4vw,58px) clamp(35px,7vw,125px) clamp(55px,6vw,90px);
  background: linear-gradient(145deg,#f8fbfd,#e9f3f8);
}
.detail-gallery--lead .gallery-image {
  min-height: 0;
  box-shadow: 0 30px 65px rgba(8,48,92,.2),0 8px 20px rgba(8,48,92,.12);
}
.detail-gallery--lead .gallery-image--01 {
  aspect-ratio: 16/10;
}
.detail-gallery--lead .gallery-image--02 {
  width: min(100%,520px);
  aspect-ratio: 4/5;
  justify-self: center;
}
.gallery-image {
  position: relative;
  overflow: hidden;
  min-height: 620px;
}
.gallery-image img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-image.gallery-image--photo > span {
  display: none;
}
.gallery-image >span {
  position: absolute;
  left: 7%;
  bottom: 8%;
  font-size: clamp(34px,4vw,66px);
  font-weight: 800;
  line-height: .85;
  letter-spacing: -.06em;
}
.gallery-image--01 {
  color: var(--white-pure);
  background: linear-gradient(145deg,#08296b,var(--blue) 60%,#5ad6ef);
}
.gallery-image--01::before {
  content: "";
  position: absolute;
  width: 68%;
  height: 62%;
  right: 7%;
  top: 9%;
  border: 1px solid rgba(255,255,255,.45);
  background: linear-gradient(150deg,rgba(255,255,255,.54),rgba(255,255,255,.05));
  rotate: 3deg;
}
.gallery-image--02 {
  color: #082c62;
  background: linear-gradient(145deg,#e8f8ff,#83d5f6 55%,#2583d2);
}
.gallery-image--02::before {
  content: "";
  position: absolute;
  width: 42%;
  height: 72%;
  right: 13%;
  top: 9%;
  border: 7px solid #083870;
  border-radius: 22px;
  background: linear-gradient(165deg,#57d4ed,#3150b5);
  rotate: 6deg;
}
.project-navigation {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  color: var(--white-pure);
  background: #020c29;
}
.project-navigation >a {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 190px;
  padding: 38px clamp(24px,6vw,100px);
  border-right: 1px solid rgba(255,255,255,.14);
  transition: background .35s,padding .35s;
}
.project-navigation >a:hover {
  padding-inline: calc(clamp(24px,6vw,100px) +12px);
  background: #06255c;
}
.project-navigation small {
  margin-bottom: 16px;
  color: #63d9ff;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .23em;
}
.project-navigation span {
  font: 500 clamp(17px,2vw,27px) "Noto Sans JP",sans-serif;
}
.project-navigation i {
  position: absolute;
  right: 8%;
  bottom: 45%;
  font-size: 25px;
  font-style: normal;
}
.single-work-page .works-cta {
  min-height: 450px;
  padding-block: clamp(72px,8vw,110px);
}
@media (max-width:1050px) {
  .detail-title,.detail-intro,.story-block {
    grid-template-columns: 1fr;
  }
  .detail-title {
    margin-top: 70px;
  }
  .detail-title dl {
    margin-top: 20px;
  }
  .detail-gallery {
    grid-template-columns: 1fr;
  }
  .detail-gallery--lead {
    padding: 60px clamp(28px,6vw,60px);
  }
  .detail-gallery--lead .gallery-image--02 {
    width: min(72%,460px);
  }
  .gallery-image {
    min-height: 500px;
  }
}
/* Content typography scale */
.detail-title >div >p:first-child,.detail-index,.story-label p {
  font-size: var(--text-small);
}
.detail-subtitle,.story-label small,.structure-list li {
  font-size: var(--text-base);
}
.detail-title dt,.detail-title dd,.story-label >span,.structure-list li span {
  font-size: var(--text-small);
}
.detail-intro-copy >p,.story-content >p {
  font-size: var(--text-base);
  line-height: 2.15;
}
.project-navigation small {
  font-size: var(--text-small);
}
@media(max-width:700px) {
  .detail-title >div >p:first-child,.detail-index,.story-label p {
    font-size: var(--text-small);
  }
  .detail-subtitle,.story-label small,.structure-list li {
    font-size: var(--text-base);
  }
  .detail-intro-copy >p,.story-content >p {
    font-size: var(--text-base);
    line-height: 2.05;
  }
  .project-navigation small {
    font-size: 13px;
  }
}
@media (max-width:700px) {
  .detail-hero {
    min-height: 570px;
    padding: 112px 24px 42px;
  }
  .detail-title {
    gap: 45px;
  }
  .detail-title h1 {
    font-size: 42px;
  }
  .detail-intro {
    padding: 75px 24px;
    gap: 38px;
  }
  .detail-intro-copy h2 br,.story-content h2 br {
    display: none;
  }
  .detail-story {
    margin: 0 24px;
  }
  .story-block {
    gap: 38px;
    padding: 65px 0;
  }
  .structure-list {
    grid-template-columns: 1fr;
  }
  .detail-gallery {
    padding: 75px 24px;
  }
  .detail-gallery--lead {
    gap: 28px;
    padding: 45px 22px;
  }
  .detail-gallery--lead .gallery-image--02 {
    width: 72%;
  }
  .gallery-image {
    min-height: 390px;
  }
  .project-navigation {
    grid-template-columns: 1fr;
  }
  .project-navigation >a {
    min-height: 165px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.14);
  }
}
