/* =========================================
   Hearts LLC - Main Stylesheet
   ========================================= */

/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800;900&family=Noto+Sans+JP:wght@300;400;500;700&family=Dancing+Script:wght@700&display=swap');

/* --- CSS Variables --- */
:root {
  --ocean-blue: #0077B6;
  --ocean-blue-dark: #005F92;
  --ocean-blue-light: #48CAE4;
  --sunset-orange: #F4A261;
  --sunset-orange-dark: #E07B3A;
  --off-white: #FAFAFA;
  --sand-beige: #F5E6D3;
  --deep-navy: #1A1A2E;
  --deep-navy-light: #2D2D4E;
  --text-gray: #555566;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 12px rgba(0, 119, 182, 0.10);
  --shadow-md: 0 6px 30px rgba(0, 119, 182, 0.15);
  --shadow-lg: 0 16px 60px rgba(0, 119, 182, 0.20);
  --border-radius: 16px;
  --border-radius-sm: 8px;
  --transition: 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  font-family: 'Noto Sans JP', 'Montserrat', sans-serif;
  background-color: var(--off-white);
  color: var(--deep-navy);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  font-weight: 700;
  line-height: 1.25;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--deep-navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-gray);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.section-lead {
  font-size: 1.1rem;
  color: var(--text-gray);
  max-width: 680px;
  margin: 0 auto 3rem;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Section Spacing --- */
section {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2.2rem;
  border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--ocean-blue), var(--ocean-blue-light));
  color: var(--white);
  box-shadow: 0 6px 24px rgba(0, 119, 182, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 119, 182, 0.45);
  background: linear-gradient(135deg, var(--ocean-blue-dark), var(--ocean-blue));
}

.btn-secondary {
  background: linear-gradient(135deg, var(--sunset-orange), var(--sunset-orange-dark));
  color: var(--white);
  box-shadow: 0 6px 24px rgba(244, 162, 97, 0.35);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(244, 162, 97, 0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}

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

/* =========================================
   HEADER / NAVIGATION
   ========================================= */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition);
  padding: 1.2rem 0;
}

#site-header.scrolled {
  background: rgba(26, 26, 46, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 0.8rem 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.25);
}

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

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-main {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.logo-main span {
  color: var(--sunset-orange);
}

.logo-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.55rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.02em;
  text-transform: none;
  position: relative;
  padding-bottom: 3px;
  transition: color var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--sunset-orange);
  transition: width var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  font-family: 'Dancing Script', cursive;
  font-weight: 700;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--sunset-orange), var(--sunset-orange-dark));
  color: var(--white);
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(244, 162, 97, 0.4);
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(244, 162, 97, 0.5);
}

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

.hamburger span {
  display: block;
  width: 26px;
  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;
  flex-direction: column;
  gap: 0;
  background: rgba(26, 26, 46, 0.97);
  backdrop-filter: blur(16px);
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  padding: 1rem 0 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

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

.mobile-nav .nav-link {
  padding: 0.85rem 2rem;
  font-size: 1rem;
  letter-spacing: 0.08em;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.mobile-nav .nav-link::after {
  display: none;
}

.mobile-nav .nav-cta {
  margin: 1rem 2rem 0;
  text-align: center;
  padding: 0.85rem;
}

/* =========================================
   FOOTER
   ========================================= */
#site-footer {
  background: var(--deep-navy);
  color: rgba(255,255,255,0.75);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

#site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--ocean-blue), var(--ocean-blue-light), var(--sunset-orange));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-main {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
}

.footer-address {
  margin-top: 1.2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 2;
}

.footer-address a {
  color: var(--ocean-blue-light);
  transition: color var(--transition);
}

.footer-address a:hover {
  color: var(--sunset-orange);
}

.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.2rem;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  font-family: 'Montserrat', sans-serif;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(160deg, #0D2137 0%, #0077B6 45%, #48CAE4 75%, #90E0EF 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13,33,55,0.35) 0%, rgba(0,119,182,0.15) 50%, rgba(72,202,228,0.05) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 0;
}

.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sunset-orange);
  margin-bottom: 1.5rem;
  display: inline-block;
}

.hero-title {
  font-family: 'Montserrat', 'Noto Sans JP', sans-serif;
  font-size: clamp(2.2rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 32px rgba(0,0,0,0.3);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--sunset-orange), #FFD166);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.95rem, 2vw, 1.3rem);
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  letter-spacing: 0.06em;
  margin-bottom: 3rem;
  font-style: italic;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Wave SVG */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  z-index: 3;
  line-height: 0;
}

.hero-wave svg {
  display: block;
  width: 100%;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.7;
}

.scroll-indicator span {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.scroll-dot {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.8), transparent);
  animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { opacity: 0.8; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); }
}

/* =========================================
   PAGE HERO (inner pages)
   ========================================= */
.page-hero {
  min-height: 380px;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 100px;
  background: linear-gradient(160deg, #0D2137 0%, #0077B6 55%, #48CAE4 100%);
  overflow: hidden;
}

.page-hero-bg {
  position: absolute;
  inset: 0;
}

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(13,33,55,0.85) 0%, rgba(0,119,182,0.6) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sunset-orange);
  margin-bottom: 1rem;
}

.page-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  text-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.page-hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 3;
}

/* =========================================
   SERVICES OVERVIEW (index)
   ========================================= */
.services-overview {
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,119,182,0.07);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--ocean-blue), var(--ocean-blue-light));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition);
}

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

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

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ocean-blue), var(--ocean-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
  color: var(--white);
  box-shadow: 0 8px 24px rgba(0, 119, 182, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(-4deg);
  box-shadow: 0 12px 32px rgba(0, 119, 182, 0.45);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--deep-navy);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-gray);
  line-height: 1.8;
}

/* =========================================
   STATS SECTION
   ========================================= */
.stats-section {
  background: linear-gradient(135deg, var(--deep-navy) 0%, #0D2F4A 100%);
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,119,182,0.2) 0%, transparent 70%);
  top: -200px;
  right: -200px;
}

.stats-section::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(244,162,97,0.15) 0%, transparent 70%);
  bottom: -100px;
  left: -100px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--ocean-blue-light), var(--white));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.05em;
}

.stat-divider {
  width: 1px;
  height: 80px;
  background: rgba(255,255,255,0.1);
  align-self: center;
  display: none;
}

/* =========================================
   CTA SECTION
   ========================================= */
.cta-section {
  background: linear-gradient(135deg, var(--sand-beige) 0%, #F0D9C0 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(244,162,97,0.12);
  top: -150px;
  right: -150px;
}

.cta-section .section-title {
  margin-bottom: 1rem;
}

.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* =========================================
   SERVICE PAGE
   ========================================= */
.service-detail-section {
  padding: 80px 0;
}

.service-detail-section:nth-child(even) {
  background: var(--sand-beige);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.service-detail-grid.reverse {
  direction: rtl;
}

.service-detail-grid.reverse > * {
  direction: ltr;
}

.service-detail-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: visible;
  aspect-ratio: 4/3;
}

/* オフセット装飾ブロック */
.service-detail-image::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, var(--ocean-blue), var(--sunset-orange));
  transform: translate(14px, 14px);
  z-index: 0;
  opacity: 0.55;
  transition: transform 0.45s cubic-bezier(0.25,0.46,0.45,0.94);
}

/* 画像本体ラッパー */
.service-detail-image-inner {
  position: relative;
  z-index: 1;
  border-radius: var(--border-radius);
  overflow: hidden;
  width: 100%;
  height: 100%;
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
}

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

/* ホバー時のカラーオーバーレイ */
.service-detail-image-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,119,182,0.45) 0%, rgba(244,162,97,0.25) 100%);
  opacity: 0;
  transition: opacity 0.45s ease;
}

.service-detail-image:hover::before {
  transform: translate(20px, 20px);
}

.service-detail-image:hover img {
  transform: scale(1.06);
}

.service-detail-image:hover .service-detail-image-inner::after {
  opacity: 1;
}

.service-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ocean-blue);
  background: rgba(0,119,182,0.1);
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.service-detail-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1.25rem;
  color: var(--deep-navy);
}

.service-detail-text p {
  font-size: 1rem;
  color: var(--text-gray);
  line-height: 1.9;
  margin-bottom: 1.5rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-gray);
}

.feature-item::before {
  content: '✦';
  color: var(--sunset-orange);
  font-size: 0.75rem;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

/* =========================================
   ABOUT PAGE
   ========================================= */
.mission-section {
  background: linear-gradient(160deg, var(--deep-navy) 0%, #0D2F4A 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.mission-section .section-title {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3rem);
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.mission-section .section-lead {
  color: rgba(255,255,255,0.7);
}

.mission-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.mission-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--border-radius);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all var(--transition);
  backdrop-filter: blur(10px);
}

.mission-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}

.mission-card-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--ocean-blue), var(--ocean-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.6rem;
  color: var(--white);
  box-shadow: 0 8px 28px rgba(0, 119, 182, 0.45);
  transition: transform var(--transition), box-shadow var(--transition);
}

.mission-card:hover .mission-card-icon {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 14px 36px rgba(0, 119, 182, 0.55);
}

/* Values icons */
.values-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ocean-blue), var(--sunset-orange));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(0, 119, 182, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}

.values-icon:hover {
  transform: scale(1.1) rotate(-5deg);
  box-shadow: 0 12px 32px rgba(244, 162, 97, 0.4);
}

.mission-card h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.mission-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.8;
}

/* Company Table */
.company-table-section {
  background: var(--off-white);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.company-table tr {
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background var(--transition);
}

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

.company-table tr:hover {
  background: rgba(0,119,182,0.03);
}

.company-table th {
  width: 28%;
  background: linear-gradient(135deg, rgba(0,119,182,0.07), rgba(72,202,228,0.07));
  padding: 1.4rem 2rem;
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ocean-blue);
  letter-spacing: 0.04em;
  vertical-align: top;
}

.company-table td {
  padding: 1.4rem 2rem;
  font-size: 0.95rem;
  color: var(--deep-navy);
  line-height: 1.8;
}

/* =========================================
   WORKS PAGE
   ========================================= */
.works-stats {
  background: linear-gradient(135deg, var(--ocean-blue) 0%, var(--ocean-blue-dark) 100%);
}

.works-stats .stat-number {
  background: none;
  -webkit-text-fill-color: var(--white);
}

.works-stats .stat-label {
  color: rgba(255,255,255,0.75);
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.work-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.work-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
}

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

.work-card:hover .work-card-image img {
  transform: scale(1.06);
}

.work-card-body {
  padding: 1.75rem;
}

.work-category {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ocean-blue);
  background: rgba(0,119,182,0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.85rem;
}

.work-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--deep-navy);
}

.work-card p {
  font-size: 0.88rem;
  color: var(--text-gray);
  line-height: 1.75;
}

.work-result {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0,0,0,0.07);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.work-result-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 900;
  font-size: 1.4rem;
  color: var(--sunset-orange);
}

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

/* =========================================
   CONTACT PAGE
   ========================================= */
.contact-section {
  background: var(--off-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

.contact-info p {
  font-size: 0.98rem;
  color: var(--text-gray);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.contact-detail-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-detail-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0,119,182,0.12), rgba(72,202,228,0.12));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 0.8rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ocean-blue);
  margin-bottom: 0.25rem;
}

.contact-detail-text p,
.contact-detail-text a {
  font-size: 0.93rem;
  color: var(--text-gray);
  line-height: 1.7;
}

.contact-detail-text a:hover {
  color: var(--ocean-blue);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--deep-navy);
  margin-bottom: 0.5rem;
}

.form-group label .req {
  color: var(--sunset-orange);
  margin-left: 3px;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: var(--border-radius-sm);
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 0.95rem;
  color: var(--deep-navy);
  background: var(--off-white);
  transition: all var(--transition);
  outline: none;
  resize: vertical;
}

.form-control:focus {
  border-color: var(--ocean-blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(0,119,182,0.1);
}

.form-control::placeholder {
  color: rgba(0,0,0,0.3);
}

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230077B6'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
  padding-right: 2.5rem;
}

.form-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
}

.form-notice {
  font-size: 0.8rem;
  color: var(--text-gray);
  text-align: center;
  margin-top: 1rem;
}

/* =========================================
   UTILITIES & MISC
   ========================================= */
.text-center { text-align: center; }

.badge {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1rem;
}

.badge-blue {
  background: rgba(0,119,182,0.12);
  color: var(--ocean-blue);
}

.badge-orange {
  background: rgba(244,162,97,0.15);
  color: var(--sunset-orange-dark);
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, var(--ocean-blue), var(--sunset-orange));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Divider */
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--ocean-blue), var(--sunset-orange));
  border-radius: 2px;
  margin: 1.25rem auto;
}

.divider-left {
  margin: 1.25rem 0;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

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

  .mission-cards {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .nav-list {
    display: none;
  }

  .hamburger {
    display: flex;
  }

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

  .service-detail-grid,
  .service-detail-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

  .contact-form-wrap {
    padding: 2rem 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .mission-cards {
    grid-template-columns: 1fr;
  }

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

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

  .cta-btns {
    flex-direction: column;
    align-items: center;
  }

  .company-table th,
  .company-table td {
    padding: 1rem;
    font-size: 0.88rem;
  }

  .company-table th {
    width: 35%;
  }
}

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

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

  .container {
    padding: 0 1.2rem;
  }
}

/* =========================================
   RESPONSIVE GRID UTILITIES
   ========================================= */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.grid-2col-loose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.grid-2col-tight {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .grid-2col,
  .grid-2col-loose,
  .grid-2col-tight {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
