:root {
  /* Color Palette */
  --color-main: #2C3E50;
  /* Slate Navy: Trust & Integrity */
  --color-accent: #C5A059;
  /* Spartan Gold: Victory & Action */
  --color-base: #FAFAFA;
  /* Off-white: Readability */
  --color-text: #333333;
  --color-text-light: #FAFAFA;
  --color-highlight: #E60012;
  /* Strong Red */

  /* Typography */
  --font-main: 'Noto Sans JP', sans-serif;
  --line-height-base: 1.8;
  --letter-spacing-base: 0.05em;

  /* Spacing */
  --spacing-section-pc: 140px;
  /* 120px ~ 160px */
  --spacing-section-sp: 60px;
  --container-width: 1000px;
  /* Reduced for "Noise reduction" focus */
  --header-height: 80px;

  /* Transition */
  --transition-base: 0.3s ease;
}

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

html {
  font-family: var(--font-main);
  line-height: var(--line-height-base);
  letter-spacing: var(--letter-spacing-base);
  color: var(--color-text);
  background-color: var(--color-base);
  overflow-x: hidden;
}

body {
  width: 100%;
}

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

a:hover {
  opacity: 0.7;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Utilities */
.container {
  width: 90%;
  max-width: var(--container-width);
  margin: 0 auto;
}

/* Page Background Depth (Service & Case) */
.page-bg-depth {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: var(--color-base);
}

.depth-shape {
  position: absolute;
  opacity: 0.03;
  /* Very faint for readability */
}

/* Depth Shape 1: Top Left Navy */
.ds1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background-color: var(--color-main);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}

/* Depth Shape 2: Bottom Right Gray */
.ds2 {
  bottom: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background-color: #bdc3c7;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

/* Depth Shape 3: Middle Right Navy Accent */
.ds3 {
  top: 40%;
  right: -5%;
  width: 30vw;
  height: 30vw;
  background-color: var(--color-main);
  clip-path: polygon(100% 0, 0 50%, 100% 100%);
  opacity: 0.02;
}

.section {
  padding: var(--spacing-section-pc) 0;
}

/* Typography Utilities */
.text-main {
  color: var(--color-main);
}

.text-accent {
  color: var(--color-accent);
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 1rem 3rem;
  background-color: var(--color-accent);
  color: #fff;
  font-weight: 700;
  border: 2px solid var(--color-accent);
  transition: all var(--transition-base);
  cursor: pointer;
  min-width: 200px;
  text-align: center;
}

.btn:hover {
  background-color: transparent;
  color: var(--color-accent);
}

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

.btn-outline:hover {
  background-color: var(--color-main);
  color: #fff;
}

/* Header */
.header {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.logo {
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--color-main);
  letter-spacing: 0.1em;
}

.nav-list {
  display: flex;
  gap: 2rem;
}

.nav-item a {
  font-weight: 500;
  color: var(--color-main);
  position: relative;
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-accent);
  transition: var(--transition-base);
}

.nav-item a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
}

/* Footer */
.footer {
  background-color: var(--color-main);
  color: #fff;
  padding: 80px 0 40px;
  text-align: center;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.copyright {
  font-size: 0.8rem;
  opacity: 0.6;
}


/* Hero Section */
.hero-section {
  background-color: var(--color-main);
  color: #fff;
  min-height: 80vh;
  display: flex;
  align-items: center;
  /* Use margin instead of padding so background starts below header */
  margin-top: var(--header-height);
  padding-top: 0;
  padding-bottom: 2rem;
  /* Dark overlay for readability + New Background Image */
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/hero_bg_new.jpg');
  background-size: cover;
  background-position: 80% 20%;
  overflow: hidden;
  position: relative;
}

.hero-bg-text {
  position: absolute;
  bottom: -2vw;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.03);
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  font-family: 'Noto Sans JP', sans-serif;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  /* Center content since visual is gone */
  width: 95%;
  max-width: 1200px;
  /* Reduced max-width for centered text focus */
  margin: 0 auto;
}

.hero-content {
  flex: 1;
  padding-right: 0;
  /* Remove padding */
  z-index: 2;
  text-align: left;
  /* Keep left align or center? Usually hero with full bg is centered or left. Current design is left. */
}

.hero-visual {
  display: none;
  /* Hide the old visual */
}

.hero-visual img {
  max-width: 100%;
  height: auto;
  /* Mask to fade edges: Fade left edge and bottom edge */
  -webkit-mask-image: linear-gradient(to right, transparent, black 20%), linear-gradient(to top, transparent, black 20%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, black 15%), linear-gradient(to top, transparent, black 15%);
  mask-composite: intersect;
  filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.5));
}

.hero-subphrase {
  font-family: 'Noto Serif JP', serif;
  /* Impactful Serif font */
  color: #fff;
  font-size: 2.4rem;
  /* Significantly larger */
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  margin-top: 4rem;
  /* Additional top spacing */
  font-weight: 900;
  opacity: 1;
  /* Remove opacity for full impact */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  border-left: 6px solid var(--color-accent);
  padding-left: 1rem;
  line-height: 1;
}

.hero-title-main {
  font-size: 5rem;
  font-weight: 900;
  margin: 0 0 2rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.text-accent-red {
  color: var(--color-highlight);
}

/* Gold Box Updates for Split Lines */
.hero-gold-box-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  /* Left align the boxes */
  margin-bottom: 3rem;
}

.hero-gold-line {
  background: linear-gradient(90deg, #C5A059 0%, #E6C88B 50%, #C5A059 100%);
  padding: 0.8rem 2rem;
  display: inline-block;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  /* Ensure text stays on one line */
}

.hero-copy-text {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
}

/* Red Text inside Gold Box */
.text-red-bold {
  color: #D32F2F;
  /* Darker red for contrast on gold */
  font-weight: 900;
  font-size: 1.1em;
}

.hero-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  width: 100%;
  max-width: 600px;
  margin-top: 2rem;
}

.check-item {
  display: flex;
  align-items: center;
  font-size: 1.3rem;
  /* Larger text */
  font-weight: 900;
  /* Bolder */
  color: #fff;
  background: transparent;
  /* Removed box background */
  padding: 0.5rem 0;
  /* Reduced padding */
  border-radius: 0;
  /* Removed border radius */
  border: none;
  border-bottom: 3px solid var(--color-accent);
  /* Impactful underline */
  white-space: nowrap;
  /* Force single line */
}

.check-mark {
  color: var(--color-accent);
  font-size: 1.8rem;
  /* Larger check */
  margin-right: 0.5rem;
  text-shadow: 0 0 10px rgba(197, 160, 89, 0.6);
  /* Gold glow */
}

/* Recovered Styles & Section Title */
.section-title {
  font-size: 2.5rem;
  margin-bottom: 4rem;
  font-weight: 700;
  color: var(--color-main);
  text-align: center;
}

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

.cta-section {
  background-color: #f0f0f0;
}

/* Responsive */
@media (max-width: 768px) {
  :root {
    --header-height: 60px;
  }

  .section {
    padding: var(--spacing-section-sp) 0;
  }

  /* Mobile Menu Styles */
  .nav-list {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: -100%;
    /* Hidden by default */
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: #fff;
    padding: 80px 40px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
    z-index: 1001;
    gap: 2rem;
  }

  .nav-list.active {
    right: 0;
  }

  /* Hamburger Button */
  .mobile-menu-btn {
    display: block;
    position: relative;
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 1002;
  }

  .mobile-menu-btn span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-main);
    transition: all 0.3s ease;
  }

  .mobile-menu-btn span:nth-child(1) {
    top: 0;
  }

  .mobile-menu-btn span:nth-child(2) {
    top: 11px;
  }

  .mobile-menu-btn span:nth-child(3) {
    bottom: 0;
  }

  /* Active Hamburger Animation */
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 11px;
    background-color: var(--color-accent);
  }

  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 11px;
    background-color: var(--color-accent);
  }

  /* Overlay Background */
  .mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    /* Adjusted below header (1000) so menu links are clickable */
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }

  .mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }

  /* Mobile Warning: Touch Targets */
  a,
  button,
  .btn {
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Hero Mobile */
  .hero-section {
    min-height: auto;
    padding-top: calc(var(--header-height) + 20px);
  }

  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  /* Stack on mobile */
  .hero-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }

  .hero-visual {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-gold-box-wrapper {
    align-items: center;
    /* Center on mobile */
    gap: 1rem;
    width: 100%;
  }

  .hero-gold-line {
    width: 100%;
    display: block;
    padding: 1rem;
    white-space: normal;
    /* Fix: Allow text wrapping on mobile */
  }

  .hero-copy-text {
    font-size: 1.1rem;
    /* Slightly smaller for better fit */
    line-height: 1.5;
    white-space: normal;
  }

  .hero-subphrase {
    font-size: 1.3rem;
    margin-bottom: 1rem;
  }

  /* Full width on mobile */
  .hero-title-main {
    font-size: 13vw;
    /* Responsive font size */
    margin-bottom: 1rem;
  }

  .hero-checklist {
    grid-template-columns: 1fr;
    /* Stack on mobile for better readability */
    width: 100%;
    max-width: 400px;
    /* Constrain width */
    margin: 2rem auto 0;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
}

/* Concept Section Style */
.section-concept {
  background-color: #111;
  /* Very dark background */
  color: #fff;
  padding: 8rem 0;
  /* Slightly increased padding for depth */
  position: relative;
  overflow: hidden;
  /* Ensure large text doesn't cause scroll */
}

.concept-bg-text {
  position: absolute;
  top: 40%;
  /* Shifted up from 50% */
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 20vw;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.08);
  /* White, increased opacity for visibility */
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  font-family: 'Noto Sans JP', sans-serif;
  background: linear-gradient(to top, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.concept-bg-illus {
  position: absolute;
  bottom: 0;
  right: -5%;
  width: 50%;
  max-width: 600px;
  z-index: 0;
  pointer-events: none;
  opacity: 0.08;
  /* Increased opacity for visibility */
  filter: invert(1);
  /* Change black silhouette to white */
}

.concept-bg-illus img {
  width: 100%;
  height: auto;
}

.section-concept .section-title {
  color: #fff;
  font-family: 'Noto Serif JP', serif;
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 3rem;
  letter-spacing: 0.1em;
  text-shadow: 0 0 20px rgba(197, 160, 89, 0.4);
}

.section-concept .container {
  max-width: 1400px;
  /* Widened for "to the edges" feel */
  width: 95%;
}

.concept-headline {
  font-size: 1.5rem;
  line-height: 1.8;
  margin-bottom: 5rem;
  font-weight: 700;
  color: #ccc;
  text-align: center;
}

.concept-block {
  margin-bottom: 6rem;
  padding: 0;
  /* Remove padding */
  background: transparent;
  /* Remove background */
  border: none;
  /* Remove border */
  width: 100%;
  /* Use full width to allow text to reach edges */
}

/* Specific Alignment */
.concept-block:nth-of-type(1) {
  margin-right: auto;
  /* Align Left */
  text-align: left;
}

.concept-block:nth-of-type(2) {
  margin-left: auto;
  /* Align Right */
  text-align: right;
}



.concept-title {
  font-size: 2.8rem;
  /* Much larger for impact */
  font-weight: 900;
  margin-bottom: 2rem;
  color: var(--color-accent);
  line-height: 1.3;
  white-space: nowrap;
  /* Ensure title stays on one line */
}

.concept-text {
  font-size: 1.2rem;
  line-height: 2;
  color: #eee;
}

@media (max-width: 768px) {
  .concept-block {
    max-width: 100%;
    margin-bottom: 4rem;
    text-align: left !important;
    /* Reset alignment on mobile */
  }

  .concept-title {
    font-size: 2rem;
    white-space: normal;
  }
}

/* Mid CTA Section */
.mid-cta {
  background-color: #1a252f;
  /* Cohesive dark navy */
  padding: 5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 4rem;
}

.cta-item {
  flex: 0 1 450px;
  text-align: center;
}

.mid-cta .cta-label {
  color: #fff;
}

.cta-sub-lead {
  font-size: 1.2rem;
  font-weight: 700;
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.cta-label {
  color: var(--color-main);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}

.btn-cta {
  width: 100%;
  padding: 1.5rem 2rem;
  font-size: 1.2rem;
  border-radius: 4px;
  /* Subtle rounding */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  opacity: 1;
}

.btn-orange {
  background-color: #e67e22;
  /* Vibrant orange for action */
  border: none;
  color: #fff;
}

.btn-orange:hover {
  background-color: #f39c12;
  color: #fff;
}

.btn-white {
  background-color: #fff;
  border: none;
  color: #1a252f;
}

.btn-white:hover {
  background-color: #f8f9fa;
  color: #1a252f;
}

.btn-cta .arrow {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.btn-cta:hover .arrow {
  transform: translateX(5px);
}

@media (max-width: 900px) {
  .cta-row {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }

  .cta-item {
    width: 100%;
    max-width: 400px;
  }
}

/* Features Section */
.features-section {
  background-color: var(--color-base);
  padding: var(--spacing-section-pc) 0;
  position: relative;
  overflow: hidden;
}

.features-bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape-triangle {
  position: absolute;
  display: block;
  width: 0;
  height: 0;
  opacity: 0.1;
}

/* Triangle 1: Removed per user request (overlapped text) */
/* .t1 { ... } */

/* Triangle 2: Large Gray Bottom Left */
.t2 {
  bottom: -10%;
  left: -5%;
  width: 70vw;
  height: 70vw;
  background-color: #95a5a6;
  clip-path: polygon(0 100%, 0 0, 100% 100%);
  opacity: 0.15;
}

/* Triangle 3: Medium Navy Mid Left */
.t3 {
  top: 30%;
  left: -10%;
  width: 40vw;
  height: 40vw;
  background-color: var(--color-main);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  opacity: 0.05;
  transform: rotate(15deg);
}

/* Triangle 4: Medium Gray Mid Right */
.t4 {
  bottom: 20%;
  right: -5%;
  width: 50vw;
  height: 50vw;
  background-color: #bdc3c7;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
  opacity: 0.1;
  transform: rotate(-10deg);
}

.features-bg-text {
  position: absolute;
  top: 2%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20vw;
  font-weight: 900;
  color: rgba(44, 62, 80, 0.05);
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  font-family: 'Arial Black', sans-serif;
  letter-spacing: 0.05em;
}

.features-section .section-title {
  margin-bottom: 6rem;
  position: relative;
  z-index: 1;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 5rem;
  margin-bottom: 8rem;
  position: relative;
  z-index: 1;
}

.feature-item:last-child {
  margin-bottom: 0;
}

.feature-item.reverse {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 0 0 50%;
  position: relative;
}

.feature-image img {
  width: 100%;
  height: auto;
  border-radius: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.5s ease;
}

.feature-item:hover .feature-image img {
  transform: translateY(-10px);
}

.feature-content {
  flex: 1;
  background-color: #fff;
  padding: 4rem 3rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  overflow: visible;
}

.feature-point {
  position: absolute;
  top: -10px;
  left: -10px;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #C5A059 100%);
  padding: 0.8rem 3rem 0.8rem 1.5rem;
  transform: skewX(-10deg);
  box-shadow: 0 4px 12px rgba(197, 160, 89, 0.5);
  z-index: 10;
}

.feature-point::before {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 20px 42px 0;
  border-color: transparent #B8860B transparent transparent;
  transform: translateX(100%);
}

.feature-title {
  font-size: 2rem;
  font-weight: 900;
  color: #333;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  position: relative;
}

.feature-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #2C8B9E 0%, #2C8B9E 60%, transparent 100%);
}

.feature-title::before {
  content: '';
  position: absolute;
  bottom: -4px;
  right: 40%;
  width: 8px;
  height: 8px;
  background-color: #2C8B9E;
  border-radius: 50%;
}

.feature-description {
  font-size: 1.05rem;
  line-height: 2;
  color: #555;
}

.feature-description mark {
  background-color: #FFF59D;
  color: #333;
  padding: 0.1em 0.3em;
  font-weight: 700;
  border-radius: 2px;
}

/* Subsidy Information Section */
.subsidy-section {
  background-color: var(--color-base);
  padding: 0;
}

.subsidy-box {
  background: linear-gradient(135deg, #1a252f 0%, #2C3E50 100%);
  padding: 4rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.subsidy-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.subsidy-title {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.subsidy-highlight {
  color: var(--color-accent);
  font-size: 2.5rem;
  display: inline-block;
  margin-left: 0.5rem;
}

.subsidy-text {
  font-size: 1.2rem;
  color: #ccc;
  font-weight: 500;
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
}

.btn-subsidy-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  background-color: #e67e22;
  color: #fff;
  padding: 1.2rem 3rem;
  font-size: 1.2rem;
  font-weight: 700;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.btn-subsidy-cta:hover {
  background-color: #f39c12;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-subsidy-cta .arrow {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.btn-subsidy-cta:hover .arrow {
  transform: translateX(5px);
}

/* Comparison Table Section */
.comparison-section {
  background-color: #f8f9fa;
  padding: var(--spacing-section-pc) 0;
  position: relative;
  overflow: hidden;
}

.comparison-bg-text {
  position: absolute;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16vw;
  font-weight: 900;
  color: rgba(44, 62, 80, 0.04);
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  font-family: 'Arial Black', sans-serif;
  letter-spacing: 0.05em;
}

.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
}

.comparison-table thead th {
  padding: 2rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  text-align: center;
  border-bottom: 3px solid #e0e0e0;
}

.comparison-table thead th.header-col {
  background: linear-gradient(135deg, #2C3E50 0%, #34495E 100%);
  color: #fff;
  font-size: 1.2rem;
  border-top-left-radius: 12px;
}

.comparison-table thead th.highlight-col {
  background: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #C5A059 100%);
  color: #fff;
  font-size: 1.3rem;
  position: relative;
  box-shadow: 0 4px 15px rgba(197, 160, 89, 0.3);
}

.comparison-table thead th.highlight-col::after {
  content: '★ おすすめ ★';
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  font-size: 0.7rem;
  background-color: #E60012;
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-weight: 900;
}

.comparison-table thead th {
  background-color: #e8e8e8;
  color: #333;
}

.comparison-table thead th .sub-text {
  font-size: 0.85rem;
  font-weight: 500;
  opacity: 0.9;
  display: block;
  margin-top: 0.3rem;
}

.comparison-table tbody td {
  padding: 1.8rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
  font-size: 1rem;
  line-height: 1.6;
  vertical-align: middle;
}

.comparison-table tbody tr:last-child td {
  border-bottom: none;
}

.comparison-table tbody tr:last-child td:first-child {
  border-bottom-left-radius: 12px;
}

.comparison-table tbody tr:last-child td:last-child {
  border-bottom-right-radius: 12px;
}

.comparison-table tbody td.header-col {
  background-color: #2C3E50;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: left;
  padding-left: 2rem;
}

.comparison-table tbody td.highlight-col {
  background-color: #FFFBF0;
  font-weight: 600;
  color: #333;
  border-left: 3px solid var(--color-accent);
  border-right: 3px solid var(--color-accent);
}

.comparison-table tbody tr:nth-child(even) td:not(.header-col):not(.highlight-col) {
  background-color: #f8f9fa;
}

.rating {
  font-size: 2rem;
  font-weight: 900;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.rating.excellent {
  color: #FFD700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.rating.good {
  color: #4A90E2;
}

.rating.poor {
  color: #95a5a6;
}

/* Responsive Features */
@media (max-width: 768px) {

  .feature-item,
  .feature-item.reverse {
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 5rem;
  }

  .feature-image {
    width: 100%;
  }

  .feature-image img {
    border-radius: 20px;
  }

  .feature-content {
    padding: 3rem 1.5rem;
  }

  .feature-point {
    font-size: 0.9rem;
    padding: 0.6rem 2.5rem 0.6rem 1rem;
  }

  .feature-point::before {
    border-width: 0 15px 36px 0;
  }

  .feature-title {
    font-size: 1.6rem;
  }

  .feature-description {
    font-size: 1rem;
  }

  .subsidy-box {
    padding: 2rem 1.5rem;
  }

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

  .subsidy-highlight {
    font-size: 1.8rem;
    display: block;
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .subsidy-text {
    font-size: 1rem;
  }

  /* Comparison Table Responsive */
  .comparison-table-wrapper {
    margin-top: 2rem;
  }

  .comparison-table thead th {
    padding: 1.2rem 0.8rem;
    font-size: 0.85rem;
  }

  .comparison-table thead th.header-col {
    font-size: 0.9rem;
  }

  .comparison-table thead th.highlight-col {
    font-size: 1rem;
  }

  .comparison-table thead th.highlight-col::after {
    font-size: 0.6rem;
    padding: 0.15rem 0.4rem;
    top: 0.3rem;
    right: 0.3rem;
  }

  .comparison-table thead th .sub-text {
    font-size: 0.7rem;
  }

  .comparison-table tbody td {
    padding: 1.2rem 0.6rem;
    font-size: 0.85rem;
  }

  .comparison-table tbody td.header-col {
    font-size: 0.9rem;
    padding-left: 1rem;
  }

  .rating {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
  }
}

/* Case Study Section Grid */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  /* Larger gap for card separation */
  margin-top: 3rem;
}

.case-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  /* Subtle shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: 1px solid #f0f0f0;
  display: flex;
  flex-direction: column;
}

.case-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.case-image {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.case-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.case-card:hover .case-image img {
  transform: scale(1.05);
}

.case-logo {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 140px;
  /* Reduced from reference slightly to fit if needed, but reference looks wide */
  height: auto;
  background: #fff;
  border-top-right-radius: 12px;
  /* Smooth corner */
  padding: 10px 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

/* Adjust logo styling to match reference image which is a white box at bottom left */
.case-logo .logo-text {
  font-size: 0.9rem;
  font-weight: 900;
  color: var(--color-main);
  line-height: 1.2;
}


.case-content {
  padding: 2rem 1.5rem 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.case-org-name {
  font-size: 1rem;
  color: #666;
  margin-bottom: 0.8rem;
  font-weight: 500;
}

.case-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: auto;
  /* Push metadata down if needed, but usually fixed spacing is better */
  padding-bottom: 2rem;
  color: var(--color-main);
  letter-spacing: 0.05em;
}

.case-meta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 1rem;
  margin-top: 1rem;
}

.case-meta .meta-item {
  display: flex;
  align-items: baseline;
}

.case-meta dt {
  color: #4A90E2;
  /* Blue text */
  font-weight: 500;
  min-width: 6em;
  margin-right: 0.5rem;
}

.case-meta dd {
  color: #4A90E2;
  /* Blue text */
  font-weight: 500;
  margin: 0;
}

/* Responsive */
@media (max-width: 900px) {
  .case-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .case-image {
    aspect-ratio: 16 / 9;
  }
}

/* View More Link */
.case-view-more {
  text-align: right;
  margin-top: 2rem;
}

.case-view-more a {
  color: var(--color-main);
  font-weight: 700;
  text-decoration: underline;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.case-view-more a:hover {
  opacity: 0.8;
  gap: 0.8rem;
}

.case-view-more .arrow {
  font-weight: 900;
}

/* Case Study Section Background Typography */
.case-studies-section {
  position: relative;
  overflow: hidden;
  padding: var(--spacing-section-pc) 0;
  /* Ensure existing padding is maintained or set */
}

.case-studies-bg-text {
  position: absolute;
  top: 0%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 20vw;
  font-weight: 900;
  color: rgba(44, 62, 80, 0.04);
  /* Navy --color-main with low opacity */
  white-space: nowrap;
  line-height: 1;
  z-index: 0;
  pointer-events: none;
  font-family: 'Arial Black', sans-serif;
  letter-spacing: 0.05em;
}

/* Ensure content sits above background text */
.case-studies-section .container {
  position: relative;
  z-index: 1;
}

/* Case Detail Page Styles */
.case-detail {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 4rem;
}

.case-detail-header {
  text-align: center;
  margin-bottom: 3rem;
}

.case-detail-meta {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--color-main);
  font-weight: 500;
}

.case-detail-meta .org-name {
  margin-right: 1.5rem;
  font-weight: 700;
}

.case-detail-title {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1.6;
  color: var(--color-main);
}

.case-detail-visual {
  width: 100%;
  margin-bottom: 4rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.case-detail-visual img {
  width: 100%;
  height: auto;
}

.case-detail-body .sub-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-main);
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  margin-top: 3rem;
}

.case-detail-body p,
.case-detail-body ul {
  font-size: 1.1rem;
  line-height: 2;
  margin-bottom: 1.5rem;
  color: #444;
}

.case-detail-body ul {
  list-style: disc;
  padding-left: 2rem;
}

.case-detail-body li {
  margin-bottom: 0.5rem;
}

/* Fix Case Section Title Overlap */
.case-studies-section .section-title {
  position: relative;
  z-index: 2;
  margin-top: -2rem;
  /* Move title up slightly as requested */
}

/* Update Bottom CTA to support 2 columns if not already handled */
.cta-bottom-row {
  margin-top: 3rem;
  /* Ensure spacing from the main CTA text */
}

/* Quick Links Footer */
.footer-quick-links {
  background-color: var(--color-main);
  /* Navy Blue */
  color: #fff;
  padding: 80px 0 20px;
  /* Top padding for spacing, bottom for copyright */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-links-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-info {
  flex: 0 0 300px;
}

.footer-logo {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  display: block;
  margin-bottom: 2rem;
  letter-spacing: 0.1em;
}

.footer-certs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.cert-placeholder {
  width: 80px;
  height: 80px;
  background-color: #fff;
  color: var(--color-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: 4px;
}

.footer-company-info {
  font-size: 0.9rem;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-links-grid {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  /* Align to right */
  gap: 4rem;
}

.link-column {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.link-column a {
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
  padding-left: 1.2em;
  transition: opacity 0.3s ease, padding-left 0.3s ease;
}

.link-column a::before {
  content: '>';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8em;
  opacity: 0.6;
}

.link-column a:hover {
  opacity: 1;
  padding-left: 1.5em;
  text-decoration: none;
}

.footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Footer Responsive */
@media (max-width: 768px) {
  .quick-links-wrapper {
    flex-direction: column;
    gap: 3rem;
  }

  .footer-info {
    flex: auto;
    text-align: center;
  }

  .footer-certs {
    justify-content: center;
  }

  .footer-links-grid {
    justify-content: space-between;
    /* Spread columns on mobile */
    gap: 2rem;
  }

  .link-column {
    flex: 1;
  }
}

/* AI Talent Level Definition Section */
.level-definition-section {
  padding: 5rem 0;
  background-color: #f9f9f9;
}

.level-header {
  margin-bottom: 4rem;
}

.section-subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 1rem;
}

.section-intro {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
  color: #555;
}

/* Container for Pyramid + Descriptions */
.level-pyramid-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
}

/* Pyramid Visual Construction */
.pyramid-visual {
  flex: 0 0 500px;
  height: 600px;
  display: flex;
  flex-direction: column;
  position: relative;
  /* Clip the entire container into a triangle */
  clip-path: polygon(50% 0, 100% 100%, 0% 100%);
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
  margin: 0;
  padding: 0;
}

.pyramid-level {
  width: 100%;
  border-bottom: 2px solid rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  position: relative;
  color: #fff;
  transition: background-color 0.3s ease;
  box-sizing: border-box;
  margin: 0;
}

.pyramid-level:last-child {
  border-bottom: none;
}

/* Level Colors & Sizes - Percentages MUST match descriptions exactly */
.level-3 {
  flex: 0 0 22%;
  background-color: var(--color-accent);
  padding-top: 60px;
  align-items: center;
  padding-bottom: 10px;
}

.level-2 {
  flex: 0 0 24%;
  background-color: #34495e;
}

.level-1 {
  flex: 0 0 26%;
  background-color: #2c3e50;
}

.level-0 {
  flex: 0 0 28%;
  background-color: #1a252f;
}

.level-badge {
  font-size: 1rem;
  font-weight: 900;
  opacity: 0.9;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

.level-label {
  font-size: 1.1rem;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.level-3 .level-badge {
  font-size: 0.9rem;
  margin-bottom: 0;
}

.level-3 .level-label {
  font-size: 1rem;
}

/* Descriptions Alignment */
.level-descriptions {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 600px;
  justify-content: flex-start;
  margin: 0;
  padding: 0;
}

.level-desc-item {
  position: relative;
  padding-left: 3rem;
  border-left: 4px solid #ddd;
  transition: border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  box-sizing: border-box;
}

/* Exact Height Matching with Flex Basis */
.desc-lvl-3 {
  flex: 0 0 22%;
  border-left-color: var(--color-accent);
}

.desc-lvl-2 {
  flex: 0 0 24%;
  border-left-color: #34495e;
}

.desc-lvl-1 {
  flex: 0 0 26%;
  border-left-color: #2c3e50;
}

.desc-lvl-0 {
  flex: 0 0 28%;
  border-left-color: #1a252f;
}

/* Connecting Lines (Desktop Only) with dynamic lengths/positions */
@media (min-width: 769px) {
  .level-desc-item::before {
    content: '';
    position: absolute;
    height: 1px;
    background-color: var(--color-main);
    z-index: -1;
    top: 50%;
  }



  /* Specific line formatting for each level */
  .desc-lvl-3::before {
    width: 330px;
    left: -330px;
  }



  .desc-lvl-2::before {
    width: 270px;
    left: -270px;
  }



  .desc-lvl-1::before {
    width: 210px;
    left: -210px;
  }



  .desc-lvl-0::before {
    width: 150px;
    left: -150px;
  }


}


.desc-title {
  font-size: 1.1rem;
  /* Slightly smaller to prevent wrap */
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 0.5rem;
  white-space: nowrap;
  /* Force single line */
}

.desc-text {
  font-size: 0.85rem;
  /* Smaller text */
  color: #666;
  line-height: 1.5;
  /* More compact */
  margin: 0;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .level-pyramid-container {
    flex-direction: column;
    gap: 2rem;
    height: auto;
  }

  .pyramid-visual {
    flex: auto;
    width: 320px;
    height: 300px;
    clip-path: polygon(50% 0, 100% 100%, 0% 100%);
  }

  /* Reset heights for mobile */
  .level-descriptions {
    height: auto;
  }

  .level-desc-item {
    height: auto !important;
    margin-bottom: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .level-desc-item::before {
    display: none;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .level-pyramid-container {
    flex-direction: column;
    gap: 3rem;
  }

  .pyramid-visual {
    width: 100%;
    transform: scale(0.9);
  }

  .level-descriptions {
    width: 100%;
  }

  .level-desc-item {
    margin-bottom: 2rem;
  }
}

/* Course Overview Styles (Card Layout) */
.course-overview-section {
  background-color: #f8f9fa;
  padding: var(--spacing-section-pc) 0;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.course-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  border: 1px solid #eee;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

/* Card Header Colors based on Pyramid Levels */
.course-header {
  padding: 2rem 1rem;
  text-align: center;
  color: #fff;
  position: relative;
  /* Triangle pointer like reference */
  min-height: 130px;
  /* Ensure consistent header height */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

/* Add triangle at the bottom of header */
.course-header::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 15px 0 15px;
  border-color: inherit transparent transparent transparent;
  z-index: 1;
}

/* Level Colors */
/* Basic (Level 1) - Navy */
.level-1-card .course-header {
  background-color: #2c3e50;
  /* Pyramid Level 1 Color */
  border-color: #2c3e50;
}

.level-1-card .course-header::after {
  border-color: #2c3e50 transparent transparent transparent;
}

/* Standard (Level 2) - Lighter Slate Navy */
.level-2-card .course-header {
  background-color: #34495e;
  /* Pyramid Level 2 Color */
  border-color: #34495e;
}

.level-2-card .course-header::after {
  border-color: #34495e transparent transparent transparent;
}

/* Advanced (Level 3) - Gold */
.level-3-card .course-header {
  background: linear-gradient(135deg, #B8860B 0%, #FFD700 50%, #C5A059 100%);
  /* Pyramid Level 3 Gold Gradient */
  border-color: var(--color-accent);
}

.level-3-card .course-header::after {
  border-color: var(--color-accent) transparent transparent transparent;
  /* Simple gold fallback */
}

/* For gradient trick in pseudo element we might need more, but flat color is safer for arrow */
.level-3-card .course-header::after {
  border-top-color: #C5A059;
}


.course-title {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 0;
  line-height: 1.3;
}

.course-level {
  font-size: 1rem;
  font-weight: 700;
  display: block;
  margin-top: 0.5rem;
  opacity: 0.9;
}

/* Course Body */
.course-body {
  padding: 3rem 1.5rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
  /* Details align left */
}

/* Concept Text */
.course-concept {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-main);
  margin-bottom: 2rem;
  line-height: 1.6;
  border-bottom: 2px solid #f0f0f0;
  padding-bottom: 2rem;
  min-height: 140px;
  /* Ensure alignment of Price area */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Price Area */
.course-price-area {
  text-align: center;
  background-color: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.price-label {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.price-val {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-main);
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: 'Arial Black', sans-serif;
  /* Impact numbers */
}

.price-val .currency {
  font-size: 1.2rem;
  font-weight: 700;
  margin-left: 0.2rem;
}

.price-sub {
  font-size: 0.95rem;
  color: #444;
  font-weight: 500;
}

.highlight-price {
  color: #E60012;
  /* Red highlight */
  font-weight: 900;
  font-size: 1.2rem;
}

/* Details List */
.course-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1;
  /* Push bottom elements down */
}

.detail-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.detail-row dt {
  font-size: 0.85rem;
  color: #999;
  /* Label color */
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.detail-row dt::before {
  content: '✔';
  color: var(--color-accent);
  font-weight: 900;
}

.detail-row dd {
  font-size: 1rem;
  color: var(--color-main);
  font-weight: 500;
  line-height: 1.6;
  padding-left: 1.2rem;
  /* Indent */
}

.note {
  font-size: 0.85rem;
  color: #777;
  font-weight: 400;
}

/* Bonus */
.course-bonus {
  background-color: transparent;
  border: none;
  padding: 1rem 0 0;
  text-align: center;
  font-weight: 700;
  color: #27ae60;
  /* Green text */
  margin-top: 1rem;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
  .course-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .level-3-card {
    transform: none;
    /* Reset distinct style on mobile or keep spacing */
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
}

/* Price Sub Animation & Layout */
.price-sub {
  margin-top: 1rem;
  background-color: #fff0f0;
  /* Light red bg for emphasis */
  padding: 0.8rem;
  border-radius: 6px;
  border: 1px dashed #E60012;
}

.sub-label {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
}

.sub-val {
  display: block;
  font-size: 1.6rem;
  line-height: 1.2;
}

/* Eye-catching Animation */
@keyframes pulseRed {
  0% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(230, 0, 18, 0);
  }

  50% {
    transform: scale(1.1);
    text-shadow: 0 0 10px rgba(230, 0, 18, 0.4);
    color: #ff0000;
  }

  100% {
    transform: scale(1);
    text-shadow: 0 0 0 rgba(230, 0, 18, 0);
  }
}

.highlight-price {
  color: #E60012;
  font-weight: 900;
  animation: pulseRed 2s infinite ease-in-out;
  display: inline-block;
  /* Required for transform */
}

/* Level Links */
.level-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: opacity 0.3s ease;
}

.level-link:hover {
  opacity: 0.7;
  cursor: pointer;
}


/* Detail Link */
.detail-link {
  display: inline-block;
  color: #e67e22;
  /* Orange */
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid #e67e22;
  /* Orange */
  padding-bottom: 2px;
  transition: opacity 0.3s ease;
}

.detail-link:hover {
  opacity: 0.7;
}

.course-link-wrapper {
  margin-top: auto;
  text-align: center;
  padding-top: 1.5rem;
}

/* Learning Cycle Section */
.learning-cycle-section {
  background-color: #f8f9fa;
  padding: 100px 0 60px;
  /* Reduced bottom padding */
}

/* Reduce top spacing for the next section to close the gap */
.course-overview-section {
  padding-top: 60px;
}

.learning-cycle-steps {
  display: flex;
  justify-content: space-between;
  /* Spread evenly */
  align-items: stretch;
  /* Stretch to same height */
  gap: 0.5rem;
  /* Reduce gap */
  margin-top: 4rem;
  flex-wrap: nowrap;
  /* Force single row */
}

.cycle-step {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem 0.5rem;
  /* Reduce horizontal padding */
  flex: 1;
  /* Flexible width */
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
  border-top: 4px solid var(--color-accent);
  min-width: 0;
  /* Allow shrinking */
}

.step-number {
  font-size: 3rem;
  font-weight: 900;
  color: #f0f0f0;
  position: absolute;
  top: 0;
  right: 10px;
  line-height: 1;
  z-index: 0;
}

.step-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
  line-height: 1.3;
}

.step-en {
  font-size: 0.9rem;
  color: var(--color-accent);
  display: block;
}

.step-desc {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.step-arrow {
  font-size: 2rem;
  color: var(--color-accent);
  align-self: center;
  font-weight: 900;
}

@media (max-width: 900px) {
  .learning-cycle-steps {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .cycle-step {
    width: 100%;
    max-width: 350px;
  }
}

/* Curriculum Table Styles */
.curriculum-table-wrapper {
  overflow-x: auto;
  margin-top: 1.5rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.curriculum-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  min-width: 600px;
  /* Ensure readability on mobile */
}

.curriculum-table th,
.curriculum-table td {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  text-align: left;
  vertical-align: middle;
}

.curriculum-table th {
  background-color: #f8f9fa;
  font-weight: 700;
  color: var(--color-main);
  white-space: nowrap;
}

.th-no,
.td-no {
  width: 60px;
  text-align: center;
  font-weight: 700;
  color: #999;
}

.th-theme,
.td-theme {
  width: 25%;
  font-weight: 700;
  color: var(--color-main);
}

.th-time,
.td-time {
  width: 80px;
  text-align: center;
  font-weight: 700;
}

.curriculum-table tr:last-child td {
  border-bottom: none;
}

/* Course Bonus Text (Unified Style) */
.course-bonus-text {
  color: #27ae60;
  font-weight: 700;
  text-align: center;
  margin-top: 2rem;
  font-size: 1.1rem;
}