@charset "UTF-8";

/* ==============================
   全体スタイル
============================== */
body {
  background-color: #ffffff;
  margin: 0;
}

/* ==============================
   メインビジュアル
============================== */
.image-wrapper {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}
.image-wrapper h1 {
  position: absolute;
  top: 50%;
  left: 65%;
  transform: translate(-50%, -50%);
  color: aliceblue;
  font-size: clamp(24px, 5vw, 55px);
  white-space: normal;
  margin: 0;
  text-align: center;
  max-width: 90%;
}
@media screen and (max-width: 600px) {
  .image-wrapper img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    object-position: left;
  }
  .image-wrapper h1 {
    font-size: 6vw;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* ==============================
   見出し
============================== */
.responsive-h2 {
  font-size: 20px;
  line-height: 2.2;
  text-align: center;
  margin: 10rem 2rem 0rem 2rem;
}
.mobile-break {
  display: none;
}
@media screen and (max-width: 600px) {
  .mobile-break {
    display: block;
    height: 0;
  }
  .responsive-h2 {
    font-size: 16px;
    margin: 5rem 1rem 1rem;
  }
}

/* ==============================
   フェードインアニメーション
============================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation-name: fadeInUp;
  animation-duration: 1s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==============================
   ウィンドブレーカー・フリース共通
============================== */
.content-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 2rem;
  padding-left: 2rem;
  padding-right: 2rem;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
}

.text {
  flex: 0 0 220px;
  text-align: left;
}

.text strong {
  font-size: 1.5rem;
  line-height: 1.5;
  display: block;
  margin-bottom: 0.5rem;
}

.text p {
  font-size: 1.2rem;
  line-height: 1.5;
}

.btn-shop {
  display: inline-block;
  white-space: nowrap;
  padding: 0.8rem 2rem;
  background: #333;
  color: #fff;
  border-radius: 24rem;
  text-align: center;
  text-decoration: none;
  margin-top: 0.8rem;
  font-weight: bold;
  transition: all 0.3s ease;
  max-width: 100%;
  font-size: 1.1rem;
}

.btn-shop:hover {
  background: #ff4291;
  color: #fff;
  transform: scale(1.05);
}

/* 画像部分 */
.images {
  flex: 1 1 auto;
  display: flex;
  gap: 0.5rem;
}

.images img {
  width: 50%;
  height: auto;
  border-radius: 8px;
  flex-shrink: 0;
}

/* スマホ対応：縦並び */
@media screen and (max-width: 600px) {
  .content-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .text,
  .images {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .text {
    flex: none;
    order: 2;
    text-align: left;
  }

  .images {
    flex-direction: column;
  }

  .images img {
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
  }

  .btn-shop {
    display: block;
    margin: 1rem auto 0;
    width: fit-content;
  }
}
/* スライダーラッパー */
.slider-container {
  max-width: 1200px;
  width: 100%;
  margin: 3rem auto 4.5rem;
  overflow: hidden;
  position: relative;
  text-align: center;
  height: 450px; /* 画像帯の高さ */
}

/* 流れる帯 */
.loop_wrap {
  display: flex;
  width: calc(2 * 1200px);
  animation: scroll 20s linear infinite;
}

.loop_wrap img {
  height: 300px;
  width: 1200px;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}

/* アニメーション */
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-1200px);
  }
}

/* ボタンは画像の下に表示 */
.btn-slider {
  display: inline-block;
  padding: 1.5rem 2.5rem;
  font-size: 1.2rem;
  font-weight: bold;
  background: #ff4291;
  color: #fff;
  border-radius: 24rem;
  border: 1px solid #ff4291;
  text-align: center;
  text-decoration: none;
  margin: 3rem auto 0; /* 画像帯の下に余白 */
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.btn-slider:hover {
  transform: scale(1.05);
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .loop_wrap img {
    width: auto;
    height: auto;
    object-fit: contain;
  }
}
