@charset "UTF-8";
/* ===================================
  Hero Section（メインビジュアル）
  =================================== */
.hero {
  position: relative;
  min-height: 100vh;
  max-height: 120vh;
  padding: 0 6.4rem 6rem;
  background: linear-gradient(135deg, #FF9800 0%, #FFA726 25%, #66BB6A 50%, #42A5F5 75%, #2196F3 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero .container {
  position: relative;
  z-index: 200;
}

.hero-main {
  position: relative;
  text-align: center;
  margin: 0 auto;
  padding-top: 1.5rem;
  z-index: 100;
}

.hero-main-title {
  max-width: 160rem;
  width: 100%;
  height: auto;
  margin: 0 auto;
  display: block;
  animation: zoomInBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
  opacity: 0;
}

/* PC時はPC用画像を表示、SP用画像を非表示 */
.hero-main-title-pc {
  display: block;
}

.hero-main-title-sp {
  display: none;
}

.hero-subtitle-wrapper {
  max-width: 45rem;
  width: 100%;
  margin: 2rem auto 0;
}

.hero-subtitle-image {
  width: 100%;
  height: auto;
  display: block;
  animation: zoomInBounce 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) 0.2s forwards;
  opacity: 0;
}

.hero-char-left {
  position: absolute;
  left: -14rem;
  bottom: -15vh;
  z-index: 5;
}

.hero-char-bear {
  width: 68vw;
  max-width: 120rem;
  height: auto;
  display: block;
  animation: slideInFromLeft 1s ease-out forwards;
  opacity: 0;
}

.hero-badges-left {
  position: absolute;
  left: 5vw;
  bottom: 15vh;
  z-index: 10;
}

.hero-badge {
  width: 18vw;
  max-width: 22rem;
  min-width: 12rem;
  height: auto;
  display: block;
  opacity: 0;
  visibility: hidden;
}

.hero-badge:first-child {
  animation: fadeIn 0.6s ease-out 1.2s forwards;
}

.hero-badge:last-child {
  animation: fadeIn 0.6s ease-out 1.6s forwards;
  margin-top: -3rem;
}

.hero-char-right {
  position: absolute;
  right: 5vh;
  bottom: -10vh;
  z-index: 50;
}

.hero-char-ol {
  width: 45vw;
  max-width: 100rem;
  height: auto;
  display: block;
  animation: shivering 0.8s ease-in-out infinite;
}

.hero-char-wind {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: auto;
  display: block;
  z-index: 60;
  animation: windBlowing 2s ease-in-out infinite;
  opacity: 0.8;
}

/* ズームインアニメーション（バウンド付き） */
@keyframes zoomInBounce {
  0% {
    transform: scale(0.3);
    opacity: 0;
  }
  60% {
    transform: scale(1.15);
    opacity: 1;
  }
  80% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* フェードインアニメーション */
@keyframes fadeIn {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
  }
  1% {
    visibility: visible;
  }
  100% {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

/* バッジ表示アニメーション */
@keyframes showBadges {
  0% {
    opacity: 0;
    visibility: hidden;
  }
  60% {
    opacity: 1;
  }
  100% {
    visibility: visible;
  }
}

/* 左からスライドインアニメーション */
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

/* 風が吹くアニメーション */
@keyframes windBlowing {
  0%, 100% {
    transform: translateX(-50%) translateY(0) scale(1);
    opacity: 0.6;
  }
  25% {
    transform: translateX(-45%) translateY(-5px) scale(1.05);
    opacity: 0.8;
  }
  50% {
    transform: translateX(-55%) translateY(-8px) scale(1.08);
    opacity: 0.9;
  }
  75% {
    transform: translateX(-48%) translateY(-3px) scale(1.03);
    opacity: 0.7;
  }
}

/* 震えるアニメーション */
@keyframes shivering {
  0%, 100% {
    transform: translateX(0) rotate(0deg);
  }
  10% {
    transform: translateX(-2px) rotate(-0.5deg);
  }
  20% {
    transform: translateX(2px) rotate(0.5deg);
  }
  30% {
    transform: translateX(-2px) rotate(-0.5deg);
  }
  40% {
    transform: translateX(2px) rotate(0.5deg);
  }
  50% {
    transform: translateX(-1px) rotate(-0.3deg);
  }
  60% {
    transform: translateX(1px) rotate(0.3deg);
  }
  70% {
    transform: translateX(-2px) rotate(-0.5deg);
  }
  80% {
    transform: translateX(2px) rotate(0.5deg);
  }
  90% {
    transform: translateX(-1px) rotate(-0.3deg);
  }
}

.hero-cta-button {
  position: absolute;
  right: 10vh;
  bottom: 8vh;
  z-index: 60;
}

.btn-hero {
  display: inline-block;
  background: linear-gradient(to bottom, #8cc63f 0%, #009245 100%);
  color: #FFFFFF;
  font-size: 3.6rem;
  font-weight: 700;
  padding: 1.8rem 8rem 1.8rem 5rem;
  border: 4px solid #FFFFFF;
  border-radius: 5rem;
  box-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.2);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.btn-hero::after {
  content: '▶';
  position: absolute;
  right: 4rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.6rem;
  color: #FFFFFF;
}

.btn-hero:hover {
  background: linear-gradient(to bottom, #009245 20%, #8cc63f 100%);
  transform: translateY(-0.2rem);
  box-shadow: 0 1rem 2.4rem rgba(0, 0, 0, 0.25);
}

/* ===================================
  レスポンシブデザイン - Hero
  =================================== */

/* タブレット (1440px以下) */
@media (max-width: 1440px) {
  .hero {
    min-height: 95vh;
    max-height: 120vh;
    padding: 0 4rem 4rem;
  }
  
  .hero-main {
    padding-top: 1.5rem;
  }
  
  .hero-main-title {
    max-width: 140rem;
  }
  
  .hero-subtitle-wrapper {
    max-width: 40rem;
    margin-top: 1rem;
  }
  
  .hero-char-left {
    left: -12rem;
    bottom: -10vh;
  }
  
  .hero-char-bear {
    width: 68vw;
    max-width: 110rem;
  }
  
  .hero-badges-left {
    left: 4vw;
    bottom: 12vh;
  }
  
  .hero-badge {
    width: 15vw;
    max-width: 20rem;
    min-width: 12rem;
  }
  
  .hero-badge:last-child {
    margin-top: -2rem;
  }
  
  .hero-char-right {
    bottom: -9vh;
  }
  
  .hero-char-ol {
    width: 50vw;
    max-width: 90rem;
  }
  
  .hero-cta-button {
    right: 10vh;
    bottom: 3vh;
  }
  
  .btn-hero {
    font-size: 2.8rem;
    padding: 1.5rem 6rem 1.5rem 4rem;
  }
  
  .btn-hero::after {
    right: 3rem;
    font-size: 2.2rem;
  }
}
/* タブレット (1024px以下) */
@media (max-width: 1024px) {
  .hero {
    min-height: 700px;
    padding: 60px 40px 40px;
  }
  
  .hero-main {
    padding-top: 1rem;
    z-index: auto;
  }
  
  .hero-main-title {
    max-width: 80rem;
  }
  
  .hero-subtitle-wrapper {
    max-width: 30rem;
    margin-top: 1.5rem;
  }
  
  .hero-char-left {
    left: -8vw;
  }
  
  .hero-char-bear {
    max-width: 95rem;
  }
  
  .hero-char-right {
    right: 0;
    bottom: -5vh;
  }
  
  .btn-hero {
    font-size: 2.4rem;
    padding: 1.8rem 5rem 1.8rem 3.5rem;
  }
  
  .btn-hero::after {
    right: 2.5rem;
    font-size: 1.8rem;
  }
}

/* モバイル (768px以下) */
@media (max-width: 768px) {
  .hero {
    min-height: 600px;
    padding: 20px 24px 30px;
  }
  
  .hero-main {
    padding-top: 0.5rem;
    z-index: auto;
  }
  
  .hero-main-title {
    max-width: 100%;
  }
  
  /* SP時はSP用画像を表示、PC用画像を非表示 */
  .hero-main-title-pc {
    display: none;
  }
  
  .hero-main-title-sp {
    display: block;
  }
  
  .hero-subtitle-wrapper {
    max-width: 100%;
    margin-top: 1rem;
  }
  
  /* SP時はサブタイトル画像を非表示 */
  .hero-subtitle-image {
    display: none;
  }
  
  .btn-hero {
    font-size: 2rem;
    padding: 1.6rem 4rem 1.6rem 3rem;
    display: inline-block;
    width: auto;
    max-width: 100%;
  }
  
  .btn-hero::after {
    right: 2rem;
    font-size: 1.6rem;
  }
}

/* 小さいモバイル (480px以下) */
@media (max-width: 480px) {
  .hero {
    min-height: 90vh;
    padding: 10px 0 20px;
    overflow: hidden;
  }
  .hero .container {
    margin: 0 0 0 -3rem;
    padding: 2rem 0;
  }
  .hero-main {
    padding-top: 0;
  }
  
  .hero-subtitle-wrapper {
    margin-top: 0.8rem;
  }
  
  .hero-char-left {
    left: -50vw;
    bottom: 5vh;
    z-index: 60;
  }
  
  .hero-char-bear {
    width: 150vw;
    max-width: 210rem;
  }
  
  .hero-badges-left {
    padding-top: 0.8rem;
  }
  
  .hero-badges-left {
    left: 45vw;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    z-index: 61;
  }

  .hero-badge {
    width: 100%;
    max-width: 8rem;
  }
  .hero-badge:last-child {
    margin-top: 0;
    margin-left: -2rem;
  }

  .hero-char-right {
    right: -40vw;
    bottom: 18vh;
  }

  .hero-char-ol {
    width: 120vw;
    max-width: 100rem;
  }
  
  .hero-cta-button {
    right: 50%;
    bottom: 2rem;
    transform: translateX(50%);
  }
  
  .btn-hero {
    font-size: 2.2rem;
    padding: 1.2rem 5.5rem 1.2rem 4.5rem;
    white-space: nowrap;
  }
  
  .btn-hero::after {
    right: 1.5rem;
    font-size: 1.4rem;
  }
}
