/* ==========================================
   Amour et Pattes
   LP Standard / Heading / Decoration / Layout
========================================== */


/* ==========================================
   INTRO
========================================== */

.ap-brand-heading {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 56px 30px 38px;
  box-sizing: border-box;
  text-align: center;
  color: #4f4b47;
}


/* ------------------------------------------
   INTRO 上部コピー
------------------------------------------ */

.ap-brand-heading__lead {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 400;
  letter-spacing: 0.10em;
  color: #67615b;
}

.ap-brand-heading__lead::before,
.ap-brand-heading__lead::after {
  content: "";
  display: block;
  width: 70px;
  height: 1px;
  background: #b9aa94;
}

.ap-brand-heading__lead::before {
  margin-right: 22px;
}

.ap-brand-heading__lead::after {
  margin-left: 22px;
}


/* ------------------------------------------
   INTRO メインタイトル
------------------------------------------ */

.ap-brand-heading__title {
  margin: 0 0 20px;
  font-size: 54px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.025em;
  color: #4b4844;
  white-space: nowrap;
}

.ap-brand-heading__title span {
  display: inline;
  margin-left: 16px;
  font-size: 26px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #625d57;
}

.ap-brand-heading__title::after {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin: 24px auto 0;
  background: #b9aa94;
}

.ap-brand-heading__copy {
  max-width: 760px;
  margin: 0 auto;
}


/* ==========================================
   DEBUT PHOTO GALLERY
========================================== */

.ap-debut-gallery {
  width: 100%;
  margin: 0 auto;
  padding: 0 0 58px;
  overflow: hidden;
}

.ap-debut-gallery__track {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 4px;
  width: 100%;
  margin: 0 auto;
}

.ap-debut-gallery__item {
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
}

.ap-debut-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.45s ease;
}

@media screen and (min-width: 768px) {
  .ap-debut-gallery__item:hover img {
    transform: scale(1.035);
  }
}


/* ==========================================
   SECTION COMMON
========================================== */

.ap-section-heading {
  position: relative;
  width: 100%;
  margin: 0 auto 30px;
  padding-top: 56px;
  text-align: center;
}

.ap-section-heading::before {
  content: "";
  position: absolute;
  top: 36px;
  left: 50%;
  width: 42px;
  height: 1px;
  transform: translateX(-50%);
  background: #b9aa94;
}


/* 英字サブ見出し
   H2化に合わせてPCは少し大きめ */
.ap-section-en {
  margin: 0 0 10px;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 0.24em;
  color: #978671;
}


/* ==========================================
   CATALOG
========================================== */

.ap-catalog-button {
  padding: 14px 0 54px;
  text-align: center;
}


/* ==========================================
   ABOUT
========================================== */

.ap-section-heading--about {
  margin-bottom: 22px;
}

.ap-section-heading--about heading-2-petemo {
  display: block;
  margin-top: 4px;
}

.ap-about-copy {
  position: relative;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 12px 70px 58px;
  box-sizing: border-box;
}

.ap-about-copy::before,
.ap-about-copy::after {
  content: "";
  position: absolute;
  top: 12%;
  width: 1px;
  height: 72%;
  background: linear-gradient(
    to bottom,
    rgba(185, 170, 148, 0),
    rgba(185, 170, 148, 0.55),
    rgba(185, 170, 148, 0)
  );
}

.ap-about-copy::before {
  left: 16px;
}

.ap-about-copy::after {
  right: 16px;
}


/* ==========================================
   THE AP STANDARD
   3 CARDS
========================================== */

.ap-standard-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 0 58px;
  box-sizing: border-box;
}


/* ------------------------------------------
   CARD
------------------------------------------ */

.ap-standard-card {
  position: relative;
  padding: 38px 32px 40px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 14px;
  box-shadow:
    0 4px 12px rgba(70, 55, 45, 0.04),
    0 12px 30px rgba(70, 55, 45, 0.06);
  text-align: center;
  overflow: hidden;

  opacity: 0;
  transform: translateY(18px);
  animation: ap-card-in 0.7s ease forwards;
}


/* 左 → 中央 → 右 の順で表示 */

.ap-standard-card:nth-child(1) {
  animation-delay: 0.05s;
}

.ap-standard-card:nth-child(2) {
  animation-delay: 0.20s;
}

.ap-standard-card:nth-child(3) {
  animation-delay: 0.35s;
}


/* ------------------------------------------
   NUMBER
------------------------------------------ */

.ap-standard-card__number {
  margin-bottom: 16px;
  color: #b3a18d;
  font-size: 14px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: 0.20em;
}


/* ------------------------------------------
   ENGLISH TITLE
------------------------------------------ */

.ap-standard-card__title {
  margin: 0 0 10px;
  color: #4b4844;
  font-size: 22px;
  line-height: 1.35;
  font-weight: 500;
  letter-spacing: 0.02em;
}


/* ------------------------------------------
   JAPANESE SUBTITLE
------------------------------------------ */

.ap-standard-card__sub {
  margin: 0;
  color: #625d57;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 600;
  letter-spacing: 0.06em;
}


/* ------------------------------------------
   DECORATION LINE
------------------------------------------ */

.ap-standard-card__line {
  width: 30px;
  height: 1px;
  margin: 22px auto;
  background: #c7b9a8;
}


/* ------------------------------------------
   BODY COPY
------------------------------------------ */

.ap-standard-card__text {
  margin: 0;
  color: #4f4b47;
  font-size: 15px;
  line-height: 2;
  font-weight: 400;
}


/* ------------------------------------------
   PC HOVER
------------------------------------------ */

@media screen and (min-width: 768px) {

  .ap-standard-card {
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
  }

  .ap-standard-card:hover {
    transform: translateY(-4px);
    box-shadow:
      0 6px 16px rgba(70, 55, 45, 0.06),
      0 16px 36px rgba(70, 55, 45, 0.09);
  }
}


/* ------------------------------------------
   CARD ANIMATION
------------------------------------------ */

@keyframes ap-card-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* ==========================================
   WHERE TO BUY
========================================== */

.ap-shop-copy {
  width: 100%;
  max-width: 760px;
  margin: 0 auto 26px;
  text-align: center;
}


/* ==========================================
   SP
========================================== */

@media screen and (max-width: 767px) {

  /* ------------------------------------------
     INTRO
  ------------------------------------------ */

  .ap-brand-heading {
    padding: 38px 16px 30px;
  }

  .ap-brand-heading__lead {
    margin-bottom: 20px;
    font-size: 11px;
    line-height: 1.7;
    letter-spacing: 0.04em;
  }

  .ap-brand-heading__lead::before,
  .ap-brand-heading__lead::after {
    width: 18px;
  }

  .ap-brand-heading__lead::before {
    margin-right: 7px;
  }

  .ap-brand-heading__lead::after {
    margin-left: 7px;
  }

  .ap-brand-heading__title {
    margin-bottom: 18px;
    font-size: 29px;
    line-height: 1.3;
    letter-spacing: 0.01em;
  }

  .ap-brand-heading__title span {
    margin-left: 5px;
    font-size: 15px;
    letter-spacing: 0.03em;
  }

  .ap-brand-heading__title::after {
    width: 32px;
    margin-top: 18px;
  }


  /* ------------------------------------------
     PHOTO GALLERY
  ------------------------------------------ */

  .ap-debut-gallery {
    padding-bottom: 38px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .ap-debut-gallery::-webkit-scrollbar {
    display: none;
  }

  .ap-debut-gallery__track {
    justify-content: flex-start;
    align-items: flex-start;
    width: max-content;
    margin: 0;
    padding: 0 14px;
  }

  .ap-debut-gallery__item {
    flex: 0 0 68vw;
    width: auto;
    max-width: 270px;
  }

  .ap-debut-gallery__item + .ap-debut-gallery__item {
    margin-left: 8px;
  }

  .ap-debut-gallery__item img {
    width: 100%;
    height: auto;
  }


  /* ------------------------------------------
     SECTION
  ------------------------------------------ */

  .ap-section-heading {
    margin-bottom: 22px;
    padding-top: 44px;
  }

  .ap-section-heading::before {
    top: 27px;
    width: 32px;
  }

  .ap-section-en {
    margin-bottom: 8px;
    font-size: 11px;
    letter-spacing: 0.18em;
  }


  /* ------------------------------------------
     CATALOG
  ------------------------------------------ */

  .ap-catalog-button {
    padding: 10px 0 40px;
  }


  /* ------------------------------------------
     ABOUT
  ------------------------------------------ */

  .ap-about-copy {
    padding: 4px 12px 42px;
  }

  .ap-about-copy::before,
  .ap-about-copy::after {
    display: none;
  }


  /* ------------------------------------------
     THE AP STANDARD
  ------------------------------------------ */

  .ap-standard-cards {
    display: block;
    padding: 4px 16px 42px;
  }

  .ap-standard-card {
    width: 100%;
    margin-bottom: 18px;
    padding: 32px 24px 34px;
    border-radius: 12px;
  }

  .ap-standard-card:last-child {
    margin-bottom: 0;
  }

  .ap-standard-card__number {
    margin-bottom: 13px;
    font-size: 12px;
  }

  .ap-standard-card__title {
    font-size: 20px;
  }

  .ap-standard-card__sub {
    font-size: 15px;
  }

  .ap-standard-card__line {
    margin: 18px auto;
  }

  .ap-standard-card__text {
    font-size: 14px;
    line-height: 1.9;
  }


  /* ------------------------------------------
     WHERE TO BUY
  ------------------------------------------ */

  .ap-shop-copy {
    margin-bottom: 20px;
    padding: 0 16px;
    box-sizing: border-box;
  }

}


/* ==========================================
   アニメーションを減らす設定
========================================== */

@media (prefers-reduced-motion: reduce) {

  .ap-standard-card {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

}
