@charset "UTF-8";

/* --- 変数定義 --- */
:root {
  --navy: #0b1f73;
  --navy2: #132f8a;
  --gold: #f8b500;
  --line: #06c755;
  --bg-gray: #f4f7fa;
  --white: #ffffff;
  --text: #333333;
}

/* --- 基本設定 --- */
body {
  margin: 0; padding: 0;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  overflow-x: hidden; /* 画面外へのはみ出しを念のため防止 */
}

.lp-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box; /* パディングを含めた幅計算 */
}

/* --- Header --- */
.lp-header {
  background: var(--navy);
  padding: 15px 0;
  text-align: center;
}
.header-logo img {
  height: 40px;
}

/* --- Hero Section --- */
.lp-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}
.lp-kicker {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 4px 15px;
  border-radius: 999px;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 20px;
}
.lp-hero-title {
  font-size: clamp(22px, 5vw, 36px);
  line-height: 1.4;
  margin-bottom: 20px;
  font-weight: 800;
}
.lp-hero-lead {
  opacity: 0.9;
  margin-bottom: 30px;
  font-size: 16px;
}

/* --- CTA Area (Buttons & Badges) --- */
.lp-cta-area {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ボタン共通スタイル */
.lp-btn-line, .lp-btn-trial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px; /* 横パディングを調整 */
  border-radius: 999px;
  font-size: clamp(16px, 4vw, 20px);
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: 0.3s;
  width: 100%; /* 基本は親要素に合わせる */
  max-width: 350px; /* 最大幅を指定 */
  box-sizing: border-box;
}

.lp-btn-line {
  background: var(--line);
  color: white;
}
.lp-btn-trial {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--white);
}

.lp-btn-line i, .lp-btn-trial i {
  margin-right: 10px;
  font-size: 1.2em;
}

.lp-btn-line:hover, .lp-btn-trial:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

/* ルールバッジ */
.lp-rule-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
}
.lp-rule-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  font-size: 13px;
  font-weight: bold;
}
.lp-rule-badge::before {
  content: "✓";
  color: var(--gold);
}

/* --- LINE相談項目リスト --- */
.lp-cta-box-center {
  margin: 25px auto;
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
  padding: 25px 15px;
  width: 100%;
  max-width: 450px;
  box-sizing: border-box;
}
.box-label {
  font-weight: bold;
  color: var(--gold);
  margin-bottom: 15px;
}
.copy-list {
  background: white;
  color: var(--navy);
  padding: 15px 20px;
  border-radius: 10px;
  text-align: left;
  display: block; /* inline-blockから変更 */
  margin: 0 auto 15px;
  box-sizing: border-box;
}
.copy-list-item {
  font-weight: 800;
  font-size: 16px;
  line-height: 2.2;
  border-bottom: 1px dashed #eee;
}
.copy-list-item:last-child { border-bottom: none; }

/* --- Section Layout --- */
.lp-section { padding: 60px 0; }
.section-alt { background: var(--bg-gray); }
.section-title {
  text-align: center;
  color: var(--navy);
  margin-bottom: 40px;
  font-size: clamp(20px, 4vw, 28px);
  font-weight: 800;
}

.lp-empathy {
  max-width: 760px;
  margin: 0 auto;
  padding: 30px 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border-top: 5px solid var(--gold);
  box-sizing: border-box;
}
.lp-empathy-list {
  margin: 0; padding: 0;
  list-style: none;
}
.lp-empathy-list li {
  position: relative;
  padding-left: 30px;
  margin: 15px 0;
}
.lp-empathy-list li::before {
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--line);
}

/* --- 3カラムグリッド --- */
.lp-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}
.lp-card-white {
  background: white;
  padding: 30px 20px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-align: center;
}

/* --- 図解 --- */
.viz-container {
  height: 100px; margin: 15px 0;
  display: flex; align-items: center; justify-content: center;
  background: #f8f9fa; border-radius: 10px;
}
.viz-level { display: flex; align-items: flex-end; gap: 8px; height: 50px; }
.bar { width: 14px; background: #ddd; border-radius: 3px; }
.bar-2.active { height: 100%; background: var(--gold); }
.bar-1 { height: 40%; } .bar-3 { height: 70%; }

.viz-gear { display: flex; gap: 2px; font-size: 40px; color: var(--navy); }
.gear-1 { animation: spin 4s linear infinite; }
.gear-2 { animation: spin-rev 4s linear infinite; margin-top: 15px; color: var(--gold); }
@keyframes spin { 100% { transform: rotate(360deg); } }
@keyframes spin-rev { 100% { transform: rotate(-360deg); } }

/* --- Bottom CTA --- */
.lp-cta-bottom {
  background: var(--navy);
  color: white;
  padding: 70px 0;
  text-align: center;
}
.lp-cta-box {
  background: rgba(255,255,255,0.08);
  padding: 40px 15px;
  border-radius: 20px;
  max-width: 800px;
  margin: 0 auto;
  box-sizing: border-box;
}
.lp-cta-btns {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px 0;
}
.lp-cta-rule-note { font-weight: 800; margin: 15px 0 5px; font-size: 15px; }
.lp-cta-small { font-size: 13px; opacity: 0.7; }

/* --- Footer --- */
.lp-footer {
  text-align: center;
  padding: 30px 0;
  background: #081652;
  color: white;
  font-size: 12px;
}

/* --- Responsive 修正 --- */
@media (max-width: 768px) {
  .pc-only { display: none; }
  .lp-hero { padding: 40px 0; }
  
  /* ボタンをスマホ画面幅いっぱいに収める */
  .lp-btn-line, .lp-btn-trial {
    width: 100%;
    max-width: none; /* スマホでは制限を解除 */
    min-width: 0;    /* はみ出し防止 */
    font-size: 18px; /* 文字を少し小さく調整 */
    padding: 15px 10px;
  }
  
  .lp-cta-btns {
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 320px; /* ボタン全体のエリアを制御 */
    margin-left: auto;
    margin-right: auto;
  }
}