@charset "utf-8";

/* =========================
   base
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #EFF7FF;
  color: #ffffff;
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

/* LP内だけに効かせる */
.nightwear-lp img {
  display: block;
  max-width: 100%;
  height: auto;
}

.nightwear-lp a {
  text-decoration: none;
  color: inherit;
}

.nightwear-lp {
  padding: 0 0 80px;
}

/* 共通CSSの main padding-top を打ち消す */
main.nightwear-lp {
  padding-top: 0;
}

/* =========================
   common width
========================= */
.lp-fv,
.lp-intro,
.lp-point,
.lp-product {
  width: 100%;
}

.lp-fv__inner,
.lp-intro__inner,
.lp-point__inner,
.lp-product__inner {
  width: min(100%, 800px);
  margin: 0 auto;
  margin-top: 100px;
}

/* =========================
   FV
========================= */
.lp-fv {
  margin-top: 0;
}

.lp-fv__inner img,
.lp-fv__inner picture {
  display: block;
  width: 100%;
}

/* =========================
   bubble
========================= */
.bubble {
  position: relative;
  width: 220px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

.bubble--blue {
  background: url("/nightwear/img/haikeiao.png") no-repeat center / contain;
}

.bubble--pink {
  background: url("/nightwear/img/haikeipink.png") no-repeat center / contain;
}

.bubble p {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 24px;
  text-align: center;
  font-size: 12px;
  line-height: 1.7;
  color: #ffffff;
  word-break: keep-all;
  overflow-wrap: normal;
}

/* =========================
   Intro
========================= */
.lp-intro {
  padding-top: 34px;
}

.lp-intro__inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  align-items: center;
  gap: 40px;
}

.lp-intro__bubble {
  justify-self: start;
}

.lp-intro__photo {
  width: 300px;
  aspect-ratio: 1 / 1;
  justify-self: end;
  position: relative;
}

.lp-intro__photo::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 82%;
  height: 82%;
  background: #cfd5f1;
  z-index: 0;
}

.lp-intro__photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* =========================
   Point
========================= */
.lp-point {
  padding-top: 44px;
}

.lp-point__inner {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: center;
  gap: 44px;
}

.lp-point__patch {
  width: 240px;
  aspect-ratio: 1 / 1;
  justify-self: start;
  position: relative;
}

.lp-point__patch::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 100%;
  height: 100%;
  background: #f6a6b7;
  z-index: 0;
}

.lp-point__patch img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lp-point__text {
  justify-self: end;
}

.lp-point__text p {
  font-size: 12px;
  line-height: 1.65;
}
  /* 吹き出し */
  .lp-point__text {
    width: 170px;
    justify-self: end;
    align-self: end;
    margin-top: 40px; /* ← これで下に落とす */
  }

  .lp-point__text p {
    font-size: 10px;
    line-height: 1.55;
  }

}

/* =========================
   Product
========================= */
.lp-product {
  padding-top: 48px;
}

.lp-product__card {
  background: #cfd5f1;
  padding: 40px 42px 42px;
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 20px 20px;
  align-items: center;
}

.lp-product__left {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lp-product__slider {
  width: 100%;
  display: grid;
  grid-template-columns: 24px 1fr 24px;
  align-items: center;
  gap: 10px;
}

.lp-product__arrow {
  border: 0;
  background: transparent;
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.lp-product__image {
  position: relative;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1.18;
  margin: 0 auto;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.lp-product__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.lp-product__image img.is-active {
  opacity: 1;
}

.lp-product__dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}

.lp-product__dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.lp-product__dots span.is-active {
  background: #ffffff;
}

.lp-product__info {
  width: 100%;
  color: #ffffff;
  align-self: center;
}

.lp-product__lead {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.9;
  text-align: left;
}

.lp-product__spec {
  margin: 0 0 22px;
}

.lp-product__spec div {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  margin-bottom: 8px;
}

.lp-product__spec dt,
.lp-product__spec dd {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

.lp-product__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 48px;
  background: #ff7f97;
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.lp-product__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.2);
  filter: brightness(1.05);
}

.lp-product__detail {
  grid-column: 1 / -1;
  width: min(100%, 640px);
  margin: 6px auto 0;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.lp-product__detail-title {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 700;
  color: #ffffff;
}

.lp-product__detail-list {
  margin: 0;
}

.lp-product__detail-list div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 12px;
  margin-bottom: 12px;
}

.lp-product__detail-list dt,
.lp-product__detail-list dd {
  margin: 0;
  color: #ffffff;
  font-size: 13px;
  line-height: 1.8;
}

.lp-product__detail-list dt {
  font-weight: 700;
}

/* =========================
   tablet
========================= */
@media screen and (max-width: 1024px) {
  .lp-product__card {
    padding: 40px 40px 42px;
    grid-template-columns: 340px 1fr;
    gap: 20px 24px;
  }

  .lp-product__image {
    max-width: 300px;
  }
}

/* =========================
   SP
========================= */
@media screen and (max-width: 767px) {
  body {
    background: #EFF7FF;
  }

  .nightwear-lp {
    padding: 0 10px 56px;
  }

  .bubble {
    width: 180px;
  }

  .bubble p {
    padding: 18px 16px;
    font-size: 10px;
    line-height: 1.6;
  }

  .lp-intro {
    padding-top: 18px;
  }

  .lp-intro__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .lp-intro__bubble {
    order: 2;
    width: 180px;
    align-self: center;
  }

  .lp-intro__photo {
    order: 1;
    width: 250px;
    aspect-ratio: 1 / 1;
    justify-self: center;
  }

  .lp-intro__photo::after {
    right: -10px;
    bottom: -10px;
    width: 82%;
    height: 82%;
  }

  .lp-point {
    padding-top: 28px;
  }

  .lp-point__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
  }

  .lp-point__patch {
    order: 1;
    width: 250px;
    aspect-ratio: 1 / 1;
    position: relative;
    align-self: center;
  }

  .lp-point__patch::after {
    content: "";
    position: absolute;
    right: -10px;
    bottom: -10px;
    width: 82%;
    height: 82%;
    background: #f6a6b7;
    z-index: 0;
  }

  .lp-point__patch img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .lp-point__text {
    order: 2;
    width: 180px;
    align-self: center;
  }

  .lp-point__text p {
    font-size: 10px;
    line-height: 1.55;
    text-align: center;
  }

  .lp-product {
    padding-top: 28px;
  }

  .lp-product__card {
    padding: 18px 12px 22px;
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .lp-product__left {
    width: 100%;
    margin: 0 auto;
  }

  .lp-product__slider {
    max-width: 290px;
    margin: 0 auto;
    grid-template-columns: 14px 1fr 14px;
    gap: 4px;
  }

  .lp-product__arrow {
    font-size: 12px;
  }

  .lp-product__image {
    max-width: 300px;
  }

  .lp-product__image img {
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .lp-product__dots {
    margin-top: 6px;
    gap: 4px;
  }

  .lp-product__dots span {
    width: 4px;
    height: 4px;
  }

  .lp-product__info {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .lp-product__lead {
    max-width: 270px;
    margin: 0 0 14px;
    font-size: 11px;
    line-height: 1.8;
    text-align: center;
  }

  .lp-product__spec {
   width: fit-content;   /* ← ブロック幅を内容に合わせる */
  margin: 0 auto;       /* ← 中央配置 */
  text-align: left;     /* ← 文字は左揃え */
  align-items: flex-start;
  }

  .lp-product__spec div {
    display: grid;
  grid-template-columns: 48px auto;
  column-gap: 10px;
  justify-content: start;  /* ← 左基準にする */
  }

  .lp-product__spec dt,
  .lp-product__spec dd {
    margin: 0;
    font-size: 10px;
    line-height: 1.7;
    white-space: nowrap;
  }

  .lp-product__spec dt {
    text-align: right;
    font-weight: 700;
  }

  .lp-product__spec dd {
    text-align: left;
  }

  .lp-product__btn {
    width: 200px;
    min-height: 32px;
    font-size: 10px;
    margin: 14px auto 0;
  }

  .lp-product__detail {
    width: 100%;
    margin-top: 0;
    padding-top: 16px;
  }

  .lp-product__detail-title {
    font-size: 12px;
    margin-bottom: 10px;
  }

  .lp-product__detail-list div {
    grid-template-columns: 56px 1fr;
    gap: 8px;
    margin-bottom: 10px;
  }

  .lp-product__detail-list dt,
  .lp-product__detail-list dd {
    font-size: 9px;
    line-height: 1.7;
  }
}

.back {
  margin-top: 30px;
}