@charset "UTF-8";

/* =====================================================
   塩麹100g 商品案内ページ
   /jp/mn/110300/assets/css/style.css

   共通ヘッダー・共通フッター include版
   旧ハンバーガーメニュー削除済み
   旧Scroll文字付き矢印削除済み
===================================================== */

@font-face {
  font-family: "HGRSKP";
  src: url("../font/HGRSKP.TTF") format("truetype");
  font-display: swap;
}

.siokoji-page,
.siokoji-page * {
  box-sizing: border-box;
}

.siokoji-page {
  width: 100%;
  overflow: hidden;
  color: rgba(34, 28, 28, 0.9);
  background: #fff8eb;
  font-family:
    "HGRSKP",
    "Yu Mincho",
    YuMincho,
    "Hiragino Mincho ProN",
    "Hiragino Mincho Pro",
    Meiryo,
    serif;
  line-height: 1.8;
}

.siokoji-page img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.siokoji-page a {
  color: inherit;
  text-decoration: none;
}

.siokoji-page ul,
.siokoji-page li,
.siokoji-page p,
.siokoji-page h1,
.siokoji-page h2 {
  margin: 0;
  padding: 0;
}

.siokoji-page li {
  list-style: none;
}

/* =====================================================
   共通フッターの丸い上下ボタン
   footer.php 内の
   #scroll-down-hint ＝ 下へ ▼
   #page-top-btn      ＝ 上へ ▲

   このページでは右下に上下セットで表示
===================================================== */

/* 前回非表示指定していたものを確実に表示へ戻す */
.siokoji-page + .site-footer .scroll-down-hint {
  display: flex !important;
}

/* 下へ進む丸ボタン ▼ */
.site-footer .scroll-down-hint {
  position: fixed;
  right: 24px;
  bottom: 92px;
  z-index: 9000;

  width: 52px;
  height: 52px;
  padding: 0;
  border: none;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(92, 64, 44, 0.88);
  color: #fff;
  cursor: pointer;

  font-size: 0;
  line-height: 1;

  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    background-color 0.25s ease;
}

/* ▼だけ見せる。文字は出さない */
.site-footer .scroll-down-hint__icon {
  display: block;
  font-size: 1.15rem;
  line-height: 1;
  color: #fff;
}

.site-footer .scroll-down-hint:hover {
  transform: translateY(3px);
  background: rgba(74, 50, 33, 0.96);
}

/* 上へ戻る丸ボタン ▲ */
.site-footer #page-top-btn {
  position: fixed;
  right: 24px;
  bottom: 28px;
  z-index: 9000;

  width: 52px;
  height: 52px;
  padding: 0;
  border: none;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(92, 64, 44, 0.88);
  color: #fff;
  cursor: pointer;

  font-size: 1.05rem;
  line-height: 1;

  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.25s ease,
    opacity 0.25s ease,
    background-color 0.25s ease;
}

.site-footer #page-top-btn:hover {
  transform: translateY(-3px);
  background: rgba(74, 50, 33, 0.96);
}

/* =====================================================
   ヒーロー
===================================================== */

.siokoji-hero {
  position: relative;
  min-height: calc(100vh - 90px);

  /*
    画像の見え方調整：
    ただの cover だと一部だけが見えて意味不明になりやすいので、
    左側に文字を置き、背景は画面幅に合わせて自然に見せる。
  */
  background-image:
    linear-gradient(
      90deg,
      rgba(255, 248, 235, 0.88) 0%,
      rgba(255, 248, 235, 0.76) 38%,
      rgba(255, 248, 235, 0.28) 68%,
      rgba(255, 248, 235, 0.08) 100%
    ),
    url("../img/background.webp");
  background-repeat: no-repeat;
  background-position: center 42%;
  background-size: cover;
}

.siokoji-hero__overlay {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: calc(100vh - 90px);
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: clamp(5rem, 8vw, 8rem) clamp(1.2rem, 5vw, 5rem);
}

/* =====================================================
   塩こうじアラカルト画像
   ここは中央。譲らない場所。
===================================================== */

.siokoji-hero__title-image {
  position: absolute;
  top: clamp(2.2rem, 5vw, 4.8rem);
  left: 50%;
  width: min(30vw, 220px);
  transform: translateX(-50%);
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.18));
  z-index: 2;
}

.siokoji-hero__text {
  width: min(100%, 660px);
  padding: clamp(1.6rem, 3vw, 2.8rem);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.13);
  backdrop-filter: blur(2px);
}

.siokoji-hero__label {
  margin-bottom: 0.6rem;
  color: #7b5436;
  font-size: clamp(1.25rem, 2.4vw, 2.05rem);
  letter-spacing: 0.08em;
}

.siokoji-hero h1 {
  margin-bottom: 1rem;
  color: #3a2d25;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 1.2;
  letter-spacing: 0.12em;
}

.siokoji-hero__text p:last-child {
  color: #3f342d;
  font-size: clamp(1.05rem, 2vw, 1.55rem);
  line-height: 2;
  letter-spacing: 0.04em;
}

/* =====================================================
   商品紹介
===================================================== */

.siokoji-intro {
  width: 100%;
  padding: clamp(4rem, 7vw, 8rem) clamp(1rem, 4vw, 4rem);
  background: rgba(255, 255, 255, 0.94);
  scroll-margin-top: 110px;
}

.siokoji-intro__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 6vw, 6rem);
  width: min(100%, 1180px);
  margin: 0 auto;
}

.siokoji-intro__text {
  width: min(100%, 660px);
}

.siokoji-intro__sub {
  margin-bottom: 0.8rem;
  color: #7b5436;
  font-size: clamp(1.5rem, 2.8vw, 2.6rem);
  line-height: 1.4;
  letter-spacing: 0.1em;
}

.siokoji-intro h2 {
  margin-bottom: 1.4rem;
  color: #3a2d25;
  font-size: clamp(1.7rem, 3.2vw, 3.1rem);
  line-height: 1.45;
  letter-spacing: 0.05em;
}

.siokoji-intro__text p:last-child {
  color: rgba(34, 28, 28, 0.86);
  font-size: clamp(1.02rem, 1.65vw, 1.38rem);
  line-height: 2.15;
  letter-spacing: 0.03em;
}

.siokoji-intro__image {
  width: min(38vw, 330px);
  min-width: 230px;
  text-align: center;
}

.siokoji-intro__image img {
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.18));
}

/* =====================================================
   レシピ一覧
===================================================== */

.siokoji-recipe {
  width: 100%;
  padding: clamp(4rem, 7vw, 7rem) clamp(1rem, 4vw, 4rem) clamp(5rem, 8vw, 8rem);
  background: #ffebcd;
}

.siokoji-section-heading {
  margin-bottom: clamp(2.4rem, 5vw, 4.4rem);
  text-align: center;
}

.siokoji-section-heading p {
  color: #3a2d25;
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.1;
  letter-spacing: 0.18em;
}

.siokoji-section-heading h2 {
  margin-top: 0.4rem;
  color: #3a2d25;
  font-size: clamp(1.5rem, 3vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: 0.22em;
}

/* 3カラム中央寄せ */
.siokoji-recipe__list {
  display: grid;
  grid-template-columns: repeat(3, 280px);
  justify-content: center;
  gap: clamp(1.4rem, 3vw, 3.2rem);
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
}

.siokoji-recipe__card a {
  display: block;
  height: 100%;
  padding: 1.2rem 1rem 1.4rem;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  text-align: center;
  box-shadow: 0 12px 26px rgba(91, 62, 28, 0.12);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.siokoji-recipe__card a:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 34px rgba(91, 62, 28, 0.18);
}

.siokoji-recipe__image {
  display: block;
  width: min(100%, 220px);
  margin: 0 auto 1rem;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 999px;
  background: #fff8ef;
}

.siokoji-recipe__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.siokoji-recipe__name {
  display: block;
  min-height: 3.2em;
  color: #2f2722;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.6;
  letter-spacing: 0.04em;
}

/* =====================================================
   タブレット
===================================================== */

@media screen and (max-width: 1350px) {
  .siokoji-hero {
    background-position: center center;
  }

  .siokoji-recipe__list {
    grid-template-columns: repeat(2, 280px);
    justify-content: center;
    width: 100%;
    max-width: 760px;
  }

  .siokoji-intro__inner {
    gap: 2.5rem;
  }

  .siokoji-intro__image {
    width: min(36vw, 300px);
  }
}

/* =====================================================
   スマホ
===================================================== */

@media screen and (max-width: 700px) {
  .siokoji-hero {
    min-height: 76vh;
    background-image:
      linear-gradient(
        rgba(255, 248, 235, 0.78),
        rgba(255, 248, 235, 0.66)
      ),
      url("../img/background.webp");
    background-position: center top;
    background-size: auto 100%;
  }

  .siokoji-hero__overlay {
    align-items: center;
    justify-content: center;
    min-height: 76vh;
    padding: 4.5rem 1rem 5rem;
    text-align: center;
  }

  .siokoji-hero__title-image {
    top: 1.2rem;
    left: 50%;
    right: auto;
    width: min(34vw, 130px);
    transform: translateX(-50%);
  }

  .siokoji-hero__text {
    width: min(100%, 430px);
    padding: 1.4rem 1.1rem;
    border-radius: 22px;
  }

  .siokoji-hero__label {
    font-size: clamp(1.05rem, 4vw, 1.3rem);
  }

  .siokoji-hero h1 {
    letter-spacing: 0.08em;
  }

  .siokoji-hero__text p:last-child {
    font-size: 0.98rem;
    line-height: 1.9;
  }

  .siokoji-intro {
    padding: 4rem 1.1rem;
  }

  .siokoji-intro__inner {
    flex-direction: column;
    gap: 2rem;
    text-align: center;
  }

  .siokoji-intro__text p:last-child {
    text-align: left;
    line-height: 2;
  }

  .siokoji-intro__image {
    width: min(70vw, 250px);
    min-width: 0;
  }

  .siokoji-recipe {
    padding: 4rem 1rem 5rem;
  }

  .siokoji-recipe__list {
    grid-template-columns: minmax(0, 430px);
    justify-content: center;
    gap: 1.4rem;
    width: 100%;
    max-width: 430px;
    margin: 0 auto;
  }

  .siokoji-recipe__card a {
    display: grid;
    grid-template-columns: 105px 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    text-align: left;
    border-radius: 20px;
  }

  .siokoji-recipe__image {
    width: 105px;
    margin: 0;
  }

  .siokoji-recipe__name {
    min-height: 0;
    font-size: 1.05rem;
  }

  .site-footer .scroll-down-hint {
    right: 16px;
    bottom: 84px;
    width: 46px;
    height: 46px;
  }

  .site-footer #page-top-btn {
    right: 16px;
    bottom: 28px;
    width: 46px;
    height: 46px;
  }
}

/* =====================================================
   かなり小さいスマホ
===================================================== */

@media screen and (max-width: 420px) {
  .siokoji-hero__title-image {
    width: min(38vw, 120px);
  }

  .siokoji-hero__label {
    font-size: 1.02rem;
  }

  .siokoji-hero h1 {
    font-size: 2.2rem;
  }

  .siokoji-hero__text p:last-child {
    font-size: 0.94rem;
  }

  .siokoji-intro__text p:last-child {
    font-size: 0.98rem;
  }

  .siokoji-recipe__card a {
    grid-template-columns: 90px 1fr;
  }

  .siokoji-recipe__image {
    width: 90px;
  }
}

/* =====================================================
   印刷
===================================================== */

@media print {
  .siokoji-page {
    background: #fff;
    color: #000;
  }

  .siokoji-hero {
    min-height: auto;
    background: #fff;
  }

  .siokoji-hero__overlay {
    min-height: auto;
    padding: 1rem;
  }

  .siokoji-hero__title-image,
  .site-footer .scroll-down-hint,
  .site-footer #page-top-btn {
    display: none !important;
  }

  .siokoji-hero__text,
  .siokoji-intro,
  .siokoji-recipe {
    background: #fff;
    box-shadow: none;
    padding: 1rem;
  }

  .siokoji-recipe__list {
    display: block;
  }

  .siokoji-recipe__card {
    break-inside: avoid;
    margin-bottom: 1rem;
  }

  .siokoji-recipe__card a {
    box-shadow: none;
    border: 1px solid #ccc;
  }
}

/* =====================================================
   最終上書き：レシピカードを必ず画面中央に揃える
   共通CSSの ul / li / margin / float 対策込み
===================================================== */

.siokoji-page .siokoji-recipe {
  text-align: center !important;
}

.siokoji-page .siokoji-recipe__list {
  display: grid !important;
  grid-template-columns: repeat(3, 280px) !important;
  justify-content: center !important;
  justify-items: center !important;
  align-items: stretch !important;

  gap: clamp(1.4rem, 3vw, 3.2rem) !important;

  width: 100% !important;
  max-width: 1000px !important;

  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;

  list-style: none !important;
  float: none !important;
  clear: both !important;
}

.siokoji-page .siokoji-recipe__card {
  width: 280px !important;
  max-width: 280px !important;

  margin: 0 !important;
  padding: 0 !important;

  float: none !important;
  clear: none !important;

  list-style: none !important;
  display: block !important;
}

.siokoji-page .siokoji-recipe__card a {
  width: 100% !important;
  display: block !important;
}

/* タブレット：2カラム中央 */
@media screen and (max-width: 1350px) {
  .siokoji-page .siokoji-recipe__list {
    grid-template-columns: repeat(2, 280px) !important;
    justify-content: center !important;
    justify-items: center !important;
    max-width: 680px !important;
  }
}

/* スマホ：1カラム中央 */
@media screen and (max-width: 700px) {
  .siokoji-page .siokoji-recipe__list {
    grid-template-columns: minmax(0, 430px) !important;
    justify-content: center !important;
    justify-items: center !important;
    max-width: 430px !important;
  }

  .siokoji-page .siokoji-recipe__card {
    width: 100% !important;
    max-width: 430px !important;
  }
}

/* 小さいスマホ */
@media screen and (max-width: 420px) {
  .siokoji-page .siokoji-recipe__list {
    grid-template-columns: minmax(0, 100%) !important;
    max-width: 100% !important;
  }

  .siokoji-page .siokoji-recipe__card {
    width: 100% !important;
    max-width: 100% !important;
  }
}