/* =========================
   Linxy LP Base
========================= */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", "Helvetica Neue", Arial, sans-serif;
  color: #111;
  line-height: 1.7;
}

.lp {
  overflow-x: hidden;
}

/* =========================
   Hero（lp-hero → lp-fv）
========================= */
.lp-fv {
  padding: 120px 20px 80px;
  text-align: center;
}

.lp-fv-badge {
  display: inline-block;
  background: #2EA6DF;
  color: #ffffff;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
  font-weight: 600;
}

.lp-fv h1 {
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
}

.lp-fv h1 span {
  color: #2da7df;
}

.lp-fv-lead {
  font-size: 18px;
  color: #555;
}

/* =========================
   Section 共通（lp-section 相当）
========================= */
.lp-problems,
.lp-about,
.lp-features,
.lp-benefits,
.lp-flow {
  padding: 100px 20px;
}

.lp-features,
.lp-flow {
  background: #f7fbfe;
}

.lp-problems h2,
.lp-about-title,
.lp-section-title {
  text-align: center;
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 64px;
}

/* =========================
   Problems（表示＋デザインFIX）
========================= */

/* セクション全体 */
.lp-problems {
  background: #ffffff;
  padding: 100px 20px;
}

.lp-problems h2 {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 56px;
}

/* カード一覧 */
.lp-problem-list {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* 各カード */
.lp-problem-card {
  background: linear-gradient(
    135deg,
    #ffffff 75%,
    #e6f1f8 100%
  );
  border: 1px solid #dde6ee;
  border-radius: 28px;
  padding: 48px 32px;
  text-align: center;

  /* ▼ JSなし前提で常時表示 */
  opacity: 1;
  transform: none;
}

/* アイコン */
.lp-problem-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #ffffff;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 28px;
}

/* 絵文字指定（HTML側そのまま使える） */
.lp-problem-card:nth-child(1) .lp-problem-icon::before {
  content: "🔍";
}
.lp-problem-card:nth-child(2) .lp-problem-icon::before {
  content: "⏰";
}
.lp-problem-card:nth-child(3) .lp-problem-icon::before {
  content: "👥";
}

/* テキスト */
.lp-problem-card p {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  line-height: 1.7;
}

/* =========================
   SP（横スライド）
========================= */
@media (max-width: 768px) {
  .lp-problem-list {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 16px 8px;
  }

  .lp-problem-card {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }

  .lp-problem-list::-webkit-scrollbar {
    display: none;
  }
}

.problem-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: background .2s ease;
}

.problem-dot.is-active {
  background: #00b5f0;
}

/* =========================
   Flow
========================= */
.lp-flow {
  padding: 120px 20px;
  background: #f7fcff;
}

.lp-flow-list {
  max-width: 800px;
  margin: 0 auto;
}

/* 1ステップのカード */
.lp-flow-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 16px 32px rgba(0,0,0,.05);

  display: flex;
  align-items: center;
  gap: 20px;

  text-align: center;
}

/* ステップ番号 */
.lp-flow-step {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #2da7df;
  color: #ffffff;

  font-weight: 700;
  font-size: 16px;

  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
}

/* テキストエリア */
.lp-flow-content {
  flex: 1;
  text-align: center;
}

.lp-flow-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
}

.lp-flow-content p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* =========================
   Flow Arrow
========================= */
.lp-flow-arrow {
  width: 100%;
  text-align: center;
  margin: 12px 0;
  position: relative;
}

.lp-flow-arrow::before {
  content: "↓";
  display: inline-block;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  color: #38bdf8;
}

/* =========================
   Responsive
========================= */
@media (max-width: 640px) {
  .lp-flow-item {
    flex-direction: column;
    gap: 12px;
    padding: 24px 20px;
  }

  .lp-flow-step {
    margin-bottom: 4px;
  }
}


/* =========================
   CTA
========================= */
.lp-cta {
  text-align: center;
  padding: 120px 20px;
}

.lp-cta h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
}

.lp-cta p {
  color: #666;
  margin-bottom: 32px;
}

/* ボタン（lp-btn → 実クラス対応） */
.lp-fv-primary,
.lp-cta-button {
  display: inline-block;
  background: #ff9500;
  color: #fff;
  padding: 16px 36px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: .3s;
}

.lp-fv-primary:hover,
.lp-cta-button:hover {
  background: #e88900;
}

/* =========================
   Hide Global Header on Linxy Page
========================= */

body.page-child .header {
  display: none;
}

/* =========================
   Fade Up Animation（CSSのみ）
========================= */

/* 初期状態 */
.lp-problem-card,
.lp-compare-card,
.lp-compare-arrow {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeUp 0.7s ease-out forwards;
}

/* 少しだけ時間差 */
.lp-problem-card:nth-child(1) { animation-delay: 0.1s; }
.lp-problem-card:nth-child(2) { animation-delay: 0.25s; }
.lp-problem-card:nth-child(3) { animation-delay: 0.4s; }

.lp-compare-card.is-old { animation-delay: 0.1s; }
.lp-compare-arrow       { animation-delay: 0.25s; }
.lp-compare-card.is-new { animation-delay: 0.4s; }

/* アニメーション定義 */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   Scroll Fade Up（表示待機）
========================= */

.js-fade-up {
  opacity: 0;
  transform: translateY(24px);
}

.js-fade-up.is-show {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js-about-animate {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-about-animate.is-show {
  opacity: 1;
  transform: translateY(0);
}

/* ==================================================
   Contact Page（企業向け / 資料請求）
================================================== */

/* Page Wrapper */
.contact-page {
  padding: 120px 20px 140px;
  background: #f9fbfd;
}

/* Hero */
.contact-hero {
  text-align: center;
  margin-bottom: 60px;
}

.contact-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #111;
}

.contact-lead {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.8;
}

/* Form Wrapper */
.contact-form-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

.contact-form {
  background: #ffffff;
  padding: 48px 40px 56px;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(0,0,0,.06);
}

.contact-field {
  margin-bottom: 20px;
}

.contact-field input,
.contact-field textarea {
  width: 100%;
  padding: 16px 18px;
  font-size: 15px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.contact-field input::placeholder,
.contact-field textarea::placeholder {
  color: #9ca3af;
}

.contact-field input:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56,189,248,.15);
}

/* Submit Button（企業向け） */
.contact-submit {
  text-align: center;
  margin-top: 32px;
}

.contact-submit-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 52px;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  background: linear-gradient(135deg,#2dd4bf,#38bdf8,#6366f1);
  box-shadow: 0 16px 32px rgba(56,189,248,.35);
  transition: transform .2s, box-shadow .2s;
}

.contact-submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(56,189,248,.45);
}

/* Header 非表示（Contact専用） */
.page-template-page-contact header.header,
.page-template-page-contact .site-header {
  display: none;
}


/* ==================================================
   LP Contact（LP内フォーム・簡易版）
================================================== */

.lp-contact {
  padding: 80px 20px 100px;
  text-align: center;
}

.lp-contact h1 {
  font-size: 32px;
  margin-bottom: 12px;
}

.lp-contact-lead {
  font-size: 15px;
  color: #64748b;
  margin-bottom: 40px;
}

/* Form Card */
.lp-contact form,
.lp-contact .wpcf7 form {
  max-width: 520px;
  margin: 0 auto;
  padding: 36px 32px 40px;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,.06);
}

.lp-contact input,
.lp-contact textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  font-size: 14px;
  margin-bottom: 18px;
}

.lp-contact textarea {
  min-height: 140px;
  resize: vertical;
}

/* Submit Button（LP用・落ち着いた配色） */
.lp-contact button,
.lp-contact input[type="submit"],
.lp-contact .wpcf7-submit {
  width: 180px;
  height: 48px;
  margin-top: 8px;
  border: none;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  background: linear-gradient(135deg,#4fd1c5,#5a7cf0);
  box-shadow: 0 10px 24px rgba(79,209,197,.25);
  cursor: pointer;
}


/* ==================================================
   Back Button（共通）
================================================== */

.contact-back,
.linxy-back {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

.linxy-back {
  margin-top: 16px;
  margin-bottom: 48px;
}

.contact-back-button,
.linxy-back-button {
  display: inline-flex;   /* ← ここ重要 */
  align-items: center;
  justify-content: center;
  height: 56px;
  padding: 0 28px;
  min-width: auto;
  max-width: none;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  color: #5a7cf0;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid #dbeafe;
  background: #ffffff;
  transition: all .2s ease;
}

.contact-back-button:hover,
.linxy-back-button:hover {
  background: #f1f5ff;
  color: #4f46e5;
  box-shadow: 0 8px 20px rgba(79,70,229,.14);
}

/* ==================================================
   LP Contact Responsive（SP）
================================================== */

@media (max-width: 640px) {

  .lp-contact {
    padding: 60px 16px 80px;
  }

  .lp-contact h1 {
    font-size: 24px;
  }

  .lp-contact-lead {
    font-size: 14px;
    margin-bottom: 28px;
  }

  /* フォームカード */
  .lp-contact form,
  .lp-contact .wpcf7 form {
    padding: 24px 16px 28px;
    border-radius: 16px;
  }

  .lp-contact input,
  .lp-contact textarea {
    font-size: 14px;
    padding: 12px 14px;
  }

  /* 送信ボタン */
  .lp-contact button,
  .lp-contact input[type="submit"],
  .lp-contact .wpcf7-submit {
    width: 100%;
    height: 48px;
  }
}


/* ==================================================
   Linxy User Support Page
================================================== */

.linxy-support {
  max-width: 900px;
  margin: 0 auto;
  padding: 80px 20px;
}

.linxy-support-hero {
  text-align: center;
  margin-bottom: 50px;
}

.linxy-support-form-inner label {
  display: block;
  margin-bottom: 20px;
  font-size: 14px;
}

.linxy-support-form-inner input,
.linxy-support-form-inner textarea,
.linxy-support-form-inner select {
  width: 100%;
  padding: 10px;
  margin-top: 6px;
}

.linxy-support-form-inner button {
  width: 100%;
  margin-top: 30px;
  padding: 14px;
  background: #233f9a;
  color: #fff;
  border: none;
  font-size: 15px;
  border-radius: 4px;
}

.linxy-support-success {
  background: #f0f8ff;
  padding: 24px;
  text-align: center;
}

.linxy-support-error {
  background: #fff4f4;
  color: #c00;
  padding: 16px;
  margin-bottom: 20px;
}


/* ==================================================
   Linxy LP – User Support Link
================================================== */

.lp-user-support-link {
  display: block;
  margin-top: 32px;
  font-size: 14px;
  color: #233f9a;
  text-decoration: underline;
  text-align: center;
}

/* =========================
   Linxy Support - Header Kill
========================= */
.page-template-page-linxy-support header.header,
.page-template-page-linxy-support .site-header,
.page-template-page-linxy-support header {
  display: none !important;
}

/* =========================
   Linxy User Support Page
========================= */

/* 全体 */
.linxy-support {
  max-width: 960px;
  margin: 0 auto;
  padding: 96px 20px 120px;
  background: #f9fbfd;
  color: #0f172a;
}

/* =========================
   Hero
========================= */
.linxy-support-hero {
  text-align: center;
  margin-bottom: 56px;
}

.linxy-support-hero h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.linxy-support-hero p {
  font-size: 15px;
  line-height: 1.8;
  color: #64748b;
}

/* =========================
   Form Card
========================= */
.linxy-support-form {
  max-width: 560px;
  margin: 0 auto 72px;
}

.linxy-support-form-inner {
  background: #ffffff;
  padding: 40px 36px 44px;
  border-radius: 20px;
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.06);
}

/* label */
.linxy-support-form-inner label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: #334155;
  margin-bottom: 22px;
}

.linxy-support-form-inner label span {
  color: #ef4444;
  margin-left: 4px;
}

/* input / textarea / select */
.linxy-support-form-inner input,
.linxy-support-form-inner textarea,
.linxy-support-form-inner select {
  width: 100%;
  margin-top: 8px;
  padding: 14px 16px;
  font-size: 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.linxy-support-form-inner textarea {
  min-height: 140px;
  resize: vertical;
}

.linxy-support-form-inner input:focus,
.linxy-support-form-inner textarea:focus,
.linxy-support-form-inner select:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.15);
}

/* =========================
   Submit Button
========================= */
.linxy-support-form-inner button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  margin-top: 8px;

  font-size: 15px;
  font-weight: 600;
  color: #ffffff;

  border: none;
  border-radius: 999px;
  cursor: pointer;

  background: linear-gradient(
    135deg,
    #2dd4bf 0%,
    #38bdf8 50%,
    #6366f1 100%
  );

  box-shadow: 0 18px 36px rgba(56, 189, 248, 0.35);
  transition: transform .2s ease, box-shadow .2s ease;
}

.linxy-support-form-inner button:hover {
  transform: translateY(-2px);
  box-shadow: 0 26px 48px rgba(56, 189, 248, 0.45);
}

.linxy-support-form-inner button:active {
  transform: translateY(0);
  box-shadow: 0 14px 28px rgba(56, 189, 248, 0.35);
}

/* =========================
   Success / Error
========================= */
.linxy-support-success {
  background: #ecfeff;
  border: 1px solid #67e8f9;
  color: #0f766e;
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  font-size: 14px;
}

.linxy-support-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 16px;
  border-radius: 14px;
  font-size: 14px;
  margin-bottom: 20px;
}

/* =========================
   Privacy Policy
========================= */
.linxy-support-privacy {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px 44px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05);
}

.linxy-support-privacy h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
}

.linxy-support-privacy h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 32px 0 12px;
}

.linxy-support-privacy p,
.linxy-support-privacy li {
  font-size: 14px;
  line-height: 1.9;
  color: #475569;
}

.linxy-support-privacy ul {
  padding-left: 20px;
  margin-top: 8px;
}

/* =========================
   Back Link
========================= */
.linxy-support-back {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.linxy-support-back a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 36px;

  font-size: 14px;
  font-weight: 600;
  color: #4f46e5;
  text-decoration: none;

  border-radius: 999px;
  border: 1px solid #e0e7ff;
  background: #ffffff;

  transition: background .2s ease, box-shadow .2s ease, transform .2s ease;
}

.linxy-support-back a:hover {
  background: #eef2ff;
  box-shadow: 0 10px 24px rgba(79, 70, 229, 0.18);
  transform: translateY(-1px);
}

/* =========================
   Responsive
========================= */
@media (max-width: 640px) {
  .linxy-support {
    padding: 72px 16px 96px;
  }

  .linxy-support-form-inner,
  .linxy-support-privacy {
    padding: 32px 24px;
  }

  .linxy-support-hero h1 {
    font-size: 26px;
  }
}

/* =========================
   Linxy LP Header Button
========================= */
.lp-nav-button {
  color: #fff;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 999px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   Video 共通
========================= */
.lp-fv-feed video,
.lp-about-feed-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* =========================
   FV Phone
========================= */
.lp-fv-phone {
  background: transparent !important;
  box-shadow: none;
}

.lp-fv-feed {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
}

/* =========================
   LP About 背景シェイプ完全除去
========================= */
.lp-about-visual,
.lp-about-phone,
.lp-about-screen {
  background: transparent !important;
  box-shadow: none !important;
}

.lp-about-phone::before,
.lp-about-phone::after,
.lp-about-screen::before,
.lp-about-screen::after {
  display: none !important;
  content: none !important;
}

.lp-about-phone {
  padding: 0 !important;
}

/* =========================
   LP About Background
========================= */
.lp-about {
  background: #EEFDF9;
}

.lp-about-phone {
  width: 320px;
  height: auto;
}

.lp-fv-phone {
  width: 360px;
  height: auto;
  position: relative;
}