@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Noto+Sans+JP:wght@700&display=swap");

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --lp-nav-overlap: 112px;
  --lp-font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --lp-font-en: "Figtree", "Helvetica Neue", Arial, sans-serif;
}

body {
  color: #4C4C4C;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

@media screen and (max-width: 767px) {
  html {
    font-size: 2.6666666667vw;
  }
}

.sp {
  display: none;
}

.pc {
  display: block;
}

@media screen and (max-width: 767px) {
  .sp {
    display: block;
  }

  .pc {
    display: none;
  }
}

.lp-main {
  margin-top: 120px;
}

@media screen and (max-width: 767px) {
  .lp-main {
    margin-top: 80px;
  }

  .lp-section {
    scroll-margin-top: 40px !important;
  }
}

.lp-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.lp-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}

.lp-section {
  scroll-margin-top: 120px;
}

.lp-section--nav {
  position: relative;
  background: transparent;
  padding-bottom: 140px;
  background: #fff;
}

.lp-section--nav__panel {
  position: relative;
  z-index: 2;
}

.lp-section--nav__arc {
  position: relative;
  width: 100%;
  line-height: 0;
  background-color: #F4F4F4;
  overflow: visible;
}

.lp-section--nav__arc::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: #fff;
  pointer-events: none;
}

.lp-section--nav__arc picture {
  display: block;
  width: 100%;
}

.lp-section--nav__arc-image {
  display: block;
  width: 100%;
  height: auto;
}

/* セクション区切りの装飾 — 中央から各位置へ広がる */
.lp-section-deco {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}

.lp-section-deco__side {
  position: absolute;
  inset: 0;
}

.lp-section-deco__item {
  position: absolute;
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0;
  will-change: transform, opacity;
  transform: translate(var(--deco-start-x, 0px), var(--deco-start-y, 0px)) scale(0.65);
  transition:
    transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.7s ease;
}

.lp-section-deco.is-inview .lp-section-deco__item {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

/* 各アイテムの位置・サイズ — 1440px基準。1440以上はpx上限で固定、未満はvwで外側比率を維持 */
/* 緑丸 */
.lp-section-deco__item--01 {
  bottom: 0;
  left: min(10.694vw, 154px);
  width: min(1.389vw, 20px);
  height: min(1.389vw, 20px);
  transition-delay: 0s;
}
/* 青ギザギザ */
.lp-section-deco__item--02 {
  top: min(1.667vw, 24px);
  left: min(18.472vw, 266px);
  width: min(4.861vw, 70px);
  height: min(4.653vw, 67px);
  transition-delay: 0.1s;
}
/* 赤三角 */
.lp-section-deco__item--03 {
  top: 68%;
  left: min(28.194vw, 406px);
  width: min(2.5vw, 36px);
  height: min(2.569vw, 37px);
  transition-delay: 0.2s;
}
/* 黄色四角 */
.lp-section-deco__item--04 {
  top: min(5.556vw, 80px);
  right: min(25.625vw, 369px);
  width: min(3.819vw, 55px);
  height: min(3.819vw, 55px);
  transition-delay: 0.08s;
}
.lp-section-deco--category .lp-section-deco__item--04 {
  top: min(5.556vw, 72px);
}
/* 緑丸 */
.lp-section-deco__item--05 {
  top: min(13.889vw, 200px);
  right: min(19.444vw, 280px);
  width: min(1.667vw, 24px);
  height: min(1.667vw, 24px);
  transition-delay: 0.18s;
}

@media (prefers-reduced-motion: reduce) {
  .lp-section-deco__item {
    opacity: 1;
    transform: none !important;
    transition: none;
  }
}

.lp-section--nav__panel .lp-container {
  position: relative;
  z-index: 2;
}

/* Anchor Nav */
.lp-anchor-nav__header {
  position: relative;
  margin-bottom: 30px;
  margin-top: -50px;
  text-align: center;
}

.lp-anchor-nav__lead {
  margin-bottom: 8px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1;
  color: #4C4C4C;
}

.lp-anchor-nav__title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.5;
  color: #4C4C4C;
}

.lp-anchor-nav__list {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 30px;
  list-style: none;
}

.lp-anchor-nav__item {
  display: flex;
  flex: 0 1 140px;
  max-width: 140px;
}

.lp-anchor-nav__link {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  width: 100%;
  gap: 12px;
  color: #4C4C4C;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: color 0.2s;
}

.lp-anchor-nav__thumb {
  position: relative;
  display: block;
  width: 140px;
  height: 140px;
  border: none;
  border-radius: 50%;
}

/* 枠線が一周して溜まるリング */
.lp-anchor-nav__ring {
  position: absolute;
  inset: -5px;
  z-index: 1;
  width: calc(100% + 10px);
  height: calc(100% + 10px);
  pointer-events: none;
  overflow: visible;
  transform: rotate(-90deg);
}

.lp-anchor-nav__ring-circle {
  fill: none;
  stroke: #DA1D33;
  stroke-width: 3.4;
  stroke-linecap: round;
  stroke-dasharray: 100 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 0.7s cubic-bezier(0.33, 0, 0.2, 1);
}

.lp-anchor-nav__thumb picture {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
  position: relative;
  z-index: 0;
}

.lp-anchor-nav__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.45s cubic-bezier(0.33, 0, 0.2, 1);
  will-change: transform;
}

.lp-anchor-nav__label {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 700;
  white-space: nowrap;
  min-height: calc(1.5em * 2);
}

.lp-anchor-nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-top: auto;
  border-radius: 50%;
  background: #4C4C4C;
  line-height: 0;
  transition: background-color 0.2s;
}

.lp-anchor-nav__icon-svg {
  display: block;
  width: 10px;
  height: 10px;
}

.lp-anchor-nav__link:hover,
.lp-anchor-nav__link:focus-visible {
  color: #DA1D33;
}

.lp-anchor-nav__link:hover .lp-anchor-nav__ring-circle,
.lp-anchor-nav__link:focus-visible .lp-anchor-nav__ring-circle {
  stroke-dashoffset: 0;
}

.lp-anchor-nav__link:hover .lp-anchor-nav__image,
.lp-anchor-nav__link:focus-visible .lp-anchor-nav__image {
  transform: scale(1.08);
}

.lp-anchor-nav__link:hover .lp-anchor-nav__icon,
.lp-anchor-nav__link:focus-visible .lp-anchor-nav__icon {
  background: #DA1D33;
}

.lp-anchor-nav__link:focus-visible {
  outline: 2px solid #4d96ff;
  outline-offset: 4px;
  border-radius: 8px;
}

.lp-heading {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 700;
  text-align: center;
}

/* Category section */
.lp-category {
  padding: 150px 0 120px;
  background: #f4f4f4;
  overflow-x: clip;
}

/* 白背景カテゴリ — 上部にナビ同様の区切り装飾 */
.lp-category--white {
  position: relative;
  background: #fff;
}

.lp-category__deco-band {
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  height: 200px;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.lp-category--white > .lp-container,
.lp-category--white > .lp-category-slider {
  position: relative;
  z-index: 2;
}

.lp-category__header {
  margin-bottom: 60px;
  text-align: center;
}

.lp-category__title {
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: #4C4C4C;
}

.lp-category__title-dot.pc {
  display: inline-flex;
}

@media screen and (max-width: 767px) {
  .lp-category__title-dot.pc {
    display: none;
  }
}

.lp-category__label {
  margin-top: 10px;
  line-height: 1;
  text-align: center;
  color: #DA1D33;
  font-family: Figtree, sans-serif;
  font-weight: 600;
  font-size: 15px;
}

.lp-category__label-image {
  display: block;
  width: 113px;
  margin: 0 auto;
}

.lp-category-slider {
  --lp-category-slide-width: 940px;
  --lp-category-slide-gap: 30px;
  width: 100%;
}

.lp-category-slider__viewport {
  overflow: hidden;
  width: 100%;
  cursor: grab;
  touch-action: pan-y;
}

.lp-category-slider__viewport.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.lp-category-slider__track {
  display: flex;
  gap: var(--lp-category-slide-gap);
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.45s ease;
  will-change: transform;
}

.lp-category-slider__slide {
  flex: 0 0 var(--lp-category-slide-width);
}

/*
 * 今風カルーセル（隣が見える + 中央強調）
 * 有効化: HTML の .lp-category-slider に .lp-category-slider--modern を付与
 * 戻す:   .lp-category-slider--modern を外すだけ（既存見た目に戻る）
 */
.lp-category-slider--modern {
  --lp-category-slide-width: min(860px, 72vw);
  --lp-category-slide-gap: 24px;
}

.lp-category-slider--modern .lp-category-slider__viewport {
  overflow: hidden;
  padding: 12px 0 28px;
}

.lp-category-slider--modern .lp-category-slider__track {
  transition: transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
  align-items: center;
}

.lp-category-slider--modern .lp-category-slider__slide {
  opacity: 0.42;
  transform: scale(0.9);
  transition:
    opacity 0.55s cubic-bezier(0.33, 0, 0.2, 1),
    transform 0.55s cubic-bezier(0.33, 0, 0.2, 1);
}

.lp-category-slider--modern .lp-category-slider__slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.lp-category-slider--modern .lp-category-slider__slide:not(.is-active) .lp-category-card__title,
.lp-category-slider--modern .lp-category-slider__slide:not(.is-active) .lp-category-card__desc {
  opacity: 0.4;
  transition: opacity 0.45s ease;
}

.lp-category-slider--modern .lp-category-card__title,
.lp-category-slider--modern .lp-category-card__desc {
  transition: opacity 0.45s ease;
}

.lp-category-slider--modern .lp-category-card__figure {
  transition: box-shadow 0.55s cubic-bezier(0.33, 0, 0.2, 1);
}

.lp-category-slider--modern .lp-category-slider__slide.is-active .lp-category-card__figure {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  .lp-category-slider--modern .lp-category-slider__track,
  .lp-category-slider--modern .lp-category-slider__slide,
  .lp-category-slider--modern .lp-category-card__figure,
  .lp-category-slider--modern .lp-category-card__title,
  .lp-category-slider--modern .lp-category-card__desc {
    transition: none;
  }
}

.lp-category-card {
  text-align: left;
}

.lp-category-card__figure {
  overflow: hidden;
  margin: 0 0 20px;
  border-radius: 16px;
  background: #e8eaee;
}

.lp-category-card__image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 940 / 450;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
}

.lp-category-card__title {
  margin-bottom: 5px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
}

/* 七五三タイトル色 */
.lp-category-card__title--753-idol {
  color: #F36BA8;
}

.lp-category-card__title--753-casual-latte {
  color: #7F4A32;
}

.lp-category-card__title--753-vitamin-pop {
  color: #FF9A4A;
}

.lp-category-card__title--753-fancy {
  color: #BC68B8;
}

.lp-category-card__title--753-garden {
  color: #34AFD8;
}

.lp-category-card__title--753-traditional {
  color: #0D2251;
}

.lp-category-card__title--753-princess-prince {
  color: #E453AF;
}

.lp-category-card__title--753-pale-snow {
  color: #C78FD3;
}

.lp-category-card__title--753-milk-tea-beige {
  color: #6F4E24;
}

.lp-category-card__title--753-modern {
  color: #749E13;
}

.lp-category-card__title--753-retro {
  color: #C61712;
}

.lp-category-card__title--753-one-tone {
  color: #4C4C4C;
}

/* お宮参り・百日祝いタイトル色 */
.lp-category-card__title--omiya-nuance-fleur {
  color: #B49CD8;
}

.lp-category-card__title--omiya-pure-snow {
  color: #939393;
}

.lp-category-card__title--omiya-garden {
  color: #34AFD8;
}

.lp-category-card__title--omiya-traditional {
  color: #0D2251;
}

.lp-category-card__title--omiya-princess-prince {
  color: #E453AF;
}

.lp-category-card__title--omiya-pale-snow {
  color: #C78FD3;
}

.lp-category-card__title--omiya-modern {
  color: #749E13;
}

.lp-category-card__title--omiya-retro {
  color: #C61712;
}

/* セレモニー（入園入学・卒園卒業）タイトル色 */
.lp-category-card__title--ceremony-entrance-sweet {
  color: #269EDA;
}

.lp-category-card__title--ceremony-entrance-bitter {
  color: #153576;
}

.lp-category-card__title--ceremony-preschool {
  color: #FA89A7;
}

.lp-category-card__title--ceremony-graduation {
  color: #52B3C5;
}

/* ハーフバースデー・1歳バースデータイトル色 */
.lp-category-card__title--birthday-vintage {
  color: #AB805E;
}

.lp-category-card__title--birthday-colorful-pop {
  color: #FF9015;
}

.lp-category-card__title--birthday-dreamy {
  color: #CB8EDD;
}

.lp-category-card__title--birthday-garden {
  color: #34AFD8;
}

.lp-category-card__title--birthday-pale-snow {
  color: #C78FD3;
}

.lp-category-card__title--birthday-monotone {
  color: #4C4C4C;
}

/* その他の撮影タイトル色 */
.lp-category-card__title--other-casual-blue {
  color: #2D3E5C;
}

.lp-category-card__title--other-formal-white {
  color: #999999;
}

.lp-category-card__title--other-momo-sekku {
  color: #FF5971;
}

.lp-category-card__title--other-tango-sekku {
  color: #39A631;
}

.lp-category-card__desc {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
  color: #4C4C4C;
}

.lp-category-slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.lp-category-slider__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: border-color 0.2s, opacity 0.2s;
  background-color: transparent;
}

.lp-category-slider__btn:hover {
  border-color: #999;
}

.lp-category-slider__btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.lp-category-slider__btn-icon {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.lp-category-slider__counter {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 80px;
  justify-content: center;
  font-family: var(--lp-font-en);
  font-size: 14px;
  color: #999;
}

.lp-category-slider__current,.lp-category-slider__total  {
  font-size: 24px;
  font-weight: 600;
  color: #4C4C4C;
}

.lp-category-slider__sep {
  font-size: 20px;
  color: #4C4C4C;
  transform: translateY(-2px);
}

.lp-category__cta {
  display: flex;
  margin: 0 auto;
  justify-content: center;
  align-items: center;
  margin-top: 60px;
  text-align: center;
  gap: 30px;
}

.lp-category__cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 27px;
  min-width: 380px;
  min-height: 71px;
  padding: 16px 30px 16px 50px;
  border: 2px solid #4C4C4C;
  border-radius: 15px;
  background: #fff;
  line-height: 1.2;
  color: #4C4C4C;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 4px 4px 0 0 #4C4C4C;
  transform: translate(0, 0);
  transition:
    box-shadow 0.3s cubic-bezier(0.33, 0, 0.2, 1),
    transform 0.3s cubic-bezier(0.33, 0, 0.2, 1);
}

.lp-category__cta-link:hover {
  box-shadow: 0 0 0 0 #4C4C4C;
  transform: translate(4px, 4px);
}

.lp-category__cta-link:active {
  box-shadow: 0 0 0 0 #4C4C4C;
  transform: translate(4px, 4px);
}

.lp-category__cta-icon {
  display: block;
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  object-fit: contain;
}

/* Hero block — hero + nav 共通背景 */
.lp-hero-block {
  position: relative;
  overflow: hidden;
  background: #F4F4F4;
}

/* Hero */
.lp-hero {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-bottom: var(--lp-nav-overlap);
  background: transparent;
}

.lp-hero::before {
  display: none;
}

.lp-hero__container {
  position: relative;
  z-index: 1;
  --lp-hero-z-visual: 1;
  --lp-hero-z-overlay: 4;
  --lp-hero-z-deco: 5;
  --lp-hero-z-title: 10;
  max-width: 1014px;
  margin: 0 auto;
  padding: 40px 0 0 0;
}

/* 画像エリア（左）＋タイトル／説明（右） */
.lp-hero__main {
  --lp-hero-visual-width: 420px;
  display: grid;
  grid-template-columns: var(--lp-hero-visual-width) 1fr;
  grid-template-areas:
    "visual title"
    "visual body";
  column-gap: 60px;
  row-gap: 45px;
  align-items: center;
}

.lp-hero__title {
  position: relative;
  z-index: var(--lp-hero-z-title);
  grid-area: title;
  align-self: end;
  margin-top: 0px;
}

.lp-hero__visual {
  position: relative;
  z-index: var(--lp-hero-z-visual);
  grid-area: visual;
  width: var(--lp-hero-visual-width);
  max-width: var(--lp-hero-visual-width);
  aspect-ratio: 420 / 576;
}

/* SP用ヒーローデコ（PCでは非表示） */
.lp-hero__deco-sp {
  display: none;
  position: absolute;
  z-index: var(--lp-hero-z-deco);
  pointer-events: none;
  object-fit: contain;
}

.lp-hero__body {
  grid-area: body;
  align-self: start;
}

.lp-hero__slides {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.lp-hero__slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transform: translate(12%, -9%) rotate(4deg);
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.1));
  transition:
    transform 0.34s cubic-bezier(0.22, 0.61, 0.36, 1),
    opacity 0.34s ease-out,
    filter 0.34s ease-out;
  will-change: transform, opacity;
}

.lp-hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  transform: translate(0, 0) rotate(0deg);
  filter: none;
  z-index: 3;
}

.lp-hero__slide.is-under {
  opacity: 0;
  visibility: visible;
  transform: translate(0, 0) rotate(0deg);
  filter: none;
  transition: opacity 0.28s ease-out;
  z-index: 2;
}

.lp-hero__slide.is-pre-enter {
  opacity: 0;
  visibility: visible;
  transform: translate(12%, -9%) rotate(4deg);
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.12));
  transition: none;
  animation: none;
  z-index: 3;
}

@keyframes lp-hero-slide-enter {
  0% {
    transform: translate(12%, -9%) rotate(4deg);
    opacity: 0;
    filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.12));
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 1;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.05));
  }
}

.lp-hero__slide.is-entering {
  opacity: 1;
  visibility: visible;
  transform: translate(0, 0) rotate(0deg);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.05));
  transition: none;
  animation: lp-hero-slide-enter 0.38s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  z-index: 3;
}

.lp-hero.is-paused .lp-hero__slide.is-entering {
  animation-play-state: paused;
}

.lp-hero__slide.is-idle {
  opacity: 0;
  visibility: hidden;
  transform: translate(12%, -9%) rotate(4deg);
  filter: none;
  transition: none;
  z-index: 1;
}


.lp-hero__figure {
  margin: 0;
  width: 100%;
  height: 100%;
}

.lp-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* 共通オーバーレイ画像 */
.lp-hero__overlay {
  position: absolute;
  width: 306px;
  bottom: 80px;
  left: -8px;
  z-index: var(--lp-hero-z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.lp-hero__overlay picture {
  display: block;
  width: 100%;
  height: 100%;
}

.lp-hero__overlay-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero__slide {
    transition: none;
    animation: none !important;
  }

  .lp-hero__slide:not(.is-active) {
    display: none;
  }
}

/* テキストエリア（右）— 説明文 */
.lp-hero__body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 装飾画像 — 外側コンテナ基準・縦積み */
.lp-hero__deco {
  position: absolute;
  top: 50%;
  z-index: var(--lp-hero-z-deco);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

.lp-hero__deco--left {
  /* 1440px基準 -15%。狭い画面では画面端からはみ出さないよう内側にクランプ */
  left: max(-15%, calc(40px - (100vw - 1014px) / 2));
  top: 40%;
  width: 128px;
  gap: 78px;
}

.lp-hero__deco--right {
  right: max(-12%, calc(40px - (100vw - 1014px) / 2));
  top: 40%;
  width: 173px;
  gap: 64px;
}

/* 1920px以上 — コンテンツ幅に対する%だと内側に寄るため、画面端基準で外側へ */
@media (min-width: 1920px) {
  .lp-hero__deco--left {
    left: calc(160px - (100vw - 1014px) / 2);
    top: 38%;
  }

  .lp-hero__deco--right {
    right: calc(160px - (100vw - 1014px) / 2);
    top: 38%;
  }
}

.lp-hero__deco-item {
  position: relative;
  z-index: 3;
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
  transform: none;
}

.lp-hero__deco--left .lp-hero__deco-item:nth-child(1) {
  width: 24px;
  height: 23px;
  align-self: flex-end;
}

.lp-hero__deco--left .lp-hero__deco-item:nth-child(2) {
  width: 46px;
  height: 44px;
  align-self: flex-start;
}

.lp-hero__deco--left .lp-hero__deco-item:nth-child(3) {
  width: 55px;
  height: 55px;
  align-self: flex-end;
}

.lp-hero__deco--right .lp-hero__deco-item:nth-child(1) {
  width: 70px;
  height: 67px;
  align-self: flex-start;
}

.lp-hero__deco--right .lp-hero__deco-item:nth-child(2) {
  width: 36px;
  height: 37px;
  align-self: flex-end;
}

.lp-hero__deco--right .lp-hero__deco-item:nth-child(3) {
  width: 24px;
  height: 24px;
  align-self: flex-start;
}

.lp-hero__deco--right .lp-hero__deco-item:nth-child(4) {
  width: 24px;
  height: 24px;
  align-self: flex-end;
}

/* 初期ポップ / 常時浮遊アニメ — 必要になったら .lp-hero__deco-item に再適用 */
@keyframes lp-hero-deco-pop {
  0% {
    opacity: 0;
    transform: translateY(12px) scale(0.7) rotate(-6deg);
  }

  70% {
    opacity: 1;
    transform: translateY(-4px) scale(1.06) rotate(3deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

@keyframes lp-hero-deco-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-6px) rotate(2deg);
  }
}

.lp-hero__title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.3;
  color: #4C4C4C;
  font-family: var(--lp-font-jp);
}

.lp-hero__title-line {
  display: block;
}

.lp-hero__title-line--lead {
  opacity: 1;
  transform: translateY(0);
  font-size: 36px;
}

.lp-hero__title-line--accent {
  display: inline-flex;
  flex-wrap: wrap;
  margin-top: 0.15em;
  font-size: 56px;
  letter-spacing: 0.04em;
}

/* 「スタイリング」6文字のみ — その場でポップ（JSで再生時のみ） */
.lp-hero__title-char {
  display: block;
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
}

.lp-hero.is-title-animating .lp-hero__title-line--accent .lp-hero__title-char:nth-child(-n+6) {
  animation: lp-hero-char-pop-inplace 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lp-hero.is-title-animating .lp-hero__title-line--accent .lp-hero__title-char:nth-child(1) {
  animation-delay: 0s;
}

.lp-hero.is-title-animating .lp-hero__title-line--accent .lp-hero__title-char:nth-child(2) {
  animation-delay: 0.08s;
}

.lp-hero.is-title-animating .lp-hero__title-line--accent .lp-hero__title-char:nth-child(3) {
  animation-delay: 0.16s;
}

.lp-hero.is-title-animating .lp-hero__title-line--accent .lp-hero__title-char:nth-child(4) {
  animation-delay: 0.24s;
}

.lp-hero.is-title-animating .lp-hero__title-line--accent .lp-hero__title-char:nth-child(5) {
  animation-delay: 0.32s;
}

.lp-hero.is-title-animating .lp-hero__title-line--accent .lp-hero__title-char:nth-child(6) {
  animation-delay: 0.4s;
}

.lp-hero__title-char:nth-child(1) {
  color: #DA1D33;
}

.lp-hero__title-char:nth-child(2) {
  color: #0064C3;
}

.lp-hero__title-char:nth-child(3) {
  color: #069538;
}

.lp-hero__title-char:nth-child(4) {
  color: #E5005A;
}

.lp-hero__title-char:nth-child(5) {
  color: #F4B401;
}

.lp-hero__title-char:nth-child(6) {
  color: #DA1D33;
}

.lp-hero__title-line--accent .lp-hero__title-char:nth-child(n+7) {
  color: #4C4C4C;
}

@keyframes lp-hero-lead-in {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes lp-hero-char-pop-inplace {
  0% {
    transform: translateY(0) scale(1) rotate(0deg);
  }

  45% {
    transform: translateY(-8px) scale(1.14) rotate(5deg);
  }

  75% {
    transform: translateY(2px) scale(0.96) rotate(-2deg);
  }

  100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

@keyframes lp-hero-char-pop {
  0% {
    opacity: 0;
    transform: translateY(16px) scale(0.6) rotate(-8deg);
  }

  60% {
    opacity: 1;
    transform: translateY(-6px) scale(1.12) rotate(4deg);
  }

  80% {
    transform: translateY(2px) scale(0.96) rotate(-2deg);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lp-hero__title-line--lead {
    animation: none;
    opacity: 1;
  }

  .lp-hero__title-char {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

.lp-hero__desc {
  font-size:  16px;
  line-height: 2.2;
  color: #4C4C4C;
  font-weight: 700;
}

/* 注釈 */
.lp-hero__notice {
  position: relative;
  z-index: 1;
  width: 80%;
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 0;
  padding-left: 1em;
  text-indent: -1em;
}

.lp-hero__notice-text {
  font-size: 12px;
  line-height: 1.4;
    color: #4C4C4C;
  font-weight: 400;
}

.lp-hero__notice-text + .lp-hero__notice-text {
  margin-top: 4px;
}

.lp-hero__notice-mark {
  margin-right: 0.25em;
}

/* Hero — 1024px以下で縦積みレイアウト */
@media (max-width: 1024px) {
  .lp-hero__container {
    padding: 4rem 20px 0;
  }

  .lp-hero__main {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "visual"
      "body";
    column-gap: 0;
    row-gap: 20px;
  }

  .lp-hero__title {
    position: relative;
    align-self: center;
    text-align: left;
    font-size: 1.75rem;
    padding: 0 20px;
    max-width: 800px;
    margin: 0 auto;
  }

  .lp-hero__deco-sp {
    display: block;
  }

  /* 01: タイトル右上 — top / right / width で調整 */
  .lp-hero__deco-sp--01 {
    --lp-hero-deco-sp-01-top: -2rem;
    --lp-hero-deco-sp-01-right: -1rem;
    --lp-hero-deco-sp-01-width: 8.8rem;
    top: var(--lp-hero-deco-sp-01-top);
    right: var(--lp-hero-deco-sp-01-right);
    width: var(--lp-hero-deco-sp-01-width);
    height: auto;
  }

  /* 02: ビジュアル左上 — top / left / width で調整 */
  .lp-hero__deco-sp--02 {
    --lp-hero-deco-sp-02-top: 0;
    --lp-hero-deco-sp-02-left: 4rem;
    --lp-hero-deco-sp-02-width: 7.6rem;
    top: var(--lp-hero-deco-sp-02-top);
    left: var(--lp-hero-deco-sp-02-left);
    width: var(--lp-hero-deco-sp-02-width);
    height: auto;
  }

  /* 03: ビジュアル左下 — bottom / left / width で調整 */
  .lp-hero__deco-sp--03 {
    --lp-hero-deco-sp-03-bottom: -2rem;
    --lp-hero-deco-sp-03-left: 0;
    --lp-hero-deco-sp-03-width: 9.8rem;
    bottom: var(--lp-hero-deco-sp-03-bottom);
    left: var(--lp-hero-deco-sp-03-left);
    width: var(--lp-hero-deco-sp-03-width);
    height: auto;
  }

  .lp-hero__title-line--lead {
    font-size: 2.4rem;
    letter-spacing: 0;
  }

  .lp-hero__title-line--accent {
    font-size: 3.6rem;
    letter-spacing: 0;
  }

  .lp-hero.is-title-animating .lp-hero__title-line--accent .lp-hero__title-char {
    animation: none !important;
  }

  .lp-hero__body {
    gap: 16px;
    text-align: center;
    align-items: center;
    margin-top: 34px;
  }

  .lp-hero__visual {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    aspect-ratio: 346 / 475;
  }

  .lp-hero__overlay {
    width: 23.4rem;
    max-width: 340px;
    bottom: 6.5rem;
    left: 0.5rem;
  }

  .lp-hero__deco {
    display: none;
  }

  .lp-hero__desc {
    font-size: 1.48rem;
    text-align: center;
  }

  .lp-hero__notice {
    padding: 0;
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .lp-container {
    padding: 0 2.5rem;
  }

  :root {
    --lp-nav-overlap: 80px;
  }

  .lp-section--nav {
    margin-top: 0;
    padding-bottom: 60px;
  }

  .lp-section-deco__item--01 {
    top: auto;
    bottom: -6rem;
    left: 6%;
    width: 1.1rem;
    height: 1.1rem;
  }

  .lp-section-deco__item--02 {
    top: 1.5rem;
    left: 3rem;
    width: 3.8rem;
    height: 3.6rem;
  }

  .lp-section-deco__item--03 {
    top: 7rem;
    left: 8rem;
    width: 1.9rem;
    height: 2rem;
  }

  .lp-section-deco__item--04 {
    top: 5rem;
    right: 5rem;
    width: 3rem;
    height: 3rem;
  }

  .lp-section-deco__item--05 {
    top: 10rem;
    right: 2rem;
    width: 1.3rem;
    height: 1.3rem;
  }

  /* カテゴリ白帯用（ナビ弧上のデコとは別位置） */
  .lp-section-deco--category .lp-section-deco__item--01 {
    top: 9rem;
    /* bottom: 10rem; */
    left: 2rem;
    width: 1.1rem;
    height: 1.1rem;
  }

  .lp-section-deco--category .lp-section-deco__item--02 {
    top: 1.5rem;
    left: 3rem;
    width: 3.8rem;
    height: 3.6rem;
  }

  .lp-section-deco--category .lp-section-deco__item--03 {
    top: 6rem;
    left: 8rem;
    width: 1.9rem;
    height: 2rem;
  }

  .lp-section-deco--category .lp-section-deco__item--04 {
    top: 4rem;
    right: 5.5rem;
    width: 3rem;
    height: 3rem;
  }

  .lp-section-deco--category .lp-section-deco__item--05 {
    top: 9rem;
    right: 3.3rem;
    width: 1.3rem;
    height: 1.3rem;
  }

  .lp-section--nav__panel .lp-container {
    padding-top: 12rem;
  }

  .lp-anchor-nav__header {
    margin-bottom: 4rem;
  }

  .lp-anchor-nav__lead {
    margin-bottom: 0.8rem;
    font-size: 1.8rem;
  }

  .lp-anchor-nav__title {
    font-size: 3.2rem;
  }

  .lp-anchor-nav__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.95rem 1.45rem;
  }

  .lp-anchor-nav__item {
    flex: 0 0 calc((100% - 4.8rem) / 3);
    max-width: calc((100% - 4.8rem) / 3);
    min-width: 8.8rem;
  }

  .lp-anchor-nav__link {
    gap: 0.8rem;
  }

  .lp-anchor-nav__label {
    min-height: calc(1em * 2);
    font-size: 1.4rem;
  }

  .lp-anchor-nav__thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .lp-anchor-nav__icon {
    width: 1.5rem;
    height: 1.5rem;
  }

  .lp-anchor-nav__icon-svg {
    width: 0.8rem;
    height: 0.7rem;
    object-fit: contain;
  }

  .lp-category {
    padding: 10rem 0 8rem;
  }

  .lp-category__deco-band {
    top: -48px;
  }

  .lp-category__header {
    margin-bottom: 2rem;
  }

  .lp-category__title {
    font-size: 3.2rem;
    margin-bottom: 0.5rem;
  }

  .lp-category__label {
    font-size: 1.4rem
  }

  .lp-category__label-image {
    width: 10.6rem;
  }

  .lp-category-slider {
    --lp-category-slide-width: 31rem;
    --lp-category-slide-gap: 1.4rem;
  }

  .lp-category-slider--modern {
    --lp-category-slide-width: 28rem;
    --lp-category-slide-gap: 1.2rem;
  }

  .lp-category-slider--modern .lp-category-slider__viewport {
    padding: 0.8rem 0 2rem;
  }

  .lp-category-slider--modern .lp-category-slider__slide {
    transform: scale(0.94);
  }

  .lp-category-slider--modern .lp-category-slider__slide.is-active {
    transform: scale(1);
  }

  .lp-category-card__figure {
    margin-bottom: 1rem;
    /* border-radius: 4rem; */
  }

  .lp-category-card__image {
    aspect-ratio: 320 / 450;
  }

  .lp-category-card__title {
    font-size: 2.4rem;
  }

  .lp-category-card__desc {
    font-size: 1.4rem;
    font-weight: 500;
    margin-top: 0.5rem;
  }

  .lp-category-slider__controls {
    gap: 3rem;
    margin-top: 2rem;
  }

  .lp-category-slider__btn {
    width: 3.9rem;
    height: 3.9rem;
  }

  .lp-category-slider__btn-icon {
    width: 3.9rem;
    height: 3.9rem;
  }

  .lp-category__cta-icon {
    position: absolute;
    right: 1.8rem;
    top: 50%;
    width: 3rem;
    height: 3rem;
    margin-left: 0;
    transform: translateY(-50%);
  }

  .lp-category-slider__current, .lp-category-slider__total {
    font-size: 2.4rem;
    font-family: 600;
  }

  .lp-category-slider__sep {
    font-size: 1.8rem;
    transform: translateY(-0.3rem);
  }
  
  .lp-category-slider__counter {
    font-size: 3.6rem;
  }

  .lp-category__cta {
    margin-top: 3rem;
    flex-direction: column;
    gap: 2rem;
  }

  .lp-category__cta-link {
    position: relative;
    min-width: auto;
    width: 100%;
    justify-content: center;
    padding: 1.4rem 2rem 1.4rem 0rem;
    font-size: 1.6rem;
    min-height: 60px;
  }
}

@media (max-width: 389px) {
  .lp-hero__title {
    padding: 0 10px;
  }
}

/* 環境共通固定メニュー — hero通過までは非表示（main.js が is-lp-fixed-menu-visible を付与） */
.cpcmn-fixed-menu {
  transition:
    opacity 0.55s cubic-bezier(0.33, 0, 0.2, 1),
    transform 0.55s cubic-bezier(0.33, 0, 0.2, 1),
    visibility 0.55s;
}

.cpcmn-fixed-menu:not(.is-lp-fixed-menu-visible) {
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.cpcmn-fixed-menu.is-lp-fixed-menu-visible {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
