/*
Theme Name: Glad Starlink Child
Theme URI: https://www.uchi52.com/providers/128/services/114
Description: Hello Elementor child theme for Glad Communication Starlink landing page.
Author: CrownCrown / Ouchi no Kouji
Template: hello-elementor
Version: 1.0.0
Text Domain: glad-starlink-child
*/

/* =========================================================
   Glad Communication Starlink LP
   Scope: .glad-starlink-lp
   ElementorのHTMLウィジェット内で各ブロックを分けて貼り付ける前提
   ========================================================= */

.glad-starlink-lp {
  --glad-navy: #16233a;
  --glad-blue: #2457a6;
  --glad-sky: #eaf4ff;
  --glad-ink: #182033;
  --glad-text: #2d3445;
  --glad-muted: #687386;
  --glad-line: #dce5ef;
  --glad-bg: #f7f9fc;
  --glad-white: #ffffff;
  --glad-accent: #f3b23c;
  --glad-radius-sm: 12px;
  --glad-radius: 20px;
  --glad-radius-lg: 28px;
  --glad-shadow: 0 16px 42px rgba(22, 35, 58, 0.12);
  --glad-shadow-soft: 0 10px 28px rgba(22, 35, 58, 0.08);
  color: var(--glad-text);
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic", YuGothic, "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
  line-height: 1.85;
  letter-spacing: 0.02em;
  background: var(--glad-white);
  overflow: hidden;
}

.glad-starlink-lp *,
.glad-starlink-lp *::before,
.glad-starlink-lp *::after {
  box-sizing: border-box;
}

.glad-starlink-lp a {
  color: inherit;
  text-decoration: none;
}

.glad-starlink-lp img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

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

.glad-section {
  position: relative;
  padding: 88px 0;
}

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

.glad-section--navy {
  background: var(--glad-navy);
  color: var(--glad-white);
}

.glad-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--glad-blue);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.4;
}

.glad-section--navy .glad-eyebrow,
.glad-hero .glad-eyebrow {
  color: #d8e8ff;
}

.glad-eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.glad-heading {
  margin: 0;
  color: var(--glad-ink);
  font-size: clamp(1.85rem, 3vw, 2.8rem);
  line-height: 1.35;
  font-weight: 800;
  letter-spacing: 0.035em;
}

.glad-section--navy .glad-heading,
.glad-hero .glad-heading {
  color: var(--glad-white);
}

.glad-lead {
  margin: 20px 0 0;
  color: var(--glad-text);
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 2;
}

.glad-section--navy .glad-lead,
.glad-hero .glad-lead {
  color: rgba(255, 255, 255, 0.88);
}

.glad-note {
  margin: 12px 0 0;
  color: var(--glad-muted);
  font-size: 0.92rem;
}

.glad-grid {
  display: grid;
  gap: 24px;
}

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

.glad-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.glad-card {
  position: relative;
  height: 100%;
  padding: 28px;
  border: 1px solid var(--glad-line);
  border-radius: var(--glad-radius);
  background: var(--glad-white);
  box-shadow: var(--glad-shadow-soft);
}

.glad-card h3 {
  margin: 0 0 12px;
  color: var(--glad-ink);
  font-size: 1.18rem;
  line-height: 1.5;
  font-weight: 800;
}

.glad-card p {
  margin: 0;
  color: var(--glad-text);
  font-size: 0.98rem;
  line-height: 1.9;
}

.glad-card--accent {
  border-color: rgba(36, 87, 166, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
}

.glad-card-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--glad-blue);
  color: var(--glad-white);
  font-weight: 800;
}

.glad-btn-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.glad-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--glad-accent);
  color: #1f2635;
  font-weight: 800;
  line-height: 1.4;
  box-shadow: 0 12px 24px rgba(243, 178, 60, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.glad-btn::after {
  content: "→";
  margin-left: 10px;
  font-weight: 800;
}

.glad-btn:hover,
.glad-btn:focus-visible {
  color: #1f2635;
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 16px 30px rgba(243, 178, 60, 0.3);
}

.glad-btn--secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--glad-white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.glad-btn--secondary:hover,
.glad-btn--secondary:focus-visible {
  color: var(--glad-white);
  background: rgba(255, 255, 255, 0.18);
  box-shadow: none;
}

/* Hero */
.glad-hero {
  position: relative;
  min-height: 640px;
  display: grid;
  align-items: center;
  padding: 96px 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(243, 178, 60, 0.28), transparent 30%),
    radial-gradient(circle at 14% 18%, rgba(98, 164, 255, 0.24), transparent 28%),
    linear-gradient(135deg, #111b30 0%, #1a3768 54%, #0f1a2d 100%);
  color: var(--glad-white);
}

.glad-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.7), transparent 90%);
  pointer-events: none;
}

.glad-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 48px;
  align-items: center;
}

.glad-hero__title {
  margin: 0;
  font-size: clamp(2.1rem, 4.5vw, 4.25rem);
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.glad-hero__title span {
  color: #f8c96a;
}

.glad-hero__lead {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.02rem, 1.65vw, 1.22rem);
  line-height: 2;
}

.glad-hero__panel {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--glad-radius-lg);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: var(--glad-shadow);
  backdrop-filter: blur(12px);
}

.glad-hero__panel-title {
  margin: 0 0 16px;
  color: var(--glad-white);
  font-size: 1.25rem;
  font-weight: 800;
}

.glad-hero__list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.glad-hero__list li {
  position: relative;
  padding-left: 26px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.75;
}

.glad-hero__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--glad-accent);
  box-shadow: 0 0 0 5px rgba(243, 178, 60, 0.15);
}

.glad-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.glad-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.88rem;
  font-weight: 700;
}

/* Intro */
.glad-intro__box {
  padding: 38px;
  border-radius: var(--glad-radius-lg);
  background: linear-gradient(135deg, #ffffff 0%, #eef6ff 100%);
  border: 1px solid rgba(36, 87, 166, 0.14);
  box-shadow: var(--glad-shadow-soft);
}

.glad-intro__box p:last-child {
  margin-bottom: 0;
}

/* Split layout */
.glad-split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 44px;
  align-items: start;
}

.glad-check-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.glad-check-list li {
  position: relative;
  padding: 16px 18px 16px 48px;
  border-radius: var(--glad-radius-sm);
  background: var(--glad-white);
  border: 1px solid var(--glad-line);
  box-shadow: 0 8px 20px rgba(22, 35, 58, 0.05);
}

.glad-check-list li::before {
  content: "✓";
  position: absolute;
  left: 18px;
  top: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--glad-blue);
  color: var(--glad-white);
  font-size: 0.8rem;
  font-weight: 900;
}

/* Service */
.glad-service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 30px;
}

.glad-service-item {
  padding: 20px;
  border-radius: var(--glad-radius-sm);
  background: var(--glad-white);
  border: 1px solid var(--glad-line);
}

.glad-service-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--glad-ink);
  font-size: 1.02rem;
}

.glad-service-item span {
  display: block;
  color: var(--glad-muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

/* Area */
.glad-area-box {
  display: grid;
  gap: 22px;
  padding: 36px;
  border-radius: var(--glad-radius-lg);
  background: var(--glad-white);
  border: 1px solid rgba(36, 87, 166, 0.18);
  box-shadow: var(--glad-shadow-soft);
}

.glad-area-main {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.glad-area-main li {
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--glad-sky);
  color: var(--glad-blue);
  font-weight: 800;
}

/* Flow */
.glad-flow {
  counter-reset: glad-flow;
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.glad-flow__item {
  counter-increment: glad-flow;
  position: relative;
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
  padding: 24px;
  border-radius: var(--glad-radius);
  background: var(--glad-white);
  border: 1px solid var(--glad-line);
  box-shadow: var(--glad-shadow-soft);
}

.glad-flow__item::before {
  content: counter(glad-flow, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--glad-navy);
  color: var(--glad-white);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.glad-flow__item h3 {
  margin: 0 0 6px;
  color: var(--glad-ink);
  font-size: 1.12rem;
  font-weight: 800;
}

.glad-flow__item p {
  margin: 0;
  color: var(--glad-muted);
  font-size: 0.96rem;
  line-height: 1.8;
}

/* Company */
.glad-company-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--glad-radius);
  background: var(--glad-white);
  box-shadow: var(--glad-shadow-soft);
}

.glad-company-table th,
.glad-company-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--glad-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.8;
}

.glad-company-table tr:last-child th,
.glad-company-table tr:last-child td {
  border-bottom: none;
}

.glad-company-table th {
  width: 30%;
  background: #f2f6fb;
  color: var(--glad-ink);
  font-weight: 800;
}

.glad-company-table td {
  color: var(--glad-text);
}

/* CTA */
.glad-cta {
  position: relative;
  padding: 70px 0;
  background:
    radial-gradient(circle at 86% 12%, rgba(243, 178, 60, 0.26), transparent 30%),
    linear-gradient(135deg, var(--glad-navy), #214d8d);
  color: var(--glad-white);
}

.glad-cta__box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.glad-cta h2 {
  margin: 0;
  color: var(--glad-white);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.4;
  font-weight: 900;
}

.glad-cta p {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.9;
}

/* Footer */
.glad-footer {
  padding: 34px 0;
  background: #0d1525;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.92rem;
}

.glad-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
}

.glad-footer strong {
  color: var(--glad-white);
}

/* Elementor調整 */
.elementor-widget-html .glad-starlink-lp,
.elementor-widget-html .glad-section,
.elementor-widget-html .glad-hero,
.elementor-widget-html .glad-cta,
.elementor-widget-html .glad-footer {
  width: 100%;
}

/* Responsive */
@media (max-width: 1024px) {
  .glad-section {
    padding: 72px 0;
  }

  .glad-hero {
    min-height: auto;
    padding: 84px 0;
  }

  .glad-hero__inner,
  .glad-split,
  .glad-cta__box {
    grid-template-columns: 1fr;
  }

  .glad-hero__panel {
    max-width: 680px;
  }

  .glad-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .glad-container {
    width: min(100% - 28px, 1120px);
  }

  .glad-section {
    padding: 56px 0;
  }

  .glad-hero {
    padding: 64px 0;
  }

  .glad-hero__inner {
    gap: 32px;
  }

  .glad-hero__panel,
  .glad-intro__box,
  .glad-area-box {
    padding: 24px;
    border-radius: 22px;
  }

  .glad-card {
    padding: 24px;
  }

  .glad-grid--2,
  .glad-grid--3,
  .glad-service-list {
    grid-template-columns: 1fr;
  }

  .glad-flow__item {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .glad-flow__item::before {
    width: 52px;
    height: 52px;
  }

  .glad-company-table,
  .glad-company-table tbody,
  .glad-company-table tr,
  .glad-company-table th,
  .glad-company-table td {
    display: block;
    width: 100%;
  }

  .glad-company-table th {
    padding-bottom: 8px;
    border-bottom: none;
  }

  .glad-company-table td {
    padding-top: 0;
  }

  .glad-btn-wrap,
  .glad-cta__box {
    align-items: stretch;
  }

  .glad-btn {
    width: 100%;
  }

  .glad-footer__inner {
    display: grid;
    gap: 8px;
  }
}
