/*
Theme Name: Chunichi Legend Hello Child
Theme URI: https://chu-nichi.bizinfo.network/
Description: Hello Elementor child theme for the Chunichi Legend Starlink landing page.
Author: CrownCrown / Chunichi Legend
Template: hello-elementor
Version: 1.0.0
Text Domain: chunichi-legend-hello-child
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

/* =========================================================
   Chunichi Legend Starlink LP styles
   Parent theme: Hello Elementor
   Usage: add the listed classes to Elementor containers/widgets.
   Main wrapper/body class: cl-starlink-lp
   ========================================================= */

:root {
  --cl-navy: #0b1f3a;
  --cl-navy-deep: #06152b;
  --cl-blue: #2f80ed;
  --cl-blue-soft: #eaf3ff;
  --cl-sky: #8ec5ff;
  --cl-white: #ffffff;
  --cl-bg: #f4f8fc;
  --cl-bg-2: #eef5fb;
  --cl-text: #1f2937;
  --cl-muted: #5b677a;
  --cl-border: #d8e2ee;
  --cl-gold: #f7b955;
  --cl-shadow: 0 14px 36px rgba(11, 31, 58, 0.08);
  --cl-shadow-strong: 0 20px 54px rgba(6, 21, 43, 0.18);
  --cl-radius: 20px;
  --cl-radius-sm: 14px;
  --cl-content: 1120px;
  --cl-font: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body,
button,
input,
textarea,
select {
  font-family: var(--cl-font);
}

body.cl-starlink-lp {
  color: var(--cl-text);
  background: var(--cl-white);
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

body.cl-starlink-lp a {
  color: var(--cl-blue);
  text-underline-offset: 0.18em;
}

body.cl-starlink-lp p {
  line-height: 1.9;
}

/* Elementor Canvas / container reset for LP */
body.cl-starlink-lp .elementor-section,
body.cl-starlink-lp .e-con {
  box-sizing: border-box;
}

/* =========================================================
   Hero
   Add class to the outermost hero container: cl-hero
   Optional: cl-hero--full for 100vh style
   ========================================================= */

.cl-hero {
  position: relative;
  min-height: 74vh;
  overflow: hidden;
  color: var(--cl-white);
  isolation: isolate;
}

.cl-hero--full {
  min-height: 100vh;
  min-height: 100svh;
}

.cl-hero .elementor-background-slideshow,
.cl-hero .elementor-background-overlay {
  z-index: 0;
}

.cl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 22% 18%, rgba(47, 128, 237, 0.22) 0%, rgba(47, 128, 237, 0) 28%),
    linear-gradient(90deg,
      rgba(6, 21, 43, 0.82) 0%,
      rgba(6, 21, 43, 0.64) 34%,
      rgba(6, 21, 43, 0.26) 68%,
      rgba(6, 21, 43, 0.08) 100%);
}

.cl-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.92) 100%);
  opacity: 0.88;
}

.cl-hero > .e-con-inner,
.cl-hero > .elementor-container,
.cl-hero .elementor-widget-wrap,
.cl-hero .elementor-widget,
.cl-hero .elementor-widget-container {
  position: relative;
  z-index: 2;
}

.cl-hero-content {
  max-width: 760px;
  padding: clamp(120px, 13vw, 180px) 24px clamp(88px, 10vw, 140px);
}

.cl-hero-kicker,
.cl-hero-kicker .elementor-heading-title {
  color: rgba(255,255,255,0.82);
  font-size: clamp(13px, 1.25vw, 16px);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

.cl-hero-title,
.cl-hero-title .elementor-heading-title {
  color: var(--cl-white);
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: 0.035em;
  text-shadow: 0 6px 28px rgba(0, 0, 0, 0.34);
  margin: 0;
}

.cl-hero-subtitle,
.cl-hero-subtitle .elementor-heading-title,
.cl-hero-lead,
.cl-hero-lead p {
  color: rgba(255,255,255,0.94);
  font-size: clamp(17px, 2vw, 26px);
  font-weight: 500;
  line-height: 1.8;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.32);
}

.cl-hero-lead,
.cl-hero-lead p {
  font-size: clamp(15px, 1.45vw, 18px);
  max-width: 620px;
}

.cl-hero-buttons .elementor-button,
.cl-button,
a.cl-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 24px;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.cl-hero-buttons .elementor-button,
.cl-button--primary,
a.cl-button--primary {
  background: var(--cl-blue);
  color: var(--cl-white);
  box-shadow: 0 12px 30px rgba(47, 128, 237, 0.34);
}

.cl-button--secondary,
a.cl-button--secondary {
  color: var(--cl-white);
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.42);
  backdrop-filter: blur(10px);
}

.cl-hero-buttons .elementor-button:hover,
.cl-button:hover,
a.cl-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(6, 21, 43, 0.22);
}

/* =========================================================
   Section basics
   ========================================================= */

.cl-section {
  padding: clamp(64px, 8vw, 96px) 20px;
}

.cl-section-light {
  background: var(--cl-bg);
}

.cl-section-dark {
  background: linear-gradient(135deg, var(--cl-navy-deep) 0%, var(--cl-navy) 100%);
  color: var(--cl-white);
}

.cl-inner {
  max-width: var(--cl-content);
  margin: 0 auto;
}

.cl-section-label {
  color: var(--cl-blue);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 10px;
}

.cl-section h2,
.cl-heading,
.cl-heading .elementor-heading-title {
  color: var(--cl-navy);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.42;
  letter-spacing: 0.02em;
  text-align: center;
  margin: 0 0 24px;
}

.cl-section-dark h2,
.cl-section-dark .cl-heading,
.cl-section-dark .cl-heading .elementor-heading-title {
  color: var(--cl-white);
}

.cl-lead,
.cl-lead p {
  max-width: 880px;
  margin: 0 auto 42px;
  font-size: 17px;
  line-height: 2;
  text-align: center;
  color: var(--cl-text);
}

.cl-section-dark .cl-lead,
.cl-section-dark .cl-lead p {
  color: rgba(255,255,255,0.86);
}

/* =========================================================
   Cards
   ========================================================= */

.cl-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: var(--cl-content);
  margin: 0 auto;
}

.cl-card-grid.four,
.cl-card-grid--four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.cl-card {
  position: relative;
  background: var(--cl-white);
  border-radius: var(--cl-radius);
  padding: 30px 28px;
  border: 1px solid rgba(11, 31, 58, 0.08);
  box-shadow: var(--cl-shadow);
  overflow: hidden;
}

.cl-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--cl-blue), var(--cl-sky));
}

.cl-card h3,
.cl-card .elementor-heading-title {
  color: var(--cl-navy);
  font-size: clamp(19px, 1.7vw, 22px);
  font-weight: 900;
  line-height: 1.45;
  margin: 0 0 12px;
}

.cl-card p {
  color: var(--cl-text);
  font-size: 15.5px;
  line-height: 1.9;
  margin: 0;
}

.cl-card--blue {
  background: linear-gradient(135deg, #f9fcff 0%, var(--cl-blue-soft) 100%);
}

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

.cl-feature-list {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 22px;
}

.cl-feature-list > div,
.cl-feature-item {
  border-left: 5px solid var(--cl-blue);
  padding: 20px 26px;
  background: var(--cl-white);
  box-shadow: 0 8px 24px rgba(11,31,58,0.06);
  border-radius: var(--cl-radius-sm);
}

.cl-feature-list h3,
.cl-feature-item h3 {
  margin: 0 0 8px;
  color: var(--cl-navy);
  font-size: 20px;
  font-weight: 900;
}

.cl-feature-list p,
.cl-feature-item p {
  margin: 0;
  color: var(--cl-text);
  line-height: 1.9;
}

/* =========================================================
   CTA block
   ========================================================= */

.cl-cta {
  position: relative;
  padding: clamp(56px, 7vw, 84px) 22px;
  background:
    radial-gradient(circle at 18% 20%, rgba(47,128,237,0.26), transparent 36%),
    linear-gradient(135deg, var(--cl-navy-deep) 0%, var(--cl-navy) 72%, #123c70 100%);
  color: var(--cl-white);
  overflow: hidden;
}

.cl-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, rgba(0,0,0,0.55), rgba(0,0,0,0.05));
  pointer-events: none;
}

.cl-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.cl-cta h2 {
  color: var(--cl-white);
  margin: 0 0 18px;
}

.cl-cta p {
  color: rgba(255,255,255,0.86);
  max-width: 760px;
  margin: 0 auto 28px;
  line-height: 2;
}

/* =========================================================
   Company section / table
   ========================================================= */

.cl-company-section {
  background: var(--cl-white);
  padding: clamp(64px, 8vw, 96px) 20px;
  color: var(--cl-text);
}

.cl-company-inner {
  max-width: 1080px;
  margin: 0 auto;
}

.cl-company-lead {
  max-width: 880px;
  margin: 0 auto 40px;
  font-size: 17px;
  line-height: 2;
  text-align: center;
  color: var(--cl-text);
}

.cl-company-table-wrap {
  background: var(--cl-bg);
  border: 1px solid var(--cl-border);
  border-radius: var(--cl-radius);
  padding: 28px;
  box-shadow: var(--cl-shadow);
}

.cl-company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--cl-white);
  border-radius: var(--cl-radius-sm);
  overflow: hidden;
}

.cl-company-table th,
.cl-company-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--cl-border);
  vertical-align: top;
  line-height: 1.85;
}

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

.cl-company-table th {
  width: 220px;
  background: var(--cl-navy);
  color: var(--cl-white);
  font-weight: 800;
  text-align: left;
  white-space: nowrap;
}

.cl-company-table td {
  color: var(--cl-text);
  background: var(--cl-white);
}

.cl-company-note {
  max-width: 860px;
  margin: 28px auto 0;
  color: var(--cl-muted);
  font-size: 15px;
  line-height: 1.9;
  text-align: center;
}

/* =========================================================
   FAQ / small note
   ========================================================= */

.cl-note {
  max-width: 920px;
  margin: 22px auto 0;
  padding: 16px 20px;
  border-radius: var(--cl-radius-sm);
  background: rgba(47, 128, 237, 0.08);
  border: 1px solid rgba(47, 128, 237, 0.18);
  color: var(--cl-muted);
  font-size: 14px;
  line-height: 1.8;
}

.cl-faq {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.cl-faq-item {
  background: var(--cl-white);
  border: 1px solid var(--cl-border);
  border-radius: var(--cl-radius-sm);
  padding: 22px 24px;
  box-shadow: 0 8px 22px rgba(11, 31, 58, 0.05);
}

.cl-faq-item h3 {
  margin: 0 0 8px;
  color: var(--cl-navy);
  font-size: 19px;
  font-weight: 900;
}

.cl-faq-item p {
  margin: 0;
}

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

@media (max-width: 1024px) {
  .cl-hero {
    min-height: 68vh;
  }

  .cl-hero-content {
    padding-top: 120px;
  }

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

@media (max-width: 767px) {
  .cl-hero {
    min-height: 72svh;
  }

  .cl-hero::before {
    background:
      linear-gradient(180deg,
        rgba(6, 21, 43, 0.82) 0%,
        rgba(6, 21, 43, 0.64) 52%,
        rgba(6, 21, 43, 0.18) 100%);
  }

  .cl-hero-content {
    padding: 108px 18px 92px;
  }

  .cl-hero-title,
  .cl-hero-title .elementor-heading-title {
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.28;
  }

  .cl-hero-subtitle,
  .cl-hero-subtitle .elementor-heading-title {
    font-size: 18px;
    line-height: 1.75;
  }

  .cl-section,
  .cl-company-section {
    padding: 64px 18px;
  }

  .cl-lead,
  .cl-lead p,
  .cl-company-lead,
  .cl-company-note {
    text-align: left;
  }

  .cl-card-grid,
  .cl-card-grid.four,
  .cl-card-grid--four {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .cl-card {
    padding: 26px 22px;
  }

  .cl-company-table-wrap {
    padding: 16px;
    border-radius: 16px;
  }

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

  .cl-company-table th {
    padding: 14px 16px 8px;
    border-bottom: none;
  }

  .cl-company-table td {
    padding: 12px 16px 18px;
  }

  .cl-company-table tr {
    border-bottom: 1px solid var(--cl-border);
  }

  .cl-company-table tr:last-child {
    border-bottom: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
