@charset "UTF-8";

/* =========================================================
   まぶしぬか旧ページ専用CSS
   共通ヘッダー・フッターを壊さない
   すべて #mabushi-page 配下へ限定
========================================================= */

@font-face {
  font-family: "HGRSKP";
  src: url("../font/HGRSKP.TTF") format("truetype");
}

/* =========================================================
   ページ内だけ初期化
========================================================= */

#mabushi-page,
#mabushi-page h1,
#mabushi-page h2,
#mabushi-page h3,
#mabushi-page h4,
#mabushi-page h5,
#mabushi-page h6,
#mabushi-page p,
#mabushi-page div,
#mabushi-page ul,
#mabushi-page ol,
#mabushi-page li,
#mabushi-page dl,
#mabushi-page dt,
#mabushi-page dd,
#mabushi-page table,
#mabushi-page th,
#mabushi-page td {
  line-height: 1;
  margin: 0;
  padding: 0;
}

#mabushi-page {
  /*
    今回の方針：
    パンくずと「まぶしぬか」表題は fixed にしない。
    共通ヘッダーの下に通常表示し、スクロールすれば一緒に上へ流れる。
  */
  --mabushi-title-height: 92px;
  --mabushi-hero-height: calc(100svh - var(--mabushi-title-height));

  position: relative;
  z-index: 1;
  text-align: center;
  text-decoration: none;
  overflow-x: hidden;
  min-height: 100vh;
  background: #ffffff;
}

#mabushi-page img,
#mabushi-page div,
#mabushi-page a {
  line-height: 1;
  margin: 0;
  padding: 0;
  border: none;
  text-decoration: none;
}

#mabushi-page img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

#mabushi-page a {
  color: inherit;
}

/* =========================================================
   フッター保護
========================================================= */

.site-footer {
  position: relative;
  z-index: 50;
  clear: both;
}

/* float崩れ対策 */
#mabushi-page .content::after,
#mabushi-page .content ul::after,
#mabushi-page .senden::after {
  content: "";
  display: block;
  clear: both;
}

/* 旧バーガー・旧ロゴは使わない */
#mabushi-page .title,
#mabushi-page .openbtn,
#mabushi-page #g-nav {
  display: none !important;
}

/* =========================================================
   全サイズ共通
========================================================= */

#mabushi-page #wrappar {
  position: relative;
  width: 100%;
  min-height: calc(var(--mabushi-title-height) + var(--mabushi-hero-height));
  padding-bottom: 80px;
  background: #ffffff;
}

/* =========================================================
   パンくず：まぶしぬかページ専用
   breadcrumbs.php は触らず、このページ側だけで調整
   fixedにせず、通常の流れで表示
========================================================= */

#mabushi-page .page-breadcrumb {
  position: relative;
  z-index: 30;

  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px 10px;
  box-sizing: border-box;

  text-align: left;
  background: #ffffff;
}

/* breadcrumbs.php 側が nav / ol / ul / li を使っていても、このページ内だけ左寄せ */
#mabushi-page .page-breadcrumb nav,
#mabushi-page .page-breadcrumb ol,
#mabushi-page .page-breadcrumb ul {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  justify-content: flex-start !important;
}

/* パンくず内のliだけ調整。レシピ一覧のliには影響させない */
#mabushi-page .page-breadcrumb li {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4;
  list-style: none;
}

/* パンくずリンク */
#mabushi-page .page-breadcrumb a {
  color: #555;
  text-decoration: none;
}

#mabushi-page .page-breadcrumb a:hover {
  text-decoration: underline;
}

/* =========================================================
   白いタイトル帯
   fixedにしない。パンくずと一緒に通常スクロールさせる。
========================================================= */

#mabushi-page .text-box {
  position: relative;
  width: 100%;
  height: var(--mabushi-title-height);
  z-index: 20;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: rgba(255, 255, 255, 0.96);
  border-bottom: 2px solid rgba(255, 255, 255, 1);
  box-sizing: border-box;
}

#mabushi-page h1 {
  font-family: "HGRSKP", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", Meiryo, serif;
  font-size: clamp(2.6rem, 4.2vw, 4.4rem);
  font-weight: normal;
  line-height: 1;
  width: 100%;
  color: rgba(34, 28, 28, 0.82);
  text-align: center;
  letter-spacing: 0.08em;
}

/* =========================================================
   フェード背景部分
   表題の下に配置。
   fixedではなくabsoluteにして、ページの通常構造を壊さない。
========================================================= */

#mabushi-page .top,
#mabushi-page .top2,
#mabushi-page .top3 {
  width: 100%;
  height: var(--mabushi-hero-height);
  min-height: 520px;
  max-height: none;

  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;

  position: absolute;
  left: 0;
  right: 0;
  top: auto;

  margin: 0 !important;
  z-index: 0;
  pointer-events: auto;

  opacity: 0;
  display: block;
  visibility: hidden;
  transition: opacity 1800ms ease-in-out, visibility 1800ms ease-in-out;
}

#mabushi-page .top {
  background-image: url("../img/image3.webp");
}

#mabushi-page .top2 {
  background-image: url("../img/image4.webp");
}

#mabushi-page .top3 {
  background-image: url("../img/image5.webp");
}

#mabushi-page .top.is-active,
#mabushi-page .top2.is-active,
#mabushi-page .top3.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

/* =========================================================
   フェード背景内の小画像
========================================================= */

#mabushi-page .osrtopimg {
  position: absolute;
  left: 0;
  top: 0;
  width: clamp(120px, 24vw, 360px);
  max-width: 360px;
  height: auto;
}

/*
  丸いオレンジ枠は中央基準で置く。
  transformを入れることで、画面幅が変わっても中心位置がズレにくい。
*/
#mabushi-page .maruorengi {
  position: absolute;
  width: clamp(42px, 10vw, 150px);
  height: auto;
  transform: translate(-50%, -50%);
}

#mabushi-page .top .maruorengi {
  left: 60%;
  top: 50%;
}

#mabushi-page .top2 .maruorengi {
  left: 12%;
  top: 42%;
}

#mabushi-page .top3 .maruorengi {
  left: 72%;
  top: 18%;
}

/* =========================================================
   商品紹介
   absoluteのフェード画像は高さを持たないため、
   margin-topでフェード画像分だけ下げる。
========================================================= */

#mabushi-page .senden {
  position: relative;
  z-index: 5;

  margin: var(--mabushi-hero-height) auto 0;

  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 80px);

  background-color: rgba(255, 255, 255, 0.88);
  padding: 5% 4%;
  max-width: 1900px;
  box-sizing: border-box;
}

#mabushi-page .send-l {
  width: 100%;
  max-width: 500px;
  display: block;
  box-sizing: border-box;
}

#mabushi-page .send-l img {
  width: min(100%, 500px);
  height: auto;
}

#mabushi-page .send-r {
  position: relative;
  width: 100%;
  max-width: 620px;
  display: block;
  box-sizing: border-box;
}

#mabushi-page .t-img {
  font-family: "HGRSKP", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", Meiryo, serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: normal;
  text-align: left;
  line-height: 2;
  color: rgba(34, 28, 28, 0.82);
}

#mabushi-page .t-img span {
  display: block;
}

#mabushi-page .t-img2 {
  font-family: "HGRSKP", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", Meiryo, serif;
  font-size: 1.5em;
  line-height: 50px;
  padding-top: 5%;
  text-align: right;
}

/* =========================================================
   レシピ集
========================================================= */

#mabushi-page .content {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1900px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.88);
  padding: 8% 4% 90px;
  box-sizing: border-box;
}

#mabushi-page .cont-top-p {
  font-family: "HGRSKP", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", Meiryo, serif;
  font-size: 3em;
  font-weight: normal;
  line-height: 1.2;
  background-color: darkblue;
  color: white;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  letter-spacing: 20px;
  text-align: center;
  border-radius: 30px;
  padding: 0.1em 0 0.05em;
  box-sizing: border-box;
}

#mabushi-page ul {
  width: 100%;
  max-width: 1300px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 70px 8%;
  margin: 5% auto 0;
}

#mabushi-page li {
  list-style: none;
  width: 250px;
  max-width: 250px;
  margin: 0;
}

#mabushi-page li img {
  border-radius: 50%;
  width: 100%;
}

#mabushi-page .rt-img {
  font-family: "HGRSKP", "Yu Mincho", YuMincho, "Hiragino Mincho Pro", Meiryo, serif;
  font-size: 150%;
  line-height: 1.35;
  text-align: center;
  display: inline-block;
  color: rgba(34, 28, 28, 1);
  border: none;
  margin-top: 0.45em;
}

/* =========================================================
   タブレット：521px〜1350px
========================================================= */

@media screen and (min-width: 521px) and (max-width: 1350px) {
  #mabushi-page {
    --mabushi-title-height: 84px;
    --mabushi-hero-height: calc(100svh - var(--mabushi-title-height));
  }

  #mabushi-page #wrappar {
    width: 100%;
    min-height: calc(var(--mabushi-title-height) + var(--mabushi-hero-height));
    padding-bottom: 80px;
  }

  #mabushi-page .page-breadcrumb {
    padding: 10px 16px 8px;
  }

  #mabushi-page .text-box {
    height: var(--mabushi-title-height);
  }

  #mabushi-page .top,
  #mabushi-page .top2,
  #mabushi-page .top3 {
    width: 100%;
    height: var(--mabushi-hero-height);
    min-height: 500px;
    top: auto;
    margin: 0 !important;
    background-size: cover;
    background-position: center center;
  }

  #mabushi-page .osrtopimg {
    width: clamp(110px, 24vw, 330px);
    max-width: 330px;
  }

  #mabushi-page .maruorengi {
    width: clamp(44px, 10vw, 130px);
  }

  #mabushi-page .top .maruorengi {
    left: 60%;
    top: 50%;
  }

  #mabushi-page .top2 .maruorengi {
    left: 12%;
    top: 42%;
  }

  #mabushi-page .top3 .maruorengi {
    left: 72%;
    top: 18%;
  }

  #mabushi-page .senden {
    margin-top: var(--mabushi-hero-height);
    padding-top: 6%;
    padding-bottom: 6%;
    gap: 36px;
  }

  #mabushi-page .send-l {
    max-width: 440px;
  }

  #mabushi-page .send-l img {
    width: min(100%, 440px);
    height: auto;
  }

  #mabushi-page .send-r {
    max-width: 540px;
  }

  #mabushi-page .t-img {
    font-size: clamp(1.35rem, 2.4vw, 1.8rem);
    line-height: 2;
  }

  #mabushi-page ul {
    max-width: 920px;
    gap: 58px 8%;
  }

  #mabushi-page li {
    width: 230px;
    max-width: 230px;
  }

  #mabushi-page .rt-img {
    font-size: 135%;
  }
}

/* =========================================================
   スマホ：520px以下
========================================================= */

@media screen and (max-width: 520px) {
  #mabushi-page {
    --mabushi-title-height: 64px;
    --mabushi-hero-height: calc(100svh - var(--mabushi-title-height));

    background: #ffffff;
  }

  #mabushi-page #wrappar {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    min-height: calc(var(--mabushi-title-height) + var(--mabushi-hero-height));
    padding-bottom: 70px;
  }

  #mabushi-page .page-breadcrumb {
    padding: 8px 12px 6px;
    font-size: 0.85rem;
    line-height: 1.4;
  }

  #mabushi-page .text-box {
    position: relative;
    width: 100%;
    z-index: 20;
    background-color: rgba(255, 255, 255, 0.96);
    height: var(--mabushi-title-height);
    border-bottom: 2px solid #ffffff;
  }

  #mabushi-page h1 {
    font-size: 2.35rem;
    line-height: 1;
    color: rgba(34, 28, 28, 0.82);
    letter-spacing: 0.06em;
  }

  /*
    スマホは contain。
    タイトル白帯の下から開始。
  */
  #mabushi-page .top,
  #mabushi-page .top2,
  #mabushi-page .top3 {
    width: 100%;
    height: var(--mabushi-hero-height);
    min-height: 420px;
    max-height: none;

    top: auto;
    margin: 0 !important;

    background-size: contain;
    background-position: center top;
    background-color: #ffffff;

    z-index: 0;
    pointer-events: auto;
  }

  #mabushi-page .top {
    background-image: url("../img/image3.webp");
  }

  #mabushi-page .top2 {
    background-image: url("../img/image4.webp");
  }

  #mabushi-page .top3 {
    background-image: url("../img/image6.webp");
  }

  #mabushi-page .osrtopimg {
    position: absolute;
    left: 0;
    top: 0;
    width: clamp(74px, 28vw, 150px);
    max-width: 150px;
    height: auto;
  }

  #mabushi-page .maruorengi {
    width: clamp(34px, 13vw, 80px);
    height: auto;
    transform: translate(-50%, -50%);
  }

  #mabushi-page .top .maruorengi {
    left: 61%;
    top: 41%;
  }

  #mabushi-page .top2 .maruorengi {
    left: 17%;
    top: 34%;
  }

  #mabushi-page .top3 .maruorengi {
    left: 70%;
    top: 13%;
  }

  #mabushi-page .senden {
    margin-top: var(--mabushi-hero-height);
    position: relative;
    z-index: 5;

    display: block;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10% 5% 9%;
    box-sizing: border-box;
  }

  #mabushi-page .send-l {
    display: block;
    width: 100%;
    max-width: 390px;
    padding: 0;
    margin: 0 auto 7%;
    box-sizing: border-box;
  }

  #mabushi-page .send-l img {
    width: min(100%, 390px);
    height: auto;
    margin-top: 0;
  }

  #mabushi-page .send-r {
    display: block;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  /*
    スマホ時の文章を自然な改行に変更。
    PHP側のspan単位で制御。
  */
  #mabushi-page .t-img {
    font-size: clamp(1.08rem, 5.1vw, 1.35rem);
    text-align: center;
    line-height: 1.85;
    color: rgba(34, 28, 28, 0.82);
    margin: 0 auto;
    letter-spacing: 0.02em;
  }

  #mabushi-page .t-img span {
    display: block;
  }

  #mabushi-page .t-img span:nth-child(2) {
    line-height: 1.75;
  }

  #mabushi-page .content {
    position: relative;
    z-index: 5;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 10% 5% 70px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  #mabushi-page .cont-top-p {
    font-size: 2em;
    max-width: 240px;
    letter-spacing: 12px;
    border-radius: 24px;
  }

  #mabushi-page ul {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 34px 0;
    margin: 9% auto 0;
  }

  #mabushi-page li {
    list-style: none;
    width: 50%;
    max-width: none;
    margin: 0;
    padding: 0 4%;
    box-sizing: border-box;
  }

  #mabushi-page li img {
    border-radius: 50%;
    width: 100%;
  }

  #mabushi-page .rt-img {
    font-size: 1em;
    text-align: center;
    display: inline-block;
    color: rgba(34, 28, 28, 1);
    line-height: 1.4;
  }
}

/* =========================================================
   かなり小さいスマホ用
========================================================= */

@media screen and (max-width: 360px) {
  #mabushi-page {
    --mabushi-title-height: 58px;
    --mabushi-hero-height: calc(100svh - var(--mabushi-title-height));
  }

  #mabushi-page h1 {
    font-size: 2rem;
  }

  #mabushi-page .top,
  #mabushi-page .top2,
  #mabushi-page .top3 {
    height: var(--mabushi-hero-height);
    min-height: 400px;
    top: auto;
    background-size: contain;
    background-position: center top;
  }

  #mabushi-page .text-box {
    height: var(--mabushi-title-height);
  }

  #mabushi-page .osrtopimg {
    width: clamp(64px, 26vw, 120px);
  }

  #mabushi-page .maruorengi {
    width: clamp(30px, 12vw, 64px);
  }

  #mabushi-page .top .maruorengi {
    left: 61%;
    top: 40%;
  }

  #mabushi-page .top2 .maruorengi {
    left: 17%;
    top: 33%;
  }

  #mabushi-page .top3 .maruorengi {
    left: 70%;
    top: 13%;
  }

  #mabushi-page .senden {
    margin-top: var(--mabushi-hero-height);
  }

  #mabushi-page .send-l {
    max-width: 340px;
  }

  #mabushi-page .send-l img {
    width: min(100%, 340px);
  }

  #mabushi-page .t-img {
    font-size: 1rem;
    line-height: 1.8;
  }

  #mabushi-page li {
    width: 100%;
    padding: 0 18%;
  }
}