/* =========================
 RESET
========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background: #f5f7fb;
  color: #333;
  line-height: 1.6;
}

/* =========================
 CONTAINER
========================= */
.container {
  width: 92%;
  max-width: 1100px;
  margin: auto;
}

/* =========================
 HEADER
========================= */
.header {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
}

.logo {
  font-size: 22px;
  font-weight: 700;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  white-space: nowrap;
}

/* CTA */
.header .btn {
  margin-left: 10px;
}

/* =========================
 BUTTON
========================= */
.btn {
  display: inline-block;
  background: linear-gradient(135deg, #2f6df6, #4f8cff);
  color: #fff;
  padding: 12px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn.large {
  padding: 16px 30px;
  font-size: 18px;
}

/* =========================
 HERO
========================= */
.hero {
  padding: 50px 0 40px;
  background: linear-gradient(180deg, #fff, #eef3ff);
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-text {
  flex: 1;
}

.hero-image {
  flex: 1;
  text-align: right;
  max-width: 500px;
  margin-left: auto;
}

.hero-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.1));
}

.badge {
  display: inline-block;
  background: #e7efff;
  color: #2f6df6;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 13px;
  margin-bottom: 8px;
}

.hero h2 {
  font-size: 42px;
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero h2 span {
  color: #2f6df6;
}

.sub {
  color: #666;
  margin-bottom: 18px;
}

.feature-list {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.feature-list li {
  list-style: none;
  background: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.05);
}

/* =========================
 SECTION
========================= */
section {
  padding: 70px 0;
}

/* =========================
 TITLE
========================= */
.section-title {
  text-align: center;
  margin-bottom: 40px;
  font-size: 20px;
  position: relative;
}

.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 60px;
  height: 2px;
  background: #dbe3f0;
}

.section-title::before {
  left: 25%;
}

.section-title::after {
  right: 25%;
}

/* =========================
 PROBLEM（悩み）
========================= */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.problem-card {
  display: flex;
  align-items: center;
  gap: 12px;

  background: #fff;
  padding: 18px;
  border-radius: 12px;

  border: 1px solid #eef2f7;
  box-shadow: 0 6px 16px rgba(0,0,0,0.04);

  transition: 0.2s;
}

.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}

.problem-card .icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;

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

  border-radius: 50%;
  background: #eef3ff;
}

.problem-card .icon img {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.problem-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.4;
}

/* =========================
 SOLUTION（解決）
========================= */
.solution {
  background: #fff;
  padding: 80px 0;
}

.solution .section-title span {
  color: #2f6df6;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.solution-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;

  padding: 24px;
  border-radius: 14px;

  background: #f9fbff;
  border: 1px solid #eef2f7;

  transition: 0.25s;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  background: #ffffff;
}

.solution-card .icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;

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

  background: #eef3ff;
  border-radius: 12px;
}

.solution-card .icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.solution-card .text h4 {
  font-size: 16px;
  margin-bottom: 6px;
}

.solution-card .text p {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}

/* =========================
 GRID
========================= */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* =========================
 CARD
========================= */
.card {
  background: #fff;
  padding: 22px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(0,0,0,0.05);
}

/* =========================
 PLAN
========================= */
.plan {
  background: #fff;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 14px rgba(0,0,0,0.05);
}

.plan.highlight {
  background: linear-gradient(135deg, #2f6df6, #4f8cff);
  color: #fff;
  transform: scale(1.05);
}

.price {
  font-size: 28px;
  margin-top: 10px;
}

/* =========================
 CTA
========================= */
.cta {
  background: linear-gradient(135deg, #2f6df6, #4f8cff);
  color: #fff;
  text-align: center;
  border-radius: 12px;
  padding: 60px 20px;
}

.cta p {
  margin-bottom: 20px;
}

/* =========================
 FOOTER
========================= */
.footer {
  text-align: center;
  padding: 40px;
  background: #1e2a4a;
  color: #fff;
}

/* =========================
 SP（レスポンシブ）
========================= */
@media (max-width: 768px) {

  body {
    text-align: center;
  }

  .header-inner {
    flex-direction: column;
    gap: 12px;
  }

  .logo {
    font-size: 26px;
  }

  nav {
    gap: 14px;
  }

  .header .btn {
    width: 70%;
    max-width: 260px;
    padding: 14px;
    font-size: 16px;
  }

  .hero-inner {
    flex-direction: column;
    gap: 25px;
  }

  .hero-image {
    margin: 0 auto;
    text-align: center;
  }

  .hero h2 {
    font-size: 28px;
  }

  .badge {
    display: block;
    margin: 0 auto 10px;
  }

  .feature-list {
    justify-content: center;
  }

  .problem-grid,
  .solution-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .solution-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .solution-card .icon {
    margin-bottom: 10px;
  }

  .section-title::before,
  .section-title::after {
    display: none;
  }

}



/* =========================
 SERVICE（追加）
========================= */
.service {
  background: #f7f9fc;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;

  border: 1px solid #eef2f7;
  box-shadow: 0 6px 14px rgba(0,0,0,0.04);
  transition: 0.2s;
}

/* ホバーで浮く */
.service-card {
  position: relative;
  transition: all 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

/* クリックで沈む */
.service-card:active {
  transform: scale(0.98);
}



.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.08);
}

/* アイコン */
.service-card .icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;

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

  background: #eef3ff;
  border-radius: 12px;
}

.service-card .icon img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

/* =========================
 MODAL（追加）
========================= */
.modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.5);

  opacity: 0;
  pointer-events: none;

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

  transition: 0.3s;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: #fff;
  padding: 28px;
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  position: relative;
}

.close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 20px;
  cursor: pointer;
}

/* モーダル内ボタン */
.modal .btn {
  display: block;
  margin-top: 20px;
  text-align: center;
}


/* =========================
 押せるヒント（＋アイコン）
========================= */
.service-card {
  position: relative;
}

/* ＋アイコン */
.service-card::after {
  content: "+";
  position: absolute;
  top: 10px;
  right: 12px;

  font-size: 18px;
  font-weight: bold;
  color: #2f6df6;

  opacity: 0.5;
  transition: all 0.2s ease;
}

/* ホバー時 */
.service-card:hover::after {
  opacity: 1;
  transform: scale(1.2);
}


.service-note {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}


/* =========================
 PLAN
========================= */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.plan-card {
  background: #fff;
  padding: 28px;
  border-radius: 14px;
  text-align: center;
  border: 1px solid #eee;
  transition: 0.3s;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.plan-card .price {
  font-size: 18px;
  margin: 10px 0;
}

.plan-card .price span {
  font-size: 28px;
  font-weight: bold;
  color: #2f6df6;
}

/* 人気プラン */
.plan-card.featured {
  background: linear-gradient(135deg, #2f6df6, #4f8cff);
  color: #fff;
}

.plan-card.featured span {
  color: #fff;
}

/* =========================
 詳しく見るボタン
========================= */
.plan-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-top: 18px;
  padding: 10px 20px;

  font-size: 14px;
  font-weight: 500;

  color: #2f6df6;
  background: #fff;

  border-radius: 999px;
  border: 1px solid #dbe3f3;

  cursor: pointer;
  transition: all 0.25s ease;
}

/* 矢印 */
.plan-btn::after {
  content: "›";
  margin-left: 6px;
  font-size: 16px;
}

/* ホバー */
.plan-btn:hover {
  background: #2f6df6;
  color: #fff;
  border-color: #2f6df6;
  transform: translateY(-1px);
}

.plan-card.featured .plan-btn {
  background: #fff;
  color: #2f6df6;
  border: none;
}

.plan-btn {
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}



/* =========================
 比較セクション
========================= */
.compare {
  background: #f7f9fc;
}

.compare-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* 共通 */
.compare-col {
  background: #fff;
  padding: 28px;
  border-radius: 14px;
}

.compare-col h4 {
  text-align: center;
  margin-bottom: 20px;
}

/* 他社 */
.compare-col.other {
  background: #f1f3f7;
  color: #666;
}

/* 自社 */
.compare-col.ours {
  border: 2px solid #2f6df6;
}

.compare-col ul {
  list-style: none;
}

.compare-col li {
  margin-bottom: 12px;
  font-size: 14px;
}

@media (max-width: 768px) {
  .compare-table {
    grid-template-columns: 1fr;
  }
}


.compare-note {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
  color: #666;
}



/* =========================
 レスポンシブ修正（サービス・プラン）
========================= */
@media (max-width: 768px) {

  /* 全体余白調整 */
  section {
    padding: 50px 0;
  }

  .section-title {
    font-size: 18px;
    margin-bottom: 30px;
  }

  /* =========================
  サービス
  ========================= */
  .service-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .service-card {
    padding: 20px;
  }

  .service-card h4 {
    font-size: 14px;
  }

  /* =========================
  プラン
  ========================= */
  .plan-grid {
    grid-template-columns: 1fr !important;
    gap: 16px;
  }

  .plan-card {
    padding: 22px;
  }

  .plan-card h4 {
    font-size: 16px;
  }

  .plan-card .price span {
    font-size: 24px;
  }

  /* ボタン中央 */
  .plan-btn {
    margin: 16px auto 0;
  }

  /* =========================
  比較表
  ========================= */
  .compare-table {
    grid-template-columns: 1fr;
  }

}

/* =========================
 タブレット（ちょい中間）
========================= */
@media (max-width: 1024px) {

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .plan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* =========================
 CTAセクション
========================= */
.cta {
  padding: 70px 0;
  background: linear-gradient(180deg, #f5f7fb, #eef3ff);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* 左 */
.cta-text h3 {
  font-size: 22px;
  margin-bottom: 20px;
}

.cta-text ul {
  list-style: none;
}

.cta-text li {
  margin-bottom: 10px;
  font-size: 14px;
}

/* 右 */
.cta-box {
  background: linear-gradient(135deg, #2f6df6, #4f8cff);
  color: #fff;
  padding: 30px;
  border-radius: 16px;
}

.cta-box h4 {
  font-size: 18px;
  margin-bottom: 12px;
}

.cta-box p {
  font-size: 13px;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* ボタン */
.cta-btn {
  display: inline-block;
  background: #fff;
  color: #2f6df6;
  padding: 12px 24px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

/* =========================
 SP
========================= */
@media (max-width: 768px) {
  .cta-inner {
    grid-template-columns: 1fr;
  }

  .cta-box {
    text-align: center;
  }
}


/* 左テキスト見えるように */
.cta-text {
  color: #333;
}

/* 見出し */
.cta-text h3 {
  color: #222;
}

/* リスト */
.cta-text li {
  color: #555;
}


/* =========================
 FAQ
========================= */
.faq {
  background: #fff;
}

.faq-list {
  max-width: 800px;
  margin: auto;
}

/* 各項目 */
.faq article {
  border-bottom: 1px solid #eee;
  padding: 18px 0;
  cursor: pointer;
}

/* 質問 */
.faq h4 {
  font-size: 16px;
  position: relative;
  padding-right: 20px;
}

/* ＋アイコン */
.faq h4::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
}

/* 回答 */
.faq p {
  display: none;
  font-size: 14px;
  margin-top: 10px;
  color: #666;
}

/* 開いた状態 */
.faq article.active p {
  display: block;
}

.faq article.active h4::after {
  content: "−";
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.contact-form button {
  width: 100%;
}


.tel-note {
  margin-top: 16px;
  font-size: 13px;
  text-align: center;
  color: #666;
}

.tel-note a {
  display: inline-block;
  margin-top: 6px;
  font-size: 18px;
  font-weight: bold;
  color: #2f6df6;
  text-decoration: none;
}


.plan-note {
  margin-top: 20px;
  text-align: center;
  font-size: 13px;
  color: #666;
  line-height: 1.6;
}