@charset "utf-8";
/* ================= Hero ================= */
.hero {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9; /* PC：1920×1080 */
  max-height: 100vh;
  overflow: hidden;
  /* margin-bottom: 30px; */
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url("https://www.hokundo.co.jp/images/article/dandadan-main-pc1.jpg") center / cover no-repeat;
}
.hero-catch {
  position: absolute;
  right: 8%;
  top: 45%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  letter-spacing: .24em;
  line-height: 2.0;
  font-size: 1.7rem;
  font-weight: 600;
  color: #fff;
  opacity: 0;
  animation: catchFade 1.6s ease forwards;
}
.hero-h1 {
  position: absolute;
  left: 20px;
  bottom: 20px;
  font-size: 1.0rem;
  color: #ffffff;
}
/* ================= Animation ================= */
@keyframes catchFade {
  from {
    opacity: 0;
    transform: translateY(-46%);
  }
  to {
    opacity: 1;
    transform: translateY(-50%);
  }
}
/* ================= Section ================= */
.section, .image {
  width: 100%;
  padding: 60px 20px;
  box-sizing: border-box;
  position: relative;
}
.section-inner {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.4rem;
  line-height: 2;
}
.section h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}
/* ================= Image ================= */
.image {
  text-align: center;
  padding: 0;
}
.image img {
  max-width: 720px;
  width: 100%;
  transition: transform 1.6s ease;
}
.image img:hover {
  transform: scale(1.03); /* 強すぎない */
}
/* ================= 左右フェード無効化 ================= */
.fade-left, .fade-right {
  opacity: 1;
  transform: none;
}
/* ================= Buy Button ================= */
.fixed-buy {
  position: fixed;
  bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 999;
}
.fixed-buy.is-hidden {
  display: none;
}
.buy-btn {
  background: #111;
  color: #fff;
  padding: 20px 70px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1.2rem;
  letter-spacing: .12em;
  font-weight: 500;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
  transition: background 0.3s ease, transform 0.2s ease;
}
.buy-btn:hover {
  background: #555;
  transform: translateY(-2px);
}
.buy-btn::after {
  content: "";
  position: absolute;
  right: 32px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
}
.buy-end {
  margin: 0 auto 80px;
  text-align: center;
}
/* --- スライダー購入ボタン ----- */
.hero {
  position: relative;
}
/* ボタン配置 */
.top-hero-buy {
  position: absolute;
  bottom: 20px; /* 下からの位置（好みで調整） */
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}
/* ボタンデザイン */
.top-buy-btn {
  display: inline-block;
  padding: 20px 80px 20px 60px; /* 右側に矢印分の余白 */
  color: #fff;
  border: 1px solid #fff;
  border-radius: 50px;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  background: transparent;
  transition: all 0.3s ease;
  position: relative;
}
/* 右矢印 */
.top-buy-btn::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 30px;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: translateY(-50%) rotate(45deg);
  transition: all 0.3s ease;
}
/* hover */
.top-buy-btn:hover {
  background: #fff;
  color: #000;
}
.top-buy-btn:hover::after {
  border-color: #000;
}
/* ================= Footer ================= */
.footer {
  text-align: center;
  font-size: 12px;
  padding: 40px 0;
  color: #666;
  background: #f9f9f9;
}
/* =================　1120px以下 ================= */
@media screen and (max-width: 1120px) {
  .hero-catch {
    font-size: 1.3rem;
  }
}
/* ================= Mobile ================= */
@media (max-width: 768px) {
  .hero {
    aspect-ratio: 1080 / 1440; /* SP：実寸比 */
    max-height: none;
  }
  .hero-bg {
    background-image: url("https://www.hokundo.co.jp/images/article/dandadan-main-sp1.jpg");
  }
  .hero-catch {
    right: 7%;
    top: 35%;
    font-size: 1.6rem;
    letter-spacing: 0.25em;
  }
  .hero-h1 {
    left: 20%;
    transform: translateX(-50%);
    text-align: center;
  }
  .section, .image {
    padding: 30px 20px 0px;
  }
  .section-inner {
    font-size: 1.3rem;
    margin-bottom: 30px;
  }
  .section h2 {
    font-size: 1.4rem;
    margin-bottom: 10px;
  }
  .buy-btn {
    font-size: 1.3rem;
    padding: 18px 64px;
  }
  .buy-btn::after {
    right: 28px;
    width: 8px;
    height: 8px;
  }
  .fixed-buy a, .buy-end a {
    font-size: 1.2rem;
    padding: 20px 60px;
  }
  /* --- スライダー購入ボタン ----- */
  .top-hero-buy {
    bottom: 40px;
  }
  .top-buy-btn {
    padding: 14px 60px 14px 40px;
    font-size: 1.1rem;
  }
  .top-buy-btn::after {
    right: 20px;
    width: 8px;
    height: 8px;
    border-width: 2px;
  }
}