/* ============================================================
   YL Reservation LP CSS
   chatbot-lp.css の実測値を完全トレース
   ============================================================ */

/* ── ページ幅制限解除・ヘッダー非表示（ページID） ── */
.page-id-3280 .yl-page-wrap,
.page-id-3308 .yl-page-wrap    { max-width: none !important; padding: 0 !important; }
.page-id-3280 .yl-page-content,
.page-id-3308 .yl-page-content { max-width: none !important; padding: 0 !important; margin: 0 !important; }
.page-id-3280 .yl-page-header,
.page-id-3308 .yl-page-header  { display: none !important; }
.page-id-3280 main,
.page-id-3308 main              { padding-top: 0 !important; margin-top: 0 !important; }
.page-id-3280 .yl-page-nav,
.page-id-3308 .yl-page-nav     { display: none !important; }
/* 本番ページID公開後に追記 */

/* ── リセット・変数 ── */
.ylrlp * { box-sizing: border-box; margin: 0; padding: 0; }
.ylrlp {
  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);
}
.ylrlp a { color: var(--cyan); text-decoration: none; }

/* ── 共通セクション ── */
.ylrlp-section { padding: 72px 0; }
.ylrlp-inner   { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.ylrlp-center  { text-align: center; }
.ylrlp-label {
  display: inline-block; color: var(--cyan);
  font-size: 15px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; margin-bottom: 0; line-height: 1.2;
}
.ylrlp-title {
  font-size: font-size: 24px !important; font-weight: 900 !important;
  color: var(--navy) !important; line-height: 1.3 !important;
  margin-bottom: 12px !important; white-space: nowrap; margin-top: 8px !important;
  /* テーマh2スタイルを上書き */
  border-bottom: 2.5px solid var(--gray-mid) !important;
  padding-bottom: 12px !important; position: relative !important;
}
.ylrlp-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;
}
.ylrlp-title::after { display: none !important; }
.ylrlp-subtitle {
  font-size: clamp(16px, 2vw, 17px); color: var(--muted);
  max-width: 600px; margin: 0 auto 40px; line-height: 1.9;
}

/* ── ページタイトルエリア（白背景・Chatbot準拠） ── */
.ylrlp-title-area {
  background: #fff; padding: 0;
  border-bottom: 1px solid var(--gray-mid);
}
.ylrlp-title-inner { max-width: 1200px; margin: 0 auto; padding: 24px 40px 28px; text-align: center; }
.ylrlp-breadcrumb {
  display: flex; align-items: center; gap: 4px;
  font-size: 13px; color: var(--muted); margin-bottom: 14px; text-align: left;
}
.ylrlp-breadcrumb a { color: var(--muted); }
.ylrlp-breadcrumb a:hover { color: var(--cyan); }
.ylrlp-breadcrumb span { color: #bbb; }
.ylrlp-page-subtitle {
  font-size: clamp(22px, 3vw, 32px); font-weight: 700;
  color: var(--cyan); letter-spacing: .02em; margin-bottom: 4px;
}
.ylrlp-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;
}
.ylrlp-page-title::before,
.ylrlp-page-title::after { display: none !important; }
.ylrlp-page-title em { color: var(--cyan); font-style: normal; }

/* ── HERO ── */
.ylrlp-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);
}
.ylrlp-hero h1 {
  font-size: clamp(28px, 4.5vw, 48px); font-weight: 900; color: var(--navy);
  line-height: 1.4; margin-bottom: 20px;
  border-bottom: none !important; padding-bottom: 0 !important;
}
.ylrlp-hero h1::before,
.ylrlp-hero h1::after { display: none !important; }
.ylrlp-hero h1 em { color: var(--orange); font-style: normal; }
.ylrlp-hero-lead { font-size: 16px; color: var(--muted); margin-bottom: 36px; line-height: 1.9; }
.ylrlp-price-block { display: inline-block; margin-bottom: 24px; }
.ylrlp-price-row { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; justify-content: center; }
.ylrlp-price-item { text-align: center; }
.ylrlp-price-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.ylrlp-price-num { font-size: clamp(28px, 4vw, 44px); font-weight: 900; color: var(--navy); }
.ylrlp-price-num small { font-size: 14px; font-weight: 400; color: var(--muted); }
.ylrlp-price-divider { font-size: 28px; color: var(--gray-mid); }
.ylrlp-hero-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; font-size: 15px; color: var(--muted); margin-bottom: 32px; }
.ylrlp-hero-note span { white-space: nowrap; }

/* ── HERO 大きな価格表示 ── */
.ylrlp-hero-price { margin-bottom: 24px; }
.ylrlp-hero-price-num {
  font-size: clamp(36px, 7vw, 72px); font-weight: 900; color: var(--navy); line-height: 1.1;
}
.ylrlp-hero-price-num small { font-size: clamp(16px, 2.5vw, 24px); font-weight: 500; color: var(--muted); }
.ylrlp-hero-secure { font-size: 12px; color: #aaa; margin-top: 16px; }
.ylrlp-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;
}
.ylrlp-btn:hover { background: #e07b00; transform: translateY(-2px); }
.ylrlp-btn-lg { font-size: 19px; padding: 20px 52px; }

/* ── VS比較（#f4f8fc・VSなし・左カード水色） ── */
.ylrlp-vs { background: var(--gray); }
.ylrlp-vs .ylrlp-subtitle { margin-bottom: 26px !important; }
.ylrlp-vs-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 12px; margin-top: 40px;
  max-width: 860px; margin-left: auto; margin-right: auto;
}
.ylrlp-vs-col {
  background: #fff; border-radius: var(--radius);
  padding: 5px 18px; box-shadow: var(--shadow); border: none;
}
.ylrlp-vs-col.ylrlp-yl { background: var(--cyan-light); border: 2px solid var(--cyan); }
.ylrlp-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;
}
.ylrlp-vs-col h3::before { display: none !important; }
.ylrlp-vs-col.ylrlp-yl h3 { color: var(--cyan); }
.ylrlp-vs-list { list-style: none; }
.ylrlp-vs-list li {
  font-size: clamp(16px, 1.5vw, 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;
}
.ylrlp-vs-list li:last-child { border-bottom: none; }

/* ── FEATURES（白背景） ── */
.ylrlp-features { background: #fff; }
.ylrlp-feat-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 24px; margin-top: 40px;
}
.ylrlp-feat {
  background: var(--gray); border-radius: var(--radius);
  padding: 28px; transition: .2s;
}
.ylrlp-feat:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(26,58,92,.12); }
.ylrlp-feat-icon { font-size: 36px; margin-bottom: 12px; }
.ylrlp-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;
}
.ylrlp-feat h3::before { display: none !important; }
.ylrlp-feat p { font-size: 15px; color: var(--muted); line-height: 1.8; }

/* ── 導入までの流れ（#f4f8fc・中央・白カード・縦ライン） ── */
.ylrlp-flow { background: var(--gray); }
.ylrlp-flow .ylrlp-title { white-space: normal; }
.ylrlp-flow .ylrlp-subtitle { text-align: center; }
.ylrlp-flow-wrap {
  max-width: 680px; margin: 40px auto 0; position: relative;
}
.ylrlp-flow-wrap::before {
  content: ""; position: absolute; left: 27px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(to bottom, var(--cyan), var(--gray-mid));
}
.ylrlp-step { display: flex; gap: 24px; margin-bottom: 28px; position: relative; }
.ylrlp-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;
}
.ylrlp-step-body {
  background: #fff; border-radius: var(--radius);
  padding: 0 26px 22px; flex: 1; box-shadow: var(--shadow);
}
.ylrlp-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;
}
.ylrlp-step-body h4::before { display: none !important; }
.ylrlp-step-body p { font-size: clamp(16px, 1.5vw, 16px); color: var(--muted); line-height: 1.9; text-align: left; }
.ylrlp-step-note { margin-top: 8px; text-align: left; font-size: 13px !important; color: var(--orange) !important; font-weight: 700 !important; }

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

/* ── PURCHASE（CF準拠：2カラム・左オレンジ・右シアン枠） ── */
.ylrlp-purchase { background: var(--cyan-light); border-top: 2px solid var(--gray-mid); }
.ylrlp-purchase .ylrlp-subtitle { margin-bottom: 20px; }
.ylrlp-purchase-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 24px; max-width: 900px; margin: 40px auto 0;
}
.ylrlp-purchase-card {
  background: #fff; border-radius: 24px; padding: 40px;
  box-shadow: 0 16px 48px rgba(26,58,92,.13);
  position: relative;
}
.ylrlp-purchase-card--recommend { border: 2px solid var(--cyan); }
.ylrlp-recommend-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--cyan); color: #fff; font-size: 12px; font-weight: 700;
  padding: 4px 18px; border-radius: 50px; white-space: nowrap;
}
.ylrlp-purchase-label {
  display: inline-block; color: var(--cyan); font-size: 13px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px;
}
.ylrlp-purchase-card h3 {
  font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 4px;
  border-bottom: none !important; padding-bottom: 0 !important;
}
.ylrlp-purchase-card h3::before { display: none !important; }
.ylrlp-plan-desc { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.ylrlp-price-box {
  background: var(--gray); border-radius: 12px;
  padding: 22px; margin-bottom: 28px; text-align: center;
}
.ylrlp-big-price {
  font-size: clamp(36px, 5vw, 52px); font-weight: 900; color: var(--navy);
}
.ylrlp-big-price small { font-size: clamp(14px, 1.8vw, 17px); font-weight: 500; color: var(--muted); }
.ylrlp-price-note { font-size: clamp(13px, 1.4vw, 15px); color: var(--muted); margin-top: 6px; }
.ylrlp-price-note--accent { color: var(--cyan); font-weight: 700; }
.ylrlp-plan-list { list-style: none; margin-bottom: 24px; }
.ylrlp-plan-list li { font-size: 15px; padding: 8px 0; border-bottom: 1px solid var(--gray-mid); display: flex; align-items: center; gap: 10px; }
.ylrlp-plan-list li:last-child { border-bottom: none; }
.ylrlp-buy-btn {
  width: 100%; padding: 18px; border: none; border-radius: 12px;
  font-size: clamp(16px, 2vw, 19px); font-weight: 700; cursor: pointer;
  font-family: inherit; color: #fff; transition: .2s;
}
.ylrlp-buy-btn--orange { background: var(--orange); box-shadow: 0 3px 0 #b55f00; }
.ylrlp-buy-btn--orange:hover { transform: translateY(-2px); box-shadow: #c06a00 0 7px 0; }
.ylrlp-buy-btn--cyan { background: var(--cyan); box-shadow: 0 3px 0 #2070cc; }
.ylrlp-buy-btn--cyan:hover { transform: translateY(-2px); box-shadow: #2070cc 0 7px 0; }
.ylrlp-purchase-note { font-size: 13px; color: var(--muted); line-height: 2; margin-top: 24px; text-align: center; }

/* ── FAQ（折りたたみなし・Q/Aバッジ） ── */
.ylrlp-faq { background: #fff; }
.ylrlp-faq .ylrlp-label { text-align: center; }
.ylrlp-faq .ylrlp-title { text-align: center; }
.ylrlp-faq .ylrlp-title::before { left: 50%; transform: translateX(-50%); }
.ylrlp-faq-list { max-width: 720px; margin: 40px auto 0; }
.ylrlp-faq-item { border-bottom: 1px solid var(--gray-mid); padding: 22px 0; }
.ylrlp-faq-q {
  font-size: clamp(15px, 1.8vw, 17px); font-weight: 700; color: var(--navy);
  display: flex; gap: 14px; align-items: flex-start;
}
.ylrlp-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;
}
.ylrlp-faq-a {
  font-size: clamp(16px, 1.6vw, 16px); color: var(--muted);
  margin-top: 12px; padding-left: 38px; line-height: 1.9; text-align: left;
}

/* ── トップページへ戻る ── */
.ylrlp-back { text-align: center; padding: 40px 0 20px; }
.ylrlp-back a { color: var(--muted); font-size: 14px; }
.ylrlp-back a:hover { color: var(--cyan); }

/* ── レスポンシブ ── */
@media (max-width: 768px) {
  .ylrlp-title { white-space: normal !important; }
  .ylrlp-section { padding: 56px 0; }
  .ylrlp-inner { padding: 0 20px; }
  .ylrlp-title-inner { padding: 0 20px; }
  .ylrlp-page-title { font-size: 48px !important; }
  .ylrlp-hero h1 { font-size: 32px; }
  .ylrlp-vs-grid { grid-template-columns: 1fr; }
  .ylrlp-purchase-grid { grid-template-columns: 1fr; }
  .ylrlp-flow-wrap::before { left: 23px; }
  .ylrlp-step-num { width: 48px; height: 48px; font-size: 17px; }
}
@media (max-width: 480px) {
  .ylrlp-feat-grid { grid-template-columns: 1fr; }
  .ylrlp-hero { padding: 48px 20px 56px; }
  .ylrlp-price-row { flex-direction: column; gap: 12px; }
  .ylrlp-price-divider { display: none; }
  .ylrlp-page-title { font-size: 36px !important; }
}
/* ── SPEC・FAQのラベルをセンターに ── */
.ylrlp-spec .ylrlp-label,
.ylrlp-faq .ylrlp-label { display: block; text-align: center; }

/* ── 動作環境テーブルをセンターに ── */
.ylrlp-spec-table-wrap { max-width: 640px; margin: 32px auto 0; }

/* テキストリンク（HTML内）を非表示・ボタン（テーマ）を表示 */
html:has(.ylrlp) .ylrlp-back { display: none !important; }