/* Unique Ota 2025 フォトキャンペーン - メインCSS */

/* CSS Variables */
:root {
  --color-base-bg: #FFFFCC;      /* ベース背景色 */
  --color-section-bg: #659CFC;   /* セクション背景色 */
  --color-accent-bg: #FFD500;    /* アクセント背景色 */
  --color-text-main: #000000;    /* メインテキスト色 */
  --color-border: #E0E0CB;       /* 罫線色 */
  --font-main: "Zen Kaku Gothic New", "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --font-accent: "Aoboshi One", "Zen Kaku Gothic New", sans-serif;
}

/* グローバルリセット */
li {
  list-style: none;
}
/* Base Styles */
img {
  width: 100%;
  height: auto;
  display: block;
}

button {
  border: none;
  background: none;
  cursor: pointer;
}

/* Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  font-family: var(--font-main);
  color: var(--color-text-main);
  line-height: 1.8;
  font-size: 1.3rem;
  font-weight: 500;
}

p {
  font-size: 1rem;
}


@media screen and (max-width: 1000px) {
  html, body {
    font-size: 1rem;
  }

  p {
    font-size: 1rem;
  }
}

/* Base Layout */
body {
  background-color: var(--color-base-bg);
  overflow-x: hidden;
}

/* Responsive Images */
.op {
  display: block;
}

.os {
  display: none;
}

@media screen and (max-width: 1000px) {
  .op {
    display: none;
  }
  
  .os {
    display: block;
  }
}

/* Loading Styles */
html {
  overflow: visible; /* hiddenからvisibleに変更 */
}

html.active {
  /* overflow: visible; */
}

header, footer, main {
  /* opacity: 1; */ /* 0から1に変更 - コンテンツを表示 */
}

header.displayed, footer.displayed, main.displayed {
  opacity: 1;
}

/* Animation Classes */
.poyon_content {
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.poyon_content.effected_poyon {
  opacity: 1;
  transform: scale(1);
}

/* 初期表示時はアニメーションを無効化 */
.poyon_content:not(.effected_poyon) {
  opacity: 1;
  transform: scale(1);
}


.anime-katakata01 {
  /* animation: effect_katakata01 12s ease-in-out; コメントアウト - JS側で制御 */
}

.anime-katakata02 {
  /* animation: effect_katakata02 12s ease-in-out; コメントアウト - JS側で制御 */
}

/* FV専用の一時的なカタカタアニメーション */
/* .anime-katakata01-temp {
  animation: effect_katakata01_slow 2s ease-in-out forwards;
}

.anime-katakata02-temp {
  animation: effect_katakata02_slow 2s ease-in-out forwards;
} */

.anime-katakata03 {
  animation: effect_katakata01 10s ease-in-out infinite;
}

.anime-katakata04 {
  animation: effect_katakata02 10s ease-in-out infinite;
}

/* About Illustration専用のカタカタアニメーション */
.anime-katakata-about01 {
  animation: effect_katakata01 8s ease-in-out;
}

.anime-katakata-about02 {
  animation: effect_katakata02 8s ease-in-out;
}

/* Katakata Animation */
@keyframes effect_katakata01 {
  0% {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
  }

  12% {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
  }

  13% {
    -webkit-transform: rotate(2deg);
    transform: rotate(2deg);
  }

  25% {
    -webkit-transform: rotate(2deg);
    transform: rotate(2deg);
  }

  26% {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
  }

  38% {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
  }

  39% {
    -webkit-transform: rotate(2deg);
    transform: rotate(2deg);
  }

  51% {
    -webkit-transform: rotate(2deg);
    transform: rotate(2deg);
  }

  52% {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
  }

  64% {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
  }

  65% {
    -webkit-transform: rotate(2deg);
    transform: rotate(2deg);
  }

  100% {
    -webkit-transform: rotate(2deg);
    transform: rotate(2deg);
  }
}

@keyframes effect_katakata02 {
  0% {
    -webkit-transform: rotate(2deg);
    transform: rotate(2deg);
  }

  12% {
    -webkit-transform: rotate(2deg);
    transform: rotate(2deg);
  }

  13% {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
  }

  25% {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
  }

  26% {
    -webkit-transform: rotate(2deg);
    transform: rotate(2deg);
  }

  38% {
    -webkit-transform: rotate(2deg);
    transform: rotate(2deg);
  }

  39% {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
  }

  51% {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
  }

  52% {
    -webkit-transform: rotate(2deg);
    transform: rotate(2deg);
  }

  64% {
    -webkit-transform: rotate(2deg);
    transform: rotate(2deg);
  }

  65% {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
  }

  100% {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
  }
}

/* FV専用のゆっくりとした2回カタカタアニメーション */
@keyframes effect_katakata01_slow {
  0% {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
  }
  25% {
    -webkit-transform: rotate(-6deg);
    transform: rotate(-6deg);
  }
  26% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  50% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  75% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
}

@keyframes effect_katakata02_slow {
  0% {
    -webkit-transform: rotate(6deg);
    transform: rotate(6deg);
  }
  25% {
    -webkit-transform: rotate(6deg);
    transform: rotate(6deg);
  }
  26% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  50% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  75% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(0);
    transform: rotate(0);
  }
}

/* handwriting Animation */
.anime-handwriting {
  clip-path: inset(0 98% 0 0);
  opacity: 0;
  min-height: 1px;
}

.anime-handwriting.animate {
  animation: fadeInHandwriting 0.8s ease-out forwards;
  animation-delay: 0.4s; /* 0.2秒遅延 */
}

@keyframes fadeInHandwriting {
  0% {
    opacity: 0;
    clip-path: inset(0 98% 0 0);
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 1;
    clip-path: inset(0 0 0 0);
  }
}


/* zoomIn Animation */
.anime-zoomIn {
  animation: zoomIn 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

@keyframes zoomIn {
  0% {
    transform: scale(0.8);
    opacity: 0;
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* poyoyon Animation */
.anime-poyoyon {
  animation: poyoyon 2.5s;
  opacity: 1;
}
@keyframes poyoyon {
  0%, 40% {
    transform: skew(0deg, 0deg);
  }
  5% {
    transform: skew(5deg, 5deg);
  }
  10% {
    transform: skew(-4deg, -4deg);
  }
  15% {
    transform: skew(3deg, 3deg);
  }
  20% {
    transform: skew(-2deg, -2deg);
  }
  25% {
    transform: skew(1deg, 1deg);
  }
  30% {
    transform: skew(-0.6deg, -0.6deg);
  }
  35% {
    transform: skew(0.3deg, 0.3deg);
  }
}


/* Utility Classes */
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
header {
  background-color: var(--color-base-bg);
  padding: 20px 0;
  position: relative;
  overflow-x: clip;
  height: min(75.4vw,1036px);
}

@media screen and (max-width: 1000px) {
  header {
    max-height: unset;
    height: unset;
    width: 100%;
    padding-bottom: 8%;
    overflow-x: clip;
  }
}

.header-logo {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 10;
}

.header-logo img {
  max-width: 120px;
  height: auto;
}

/* FV Central Logo */
.fv-logo {
  text-align: center;
  margin: -2% auto 40px;
  position: relative;
  max-width: 1071px;
}

.fv-logo img {
  max-width: 100%;
  height: auto;
}

.fv-photo {
  width: 95%;
  max-width: 1007px;
  margin: 0 auto;
}

.fv-people {
  width: 50%;
  margin: -30% auto;
}

@media screen and (max-width: 1000px) {
  .fv-people {
    width: 63%;
    margin: -35% auto;
  }
  .fv-photo {
    padding-top: 10px;
  }
}

.fv-wrapper {
  display: grid;
  place-items: center;
  text-align: center;
  height: min(75.4vw,1036px);
}

@media screen and (max-width: 1000px) {
  .fv-wrapper {
    height: unset;
  }
}

.fv-wrapper>* {
  grid-area: 1/-1;
  width: min(76vw,1094px);
}

.fv-container {
  height: 100%;
}

@media screen and (max-width: 1000px) {
  .fv-wrapper>* {
    width: 100%;
    max-width: 850px;
  }
  
  .fv-container {
    /* max-width: 600px; */
    margin: 0 auto;
  }
}


/* Header Illustrations */
.header-illustrations {
  position: relative;
  height: 100%;
  margin: 20px 0;
}

.header-illustrations img {
  width: 22%;
  position: absolute;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 右側のイラスト（image05-07）の初期状態 */
.header-illustrations .header-illustration05,
.header-illustrations .header-illustration06,
.header-illustrations .header-illustration07 {
  transform: translateX(50px);
}

/* フェードイン完了状態 */
.header-illustrations img.fade-in-complete {
  opacity: 1;
  transform: translateX(0) rotate(0);
  animation: effect_katakata01_slow 4s ease-in-out;
  animation-iteration-count: 2;
  animation-delay: 0.8s;
}

/* ぎょうざ */
.header-illustrations .header-illustration01 {
  top: -16px;
  left: -78px;
}

/* うぐいす */
.header-illustrations .header-illustration02 {
  top: 34%;
  left: -12%;
}

/* のれん */
.header-illustrations .header-illustration03 {
  bottom: 2%;
  left: -17%;
  width: 31%;
}

/* ビール */
.header-illustrations .header-illustration04 {
  bottom: -5%;
  left: 10%;
  width: 24%;
}

/* 桜 */
.header-illustrations .header-illustration05 {
  bottom: 4%;
  right: -6%;
  width: 25%;
}

/* 祭り */
.header-illustrations .header-illustration06 {
  top: 34%;
  right: -11%;
  width: 23%;
}

/* 電車 */
.header-illustrations .header-illustration07 {
  top: 1%;
  right: -16%;
  width: 24%;
}

/* フェードイン完了後にカタカタアニメーションを適用 */
.header-illustrations .fade-in-complete:nth-of-type(1),
.header-illustrations .fade-in-complete:nth-of-type(3) {
  animation: effect_katakata01_slow 4s ease-in-out;
  animation-delay: 0.8s;
  animation-iteration-count: 2;
}

.header-illustrations img.fade-in-complete:nth-of-type(2),
.header-illustrations img.fade-in-complete:nth-of-type(4) {
  animation: effect_katakata02_slow 4s ease-in-out;
  animation-delay: 0.8s;
  animation-iteration-count: 2;
}

@media screen and (max-width: 1000px) {
  .header-illustrations {
    /* max-width: 600px; */
  }

  .header-illustrations .header-illustration01 {
    top: -3%;
    left: -8%;
    width: 29%;
  }

  .header-illustrations .header-illustration02 {
    top: 38%;
    left: -4%;
    width: 27%;
  }

  .header-illustrations .header-illustration03 {
    display: none;
  }

  .header-illustrations .header-illustration04 {
    bottom: -18%;
    left: -6%;
    width: 28%;
  }

  .header-illustrations .header-illustration05 {
    bottom: -21%;
    right: -13%;
    width: 35%;
  }

  .header-illustrations .header-illustration06 {
    top: 41%;
    right: -8%;
    width: 29%;
  }
  
  .header-illustrations .header-illustration07 {
    top: -15%;
    right: 23%;
    width: 35%;
  }

}

.main-content {
  position: relative;
  overflow-x: clip;
}

.cloud-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-height: 100%;
  overflow-y: hidden;
  z-index: -1;
}

.cloud-svg {
  width: 100%;
  height: auto;
}

/* PC版の表示制御 */
.cloud-pc {
    display: block;
}

.cloud-sp {
    display: none;
}

/* SP版の表示制御 */
@media screen and (max-width: 1000px) {
  .cloud-pc {
      display: none;
  }
  
  .cloud-sp {
      display: block;
  }
}
/* .main-content:before {
  content: '';
  display: block;
  width: 100%;
  height: 5987px;
  background-image: url(../images/bg-cloud01.svg);
  background-size: 108%;
  background-repeat: no-repeat;
  position: absolute;
  top: 220px;
  left: 0;
  animation: cloudMoku 1s linear infinite;
  z-index: -1;
} */

@media screen and (max-width: 1000px) {
  .main-content {
    padding-top: 10%;
  }
  
  /* .main-content:before {
    top: 0;
    background-image: url(../images/bg-cloud01_sp.svg);
    height: 7367px;
    animation: cloudMoku-sp 1s linear infinite;
  } */
}

/* 雲の流れるアニメーション */
@keyframes cloudMoku-sp {
  0% {
    background-position: 0px 0;
  }
  25% {
    background-position: 5px -10px;
  }
  50% {
    background-position: 10px 0;
  }
  75% {
    background-position: 5px -10px;
  }
  100% {
    background-position: 0px 0;
  }
}
@keyframes cloudMoku {
  0% {
    background-position: -80px 0;
  }
  25% {
    background-position: -60px -20px;
  }
  50% {
    background-position: -40px 0;
  }
  75% {
    background-position: -60px -20px;
  }
  100% {
    background-position: -80px 0;
  }
}

/* 雲の個別アニメーションキーフレーム - 控えめな動き */
@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(0.5deg); }
}
@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-0.5deg); }
}
@keyframes float3 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(1deg); }
}
@keyframes float4 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-0.3deg); }
}
@keyframes float5 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-9px) rotate(0.8deg); }
}
@keyframes float6 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-7px) rotate(-1deg); }
}
@keyframes float7 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-11px) rotate(0.4deg); }
}
@keyframes float8 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-0.6deg); }
}
@keyframes float9 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-7px) rotate(0.9deg); }
}
@keyframes float10 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-0.4deg); }
}
@keyframes float11 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(1.1deg); }
}
@keyframes float12 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-11px) rotate(-0.8deg); }
}
@keyframes float13 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(0.6deg); }
}
@keyframes float14 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(-1.2deg); }
}
@keyframes float15 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.5deg); }
}
@keyframes float16 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-7px) rotate(-0.9deg); }
}
@keyframes float17 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.7deg); }
}
@keyframes float18 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(-0.3deg); }
}
@keyframes float19 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-9px) rotate(1.1deg); }
}
@keyframes float20 {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-13px) rotate(-0.9deg); }
}

.cloud-group {
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-fill-mode: both;
}

/* 個別の雲アニメーション設定 */
.cloud-group#cloud1-pc { animation: float9 1s ease-in-out infinite; }
.cloud-group#cloud2-pc { animation: float11 1s ease-in-out infinite; }
.cloud-group#cloud3-pc { animation: float17 1s ease-in-out infinite; }
.cloud-group#cloud4-pc { animation: float19 1s ease-in-out infinite; }
.cloud-group#cloud5-pc { animation: float9 3.2s ease-in-out infinite; }
.cloud-group#cloud6-pc { animation: float11 4.8s ease-in-out infinite; }
.cloud-group#cloud7-pc { animation: float17 2s ease-in-out infinite; }
.cloud-group#cloud8-pc { animation: float19 3.4s ease-in-out infinite; }
.cloud-group#cloud9-pc { animation: float9 3.2s ease-in-out infinite; }
.cloud-group#cloud10-pc { animation: float11 4.8s ease-in-out infinite; }
.cloud-group#cloud11-pc { animation: float11 4.8s ease-in-out infinite; }
.cloud-group#cloud12-pc { animation: float17 4.3s ease-in-out infinite; }
.cloud-group#cloud13-pc { animation: float19 3.4s ease-in-out infinite; }
.cloud-group#cloud14-pc { animation: float9 3.2s ease-in-out infinite; }
.cloud-group#cloud15-pc { animation: float11 4.8s ease-in-out infinite; }
.cloud-group#cloud16-pc { animation: float17 4.3s ease-in-out infinite; }
.cloud-group#cloud17-pc { animation: float17 4.3s ease-in-out infinite; }
.cloud-group#cloud18-pc { animation: float19 3.4s ease-in-out infinite; }
.cloud-group#cloud19-pc { animation: float19 3.4s ease-in-out infinite; }
.cloud-group#cloud20-pc { animation: float9 3.2s ease-in-out infinite; }

/* SP版の雲アニメーションキーフレーム */
@keyframes float1-sp {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(0.5deg); }
}
@keyframes float2-sp {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-0.5deg); }
}
@keyframes float3-sp {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(1deg); }
}
@keyframes float4-sp {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(-0.3deg); }
}
@keyframes float5-sp {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-9px) rotate(0.8deg); }
}
@keyframes float6-sp {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-7px) rotate(-1deg); }
}
@keyframes float7-sp {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-11px) rotate(0.4deg); }
}
@keyframes float8-sp {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-0.6deg); }
}
@keyframes float9-sp {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-7px) rotate(0.9deg); }
}
@keyframes float10-sp {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(-0.4deg); }
}
@keyframes float11-sp {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(1.1deg); }
}
@keyframes float12-sp {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-11px) rotate(-0.8deg); }
}
@keyframes float13-sp {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(0.6deg); }
}
@keyframes float14-sp {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(-1.2deg); }
}
@keyframes float15-sp {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(0.5deg); }
}
@keyframes float16-sp {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-7px) rotate(-0.9deg); }
}
@keyframes float17-sp {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(0.7deg); }
}
@keyframes float18-sp {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-6px) rotate(-0.3deg); }
}
@keyframes float19-sp {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-9px) rotate(1.1deg); }
}
@keyframes float20-sp {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-13px) rotate(-0.9deg); }
}

/* SP版の個別の雲アニメーション設定 */
@media screen and (max-width: 1000px) {
    .cloud-group#cloud1-sp { animation: float12-sp 1.5s ease-in-out infinite; }
    .cloud-group#cloud2-sp { animation: float12-sp 1s ease-in-out infinite; }
    .cloud-group#cloud3-sp { animation: float14-sp 1s ease-in-out infinite; }
    .cloud-group#cloud4-sp { animation: float11-sp 1s ease-in-out infinite; }
    .cloud-group#cloud5-sp { animation: float12-sp 6.2s ease-in-out infinite; }
    .cloud-group#cloud6-sp { animation: float14-sp 4.7s ease-in-out infinite; }
    .cloud-group#cloud7-sp { animation: float11-sp 4.8s ease-in-out infinite; }
    .cloud-group#cloud8-sp { animation: float12-sp 6.2s ease-in-out infinite; }
    .cloud-group#cloud9-sp { animation: float14-sp 4.7s ease-in-out infinite; }
    .cloud-group#cloud10-sp { animation: float11-sp 4.8s ease-in-out infinite; }
    .cloud-group#cloud11-sp { animation: float11-sp 4.8s ease-in-out infinite; }
    .cloud-group#cloud12-sp { animation: float12-sp 6.2s ease-in-out infinite; }
    .cloud-group#cloud13-sp { animation: float14-sp 4.7s ease-in-out infinite; }
    .cloud-group#cloud14-sp { animation: float14-sp 4.7s ease-in-out infinite; }
    .cloud-group#cloud15-sp { animation: float11-sp 4.8s ease-in-out infinite; }
    .cloud-group#cloud16-sp { animation: float12-sp 6.2s ease-in-out infinite; }
    .cloud-group#cloud17-sp { animation: float14-sp 4.7s ease-in-out infinite; }
    .cloud-group#cloud18-sp { animation: float11-sp 4.8s ease-in-out infinite; }
    .cloud-group#cloud19-sp { animation: float12-sp 6.2s ease-in-out infinite; }
    .cloud-group#cloud20-sp { animation: float14-sp 4.7s ease-in-out infinite; }
}


/* Title */
.title-container {
    display: grid;
    place-items: center;
    text-align: center;
    height: 117%;
    width: 50%;
    margin: 0 auto;
}
.title-container>* {
  grid-area: 1/-1;
  width: 100%;
}

@media screen and (max-width: 1000px) {
  .title-container {
    width: 100%;
  }
}

/* Main Section */
.main-section {
  padding: 0 0 60px;
  text-align: center;
  margin-bottom: 28px;
}

.main-section .title-container {
  margin-bottom: 30px;
}

.main-section h2 img {
  max-width: 100%;
  height: auto;
}

.main-section .main-title {
  width: 88%;
  transform: translate(0, 71%);
}

.main-section .sub-title {
  width: 92%;
}


@media screen and (max-width: 1000px) {
  .main-section {
    padding: 30px 0 60px;
  }

  .main-section .title-container {
    max-width: 500px;
    width: 100%;
  }

  .main-section .main-title {
    width: 87%;
    transform: translate(0, 5px);
  }

  .main-section .sub-title {
    width: 100%;
  }
}

.campaign-description {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 17px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-weight: bold;
}

@media screen and (max-width: 1000px) {
  .campaign-description {
    margin-bottom: 0px;
  }

  .campaign-sub-description {
    line-height: 1.9;
  }
}

.photo-gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.photo-gallery img {
  max-width: 300px;
  height: auto;
}

/* Category */
.category-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 40px;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
  justify-items: center;
  align-items: center;
}

.category-container {
  display: flex;
  gap: 20px;
}

.category-container.-sp {
  display: contents;
}

@media screen and (max-width: 1000px) {
  .category-grid {
    margin: 31px auto 30px;
    gap: 20px;
  }

  .category-container {
    gap: 10px;
  }

  .category-container.-pc {
    display: contents;
  }
  .category-container.-sp {
    display: flex;
  }
}

.category-item {
  text-align: center;
  width: 286px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.category-item.fade-in-complete {
  opacity: 1;
  transform: translateY(0);
}

@media screen and (max-width: 1000px) {
  .category-item {
    width: 161px;
  }
}


.category-icon {
  /* margin-bottom: 15px; */
}

.category-icon img {
}

.category-item p {
  font-weight: 500;
  font-size: 14px;
}

/* Campaign Explanation Section */
.campaign-explanation {
  background-color: var(--color-section-bg);
  padding: 59px 0 4px;
  color: white;
  text-align: center;
  position: relative;
}

.campaign-img {
  position: absolute;
  max-width: 360px;
  width: 100%;
}

.campaign-img:nth-of-type(1) {
  top: -17%;
  left: 50%;
  translate: -150% 0;
  max-width: 411px;
  width: 28.5%;
}

.campaign-img:nth-of-type(2) {
  bottom: -39px;
  left: 50%;
  translate: -200% 0;
  width: 25%;
}

.campaign-img:nth-of-type(3) {
  top: -11px;
  right: 50%;
  translate: 203% 0;
  width: 19%;
  max-width: 300px;
}

.campaign-img:nth-of-type(4) {
  bottom: -6%;
  /* right: 3%; */
  right: 50%;
  translate: 175%;
  max-width: 420px;
  width: 27.1%;
}

.campaign-img img {
  width: 100%;
  height: auto;
}

@media screen and (max-width: 1220px) {
  .campaign-img:nth-of-type(2) {
    bottom: 82px;
    left: 50%;
    translate: -212% 0;
    width: 22%;
  }
  .campaign-img:nth-of-type(4) {
    bottom: 7%;
  }
}



@media screen and (max-width: 1000px) {
  .campaign-img {
    max-width: 190px;
  }

  .campaign-img:nth-of-type(1) {
    top: -23%;
    left: -27%;
    max-width: 280px;
    translate: unset;
    width: 100%;
  }

  .campaign-img:nth-of-type(2) {
    bottom: -20%;
    left: 50%;
    translate: -102% 0;
    width: 100%;
    max-width: 240px;
  }

  .campaign-img:nth-of-type(3) {
    top: unset;
    bottom: -7%;
    right: 50%;
    translate: 110% 0;
    width: 52%;
  }

  .campaign-img:nth-of-type(4) {
    bottom: unset;
    top: -19%;
    right: 50%;
    translate: 83% 0;
    max-width: 292px;
    width: 100%;
  }
}

.campaign-explanation .title-container {
  max-width: 580px;
}

.campaign-explanation h3 {
  margin-bottom: 30px;
}

.campaign-explanation .main-title {
  scale: 0.65;
  transform: translate(0, -35%);
}
.campaign-explanation .sub-title {
  scale: 0.92;
  transform: translate(0%, -33%);
}

.camera-illustration {
  max-width: 153px;
  height: auto;
  margin: -109px auto -30px;
}

@media screen and (max-width: 1000px) {
  .campaign-explanation {
    padding: 59px 0 34px;
  }

  .campaign-explanation .title-container {
    width: 100%;
  }

  .campaign-explanation .main-title {
    scale: 0.79;
    transform: translate(1.9%, -1%);
  }
  .campaign-explanation .sub-title {
    width: 100%;
    scale: unset;
    transform: unset;
  }

  .camera-illustration {
    max-width: 158px;
    margin: -106px auto -30px;
  }
}

.subtitle {
  margin: 20px 0;
}

.subtitle img {
  max-width: 100%;
  height: auto;
}

.explanation-text {
  line-height: 1.8;
  margin: -40px auto 55px;
  max-width: 600px;
}

@media screen and (max-width: 1000px) {
  .explanation-text {
    margin: 32px auto 55px;
  }
}

.period {
  margin: 30px 0;
}

.period img {
  max-width: 100%;
  height: auto;
}

.period-info {
  width: 60%;
  margin: 0 auto;
}

@media screen and (max-width: 1000px) { 
  .period-info {
    position: relative;
    margin: 0 auto;
    padding: 130px 0;
    width: 100%;
    max-width: 343px;
  }

  .period-info .period {
    width: 70%;
    margin: 0 auto;
  }
}

/* Application Section */
.main-title-text {
  text-align: center;
  font-size: min(3vw, 1.7rem);
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 1000px) {
  .main-title-text {
    font-size: clamp(22px, 6.2vw, 2.8rem);
  }
}

.application-section {
  padding: 60px 0;
}

.application-title {
  margin: 0 auto 46px;
}

.application-title .main-title-text {
  transform: translate(1.3%, 30%);
}

.application-title .sub-title {
  width: 104%;
}

@media screen and (max-width: 1000px) {
  .application-section .application-title {
    max-width: 670px;
  }
  .application-title .main-title-text {
    font-size: clamp(22px, 6.2vw, 2.8rem);
    transform: translate(1.3%, 48%);
  }

  .application-title .sub-title {
  }
}


/* PC版とSP版の表示制御 */
@media screen and (min-width: 1000px) {

  .application-pc {
    display: none;
  }
  
  .application-sp {
    display: block;
  }
}

/* PC版レイアウト */
.application-pc {
  display: block;
}

.application-sp {
  display: none;
}

/* PC版：視覚的ステップ（横並び） */
.steps-visual {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 3rem;
  max-width: 900px;
  margin: 0 auto;
}

.step-visual {
  flex: 1;
  text-align: center;
  background: white;
  border-top-left-radius: 50%;
  border-top-right-radius: 50%;
  padding: 0.4rem 0.3rem 0;
  border: 1px solid black;
}

.step-card.step2,
.step-visual.step2 {
  position: relative;
}

.step-card.step2:before,
.step-visual.step2:before {
  content: '';
  position: absolute;
  top: -48px;
  left: 50%;
  transform: translate(-50%, 0);
  width: 157px;
  height: 75px;
  background-image: url(../images/joinX.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.step-visual .step-illustration {
}

.step-visual .step-illustration img {
  height: auto;
}

.step-visual .step-number {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--color-section-bg);
  font-family: var(--font-accent);
}

/* PC版：詳細説明（横並び） */
.steps-details {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  max-width: 900px;
  margin: 1.1rem auto;
}

.step-detail {
  flex: 1;
  /* backdrop-filter: blur(30px); */
  padding: 0.8rem 0;
  display: flex;
  align-items: center;
}

.step-detail~.step-detail {
  border-top: 3px solid var(--color-border);
}

.step-detail h3 {
  margin-right: 1rem;
  min-width: 85px;
}

.step-detail:nth-of-type(3) h3 {
  align-self: self-start;
}

.step-detail p {
  font-size: 1rem;
  line-height: 1.6;
}

.follow-btn {
  display: inline-block;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s ease;
  margin-left: 2rem;
  width: 201px;
}

.follow-btn:hover {
  transform: scale(1.05);
}

.follow-btn.scroll-animate {
  opacity: 1;
  transform: scale(1.05);
  animation: buttonScrollAnimation 1s ease-out forwards;
}

@keyframes buttonScrollAnimation {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.follow-btn img {
  height: auto;
}

.hashtags {
  display: flex;
  gap: 27px;
  margin: 1.6rem 0;
}

.tag:nth-of-type(1) {
  width: 150px;
}

.tag:nth-of-type(2) {
  width: 233px;
}

.tag:nth-of-type(3) {
  width: 170px;
}

.copy-btn {
  transition: transform 0.2s ease;
}

.copy-btn:hover {
  transform: scale(1.05);
}

.copy-btn.scroll-animate {
  transform: scale(1.05);
  animation: buttonScrollAnimation 1s ease-out forwards;
}

.copy-btn img {
}

.step-detail .caution {
  font-size: 0.7rem;
  color: #666;
  margin-top: 0.2rem;
}


/* SP版レイアウト */
@media screen and (max-width: 1000px) {
  .application-pc {
    display: none;
  }
  
  .application-sp {
    display: block;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .step-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .step-card {
    flex: 1;
    margin-bottom: 2rem;
    padding: 0;
    width: 83%;
    margin: 0 auto;
  }

  .step-card.step2 {
    margin-top: 40px;
  }

  .step-card .step-card-img {
    background: white;
    border-top-left-radius: 50%;
    border-top-right-radius: 50%;
    padding: 0.6rem;
    border: 1px solid black;
    border-bottom-color: white;
  }

  .step-card .step-description {
    border-left: 1px solid black;
    border-right: 1px solid black;
    border-bottom: 1px solid black;
    background: white;
    padding: 8px 16px;
  }
  
  .step-card .step-illustration {
    margin-bottom: 1rem;
  }
  
  .step-card .step-illustration img {
    /* max-width: 200px; */
    height: auto;
  }
  
  .step-card .step-number {
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--color-section-bg);
    margin-bottom: 0.5rem;
    font-family: var(--font-accent);
  }
  
  .step-card h3 {
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--color-section-bg);
    margin-bottom: 1rem;
    font-family: var(--font-accent);
  }
  
  .step-card p {
    margin-bottom: 0.8rem;
  }
  
  .step-card .follow-btn {
    display: block;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s ease;
    margin: 1rem auto;
    width: 163px;
  }
  
  .step-card .follow-btn:hover {
    transform: scale(1.05);
  }
  
  .step-card .follow-btn.scroll-animate {
    opacity: 1;
    transform: scale(1.05);
    animation: buttonScrollAnimation 1s ease-out forwards;
  }
  
  .step-card .follow-btn img {
  }
  
  .step-card .hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.1rem;
    margin: 1rem 0;
    justify-content: flex-start;
  }
  
  .step-card .tag {
    /* all: unset; */
  }

  .step-card .tag img {
    all: unset;
  }
  
  .step-card .copy-btn {
    transition: transform 0.2s ease;
    margin: 0 auto;
    display: block;
  }
  .step-card .copy-btn img {
    all: unset;
  }

  .step-card .copy-btn:hover {
    transform: scale(1.05);
  }
  
  .step-card .caution {
    font-size: 0.8rem;
    color: #666;
    margin-top: 10px;
    margin-bottom: 10px;
  }
}

.application-section h4 img {
  max-width: 100%;
  height: auto;
}

.phone-illustration {
  max-width: 200px;
  height: auto;
  margin: 20px auto;
  display: block;
}

.step-box {
  margin: 40px 0;
  padding: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.step-content {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.step-number {
  flex-shrink: 0;
}

.step-number img {
  max-width: 60px;
  height: auto;
}

.step-content img {
  max-width: 200px;
  height: auto;
}

.step-text {
  flex: 1;
  min-width: 300px;
}

.step-description {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.step-description span {
  font-weight: bold;
}

.copy-button-wrapper {
  margin: 20px 0;
}

.copy-button-wrapper img {
  max-width: 200px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.copy-button-wrapper img:hover {
  transform: scale(1.05);
}

.caution {
  font-size: 12px;
  color: #666;
  margin-top: 10px;

}

.step-card.step3 .caution {
  display: flex;
}

.caution-box {
  background: white;
  padding: 30px 45px 30px 30px;
  margin-top: 40px;
  max-width: 900px;
  border: 1px solid black;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 1000px) {
  .caution-box {
    width: 100vw;
    margin-left: -16px;
    border: none;
    max-width: unset;
    margin-top: 10px;
    padding-right: 48px;
  }
}

.caution-box .title-container  {
  width: fit-content;
  margin-bottom: 30px;
}

.caution-box .title-container .sub-title {
  width: min(12.6vw,142px);
  transform: translate(2%, 270%);
}

.caution-box .title-container .main-title-text {
}

@media screen and (max-width: 1000px) {
  .caution-box .title-container .main-title-text {
    font-size: clamp(22px, 6.2vw, 2.8rem);
    translate: unset;
  }

  .caution-box .title-container .sub-title {
    width: min(26.6vw, 192px);
    transform: translate(1%, 270%);
  }
}

.caution-list {
  list-style: none;
  padding: 0;
}

.caution-list li {
  margin-bottom: 6px;
  padding-left: 32px;
  line-height: 1.7;
  font-size: 1rem;
  display: flex;
  letter-spacing: -0.03em;
}

.caution-list li span {
  margin-right: 8px;
  font-size: 1rem;
}

@media screen and (max-width: 1000px) {
  .caution-list li,
  .caution-list li span {
    font-size: 1rem;
    padding-left: 8px;
    line-height: 1.8;
  }
}

/* Prize Section */
.prize-section {
  background-color: var(--color-accent-bg);
  padding: 1px 0 90px;
  text-align: center;
}

.prize-section .wrapper {
  position: relative;
}

@media screen and (max-width: 1000px) {
  .prize-section {
    padding: 0 0 47px;  
  }
}

.prize-decoration {
  height: 490px;
}

@media screen and (max-width: 1000px) {
  /* 背景装飾（紙吹雪） */
  .prize-decoration {
    height: clamp(350px, 98vw, 630px);
    width: 100%;
    /* margin-top: 4%; */
    /* transform: scale(1.2) translate(15px, -1px); */
    transform: scale(1.1) translate(15px, -1px);
  }

}

.prize-decoration .decoration {
  /* transform: scale(1.1) translate(0, -16px); */
  margin: 0 auto;
  opacity: 0;
  width: 0;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: 0 auto;
  transform: translate(0, 150px);
}

.decoration-container {
  display: grid;
  place-items: center;
  text-align: center;
  width: 93%;
  margin: 0 auto;
}

.decoration-container>* {
  grid-area: 1/-1;
}

.prize-decoration .decoration.effected {
  animation: 0.5s effect_card forwards;
}

@keyframes effect_card {
  0% {
    transform: translate(0, 150px);
  }

  100% {
    width: 100%;
    max-width: 100%;
    opacity: 1;
    transform: translate(0, 0);
  }
}

.decoration.effected .decoration-container > img {
  animation: effect_flicker 1s ease-in-out forwards;
}

.decoration.effected .decoration-container .decoration-01 {
  animation-delay: 0.2s;
}
.decoration.effected .decoration-container .decoration-02 {
  animation-delay: 0.4s;
}
.decoration.effected .decoration-container .decoration-03 {
  animation-delay: 0.6s;
}

@keyframes effect_flicker {
  0% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  30% {
    opacity: 0;
  }
  40% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  70% {
    opacity: 1;
  }
  80% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@media screen and (max-width: 1000px) {
  .prize-decoration .decoration {
    margin-left: -16px;
    /* right: 6vw; */
    left: -6vw;
    top: 7%;
  }

  .prize-decoration .decoration.effected {
    animation: 0.5s effect_card_sp forwards;
  }

  @keyframes effect_card_sp {
      0% {
    transform: scale(0.0);
    }
    100% {
      width: 115%;
      max-width: 115%;
      opacity: 1;
      transform: scale(1);
    }
  }

  .decoration-container {
    width: 99%;
  }
}


/* メインコンテンツ */
.prize-section .wrapper {
}

/* タイトル部分 */
.prize-header {
  margin-top: -26%;
}

@media screen and (max-width: 1000px) {
  .prize-header {
    width: 50%;
    transform: translate(0, -39%);
  }
}

.prize-title {
  margin-bottom: 20px;
}

.prize-title .title-main {
  max-width: 100%;
  height: auto;
}

.prize-section .title-container {
  width: 100%;
}

.prize-section .main-title-text {
}

.prize-section .sub-title {
  transform: translate(-4%, -8%);
  width: min(23vw,239px);
}

@media screen and (max-width: 1000px) {
  .prize-section .main-title-text {
    transform: translate(1.3%, 48%);
  }
  .prize-section .sub-title {
    transform: translate(1%, 4%);
    width: clamp(150px, 39vw, 300px);
  }
}

/* メイン賞品情報 */
.prize-main {
  margin: 40px 0 0;
  display: grid;
  place-items: center;
  text-align: center;
}

.prize-main>* {
  grid-area: 1/-1;
}

@media screen and (max-width: 1000px) {
  .prize-main {
    max-width: 600px;
    margin: 0 auto 20px;
    position: relative;
  }
  .prize-main>* {
    max-width: 600px;
  }
}

.prize-gift {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.prize-gift>* {
  position: absolute;
}

.gift-box {
  width: min(16vw,180px);
  height: auto;
  top: 15%;
  left: 11%;
  opacity: 0;
  transform: scale(0.3);
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.gift-box.effected {
  opacity: 1;
  transform: scale(1.2);
  animation: giftBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

@keyframes giftBounce {
  0% {
    transform: scale(0.3);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.prize-text {
  margin-bottom: 23px;
}

.gift-card {
  width: min(19vw,210px);
  height: auto;
  top: 20%;
  right: 11%;
  opacity: 0;
  transform: scale(0.3);
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.gift-card.effected {
  opacity: 1;
  transform: scale(1.2);
  animation: giftBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* 注意事項 */
.prize-details {
  margin-top: -179px;
  max-width: 807px;
  margin-left: auto;
  margin-right: auto;
  background-color: white;
  border: 1px solid var(--color-text-main);
  padding: 30px 30px 12px;
}

.announcement-info {
  margin-bottom: 20px;
  text-align: left;
}

.prize-notes {
  list-style: none;
  padding: 0;
  text-align: left;
}

.prize-notes li {
  margin-bottom: 12px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--color-text-main);
  display: flex;
}

.prize-notes li span {
  font-weight: bold;
  margin-right: 8px;
  color: var(--color-text-main);
}

/* Posts Section */
.posts-section {
  padding: 60px 0;
  text-align: center;
}

.posts-section .title-container {
  width: 66%;
}

.posts-section .title-container .sub-title {
  transform: translate(-1%, -14%);
}


@media screen and (max-width: 1000px) {
  .posts-section {
    padding: 50px 0;
    margin-bottom: 30px;
  }

  .posts-section .title-container {
    margin-left: -10%;
    width: 120%;
  }
  .posts-section .title-container img {
    width: 140%;
  }
  .posts-section .title-container .main-title-text {
    /* font-size: clamp(16px, 4.5vw, 2.8rem); */
  }
  .posts-section .title-container .sub-title {
    transform: translate(0.3%, -25%);
    width: min(96vw, 730px);
  }
}

/* Posts Gallery - Swiper */
.posts-gallery.swiper {
  width: 100%;
  height: auto;
  margin-top: 0; 
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  overflow: visible;
  position: relative;
}

/* スライダーアロー */
.slider-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 10;
  pointer-events: none;
  margin: 0 calc(50% - 50vw);
  width: 100vw;
  /* margin-left: calc(50%-50vw);
  margin-right: auto;
  height: fit-content;
  border: 1px solid black; */ */
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: auto;
  cursor: pointer;
}

.slider-arrow:hover {
  transform: translateY(-50%) scale(1.1);
}

.slider-arrow img {
  width: 100%;
  height: auto;
}


.slider-arrow-left {
  left: 20px;
}

.slider-arrow-right {
  right: 20px;
}
@media screen and (max-width: 1000px) {
  .slider-arrow {
    width: 38px;
    transform: translateY(-60%);
  }
  .slider-arrow-left {
    left: 8px;
  }
  .slider-arrow-right {
    right: 8px;
  }
}

.posts-gallery .swiper-wrapper {
  align-items: stretch;
}

.post-item.swiper-slide {
  height: auto;
  display: flex;
  flex-direction: column;
  background: white;
  padding: 13px 13px 46px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  cursor: pointer;
}

.post-item.swiper-slide img {
  transition: none; /* 画像のトランジションを無効化 */
}

.post-item.swiper-slide:hover {
  transform: translateY(-5px);
}

@media screen and (max-width: 1000px) {
  .post-item.swiper-slide {
    padding: clamp(8px, 1vw, 13px) clamp(8px, 1vw, 13px) clamp(15px, 2.1vw, 33px);
    aspect-ratio: 104/124;
  }
}

.post-item img {
  width: 100%;
  object-fit: cover;
  aspect-ratio: 93/96;
}

/* PC版：5枚横並び */
/* @media (min-width: 1024px) {
  .posts-gallery.swiper {
    max-width: 100%;
  }
} */

/* SP版：3枚×2段 */
/* @media (max-width: 999px) {
  .posts-gallery.swiper {
    max-width: 100%;
  }
} */

/* モーダルスタイル */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(172,172,172,56%);
  animation: fadeIn 0.3s ease;
  height: 100vh;
  overflow-y: scroll;
}


.modal-content {
  position: relative;
  margin: 30px auto 10px;
  padding: min(6.4vw, 92px) min(3.1vw, 40px) 38px;
  width: 90%;
  max-width: min(50vw,600px);
  background-color: #FFFDD0;
  border-radius: 20px;
  animation: slideIn 0.3s ease;
  font-size: min(1.4vw, 20px);
  /* 背景の雲の配置 */
  background-image: url('../images/modal-cloud-light.svg'), url('../images/modal-cloud-right.svg');
  background-repeat: no-repeat;
  background-position: left 4%, right 49%;
  background-size: 18% auto, 16% auto;
}

.close {
  position: absolute;
  top: min(3.5vw, 45px);
  right: min(2.8vw, 45px);
  width: 30px;
  width: min(5%,30px);
  aspect-ratio: 1 / 1;
  /* height: 30px; */
  background-image: url('../images/modal-close.svg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  cursor: pointer;
  z-index: 1010;
  border: none;
  background-color: transparent;
  transition: opacity 0.3s ease;
}

.close:hover {
  opacity: 0.7;
}

/* ユーザー情報スタイル */
.modal-user-info {
  display: flex;
  align-items: flex-start;
  padding-bottom: 15px;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

.user-avatar {
  width: 54px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-right: 15px;
  flex-shrink: 0;
}

.user-details {
  flex: 1;
}

.user-name {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

#modalDisplayName {
  color: #000;
}

#modalUsername {
}

/* SP版のモーダルスタイル調整 */
@media screen and (max-width: 1000px) {
  .modal-content {
    margin: clamp(10px, 5vw, 30px) auto;
    width: 90%;
    font-size: 15px;
    max-width: 550px;
    padding: 66px 20px 30px;
  }

  .close {
    width: 37px;
    top: 20px;
    right: 19px;
  }
  
  .user-avatar {
    width: 40px;
    height: 40px;
    margin-right: 12px;
  }

  .modal-user-info {
    padding-bottom: 10px;
    max-width: 440px;
  }
}
#modalImage {
  width: 90%;
  height: auto;
  margin: 0 auto 20px;
  object-fit: contain;
  /* max-height: min(27vw,400px); */
  max-width: 440px;
}

/* モーダル画像サイズ対応 - 横長画像（landscape） */
#modalImage.square,
#modalImage.landscape {
  width: 440px;
  height: auto;
  /* max-width: 90vw; */
  /* max-height: 80vh; */
}

/* モーダル画像サイズ対応 - 縦長画像（portrait） */
#modalImage.portrait {
  width: auto;
  height: 400px;
  /* max-width: 90vw; */
  /* max-height: 80vh; */
}

/* モーダル画像サイズ対応 - 正方形画像（square） */
/* #modalImage.square {
  width: 440px;
  height: 440px;
  max-width: 90vw;
  max-height: 80vh;
} */

.modal-text {
  line-height: 1.6;
  color: #333;
  word-wrap: break-word;
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
}

@media screen and (max-width: 1000px) {
  #modalImage {
    max-height: 200px;
    margin: 0 auto 10px;
    width: 94%;
  }

  /* モーダル画像サイズ対応 - SP版 横長画像（landscape） */
  #modalImage.square,
  #modalImage.landscape {
    width: 100%;
    height: auto;
    max-width: 440px;
    max-height: 80vh;
  }

  /* モーダル画像サイズ対応 - SP版 縦長画像（portrait） */
  #modalImage.portrait {
    width: 100%;
    max-height: 400px;
  }

  .modal-text {
    font-size: 13px;
    max-width: 440px;
  }
}


/* モーダルアニメーション */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { 
    opacity: 0;
    transform: translateY(-50px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

/* モーダルローディングアニメーション */
.modal-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  min-height: 200px;
}

.modal-loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid var(--color-accent-bg);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20px;
}

.modal-loading-text {
  color: #333;
  font-size: 16px;
  margin: 0;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media screen and (max-width: 1000px) {
  .modal-loading {
    min-height: 150px;
    padding: 40px 20px;
  }
  
  .modal-loading-spinner {
    width: 40px;
    height: 40px;
    border-width: 3px;
    margin-bottom: 15px;
  }
  
  .modal-loading-text {
    font-size: 14px;
  }
}

/* About Section */
.about-section {
  padding: 30px 0;
  text-align: center;
  display: grid;
  place-items: center;
}

.about-section>* {
  grid-area: 1/-1;
}

@media screen and (max-width: 1000px) {
  .about-section {
    padding: 30px 0 190px;
  }
}

.about-illustration {
  position: relative;
  width: 100%;
  height: 105%;
  pointer-events: none;
}

.about-illustration img {
  width: 100%;
  max-width: 300px;
  height: auto;
  position: absolute;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* 左側の要素（1番目、3番目）の初期状態 */
.about-illustration img:nth-of-type(1),
.about-illustration img:nth-of-type(3) {
}

/* 右側の要素（2番目、4番目）の初期状態 */
.about-illustration img:nth-of-type(2),
.about-illustration img:nth-of-type(4) {
  transform: translateX(50px);
}

/* フェードイン完了状態 */
.about-illustration img.fade-in-complete {
  transform: translateX(0) rotate(0);
  opacity: 1;
}

/* フェードイン完了後にカタカタアニメーションを適用 */
.about-illustration img.fade-in-complete:nth-of-type(1),
.about-illustration img.fade-in-complete:nth-of-type(3) {
  animation: effect_katakata01 8s ease-in-out;
  animation-delay: 0.8s;
}

.about-illustration img.fade-in-complete:nth-of-type(2),
.about-illustration img.fade-in-complete:nth-of-type(4) {
  animation: effect_katakata02 8s ease-in-out;
  animation-delay: 0.8s;
}

.about-illustration img:nth-of-type(1) {
  top: -6.4%;
  left: 12.9%;
  width: 20%;
}

.about-illustration img:nth-of-type(2) {
  top: -3%;
  right: 7%;
  width: 20%;
}

.about-illustration img:nth-of-type(3) {
  bottom: -12%;
  left: 5%;
  width: 19.8%;
}

.about-illustration img:nth-of-type(4) {
  bottom: -8%;
  right: 3%;
  width: 24%;
  max-width: 348px;
}

@media screen and (max-width: 1220px) {
  .about-illustration {
    position: relative;
  }

  .about-illustration img:nth-of-type(1) {
    left: 8.9%;
  }

  .about-illustration img:nth-of-type(2) {
    right: 6%;
  }

  .about-illustration img:nth-of-type(3) {
    bottom: 14%;
    left: 5%;
  }
  
  .about-illustration img:nth-of-type(4) {
    bottom: 11%;
    right: 2%;
  }
}

@media screen and (max-width: 1000px) {
  .about-illustration {
    max-width: 380px;
  }

  .about-illustration img:nth-of-type(1) {
    top: -8%;
    left: 0.8%;
    width: 43%;
    z-index: 1;
  }

  .about-illustration img:nth-of-type(2) {
    top: -16%;
    right: -5.2%;
    width: 53%;
  }

  .about-illustration img:nth-of-type(3) {
    bottom: -38%;
    left: -1.2%;
    width: 53%;
  }

  .about-illustration img:nth-of-type(4) {
    bottom: -28%;
    right: -11.2%;
    width: 63%;
  }
}

.about-wrapper {
  text-align: center;
}


.about-header {
  margin-bottom: 40px;
}

.about-header .title-container .sub-title {
  transform: translate(0, -26%);
  width: min(28vw, 331px);
}

.about-header .title-container .main-title-text {
  /* padding-top: 3.7rem; */
}
@media screen and (max-width: 1000px) {
  .about-header .title-container {
    width: 90%;
    margin-top: 80px;
  }
  .about-header .title-container .main-title-text {
    white-space: nowrap;
  }
  .about-header .title-container .sub-title {
    width: min(55vw, 400px);
    transform: translate(0, -20%);
  }
}

.about-description {
  line-height: 1.8;
  margin: 30px auto;
}

.about-description~.about-description {
  margin-top: 0;
}

.key-message {
  max-width: 100%;
  height: auto;
  margin: 30px 0;
  background: #FFD500;
  font-weight: bold;
  width: fit-content;
  margin: 0 auto 15px;
  padding: 0 10px;
  font-size: 1.3rem;
  line-height: 1.4;
}

/* Terms Section */
.terms-section {
  /* background-color: var(--color-base-bg); */
  padding: 60px 0;
  text-align: center;
}

.terms-section .title-container {
  width: fit-content;
  margin-bottom: 40px;  
}

.terms-section .title-container .main-title-text{ 
}

.terms-section .title-container .sub-title{ 
  transform: translate(0, 250%);
  width: min(13vw, 142px);
}

@media screen and (max-width: 1000px) {
  .terms-section {
    padding: min(17%,80px) 0;
  }

  .terms-section .title-container {
    border-top-left-radius: 200px;
    border-top-right-radius: 200px;
    margin-top: -20px;
  }

  .terms-section .title-container .main-title-text{ 
  }
  .terms-section .title-container .sub-title {
    width: min(26vw, 190px);
    transform: translate(0, 290%);
  }
}

.terms-content {
  background: white;
  padding: 20px 40px 60px;
  border-top-left-radius: 279px;
  border-top-right-radius: 279px;
  margin: 30px auto;
  text-align: left;
  border: 1px solid black;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media screen and (max-width: 1000px) {
  .terms-content {
    padding: 75px 5.5% 20px;
  }
}

.terms-box {
  max-width: 706px;
  width: 100%;
  max-height: 351px;
  overflow-y: scroll;
  padding: 0 40px 20px;
}

@media screen and (max-width: 1000px) {
  .terms-box {
    width: 95%;
    padding: 0 20px 0 0px;
    margin-right: -10px;
  }
}

/* OverlayScrollbarsのカスタムスタイル */
.os-scrollbar-vertical {
  width: 22px !important; /* スクロールバーの幅を22pxに設定 */
  border: 1px solid black !important; /* トラックの外枠に1pxの黒いボーダー */
  padding: 10px 4px !important;
}

@media screen and (max-width: 1000px) {
  .os-scrollbar-vertical {
    width: 18px !important;
  }
}

.os-scrollbar-handle {
  height: 30px !important; /* thumbの長さを30pxに固定 */
  background: var(--color-section-bg) !important; /* セクション背景色 */
  border-radius: 12px !important; /* 角丸 */
}

.os-scrollbar-track {
  border-radius: 4px !important; /* トラックの角丸 */
  background: #fff !important; /* トラックの背景色 */
}

.terms-intro {
  line-height: 1.8;
  margin-bottom: 30px;
  font-size: 14px;
}

@media screen and (max-width: 1000px) {
  .terms-intro {
    width: 97%;
  }
}

.terms-list {
  margin-top: 20px;
}

.terms-list dt {
  font-weight: bold;
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 16px;
}

.terms-list dd {
  margin-bottom: 15px;
  padding-left: 20px;
  font-size: 14px;
  line-height: 1.6;
}

/* Footer */
footer {
  background-color: white;
  padding: 40px 0;
  text-align: center;
}

.share-title .main-title-text {
  line-height: 1.4;
}

.share-title .sub-title {
  width: min(20.5vw, 239px);
  transform: translate(-3%, -17%);
}

@media screen and (max-width: 1000px) {
  .share-title {
    width: 90%;
  }
  .share-title .main-title-text {
    line-height: 1.8;
  }
  .share-title .sub-title {
    width: min(38vw, 280px);
    transform: translate(-3%, -4%);
  }
}

.snslist {
  display: flex;
  justify-content: center;
  gap: 36px;
  list-style: none;
  margin-bottom: 30px;
  margin-top: 40px;
}

.snslist li a {
  display: block;
  transition: transform 0.2s ease;
}

.snslist li a:hover {
  transform: scale(1.1);
}

.snslist li img {
  width: 67px;
  aspect-ratio: 1 / 1;
}

.btn_copy02 {
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn_copy02:hover {
  transform: scale(1.1);
}

.contact-info {
  text-align: center;
  margin: 50px 0;
  font-size: 16px;
  font-weight: bold;
  color: #666;
  line-height: 1.9;
}

@media screen and (max-width: 1000px) {
  .contact-info {
    font-size: 12px;
  }
}

.copyright {
  text-align: center;
  font-size: 12px;
  color: #999;
  margin-top: 20px;
}

/* Button Styles */
.btn01, .btn02 {
  display: inline-block;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.btn01 {
  margin-top: 14px;
  width: min(52vw,619px);
}

.btn01:hover, .btn02:hover {
  transform: scale(1.05);
}

/* btn01のホバーアニメーションを確実に適用 */
.btn01 {
  transition: transform 0.2s ease;
}

.btn01:hover {
  transform: scale(1.05);
}

.btn01 img, .btn02 img {
  height: auto;
}

@media screen and (max-width: 1000px) {
  .btn01 {
    margin-top: -6px;
    width: min(89vw,369px);
  }
}


/* Responsive Design */
@media screen and (max-width: 1000px) {
  .wrapper {
    padding: 0 16px;
  }
  
  .header-logo {
    top: 15px;
    right: 3%;
    width: 18%;
  }
  
  .header-logo img {
    max-width: unset;
  }
  
  .fv-logo {
    margin: 30px auto 10px;
  }
  
  .fv-logo img {
    /* max-width: 90%; */
  }
  
  section {
    padding: 40px 0;
  }
  
  /* Prize Section - Mobile */
  .prize-gift {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .gift-box{
    top: -8%;
    left: -10px;
    width: 35%;
    transform: unset;
  }
  .gift-card {
    top: unset;
    right: -13.5%;
    bottom: -9%;
    width: 46%;
  }
  
  .prize-text {
    width: 84%;
    margin-bottom: -37%;
  }
  
  .prize-description {
    font-size: 1.4rem;
  }
  
  .prize-details {
    padding: 20px;
    margin-top: unset;
  }
  
  .announcement-info {
    /* font-size: 1rem; */
  }
  
  .prize-notes li {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 0;
  }
  
  .photo-gallery {
    flex-direction: column;
    align-items: center;
  }
  
  .photo-gallery img {
    max-width: 100%;
    margin-bottom: 20px;
  }
  
  
  .step-content {
    flex-direction: column;
    text-align: center;
  }
  
  .step-text {
    min-width: auto;
  }
  
  .posts-gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
  }
  
  .snslist {
    gap: 29px;
  }
  
  .snslist li img {
    width: 51px;
  }
}

/* モーダルスタイル */
/* .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}


#modalUsername {
  font-size: 15px;
  color: #666;
} */
