@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;1,300&family=Jost:wght@200;300;400&display=swap');

/* ==============================================================
   リセット＆スコープ化（フォントの全体指定を削除し干渉を防ぐ）
   ============================================================== */

pagebody {
    max-width: 900px;
}


#pieclex-custom-wrapper {
  background: #fbfbfb;
  color: #111;
  overflow-x: hidden;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* =====================
   HEADER BANNER
   ===================== */
#pieclex-custom-wrapper .header-banner {
  width: 100%;
  position: relative;
  height: 90vh; 
  height: 90svh; 
  overflow: hidden;
}

#pieclex-custom-wrapper .hero-row {
  display: flex;
  width: 100%;
  height: 100%;
}

#pieclex-custom-wrapper .hero-col {
  flex: 1;
  position: relative;
  overflow: hidden;
}

#pieclex-custom-wrapper .hero-col-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

#pieclex-custom-wrapper .hero-col-slider .slide.active {
  opacity: 1;
}

#pieclex-custom-wrapper .hero-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

#pieclex-custom-wrapper .header-title {
  position: absolute;
  top: 50%;
  left: 40px;
  transform: translateY(-50%);
  text-align: left;
  z-index: 10;
  color: #fff;
  pointer-events: none;
}

#pieclex-custom-wrapper .header-title .en-title {
  font-family: 'Zen Old Mincho', serif;
  font-size: 57px;
  font-weight: 400;
  letter-spacing: 0.1em;
  line-height: 1.3;
  display: block;
  margin-bottom: 12px;
}

#pieclex-custom-wrapper .header-title .en-title em {
  font-style: italic;
}

#pieclex-custom-wrapper .header-title .sub {
  font-family: 'Jost', "Zen Kaku Gothic New", sans-serif;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

#pieclex-custom-wrapper .header-vertical-text {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  white-space: nowrap;
  color: #fff;
  font-family: 'Jost', sans-serif;
  font-size: 16px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  z-index: 10;
  pointer-events: none;
  font-weight: 600;
}

/* =====================
   INTRO TEXT
   ===================== */
#pieclex-custom-wrapper .intro {
  margin: 120px auto;
  padding: 0 20px;
  max-width: 600px;
  text-align: center;
}

#pieclex-custom-wrapper .intro p {
  /* ▼ 個別フォント指定 */
  font-family: 'Jost', "Zen Kaku Gothic New", sans-serif;
  font-weight: 400; 
  font-size: 14px;
  line-height: 2.4;
  letter-spacing: 0.15em;
  color: #333;
}

/* =====================
   TEXT BLOCK
   ===================== */
#pieclex-custom-wrapper .text-block {
  margin: 120px auto;
  padding: 0 20px;
  max-width: 600px;
  text-align: left;
}

#pieclex-custom-wrapper .text-block p {
  /* ▼ 個別フォント指定 */
  font-family: 'Jost', "Zen Kaku Gothic New", sans-serif;
  font-weight: 400; 
  font-size: 14px;
  line-height: 2.4;
  letter-spacing: 0.12em;
  color: #333;
  margin-bottom: 24px;
}

#pieclex-custom-wrapper .text-block p:last-child {
  margin-bottom: 0;
}

#pieclex-custom-wrapper .text-block .sub-heading {
  /* ▼ 個別フォント指定 */
  font-family: 'Jost', "Zen Kaku Gothic New", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #111;
  margin-bottom: 16px;
}

#pieclex-custom-wrapper .text-block .note {
  /* ▼ 個別フォント指定 */
  font-family: 'Jost', "Zen Kaku Gothic New", sans-serif;
  font-weight: 400;
  font-size: 11px;
  color: #666;
  line-height: 1.6;
}

/* =====================
   CONTENT SECTIONS
   ===================== */
#pieclex-custom-wrapper .content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

#pieclex-custom-wrapper .section {
  margin: 120px 0;
}

@media (min-width: 769px) {
  #pieclex-custom-wrapper .sp-only-slide,
  #pieclex-custom-wrapper .sp-only-dot {
    display: none !important;
  }
}

/* --- Two images side by side --- */
#pieclex-custom-wrapper .two-col {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 30px;
}

#pieclex-custom-wrapper .two-col .img-wrap:last-child {
  margin-top: 120px; 
}

#pieclex-custom-wrapper .two-col.reverse .img-wrap:last-child {
  margin-top: 0; 
}
#pieclex-custom-wrapper .two-col.reverse .img-wrap:first-child {
  margin-top: 120px; 
}

#pieclex-custom-wrapper .two-col .img-wrap {
  flex: 1;
  position: relative;
  overflow: hidden;
}

#pieclex-custom-wrapper .two-col .img-wrap::before {
  content: '';
  display: block;
  padding-bottom: 140%;
}

#pieclex-custom-wrapper .two-col .img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

#pieclex-custom-wrapper .two-col .img-wrap-slider .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2s ease-in-out;
}

#pieclex-custom-wrapper .two-col .img-wrap-slider .slide.active {
  opacity: 1;
}

#pieclex-custom-wrapper .single-img a,
#pieclex-custom-wrapper .two-col .img-wrap a,
#pieclex-custom-wrapper .two-col .img-wrap-slider .slide a {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

#pieclex-custom-wrapper .slider-dots {
  position: absolute;
  bottom: 16px; 
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px; 
  z-index: 10;
  pointer-events: none; 
}

#pieclex-custom-wrapper .slider-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4); 
  box-shadow: 0 1px 3px rgba(0,0,0,0.2); 
  transition: background-color 0.4s ease;
}

#pieclex-custom-wrapper .slider-dots .dot.active {
  background-color: #fff; 
}

/* --- Product list --- */
#pieclex-custom-wrapper .product-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px 40px;
  padding: 0 10px;
}

#pieclex-custom-wrapper .product-list.center {
  justify-content: flex-end;
}

#pieclex-custom-wrapper .product-item {
  display: flex;
  align-items: baseline;
  gap: 20px; 
  text-decoration: none;
  font-family: 'Jost', "Helvetica Neue", Arial, sans-serif;
}

#pieclex-custom-wrapper .product-item:hover {
  text-decoration: none;
}

#pieclex-custom-wrapper .product-item .name {
  font-size: 12px;
  letter-spacing: 0.15em;
  color: #111;
  font-weight: 400;
  font-family: inherit; 
}

#pieclex-custom-wrapper .product-item .item-number {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #666 !important; 
  font-family: inherit; 
  font-weight: 400;
}

#pieclex-custom-wrapper .product-item .price {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: #666 !important;
  font-family: inherit; 
  font-weight: 400;
}

/* --- Single full-width image --- */
#pieclex-custom-wrapper .single-img {
  width: 100%;
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
}

#pieclex-custom-wrapper .single-img::before {
  content: '';
  display: block;
  padding-bottom: 60%; 
}

#pieclex-custom-wrapper .single-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}


/* =====================
   FOOTER BUTTONS
   ===================== */
#pieclex-custom-wrapper .footer-btns {
  margin: 120px auto 150px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

#pieclex-custom-wrapper .btn {
  display: block;
  width: 100%;
  max-width: 560px;
  padding: 18px 24px;
  text-align: center;
  /* ▼ 個別フォント指定 */
  font-family: 'Jost', "Zen Kaku Gothic New", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  transition: background 0.3s, color 0.3s;
  border: 1px solid #111;
  background: transparent;
  color: #111;
  text-decoration: none; 
}

#pieclex-custom-wrapper .btn:hover {
  background: #111;
  color: #fff !important; 
  text-decoration: none; 
}

/* =====================
   SCROLL FADE-IN ANIMATION
   ===================== */
#pieclex-custom-wrapper .fade-in {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

#pieclex-custom-wrapper .fade-in.is-visible {
  opacity: 1;
}


/* =====================
   RESPONSIVE — MOBILE
   ===================== */
@media (max-width: 768px) {
  #pieclex-custom-wrapper .pc-only-img {
    display: none !important;
  }

  #pieclex-custom-wrapper .hero-row {
    flex-direction: column;
  }
  #pieclex-custom-wrapper .hero-col-right {
    display: none;
  }
  
  #pieclex-custom-wrapper .header-title {
    left: 20px;
  }
  
  #pieclex-custom-wrapper .header-title .en-title {
    font-size: 30px;
  }

  #pieclex-custom-wrapper .header-title .sub {
    font-family: 'Jost', sans-serif;
    font-weight: 500;
    font-size: 13px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
  }
    
  #pieclex-custom-wrapper .header-vertical-text {
    right: 20px;
    font-size: 10px;
  }
  
  #pieclex-custom-wrapper .intro, 
  #pieclex-custom-wrapper .text-block, 
  #pieclex-custom-wrapper .section, 
  #pieclex-custom-wrapper .footer-btns {
    margin: 90px auto; 
  }

  #pieclex-custom-wrapper .two-col {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  
  #pieclex-custom-wrapper .two-col .img-wrap {
    width: 100%;
  }

  #pieclex-custom-wrapper .two-col .img-wrap:last-child,
  #pieclex-custom-wrapper .two-col.reverse .img-wrap:first-child {
    margin-top: 0;
  }
    
  #pieclex-custom-wrapper .single-img::before {
    padding-bottom: 120%;
  }
  
  #pieclex-custom-wrapper .product-list {
    flex-direction: column;
    gap: 12px;
  }
}