/* =============================================
   Neo craft - TOP Page Styles
============================================= */

.nc-about {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background-image: url('https://neocraft-test.daisuke0416.jp/wp-content/uploads/2026/05/Re-luster06.png');
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.nc-about__overlay {
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.02;
  transition: opacity 0.1s linear;
}

.nc-about__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 40px;
  color: #ffffff;
  text-align: center;
}

.nc-about__label {
  font-family: var(--font-en);
  font-size: clamp(15px, 1.8vw, 24px);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.7;
  display: block;
  margin-bottom: 90px;
}

.nc-about__catch {
  font-family: var(--font-jp-serif);
  font-size: clamp(34px, 5vw, 60px);
  font-weight:  300;
  line-height: 1.3;
  letter-spacing: 0.02em;
  margin-bottom: 120px;
  display: block;
  transform-origin: center center;
  will-change: transform;
}

.nc-about__body {
  font-family: var(--font-jp);
  font-size: clamp(16px, 1.8vw, 18px);
  font-weight: 200;
  line-height: 2.0;
  letter-spacing: 0.16em;
  display: block;
  transform-origin: center center;
  will-change: transform, opacity;
}

.nc-about__body p + p {
  margin-top: 2em;
}

.nc-about__btn-wrap {
  margin-top: 100px;
  display: flex;
  justify-content: center;
}

.nc-btn-outline {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 18px 40px;
  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 100px;
  color: #ffffff;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: 0.15em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
}

.nc-btn-outline:hover {
  background: #ffffff;
  color: #1a1a1a;
  transition: background 0.4s ease, color 0.4s ease;
}

.nc-btn-outline:hover * {
  color: #1a1a1a;
}

.nc-btn-outline__arrow {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.nc-btn-outline:hover .nc-btn-outline__arrow {
  transform: translateX(4px);
}

.nc-btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #ffffff;
  border-radius: 100px;
  transition: left 0.4s ease;
  z-index: -1;
}

.nc-btn-outline:hover::before {
  left: 0;
}

/* スマホ */
@media (max-width: 768px) {
  .nc-about {
    background-attachment: scroll;
    min-height: auto;
    overflow: hidden;
  }
  .nc-about__bg {
    position: absolute;
    inset: 0;
    background-image: url('https://neocraft-test.daisuke0416.jp/wp-content/uploads/2026/05/Re-luster06.png');
    background-size: cover;
    background-position: center;
    transform-origin: center center;
    will-change: transform;
    z-index: 0;
  }
  .nc-about__content {
    padding: 60px 28px;
  }
  .nc-about__label {
    font-size: 18px;
    margin-bottom: 32px;
  }
  .nc-about__catch {
    font-size: clamp(22px, 6.5vw, 30px);
    margin-bottom: 40px;
  }
  .nc-about__body {
    font-size: clamp(12px, 3.5vw, 15px);
  }
  .nc-about__btn-wrap {
    margin-top: 40px;
  }
}

/* =====================
   Salons / Re:luster Split Panel
===================== */

.nc-split-wrap {
  display: flex;
  width: 100%;
  min-height: 760px;
  font-family: 'Jost', sans-serif;
  position: relative; /* 追加 */
  z-index: 2; /* 追加 */
  background: #fff; /* 追加 */
}

.nc-split-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 80px 60px;
  border: 0.5px solid #e0ddd8;
  background: #fff;
  transition: border-color 0.5s ease, opacity 0.7s ease, transform 0.7s ease; /* opacity と transform を追加 */
}

.nc-split-panel + .nc-split-panel {
  border-left: none;
}

.nc-split-panel .bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.9s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.nc-split-panel .bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.25) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.nc-split-panel:hover .bg-img,
.nc-split-panel:hover .bg-overlay {
  opacity: 1;
}

.nc-split-panel:hover .bg-img {
  transform: scale(1);
}

.nc-split-panel:hover {
  border-color: transparent;
}

.nc-panel-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nc-panel-tag {
  display: inline-block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #bbb;
  border: 0.5px solid #ddd;
  padding: 4px 10px;
  margin-bottom: 24px;
  margin-left: 5%;
  transition: color 0.5s ease, border-color 0.5s ease;
}

.nc-split-panel:hover .nc-panel-tag {
  color: rgba(255, 255, 255, 0.6);
  border-color: rgba(255, 255, 255, 0.3);
}

.nc-panel-label {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #333;
  line-height: 1.1;
  margin-bottom: 40px;
  margin-left: 5%;
  transition: color 0.5s ease;
}

.nc-split-panel:hover .nc-panel-label {
  color: #fff;
}

.nc-oval-img-wrap {
  width: 100%;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  transition: opacity 0.5s ease;
}

.nc-split-panel:hover .nc-oval-img-wrap {
  opacity: 0;
  pointer-events: none;
}

.nc-oval-img {
  width: 90%;
  aspect-ratio: 1.6 / 1;
  border-radius: 999px;
  overflow: hidden;
  background: #f0ede8;
}

.nc-oval-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.nc-panel-desc {
  display: block;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #888;
  line-height: 2.1;
  max-width: 100%;
  margin-bottom: 36px;
  margin-left: 5%;
  transition: color 0.5s ease;
}

.nc-split-panel:hover .nc-panel-desc {
  color: rgba(255, 255, 255, 0.82);
}

.nc-panel-arrow {
  display: inline-flex;
  align-items: center;
  font-family: 'Cormorant Garamond', serif;
  gap: 6px;
  margin-top: 28px;
  margin-left: 5%;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #555;
  transition: color 0.5s ease, gap 0.3s ease;
}

.nc-panel-arrow svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s ease;
}

.nc-split-panel:hover .nc-panel-arrow {
  color: rgba(255, 255, 255, 0.7);
  gap: 10px;
}

.nc-split-panel:hover .nc-panel-arrow svg {
  transform: translateX(3px);
}





@media (max-width: 768px) {
  .nc-split-wrap {
    flex-direction: column;
    min-height: auto;
  }
  .nc-split-panel {
    padding: 60px 36px;
    border-left: 0.5px solid #e0ddd8 !important;
  }
  .nc-split-panel + .nc-split-panel {
    border-top: none;
  }
}


/* =====================
   Hair Catalog セクション
===================== */
.nc-hair-catalog-wrap {
  position: relative;
  width: 100%;
  height: 200vh;
}

.nc-gallery {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  background: #f1f1f1;
  overflow: hidden;
  z-index: 0;
  margin-top: -100vh;
}

.nc-gallery__track-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.nc-gallery__track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  will-change: transform;
}

.nc-gallery__item {
  position: absolute;
  transform-origin: center center;
  overflow: hidden; /* 追加：ズームがはみ出さないよう */
}

.nc-gallery__item img {
  display: block;
  object-fit: cover;
  border-radius: 0;
  filter: brightness(0.9);
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease, filter 0.5s ease; /* 追加 */
}

.nc-gallery__item:hover img {
  transform: scale(1.06); /* ホバーで少しズーム */
  filter: brightness(1);
}

.nc-hair-catalog-section {
  position: relative;
  z-index: 1;
  height: 100vh;
  pointer-events: none;
}

.nc-hair-catalog-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-en);
  font-size: clamp(59px, 10vw, 130px);
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1px #1a1a1a;
  white-space: nowrap;
  z-index: 0;
}

.nc-hair-catalog-copy {
  position: absolute;
  bottom: 60px;
  left: 60px;
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 300;
  letter-spacing: 0.08em;
  color: #555;
  line-height: 2.0;
}

.nc-hair-catalog-btn {
  position: absolute;
  bottom: 60px;
  right: 60px;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 120px;
  text-decoration: none;
}

.nc-hair-catalog-btn:hover {
  letter-spacing: 0.3em;
}

.nc-news {
  position: relative;
  z-index: 2;
  background: #fff;
}

/* HAIR CATALOG テキスト：1文字ずつホバーで跳ねる */
.nc-hair-catalog-title {
  cursor: default;
  pointer-events: auto; /* 追加 */
}

.nc-hair-catalog-title .char {
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nc-hair-catalog-title .char:hover {
  transform: translateY(-8px);
}


/* Hair Catalog View More ボタンのホバーアニメーション */
.nc-hair-catalog-btn:hover .nc-news__more-circle {
  background: #1a1a1a;
}

.nc-hair-catalog-btn:hover .nc-news__more-text textPath {
  fill: #fff;
}

.nc-hair-catalog-btn:hover .nc-news__more-arrow {
  color: #fff;
  transform: translateX(3px);
}



@media (max-width: 768px) {
  .nc-hair-catalog-wrap {
    position: relative;
    height: 80vh;
  }

  .nc-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin-top: 0;
    z-index: 0;
  }

  .nc-gallery__track-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }

  .nc-hair-catalog-section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    margin-top: 0;
  }

  .nc-hair-catalog-title {
    font-size: clamp(90px, 10vw, 120px);
    white-space: normal;
    text-align: center;
    width: 80%;
    line-height: 1.3;
  }

  .nc-hair-catalog-copy {
    display: none;
  }

  .nc-hair-catalog-btn {
    bottom: 48px;
    right: 28px;
    font-size: 12px;
  }
}