/*
Theme Name:     Lightning-child
Description:    Lightningの子テーマ
Author:         login_user
Template:       lightning

(optional values you can add: Theme URI, Author URI, Version, License, License URI, Tags, Text Domain)
*/

/* ========================================
   Lightning-child
   このファイルには「テーマ共通の調整だけ」を置く
   自治会プラグイン専用のCSSはプラグイン側 assets/style.css へ移動
======================================== */

/* -----------------------------
	改行
----------------------------- */

.hidden {
	display: none;
}

.hidden.pcBlock {
	display: inline;
}

@media screen and (max-width: 640px) {
	.hidden.pcBlock {
		display: none;
	}

	.hidden.spBlock {
		display: inline;
	}
}

/*スマホcenter⇒left*/
@media screen and (max-width: 800px) {
	.mobile-left {
		text-align:left;
	}
}

/* -----------------------------
	汎用
----------------------------- */

.clear {
    clear:both;
}

.floatL{
	float:left;
	margin: 0;
}

.floatR{
	float:right;
	margin: -15px 0 0 20px;
}

.center{
	text-align:center;
}

.right{
	text-align:right;
}

.left{
	text-align:left;
}

.underline {
    text-decoration:underline;
}

strong {
	font-weight:bold;
}

em {
	font-weight:bold;
}

.font-bold {
	font-weight:bold;
}

.font-normal {
	font-weight:normal;
}

.indent-1 {
	margin:0 0 0 1em;
	text-indent: -1em;
}

.indent1 {
	text-indent: 1em;
}




/* =========================================================
   FAQプラグイン 販売ページ
   ========================================================= */

.fms-sales-page {
  --fms-navy: #07175d;
  --fms-orange: #1e7be8;
  --fms-orange-soft: #eaf4ff;
  --fms-text: #0f2f5f;
  --fms-muted: #52657a;
  --fms-line: #d7e8ff;
  --fms-bg: #f4f9ff;
  color: var(--fms-text);
}

.fms-sales-container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

/* ファーストビュー */
.fms-sales-hero {
  padding: 82px 0;
  background:
  radial-gradient(circle at top left, rgba(123, 188, 255, 0.35), transparent 35%),
  linear-gradient(135deg, #f4f9ff, #ffffff);
}

.fms-sales-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 360px;
  gap: 44px;
  align-items: center;
}

.fms-sales-label,
.fms-sales-section-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 0 auto 40px;
  padding: 6px 15px;
  border-radius: 999px;
  background: var(--fms-orange-soft);
  color: #155bb5;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.fms-sales-page .fms-sales-section-head h2 {
  margin-top: 30px !important;
  line-height: 1.15 !important;
}

.fms-sales-hero-text h1 {
  margin: 0;
  color: var(--fms-text);
  font-size: clamp(24px, 5vw, 36px);
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.fms-sales-lead {
  margin: 22px 0 0;
  max-width: 680px;
  color: #334155;
  font-size: 17px;
  line-height: 2;
}

.fms-sales-lead-sub {
  margin: 10px 0 0;
  max-width: 680px;
  color: var(--fms-muted);
  font-size: 16px;
  line-height: 1.9;
}

.fms-sales-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.fms-sales-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none !important;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.fms-sales-btn:hover {
  transform: translateY(-1px);
  opacity: 0.92;
}

.fms-sales-btn-main {
  background: var(--fms-orange);
  color: #fff !important;
  box-shadow: 0 12px 26px rgba(30, 123, 232, 0.25);
}

.fms-sales-btn-sub {
  background: #fff;
  color: #155bb5 !important;
  border: 1px solid #b8d7ff;
}

.fms-sales-hero-panel {
  position: relative;
}

.fms-sales-panel-card {
  padding: 28px;
  border: 1px solid var(--fms-line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(30, 123, 232, 0.1);
}

.fms-sales-panel-kicker {
  display: inline-flex;
  margin: 0 0 14px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--fms-orange);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

.fms-sales-panel-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.fms-sales-panel-card li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid #dbeafe;
  color: var(--fms-text);
  font-weight: 800;
}

.fms-sales-panel-card li:last-child {
  border-bottom: none;
}

.fms-sales-panel-card li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 17px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--fms-orange);
  box-shadow: 0 0 0 4px var(--fms-orange-soft);
}

/* 共通セクション */
.fms-sales-section {
  padding: 72px 0;
}

.fms-sales-section-soft {
  background: var(--fms-bg);
}

.fms-sales-section-head {
  max-width: 760px;
  margin: 0 auto 34px;
  text-align: center;
}

.fms-sales-section-head h2 {
  margin: 0;
  color: var(--fms-text);
  font-size: clamp(25px, 3vw, 36px);
  line-height: 1.4;
  font-weight: 900;
}

.fms-sales-section-head p {
  margin: 13px auto 0;
  color: var(--fms-muted);
  font-size: 16px;
  line-height: 1.9;
}

/* 悩み */
.fms-sales-problem-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.fms-sales-problem-card {
  padding: 24px;
  border: 1px solid var(--fms-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(30, 123, 232, 0.05);
}

.fms-sales-problem-card h3 {
  margin: 0 0 10px;
  color: var(--fms-text);
  font-size: 18px;
  font-weight: 900;
}

.fms-sales-problem-card p {
  margin: 0;
  color: var(--fms-muted);
  line-height: 1.9;
}

/* 機能 */
.fms-sales-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.fms-sales-feature-card {
  padding: 26px;
  border: 1px solid var(--fms-line);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(30, 123, 232, 0.06);
}

.fms-sales-feature-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--fms-orange);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.fms-sales-feature-card h3 {
  margin: 0 0 10px;
  color: var(--fms-text);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.5;
}

.fms-sales-feature-card p {
  margin: 0;
  color: var(--fms-muted);
  line-height: 1.9;
}

/* 表示サンプル */
.fms-sales-demo-area {
  background: var(--fms-bg);
}

.fms-sales-demo-box {
  max-width: 860px;
  margin: 0 auto;
}

/* ショートコード */
.fms-sales-shortcode-box {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.fms-sales-shortcode-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 18px;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--fms-line);
  border-radius: 18px;
  background: var(--fms-bg);
  box-shadow: 0 10px 24px rgba(30, 123, 232, 0.05);
}

.fms-sales-shortcode-item h3 {
  margin: 0 0 5px;
  color: var(--fms-text);
  font-size: 17px;
  font-weight: 900;
}

.fms-sales-shortcode-item p {
  margin: 0;
  color: var(--fms-muted);
  font-size: 14px;
  line-height: 1.7;
}

.fms-sales-shortcode-item code {
  display: block;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  background: #1f2933;
  color: #fff;
  font-size: 13px;
  line-height: 1.6;
  white-space: normal;
  word-break: break-word;
}


/* 管理画面でできること */
.fms-sales-admin-section {
  background: #fff;
}

.fms-sales-admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.fms-sales-admin-card {
  padding: 26px;
  border: 1px solid var(--fms-line);
  border-radius: 22px;
  background: #f4f9ff;
  box-shadow: 0 12px 28px rgba(30, 123, 232, 0.06);
}

.fms-sales-admin-card h3 {
  margin: 0 0 10px;
  color: var(--fms-text);
  font-size: 19px;
  font-weight: 900;
  line-height: 1.5;
}

.fms-sales-admin-card p {
  margin: 0;
  color: var(--fms-muted);
  line-height: 1.9;
}



/* 料金 */
.fms-sales-price-section {
  background:
  radial-gradient(circle at 80% 15%, rgba(123, 188, 255, 0.35), transparent 32%),
  linear-gradient(135deg, #f4f9ff 0%, #ffffff 100%);
}

.fms-sales-price-card {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
  padding: 34px;
  border: 1px solid var(--fms-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(30, 123, 232, 0.1);
}

.fms-sales-price-label-en {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: #155bb5;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fms-sales-price-label-en::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--fms-orange);
}

.fms-sales-price-text h2 {
  margin: 0 0 14px;
  color: var(--fms-text);
  font-size: clamp(20px, 3vw, 27px);
  line-height: 1.45;
  font-weight: 900;
}

.fms-sales-price-text p {
  margin: 0;
  color: var(--fms-muted);
  line-height: 1.9;
}

.fms-sales-price-text p + p {
  margin-top: 10px;
}

.fms-sales-price-box {
  padding: 28px;
  border-radius: 24px;
  background: var(--fms-navy);
  color: #fff;
  text-align: center;
}

.fms-sales-price-box-label {
  margin: 0 0 8px;
  color: #fff;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.fms-sales-price {
  margin: 0;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  font-weight: 900;
}

.fms-sales-price span {
  font-size: 18px;
}

.fms-sales-price-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.8;
}

.fms-sales-price-option {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  text-align: left;
}

.fms-sales-price-option-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.fms-sales-price-option ul {
  margin: 0;
  padding-left: 1.2em;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  line-height: 1.8;
}

.fms-sales-price-option li {
  margin: 0;
}

/* CTA */
.fms-sales-cta {
  padding: 74px 0;
  background:
  radial-gradient(circle at top left, rgba(123, 188, 255, 0.35), transparent 34%),
  linear-gradient(135deg, #f4f9ff, #ffffff);
}

.fms-sales-cta-box {
  max-width: 860px;
  margin: 0 auto;
  padding: 44px 34px;
  border: 1px solid var(--fms-line);
  border-radius: 28px;
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 42px rgba(30, 123, 232, 0.1);
}

.fms-sales-cta-box h2 {
  margin: 0;
  color: var(--fms-text);
  font-size: clamp(20px, 3vw, 30px);
  line-height: 1.12;
  font-weight: 900;
}

/* FAQ販売ページ：CTAタイトルの2行間を詰める */
.fms-sales-page .fms-sales-cta-box h2 {
  line-height: 0.8 !important;
}

.fms-sales-page .fms-sales-cta-box h2 br {
  display: block;
  content: "";
  margin: 0 !important;
  padding: 0 !important;
}

.fms-sales-cta-box p {
  margin: 16px auto 24px;
  max-width: 680px;
  color: var(--fms-muted);
  line-height: 1.9;
}

.fms-sales-pc-br {
  display: block;
}

/* スマホ対応 */
@media (max-width: 960px) {
  .fms-sales-hero-inner,
  .fms-sales-price-card {
    grid-template-columns: 1fr;
  }

  .fms-sales-problem-grid,
  .fms-sales-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .fms-sales-shortcode-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .fms-sales-container {
    width: min(100% - 24px, 1100px);
  }

  .fms-sales-hero {
    padding: 62px 0;
  }

  .fms-sales-section {
    padding: 56px 0;
  }

  .fms-sales-hero-text h1 {
    font-size: 34px;
  }

  .fms-sales-buttons {
    display: grid;
  }

  .fms-sales-btn {
    width: 100%;
  }

  .fms-sales-problem-grid,
  .fms-sales-feature-grid {
    grid-template-columns: 1fr;
  }

  .fms-sales-panel-card,
  .fms-sales-feature-card,
  .fms-sales-problem-card,
  .fms-sales-price-card,
  .fms-sales-cta-box {
    border-radius: 22px;
  }

  .fms-sales-price-card,
  .fms-sales-cta-box {
    padding: 34px 22px;
  }

  .fms-sales-price {
    font-size: 40px;
  }

  .fms-sales-pc-br {
    display: none;
  }
}

