/* ===============================================
   /partner/ - 加盟店募集ページ
   本サイト共通ヘッダー + 白ベースボディ
   フォントは全てゴシック統一
   モバイル時はスライド→縦型コンテンツに切替
   =============================================== */

:root {
  --surface: #FFFFFF;
  --ink: #121B33;
  --ink-sub: #4A556B;
  --muted: #9AA0AD;
  --hair: #E6E1D5;
  --gold: #C9A961;
  --gold-dark: #8F773F;
  --navy: #1A2B4A;
  --warn: #B83A3A;
  --font-gothic: 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', "游ゴシック", "YuGothic", sans-serif;
  --font-latin: "Times New Roman", serif;
  --max: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-gothic);
  color: var(--ink);
  background: linear-gradient(135deg, #FFFFFF 0%, #F5EDD9 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

/* Visibility helpers */
.desktop-only { display: block; }
.mobile-only { display: none; }
.sp-break { display: none; }
@media (max-width: 520px) {
  .sp-break { display: block; width: 100%; height: 0; }
}

/* =================== Header =================== */
header {
  background: linear-gradient(135deg, #3498db 0%, #2c3e50 100%);
  color: white;
  padding: 30px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.header-content {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}
.logo {
  width: 550px;
  height: auto;
  max-width: 85%;
  display: block;
  margin: 0 auto 8px;
}
.tagline { font-size: 16px; opacity: 0.9; }

/* =================== Nav =================== */
nav {
  background-color: #34495e;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
nav ul {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 20px;
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: nowrap;
}
nav a {
  color: white;
  text-decoration: none;
  padding: 8px 15px;
  border-radius: 4px;
  transition: all 0.3s;
  font-size: 16px;
  white-space: nowrap;
  display: inline-block;
}
nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
nav .active a {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.18);
}
nav .nav-full { display: inline; }
nav .nav-short { display: none; }

/* =================== Hero =================== */
.hero {
  padding: 80px 20px 60px;
  text-align: center;
}
.hero-inner { max-width: var(--max); margin: 0 auto; }
.hero-label {
  font-family: var(--font-latin);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5em;
  color: var(--gold-dark);
  margin-bottom: 28px;
}
.hero-title {
  font-family: var(--font-gothic);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.4;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease 0.2s forwards;
}
.hero-sub {
  font-size: 16px;
  color: var(--ink-sub);
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease 0.4s forwards;
}
.hero-video {
  max-width: 760px;
  margin: 0 auto 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease 0.6s forwards;
}
.video-placeholder {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  background: linear-gradient(135deg, #f5eed7 0%, #ebe0c0 100%);
  border-radius: 18px;
  border: 1px solid var(--hair);
  box-shadow: 0 30px 60px -20px rgba(26, 43, 74, 0.25);
  overflow: hidden;
}
.video-placeholder-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 16px;
}
.play-icon {
  width: 80px; height: 80px;
  background: var(--navy); color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; padding-left: 6px;
  box-shadow: 0 8px 20px rgba(26, 43, 74, 0.3);
  transition: transform 0.3s;
}
.hero-video:hover .play-icon { transform: scale(1.1); }
.video-label {
  font-family: var(--font-gothic);
  font-size: 22px; font-weight: 700; color: var(--ink);
}
.video-note {
  font-size: 11px; color: var(--muted);
  letter-spacing: 0.2em; text-transform: uppercase;
}
.hero-ctas {
  display: flex; gap: 14px;
  justify-content: center; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
  animation: fadeUp 1s ease 0.8s forwards;
}
.btn {
  display: inline-flex;
  align-items: center; justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-gothic);
  font-size: 14px; font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: 3px;
  border: 1.5px solid transparent;
  transition: all 0.3s;
  cursor: pointer;
  min-width: 180px;
}
/* 紺ボタン: シルバー文字 */
.btn-primary { background: var(--navy); color: #D4D4D4; border-color: var(--navy); }
.btn-primary:hover { background: #0f1f3a; color: #FFFFFF; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(26, 43, 74, 0.25); }
/* ゴールドボタン: 白文字 */
.btn-secondary { background: var(--gold); color: #FFFFFF; border-color: var(--gold); }
.btn-secondary:hover { background: #b5974f; color: #FFFFFF; transform: translateY(-2px); box-shadow: 0 10px 20px rgba(201, 169, 97, 0.35); }
/* ゴースト: インク文字 */
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #FFFFFF; transform: translateY(-2px); }
/* cta-btn内のaタグに下線出ないように念押し */
.cta-btn { text-decoration: none !important; }

/* =================== Notice Strip =================== */
.notice-strip {
  background: rgba(184, 58, 58, 0.06);
  border-top: 1px solid rgba(184, 58, 58, 0.15);
  border-bottom: 1px solid rgba(184, 58, 58, 0.15);
  padding: 20px;
}
.notice-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  flex-wrap: wrap; justify-content: center;
}
.notice-badge {
  display: inline-block; padding: 6px 14px;
  background: var(--warn); color: #fff;
  font-family: var(--font-latin);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.3em; border-radius: 2px;
  white-space: nowrap;
}
.notice-inner p { font-size: 13px; color: var(--ink-sub); margin: 0; }
.notice-inner strong { color: var(--ink); font-weight: 700; }

/* =================== Section label =================== */
.section-label {
  font-family: var(--font-latin);
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.5em;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-gothic);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700; color: var(--ink);
  margin-bottom: 16px; line-height: 1.4;
  letter-spacing: 0.02em;
}
.section-divider {
  width: 48px; height: 2px;
  background: var(--gold);
  margin-bottom: 20px;
}
.section-sub { font-size: 14px; color: var(--ink-sub); margin-bottom: 40px; }

/* =================== Deck / Slider (Desktop) =================== */
.deck { padding: 60px 20px 80px; }
.deck-inner { max-width: var(--max); margin: 0 auto; }
.slider {
  position: relative; overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 30px 80px -30px rgba(26, 43, 74, 0.35);
  background: #fff;
}
.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.slide-item { flex: 0 0 100%; min-width: 100%; }
.slide-item img { display: block; width: 100%; height: auto; }
.slider-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 56px; height: 56px;
  border: none; background: rgba(255, 255, 255, 0.95);
  color: var(--ink); font-size: 28px;
  cursor: pointer; border-radius: 50%;
  box-shadow: 0 8px 20px rgba(26, 43, 74, 0.2);
  transition: all 0.25s; z-index: 2;
}
.slider-nav:hover { background: var(--gold); color: #fff; transform: translateY(-50%) scale(1.08); }
.slider-nav.prev { left: 20px; }
.slider-nav.next { right: 20px; }
.slider-dots {
  display: flex; justify-content: center;
  gap: 10px; margin-top: 30px;
}
.slider-dots button {
  width: 10px; height: 10px; border-radius: 50%;
  border: none; background: var(--hair);
  cursor: pointer; padding: 0;
  transition: all 0.25s;
}
.slider-dots button.active { background: var(--gold); transform: scale(1.3); }

/* =================== Mobile Deck (Mobile only vertical) =================== */
.mobile-deck {
  padding: 20px 16px 40px;
}
.m-section {
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 10px;
  padding: 28px 22px;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 10px 30px -12px rgba(26, 43, 74, 0.15);
  border-top: 3px solid var(--gold);
}
.m-num {
  font-family: var(--font-latin);
  font-size: 28px; font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 2px;
}
.m-en {
  font-family: var(--font-latin);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--gold-dark);
  margin-bottom: 14px;
}
.m-title {
  font-family: var(--font-gothic);
  font-size: 22px; font-weight: 700;
  color: var(--ink);
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hair);
}
.m-text {
  font-size: 14px; color: var(--ink-sub);
  line-height: 1.8; margin-bottom: 20px;
}

/* m-cards (service) */
.m-cards { display: flex; flex-direction: column; gap: 12px; }
.m-card {
  background: #FAFAF7;
  border: 1px solid var(--hair);
  border-left: 3px solid var(--navy);
  border-radius: 6px;
  padding: 16px 18px;
}
.m-card.m-card-gold { border-left-color: var(--gold); }
.m-card-label {
  font-family: var(--font-latin);
  font-size: 10px; font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.3em;
  margin-bottom: 4px;
}
.m-card-title {
  font-size: 16px; font-weight: 700;
  color: var(--ink); margin-bottom: 4px;
}
.m-card-desc { font-size: 12px; color: var(--ink-sub); }

/* m-list (users) */
.m-list { list-style: none; padding: 0; }
.m-list li {
  padding: 14px 0 14px 36px;
  border-bottom: 1px solid var(--hair);
  position: relative;
}
.m-list li:last-child { border-bottom: none; }
.m-list li::before {
  content: "◆";
  position: absolute;
  left: 0; top: 14px;
  color: var(--gold);
  font-size: 14px;
}
.m-list li strong {
  display: block;
  font-size: 15px;
  color: var(--ink);
  margin-bottom: 4px;
}
.m-list li span {
  display: block;
  font-size: 12px;
  color: var(--ink-sub);
}

/* m-grid (criteria) */
.m-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.m-quad {
  background: #FAFAF7;
  border: 1px solid var(--hair);
  border-top: 2px solid var(--gold);
  border-radius: 6px;
  padding: 16px 12px;
  text-align: center;
}
.m-quad-en {
  font-family: var(--font-latin);
  font-size: 9px; font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.35em;
  margin-bottom: 6px;
}
.m-quad-jp {
  font-size: 18px; font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}
.m-quad-desc { font-size: 10px; color: var(--ink-sub); line-height: 1.5; }

/* m-section-vision */
.m-section-vision {
  background: linear-gradient(135deg, #FAFAF7 0%, #F5EDD9 100%);
  border-top: 3px solid var(--gold);
  position: relative;
}
.m-quote-mark {
  position: absolute;
  top: 8px; right: 20px;
  font-family: var(--font-latin);
  font-size: 80px;
  color: var(--gold);
  opacity: 0.4;
  line-height: 1;
}
.m-title-vision { font-size: 20px; color: var(--ink); }

/* m-steps (onboarding) */
.m-steps { display: flex; flex-direction: column; gap: 10px; }
.m-step {
  display: flex; align-items: center;
  gap: 14px;
  background: #FAFAF7;
  border: 1px solid var(--hair);
  border-radius: 6px;
  padding: 14px 16px;
}
.m-step-num {
  flex: 0 0 40px;
  width: 40px; height: 40px;
  background: var(--navy);
  color: var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-latin);
  font-size: 14px; font-weight: 700;
}
.m-step-title {
  font-size: 15px; font-weight: 700;
  color: var(--ink);
  margin-bottom: 2px;
}
.m-step-desc {
  font-size: 11px;
  color: var(--ink-sub);
}

/* =================== CTA Cards =================== */
.cta {
  padding: 100px 20px;
  background: linear-gradient(135deg, #fffdf7 0%, #f5edd9 100%);
}
.cta-inner { max-width: var(--max); margin: 0 auto; text-align: center; }
.cta .section-label,
.cta .section-title,
.cta .section-sub { text-align: center; }
.cta .section-divider { margin-left: auto; margin-right: auto; }
.cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 30px;
  text-align: left;
}
.cta-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--hair);
  border-radius: 6px;
  padding: 30px 26px 30px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  color: var(--ink);
}
.cta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(26, 43, 74, 0.3);
  border-color: var(--gold);
}
.cta-card::before {
  content: ""; position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px; background: var(--navy);
}
.cta-card.cta-card-gold::before { background: var(--gold); }
.cta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(26, 43, 74, 0.3);
  border-color: var(--gold);
}
.cta-card-top {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; margin-bottom: 20px;
}
.cta-num {
  font-family: var(--font-latin);
  font-size: 20px; font-weight: 700;
  color: var(--gold-dark);
  letter-spacing: 0.15em;
}
.cta-en {
  font-family: var(--font-latin);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.4em;
  color: var(--muted);
}
.cta-qr {
  width: 160px; height: 160px;
  padding: 10px; background: #fff;
  border: 1px solid var(--hair);
  margin-bottom: 22px;
}
.cta-qr img { width: 100%; height: 100%; display: block; }
.cta-title {
  font-family: var(--font-gothic);
  font-size: 20px; font-weight: 700;
  color: var(--ink); text-align: center;
  margin-bottom: 8px; letter-spacing: 0.02em;
}
.cta-desc {
  font-size: 12px; color: var(--ink-sub);
  text-align: center; margin-bottom: 12px;
  min-height: 2.5em;
}
.cta-btn {
  width: 100%;
  min-width: 0;
  margin-top: 8px;
}
.cta-hint {
  text-align: center; font-size: 12px;
  color: var(--muted); margin-top: 10px;
}

/* =================== Footer =================== */
.site-footer {
  background: #0f1f3a;
  color: #b8c5d8;
  padding: 50px 20px 30px;
  text-align: center;
}
.footer-inner { max-width: var(--max); margin: 0 auto; }
.footer-brand {
  font-family: var(--font-gothic);
  font-size: 18px; font-weight: 700;
  color: #fff; margin-bottom: 20px;
  letter-spacing: 0.04em;
}
.footer-links {
  display: flex; gap: 24px;
  justify-content: center; flex-wrap: wrap;
  margin-bottom: 24px; font-size: 13px;
}
.footer-links a { color: #b8c5d8; transition: color 0.25s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 11px; color: #8a9bb8; letter-spacing: 0.05em; }

/* =================== Animations =================== */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

/* =================== Responsive =================== */
@media (max-width: 820px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: block !important; }
  nav ul { gap: 4px; padding: 0 6px; }
  nav a { font-size: 12px; padding: 7px 8px; }
  nav .nav-full { display: none; }
  nav .nav-short { display: inline; }
  .cta-cards { grid-template-columns: 1fr; }
  .cta-qr { width: 180px; height: 180px; }
  .hero { padding: 60px 20px 30px; }
  .hero-ctas .btn { min-width: calc(50% - 14px); }
  .cta { padding: 60px 20px; }
}
@media (max-width: 520px) {
  .hero-title { font-size: 26px; }
  .hero-sub { font-size: 14px; }
  .footer-links { gap: 14px; font-size: 12px; }
  .hero-ctas .btn { min-width: 100%; }
  nav a { font-size: 11px; padding: 6px 6px; }
  nav ul { gap: 2px; }
  .logo { width: 280px; }
  .tagline { font-size: 13px; }
  .m-title { font-size: 20px; }
  .m-grid { gap: 8px; }
  .m-quad { padding: 14px 8px; }
  .m-quad-jp { font-size: 16px; }
}
@media (max-width: 380px) {
  nav a { font-size: 10px; padding: 6px 4px; }
}
