@import url('https://fonts.googleapis.com/css2?family=Zen+Maru+Gothic&family=M+PLUS+Rounded+1c&display=swap');

/* 花びらの落ちるエリア */
.petal-area {
  position: relative;
  width: 100%;
  height: auto;
  background-color: #fff;
  overflow: hidden;
}
/* 花びらの共通スタイル */
.petal {
  position: absolute;
  top: -5vh;
  width: 12px;
  height: 18px;
  background: #ffb7c5;
  border-radius: 70% 30% 70% 30%;
  opacity: 0.9;
  animation-name: fall, sway;
  animation-timing-function: linear, ease-in-out;
  animation-iteration-count: infinite, infinite;
  z-index: 10;
}
/* 落ちる動き */
@keyframes fall {
  0% {
    transform: translate3d(0, 0, 0) rotateZ(0deg);
  }
  100% {
    transform: translate3d(0, 200vh, 0) rotateZ(360deg);
  }
}
/* 左右に揺れる動き */
@keyframes sway {
  0%   { margin-left: 0; }
  50%  { margin-left: 40px; }
  100% { margin-left: 0; }
}


.section-wrapper {
  position: relative;
}
p{margin-top: 0.2em;}
.section-body ul { list-style: none; }
.ec-footerRole {margin-top: 0;}


/** 各セクションの範囲 **/
.section-body {
  position: relative;
  width: 100%;
  height: auto;
  display: grid;
  place-content: center;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
  overflow: hidden;
}
/** 固定背景画像の設定 **/
.bg-image-clip {
  position: absolute;
  width: 100%;
  height: 100%;
  clip-path: inset(0); /* 切り抜き */
  z-index: 0;
}
.bg-image-fixed {
  position: fixed; /* 背景を固定 */
  top: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center top;
  z-index: 0;
}

#section {
  .bg-image-fixed {
    background-blend-mode: hard-light;
    background-image: linear-gradient(#ffffff, #f1baff);
  }
}

/*** ページトップアニメーション ***/
/*** 白フェード ***/
@property --mask-size {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

@property --blur1 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

@property --blur2 {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

.Top_back_wrap {
  position: relative;
  display: block;
  max-width: 100%;
  height: auto;
  max-height: 100vh;
  line-height: 0;
  overflow: hidden;

  /* 以下マスク設定 */
  background-color: #fff;
  --mask-size: 0%;

  mask-image:
    radial-gradient(
      circle at center,
      black 0%,
      black var(--mask-size),
      rgba(0,0,0,0.5)
        calc(var(--mask-size) + var(--blur1)),
      transparent
        calc(var(--mask-size) + var(--blur2))
    );

  -webkit-mask-image:
    radial-gradient(
      circle at center,
      black 0%,
      black var(--mask-size),
      rgba(0,0,0,0.5)
        calc(var(--mask-size) + var(--blur1)),
      transparent
        calc(var(--mask-size) + var(--blur2))
    );

  animation: revealMask 6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* マスク用アニメーション */
@keyframes revealMask {
  0% {
    --mask-size: 0%;
    --blur1: 0%;
    --blur2: 0%;
  }
  10% {
    --mask-size: 0%;
    --blur1: 0%;
    --blur2: 0%;
  }
  100% {
    --mask-size: 120%;
    --blur1: 12%;
    --blur2: 24%;
  }
}

/*** ページトップアニメーション ***/
/*** 背景・キャラ・ロゴ ***/
.Top_back_img {
  width: 100%;
  height: auto;
  display: block;
}

.Top_img01,.Top_img02 {
  position: absolute;
  width: 60%;
  height: auto;
  left:50%;
  transform: translateX(-50%);
  transform-origin:center top;
}

/* ストアロゴマスクアニメーション */
@property --reveal {
  syntax: '<percentage>';
  inherits: false;
  initial-value: 0%;
}

.Top_img01 {
  bottom: 22%;

  mask-image:
    linear-gradient(
      to right,

      black 0%,
      black var(--reveal),

      transparent calc(var(--reveal) + var(--reveal))
    );

  -webkit-mask-image:
    linear-gradient(
      to right,

      black 0%,
      black var(--reveal),

      transparent calc(var(--reveal) + var(--reveal))
    );

  animation:
    revealLogo 3s cubic-bezier(0.22, 1, 0.36, 1) forwards;

  animation-delay:2s;
}

@keyframes revealLogo {
  0% {
    --reveal: 0%;
  }
  70% {
    --reveal: 85%;
  }
  100% {
    --reveal: 100%;
  }
}

/* 1stAnniversaryアニメーション */
.Top_img02 {
  bottom: 0.6em;
  opacity: 0;
  filter: blur(6px);
  animation: subtitle 2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay:3s;
}

@keyframes subtitle {
	0% { opacity: 0; transform: translate(-50%, 10px); filter: blur(6px); }
	100% { opacity: 1; transform: translate(-50%, 0); filter: blur(0); }
}


/* ウィンドウサイズ1549px以下のときは height:auto */
@media (max-width: 1549px) {
  .Top_back_wrap { height: auto; }
}


/*** セクション 1 ***/
/*** ご挨拶 ***/
.one-container {
    display: grid;
    grid-template-columns: 60px 584px 320px 60px;
    grid-template-rows: 60px 166px 320px;
    justify-content: center;
    align-content: center;
    margin-top: 10em;
}

.one_item:nth-child(1) { 
  grid-column-start: 1;
  grid-column-end: 5;
  grid-row-start: 2;
  grid-row-end: 4;
}
.one_item:nth-child(1) img { width: auto; height: 486px;}

.one_item:nth-child(2) {
  grid-column-start: 2;
  grid-column-end: 4;
  grid-row-start: 2;
  grid-row-end: 4;
  text-align: center;
  font-size: 2rem; color: #3f3f3f;
  text-shadow: 2px  2px 5px #fff,
    -2px  2px 5px #fff,
    2px -2px 5px #fff,
    -2px -2px 5px #fff;
  font-family: 'Zen Maru Gothic Bold','M PLUS Rounded 1c', sans-serif;
  font-weight: bold;
  z-index: 1;
  opacity: 0;
}
/* テキスト表示アニメーション */
@keyframes section1_fade {
  0% {
    filter: blur(10px);
    transform: translateY(60px);
    opacity: 0;
  }
  100% {
    filter: blur(0);
    transform: translateY(0px);
    opacity: 1;
  }
}
.js-scroll-anime.is-animated .one_item:nth-child(2) { animation:section1_fade ease-out 1.5s 1 both; }

.one_item:nth-child(3) { 
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 2;
  align-content: start;
}
.one_item:nth-child(4) { 
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 3;
  grid-row-end: 4;
  align-content: start;
}
/* 花SVG */
.wa-flower-svg {
  width: clamp(160px, 30vw, 320px);
  height: auto;
  overflow: visible;
}
/* 回転 */
.wa-flower {
  transform-origin: 120px 120px;
  animation: waRotate 17s linear infinite;
}
/* 花びら */
.petal {
  fill: #ffeefa;
  stroke: #f3b7da;
  stroke-width: 1.5;
  paint-order: stroke fill;
}
/* 中央 */
.flower-center {
  fill: #d8b46a;
}
/* 時計回り */
@keyframes waRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/*** レスポンシブ対応 ***/
@media (max-width: 820px) {
  .one-container {
    grid-template-columns: 60px 260px 160px 60px;
    grid-template-rows: 60px 60px 230px;
    margin-top: 5em;
  }
  .one_item:nth-child(1) img { height: 231px;}
  .one_item:nth-child(2) { font-size: 1.2rem; }
}
@media (min-width: 430px) {
  .lp_1 { display: none;}
}


/*** セクション 2 ***/
/*** 各キャンペーン紹介 ***/
.section-body ul {
	width: 100%;
	margin: 0 auto;
	padding: 0 2em;
  box-sizing: border-box;
}

.section-body ul li {
  background-color: #fff;
	box-shadow: 0 0 3px 3px #ffeaff, 0 0 2px 2px #ffeaff inset;
	padding: 2em;
	box-sizing: border-box;
	list-style: none;
  border-radius: 20px;
  margin: 5em 0 10em 0;
  opacity: 0;
}

.section-body ul li img {
	width: 100%;
  max-width: 1200px;
	text-align: center;
}

.section-body ul li h1 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: bold;
  font-size: clamp(1.6rem, 4vw, 3rem);
	padding: .5em 0;
  color: #ff83ff;

  display: flex;
  align-items: center;
  line-height: 1.1;
}

.section-body ul div:nth-child(4) li h1 {
  justify-content: center;
}


/* 見出し前 花SVG */
.section-body ul li h1::before,
.section-body ul div:nth-child(4) li h1::after {
  content: "";
  width: 1.8em;
  height: 1.8em;
  flex: 0 0 auto;
  display: block;
  background: linear-gradient(
    135deg,
    #ffd8ef,
    #f5b8d8
  );

  mask-image: url("/html/user_data/assets/img/feature/anniversary/flower.svg");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;

  -webkit-mask-image: url("/html/user_data/assets/img/feature/anniversary/flower.svg");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;

  animation: waRotate 18s linear infinite;
  translate: 0 -0.03em;
}


.section-body ul li h2 {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-weight: bold;
	font-size: clamp(1.5rem, 3vw, 2rem);
	padding: 1em 0.3em;
  color: #fff;
  border-radius: 25px;
  background-color: #ff83ff;
}

.section-body ul li p {padding-top: 1em; font-size: 1rem;}
.section-body ul li a {text-decoration: none;}

/* コンテンツ表示アニメーション */
@keyframes section2_fade {
  0% {
    filter: blur(10px);
    opacity: 0;
    transform: translateY(80px) scale(0.7);
    
  }
  100% {
    filter: blur(0);
    opacity: 1;
    transform: translateY(0px) scale(1);
    
  }
}
.js-scroll-anime.is-animated li { animation:section2_fade ease-out 0.8s 1 both; }

/*** ウィンドウサイズで改行 ***/
@media (min-width: 1025px) {
  .lp_2 { display: none;}
}

/*** 各キャンペーン ボタン ***/
.ripple-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 250px;
    margin:3em auto 1em auto;
    padding: .9em 2em;
    border: 1px solid #fcacf6;
    border-radius: 25px;
    background-color: #ffe1fd;
    color: #ee58e2;
    font-size: 1em;
}
.ripple-btn:hover {  
  background-color: #ffebfd;
  transition: background-color .3s ease;
  animation: ripple-anime 1s;
  cursor: pointer;
}
@keyframes ripple-anime {
    0% {
        box-shadow: 0 0 0 0 rgba(238, 88, 226, 0.5),
        0 0 0 0 rgba(238, 88, 226, 0.3);
    }
    100% {
        box-shadow: 0 0 0 1.2em rgba(238, 88, 226, 0),
        0 0 0 2em rgba(238, 88, 226, 0);
    }
}
.ripple-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}


/*** 戻るボタン ***/
.line-btn {
  position: relative;
  width: 300px;
  margin: 0 auto 5em auto;
  padding: 14px 36px;
  font-size: 16px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  background: transparent;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
.line-btn:hover {
  background-color: #fcacf6;
  transition: background-color .3s ease;
}
.line-btn:active {
    transform: scale(0.95);
    transition: transform 0.1s ease;
}

/* 共通 */
.line-btn span {
  position: absolute;
  background: white;
  transition: 0.4s ease;
}

/* 上線（左→右に光る） */
.line-btn .line-top {
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, white 50%, rgba(255,255,255,0) 100%);
  transition-delay: 0s;
}

/* 右線（上→下に光る） */
.line-btn .line-right {
  top: 0;
  right: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, white 50%, rgba(255,255,255,0) 100%);
  transition-delay: 0.1s;
}

/* 下線（右→左に光る） */
.line-btn .line-bottom {
  bottom: 0;
  right: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(270deg, rgba(255,255,255,0) 0%, white 50%, rgba(255,255,255,0) 100%);
  transition-delay: 0.2s;
}

/* 左線（下→上に光る） */
.line-btn .line-left {
  bottom: 0;
  left: 0;
  width: 2px;
  height: 0;
  background: linear-gradient(0deg, rgba(255,255,255,0) 0%, white 50%, rgba(255,255,255,0) 100%);
  transition-delay: 0.3s;
}

/* ホバーで伸びる */
.line-btn:hover .line-top,
.line-btn:hover .line-bottom {
  width: 100%;
}

.line-btn:hover .line-right,
.line-btn:hover .line-left {
  height: 100%;
}
