@charset "utf-8";

/* ====================
  基本設定
==================== */
body {
  margin: 0;
  font-family: 'Noto Sans JP', sans-serif;
  color: #424242;
  font-size: 16px;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

h1, h2 {
  margin: 0;
  font-weight: normal;
}

ul, dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ====================
  共通スタイル
==================== */
#items {
  width: 100%;
  margin: 0 auto;
}

.item {
  position: relative;
  overflow: hidden;
  padding: 2rem 1rem 4rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.item-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 30px;
  margin-top: 2rem;
}

.item-image img {
  width: 100%;
  height: auto;
  max-width: 350px;
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.item-text {
  max-width: 600px;
}

.item-name {
  font-size: 1.1rem;
  font-weight: bold;
  text-align: left;
}

.item-price {
  font-size: 1.1rem;
  font-weight: bold;
  margin-top: 10px;
  text-align: right;
}

.item-cmt {
  font-size: 1.1rem;
  margin-top: 20px;
  text-align: justify;
}

.lead {
  padding: 1.5rem 0 2rem;
  background: #1a0b08;
  color: #fff;
  line-height: 2.5em;
}

.lead p {
  font-size: clamp(1.4rem, 3.2vw, 2.1rem);
  transition: font-size 0.3s ease;
  font-weight: normal;
  text-align: center;
  font-family: 'Yu Mincho', '游明朝', serif;
  font-weight: bold;
}

.lead span.leadS {
  font-size: clamp(1.2rem, 2.4vw, 1.3rem);
  transition: font-size 0.3s ease;
}
.lead span.lead-curry {
  color: #e3c664;
}

.pc-none {
  display: block;
}

/* ====================
  KVセクション
==================== */
.kv {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  overflow: hidden;
}

.kv-base,
.side-image,
.kv-overlay {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.kv-base {
  background-image: url('./kv_sp_base.jpg');
  z-index: 1;
}

.side-image {
  top: 0;
  width: 50%;
  height: 100%;
  z-index: 2;
  transform: translateX(0);
  overflow: visible;
}

.left {
  left: 0;
  background-image: url('./kv_sp_kurobuta.webp');
  transform: translateX(-100%);
  animation: slide-left 1.5s ease-out forwards;
  animation-delay: 0.3s;
}

.right {
  left: 50%;
  background-image: url('./kv_sp_kurobuta_curry.webp');
  transform: translateX(100%);
  animation: slide-right 1.5s ease-out forwards;
  animation-delay: 0.6s;
}

@keyframes slide-left { to {transform: translateX(0);}}
@keyframes slide-right { to {transform: translateX(0);}}

.steam-box {
  position: absolute;
  bottom: 5%;
  left: 50%;
  width: 70%;
  height: 80%;
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
}
.steam.main-steam {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 90%;
  height: 70%;
  transform: translateX(-50%);
  background: radial-gradient(circle at center, rgba(255,255,255,0.4) 40%, transparent 75%);
  border-radius: 50%;
  opacity: 0;
  filter: blur(20px);
  animation: steam-rise-once 2s ease-out forwards;
}

@keyframes steam-rise-once {
  0% {
  transform: translate(-50%, 0) scale(0.5);
  opacity: 0;
  }
  30% {
  opacity: 1;
  }
  100% {
  transform: translate(-50%, -150px) scale(2.5);
  opacity: 0;
  }
}

.steam-side {
  animation: slide-left 1.5s ease-out forwards;
  animation-delay: 0.3s;
}

.right.steam-side {
  animation: slide-right 1.5s ease-out forwards;
  animation-delay: 0.6s;
}

.steam-side .main-steam {
  animation-delay: 2s;
}

.kv-overlay {
  background-image: url('./kv_sp_top.webp');
  z-index: 4;
}

.fadein-image {
  position: absolute;
  top: 2%;
  left: 50%;
  width: 42%;
  height: 19%;
  background-image: url('./2509_kurobuta_cp_item09.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0;
  transform: translateX(-50%) scale(0);
  animation: zoom-fadein 1s forwards;
  animation-delay: 2.2s;
  z-index: 5;
}

@keyframes zoom-fadein {
  0% { opacity: 0; transform: translateX(-50%) scale(0); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.5); }
  100% { opacity: 1; transform: translateX(-50%) scale(1); }
}

/* ====================
  各アイテムセクション
==================== */
.item h2 {
  display: inline-block;
  padding: 0.5rem 1rem;
  text-align: center;
  margin: 0 auto;
  background: url('./2509_kurobuta_cp_item10.webp') center / contain no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Yu Mincho', '游明朝', serif;
}

.item h2 span {
  color: #e3c664;
  font-size: clamp(1.3rem, 3vw, 3rem);
  transition: font-size 0.3s ease;
  font-weight: bold;
  white-space: nowrap;
  padding: 0.2rem;
}

/* 黒豚まん */
.kuro_buta {
  background-image: url(./2509_kurobuta_cp_bg01.webp);
}

.kuro_buta .item-image {
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.kuro_buta.is-visible .item-image {
  transform: translateX(-1.7rem);
  opacity: 1;
}

/* 黒豚まんカレー */
.kuro_curry {
  background-image: url(./2509_kurobuta_cp_bg02.webp);
  color: #fff;
}

.kuro_curry .item-image {
  transform: translateX(100%);
  opacity: 0;
  transition: transform 1s ease-out, opacity 1s ease-out;
}

.kuro_curry.is-visible .item-image {
  transform: translateX(1rem);
  opacity: 1;
}

/* 関連施策 */
.item-cp {
  background: #1a0b08;
  padding: 2rem 0 4rem;
}

.item-cp-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 1000px;
  margin: 0 15px 0;
  box-sizing: border-box;
  background: #fff;
  padding: 1.5rem 1rem;
  border-radius: 10px;
  font-size: 0.94rem;
  text-align: justify;
}

.item-cp-title {
  margin: 0;
  transform: translateY(-7px);
  font-weight: bold;
}

.item-cp-image {
  width: 100%;
  margin-bottom: 20px;
}

.item-cp-text {
  width: 100%;
}

.item-cp-des dl {
  display: block;
}

.item-cp-des dt {
  padding-top: 5px;
  font-size: 0.94rem;
  font-weight: bold;
}

.item-cp-des dd {
  font-size: 0.94rem;
}

.item-cp li {
  position: relative;
  padding-left: 0.8rem;
}

.item-cp li::before {
  content: '●';
  color: #959595;
  font-size: 0.35rem;
  position: absolute;
  left: 0;
  top: 0.5rem;
}

.item-cp-inner-title {
  width: 60%;
  background-color: #e3c664;
  color: #1a0b08;
  border-radius: 100vh;
  padding: 0rem 1.5rem;
  margin: 0rem auto 2rem;
  position: relative;
  font-size: 1.5rem;
  font-size: clamp(1.3rem, 3vw, 2rem);
    transition: font-size 0.3s ease;
  font-weight: bold;
  text-align: center;
}

/* ====================
  PC向けレイアウト (737px以上)
==================== */
@media screen and (min-width: 737px) {
  #items {
    max-width: 1200px;
    margin-bottom: 40px;
  }

  .item {
    padding: 2rem 4rem 5rem;
  }

  .item-inner {
    flex-direction: row;
    text-align: left;
    max-width: 1000px;
    margin: 1rem auto 0;
    align-items: center;
    gap: 30px;
  }

  .item-inner.reverse {
    flex-direction: row-reverse;
    text-align: right;
    margin-top: 3rem;
  }

  .item-image {
    flex: 1;
  }
  .item-text {
    flex: 1;
  }

  .item-image img {
    max-width: none;
    width: 90%;
  }

  .kuro_buta.is-visible .item-image {
      transform: translateX(-3rem);
  }

  .kuro_curry.is-visible .item-image {
      transform: translateX(2rem);
  }

  .item-name {
    font-size: 1.5rem;
  }

  .item-price {
    font-size: 1.5rem;
  }

  .item-cmt {
    font-size: 1.25rem;
  }

  .lead {
    padding: 40px 0;
    line-height: 1.5;
  }
  .pc-none {
    display: none;
  }

  /* KVセクションのPC向けスタイル */
  .kv {
    max-width: 1200px;
    aspect-ratio: 1200 / 630;
  }

  .kv-base {
    background-image: url('./kv_pc_base.jpg');
  }

  .left {
    background-image: url('./kv_pc_kurobuta.webp');
  }

  .right {
    background-image: url('./kv_pc_kurobuta_curry.webp');
  }

  .kv-overlay {
    background-image: url('./kv_pc_top.webp');
  }

  .fadein-image {
    width: 27%;
    height: 25%;
  }

  /*各アイテムセクション*/
  .item h2 {
    padding: 1rem 2rem;
    font-size: 3rem;
    margin-bottom: 2rem;
  }

  /* 関連施策のPC向けスタイル */
  .item-cp {
    padding: 2.5rem 4rem 5rem;
  }
  .item-cp-inner {
    max-width: 1000px;
    gap: 30px;
    padding: 1.5rem;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin: 0 auto;
  }

  .item-cp-image {
    width: 50%;
    margin-bottom: 0;
  }

  .item-cp-text {
    width: 50%;
  }

  .item-cp-title {
    font-size: 1.33333rem;
  }

  .item-cp-des dl {
    display: flex;
    align-items: baseline;
    gap: 10px;
  }

  .item-cp-des dl:nth-of-type(3),
  .item-cp-des dl:last-of-type {
    display: block;
  }

  .item-cp-des dl:nth-of-type(3) dd,
  .item-cp-des dl:last-of-type dd {
    margin-left: 0;
  }

  .item-cp-des ul li {
    margin-left: 1rem;
  }
  .item-cp ul.notice li {
    font-size: 0.94rem;
  }
  .item-cp-inner-title {
    width: 50%;
    padding: 0rem 3rem;
  }
  
}
