/*
Theme Name: RITAVERSE
Theme URI: https://ritaverse.jp
Author: 株式会社リタバース
Version: 1.0
*/

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

:root {
  --primary: #0077cc;
  --primary-dark: #005599;
  --primary-light: #339fd9;
  --accent: #00bcd4;
  --accent-light: #4dd0e1;
  --navy: #0a1628;
  --navy-mid: #112244;
  --dark: #1a1a2e;
  --text: #1a2744;
  --text-light: #4a5568;
  --text-muted: #718096;
  --white: #ffffff;
  --bg-light: #f7fafc;
  --bg-gray: #edf2f7;
  --border: #e2e8f0;
  --gradient: linear-gradient(135deg, #00bcd4 0%, #0077cc 60%, #005599 100%);
  --gradient-hover: linear-gradient(135deg, #00d4f0 0%, #0099ee 60%, #0066bb 100%);
  --shadow-sm: 0 2px 8px rgba(0,119,204,0.10);
  --shadow-md: 0 8px 30px rgba(0,119,204,0.16);
  --shadow-lg: 0 20px 60px rgba(0,119,204,0.22);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
  --header-h: 72px;
}

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;
  padding-top: var(--header-h);
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: var(--header-h);
  z-index: 1000;
  background: rgba(10,22,40,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: box-shadow 0.3s ease;
}

#site-header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.site-logo img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.logo-text small {
  display: block;
  font-size: 0.6rem;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.1em;
  font-family: 'Montserrat', sans-serif;
}

/* Navigation Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  font-family: 'Montserrat', sans-serif;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  position: relative;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.nav-links a.active {
  color: var(--accent);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--gradient);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  box-shadow: 0 3px 14px rgba(0,119,204,0.38);
  margin-left: 0.5rem;
}

.nav-contact:hover {
  background: var(--gradient-hover) !important;
  box-shadow: 0 5px 22px rgba(0,119,204,0.55) !important;
  transform: translateY(-1px);
}

.nav-contact.active::after { display: none; }

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

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

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

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,17,35,0.98);
  backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
}

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

.mobile-drawer a {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 1rem 3rem;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s, background 0.2s;
}

.mobile-drawer a:first-child { border-top: 1px solid rgba(255,255,255,0.05); }
.mobile-drawer a:hover, .mobile-drawer a.active { color: var(--accent); background: rgba(0,188,212,0.05); }

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: #050d1a;
  padding: 4rem 0 2rem;
  color: rgba(255,255,255,0.55);
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 2rem;
}

.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  height: 34px;
  width: auto;
  object-fit: contain;
}

.footer-logo-name {
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.38);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-address {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.9;
}

.footer-address a {
  color: rgba(255,255,255,0.4);
}

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

.footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.footer-nav-col h4 {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.14em;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
}

.footer-nav-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-nav-col li a {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  transition: color 0.2s;
}

.footer-nav-col li a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.28);
  font-family: 'Montserrat', sans-serif;
}

.footer-legal a {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.32);
  transition: color 0.2s;
}

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

/* ============================================================
   PAGE HERO (内部ページ共通)
   ============================================================ */
.page-hero {
  background: var(--navy);
  padding: 5rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,188,212,0.10) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(0,119,204,0.12) 0%, transparent 60%),
    linear-gradient(135deg, #030d1a 0%, #0a1628 60%, #091e3a 100%);
}

.page-hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,188,212,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,188,212,0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.6) 0%, transparent 75%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  font-family: 'Montserrat', sans-serif;
}

.page-breadcrumb a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}

.page-breadcrumb a:hover { color: var(--accent); }
.page-breadcrumb .sep { opacity: 0.4; }
.page-breadcrumb .current { color: rgba(255,255,255,0.65); }

.page-hero-en {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.6rem;
}

.page-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.25;
}

/* ============================================================
   COMMON UTILITIES
   ============================================================ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-light);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  font-family: 'Noto Sans JP', sans-serif;
}

.btn-primary {
  background: var(--gradient);
  color: var(--white);
  box-shadow: 0 4px 18px rgba(0,119,204,0.32);
}

.btn-primary:hover {
  background: var(--gradient-hover);
  box-shadow: 0 6px 26px rgba(0,119,204,0.48);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}

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

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
}

/* Section heading */
.sec-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.sec-title {
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.35;
  margin-bottom: 0.8rem;
}

.sec-lead {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.9;
  max-width: 640px;
}

.sec-divider {
  width: 48px;
  height: 3px;
  background: var(--gradient);
  border-radius: 2px;
  margin: 1rem 0 2.5rem;
}

.sec-divider.center { margin-left: auto; margin-right: auto; }

/* Fade-in animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }
.fd-1 { transition-delay: 0.1s; }
.fd-2 { transition-delay: 0.2s; }
.fd-3 { transition-delay: 0.3s; }
.fd-4 { transition-delay: 0.4s; }
.fd-5 { transition-delay: 0.5s; }

/* Back to top */
.back-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 46px;
  height: 46px;
  background: var(--gradient);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s, box-shadow 0.3s;
  z-index: 500;
  border: none;
  cursor: pointer;
}

.back-top.show { opacity: 1; transform: translateY(0); }
.back-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-nav-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --header-h: 62px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section { padding: 3.5rem 0; }
  .page-hero { padding: 3.5rem 0 3rem; }
  .footer-nav-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .footer-inner { padding: 0 1.2rem; }
}

/* ============================================================
   index.html — トップページ専用スタイル
   ============================================================ */
/* body は padding-top 不要（フルスクリーンヒーロー）*/
body.page-top { padding-top: 0; }

/* HERO */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 15% 55%, rgba(0,188,212,0.13) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(0,119,204,0.15) 0%, transparent 60%),
    linear-gradient(135deg, #030d1a 0%, #0a1628 45%, #091e3a 100%);
}

.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,188,212,0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,188,212,0.055) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.55) 0%, transparent 72%);
}

.orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
  animation: orb-float 10s ease-in-out infinite;
}
.orb-a { width:520px; height:520px; top:-120px; right:-80px;
  background: radial-gradient(circle, rgba(0,188,212,.13), transparent 70%); animation-delay:0s; }
.orb-b { width:380px; height:380px; bottom:-60px; left:8%;
  background: radial-gradient(circle, rgba(0,119,204,.13), transparent 70%); animation-delay:4s; }
.orb-c { width:280px; height:280px; top:35%; left:48%;
  background: radial-gradient(circle, rgba(0,188,212,.09), transparent 70%); animation-delay:7s; }

@keyframes orb-float {
  0%,100% { transform: translate(0,0) scale(1); opacity:.7; }
  50%      { transform: translate(18px,-18px) scale(1.08); opacity:1; }
}

#particles { position:absolute; inset:0; overflow:hidden; pointer-events:none; }
.pt {
  position:absolute; border-radius:50%; background:var(--accent);
  animation: pt-rise linear infinite;
  opacity:0;
}
@keyframes pt-rise {
  0%   { transform:translateY(100vh) translateX(0) scale(0); opacity:0; }
  10%  { opacity:.55; }
  90%  { opacity:.25; }
  100% { transform:translateY(-80px) translateX(var(--dx)) scale(1); opacity:0; }
}

.hero-inner {
  position: relative; z-index:2;
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  padding-top: 80px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex; align-items: center; gap:.5rem;
  background: rgba(0,188,212,.1);
  border: 1px solid rgba(0,188,212,.3);
  color: var(--accent);
  padding: .38rem 1rem; border-radius: 50px;
  font-size: .75rem; font-weight:700; letter-spacing:.12em;
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1.4rem;
}

.hero-tag::before {
  content:''; width:6px; height:6px;
  background:var(--accent); border-radius:50%;
  animation: dot-blink 1.6s ease-in-out infinite;
}

@keyframes dot-blink {
  0%,100%{opacity:1} 50%{opacity:.25}
}

.hero-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight:900; color:var(--white);
  line-height:1.22; letter-spacing:-.01em;
  margin-bottom:1.4rem;
}

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

.hero-sub {
  font-size: clamp(.9rem, 1.5vw, 1.05rem);
  color: rgba(255,255,255,.68);
  line-height:1.95; margin-bottom:2.2rem; max-width:500px;
}

.hero-badges {
  display:flex; gap:.75rem; flex-wrap:wrap; margin-bottom:2.4rem;
}

.hbadge {
  display:flex; align-items:center; gap:.4rem;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.1);
  color:rgba(255,255,255,.78);
  padding:.38rem .9rem; border-radius:6px;
  font-size:.8rem; font-weight:500;
}

.hbadge i { color:var(--accent); font-size:.85rem; }

.hero-cta { display:flex; gap:1rem; flex-wrap:wrap; }

.hero-visual { display:flex; justify-content:center; align-items:center; }

.logo-ring {
  width:340px; height:340px; border-radius:50%;
  border:1px solid rgba(0,188,212,.2);
  display:flex; align-items:center; justify-content:center;
  position:relative;
  animation:ring-spin 22s linear infinite;
}

@keyframes ring-spin { from{transform:rotate(0)} to{transform:rotate(360deg)} }

.logo-ring::before {
  content:''; position:absolute; inset:22px; border-radius:50%;
  border:1px solid rgba(0,119,204,.12);
}

.logo-ring::after {
  content:''; position:absolute;
  width:11px; height:11px;
  background:var(--accent); border-radius:50%;
  top:9px; left:50%; transform:translateX(-50%);
  box-shadow: 0 0 14px var(--accent);
}

.logo-center {
  position:absolute; width:195px; height:195px; border-radius:50%;
  background:rgba(10,22,40,.82);
  border:1px solid rgba(0,188,212,.2);
  box-shadow: 0 0 55px rgba(0,188,212,.14), inset 0 0 35px rgba(0,119,204,.05);
  display:flex; align-items:center; justify-content:center;
}

.logo-center img {
  width:115px; height:115px; object-fit:contain;
  filter:drop-shadow(0 0 18px rgba(0,188,212,.5));
  animation: logo-glow 3.2s ease-in-out infinite;
}

@keyframes logo-glow {
  0%,100%{filter:drop-shadow(0 0 18px rgba(0,188,212,.4))}
  50%    {filter:drop-shadow(0 0 32px rgba(0,188,212,.85))}
}

.hero-scroll {
  position:absolute; bottom:2rem; left:50%; transform:translateX(-50%);
  z-index:2; display:flex; flex-direction:column; align-items:center; gap:.5rem;
  color:rgba(255,255,255,.35);
  font-size:.68rem; font-family:'Montserrat',sans-serif; letter-spacing:.16em;
}

.scroll-bar {
  width:1px; height:48px;
  background:linear-gradient(to bottom, rgba(0,188,212,.7), transparent);
  animation:bar-pulse 2.2s ease-in-out infinite;
}

@keyframes bar-pulse {
  0%,100%{opacity:1;transform:scaleY(1)}
  50%{opacity:.4;transform:scaleY(.5)}
}

/* STRENGTHS BAR */
.strength-bar {
  background:var(--dark); padding:3rem 0;
  border-top:1px solid rgba(255,255,255,.04);
  border-bottom:1px solid rgba(255,255,255,.04);
}

.strength-bar-inner {
  max-width:1280px; margin:0 auto; padding:0 2rem;
  display:grid; grid-template-columns:repeat(3,1fr);
  gap:0;
}

.sb-item {
  display:flex; align-items:center; gap:1.2rem;
  padding:1.2rem 2rem;
  border-right:1px solid rgba(255,255,255,.06);
  transition:background .25s;
}

.sb-item:last-child { border-right:none; }
.sb-item:hover { background:rgba(255,255,255,.03); }

.sb-num {
  font-family:'Montserrat',sans-serif; font-size:2.8rem; font-weight:900;
  background:var(--gradient); -webkit-background-clip:text;
  -webkit-text-fill-color:transparent; background-clip:text;
  line-height:1; flex-shrink:0;
}

.sb-title { font-size:1rem; font-weight:700; color:var(--white); }
.sb-desc  { font-size:.8rem; color:rgba(255,255,255,.45); margin-top:.15rem; }

/* TOP: ABOUT SNIPPET */
.top-about {
  padding: 5rem 0;
  background: var(--white);
}

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

.about-img-inner {
  aspect-ratio:4/3;
  background:linear-gradient(135deg,#e8eef8,#d0daea);
  display:flex; align-items:center; justify-content:center;
  border-radius:var(--radius-lg);
  border:1px solid var(--border);
  position:relative; overflow:hidden;
}

.about-img-inner::before {
  content:''; position:absolute; inset:0;
  background:linear-gradient(135deg,rgba(0,119,204,.06),rgba(0,188,212,.06));
}

.about-img-inner i {
  font-size:4rem; color:rgba(0,119,204,.18);
  position:relative; z-index:1;
}

.about-tag-box {
  position:absolute; bottom:1.5rem; left:1.5rem;
  background:var(--gradient); color:var(--white);
  padding:.6rem 1.2rem; border-radius:var(--radius);
  font-size:.82rem; font-weight:700; letter-spacing:.05em;
  box-shadow:0 4px 18px rgba(0,119,204,.4);
}

/* TOP: SERVICE SUMMARY */
.top-service { padding:5rem 0; background:var(--bg-light); }

.sec-header { margin-bottom:3rem; }

.service-cards-top {
  display:grid; grid-template-columns:repeat(3,1fr); gap:1.25rem;
  margin-bottom:2.5rem;
}

.svc-card {
  background:var(--white); border-radius:var(--radius-lg);
  padding:1.8rem; border:1px solid var(--border);
  box-shadow:var(--shadow-sm);
  transition:transform .3s, box-shadow .3s, border-color .3s;
  position:relative; overflow:hidden;
}

.svc-card::before {
  content:''; position:absolute; top:0; left:0;
  width:100%; height:3px; background:var(--gradient);
  transform:scaleX(0); transform-origin:left; transition:transform .4s;
}

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

.svc-card:hover {
  transform:translateY(-5px);
  box-shadow:var(--shadow-lg);
  border-color:transparent;
}

.svc-num {
  font-family:'Montserrat',sans-serif; font-size:.68rem; font-weight:700;
  letter-spacing:.16em; color:var(--accent); margin-bottom:.9rem;
}

.svc-icon {
  width:52px; height:52px;
  background:linear-gradient(135deg,rgba(0,119,204,.07),rgba(0,188,212,.07));
  border-radius:var(--radius); border:1px solid rgba(0,119,204,.1);
  display:flex; align-items:center; justify-content:center;
  margin-bottom:1.1rem; transition:background .3s, border-color .3s;
}

.svc-card:hover .svc-icon { background:var(--gradient); border-color:transparent; }

.svc-icon i { font-size:1.4rem; color:var(--primary); transition:color .3s; }
.svc-card:hover .svc-icon i { color:var(--white); }

.svc-card h3 { font-size:1rem; font-weight:700; color:var(--text); margin-bottom:.6rem; line-height:1.4; }
.svc-card p  { font-size:.84rem; color:var(--text-light); line-height:1.8; }

.svc-more { text-align:center; margin-top:1rem; }

/* TOP: FLOW TEASER */
.top-flow { padding:5rem 0; background:var(--white); }

.flow-steps-top {
  display:grid; grid-template-columns:repeat(5,1fr); gap:0;
  position:relative; margin-bottom:2.5rem;
}

.flow-steps-top::after {
  content:''; position:absolute;
  top:34px; left:10%; right:10%; height:2px;
  background:linear-gradient(to right,var(--accent),var(--primary));
  z-index:0;
}

.fl-step { display:flex; flex-direction:column; align-items:center; text-align:center; padding:0 .5rem; position:relative; z-index:1; }

.fl-num {
  width:68px; height:68px; border-radius:50%; background:var(--gradient);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  margin-bottom:1.2rem; box-shadow:0 0 22px rgba(0,188,212,.28);
  transition:transform .3s, box-shadow .3s;
}

.fl-step:hover .fl-num { transform:scale(1.08); box-shadow:0 0 36px rgba(0,188,212,.5); }

.fl-num span { font-family:'Montserrat',sans-serif; font-weight:900; color:var(--white); }
.fl-num .fl-label { font-size:.52rem; letter-spacing:.1em; opacity:.75; }
.fl-num .fl-n { font-size:1.05rem; line-height:1; }

.fl-step h3 { font-size:.88rem; font-weight:700; color:var(--text); margin-bottom:.4rem; }
.fl-step p  { font-size:.76rem; color:var(--text-muted); line-height:1.65; }

/* TOP: NEWS TEASER */
.top-news { padding:5rem 0; background:var(--bg-light); }

.news-list-top { margin-bottom:2rem; }

.ni {
  display:flex; align-items:center; gap:1.5rem;
  padding:1.2rem 1.8rem;
  background:var(--white); border-radius:var(--radius);
  border:1px solid var(--border); margin-bottom:.75rem;
  box-shadow:var(--shadow-sm); transition:transform .25s, box-shadow .25s, border-color .25s;
}

.ni:hover { transform:translateX(4px); border-color:rgba(0,119,204,.2); box-shadow:var(--shadow-md); }

.ni-date {
  flex-shrink:0; font-family:'Montserrat',sans-serif;
  font-size:.8rem; font-weight:600; color:var(--primary); min-width:88px;
}

.ni-badge {
  flex-shrink:0; background:rgba(0,188,212,.08); color:var(--accent);
  padding:.2rem .7rem; border-radius:50px;
  font-size:.7rem; font-weight:700; letter-spacing:.1em;
  font-family:'Montserrat',sans-serif;
}

.ni-text { font-size:.9rem; color:var(--text); line-height:1.65; }

/* TOP: CTA BANNER */
.cta-banner {
  background:var(--navy); padding:5rem 0; position:relative; overflow:hidden;
}

.cta-banner::before {
  content:''; position:absolute; inset:0;
  background:
    radial-gradient(ellipse at 25% 50%, rgba(0,188,212,.1) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 50%, rgba(0,119,204,.1) 0%, transparent 60%);
}

.cta-inner { position:relative; z-index:1; text-align:center; }
.cta-inner h2 { font-size:clamp(1.6rem,3vw,2.4rem); font-weight:900; color:var(--white); margin-bottom:1rem; }
.cta-inner p  { font-size:1rem; color:rgba(255,255,255,.65); margin-bottom:2.5rem; }
.cta-btns { display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; }

/* index.html Responsive */
@media(max-width:1024px){
  .hero-inner { grid-template-columns:1fr; text-align:center; }
  .hero-visual { display:none; }
  .hero-sub,.hero-badges,.hero-cta { max-width:100%; justify-content:center; }
  .top-about-grid { grid-template-columns:1fr; gap:3rem; }
  .service-cards-top { grid-template-columns:repeat(2,1fr); }
  .flow-steps-top { grid-template-columns:repeat(3,1fr); gap:2rem; }
  .flow-steps-top::after { display:none; }
  .strength-bar-inner { grid-template-columns:1fr; }
  .sb-item { border-right:none; border-bottom:1px solid rgba(255,255,255,.06); }
  .sb-item:last-child { border-bottom:none; }
}

@media(max-width:768px){
  .service-cards-top { grid-template-columns:1fr; }
  .flow-steps-top { grid-template-columns:1fr; }
  .ni { flex-wrap:wrap; gap:.5rem; padding:1rem 1.2rem; }
}

/* ============================================================
   service.html — 事業紹介専用スタイル
   ============================================================ */
.svc-lead-bar {
  background: var(--bg-light);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}

.svc-lead-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}

.svc-lead-text { font-size: 1rem; color: var(--text-light); line-height: 1.9; }
.svc-lead-text strong { color: var(--text); }

.svc-item {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border);
}

.svc-item:nth-child(even) { background: var(--bg-light); }
.svc-item:last-child { border-bottom: none; }

.svc-item-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.svc-item:nth-child(even) .svc-item-inner { direction: rtl; }
.svc-item:nth-child(even) .svc-item-inner > * { direction: ltr; }

.svc-visual {
  border-radius: var(--radius-lg); overflow: hidden;
  position: relative;
}

.svc-visual-inner {
  aspect-ratio: 4/3;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1rem;
  position: relative; overflow: hidden;
}

.svc-visual-inner.v1 { background: linear-gradient(135deg, #0a1628, #112244); }
.svc-visual-inner.v2 { background: linear-gradient(135deg, #0d1f3c, #143257); }
.svc-visual-inner.v3 { background: linear-gradient(135deg, #0a1e35, #0f2d4a); }
.svc-visual-inner.v4 { background: linear-gradient(135deg, #091a30, #102640); }
.svc-visual-inner.v5 { background: linear-gradient(135deg, #0b1c32, #11273f); }

.svc-visual-inner::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(0,188,212,.15), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(0,119,204,.12), transparent 60%);
}

.svc-v-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 5rem; font-weight: 900;
  color: rgba(255,255,255,.06);
  position: absolute; top: .5rem; right: 1rem;
  line-height: 1; user-select: none;
}

.svc-v-icon {
  width: 90px; height: 90px; border-radius: 50%;
  background: rgba(0,188,212,.12);
  border: 2px solid rgba(0,188,212,.25);
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
  box-shadow: 0 0 35px rgba(0,188,212,.2);
}

.svc-v-icon i { font-size: 2.2rem; color: var(--accent); }

.svc-v-label {
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  color: rgba(255,255,255,.45);
  position: relative; z-index: 1;
}

.svc-num-badge {
  display: inline-block;
  background: rgba(0,188,212,.1); color: var(--accent);
  padding: .3rem .9rem; border-radius: 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em;
  margin-bottom: 1rem; border: 1px solid rgba(0,188,212,.2);
}

.svc-title { font-size: clamp(1.35rem, 2.5vw, 1.75rem); font-weight: 900; color: var(--text); margin-bottom: 1rem; line-height: 1.35; }

.svc-target-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: rgba(0,119,204,.07); color: var(--primary);
  padding: .3rem .85rem; border-radius: 50px;
  font-size: .78rem; font-weight: 600; margin-bottom: 1.2rem;
}

.svc-desc { font-size: .95rem; color: var(--text-light); line-height: 1.95; margin-bottom: 1.5rem; }

.svc-points { margin-bottom: 1.5rem; }

.svc-point {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: .65rem 0; border-bottom: 1px solid var(--border);
  font-size: .88rem; color: var(--text-light);
}

.svc-point:last-child { border-bottom: none; }

.svc-point-icon {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--gradient); display: flex; align-items: center;
  justify-content: center; flex-shrink: 0; margin-top: 2px;
}

.svc-point-icon i { font-size: .65rem; color: var(--white); }

.svc-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.stag {
  background: rgba(0,188,212,.07); color: var(--text-light);
  padding: .28rem .75rem; border-radius: 50px; font-size: .76rem; font-weight: 500;
  border: 1px solid rgba(0,188,212,.14);
}

/* service.html Responsive */
@media(max-width:1024px) {
  .svc-item-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .svc-item:nth-child(even) .svc-item-inner { direction: ltr; }
  .svc-lead-inner { flex-direction: column; gap: 1rem; }
}

/* ============================================================
   about.html — 会社概要専用スタイル
   ============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.mission-block {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.mission-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(0,188,212,.15), transparent 60%),
    radial-gradient(ellipse at bottom left, rgba(0,119,204,.10), transparent 60%);
}

.mission-block > * { position: relative; z-index: 1; }

.mission-en {
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem; font-weight: 700; letter-spacing: .2em;
  color: var(--accent); margin-bottom: .6rem;
}

.mission-text {
  font-size: 1.4rem; font-weight: 900;
  color: var(--white); line-height: 1.5; margin-bottom: 1rem;
}

.mission-desc {
  font-size: .88rem; color: rgba(255,255,255,.62);
  line-height: 1.9;
}

.company-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.company-card-head {
  background: var(--gradient);
  padding: 1.1rem 1.6rem;
  display: flex; align-items: center; gap: .75rem;
}

.company-card-head i { color: rgba(255,255,255,.8); font-size: 1rem; }
.company-card-head h2 { color: var(--white); font-size: .95rem; font-weight: 700; letter-spacing: .06em; }

.co-table { width: 100%; border-collapse: collapse; }

.co-table tr { border-bottom: 1px solid var(--border); transition: background .2s; }
.co-table tr:last-child { border-bottom: none; }
.co-table tr:hover { background: rgba(0,119,204,.03); }

.co-table th {
  padding: .9rem 1.2rem; text-align: left;
  font-size: .78rem; font-weight: 700; color: var(--primary);
  letter-spacing: .05em; width: 34%; vertical-align: top;
  background: rgba(0,119,204,.025);
}

.co-table td {
  padding: .9rem 1.2rem; font-size: .88rem;
  color: var(--text); line-height: 1.75;
}

.co-table td a { color: var(--primary); }
.co-table td a:hover { text-decoration: underline; }

.strengths-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem;
  margin-top: 2rem;
}

.str-card {
  background: var(--white); border-radius: var(--radius);
  padding: 1.5rem; text-align: center;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}

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

.str-icon {
  width: 52px; height: 52px; margin: 0 auto 1rem;
  background: linear-gradient(135deg, rgba(0,119,204,.08), rgba(0,188,212,.08));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(0,119,204,.1);
}

.str-icon i { font-size: 1.3rem; color: var(--primary); }

.str-card h3 { font-size: 1rem; font-weight: 800; color: var(--text); margin-bottom: .4rem; }
.str-card p  { font-size: .8rem; color: var(--text-muted); line-height: 1.7; }

.map-block {
  margin-top: 3rem;
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}

.map-head {
  background: var(--gradient); padding: 1rem 1.6rem;
  display: flex; align-items: center; gap: .6rem;
  color: var(--white); font-weight: 700; font-size: .9rem;
}

.map-body {
  aspect-ratio: 16/6;
  background: linear-gradient(135deg, #e0e8f5, #d0dcea);
  display: flex; align-items: center; justify-content: center;
  gap: 1rem; color: rgba(0,119,204,.4);
  font-size: .85rem; font-weight: 500;
}

.map-body i { font-size: 2rem; }

/* about.html Responsive */
@media(max-width:1024px) {
  .about-layout { grid-template-columns: 1fr; gap: 3rem; }
}

@media(max-width:768px) {
  .strengths-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   message.html — 代表メッセージ専用スタイル
   ============================================================ */
.msg-layout {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 5rem;
  align-items: start;
}

.photo-frame {
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #e8edf5, #d0daea);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.2rem;
  border: 2px dashed var(--border);
  box-shadow: var(--shadow-md);
  position: relative; overflow: hidden;
}

.photo-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 55%, rgba(0,119,204,.06));
}

.ph-icon {
  width: 90px; height: 90px; border-radius: 50%;
  background: rgba(0,119,204,.08);
  border: 2px dashed rgba(0,119,204,.2);
  display: flex; align-items: center; justify-content: center;
}

.ph-icon i { font-size: 2.8rem; color: rgba(0,119,204,.28); }

.ph-label {
  text-align: center; color: rgba(0,119,204,.38);
  font-size: .84rem; font-weight: 500; letter-spacing: .05em;
}

.ph-label small { display: block; font-size: .72rem; opacity: .7; margin-top: .25rem; }

.photo-caption {
  margin-top: 1.4rem; text-align: center;
  padding: 1.2rem;
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}

.photo-caption .pos { font-size: .75rem; color: var(--text-muted); letter-spacing: .08em; margin-bottom: .3rem; }
.photo-caption .name { font-size: 1.15rem; font-weight: 800; color: var(--text); }
.photo-caption .name-kana { font-size: .75rem; color: var(--text-muted); margin-top: .2rem; }

.profile-tags { margin-top: 1.2rem; display: flex; flex-wrap: wrap; gap: .5rem; }

.ptag {
  background: rgba(0,119,204,.07); color: var(--primary);
  padding: .28rem .75rem; border-radius: 50px;
  font-size: .74rem; font-weight: 600; border: 1px solid rgba(0,119,204,.12);
}

.mission-badge {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem; font-weight: 700; letter-spacing: .16em;
  color: var(--accent); margin-bottom: 1.8rem;
}

.mission-badge::before {
  content: ''; width: 32px; height: 2px;
  background: var(--gradient); border-radius: 1px;
}

.msg-lead {
  font-size: 1.35rem; font-weight: 800;
  color: var(--text); line-height: 1.5;
  margin-bottom: 2rem;
}

.msg-lead .hl {
  background: var(--gradient);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.msg-body { font-size: .97rem; color: var(--text-light); line-height: 2.1; }
.msg-body p { margin-bottom: 1.6rem; }
.msg-body p:last-child { margin-bottom: 0; }

.msg-quote {
  border-left: 4px solid var(--accent);
  padding: 1.2rem 1.5rem;
  background: rgba(0,188,212,.05);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
  font-size: 1rem; font-weight: 700; color: var(--text);
  line-height: 1.7;
}

.msg-signature {
  margin-top: 3rem; padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; gap: 1.5rem;
}

.sig-logo { height: 38px; width: auto; object-fit: contain; opacity: .65; }

.sig-info { font-size: .86rem; color: var(--text-muted); }
.sig-info strong { display: block; font-size: 1rem; color: var(--text); font-weight: 700; }

.values-section { padding: 5rem 0; background: var(--bg-light); }

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

.val-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 2rem; border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); text-align: center;
  transition: transform .3s, box-shadow .3s;
}

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

.val-num {
  font-family: 'Montserrat', sans-serif; font-size: 2.5rem; font-weight: 900;
  background: var(--gradient); -webkit-background-clip: text;
  -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1; margin-bottom: .6rem;
}

.val-card h3 { font-size: 1.1rem; font-weight: 800; color: var(--text); margin-bottom: .8rem; }
.val-card p  { font-size: .85rem; color: var(--text-light); line-height: 1.8; }

/* message.html Responsive */
@media(max-width:1024px) {
  .msg-layout { grid-template-columns: 1fr; gap: 3rem; }
  .msg-photo-col { max-width: 360px; margin: 0 auto; }
}

@media(max-width:768px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   contact.html — お問い合わせ専用スタイル
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: start;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2rem;
}

.contact-card-head {
  background: var(--gradient);
  padding: 2rem 2.5rem;
  position: relative; overflow: hidden;
}

.contact-card-head::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(255,255,255,.1), transparent 60%);
}

.contact-card-head > * { position: relative; z-index: 1; }

.contact-card-head .head-en {
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem; font-weight: 700; letter-spacing: .2em;
  color: rgba(255,255,255,.65); margin-bottom: .4rem;
}

.contact-card-head h2 {
  font-size: 1.4rem; font-weight: 800;
  color: var(--white); margin-bottom: .5rem;
}

.contact-card-head p {
  font-size: .88rem; color: rgba(255,255,255,.72); line-height: 1.8;
}

.contact-card-body { padding: 2.5rem; }

.email-block {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 2.5rem 2rem;
  background: var(--bg-light);
  border-radius: var(--radius-lg); border: 2px dashed var(--border);
  margin-bottom: 2rem;
  transition: border-color .3s, background .3s;
}

.email-block:hover { border-color: rgba(0,119,204,.25); background: rgba(0,119,204,.02); }

.email-icon {
  width: 64px; height: 64px;
  background: var(--gradient); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.2rem;
  box-shadow: 0 0 28px rgba(0,119,204,.3);
}

.email-icon i { font-size: 1.5rem; color: var(--white); }

.email-label {
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem; font-weight: 700; letter-spacing: .18em;
  color: var(--text-muted); margin-bottom: .6rem;
}

.email-addr {
  display: block;
  font-size: 1.25rem; font-weight: 700; color: var(--text);
  margin-bottom: 1.4rem; word-break: break-all;
  transition: color .2s;
}

.email-addr:hover { color: var(--primary); }

.email-note {
  font-size: .8rem; color: var(--text-muted);
  margin-top: 1.2rem;
  display: flex; align-items: center; gap: .4rem;
  justify-content: center;
}

.email-note i { color: var(--accent); font-size: .85rem; }

.contact-steps { margin-top: 2rem; }

.contact-steps h3 {
  font-size: .9rem; font-weight: 700; color: var(--text);
  margin-bottom: 1.2rem;
  display: flex; align-items: center; gap: .6rem;
}

.contact-steps h3::before {
  content: ''; width: 4px; height: 1em; background: var(--gradient); border-radius: 2px;
}

.steps-list { display: flex; flex-direction: column; gap: .8rem; }

.step-row {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1rem 1.2rem; background: var(--bg-light);
  border-radius: var(--radius); border: 1px solid var(--border);
}

.step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--gradient); color: var(--white);
  font-family: 'Montserrat', sans-serif; font-size: .7rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

.step-row-title { font-size: .88rem; font-weight: 700; color: var(--text); margin-bottom: .2rem; }
.step-row-desc  { font-size: .8rem; color: var(--text-muted); line-height: 1.65; }

.contact-sidebar { display: flex; flex-direction: column; gap: 1.5rem; }

.info-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.info-card h4 {
  font-size: .74rem; font-weight: 700; letter-spacing: .15em;
  color: var(--text-muted); font-family: 'Montserrat', sans-serif;
  margin-bottom: 1.2rem;
}

.info-row {
  display: flex; align-items: flex-start; gap: .8rem;
  padding: .75rem 0; border-bottom: 1px solid var(--border);
  font-size: .85rem; color: var(--text-light); line-height: 1.7;
}

.info-row:last-child { border-bottom: none; }
.info-row i { color: var(--accent); font-size: .95rem; margin-top: .1rem; flex-shrink: 0; }
.info-row a { color: var(--primary); }
.info-row a:hover { text-decoration: underline; }

.svc-shortcut { display: flex; flex-direction: column; gap: .5rem; }

.svc-link {
  display: flex; align-items: center; gap: .75rem;
  padding: .75rem 1rem;
  background: var(--bg-light); border-radius: var(--radius);
  border: 1px solid var(--border); font-size: .84rem;
  color: var(--text-light); transition: all .22s;
}

.svc-link:hover { background: rgba(0,119,204,.06); color: var(--primary); border-color: rgba(0,119,204,.15); }
.svc-link i { color: var(--accent); font-size: .9rem; width: 18px; text-align: center; }

/* contact.html Responsive */
@media(max-width:1024px) {
  .contact-layout { grid-template-columns: 1fr; }
}

/* ============================================================
   faq.html — FAQ専用スタイル
   ============================================================ */
.faq-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 4rem;
  align-items: start;
}

.faq-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.faq-sidebar h3 {
  font-size: .75rem; font-weight: 700;
  letter-spacing: .15em; color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
}

.faq-cats { display: flex; flex-direction: column; gap: .4rem; }

.fcat {
  display: flex; align-items: center; gap: .7rem;
  padding: .65rem 1rem; border-radius: var(--radius);
  font-size: .85rem; font-weight: 500; color: var(--text-light);
  border: 1px solid transparent; cursor: pointer;
  transition: all .22s; background: none;
  font-family: 'Noto Sans JP', sans-serif;
  text-align: left; width: 100%;
}

.fcat:hover { background: rgba(0,119,204,.05); color: var(--primary); }
.fcat.active { background: rgba(0,119,204,.08); color: var(--primary); border-color: rgba(0,119,204,.15); font-weight: 700; }
.fcat i { width: 18px; text-align: center; font-size: .85rem; }

.faq-group { margin-bottom: 3rem; }

.faq-group-title {
  display: flex; align-items: center; gap: .75rem;
  font-size: 1rem; font-weight: 800; color: var(--text);
  margin-bottom: 1.2rem;
  padding-bottom: .8rem; border-bottom: 2px solid var(--bg-gray);
}

.faq-group-title i { color: var(--accent); }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: .75rem;
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: border-color .25s, box-shadow .25s;
}

.faq-item:hover { border-color: rgba(0,119,204,.2); }
.faq-item.open { border-color: rgba(0,119,204,.28); box-shadow: var(--shadow-md); }

.faq-q {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.3rem; cursor: pointer;
  transition: background .2s;
  border: none; background: none; width: 100%;
  text-align: left; font-family: 'Noto Sans JP', sans-serif;
}

.faq-q:hover { background: rgba(0,119,204,.02); }

.q-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--gradient); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: .82rem; color: var(--white);
}

.q-text { flex: 1; font-size: .92rem; font-weight: 600; color: var(--text); line-height: 1.5; }

.q-toggle {
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(0,119,204,.08);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .25s;
}

.q-toggle i { color: var(--primary); font-size: .76rem; transition: transform .3s; }
.faq-item.open .q-toggle { background: var(--gradient); }
.faq-item.open .q-toggle i { transform: rotate(180deg); color: var(--white); }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s ease;
}

.faq-a-inner {
  padding: .9rem 1.3rem 1.2rem 4.3rem;
  font-size: .9rem; color: var(--text-light); line-height: 1.9;
  border-top: 1px solid var(--border);
}

.faq-cta {
  margin-top: 2.5rem;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  padding: 2rem; text-align: center;
  border: 1px solid var(--border);
}

.faq-cta p { font-size: .92rem; color: var(--text-light); margin-bottom: 1.2rem; }

/* faq.html Responsive */
@media(max-width:1024px) {
  .faq-layout { grid-template-columns: 1fr; }
  .faq-sidebar { position: static; }
  .faq-cats { flex-direction: row; flex-wrap: wrap; }
}

/* ============================================================
   news.html — お知らせ専用スタイル
   ============================================================ */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 4rem;
  align-items: start;
}

.news-item {
  display: grid;
  grid-template-columns: 100px auto 1fr;
  align-items: start;
  gap: 1.2rem;
  padding: 1.5rem 1.8rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: .9rem;
  box-shadow: var(--shadow-sm);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}

.news-item:hover {
  transform: translateX(5px);
  border-color: rgba(0,119,204,.2);
  box-shadow: var(--shadow-md);
}

.news-date {
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem; font-weight: 600; color: var(--primary);
  padding-top: .1rem; white-space: nowrap;
}

.news-badge {
  background: rgba(0,188,212,.08); color: var(--accent);
  padding: .2rem .7rem; border-radius: 50px;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap; align-self: center;
}

.news-badge.release { background: rgba(0,119,204,.08); color: var(--primary); }
.news-badge.update  { background: rgba(0,200,100,.08); color: #00a855; }

.news-content h3 {
  font-size: .95rem; font-weight: 700; color: var(--text);
  margin-bottom: .3rem; line-height: 1.5;
}

.news-content p {
  font-size: .84rem; color: var(--text-muted); line-height: 1.7;
}

.news-sidebar { position: sticky; top: calc(var(--header-h) + 2rem); }

.sidebar-card {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 1.5rem;
  box-shadow: var(--shadow-sm); margin-bottom: 1.5rem;
}

.sidebar-card h4 {
  font-size: .75rem; font-weight: 700; letter-spacing: .14em;
  color: var(--text-muted); font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
}

.sidebar-cats { display: flex; flex-direction: column; gap: .4rem; }

.scat {
  display: flex; align-items: center; justify-content: space-between;
  padding: .5rem .8rem; border-radius: var(--radius);
  font-size: .84rem; color: var(--text-light);
  border: none; background: none; cursor: pointer;
  transition: background .2s, color .2s; font-family: 'Noto Sans JP', sans-serif;
  width: 100%; text-align: left;
}

.scat:hover { background: rgba(0,119,204,.05); color: var(--primary); }
.scat.active { background: rgba(0,119,204,.08); color: var(--primary); font-weight: 700; }

.scat-count {
  background: var(--bg-gray); color: var(--text-muted);
  padding: .15rem .55rem; border-radius: 50px; font-size: .72rem;
  font-family: 'Montserrat', sans-serif; font-weight: 600;
}

.contact-widget {
  background: var(--navy); border-radius: var(--radius-lg);
  padding: 1.5rem; text-align: center;
  position: relative; overflow: hidden;
}

.contact-widget::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at top right, rgba(0,188,212,.15), transparent 60%);
}

.contact-widget > * { position: relative; z-index: 1; }

.cw-icon {
  width: 52px; height: 52px; background: var(--gradient);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem; box-shadow: 0 0 24px rgba(0,188,212,.3);
}

.cw-icon i { font-size: 1.2rem; color: var(--white); }

.contact-widget h4 { font-size: .9rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.contact-widget p  { font-size: .78rem; color: rgba(255,255,255,.55); margin-bottom: 1.2rem; line-height: 1.7; }

/* news.html Responsive */
@media(max-width:1024px) {
  .news-layout { grid-template-columns: 1fr; }
  .news-sidebar { position: static; }
}

@media(max-width:600px) {
  .news-item { grid-template-columns: 1fr; gap: .5rem; padding: 1rem 1.2rem; }
}

/* ============================================================
   privacy.html — プライバシーポリシー専用スタイル
   ============================================================ */
.privacy-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: start;
}

.privacy-toc {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.privacy-toc h4 {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em;
  color: var(--text-muted); font-family: 'Montserrat', sans-serif;
  margin-bottom: 1rem;
}

.toc-list { display: flex; flex-direction: column; gap: .3rem; }

.toc-list a {
  font-size: .82rem; color: var(--text-light);
  padding: .4rem .6rem; border-radius: 6px;
  display: block; transition: all .2s;
}

.toc-list a:hover { color: var(--primary); background: rgba(0,119,204,.05); }

.privacy-content {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); padding: 3rem;
  box-shadow: var(--shadow-sm);
}

.privacy-content .doc-header { margin-bottom: 2.5rem; padding-bottom: 1.5rem; border-bottom: 2px solid var(--bg-gray); }
.privacy-content .doc-header h1 { font-size: 1.5rem; font-weight: 800; color: var(--text); margin-bottom: .5rem; }
.privacy-content .doc-date { font-size: .82rem; color: var(--text-muted); }

.privacy-content section { margin-bottom: 2.5rem; }
.privacy-content h2 {
  font-size: 1rem; font-weight: 800; color: var(--primary);
  margin-bottom: 1rem; padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: .6rem;
}

.privacy-content h2::before {
  content: ''; width: 4px; height: 1em;
  background: var(--gradient); border-radius: 2px; flex-shrink: 0;
}

.privacy-content p {
  font-size: .9rem; color: var(--text-light); line-height: 1.95; margin-bottom: .8rem;
}

.privacy-content ul {
  list-style: disc; padding-left: 1.5rem; margin-bottom: .8rem;
}

.privacy-content li {
  font-size: .9rem; color: var(--text-light); line-height: 1.85; margin-bottom: .3rem;
}

.privacy-contact-box {
  background: var(--bg-light); border-radius: var(--radius);
  padding: 1.5rem; border: 1px solid var(--border); margin-top: 1rem;
}

.privacy-contact-box p { margin-bottom: .3rem; }
.privacy-contact-box a { color: var(--primary); }
.privacy-contact-box a:hover { text-decoration: underline; }

/* privacy.html Responsive */
@media(max-width:1024px) {
  .privacy-layout { grid-template-columns: 1fr; }
  .privacy-toc { position: static; }
}

@media(max-width:600px) {
  .privacy-content { padding: 1.5rem; }
}

/* ============================================================
   works.html — 導入事例専用スタイル
   ============================================================ */
.works-notice {
  text-align: center;
  padding: 3rem 2rem;
  max-width: 680px; margin: 0 auto 4rem;
}

.works-notice-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(0,119,204,.08), rgba(0,188,212,.08));
  border: 2px solid rgba(0,119,204,.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.5rem;
}

.works-notice-icon i { font-size: 1.8rem; color: var(--primary); }

.works-notice h2 { font-size: 1.3rem; font-weight: 800; color: var(--text); margin-bottom: 1rem; }
.works-notice p  { font-size: .95rem; color: var(--text-muted); line-height: 1.9; }

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

.work-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}

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

.work-thumb {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #e4ecf7, #d0dcea);
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}

.work-thumb::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,119,204,.05), rgba(0,188,212,.05));
}

.work-thumb i { font-size: 3rem; color: rgba(0,119,204,.18); position: relative; z-index: 1; }

.cs-badge {
  position: absolute; top: .9rem; right: .9rem;
  background: var(--gradient); color: var(--white);
  padding: .28rem .8rem; border-radius: 50px;
  font-size: .68rem; font-weight: 700; letter-spacing: .1em;
  font-family: 'Montserrat', sans-serif;
}

.work-body { padding: 1.5rem; }
.work-cat {
  font-size: .7rem; font-weight: 700; letter-spacing: .14em;
  color: var(--accent); font-family: 'Montserrat', sans-serif; margin-bottom: .5rem;
}
.work-card h3 { font-size: 1rem; font-weight: 700; color: var(--text-muted); margin-bottom: .5rem; }
.work-card p  { font-size: .82rem; color: var(--text-muted); line-height: 1.7; }

.works-cta {
  background: var(--navy); border-radius: var(--radius-lg);
  padding: 3rem; text-align: center;
  position: relative; overflow: hidden;
}

.works-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0,188,212,.1), transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(0,119,204,.1), transparent 60%);
}

.works-cta > * { position: relative; z-index: 1; }
.works-cta h2 { font-size: 1.4rem; font-weight: 800; color: var(--white); margin-bottom: .8rem; }
.works-cta p  { font-size: .92rem; color: rgba(255,255,255,.6); margin-bottom: 1.8rem; }

/* works.html Responsive */
@media(max-width:1024px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:600px)  { .works-grid { grid-template-columns: 1fr; } }


/* ============================================================
   Contact Form 7 スタイル調整
   ============================================================ */
.cf7-form label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: .4rem;
}

.cf7-form input[type="text"],
.cf7-form input[type="email"],
.cf7-form select,
.cf7-form textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .9rem;
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text);
  background: var(--bg-light);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.cf7-form input:focus,
.cf7-form select:focus,
.cf7-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0,119,204,.1);
  background: var(--white);
}

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

.cf7-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 2rem;
  background: var(--gradient);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0,119,204,.32);
  transition: box-shadow .3s, transform .3s;
}

.cf7-form .wpcf7-submit:hover {
  box-shadow: 0 6px 26px rgba(0,119,204,.48);
  transform: translateY(-2px);
}

.wpcf7-not-valid-tip {
  color: #e53e3e;
  font-size: .78rem;
  margin-top: .3rem;
  display: block;
}

.wpcf7-response-output {
  margin-top: 1.5rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius);
  font-size: .88rem;
}

.wpcf7-mail-sent-ok {
  background: rgba(0,168,100,.08);
  border: 1px solid rgba(0,168,100,.3);
  color: #00a864;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted {
  background: rgba(229,62,62,.08);
  border: 1px solid rgba(229,62,62,.3);
  color: #e53e3e;
}