@charset "utf-8";
/* ================================================
   Event LP — 共通スタイルシート
   /wp-content/themes/muzzle/assets/css/event-lp.css
   各イベントのテーマカラーは single-event.php で
   <style> タグにインライン出力して上書きします。
================================================ */

/* ---- CSS変数（デフォルト値 / ACFで上書き） ---- */
:root {
  --lp-color-main:   #D63212;
  --lp-color-accent: #C89C1A;
  --lp-color-bg:     #FFF9E3;
  --lp-color-text:   #231815;
  --lp-color-white:  #ffffff;
  --lp-card-bg:      #ffffff;  /* カード内側背景 */
  --lp-nav-height:   64px;
}

/* ---- リセット・共通 ---- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--lp-nav-height);
  overflow-y: auto !important;  /* スクロール強制有効 */
  background-color: var(--lp-color-bg);
}
body {
  margin: 0 auto;
  max-width: 1800px;
  font-family: 'Noto Sans JP', 'Yu Gothic', '游ゴシック体', sans-serif;
  font-size: clamp(14px, 1.6vw, 16px);
  color: var(--lp-color-text);
  line-height: 1.8;
  background-color: var(--lp-color-bg);
  overflow-x: hidden;
  overflow-wrap: break-word; /* 長いテキストのはみ出しを防止 */
  word-break: normal;
  /* WP admin bar が追加する margin-top を吸収 */
  padding-top: 0;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lp-color-main); text-underline-offset: 3px; }
a:hover { opacity: 0.75; }
ul { list-style: none; padding: 0; margin: 0; }
p { margin: 0 0 0.5em; overflow-wrap: break-word; }

/* ====================================================
   パスワード保護フォーム
==================================================== */
.lp-password-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--lp-color-bg);
  padding: 2rem;
}
.lp-password-box {
  background: #fff;
  border: 2px solid var(--lp-color-accent);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
}
.lp-password-box p { font-size: 0.9rem; margin-bottom: 1rem; color: #555; }
.lp-password-box input[type="password"] {
  width: 100%;
  padding: 0.6rem 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
  margin-bottom: 0.8rem;
}
.lp-password-box input[type="submit"] {
  background: var(--lp-color-main);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.6rem 2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.lp-password-box input[type="submit"]:hover { background: var(--lp-color-accent); }

/* ====================================================
   ナビゲーション
==================================================== */
.lp-global-nav {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1800px;
  height: var(--lp-nav-height);
  background: var(--lp-color-bg);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: none;
}
.lp-global-nav::after {
  content: "";
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg,
    #F5E070 0%,
    #C8901A 20%,
    #F0D060 38%,
    #A87020 52%,
    #F5E070 65%,
    #C8901A 80%,
    #F0D060 100%
  );
}
.lp-nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  padding: 0;
  display: flex;
  align-items: stretch;
}
.lp-nav-list {
  display: flex;
  width: 100%;
  justify-content: space-around;
  align-items: center;
  flex-wrap: nowrap;
  padding: 0.8rem 1rem;
  gap: 0;
}
.lp-nav-list li { white-space: nowrap; display: flex; align-items: center; height: 100%; }
.lp-nav-list a {
  display: flex;
  align-items: center;
  padding: 0.4rem 0.6rem;
  font-size: clamp(0.78rem, 1.1vw, 1rem);
  font-weight: 700;
  color: var(--lp-color-main);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.lp-nav-list a:hover { color: var(--lp-color-accent); opacity: 1; }

/* SNSアイコングループ */
.lp-nav-sns {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: nowrap;
  padding: 0;
  margin: 0;
  list-style: none;
}
.lp-nav-sns a { display: flex; align-items: center; }
.lp-sns-icon {
  width: 26px;
  height: auto;
  display: block;
  transition: opacity 0.2s;
}
.lp-nav-sns a:hover .lp-sns-icon { opacity: 0.7; }

/* ハンバーガーボタン（SP） */
.lp-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.lp-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--lp-color-main);
  border-radius: 2px;
  transition: all 0.3s;
}
.lp-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.lp-hamburger.is-open span:nth-child(2) { opacity: 0; }
.lp-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* SPメニューオーバーレイ */
.lp-sp-nav {
  display: none;
  position: fixed;
  top: var(--lp-nav-height);
  left: 0;
  width: 100%;
  background: var(--lp-color-bg);
  border-top: 1px solid var(--lp-color-accent);
  z-index: 999;
  padding: 1rem 0;
}
.lp-sp-nav.is-open { display: block; }
.lp-sp-nav li a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--lp-color-main);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.lp-sp-nav-sns {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  padding: 1rem 0 0.5rem;
}
.lp-sp-nav-sns img,
.lp-sp-nav-sns i {
  width: 28px;
  height: 28px;
  object-fit: contain;
  font-size: 1.3rem;
  color: var(--lp-color-main);
}

/* ====================================================
   KV（キービジュアル）
==================================================== */
.lp-kv {
  /* KV位置がnav-below（デフォルト）の場合 */
  padding-top: var(--lp-nav-height);
  background: var(--lp-color-bg);
  margin: 0 auto;
  max-width: 1800px;
}
.lp-kv.kv-above {
  /* KV位置がnav-above（KVが上）の場合はpadding不要 */
  padding-top: 0;
}
.lp-kv.kv-above + .lp-global-nav {
  /* KVが上のとき、ナビは絶対位置でKV内に重ねない（静的配置） */
  position: static;
}
.lp-kv img { width: 100%; display: block; max-width: 1800px; margin: 0 auto; }

/* ====================================================
   main
==================================================== */
main { background-color: var(--lp-color-bg); }
section { scroll-margin-top: var(--lp-nav-height); }

/* ====================================================
   セクション共通レイアウト
==================================================== */
.lp-section-wrap { padding: 4% 2%; }
.lp-cnt {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 6px;
  /* ACFカラー変数でボーダーグラデーションを生成 */
  border: 4px solid transparent;
  background-image:
    linear-gradient(var(--lp-card-bg), var(--lp-card-bg)),
    linear-gradient(135deg,
      var(--lp-color-border) 0%,
      var(--lp-color-main)   35%,
      var(--lp-color-border) 55%,
      var(--lp-color-main)   80%,
      var(--lp-color-border) 100%
    );
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    inset 0  2px  4px rgba(255, 230, 100, 0.30),
    inset 0 -2px  4px rgba(0, 0, 0, 0.06),
    0 4px 20px rgba(0, 0, 0, 0.10),
    0 1px  6px rgba(0, 0, 0, 0.06);
  padding: clamp(36px, 5vw, 72px) clamp(28px, 6vw, 90px);
}
.lp-cnt-narrow { max-width: 1200px; margin: 0 auto; }

/* 偶数セクション背景 */
.lp-section-even {
  background-color: color-mix(in srgb, var(--lp-color-main) 12%, var(--lp-color-bg));
}

/* h2 セクション見出し */
.lp-h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  font-size: clamp(1.2rem, 2.8vw, 1.8rem);
  font-weight: 700;
  color: var(--lp-color-main);
  margin-bottom: 1.8rem;
  letter-spacing: 0.08em;
}
.lp-h2::before,
.lp-h2::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, transparent, var(--lp-color-accent));
  max-width: 80px;
}
.lp-h2::after { background: linear-gradient(to left, transparent, var(--lp-color-accent)); }
.lp-h2 span {
  display: inline-block;
  background: var(--lp-color-main);
  color: var(--lp-color-white);
  padding: 0.2rem 1.6rem;
  border-radius: 3px;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

/* h3 サブ見出し */
.lp-h3 {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 700;
  color: var(--lp-color-main);
  margin-bottom: 0.3rem;
}
.lp-h3::before { content: "◆ "; color: var(--lp-color-accent); font-size: 0.75em; }

/* 会場ユニットごとにBorder　lp-info-list = 1会場 */
.lp-info-list {
  margin: 0;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}
.lp-info-list:last-of-type { border-bottom: none; }
.lp-info-item {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  padding: 0.3rem 0;
}
.lp-info-item .lp-h3 { flex-shrink: 0; min-width: 8em; margin-bottom: 0; }
.lp-info-item p { font-size: clamp(0.875rem, 1.5vw, 1rem); line-height: 1.85; margin: 0; }
.lp-info-item small { font-size: 0.82em; color: #666; }
.lp-info-item a { color: var(--lp-color-main); }

/* イントロ文 */
.lp-intro-item { display: block; text-align: center; margin-bottom: 1.2rem; }
.lp-intro-text {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  line-height: 2;
  text-align: left;
}
/* WYSIWYG（ビジュアルモード）から生成される p タグの余白調整 */
.lp-intro-text p { margin-bottom: 1em; }
.lp-intro-text p:last-child { margin-bottom: 0; }

/* ====================================================
   会場ブロック（Blue Lock型 store-block スタイル）
==================================================== */
.lp-sche {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.2rem;
}
.lp-store-block {
  display: flex;
  align-items: stretch;
  width: 100%;
  background: var(--lp-card-bg);
  border-radius: 8px;
  border: 1.5px solid var(--lp-color-border, var(--lp-color-accent));
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}
.lp-store-block h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: clamp(0.9rem, 1.6vw, 1.05rem);
  font-weight: 700;
  color: #fff;
  margin: 0;
  padding: 1rem 1.2rem;
  background: linear-gradient(135deg, var(--lp-color-main) 0%, color-mix(in srgb, var(--lp-color-main) 70%, #000) 100%);
  flex-shrink: 0;
  min-width: 7.5em;
  white-space: normal;
  line-height: 1.5;
  align-self: stretch;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  border-right: 1px solid rgba(255,255,255,0.2);
}
.lp-store-block-right {
  flex: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.lp-store-block-right dl {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 0.6rem 1rem;
  margin: 0;
  border-right: 1px dotted rgba(0,0,0,0.12);
  min-width: 200px;
}
.lp-store-block-right dl:last-of-type { border-right: none; }
.lp-store-block-right dt {
  font-size: clamp(0.72rem, 1.1vw, 0.82rem);
  font-weight: 700;
  color: var(--lp-color-main);
  padding-bottom: 0.1rem;
  letter-spacing: 0.04em;
}
.lp-store-block-right dd {
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  color: var(--lp-color-text);
  line-height: 1.65;
  margin: 0;
}
/* ボタン群 */
.lp-btn-store-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 1rem;
  flex-shrink: 0;
}
.lp-btn-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.28rem 0.85rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: clamp(0.72rem, 1.1vw, 0.84rem);
  font-weight: 700;
  background: var(--lp-color-btn);
  color: var(--lp-color-btn-text);
  border: 1px solid var(--lp-color-btn);
  transition: background 0.2s, border-color 0.2s, opacity 0.2s;
  white-space: nowrap;
}
.lp-btn-store:hover {
  opacity: 0.82;
  color: var(--lp-color-btn-text);
}
/* 旧 lp-btn（後方互換） */
.lp-btn-wrap { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.6rem; }
.lp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.8rem;
  border: 1.5px solid var(--lp-color-btn);
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  background: var(--lp-color-btn);
  color: var(--lp-color-btn-text);
  text-decoration: none;
  transition: background 0.2s, color 0.2s, opacity 0.2s;
}
.lp-btn:hover { opacity: 0.82; }

/* ====================================================
   飲食特典（期間別）
==================================================== */
/* ランチョンマット（ボーダー囲みスタイル） */
.lp-food-tokuten {
  border: 2px solid var(--lp-color-main);
  background: transparent;
  margin: 2rem 0;
  padding: 2rem 6% 2.5rem;
  border-radius: 4px;
}
.lp-food-tokuten-lead {
  text-align: center;
  font-size: clamp(0.95rem, 2vw, 1.2rem);
  line-height: 1.8;
  margin-bottom: 1.4rem;
}
.lp-food-tokuten-sub-heading {
  text-align: center;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 700;
  color: var(--lp-color-main);
  margin-bottom: 0.8rem;
  letter-spacing: 0.08em;
}
.lp-food-tokuten-schedule {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1.2rem;
  row-gap: 0.35rem;
  width: fit-content;
  margin: 0 auto 1.2rem;
}
.lp-food-tokuten-schedule dt { font-weight: 700; }
.lp-food-tokuten-schedule dd { margin: 0; }
.lp-food-tokuten-note {
  font-size: 0.82em;
  text-align: center;
  margin: 0.2rem 0 1.2rem;
  opacity: 0.75;
}
.lp-toku-img { margin: 0; }
.lp-toku-img-inner {
  background: #fff;
  border-radius: 4px;
  padding: 1rem;
  margin: 0 auto;
  width: 90%;
  max-width: 680px;
}
.lp-toku-img-inner img { width: 100%; display: block; margin: 0 auto; }
.lp-toku-img-inner a img { transition: opacity 0.2s; }
.lp-toku-img-inner a:hover img { opacity: 0.85; }
.lp-toku-img-size {
  text-align: center;
  font-size: 0.85em;
  margin-top: 0.7rem;
  opacity: 0.75;
}

/* ====================================================
   画像ブロック（メニュー・商品・特典）
==================================================== */
.lp-image-block { text-align: center; margin: 1rem 0; }
.lp-image-block img { width: 100%; max-width: 100%; margin: 0 auto; }
.lp-image-block a img { transition: opacity 0.2s; }
.lp-image-block a:hover img { opacity: 0.85; }

/* アレルギー情報リンク */
.lp-allergy-link { text-align: center; margin-top: 0.6rem; font-size: 0.875rem; }

/* 画像未登録プレースホルダー */
.lp-placeholder {
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,0.04);
  border: 2px dashed var(--lp-color-accent);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}
.lp-placeholder p {
  color: #888;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  text-align: center;
  line-height: 2;
  margin: 0;
}

/* ====================================================
   オンラインショップ
==================================================== */
.lp-online-banner { margin-top: 1.6rem; text-align: center; }
.lp-online-banner img { max-width: 70%; margin: 0.6rem auto 0.8rem; }
.lp-online-notes { font-size: 0.82em; color: #666; line-height: 1.7; text-align: left; list-style: none; padding-left: 0; max-width: 70%; margin: 0 auto; }
.lp-online-notes li::before { content: ""; }

/* ====================================================
   X（旧Twitter）
==================================================== */
.lp-x-block {
  max-width: 520px;
  margin: 3rem auto 0;
  text-align: center;
}
.lp-x-block .lp-h2 { margin-bottom: 0.8rem; }
.lp-x-text { font-size: clamp(0.9rem, 1.8vw, 1.05rem); line-height: 2; }
.lp-x-text a { color: var(--lp-color-main); font-weight: 700; }

/* ====================================================
   購入特典（物販）
==================================================== */
.lp-tokuten-lead {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.2rem;
  line-height: 1.9;
}
.lp-tokuten-notes { margin-top: 1rem; }
.lp-tokuten-notes li {
  font-size: clamp(0.78rem, 1.3vw, 0.875rem);
  line-height: 1.75;
  color: #555;
}
/* ※ は入力時に直接記入 */

/* ====================================================
   注意事項
==================================================== */
.lp-attention-list { list-style: none; padding-left: 0; }
.lp-attention-list li {
  font-size: clamp(0.85rem, 1.4vw, 0.96rem);
  line-height: 1.9;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.07);
}
.lp-attention-list li:last-child { border-bottom: none; }

/* ====================================================
   TOPへ戻るボタン
==================================================== */
#lp-top-btn {
  position: fixed;
  bottom: 5%;
  right: 3%;
  z-index: 100;
  background: var(--lp-color-main);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  transition: background 0.2s, opacity 0.3s;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  text-decoration: none;
  color: var(--lp-color-white);
  flex-direction: column;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.1;
}
#lp-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
#lp-top-btn span { font-size: 0.55rem; letter-spacing: 0.05em; }
#lp-top-btn:hover { background: var(--lp-color-accent); opacity: 1; }

/* ====================================================
   フッター
==================================================== */
.lp-footer {
  padding: 1.2rem 0;
  text-align: center;
  background-color: var(--lp-color-main);
}
.lp-copyright {
  color: var(--lp-color-white);
  font-size: clamp(0.75rem, 1.2vw, 0.875rem);
  letter-spacing: 0.05em;
}

/* ====================================================
   レスポンシブ
==================================================== */
@media screen and (max-width: 900px) {
  .lp-nav-list { display: none; }
  .lp-nav-sns { display: none; }
  .lp-hamburger { display: flex; margin-left: auto; margin-right: 0.5rem; }
  /* store-block タブレット */
  .lp-store-block { flex-direction: column; }
  .lp-store-block h3 {
    width: 100%; min-width: unset;
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 0.7rem 1rem;
    align-self: auto;
  }
  .lp-store-block-right { flex-wrap: wrap; align-items: flex-start; }
  .lp-btn-store-wrap {
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding: 0.6rem 1rem;
    gap: 0.4rem;
    border-top: 1px dotted rgba(0,0,0,0.1);
  }
}

@media screen and (max-width: 680px) {
  :root { --lp-nav-height: 56px; }
  /* Flexアイテムがテキストを縮められるよう min-width:0 を保証 */
  .lp-info-item,
  .lp-store-block-right dl,
  .lp-schedule-sub { min-width: 0; }
  .lp-info-item { flex-direction: column; gap: 0.3rem; }
  .lp-info-item .lp-h3 { min-width: unset; }
  .lp-info-item p,
  .lp-store-block-right dd { overflow-wrap: break-word; word-break: break-all; }
  /* store-block モバイル */
  .lp-store-block-right { flex-direction: column; align-items: stretch; }
  .lp-store-block-right dl { border-right: none; border-bottom: 1px dotted rgba(0,0,0,0.1); min-width: unset; }
  .lp-store-block-right dl:last-of-type { border-bottom: none; }
  .lp-btn-store-wrap { flex-direction: row; justify-content: flex-start; }
  .lp-btn-store { flex: 1; min-width: fit-content; }
  .lp-intro-text { text-align: left; }
  .lp-online-banner img { max-width: 90%; }
  .lp-online-notes { max-width: 90%; }
  .lp-section-wrap { padding: 6% 3%; }
  /* ランチョンマット配布スケジュール：画面幅が狭い時は縦積みも許容 */
  .lp-food-tokuten-schedule {
    grid-template-columns: max-content 1fr;
    column-gap: 0.8rem;
  }
  /* lp-h2 装飾ラインを縮小 */
  .lp-h2::before, .lp-h2::after { width: 20%; }
}

@media screen and (max-width: 420px) {
  .lp-h2 { font-size: 1.1rem; }
  /* 極小画面では装飾ラインを非表示 */
  .lp-h2::before, .lp-h2::after { display: none; }
  .lp-section-wrap { padding: 7% 2%; }
  /* 配布スケジュール：極小画面で縦積み */
  .lp-food-tokuten-schedule {
    grid-template-columns: 1fr;
  }
  .lp-food-tokuten-schedule dt {
    margin-top: 0.4rem;
  }
  .lp-food-tokuten-schedule dd {
    padding-left: 1em;
  }
  /* ボタン：極小画面でフル幅 */
  .lp-btn-store { width: 100%; justify-content: center; }
  /* オンラインショップ注意書き */
  .lp-online-notes { max-width: 100%; }
  /* タイトルのfont-size調整 */
  .lp-food-tokuten-sub-heading { font-size: 1rem; }
}
