/* ============================================================
   YL Plugin LP 共通CSS  yl-plugin-lp.css
   対象：YL Chatbot / YL Contact Form / YL Reservation
   クラスプレフィックス: ylplp-
   ============================================================ */

/* ── RESET & VARIABLES ── */
.ylplp * { box-sizing: border-box; margin: 0; padding: 0; }
.ylplp {
  font-family: 'Noto Sans JP', sans-serif;
  color: #2c3e50; line-height: 1.8; font-size: 16px;
  --navy:       #1a3a5c;
  --cyan:       #3b9eff;
  --cyan-light: #eef6ff;
  --orange:     #ff8c00;
  --gray:       #f4f8fc;
  --gray-mid:   #e4edf5;
  --muted:      #5a7a9a;
  --radius:     16px;
  --shadow:     0 6px 28px rgba(26,58,92,.10);
}
.ylplp a { color: var(--cyan); text-decoration: none; }

/* ── テーマ上書き（ページID不要・全LP共通） ── */
html:has(.ylplp) .yl-page-wrap    { max-width: none !important; padding: 0 !important; }
html:has(.ylplp) .yl-page-content { max-width: none !important; padding: 0 !important; margin: 0 !important; }
html:has(.ylplp) .yl-page-header  { display: none !important; }
html:has(.ylplp) .yl-page-nav     { display: none !important; }

/* ── SECTION BASE ── */
.ylplp-section { padding: 72px 0; }
.ylplp-inner   { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.ylplp-center  { text-align: center; }

/* ── LABEL（英語小見出し） ── */
.ylplp-label {
  display: block;
  color: var(--cyan);
  font-size: 15px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 0; line-height: 1.2;
  text-align: center;
}

/* ── TITLE（日本語見出し） ── */
.ylplp-title {
  font-size: 24px !important; font-weight: 900 !important;
  color: var(--navy) !important; line-height: 1.3 !important;
  margin-top: 8px !important; margin-bottom: 12px !important;
  white-space: nowrap;
  border-bottom: 2.5px solid var(--gray-mid) !important;
  padding-bottom: 12px !important; position: relative !important;
}
.ylplp-title::before {
  content: "" !important; display: block !important;
  position: absolute !important; bottom: -2.5px !important; left: 0 !important;
  width: 56px !important; height: 2.5px !important;
  background: linear-gradient(90deg, #ff8c00, #f0c744) !important;
}
.ylplp-title::after { display: none !important; }

.ylplp-subtitle {
  font-size: clamp(16px, 2vw, 17px); color: var(--muted);
  max-width: 600px; margin: 0 auto 40px; line-height: 1.9;
}

/* ── ① ページタイトルエリア ── */
.ylplp-title-area {
  background: #fff; padding: 0;
  border-bottom: 1px solid var(--gray-mid);
}
.ylplp-title-inner { max-width: 1200px; margin: 0 auto; padding: 24px 40px 28px; text-align: center; }
.ylplp-breadcrumb {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; color: var(--muted); margin-bottom: 14px; text-align: left;
}
.ylplp-breadcrumb a { color: var(--muted); text-decoration: none; }
.ylplp-breadcrumb a:hover { color: var(--cyan); }
.ylplp-breadcrumb span { color: #bbb; }
.ylplp-page-subtitle {
  font-size: clamp(22px, 3vw, 32px); font-weight: 700;
  color: var(--cyan); letter-spacing: .02em; margin-bottom: 4px;
}
.ylplp-page-title {
  font-size: clamp(40px, 7vw, 72px) !important; font-weight: 900 !important;
  color: var(--navy) !important; line-height: 1.1 !important;
  padding-bottom: 16px !important; border-bottom: none !important;
  white-space: normal !important;
}
.ylplp-page-title::before,
.ylplp-page-title::after { display: none !important; }
.ylplp-page-title em { color: var(--cyan); font-style: normal; }

/* ── ② ヒーロー ── */
.ylplp-hero {
  background: linear-gradient(150deg, var(--cyan-light) 0%, #fff 60%);
  padding: 72px 24px 80px; text-align: center;
  border-bottom: 2px solid var(--gray-mid);
}
.ylplp-hero h1 {
  font-size: clamp(26px, 4.5vw, 48px); font-weight: 900; color: var(--navy);
  line-height: 1.25; margin-bottom: 20px;
  border-bottom: none !important; padding-bottom: 0 !important;
}
.ylplp-hero h1::before, .ylplp-hero h1::after { display: none !important; }
.ylplp-hero h1 em { color: var(--orange); font-style: normal; }
.ylplp-hero-lead {
  font-size: clamp(16px, 1.8vw, 17px); color: var(--muted);
  margin: 0 auto 32px; line-height: 2;
}
/* 単一価格表示 */
.ylplp-price { font-size: clamp(40px, 6vw, 72px); font-weight: 900; color: var(--navy); line-height: 1.1; margin-bottom: 8px; }
.ylplp-price small { font-size: clamp(16px, 2.5vw, 24px); font-weight: 500; color: var(--muted); }
/* 複数価格表示（Reservation用） */
.ylplp-price-block { display: inline-block; margin-bottom: 24px; }
.ylplp-price-row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; }
.ylplp-price-item { text-align: center; }
.ylplp-price-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.ylplp-price-num { font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: var(--navy); }
.ylplp-price-num small { font-size: 14px; font-weight: 400; color: var(--muted); }
.ylplp-price-divider { font-size: 28px; color: var(--gray-mid); }
/* チェック3つ */
.ylplp-hero-note {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 8px 24px;
  font-size: 15px; color: var(--muted); margin-bottom: 32px;
}
.ylplp-hero-note span { white-space: nowrap; }
.ylplp-hero-secure { font-size: 12px; color: #aaa; margin-top: 16px; }

/* ── ボタン ── */
.ylplp-btn {
  display: inline-block; background: var(--orange); color: #fff !important;
  font-weight: 700; font-size: 19px; padding: 20px 52px; border-radius: 50px;
  transition: .2s; cursor: pointer; border: none; box-shadow: 0 4px 0 #b55f00;
  text-align: center; font-family: inherit;
}
.ylplp-btn:hover { background: #e07b00; transform: translateY(-2px); box-shadow: 0 7px 0 #b55f00; color: #fff !important; }
.ylplp-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #b55f00; }

/* ── ③ VS 比較 ── */
.ylplp-vs { background: var(--gray); }
.ylplp-vs .ylplp-subtitle { margin-bottom: 26px !important; }
.ylplp-vs-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 40px;
  max-width: 860px; margin-left: auto; margin-right: auto;
}
.ylplp-vs-col {
  background: #fff; border-radius: var(--radius);
  padding: 5px 18px; box-shadow: var(--shadow); border: none;
}
.ylplp-vs-col.ylplp-yl { background: var(--cyan-light); border: 2px solid var(--cyan); }
.ylplp-vs-col h3 {
  font-size: 15px; font-weight: 700; color: var(--muted);
  margin-bottom: 20px; letter-spacing: .04em; text-align: left;
  border-bottom: none !important; padding-bottom: 0 !important;
}
.ylplp-vs-col h3::before { display: none !important; }
.ylplp-vs-col.ylplp-yl h3 { color: var(--cyan); }
.ylplp-vs-list { list-style: none; }
.ylplp-vs-list li {
  font-size: 16px; padding: 9px 0;
  border-bottom: 1px solid var(--gray-mid);
  display: flex; align-items: center; gap: 10px; line-height: 1.4; text-align: left;
}
.ylplp-vs-list li:last-child { border-bottom: none; }

/* ── ④ 機能紹介 ── */
.ylplp-features { background: #fff; }
.ylplp-feat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px; margin-top: 40px;
}
.ylplp-feat {
  background: var(--gray); border-radius: var(--radius);
  padding: 28px; transition: .2s;
}
.ylplp-feat:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(26,58,92,.12); }
.ylplp-feat-icon { font-size: 36px; margin-bottom: 12px; }
.ylplp-feat h3 {
  font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 10px;
  text-align: left; border-bottom: none !important; padding-bottom: 0 !important;
}
.ylplp-feat h3::before { display: none !important; }
.ylplp-feat p { font-size: 15px; color: var(--muted); line-height: 1.8; }

/* ── ⑤ 導入の流れ ── */
.ylplp-flow { background: var(--gray); }
.ylplp-flow .ylplp-title { white-space: normal; }
.ylplp-flow .ylplp-subtitle { text-align: center; }
.ylplp-flow-wrap { max-width: 680px; margin: 40px auto 0; position: relative; }
.ylplp-flow-wrap::before {
  content: ""; position: absolute; left: 27px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--cyan), var(--gray-mid));
}
.ylplp-step { display: flex; gap: 24px; margin-bottom: 28px; position: relative; }
.ylplp-step-num {
  flex-shrink: 0; width: 56px; height: 56px; background: var(--cyan); color: #fff;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 900; position: relative; z-index: 1;
  box-shadow: #fff 0 0 0 4px;
}
.ylplp-step-body {
  background: #fff; border-radius: var(--radius);
  padding: 0 26px 22px; flex: 1; box-shadow: var(--shadow);
}
.ylplp-step-body h4 {
  font-size: clamp(15px, 1.8vw, 17px); font-weight: 700; color: var(--navy);
  margin-bottom: 6px; text-align: left; padding-top: 18px;
  border-bottom: none !important; padding-bottom: 0 !important;
}
.ylplp-step-body h4::before { display: none !important; }
.ylplp-step-body p { font-size: 16px; color: var(--muted); line-height: 1.9; text-align: left; }
.ylplp-step-note { margin-top: 8px; text-align: left; font-size: 13px !important; color: var(--orange) !important; font-weight: 700 !important; }

/* ── ⑥ 動作環境・仕様 ── */
.ylplp-spec { background: #fff; }
.ylplp-spec .ylplp-label { text-align: center; }
.ylplp-spec .ylplp-title { text-align: center !important; }
.ylplp-spec .ylplp-title::before { left: 0; transform: none; }
.ylplp-spec-table-wrap { max-width: 640px; margin: 32px auto 0; }
.ylplp-spec-table {
  width: 100%; border-collapse: collapse; background: #fff;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
}
.ylplp-spec-table th, .ylplp-spec-table td {
  padding: 14px 20px; font-size: 14px;
  border-bottom: 1px solid var(--gray-mid); text-align: left;
}
.ylplp-spec-table th { width: 40%; font-weight: 700; color: var(--navy); background: var(--gray); }
.ylplp-spec-table tr:last-child th, .ylplp-spec-table tr:last-child td { border-bottom: none; }

/* ── ⑦ よくある質問 ── */
.ylplp-faq { background: #fff; }
.ylplp-faq .ylplp-label { text-align: center; }
.ylplp-faq .ylplp-title { text-align: center !important; }
.ylplp-faq .ylplp-title::before { left: 0; transform: none; }
.ylplp-faq-list { max-width: 720px; margin: 40px auto 0; }
.ylplp-faq-item { border-bottom: 1px solid var(--gray-mid); padding: 22px 0; }
.ylplp-faq-q {
  font-size: clamp(15px, 1.8vw, 17px); font-weight: 700; color: var(--navy);
  display: flex; gap: 14px; align-items: flex-start;
}
.ylplp-faq-q::before {
  content: "Q"; background: var(--cyan); color: #fff;
  font-size: 12px; font-weight: 900; padding: 3px 9px; border-radius: 5px;
  flex-shrink: 0; margin-top: 3px;
}
.ylplp-faq-a {
  font-size: 16px; color: var(--muted);
  margin-top: 12px; padding-left: 38px; line-height: 1.9; text-align: left;
}

/* ── ⑧ 購入セクション（共通ベース） ── */
.ylplp-purchase { background: var(--cyan-light); border-top: 2px solid var(--gray-mid); }
.ylplp-purchase .ylplp-subtitle { margin-bottom: 20px; }

/* ── ⑨ トップへ戻るボタン ── */
.ylplp-back { text-align: center; padding: 40px 0 20px; }
.ylplp-back a {
  display: inline-block; color: var(--muted); font-size: 14px;
  border: 1.5px solid var(--gray-mid); border-radius: 50px;
  padding: 12px 32px; transition: .2s;
}
.ylplp-back a:hover { color: var(--cyan); border-color: var(--cyan); }

/* ── レスポンシブ ── */
@media (max-width: 768px) {
  .ylplp-section { padding: 56px 0; }
  .ylplp-inner { padding: 0 20px; }
  .ylplp-title-inner { padding: 16px 20px 20px; }
  .ylplp-title { white-space: normal !important; }
  .ylplp-page-title { font-size: 48px !important; }
  .ylplp-hero h1 { font-size: 32px; }
  .ylplp-vs-grid { grid-template-columns: 1fr; }
  .ylplp-flow-wrap::before { left: 23px; }
  .ylplp-step-num { width: 48px; height: 48px; font-size: 17px; }
}
@media (max-width: 480px) {
  .ylplp-feat-grid { grid-template-columns: 1fr; }
  .ylplp-hero { padding: 48px 20px 56px; }
  .ylplp-price-row { flex-direction: column; gap: 12px; }
  .ylplp-price-divider { display: none; }
  .ylplp-page-title { font-size: 36px !important; }
  .ylplp-hero-note { flex-direction: column; gap: 4px; }
}
