/* ===================================================
   BOOST Corporate Site — style.css
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800;900&family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap');

/* ===================================================
   CSS Custom Properties
   =================================================== */
:root {
  --red-900: #8B0014;
  --red-700: #C8001E;
  --red-500: #E8002D;
  --red-400: #F52040;
  --red-300: #FF4B6E;
  --red-100: #FFE5EA;

  --grad: linear-gradient(135deg, #B5001F 0%, #E8002D 55%, #FF4B6E 100%);
  --grad-h: linear-gradient(135deg, #E8002D 0%, #FF4B6E 55%, #FF7B95 100%);
  --grad-dark: linear-gradient(135deg, #8B0014 0%, #C8001E 50%, #E8002D 100%);

  --white: #FFFFFF;
  --off-white: #FBF8F8;
  --gray-50: #F5F0F0;
  --gray-100: #EDE8E8;
  --gray-200: #D4CCCC;
  --gray-400: #9A9090;
  --gray-600: #5C5050;
  --dark: #1A0508;
  --text: #2A1215;
  --text-muted: #6E5055;

  --hh: 76px;
  --pad: 120px 0;
  --rad: 16px;
  --shadow-sm: 0 4px 16px rgba(232,0,45,.08);
  --shadow: 0 8px 32px rgba(232,0,45,.12);
  --shadow-lg: 0 20px 60px rgba(232,0,45,.18);

  --ease: cubic-bezier(.4,0,.2,1);
  --ease-out: cubic-bezier(0,.0,.2,1);
}

/* ===================================================
   Reset
   =================================================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; transition: all .3s var(--ease); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ===================================================
   Typography Utilities
   =================================================== */
.en { font-family: 'Barlow', sans-serif; }

.label-en {
  font-family: 'Barlow', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--red-500);
  display: block;
  margin-bottom: 14px;
}

.section-heading {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.25;
  color: var(--dark);
  margin-bottom: 20px;
}

.section-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.9;
  max-width: 580px;
  margin: 0 auto;
}

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

/* ===================================================
   Layout
   =================================================== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: var(--pad); }
.section--gray { background: var(--off-white); }
.section--dark { background: var(--dark); color: white; }

/* ===================================================
   Keyframes
   =================================================== */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(100%); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes lineDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  49%  { transform: scaleY(1); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-24px); }
}
@keyframes rotate {
  to { transform: rotate(360deg); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(232,0,45,.4); }
  50%       { box-shadow: 0 0 0 16px rgba(232,0,45,.0); }
}
@keyframes shimmer {
  0%   { background-position: -400% 0; }
  100% { background-position: 400% 0; }
}
@keyframes ripple {
  to { transform: scale(4); opacity: 0; }
}
@keyframes gradMove {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes barLoad {
  from { width: 0; }
  to   { width: 100%; }
}

/* ===================================================
   Scroll-Reveal Classes
   =================================================== */
.reveal {
  opacity: 0;
  transform: translateY(48px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.revealed { opacity: 1; transform: none; }

.reveal-l {
  opacity: 0;
  transform: translateX(-60px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal-l.revealed { opacity: 1; transform: none; }

.reveal-r {
  opacity: 0;
  transform: translateX(60px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal-r.revealed { opacity: 1; transform: none; }

.reveal-s {
  opacity: 0;
  transform: scale(.88);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal-s.revealed { opacity: 1; transform: none; }

.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .4s; }
.d5 { transition-delay: .5s; }
.d6 { transition-delay: .6s; }

/* ===================================================
   Loading Screen
   =================================================== */
.loading {
  position: fixed; inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.loading.out { opacity: 0; visibility: hidden; }
.loading-inner { text-align: center; }
.loading-logo {
  font-family: 'Barlow', sans-serif;
  font-size: 52px; font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block; margin-bottom: 24px;
}
.loading-bar {
  width: 120px; height: 2px;
  background: rgba(255,255,255,.15);
  border-radius: 2px;
  margin: 0 auto; overflow: hidden;
}
.loading-bar::after {
  content: '';
  display: block; height: 100%;
  background: var(--grad);
  animation: barLoad .7s var(--ease-out) .1s both;
}

/* ===================================================
   Progress Bar
   =================================================== */
.progress {
  position: fixed; top: 0; left: 0;
  height: 3px; width: 0%;
  background: var(--grad);
  z-index: 1001;
  transition: width .1s linear;
}

/* ===================================================
   Header
   =================================================== */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--hh); z-index: 1000;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.header.is-top {
  background: transparent;
}
.header.is-scroll {
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,.07);
}
.header-inner {
  max-width: 1180px; margin: 0 auto;
  height: 100%; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo {
  font-family: 'Barlow', sans-serif;
  font-size: 28px; font-weight: 900; letter-spacing: -.02em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.header.is-top .logo { filter: brightness(1.8); }

.nav { display: flex; align-items: center; gap: 36px; }
.nav-a {
  font-size: 13.5px; font-weight: 600;
  color: var(--dark); position: relative; padding-bottom: 3px;
}
.header.is-top .nav-a { color: rgba(255,255,255,.88); }
.nav-a::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--grad); border-radius: 2px;
  transition: width .3s var(--ease);
}
.nav-a:hover::after, .nav-a.is-active::after { width: 100%; }

.nav-cta {
  background: var(--grad);
  color: white; padding: 9px 22px;
  border-radius: 50px; font-size: 13px; font-weight: 700;
  box-shadow: 0 4px 16px rgba(232,0,45,.28);
  transition: all .3s var(--ease);
  -webkit-text-fill-color: white;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,0,45,.38); }
.header.is-top .nav-cta { background: rgba(255,255,255,.15); backdrop-filter: blur(8px); -webkit-text-fill-color: white; }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; cursor: pointer; z-index: 1001;
}
.hamburger span {
  display: block; width: 26px; height: 2px;
  background: var(--dark); border-radius: 2px;
  transition: all .35s var(--ease);
}
.header.is-top .hamburger span { background: white; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: var(--red-500) !important; }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-6px); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); background: var(--red-500) !important; }

/* Mobile Nav Overlay */
.mob-nav {
  position: fixed; inset: 0; z-index: 999;
  background: white;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
  transform: translateX(100%);
  transition: transform .45s var(--ease);
}
.mob-nav.open { transform: none; }
.mob-nav .nav-a {
  font-size: 22px; font-weight: 700; color: var(--dark);
}
.mob-nav .nav-cta {
  font-size: 16px; padding: 13px 40px;
  background: var(--grad); -webkit-text-fill-color: white;
}

/* ===================================================
   Buttons
   =================================================== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 36px; border-radius: 50px;
  font-weight: 700; font-size: 14px;
  cursor: pointer; border: none;
  position: relative; overflow: hidden;
  transition: all .3s var(--ease);
}
.btn-primary {
  background: var(--grad); color: white;
  box-shadow: 0 6px 22px rgba(232,0,45,.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(232,0,45,.4); }
.btn-outline {
  background: transparent; color: var(--red-500);
  border: 2px solid var(--red-500);
}
.btn-outline:hover { background: var(--red-500); color: white; transform: translateY(-3px); }
.btn-white { background: white; color: var(--red-500); box-shadow: 0 6px 24px rgba(0,0,0,.1); }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(0,0,0,.15); }
.btn::after { content: '→'; font-size: 16px; }
.btn.no-arrow::after { display: none; }
.btn .ripple {
  position: absolute; border-radius: 50%;
  background: rgba(255,255,255,.3); pointer-events: none;
  animation: ripple .6s linear;
}

/* ===================================================
   Page Hero (sub-pages)
   =================================================== */
.page-hero {
  height: 380px; margin-top: var(--hh);
  background: var(--grad);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(255,255,255,.12) 0%, transparent 60%);
}
.page-hero-deco {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.page-hero-deco span {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.1);
}
.page-hero-deco span:nth-child(1) { width: 280px; height: 280px; right: 5%; top: -30%; }
.page-hero-deco span:nth-child(2) { width: 480px; height: 480px; right: 0%; top: -60%; }
.page-hero-deco span:nth-child(3) { width: 140px; height: 140px; left: 10%; bottom: -30%; }

.page-hero-content {
  text-align: center; color: white; position: relative; z-index: 1;
}
.page-hero-content h1 {
  font-size: clamp(30px, 5vw, 52px); font-weight: 900; margin-bottom: 14px;
  opacity: 0; animation: fadeUp .8s var(--ease) .2s forwards;
}
.page-hero-content .label-en {
  color: rgba(255,255,255,.75); letter-spacing: .5em;
  opacity: 0; animation: fadeUp .8s var(--ease) .05s forwards;
}
.page-hero-content p {
  font-size: 15px; opacity: 0;
  color: rgba(255,255,255,.8);
  animation: fadeUp .8s var(--ease) .35s forwards;
}

/* Breadcrumb */
.breadcrumb { padding: 14px 0; border-bottom: 1px solid var(--gray-100); }
.breadcrumb ul { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--text-muted); }
.breadcrumb a:hover { color: var(--red-500); }
.breadcrumb .sep { color: var(--gray-200); }

/* ===================================================
   CTA Section
   =================================================== */
.cta-sec {
  background: var(--grad);
  background-size: 200% 200%;
  animation: gradMove 8s ease infinite;
  padding: var(--pad); text-align: center;
  position: relative; overflow: hidden;
}
.cta-sec::before, .cta-sec::after {
  content: ''; position: absolute;
  border-radius: 50%; background: rgba(255,255,255,.06);
}
.cta-sec::before { width: 700px; height: 700px; top: -350px; right: -200px; }
.cta-sec::after  { width: 500px; height: 500px; bottom: -250px; left: -150px; }
.cta-sec .label-en { color: rgba(255,255,255,.65); }
.cta-sec h2 { color: white; font-size: clamp(26px, 4vw, 40px); font-weight: 900; margin-bottom: 18px; }
.cta-sec p { color: rgba(255,255,255,.82); font-size: 15px; margin-bottom: 40px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ===================================================
   Footer
   =================================================== */
.footer {
  background: var(--dark); color: white;
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 56px; margin-bottom: 60px;
}
.footer-brand .logo {
  display: block; margin-bottom: 18px;
  font-size: 28px;
}
.footer-brand p { font-size: 12.5px; color: rgba(255,255,255,.42); line-height: 1.9; }
.footer-brand .tagline {
  font-size: 12px; color: rgba(255,255,255,.3);
  margin-top: 12px;
}

.footer-col h4 {
  font-size: 12px; font-weight: 700;
  color: rgba(255,255,255,.88); margin-bottom: 20px;
  padding-bottom: 12px; position: relative;
}
.footer-col h4::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 28px; height: 2px; background: var(--grad);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 12.5px; color: rgba(255,255,255,.45);
  display: flex; align-items: center; gap: 6px;
}
.footer-col a::before { content: '›'; color: var(--red-500); }
.footer-col a:hover { color: white; transform: translateX(4px); }
.footer-info p {
  font-size: 12px; color: rgba(255,255,255,.4);
  margin-bottom: 8px; line-height: 1.7;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11.5px; color: rgba(255,255,255,.28);
}

/* ===================================================
   HOME — Hero
   =================================================== */
.hero {
  min-height: 100vh;
  background: var(--dark);
  position: relative; overflow: hidden;
  display: flex; align-items: center;
}
.hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(180,0,28,.5) 0%, transparent 55%),
              radial-gradient(ellipse at 20% 80%, rgba(232,0,45,.2) 0%, transparent 50%),
              linear-gradient(135deg, #0E0003 0%, #1C0008 50%, #0A0002 100%);
}
.hero-noise {
  position: absolute; inset: 0; opacity: .04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* Floating circles */
.hero-orbs { position: absolute; inset: 0; pointer-events: none; }
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(60px);
}
.hero-orb:nth-child(1) {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,0,45,.25) 0%, transparent 70%);
  top: -200px; right: -100px;
  animation: float 10s ease-in-out infinite;
}
.hero-orb:nth-child(2) {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(181,0,31,.2) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  animation: float 14s ease-in-out infinite reverse;
}
.hero-orb:nth-child(3) {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,75,110,.3) 0%, transparent 70%);
  top: 30%; left: 40%;
  animation: float 7s ease-in-out infinite;
}

/* Geometric rings */
.hero-rings { position: absolute; right: 5%; top: 10%; pointer-events: none; }
.hero-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.06);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.hero-ring:nth-child(1) { width: 240px; height: 240px; }
.hero-ring:nth-child(2) { width: 420px; height: 420px; animation: rotate 30s linear infinite; border-color: rgba(232,0,45,.08); }
.hero-ring:nth-child(3) { width: 600px; height: 600px; animation: rotate 45s linear infinite reverse; }

.hero-content {
  position: relative; z-index: 2;
  max-width: 1180px; margin: 0 auto;
  padding: calc(var(--hh) + 60px) 28px 100px;
  color: white;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.12);
  padding: 7px 18px; border-radius: 50px;
  font-family: 'Barlow', sans-serif;
  font-size: 11px; font-weight: 700; letter-spacing: .35em;
  text-transform: uppercase; color: rgba(255,255,255,.75);
  margin-bottom: 32px;
  opacity: 0; animation: fadeUp .7s var(--ease) .3s forwards;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--red-300); animation: pulseGlow 2s ease infinite;
}

.hero-title {
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 900; line-height: 1.08;
  letter-spacing: -.03em; margin-bottom: 36px;
}
.hero-title .line { overflow: hidden; }
.hero-title .line span {
  display: block;
  opacity: 0; transform: translateY(110%);
}
.hero-title .line:nth-child(1) span { animation: slideUp .9s var(--ease) .5s forwards; }
.hero-title .line:nth-child(2) span { animation: slideUp .9s var(--ease) .65s forwards; }
.hero-title .line:nth-child(3) span { animation: slideUp .9s var(--ease) .8s forwards; }

.hero-title .grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-body {
  font-size: clamp(14px, 1.8vw, 17px);
  color: rgba(255,255,255,.62); max-width: 440px;
  line-height: 2; margin-bottom: 48px;
  opacity: 0; animation: fadeUp .8s var(--ease) 1.1s forwards;
}

.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap;
  opacity: 0; animation: fadeUp .8s var(--ease) 1.3s forwards;
}

.hero-scroll {
  position: absolute; bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.35);
  font-family: 'Barlow', sans-serif; font-size: 10px;
  letter-spacing: .3em; text-transform: uppercase;
  opacity: 0; animation: fadeIn 1s var(--ease) 2s forwards;
}
.hero-scroll-line {
  width: 1px; height: 56px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,.3));
  animation: lineDown 2s ease infinite;
}

/* ===================================================
   HOME — Services
   =================================================== */
.svc-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.svc-card {
  background: white; border-radius: var(--rad);
  padding: 40px; border: 1px solid var(--gray-100);
  transition: all .4s var(--ease);
  position: relative; overflow: hidden;
}
.svc-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.svc-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); border-color: transparent; }
.svc-card:hover::after { transform: scaleX(1); }
.svc-icon {
  width: 58px; height: 58px; border-radius: 14px;
  background: var(--grad); display: flex; align-items: center; justify-content: center;
  font-size: 24px; margin-bottom: 22px;
  transition: transform .4s var(--ease);
}
.svc-card:hover .svc-icon { transform: rotate(8deg) scale(1.1); }
.svc-card h3 { font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.svc-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.85; margin-bottom: 20px; }
.svc-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: var(--red-500);
}
.svc-more:hover { gap: 12px; }

/* ===================================================
   HOME — Numbers
   =================================================== */
.nums-sec {
  background: var(--grad);
  background-size: 200% 200%;
  animation: gradMove 10s ease infinite;
  padding: var(--pad); position: relative; overflow: hidden;
}
.nums-sec::before {
  content: ''; position: absolute;
  width: 700px; height: 700px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  top: -350px; left: -200px;
}
.nums-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; position: relative; z-index: 1;
}
.num-item { text-align: center; color: white; }
.num-item .n {
  font-family: 'Barlow', sans-serif;
  font-size: clamp(52px, 7vw, 80px); font-weight: 900;
  line-height: 1; display: block; margin-bottom: 6px;
}
.num-item .u { font-size: 24px; font-weight: 700; }
.num-item .l { font-size: 13px; opacity: .75; margin-top: 6px; }
.num-item .desc { font-size: 12px; opacity: .55; margin-top: 4px; }

/* ===================================================
   HOME — About
   =================================================== */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-text h2 { margin-bottom: 20px; }
.about-text p { font-size: 14.5px; color: var(--text-muted); line-height: 1.95; margin-bottom: 14px; }

.about-visual { position: relative; }
.about-card {
  background: white; border-radius: 20px;
  padding: 36px; box-shadow: var(--shadow);
  position: relative; overflow: hidden;
}
.about-card-bar {
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px; background: var(--grad);
}
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat-box {
  text-align: center; padding: 24px 16px;
  background: var(--off-white); border-radius: 12px;
  transition: all .3s var(--ease);
}
.stat-box:hover { background: var(--gray-50); transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.stat-box .sn {
  font-family: 'Barlow', sans-serif;
  font-size: 42px; font-weight: 900; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; margin-bottom: 4px;
}
.stat-box .sl { font-size: 12px; color: var(--text-muted); }

/* ===================================================
   HOME — News
   =================================================== */
.news-list { margin-top: 8px; }
.news-item {
  display: flex; align-items: flex-start; gap: 20px;
  padding: 22px 0; border-bottom: 1px solid var(--gray-100);
  transition: all .3s var(--ease);
}
.news-item:first-child { border-top: 1px solid var(--gray-100); }
.news-item:hover { padding-left: 10px; }
.news-date {
  font-family: 'Barlow', sans-serif; font-size: 13px; font-weight: 600;
  color: var(--gray-400); min-width: 105px; padding-top: 1px;
}
.news-tag {
  background: var(--red-100); color: var(--red-700);
  font-size: 10px; font-weight: 700; padding: 3px 10px; border-radius: 50px;
  white-space: nowrap; min-width: 60px; text-align: center; padding-top: 4px;
}
.news-ttl {
  font-size: 14px; line-height: 1.65; color: var(--dark);
  transition: color .3s;
}
.news-item:hover .news-ttl { color: var(--red-500); }
.news-more { margin-top: 32px; text-align: center; }

/* ===================================================
   SERVICE Page
   =================================================== */
.svc-detail {
  padding: 100px 0;
}
.svc-detail:nth-child(even) { background: var(--off-white); }
.svc-detail-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.svc-detail:nth-child(even) .svc-detail-inner { direction: rtl; }
.svc-detail:nth-child(even) .svc-detail-body { direction: ltr; }
.svc-detail:nth-child(even) .svc-detail-visual { direction: ltr; }

.svc-num {
  font-family: 'Barlow', sans-serif;
  font-size: 100px; font-weight: 900; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; opacity: .15;
  position: absolute; top: -30px; left: -20px;
  pointer-events: none;
}
.svc-detail-body { position: relative; }
.svc-detail-body h2 { font-size: clamp(24px, 3.5vw, 36px); margin-bottom: 18px; }
.svc-detail-body p { font-size: 14.5px; color: var(--text-muted); line-height: 1.95; margin-bottom: 14px; }
.svc-points { margin: 24px 0; }
.svc-points li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
}
.svc-points li::before {
  content: '✓'; color: var(--red-500); font-weight: 900;
  margin-top: 1px; flex-shrink: 0;
}

.svc-visual-box {
  background: var(--grad); border-radius: 20px;
  padding: 48px 40px; color: white; position: relative; overflow: hidden;
}
.svc-visual-box::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(255,255,255,.12) 0%, transparent 60%);
}
.svc-visual-icon {
  font-size: 56px; margin-bottom: 24px; display: block; position: relative;
}
.svc-visual-box h3 { font-size: 22px; font-weight: 700; margin-bottom: 14px; position: relative; }
.svc-visual-box p { font-size: 14px; opacity: .8; line-height: 1.9; position: relative; }

/* Flow */
.flow-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; position: relative;
}
.flow-grid::before {
  content: ''; position: absolute; top: 36px; left: calc(16.66% + 20px); right: calc(16.66% + 20px);
  height: 2px; background: var(--grad); z-index: 0;
}
.flow-item { text-align: center; padding: 0 28px; position: relative; z-index: 1; }
.flow-num {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--grad); color: white;
  font-family: 'Barlow', sans-serif; font-size: 24px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 24px; box-shadow: 0 8px 24px rgba(232,0,45,.3);
}
.flow-item h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.flow-item p { font-size: 13.5px; color: var(--text-muted); line-height: 1.8; }

/* ===================================================
   COMPANY Page
   =================================================== */
.mission-sec {
  padding: var(--pad);
  background: var(--dark); color: white;
  text-align: center; position: relative; overflow: hidden;
}
.mission-sec::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(232,0,45,.3) 0%, transparent 65%);
}
.mission-sec h2 {
  font-size: clamp(24px, 4.5vw, 52px); font-weight: 900;
  line-height: 1.3; position: relative;
  margin-bottom: 24px; color: white;
}
.mission-sec p {
  color: rgba(255,255,255,.65); font-size: 15.5px;
  max-width: 560px; margin: 0 auto; position: relative; line-height: 1.9;
}

.values-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.val-card {
  background: white; border-radius: var(--rad);
  padding: 36px 32px; border: 1px solid var(--gray-100);
  transition: all .4s var(--ease);
}
.val-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.val-icon {
  font-size: 32px; margin-bottom: 18px; display: block;
}
.val-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 10px; color: var(--dark); }
.val-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.85; }

.info-table { width: 100%; border-collapse: collapse; }
.info-table tr { border-bottom: 1px solid var(--gray-100); }
.info-table th {
  width: 200px; padding: 20px 0; font-size: 13.5px; font-weight: 700;
  color: var(--dark); text-align: left; vertical-align: top;
}
.info-table td {
  padding: 20px 0 20px 24px; font-size: 14px;
  color: var(--text-muted); line-height: 1.8;
}

.ceo-card {
  background: var(--off-white); border-radius: 20px; padding: 48px;
  display: flex; gap: 48px; align-items: flex-start;
}
.ceo-photo {
  width: 120px; height: 120px; border-radius: 50%;
  background: var(--grad); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
}
.ceo-body h3 { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.ceo-body .role { font-size: 13px; color: var(--red-500); font-weight: 700; margin-bottom: 20px; display: block; }
.ceo-body p { font-size: 14.5px; color: var(--text-muted); line-height: 2; }

/* ===================================================
   RECRUIT Page
   =================================================== */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.why-card {
  background: white; border-radius: var(--rad);
  padding: 36px; text-align: center;
  border: 1px solid var(--gray-100);
  transition: all .4s var(--ease); position: relative; overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute; inset: 0;
  background: var(--grad); opacity: 0;
  transition: opacity .4s var(--ease);
}
.why-card:hover { transform: translateY(-8px); border-color: transparent; box-shadow: var(--shadow-lg); }
.why-card:hover::before { opacity: 1; }
.why-card * { position: relative; transition: color .4s; }
.why-card:hover h3, .why-card:hover p { color: white; }
.why-icon { font-size: 42px; margin-bottom: 20px; display: block; }
.why-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 12px; }
.why-card p { font-size: 13.5px; color: var(--text-muted); line-height: 1.85; }

.job-list { display: flex; flex-direction: column; gap: 24px; }
.job-card {
  background: white; border-radius: var(--rad);
  border: 1px solid var(--gray-100); overflow: hidden;
  transition: all .4s var(--ease);
}
.job-card:hover { box-shadow: var(--shadow); border-color: var(--red-100); transform: translateY(-4px); }
.job-head {
  background: var(--grad); padding: 24px 32px;
  display: flex; align-items: center; gap: 16px; color: white;
}
.job-type {
  background: rgba(255,255,255,.2); padding: 4px 14px;
  border-radius: 50px; font-size: 11px; font-weight: 700;
  white-space: nowrap;
}
.job-head h3 { font-size: 18px; font-weight: 700; flex: 1; }
.job-body { padding: 28px 32px; }
.job-desc { font-size: 14px; color: var(--text-muted); line-height: 1.85; margin-bottom: 20px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.job-tag {
  background: var(--off-white); color: var(--gray-600);
  font-size: 12px; padding: 5px 12px; border-radius: 50px;
}

.benefit-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.benefit-item {
  background: white; border-radius: var(--rad);
  padding: 28px; display: flex; align-items: flex-start; gap: 18px;
  border: 1px solid var(--gray-100);
  transition: all .35s var(--ease);
}
.benefit-item:hover { box-shadow: var(--shadow-sm); transform: translateX(6px); }
.benefit-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--red-100); display: flex; align-items: center; justify-content: center;
  font-size: 20px; flex-shrink: 0;
}
.benefit-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.benefit-item p { font-size: 13px; color: var(--text-muted); line-height: 1.75; }

.process-steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; position: relative;
}
.process-steps::before {
  content: ''; position: absolute; top: 28px;
  left: calc(12.5% + 14px); right: calc(12.5% + 14px);
  height: 2px; background: var(--grad);
}
.process-step { text-align: center; padding: 0 16px; position: relative; }
.process-n {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad); color: white;
  font-family: 'Barlow', sans-serif; font-size: 20px; font-weight: 900;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px; box-shadow: 0 6px 18px rgba(232,0,45,.3);
}
.process-step h4 { font-size: 14px; font-weight: 700; margin-bottom: 8px; }
.process-step p { font-size: 12.5px; color: var(--text-muted); line-height: 1.7; }

/* ===================================================
   CONTACT Page
   =================================================== */
.contact-wrap {
  display: grid; grid-template-columns: 1fr 380px; gap: 64px;
  align-items: flex-start;
}
.contact-form {
  background: white; border-radius: 20px;
  padding: 48px; box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
}
.contact-form h2 { font-size: 22px; font-weight: 900; margin-bottom: 32px; }

.form-group { margin-bottom: 24px; }
.form-label {
  display: block; font-size: 13px; font-weight: 700;
  margin-bottom: 8px; color: var(--dark);
}
.form-label .req {
  background: var(--red-500); color: white;
  font-size: 10px; padding: 1px 6px; border-radius: 3px;
  margin-left: 6px; vertical-align: middle;
}
.form-input {
  width: 100%; padding: 13px 18px;
  border: 1.5px solid var(--gray-200); border-radius: 10px;
  font-size: 14px; font-family: 'Noto Sans JP', sans-serif;
  background: var(--off-white);
  transition: all .3s var(--ease); outline: none;
}
.form-input:focus {
  border-color: var(--red-500);
  background: white;
  box-shadow: 0 0 0 4px rgba(232,0,45,.08);
}
.form-input.error { border-color: var(--red-500); background: #FFF5F6; }
textarea.form-input { min-height: 160px; resize: vertical; }
select.form-input { cursor: pointer; }

.form-submit { margin-top: 32px; }
.form-submit .btn { width: 100%; justify-content: center; padding: 16px; font-size: 15px; }

.contact-info { position: sticky; top: calc(var(--hh) + 24px); }
.info-box {
  background: var(--grad); color: white;
  border-radius: 20px; padding: 40px; margin-bottom: 24px;
}
.info-box h3 { font-size: 18px; font-weight: 700; margin-bottom: 24px; }
.info-row {
  display: flex; gap: 14px; align-items: flex-start; margin-bottom: 18px;
}
.info-row:last-child { margin-bottom: 0; }
.info-row .icon { font-size: 20px; flex-shrink: 0; opacity: .8; }
.info-row div { font-size: 13.5px; line-height: 1.7; opacity: .9; }
.info-row strong { display: block; font-size: 12px; opacity: .6; margin-bottom: 2px; }

.note-box {
  background: var(--off-white); border-radius: 14px; padding: 24px;
  font-size: 12.5px; color: var(--text-muted); line-height: 1.85;
}
.note-box h4 { font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 10px; }

/* ===================================================
   THANKS Page
   =================================================== */
.thanks-sec {
  min-height: calc(100vh - var(--hh));
  display: flex; align-items: center; justify-content: center;
  padding: var(--pad); text-align: center;
  background: linear-gradient(180deg, var(--off-white) 0%, white 100%);
}
.thanks-inner { max-width: 560px; }
.thanks-icon {
  width: 96px; height: 96px; border-radius: 50%;
  background: var(--grad); color: white;
  font-size: 42px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 32px;
  animation: pulseGlow 3s ease infinite;
}
.thanks-inner h1 { font-size: clamp(26px, 4vw, 36px); font-weight: 900; margin-bottom: 20px; }
.thanks-inner p { font-size: 15px; color: var(--text-muted); line-height: 1.95; margin-bottom: 12px; }
.thanks-btns { display: flex; gap: 14px; justify-content: center; margin-top: 40px; }

/* ===================================================
   Responsive
   =================================================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .nums-grid { grid-template-columns: repeat(2,1fr); gap: 40px; }
  .svc-detail-inner { gap: 48px; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-info { position: static; }
}

@media (max-width: 768px) {
  :root { --hh: 62px; --pad: 80px 0; }
  .nav { display: none; }
  .hamburger { display: flex; }
  .svc-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .svc-detail-inner { grid-template-columns: 1fr; gap: 40px; }
  .svc-detail:nth-child(even) .svc-detail-inner { direction: ltr; }
  .values-grid, .why-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-grid::before { display: none; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 24px; }
  .process-steps::before { display: none; }
  .benefit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .ceo-card { flex-direction: column; gap: 28px; padding: 32px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { justify-content: center; text-align: center; }
  .page-hero { height: 280px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .contact-form { padding: 28px 22px; }
  .info-table th { width: 120px; }
}

@media (max-width: 480px) {
  .nums-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; }
  .thanks-btns { flex-direction: column; align-items: center; }
  .job-head { flex-direction: column; gap: 8px; }
}
