@charset "UTF-8";
/* ====================================
   Reset CSS (リセットスタイル)
==================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  line-height: 1.6;
  background-color: #f8f9fa;
  color: #333;
}

/* ====================================
   Base Elements (基本要素)
==================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0;
}

p {
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
}

/* ====================================
   LP contents
==================================== */
header {
  background-color: #018665;
  color: white;
  padding: 1.5rem 0;
  text-align: center;
}

.logo {
  display: inline-block;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  max-height: 60px;
  width: 60%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero {
  position: relative;
  height: 600px;
  background: url("../images/bg.jpg") center/cover no-repeat;
  overflow: hidden;
}

.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  z-index: 10;
  padding-bottom: 2rem;
}

.hero-title {
  text-align: center;
  margin-bottom: 1.5rem;
  animation: fadeIn 1.5s ease-out;
  max-width: 90%;
}

.hero-title img {
  max-width: 100%;
  height: auto;
}

.hero-text {
  text-align: center;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 2rem;
  border-radius: 10px;
  color: white;
  max-width: 600px;
  animation: fadeIn 1.5s ease-out 0.5s backwards;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.character-left {
  position: absolute;
  left: 5%;
  top: 5%;
  height: 70%;
  z-index: 5;
  animation: slideInLeft 1.2s ease-out forwards;
}

.character-left img {
  width: 60%;
}

.character-right {
  position: absolute;
  right: -10%;
  top: 5%;
  height: 70%;
  z-index: 5;
  animation: slideInRight 1.2s ease-out forwards;
}

.character-right img {
  width: 60%;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0);
  }
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin: 2rem 0 1rem;
  color: #333;
}

p {
  margin-bottom: 1rem;
}

.btn {
  display: inline-block;
  background-color: #d62828;
  color: white;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.btn:hover {
  background-color: #ff5252;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.products {
  padding: 3rem 0;
  background-color: #fff5e1;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column; /* 縦方向に要素を配置 */
}

.product-card:hover {
  transform: translateY(-10px);
}
.product-image {
  height: 250px;
  background-color: #f1f1f1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-image img {
  width: 100%;
}

.product-info {
  padding: 1.5rem;
  background-color: white; /* 背景色を追加して画像と重ならないように */
  flex-grow: 1; /* 余白を埋める */
  z-index: 1; /* SPサイズでも画像の上に重ならないように */
}

.product-image-carousel {
  position: relative;
  width: 100%;
  padding-bottom: 100%; /* アスペクト比1:1を維持するための設定 */
  background-color: #f1f1f1;
  overflow: hidden;
}

.carousel-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.carousel-slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 画像を切り抜いてエリア全体を埋める */
  object-position: center; /* 中央を基準に表示 */
}

/* 高解像度画像のためのオプション - 必要に応じて使用 */
.carousel-slide.contain-mode img {
  object-fit: contain; /* 画像全体を表示（余白ができる可能性あり） */
}

/* 画像ホバー時のズーム効果（オプション） */
.carousel-slide img {
  transition: transform 0.3s ease;
}

.product-card:hover .carousel-slide img {
  transform: scale(1.05);
}

.carousel-nav {
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.carousel-prev,
.carousel-next {
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin: 0 10px;
}

.carousel-dots {
  display: flex;
  gap: 5px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.dot.active {
  background-color: white;
}

/* 商品カードのリンク関連スタイル */
.product-image-link {
  display: block;
  position: relative;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

.product-title-link {
  display: block;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.5rem;
  transition: color 0.3s ease;
}

.product-title-link:hover {
  color: #2575fc; /* リンクホバー時の色 */
}

.product-title-link h3 {
  margin-bottom: 0.5rem;
}

.carousel-nav button {
  position: relative;
  z-index: 5;
}

.carousel-nav button:focus {
  outline: none;
}

/* ドットもクリック可能に */
.carousel-dots .dot {
  position: relative;
  z-index: 5;
}

/* レスポンシブ対応 */
@media (max-width: 768px) {
  .product-card {
    max-width: 100%;
  }

  .product-image-carousel {
    height: 200px; /* SPサイズでは少し小さく */
  }
}

.product-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.product-price {
  font-weight: bold;
  color: #ff6b6b;
  margin-bottom: 1rem;
}

.features {
  padding: 3rem 0;
  background-color: #e6e7e6;
}
.features img {
  width: 50%;
}

.features div.campaign {
  text-align: center;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.feature-item {
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-icon {
  font-size: 2rem;
  color: #2575fc;
  margin-bottom: 1rem;
}

footer {
  background-color: #ecbf2d;
  color: white;
  padding: 3rem 0;
  text-align: center;
}

.social-links {
  margin: 1rem 0;
}

.social-links a {
  color: white;
  margin: 0 10px;
  text-decoration: none;
}

.floating {
  animation: float 6s ease-in-out infinite;
}

.floating-delay {
  animation: float 6s ease-in-out 1s infinite;
}

.cta-button {
  animation: pulse 2s infinite;
}

.happydays {
  margin: 0 auto;
  background-color: #e6e7e6;
}
.happydays p {
  margin-bottom: 0;
}
.happydays p img {
  width: 100%;
}

section.shoplist {
  background-color: #f0f0f0;
  padding: 3rem 0;
  text-align: center;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* 1760px以下の場合のレスポンシブ対応 */
@media (max-width: 1760px) {
  .hero {
    height: auto;
    padding: 2rem 0 4rem;
    display: flex;
    flex-direction: column;
  }

  .hero-content {
    position: relative;
    order: 2;
    padding: 2rem 1rem;
    margin-top: 0.8rem;
  }

  .hero-title {
    margin-bottom: 1rem;
  }

  .hero-text {
    padding: 1.5rem;
    /*max-width: 80%;*/
  }

  .character-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
    order: 1;
    margin-top: 2rem;
  }

  .character-left {
    position: relative;
    height: auto;
    max-width: 55%;
    top: auto;
    left: auto;
    right: auto;
  }

  .character-right {
    position: relative;
    height: auto;
    max-width: 45%;
    top: auto;
    left: auto;
    right: auto;
  }

  .character-right img {
    width: 100%;
    height: auto;
  }
  .character-left img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 768px) {
  .character-left img,
  .character-right img {
    max-width: 100%;
  }

  .hero-text {
    padding: 1rem;
  }

  .product-grid {
    grid-template-columns: 1fr;
  }
}
