/*! ASTRONSTAR 运行时镜像 — 请勿直接修改本文件 | 源文件: src/content/projects/css/projects-page.css | 重新生成: npm run prepare:runtime | 源码归属与修改边界见 docs/architecture.md */
/* ==========================================================================
   Projects page body styles (.p-project-*).
   Source: public/assets/build.DItAjjDM.20260723.css (frozen build artifact, unpacked for maintainability)
   Iterate on this file inside src/ and re-sync via prepare:runtime.
   ========================================================================== */

@import "/__external/fonts.googleapis.com/css2__q_1e7198ad8b79";

@font-face {
  font-family: astronstarfont;
  src: url(/assets/font/kingnam-yuanmo-sc.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
  size-adjust: 70%;
}

@font-face {
  font-family: "emoji";
  src: url(/assets/font/kingnam-yuanmo-sc.woff2) format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "emoji";
  src: url(/assets/font/kingnam-yuanmo-sc.woff2) format("woff2");
  font-weight: 700;
  font-style: bold;
}

.p-projects .p-page__title .ja span.u-pc-hidden,
.p-projects .p-page__title .ja span.u-sp-hidden {
  margin-left: -0.001em;
}

.p-projects .c-details__summary {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: absolute;
  right: 3rem;
  bottom: 3rem;
}

.p-projects .c-details__title {
  font-size: 2.4rem;
  font-weight: 700;
}

.p-projects .c-details__icon {
  width: 3rem;
  height: 3rem;
  margin-left: 1em;
}

.p-projects .c-details__inner {
  padding-top: 2rem;
  padding-bottom: 3rem;
  display: flex;
  flex-direction: column;
}

.p-projects .c-details__item {
  font-size: 1.8rem;
  line-height: 2.22;
}

.p-projects .p-page__body__inner {
  display: flex;
}

.p-project-aside {
  position: sticky;
  top: 0;
  width: 43.6rem;
  height: 100vh;
}

.p-project-aside a {
  position: relative;
  display: block;
}

.p-project-aside a.is-current:before {
  opacity: 1;
}

.p-project-aside a:before {
  content: "";
  display: inline-block;
  position: absolute;
  top: 50%;
  left: -16px;
  transform: translateY(-50%);
  transition: opacity .2s ease;
  opacity: 0;
  background-image: url(/assets/img/astronstar/official-logo.png);
  background-size: cover;
  width: clamp(20px,2.4rem,26px);
  aspect-ratio: 122/107;
  top: calc(50% - .2em);
  left: -3.2rem;
  left: clamp(-30px,-3.2rem,-34px);
}

.p-project-aside .p-project-aside__inner {
  padding: 0 6rem 0 8rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.p-project-aside .p-project-aside__head {
  border-top-left-radius: 1.6rem;
  border-top-right-radius: 1.6rem;
  background-color: #1c1c1c;
  color: #fff;
}

.p-project-aside .p-project-aside__btnMore {
  width: 100%;
  padding: 2.2rem 1.5rem 2rem;
  text-align: left;
  line-height: 1.5;
  display: flex;
  justify-content: space-between;
}

.p-project-aside .p-project-aside__btnMore .copy {
  font-size: clamp(16px,1.8rem,20px);
  letter-spacing: .05em;
  font-weight: 700;
}

.p-project-aside .p-project-aside__btnMore .icon {
  width: clamp(21px,2.5rem,29px);
  height: clamp(21px,2.5rem,29px);
  background-color: #fff;
  margin-right: .6em;
  border-radius: 999em;
  display: block;
  position: relative;
}

.p-project-aside .p-project-aside__btnMore .icon:before,
.p-project-aside .p-project-aside__btnMore .icon:after {
  content: "";
  background-color: #000;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.p-project-aside .p-project-aside__btnMore .icon:before {
  width: .6em;
  height: 1px;
}

.p-project-aside .p-project-aside__btnMore .icon:after {
  width: 1px;
  height: .6em;
}

.p-project-aside .p-project-aside__btnMore[aria-expanded=true] .icon:after {
  opacity: 0;
}

.p-project-aside .p-project-aside__body.is-view {
  max-height: 50vh;
  overflow-y: scroll;
}

.p-project-aside .p-project-aside__item {
  font-weight: 700;
}

.p-project-aside .p-project-aside__itemName {
  font-size: clamp(18px,2rem,22px);
  letter-spacing: .05em;
  line-height: 1.5;
  margin-bottom: .5rem;
}

.p-project-aside .p-project-aside__category,
.p-project-aside .p-project-aside__sections {
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  row-gap: .5rem;
}

.p-project-aside .p-project-aside__category {
  padding-bottom: 1.2rem;
}

.p-project-aside .p-project-aside__categoryLink {
  font-size: clamp(14px,1.6rem,18px);
  letter-spacing: -0.05em;
  line-height: 1.6;
}

.p-project-aside .p-project-aside__sectionsLink {
  font-size: 1.3rem;
  font-size: clamp(10px,1.2rem,14px);
  letter-spacing: -0.05em;
  line-height: 1.6;
}

.p-project-aside .p-project-aside__sectionsLink:first-child {
  margin-top: .5rem;
}

.p-project-contents {
  width: 104rem;
  width: calc(100% - 43.6rem);
}

.p-project-contents .p-project-contentsCategory {
  border-radius: 2.4rem;
  background-color: #1c1c1c;
  color: #fff;
  padding: 1.8rem 4rem;
}

.p-project-contents .p-project-contentsCategory .p-project-contentsCategory__title {
  display: flex;
  align-items: center;
  column-gap: .7rem;
}

.p-project-contents .p-project-contentsCategory .p-project-contentsCategory__title svg {
  width: 1.5rem;
}

.p-project-contents .p-project-contentsCategory .p-project-contentsCategory__title .copy {
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: .05em;
}

.p-project-contents .p-project-contentsPrimary {
  border-radius: 2.4rem;
  background-color: #fff;
  padding: 4rem 8rem 4rem 4rem;
  position: relative;
}

.p-project-contents .p-project-contentsPrimary .p-project-contentsImage {
  grid-column: span 3;
  position: relative;
  display: block;
  width: 75%;
  aspect-ratio: 3/4;
  justify-self: center;
  overflow: hidden;
  border-radius: 1.6rem;
}

.p-project-contents .p-project-contentsPrimary .p-project-contentsImage picture {
  display: block;
  width: 100%;
  height: 100%;
}

.p-project-contents .p-project-contentsPrimary .p-project-contentsImage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.p-project-contents .p-project-contentsPrimary .p-project-contentsText {
  grid-column: span 4;
}

.p-project-contents .p-project-contentsPrimary .p-project-contentsText__title {
  font-size: clamp(30px,3.2rem,34px);
  letter-spacing: 0;
}

.p-project-contents .p-project-contentsPrimary .p-project-contentsText__position {
  font-size: clamp(11px,1.3rem,15px);
  line-height: 2;
  margin-top: .5rem;
}

.p-project-contents .p-project-contentsPrimary .p-project-contentsLink {
  display: flex;
  align-items: center;
  margin-top: 1.7rem;
  column-gap: 1.5rem;
}

.p-project-contents .p-project-contentsPrimary .p-project-contentsLink__site {
  font-size: clamp(10px,1.2rem,14px);
  font-weight: 700;
  text-decoration: underline;
}

.p-project-contents .p-project-contentsPrimary .p-project-contentsLink__insta {
  display: inline-flex;
  width: clamp(21px,2.1rem,23px);
  height: clamp(21px,2.1rem,23px);
  aspect-ratio: 16/16;
}

.p-project-contents .p-project-contentsPrimary .p-project-contentsLink__insta path {
  fill: #000;
}

.p-project-contents .p-project-contentsSecondry {
  border-radius: 2.4rem;
  background-color: #fff;
  padding: 4rem 8rem 4rem 4rem;
  position: relative;
}

.p-project-contents .p-project-contentsSecondry .p-project-contentsText {
  grid-column: span 4;
}

.p-project-contents .p-project-contentsSecondry .p-project-contentsText__title {
  font-size: clamp(20px,2.2rem,24px);
  letter-spacing: .05em;
}

.p-project-contents .p-project-contentsSecondry .p-project-contentsText__copy {
  margin-top: 1.1rem;
}

.p-project-contents .p-project-contentsSecondry .p-project-contentsText__copy a {
  text-decoration: underline;
}

.p-project-contents .p-project-contentsSecondry .p-project-contentsImage {
  grid-column: 6/9;
}

.p-project-contents .p-project-contentsSecondry .p-project-contentsImage img {
  border-radius: 1.6rem;
  overflow: hidden;
}

.p-project-contents .p-project-contentsWrap {
  display: grid;
  align-items: center;
  grid-template-columns: repeat(7, 1fr);
  grid-gap: 4rem;
}

.p-project-contents .p-project-contentsText__title {
  font-weight: 700;
  line-height: 1.4;
}

.p-project-contents .p-project-contentsText__copy {
  line-height: 2;
  margin-top: 2rem;
}

.p-project-contents .p-project-contentsProduct {
  grid-column: span 8;
}

.p-project-contents .p-project-contentsProduct .c-details__content {
  background-color: #f5f5f5;
  border-radius: 2rem;
  margin-top: 1rem;
}

.p-project-contents .p-project-contentsProduct .c-details__inner {
  padding: 1rem 5rem .8rem;
}

.p-project-contents .p-project-contentsProduct .p-project-brands-product__list {
  display: grid;
  row-gap: 3.5rem;
  column-gap: .5rem;
  grid-template-columns: repeat(4, 1fr);
}

.p-project-contents .p-project-contentsProduct .p-project-brands-product__item {
  text-align: left;
}

.p-project-contents .p-project-contentsProduct .p-project-brands-product__itemWrap {
  display: block;
}

.p-project-contents .p-project-contentsProduct a.p-project-brands-product__itemWrap .p-project-brands-product__name {
  text-decoration: underline;
}

.p-project-contents .p-project-contentsProduct .p-project-brands-product__image {
  background-color: #fff;
  border-radius: 1.6rem;
  aspect-ratio: 1/1;
  display: grid;
  place-content: center;
  place-items: center;
  overflow: hidden;
}

.p-project-contents .p-project-contentsProduct .p-project-brands-product__image img {
  mix-blend-mode: multiply;
}

.p-project-contents .p-project-contentsProduct .p-project-brands-product__name {
  font-size: clamp(11px,1.3rem,15px);
  font-weight: 700;
  margin: .6rem 0 0;
  line-height: 1.25;
}

.p-project-contents .p-project-contentsProduct.-description .c-details__inner {
  padding: 6.2rem 6rem 3rem 5.2rem;
}

.p-project-contents .p-project-contentsProduct.-description .p-project-brands-product__list {
  display: block;
}

.p-project-contents .p-project-contentsProduct.-description .p-project-brands-product__item {
  display: flex;
  text-align: left;
  padding: 3rem 0;
  border-top: 1px solid #c6c6c6;
}

.p-project-contents .p-project-contentsProduct.-description .p-project-brands-product__text {
  width: 48.8rem;
}

.p-project-contents .p-project-contentsProduct.-description .p-project-brands-product__name,
.p-project-contents .p-project-contentsProduct.-description .p-project-brands-product__copy {
  font-size: 1.6rem;
}

.p-project-contents .p-project-contentsProduct.-description .p-project-brands-product__name {
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: .05em;
}

.p-project-contents .p-project-contentsProduct.-description .p-project-brands-product__copy {
  line-height: 2;
  letter-spacing: 0;
  margin-top: 1rem;
}

.p-project-contents .p-project-contentsProduct.-description .p-project-brands-product__image {
  width: 22.4rem;
  margin-inline: 0;
  aspect-ratio: 1/1;
  padding: 0 2rem;
  box-sizing: content-box;
}

@media screen and (max-width: 768px) {
  #projects .l-heder__left .l-header__logo path {
    fill: #000;
  }
  .p-projects .p-page__head__inner {
    padding-bottom: 7rem;
  }
  .p-projects .p-page__title {
    white-space: nowrap;
  }
  .p-projects .p-page__title .ja span.u-sp-hidden {
    display: none;
  }
  .p-projects .p-page__body__inner {
    display: block;
  }
  .p-project-aside {
    position: fixed;
    top: auto;
    bottom: 0;
    width: 100%;
    height: auto;
    z-index: 100;
  }
  .p-project-aside a:before {
    width: clamp(20px,2rem,22px);
    left: clamp(-26px,-2.8rem,-30px);
  }
  .p-project-aside .p-project-aside__inner {
    padding: 0;
  }
  .p-project-aside .p-project-aside__body {
    max-height: 0;
    overflow: hidden;
    transition: all .3s;
    will-change: height;
    border-bottom-left-radius: 1.6rem;
    border-bottom-right-radius: 1.6rem;
    background-color: #1c1c1c;
    color: #fff;
  }
  .p-project-aside .p-project-aside__list {
    padding: 4rem;
  }
  .p-project-contents {
    width: 100%;
  }
  .p-project-contents .p-project-contentsCategory,
  .p-project-contents .p-project-contentsPrimary {
    border-radius: 1.6rem;
  }
  .p-project-contents .p-project-contentsPrimary {
    padding: 7rem 2rem;
  }
  .p-project-contents .p-project-contentsPrimary .p-project-contentsImage {
    grid-column: span 8;
  }
  .p-project-contents .p-project-contentsPrimary .p-project-contentsText {
    grid-column: span 8;
    width: 100%;
  }
  .p-project-contents .p-project-contentsPrimary .p-project-contentsText__title {
    margin-top: 3rem;
  }
  html:lang(en) .p-project-contents .p-project-contentsPrimary .p-project-contentsText__title {
    text-align: left;
  }
  .p-project-contents .p-project-contentsSecondry {
    border-radius: 1.6rem;
  }
  .p-project-contents .p-project-contentsSecondry {
    padding: 2rem 2rem 6rem;
  }
  .p-project-contents .p-project-contentsSecondry .p-project-contentsText {
    grid-column: span 8;
    grid-row: 2;
  }
  .p-project-contents .p-project-contentsSecondry .p-project-contentsImage {
    grid-column: span 8;
    grid-row: 1;
    display: grid;
    place-content: center;
    place-items: center;
  }
  .p-project-contents .p-project-contentsSecondry .p-project-contentsImage img {
    width: 70%;
  }
  .p-project-contents .p-project-contentsWrap {
    grid-template-columns: repeat(8, 1fr);
    grid-gap: 1.5rem;
    place-items: center;
  }
  .p-project-contents .p-project-contentsProduct .c-details__content {
    margin-top: 7.6rem;
    margin-bottom: 1em;
  }
  .p-project-contents .p-project-contentsProduct .c-details__inner {
    padding: 1.2rem 1.6rem 1rem;
  }
  .p-project-contents .p-project-contentsProduct .p-project-brands-product__list {
    gap: 1rem .6rem;
    grid-template-columns: repeat(2, 1fr);
  }
  .p-project-contents .p-project-contentsProduct .p-project-brands-product__name {
    margin: .6rem 0 .2rem .6rem;
  }
  .p-project-contents .p-project-contentsProduct.-description .c-details__inner {
    padding: 5.4rem 3.1rem;
  }
  .p-project-contents .p-project-contentsProduct.-description .p-project-brands-product__item {
    flex-direction: column;
    padding: 5.6rem 0;
    gap: 2.6rem 0;
  }
  .p-project-contents .p-project-contentsProduct.-description .p-project-brands-product__text {
    width: 100%;
  }
}

@media screen and (min-width: 769px) {
  .p-projects .p-page__title .ja span.u-pc-hidden {
    display: none;
  }
  .p-project-aside {
    border-radius: 2.4rem;
    background-color: #1c1c1c;
    color: #fff;
  }
  .p-project-aside .p-project-aside__head {
    display: none;
  }
}

@media screen and (min-width: 769px)and (max-width: 768px) {
  .p-project-aside {
    border-radius: 1.6rem;
  }
}

@media (hover: hover)and (pointer: fine) {
  .p-project-aside a:hover:before {
    opacity: 1;
  }
}

@media screen and (min-width: 769px)and (max-width: 1280px) {
  .p-project-contents .p-project-contentsPrimary .p-project-contentsText__title {
    font-size: clamp(24px,2.6rem,28px);
  }
}
