/* 1. Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
  margin: 0;
  padding: 0;
}

/* 2. Base Typography */
body {
  font-family: 'Open Sans', sans-serif;
  background: #f2f2f2;
  color: #222;
}

/* 3. Header */
.main-banner {
  margin: 0;
  padding: 0;
}
.main-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* 4. Intro Section Background */
.intro-section-bg {
  position: relative;
  z-index: 0;
  overflow: hidden;
  padding: 60px 0;
}
.intro-section-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('https://gigaplus.makeshop.jp/loward/lp/heroacademia/img/herodeku-bunner_1.webp');
  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: -1;
}

/* 5. Sections */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
}

/* 6. Intro (PC) */
@media screen and (min-width: 1024px) {
  .intro {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    position: relative;
    z-index: 1;
  }
  .intro-box {
    width: 50%;
  }
  .intro-section-bg {
    position: relative;
  }
}

/* 7. Intro Boxes */
.intro-box {
  background-color: rgba(255, 255, 255, 0.7);
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
}
.intro-box h3 img {
  width: 200px;
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 10px;
}

/* 8. Label Banner */
/* PC時 */
.label-banner-img {
  display: block;     /* ←inline-blockをblockに変える */
  margin-bottom: 12px;
}
.label-banner-img img {
  max-width: 100%;
  height: auto;
  display: block;
}
    
/* スマホ時だけセンター寄せ */
@media screen and (max-width: 837px) {
  .label-banner-img {
    margin-left: auto;
    margin-right: auto;
    text-align: center;   /* 念のため追加 */
    width: fit-content;   /* 横幅を中身に合わせる。なければ不要 */
  }
  .label-banner-img picture, 
  .label-banner-img img {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

/* 9. Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  text-align: center;
}

/* 10. Item Cards */
.item-card {
  max-width: 340px;
  margin: 20px auto;
  background: #fff;
  padding: 20px 15px;
  border-radius: 10px;
  box-shadow: 3px 3px 0 #000;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 3px solid #222;
  transition: transform 0.2s ease;
}
.item-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 10px 10px 0 #000;
}
.item-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}
.item-card h3 {
  font-size: 1.1rem;
  margin-top: 12px;
  margin-bottom: 10px;
  font-weight: bold;
  text-align: center;
}
.item-card .buy-button {
  margin-top: auto;
  align-self: center;
}

/* 11. Buy Buttons */
.buy-button {
  display: inline-block;
  margin-top: 30px;
  padding: 12px 30px;
  background: #ffeb3b;
  border: 3px solid #000;
  color: #000;
  font-weight: bold;
  font-family: 'Anton', sans-serif;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 3px 3px 0 #000;
  transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.buy-button:hover {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 #000;
}

/* 12. Sliders */
.swiper {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}
.swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
}
.swiper-button-next,
.swiper-button-prev {
  color: black;
}

/* 13. Item Sections */
.item-section-deku,
.item-section-bakugo,
.item-section-syoto,
.item-section-tomura,
.item-section-otyako {
  position: relative;
  text-align: center;
  padding: 60px 20px;
  color: white;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
    url('https://gigaplus.makeshop.jp/loward/lp/heroacademia/img/hibi.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.item-section-deku::before,
.item-section-bakugo::before,
.item-section-syoto::before,
.item-section-tomura::before,
.item-section-otyako::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.75;
}
.item-section-deku::before { background-color: #00837a; }
.item-section-bakugo::before { background-color: #ff671f; }
.item-section-syoto::before { background-color: #41b6e6; }
.item-section-tomura::before { background-color: #4b3048; }
.item-section-otyako::before { background-color: #f59bbb; }
.item-section-deku > *,
.item-section-bakugo > *,
.item-section-syoto > *,
.item-section-tomura > *,
.item-section-otyako > * {
  position: relative;
  z-index: 1;
}

/* 14. Item Headers */
.item-header h2 {
  font-size: 28px;
  font-weight: bold;
  line-height: 1.2;
  margin-bottom: 10px;
}
.item-header h2 span {
  font-size: 36px;
  display: block;
}
.item-header .subtitle {
  font-size: 16px;
  color: #ccc;
  margin-bottom: 20px;
}

/* 15. Item Content */
.item-content {
  position: relative;
  max-width: 900px;
  margin: 0 auto 20px;
}

/* 16. Character Images */
.character-img {
  position: absolute;
  bottom: -20px;
  height: calc(30vw + 100px);
  width: auto;
  z-index: 2;
  pointer-events: none;
  object-fit: contain;
}
.character-left { left: -12vw; right: auto; }
.character-right { right: -12vw; left: auto; }
.item-section-deku .character-img.character-right {
  max-width: 200px;
  right: clamp(-80px, -8vw, -120px);
  bottom: 0;
}
.item-section-tomura .character-img.character-right {
  bottom: 70px;
}
.character-img.character-left.uravity-fix { left: -4vw; }

/* 17. Item Info */
.item-info {
  font-size: 16px;
  line-height: 2;
  max-width: 800px;
  margin: 0 auto;
  color: white;
}

/* 18. Novelty Section */
.novelty-section {
  position: relative;
  background-color: #fff;
  padding: 20px 20px 80px;
  text-align: center;
  font-family: 'Bangers', 'Impact', sans-serif;
  isolation: isolate;
}
.novelty-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('https://gigaplus.makeshop.jp/loward/lp/heroacademia/img/nove-back-min.jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.67;
  z-index: -1;
}
.framed-title { position: relative; display: inline-block; margin-bottom: 20px; }
.frame-title-bg { max-width: 500px; width: 100%; aspect-ratio: 2 / 1; }
.framed-text { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 100%; padding: 0 10px; }
.novelty-title { font-size: 5.2rem; color: #d90000; text-shadow: 2px 2px #000; margin: 0; }
.novelty-text { font-size: 1rem; color: #333; }
.novelty-note { font-size: 0.8rem; color: #fff; margin-top: 5px; }
.sticker-images { display: flex; justify-content: center; gap: 20px; margin-top: 40px; }
.sticker-images img { width: 285px; height: auto; }

/* 19. Footer */
footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 20px;
  font-size: 0.8rem;
}

/* 20. Responsive */
@media screen and (max-width: 1095px) {
  .character-right { right: -10vw; }
  .character-left { left: -10vw; }
}

@media screen and (max-width: 1010px) {
  .character-right { right: -5vw; }
  .character-left { left: -5vw; }
  .item-section-deku .character-img.character-right { right: -5vw; }
}

@media screen and (max-width: 899px) {
  .sticker-images { flex-direction: column; align-items: center; }
  .frame-title-bg { max-width: 300px; }
  .novelty-title { font-size: 3.3rem; }
  .novelty-text { font-size: 1rem; }
  
}

@media screen and (max-width: 768px) {
  .character-img.character-left.uravity-fix { left: -2vw; }
  .item-section-deku .character-img.character-right {
    position: absolute;
    right: 0;
    bottom: 0;
    max-width: 120px;
  }
    
}

@media screen and (max-width: 615px) {
  .item-header h2 span {
    font-size: 24px;  /* 必要に応じて数値調整 */
  }
}
    @media screen and (max-width: 500px) {
  .item-info {
    font-size: 14px;  /* 必要に応じて数値調整 */
  }
}
     @media screen and (max-width: 345px) {
  .novelty-title { font-size: 2.3rem; } 
}  