/*
Theme Name: Be Original
Theme URI: https://be-original.co.jp
Author: 株式会社Be Original
Author URI: https://be-original.co.jp
Description: 株式会社Be Originalコーポレートサイト用WordPressテーマ。マーケティング支援とマーケティングスクールを展開する企業のためのカスタムテーマです。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: be-original
Tags: custom-menu, custom-logo, featured-images, translation-ready
*/
@charset "UTF-8";

/* ============================================================
   Be Original Inc. Corporate Site - Premium Design System v2
   ============================================================
   Primary (navy):       #1a2744
   Navy mid:             #223458
   Navy light:           #2a3f66
   Accent (blue):        #3d6cb9
   Accent vibrant:       #4a7fd4
   Accent light:         #e8f0fe
   Accent ultra-light:   #f0f5ff
   Text:                 #2d3748
   Text light:           #64748b
   Background gray:      #f7f8fa
   Background subtle:    #fafbfc
   Border:               #e2e8f0
   Border light:         #edf2f7
   Max width:            1100px
   Font:                 "Noto Sans JP", sans-serif
   Breakpoints:          480 / 768 / 1024 / 1400
   ============================================================ */


/* ============================================================
   0. Custom Properties
   ============================================================ */

:root {
  --navy: #1a2744;
  --navy-mid: #223458;
  --navy-light: #2a3f66;
  --navy-deep: #111c33;
  --accent: #3d6cb9;
  --accent-vibrant: #4a7fd4;
  --accent-light: #e8f0fe;
  --accent-ultra-light: #f0f5ff;
  --text: #2d3748;
  --text-light: #64748b;
  --text-lighter: #94a3b8;
  --bg-gray: #f7f8fa;
  --bg-subtle: #fafbfc;
  --border: #e2e8f0;
  --border-light: #edf2f7;
  --white: #fff;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 1px 3px rgba(26, 39, 68, 0.04), 0 1px 2px rgba(26, 39, 68, 0.06);
  --shadow-md: 0 4px 6px rgba(26, 39, 68, 0.04), 0 10px 24px rgba(26, 39, 68, 0.06);
  --shadow-lg: 0 8px 16px rgba(26, 39, 68, 0.04), 0 20px 48px rgba(26, 39, 68, 0.08);
  --shadow-xl: 0 12px 24px rgba(26, 39, 68, 0.06), 0 32px 64px rgba(26, 39, 68, 0.1);
  --shadow-accent: 0 8px 24px rgba(61, 108, 185, 0.2);
  --transition-fast: 0.2s ease-out;
  --transition-base: 0.25s ease-out;
  --transition-slow: 0.4s ease-out;
  --transition-smooth: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --gradient-navy: linear-gradient(135deg, #111c33 0%, #1a2744 30%, #2a3f66 100%);
  --gradient-accent: linear-gradient(135deg, #3d6cb9 0%, #4a7fd4 50%, #6b93d4 100%);
  --gradient-hero: linear-gradient(145deg, #0f1829 0%, #1a2744 35%, #2a3f66 70%, #1e3355 100%);
  --gradient-cta: linear-gradient(145deg, #111c33 0%, #1a2744 40%, #2a3f66 100%);
}


/* ============================================================
   0.1 Global Polish
   ============================================================ */

::selection {
  background: rgba(61, 108, 185, 0.2);
  color: var(--navy);
}

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-gray);
}

::-webkit-scrollbar-thumb {
  background: #c1cdd9;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #a0aec0;
}


/* ============================================================
   1. Reset & Base
   ============================================================ */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

ul, ol {
  list-style: none;
}


/* ============================================================
   2. Layout
   ============================================================ */

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section--gray {
  background: var(--bg-gray);
  position: relative;
}

.section--gray::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(61, 108, 185, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.section__title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
  line-height: 1.5;
  position: relative;
}

.section__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gradient-accent);
  border-radius: 2px;
  margin: 16px auto 0;
}

.section__subtitle {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  text-align: center;
  margin-bottom: 10px;
  padding: 5px 16px;
  border: 1px solid rgba(61, 108, 185, 0.2);
  border-radius: 20px;
  background: rgba(61, 108, 185, 0.04);
}

.section__lead {
  font-size: 0.95rem;
  color: var(--text-light);
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .section {
    padding: 72px 0;
  }
  .section__title {
    font-size: 1.4rem;
  }
  .section__lead {
    margin-bottom: 40px;
  }
}


/* ============================================================
   3. Section Bridge Images (between sections)
   ============================================================ */

.section-bridge {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.95) saturate(0.9);
  margin: -1px 0;
}

@media (max-width: 1024px) {
  .section-bridge {
    height: 180px;
  }
}

@media (max-width: 768px) {
  .section-bridge {
    height: 140px;
  }
}

@media (max-width: 480px) {
  .section-bridge {
    height: 110px;
  }
}


/* ============================================================
   3.1 Hero Background Image
   ============================================================ */

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.18;
  z-index: 0;
  mix-blend-mode: soft-light;
  filter: saturate(0.6);
}


/* ============================================================
   3.2 CTA Background Image
   ============================================================ */

.cta__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.12;
  z-index: 0;
  mix-blend-mode: soft-light;
  filter: saturate(0.5);
}


/* ============================================================
   3.3 Sub-page Visual (below page-header)
   ============================================================ */

.page-visual {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.95) saturate(0.9);
}

@media (max-width: 1024px) {
  .page-visual {
    height: 260px;
  }
}

@media (max-width: 768px) {
  .page-visual {
    height: 200px;
  }
}


/* ============================================================
   4. Header
   ============================================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.5);
  transition: box-shadow 0.4s ease, background 0.4s ease;
}

.header.is-scrolled {
  box-shadow: 0 1px 4px rgba(26, 39, 68, 0.04), 0 4px 16px rgba(26, 39, 68, 0.06);
  background: rgba(255, 255, 255, 0.98);
}

.header__inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.header__logo {
  display: flex;
  align-items: center;
  transition: opacity var(--transition-base);
  flex-shrink: 0;
}

.header__logo img {
  height: 34px;
  width: auto;
  display: block;
  object-fit: contain;
}

@media (min-width: 1024px) {
  .header__logo img {
    height: 38px;
  }
}

.header__logo:hover {
  opacity: 0.8;
}

.header__logo span {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.header__nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  position: relative;
  transition: color var(--transition-base);
  padding: 4px 0;
  white-space: nowrap;
}

.header__nav a:not(.header__cta)::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 1px;
  transition: width 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), left 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.header__nav a:hover {
  color: var(--accent);
}

.header__nav a:not(.header__cta):hover::after {
  width: 100%;
  left: 0;
}

.header__nav a.header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 22px;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  line-height: 1;
}

.header__nav a.header__cta::after {
  display: none !important;
}

.header__nav a.header__cta:hover {
  transform: translateY(-1px);
}

.header__nav a.header__cta--outline {
  color: var(--navy);
  background: transparent;
  border: 1.5px solid var(--navy);
  margin-left: 10px;
  margin-right: -20px;
}

.header__nav a.header__cta--outline:hover {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(26, 39, 68, 0.2);
}

.header__nav a.header__cta--accent {
  color: var(--white);
  background: linear-gradient(135deg, #3d6cb9 0%, #4a7fd4 100%);
  border: 1.5px solid transparent;
}

.header__nav a.header__cta--accent:hover {
  color: var(--white);
  box-shadow: 0 4px 16px rgba(61, 108, 185, 0.3);
  filter: brightness(1.05);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 1024px) {
  .header__nav {
    gap: 16px;
  }
  .header__nav a {
    font-size: 0.78rem;
  }
  .header__nav a.header__cta {
    padding: 8px 16px;
    font-size: 0.75rem;
  }
}

@media (max-width: 768px) {
  .header__inner {
    height: 60px;
  }

  .hamburger {
    display: flex;
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 88px 32px 40px;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.08);
  }

  .header__nav.active {
    transform: translateX(0);
  }

  .header__nav a {
    font-size: 0.95rem;
    padding: 16px 0;
    width: 100%;
    border-bottom: 1px solid var(--border-light);
  }

  .header__nav a::after {
    display: none;
  }

  .header__nav a.header__cta {
    margin-top: 16px;
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .header__nav a.header__cta:hover {
    transform: none;
  }
}


/* ============================================================
   5. Hero
   ============================================================ */

.hero {
  position: relative;
  background: var(--gradient-hero);
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding: 160px 0 120px;
  overflow: hidden;
  color: var(--white);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: 1;
}

.hero::after {
  content: "";
  position: absolute;
  top: -15%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(61, 108, 185, 0.2) 0%, rgba(74, 127, 212, 0.08) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  animation: hero-orb-float 12s ease-in-out infinite alternate;
}

@keyframes hero-orb-float {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-30px, 20px) scale(1.05); }
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero .container::before {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -120px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(61, 108, 185, 0.12) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.hero__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 7px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
}

.hero__title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 28px;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.15);
}

.hero__title .br-sp {
  display: none;
}

.hero__title em {
  font-style: normal;
  color: #e8f0fe;
  background: linear-gradient(transparent 60%, rgba(61, 108, 185, 0.3) 60%);
}

.hero__text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 48px;
  max-width: 560px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.hero__buttons {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .hero {
    min-height: auto;
    padding: 130px 0 80px;
  }
  .hero__title {
    font-size: 1.85rem;
    letter-spacing: 0.02em;
  }
  .hero__title .br-sp {
    display: inline;
  }
  .hero__text {
    font-size: 0.9rem;
  }
  .hero__buttons {
    flex-direction: column;
  }
  .hero__buttons .btn {
    width: 100%;
    justify-content: center;
  }
}


/* ============================================================
   6. Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 36px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: inherit;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  text-align: center;
  line-height: 1;
  letter-spacing: 0.02em;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* 暗背景用：白ベース */
.btn--primary {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}

.btn--primary:hover {
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

/* 暗背景用：透明 */
.btn--outline {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  font-weight: 600;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

/* 明背景用：ネイビー塗り */
.btn--navy {
  background: var(--navy);
  color: var(--white);
}

.btn--navy:hover {
  background: var(--navy-mid);
  box-shadow: 0 6px 20px rgba(26, 39, 68, 0.2);
}

/* アクセントカラー */
.btn--accent {
  background: var(--accent);
  color: var(--white);
}

.btn--accent:hover {
  background: var(--accent-vibrant);
  box-shadow: 0 6px 20px rgba(61, 108, 185, 0.25);
}

.hero__buttons .btn,
.cta__buttons .btn {
  padding: 16px 40px;
  font-size: 0.92rem;
}


/* ============================================================
   7. Feature Cards (Top Page)
   ============================================================ */

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

.feature-card {
  text-align: center;
  padding: 44px 32px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth), border-color var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.feature-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: rgba(61, 108, 185, 0.15);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, #e8f0fe 0%, #d4e3fc 100%);
  border-radius: 50%;
  margin-bottom: 24px;
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.feature-card:hover .feature-card__icon {
  transform: scale(1.08);
  box-shadow: 0 4px 16px rgba(61, 108, 185, 0.15);
}

.feature-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.5;
}

.feature-card__text {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.9;
}

@media (max-width: 1024px) {
  .feature-cards {
    gap: 20px;
  }
  .feature-card {
    padding: 36px 24px;
  }
}

@media (max-width: 768px) {
  .feature-cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .feature-card {
    padding: 32px 24px;
  }
}


/* ============================================================
   8. Problems Section
   ============================================================ */

.problems__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 720px;
  margin: 0 auto 32px;
}

.problems__item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 22px 28px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.8;
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.problems__item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
  border-color: rgba(61, 108, 185, 0.15);
}

.problems__item::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 12px;
  background: var(--gradient-accent);
  border-radius: 50%;
}

.problems__note {
  text-align: center;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 40px;
  line-height: 1.6;
}


/* ============================================================
   8.5 Service Area Cards (Top Page - 対応領域)
   ============================================================ */

.service-area-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-area-card {
  padding: 32px 28px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth), border-color var(--transition-smooth);
  position: relative;
}

.service-area-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(61, 108, 185, 0.15);
}

.service-area-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #e8f0fe 0%, #d4e3fc 100%);
  border-radius: var(--radius-md);
  margin-bottom: 18px;
  color: var(--accent);
  transition: transform var(--transition-base);
}

.service-area-card:hover .service-area-card__icon {
  transform: scale(1.08);
}

.service-area-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.5;
}

.service-area-card__text {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* 5カードの場合、最後2枚を中央寄せ */
.service-area-cards > :nth-child(4) {
  grid-column: 1 / 2;
}

.service-area-cards > :nth-child(5) {
  grid-column: 2 / 3;
}

@media (max-width: 1024px) {
  .service-area-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .service-area-cards > :nth-child(4),
  .service-area-cards > :nth-child(5) {
    grid-column: auto;
  }
  /* 5枚目を中央に */
  .service-area-cards > :nth-child(5) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .service-area-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .service-area-cards > :nth-child(5) {
    max-width: 100%;
  }
  .service-area-card {
    padding: 24px 20px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }
  .service-area-card__icon {
    margin-bottom: 0;
    flex-shrink: 0;
  }
}


/* ============================================================
   9. Service (service.html)
   ============================================================ */

.service-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 56px 0;
  border-bottom: 1px solid var(--border-light);
}

.service-item:last-child {
  border-bottom: none;
}

.service-item:nth-child(even) {
  direction: rtl;
}

.service-item:nth-child(even) > * {
  direction: ltr;
}

.service-item__content {
  display: flex;
  flex-direction: column;
}

.service-item__visual {
  background: linear-gradient(135deg, #e8f0fe 0%, #dce8fa 100%);
  border-radius: var(--radius-md);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.service-item:hover .service-item__visual {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.service-item__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.service-item__num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.service-item__num::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: var(--accent);
  opacity: 0.4;
}

.service-item__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  line-height: 1.5;
}

.service-item__subtitle {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.5;
}

.service-item__text {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.95;
  margin-bottom: 24px;
}

.service-item__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-item__tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-ultra-light);
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(61, 108, 185, 0.1);
  transition: all var(--transition-base);
}

.service-item__tag:hover {
  background: var(--accent-light);
  border-color: rgba(61, 108, 185, 0.2);
}

@media (max-width: 768px) {
  .service-item {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 40px 0;
  }
  .service-item:nth-child(even) {
    direction: ltr;
  }
  .service-item__title {
    font-size: 1.15rem;
  }
}


/* ============================================================
   10. Flow
   ============================================================ */

.flow__steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

/* ステップ間を結ぶ横線 */
.flow__steps::before {
  content: "";
  position: absolute;
  top: 48px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: linear-gradient(90deg, var(--accent-light), var(--accent), var(--accent-light));
  opacity: 0.4;
  z-index: 0;
}

.flow__step {
  text-align: center;
  padding: 0;
  background: transparent;
  border: none;
  position: relative;
  z-index: 1;
}

.flow__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--gradient-navy);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 4px 16px rgba(26, 39, 68, 0.2);
  letter-spacing: 0.04em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow__step:hover .flow__step-num {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(26, 39, 68, 0.3);
}

.flow__step-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.flow__step-text {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.7;
  max-width: 200px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .flow__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 24px;
  }
  .flow__steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .flow__steps {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .flow__step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    text-align: left;
  }
  .flow__step-num {
    flex-shrink: 0;
    margin-bottom: 0;
    width: 48px;
    height: 48px;
  }
  .flow__step-text {
    max-width: none;
    margin: 0;
  }
}


/* ============================================================
   11. Results / Numbers
   ============================================================ */

.results__numbers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.result-num {
  text-align: center;
  padding: 36px 16px;
  border-radius: var(--radius-md);
  transition: transform var(--transition-base);
}

.result-num:hover {
  transform: translateY(-4px);
}

.result-num__value {
  font-size: 3rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
  margin-bottom: 10px;
}

/* テキスト型の数値（「圏外→10位」など） */
.result-num__value--text {
  font-size: 1.6rem;
}

.result-num__label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

@media (max-width: 1024px) {
  .results__numbers {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .results__numbers {
    gap: 20px;
  }
  .result-num__value {
    font-size: 2.2rem;
  }
  .result-num__value--text {
    font-size: 1.3rem;
  }
}


/* ============================================================
   12. Case Cards
   ============================================================ */

.case-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.case-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth), border-color var(--transition-smooth);
}

.case-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: rgba(61, 108, 185, 0.12);
}

.case-card__header {
  background: var(--gradient-navy);
  color: var(--white);
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.case-card__header::after {
  content: "";
  position: absolute;
  top: -20px;
  right: -20px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(61, 108, 185, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.case-card__industry {
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.case-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.6;
}

.case-card__body {
  padding: 28px;
}

.case-card__body dt {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 14px;
}

.case-card__body dt:first-child {
  margin-top: 0;
}

.case-card__body dd {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.7;
  margin-top: 4px;
}

.case-card__result {
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 1024px) {
  .case-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  /* 3枚目を中央配置 */
  .case-cards > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 50%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .case-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .case-cards > :last-child:nth-child(odd) {
    max-width: 100%;
  }
}


/* ============================================================
   13. Strengths
   ============================================================ */

.strengths__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.strength-card {
  display: flex;
  gap: 24px;
  padding: 36px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth), border-color var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.strength-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.strength-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(61, 108, 185, 0.12);
}

.strength-card:hover::before {
  opacity: 1;
}

.strength-card__num {
  flex-shrink: 0;
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #dce8fa, #e8f0fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.strength-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.55;
}

.strength-card__text {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.9;
}

@media (max-width: 768px) {
  .strengths__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .strength-card {
    padding: 28px;
  }
}


/* ============================================================
   14. Company
   ============================================================ */

.company__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.company__message p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 2.0;
  margin-bottom: 16px;
}

.company__message-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 28px;
}

.company__table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.company__table th,
.company__table td {
  padding: 18px 24px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-light);
  text-align: left;
  vertical-align: top;
}

.company__table tr:last-child th,
.company__table tr:last-child td {
  border-bottom: none;
}

.company__table th {
  width: 120px;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-gray);
}

.company__table td {
  color: var(--text);
  background: var(--white);
}

.company__table tbody tr {
  transition: background var(--transition-fast);
}

.company__table tbody tr:hover td {
  background: var(--accent-ultra-light);
}

.company__table tbody tr:hover th {
  background: #eef2f7;
}

@media (max-width: 768px) {
  .company__content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .company__table th {
    width: 100px;
    padding: 14px 16px;
  }
  .company__table td {
    padding: 14px 16px;
  }
}


/* ============================================================
   15. Column / Blog
   ============================================================ */

.column__filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.column__filter-btn {
  display: inline-flex;
  padding: 9px 22px;
  font-size: 0.8rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--text-light);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  cursor: pointer;
  transition: all var(--transition-base);
}

.column__filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-ultra-light);
}

.column__filter-btn.active {
  background: var(--gradient-navy);
  color: var(--white);
  border-color: var(--navy);
}

.column__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.column-card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth), border-color var(--transition-smooth);
}

.column-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
  border-color: rgba(61, 108, 185, 0.12);
}

.column-card__thumb {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #e8f0fe 0%, #dce8fa 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  overflow: hidden;
}

.column-card__category {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-ultra-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin: 18px 22px 10px;
  letter-spacing: 0.02em;
}

.column-card__title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  padding: 0 22px;
  margin-bottom: 8px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.column-card__meta {
  display: block;
  font-size: 0.75rem;
  color: var(--text-lighter);
  padding: 0 22px;
  margin-bottom: 10px;
}

.column-card__excerpt {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.8;
  padding: 0 22px 22px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 1024px) {
  .column__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .column__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


/* ============================================================
   16. Article Page
   ============================================================ */

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px;
}

.article__header {
  margin-bottom: 48px;
}

.article__header h1 {
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.6;
  margin-bottom: 18px;
}

.article__meta {
  font-size: 0.8rem;
  color: var(--text-lighter);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.article__body {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 2.1;
}

.article__body h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin: 56px 0 24px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--accent-light);
  position: relative;
}

.article__body h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--gradient-accent);
}

.article__body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin: 40px 0 18px;
  padding-left: 14px;
  border-left: 3px solid var(--accent);
}

.article__body p {
  margin-bottom: 28px;
}

.article__body ul,
.article__body ol {
  margin-bottom: 28px;
  padding-left: 24px;
}

.article__body ul { list-style: disc; }
.article__body ol { list-style: decimal; }
.article__body li { margin-bottom: 10px; }

.article__body blockquote {
  margin: 28px 0;
  padding: 24px 28px;
  background: var(--bg-gray);
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--text-light);
}

.article__body img {
  border-radius: var(--radius-md);
  margin: 28px 0;
  box-shadow: var(--shadow-sm);
}

.article__cta {
  margin-top: 56px;
  padding: 40px;
  background: var(--bg-gray);
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid var(--border-light);
}

.related-articles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .article__header h1 {
    font-size: 1.3rem;
  }
  .related-articles {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* ============================================================
   17. School
   ============================================================ */

.school-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.school-feature {
  padding: 40px 32px;
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: box-shadow var(--transition-smooth), transform var(--transition-smooth), border-color var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.school-feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.school-feature:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(61, 108, 185, 0.12);
}

.school-feature:hover::before {
  opacity: 1;
}

.school-feature__num {
  font-size: 2.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #dce8fa, #e8f0fe);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
  line-height: 1;
}

.school-feature__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.5;
}

.school-feature__text {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.9;
}

.school-targets {
  max-width: 640px;
  margin: 0 auto;
}

.school-targets li {
  padding: 16px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform var(--transition-base);
}

.school-targets li:hover {
  transform: translateX(4px);
}

.school-targets li::before {
  content: "\2713";
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: var(--accent-ultra-light);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.7rem;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .school-features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}


/* ============================================================
   18. Contact Form
   ============================================================ */

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--white);
  padding: 48px 44px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: 28px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.form-group .required {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
  background: linear-gradient(135deg, #e53e3e, #c53030);
  padding: 2px 8px;
  border-radius: 10px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-subtle);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(61, 108, 185, 0.08), 0 0 0 1px rgba(61, 108, 185, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-lighter);
}

.form-group textarea {
  min-height: 180px;
  resize: vertical;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2364748b' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  padding-right: 44px;
}

.form-submit {
  text-align: center;
  margin-top: 36px;
}

.form-submit .btn {
  min-width: 280px;
  padding: 18px 40px;
  font-size: 0.95rem;
  background: var(--gradient-navy);
  border-color: var(--navy);
}

.form-submit .btn:hover {
  box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
  .contact-form {
    padding: 32px 24px;
    margin: 0 -4px;
  }
  .form-submit .btn {
    min-width: auto;
    width: 100%;
  }
}


/* ============================================================
   19. Page Header (Sub Pages)
   ============================================================ */

.page-header {
  background: var(--gradient-hero);
  padding: 140px 0 64px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.page-header::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(61, 108, 185, 0.15) 0%, transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

.page-header .container {
  position: relative;
  z-index: 1;
}

.page-header__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-header__sub {
  font-size: 0.75rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

@media (max-width: 768px) {
  .page-header {
    padding: 110px 0 48px;
  }
  .page-header__title {
    font-size: 1.5rem;
  }
}


/* ============================================================
   20. CTA Section
   ============================================================ */

.cta {
  background: var(--gradient-cta);
  padding: 100px 0;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      rgba(255, 255, 255, 0.015) 20px,
      rgba(255, 255, 255, 0.015) 40px
    );
  pointer-events: none;
}

.cta::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(61, 108, 185, 0.12) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.cta .container {
  position: relative;
  z-index: 1;
}

.cta__title {
  font-size: 1.85rem;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.03em;
}

.cta__text {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 36px;
  line-height: 1.9;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.cta__buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .cta {
    padding: 72px 0;
  }
  .cta__title {
    font-size: 1.4rem;
  }
  .cta__buttons {
    flex-direction: column;
    align-items: stretch;
    max-width: 320px;
    margin: 0 auto;
  }
}


/* ============================================================
   21. Footer
   ============================================================ */

.footer {
  background: var(--navy-deep);
  color: var(--white);
  padding: 64px 0 40px;
}

.footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
}

.footer__logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.footer__logo span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
}

.footer__nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.footer__nav a {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-base);
}

.footer__nav a::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 4px solid var(--accent);
  margin-left: 0;
  opacity: 0;
  transition: all var(--transition-base);
}

.footer__nav a:hover {
  color: var(--white);
}

.footer__nav a:hover::after {
  opacity: 1;
  margin-left: 6px;
}

.footer__copyright {
  width: 100%;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

@media (max-width: 768px) {
  .footer {
    padding: 48px 0 32px;
  }
  .footer__inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer__nav {
    justify-content: center;
    gap: 20px;
  }
  .footer__nav a::after {
    display: none;
  }
}


/* ============================================================
   22. Comparison Table (strength.html)
   ============================================================ */

.company__table[style*="min-width"],
table.comparison-table {
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.company__table[style*="min-width"] thead th,
table.comparison-table thead th {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 0.9rem;
}

.company__table[style*="min-width"] tbody td:nth-child(2) {
  background: var(--accent-ultra-light);
}

.company__table[style*="min-width"] tbody tr:hover td,
.company__table[style*="min-width"] tbody tr:hover th {
  background: rgba(61, 108, 185, 0.04);
}

.company__table[style*="min-width"] tbody tr:hover td:nth-child(2) {
  background: rgba(61, 108, 185, 0.1);
}


/* ============================================================
   23. Animations
   ============================================================ */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays controlled by JS - keep CSS minimal */
.section > .container > .fade-in:first-of-type {
  transition-delay: 0s;
}


/* ============================================================
   24. Utilities
   ============================================================ */

.text-center {
  text-align: center;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 2px;
}

@media (min-width: 1400px) {
  html {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }
  .hero__title {
    font-size: 1.65rem;
  }
  .section__title {
    font-size: 1.25rem;
  }
  .cta__title {
    font-size: 1.4rem;
  }
}


/* ============================================================
   25. Print Styles
   ============================================================ */

@media print {
  .header,
  .hamburger,
  .cta,
  .footer,
  .section-bridge,
  .page-visual {
    display: none;
  }
  .hero {
    min-height: auto;
    padding: 40px 0;
    background: #fff;
    color: #000;
  }
  .hero__bg,
  .cta__bg {
    display: none;
  }
  .section {
    padding: 32px 0;
  }
  .fade-in {
    opacity: 1;
    transform: none;
  }
}


/* ============================================================
   WP: Column Card Link & Thumbnail
   ============================================================ */

.column-card a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.column-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* ============================================================
   WP: Contact Form 7
   ============================================================ */

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100%;
  padding: 14px 18px;
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-subtle);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), background var(--transition-base);
  appearance: none;
  -webkit-appearance: none;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(61, 108, 185, 0.08), 0 0 0 1px rgba(61, 108, 185, 0.15);
}

.wpcf7 input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 280px;
  padding: 18px 40px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  color: var(--white);
  background: var(--gradient-navy);
  border: 1px solid var(--navy);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.wpcf7 input[type="submit"]:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .wpcf7 input[type="submit"] {
    min-width: auto;
    width: 100%;
  }
}


/* ============================================================
   WP: Pagination
   ============================================================ */

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 56px;
}

.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.pagination .page-numbers.current {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.pagination .page-numbers:hover:not(.current) {
  border-color: var(--accent);
  color: var(--accent);
}


/* ============================================================
   WP: Admin Bar Offset
   ============================================================ */

body.admin-bar .header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .header {
    top: 46px;
  }
}
