/*
Theme Name: WP MIN B2B
Description: AI登竜門 法人研修サイト WordPress Theme（corporate.ai-toryumon.com）
Author: hinata
Version: 1.0
*/

/* =====================================
   VibeCode Academy v2 - Complete CSS
   ===================================== */

/* ===== CSS Variables ===== */
:root {
  --color-primary: #2250C8;
  --color-primary-dark: #1A3FA0;
  --color-primary-light: #3A66D6;
  --color-text-dark: #000000;
  --color-text-light: #000000;
  --color-bg-light: #F3F7FC;
  --color-white: #ffffff;
  --color-border: #C5D5ED;
  --color-success: #27ae60;
  --color-danger: #e74c3c;

  /* Aidemy 方式: Mac/iPhone=Hiragino、Windows=Meiryo の OS 標準フォントを優先。
     Noto Sans JP は Web Font フォールバックとして残す。 */
  --font-main: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', meiryo, sans-serif;
  --font-display: 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', 'Noto Sans JP', meiryo, sans-serif;

  --transition: all 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
}

/* ===== Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text-dark);
  background-color: var(--color-white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

.container {
  /* 標準幅 1200px に戻す（広げすぎ感の解消） */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ===== Typography ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 1rem;
}

h1 {
  font-size: 3.5rem;
  font-family: var(--font-display);
}

h2 {
  font-size: 2.3rem;
  font-family: var(--font-display);
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.1rem;
}

p {
  margin-bottom: 1rem;
}

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

a:hover {
  color: var(--color-primary-dark);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-main);
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-cta-column {
  flex-direction: column;
  gap: 4px;
}

.btn-cta-column:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35);
  color: var(--color-white);
}

.btn-sub {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.9;
}

.btn-main-text i {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

.btn-cta-column:hover .btn-main-text i {
  transform: translateX(4px);
}

/* .btn-xl は CTA Section 内（後方）に統合済み */

.btn-block {
  width: 100%;
  display: flex;
}

/* ===== Section Styles ===== */
section {
  padding: 60px 0;
}

section:nth-child(even) {
  background-color: var(--color-bg-light);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  margin-bottom: 1rem;
  color: var(--color-text-dark);
  font-family: var(--font-display);
  /* Aidemy 仕様: weight 700 */
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.45;
}


.section-en-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto;
}

/* ===== Header & Navigation ===== */
.header {
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-text-dark);
}

.logo-icon {
  font-size: 1.8rem;
}

.logo-img {
  height: 65px;
  width: auto;
}

.logo-subtext {
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--color-text-light);
  font-weight: 700;       /* 500 → 700 で視認性強化 */
  letter-spacing: 0.02em;
}

.logo:hover .logo-subtext {
  color: var(--color-primary);
}

.logo:hover {
  color: var(--color-primary);
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-menu-header {
  display: none;
}

.nav-menu-list {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-menu-cta {
  margin-left: 30px;
}

.nav-menu a {
  color: var(--color-text-dark);
  font-weight: 700;      /* 500 → 700 でナビ視認性UP */
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--color-primary);
}

.nav-menu-list li a i {
  display: none;
}

.nav-menu-list li a i.nav-external-icon {
  display: inline;
  font-size: 0.7em;
  margin-left: 4px;
  opacity: 0.6;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 8px;     /* 4 → 8 で少し優しく */
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #fff !important;
  line-height: 1.3;
  white-space: nowrap;
}

.nav-cta-btn:hover {
  color: #fff !important;
}

/* 左：カレンダーアイコン / 右：chevron アイコンの大きさを揃える */
.nav-cta-btn i {
  font-size: 0.85rem;
  line-height: 1;
}

/* 右側 chevron は少し小さく＆距離を詰めて視覚的に「進む」感を出す */
.nav-cta-btn i.fa-chevron-right {
  font-size: 0.72rem;
  margin-left: 2px;
  transition: transform 0.2s ease;
}

.nav-cta-btn:hover i.fa-chevron-right {
  transform: translateX(3px);
}

.nav-cta-btn .btn-sub {
  font-size: 0.6rem;
  font-weight: 500;
}

.nav-menu-subtext {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1100;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--color-text-dark);
  border-radius: 2px;
  transition: 0.3s ease;
  transform-origin: center;
}

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

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

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

.nav-overlay {
  display: none;
}

/* ===== Hero Section ===== */
.hero {
  position: relative;
  background: url('images/mv01.jpg') center center / cover no-repeat;
  background-color: #1a1a2e;
  background-size: cover;
  background-position: center;
  padding: 100px 0 80px;
  min-height: 600px;
  display: flex;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0.6) 60%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
}

.hero-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.hero-container .hero-content {
  max-width: 520px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 20px;
  width: fit-content;
}

.badge-icon {
  font-size: 1rem;
}

.hero-title {
  margin-bottom: 20px;
  line-height: 1.4;
  color: #ffffff;
}

.hero-title .highlight {
  color: var(--color-primary);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 30px;
  line-height: 1.8;
}

/* Hero price inline */
.hero-price-inline {
  color:  #fff;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 30px;
}

.hero-price-gap {
  display: inline-block;
  width: 8px;
}

.hero-price-amount {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--color-white);
}

.hero-price-yen {
  font-size: 1rem;
  font-weight: 500;
}

.hero-price-tax {
  font-size: 0.8rem;
  color: #fff;
}

.hero-price-sep {
  margin: 0 6px;
  color: #fff;
}

.hero-price-installment {
  font-size: 0.9rem;
  color: #fff;
}

/* Hero CTA button with sub-text */
.hero-cta-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0px;
  width: 90%;
  padding: 13px 48px !important;
}

.hero-cta-btn:hover {
  color: var(--color-white);
}

.hero-cta-main {
  font-size: 1.4rem;
  font-weight: 700;
}

.hero-cta-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  opacity: 0.9;
}

.hero-cta-sub {
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFF176;
}

.hero-cta-btn:hover .hero-cta-sub {
  color: #FFF176;
}

.hero-cta-sub i {
  color: #FFF176;
  margin-right: 3px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.hero-trust {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.trust-item i {
  color: var(--color-primary);
  font-size: 1.2rem;
}

.hero-image {
  display: none;
}

.image-placeholder {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.image-placeholder.large {
  max-width: 500px;
  aspect-ratio: 1;
}

.placeholder-content {
  text-align: center;
  color: var(--color-white);
}

.placeholder-content i {
  font-size: 4rem;
  margin-bottom: 20px;
  display: block;
}

.placeholder-content p {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ===== Pain Points Section ===== */
.pain-points {
  background-color: var(--color-white);
}

.pain-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.pain-points-4col {
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pain-point-card {
  background-color: var(--color-white);
  padding: 24px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-primary);
  text-align: center;
}

.pain-points-4col .pain-point-card h3 {
  font-size: 1.1rem;
}

.pain-points-4col .pain-point-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}


.pain-points-bridge {
  text-align: center;
  margin-top: 40px;
}

.pain-points-bridge p {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
}

.pain-points-bridge i {
  font-size: 1.2rem;
  color: var(--color-primary);
  animation: bounce 1.5s infinite;
}

.pain-point-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.pain-point-card h3 {
  margin-bottom: 10px;
}

.pain-point-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ===== Vibe Coding Section ===== */
.vibe-coding-section {
  background-color: var(--color-bg-light);
}

.vibe-coding-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.vibe-coding-video {
  width: 100%;
}

.video-placeholder {
  border-radius: 12px;
  overflow: hidden;
}

.vibe-placeholder-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.video-caption {
  font-size: 0.85rem;
  color: var(--color-text-light);
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0;
}

.vibe-coding-explain {
  margin-top: 28px;
  padding: 20px 24px;
  background-color: var(--color-bg-light);
  border-radius: 10px;
  border-left: 4px solid var(--color-primary);
}

.vibe-coding-explain h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--color-text-dark);
}

.vibe-coding-explain p {
  font-size: 0.9rem;
  color: var(--color-text-dark);
  margin-bottom: 0;
  line-height: 1.7;
}

.vibe-coding-text h2 {
  margin-bottom: 15px;
}

.intro-text {
  font-size: 1rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.vibe-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.vibe-feature-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.vibe-feature-icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 8px;
  font-size: 1.5rem;
}

.vibe-feature-content h4 {
  margin-bottom: 8px;
}

.vibe-feature-content p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.instructor-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.instructor-line i {
  color: var(--color-primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}

/* ===== Before/After Section ===== */
.before-after {
  background-color: var(--color-white);
}

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
}

.before-after-card {
  background-color: var(--color-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.before-after-label-row {
  display: none;
}

.before-after-label {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 15px;
}

.before-after-label-text {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text-dark);
}

.before-after-label.before {
  background-color: #fee;
  color: var(--color-danger);
}

.before-after-label.after {
  background-color: #efe;
  color: var(--color-success);
}

.before-after-card h3 {
  margin-bottom: 20px;
}

.before-after-list {
  list-style: none;
}

.before-after-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 15px;
  color: var(--color-text-dark);
}

.before-after-list i {
  flex-shrink: 0;
  margin-top: 2px;
  font-size: 1.2rem;
}

.before-after-list.success li i {
  color: var(--color-success);
}

.before-after-list:not(.success) li i {
  color: var(--color-danger);
}

.before-after-divider {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100px;
}

.divider-arrow {
  font-size: 2rem;
  color: var(--color-primary);
  animation: bounceX 1.5s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes bounceX {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}

/* ===== Features Section ===== */
.features {
  background-color: var(--color-bg-light);
}

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

.feature-card {
  background-color: var(--color-white);
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}


.feature-number {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(34, 80, 200,0.1);
  font-family: var(--font-display);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 15px;
  text-align: center;
}

.feature-card h3 {
  margin-bottom: 15px;
  text-align: center;
}

.feature-card p {
  color: var(--color-text-light);
  margin-bottom: 0;
  line-height: 1.7;
}

.feature-highlight {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-primary);
  font-weight: 600;
}

.feature-highlight i {
  font-size: 1.2rem;
}

/* ===== Curriculum Section ===== */
.curriculum {
  background-color: var(--color-white);
}

.curriculum-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.curriculum-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  padding: 25px 0;
  border-bottom: 1px solid var(--color-border);
}

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

.curriculum-time {
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.95rem;
}

.curriculum-content h4 {
  margin-bottom: 10px;
}

.curriculum-content p {
  color: var(--color-text-light);
  margin-bottom: 15px;
}

.curriculum-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tool-badge {
  display: inline-block;
  background-color: var(--color-bg-light);
  color: var(--color-primary);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* ===== Testimonials Section ===== */
.testimonials {
  background-color: var(--color-bg-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--color-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}


.testimonial-rating {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-rating i {
  color: #ffc107;
  font-size: 0.9rem;
}

.testimonial-header {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
}

.testimonial-avatar {
  flex-shrink: 0;
}

.avatar-placeholder {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.9rem;
}

.testimonial-info h4 {
  margin-bottom: 2px;
  font-size: 1.1rem;
}

.testimonial-info p {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 0;
}

.testimonial-body p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.before-label,
.after-label {
  color: var(--color-text-light);
  font-size: 0.85rem;
}

.before-text,
.after-text {
  color: var(--color-text-dark);
}

.testimonial-footer {
  padding-top: 15px;
  border-top: 1px solid var(--color-border);
  margin-top: 15px;
}

.testimonial-achievement {
  display: inline-block;
  background-color: var(--color-success);
  color: var(--color-white);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* ===== Instructor Section ===== */
/* トップページでは移行CSSセクションで background: #f3f1ee に上書き */
.instructor {
  background-color: var(--color-bg-light);
}

.instructor-two-col {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  align-items: stretch;
}

.instructor-photo-col {
  display: flex;
  justify-content: center;
  align-items: stretch;
}

.instructor-photo-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.instructor-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
}

.instructor-title {
  color: var(--color-primary);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.instructor-text-col h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.instructor-name-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.name-reading {
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-weight: 400;
  letter-spacing: 0.05em;
}

.instructor-badge {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.badge {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.instructor-bio p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

.instructor-stats {
  display: flex;
  gap: 20px;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid var(--color-border);
}

.stat {
  flex: 1;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 5px;
}

.stat span {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.instructor-sns {
  margin-top: 20px;
}

.sns-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-text-dark);
  color: var(--color-white);
  font-size: 1.1rem;
  text-decoration: none;
  transition: var(--transition);
}

.sns-icon-link:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ===== Pricing Section ===== */
.pricing {
  background-color: var(--color-bg-light);
}

.pricing-container {
  max-width: 600px;
  margin: 0 auto;
}

.pricing-card {
  background-color: var(--color-white);
  padding: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.pricing-main {
  border: 3px solid var(--color-primary);
  position: relative;
}

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

.pricing-header h3 {
  margin-bottom: 8px;
  font-size: 1.6rem;
}

.pricing-description {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.pricing-amount {
  background-color: var(--color-bg-light);
  padding: 25px 25px;
  border-radius: 8px;
  margin-bottom: 25px;
  text-align: center;
}

.pricing-amount .price-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-light);
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}

.pricing-amount .price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
}

.pricing-amount .installment-detail {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-top: 0;
  margin-bottom: 0;
}

.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
  margin-bottom: 6px;
}

.price-display .currency {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-primary);
}

.price-display .amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.price-display .amount-yen {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-left: 2px;
}

.price-display .tax {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-left: 4px;
}

.pricing-best-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-primary);
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}

.pricing-installment {
  background-color: var(--color-bg-light);
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.installment-title {
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--color-text-dark);
}


.pricing-features {
  margin-bottom: 20px;
}

.pricing-features h4 {
  margin-bottom: 15px;
  margin-top: 25px;
}

.features-list {
  list-style: none;
}

.features-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  color: var(--color-text-dark);
  font-size: 0.95rem;
  line-height: 1.5;
}

.features-list i {
  color: var(--color-success);
  margin-top: 2px;
  flex-shrink: 0;
}

.pricing-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 15px;
  background-color: #F3F7FC;
  border-left: 4px solid var(--color-primary);
  border-radius: 4px;
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--color-text-dark);
}

.pricing-note i {
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.pricing-note p {
  margin-bottom: 0;
}


/* ===== Pricing Guarantee ===== */
.pricing-guarantee {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  margin-top: 25px;
  padding: 20px;
  background-color: #f0faf4;
  border: 1px solid #27ae60;
  border-radius: 8px;
}

.guarantee-icon {
  flex-shrink: 0;
  font-size: 1.5rem;
  color: var(--color-success);
}

.guarantee-text h4 {
  font-size: 0.95rem;
  margin-bottom: 5px;
  color: var(--color-success);
}

.guarantee-text p {
  font-size: 0.85rem;
  color: var(--color-text-dark);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ===== Comparison Section ===== */
.comparison {
  background-color: var(--color-white);
}

.comparison-table-wrapper {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.comparison-table thead {
  background-color: var(--color-bg-light);
}

.comparison-table th,
.comparison-table td {
  padding: 15px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.comparison-table th {
  font-weight: 700;
  color: var(--color-text-dark);
  font-size: 0.9rem;
}

.comparison-table th.comparison-highlight {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.comparison-table td.comparison-highlight {
  background-color: #F3F7FC;
}

.comparison-table td.comparison-highlight strong {
  color: var(--color-primary);
}

/* ===== Enrollment Flow Section ===== */
.enrollment-flow {
  background-color: var(--color-white);
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto 100px;
}

.flow-step {
  display: grid;
  grid-template-columns: 80px 1fr 60px;
  gap: 30px;
  align-items: center;
  background-color: var(--color-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}


.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  color: var(--color-white);
  border-radius: 50%;
  font-size: 2rem;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 10px;
}

.step-content p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.step-icon {
  font-size: 2rem;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-arrow {
  text-align: center;
  color: var(--color-primary);
  font-size: 1.5rem;
  margin: -10px 0;
}

.flow-arrow i {
  display: inline-block;
  animation: bounce-arrow 1.5s ease-in-out infinite;
}

@keyframes bounce-arrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

.enrollment-dates {
  background-color: var(--color-bg-light);
  border-radius: 12px;
  margin-top: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.enrollment-dates h3 {
  margin-bottom: 20px;
  text-align: center;
  font-size: 1.5rem;
}

.dates-note {
  color: var(--color-text-light);
  font-size: 1rem;
  margin-bottom: 40px;
  text-align: center;
}

.dates-swiper {
  overflow: hidden;
  padding-bottom: 30px;
  position: relative;
}

.dates-swiper .swiper-slide {
  height: auto;
}

.dates-swiper .date-card {
  height: 100%;
}

/* Controls: arrows + dots in one row */
.dates-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.dates-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--color-primary);
  background: var(--color-white);
  color: var(--color-primary);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
  padding: 0;
}

.dates-nav-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.dates-nav-btn.swiper-button-disabled {
  opacity: 0.3;
  cursor: default;
}

.dates-nav-btn.swiper-button-disabled:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

/* Pagination dots */
.dates-pagination {
  position: static !important;
  display: flex;
  align-items: center;
  gap: 6px;
  width: auto !important;
}

.dates-pagination .swiper-pagination-bullet {
  background: var(--color-primary);
  opacity: 0.25;
  width: 8px;
  height: 8px;
  margin: 0 !important;
  transition: opacity 0.2s, transform 0.2s;
}

.dates-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  transform: scale(1.2);
}

.date-card {
  background-color: var(--color-white);
  padding: 25px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}


.date-badge {
  display: inline-block;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.date-badge--available {
  background-color: #888;
}

.date-badge--full {
  background-color: #4caf50;
}

.date-full {
  margin-bottom: 8px;
}

.date-time {
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.date-location {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 8px;
}

.date-spots {
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.date-card .btn {
  width: 100%;
  justify-content: center;
}

.dates-cta {
  text-align: center;
  margin-top: 40px;
}

/* .btn-outline は Button Styles セクション（後方）に統合済み */

/* ===== FAQ Section ===== */
.faq {
  background-color: var(--color-white);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-white);
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.faq-item.active {
  border-color: var(--color-primary);
  box-shadow: 0 2px 12px rgba(220, 38, 38, 0.1);
}

.faq-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  max-width: 28px;
  min-height: 28px;
  max-height: 28px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
  flex-grow: 0;
  line-height: 1;
}

.faq-question {
  width: 100%;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 20px;
  background-color: var(--color-white);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text-dark);
  transition: var(--transition);
  font-family: var(--font-main);
  text-align: left;
}

.faq-question span {
  flex: 1;
}


.faq-question i {
  transition: var(--transition);
  color: var(--color-primary);
}

.faq-item.active .faq-question {
  color: var(--color-primary);
}

.faq-item.active .faq-question i {
  transform: rotate(-180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 20px;
  border-top: 0 solid var(--color-border);
  color: var(--color-text-light);
  line-height: 1.7;
  font-size: 0.95rem;
  background-color: var(--color-bg-light);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 20px;
  border-top-width: 1px;
}

.faq-answer-inner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.faq-answer-inner p {
  flex: 1;
  margin-bottom: 0;
}

/* ===== Final CTA Section ===== */
.final-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  text-align: center;
  padding: 80px 0;
}

.cta-content h2 {
  color: var(--color-white);
  margin-bottom: 10px;
  font-size: 1.8rem;
  line-height: 1.4;
}

.cta-sub {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.cta-urgency-badge {
  display: inline-block;
  background-color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 7px 18px;
  border-radius: 30px;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
}

.cta-urgency-badge i {
  margin-right: 6px;
  color: #fbbf24;
}

/* Stats row */
.cta-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 32px;
}

.cta-stat-box {
  text-align: center;
}

.cta-stat-number {
  display: block;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  color: var(--color-white);
}

.cta-stat-unit {
  font-size: 1.2rem;
  font-weight: 700;
}

.cta-stat-label {
  display: block;
  font-size: 0.8rem;
  color: #fff;
  margin-top: 4px;
}

/* Buttons */
.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-xl {
  background-color: var(--color-white);
  color: var(--color-primary);
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-xl:hover {
  background-color: rgba(255, 255, 255, 0.9);
  transform: translateY(-3px);
  color: var(--color-primary);
}

.btn-outline-white.btn-sm-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 12px 24px;
  font-size: 0.95rem;
}

.btn-outline-white.btn-sm-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  color: var(--color-white);
}

.cta-note {
  color: #fff;
  font-size: 0.85rem;
  margin-top: 14px;
}

/* Direct Purchase Block */
.cta-direct-purchase {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-direct-heading {
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.cta-direct-text {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.cta-direct-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-direct-buttons .btn-sm-secondary {
  min-width: 275px;
  text-align: center;
}

/* ===== Free Consultation Section ===== */
.free-consultation {
  background-color: var(--color-bg-light);
}

.consultation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.consultation-grid--single {
  grid-template-columns: 1fr;
  max-width: 560px;
}

.consultation-card {
  background-color: var(--color-white);
  padding: 30px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
  text-align: center;
}

.consultation-icon {
  font-size: 2.5rem;
  color: var(--color-primary);
  margin-bottom: 15px;
}

.consultation-card h3 {
  margin-bottom: 10px;
}

.consultation-card > p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.consultation-points {
  list-style: none;
  text-align: left;
  margin-bottom: 25px;
}

.consultation-points li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--color-text-dark);
}

.consultation-points li i {
  color: var(--color-success);
  flex-shrink: 0;
}

.consultation-subtext {
  font-size: 0.8rem;
  color: var(--color-text-light);
  margin-top: 10px;
  margin-bottom: 0;
}

/* Consultation Form */
.consultation-form-wrapper {
  max-width: 650px;
  margin: 0 auto;
}

.consultation-header {
  text-align: center;
  margin-bottom: 24px;
}

.consultation-header p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.consultation-form {
  text-align: left;
}

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

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

.form-group label .required {
  color: var(--color-primary);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: var(--font-main);
  transition: border-color 0.3s ease;
  box-sizing: border-box;
  background-color: var(--color-white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #aaa;
}

/* バリデーションエラー */
.form-group input.field-error,
.form-group textarea.field-error,
.form-group select.field-error {
  border-color: #e74c3c;
  background-color: #fef9e7;
}

.field-error-message {
  color: #e74c3c;
  font-size: 0.8rem;
  margin-top: 4px;
  line-height: 1.4;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* iOS Safari date input: はみ出し防止 & プレースホルダー対応 */
.form-group input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  min-height: 46px;
  cursor: pointer;
}

/* 未入力時：ネイティブの年/月/日セグメントを透明にする（レイアウトは維持） */
.form-group input[type="date"].date-empty::-webkit-datetime-edit {
  color: transparent;
  -webkit-text-fill-color: transparent;
}
.form-group input[type="date"].date-empty::-webkit-datetime-edit-text,
.form-group input[type="date"].date-empty::-webkit-datetime-edit-month-field,
.form-group input[type="date"].date-empty::-webkit-datetime-edit-day-field,
.form-group input[type="date"].date-empty::-webkit-datetime-edit-year-field {
  color: transparent;
  -webkit-text-fill-color: transparent;
  background: none;
}

.form-group .date-input-wrapper {
  position: relative;
}

.form-group .date-input-wrapper .date-placeholder {
  position: absolute;
  left: 14px;
  top: 25px;
  transform: translateY(-50%);
  color: #aaa;
  font-size: 0.95rem;
  pointer-events: none;
  transition: opacity 0.2s;
}

.form-group .date-input-wrapper .date-placeholder.hidden {
  display: none;
}

.form-fieldset {
  border: none;
  overflow: hidden;
  max-width: 100%;
  margin-bottom: 16px;
}

.form-fieldset legend {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-dark);
  padding: 0;
  margin-bottom: 12px;
}

.form-fieldset .form-row {
  margin-bottom: 12px;
}

.form-fieldset .form-group {
  margin-bottom: 0;
}

.consultation-form .consultation-points {
  margin-bottom: 20px;
  margin-top: 20px;
}

.consultation-form .btn-block {
  width: 100%;
  justify-content: center;
}

.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success .success-icon {
  font-size: 3rem;
  color: var(--color-success);
  margin-bottom: 16px;
}

.form-success h3 {
  margin-bottom: 12px;
}

.form-success p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* ===== Final CTA additions ===== */
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-weight: 600;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.9);
  background: transparent;
  font-family: var(--font-main);
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-outline-white:hover {
  border-color: var(--color-white);
  color: var(--color-white);
  background: rgba(255, 255, 255, 0.1);
}

.cta-apply-link {
  margin-top: 15px;
}

/* ===== Footer ===== */
.footer {
  background-color: var(--color-text-dark);
  color: var(--color-white);
  padding: 80px 0 10px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 80px;
  align-items: start;
}

.footer-section-brand {
  text-align: left;
}

.footer-logo-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-img {
  height: 65px;
  width: auto;
}

/* スマホ：フッターロゴを 1.5倍に拡大 */
@media (max-width: 768px) {
  .footer-logo-img {
    height: 98px;
  }
}

.footer-logo-subtext {
  font-size: .8rem;
  line-height: 1.5;
  color: #fff;
  font-weight: 500;
}

.footer-section h4 {
  color: var(--color-white);
  margin-bottom: 15px;
}

.footer-section p {
  color: #fff;
  font-size: 0.9rem;
  margin-bottom: 0;
  line-height: 1.6;
}

.footer-section ul {
  list-style: none;
}

.footer-section li {
  margin-bottom: 20px;
}

.footer-section a {
  color: #fff;
  font-size: 0.9rem;
}

.footer-section a:hover {
  color: var(--color-primary);
}

.footer-sns {
  margin-top: 12px;
}

.footer-sns a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  font-size: 1rem;
  transition: var(--transition);
}

.footer-sns a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.footer-legal {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 12px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
}

.footer-legal a:hover {
  color: var(--color-primary);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

/* ===== Blog Section（トップページ + 一覧共通） ===== */
.blog-section {
  padding: 80px 0;
}

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

.blog-card {
  background: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.blog-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-thumb img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 16px 20px 20px;
}

.blog-card-date {
  font-size: 0.8rem;
  color: #888;
  margin-right: 8px;
}

.blog-card-category {
  font-size: 0.75rem;
  background: var(--color-bg-light);
  color: var(--color-primary);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.blog-card-title {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 10px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-excerpt {
  font-size: 0.85rem;
  color: #000;
  margin-top: 8px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-more {
  text-align: center;
  margin-top: 40px;
}

/* ===== Button Styles ===== */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ===== Page Header（ブログ一覧・記事） ===== */
.page-header {
  background: var(--color-bg-light);
  padding: 100px 0 40px;
}

.page-header-single {
  padding: 10px 0 10px;
}

.page-header-title {
  font-size: 2rem;
  font-weight: 900;
  margin-top: 12px;
}

.page-header-desc {
  font-size: 1rem;
  color: #000;
  margin-top: 8px;
}

/* ===== Breadcrumb ===== */
.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 0.85rem;
  flex-wrap: nowrap;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #888;
  white-space: nowrap;
  flex-shrink: 0;
}

.breadcrumb li:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  flex-shrink: 1;
  min-width: 0;
  display: block;
}

.breadcrumb li::after {
  content: '>';
  color: #ccc;
}

.breadcrumb li:last-child::after {
  display: none;
}

.breadcrumb a {
  color: #000;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

/* ===== Blog Archive Layout ===== */
.blog-archive {
  padding: 48px 0 80px;
}

.blog-archive-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

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

/* ===== Pagination ===== */
.pagination {
  margin-top: 48px;
}

.pagination .nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.pagination .nav-links .page-numbers {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: #000;
  transition: var(--transition);
}

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

.pagination .nav-links .page-numbers:hover:not(.current) {
  background: var(--color-bg-light);
  color: var(--color-primary);
}

.pagination .nav-links .next,
.pagination .nav-links .prev {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  color: #000;
}

.pagination .nav-links .dots {
  border: none;
  background: transparent;
  font-weight: 400;
}

/* ===== Sidebar ===== */
.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 24px;
}

.sidebar-widget-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}

/* Sidebar CTA */
.sidebar-cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border: none;
  color: var(--color-white);
}

.sidebar-cta-inner {
  text-align: center;
}

.sidebar-cta-label {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.9;
  margin-bottom: 8px;
}

.sidebar-cta-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.5;
}

.sidebar-cta .btn {
  background: var(--color-white);
  color: var(--color-primary);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 14px;
  white-space: nowrap;
}

.sidebar-cta .btn:hover {
  background: #f0f0f0;
}

/* Sidebar Category List */
.sidebar-category-list {
  list-style: none;
}

.sidebar-category-list li {
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-category-list li:last-child {
  border-bottom: none;
}

.sidebar-category-list a {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  text-decoration: none;
  color: #000;
  font-size: 0.9rem;
  transition: var(--transition);
}

.sidebar-category-list a:hover {
  color: var(--color-primary);
}

.sidebar-category-list .count {
  color: #000;
  font-size: 0.8rem;
}

/* Sidebar Popular List */
.sidebar-popular-list {
  list-style: none;
}

.sidebar-popular-list li {
  margin-bottom: 12px;
}

.sidebar-popular-list li:last-child {
  margin-bottom: 0;
}

.sidebar-popular-list a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: #000;
  transition: var(--transition);
}

.sidebar-popular-list a:hover {
  color: var(--color-primary);
}

.popular-rank {
  flex: 0 0 28px;
  height: 28px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.popular-title {
  font-size: 0.85rem;
  line-height: 1.5;
}

/* ===== Article Section（single.html） ===== */
.article-section {
  padding: 32px 0 80px;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  overflow: hidden;
}

/* Article Header */
.article-header {
  margin-bottom: 32px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.article-date {
  font-size: 0.85rem;
  color: #888;
}

.article-date i {
  margin-right: 4px;
}

.article-category {
  font-size: 0.75rem;
  background: var(--color-bg-light);
  color: var(--color-primary);
  padding: 3px 12px;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
}

.article-title {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.4;
  margin-bottom: 20px;
}

.article-thumbnail {
  border-radius: 12px;
  overflow: hidden;
}

.article-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}

/* Article TOC */
.article-toc {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 40px;
}

.article-toc-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.article-toc-title i {
  color: var(--color-primary);
  margin-right: 8px;
}

.article-toc-list {
  padding-left: 20px;
}

.article-toc-list li {
  margin-bottom: 8px;
}

.article-toc-list a {
  color: #000;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.article-toc-list a:hover {
  color: var(--color-primary);
}

/* Article Content */
.article-content {
  line-height: 1.9;
  font-size: 1rem;
  overflow-wrap: break-word;
  word-break: break-word;
}

.article-content h2 {
  font-size: 1.5rem;
  font-weight: 900;
  margin: 56px 0 20px;
  padding: 12px 0 12px 18px;
  border-left: 6px solid var(--color-primary);
  border-bottom: 1px solid #E5EBF5;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.article-content h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 36px 0 14px;
  padding-left: 12px;
  border-left: 4px solid var(--color-primary);
  color: var(--color-text-dark);
  line-height: 1.5;
}

.article-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 28px 0 10px;
  color: var(--color-primary);
}

.article-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 24px 0;
}

.article-content .article-section-image {
  margin: 20px 0 36px;
}

.article-content .article-section-image img {
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(34, 80, 200, 0.10);
  border: 1px solid #E5EBF5;
}

.article-content p {
  margin-bottom: 36px;          /* 24 → 36 段落間にしっかり呼吸 */
  color: #000;
  line-height: 2.1;              /* 1.95 → 2.1 行間広めで読みやすく */
}

/* 段落内の <br> の行間もしっかり取る */
.article-content p br {
  line-height: 2.2;
}

/* 連続する p の最初は上余白なし、それ以降は呼吸 */
.article-content p + p {
  margin-top: 8px;               /* 段落同士のあいだに更に+8pxの空白 */
}

.article-content ul,
.article-content ol {
  margin: 28px 0;                /* 20 → 28 */
  padding-left: 26px;
}

.article-content li {
  margin-bottom: 14px;           /* 10 → 14 */
  line-height: 2.0;              /* 1.85 → 2.0 */
}

.article-content li:last-child {
  margin-bottom: 0;
}

.article-content strong {
  font-weight: 700;
  color: #000;
}

/* ============================================================
   テキストインライン装飾（赤太字・黄マーカー）
   ============================================================ */

/* 赤太字：重要な単語・警告語句 */
.article-content .text-red,
.article-content strong.text-red {
  color: #DC2626 !important;     /* solid red */
  font-weight: 700;
}

/* 黄マーカー（蛍光ペン風）：重要なフレーズを目立たせる */
.article-content .text-marker,
.article-content strong.text-marker {
  background: linear-gradient(transparent 55%, #FFE57E 55%);  /* 下半分だけ黄色 */
  color: #000;
  font-weight: 700;
  padding: 0 2px;
}

/* 黄背景の太字：強い注意・キーワード */
.article-content .text-highlight,
.article-content strong.text-highlight {
  background: #FFF59D;
  color: #000;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
}

/* 青太字：通常のキーワード強調（既存の text-accent と差別化） */
.article-content .text-blue,
.article-content strong.text-blue {
  color: var(--color-primary);
  font-weight: 700;
}

/* Article Comparison Block */
.article-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.comparison-item {
  padding: 20px;
  border-radius: 12px;
}

.comparison-before {
  background: #f8f0f0;
  border: 1px solid #e8d0d0;
}

.comparison-after {
  background: #f0f8f0;
  border: 1px solid #d0e8d0;
}

.comparison-item h3,
.comparison-title {
  font-size: 1rem;
  margin: 0 0 12px !important;
  font-weight: 700;
}

.comparison-before h3 i,
.comparison-title-before i { color: var(--color-danger); }
.comparison-after h3 i,
.comparison-title-after i { color: var(--color-success); }

.comparison-item ul {
  padding-left: 16px;
  font-size: 0.9rem;
}

/* Article Blockquote */
.article-content blockquote {
  margin: 28px 0;
  padding: 22px 28px;
  background: #F6FAFE;
  border-left: 5px solid var(--color-primary);
  border-radius: 0 10px 10px 0;
  font-style: normal;
  color: #1F2937;
  position: relative;
}
.article-content blockquote::before {
  content: '"';
  position: absolute;
  top: -8px;
  left: 14px;
  font-size: 3rem;
  color: rgba(34, 80, 200, 0.18);
  font-family: serif;
  line-height: 1;
  pointer-events: none;
}
.article-content blockquote p {
  margin-bottom: 0;
  line-height: 1.85;
}
.article-content blockquote p + p {
  margin-top: 10px;
}
.article-content blockquote cite {
  display: block;
  margin-top: 10px;
  font-size: 0.85rem;
  color: #6B7280;
  font-style: normal;
}

/* Article Point Box（ポイント・まとめ） */
/* ============================================================
   Article Point Box（重要ポイント・まとめ）
   差別化：左に太い青ボーダー + チェックアイコンの強い印象
   ============================================================ */
.article-point {
  position: relative;
  margin: 28px 0;
  padding: 24px 24px 24px 28px;
  background: #EAF2FB;
  border: 1px solid #B5CCE8;
  border-left: 6px solid var(--color-primary);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(34, 80, 200, 0.06);
}
.article-point-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.02em;
}
.article-point-title i {
  font-size: 1.15rem;
}
.article-point ul,
.article-point ol {
  padding-left: 20px;
  margin: 0;
}
.article-point li {
  margin-bottom: 12px;
  line-height: 2.0;
  color: #1F2937;
}
.article-point li::marker {
  color: var(--color-primary);
}
.article-point p {
  margin: 0 0 14px;
  color: #1F2937;
  line-height: 2.0;
}
.article-point p:last-child { margin-bottom: 0; }


/* ============================================================
   Article Info Box（補足・ヒント）
   差別化：薄ブルー + 軽い印象、電球アイコンで親しみ
   ============================================================ */
.article-info {
  margin: 24px 0;
  padding: 18px 22px;
  background: #F6FAFE;
  border: 1px dashed #B5CCE8;
  border-radius: 10px;
}
.article-info-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #2250C8;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-info-title i {
  font-size: 1.05rem;
  color: #F59E0B;          /* 電球アイコンだけ温かみのある黄 */
}
.article-info p {
  margin: 0 0 10px;
  color: #1F2937;
  font-size: 0.95rem;
  line-height: 2.0;
}
.article-info p:last-child { margin-bottom: 0; }
.article-info ul {
  margin: 6px 0 0;
  padding-left: 20px;
}
.article-info li {
  margin-bottom: 4px;
  font-size: 0.95rem;
  color: #1F2937;
}

/* Article Warning Box（注意） */
.article-warning {
  margin: 24px 0;
  padding: 24px;
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 12px;
}
.article-warning-title {
  font-size: 1rem;
  font-weight: 700;
  color: #D97706;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article-warning p {
  margin-bottom: 0;
  color: #000;
}

/* Article Table — 青ベースに整える */
.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 28px 0;
  font-size: 0.92rem;
  border: 1px solid #C5D5ED;
  border-radius: 8px;
  overflow: hidden;
}
.article-content table th,
.article-content table td {
  padding: 14px 18px;
  border: 1px solid #E5EBF5;
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
.article-content table th {
  background: var(--color-primary);
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
  border-color: var(--color-primary);
}
.article-content table tr:nth-child(even) {
  background: #F6FAFE;
}
.article-content table tr:hover {
  background: #EAF2FB;
}
@media (max-width: 600px) {
  .article-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* ============================================================
   Article Step Box（ステップ番号付き）
   番号を青グラデ円バッジで大きく目立たせる
   ============================================================ */
.article-step {
  margin: 24px 0;
  padding: 22px 26px;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid #E5EBF5;
  box-shadow: 0 2px 8px rgba(34, 80, 200, 0.04);
}
.article-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;             /* 28 → 40 で大きく */
  height: 40px;
  background: linear-gradient(135deg, #3A66D6 0%, #2250C8 50%, #6D3FE6 100%);  /* 青→紫グラデ */
  color: #fff;
  border-radius: 50%;
  font-size: 1.05rem;
  font-weight: 800;
  margin-right: 12px;
  box-shadow: 0 4px 10px rgba(34, 80, 200, 0.25);
  flex-shrink: 0;
}
.article-step-title {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  color: var(--color-text-dark);
}
.article-step p {
  margin-bottom: 0;
  padding-left: 52px;      /* 番号バッジ(40) + gap(12) に追従 */
  line-height: 2.0;        /* 本文と揃える */
}


/* ============================================================
   B: 新規追加クラス
   ============================================================ */

/* ──────────────── Article Link Box（本文中の内部リンク誘導カード） ────────────────
   使い方:
   <a href="..." class="article-link-box">
     <div class="article-link-box-label">関連記事</div>
     <div class="article-link-box-title">記事タイトルがここに入る</div>
     <div class="article-link-box-arrow"><i class="fas fa-chevron-right"></i></div>
   </a>
*/
.article-link-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  margin: 28px 0;
  padding: 18px 22px;
  background: #ffffff;
  border: 1px solid #C5D5ED;
  border-left: 4px solid var(--color-primary);
  border-radius: 10px;
  text-decoration: none;
  color: var(--color-text-dark);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.article-link-box:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 80, 200, 0.12);
  border-left-color: var(--color-primary-dark);
}
.article-link-box-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  background: #EAF2FB;
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.article-link-box-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text-dark);
}
.article-link-box-arrow {
  font-size: 0.85rem;
  color: var(--color-primary);
  transition: transform 0.2s ease;
}
.article-link-box:hover .article-link-box-arrow {
  transform: translateX(4px);
}


/* ──────────────── Article Quote（強い引用：顧客の声 / 統計） ────────────────
   使い方:
   <div class="article-quote">
     <p class="article-quote-text">「現場主導でツール開発できるようになった」</p>
     <p class="article-quote-source">— 株式会社XX 様 / DX推進担当</p>
   </div>
*/
.article-quote {
  position: relative;
  margin: 32px 0;
  padding: 32px 32px 28px 60px;
  background: linear-gradient(135deg, #EAF2FB 0%, #F6FAFE 100%);
  border-radius: 12px;
  border: 1px solid #C5D5ED;
}
.article-quote::before {
  content: '\201C';                  /* 大きな左ダブルクォート */
  position: absolute;
  top: 6px;
  left: 18px;
  font-family: serif;
  font-size: 5rem;
  line-height: 1;
  color: var(--color-primary);
  opacity: 0.35;
  pointer-events: none;
}
.article-quote-text {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.75;
  color: var(--color-text-dark);
  margin: 0 0 14px;
  letter-spacing: 0.02em;
}
.article-quote-source {
  font-size: 0.88rem;
  color: #4A5568;
  margin: 0;
  text-align: right;
}


/* ──────────────── Article FAQ（Q&Aアコーディオン風） ────────────────
   使い方:
   <div class="article-faq">
     <details>
       <summary>質問：◯◯はどうすればいい？</summary>
       <p>答え：本文を書く。複数段落OK</p>
     </details>
     <details>
       <summary>質問2</summary>
       <p>答え2</p>
     </details>
   </div>
*/
.article-faq {
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.article-faq details {
  background: #ffffff;
  border: 1px solid #C5D5ED;
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.article-faq details[open] {
  box-shadow: 0 4px 14px rgba(34, 80, 200, 0.08);
  border-color: var(--color-primary);
}
.article-faq summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 50px 16px 56px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-text-dark);
  position: relative;
  line-height: 1.5;
  transition: background 0.2s ease;
}
.article-faq summary:hover {
  background: #F6FAFE;
}
.article-faq summary::-webkit-details-marker { display: none; }
.article-faq summary::marker { display: none; }
.article-faq summary::before {
  content: 'Q';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}
.article-faq summary::after {
  content: '\002B';                  /* + マーク */
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-primary);
  transition: transform 0.25s ease;
  line-height: 1;
}
.article-faq details[open] summary::after {
  transform: translateY(-50%) rotate(45deg); /* × マーク */
}
.article-faq details > *:not(summary) {
  padding: 0 24px 18px 56px;
  margin: 0;
  position: relative;
}
.article-faq details > p:not(:last-child) {
  padding-bottom: 8px;
}
.article-faq details > p::before {
  content: 'A';
  position: absolute;
  left: 16px;
  top: 2px;
  width: 28px;
  height: 28px;
  background: #EAF2FB;
  color: var(--color-primary);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.85rem;
}


/* Article CTA */
.article-cta {
  margin: 48px 0;
}

.article-cta-inner {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}

.article-cta-inner h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--color-white);
}

.article-cta-inner p {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 20px;
  color: var(--color-white);
}

.article-cta-inner .btn {
  background: var(--color-white);
  color: var(--color-primary);
}

.article-cta-inner .btn:hover {
  background: #f0f0f0;
}

/* Article Author */
.article-author {
  display: flex;
  gap: 20px;
  padding: 24px;
  background: #f8f8f8;
  border-radius: 12px;
  margin-bottom: 48px;
}

.article-author-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.article-author-label {
  font-size: 0.8rem;
  color: #888;
  margin-bottom: 4px;
}

.article-author-name {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.article-author-bio {
  font-size: 0.85rem;
  color: #000;
  line-height: 1.7;
}

/* Article Related */
.article-related {
  margin-top: 48px;
}

.article-related-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-primary);
}

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

/* Sidebar TOC Sticky */
.sidebar-toc-sticky {
  position: sticky;
  top: 100px;
}

/* Sidebar Sticky (TOC + CTA) */
.sidebar-sticky {
  position: sticky;
  top: 80px;
}

.sidebar-toc-list {
  padding-left: 20px;
}

.sidebar-toc-list li {
  margin-bottom: 8px;
}

.sidebar-toc-list a {
  font-size: 0.85rem;
  color: #000;
  text-decoration: none;
  transition: var(--transition);
}

.sidebar-toc-list a:hover {
  color: var(--color-primary);
}

/* ===== Visibility Utilities ===== */
.pc-hidden {
  display: none;
}

.sm-hidden {
  display: block;
}

@media (max-width: 768px) {
  .pc-hidden {
    display: block;
  }

  .sm-hidden {
    display: none;
  }
}

/* ===== Urgency Messages ===== */
.pricing-urgency,
.dates-urgency {
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 10px;
  opacity: 0.9;
}

.pricing-urgency {
  color: var(--color-primary);
  text-align: center;
  margin-top: 8px;
  font-size: 0.8rem;
}

.dates-urgency {
  color: var(--color-text-light);
  text-align: center;
  margin-top: 10px;
  font-size: 0.8rem;
}

/* ===== Mobile Sticky CTA ===== */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1200;
  padding: 10px 16px;
  padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: linear-gradient(transparent, rgba(255, 255, 255, 0.95) 30%);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
}

.mobile-sticky-cta.visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.mobile-sticky-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 15px 20px;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease;
}

.mobile-sticky-cta-btn:hover {
  background-color: var(--color-primary-dark);
  color: #fff;
}

.mobile-sticky-cta-btn i {
  font-size: 1.1rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.8rem;
  }

  h2 {
    font-size: 2rem;
  }

  .container {
    padding: 0 24px;
  }

  .hero-container {
    margin: 0 auto;
    padding: 0 20px;
  }

  .vibe-coding-content {
    grid-template-columns: 1fr;
  }

  .before-after-grid {
    grid-template-columns: 1fr;
  }

  .before-after-divider {
    height: 50px;
    transform: rotate(90deg);
  }

  .instructor-two-col {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .instructor-photo-placeholder {
    width: 220px;
    height: 270px;
    margin: 0 auto;
  }

  .pricing-container {
    max-width: 100%;
  }

  .consultation-grid {
    grid-template-columns: 1fr;
  }

  .comparison-table {
    font-size: 0.85rem;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 10px 12px;
  }

  .blog-archive-layout,
  .article-layout {
    grid-template-columns: 1fr;
  }

  .blog-sidebar {
    order: 2;
  }
}

/* ============================================================
   ★ ハンバーガーメニュー切り替え（≤900px）
   元は ≤768px で切り替えていたが、PC ナビが窮屈になる前に
   早めにハンバーガー化する方が見栄えが良いため 900px に変更。
   ============================================================ */
@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 364px; /* 280px → 約1.3倍。ロゴ＋サブテキストの崩れ解消 */
    max-width: 86vw; /* 狭い端末では画面幅を超えないように上限 */
    height: 100vh;
    flex-direction: column;
    background-color: var(--color-white);
    padding: 0;
    gap: 0;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1050;
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-menu-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 50px 20px 15px;
  }

  .nav-menu-logo {
    height: 50px;
    width: auto;
    flex-shrink: 0;
  }

  .nav-menu-subtext {
    display: inline;
    font-size: 0.65rem;
    line-height: 1.5;
    color: var(--color-text-dark);
    font-weight: 500;
  }

  .nav-menu-list {
    flex-direction: column;
    gap: 0;
    padding: 0;
    width: 100%;
    border-top: 1px solid #f0f0f0;
  }

  .nav-menu-list li {
    width: 100%;
  }

  .nav-menu-list li a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 15px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
    text-align: left;
  }

  .nav-menu-list li a i {
    display: inline;
    color: #ccc;
    font-size: 0.85rem;
  }

  .nav-menu-list li a i.nav-external-icon {
    font-size: 0.7em;
    color: #000;
    margin-left: 4px;
  }

  .nav-menu-list li a:hover {
    background-color: #faf5f5;
  }

  .nav-menu-list li a:hover i {
    color: var(--color-primary);
  }

  .nav-menu-cta {
    max-width: 100%;
    margin: 0;
    padding: 25px 15px;
  }

  .nav-cta-btn {
    display: block;
    padding: 15px 15px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    width: 100%;
    color: #fff !important;
  }

  .nav-cta-btn:hover {
    color: #fff !important;
  }

  .nav-cta-btn .btn-sub {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 2px;
    color: #fff;
  }

  .nav-overlay {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
}

@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  section {
    padding: 40px 0;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .badge {
    padding: 4px 8px;
  }

  .comparison-table-wrapper {
    margin: 0 -20px;
    padding: 0 20px;
    -webkit-overflow-scrolling: touch;
  }

  .comparison-table {
    min-width: 600px;
    white-space: nowrap;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  /* iOS Safari 自動ズーム防止: フォーム要素は16px以上必須 */
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px;
  }

  .comparison-table th,
  .comparison-table td {
    padding: 12px 16px;
    white-space: normal;
    min-width: 140px;
  }

  .comparison-table th:first-child,
  .comparison-table td:first-child {
    min-width: 80px;
  }

  /* ハンバーガー関連は ≤900px の別ブロックに移動済み（2026-05-23） */

  h1 {
    font-size: 2.2rem;
  }

  .hero-cta-group {
    flex-direction: column;
  }

  .hero-cta-group .btn {
    padding: 10px 45px;
    width: 100%;
  }

  .vibe-coding-content {
    gap: 40px;
  }

  .before-after-grid {
    gap: 20px;
  }

  .before-after-card {
    padding: 20px;
  }

  .before-after-label-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
  }

  .before-after-label-row .before-after-label {
    margin-bottom: 0;
  }

  .before-after-heading {
    display: none;
  }

  .pain-points-grid {
    grid-template-columns: 1fr;
  }

  .pain-points-4col {
    gap: 15px;
  }

  .pain-point-card {
    padding: 15px 15px;
  }

  .vibe-coding-explain {
    padding: 10px 15px;
  }

  .vibe-coding-explain h3 {
    margin-bottom: 5px;
  }

  .instructor-photo-placeholder {
    width: 100%;
    height: 300px;
  }

  .instructor-photo-img {
    object-position: center 20%;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .flow-step {
    grid-template-columns: 60px 1fr;
  }

  .step-number {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .step-icon {
    display: none;
  }

  .curriculum-item {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .cta-stats {
    gap: 25px;
  }

  .cta-stat-number {
    font-size: 3rem;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }

  .footer-section-brand {
    grid-column: 1 / -1;
    text-align: center;
  }

  .footer-logo-group {
    justify-content: center;
  }

  .vibe-coding-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .instructor-content {
    flex-direction: column;
  }

  .instructor-image {
    flex: none;
    width: 200px;
    margin: 0 auto;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .blog-main .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid-related {
    grid-template-columns: 1fr;
  }

  .article-comparison {
    grid-template-columns: 1fr;
  }

  .article-title {
    font-size: 1.4rem;
  }

  .article-author {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .blog-section,
  .final-cta {
    padding: 48px 0;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .final-cta-title {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  h3 {
    font-size: 1.05rem;
  }

  section {
    padding: 30px 0;
  }

  .hero {
    padding: 60px 0 40px;
    min-height: auto;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-price-inline {
    flex-direction: column;
    gap: 4px;
  }

  .hero-price-sep {
    display: none;
  }

  .hero-cta-main {
    font-size: 1.2rem;
  }

  .hero-cta-sub {
    font-size: 0.8rem;
  }

  .feature-card {
    padding: 25px 15px;
  }

  .feature-number {
    font-size: 2rem;
  }

  .instructor-card {
    padding: 25px;
  }

  .pricing-card {
    padding: 20px 15px;
  }

  .price-display .amount {
    font-size: 2.4rem;
  }

  .flow-steps {
    gap: 25px;
    margin-bottom: 50px;
  }

  .flow-step {
    display: block;
    padding: 20px;
  }

  .flow-step .step-number {
    float: left;
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    margin-right: 12px;
  }

  .flow-step .step-content h3 {
    line-height: 48px;
    margin-bottom: 0;
  }

  .flow-step .step-content p {
    clear: both;
    margin-top: 12px;
  }

  .dates-cta {
    margin-top: 20px;
  }

  .consultation-card {
    padding: 30px 15px;
  }

  .faq-question {
    padding: 20px 15px;
  }

  .final-cta {
    padding: 50px 0;
  }

  .cta-stat-number {
    font-size: 2.5rem;
  }

  .cta-stat-unit {
    font-size: 1rem;
  }

  .cta-content h2 {
    font-size: 1.7rem;
  }

  .cta-urgency-badge {
    font-size: 0.8rem;
    padding: 6px 16px;
  }

  .pricing-guarantee {
    gap: 10px;
    padding: 20px 15px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }

  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .footer-section-brand {
    grid-column: 1 / -1;
    margin-bottom: 30px;
    text-align: center;
  }

  .footer-logo-group {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .footer-logo-subtext {
    text-align: center;
  }

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

/* mobile-sticky-cta display:block は移行CSSセクション末尾に統合済み */

/* ===== Legal Pages (Privacy, Terms, Tokushoho) ===== */
.legal-page {
  padding-top: 80px;
}
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 64px;
}
.legal-page-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 48px 0 32px;
  padding-bottom: 12px;
  border-bottom: 2px solid #2250C8;
}
.legal-content {
  line-height: 1.8;
  font-size: 15px;
  color: #000;
}
.legal-content h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 32px 0 12px;
}
.legal-content p,
.legal-content li {
  margin-bottom: 8px;
}
.legal-content ol,
.legal-content ul {
  padding-left: 1.5em;
}
.legal-content a {
  color: #2250C8;
  text-decoration: none;
}
.legal-content a:hover {
  text-decoration: underline;
}
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}
.legal-content th,
.legal-content td {
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: top;
}
.legal-content th {
  width: 200px;
  font-weight: 600;
  background: #fafafa;
  font-size: 0.9rem;
}
.legal-content td {
  font-size: 0.9rem;
}
.legal-content .updated {
  color: #000;
  font-size: 0.85rem;
  margin-bottom: 32px;
}
.legal-back {
  text-align: center;
  margin-top: 48px;
}
.legal-back-btn {
  display: inline-block;
  padding: 14px 32px;
  background: #2250C8;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}
.legal-back-btn:hover {
  background: #1A3FA0;
}
@media (max-width: 600px) {
  .legal-content th,
  .legal-content td {
    display: block;
    width: 100%;
  }
  .legal-content th {
    border-bottom: none;
    padding-bottom: 4px;
  }
  .legal-content td {
    padding-top: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
  }
}

/* ===== Top Page Styles (migrated from index.html) ===== */

/* ===== New Top Page Styles ===== */

.text-accent {
  color: var(--color-primary);
  font-weight: 700;
}

/* --- Hero: 2カラムブランド型 --- */
.hero-two-col {
  position: relative;
  /* 背景画像（hero-bg.jpg）+ 左側に薄白オーバーレイ（テキスト可読性のため）。
     画像は cover でセクション全体を覆い、center で配置。
     左から右にかけて白→透明のグラデを重ねて、左テキストの背景を明るく保つ */
  background:
    linear-gradient(90deg,
      rgba(255, 255, 255, 0.85) 0%,
      rgba(255, 255, 255, 0.55) 35%,
      rgba(255, 255, 255, 0.10) 60%,
      rgba(255, 255, 255, 0) 80%
    ),
    url('images/hero-bg.jpg') no-repeat center center / cover;
  /* 右画像をセクション下端にぴったり接地させるため上下paddingを0に。
     左カラムの呼吸は .hero-left 側で確保する */
  padding: 0;
  min-height: 540px;     /* 480 → 540 で下限を少し確保（画像が小さくなった分） */
  display: flex;
  /* ★ stretch：子の .hero-container にセクション高さを伝える
     （right画像の下接地と left カラムの縦中央寄せを両立するため） */
  align-items: stretch;
  overflow: hidden;
}

/* 背景オーブも撤去（白背景＋ブラシJPEGで完全フラットに） */
.hero-two-col::before {
  display: none;
}

.hero-two-col .hero-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  display: grid;
  /* 右画像を相対的に大きく見せるため 1fr 1.3fr に変更（左43% / 右57%）
     viewport が小さいと右画像も縮むので、右に余裕を持たせて高さを稼ぐ */
  grid-template-columns: 1fr 1.3fr;
  gap: 0;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-two-col .hero-left {
  display: flex;
  flex-direction: column;
  /* ★ 縦中央寄せ：右画像が下接地で伸びても、左テキストは中央配置で美しく保つ */
  justify-content: center;
  /* ★ grid container の align-items:center を上書きして、セル全体を上下いっぱいに使う
     （ブラー擬似要素の上下に隙間ができるのを防ぐ） */
  align-self: stretch;
  height: 100%;
  /* 上下paddingは clamp() で viewport 比例に縮小。
     上：56→32、下：64→36 まで段階的に詰める。
     左：max-width 1480 を擬似再現、右：画像との隙間最小限 */
  padding-top: clamp(32px, 3.5vw, 56px);
  padding-bottom: clamp(36px, 4vw, 64px);
  padding-left: max(40px, calc((100vw - 1480px) / 2 + 40px));
  padding-right: 24px;
}

/* 右カラム：画像が右辺と下辺にぴったり接地（フラッシュ）するように
   ★ 絶対ルール：常に下接地する。セクション高さに画像高を合わせるため
   position:relative + height:100% + 画像を absolute で右下基点配置
   overflow:visible にすることで画像が左にはみ出して左カラム上に表示される
   （セクション右端からの飛び出しは .hero-two-col の overflow:hidden で抑止） */
.hero-two-col .hero-right {
  position: relative;
  align-self: stretch;         /* grid内で高さ100% */
  height: 100%;
  padding: 0;
  overflow: visible;           /* 左はみ出しを表示（hidden だと切られていた） */
}

.hero-two-col .hero-en-label {
  font-size: 0.8rem;
  color: rgba(30,55,90,0.5);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-two-col .hero-brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.6vw, 2.4rem);
  /* Aidemy 仕様に合わせて weight 700 */
  font-weight: 700;
  color: #14213D;
  line-height: 1.45;
  /* Aidemy: letter-spacing 1px = 約 0.04em (24px時) */
  letter-spacing: 0.04em;
  margin-bottom: 20px;
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.hero-two-col .hero-brand-name .brand-accent {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: normal;
  /* 通常のプライマリブルー */
  color: var(--color-primary);
}

/* 助詞（から/まで/に）だけ小さく：スキャン性を上げ、文章を短く見せる */
.hero-two-col .hero-brand-name .joshi {
  /* 0.7em より少し大きめに調整 */
  font-size: 0.78em;
  font-weight: 600;
}

/* ============================================================
   ヒーロー新ヘッドライン構造（ブラシ書体画像版）
   ・hero-headline-prefix: 「経営層から社員まで、」プレーン
   ・hero-headline-row:    「AI人材」画像 + 「に変える」テキスト 横並び
   ・hero-brush-banner:    「1日完結 バイブコーディング研修」バナー画像
   ============================================================ */

.hero-two-col .hero-headline-prefix {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.2vw, 1.95rem);   /* +5px：旧 1.3-1.65rem → 1.6-1.95rem */
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #14213D;
  /* ★ 縮小時も最低16pxの隙間を保つ（AI人材ブラシとの間が詰まりすぎ防止） */
  margin-bottom: clamp(16px, 1.8vw, 24px);
}

.hero-two-col .hero-headline-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.hero-two-col .hero-brush-aijinzai {
  /* 筆文字「AI人材」：viewport に応じて 70〜110px で連続スケール
     ★ ブレークポイントごとの上書きを全廃し、ジグザグを根絶 */
  height: clamp(70px, 6.8vw, 110px);
  width: auto;
  display: block;
  /* 余分な余白を切るため上下に少しマイナスマージン */
  margin: -8px 0;
}

.hero-two-col .hero-headline-suffix {
  display: inline-block;
  font-family: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  font-size: clamp(2.45rem, 3.15vw, 3rem);   /* +2px：旧 2.3-2.85 → 2.45-3rem */
  font-weight: 900;
  letter-spacing: 0.04em;
  color: #14213D;
}

.hero-two-col .hero-brush-banner {
  /* 「1日完結 バイブコーディング研修」のブラシバナー画像
     ★ AI人材と連動して連続スケール（×4.3 で 300〜480px） */
  display: block;
  width: 100%;
  max-width: clamp(300px, 30vw, 480px);
  height: auto;
  margin: 14px 0 12px;
}

/* ピル内のアイコンPNG（経済産業省 六角アイコン用） */
.hero-two-col .hero-policy-pill .hero-policy-pill-icon {
  width: 33px;             /* 22 → 33 で 1.5倍 */
  height: 33px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

/* 上部バッジ：参考デザインに合わせて薄青背景 + 控えめ角丸 */
.hero-two-col .hero-policy-pill--top {
  margin-bottom: 22px;
  background: rgba(34, 80, 200, 0.08) !important;
  border: 1px solid rgba(34, 80, 200, 0.18) !important;
  border-radius: 8px !important;
  color: var(--color-primary-dark) !important;
}

/* 下部バッジは廃止（HTMLからも削除済み） */

/* ============================================================
   3つの特徴ピル（プログラミング経験不問 / 1日完結 / 業務ツール）
   クリック不可・ホバーなしの装飾要素
   ============================================================ */
.hero-two-col .hero-feature-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 4px 0 28px;
}

.hero-two-col .hero-feature-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 14px;            /* 10/12 → 16/14 で上下にゆとり */
  background: #ffffff;
  border: 1px solid #E5EBF5;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(34, 80, 200, 0.05);
  min-width: 0;
}

.hero-two-col .hero-feature-pill-icon {
  width: 34px;                    /* 28 → 34 で約1.2倍に拡大 */
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}

.hero-two-col .hero-feature-pill-text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

/* ピル内テキスト構造（参考デザイン準拠）：
   上に小さい補足ラベル（黒）+ 下に大きい青強調語句 */
.hero-two-col .hero-feature-pill-sub {
  font-size: 0.78rem;
  font-weight: 700;
  color: #14213D;
  letter-spacing: 0.02em;
  /* 改行は許可（デザイン優先で文字を詰めない） */
}

.hero-two-col .hero-feature-pill-main {
  font-size: 1rem;             /* 大きい強調語句 */
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.02em;
}

/* 説明文の青強調語句が単語の途中で改行されないように
   （「自分たちでつくれる」が「自分たちでつく / れる」と分割されるのを防ぐ） */
.hero-two-col .hero-brand-desc .text-accent {
  display: inline-block;
  white-space: nowrap;
}

/* ============================================================
   CTA ボタンに左アイコン + 右 chevron を配置するための調整
   ============================================================ */
.hero-two-col .btn-hero-primary,
.hero-two-col .btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.hero-two-col .btn-hero-primary i,
.hero-two-col .btn-hero-secondary i {
  font-size: 0.92rem;
  line-height: 1;
}

/* 右側 chevron だけ少し離して、テキストとの間隔を確保 */
.hero-two-col .btn-hero-primary i.fa-chevron-right,
.hero-two-col .btn-hero-secondary i.fa-chevron-right {
  margin-left: auto;       /* テキストの右いっぱいに */
  font-size: 0.78rem;
}

/* ============================================================
   レスポンシブ：特徴ピル
   ============================================================ */
/* ====== レスポンシブ：viewport 段階的に左右ともスケール ======
   右画像は column 幅で自動縮小、左コンテンツは各 breakpoint で
   font/margin/画像高/grid比率を連動して縮める。 */

/* ≤1600px：軽い縮小（brush関連はグローバルclampに統一済みのため上書きしない） */
@media (max-width: 1600px) {
  .hero-two-col .hero-container {
    grid-template-columns: 1fr 1.35fr;
  }
}

/* ≤1400px：見出しと余白を縮小（ピル消えるゾーン入口）
   grid比率は元に戻し、desc/ctasは別途オーバーラップさせる方針 */
@media (max-width: 1400px) {
  .hero-two-col .hero-container {
    grid-template-columns: 1fr 1.4fr;
  }
  .hero-two-col .hero-headline-prefix {
    font-size: clamp(1.4rem, 1.95vw, 1.75rem);
    margin-bottom: 20px;       /* 18→20 で隙間維持 */
  }
  .hero-two-col .hero-headline-suffix {
    font-size: clamp(2.1rem, 2.85vw, 2.65rem);
  }
  /* brush関連はグローバルclampに統一済み（上書き削除） */
  .hero-two-col .hero-brush-banner {
    margin: 10px 0 10px;
  }
  .hero-two-col .hero-brand-desc {
    font-size: 0.95rem;
    margin-bottom: 22px;
  }
  /* ボタンも他テキストと連動して段階縮小（孤立してデカ残りを防ぐ） */
  .hero-two-col .btn-hero-primary,
  .hero-two-col .btn-hero-secondary {
    font-size: 0.92rem;
    padding: 14px 22px;
    gap: 8px;
  }
}

/* ≤1200px：左カラムさらに圧縮 + ピル縮小 */
@media (max-width: 1200px) {
  .hero-two-col .hero-container {
    grid-template-columns: 1fr 1.45fr;
  }
  .hero-two-col .hero-headline-prefix {
    font-size: clamp(1.25rem, 1.8vw, 1.55rem);
    margin-bottom: 18px;       /* 14→18 で隙間維持 */
  }
  .hero-two-col .hero-headline-suffix {
    font-size: clamp(1.85rem, 2.4vw, 2.3rem);
  }
  /* brush関連はグローバルclampに統一済み（上書き削除） */
  .hero-two-col .hero-brush-banner {
    margin: 8px 0 8px;
  }
  .hero-two-col .hero-brand-desc {
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 18px;
  }
  .hero-two-col .hero-policy-pill {
    font-size: 0.85rem;
    margin-bottom: 16px;
  }
  .hero-two-col .hero-policy-pill .hero-policy-pill-icon {
    width: 28px;
    height: 28px;
  }
  /* 特徴ピル */
  .hero-two-col .hero-feature-pills {
    gap: 8px;
  }
  .hero-two-col .hero-feature-pill {
    padding: 12px 10px;
    gap: 10px;
  }
  .hero-two-col .hero-feature-pill-icon {
    width: 30px;
    height: 30px;
  }
  .hero-two-col .hero-feature-pill-main {
    font-size: 0.9rem;
  }
  .hero-two-col .hero-feature-pill-sub {
    font-size: 0.72rem;
  }
  /* CTAボタン縮小 */
  .hero-two-col .btn-hero-primary,
  .hero-two-col .btn-hero-secondary {
    font-size: 0.88rem;
    padding: 12px 18px;
  }
}

/* ≤1000px：かなりコンパクトに */
@media (max-width: 1000px) {
  .hero-two-col .hero-container {
    grid-template-columns: 1fr 1.5fr;
  }
  .hero-two-col .hero-headline-prefix {
    font-size: 1.2rem;
    margin-bottom: 16px;       /* 12→16 で隙間維持 */
  }
  .hero-two-col .hero-headline-suffix {
    font-size: 1.85rem;
  }
  /* brush関連はグローバルclampに統一済み（上書き削除） */
  .hero-two-col .hero-brush-banner {
    margin: 8px 0 6px;
  }
  .hero-two-col .hero-brand-desc {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 14px;
  }
  .hero-two-col .hero-feature-pill-icon {
    width: 26px;
    height: 26px;
  }
  .hero-two-col .hero-feature-pill-main {
    font-size: 0.85rem;
  }
  .hero-two-col .hero-feature-pill-sub {
    font-size: 0.68rem;
  }
  /* ボタンも段階縮小（テキストと連動） */
  .hero-two-col .btn-hero-primary,
  .hero-two-col .btn-hero-secondary {
    font-size: 0.82rem;
    padding: 10px 14px;
    gap: 6px;
  }
}

/* ≤900px：さらに引き締め（モバイルへの過渡期） */
@media (max-width: 900px) {
  .hero-two-col .hero-container {
    grid-template-columns: 1fr 1.55fr;
  }
  .hero-two-col .hero-headline-prefix {
    font-size: 1.5rem;
    margin-bottom: 16px;       /* 隙間維持（≤1000 から継承で14だったが明示） */
  }
  .hero-two-col .hero-headline-suffix {
    font-size: 1.6rem;
  }
  /* brush関連はグローバルclampに統一済み（上書き削除） */
  .hero-two-col .hero-brand-desc {
    font-size: 0.82rem;
  }
  /* ボタンも段階縮小：モバイル直前の最小サイズ */
  .hero-two-col .btn-hero-primary,
  .hero-two-col .btn-hero-secondary {
    font-size: 0.78rem;
    padding: 9px 12px;
    gap: 5px;
  }
}

/* ≤600px：特徴ピルを縦1列 */
@media (max-width: 600px) {
  .hero-two-col .hero-feature-pills {
    grid-template-columns: 1fr;
  }
}

/* ====== 中間 viewport（769〜1500px）では特徴ピルを非表示 ======
   このゾーンではレイアウトが最も窮屈で、ピルがあると左コンテンツが
   高くなりすぎて右画像とのバランスが悪化する。
   PC（>1500）では表示、モバイル（≤768）では縦積みで再表示する。 */
@media (min-width: 769px) and (max-width: 1500px) {
  .hero-two-col .hero-feature-pills {
    display: none;
  }
}

/* ============================================================
   ★ desc / ctas を右画像にオーバーラップさせる仕組み（≥769px PC のみ）
   - 左カラム幅に縛られず、自然な幅を取る（max-content）
   - 改行（テキストwrap / ボタン2行落ち）を完全に禁止（nowrap）
   - 右画像より手前に出すため z-index を上げる
   - hero-left は overflow:visible にして子の飛び出しを許可
   ============================================================ */
@media (min-width: 769px) {
  .hero-two-col .hero-left {
    position: relative;
    z-index: 3;
    overflow: visible;
  }
  .hero-two-col .hero-right {
    position: relative;
    z-index: 1;
  }
  .hero-two-col .hero-brand-desc {
    width: max-content;
    max-width: none;
    position: relative;
    z-index: 3;
    /* <br>で2行構造のため、各行内で改行禁止にすればwrapしない */
    word-break: keep-all;
    overflow-wrap: normal;
  }
  /* hero-brand-desc 内の各行は <br> で区切られているので、
     行ごとの折り返しを完全に禁止するため白い背景パッドを当てる選択肢もあるが、
     まずは透明のまま運用し、可読性が問題なら後追いで微調整する */
  .hero-two-col .hero-brand-ctas {
    width: max-content;
    max-width: none;
    flex-wrap: nowrap;          /* ボタン2行落ち禁止 */
    position: relative;
    z-index: 3;
  }
  .hero-two-col .btn-hero-primary,
  .hero-two-col .btn-hero-secondary {
    white-space: nowrap;        /* ボタン内テキストも改行禁止 */
    flex-shrink: 0;
  }
}

/* ============================================================
   ★ 左カラム背後ブラー（≤1150px、右画像が左にどんどん被ってくるゾーン）
   - .hero-left::before に backdrop-filter:blur() を当て、
     左カラム領域の背後に見える右画像をぼかしてテキストとの分離感を確保
   - テキスト/ボタンはブラー擬似要素より上に表示（z-index 1 以上）
   ============================================================ */
@media (min-width: 769px) and (max-width: 1150px) {
  .hero-two-col .hero-left::before {
    content: '';
    position: absolute;
    inset: 0;
    backdrop-filter: blur(4px) saturate(105%);    /* 8px → 4px に弱める */
    -webkit-backdrop-filter: blur(4px) saturate(105%);
    background: rgba(255, 255, 255, 0.12);        /* 0.18 → 0.12 に軽く */
    pointer-events: none;
    z-index: 0;                                   /* テキスト要素より下 */
  }
  /* 左カラムの子要素はブラー擬似要素より上に乗せる */
  .hero-two-col .hero-left > * {
    position: relative;
    z-index: 1;
  }
  /* desc/ctas は既に z-index:3（上で設定済み）のためそのまま機能 */
}

/* ============================================================
   レスポンシブ：768px以下で文字量を調整
   （旧 ≤1100 ブロックは 1200/1000 間でジャンプを生んでいたため削除済み 2026-05-23）
   ============================================================ */
@media (max-width: 768px) {
  .hero-two-col .hero-headline-row {
    gap: 4px;
  }
  .hero-two-col .hero-brush-aijinzai {
    height: 60px;
  }
  .hero-two-col .hero-brush-banner {
    max-width: 100%;
  }
}


.hero-two-col .hero-brand-sub {
  font-size: 1.3rem;
  color: #14213D;
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero-two-col .hero-brand-divider {
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  margin-bottom: 20px;
  border-radius: 2px;
}

.hero-two-col .hero-brand-desc {
  font-size: 1.015rem;
  color: #000000;          /* 旧 #4A5568（透明感ある黒）→ 完全な黒ベタ */
  line-height: 1.9;
  margin-bottom: 28px;
}

/* スマホ専用改行（PCでは無効） */
.hero-two-col .hero-brand-desc .br-sp {
  display: none;
}

.hero-two-col .hero-brand-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-two-col .hero-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: #ffffff;
  border: 1px solid #D6E4F5;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2C3E5A;
}

.hero-two-col .hero-brand-badge i {
  color: var(--color-primary);
  font-size: 0.75rem;
}

.hero-two-col .btn-hero-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 16px 48px 16px 32px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(34,80,200,0.35);
  align-self: flex-start;
}

.hero-two-col .btn-hero-brand::after {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  opacity: 0.9;
}

.hero-two-col .btn-hero-brand:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(34,80,200,0.45);
  color: #fff;
}

/* ====== A案: ポリシーピル ====== */
.hero-two-col .hero-policy-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  padding: 7px 16px;
  margin-bottom: 22px;
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  /* +2px ぶん大きく: 0.8rem(12.8px) → 0.925rem(14.8px) */
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(34,80,200,0.08);
}

.hero-two-col .hero-policy-pill i {
  /* ピル本体に追従 */
  font-size: 0.9rem;
  color: var(--color-primary);
}

/* ====== A案: CTA 2択 ====== */
.hero-two-col .hero-brand-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.hero-two-col .btn-hero-primary,
.hero-two-col .btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.hero-two-col .btn-hero-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 4px 16px rgba(34,80,200,0.3);
  border: 2px solid var(--color-primary);
}

.hero-two-col .btn-hero-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(34,80,200,0.4);
  color: #fff;
}

.hero-two-col .btn-hero-secondary {
  background: #ffffff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.hero-two-col .btn-hero-secondary:hover {
  background: var(--color-primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(34,80,200,0.25);
}

/* モバイル: CTAを縦積み */
@media (max-width: 640px) {
  .hero-two-col .hero-brand-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .hero-two-col .btn-hero-primary,
  .hero-two-col .btn-hero-secondary {
    justify-content: center;
    width: 100%;
  }
}

/* 旧 .hero-two-col .hero-right（center揃え）は新ヒーロー（右下フラッシュ版）と
   競合し、justify-content: center を後勝ちで上書きしていたため削除済み（2026-05-15） */

.hero-visual-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.hero-flow-row {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  justify-content: center;
}

.hero-flow-card {
  background: rgba(255,255,255,0.07);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 20px 16px;
  color: #fff;
  text-align: center;
  width: 150px;
  transition: transform 0.4s ease;
}

.hero-flow-card:hover {
  transform: translateY(-4px);
}

.hero-flow-card .flow-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.5rem;
}

.hero-flow-card .flow-icon.icon-idea {
  background: linear-gradient(135deg, rgba(255,193,7,0.2), rgba(255,152,0,0.3));
  border: 1px solid rgba(255,193,7,0.3);
}

.hero-flow-card .flow-icon.icon-build {
  background: linear-gradient(135deg, rgba(76,175,80,0.2), rgba(56,142,60,0.3));
  border: 1px solid rgba(76,175,80,0.3);
}

.hero-flow-card .flow-icon.icon-launch {
  background: linear-gradient(135deg, rgba(33,150,243,0.2), rgba(25,118,210,0.3));
  border: 1px solid rgba(33,150,243,0.3);
}

.hero-flow-card .flow-label {
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.3;
}

.hero-flow-arrow {
  color: rgba(255,255,255,0.3);
  font-size: 1.2rem;
  flex-shrink: 0;
}

.hero-flow-result {
  background: rgba(34,80,200,0.12);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(34,80,200,0.25);
  border-radius: 16px;
  padding: 20px 32px;
  text-align: center;
  color: #fff;
  width: fit-content;
  animation: pulseGlow 3s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(34,80,200,0.1); }
  50% { box-shadow: 0 0 30px rgba(34,80,200,0.25); }
}

.hero-flow-result .result-number {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.hero-flow-result .result-number span {
  font-size: 1.4rem;
}

.hero-flow-result .result-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.6);
  margin-top: 4px;
}

/* === パターン2: 作品紹介型ヒーロー === */
.hero-two-col-v2 {
  position: relative;
  background: url('images/hero-bg.jpg') center center / cover no-repeat;
  background-color: #111;
  padding: 80px 0 60px;
  min-height: 560px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-two-col-v2::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.6) 50%,
    rgba(0,0,0,0.35) 100%
  );
  z-index: 1;
}

.hero-two-col-v2 .hero-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-two-col-v2 .hero-left {
  display: flex;
  flex-direction: column;
}

.hero-two-col-v2 .hero-en-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-two-col-v2 .hero-brand-name {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}

.hero-two-col-v2 .hero-brand-name .brand-accent {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 900;
  font-style: normal;
  color: var(--color-primary);
}

.hero-two-col-v2 .hero-brand-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  margin-bottom: 20px;
  letter-spacing: 0.05em;
}

.hero-two-col-v2 .hero-brand-divider {
  width: 50px;
  height: 3px;
  background: var(--color-primary);
  margin-bottom: 20px;
  border-radius: 2px;
}

.hero-two-col-v2 .hero-brand-desc {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.9;
  margin-bottom: 28px;
}

.hero-two-col-v2 .hero-brand-badges {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.hero-two-col-v2 .hero-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 14px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  backdrop-filter: blur(4px);
}

.hero-two-col-v2 .hero-brand-badge i {
  color: var(--color-primary);
  font-size: 0.75rem;
}

.hero-two-col-v2 .btn-hero-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 16px 48px 16px 32px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(34,80,200,0.35);
  align-self: flex-start;
}

.hero-two-col-v2 .btn-hero-brand::after {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  opacity: 0.9;
}

.hero-two-col-v2 .btn-hero-brand:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(34,80,200,0.45);
  color: #fff;
}

/* 右側: 作品ショーケース 2x2グリッド */
.hero-two-col-v2 .hero-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
}

.hero-showcase-grid .showcase-badge-top {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 8px;
}

/* 縦3枚スタック版（A案ヒーロー右） */
.hero-showcase-stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.hero-showcase-stack .showcase-badge-top {
  text-align: center;
  margin-bottom: 4px;
}

.hero-showcase-stack .browser-mock-wrapper {
  width: 100%;
}

/* メインビジュアル画像：右コラム幅いっぱいに表示してテキストとのギャップを解消。
   width: 100% で右コラム幅にフィット → 縦は aspect ratio で自動。
   レスポンシブ：viewport が小さくなれば右コラムも小さくなり、画像も自然に縮小。
   max-height は撤去（max を小さくしすぎると左に空きが出る）。 */
.hero-two-col .hero-main-visual {
  display: block;
  /* ★ セクション高さに合わせて画像高を決める（下接地を絶対担保）
     幅はアスペクト比で自動。カラム幅を超えた分は .hero-right の overflow:hidden で切る */
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  width: auto;
  max-width: none;
  margin: 0;
}

.hero-showcase-grid .showcase-badge-top span,
.hero-showcase-stack .showcase-badge-top span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  padding: 8px 24px;
  border-radius: 20px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px rgba(34, 80, 200,0.35);
  animation: badgePulse 2.4s ease-in-out infinite;
}

.hero-showcase-grid .showcase-badge-top span i,
.hero-showcase-stack .showcase-badge-top span i {
  font-size: 0.9rem;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 16px rgba(34,80,200,0.35); }
  50% { transform: scale(1.04); box-shadow: 0 6px 24px rgba(34,80,200,0.5); }
}

/* 各モックのラッパー＆タグ */
.browser-mock-wrapper {
  position: relative;
}

.browser-mock-tag {
  position: absolute;
  top: 5px;
  right: 5px;
  z-index: 3;
  background: #fff;
  color: #333;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  white-space: nowrap;
}

.browser-mock {
  background: #1e1e2a;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.3s ease;
}

.browser-mock:hover {
  transform: translateY(-3px);
}

.browser-mock-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 7px 10px;
  background: rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.browser-mock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
}

.browser-mock-dot:first-child { background: #ff5f57; }
.browser-mock-dot:nth-child(2) { background: #ffbd2e; }
.browser-mock-dot:nth-child(3) { background: #28c940; }

.browser-mock-body {
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  position: relative;
}

/* プレースホルダー背景（スクリーンショットに差し替え可能） */
.browser-mock-body.mock-lp {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.browser-mock-body.mock-webapp {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}
.browser-mock-body.mock-ec {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}
.browser-mock-body.mock-saas {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.browser-mock-body .mock-icon {
  font-size: 1.6rem;
  margin-bottom: 6px;
  opacity: 0.9;
}

.browser-mock-body .mock-label {
  font-size: 0.85rem;
  font-weight: 700;
}

.browser-mock-body .mock-sub {
  font-size: 0.65rem;
  opacity: 0.75;
  margin-top: 2px;
}

/* スクリーンショット画像がある場合 */
.browser-mock-body img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-top {
  position: relative;
  background: url('images/mv01.jpg') center center / cover no-repeat;
  background-color: #1a1a2e;
  padding: 100px 0 80px;
  min-height: 600px;
  display: flex;
  align-items: center;
  display: none;
}

.hero-top::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.88) 0%,
    rgba(0, 0, 0, 0.6) 60%,
    rgba(0, 0, 0, 0.35) 100%
  );
  z-index: 1;
}

.hero-top .hero-container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.hero-top .hero-content {
  max-width: 560px;
}

.hero-top .hero-title {
  font-size: 3rem;
  margin-bottom: 16px;
  line-height: 1.4;
  color: #fff;
}

.hero-top .hero-title .highlight {
  color: var(--color-primary);
}

.hero-top .hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 28px;
  line-height: 1.8;
}

.hero-top .hero-cta-group {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-top .btn-hero-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 16px 48px 16px 32px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-top .btn-hero-primary::after {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  opacity: 0.9;
}

.hero-top .btn-hero-primary:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(34,80,200,0.3);
  color: #fff;
}

.hero-top .btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-top .btn-hero-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* --- Popular Articles (よく読まれている記事) --- */
.popular-articles {
  padding: 60px 0;
  background: #ffffff;
}

.popular-articles .section-label {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}

.popular-articles .section-label h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0;
}

.popular-articles .section-label .label-en {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}

.popular-articles .section-label-bar {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-light));
  border-radius: 2px;
  margin-bottom: 24px;
}

/* Article grid: 1 large + 3 small */
.popular-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.popular-main {
  grid-row: 1 / 2;
}

.popular-main .popular-card-thumb {
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 12px;
  background: var(--color-bg-light);
}

.popular-main .popular-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-main .popular-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 4px;
}

.popular-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.popular-side-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.popular-side-card .popular-card-thumb {
  width: 220px;
  min-width: 220px;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: var(--color-bg-light);
}

.popular-side-card .popular-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.popular-side-card .popular-card-body {
  flex: 1;
}

.popular-side-card .popular-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.popular-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #888;
}

.popular-card-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--color-bg-light);
  border-radius: 3px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-primary);
}

.popular-card a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s;
}

.popular-card a:hover {
  opacity: 0.8;
  color: inherit;
}

/* Empty state */
.popular-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #aaa;
}

.popular-empty i {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  color: #ddd;
}

.popular-empty p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- Results Section (実績 - Enhanced) --- */
.results-section {
  padding: 70px 0;
  background: #ffffff;
}

.results-section .section-header {
  margin-bottom: 16px;
}

.results-section .section-lead {
  text-align: center;
  font-size: 1rem;
  color: #000;
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}

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

.results-note {
  text-align: right;
  font-size: 0.8rem;
  color: #999;
  margin-top: 24px;
}

.result-card-v2 {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.result-card-v2:hover {
  transform: none;
}

.result-card-v2 .rc-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.result-card-v2 .rc-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--color-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--color-primary);
}

.result-card-v2 .rc-label {
  font-size: 1.2rem;
  font-weight: 600;
  color: #000;
  margin-bottom: 0;
}

.result-card-v2 .rc-number-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
  flex: 1;
  align-items: center;
}

.result-card-v2 .rc-number {
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--color-text-dark);
  line-height: 1;
}

.result-card-v2 .rc-unit {
  font-size: 1rem;
  font-weight: 600;
  color: #000;
}

.result-card-v2 .rc-bar {
  width: 100%;
  height: 8px;
  background: #f0f0f0;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.result-card-v2 .rc-bar-fill {
  height: 100%;
  border-radius: 4px;
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-light));
  transition: width 1.2s ease;
}

.result-card-v2 .rc-sub {
  font-size: 1rem;
  color: #000;
  margin-bottom: 0;
  line-height: 1.5;
  margin-top: auto;
  padding-top: 8px;
}

/* Card 2-column layout (chart left, text right) */
.rc-body-2col {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.rc-body-2col .rc-chart-inline {
  flex-shrink: 0;
}

.rc-body-2col .rc-text-col {
  flex: 1;
}

.rc-body-2col .rc-text-col .rc-sub {
  margin-top: 0;
  padding-top: 0;
}

/* Donut chart (inside 2x2 card) */
.rc-chart-inline {
  width: 130px;
  height: 130px;
  margin: 12px auto 12px;
  position: relative;
}

.rc-chart-inline svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.rc-chart-inline .rc-chart-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.rc-chart-inline .chart-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--color-text-dark);
  display: block;
  line-height: 1;
}

.rc-chart-inline .chart-unit {
  font-size: 1rem;
  color: #888;
}

/* Icon color variants */
.rc-icon-blue {
  background: linear-gradient(135deg, #f0f7ff, #dbeafe) !important;
  color: #3b82f6 !important;
}

.rc-icon-green {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7) !important;
  color: #10b981 !important;
}

.rc-icon-amber {
  background: linear-gradient(135deg, #fffbeb, #fef3c7) !important;
  color: #f59e0b !important;
}

/* --- Bar Chart (棒グラフ) --- */
.rc-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex: 1;
  min-height: 130px;
  margin: 8px 0 12px;
  padding-top: 8px;
}

.rc-bar-chart .bar-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  height: 100%;
  justify-content: flex-end;
}

.rc-bar-chart .bar-value {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
}

.rc-bar-chart .bar {
  width: 100%;
  max-width: 48px;
  border-radius: 6px 6px 0 0;
  transition: height 1s ease;
}

.rc-bar-chart .bar-label {
  font-size: 1rem;
  color: #000;
  margin-top: 4px;
  white-space: nowrap;
}

/* --- Horizontal Bar Chart (横棒グラフ) --- */
.rc-hbar-chart {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  justify-content: center;
  margin: 8px 0 12px;
}

.rc-hbar-chart .hbar-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rc-hbar-chart .hbar-label {
  font-size: 0.85rem;
  color: #000;
  width: 60px;
  flex-shrink: 0;
  text-align: right;
  white-space: nowrap;
}

.rc-hbar-chart .hbar-track {
  flex: 1;
  height: 14px;
  background: #f0f0f0;
  border-radius: 7px;
  overflow: hidden;
}

.rc-hbar-chart .hbar-fill {
  height: 100%;
  border-radius: 7px;
  transition: width 1.2s ease;
}

.rc-hbar-chart .hbar-value {
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  width: 32px;
  flex-shrink: 0;
}

/* --- Line Chart (折れ線グラフ) --- */
.rc-line-chart {
  margin: 8px 0 12px;
  flex: 1;
  min-height: 120px;
}

.rc-line-chart svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* --- CTA Banner --- */
.cta-banner {
  position: relative;
  padding: 80px 0;
  background: url('images/cta-bg-dummy.jpg') center center / cover no-repeat;
  background-color: #1a1a2e;
  text-align: center;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.92) 0%,
    rgba(45, 27, 61, 0.85) 100%
  );
}

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

.cta-banner-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-banner .cta-en-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-primary);
  margin-bottom: 16px;
  padding: 4px 16px;
  border: 1px solid rgba(34,80,200,0.4);
  border-radius: 20px;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2rem;
  margin-bottom: 16px;
  line-height: 1.6;
  font-weight: 800;
}

.cta-banner p {
  color: rgba(255,255,255,0.75);
  font-size: 1rem;
  margin-bottom: 32px;
  line-height: 1.8;
}

.cta-banner .btn-cta-banner {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 18px 52px 18px 36px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(34,80,200,0.3);
}

.cta-banner .btn-cta-banner::after {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  opacity: 0.9;
}

.cta-banner .btn-cta-banner:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(34,80,200,0.45);
  color: #fff;
}

.cta-banner .cta-sub-note {
  margin-top: 16px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* --- Column Section (コラム) --- */
/* 講師紹介（voice-sectionの後） */
.instructor {
  background: #f3f1ee;
}

/* 旧 .column-section ブロックは HTML から完全削除済みのため
   関連CSSも全削除（2026-05-14 dedup） */

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

.column-card {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.column-card:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

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

.column-card-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-bg-light);
}

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

.column-card-body {
  padding: 14px 16px;
}

.column-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 6px;
}

.column-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.column-more {
  text-align: center;
  margin-top: 32px;
}

.column-more a {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  background: transparent;
  border: 2px solid var(--color-primary);
  border-radius: 50px;
  padding: 12px 48px 12px 32px;
  transition: all 0.3s;
  text-decoration: none;
}

.column-more a::after {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  transition: all 0.3s;
}

.column-more a:hover {
  background: var(--color-primary);
  color: #fff;
}

.column-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  color: #aaa;
}

/* 旧 About Section (.about-section / .about-inner) は HTML から削除済み。
   関連CSSも全削除（2026-05-14 dedup） */

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.about-feature-card {
  text-align: center;
  padding: 36px 24px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(to right, var(--color-primary), var(--color-primary-light));
}

.about-feature-card:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
}

.about-feature-card .af-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(34,80,200,0.08), rgba(34,80,200,0.15));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.4rem;
  color: var(--color-primary);
}

.about-feature-card .af-num {
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(34,80,200,0.06);
  line-height: 1;
}

.about-feature-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.5;
}

.about-feature-card p {
  font-size: 1rem;
  color: #000;
  line-height: 1.7;
  margin-bottom: 0;
}

.about-cta {
  margin-top: 8px;
  text-align: center;
}

.about-cta a {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 16px 48px 16px 32px;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(34,80,200,0.2);
}

.about-cta a::after {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  opacity: 0.9;
}

.about-cta a:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(34,80,200,0.35);
  color: #fff;
}

/* --- Achievements (成果セクション) --- */
.achievements-section {
  padding: 70px 0 50px;
  background: #f3f1ee;
}

.achievements-section .achieve-labels {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.achievements-section .achieve-label {
  padding: 6px 20px;
  border: none;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: var(--color-primary);
}

.achievements-section .achieve-heading {
  font-weight: 800;
}

.achieve-swiper {
  padding-bottom: 40px;
  overflow: hidden;
}

.achieve-swiper .swiper-pagination {
  bottom: 0;
}

.achieve-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: #ccc;
  opacity: 1;
  transition: all 0.3s;
}

.achieve-swiper .swiper-pagination-bullet-active {
  background: var(--color-primary);
  width: 24px;
  border-radius: 5px;
}

.achieve-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f0f0f0;
  padding: 24px 20px;
  text-align: center;
}

.achieve-card .ac-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 0 auto 10px;
  background: var(--color-bg-light);
  overflow: hidden;
  border: 3px solid #f0f0f0;
}

.achieve-card .ac-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.achieve-card .ac-name {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #444;
  line-height: 1.4;
}

.achieve-card .ac-ba-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.achieve-card .ac-ba-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.achieve-card .ac-ba-arrow {
  text-align: center;
  color: var(--color-primary);
  font-size: 1.2rem;
  margin: 8px 0;
}

.achieve-card .ac-badge {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  width: fit-content;
}

.achieve-card .ac-badge.after {
  background: #10b981;
  color: #fff;
}

.achieve-card .ac-badge.before {
  background: #e5e7eb;
  color: #000;
}

.achieve-card .ac-text {
  font-size: 1rem;
  color: #000;
  line-height: 1.5;
  margin-bottom: 0;
}

.achieve-empty {
  text-align: center;
  padding: 50px 20px;
  color: #aaa;
}

.achieve-empty i {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  color: #ddd;
}

/* --- Voice (受講生の声) --- */
.voice-section {
  padding: 60px 0;
  background: #ffffff;
}

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

.voice-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease;
}

.voice-card:hover {
  transform: none;
}

.voice-card a {
  text-decoration: none;
  color: inherit;
}

.voice-card-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--color-bg-light);
}

.voice-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-card-body {
  padding: 16px;
}

.voice-card-label {
  display: inline-block;
  padding: 2px 10px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  border-radius: 3px;
  margin-bottom: 8px;
}

.voice-card-title {
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 6px;
}

.voice-card-meta {
  font-size: 0.75rem;
  color: #888;
}

.voice-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 50px 20px;
  color: #aaa;
}

.voice-empty i {
  font-size: 2.5rem;
  margin-bottom: 12px;
  display: block;
  color: #ddd;
}

.voice-more {
  text-align: center;
  margin-top: 28px;
}

.voice-more a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
}

.voice-more a:hover {
  color: var(--color-primary-dark);
}

/* --- Brand Message + CTA --- */
.brand-message {
  padding: 60px 0;
  background: #fff;
  text-align: center;
}

.brand-message-inner {
  max-width: 600px;
  margin: 0 auto;
}

.brand-message h2 {
  font-size: 1.8rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.brand-message p {
  font-size: 0.95rem;
  color: #000;
  line-height: 1.8;
  margin-bottom: 24px;
}

.brand-message .btn-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.2s;
}

.brand-message .btn-brand:hover {
  gap: 12px;
  color: var(--color-primary-dark);
}

/* --- Responsive --- */
/* 新ヒーロー（hero-two-col v3）専用：
   ≤1024px でも 2カラム横並びを維持し、左右ともスケールダウンする方針。
   スタッキング（縦積み）は ≤768px の真モバイルからに変更。 */
@media (max-width: 1024px) {
  /* hero-two-col の基本構造（padding:0 / display:flex）はそのまま継承。
     見出し・説明・ピル・ボタンの個別サイズ縮小は ≤1100px の media query で対応済み。 */

  /* hero-two-col 以外の旧レイアウト用ルールが残っているならここで残す */
}

/* ≤768px：真モバイルで縦積みに切り替え */
@media (max-width: 768px) {
  .hero-two-col {
    padding: 40px 0 0;            /* 上に少し余白、下は画像で完結 */
    min-height: auto;
  }
  .hero-two-col .hero-container {
    grid-template-columns: 1fr;   /* 1カラム縦積み */
    gap: 24px;
  }
  .hero-two-col .hero-left {
    padding: 0 20px;              /* 左右にだけ最小限のpadding */
    text-align: left;
    align-items: stretch;
  }
  .hero-two-col .hero-right {
    /* スマホ：PC用の absolute レイアウトをリセットして通常 flow に戻す */
    position: static;
    height: auto;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: flex-end;
  }
  .hero-two-col .hero-main-visual {
    /* スマホ：PC用の absolute をリセット */
    position: static;
    width: 100%;
    max-width: 100%;
    height: auto;
  }
  .hero-two-col .hero-brand-ctas {
    flex-direction: column;
  }
  .hero-two-col .btn-hero-primary,
  .hero-two-col .btn-hero-secondary {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 768px) {
  .hero-top {
    padding: 60px 0 50px;
    min-height: 400px;
  }

  .hero-top .hero-container {
    padding: 0 20px;
  }

  .hero-top .hero-title {
    font-size: 2rem;
  }

  .hero-top .hero-cta-group {
    flex-direction: column;
    gap: 10px;
  }

  .hero-top .btn-hero-primary,
  .hero-top .btn-hero-secondary {
    width: 100%;
    justify-content: center;
  }

  .popular-grid {
    grid-template-columns: 1fr;
  }

  .popular-side {
    gap: 12px;
    overflow: hidden;
    padding-bottom: 0;
  }

  .results-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .cta-banner {
    padding: 60px 0;
  }

  .cta-banner h2 {
    font-size: 1.4rem;
  }

  .column-grid {
    grid-template-columns: 1fr;
    overflow: hidden;
    padding-bottom: 40px;
  }

  .voice-grid {
    grid-template-columns: 1fr;
    overflow: hidden;
    padding-bottom: 0;
  }

  /* instructor uses LP styles - responsive handled there */

  .brand-message h2 {
    font-size: 1.4rem;
  }

  /* --- Hero two-col responsive --- */
  .hero-two-col {
    padding: 60px 0 40px;
    min-height: auto;
  }

  .hero-two-col .hero-container {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 0 20px;
  }

  .hero-two-col .hero-left {
    text-align: center;
    align-items: center;
  }

  .hero-two-col .hero-brand-sub {
    font-size: 1.1rem;
  }

  .hero-two-col .hero-brand-desc {
    font-size: 14px;
  }

  .hero-two-col .hero-brand-divider {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-two-col .hero-brand-badges {
    justify-content: center;
  }

  .hero-two-col .hero-brand-badge {
    font-size: 0.78rem;
    padding: 5px 12px;
  }

  .hero-two-col .btn-hero-brand {
    display: none;
  }

  .hero-two-col .hero-right {
    width: 100%;
  }

  .hero-showcase-grid,
  .hero-showcase-stack {
    gap: 10px;
  }

  .hero-showcase-grid .showcase-badge-top,
  .hero-showcase-stack .showcase-badge-top {
    margin-bottom: 15px;
  }

  .about-inner .about-lead {
    font-size: 1rem;
  }

  .achievements-section .achieve-labels {
    gap: 5px;
  }

  .hero-showcase-grid .showcase-badge-top span,
  .hero-showcase-stack .showcase-badge-top span {
    font-size: 0.85rem;
    padding: 6px 18px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .popular-articles {
    padding: 60px 0 40px;
  }

  .browser-mock-tag {
    font-size: 0.6rem;
    padding: 2px 8px;
  }

  .browser-mock {
    border-radius: 8px;
  }

  .browser-mock .mock-bar {
    padding: 4px 8px;
  }

}

/* ============================================================
   ★ ヒーロー スマホ専用：右画像上＋左コンテンツ下＋1/3オーバーラップ
   - flex-direction: column-reverse で順序逆転（右画像→左コンテンツ）
   - 左コンテンツに margin-top: -25vw で右画像の下1/3に重ねる
   - すべての左カラム要素を強制中央寄せ
   - 左カラム上端に白グラデを敷いて被り部分の可読性を確保
   既存の 768px ブロックを後勝ちで上書きするためファイル末尾近くに配置
   ============================================================ */
@media (max-width: 768px) {
  .hero-two-col {
    padding: 0;
    min-height: auto;
    overflow: hidden;
  }

  /* gridをflexに切り替えて順序を反転 */
  .hero-two-col .hero-container {
    display: flex;
    flex-direction: column-reverse;
    grid-template-columns: none;
    gap: 0;
    padding: 0;
    align-items: stretch;
    height: auto;
  }

  /* 右画像：上に配置、フル幅 */
  .hero-two-col .hero-right {
    position: static;
    height: auto;
    display: block;
    width: 100%;
    align-self: stretch;
    overflow: visible;
  }
  .hero-two-col .hero-main-visual {
    position: static;
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* 左コンテンツ：下に配置、右画像の下1/3に重なる */
  .hero-two-col .hero-left {
    position: relative;
    z-index: 2;
    margin-top: -25vw;           /* 右画像の下1/3に被るマイナスマージン */
    padding: 24px 20px 36px;
    text-align: center;
    align-items: center;          /* flex column子を中央寄せ */
    justify-content: flex-start;
    align-self: stretch;
    height: auto;
    /* オーバーラップ部分の可読性のため上から白グラデーション */
    background: linear-gradient(180deg,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.6) 12%,
      rgba(255, 255, 255, 0.9) 25%,
      #ffffff 40%
    );
  }

  /* 左カラム::before (ブラー) はスマホでは無効化 */
  .hero-two-col .hero-left::before {
    display: none;
  }

  /* すべての左コンテンツ要素を中央寄せ強制 */
  .hero-two-col .hero-policy-pill {
    align-self: center;
  }
  .hero-two-col .hero-brand-name {
    text-align: center;
    align-self: center;
    width: 100%;
  }
  .hero-two-col .hero-headline-prefix {
    text-align: center;
  }
  .hero-two-col .hero-headline-row {
    justify-content: center;
  }
  .hero-two-col .hero-brand-desc {
    text-align: center;
    align-self: center;
    width: 100%;
    /* PC用の max-content + nowrap をリセット（スマホでは折返してOK） */
    max-width: none;
    white-space: normal;
  }
  .hero-two-col .hero-feature-pills {
    width: 100%;
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .hero-two-col .hero-feature-pill {
    width: 100%;
    max-width: 320px;
  }
  /* CTAボタン群：縦並び・中央配置 */
  .hero-two-col .hero-brand-ctas {
    flex-direction: column;
    align-items: center;
    width: 100%;
    /* PC用 max-content + nowrap をリセット */
    max-width: none;
    flex-wrap: nowrap;
  }
  .hero-two-col .btn-hero-primary,
  .hero-two-col .btn-hero-secondary {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }
}

/* ============================================================
   ★ ヒーロー スマホ：背景画像フルブリード + コンテンツ重ね配置
   - mv-mobile.jpg を .hero-container の背景に敷いて全面表示
   - 画像上部の余白に見出し群、下部の余白に特徴ピル3つを重ねる
   - 上記の column-reverse ブロックを後勝ちで上書き（PC=769px以上には無関係）
   ============================================================ */
@media (max-width: 768px) {
  .hero-two-col {
    padding: 0;
    overflow: hidden;
  }

  /* 背景画像を敷く。mv-mobile.jpg と同比率でクロップせず全体表示 */
  .hero-two-col .hero-container {
    display: flex;
    flex-direction: column;          /* column-reverse を打ち消す */
    aspect-ratio: 941 / 1450;        /* 高さを縮めて画像下側をカット（数値↓でさらにカット） */
    background-image: url('images/mv-mobile.jpg');
    background-size: cover;
    background-position: center top;  /* 上基準で下側をクロップ */
    background-repeat: no-repeat;
    padding: 10vw 6vw 10vw 4vw;      /* 上:余白 / 左:狭く / 下:ピルを底から浮かせる */
    gap: 0;
  }

  /* スマホでは実体の<img>(picture)は隠し、背景画像で表示 */
  .hero-two-col .hero-right {
    display: none;
  }

  /* 左コンテンツを背景の上に重ねる。上クラスタは上、ピルは下へ */
  .hero-two-col .hero-left {
    position: static;
    margin-top: 0;
    padding: 0;
    background: none;                /* 旧：白グラデーションを解除 */
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;         /* 上クラスタは左寄せ */
    justify-content: flex-start;
    text-align: left;
    height: auto;
  }
  .hero-two-col .hero-left::before {
    display: none;
  }

  /* バッジ（経済産業省〜）の下余白 */
  .hero-two-col .hero-policy-pill {
    margin-bottom: 30px;
  }
  /* 見出し・説明文（メイン/サブテキスト）を左寄せに上書き */
  .hero-two-col .hero-brand-name {
    margin-bottom: 5px;
    align-self: flex-start;
    text-align: left;
    width: 100%;
  }
  .hero-two-col .hero-headline-prefix {
    text-align: left;
    padding-left: 15px;
    margin-bottom: 20px;
  }
  /* 1行目「AI人材に」/ 2行目「変える」の並びにする */
  .hero-two-col .hero-headline-row {
    flex-direction: row;
    align-items: baseline;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0 6px;
    margin-bottom: 8px;
  }
  /* 「AI人材」ブラシの高さ */
  .hero-two-col .hero-brush-aijinzai {
    height: 90px;
  }
  /* suffix の箱を解除し、「に」と「変える」を row の直接の子として扱う */
  .hero-two-col .hero-headline-suffix {
    display: contents;
  }
  /* 「に」の位置を少し上へ。ブラシ画像に隠れないよう z-index を上げ、
     文字サイズを 1.2倍に拡大して視認性を確保 */
  .hero-two-col .hero-headline-ni {
    position: relative;
    top: -8px;
    z-index: 3;
    font-size: 1.2em;
  }
  /* 「変える」だけ次の行へ送り、参考デザインのように大きくアピール */
  .hero-two-col .hero-headline-kaeru {
    flex-basis: 100%;
    width: 100%;
    font-size: 3.4rem;
    line-height: 1.05;
    letter-spacing: 0.03em;
    margin-top: 5px;
    padding-left: 10px;
  }
  /* バナー画像（1日完結バイブコーディング研修）の上下を詰める */
  .hero-two-col .hero-brush-banner {
    margin: 10px 0 6px;
    max-width: 75%;
  }
  /* サブテキスト（説明文）をバナー画像へ近づける
     ＋ 背景画像が透ける箇所の可読性確保のため、半透明＋ぼかしパネルを敷く */
  .hero-two-col .hero-brand-desc {
    align-self: flex-start;
    text-align: left;
    width: auto;
    max-width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    font-weight: 700;                 /* サブテキスト全体を太字に */
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.45);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    border-radius: 8px;
  }
  /* スマホでは「プログラミング未経験から、」の後で改行 */
  .hero-two-col .hero-brand-desc .br-sp {
    display: inline;
  }

  /* CTAボタンはスマホでは非表示（画面下部の追随CTAに集約） */
  .hero-two-col .hero-brand-ctas {
    display: none;
  }

  /* 特徴ピル：最下部へ押し下げ、3カラム横並び（アイコン上・文字下） */
  .hero-two-col .hero-feature-pills {
    margin: auto 0 0;                /* margin-top:auto で底へ寄せる */
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: stretch;
    gap: 8px;
    width: 100%;
  }
  .hero-two-col .hero-feature-pill {
    flex: 1 1 0;
    min-width: 0;
    max-width: 116px;
    flex-direction: column;          /* アイコンを上に */
    gap: 6px;
    padding: 12px 6px;
    border-radius: 14px;
  }
  .hero-two-col .hero-feature-pill-icon {
    width: 40px;
    height: 40px;
  }
  .hero-two-col .hero-feature-pill-text {
    align-items: center;
    text-align: center;
    line-height: 1.25;
  }
  .hero-two-col .hero-feature-pill-sub {
    font-size: 0.7rem;
  }
}

/* --- モバイル追随CTAボタン（トップページ用 / 元CSSのアニメーション値をリセット） --- */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #fff;
  padding: 10px 16px;
  box-shadow: 0 -2px 12px rgba(0,0,0,0.12);
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.mobile-sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px 0;
  background: var(--color-primary);
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 6px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(34,80,200,0.3);
  transition: background 0.3s ease;
}

.mobile-sticky-cta a:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.mobile-sticky-cta a i {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .mobile-sticky-cta {
    display: block;
  }
}

/* --- スマホ専用Swiperレイアウト --- */

/* PC時: Swiperコンテナをグリッド全幅に展開 */
.voice-swiper,
.column-swiper {
  grid-column: 1 / -1;
}

/* PC時: paginationを非表示 */
.popular-side-pagination,
.voice-pagination,
.column-pagination {
  display: none;
}

/* PC時グリッドレイアウト（Swiper未初期化時） */
.voice-swiper:not(.swiper-initialized) .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.column-swiper:not(.swiper-initialized) .swiper-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.popular-side-swiper:not(.swiper-initialized) .swiper-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* PC時: Swiper CDNのheight:100%を無効化 */
.popular-side-swiper:not(.swiper-initialized) .swiper-slide,
.voice-swiper:not(.swiper-initialized) .swiper-slide,
.column-swiper:not(.swiper-initialized) .swiper-slide {
  height: auto;
}

/* PC時: Swiper CDNのwrapper height:100%を無効化 */
.popular-side-swiper:not(.swiper-initialized) .swiper-wrapper,
.voice-swiper:not(.swiper-initialized) .swiper-wrapper,
.column-swiper:not(.swiper-initialized) .swiper-wrapper {
  height: auto;
}

@media (max-width: 768px) {
  /* Swiperコンテナの基本制約（スマホのみ） */
  .popular-side-swiper,
  .voice-swiper,
  .column-swiper {
    width: 100%;
    overflow: hidden;
    padding: 8px 0;
  }

  /* Swiper初期化時: レイアウトはSwiper CDNに完全委任 */
  /* .swiper-wrapper / .swiper-slide への強制指定はループを壊すため不可 */

  .popular-side-pagination,
  .voice-pagination,
  .column-pagination {
    display: block;
    position: relative !important;
    bottom: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    text-align: center;
    margin-top: 16px;
  }

  /* ドットデザイン: achieveセクション準拠 */
  .popular-side-pagination .swiper-pagination-bullet,
  .voice-pagination .swiper-pagination-bullet,
  .column-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #ccc;
    opacity: 1;
    transition: all 0.3s;
  }

  .popular-side-pagination .swiper-pagination-bullet-active,
  .voice-pagination .swiper-pagination-bullet-active,
  .column-pagination .swiper-pagination-bullet-active {
    background: var(--color-primary);
    width: 24px;
    border-radius: 5px;
  }

  .voice-swiper .voice-card {
    width: 100%;
  }

  .column-swiper .column-card {
    width: 100%;
  }

  .column-more {
    margin-top: 0;
  }

  .popular-side-swiper .popular-side-card {
    width: 100%;
  }

  /* popular-side-card: スマホ時は縦レイアウト（画像上・テキスト下） */
  .popular-side-swiper .popular-side-card a {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    align-items: stretch !important;
  }

  .popular-side-swiper .popular-side-card .popular-card-thumb {
    width: 100%;
    min-width: unset;
    aspect-ratio: 16 / 9;
    border-radius: 8px;
  }

  .popular-side-swiper .popular-side-card .popular-card-title {
    font-size: 1rem;
    font-weight: 700;
    -webkit-line-clamp: 3;
  }
}

/* =====================================
   導入企業ロゴ（無限マーキー）
   ===================================== */
.client-logos {
  padding: 40px 0;
  background-color: var(--color-white);
  overflow: hidden;
}

.client-logos-swiper {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}

/* 等速マーキーの肝：Swiper のデフォルト ease を linear で上書き
   （これが無いとスライド遷移ごとに加減速して「停まる」見え方になる） */
.client-logos-swiper .swiper-wrapper {
  transition-timing-function: linear !important;
  -webkit-transition-timing-function: linear !important;
  align-items: center;
}

/* 各スライド幅を固定。これで marquee の速度が一定になる
   （'auto' のままだとロゴの縦横比で幅が変わり、速度がガタつく原因になる） */
.client-logos-swiper .swiper-slide {
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .client-logos-swiper .swiper-slide {
    width: 140px;
  }
}

/* 実ロゴ画像（/images/logo/ 配置）— 固定枠の中に縦横比保持で収める */
.client-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
}

.client-logo-item img {
  display: block;
  /* 固定枠 (200px × 64px) にフィットさせる。
     縦横比はそのまま、はみ出さないように max-width / max-height で制御。
     正方形ロゴ・横長ロゴが混在しても見栄えが揃う */
  max-width: 80%;        /* 枠の80%（左右に空気を入れる） */
  max-height: 44px;      /* 高さ44pxまで */
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: transform 0.25s ease;
}

.client-logo-item img:hover {
  transform: translateY(-2px);
}

/* 旧プレースホルダ（テキストバッジ）スタイルは削除済み（2026-05-15 ロゴ実装に伴う dedup） */

@media (max-width: 768px) {
  .client-logos {
    padding: 10px 0 10px;
  }
  .client-logo-item {
    height: 52px;
    padding: 0 6px;
  }
  .client-logo-item img {
    height: 32px;
    max-height: 32px;
  }
}

/* =====================================
   導入事例（ケーススタディ）セクション
   ===================================== */
.case-studies {
  position: relative;
  padding: 96px 0;
  /* 透明セクション。前後セクションのグラデと差別化するためplain white */
  background: #ffffff;
  overflow: hidden;
}

/* Cases 上端の細い装飾ライン */
.case-studies::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-primary), rgba(139,92,246,0.6));
}

.case-studies .section-header {
  text-align: center;
  margin-bottom: 40px;
}

.case-studies .section-subtitle {
  margin-top: 12px;
  color: #444;
  font-size: 0.95rem;
}

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

.case-grid-empty {
  grid-template-columns: 1fr;
  padding: 48px 0;
  text-align: center;
}

.case-card {
  background-color: var(--color-white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.case-card-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #f0f0f0;
}

.case-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-card-body {
  padding: 20px;
}

.case-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 10px;
}

.case-card-tag {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
}

.case-card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-more {
  text-align: center;
  margin-top: 32px;
}

.case-more a {
  display: inline-block;
  padding: 12px 32px;
  background-color: var(--color-primary);
  color: var(--color-white);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.case-more a:hover {
  background-color: var(--color-primary-dark);
}

@media (max-width: 900px) {
  .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .case-studies {
    padding: 48px 0;
  }
  .case-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===================================================
   About セクション（Schoo + Aidemy ハイブリッド）
   =================================================== */

/* 旧 About スタイル(.about-section / .about-inner)は HTML から完全に削除済みのため、
   関連CSSも削除済み（2026-05-14 dedup） */

/* セクションヘッダー */
.about-header {
  text-align: center;
  margin-bottom: 32px;
}

/* メインステートメント（Schoo風: 1段落の主要メッセージ） */
.about-statement {
  text-align: center;
  margin-bottom: 88px;
  padding: 48px 24px;
  background: linear-gradient(180deg, #F7FAFE 0%, #EAF1FB 100%);
  border-radius: 20px;
}

.about-statement-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  font-weight: 700;
  line-height: 2;
  color: var(--color-text-dark);
  letter-spacing: 0.04em;
  margin: 0;
}

.about-statement-text strong {
  color: var(--color-primary);
  font-weight: 800;
}

/* 3つの理由 — Aidemy風縦積み（左テキスト + 右大画像、交互配置） */
.about-reasons {
  display: flex;
  flex-direction: column;
  gap: 96px;
  margin-bottom: 72px;
}

.about-reason {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 72px;
  align-items: center;
}

/* 偶数番目は画像左・テキスト右で交互配置（視覚リズム） */
.about-reason:nth-child(even) .ar-text {
  order: 2;
}

.about-reason:nth-child(even) .ar-image {
  order: 1;
}

.ar-text {
  padding: 0 8px;
}

/* 数字 → タイトルの縦積み（元のスタイルに戻し） */
.ar-header {
  display: block;
  margin-bottom: 24px;
}

.ar-num {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 3.5rem);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  /* 数字の下に細い装飾ライン */
  border-bottom: 3px solid var(--color-primary);
  padding-bottom: 8px;
}

.ar-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.1vw, 1.95rem);
  font-weight: 700;
  line-height: 1.5;
  margin: 8px 0 0;
  letter-spacing: 0.04em;
  color: var(--color-text-dark);
}

.ar-desc {
  font-size: 1rem;
  line-height: 2;
  color: #4A5568;
  margin: 0;
}

.ar-desc strong {
  color: var(--color-primary);
  font-weight: 700;
}

.ar-image {
  position: relative;
}

.ar-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(34, 80, 200, 0.15);
}

@media (max-width: 1024px) {
  .about-section {
    padding: 64px 0;
  }
  .about-statement {
    margin-bottom: 56px;
    padding: 32px 20px;
  }
  .about-reasons {
    gap: 56px;
    margin-bottom: 48px;
  }
  .about-reason,
  .about-reason:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .about-reason:nth-child(even) .ar-text,
  .about-reason:nth-child(even) .ar-image {
    order: unset;
  }
  .ar-num {
    border-bottom-width: 2px;
    padding-bottom: 4px;
  }
}

@media (max-width: 600px) {
  .about-statement-text {
    line-height: 1.85;
  }
  .ar-desc {
    line-height: 1.85;
  }
}

/* ===================================================
   About v3（画像生成AIモックを基にした新デザイン）
   =================================================== */
.about-v3 {
  position: relative;
  padding: 96px 0 120px;
  /* ベースは淡いグラデ。背景画像は ::before で別レイヤー化してブラーをかける */
  background: linear-gradient(135deg, #FBFCFE 0%, #F0EBFB 100%);
  overflow: hidden;
}

/* 背景画像レイヤー：薄いブラーをかけてテキストの可読性を上げる */
.about-v3::before {
  content: '';
  position: absolute;
  /* ブラー時の端にじみ対策で外側に広げる */
  inset: -20px;
  background: url('images/about-bg.jpg') no-repeat center / cover;
  filter: blur(3px);
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
}

/* 中身（container）が背景レイヤーより上に来るように */
.about-v3 .container {
  position: relative;
  z-index: 1;
}

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

/* メイン2カラムグリッド */
.about-v3-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}

/* ─────── 左カラム ─────── */
.about-v3-left {
  padding-top: 8px;
}

.about-v3-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.about-v3-headline {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--color-text-dark);
  margin: 0 0 28px;
}

.about-v3-quote {
  color: var(--color-primary);
}

.about-v3-desc {
  font-size: 0.94rem;
  line-height: 2;
  color: #000000;
  margin: 0 0 32px;
}

/* ピル（特徴バッジ）— 3カラム横並び */
.about-v3-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 8px;
}

.about-v3-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 18px 16px;
  background: #fff;
  border: 1px solid #DCE2F0;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(34, 80, 200, 0.06);
}

.about-v3-pill i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(34, 80, 200, 0.08);
  color: var(--color-primary);
  border-radius: 10px;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.about-v3-pill-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.45;
}

.about-v3-pill-text .pill-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: 0.02em;
}

.about-v3-pill-text .pill-sub {
  font-size: 0.72rem;
  color: #6B7280;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .about-v3-pills {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* 統計（数字3つ） */
.about-v3-stats {
  display: flex;
  align-items: center;
  gap: 28px;
}

.about-v3-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-v3-stat .stat-label {
  font-size: 0.78rem;
  color: #6B7280;
  letter-spacing: 0.06em;
}

.about-v3-stat .stat-num {
  font-family: var(--font-display);
  font-size: 2.0rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  letter-spacing: 0.02em;
}

.about-v3-stat .stat-num small {
  font-size: 0.85rem;
  font-weight: 700;
  margin-left: 2px;
}

.about-v3-stat-divider {
  width: 1px;
  height: 36px;
  background: #DCE2F0;
}

/* About CTA は統一ボタンスタイル（.about-v3-cta + 共通グラデ）に統合済み */

/* ─────── 右カラム（シンプル：画像1枚のみ） ─────── */
.about-v3-right {
  /* レイアウト指定なし。画像をそのまま配置 */
}

/* 旧 .about-right-img は HTML から削除済み（CSSも削除 2026-05-14 dedup） */

/* バイブコーディングの基本ステップ（独立カード） */
.learning-flow-card {
  background: #fff;
  border: 1px solid #E5EBF5;
  border-radius: 18px;
  padding: 28px 28px 30px;
  box-shadow: 0 16px 40px rgba(34, 80, 200, 0.08);
}

.flow-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 0 0 18px;
  letter-spacing: 0.04em;
}

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

.lf-step {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 18px 18px;
  background: #F8FAFD;
  border: 1px solid #E5EBF5;
  border-radius: 12px;
  position: relative;
}

.lf-num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}

.lf-label {
  font-size: 1.0rem;
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: 0.02em;
}

.lf-sub {
  font-size: 0.82rem;
  color: #6B7280;
  line-height: 1.6;
}

/* レスポンシブ */
/* 中間幅：左カラムを細くし、ギャップを詰めて 2カラムを維持（縦積みを遅らせる） */
@media (max-width: 1180px) {
  .about-v3-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
  }
}
/* 縦積みは 900px まで遅らせる */
@media (max-width: 900px) {
  .about-v3-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  /* 縦並び時：バッジ（ABOUT）・見出し・サブテキストを中央揃え */
  .about-v3-left {
    text-align: center;
  }
  .about-v3-headline,
  .about-v3-desc {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .about-v3 {
    padding: 40px 0 40px;
  }
  .learning-flow-steps {
    grid-template-columns: 1fr 1fr;
  }
  .about-v3-pills {
    flex-direction: column;
  }
  .about-v3-pill {
    width: 100%;
  }
  .about-v3-stats {
    flex-wrap: wrap;
    gap: 20px;
  }
  .about-v3-stat-divider {
    display: none;
  }
}

/* ===================================================
   Cases v3（導入企業の事例 — 新デザイン）
   =================================================== */
.cases-v3 {
  position: relative;
  padding: 96px 0 120px;
  /* ユーザー差し替え背景画像（cases-bg.jpg）+ フォールバック白 */
  background:
    url('images/cases-bg.jpg') no-repeat center / cover,
    #ffffff;
  overflow: hidden;
}

/* ヘッダー: 中央寄せ（タイトルのみ） */
.cases-v3-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.cases-v3-titles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

/* セクション下部のボタンエリア */
.cases-v3-footer {
  text-align: center;
  margin-top: 48px;
}

.cases-v3-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--color-primary);
}

.cases-v3-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-dark);
  margin: 0;
}

/* .cases-v3-more は統一ボタンスタイルに統合済み */

/* 大カード + 小カード2枚 のグリッド */
/* 上1大 + 下2中 のレイアウト */
.cases-v3-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.case-v3-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) {
  .case-v3-row {
    grid-template-columns: 1fr;
  }
}

/* 中カード（下段の2枚）：縦に画像+テキスト */
.case-v3-mid {
  background: #fff;
  border: 1px solid #E5EBF5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(34, 80, 200, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.case-v3-mid:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(34, 80, 200, 0.14);
}
.case-v3-mid-photo {
  background: linear-gradient(135deg, #E5EBF5, #F0E7FB);
  aspect-ratio: 16 / 6; /* 16:9 → 16:6 で約 2/3 の高さに縮小 */
  overflow: hidden;
}
.case-v3-mid-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.case-v3-mid-body {
  padding: 24px 26px 26px;       /* テキストエリアにゆとり */
  display: flex;
  flex-direction: column;
  gap: 10px;                      /* 要素間にしっかり呼吸 */
  flex: 1;
}
.case-v3-mid-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-dark);
  line-height: 1.5;
  margin: 0;
}

/* mid カードの会社名：太字だが色は通常テキスト */
.case-v3-mid .case-v3-company {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 0;
}

/* mid カードの説明文：1行に制限し、はみ出しは … で省略 */
.case-v3-mid .case-v3-desc {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0;
  color: #4A5568;
}

/* 共通カード装飾 */
.case-v3-feature {
  background: #fff;
  border: 1px solid #E5EBF5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(34, 80, 200, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.case-v3-feature:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(34, 80, 200, 0.12);
}
/* （旧 .case-v3-small は HTML から削除済み・関連CSSも削除済み 2026-05-15） */

/* タグ（業種ラベル）：写真の左上に絶対配置（全カード共通） */
.case-v3-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: calc(100% - 24px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 0;
  /* 写真の上に乗るので背景は少し濃いめにしておく（各色は tag-* で上書き） */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* タグの親（写真コンテナ）に position: relative を付与 */
.case-v3-feature-photo,
.case-v3-mid-photo {
  position: relative;
}

.case-v3-tag.tag-it {
  background: rgba(34, 80, 200, 0.10);
  color: var(--color-primary);
}

.case-v3-tag.tag-mfg {
  background: rgba(15, 118, 110, 0.10);
  color: #0F766E;
}

.case-v3-tag.tag-hr {
  background: rgba(139, 92, 246, 0.12);
  color: #7C3AED;
}

.case-v3-company {
  font-size: 0.9rem;
  color: var(--color-text-dark);   /* 青ではなく通常テキスト色 */
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.02em;
}

/* ─────── フィーチャー大カード ─────── */
/* 上カード（feature）：grid レイアウトは内側の .case-v3-card-link 側で持つので、
   こちらは単純なコンテナ扱い。display:grid を残すと <a> が 1fr 列に押し込まれ、
   右側に巨大な空白が生まれる */
.case-v3-feature {
  display: block;
}

.case-v3-feature-photo {
  background: linear-gradient(135deg, #E5EBF5, #F0E7FB);
  /* 画像が無い時のフォールバック背景 */
  /* 高さ少し増やす（中カードに対して 1.1倍程度に見える） */
  min-height: 320px;
}

.case-v3-feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.case-v3-feature-body {
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

/* 上カードの会社名：少し大きめだが色は通常テキスト */
.case-v3-feature .case-v3-company {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 0;
}

/* 上カードの説明文：色も少し濃いめに */
.case-v3-feature .case-v3-desc {
  color: #4A5568;
  margin: 0;
}

/* 箇条書きハイライト（成果の数字を3点で強調） */
.case-v3-highlights {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-v3-highlights li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #1F2937;
}

.case-v3-highlights li i {
  color: var(--color-primary);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.case-v3-highlights li strong {
  color: var(--color-primary);
  font-weight: 700;
}

/* ============================================================
   カード全体クリッカブル化（aラップ + ホバー視覚指標）
   ============================================================ */
.case-v3-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
  cursor: pointer;
}

.case-v3-feature .case-v3-card-link {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: stretch;
  height: 100%;
}

.case-v3-mid .case-v3-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* カードホバー時の視覚的フィードバック強化 */
.case-v3-feature:hover .case-v3-card-link,
.case-v3-mid:hover .case-v3-card-link {
  color: inherit;
}

/* カード下部の CTA インジケーター（「事例の詳細を見る →」） */
.case-v3-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.03em;
  transition: gap 0.25s, color 0.25s;
  align-self: flex-start;
}

.case-v3-card-cta i {
  font-size: 0.75rem;
  transition: transform 0.25s;
}

/* カードホバー時に CTA が動いてクリック感を出す */
.case-v3-feature:hover .case-v3-card-cta,
.case-v3-mid:hover .case-v3-card-cta {
  gap: 12px;
  color: var(--color-primary-dark);
}

.case-v3-feature:hover .case-v3-card-cta i,
.case-v3-mid:hover .case-v3-card-cta i {
  transform: translateX(4px);
}

.case-v3-heading {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--color-text-dark);
  margin: 0 0 12px;
}

.case-v3-desc {
  font-size: 0.88rem;
  line-height: 1.85;
  color: #4A5568;
  margin: 16px 0 24px;
}

/* フィーチャーカードの数値2つ */
.case-v3-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: auto;
}

.case-v3-stat {
  background: #F4F6FB;
  border: 1px solid #E5EBF5;
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cs-label {
  font-size: 0.72rem;
  color: #6B7280;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.cs-num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.cs-num small {
  font-size: 0.7rem;
  font-weight: 700;
  margin-left: 2px;
}

/* ─────── 小カード2枚（縦積み） ─────── */
.case-v3-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 旧 .case-v3-small / -body / -heading / -photo は HTML から削除済み（クリーンアップ 2026-05-15） */

/* レスポンシブ */
@media (max-width: 1100px) {
  .cases-v3-grid {
    grid-template-columns: 1fr;
  }
  /* 上カードの2カラムを1カラム縦積みに（grid は .case-v3-card-link 側に移動済） */
  .case-v3-feature .case-v3-card-link {
    grid-template-columns: 1fr;
  }
  .case-v3-feature-photo {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 768px) {
  .cases-v3 {
    padding: 40px 0 40px;
  }
  .case-v3-feature-body {
    padding: 24px 20px;
  }
  /* 旧 .case-v3-stats / -small は削除済み */
}

/* 旧 .case-studies は新デザインに移行のため非適用 */
.case-studies { display: none; }

/* ===================================================
   News v3（お知らせ — タイムライン型・新デザイン）
   =================================================== */
.news-v3 {
  position: relative;
  padding: 96px 0 120px;
  /* 背景画像（ユーザー差し替え予定）。フォールバックは淡いグラデ */
  background:
    url('images/news-bg.png') no-repeat center / cover,
    linear-gradient(135deg, #F7FAFE 0%, #F0EBFB 60%, #FBFCFE 100%);
  overflow: hidden;
}

/* お知らせセクション専用コンテナ幅（他セクションよりやや狭め） */
.news-v3 > .container {
  max-width: 1240px;
}

/* 2カラムレイアウト: 左にタイトル（細め）、右にコンテンツ（広く） */
.news-v3-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 64px;
  align-items: start;
}

.news-v3-content {
  min-width: 0;
}

/* ヘッダー（左カラム） */
.news-v3-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 100px;
}

@media (max-width: 900px) {
  .news-v3-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  /* 縦並び時：NEWSラベル・タイトル・アクセント線を中央に揃える */
  .news-v3-header {
    position: static;
    align-items: center;
    text-align: center;
  }
  .news-v3-header .section-accent {
    margin: 14px auto 0;
  }
}

.news-v3-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--color-primary);
}

.news-v3-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-dark);
  margin: 0;
}

/* タイムライン型リスト */
.news-v3-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

/* 縦のタイムラインライン */
.news-v3-list::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 12px;
  bottom: 12px;
  width: 2px;
  background: rgba(34, 80, 200, 0.18);
}

.news-v3-item {
  position: relative;
  padding-left: 0;
}

.news-v3-item a {
  display: grid;
  /* バッジ列を 130px → 100px に縮小、無駄に広い枠を解消 */
  grid-template-columns: 32px 100px 100px 1fr;
  align-items: center;
  gap: 16px;
  padding: 18px 12px;
  text-decoration: none;
  color: var(--color-text-dark);
  border-bottom: 1px solid rgba(220, 226, 240, 0.6);
  transition: background 0.2s;
}

.news-v3-item:last-child a {
  border-bottom: none;
}

.news-v3-item a:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* タイムラインのドット */
.news-v3-dot {
  position: relative;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--color-primary);
  box-shadow: 0 2px 8px rgba(34, 80, 200, 0.15);
  z-index: 2;
  margin-left: 0;
}

.news-v3-item a:hover .news-v3-dot {
  background: var(--color-primary);
  transform: scale(1.1);
}

.news-v3-date {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: #4A5568;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.news-v3-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;     /* grid セル内で中央配置 */
  width: max-content;       /* テキスト分の幅だけ取る */
  max-width: 100%;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 999px;     /* ピル型 */
  text-align: center;
  background: rgba(34, 80, 200, 0.10);
  color: var(--color-primary);
  white-space: nowrap;
}

/* タグの色バリエーション */
.news-v3-tag.tag-press {
  background: rgba(34, 80, 200, 0.12);
  color: var(--color-primary);
}

.news-v3-tag.tag-event {
  background: rgba(15, 118, 110, 0.12);
  color: #0F766E;
}

.news-v3-tag.tag-update {
  background: rgba(245, 158, 11, 0.14);
  color: #B45309;
}

.news-v3-tag.tag-media {
  background: rgba(139, 92, 246, 0.14);
  color: #7C3AED;
}

.news-v3-tag.tag-other {
  background: rgba(107, 114, 128, 0.14);
  color: #4A5568;
}

/* お知らせ未投稿時のメッセージ */
.news-v3-empty {
  padding: 24px 0;
  color: #6B7280;
  font-size: 0.95rem;
  text-align: left;
  margin: 0;
}

/* ============================================================
   導入事例 単体ページ（暫定スタイル：将来リデザイン予定）
   ============================================================ */
.case-study-single {
  padding: 56px 0 80px;
  background: #fff;
}
.case-study-article {
  max-width: 880px;
  margin: 0 auto;
}
.case-study-header {
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}
.case-study-header .case-v3-tag {
  position: static;
  box-shadow: none;
}
.case-study-company {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin: 0;
}
.case-study-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-text-dark);
  margin: 0;
}
.case-study-thumbnail {
  margin: 0 0 32px;
  border-radius: 16px;
  overflow: hidden;
}
.case-study-thumbnail img {
  width: 100%;
  height: auto;
  display: block;
}
.case-study-content {
  font-size: 1rem;
  line-height: 1.95;
  color: #1F2937;
}
.case-study-content h2 {
  margin: 36px 0 14px;
  font-size: 1.45rem;
  font-weight: 700;
  border-left: 4px solid var(--color-primary);
  padding-left: 14px;
}
.case-study-content h3 {
  margin: 28px 0 12px;
  font-size: 1.15rem;
  font-weight: 700;
}

.news-v3-text {
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.6;
  color: var(--color-text-dark);
}

.news-v3-item a:hover .news-v3-text {
  color: var(--color-primary);
}

/* フッター: 一覧リンク（中央寄せ） */
.news-v3-footer {
  margin-top: 48px;
  text-align: center;
}

/* .news-v3-more は統一ボタンスタイルに統合済み */

/* レスポンシブ */
@media (max-width: 900px) {
  .news-v3-item a {
    grid-template-columns: 32px 1fr auto;
    grid-template-rows: auto auto;
    gap: 8px 12px;
    padding: 16px 8px;
  }
  .news-v3-dot {
    grid-row: span 2;
  }
  .news-v3-date {
    grid-column: 2;
    grid-row: 1;
    font-size: 0.85rem;
  }
  .news-v3-tag {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
  .news-v3-text {
    grid-column: 2 / -1;
    grid-row: 2;
    font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  .news-v3 {
    padding: 40px 0 40px;
  }
}

/* 旧 .news-section は新デザインに移行のため非適用 */
.news-section { display: none; }

.news-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  /* 他セクションと同じコンテナ幅に揃える */
  max-width: 100%;
  border-top: 1px solid var(--color-border);
}

.news-item {
  border-bottom: 1px solid var(--color-border);
}

.news-item a {
  display: grid;
  grid-template-columns: 110px 100px 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px 8px;
  text-decoration: none;
  color: var(--color-text-dark);
  transition: background 0.2s;
}

.news-item a:hover {
  background: var(--color-bg-light);
}

.news-date {
  font-size: 0.95rem;
  color: #6B7280;
  font-variant-numeric: tabular-nums;
}

.news-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-primary);
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: 4px;
  padding: 4px 10px;
  text-align: center;
  letter-spacing: 0.04em;
}

.news-title {
  font-size: 1rem;
  line-height: 1.6;
  font-weight: 500;
  color: var(--color-text-dark);
}

.news-item a:hover .news-title {
  color: var(--color-primary);
}

.news-more {
  text-align: center;
  margin-top: 32px;
}

.news-more a {
  display: inline-block;
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--color-primary);
  padding-bottom: 2px;
  transition: opacity 0.2s;
}

.news-more a:hover {
  opacity: 0.7;
}

@media (max-width: 768px) {
  .news-section {
    padding: 60px 0;
  }
  .news-item a {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px 8px;
  }
  .news-tag {
    justify-self: start;
  }
}

/* ===================================================
   サービス資料ダウンロード（Document）セクション【非使用・最終CTAに統合】
   =================================================== */
.document-section {
  display: none;
  padding: 80px 0;
  /* セクション交互配色: Column(薄青) → Doc(白) で区切り */
  background: #ffffff;
}

.document-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 64px;
  max-width: 100%;
  margin: 0 auto;
  padding: 56px 64px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(34, 80, 200, 0.10);
  align-items: center;
}

.document-body-inner {
  /* テキストが横に伸びすぎないよう、文章だけ読みやすい幅に制約 */
  max-width: 720px;
}

.document-cover {
  position: relative;
  transform: rotate(-2deg);
  transition: transform 0.4s ease;
}

.document-card:hover .document-cover {
  transform: rotate(0deg) translateY(-4px);
}

.document-cover img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 16px 32px rgba(34, 80, 200, 0.25),
              0 4px 8px rgba(0, 0, 0, 0.08);
}

.document-en-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.document-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.document-desc {
  font-size: 0.95rem;
  line-height: 1.85;
  color: #4A5568;
  margin-bottom: 20px;
}

.document-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.document-meta li {
  font-size: 0.88rem;
  color: #4A5568;
  font-weight: 600;
}

.document-meta li i {
  color: var(--color-primary);
  margin-right: 6px;
}

.btn-document-dl {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-primary);
  color: #fff;
  padding: 16px 32px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(34, 80, 200, 0.32);
  transition: all 0.2s;
}

.btn-document-dl:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(34, 80, 200, 0.4);
}

@media (max-width: 768px) {
  .document-section {
    padding: 60px 0;
  }
  .document-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 24px;
    text-align: center;
  }
  .document-cover {
    max-width: 220px;
    margin: 0 auto;
  }
  .document-meta {
    justify-content: center;
  }
  .document-title {
    font-size: 1.4rem;
  }
  .btn-document-dl {
    width: 100%;
    justify-content: center;
  }
}

/* ===================================================
   最終CTA — 資料DL + 無料相談の2カラム統合（Aidemy方式）
   =================================================== */
.final-cta {
  position: relative;
  padding: 120px 0;
  /* 強めのグラデ + 装飾オーブ（Aidemy hero と同等密度） */
  background:
    radial-gradient(circle at 12% 18%, rgba(34,80,200,0.18) 0%, transparent 35%),
    radial-gradient(circle at 88% 82%, rgba(139,92,246,0.16) 0%, transparent 35%),
    radial-gradient(circle at 50% 50%, rgba(58,102,214,0.06) 0%, transparent 70%),
    linear-gradient(135deg, #E6EEF8 0%, #DDE5F2 100%);
  overflow: hidden;
}

/* Final CTA 上端の波形グラデ装飾 (SVG風) */
.final-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--color-primary) 35%, rgba(139,92,246,0.8) 65%, transparent);
}

/* Final CTA に大きい装飾サークル（左下に薄く） */
.final-cta::after {
  content: '';
  position: absolute;
  bottom: -200px;
  left: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(34,80,200,0.05), transparent 70%);
  pointer-events: none;
}

.final-cta-header {
  text-align: center;
  margin-bottom: 48px;
}

.final-cta-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.final-cta-header .final-cta-lead {
  font-size: 1rem;
  color: #4A5568;
  margin: 0;
}

/* 2カラムグリッド */
.final-cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.cta-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-text-dark);
  box-shadow: 0 8px 24px rgba(34, 80, 200, 0.08);
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid var(--color-border);
}

.cta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(34, 80, 200, 0.18);
}

.cta-card-image {
  background: linear-gradient(135deg, #F7FAFE 0%, #EAF1FB 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 40px;
  /* 左右カードの高さを揃えるため固定値を採用 */
  height: 260px;
  box-sizing: border-box;
}

.cta-card-image img {
  /* 親コンテナの高さに収まるよう調整 */
  max-height: 100%;
  max-width: 70%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(34, 80, 200, 0.18));
}

.cta-card-image-icon {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.cta-icon-circle {
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.2rem;
  color: var(--color-primary);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.cta-card-body {
  padding: 28px 32px 32px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cta-card-en {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.cta-card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0.04em;
  color: var(--color-text-dark);
}

.cta-card-desc {
  font-size: 0.95rem;
  line-height: 1.85;
  color: #4A5568;
  margin: 0 0 24px;
  flex: 1;
}

.cta-card-desc small {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.82rem;
  color: #6B7280;
}

.cta-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  background: #fff;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  letter-spacing: 0.04em;
  transition: all 0.2s;
}

.cta-card-btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 6px 18px rgba(34, 80, 200, 0.25);
}

.cta-card:hover .cta-card-btn {
  background: var(--color-primary);
  color: #fff;
}

.cta-card:hover .cta-card-btn-primary {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

.final-cta-note {
  text-align: center;
  margin-top: 28px;
  font-size: 0.88rem;
  color: #6B7280;
  letter-spacing: 0.04em;
}

@media (max-width: 900px) {
  .final-cta-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .final-cta {
    padding: 60px 0;
  }
}

/* 旧 .final-cta は新 .final-cta-v3 に移行のため非適用 */
.final-cta { display: none; }

/* 旧 .column-section は HTML から削除済み（CSSも 5388-5440 行ブロックを下記で削除予定）*/

/* ===================================================
   Column v3（コラム・知見 — 4カラムカードグリッド・新デザイン）
   =================================================== */
.column-v3 {
  position: relative;
  padding: 96px 0 120px;
  /* 装飾オーブ（青と紫）+ 淡いベースグラデで他セクションと世界観を統一 */
  background:
    radial-gradient(circle at 8% 22%, rgba(34, 80, 200, 0.16) 0%, transparent 36%),
    radial-gradient(circle at 92% 78%, rgba(139, 92, 246, 0.18) 0%, transparent 38%),
    linear-gradient(180deg, #FBFCFE 0%, #F4F0FA 100%);
  overflow: hidden;
}

/* 装飾オーブ：ふわっと浮かぶ円形ブラー要素を2つ追加 */
.column-v3::before,
.column-v3::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}
.column-v3::before {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -80px;
  background: radial-gradient(circle, rgba(34, 80, 200, 0.30) 0%, transparent 70%);
}
.column-v3::after {
  width: 420px;
  height: 420px;
  bottom: -120px;
  right: -120px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.32) 0%, transparent 70%);
}

/* container を装飾オーブより上に */
.column-v3 .container {
  position: relative;
  z-index: 1;
}

/* ヘッダー: 中央寄せ */
.column-v3-header {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.column-v3-titles {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

/* セクション下部のボタンエリア */
.column-v3-footer {
  text-align: center;
  margin-top: 48px;
}

.column-v3-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--color-primary);
}

.column-v3-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-dark);
  margin: 0;
}

/* .column-v3-more は統一ボタンスタイルに統合済み */

/* 4カラムグリッド */
.column-v3-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.column-v3-card {
  background: #fff;
  border: 1px solid #E5EBF5;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(34, 80, 200, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.column-v3-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(34, 80, 200, 0.14);
}

.column-v3-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: var(--color-text-dark);
}

.column-v3-thumb {
  position: relative;             /* タグの基準点 */
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(135deg, #E5EBF5, #F0E7FB);
}

.column-v3-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.column-v3-card:hover .column-v3-thumb img {
  transform: scale(1.04);
}

.column-v3-body {
  padding: 16px 16px 18px;        /* 18/18/22 → 16/16/18 で詰める */
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;                        /* 10 → 6 */
}

/* タグ（カテゴリ別色分け） */
.column-v3-tag {
  /* 写真の右上に絶対配置（Casesは左上、Columnは右上で差別化） */
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 12px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  background: rgba(34, 80, 200, 0.10);
  color: var(--color-primary);
}

/* タグ背景：写真の上に乗るのでrgba透明ではなくsolidの不透明色で視認性確保 */
.column-v3-tag.tag-howto {
  background: #2250C8;       /* solid blue */
  color: #ffffff;
}

.column-v3-tag.tag-case {
  background: #D97706;       /* solid amber */
  color: #ffffff;
}

.column-v3-tag.tag-trend {
  background: #7C3AED;       /* solid purple */
  color: #ffffff;
}

.column-v3-tag.tag-news,
.column-v3-tag.tag-tech {
  background: #0F766E;       /* solid teal */
  color: #ffffff;
}

/* タグ未指定 / 未分類カテゴリのデフォルト背景 */
.column-v3-tag {
  background: #4A5568;       /* solid gray fallback */
  color: #ffffff;
}

.column-v3-card-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.02em;
  color: var(--color-text-dark);
  margin: 0;
  /* 最大2行で表示、3行目以降は … で省略 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: calc(1rem * 1.55 * 2); /* 短いタイトルでも 2 行分の高さを確保 */
}

/* 日付：タイトルの上に小さく配置（margin-top:auto を撤去） */
.column-v3-date {
  font-family: var(--font-display);
  font-size: 0.78rem;
  color: #6B7280;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0;
  display: block;
}

/* 記事抜粋：2行で省略 */
.column-v3-excerpt {
  font-size: 0.82rem;
  line-height: 1.65;
  color: #4A5568;
  margin: 4px 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* レスポンシブ */
@media (max-width: 1100px) {
  .column-v3-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .column-v3 {
    padding: 40px 0 40px;
  }
  .column-v3-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===================================================
   Final CTA v3（左テキスト + 右2カード・新デザイン）
   =================================================== */
.final-cta-v3 {
  position: relative;
  padding: 96px 0 120px;
  /* 背景画像（ユーザー差し替え予定）。ダミー時は濃いネイビー＋装飾オーブ */
  background:
    url('images/final-cta-bg.png') no-repeat center / cover,
    radial-gradient(ellipse 60% 50% at 100% 50%, rgba(139, 92, 246, 0.30), transparent 60%),
    radial-gradient(ellipse 40% 60% at 80% 80%, rgba(34, 80, 200, 0.40), transparent 60%),
    linear-gradient(135deg, #1E3A8A 0%, #1E2952 100%);
  color: #fff;
  overflow: hidden;
}

/* 上：見出しブロック（中央寄せ） */
.final-cta-v3-text {
  color: #fff;
  text-align: center;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.final-cta-v3-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.10);
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
  width: max-content;
}

.final-cta-v3-headline {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0 0 18px;
}

.final-cta-v3-desc {
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
  max-width: 640px;
}

/* 下：CTAカード2枚横並び（中央寄せ・最大幅で大きく見せる） */
.final-cta-v3-grid {
  max-width: 1080px;
  margin: 0 auto;
}

.final-cta-v3-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.cta-v3-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 18px;
  padding: 28px 26px 26px;
  text-decoration: none;
  color: var(--color-text-dark);
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18);
  transition: transform 0.25s, box-shadow 0.25s;
}

.cta-v3-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

/* タイトル部分（カード上段：エイブロー + h3 縦並び） */
.cta-v3-card-titlewrap {
  margin-bottom: 18px;
  text-align: center;            /* eyebrow / title / subtitle すべて中央寄せ */
}

.cta-v3-card-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ffffff;                 /* 旧 var(--color-primary) → 白 */
  background: var(--color-primary); /* 旧 rgba 透明 → solid 青 */
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.cta-v3-card-eyebrow-teal {
  color: #ffffff;
  background: #0F766E;            /* 旧 rgba → solid teal */
}

.cta-v3-card-title {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin: 0;
  color: #000000;                 /* solid 黒 */
  line-height: 1.45;
  white-space: nowrap;
}

/* サブタイトル：メリット一言フレーズ */
.cta-v3-card-subtitle {
  font-size: 0.9rem;
  font-weight: 700;
  color: #4A5568;
  margin: 8px 0 0;
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* カード中央：画像 */
.cta-v3-card-image {
  width: 100%;
  aspect-ratio: 5 / 3;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 18px;
  background: #F3F4F6;
}

.cta-v3-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.cta-v3-card:hover .cta-v3-card-image img {
  transform: scale(1.04);
}

.cta-v3-card-desc {
  font-size: 0.88rem;
  line-height: 1.85;
  color: #6B7280;
  margin: 0 0 22px;
  flex: 1;
}

/* Aidemy 風 チェックリスト（カード内 説明テキストの代わり） */
.cta-v3-card-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.cta-v3-card-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #000000;             /* 旧 #374151 → solid 黒で視認性UP */
  font-weight: 500;
}

.cta-v3-card-checklist li i {
  color: var(--color-primary);
  font-size: 1.02rem;
  flex-shrink: 0;
  margin-top: 3px;
}

/* チェックリスト内 strong：DOCはブルー、CONTACTはティールで強調 */
.cta-v3-card-checklist li strong {
  color: var(--color-primary);
  font-weight: 700;
}

.cta-v3-card-checklist--teal li i,
.cta-v3-card-checklist--teal li strong {
  color: #0F766E;
}

/* ティール版 (相談カード) */
.cta-v3-card-checklist--teal li i {
  color: #0F766E;
}

/* カード内のボタン（全幅・中央寄せ） */
.cta-v3-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  transition: all 0.25s;
}

.cta-v3-btn-blue {
  background: var(--color-primary);
  box-shadow: 0 6px 16px rgba(34, 80, 200, 0.30);
}

.cta-v3-card:hover .cta-v3-btn-blue {
  background: var(--color-primary-dark);
}

.cta-v3-btn-teal {
  background: #0F766E;
  box-shadow: 0 6px 16px rgba(15, 118, 110, 0.30);
}

.cta-v3-card:hover .cta-v3-btn-teal {
  background: #115E59;
}

.cta-v3-card:hover .cta-v3-card-btn i {
  transform: translateX(4px);
}

.cta-v3-card-btn i {
  font-size: 0.82rem;
  transition: transform 0.25s;
}

/* レスポンシブ：縦型レイアウトでは grid-template 切替不要、cards 側のみ */
@media (max-width: 768px) {
  .final-cta-v3 {
    padding: 40px 0 40px;
  }
  .final-cta-v3-text {
    margin-bottom: 36px;
  }
  .final-cta-v3-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .cta-v3-card {
    padding: 24px;
  }
}

/* ===================================================
   バイブコーディングとは（Vibe Coding v3）
   =================================================== */
.vibe-coding-v3 {
  position: relative;
  padding: 96px 0 120px;
  background: #ffffff; /* ベース白。背景画像は ::before で別レイヤー化してブラー */
  overflow: hidden;
}

/* 背景画像レイヤー：薄いブラー（About と同等） */
.vibe-coding-v3::before {
  content: '';
  position: absolute;
  inset: -20px; /* ブラーの端にじみ対策 */
  background: url('images/vibe-bg.jpg') no-repeat center / cover;
  filter: blur(3px);
  opacity: 0.85;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* 中身（container）が背景レイヤーより上に来るように */
.vibe-coding-v3 .container {
  position: relative;
  z-index: 1;
}

/* （旧：::before の上端細線装飾は背景画像 ::before と競合するため削除済み 2026-05-14）*/

/* ─────── ヘッダー：英字ラベル + タイトル + アクセント線 + サブコピー ─────── */
.vibe-v3-header {
  text-align: center;
  margin-bottom: 64px;
}

/* 他セクションと同じ英字ラベル（VIBE CODING / FEATURES / CASES 等） */
.vibe-v3-label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.vibe-v3-title {
  font-family: var(--font-display);
  /* 他セクションタイトル（cases-v3-title / news-v3-title 相当）に揃える */
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-dark);
  margin: 0 0 16px;
  line-height: 1.4;
}

/* タイトル下のアクセント線（features-v3-accent と同じスタイル） */
.vibe-v3-accent {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3A66D6 0%, #8B5CF6 100%);
  border-radius: 2px;
  margin: 0 auto 28px;
}

.vibe-v3-desc {
  font-size: 1rem;
  line-height: 2;
  color: #000000; /* 黒 */
  margin: 0 auto;
  max-width: 880px;
}

/* ─────── 3ステップフロー：横並び ─────── */
.vibe-v3-flow-wrap {
  margin-bottom: 56px;
}

/* 「3ステップで誰でも〜」見出し：両側にコンテナ幅いっぱいの線 */
.vibe-v3-flow-title {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-display);
  font-size: clamp(1.225rem, 1.6vw, 1.425rem); /* さらに +2px */
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 36px;
  letter-spacing: 0.04em;
  text-align: center;
  white-space: nowrap;
}
.vibe-v3-flow-title::before,
.vibe-v3-flow-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--color-primary);
  opacity: 0.35;
}

.vibe-v3-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 4px; /* gap を詰めて矢印がカードに重なるくらいの位置に */
  align-items: stretch;
}

.vibe-step {
  background: #fff;
  border-radius: 20px;
  padding: 28px 20px 18px;
  box-shadow: 0 8px 28px rgba(34, 80, 200, 0.08);
  display: grid;
  /* 画像列は固定px ではなく流体 clamp で 1200px 付近から徐々に縮小する。
     180px(=1200px時) → 105px(=900px直前) まで滑らかに変化。
     最小を 105px に保つことで、縮小しすぎてカード右側に余白が出るのを防ぐ */
  grid-template-columns: clamp(105px, calc(25vw - 120px), 180px) 1fr;
  gap: clamp(12px, 1.6vw, 18px);
  align-items: center;
  position: relative;
}

/* 番号バッジ：カード左上に円形配置（中央揃え） */
.vibe-step-num {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0; /* letter-spacingが原因で左寄りに見えるのを解消 */
  line-height: 1;    /* 縦中央のズレ解消 */
  text-align: center;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(34, 80, 200, 0.30);
}

.vibe-step-img {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.vibe-step-img img {
  width: 100%;
  height: auto;
  display: block;
}

.vibe-step-body {
  text-align: left;
}

.vibe-step-label {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--color-text-dark);
  letter-spacing: 0.06em;
}

.vibe-step-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #000000;
  margin: 0;
}

/* 矢印 chevron-right：円形ボタン風（白背景 + 細青ボーダー + 中に > 太め） */
.vibe-flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid var(--color-primary); /* 円のボーダー：1px */
  color: var(--color-primary);
  font-size: 1.1rem; /* chevronを太く見せる */
  font-weight: 900; /* FontAwesome Solid で最大の太さ */
  box-shadow: 0 4px 12px rgba(34, 80, 200, 0.15);
  align-self: center;
  position: relative;
  z-index: 4; /* gap詰めてもカードの上に出る */
  /* chevron 自体に stroke を入れて太く */
  -webkit-text-stroke: 1px var(--color-primary);
}

/* ─────── 身につけると、こう変わる ─────── */
.vibe-v3-benefits-wrap {
  margin-bottom: 36px; /* 60 → 36 で CTA との距離を詰める */
}

/* 「身につけると、こう変わる」見出し：両側に線（フロー見出しと同じ構造・紫系） */
.vibe-v3-benefits-title {
  display: flex;
  align-items: center;
  gap: 24px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.225rem, 1.6vw, 1.425rem); /* さらに +2px */
  font-weight: 700;
  color: #8B5CF6;
  margin: 0 0 36px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.vibe-v3-benefits-title::before,
.vibe-v3-benefits-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #8B5CF6;
  opacity: 0.35;
}

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

.vibe-benefit {
  background: #fff;
  border-radius: 20px;
  padding: 28px 32px 36px;
  box-shadow: 0 8px 24px rgba(34, 80, 200, 0.07);
  display: grid;
  grid-template-columns: 94px 1fr; /* 72 → 94px（約1.3倍） */
  gap: 20px;
  align-items: center;
  position: relative;
}

/* ボーダーじゃなく「カード内に線」をグラデーションで配置 */
.vibe-benefit::after {
  content: '';
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 18px;
  height: 2px;
  background: linear-gradient(90deg, #3A66D6 0%, #8B5CF6 100%);
  border-radius: 2px;
}

/* 円の背景は薄い色、アイコン本体にグラデーション。アイコン1.3倍 */
.vibe-benefit-icon {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.35rem; /* 1.8 → 2.35（約1.3倍） */
}

/* アイコン本体にグラデーションをかける（FontAwesomeアイコン） */
.vibe-benefit-icon i {
  background: linear-gradient(135deg, #3A66D6 0%, #8B5CF6 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}

/* 円背景：薄い青っぽい */
.vibe-benefit-icon--blue {
  background: rgba(34, 80, 200, 0.10);
}

/* 円背景：薄い紫っぽい */
.vibe-benefit-icon--purple {
  background: rgba(139, 92, 246, 0.12);
}

.vibe-benefit-body {
  text-align: left;
}

.vibe-benefit-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 6px;
  color: var(--color-text-dark);
  letter-spacing: 0.04em;
}

.vibe-benefit-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: #000000;
  margin: 0;
}

/* ─────── CTAバナー：透明背景＋青→紫グラデボーダー ─────── */
.vibe-v3-cta {
  position: relative;
  background: transparent;
  border-radius: 20px;
  padding: 32px 64px;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 32px;
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
/* グラデボーダーを擬似要素 + mask で実現（角丸対応） */
.vibe-v3-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 20px;
  padding: 2px;
  background: linear-gradient(135deg, #3A66D6 0%, #8B5CF6 100%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  pointer-events: none;
}

/* 六角形アイコン（角丸あり）：mask-image で SVG の角丸六角形にくり抜く */
.vibe-v3-cta-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #3A66D6 0%, #8B5CF6 100%);
  /* 角丸六角形：頂点が丸い六角形 */
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><path d='M32 4 L54 16 Q58 18 58 22 L58 42 Q58 46 54 48 L32 60 Q28 62 24 60 L10 48 Q6 46 6 42 L6 22 Q6 18 10 16 Z' fill='%23000'/></svg>") center / contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><path d='M32 4 L54 16 Q58 18 58 22 L58 42 Q58 46 54 48 L32 60 Q28 62 24 60 L10 48 Q6 46 6 42 L6 22 Q6 18 10 16 Z' fill='%23000'/></svg>") center / contain no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  filter: drop-shadow(0 6px 14px rgba(58, 102, 214, 0.30));
}

.vibe-v3-cta-text {
  text-align: left;
}

.vibe-v3-cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--color-text-dark);
  letter-spacing: 0.04em;
}

.vibe-v3-cta-desc {
  font-size: 0.88rem;
  color: #000000;
  margin: 0;
}

/* .vibe-v3-cta-btn は統一ボタンスタイルに統合済み */

/* ─────── レスポンシブ ─────── */
/* 中間幅：3ステップの画像は base の clamp() で 1200px から徐々に縮小される。
   ここではフロー間のすき間とベネフィットのアイコンだけ調整する */
@media (max-width: 1100px) {
  .vibe-v3-flow {
    gap: 2px;
  }
  /* ベネフィットのアイコンは小さくしすぎず（右側に余白が出ないよう）76px で維持 */
  .vibe-benefit {
    grid-template-columns: 76px 1fr; /* 94px → 76px */
    gap: 16px;
    padding: 24px 22px 30px;
  }
  .vibe-benefit::after {
    left: 22px;
    right: 22px;
  }
  .vibe-benefit-icon {
    width: 76px;
    height: 76px;
    font-size: 1.9rem;
  }
}

/* 900px：ここで初めて縦1カラムに切り替え（About セクションと統一） */
@media (max-width: 900px) {
  /* コンテナ側で最大幅を抑え中央寄せ。カードは 100% 幅で埋めるので
     全カードの横幅が必ず統一される */
  .vibe-v3-flow {
    grid-template-columns: 1fr;
    gap: 12px;
    max-width: 460px;
    margin: 0 auto;
  }
  /* 縦並び時：矢印をカードの真下（中央）に配置する */
  .vibe-flow-arrow {
    transform: rotate(90deg);
    justify-self: center;
    margin: 4px auto;
  }
  /* ベネフィットも同様にコンテナで幅を統一し、全カードを同じ高さに揃える */
  .vibe-v3-benefits-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 1fr; /* 行の高さを最大に合わせ、全カードを同サイズに */
    max-width: 460px;
    margin: 0 auto;
  }
  /* 1カラムに戻ったらカード幅に余裕があるので画像・アイコンを少し戻す。
     幅はコンテナ側で制御するので、カードは max-width 解除・100% 幅 */
  .vibe-step {
    grid-template-columns: 130px 1fr;
    gap: 20px;
    max-width: none;
    margin: 0;
  }
  .vibe-step-label {
    font-size: 1.4rem;
  }
  .vibe-step-desc {
    font-size: 0.85rem;
  }
  .vibe-benefit {
    grid-template-columns: 84px 1fr;
    gap: 20px;
    max-width: none;
    margin: 0;
  }
  .vibe-benefit-icon {
    width: 84px;
    height: 84px;
    font-size: 2.1rem;
  }
  /* 全カードを同じ高さにするため、改行を解除して説明文を1行に揃える */
  .vibe-benefit-desc br {
    display: none;
  }

  /* CTAバナー：縦並び（アイコン → テキスト → ボタン、すべて中央寄せ） */
  .vibe-v3-cta {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 20px;
    padding: 32px 24px;
  }
  .vibe-v3-cta-icon {
    margin: 0 auto;
  }
  .vibe-v3-cta-text {
    text-align: center;
  }
  .vibe-v3-cta-btn {
    justify-self: center;
  }
}

@media (max-width: 768px) {
  .vibe-coding-v3 {
    padding: 40px 0 40px;
  }
  .vibe-v3-header {
    margin-bottom: 40px;
  }
  .vibe-v3-desc br {
    display: none;
  }
  .vibe-v3-flow-title::before,
  .vibe-v3-flow-title::after,
  .vibe-v3-benefits-title::before,
  .vibe-v3-benefits-title::after {
    width: 16px;
    margin: 0 8px;
  }
  /* スマホ：メインタイトル（対話/生成/完成）の横にサブテキストを並べ、
     カードの縦幅を抑える */
  .vibe-step-body {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    column-gap: 10px;
    row-gap: 2px;
  }
  .vibe-step-label {
    margin: 0;
  }
  /* スマホ：CTAカードの左右パディングを詰めてテキスト幅を確保 */
  .vibe-v3-cta {
    padding: 24px 10px;
  }
}

/* 600px 以下：コンテナの最大幅を解除し、カードを画面いっぱい（横幅100%）にする */
@media (max-width: 600px) {
  .vibe-v3-flow,
  .vibe-v3-benefits-grid {
    max-width: none;
    margin: 0;
  }
}


/* ===================================================
   About 複製版ショーケース（タグ=CSS / 中身=画像 のハイブリッド）
   .about-v3--cssrepro の右カラム内 .showcase 配下に表示。
   =================================================== */

.showcase {
  position: relative;
}

.showcase-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-text-dark);
  text-align: center;
  margin: 0 0 24px;
  letter-spacing: 0.04em;
}

/* レイアウト：上段は チャット(1fr) | ダッシュボード(2fr)、下段は3等分
   align-items: start で grid stretch を解除 → 各カードは中身のサイズに従う */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-areas:
    "chat dash dash"
    "lp   tool bot";
  gap: 14px;
  align-items: start;
  position: relative;
}

.sc-card--chat       { grid-area: chat; align-self: start; }
.sc-card--dashboard  { grid-area: dash; align-self: start; }
.sc-card--thumb:nth-of-type(3) { grid-area: lp; }
.sc-card--thumb:nth-of-type(4) { grid-area: tool; }
.sc-card--thumb:nth-of-type(5) { grid-area: bot; }

/* ─────── カード共通装飾 ─────── */
.sc-card {
  background: #fff;
  border: 1px solid #E5EBF5;
  border-radius: 14px;
  padding: 0; /* 内側余白なし、画像いっぱいに */
  box-shadow: 0 6px 18px rgba(34, 80, 200, 0.08);
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: visible; /* バッジ(top:-12px)が見えるように */
  /* バッジのはみ出しを表示するため margin-top を確保 */
  margin-top: 16px;
}

/* ─────── タグ（角丸の小ラベル） ─────── */
/* 共通装飾：角丸 8px、shadow控えめ */
.sc-tag {
  position: absolute;
  top: -12px;
  display: inline-flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 8px;
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(34, 80, 200, 0.22);
  z-index: 3;
  white-space: nowrap;
}

/* 左上はみ出し（チャット） */
.sc-tag--left {
  left: 16px;
}

/* 右上はみ出し（ダッシュボード） */
.sc-tag--corner {
  right: 16px;
}

/* 中央上はみ出し + 白背景 + 青ボーダー + 青文字（LP/業務ツール/AIチャット） */
.sc-tag--center {
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
  box-shadow: 0 4px 10px rgba(34, 80, 200, 0.12);
}

/* ─────── カード内の画像領域 ─────── */
.sc-card-img-wrap {
  background: linear-gradient(135deg, #F8FAFD 0%, #EAF1FB 100%);
  display: block;
  overflow: hidden;
  border-radius: 14px;
}

.sc-card-img {
  width: 100%;
  height: auto; /* デフォルト：画像本来の比率 */
  display: block;
}

/* チャット（対話で依頼）カード：カード自体は1.2倍縦長（10/9）、
   画像はクロップせず width:100% で全体表示。
   画像の自然高さは wrap より低いので下側に gradient 背景が出る。
   画像が wrap を超えてもはみ出させて見切れさせない */
.sc-card--chat .sc-card-img-wrap {
  aspect-ratio: 10 / 9;
  overflow: visible;
}
.sc-card--chat .sc-card-img {
  width: 100%;
  height: auto;
  display: block;
}

/* サムネ（LP/業務ツール/AIチャット）：高さ1.2倍 = aspect-ratio を 4/3 → 10/9 + 上合わせ */
.sc-card--thumb .sc-card-img-wrap {
  aspect-ratio: 10 / 9;
}
.sc-card--thumb .sc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center; /* 上から見える */
}

/* ─────── 対話チャット真下 → ダッシュボード左下（円グラフ）へ ─────── */
.sc-flow-arrow {
  position: absolute;
  /* 起点：チャット下端中央 / 終点：ダッシュボードカードの完全外側で右向き矢じり */
  /* chat カード高さを 1.2倍化したため、起点 top を 32% → 38% に下げる */
  left: 16%;
  top: 38%;
  width: 17%;
  height: 110px;
  z-index: 3;
  pointer-events: none;
  filter: drop-shadow(0 3px 6px rgba(34, 80, 200, 0.20));
}

/* スマホ専用の About CTA はデフォルト非表示（PC では左カラムの CTA を使用）
   ※ 統一ボタン .about-v3-cta { display: inline-flex } が後方にあり同一詳細度で
     打ち消されるため、.about-v3-grid を付けて詳細度を上げて確実に勝たせる */
.about-v3-grid .about-v3-cta--sp {
  display: none;
}

/* ─────── レスポンシブ ─────── */
@media (max-width: 1180px) {
  .showcase-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

/* 縦並びに切り替わる 900px で About ショーケースの SP 対応をまとめて適用 */
@media (max-width: 900px) {
  /* 「対話で依頼」「ダッシュボード」カードは非表示。
     成果物サムネ（LP / 業務ツール / AIチャットボット）のみ縦並びで表示 */
  .sc-card--chat,
  .sc-card--dashboard {
    display: none;
  }
  .showcase-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "lp"
      "tool"
      "bot";
  }
  .sc-flow-arrow {
    display: none; /* 矢印非表示 */
  }

  /* 縦並びになったら、左カラムの PC 用 CTA を非表示にし、
     成果物カードの下に SP 用 CTA を中央寄せで表示
     ※ 統一ボタン .about-v3-cta を確実に上書きするため詳細度を上げる */
  .about-v3-grid .about-v3-cta--pc {
    display: none;
  }
  .about-v3-grid .about-v3-cta--sp {
    display: flex;
    width: max-content;
    max-width: 100%;
    margin: 28px auto 0;
  }
}

/* ===================================================
   AI登竜門の特徴（Features v3）
   左カラム：見出し + サブコピー
   右カラム：縦積み3カード（ガラス感のある半透明）
   背景：feature-bg.jpg + 装飾オーブ
   =================================================== */
.features-v3 {
  position: relative;
  padding: 96px 0 120px;
  background:
    url('images/feature-bg.jpg') no-repeat center / cover,
    linear-gradient(135deg, #FBFCFE 0%, #F0EBFB 60%, #F7FAFE 100%);
  overflow: hidden;
}

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

.features-v3-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}

/* ─────── 左カラム ─────── */
.features-v3-left {
  position: sticky;
  top: 100px;
}

.features-v3-label {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.features-v3-title {
  font-family: var(--font-display);
  /* 他セクションタイトルに揃える */
  font-size: clamp(1.5rem, 2.2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-dark);
  margin: 0 0 16px;
  line-height: 1.4;
}

.features-v3-accent {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3A66D6 0%, #8B5CF6 100%);
  border-radius: 2px;
  margin-bottom: 28px;
}

.features-v3-desc {
  font-size: 1rem;
  line-height: 2;
  color: #000000;
  margin: 0;
}

/* ─────── 右カラム ─────── */
.features-v3-right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* 個別カード（デザインモック準拠）
   - アイコン画像 + テキストの2要素を grid で並べる
   - 番号(01/02/03)はカードの左上に絶対配置で「飛び出す」
   - アイコンは透過PNGをそのまま配置（CSS装飾なし）
   - タイトル下に左寄せアクセントライン
   - ホバーアクションなし
   - 3カードをジグザグ配置で動きを出す
*/
.feature-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 28px;
  align-items: center;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  padding: 28px 36px 28px 32px;
  box-shadow: 0 12px 36px rgba(34, 80, 200, 0.08);
  position: relative;
}

/* ジグザグ配置：1番目少し左、2番目右へ凹み、3番目もっと左に飛び出す（!important で確実に） */
.features-v3 .feature-card:nth-child(1) { transform: translateX(-32px) !important; }
.features-v3 .feature-card:nth-child(2) { transform: translateX(48px) !important; }
.features-v3 .feature-card:nth-child(3) { transform: translateX(-56px) !important; }

/* 番号 (01/02/03)：装飾的に控えめに配置
   案：「FEATURE」の小ラベルと組み合わせた小バッジ風。カード左上に上品にはみ出す。
   ・サイズ控えめ（2.5rem）
   ・グラデの細い縦バー + 番号 という組み合わせで「装飾アクセント」感
   ・存在感はあるが主張しすぎない */
.feature-card-num {
  position: absolute;
  top: -15px;
  left: 28px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: #fff;
  background: linear-gradient(135deg, #3A66D6 0%, #8B5CF6 100%);
  padding: 6px 14px 6px 18px;
  border-radius: 999px;
  line-height: 1;
  z-index: 5;
  box-shadow:
    0 6px 16px rgba(34, 80, 200, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* 番号の前に小さなドット装飾を入れて「タグらしさ」を強める */
.feature-card-num::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

/* アイコン画像：透過PNGをそのまま、約2/3に縮小 */
.feature-card-icon {
  width: 100%;
  max-width: 130px;
  height: auto;
  display: block;
}

.feature-card-body {
  min-width: 0;
  text-align: left !important; /* 中央寄せの上書きを防ぐため強制 */
}

.feature-card-title,
.feature-card-desc {
  text-align: left !important;
}

.feature-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.3vw, 1.25rem); /* 大きすぎたので縮小 */
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-dark);
  margin: 0 0 14px;
  line-height: 1.5;
  position: relative;
  padding-bottom: 12px;
}

/* タイトル下の小さなアクセントライン（左寄せ位置） */
.feature-card-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;       /* タイトル直下 + 少し下に余白 */
  width: 56px;          /* 40 → 56 で長めに */
  height: 3px;          /* 2 → 3 で太く */
  background: linear-gradient(90deg, #3A66D6 0%, #8B5CF6 100%);
  border-radius: 2px;
}

.feature-card-desc {
  font-size: 0.95rem;
  line-height: 1.95;
  color: #4A5568;
  margin: 0;
}

/* ─── タイトル下の3項目チェックリスト（リッチ化用） ─── */
.feature-card-checklist {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;     /* アンダーラインから 36px 下に余裕を持って */
  display: block;
}

.feature-card-checklist li {
  position: relative;
  padding: 0 0 0 32px;  /* アイコン分 + 余白を 28→32 に */
  margin: 0 0 16px;     /* 行間 8→16 に倍増。空気感UP */
  font-size: 0.94rem;
  line-height: 1.75;     /* 行内も少しゆったり */
  color: #1F2937;
  font-weight: 500;
}

.feature-card-checklist li:last-child {
  margin-bottom: 0;
}

.feature-card-checklist li i {
  position: absolute;
  left: 0;
  top: 6px;             /* line-height 拡大に合わせて 4→6 */
  width: 20px;          /* アイコンも少し大きく */
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #3A66D6 0%, #8B5CF6 100%);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
}

/* テキスト中の強調語句（青）。display: inline 維持で改行も自然に */
.feature-card-checklist li strong {
  color: var(--color-primary);
  font-weight: 700;
  display: inline;      /* 念のため明示 */
  background: none;     /* 親の影響を遮断 */
  padding: 0;
  margin: 0;
}

/* ===================================================
   全セクション統一CTAボタン（青→紫グラデ・10px角丸）
   About / Vibe Coding / Features / Cases / News / Column
   =================================================== */
.features-v3-cta,
.about-v3-cta,
.vibe-v3-cta-btn,
.cases-v3-more,
.news-v3-more,
.column-v3-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  background: linear-gradient(135deg, var(--color-primary) 0%, #6D3FE6 100%) !important;
  color: #fff !important;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  border-radius: 10px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 8px 22px rgba(34, 80, 200, 0.28);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  width: max-content;
  max-width: 100%;
}

.features-v3-cta:hover,
.about-v3-cta:hover,
.vibe-v3-cta-btn:hover,
.cases-v3-more:hover,
.news-v3-more:hover,
.column-v3-more:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(34, 80, 200, 0.35);
  background: linear-gradient(135deg, #1E47B0 0%, #5C2FCC 100%) !important;
}

.features-v3-cta i,
.about-v3-cta i,
.vibe-v3-cta-btn i,
.cases-v3-more i,
.news-v3-more i,
.column-v3-more i {
  font-size: 0.78rem;
  transition: transform 0.25s ease;
}

.features-v3-cta:hover i,
.about-v3-cta:hover i,
.vibe-v3-cta-btn:hover i,
.cases-v3-more:hover i,
.news-v3-more:hover i,
.column-v3-more:hover i {
  transform: translateX(4px);
}

/* セクション固有の余白だけ別途 */
.features-v3-cta { margin-top: 28px; }
.about-v3-cta    { margin: 36px auto 0; } /* About は中央寄せ */

/* スマホ専用の Features CTA はデフォルト非表示（PC では左カラムの CTA を使用）
   ※ 統一ボタン .features-v3-cta { display: inline-flex } を確実に上書きするため
     .features-v3-grid を付けて詳細度を上げる */
.features-v3-grid .features-v3-cta--sp {
  display: none;
}

/* ─────── レスポンシブ ─────── */
@media (max-width: 1100px) {
  .features-v3-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .features-v3-left {
    position: static;
    /* 縦並び時：ラベル・タイトル・サブテキストを中央揃え */
    text-align: center;
  }
  .features-v3-accent {
    margin-left: auto;
    margin-right: auto;
  }
  /* 縦並び時：左カラムの PC 用 CTA を非表示にし、
     3カードの下に SP 用 CTA を中央寄せで表示 */
  .features-v3-grid .features-v3-cta--pc {
    display: none;
  }
  .features-v3-grid .features-v3-cta--sp {
    display: flex;
    width: max-content;
    max-width: 100%;
    margin: 8px auto 0;
  }
  .features-v3-connector {
    display: none; /* 1カラム時は接続線非表示 */
  }
  .feature-card {
    grid-template-columns: 140px 1fr;
    gap: 18px;
    padding: 22px 22px 22px 28px;
  }
  /* 縦並びになったらジグザグのずらしを完全に解除（base の !important を上書き） */
  .features-v3 .feature-card:nth-child(1),
  .features-v3 .feature-card:nth-child(2),
  .features-v3 .feature-card:nth-child(3) { transform: none !important; }
  /* 番号バッジ(01/02/03)は base のピル型サイズ(0.95rem)のまま。
     以前ここにあった font-size:2.6rem の拡大指定は不要なため削除 */
  .feature-card-icon {
    max-width: 140px;
  }
}

@media (max-width: 768px) {
  .features-v3 {
    padding: 40px 0 40px;
  }
  .feature-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 24px;
  }
  .feature-card-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto;
  }
  .feature-card-title {
    text-align: center;
  }
}

/* ===================================================
   セクションタイトル下のアクセント線（共通）
   .vibe-v3-accent と同じスタイル。
   cases-v3 / news-v3 / column-v3 等のタイトル直下に配置
   =================================================== */
.section-accent {
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #3A66D6 0%, #8B5CF6 100%);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* news-v3 は左寄せレイアウトなので margin: 0 で左から */
.news-v3-header .section-accent {
  margin: 14px 0 0;
}

/* ===================================================
   テキストアクセント（青→紫グラデ + 太字でインパクト強化）
   タイトル・サブテキスト内で <span class="text-accent"> を囲って使う
   =================================================== */
.text-accent {
  /* 視認性向上：薄い紫を廃し、濃いブルー〜ディープパープルで高コントラスト化 */
  background: linear-gradient(135deg, #1E40AF 0%, #2250C8 45%, #5B21B6 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  font-weight: 800;
}

/* ===================================================
   セクションラベル共通バッジスタイル
   ABOUT / VIBE CODING / FEATURES / CASES / NEWS / COLUMN を
   全部バッジ型に統一
   =================================================== */
.about-v3-label,
.vibe-v3-label,
.features-v3-label,
.cases-v3-label,
.news-v3-label,
.column-v3-label {
  display: inline-block !important;
  /* width: max-content で親の stretch を打ち消して内容幅に固定。
     align-self は指定しない（指定すると親の align-items: center が無視されて
     Cases / Column のバッジが中央に揃わなくなる） */
  width: max-content !important;
  max-width: 100% !important;
  padding: 7px 18px !important;
  background: rgba(34, 80, 200, 0.10) !important;
  color: var(--color-primary) !important;
  border-radius: 999px !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.2em !important;
  margin-bottom: 18px !important;
  border: 1px solid rgba(34, 80, 200, 0.18);
}

/* ===================================================
   軽いホバーアニメーション
   Features と同じく、Vibe / About にも追加
   =================================================== */

/* Vibe ステップカード */
.vibe-step {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.vibe-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(34, 80, 200, 0.14);
}

/* Vibe ベネフィットカード */
.vibe-benefit {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.vibe-benefit:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(34, 80, 200, 0.12);
}

/* About のショーケース内カード（複製版）にも軽く */
.sc-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sc-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(34, 80, 200, 0.14);
}
