/* ===================================
   株式会社マイペンライ - Corporate Site
   Color Theme: Orange × Navy
   =================================== */

/* --- CSS Variables --- */
:root {
  --navy: #0B1F3A;
  --navy-dark: #071426;
  --navy-mid: #162B4D;
  --orange: #F47C20;
  --orange-light: #FF9A45;
  --orange-dark: #D96A10;
  --white: #FFFFFF;
  --off-white: #F8F8F6;
  --gray-light: #F1F1EF;
  --gray: #888888;
  --gray-dark: #444444;
  --text: #1A1A1A;
  --border: #E0E0E0;
  --shadow: rgba(11, 31, 58, 0.08);
  --shadow-md: rgba(11, 31, 58, 0.14);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
  --font-main: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'メイリオ', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Utility --- */
.container {
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section-padding {
  padding: 96px 0;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(244, 124, 32, 0.1);
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.8;
}

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

.text-center .section-subtitle {
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  letter-spacing: 0.03em;
}

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

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 124, 32, 0.35);
}

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

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

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

.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(11, 31, 58, 0.3);
}

/* ===================================
   HEADER / NAVIGATION
   =================================== */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(7, 20, 38, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(244, 124, 32, 0.15);
  transition: all var(--transition);
}

#header.scrolled {
  background: rgba(7, 20, 38, 0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text .company-name {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.logo-text .company-name-sub {
  font-size: 0.65rem;
  color: var(--orange);
  letter-spacing: 0.08em;
  font-weight: 500;
}

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-list a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all var(--transition);
  letter-spacing: 0.05em;
}

.nav-list a:hover {
  color: var(--orange);
  background: rgba(244, 124, 32, 0.08);
}

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 6px;
}

.nav-cta:hover {
  background: var(--orange-dark) !important;
  color: var(--white) !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(244, 124, 32, 0.4) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

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

/* Mobile nav */
.mobile-nav {
  display: none;
  background: var(--navy-dark);
  border-top: 1px solid rgba(244, 124, 32, 0.2);
}

.mobile-nav.open {
  display: block;
}

.mobile-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 16px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all var(--transition);
  letter-spacing: 0.05em;
}

.mobile-nav a:hover {
  color: var(--orange);
  background: rgba(244, 124, 32, 0.05);
  padding-left: 32px;
}

/* ===================================
   HERO
   =================================== */
#hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 50%, #1A3A5C 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(244, 124, 32, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(244, 124, 32, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 60% 80%, rgba(255, 255, 255, 0.02) 0%, transparent 30%);
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(244, 124, 32, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 124, 32, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: min(1100px, 92%);
  margin: 0 auto;
  padding: 80px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(244, 124, 32, 0.15);
  border: 1px solid rgba(244, 124, 32, 0.3);
  color: var(--orange-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  letter-spacing: 0.08em;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

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

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-title .highlight {
  color: var(--orange);
  position: relative;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-card-stack {
  position: relative;
  width: 340px;
  height: 340px;
}

.hero-logo-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 220px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(244, 124, 32, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float 5s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translate(-50%, -50%) translateY(0); }
  50% { transform: translate(-50%, -50%) translateY(-12px); }
}

.hero-logo-circle img {
  width: 150px;
  height: 150px;
  object-fit: contain;
}

.hero-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(244, 124, 32, 0.2);
  animation: spin-slow 20s linear infinite;
}

.hero-ring-1 {
  width: 280px;
  height: 280px;
  transform: translate(-50%, -50%);
  border-style: dashed;
}

.hero-ring-2 {
  width: 340px;
  height: 340px;
  transform: translate(-50%, -50%);
  animation-direction: reverse;
  animation-duration: 30s;
  border-color: rgba(244, 124, 32, 0.1);
}

@keyframes spin-slow {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-stat-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius);
  padding: 14px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(8px);
}

.hero-stat-card:nth-child(4) {
  top: 16px;
  right: -10px;
}

.hero-stat-card:nth-child(5) {
  bottom: 24px;
  left: -10px;
}

.hero-stat-card .stat-num {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--orange);
  line-height: 1;
}

.hero-stat-card .stat-label {
  font-size: 0.72rem;
  color: var(--gray-dark);
  font-weight: 600;
  margin-top: 4px;
}

/* Hero Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  animation: bounce 2.5s ease-in-out infinite;
}

.scroll-indicator::after {
  content: '';
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(244, 124, 32, 0.5), transparent);
}

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

/* ===================================
   ABOUT SECTION
   =================================== */
#about {
  background: var(--off-white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-inner {
  padding: 48px;
  text-align: center;
}

.about-image-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  background: rgba(244, 124, 32, 0.15);
  border: 2px solid rgba(244, 124, 32, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-image-icon svg {
  width: 40px;
  height: 40px;
  fill: var(--orange);
}

.about-quote {
  font-size: 1.1rem;
  color: var(--white);
  font-weight: 600;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.about-accent {
  position: absolute;
  top: -16px;
  right: -16px;
  width: 80px;
  height: 80px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0.2;
}

.about-accent-2 {
  position: absolute;
  bottom: -24px;
  left: -24px;
  width: 120px;
  height: 120px;
  border: 3px solid var(--orange);
  border-radius: 50%;
  opacity: 0.15;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 36px;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.about-feature:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 16px var(--shadow-md);
}

.about-feature-icon {
  width: 36px;
  height: 36px;
  min-width: 36px;
  background: rgba(244, 124, 32, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.about-feature-text {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.5;
}

/* ===================================
   SERVICES SECTION
   =================================== */
#services {
  background: var(--white);
}

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

.service-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.service-card:hover {
  border-color: rgba(244, 124, 32, 0.3);
  box-shadow: 0 12px 40px var(--shadow-md);
  transform: translateY(-6px);
  background: var(--white);
}

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

.service-card.featured {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-color: var(--navy);
  color: var(--white);
}

.service-card.featured::before {
  transform: scaleX(1);
}

.service-card.featured:hover {
  box-shadow: 0 12px 40px rgba(11, 31, 58, 0.4);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: rgba(244, 124, 32, 0.12);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 24px;
  transition: all var(--transition);
}

.service-card.featured .service-icon {
  background: rgba(244, 124, 32, 0.2);
}

.service-card:hover .service-icon {
  background: rgba(244, 124, 32, 0.2);
  transform: scale(1.05);
}

.service-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.4;
}

.service-card.featured .service-title {
  color: var(--white);
}

.service-desc {
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 24px;
}

.service-card.featured .service-desc {
  color: rgba(255, 255, 255, 0.75);
}

.service-points {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.service-point {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.83rem;
  color: var(--gray-dark);
}

.service-card.featured .service-point {
  color: rgba(255, 255, 255, 0.85);
}

.service-point::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
  min-width: 16px;
}

.service-price {
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.service-card.featured .service-price {
  border-top-color: rgba(255, 255, 255, 0.15);
}

.price-label {
  font-size: 0.72rem;
  color: var(--gray);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.service-card.featured .price-label {
  color: rgba(255, 255, 255, 0.5);
}

.price-value {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.4;
}

/* AI Coming Soon card */
.service-card.coming-soon {
  opacity: 0.85;
  border-style: dashed;
}

.coming-soon-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  background: var(--orange);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

/* ===================================
   PROJECT SECTION (Vibone)
   =================================== */
#projects {
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

#projects::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 50%, rgba(244, 124, 32, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 90% 30%, rgba(244, 124, 32, 0.05) 0%, transparent 40%);
}

#projects .section-title {
  color: var(--white);
}

#projects .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.projects-content {
  position: relative;
  z-index: 1;
  margin-top: 56px;
}

.project-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.project-info-block {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(244, 124, 32, 0.2);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.project-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  background: rgba(244, 124, 32, 0.12);
  border: 1px solid rgba(244, 124, 32, 0.25);
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.project-name {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.3;
}

.project-desc {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.9;
  margin-bottom: 28px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.project-tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 14px;
  border-radius: 20px;
}

.project-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.project-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
}

.project-item:hover {
  border-color: rgba(244, 124, 32, 0.3);
  background: rgba(244, 124, 32, 0.05);
}

.project-item-icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.project-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}

.project-item-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
}

/* ===================================
   PRESIDENT / MESSAGE
   =================================== */
#president {
  background: var(--off-white);
}

.president-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}

.president-profile {
  position: relative;
}

.president-photo-frame {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.president-photo-frame::before {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  background: rgba(244, 124, 32, 0.08);
  border-radius: 50%;
}

.president-avatar {
  width: 100px;
  height: 100px;
  background: rgba(244, 124, 32, 0.15);
  border: 2px solid rgba(244, 124, 32, 0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 2.5rem;
  color: var(--orange);
}

.president-name-jp {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 4px;
  letter-spacing: 0.1em;
}

.president-name-en {
  font-size: 0.82rem;
  color: var(--orange-light);
  font-weight: 500;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.president-role {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.06);
  padding: 6px 16px;
  border-radius: 20px;
  letter-spacing: 0.1em;
}

.president-meta {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.president-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.83rem;
}

.president-meta-item .meta-icon {
  font-size: 1rem;
  color: var(--orange);
}

.president-meta-item .meta-label {
  font-size: 0.72rem;
  color: var(--gray);
  font-weight: 600;
}

.president-meta-item .meta-val {
  font-weight: 700;
  color: var(--navy);
}

/* Message */
.president-message {
  padding-top: 8px;
}

.message-heading {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.5;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 3px solid var(--orange);
}

.message-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.message-body p {
  font-size: 0.97rem;
  color: var(--gray-dark);
  line-height: 2;
}

.message-signature {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.signature-text {
  font-size: 0.82rem;
  color: var(--gray);
}

.signature-name {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.1em;
}

/* ===================================
   COMPANY INFO (会社概要)
   =================================== */
#company {
  background: var(--white);
}

.company-table {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  max-width: 780px;
  margin: 0 auto;
}

.company-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-bottom: 1px solid var(--border);
}

.company-row:last-child {
  border-bottom: none;
}

.company-key {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 20px 24px;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
}

.company-val {
  background: var(--white);
  color: var(--text);
  font-size: 0.92rem;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  line-height: 1.7;
}

/* ===================================
   CONTACT SECTION
   =================================== */
#contact {
  background: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

#contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(244, 124, 32, 0.1) 0%, transparent 60%);
}

#contact .section-title {
  color: var(--white);
}

#contact .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.contact-wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
  margin-top: 56px;
}

/* Contact Info */
.contact-info-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 24px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
}

.contact-card:hover {
  border-color: rgba(244, 124, 32, 0.3);
  background: rgba(244, 124, 32, 0.05);
}

.contact-card-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(244, 124, 32, 0.15);
  border: 1px solid rgba(244, 124, 32, 0.3);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--orange);
}

.contact-card-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-card-val {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
}

.contact-card-val a {
  color: var(--white);
  transition: color var(--transition);
}

.contact-card-val a:hover {
  color: var(--orange);
}

/* Contact Form */
.contact-form {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 28px;
}

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

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

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
  letter-spacing: 0.04em;
}

.form-label .required {
  color: var(--orange);
  margin-left: 4px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 12px 16px;
  color: var(--white);
  font-size: 0.9rem;
  font-family: var(--font-main);
  transition: all var(--transition);
  outline: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--orange);
  background: rgba(244, 124, 32, 0.06);
  box-shadow: 0 0 0 3px rgba(244, 124, 32, 0.12);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ffffff' opacity='0.5'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 40px;
}

.form-select option {
  background: var(--navy);
  color: var(--white);
}

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

.form-submit {
  width: 100%;
  padding: 16px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.05em;
  font-family: var(--font-main);
}

.form-submit:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(244, 124, 32, 0.4);
}

.form-note {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 12px;
  line-height: 1.7;
}

/* Form Success */
.form-success {
  display: none;
  text-align: center;
  padding: 48px 32px;
}

.form-success.show {
  display: block;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.success-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.success-msg {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9rem;
  line-height: 1.8;
}

/* ===================================
   FOOTER
   =================================== */
#footer {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand .logo-wrap {
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.9;
  max-width: 300px;
}

.footer-col-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '›';
  color: var(--orange);
  font-size: 1rem;
  line-height: 1;
}

.footer-links a:hover {
  color: var(--orange);
  padding-left: 4px;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-item .ico {
  font-size: 0.95rem;
  color: var(--orange);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition);
}

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

/* ===================================
   SCROLL ANIMATIONS
   =================================== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-subtitle {
    margin: 0 auto 40px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .project-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .president-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .president-profile {
    max-width: 360px;
    margin: 0 auto;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section-padding {
    padding: 72px 0;
  }

  .nav-list {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

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

  .company-row {
    grid-template-columns: 140px 1fr;
  }

  .company-key {
    font-size: 0.78rem;
    padding: 16px 16px;
  }

  .company-val {
    padding: 16px;
    font-size: 0.85rem;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .project-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.9rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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

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

  .company-key {
    padding: 12px 16px;
  }
}
