/* CSS Variables */
:root {
  --accent: #D72C21;
  --alcedo: #0788A3;
  --text: #0A0A0A;
  --bg: #FFFFFF;
  --muted: #F6F6F6;
  --border: #E9E9E9;
  --max: 1200px;
  --radius: 14px;
  --shadow: 0 8px 30px rgba(0,0,0,.08);
  --shadow-sm: 0 4px 16px rgba(0,0,0,.06);
  --focus: 0 0 0 3px rgba(215,44,33,.35);
}

/* Reset */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Inter", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

a:focus, button:focus, input:focus, select:focus, textarea:focus {
  outline: none;
  box-shadow: var(--focus);
}

/* Layout */
.container {
  max-width: var(--max);
  margin-inline: auto;
  padding: 0 20px;
}

/* Responsive container padding */
@media(max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

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

/* Button Components */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform .06s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  cursor: pointer;
  line-height: 1;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary-alcedo {
  background: var(--alcedo);
  color: #fff;
}

.btn-primary:hover {
  box-shadow: 0 10px 30px rgba(215,44,33,.15);
}

.btn-primary-alcedo:hover {
  box-shadow: 0 10px 30px rgba(7,136,163,.15);
}

.btn-outline {
  background: #fff;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline-alcedo {
  background: #fff;
  color: var(--alcedo);
  border-color: var(--alcedo);
}

.btn-outline:hover {
  box-shadow: 0 10px 30px rgba(215,44,33,.15);
  color: var(--accent);
  border-color: var(--accent);
}


.btn-outline-alcedo:hover {
  box-shadow: 0 10px 30px rgba(7,136,163,.15);
  color: var(--alcedo);
  border-color: var(--alcedo);
}

/* Badge and Chip */
.badge {
  display: inline-block;
  font-size: .75rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--muted);
  border: 1px solid var(--border);
}

.chip {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--muted);
  border: 1px solid var(--border);
  font-size: .875rem;
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 16px 0;
}

/* Utility Classes */
.muted {
  color: #666;
}

.shadow {
  box-shadow: var(--shadow);
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow-sm);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 22px 0;
}

/* Grid System */
.grid {
  display: grid;
  gap: 20px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

@media(max-width: 1199px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* CEO Profile Section */
#ceo-profile {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
}

.ceo-container {
  margin-top: 3rem;
}

.ceo-main-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  overflow: hidden;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 0;
}

.ceo-image-wrapper {
  background: linear-gradient(135deg, var(--primary) 0%, #ff6b6b 100%);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.ceo-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  margin-bottom: 24px;
}

.ceo-name-plate {
  text-align: center;
  /* color: white; */
}

.ceo-name-plate h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin: 0 0 8px 0;
  letter-spacing: 0.05em;
}

.ceo-name-plate p {
  font-size: 1rem;
  opacity: 0.95;
  margin: 0;
}

.ceo-content-wrapper {
  padding: 40px 48px;
}

.ceo-subtitle {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ceo-subtitle .icon {
  font-size: 1.2rem;
}

/* Timeline Style */
.ceo-timeline {
  position: relative;
  padding-left: 32px;
  margin-bottom: 40px;
}

.ceo-timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--primary) 0%, rgba(215, 44, 33, 0.1) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 28px;
}

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

.timeline-dot {
  position: absolute;
  left: -28px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--primary);
}

.timeline-item.current .timeline-dot {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(215, 44, 33, 0.2);
}

.timeline-content h5 {
  font-size: 1.1rem;
  color: var(--text);
  margin: 0 0 8px 0;
  font-weight: 600;
}

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

/* Message Section */
.ceo-message-section {
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.ceo-message-content {
  color: var(--text-light);
  line-height: 1.8;
}

.ceo-quote {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--text);
  padding: 24px;
  background: linear-gradient(135deg, rgba(215, 44, 33, 0.05) 0%, rgba(255, 107, 107, 0.05) 100%);
  border-left: 4px solid var(--primary);
  border-radius: 8px;
  margin-bottom: 24px;
  font-style: italic;
}

.ceo-message-content > p {
  font-size: 1rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .ceo-main-card {
    grid-template-columns: 280px 1fr;
  }
  
  .ceo-photo {
    width: 160px;
    height: 160px;
  }
}

@media (max-width: 768px) {
  .ceo-main-card {
    grid-template-columns: 1fr;
  }
  
  .ceo-image-wrapper {
    padding: 32px;
  }
  
  .ceo-content-wrapper {
    padding: 32px 24px;
  }
  
  .ceo-timeline {
    padding-left: 24px;
  }
  
  .timeline-dot {
    left: -20px;
  }
  
  .ceo-quote {
    font-size: 1.1rem;
    padding: 20px;
  }
}

@media(max-width: 767px) {
  .grid-3, .grid-2 {
    grid-template-columns: 1fr !important;
    max-width: 100%;
  }
  .grid-2 > *, .grid-3 > * {
    max-width: 100%;
    width: 100%;
  }
  .sp-break {
    display: block;
  }
  
  .company-info {
    grid-template-columns: 1fr;
  }
  
  .ceo-header {
    flex-direction: column;
    text-align: center;
  }
  
  .ceo-image {
    width: 120px;
    height: 120px;
  }
}

/* Header */
.skip {
  position: absolute;
  left: -9999px;
  top: auto;
}

.skip:focus {
  left: 16px;
  top: 16px;
  background: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  border: 1px solid var(--border);
  z-index: 9999;
}

header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: transparent;
  transition: background .25s ease, box-shadow .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background: #fff;
  box-shadow: 0 6px 24px rgba(0,0,0,.06);
  border-bottom-color: var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--text);
}

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

.logo-img-footer {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
}

nav ul {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  color: #333;
  font-weight: 600;
}

.cta-wrap {
  display: flex;
  gap: 10px;
  align-items: center;
}

.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: #fff;
}

@media(max-width: 920px) {
  nav ul {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
    flex-direction: column;
  }
  nav ul.open {
    display: flex;
  }
  .hamburger {
    display: inline-flex;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 80% 20%, #FFE6E4 0%, transparent 60%),
             radial-gradient(900px 500px at 0% 100%, #F9F9F9 0%, transparent 70%),
             linear-gradient(180deg, #fff, #fff);
}

/* Footprint Pattern - Very large and partially visible like business card */
.hero::before {
  content: '';
  position: absolute;
  top: -90%;
  left: -28%;
  width: 1800px;
  height: 1800px;
  background-image: url('../images/footprint.svg');
  background-size: 1800px 1800px;
  background-repeat: no-repeat;
  transform: rotate(70deg);
  opacity: 0.9;
  pointer-events: none;
  z-index: 0;
}

/* Responsive adjustments for hero footprint */
@media(max-width: 1200px) {
  .hero::before {
    width: 1400px;
    height: 1400px;
    background-size: 1400px 1400px;
    top: -62%;
    left: -26%;
  }
}

@media(max-width: 768px) {
  .hero::before {
    width: 800px;
    height: 800px;
    background-size: 800px 800px;
    top: -40%;
    left: -12%;
    opacity: 0.9;
  }
}

@media(max-width: 480px) {
  .hero::before {
    width: 600px;
    height: 600px;
    background-size: 600px 600px;
    top: -28%;
    left: -30%;
    opacity: 0.9;
  }
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  pointer-events: none;
  transform: translateZ(0);
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.eyebrow {
  letter-spacing: .16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  font-size: .9rem;
  opacity: 1;
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
}

.hero h1 {
  font-size: clamp(28px, 5vw, 58px);
  line-height: 1.2;
  margin: 14px 0 10px;
  font-weight: 800;
  letter-spacing: -.02em;
}

.hero p {
  font-size: clamp(16px, 2.1vw, 18px);
  color: #444;
  max-width: 760px;
}

.hero-cta {
  margin-top: 22px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Responsive CTA buttons */
@media(max-width: 480px) {
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

.meta-logos {
  margin-top: 28px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* What is AI Agent Section */
.what-is-agent {
  background: #f8f9fa;
  padding: 32px 0;
  border-top: 1px solid #e9ecef;
  border-bottom: 1px solid #e9ecef;
}

.agent-explanation {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.8;
  color: #555;
}

.agent-explanation strong {
  color: #333;
  font-size: 16px;
  font-weight: 700;
}

/* Sections */
section {
  padding: 80px 0;
}

section .lead {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.7;
}

/* Mission Section - Modern Style */
#mission {
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(10deg); }
}

#mission .card {
  background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.95) 100%);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(215, 44, 33, 0.1);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

#mission .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #D72C21 0%, #FF6B6B 100%);
}

#mission h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  background: linear-gradient(135deg, #D72C21 0%, #FF6B6B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out;
}

#mission .lead {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #2c3e50;
  font-weight: 500;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-head .eyebrow {
  margin-bottom: 12px;
  display: block;
  font-size: .95rem;
  text-align: center;
}

.section-head .eyebrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.section-head .lead {
  max-width: 680px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: clamp(28px, 4vw, 36px);
  font-weight: 800;
  letter-spacing: -.02em;
  margin: 0 0 12px;
  line-height: 1.2;
}

/* Business/Services Section - Modern Card Design */
#business {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  padding: 100px 0;
  position: relative;
}

#business .section-title {
  background: linear-gradient(135deg, #1a1a1a 0%, #4a4a4a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 48px;
}

.service {
  display: flex;
  gap: 24px;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  min-height: 200px;
  z-index: 1;
}

.service::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service:nth-child(1) {
  --gradient-start: #D72C21;
  --gradient-end: #FF6B6B;
}

.service:nth-child(2) {
  --gradient-start: #4A90E2;
  --gradient-end: #7B68EE;
}

.service:nth-child(3) {
  --gradient-start: #10B981;
  --gradient-end: #34D399;
}

.service:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  border-color: transparent;
}

.service:hover::before {
  transform: scaleX(1);
}

.icon {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.service:hover .icon {
  transform: rotate(-10deg) scale(1.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.icon-gradient-1 {
  background: linear-gradient(135deg, #FFE6E4 0%, #FFF5F5 100%);
  box-shadow: 0 4px 12px rgba(215, 44, 33, 0.15);
}

.icon-gradient-2 {
  background: linear-gradient(135deg, #E4F0FF 0%, #F5F8FF 100%);
  box-shadow: 0 4px 12px rgba(74, 144, 226, 0.15);
}

.icon-gradient-3 {
  background: linear-gradient(135deg, #E4FFE4 0%, #F5FFF5 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.icon svg {
  width: 36px;
  height: 36px;
}

.service h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  position: relative;
}

.service p {
  margin: 0 0 20px;
  color: #64748b;
  line-height: 1.7;
  font-size: 1rem;
  flex-grow: 1;
}

.service .link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--gradient-start);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service .link::after {
  content: '→';
  display: inline-block;
  transition: transform 0.3s ease;
  margin-left: -4px;
}

.service:hover .link::after {
  transform: translateX(4px);
}

.service:hover .link {
  gap: 12px;
}

/* Animation Keyframes */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Smooth reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Alcedo Section */
#alcedo {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.steps {
  counter-reset: steps;
  padding-left: 0;
  margin: 20px 0;
}

.steps li {
  counter-increment: steps;
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  align-items: baseline;
}

.steps li::before {
  content: counter(steps);
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--alcedo);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .875rem;
  font-weight: 700;
}

.cta-group {
  margin-top: 24px;
}

.alcedo-demo-wrapper img {
  border-radius: 5px;
  box-shadow: var(--shadow);
}

/* Solutions Cards */
#solutions {
  padding: 100px 0;
  background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
  position: relative;
  overflow: hidden;
}

.card-image {
  margin: -22px -22px 16px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
  height: 180px;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bullets {
  margin: 12px 0;
  padding-left: 20px;
  color: #555;
}

.bullets li {
  margin: 8px 0;
}

/* Enablement */
.checks {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.checks li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
}

.checks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Pricing */
.pricing-category {
  margin-bottom: 48px;
}

.pricing-category:last-child {
  margin-bottom: 0;
}

.category-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 24px;
  color: var(--text);
}

.plan-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
  z-index: 1;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

/* Responsive What is AI Agent */
@media (max-width: 768px) {
  .what-is-agent {
    padding: 24px 16px;
  }

  .agent-explanation {
    font-size: 14px;
  }

  .agent-explanation strong {
    font-size: 15px;
  }
}

/* Responsive plan cards */
@media(max-width: 768px) {
  .grid-3 .plan-card {
    padding: 20px;
  }

  .plan-price .num {
    font-size: 1.4rem;
  }
}

@media(max-width: 480px) {
  .plan-card {
    padding: 18px;
  }
  
  .plan-price .num {
    font-size: 1.2rem;
  }
  
  .plan-features {
    font-size: 0.9rem;
  }
}

.plan-recommend {
  border-color: var(--accent);
}

.badge-recommend {
  position: absolute;
  top: -10px;
  right: 20px;
  background: var(--accent);
  color: #fff;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
}

.plan-head {
  margin-bottom: 20px;
}

.plan-name {
  font-size: 1.1rem;
  margin: 0 0 8px;
}

.plan-price {
  margin: 0;
  color: #666;
}

.plan-price .num {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.plan-price .tax {
  font-size: .875rem;
  color: #999;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.plan-features li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.plan-features li:last-child {
  border-bottom: none;
}

/* News */
.news-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.news-item {
  display: grid;
  grid-template-columns: 110px 160px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}

.news-item time {
  font-variant-numeric: tabular-nums;
  color: #444;
}

.news-item .cat {
  justify-self: start;
}

.news-item a {
  font-weight: 600;
  color: #222;
}

@media(max-width: 640px) {
  .news-item {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 10px 0 14px;
}

.filters button {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 999px;
  padding: 6px 12px;
  cursor: pointer;
}

.filters button.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
  margin-top: 12px;
}

.pagination button {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 10px;
  padding: 8px 12px;
  cursor: pointer;
}

.pagination .muted {
  margin-right: auto;
}

/* Company / About */
dl.about {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 10px 20px;
  margin: 0;
}

dl.about dt {
  font-weight: 700;
}

dl.about dd {
  margin: 0;
}

@media(max-width: 700px) {
  dl.about {
    grid-template-columns: 1fr;
  }
}

/* Values */
.values li {
  margin: 0 0 8px;
}

.values strong {
  display: block;
}

/* Careers */
.job {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.job .meta {
  display: flex;
  gap: 10px;
  color: #555;
  flex-wrap: wrap;
}

/* Contact */
form {
  display: grid;
  gap: 12px;
}

label {
  font-weight: 600;
}

input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

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

@media(max-width: 767px) {
  .form-row {
    grid-template-columns: 1fr;
  }
  
  input, textarea, select {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  
  #contact .card {
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  #contact form {
    max-width: 100%;
    width: 100%;
  }
}

/* Footer */
footer {
  background: #0B0B0B;
  color: #EDEDED;
}

footer a {
  color: #EDEDED;
}

.footer-top {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 50px 24px;
}

@media(max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media(max-width: 520px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  margin: 0 0 10px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 16px 0;
  color: #BFBFBF;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.sns {
  display: flex;
  gap: 10px;
}

footer .chip {
  border: 1px solid rgba(255,255,255,.2);
  padding: 6px 10px;
  border-radius: 999px;
  background: transparent;
  color: #EDEDED;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}