/*
Theme Name: MANSEKI
Theme URI: https://manseki.site
Author: MANSEKI
Author URI: https://manseki.site
Description: MANSEKI 飲食店特化型SNS運用・集客支援サービス LP テーマ
Version: 1.0.0
License: Private
Text Domain: manseki
*/

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: #0D0D0D;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; }

/* ===== WRAPPER ===== */
.manseki-wrap {
  max-width: 480px;
  margin: 0 auto;
  position: relative;
  background: #0D0D0D;
  min-height: 100vh;
}

/* ===== FONTS ===== */
.font-bebas {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
}

/* ===== SECTION LABEL ===== */
.section-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #E8620A;
  margin-bottom: 8px;
}

/* ===== BUTTONS ===== */
.btn-orange {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #E8620A;
  color: #fff;
  font-weight: 700;
  border-radius: 9999px;
  padding: 14px 24px;
  font-size: 15px;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.1s;
  width: 100%;
  font-family: 'Noto Sans JP', sans-serif;
}
.btn-orange:hover { background-color: #d4550a; color: #fff; }
.btn-orange:active { transform: scale(0.98); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #fff;
  font-weight: 700;
  border-radius: 9999px;
  padding: 13px 24px;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.4);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s, transform 0.1s;
  width: 100%;
  font-family: 'Noto Sans JP', sans-serif;
}
.btn-ghost:hover { border-color: #E8620A; color: #E8620A; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  color: #fff;
  font-weight: 700;
  border-radius: 9999px;
  padding: 13px 24px;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid rgba(255,255,255,0.4);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
  width: 100%;
  font-family: 'Noto Sans JP', sans-serif;
}
.btn-outline:hover { border-color: #E8620A; color: #E8620A; }

/* ===== CARDS ===== */
.manseki-card {
  background-color: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 20px;
}

/* ===== FORM INPUTS ===== */
.manseki-input {
  width: 100%;
  background-color: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
  box-sizing: border-box;
  display: block;
}
.manseki-input::placeholder { color: rgba(255,255,255,0.3); }
.manseki-input:focus { border-color: #E8620A; }

/* ===== FIXED CTA BAR ===== */
.fixed-cta-bar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  background-color: rgba(13,13,13,0.95);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 10px 16px;
  z-index: 2147483647;
  display: flex;
  gap: 8px;
}
.cta-bar-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 8px 4px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: opacity 0.2s;
  color: #fff;
  font-family: 'Noto Sans JP', sans-serif;
}
.cta-bar-btn:active { opacity: 0.8; }
.cta-bar-btn.orange { background-color: #E8620A; }
.cta-bar-btn.ghost { background-color: rgba(255,255,255,0.1); }
.cta-bar-btn:hover { color: #fff; opacity: 0.85; }

/* ===== FADE IN ===== */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== DRAWER ===== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 280px;
  height: 100%;
  background-color: #111;
  z-index: 201;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  padding: 60px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.drawer-panel.open { transform: translateX(0); }
.drawer-nav-link {
  display: block;
  padding: 14px 0;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
}
.drawer-nav-link:hover { color: #E8620A; }

/* ===== STATS ===== */
.stat-box {
  flex: 1;
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 12px 8px;
  text-align: center;
}
.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: #E8620A;
  line-height: 1;
}
.stat-unit {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  color: #E8620A;
}
.stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
}

/* ===== PLAN BADGE ===== */
.plan-badge {
  display: inline-block;
  background-color: #E8620A;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}

/* ===== NUM BADGE ===== */
.num-badge {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 13px;
  color: #E8620A;
  letter-spacing: 0.05em;
}

/* ===== SCROLL INDICATOR ===== */
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
.scroll-indicator { animation: scrollBounce 1.5s ease-in-out infinite; }

/* ===== SECTION DIVIDER ===== */
.section-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.07);
  margin: 0;
}

/* ===== FORM FIELD ===== */
.form-field { margin-bottom: 16px; }
.form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  margin-bottom: 6px;
}
.badge-required {
  font-size: 10px;
  background: #E8620A;
  color: #fff;
  padding: 1px 6px;
  border-radius: 4px;
}
.badge-optional {
  font-size: 10px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.6);
  padding: 1px 6px;
  border-radius: 4px;
}
.form-error { font-size: 12px; color: #ef4444; margin-top: 4px; }

/* ===== CF7 OVERRIDE ===== */
.wpcf7 { margin: 0 !important; }
.wpcf7-form { margin: 0; }
.wpcf7-form p { margin: 0 0 16px; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  background-color: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 12px 14px;
  color: #fff;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
  font-family: 'Noto Sans JP', sans-serif;
  box-sizing: border-box;
}
.wpcf7-form input[type="text"]::placeholder,
.wpcf7-form input[type="email"]::placeholder,
.wpcf7-form input[type="tel"]::placeholder { color: rgba(255,255,255,0.3); }
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus { border-color: #E8620A; }
.wpcf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #E8620A;
  color: #fff;
  font-weight: 700;
  border-radius: 9999px;
  padding: 14px 24px;
  font-size: 15px;
  cursor: pointer;
  border: none;
  width: 100%;
  font-family: 'Noto Sans JP', sans-serif;
  margin-top: 8px;
  transition: background-color 0.2s;
}
.wpcf7-form input[type="submit"]:hover { background-color: #d4550a; }
.wpcf7-not-valid-tip { font-size: 12px; color: #ef4444; margin-top: 4px; display: block; }
.wpcf7-response-output {
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 8px;
  margin-top: 12px;
  border: none !important;
}
.wpcf7-mail-sent-ok { background: rgba(34,197,94,0.15); color: #4ade80; }
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng { background: rgba(239,68,68,0.15); color: #f87171; }

/* ===== HEADER ===== */
.manseki-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: rgba(13,13,13,0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.manseki-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  color: #fff;
  letter-spacing: 0.08em;
}
.manseki-logo span { color: #E8620A; }
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

/* ===== FOOTER ===== */
.manseki-footer {
  padding: 24px 20px 100px;
  border-top: 1px solid rgba(255,255,255,0.07);
  text-align: center;
}
.manseki-footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  color: #fff;
  letter-spacing: 0.08em;
  display: block;
  margin-bottom: 8px;
}
.manseki-footer-logo span { color: #E8620A; }
.manseki-footer p {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
  line-height: 1.8;
}
