/* ==========================================================================
   Product Category Archive (P01-P07) — taxonomy-product-category.php
   Page-specific layout. Shared tokens and components live in main.css.
   ========================================================================== */

.jn-product-category {
  background: var(--jn-color-bg);
}

/* --------------------------------------------------------------------------
   S01 Header
   -------------------------------------------------------------------------- */
.pc-head {
  padding: 9.5rem 0 4.5rem;
  background:
    radial-gradient(circle at 84% 16%, rgba(198, 161, 91, 0.16), transparent 34%),
    var(--jn-color-surface-soft);
}

.pc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 2.25rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(30, 34, 40, 0.46);
}

.pc-breadcrumb a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pc-breadcrumb a:hover {
  color: var(--jn-color-gold);
}

.pc-head__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.pc-head__title {
  margin: 0 0 1.5rem;
  font-family: var(--jn-font-serif);
  font-size: clamp(2.25rem, 4.4vw, 4rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: var(--jn-color-text);
}

.pc-head__lede {
  max-width: 38rem;
  font-size: 1.2rem;
  line-height: 1.8;
  color: rgba(30, 34, 40, 0.72);
}

.pc-head__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.pc-head__media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border-radius: 16px;
  background: var(--jn-color-surface-muted);
  box-shadow: 0 30px 70px rgba(30, 34, 40, 0.14);
}

.pc-head__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --------------------------------------------------------------------------
   S02 Style Carousel
   -------------------------------------------------------------------------- */
.pc-styles__head {
  max-width: 42rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.pc-styles__title {
  margin: 0 0 1rem;
  font-family: var(--jn-font-serif);
  font-size: clamp(1.75rem, 3.4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--jn-color-text);
}

.pc-styles__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(30, 34, 40, 0.68);
}

.pc-styles__slider {
  position: relative;
}

.pc-styles__viewport {
  overflow: hidden;
  border-radius: 10px;
}

.pc-styles__track {
  display: flex;
  transition: transform 0.6s ease-out;
}

.pc-styles__slide {
  flex: 0 0 25%;
  width: 25%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  padding: 0 0.4rem;
  box-sizing: border-box;
}

.pc-styles__slide-wrap {
  position: relative;
  flex: 0 0 25%;
  width: 25%;
  padding: 0 0.4rem;
  box-sizing: border-box;
}

.pc-styles__slide-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
}

.pc-styles__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: 50%;
  background: var(--jn-color-steel);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.pc-styles__arrow:hover {
  background: var(--jn-color-gold);
  color: #fff;
}

.pc-styles__arrow svg {
  width: 1.15rem;
  height: 1.15rem;
}

.pc-styles__arrow--prev {
  left: 0.75rem;
}

.pc-styles__arrow--next {
  right: 0.75rem;
}

.pc-styles__dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
}

.pc-styles__dots button {
  width: 0.5rem;
  height: 0.5rem;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: rgba(30, 34, 40, 0.25);
  cursor: pointer;
  transition: width 0.2s ease, background 0.2s ease;
}

.pc-styles__dots button.is-active {
  width: 1.25rem;
  background: var(--jn-color-gold);
}

.pc-styles__slider.is-static .pc-styles__arrow,
.pc-styles__slider.is-static .pc-styles__dots {
  display: none;
}

.pc-styles__foot {
  margin: 1.75rem 0 0;
  text-align: center;
}

@media (max-width: 1023px) {
  .pc-styles__slide-wrap {
    flex-basis: 50%;
    width: 50%;
  }
}

@media (max-width: 767px) {
  .pc-styles__slide-wrap {
    flex-basis: 100%;
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   S03 Customization Options
   -------------------------------------------------------------------------- */
.pc-options__head {
  max-width: 42rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.pc-options__title {
  margin: 0 0 0.75rem;
}

.pc-options__text {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(30, 34, 40, 0.68);
}

/* Image beside a vertically grouped heading and description. */
.pc-options__tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3rem;
}

.pc-option-tile {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
}

.pc-option-tile__media {
  flex: none;
  width: 148px;
  aspect-ratio: 1 / 1;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: var(--jn-color-surface-muted);
}

.pc-option-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pc-option-tile:hover .pc-option-tile__media img {
  transform: scale(1.04);
}

.pc-option-tile__copy {
  flex: 1;
  min-width: 0;
}

.pc-option-tile h3 {
  margin: 0;
  font-family: var(--jn-font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--jn-color-text);
}

.pc-option-tile p {
  margin: 0.45rem 0 0;
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(30, 34, 40, 0.66);
}

.pc-options__foot {
  margin: 2.5rem 0 0;
  text-align: center;
}

/* --------------------------------------------------------------------------
   S04 Product Advantages
   -------------------------------------------------------------------------- */
.pc-adv__title {
  margin-bottom: 3rem;
  text-align: center;
}

.pc-adv__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.pc-adv-card {
  padding: 1.5rem;
  border: 1px solid var(--jn-color-border);
  border-radius: 10px;
  background: #fff;
  text-align: center;
}

.pc-adv-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(198, 161, 91, 0.12);
  color: var(--jn-color-gold);
}

.pc-adv-card__icon svg {
  width: 1.3rem;
  height: 1.3rem;
}

.pc-adv-card h3 {
  margin: 0;
  font-family: var(--jn-font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--jn-color-text);
}

.pc-adv-card p {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(30, 34, 40, 0.66);
}

/* --------------------------------------------------------------------------
   S05 Company Overview (design capability)
   -------------------------------------------------------------------------- */
.pc-about {
  background: var(--jn-color-surface-soft);
}

.pc-about__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: stretch;
}

.pc-about__media {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 12px;
  background: var(--jn-color-surface-muted);
}

.pc-about__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(1.18);
}

.pc-about__copy p {
  margin-top: 1.25rem;
  font-size: 0.98rem;
  line-height: 1.85;
  color: rgba(30, 34, 40, 0.72);
  max-width: 34rem;
}

.pc-about__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.25rem;
  margin-top: 1.5rem;
}

.pc-about__stat-value {
  font-family: var(--jn-font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--jn-color-gold);
}

.pc-about__stat-label {
  margin-top: 0.25rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(30, 34, 40, 0.58);
}

.pc-about__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

/* --------------------------------------------------------------------------
   S06 Cooperation Flow
   -------------------------------------------------------------------------- */
.pc-flow__title {
  margin-bottom: 3rem;
  text-align: center;
}

.pc-flow__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pc-flow__list li {
  border-top: 1px solid var(--jn-color-border);
  padding-top: 1.5rem;
}

.pc-flow__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: rgba(198, 161, 91, 0.12);
  color: var(--jn-color-gold);
}

.pc-flow__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.pc-flow__name {
  display: block;
  font-family: var(--jn-font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--jn-color-text);
}

.pc-flow__text {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(30, 34, 40, 0.66);
}

/* --------------------------------------------------------------------------
   S06.5 Work Tracks
   -------------------------------------------------------------------------- */
.pc-tracks {
  background: var(--jn-color-surface-soft);
}

.pc-tracks__head {
  max-width: 44rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.pc-tracks__title {
  margin: 0 0 0.75rem;
}

.pc-tracks__intro {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(30, 34, 40, 0.68);
}

.pc-tracks__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.pc-tracks-card {
  display: block;
  overflow: hidden;
  border: 1px solid var(--jn-color-border);
  border-radius: 10px;
  background: #fff;
  text-decoration: none;
  transition: border-color 0.2s ease;
}

.pc-tracks-card:hover {
  border-color: var(--jn-color-gold);
}

.pc-tracks-card__media {
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: var(--jn-color-surface-muted);
}

.pc-tracks-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pc-tracks-card:hover .pc-tracks-card__media img {
  transform: scale(1.04);
}

.pc-tracks-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
}

.pc-tracks-card h3 {
  margin: 0;
  font-family: var(--jn-font-serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--jn-color-text);
}

.pc-tracks-card p {
  margin: 0.6rem 0 0;
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(30, 34, 40, 0.66);
}

@media (max-width: 767px) {
  .pc-tracks__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* --------------------------------------------------------------------------
   S07 Inquiry Form
   -------------------------------------------------------------------------- */
.pc-cta {
  padding: 5.5rem 0;
  background: var(--jn-color-steel);
}

.pc-cta__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.pc-cta__title {
  margin: 0;
  font-family: var(--jn-font-serif);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #fff;
}

.pc-cta__benefits {
  margin-top: 2rem;
  max-width: 26rem;
}

.pc-cta__form {
  padding: 2rem;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .pc-head {
    padding-top: 8.5rem;
  }

  .pc-head__grid,
  .pc-about__grid,
  .pc-cta__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pc-head__media,
  .pc-about__media {
    max-width: 42rem;
  }

  .pc-about__media {
    width: 100%;
    aspect-ratio: 16 / 11;
  }

  .pc-option-tile__media {
    width: 120px;
  }

  .pc-adv__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pc-flow__list {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 767px) {
  .pc-head {
    padding: 7.5rem 0 4rem;
  }

  .pc-head__actions .jn-button {
    width: 100%;
  }

  .jn-site .pc-head__actions .jn-button--with-arrow {
    justify-content: center;
    padding-left: 3.1rem;
    padding-right: 3.1rem;
  }

  .jn-site .pc-head__actions .jn-button--with-arrow .jn-button__label {
    text-align: center;
  }

  .jn-site .pc-head__actions .jn-button--with-arrow .jn-button__icon {
    position: absolute;
    right: .2rem;
  }

  .pc-option-tile__media {
    width: 112px;
  }

  .pc-option-tile {
    gap: 1rem;
  }

  .pc-options__tiles {
    grid-template-columns: minmax(0, 1fr);
  }

  .pc-adv__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pc-cta {
    padding: 4rem 0;
  }

  .pc-cta__form {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jn-product-category *,
  .jn-product-category *::before,
  .jn-product-category *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Customization options: accordion with a matching image. */
.pc-options__accordion { display:grid; grid-template-columns:minmax(0, 1fr) minmax(0, 1fr); gap:clamp(2rem, 5vw, 5rem); align-items:stretch; }
.pc-options__list { border-top:1px solid var(--jn-color-border); }
.pc-option { border-bottom:1px solid var(--jn-color-border); }
.pc-option summary { list-style:none; display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:1.15rem 0; cursor:pointer; font-family:var(--jn-font-serif); font-size:1.2rem; font-weight:600; color:var(--jn-color-text); }
.pc-option summary::-webkit-details-marker { display:none; }
.pc-option summary:focus-visible { outline:2px solid #c3a744; outline-offset:3px; }
.pc-option__icon { position:relative; flex:0 0 20px; width:20px; height:20px; }
.pc-option__icon::before,.pc-option__icon::after { content:''; position:absolute; background:#ad9046; top:9px; left:3px; width:14px; height:2px; }
.pc-option__icon::after { transform:rotate(90deg); transition:transform .25s ease; }
.pc-option[open] .pc-option__icon::after { transform:rotate(0); }
.pc-option__body p { margin:0 0 1.35rem; max-width:34rem; font-size:.9rem; line-height:1.7; color:rgba(30,34,40,.7); }
.pc-options__visual { position:relative; min-height:480px; overflow:hidden; border-radius:8px; background:#eeeae3; }
.pc-options__image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity .35s ease; }
.pc-options__image.is-active { opacity:1; }
.pc-option__mobile-image { display:none; }
@media (max-width:767px) {
  .pc-options__accordion { display:block; }
  .pc-options__visual { display:none; }
  .pc-option__mobile-image { display:block; width:100%; height:240px; object-fit:cover; border-radius:6px; margin:0 0 1.25rem; }
}
@media (prefers-reduced-motion:reduce) { .pc-options__image,.pc-option__icon::after { transition:none; } }

/* Keep the image steady as accordion content changes. */
.pc-option summary { transition: color .2s ease; }
.pc-option[open] summary, .pc-option summary:hover { color: var(--jn-color-gold, #b4973b); }
@media (min-width: 768px) {
  .pc-options__accordion { align-items:start; }
  .pc-options__visual { height:480px; }
}
