/* ============================================================
   100プチベジ ブランドサイト CSS（共通）
   ベース構造は mizuomoi を流用し、配色をブランドカラーへ置換
   ============================================================ */

:root {
  --lime:   #c7d801;
  --lime-d: #b6c500;
  --orange: #ff6300;
  --green:  #009129;
  --cream:  #fffdeb;
  --ink:    #2b2f00;
  --white:  #ffffff;
  --content-width: 500px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Zen Maru Gothic', 'Hiragino Maru Gothic ProN', 'Hiragino Sans', sans-serif;
  font-weight: 900;
  background: var(--lime);
  color: var(--ink);
}
img { display: block; width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

aside.header__sidenav { display: none !important; }

/* ===== ヘッダー ===== */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
  background: transparent; pointer-events: none;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  padding-top: 8px;
}
.header.is-scrolled { background: var(--lime); box-shadow: 0 2px 12px rgba(40,47,0,0.12); padding-top: 0; }
.header.is-hidden { transform: translateY(-100%); }
@media (min-width: 501px) { .header.is-hidden { transform: translateX(-50%) translateY(-100%); } }

.header__inner {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; height: 72px; pointer-events: auto;
  transition: opacity 0.3s ease;
}
.header__logo { display: flex; align-items: center; flex: 1; padding-left: 22px; }
.header__logo-img { height: 31px; width: auto; display: block; }

.header__right { display: flex; align-items: center; gap: 10px; padding-right: 20px; }
.header__store {
  background: transparent; border: none; padding: 0; cursor: pointer;
  display: flex; align-items: center; transition: opacity 0.2s;
}
.header__store:hover { opacity: 0.88; }
.header__store-img { height: 36px; width: auto; display: block; }

.header__hamburger {
  background: transparent; border: none; cursor: pointer;
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; padding: 0;
}
.header__hamburger-bars { position: relative; display: block; width: 24px; height: 2px; background: var(--ink); }
.header__hamburger-bars::before, .header__hamburger-bars::after { content: ""; position: absolute; left: 0; width: 24px; height: 2px; background: var(--ink); }
.header__hamburger-bars::before { top: -7px; }
.header__hamburger-bars::after  { top:  7px; }

/* ===== SPスライドメニュー（オレンジ） ===== */
.header__menu-sp {
  position: fixed; top: 0; right: 0; width: 100%; max-width: 360px; height: 100vh;
  background: var(--orange); color: #fff; padding: 72px 30px 40px;
  transform: translateX(100%); transition: transform 0.3s ease;
  box-shadow: -4px 0 20px rgba(0,0,0,0.2); overflow-y: auto; z-index: 1101;
  display: flex; flex-direction: column;
}
.header__menu-sp.is-open { transform: translateX(0); }
.header__menu-close { position: absolute; top: 20px; right: 24px; background: none; border: none; color: #fff; font-size: 30px; line-height: 1; cursor: pointer; }
.header__menu-list { list-style: none; margin: 0 0 40px; }
.header__menu-list li a { display: block; padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.35); color: #fff; font-weight: 700; font-size: 17px; letter-spacing: 1.5px; }
.header__menu-store { display: flex; align-items: center; justify-content: space-between; background: #fff; color: var(--orange); font-weight: 700; font-size: 16px; padding: 18px 28px; border-radius: 999px; margin-top: auto; }
.header__menu-store::after { content: "＞"; font-weight: 400; }

/* ===== 中央コンテンツ ===== */
.page-wrapper { width: 100%; background: var(--lime); }
@media (min-width: 501px) {
  body { background-image: url('../images/bg.webp'); background-attachment: fixed; background-size: cover; background-position: center; }
  .header { left: 50%; transform: translateX(-50%); max-width: var(--content-width); }
  .page-wrapper { max-width: var(--content-width); margin: 0 auto; background: var(--lime); box-shadow: 0 0 50px rgba(40,47,0,0.18); }
}

/* ===== PC追従サイドナビ ===== */
@media (min-width: 1070px) {
  .header__hamburger { display: none; }
  .header__menu-sp   { display: none; }
  aside.header__sidenav {
    display: block !important; position: fixed; top: 100px;
    left: calc(75% + var(--content-width) / 4); transform: translateX(calc(-50% - 10px));
    width: 250px; max-height: calc(100vh - 120px); overflow: visible; z-index: 1100; pointer-events: auto;
  }
  .header__sidenav-label { font-size: 12px; letter-spacing: 0.18em; font-weight: 700; color: var(--white); margin-bottom: 14px; padding-left: 6px; text-shadow: 0 1px 2px rgba(40,47,0,0.25); }
  .header__sidenav-list { list-style: none; margin: 0; }
  .header__sidenav-list li { margin-bottom: 10px; }
  .header__sidenav-list li a {
    display: flex; justify-content: space-between; align-items: center;
    background: #fff; padding: 9px 18px; border-radius: 999px;
    font-weight: 900; font-size: 16px; letter-spacing: 1.5px; color: #004c1e;
    box-shadow: 0 4px 14px rgba(40,47,0,0.14); transition: transform 0.2s, box-shadow 0.2s;
  }
  .header__sidenav-list li a:hover { transform: translateX(-3px); box-shadow: 0 6px 18px rgba(40,47,0,0.22); }
  .header__sidenav-list li a::after { content: "›"; color: #004c1e; font-weight: 700; font-size: 20px; line-height: 1; margin-left: 8px; }
}

/* ===== セクション＋クリック領域 ===== */
.sec { position: relative; width: 100%; line-height: 0; }
.sec__img { width: 100%; height: auto; display: block; margin-bottom: -1px; }
.hotspot { position: absolute; display: block; background: transparent; border: 0; padding: 0; cursor: pointer; -webkit-tap-highlight-color: rgba(0,0,0,0); }
.hotspot:focus-visible { outline: 2px solid rgba(255,98,0,0.6); outline-offset: -2px; }
.fv { scroll-margin-top: 0; }
section[id] { scroll-margin-top: 60px; }

/* ===== フッター（全ページ共通・コード／背景は web07 画像） ===== */
.footer {
  position: relative;
  background-color: #fffdeb; /* TOPページ用 */
  background-image: url('../images/web07.webp');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
  color: #fff;
  padding: 37% 0 40px;
}
.footer__logo { margin: 0 0 42px calc(11% - 5px); }
.footer__logo-img { width: 49.2%; max-width: 248px; height: auto; display: block; }
.footer__nav { display: flex; flex-direction: column; gap: 30px; margin: 0 0 62px 11%; }
.footer__link {
  display: flex; align-items: center; justify-content: space-between;
  width: 46%; max-width: 232px; color: #fff; font-size: 18px; font-weight: 700; letter-spacing: 1.5px;
}
.footer__link:hover { opacity: 0.85; }
.footer__link::after { content: "\203a"; font-weight: 700; font-size: 22px; line-height: 1; transform: translateX(6px); }
.footer__links { font-size: 14px; font-weight: 700; letter-spacing: 1.5px; text-align: center; margin-bottom: 18px; padding: 0 20px; }
.footer__links a { color: #fff; }
.footer__links span { margin: 0 10px; color: rgba(255,255,255,0.75); }
.footer__copy { font-size: 11px; font-weight: 400; color: rgba(255,255,255,0.85); text-align: center; padding: 0 20px; }
/* 下層ページのフッター背景は白 */
body.bg-1 .footer { background-color: #ffffff; }


/* ============================================================
   ページ下部 ショップリスト（コード製ボタン）
   ============================================================ */
.shoplist-cta {
  background: var(--cream);
  padding: 4px 12.5% 8px;
  display: flex; flex-direction: column; gap: 22px;
  line-height: normal;
}
.sl-btn {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  background: var(--green); color: #fff;
  font-weight: 900; font-size: 18px; letter-spacing: 1.5px;
  padding: 18px 16px; border-radius: 999px;
  transition: filter 0.2s;
}
.sl-btn:hover { filter: brightness(1.08); }
.sl-btn::after {
  content: ""; position: absolute; right: 22px; width: 19px; height: 19px;
  background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15V5a2 2 0 0 1 2-2h10'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='11' height='11' rx='2'/%3E%3Cpath d='M5 15V5a2 2 0 0 1 2-2h10'/%3E%3C/svg%3E") no-repeat center / contain;
}


/* ============================================================
   商品紹介 ご購入ボタン（コードで作成）
   ============================================================ */
.buy-cta { background: var(--lime); text-align: center; padding: 20px 0 64px; line-height: normal; }
.buy-btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: #ff6300; color: #fff; font-weight: 900; font-size: 18px; letter-spacing: 1.5px;
  padding: 13px 42px; border-radius: 999px; transition: filter 0.2s;
}
.buy-btn:hover { filter: brightness(1.05); }
