/* =================
リセット & ベース
================= */
body {
  width: 100%;
  margin: 0;
  box-sizing: border-box;
  background-color: rgb(255, 255, 255);
  font-family: "Archivo Narrow", sans-serif;
  font-weight: 400;
  font-style: normal;
}

ul {
  padding: 0;
}

h2,
h3 {
  font-size: 1.8rem;
}

p {
  font-size: 16px;
  line-height: 1.8;
}

.wrapper {
  overflow: hidden;
}

/* =================
アニメーション
================= */
.fade-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-left.show {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-right.show {
  opacity: 1;
  transform: translateX(0);
}

/* =================
フロートボタン
================= */
.float-button__wrap {
  display: none;
  max-width: 150px;
  padding: 5px 20px;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #fff;
  text-align: center;
  border-radius: 6px;
}

.float-button__wrap::before {
  content: "▲";
  display: block;
  font-size: 0.7rem;
  color: #fff;
  margin-bottom: 3px;
}

.float-button__wrap a {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
}

/* =================
スライダー（使う場合）
================= */
.simple-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

.simple-slider .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.simple-slider .slide.active {
  opacity: 1;
}

/* =================
セールバナー（使う場合）
================= */
.sale-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.sale-bar img {
  width: 100%;
  display: block;
}

/* =================
フッター（共通）
================= */
footer {
  text-align: center;
  padding: 40px;
}

footer .copy {
  font-size: 12px;
  color: #fff;
}

/* =================
レスポンシブ
================= */
@media (max-width: 768px) {
  .float-button__wrap {
    left: auto;
    right: 20px;
    transform: none;
  }

  .float-button__wrap a {
    font-size: 0.8rem;
  }

  .simple-slider {
    height: 100vh;
  }
}