@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Version: 4.0.0
*/

/* ============================
   Google Fonts
============================ */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* ============================
   CSS Variables
============================ */
:root {
  /* Light */
  --white:        #ffffff;
  --off-white:    #f8fafc;
  --border:       #e2e8f0;

  /* Text */
  --text-dark:    #0f172a;
  --text-mid:     #334155;
  --text-muted:   #64748b;

  /* Brand */
  --navy:         #0c1f3f;
  --navy-mid:     #1a3560;
  --blue:         #1d4ed8;
  --blue-bright:  #3b82f6;
  --blue-faint:   #eff6ff;

  /* Shadows */
  --shadow-sm:    0 1px 4px rgba(0,0,0,.06);
  --shadow-md:    0 4px 20px rgba(0,0,0,.08);
  --shadow-lg:    0 12px 40px rgba(0,0,0,.12);
  --shadow-blue:  0 8px 32px rgba(29,78,216,.15);

  --radius:       14px;
  --radius-sm:    8px;
  --radius-pill:  99px;
  --transition:   .25s ease;
}

/* ============================
   Base
============================ */
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-dark);
  font-feature-settings: "palt";
  -webkit-font-smoothing: antialiased;
}
a { transition: opacity .2s; }
a:hover { opacity: .75; }

/* ============================
   Section Layout
============================ */
.top-section-inner { padding: 5rem 0; }
.top-section-inner .section-lead {
  color: var(--text-muted);
  margin-top: -.25rem;
  margin-bottom: 3rem;
  font-size: 1rem;
  line-height: 1.9;
  max-width: 600px;
  margin-inline: auto;
}

/* ============================
   Section Labels
============================ */
.section-eyebrow {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: .6rem;
}

/* ============================
   Trust Bar
============================ */
.top-trust-bar {
  background: var(--navy);
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.top-trust-bar .wp-block-columns { align-items: center; gap: 0; }
.top-trust-bar .wp-block-column {
  border-right: 1px solid rgba(255,255,255,.08);
  padding: .75rem 1.5rem;
  text-align: center;
}
.top-trust-bar .wp-block-column:last-child { border-right: none; }
.trust-num {
  font-size: 2rem;
  font-weight: 900;
  color: #60a5fa;
  line-height: 1.1;
  display: block;
  letter-spacing: -.02em;
}
.trust-label {
  font-size: .72rem;
  color: #94a3b8;
  letter-spacing: .05em;
  display: block;
  margin-top: .2rem;
}

/* ============================
   Service Cards
============================ */
.service-card-wrap { gap: 1.5rem !important; align-items: stretch; }
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  padding-bottom: 1.75rem;
  border: 1px solid var(--border);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.service-card .wp-block-image { margin: 0; aspect-ratio: 4/3; overflow: hidden; }
.service-card .wp-block-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s;
}
.service-card:hover .wp-block-image img { transform: scale(1.04); }
.service-card-label {
  display: inline-block;
  background: var(--blue-faint);
  color: var(--blue);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  padding: .3rem .9rem;
  border-radius: var(--radius-pill);
  margin: 1.1rem auto .4rem;
}
.service-card h3, .service-card h2 {
  font-size: 1.25rem !important;
  margin-top: .5rem !important;
  font-weight: 900 !important;
  color: var(--text-dark) !important;
}
.service-card p {
  color: var(--text-muted);
  font-size: .875rem;
  padding: 0 1.25rem;
  line-height: 1.8;
}
.service-card .wp-block-list {
  padding: 0 1.25rem;
  color: var(--text-muted);
  font-size: .875rem;
  line-height: 2;
}

/* ============================
   Reason Cards
============================ */
.reason-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.25rem 1.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.reason-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.reason-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: .875rem;
  transition: transform .3s;
}
.reason-card:hover .reason-icon { transform: scale(1.15); }
.reason-card h3, .reason-card h4 {
  font-size: 1rem !important;
  color: var(--text-dark) !important;
  margin-bottom: .6rem !important;
  font-weight: 700 !important;
}
.reason-card p {
  font-size: .875rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.8;
}

/* ============================
   Stats
============================ */
.stat-card { text-align: center; padding: 2rem 1.5rem; }
.stat-number {
  font-size: 3.5rem !important;
  font-weight: 900 !important;
  color: #60a5fa !important;
  line-height: 1 !important;
  display: block;
  letter-spacing: -.03em;
}
.stat-unit { font-size: 1.4rem; font-weight: 700; color: #93c5fd; }
.stat-label {
  font-size: .82rem !important;
  color: #94a3b8 !important;
  margin-top: .6rem !important;
  letter-spacing: .04em;
}

/* ============================
   Industry Cards
============================ */
.industry-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem 1rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.industry-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: .6rem;
  transition: transform .3s;
}
.industry-card:hover .industry-icon { transform: scale(1.15); }
.industry-card p strong { font-size: .9rem; color: var(--text-dark); }

/* ============================
   Buttons
============================ */
.wp-block-button .wp-element-button {
  border-radius: var(--radius-pill) !important;
  font-weight: 700 !important;
  letter-spacing: .03em;
  transition: transform var(--transition), box-shadow var(--transition) !important;
}
.wp-block-button .wp-element-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue) !important;
}
.cta-btn-robot {
  background: var(--white) !important;
  color: var(--navy) !important;
  font-weight: 700 !important;
  box-shadow: var(--shadow-md) !important;
  border-radius: var(--radius-pill) !important;
}
.cta-btn-robot:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg) !important;
}
.cta-btn-ai {
  background: transparent !important;
  color: #fff !important;
  border: 1.5px solid rgba(255,255,255,.5) !important;
  border-radius: var(--radius-pill) !important;
}
.cta-btn-ai:hover {
  background: rgba(255,255,255,.1) !important;
  border-color: rgba(255,255,255,.85) !important;
  transform: translateY(-2px);
}

/* ============================
   Company Table
============================ */
.company-table table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.company-table th, .company-table td {
  border: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.7;
}
.company-table th { font-weight: 700; color: var(--text-dark); background: var(--off-white); }

/* ============================
   FAQ
============================ */
.wp-block-group.has-white-background-color {
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border) !important;
  transition: box-shadow var(--transition), border-color var(--transition);
  border-radius: var(--radius) !important;
}
.wp-block-group.has-white-background-color:hover {
  box-shadow: var(--shadow-md);
  border-color: #bfdbfe !important;
}
.wp-block-group.has-white-background-color h4 {
  color: var(--text-dark);
  font-size: 1rem !important;
}
.wp-block-group.has-white-background-color h4::before {
  content: 'Q. ';
  color: var(--blue);
  font-weight: 900;
}

/* ============================
   Hero Slider
============================ */
.l-mainVisual .swiper-slide { position: relative; }
.swell-block-mv__title {
  font-size: clamp(1.8rem, 4vw, 3rem) !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  letter-spacing: -.02em !important;
}
.swell-block-mv__subtitle {
  font-size: clamp(.9rem, 1.5vw, 1.05rem) !important;
}

/* ============================
   Navigation
============================ */
.l-header { backdrop-filter: blur(12px); }
.l-headerNav__link {
  font-weight: 700 !important;
  letter-spacing: .02em;
  position: relative;
  font-size: .9rem !important;
}
.l-headerNav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--blue-bright);
  transition: left .2s, right .2s;
  border-radius: 2px;
}
.l-headerNav__link:hover::after,
.l-headerNav__item.is-current .l-headerNav__link::after { left: 0; right: 0; }

/* ============================
   Footer
============================ */
.l-footer { border-top: 1px solid rgba(255,255,255,.06); }

/* ============================
   Flow Step
============================ */
.flow-step-num {
  width: 2.75rem; height: 2.75rem;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 1.1rem; font-weight: 900;
  line-height: 2.75rem; text-align: center;
  margin: 0 auto .75rem; display: block;
  box-shadow: 0 4px 12px rgba(29,78,216,.3);
}

/* ============================
   Plan Card
============================ */
.plan-card-rental {
  border: 2px solid var(--blue) !important;
  box-shadow: var(--shadow-blue) !important;
  position: relative;
}
.plan-card-rental::before {
  content: '人気No.1';
  position: absolute; top: -1px; right: 1.25rem;
  background: var(--blue);
  color: #fff; font-size: .68rem; font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 0 0 6px 6px;
}

/* ============================
   Dark Section Refinements
============================ */
[style*="background:#0c1f3f"],
[style*="background:#0b2351"],
[style*="background-color:#0c1f3f"],
[style*="background-color:#0b2351"] {
  background: linear-gradient(160deg, #0c1f3f 0%, #142d56 100%) !important;
}

/* ============================
   Scroll Reveal
============================ */
.taka-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.taka-reveal.is-visible { opacity: 1; transform: translateY(0); }
.taka-reveal-delay-1 { transition-delay: .1s; }
.taka-reveal-delay-2 { transition-delay: .2s; }
.taka-reveal-delay-3 { transition-delay: .3s; }
.taka-reveal-delay-4 { transition-delay: .35s; }

/* ============================
   AIスクール
============================ */
.aischool-hero { position: relative; overflow: hidden; }

/* ============================
   Responsive
============================ */
@media (max-width: 599px) {
  .top-section-inner { padding: 3rem 0; }
  .top-trust-bar .wp-block-column {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: .6rem 1rem;
  }
  .trust-num { font-size: 1.75rem; }
  .stat-number { font-size: 2.75rem !important; }
  .reason-card, .industry-card, .service-card { margin-bottom: .75rem; }
  .swell-block-mv__title { font-size: 1.8rem !important; }
}
@media (max-width: 768px) {
  .service-card-wrap { flex-direction: column; }
}

/* ============================
   Header — Always Navy Override
   SWELL の .l-header.-transparent を完全に上書き
============================ */
.l-header,
.l-header.-transparent,
.l-header.-series,
.l-header.-series-right,
.l-header.-sticky,
.l-header.-active,
body .l-header,
body.home .l-header,
body.home .l-header.-transparent {
  background: #0c1f3f !important;
  background-color: #0c1f3f !important;
}

.l-header__bar,
.l-header__barInner,
.l-header__inner,
.l-header.-transparent .l-header__bar,
.l-header.-transparent .l-header__inner {
  background: transparent !important;
  background-color: transparent !important;
}

/* テキスト・ロゴ・メニューを白に統一 */
.l-header,
.l-header a,
.l-header .c-headerLogo,
.l-header .c-headerLogo a,
.l-header .c-headerLogo__link,
.l-header .l-headerNav__link,
.l-header .l-headerNav__item > a,
.l-header__title,
.l-header__title a,
.l-header.-transparent,
.l-header.-transparent a,
.l-header.-transparent .l-headerNav__link {
  color: #ffffff !important;
}

/* SWELL の透過時のオーバーレイ削除 */
.l-header.-transparent::before,
.l-header.-transparent::after {
  display: none !important;
}

/* 最強優先度オーバーライド — SWELL のインラインCSSに勝つ */
html body header.l-header,
html body.home header.l-header,
html body header.l-header.-transparent,
html body.home header.l-header.-transparent,
html body header.l-header.-series,
html body.home header.l-header.-series {
  background: #0c1f3f !important;
  background-color: #0c1f3f !important;
  background-image: none !important;
  position: relative !important;
  border-bottom: 1px solid rgba(255,255,255,.07) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 14px 34px -16px rgba(6,12,26,.75) !important;
}

/* 固定/スティッキーヘッダーに */
html body header.l-header,
html body.home header.l-header {
  position: sticky !important;
  position: -webkit-sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  left: auto !important;
}

/* ヘッダーバーも濃紺で固定 */
html body .l-header__bar,
html body .l-header__bar.pc_,
html body.home .l-header__bar {
  background: #0c1f3f !important;
  background-color: #0c1f3f !important;
  color: #ffffff !important;
}
