@charset "UTF-8";
/*
 * 袋めん
 */

/* ----------------------------------------
 * main-contents
 * ---------------------------------------- */
.main-contents {
  padding: 90px 0 0;
}

@media screen and (min-width: 600px) {
  .main-contents {
    background: url(../img/fukuromen/bg_pc.png) top center / 100% repeat-y;
    padding-top: 110px;
    padding-bottom: 160px;
  }
}

/* ----------------------------------------
 * container
 * ---------------------------------------- */
.container {
  max-width: 1000px;
  margin: 0 auto;
}

/* ----------------------------------------
 * introduction
 * ---------------------------------------- */
.introduction {
  background-color: #3c0000;
  background-image: repeating-linear-gradient(
    60deg,
    transparent,
    transparent 5px,
    #430800 5px,
    #430800 15px
  );
  position: relative;
  border-radius: 40px;
  padding: 40px 16px 0;
}

@media screen and (min-width: 600px) {
  .introduction {
    padding: 60px 40px 0;
  }
}

/* SP: 円形の背景装飾 */
.introduction::before {
  content: "";
  position: absolute;
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  height: 180px;
  background-color: #3c0000;
  background-image: repeating-linear-gradient(
    60deg,
    transparent,
    transparent 5px,
    #430800 5px,
    #430800 15px
  );
  background-position: 15px 0;
  border-radius: 50%;
  z-index: -1;
}

@media screen and (min-width: 600px) {
  .introduction::before {
    top: -160px;
    width: 590px;
    height: 590px;
  }
}

/* SP のみ: 背景画像 */
.introduction::after {
  content: "";
  position: absolute;
  top: -260px;
  left: 0;
  width: 100%;
  padding-top: 53.59%; /* 343 / 640 */
  background: url(../img/fukuromen/howto_bg.png) top center / 100%
    no-repeat;
  z-index: -1;
}

@media screen and (min-width: 600px) {
  .introduction::after {
    content: none;
  }
}

/* ----------------------------------------
 * introduction__heading
 * ---------------------------------------- */
.introduction__heading {
  max-width: 295px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

.introduction__heading::before {
  content: "";
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 150px;
  height: 144px;
  background: url(../img/fukuromen/introduction_products.png) top center /
    contain no-repeat;
}

@media screen and (min-width: 600px) {
  .introduction__heading {
    max-width: 893px;
    margin: -135px auto 50px;
  }

  .introduction__heading::before {
    content: "";
    position: absolute;
    top: -26px;
    right: -20px;
    left: auto;
    transform: translateX(0);
    width: 204px;
    height: 196px;
  }
}

/* ----------------------------------------
 * introduction__subheading
 * ---------------------------------------- */
.introduction__subheading {
  max-width: 296px;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
}

@media screen and (min-width: 600px) {
  .introduction__subheading {
    max-width: 893px;
    margin: 0 auto 24px;
  }
}

/* ----------------------------------------
 * introduction__text
 * ---------------------------------------- */
.introduction__text {
  max-width: 266px;
  margin: 0 auto 36px;
}

@media screen and (min-width: 600px) {
  .introduction__text {
    max-width: 770px;
    margin: 0 auto 60px;
  }
}

.introduction__text p {
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: 0.025em;
}

@media screen and (min-width: 600px) {
  .introduction__text p {
    font-size: 20px;
    line-height: 1.6;
  }
}

/* ----------------------------------------
 * introduction__box
 * ---------------------------------------- */
.introduction__box {
  padding-bottom: calc(400 / 640 * 100%);
  position: relative;
}

.introduction__box::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -16px;
  width: calc(100% + 32px);
  padding-top: 77.34%; /* 495 / 640 */
  background: url(../img/fukuromen/introduction_box_bg_sp.png) bottom center /
    100% no-repeat;
}

@media screen and (min-width: 600px) {
  .introduction__box {
    max-width: 835px;
    margin: 0 auto;
    padding: 200px 0 36px;
    background: url(../img/fukuromen/introduction_box_bg_pc.png) top left / 100%
      no-repeat;
  }

  .introduction__box::after {
    content: none;
  }
}

/* ----------------------------------------
 * introduction__item
 * ---------------------------------------- */
.introduction__item {
  max-width: 296px;
  margin: 0 auto;
}

@media screen and (min-width: 600px) {
  .introduction__item {
    max-width: 376px;
    margin: 0 0 0 auto;
  }
}

.introduction__item > *:last-child {
  margin-bottom: 0;
}

.introduction__item-heading {
  max-width: 260px;
  margin: 0 auto 8px;
}

@media screen and (min-width: 600px) {
  .introduction__item-heading {
    max-width: 376px;
  }
}

/* ----------------------------------------
 * howto
 * ---------------------------------------- */
.howto {
  background-color: #3c0000;
  background-image: repeating-linear-gradient(
    60deg,
    transparent,
    transparent 5px,
    #430800 5px,
    #430800 15px
  );
  position: relative;
  border-radius: 40px;
  padding: 30px 20px 70px;
  margin-bottom: 256px;
}

@media screen and (min-width: 600px) {
  .howto {
    padding-top: 110px;
    padding-bottom: 160px;
    margin-bottom: 300px;
  }
}

/* SP のみ: 背景画像 */
.howto::after {
  content: "";
  position: absolute;
  top: -120px;
  left: 0;
  width: 100%;
  padding-top: 53.59%; /* 343 / 640 */
  background: url(../img/fukuromen/introduction_bg.png) top center / 100% no-repeat;
  z-index: -1;
}

@media screen and (min-width: 600px) {
  .howto::after {
    content: none;
  }
}

/* ----------------------------------------
 * howto__heading
 * ---------------------------------------- */
.howto__heading {
  max-width: 246px;
  margin: 0 auto 20px;
}

@media screen and (min-width: 600px) {
  .howto__heading {
    max-width: 630px;
    margin-bottom: 45px;
  }
}

/* ----------------------------------------
 * howto__row（動画 + 材料 ラッパー）
 * ---------------------------------------- */
.howto__row {
  margin-bottom: 60px;
}

@media screen and (min-width: 600px) {
  .howto__row {
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 820px;
    margin: 0 auto 60px;
  }
}

/* ----------------------------------------
 * howto__col-1（動画カラム）
 * ---------------------------------------- */
.howto__col-1 {
  margin-bottom: 20px;
}

@media screen and (min-width: 600px) {
  .howto__col-1 {
    flex: 0 0 280px;
    margin-bottom: 0;
  }
}

/* ----------------------------------------
 * howto__col-2（商品画像 + 材料カラム）
 * ---------------------------------------- */
@media screen and (min-width: 600px) {
  .howto__col-2 {
    flex: 1;
    min-width: 0;
  }
}

/* ----------------------------------------
 * SP のみ: 商品画像→動画→材料 の順番に変更
 * display: contents で col を透過させ、子要素に order を付与
 * ---------------------------------------- */
@media screen and (max-width: 599px) {
  .howto__row {
    display: flex;
    flex-direction: column;
  }

  /* col 要素を透過させて子要素を直接 flex アイテムに */
  .howto__col-1,
  .howto__col-2 {
    display: contents;
  }

  /* 1番目: 商品画像 */
  .howto__media {
    order: 1;
  }

  /* 2番目: 動画（col-1 の margin-bottom をここで代替） */
  .howto__video {
    order: 2;
  }

}

/* ----------------------------------------
 * howto__video（動画プレイヤー本体）
 * ---------------------------------------- */
/* 動画ラッパー（アスペクト比 644:1144 ≒ padding-top 177.64%） */
.howto__video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 177.64%; /* 1144 / 644 × 100 */
  overflow: hidden;
}

.howto__video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ----------------------------------------
 * howto__media（パッケージ + 完成写真 合成画像）
 * ---------------------------------------- */
.howto__media {
  margin-bottom: 16px;
}

@media screen and (min-width: 600px) {
  .howto__media {
    margin-bottom: 20px;
  }
}

.howto__media img {
  display: block;
  width: 100%;
  height: auto;
}

/* ----------------------------------------
 * howto__ingredients（材料カード）
 * ---------------------------------------- */
.howto__ingredients {
  /* rgba(255,238,214,0.1) を #3c0000 上に合成した不透明色 */
  --ingredients-bg: #471a0f;
  max-width: 280px;
  width: 100%;
  margin: 0 auto;
  background-color: var(--ingredients-bg);
  border: 1px solid #ffeed6;
  border-radius: 14px;
  overflow: hidden;
  padding: 25px 40px 30px;
}

@media screen and (min-width: 600px) {
  .howto__ingredients {
    max-width: 100% ;
  }
}

/* 材料カード ヘッダー（赤帯） */
.howto__ingredients-header {
  background-color: #e50012;
  text-align: center;
  margin-bottom: 20px;
  border-radius: 6px;
}

@media screen and (min-width: 600px) {
  .howto__ingredients-header {
    padding: 10px 20px;
  }
}

.howto__ingredients-heading {
  font-size: 20px;
  font-weight: bold;
  color: #fff;
  line-height: 1.675;
  letter-spacing: 0.025em;
}

.howto__ingredients:last-child .howto__ingredients-header {
  background-color: #ffe100;
}

.howto__ingredients:last-child .howto__ingredients-heading {
  color: #000;
}

@media screen and (min-width: 600px) {
  .howto__ingredients-heading {
    line-height: 1;
    letter-spacing: 0.1em;
  }
}

/* 材料 各行 */
.howto__ingredients-item {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 0;
  padding: 8px 0;
}

.howto__ingredients-item:first-child {
  padding-top: 0;
}

.howto__ingredients-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

/* 食材名（左） */
.howto__ingredients-name {
  position: relative;
  z-index: 1;
  background-color: var(--ingredients-bg); /* 変数で点線リーダーをマスク */
  padding-right: 4px;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  line-height: 1.7;
  letter-spacing: 0.025em;
}

@media screen and (min-width: 600px) {
  .howto__ingredients-name {
    font-size: 16px;
  }

  .howto__ingredients-name .sp-only {
    display: none;
  }
}

.pc-only {
  display: none;
}

@media screen and (min-width: 600px) {
  .pc-only {
    display: block;
  }
}

/* 点線リーダー（全幅に絶対配置し、名前と数量の背景でマスクされる） */
.howto__ingredients-leader {
  position: absolute;
  left: 0;
  right: 0;
  /* テキストのベースラインに合わせる: bottom を行の下端基準で指定 */
  bottom: calc(8px + 0.35em); /* padding-bottom + テキスト下端からの微補正 */
  overflow: hidden;
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
}

/* last-child は padding-bottom: 0 なので補正値のみ残す */
.howto__ingredients-item:last-child .howto__ingredients-leader {
  bottom: 0.35em;
}

.howto__ingredients-leader::after {
  content: "・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・";
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.05em;
}

@media screen and (min-width: 600px) {
  .howto__ingredients-leader::after {
    font-size: 13px;
  }
}

/* 数量（右） */
.howto__ingredients-amount {
  position: relative;
  z-index: 1;
  background-color: var(--ingredients-bg); /* 変数で点線リーダーをマスク */
  padding-left: 6px;
  flex: 0 0 auto;
  font-size: 18px;
  font-weight: bold;
  color: #fff;
  white-space: nowrap;
  line-height: 1.7;
  letter-spacing: 0.025em;
}

@media screen and (min-width: 600px) {
  .howto__ingredients-amount {
    font-size: 16px;
  }
}

.howto__ingredients-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 820px;
  margin: 0 auto 50px;
}

@media screen and (min-width: 600px) {
  .howto__ingredients-row {
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 95px;
  }

  .howto__ingredients-row .howto__ingredients {
    flex: 1;
    margin: 0;
  }
}

/* ----------------------------------------
 * howto__card
 * ---------------------------------------- */
.howto__card {
  max-width: 280px;
  margin: 0 auto 60px;
  background-color: #ffeed6;
  border-radius: 20px;
  padding: 20px 24px 40px;
  position: relative;
}

@media screen and (min-width: 600px) {
  .howto__card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    max-width: 766px;
    padding: 12px 10px;
    min-height: 230px;
  }
}

.howto__card::after {
  content: "";
  position: absolute;
  bottom: -38px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 22px 15px 0 15px; /* 高さ22px、幅30px（左右15pxずつ） */
  border-color: #ffe100 transparent transparent transparent;
}

.howto__card:last-child {
  margin-bottom: 0;
}

.howto__card:last-child::after {
  content: none;
}

/* ----------------------------------------
 * howto__card-header
 * ---------------------------------------- */
.howto__card-header {
  margin-bottom: 20px;
}

@media screen and (min-width: 600px) {
  .howto__card-header {
    width: 200px;
    flex-shrink: 0;
    margin-bottom: 0;
  }
}

/* ----------------------------------------
 * howto__card-number
 * ---------------------------------------- */
.howto__card-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #e50012;
}

@media screen and (min-width: 600px) {
  .howto__card-number {
    position: absolute;
    top: 12px;
    left: 10px;
  }
}

.howto__card-number span {
  font-size: 28px;
  line-height: 1;
  font-weight: bold;
  color: #fff;
  margin-top: -4px; /* 視覚的な上下センター補正 */
}

/* ----------------------------------------
 * howto__card-image
 * ---------------------------------------- */
.howto__card-image {
  display: block;
  max-width: 90%;
  margin: 0 auto;
}

/* ----------------------------------------
 * howto__card-body
 * ---------------------------------------- */
.howto__card-body {
  max-width: 262px;
  margin: 0 auto;
}

@media screen and (min-width: 600px) {
  .howto__card-body {
    width: 460px;
    max-width: none;
    margin: 0;
  }
}

/* ----------------------------------------
 * howto__card-text
 * ---------------------------------------- */
.howto__card-text {
  font-size: 16px;
  color: #231815;
  line-height: 1.25;
  font-weight: bold;
}

@media screen and (min-width: 600px) {
  .howto__card-text {
    font-size: 20px;
    letter-spacing: -0.025em;
  }
}

.howto__card-text span {
  color: #e50012;
}

.howto__card-text--small {
  font-size: 14px;
  line-height: 19px;
  font-weight: bold;
  margin: 8px 0;
}

@media screen and (min-width: 600px) {
  .howto__card-text--small {
    font-size: 16px;
  }
}

/* ----------------------------------------
 * howto__card-box-text
 * ---------------------------------------- */
.howto__card-box-text {
  border: 2px solid #e50012;
  margin-top: 8px;
  padding: 3px 6px;
}

.howto__card-box-text p {
  font-size: 12px;
  line-height: 1.25;
  color: #e50012;
  font-weight: bold;
  padding-left: 1em;
  text-indent: -1em;
}

@media screen and (min-width: 600px) {
  .howto__card-box-text p {
    font-size: 16px;
    letter-spacing: 0.025em;
  }
}

/* ----------------------------------------
 * products
 * ---------------------------------------- */
.products {
  padding: 210px 0 0;
  position: relative;
}

/* SP のみ: 背景画像 */
.products::before {
  content: "";
  position: absolute;
  top: -130px;
  left: 0;
  width: 100%;
  padding-top: 84.84%; /* 543 / 640 */
  background: url(../img/fukuromen/products_bg.png) top center / 100% no-repeat;
  z-index: -1;
}

@media screen and (min-width: 600px) {
  .products {
    padding: 0;
  }

  /* PC: 上部にぼんやりとした黒いシャドウ */
  .products::before {
    content: "";
    top: -120px;
    padding-top: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, #000);
    z-index: 0;
  }

  .products__container {
    max-width: 920px;
    margin: 0 auto;
    padding: 0 40px;
  }

  .products__row {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
  }

  .products__col-2 {
    flex: 1;
  }
}

/* ----------------------------------------
 * products__image
 * ---------------------------------------- */
.products__image {
  max-width: 234px;
  margin: 0 auto 20px;
}

@media screen and (min-width: 600px) {
  .products__image {
    max-width: 380px;
    margin: 0;
  }
}

/* ----------------------------------------
 * products__heading
 * ---------------------------------------- */
.products__heading {
  font-size: 24px;
  line-height: 1.4;
  font-weight: bold;
  text-align: center;
  letter-spacing: 0.025em;
  color: #fff;
  margin-bottom: 16px;
}

.products__heading span {
  display: block;
}

@media screen and (min-width: 600px) {
  .products__heading {
    font-size: 32px;
    text-align: left;
  }

  .products__heading span {
    font-size: 26px;
    line-height: 1.9;
    letter-spacing: 0.025em;
  }

  .products__heading br {
    display: none;
  }
}

/* ----------------------------------------
 * products__text
 * ---------------------------------------- */
.products__text {
  max-width: 260px;
  font-size: 15px;
  font-weight: bold;
  line-height: 2;
  letter-spacing: 0.025em;
  color: #fff;
  margin: 0 auto 30px;
}

@media screen and (min-width: 600px) {
  .products__text {
    max-width: none;
    font-size: 18px;
    margin: 0 0 30px;
  }
}

/* ----------------------------------------
 * products__button
 * ---------------------------------------- */
.products__button a {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 185px;
  height: 45px;
  margin: 0 auto;
  background-color: #ffff00;
  font-size: 12px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  box-shadow: 0 0 20px 4px rgba(255, 255, 0, 0.7); /* 黄色グロー */
  transition: opacity 0.25s ease;
}

.products__button a::after {
  content: "";
  position: absolute;
  right: 16px;
  width: 6px;
  height: 12px;
  background: url(../img/common/icon_arrow_bk.svg) center / contain no-repeat;
}

@media screen and (min-width: 600px) {
  .products__button a {
    width: 260px;
    height: 60px;
    font-size: 18px;
    margin: 0;
  }

  .products__button a:hover {
    opacity: 0.85;
  }
}

/* ----------------------------------------
 * rd-btn-area / rd-btn
 * ---------------------------------------- */
.rd-btn {
  display: flex;
  position: relative;
  margin-right: auto;
  margin-left: auto;
  background-color: #8f0000;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  transition: background-color 0.25s ease;
  align-items: center;
  justify-content: center;
}

.rd-btn::before {
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background-image: url("../img/common/icon_arrow_ye.svg");
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
}

.rd-btn__content {
  width: calc(100% - 60px);
  color: #ff0;
  font-weight: 900;
  text-align: center;
  line-height: 1.15;
}

/* SP */
@media screen and (max-width: 599px) {
  .rd-btn {
    width: 260px;
    height: 82px;
    background-image: url("../img/common/bg_btn_smp.png");
  }

  .rd-btn::before {
    right: 20px;
    width: 5px;
    height: 9px;
  }

  .rd-btn__content {
    font-size: 16.1px;
  }

  .rd-btn-area {
    padding-top: 50px;
    padding-bottom: 80px;
  }
}

/* PC */
@media screen and (min-width: 600px) {
  .rd-btn {
    max-width: 678px;
    width: 67.8%;
    height: 143px;
    background-image: url("../img/common/bg_btn.png");
  }

  .rd-btn:hover {
    background-color: rgba(143, 0, 0, 0.3);
  }

  .rd-btn::before {
    right: 55px;
    width: 8px;
    height: 15px;
  }

  .rd-btn__content {
    font-size: 26px;
  }

  .rd-btn-area {
    padding-top: 90px;
    padding-bottom: 160px;
  }
}

/* ----------------------------------------
 * cm（CM動画）
 * ---------------------------------------- */
.cm {
  padding-top: 16.875vw;
  padding-bottom: 60px;
}

.cm__title {
  width: 171px;
  margin-right: auto;
  margin-left: auto;
}

.cm-col-area {
  margin-right: auto;
  margin-left: auto;
}

.cm-col {
  max-width: 480px;
  margin-top: 2.734375vw;
  margin-right: auto;
  margin-left: auto;
  padding-right: 20px;
  padding-left: 20px;
}

.cm-col__item {
  margin-top: 18px;
}

.cm-col__link {
  position: relative;
}

.cm-col__link::before {
  content: "";
  display: block;
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/koize/icon_play.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: contain;
}

.cm-col__text {
  margin-top: 8px;
  margin-right: -0.1em;
  margin-left: -0.1em;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  font-feature-settings: "palt";
}

/* PC */
@media screen and (min-width: 600px) {
  .cm {
    padding-top: 6.25vw;
    padding-bottom: 60px;
  }

  .cm__title {
    width: 21.875%;
  }

  .cm-col-area {
    width: 83.593%;
    padding-right: 35px;
    padding-left: 35px;
  }

  .cm-col {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    max-width: none;
    margin-right: -17.5px;
    margin-left: -17.5px;
    padding-right: 0;
    padding-left: 0;
  }

  .cm-col__item {
    width: calc(33.333% - 35px);
    margin-top: 0;
    margin-right: 17.5px;
    margin-left: 17.5px;
  }

  .cm-col__text {
    margin-top: 15px;
  }
}

/* ----------------------------------------
 * 動画モーダル（magnific-popup）
 * ---------------------------------------- */
.modal-video-link {
  display: block;
}

.modal-video.mfp-bg {
  opacity: 0;
  transition: all 0.2s ease-out;
}

.modal-video.mfp-bg.mfp-ready {
  opacity: 0.8;
}

.modal-video.mfp-bg.mfp-removing {
  opacity: 0;
}

.modal-video.mfp-wrap .mfp-content {
  opacity: 0;
  transition: all 0.2s ease-out;
}

.modal-video.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}

.modal-video.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}

.modal-video .mfp-close {
  opacity: 1;
  color: #ff0;
  font-weight: 400;
  font-size: 40px;
}

.modal-video .mfp-container {
  padding-right: 10px;
  padding-left: 10px;
}

/* PC */
@media screen and (min-width: 600px) {
  .modal-video-link {
    transition: opacity 0.25s ease;
  }

  .modal-video-link:hover {
    opacity: 0.7;
  }

  .modal-video .mfp-close {
    top: -60px;
    width: 64px;
    height: 64px;
    font-size: 56px;
  }
}
