/*
Theme Name: MAMEHICO
Description: mamehico.com 自前テーマ
Version: 1.0
Text Domain: mamehico
*/

/* ============================================================
   BASE — 全ページ共通のデザインルール
   フォント・色・サイズを変えたいときはここだけ触る
   ============================================================ */

/* --- Design Tokens --- */
:root {
  /* Colors */
  --mh-color-text:    #2E303E;
  --mh-color-dark:    #1a1510;
  --mh-color-accent:  #C7739E;
  --mh-color-gold:    #b8924a;
  --mh-color-bg:      #f0f0f0;
  --mh-color-white:   #fff;
  --mh-color-gray:    #555;
  --mh-color-border:  #eee;
  --mh-color-dark-navy:   #232545;
  --mh-color-light-gray:  #EDF1F2;
  --mh-color-medium-gray: #888;
  --mh-color-charcoal:    #606B73;

  /* Typography Scale */
  --mh-fs-small:   13px;
  --mh-fs-normal:  16px;
  --mh-fs-medium:  16px;
  --mh-fs-large:   20px;

  /* Typography */
  --mh-font-family:   'Zen Kaku Gothic Antique', sans-serif;
  --mh-font-size:     16px;
  --mh-font-weight:   500;
  --mh-line-height:   1.6;

  /* Layout */
  --mh-max-width:     1100px;
  --mh-side-width:    220px;
  --mh-gap:           16px;
  --mh-radius:        4px;
}

/* --- Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- Body --- */
body {
  font-family: var(--mh-font-family);
  font-size: var(--mh-font-size);
  font-weight: var(--mh-font-weight);
  line-height: var(--mh-line-height);
  color: var(--mh-color-text);
  background: var(--mh-color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 { line-height: 1.25; word-break: auto-phrase; overflow-wrap: anywhere; }

a { color: inherit; text-decoration: none; }
a:hover { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* --- Hover effect (shared) --- */
a:hover img,
button:hover {
  filter: brightness(1.08);
  transition: filter .2s ease;
}

/* --- Layout --- */
.mh-layout {
  display: flex;
  max-width: min(100%, var(--mh-max-width));
  margin: 0 auto;
  padding: 64px 0 0;
  gap: 0 var(--mh-gap);
}
.mh-main {
  flex: 1;
  min-width: 0;
  min-height: 800px;
  width: calc(100% - var(--mh-side-width) - var(--mh-gap));
}
.mh-side {
  flex: 0 0 var(--mh-side-width);
  width: var(--mh-side-width);
  padding: 0 0 0 var(--mh-gap);
}

/* --- Buttons --- */
.mh-btn {
  display: inline-block;
  background: var(--mh-color-dark);
  color: var(--mh-color-white);
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 3px;
  border: none;
  cursor: pointer;
}
.mh-btn:hover { background: #555; }

.mh-btn-outline {
  display: inline-block;
  padding: 6px 28px;
  border: 1px solid #999;
  border-radius: 3px;
  font-size: 13px;
  background: transparent;
}
.mh-btn-outline:hover { background: var(--mh-color-dark); color: var(--mh-color-white); }

/* --- Column Card (shared) --- */
.mh-col-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 var(--mh-gap);
  margin-bottom: 16px;
}
.mh-cc { display: block; overflow: hidden; }
.mh-cc-tw { position: relative; overflow: hidden; }
.mh-cc-th { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.mh-cc-body { padding: 8px 4px; }
.mh-cc-title {
  color: #333;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mh-cc-exc {
  color: var(--mh-color-gray);
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mh-cc-dt {
  font-size: 12px;
  color: #504b4b;
  font-weight: 600;
  text-align: right;
}

/* --- Sidebar (shared) --- */
.mh-side .mh-sb { margin-bottom: 14px; }
.mh-side .mh-sl { font-size: 13px; font-weight: 500; color: var(--mh-color-gray); margin-bottom: 4px; }
.mh-side .mh-sd { font-size: 14px; font-weight: 500; margin-bottom: 8px; }

.mh-store-toggles { margin-bottom: 10px; }
.mh-st { margin-bottom: 3px; }
.mh-st-btn {
  width: 100%;
  background: #22274E;
  color: var(--mh-color-white);
  padding: 10px 14px;
  border: none;
  text-align: left;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  display: block;
  margin-bottom: 3px;
  white-space: nowrap;
}
.mh-st-btn:hover { background: #2e3460; }
.mh-st-detail { background: var(--mh-color-white); padding: 10px 16px; font-size: 13px; line-height: 1.8; }
.mh-st-detail a { color: var(--mh-color-accent); text-decoration: underline; }

.mh-side-banners { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.mh-side .mh-si { margin-bottom: 0; }
.mh-side .mh-si img { width: 100%; display: block; }

.mh-side-cats { margin-bottom: 10px; }
.mh-side-cats .mh-cat-badge {
  display: inline-block;
  background: var(--mh-color-accent);
  color: var(--mh-color-white);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: var(--mh-radius);
  margin-bottom: 5px;
}
.mh-side-cats .mh-cat-badge:hover { background: #b85f8a; }

.mh-side-tags .mh-tgt { font-size: 13px; font-weight: 700; margin: 10px 0 4px; color: #333; }
.mh-side-tags .mh-tgl-list { list-style: none; }
.mh-side-tags .mh-tgl-list li { margin-bottom: 3px; }
.mh-side-tags .mh-tgl-list a { font-size: 12px; color: #333; text-decoration: underline; }
.mh-side-tags .mh-tgl-list a:hover { color: var(--mh-color-accent); }

.mh-side-nav { list-style: none; margin-bottom: 10px; }
.mh-side-nav li { border-bottom: 1px solid var(--mh-color-border); }
.mh-side-nav a { display: block; padding: 5px 0; font-size: 12px; color: #333; }
.mh-side-nav a:hover { color: var(--mh-color-accent); }

/* --- Banner pairs --- */
.mh-b2 {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.mh-b2 a { flex: 1; max-width: 50%; }
.mh-b2 img { width: 100%; display: block; border-radius: 6px; }
.mh-banner-center {
  max-width: 45%;
  margin: 0 auto 16px;
  display: block;
}

/* --- White wrap --- */
.mh-white-wrap {
  background: var(--mh-color-white);
  padding: 20px;
  width: 100%;
}

/* --- Fade animation --- */
.mh-fade {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.mh-fade.mh-visible { opacity: 1; transform: translateY(0); }
.mh-fade-delay-1 { transition-delay: .1s; }
.mh-fade-delay-2 { transition-delay: .2s; }
.mh-fade-delay-3 { transition-delay: .3s; }

/* ============================================================
   HERO — 全幅背景画像 + 中央テキスト
   各ページで .mh-hero + 背景をカスタム変数で上書き
   ============================================================ */
.mh-hero {
  position: relative;
  height: 50vh;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.mh-hero--tall { height: 70vh; min-height: 420px; }
.mh-hero-bg {
  position: absolute;
  inset: 0;
  background: var(--hero-bg, #333) center / cover no-repeat;
  filter: brightness(0.3);
}
.mh-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 600px;
  padding: 0 24px;
}
.mh-hero-content h1 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 500;
  letter-spacing: 0.15em;
  line-height: 1.25;
  margin-bottom: 12px;
}
.mh-hero-content p {
  font-size: 15px;
  opacity: 0.85;
  line-height: 2;
  letter-spacing: 0.08em;
}

/* ============================================================
   SECTION — コンテンツ幅の共通ラッパー
   ============================================================ */
.mh-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 72px 24px;
}
.mh-section--wide { max-width: 960px; }
.mh-section--narrow { max-width: 640px; }
.mh-section--full { max-width: 100%; }
.mh-section--bg-white { background: var(--mh-color-white); }
.mh-section--bg-beige { background: #f5f3ef; }
.mh-section--bg-cream { background: #faf8f4; }

.mh-section-title {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(18px, 3.5vw, 26px);
  font-weight: 500;
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: 0.1em;
}

/* ============================================================
   FAQ / ACCORDION — 開閉パネル
   ============================================================ */
.mh-faq-item { border-bottom: 1px solid #e8e5df; }
.mh-faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 36px 16px 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  position: relative;
  color: var(--mh-color-text);
}
.mh-faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--mh-color-gold);
}
.mh-faq-q.active::after { content: '\2212'; }
.mh-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.mh-faq-a-inner {
  padding: 0 0 16px;
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}

/* ============================================================
   CTA — ダーク背景のコールトゥアクション
   ============================================================ */
.mh-cta {
  background: #1e2345;
  color: #fff;
  text-align: center;
  padding: 64px 24px;
}
.mh-cta h2 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 500;
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}
.mh-cta p {
  opacity: 0.8;
  margin-bottom: 24px;
  font-size: 14px;
}
.mh-cta-btn {
  display: inline-block;
  padding: 14px 40px;
  background: var(--mh-color-gold);
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.08em;
  transition: opacity .2s;
}
.mh-cta-btn:hover { opacity: 0.8; }

/* ============================================================
   CARD GRID — 汎用カードレイアウト
   ============================================================ */
.mh-card-grid {
  display: grid;
  gap: 16px;
}
.mh-card-grid--2 { grid-template-columns: repeat(2, 1fr); }
.mh-card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.mh-card-grid--4 { grid-template-columns: repeat(4, 1fr); }

.mh-card {
  background: #fff;
  border: 1px solid #e8e5df;
  border-radius: 4px;
  padding: 24px 16px;
  transition: border-color .2s;
}
.mh-card:hover { border-color: var(--mh-color-gold); }

/* ============================================================
   STORE CARD — 店舗紹介（左右交互レイアウト）
   ============================================================ */
.mh-store-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  margin-bottom: 48px;
  overflow: hidden;
  border-radius: 4px;
}
.mh-store-card:nth-child(even) .mh-store-card-img { order: 2; }
.mh-store-card:nth-child(even) .mh-store-card-info { order: 1; }
.mh-store-card-img {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.mh-store-card-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.mh-store-card:hover .mh-store-card-img img { transform: scale(1.03); }
.mh-store-card-info {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mh-store-card-name {
  font-family: "Noto Serif JP", serif;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 4px;
  letter-spacing: 0.08em;
}
.mh-store-card-sub {
  font-size: 13px;
  color: #888;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

/* Info rows (店舗情報) */
.mh-info-row {
  display: flex;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid #f0ede8;
  font-size: 14px;
}
.mh-info-row:last-of-type { border-bottom: none; }
.mh-info-label {
  flex: 0 0 72px;
  color: #999;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding-top: 2px;
}
.mh-info-val { flex: 1; color: #444; }

/* Store actions */
.mh-store-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}
.mh-ig-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--mh-color-gold);
  font-size: 13px;
  font-weight: 600;
  transition: opacity .2s;
}
.mh-ig-link:hover { opacity: 0.7; }

/* ============================================================
   PRODUCT — 画像+テキスト左右交互
   ============================================================ */
.mh-product {
  display: flex;
  gap: 40px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
}
.mh-product--reverse { flex-direction: row-reverse; }
.mh-product-img {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  height: 300px;
}
.mh-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mh-product-txt { flex: 1; min-width: 0; }
.mh-product-txt h3 { font-size: 1.3rem; margin-bottom: 12px; }
.mh-product-txt p { font-size: 0.9rem; color: #555; margin-bottom: 12px; }

/* ============================================================
   PROSE — 読み物系テキスト
   ============================================================ */
.mh-prose h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: 0.08em;
}
.mh-prose p {
  font-size: 15px;
  color: #555;
  margin-bottom: 20px;
}
.mh-highlight {
  font-size: 17px;
  color: var(--mh-color-text);
  font-weight: 500;
  border-left: 3px solid var(--mh-color-gold);
  padding-left: 20px;
  margin: 32px 0;
  line-height: 2;
}

/* ============================================================
   BENEFIT — アイコン+テキスト交互レイアウト
   ============================================================ */
.mh-benefit {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  margin-bottom: 40px;
}
.mh-benefit:nth-child(even) { flex-direction: row-reverse; }
.mh-benefit-icon {
  width: 64px;
  height: 64px;
  background: #fff;
  border: 2px solid #e8e5df;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--mh-color-gold);
  font-weight: 700;
  flex-shrink: 0;
}
.mh-benefit-text h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.mh-benefit-text p { font-size: 14px; color: #666; }

/* ============================================================
   TABLE — シンプルテーブル
   ============================================================ */
.mh-table { width: 100%; border-collapse: collapse; }
.mh-table th,
.mh-table td {
  padding: 12px;
  border: 1px solid #e8e4dc;
  font-size: 0.9rem;
}
.mh-table th {
  background: #f5f1ea;
  text-align: left;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
  body { -webkit-font-smoothing: auto; }
  /* Layout */
  .mh-layout {
    flex-direction: column;
    padding: 8px;
    max-width: 100%;
  }
  .mh-main, .mh-side {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
    padding: 0;
  }
  .mh-side { margin-top: 16px; }

  /* Blog */

  /* Column */
  .mh-col-grid { grid-template-columns: 1fr; }
  .mh-cc-title { font-size: 12px; line-height: 1.4; }
  .mh-cc-exc { font-size: 11px; }

  /* Banners */
  .mh-banner-center { max-width: 80%; margin: 8px auto; }
  .mh-b2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .mh-b2 a { max-width: 100%; }

  /* Sidebar extras hide */
  .mh-side-cats, .mh-side-tags { display: none; }

  /* Headings */
  h2 { font-size: 22px; }
  h3 { font-size: 18px; }

  /* Hero */
  .mh-hero { height: 40vh; min-height: 260px; }
  .mh-hero--tall { height: 50vh; min-height: 320px; }
  .mh-hero-content h1 { letter-spacing: 0.08em; }

  /* Section */
  .mh-section { padding: 48px 20px; }

  /* Card Grid */
  .mh-card-grid--4 { grid-template-columns: 1fr 1fr; }
  .mh-card-grid--3 { grid-template-columns: 1fr; }

  /* Store Card */
  .mh-store-card { grid-template-columns: 1fr; }
  .mh-store-card:nth-child(even) .mh-store-card-img { order: 0; }
  .mh-store-card:nth-child(even) .mh-store-card-info { order: 0; }
  .mh-store-card-img { min-height: 240px; }
  .mh-store-card-info { padding: 28px 20px; }
  .mh-store-card-name { font-size: 18px; }

  /* Product */
  .mh-product,
  .mh-product--reverse { flex-direction: column; padding: 40px 24px; gap: 24px; }
  .mh-product-img { height: 200px; width: 100%; }

  /* Benefit */
  .mh-benefit,
  .mh-benefit:nth-child(even) { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .mh-card-grid--4 { grid-template-columns: 1fr; }
  .mh-section { padding: 40px 16px; }
}

/* ============================================================
   HEADER
   ============================================================ */
#mh-header {
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* ピンク通知帯 */
#mh-header-notice {
  background: #c0186e;
  color: #fff;
  text-align: center;
  padding: 10px 16px 6px;
  line-height: 2;
}
#mh-header-notice:empty { display: none; }
#mh-header-notice p { margin: 0; padding: 0; text-align: center; }
.mh-notice-line1 {
  margin: 0 0 1px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.15;
}
.mh-notice-line2 {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  line-height: 1.15;
}

/* ナビ帯 */
#mh-header-nav {
  background: #1e2345;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  height: 68px;
  position: relative;
}
#mh-logo-link {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
#mh-logo {
  height: 52px;
  width: auto;
  display: block;
}

/* 右アクション */
#mh-header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.mh-icon-link {
  color: var(--mh-color-gold);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.mh-icon-link:hover { opacity: 1; }

/* お店リンク */
.mh-shop-link {
  display: flex;
  align-items: center;
  gap: 5px;
  color: var(--mh-color-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  opacity: 0.85;
  transition: opacity .2s;
}
.mh-shop-link:hover { opacity: 1; }

/* メンバーシップボタン */
.mh-btn-membership {
  background: transparent;
  border: none;
  color: var(--mh-color-gold);
  padding: 4px 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
}

/* ARMember ログイン/ログアウト上書き */
#mh-header-actions a[class*="arm"],
#mh-header-actions button[class*="arm"],
#mh-header-actions .arm_form_102 > a,
#mh-header-actions .arm_form_102 > button,
#mh-header-actions .arm_logout_wrapper a,
#mh-header-actions .arm_logout_wrapper button,
#mh-header-actions [class*="arm_logout"] a,
#mh-header-actions [class*="arm_logout"] button,
#mh-header-actions .arm-button,
#mh-header-actions input.arm-button {
  background: var(--mh-color-gold) !important;
  color: var(--mh-color-dark) !important;
  border: 1px solid var(--mh-color-gold) !important;
  padding: 6px 14px !important;
  border-radius: 3px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  font-family: inherit !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  display: inline-block !important;
  cursor: pointer !important;
  box-shadow: none !important;
  letter-spacing: 0.05em !important;
  line-height: normal !important;
  transition: opacity 0.2s !important;
}
/* ARMember ラッパー・クリアフィックスの高さズレ防止 */
#mh-header-actions .arm_form_popup_container,
#mh-header-actions .arm_logout_wrapper,
#mh-header-actions .arm_logout_form_container,
#mh-header-actions .arm_logout_form_container form {
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  background: transparent !important;
}
#mh-header-actions .armclear {
  display: none !important;
}

/* Admin bar offset */
body.admin-bar #mh-header { top: 32px; }

/* ============================================================
   FOOTER
   ============================================================ */
#mh-footer { background: #1e2345; }
.mh-ft-top { border-top: 2px solid var(--mh-color-gold); }
.mh-ft-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 32px 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}
.mh-ft-logo { height: 72px; width: auto; display: block; }
.mh-ft-cols { display: flex; gap: 64px; }
.mh-ft-col { display: flex; flex-direction: column; gap: 4px; }
.mh-ft-col h4 {
  color: var(--mh-color-gold);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.12em;
  margin: 0 0 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.mh-ft-col a {
  color: rgba(184,146,74,0.7);
  text-decoration: none;
  font-size: 15px;
  font-weight: 400;
  line-height: 2.0;
  transition: color .15s;
}
.mh-ft-col a:hover { color: var(--mh-color-gold); }
.mh-ft-social {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  margin-left: auto;
}
.mh-ft-social a {
  color: var(--mh-color-gold);
  display: flex;
  align-items: center;
  transition: color .15s;
}
.mh-ft-social a:hover { color: #fff; }
.mh-ft-ig-list { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.mh-ft-ig-item {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(184,146,74,0.6);
  font-size: 12px;
  font-weight: 400;
  text-decoration: none;
  transition: color .15s;
  white-space: nowrap;
}
.mh-ft-ig-item:hover { color: var(--mh-color-gold); }
.mh-ft-ig-item svg { flex-shrink: 0; }
.mh-ft-btm {
  background: #181d38;
  text-align: center;
  padding: 12px 16px 10px;
  letter-spacing: 0.08em;
}
.mh-ft-copy {
  color: var(--mh-color-gold);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.1em;
  margin: 0 0 2px;
  line-height: 1.4;
}
.mh-ft-legal { margin: 0; line-height: 1.4; }
.mh-ft-legal a {
  color: rgba(184,146,74,0.45);
  text-decoration: none;
  font-size: 11px;
  transition: color .15s;
}
.mh-ft-legal a:hover { color: rgba(184,146,74,0.5); }
.mh-ft-legal span { color: rgba(184,146,74,0.15); margin: 0 6px; font-size: 10px; }

/* ============================================================
   HEADER/FOOTER RESPONSIVE
   ============================================================ */
@media (max-width: 782px) {
  body.admin-bar #mh-header { top: 46px; }
}
@media (max-width: 768px) {
  .mh-ft-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 20px 28px;
    gap: 28px;
  }
  .mh-ft-logo { height: 52px; }
  .mh-ft-cols { gap: 40px; }
  .mh-ft-col { align-items: center; }
  .mh-ft-col h4 { font-size: 13px; margin-bottom: 10px; }
  .mh-ft-col a { font-size: 14px; line-height: 2.2; }
  .mh-ft-social { margin-left: 0; margin-top: 4px; }
  .mh-ft-ig-list {
    display: grid !important;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 6px 28px;
  }
  .mh-ft-ig-item { font-size: 13px; gap: 6px; padding: 4px 0; }
  .mh-ft-ig-list .mh-ft-ig-item:last-child { grid-column: 1 / -1; justify-self: center; }
}
/* ハンバーガーボタン */
#mh-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
#mh-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--mh-color-gold, #b8924a);
  transition: transform 0.3s, opacity 0.3s;
}
#mh-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#mh-hamburger.is-open span:nth-child(2) { opacity: 0; }
#mh-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 600px) {
  #mh-header-nav { padding: 0 16px; height: 58px; }
  #mh-logo { height: 36px; }
  #mh-header-notice { padding: 6px 12px 4px; line-height: 1.4; }
  .mh-notice-line1 { font-size: 11px; }
  .mh-notice-line2 { font-size: 10px; }

  #mh-hamburger { display: flex; }

  #mh-header-actions {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1e2345;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 24px 20px;
    gap: 0;
    border-top: 1px solid rgba(184,146,74,0.2);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  #mh-header-actions.is-open { display: flex; }
  .mh-shop-link span { display: none; }
}
@media (max-width: 480px) {
  .mh-ft-cols { gap: 28px; }
  .mh-ft-col a { font-size: 13px; line-height: 2.0; }
  .mh-ft-ig-item { min-height: 44px; align-items: center; }
}

/* ============================================================
   COMPAT — content.htmlで使われるプレフィックスなしクラス
   既存の mh- 付きクラスと同じスタイルを適用
   ============================================================ */

/* Fade animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* Hero (プレフィックスなし版) */
.hero {
  position: relative;
  height: 50vh;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1;
}
.hero-inner,
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  max-width: 600px;
  padding: 0 24px;
}
.hero-content h1,
.hero-inner h1 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 500;
  letter-spacing: 0.15em;
  margin-bottom: 12px;
}
.hero-content p,
.hero-inner p {
  font-size: 15px;
  opacity: 0.85;
  line-height: 2;
  letter-spacing: 0.08em;
}

/* Membership hero */
.page-template-mamehico-membership .hero {
  height: 40vh;
  min-height: 260px;
}

/* Section wrapper (プレフィックスなし版) */
.section-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px;
}
.section-inner--wide { max-width: 960px; }
.section-inner h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 26px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 36px;
  letter-spacing: 0.1em;
}

/* Info row */
.info-row {
  display: flex;
  align-items: flex-start;
  padding: 8px 0;
  border-bottom: 1px solid #f0ede8;
  font-size: 14px;
}
.info-row:last-of-type { border-bottom: none; }
.info-label {
  flex: 0 0 72px;
  color: #999;
  font-size: 12px;
  font-weight: 700;
}
.info-value {
  flex: 1;
  color: #444;
}

/* FAQ / Accordion (プレフィックスなし版) */
.faq-item { border-bottom: 1px solid rgba(0,0,0,0.08); }
.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 16px 36px 16px 0;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  position: relative;
  color: var(--mh-color-text);
  display: flex;
  justify-content: space-between;
}
.faq-q::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  color: var(--mh-color-gold);
  transition: transform 0.3s;
}
.faq-q.active::after { content: '\2212'; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease;
}
.faq-a-inner {
  padding: 0 0 16px;
  font-size: 13px;
  color: #666;
  line-height: 1.8;
}

/* Button (プレフィックスなし版) */
.btn-primary {
  display: inline-block;
  background: #2E303E;
  color: #fff;
  padding: 14px 28px;
  border-radius: 3px;
  font-weight: 600;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.05em;
  transition: background .2s;
}
.btn-primary:hover { background: #555; }
.btn-outline {
  display: inline-block;
  border: 1px solid #999;
  padding: 6px 28px;
  background: transparent;
  color: var(--mh-color-text);
  border-radius: 3px;
  font-size: 13px;
  text-decoration: none;
  transition: all .2s;
}
.btn-outline:hover { background: var(--mh-color-dark); color: #fff; }

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.photo-item {
  border-radius: 3px;
  overflow: hidden;
}
.photo-item img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
}

/* Store card (プレフィックスなし版) */
.store-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: #fff;
  margin-bottom: 48px;
  overflow: hidden;
  border-radius: 3px;
}
.store-card:nth-child(even) { direction: rtl; }
.store-card:nth-child(even) > * { direction: ltr; }
.store-card-img {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
.store-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.store-card-info {
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ============================================================
   COMPAT RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero { height: 40vh; min-height: 260px; }
  .section-inner { padding: 48px 20px; }
  .store-card { grid-template-columns: 1fr; }
  .store-card:nth-child(even) { direction: ltr; }
  .store-card-img { min-height: 220px; }
  .store-card-info { padding: 28px 24px; }
  .photo-grid { grid-template-columns: 1fr; }
}

/* Short-content pages (404 / login-error) */
.error404 .mh-layout,
.page-id-32426 .mh-layout {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.error404 .mh-main,
.page-id-32426 .mh-main {
  min-height: auto;
}
.page-id-32426 .mh-main article > div > div {
  padding-top: 48px !important;
  padding-bottom: 64px !important;
}
.page-id-32426 .mh-login-modal-trigger { display: block !important; margin: 0 auto !important; }
