@charset "UTF-8";

/* ========================
   全体共通
======================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

.back {
  background: repeating-linear-gradient(
    135deg,
    #fff8dc,
    #fff8dc 20px,
    #fef4bf 20px,
    #fef4bf 40px
  );
}

/* ========================
   ラッパー
======================== */
.wrapper {
  width: 100%;
  max-width: 980px;
  margin: auto;
}

/* ========================
   からあげビジュアル
======================== */
.karaage-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  position: relative;
}

.karaage-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.karaage-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.balloon {
  position: absolute;
  width: 15%;
  opacity: 0;
  transform: scale(0.5);
  animation: popIn 0.4s ease-out forwards;
}

.balloon-1 {
  top: 45%;
  left: 30%;
  animation-delay: 1.4s;
}

.balloon-2 {
  top: 60%;
  left: 35%;
  animation-delay: 2s;
}

.balloon-3 {
  top: 55%;
  left: 10%;
  animation-delay: 2.6s;
}

@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.5);
  }
  60% {
    opacity: 1;
    transform: scale(1.1);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ========================
   メッセージセクション
======================== */
.message-section {
  background: url("../img/massage_back.jpg");
  background-size: cover;
  padding: 40px 20px;
  text-align: center;
  position: relative;
}

.message-box {
  max-width: 800px;
  margin: auto;
  font-size: 1.1rem;
  line-height: 2;
  font-weight: bold;
  color: #333;
  position: relative;
}

.buta-icon {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 80px;
}

/* ========================
   区切りライン
======================== */
.section-divider {
  height: 10px;
  background-color: #000;
}

.section-divider-end {
  height: 30px;
  background-color: #000;
}

/* ========================
   セクション画像
======================== */
.visual-section,
.image-section {
  text-align: center;
}

/* ========================
   作り方セクション
======================== */
.recipe-section {
  background: url("../img/recipe_back.jpg");
  background-size: cover;
  padding: 40px 150px;
}

.recipe-step {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1140px;
  margin: auto;
  padding: 40px 20px;
  flex-wrap: wrap;
}

.recipe-text {
  width: 65%;
  font-size: 1.3rem;
  line-height: 2;
  font-weight: bold;
  color: #333;
}

.recipe-text small {
  font-size: 80%;
}

.recipe-image {
  width: 30%;
  max-width: 380px;
}

.recipe-divider {
  border: none;
  border-top: 5px dotted #666;
  max-width: 1140px;
  margin: auto;
}

@media screen and (max-width: 767px) {
  .recipe-section {
    padding: 5%;
  }
  .recipe-step {
    flex-direction: column;
    text-align: center;
    padding: 5%;
  }
  .recipe-text,
  .recipe-image {
    width: 100%;
    max-width: none;
  }
  .recipe-image {
    max-width: 250px;
    margin-top: 1rem;
  }
  .recipe-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-top: 20px;
  }
}

/* ========================
   アレンジセクション
======================== */
.arrange-section {
  background: url("../img/recipe_back.jpg") repeat center;
  padding: 40px 150px;
}

.arrange-block {
  max-width: 980px;
  margin: 0 auto 80px;
}

.arrange-title {
  width: 250px;
  display: block;
  margin-bottom: 20px;
}

.arrange-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.arrange-block.arrange-03 .arrange-inner {
  justify-content: center;
  gap: 20px;
}

.arrange-image {
  flex: 0 0 50%;
  max-width: 480px;
}

.arrange-image img {
  width: 100%;
  border: 8px solid #ffdc30;
}

.arrange-text {
  flex: 1;
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1.8;
}

.arrange-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.arrange-note {
  font-size: 1.1rem;
  font-weight: bold;
  line-height: 1.6;
  margin: 0;
}

@media screen and (max-width: 767px) {
  .arrange-section {
    width: 100%;
    padding: 5%;
  }
  .arrange-inner {
    flex-direction: column;
    text-align: center;
  }
  .arrange-text {
    margin-top: 20px;
    font-size: 1rem;
  }
  .arrange-title {
    margin: 0 auto 20px;
  }
  .arrange-header {
    display: grid;
  }
  .arrange-note {
    text-align: center;
    font-size: 1rem;
  }
  .arrange-image {
    max-width: 100%;
  }
}

/* ========================
   商品紹介セクション
======================== */
.buy-section {
  background: url("../img/buy_back.jpg") no-repeat center top;
  background-size: cover;
  max-width: 980px;
  margin: auto;
  padding: 40px 50px 0 50px;
}

.buy-main-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.buy-main-left {
  flex: 0 0 45%;
}

.buy-main-right {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.buy-sub-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4%;
}

.buy-sub-left {
  flex: 0 0 38%;
}

.buy-sub-right {
  flex: 0 0 58%;
}

.buy-sub-text {
  font-size: 0.8rem;
  line-height: 1.6;
}

.buy_but {
  margin: 2em 0;
  max-width: 100%;
}

.nakami {
  width: 100%;
  max-width: 300px;
}

/* ─────────────────────────
   スマホ（max-width:768px）調整
───────────────────────── */
@media (max-width: 768px) {
  .buy-main-row,
  .buy-sub-row {
    flex-direction: column;
  }
  .buy-sub-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
  }
  .buy-sub-left .nakami {
    display: block;
    margin: 0 auto;
  }
  .buy-sub-right .buy_but {
    display: block;
    margin: 1rem auto 0;
    max-width: 80%;
  }
}

/* ========================
   送料・配送方法・お問い合わせ
======================== */
.shipping-contact {
  padding: 20px;
  font-family: sans-serif;
  color: #000;
  font-size: 1rem;
}

.shipping-inner {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.shipping-section h2,
.contact-section h2 {
  display: inline-block;
  background: #fff;
  padding: 6px 20px;
  margin-bottom: 10px;
  border: 2px solid #000;
}

.table-wrapper {
  position: relative;
  display: inline-block;
}

.shipping-table {
  border-collapse: collapse;
  background-color: #fff;
  width: 100%;
  max-width: 600px;
}

.shipping-table td {
  border: 2px solid #000;
  padding: 4px 20px;
  text-align: center;
}

.note {
  position: absolute;
  bottom: -2em;
  right: 0;
  margin: 0;
  font-size: 0.8rem;
  font-weight: bold;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .shipping-inner {
    flex-direction: column;
  }
  .shipping-inner h2 {
    margin-bottom: 10px;
  }
  .shipping-table,
  .shipping-table td {
    font-size: 0.8rem;
  }
  .table-wrapper .note {
    position: static;
    margin-top: 10px;
  }
}

/* ========================
   お問い合わせ セクション横並び↔縦並び
======================== */
.contact-section {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 2rem 0;
}

.contact-section h2 {
  margin: 0;
}

@media (max-width: 600px) {
  .shipping-contact {
    padding: 10px;
    max-width: 100%;
  }

  .shipping-inner {
    width: 100%;
    flex-direction: column;
  }

  .shipping-table {
    width: 100%;
    max-width: none;
  }

  .contact-section {
    width: 100%;
    flex-direction: column;
    margin: 1rem 0;
  }

  .shipping-section h2,
  .contact-section h2 {
    width: 100%;
    text-align: center;
  }
}


.contact-section p {
  margin-top: 10px;
  font-size: 1rem;
}

.fadein {
  opacity: 0;
  transform: translateY(20px);
  transition: all 1.2s ease-out;
}

.fadein.show {
  opacity: 1;
  transform: translateY(0);
}
