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

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


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

.hidden {
	display: none;
}

.hidden.pcBlock {
	display: inline;
}

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

	.hidden.spBlock {
		display: inline;
	}
}

/* =========================
   行政書士ホームページ構築システム HOME
========================= */

.gys-home {
  --gys-blue: #0b63b6;
  --gys-blue-dark: #063b73;
  --gys-blue-mid: #0f77d8;
  --gys-blue-soft: #eef7ff;
  --gys-blue-pale: #f7fbff;
  --gys-text: #123047;
  --gys-muted: #5a6f82;
  --gys-border: #d8e8f7;
  --gys-white: #ffffff;
  --gys-shadow: 0 18px 45px rgba(9, 65, 120, 0.12);

  width: 100vw;
  margin-top:-80px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  color: var(--gys-text);
  font-size: 16px;
  line-height: 1.8;
  overflow: hidden;
}

.gys-home * {
  box-sizing: border-box;
}

.gys-home a {
  text-decoration: none;
}

.gys-home h1,
.gys-home h2,
.gys-home h3,
.gys-home p {
  margin-top: 0;
}

.gys-home h1,
.gys-home h2,
.gys-home h3 {
  color: #062f5f;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.gys-home h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.35;
  margin-bottom: 16px;
  border: none !important;
  padding: 0 !important;
}

.gys-home h2::before,
.gys-home h2::after {
  display: none !important;
  content: none !important;
}

.gys-home h3 {
  font-size: 20px;
  line-height: 1.45;
  margin-bottom: 10px;
}

.gys-home p {
  color: var(--gys-muted);
}

.gys-container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* =========================
   First View
========================= */

.gys-hero {
  position: relative;
  padding: 96px 0 88px;
  background:
    radial-gradient(circle at 78% 18%, rgba(82, 162, 235, 0.20), transparent 32%),
    linear-gradient(135deg, #f8fbff 0%, #eaf5ff 58%, #ffffff 100%);
}

.gys-hero::before,
.gys-hero::after {
  display: none !important;
  content: none !important;
}

.gys-hero-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.gys-hero-text {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.gys-eyebrow,
.gys-section-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--gys-blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.gys-eyebrow::before,
.gys-eyebrow::after,
.gys-section-sub::before,
.gys-section-sub::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gys-blue);
  border-radius: 999px;
  flex: 0 0 34px;
}

.gys-section-head h2{
	font-size:2em !important;
}

.gys-hero-title {
  margin: 0 0 28px;
  color: #062f5f;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 0.8;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.gys-hero-title span {
  display: block;
}

@media (min-width: 900px) {
  .gys-hero-title span {
    white-space: nowrap;
  }
}

.gys-hero-lead {
  max-width: 780px;
  margin: 0 auto 32px;
  color: #405a75;
  font-size: 18px;
  line-height: 2;
}

.gys-hero-lead strong {
  color: var(--gys-blue-dark);
}

.gys-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin: 0 0 28px;
}

.gys-home .gys-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 178px;
  height: 56px;
  padding: 0 32px 16px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  white-space: nowrap;
  box-sizing: border-box;
  vertical-align: middle;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, filter 0.2s ease;
}

/* テーマ側の外部リンクアイコンなどで中央がズレるのを防止 */
.gys-home .gys-btn::before,
.gys-home .gys-btn::after {
  display: none !important;
  content: none !important;
}

.gys-home .gys-btn-primary {
  background: linear-gradient(135deg, var(--gys-blue), var(--gys-blue-mid));
  color: #fff !important;
  border: 1px solid var(--gys-blue);
  box-shadow: 0 12px 28px rgba(11, 99, 182, 0.28);
}

.gys-home .gys-btn-primary:hover {
  color: #fff !important;
  transform: translateY(-2px);
  filter: brightness(0.96);
}

.gys-home .gys-btn-outline {
  background: #fff;
  color: var(--gys-blue) !important;
  border: 1px solid var(--gys-blue);
}

.gys-home .gys-btn-outline:hover {
  background: var(--gys-blue-soft);
  color: var(--gys-blue) !important;
  transform: translateY(-2px);
}

.gys-home .gys-btn-white {
  background: #fff;
  color: var(--gys-blue) !important;
  border: 1px solid #fff;
}

.gys-home .gys-btn-white:hover {
  background: var(--gys-blue-soft);
  color: var(--gys-blue) !important;
  transform: translateY(-2px);
}

.gys-hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
}

.gys-hero-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 15px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--gys-border);
  color: #24527d;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

@media (max-width: 640px) {
  .gys-hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .gys-home .gys-btn {
    width: 100%;
    min-width: 0;
    height: 54px;
    padding: -20px 24px 0;
    font-size: 16px;
  }
}

/* =========================
   Common Section
========================= */

.gys-section {
  padding: 84px 0;
  background: #fff;
}

.gys-section-blue {
  background: var(--gys-blue-pale);
}

.gys-section-head {
  max-width: 800px;
  margin: 0 auto 44px;
  text-align: center;
}

.gys-section-head .gys-section-sub {
  justify-content: center;
}

.gys-section-head .gys-section-sub::after {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gys-blue);
  border-radius: 999px;
}

.gys-section-head p {
  font-size: 17px;
}

/* =========================
   Problem
========================= */

.gys-problem-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gys-problem-card {
  background: #fff;
  border: 1px solid var(--gys-border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(9, 65, 120, 0.08);
}

.gys-problem-card h3 {
  position: relative;
  padding-left: 34px;
}

.gys-problem-card h3 {
  position: relative;
  padding-left: 34px;
}

.gys-problem-card h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #eaf5ff;
  border: 1px solid #b9dcf8;
}

.gys-problem-card h3::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 9px;
  width: 7px;
  height: 12px;
  border-right: 3px solid var(--gys-blue);
  border-bottom: 3px solid var(--gys-blue);
  transform: rotate(45deg);
}

/* =========================
   Feature
========================= */

.gys-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gys-feature-card {
  background: #fff;
  border: 1px solid var(--gys-border);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 12px 32px rgba(9, 65, 120, 0.08);
}

.gys-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--gys-blue), var(--gys-blue-mid));
  color: #fff;
  font-weight: 900;
  margin-bottom: 18px;
  box-shadow: 0 10px 24px rgba(11, 99, 182, 0.24);
}

/* =========================
   Demo
========================= */

.gys-demo {
  margin-top:-30px;
  padding: 70px 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(255,255,255,0.18), transparent 30%),
    linear-gradient(135deg, var(--gys-blue-dark), var(--gys-blue));
  color: #fff;
}

.gys-demo h2,
.gys-demo p,
.gys-demo .gys-section-sub {
  color: #fff;
}

.gys-demo .gys-section-sub::before {
  background: #fff;
}

.gys-demo-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
}

.gys-demo p {
  max-width: 720px;
  opacity: 0.94;
}

.gys-demo-action {
  text-align: right;
}

/* =========================
   Flow
========================= */

.gys-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gys-flow-item {
  background: #fff;
  border: 1px solid var(--gys-border);
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 12px 32px rgba(9, 65, 120, 0.07);
}

.gys-flow-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--gys-blue);
  color: #fff;
  font-weight: 900;
  margin-bottom: 16px;
}

/* =========================
   Price
========================= */

.gys-price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.gys-price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--gys-border);
  border-radius: 26px;
  padding: 32px;
  box-shadow: 0 12px 32px rgba(9, 65, 120, 0.08);
}

.gys-price-recommend {
  border: 2px solid var(--gys-blue);
  transform: translateY(-8px);
}

.gys-recommend-label {
  display: inline-flex;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--gys-blue);
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 14px;
}

.gys-price-main {
  color: var(--gys-blue-dark) !important;
  font-size: 32px;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 18px;
}

.gys-price-note {
  text-align: center;
  margin: 26px auto 0;
  font-size: 14px;
}

/* =========================
   FAQ
========================= */

.gys-faq {
  max-width: 920px;
  margin: 0 auto;
}

.gys-faq-item {
  background: #fff;
  border: 1px solid var(--gys-border);
  border-radius: 20px;
  padding: 24px 26px;
  margin-bottom: 16px;
  box-shadow: 0 10px 26px rgba(9, 65, 120, 0.06);
}

.gys-faq-item h3 {
  margin-bottom: 8px;
}

/* =========================
   Final CTA
========================= */

.gys-final-cta {
  padding: 82px 0;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,0.18), transparent 28%),
    linear-gradient(135deg, #063b73, #0b63b6);
}

.gys-final-cta h2,
.gys-final-cta p {
  color: #fff;
}

.gys-final-cta p {
  max-width: 740px;
  margin: 0 auto 30px;
  opacity: 0.94;
}

.gys-center {
  justify-content: center;
}

/* =========================
   Responsive
========================= */

@media (max-width: 960px) {
  .gys-hero {
    padding: 78px 0 70px;
  }

  .gys-demo-inner {
    grid-template-columns: 1fr;
  }

  .gys-demo-action {
    text-align: left;
  }

  .gys-problem-grid,
  .gys-feature-grid,
  .gys-price-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

@media (max-width: 640px) {
  .gys-container,
  .gys-hero-inner {
    width: min(100% - 24px, 1120px);
  }

  .gys-hero {
    padding: 56px 0 54px;
  }

  .gys-hero-title {
    font-size: 31px;
    line-height: 1.35;
  }

  .gys-home h2 {
    font-size: 25px;
  }

  .gys-hero-lead {
    font-size: 16px;
    line-height: 1.9;
  }

  .gys-hero-buttons {
    display: grid;
    grid-template-columns: 1fr;
  }

  .gys-btn {
    width: 100%;
  }

  .gys-section {
    padding: 58px 0;
  }

  .gys-problem-grid,
  .gys-feature-grid,
  .gys-price-grid,
  .gys-flow {
    grid-template-columns: 1fr;
  }

  .gys-price-recommend {
    transform: none;
  }

  .gys-problem-card,
  .gys-feature-card,
  .gys-price-card,
  .gys-flow-item,
  .gys-faq-item {
    border-radius: 20px;
    padding: 24px;
  }

  .gys-final-cta {
    padding: 62px 0;
  }
}