@charset "utf-8";

/* ------------------------------
   基本設定
------------------------------ */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  background-color: #FFF3D8;
   scroll-behavior: smooth;
}

/* ------------------------------
   コンテナ
------------------------------ */
#container {
  position: relative;
  background-color: #FFF3D8;
  width: 100%;
  max-width: 390px;
  height: 5828px; /* 高さ */
  background-size: contain;
  margin: 0 auto; /* 横中央配置 */
}



/* ------------------------------
   トップページ領域
------------------------------ */
.top-page {
  position: relative;
  background-color: #FFF3D8;
  width: 100%;
  max-width: 390px;
  height: 844px;
  background-size: contain;
  margin: 0 auto;
}


.top-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: auto;
  background-image: url("top-text.png"); 
  background-repeat: no-repeat;
  background-size: contain;
  opacity: 0;
  animation: fadeInUp 2.3s ease-out forwards;
}

.top-text img {
  width: 100%;
  height: auto;
  display: block;
}


/* ------------------------------
   イラスト（フェードイン）
------------------------------ */

.top-illustlation {
  position: relative;
  width: 100%;
  height: 100%;
  background-image: url("top-Taco5.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: fadeInUp 2.3s ease-out forwards;
}

/* ------------------------------
   フェードインアニメーション
------------------------------ */
@keyframes fadeInUp {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.main-page {
  display: flex;
  justify-content: center;
  max-width: 390px;
  margin: 0 auto;
  background-color: #FFF3D8;
}

.frame {
  width: 40px;
  flex-shrink: 0;        /* ← 潰れない */
  background-repeat: repeat-y;
  background-size: contain;
}

.left-frame {
  background-image: url("frame9-02.png");
}

.right-frame {
  background-image: url("frame8-01.png");
}

/*ストーリのコンテナ*/
.content-column {
  width: 100%;
  max-width: 330px;
  display: flex;
  flex-direction: column;
}
/* ------------------------------
  ストーリー1領域
------------------------------ */
.story-page1 {
  position: relative;
  background-color: #FFF3D8;
  width: 100%;
  max-width: 330px;
  height: 1460px;
  background-size: contain;
  margin: 0 auto;
}
.story-text1 {
  position: absolute;
  top: 17px;
  left: 32px;
  color: #0329C0;
  font-size: 18px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  white-space: pre-line;
  line-height: 2.6;   
  
}
.story-text2 {
  position: absolute;
  top: 441px;
  left: 24px;
  color: #FF1418;
  font-size: 18px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  white-space: pre-line;
  line-height: 2.6;   

}
.delay-2.show {
  transition-delay: 0.5s;
}
.shima-illustlation {
  position: absolute;
  top:300px;
  right: 4px;
  width: 100%;
  height: 100%;
  background-image: url("shima1.png");
 background-repeat: no-repeat;
  background-size: contain;
  
}
.america-illustlation {
  position: absolute;
  top:604px;
  left: 15px;
  width: 96%;
  height: 80%;
  background-image: url("america2.png");
 background-repeat: no-repeat;
  background-size: contain;
  
}
/*アニメーション設定！*/
.fadein {
  opacity: 0;
  transform: translateY(90px); /* 下から少し */
  transition:
    opacity 1s ease-out,
    transform 0.7s ease-out;
}

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

.man-illustlation {
  position: absolute;
  top:  1000px;
  left: 16px;
  width: 64%;
  height: 70%;
  background-image: url("man1.png");
 background-repeat: no-repeat;
  background-size: contain;
  
}
.hirameki-illustlation {
  position: absolute;
  top:  1107px;
  left: 202px;
  width: 38%;
  height: 100%;
  background-image: url("hirameki.png");
 background-repeat: no-repeat;
  background-size: contain;
  
}

.story-text3 {
  position: absolute;
  top: 900px;
  right: 19px;
  width: 240px;              /* ← 重要：行の幅を決める */
  text-align: right;         /* ← 右寄せ */
  color: #0329C0;
  font-size: 18px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  white-space: pre-line;
  line-height: 2.6;   
}

/* ------------------------------
  ストーリー2領域
------------------------------ */
.story-page2 {
  position: relative;
  background-color: #FFF3D8;
  width: 100%;
  max-width: 330px;
  height: 1653px;
  background-size: contain;
  margin: 0 auto;
}
.taco-list {
  display: flex;
  flex-direction: column;
  gap: 108px; /* 各セットの間隔 */
  align-items: center;
}

/* 1セット */
.taco-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* 画像 */
.taco-item img {
  width: 60%;
  height: auto;
}
/*カクカクのアニメ*/

.kakukaku {
  animation: kakukakuRotate 1.2s steps(2) infinite;
  transform-origin: center;
}
@keyframes kakukakuRotate {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(15deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

/* テキスト（画像のすぐ下） */
.taco-text {
  margin-top: 5px; /* ←「ちょうど下」をここで調整 */
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 21px;
  line-height: 2.2;
  color: #0329C0;
  text-align: center;
  white-space: pre-line;
}

/* ------------------------------
  ストーリー3領域
------------------------------ */
.story-page3 {
  position: relative;
  background-color: #FFF3D8;
  width: 100%;
  max-width: 330px;
  height: 1281px;
  background-size: contain;
  margin: 0 auto;
}
.star1-illustlation {
  position: absolute;
  top:157px;
  left: -175px;
  width: 30%;
  height: 100%;
  background-image: url("star1.png");
 background-repeat: no-repeat;
  background-size: contain;
}
.star2-illustlation {
  position: absolute;
  top:165px;
  right: -21px;
  width: 30%;
  height: 100%;
  background-image: url("star2.png");
 background-repeat: no-repeat;
  background-size: contain;
}
.taco-illustlation {
  position: absolute;
  top: 111px;
  left: 53%;
  transform: translateX(-50%);
  width: 144%;
  height: 100%;
  background-image: url("taco61.png");
  background-repeat: no-repeat;
  background-size: contain;
  z-index: 1;
}


.story-text4 {
  position: absolute;
  top: 0px;
  left: 39px;
  color: #FF1418;
  font-size: 18px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  /* white-space: pre-line; */
  line-height: 2.6;   

  
}
.story-text5 {
  position: absolute;
  top: 60px;
  left: 80px;
  color: #FF1418;
  font-size: 30px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  /* white-space: pre-line; */
  line-height: 2.6;  
  font-weight: 700; 

}
.story-text5-1 {
  position: absolute;
  top: 170px;
  left: 94px;
  color: #FF1418;
  font-size: 18px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  /* white-space: pre-line; */
  line-height: 2.6;   

}


.delay-3.show {
  transition-delay: 0.6s;
}
.tacopepole-illustlation {
  position: absolute;
  top:  1420px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130%;
  height: 100%;
  background-image: url("tacopepole1.png");
 background-repeat: no-repeat;
  background-size: contain;
}
.story-text6 {
  position: absolute;
  top:585px;
  left: 19px;
  color:  #0329C0;
  font-size: 18px;
  font-family: "Zen Kaku Gothic New", sans-serif;
  /* white-space: pre-line; */
  line-height: 2.6;   

}
/* ------------------------------
  商品領域
------------------------------ */
.product-page{
  position: relative;
  background-color: #FFF3D8;
  width: 100%;
  max-width: 330px;
  height: 844px;
  margin: 0 auto;

  display: flex;
  flex-direction: column;
  align-items: center;   /* 横中央 */
}

/* 共通テキスト */
.product-text1,
.product-text2,
.product-text3 {
  color: #0329C0;
  font-family: "Zen Kaku Gothic New", sans-serif;
  text-align: center;    /* テキスト中央 */
}

/* 個別調整 */
.product-text1 {
  margin-top: 24px;
  font-size: 36px;
  font-weight: 700;
}

.product-text2 {
  margin-top: 14px;
  font-size: 15px;
}

.product-text3 {
  margin-top: 4px;
  font-size: 24px;
   font-weight: 700;
}

.product-photo {
  margin-top: 17px;
  width: 80%;
  aspect-ratio: 1 / 1;   /* 正方形を保つ */
  background-image: url("tacophoto.png");
  background-repeat: no-repeat;
  background-size: contain;
}
.product-buttons {
  display: flex;
  flex-direction: column;
  gap: 24px; /* ボタン同士の間隔 */
  align-items: center;
  margin-top: 37px;
}

.product-btn {
  width: 240px;
  padding: 16px 0;
  text-align: center;

  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #0329CC;

  border: 2px solid #0329C0;
  border-radius: 999px;
  background-color: transparent;
  text-decoration: none;

  /* ここがポイント */
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 6px 0 #0329C0;
}
.product-btn:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #0329C0;
}

.okihamu-rogo img {
  width: 100%;
  height: auto;
  margin-top: 80px;
}
