/* ============================================================
   W&S LLC. — style.css  v5.0
   Cyber × Luxury — Dark / Light dual theme
   背景画像: assets/bg-dark.jpg / assets/bg-light.jpg
   ============================================================ */

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;font-size:16px;}
body{
  font-family:'Helvetica Neue',Arial,'Hiragino Kaku Gothic ProN','Hiragino Sans',sans-serif;
  line-height:1.8;
  background:var(--bg);
  color:var(--text);
  transition:background .4s,color .4s;
}
a{text-decoration:none;color:inherit;}
ul{list-style:none;}
img{max-width:100%;height:auto;display:block;}

/* ============================================================
   TOKENS — DARK MODE (default)
   ============================================================ */
:root{
  /* Core palette */
  --neon:          #00c8ff;
  --neon-purple:   #7b5cf5;
  --neon-glow:     rgba(0,200,255,0.35);
  --grad:          linear-gradient(135deg,#003f7f 0%,#0076be 50%,#7b5cf5 100%);
  --grad-text:     linear-gradient(135deg,#00c8ff 0%,#7b5cf5 60%,#00e5ff 100%);
  --grad-gold:     linear-gradient(135deg,#00c8ff,#7b5cf5);

  /* Backgrounds */
  --bg:            #020b18;
  --bg2:           #030f24;
  --bg3:           #010810;
  --surface:       rgba(0,20,55,0.75);
  --surface2:      rgba(0,10,35,0.88);
  --glass:         rgba(0,30,70,0.6);

  /* Text */
  --text:          #e8f4ff;
  --text2:         rgba(160,200,230,0.8);
  --text3:         rgba(100,160,210,0.6);

  /* Borders */
  --border:        rgba(0,200,255,0.1);
  --border-md:     rgba(0,200,255,0.22);
  --border-bright: rgba(0,200,255,0.45);

  /* Shadows */
  --shadow-sm:     0 2px 12px rgba(0,0,0,0.3);
  --shadow-md:     0 6px 30px rgba(0,0,0,0.45);
  --shadow-lg:     0 12px 50px rgba(0,0,0,0.6);
  --shadow-neon:   0 0 20px rgba(0,200,255,0.4),0 0 50px rgba(123,92,245,0.15);

  /* Nav */
  --nav-bg:        rgba(2,11,24,0.94);
  --nav-border:    rgba(0,200,255,0.12);
  --topbar-bg:     #010c1c;
  --topbtn-bg:     rgba(0,200,255,0.06);
  --topbtn-border: rgba(0,200,255,0.22);
  --topbtn-color:  #80d8ff;

  /* Drawer */
  --drawer-bg:     rgba(2,14,35,0.98);
  --drawer-text:   #c8e8ff;

  /* Footer */
  --footer-bg:     #010810;
  --footer-text:   rgba(100,160,210,0.45);

  /* Form */
  --input-bg:      rgba(0,20,55,0.6);
  --input-border:  rgba(0,200,255,0.15);
  --input-text:    #c8e8ff;
  --input-ph:      rgba(100,160,210,0.5);

  /* Hero */
  --hero-bg-from:  #010c1e;
  --hero-bg-to:    #040d22;
  --hero-bg-img:   url('assets/bg-dark.jpg');
  --hero-img-opacity: 0.12;
  --hero-img-blend:   screen;
  --hero-grid-color:  rgba(0,200,255,0.045);
  --hero-h1:       #e8f4ff;
  --hero-p:        rgba(160,200,230,0.75);
  --hero-en:       rgba(0,200,255,0.4);
  --hero-badge-bg: rgba(0,200,255,0.05);
  --hero-badge-border: rgba(0,200,255,0.28);
  --hero-badge-color: #00c8ff;

  /* Buttons */
  --btn2-bg:       rgba(0,200,255,0.04);
  --btn2-text:     #80d8ff;
  --btn2-border:   rgba(0,200,255,0.35);

  /* Cards */
  --card-bg:       linear-gradient(135deg,rgba(0,20,55,0.75),rgba(2,10,30,0.88));
  --card-border:   rgba(0,200,255,0.1);
  --card-h:        #c8e8ff;
  --card-p:        rgba(120,170,210,0.72);

  /* Tags */
  --tag-bg:        rgba(0,200,255,0.06);
  --tag-color:     rgba(0,200,255,0.7);
  --tag-border:    rgba(0,200,255,0.15);

  /* KPI / Section */
  --sec-eyebrow:   #00c8ff;
  --sec-title:     #e8f4ff;
  --sec-sub:       rgba(160,200,230,0.65);
  --sec-bar:       linear-gradient(90deg,#00c8ff,#7b5cf5);

  /* News */
  --news-border:   rgba(0,200,255,0.1);
  --news-date:     rgba(100,160,210,0.6);
  --news-title:    #c8e8ff;
  --badge-info-bg:   rgba(0,200,255,0.12);
  --badge-info-text: #60b0e8;
  --badge-new-bg:    rgba(34,197,94,0.12);
  --badge-new-text:  #4ade80;
  --badge-event-bg:  rgba(234,179,8,0.12);
  --badge-event-text:#fbbf24;

  /* About */
  --about-bg:      rgba(0,6,18,0.85);
  --about-logo-bg: linear-gradient(135deg,rgba(0,30,80,0.6),rgba(0,15,40,0.85));
  --about-body:    rgba(160,200,230,0.75);
  --kpi-lbl:       rgba(120,170,210,0.55);

  /* Table */
  --table-th:      rgba(100,160,210,0.6);
  --table-td:      rgba(160,200,230,0.8);
  --table-border:  rgba(0,200,255,0.1);

  /* Wolvy */
  --wolvy-bubble-bg:     rgba(0,20,50,0.93);
  --wolvy-bubble-border: rgba(0,200,255,0.28);
  --wolvy-bubble-text:   #c8e8ff;
  --wolvy-name:          #00c8ff;
  --wolvy-glow:          rgba(0,200,255,0.45);
  --wolvy-shadow:        drop-shadow(0 0 18px rgba(0,200,255,0.4));

  /* Scan line */
  --scan-color: rgba(0,200,255,0.45);
}

/* ============================================================
   TOKENS — LIGHT MODE
   ============================================================ */
[data-theme="light"]{
  --neon:          #0076be;
  --neon-purple:   #5040b0;
  --neon-glow:     rgba(0,118,190,0.2);
  --grad:          linear-gradient(135deg,#003f7f 0%,#0076be 100%);
  --grad-text:     linear-gradient(135deg,#003f7f 0%,#0076be 60%,#0090d0 100%);
  --grad-gold:     linear-gradient(135deg,#003f7f,#0076be);

  --bg:            #f4f8fd;
  --bg2:           #eaf2fb;
  --bg3:           #fff;
  --surface:       rgba(255,255,255,0.92);
  --surface2:      rgba(240,248,255,0.95);
  --glass:         rgba(255,255,255,0.85);

  --text:          #0a1628;
  --text2:         #334155;
  --text3:         #5a7390;

  --border:        rgba(0,100,180,0.12);
  --border-md:     rgba(0,100,180,0.22);
  --border-bright: rgba(0,118,190,0.4);

  --shadow-sm:     0 2px 12px rgba(0,50,120,0.06);
  --shadow-md:     0 6px 30px rgba(0,50,120,0.1);
  --shadow-lg:     0 12px 50px rgba(0,50,120,0.14);
  --shadow-neon:   0 4px 20px rgba(0,118,190,0.3);

  --nav-bg:        rgba(255,255,255,0.96);
  --nav-border:    rgba(0,100,180,0.1);
  --topbar-bg:     #0a2040;
  --topbtn-bg:     rgba(255,255,255,0.1);
  --topbtn-border: rgba(255,255,255,0.22);
  --topbtn-color:  #fff;

  --drawer-bg:     rgba(255,255,255,0.98);
  --drawer-text:   #0a1628;

  --footer-bg:     #0a1628;
  --footer-text:   rgba(120,160,200,0.45);

  --input-bg:      rgba(238,244,251,0.9);
  --input-border:  rgba(0,100,180,0.16);
  --input-text:    #0a1628;
  --input-ph:      #90a8c0;

  --hero-bg-from:  #d4eaff;
  --hero-bg-to:    #f4f8fd;
  --hero-bg-img:   url('assets/bg-light.jpg');
  --hero-img-opacity: 0.07;
  --hero-img-blend:   multiply;
  --hero-grid-color:  rgba(0,118,190,0.05);
  --hero-h1:       #0a1628;
  --hero-p:        #334155;
  --hero-en:       rgba(0,100,180,0.42);
  --hero-badge-bg: rgba(0,118,190,0.06);
  --hero-badge-border: rgba(0,118,190,0.25);
  --hero-badge-color:  #0076be;

  --btn2-bg:       rgba(255,255,255,0.88);
  --btn2-text:     #003f7f;
  --btn2-border:   rgba(0,80,160,0.28);

  --card-bg:       linear-gradient(135deg,rgba(255,255,255,0.95),rgba(240,248,255,0.98));
  --card-border:   rgba(0,100,180,0.1);
  --card-h:        #0a1628;
  --card-p:        #5a7390;

  --tag-bg:        rgba(0,118,190,0.06);
  --tag-color:     #0060a0;
  --tag-border:    rgba(0,118,190,0.14);

  --sec-eyebrow:   #0076be;
  --sec-title:     #0a1628;
  --sec-sub:       #5a7390;
  --sec-bar:       linear-gradient(90deg,#003f7f,#0076be);

  --news-border:   rgba(0,100,180,0.1);
  --news-date:     #5a7390;
  --news-title:    #0a1628;
  --badge-info-bg:   rgba(0,118,190,0.1);
  --badge-info-text: #005a9e;
  --badge-new-bg:    rgba(22,163,74,0.1);
  --badge-new-text:  #166534;
  --badge-event-bg:  rgba(217,119,6,0.1);
  --badge-event-text:#92400e;

  --about-bg:      #fff;
  --about-logo-bg: linear-gradient(135deg,#eef4fb,#daeaf8);
  --about-body:    #334155;
  --kpi-lbl:       #5a7390;

  --table-th:      #5a7390;
  --table-td:      #334155;
  --table-border:  rgba(0,100,180,0.1);

  --wolvy-bubble-bg:     rgba(255,255,255,0.96);
  --wolvy-bubble-border: rgba(0,118,190,0.22);
  --wolvy-bubble-text:   #0a1628;
  --wolvy-name:          #0076be;
  --wolvy-glow:          rgba(0,118,190,0.3);
  --wolvy-shadow:        drop-shadow(0 6px 16px rgba(0,80,180,0.22));

  --scan-color:    rgba(0,118,190,0.3);
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container{max-width:1040px;margin:0 auto;padding:0 32px;}
.section{padding:80px 0;transition:background .4s;}
.section.alt{background:var(--bg2);}
.text-center{text-align:center;}
.mt-8{margin-top:8px;}.mt-16{margin-top:16px;}.mt-24{margin-top:24px;}.mt-32{margin-top:32px;}

.section-eyebrow{
  font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  color:var(--sec-eyebrow);margin-bottom:8px;text-align:center;transition:color .4s;
}
.section-title{
  font-size:28px;font-weight:800;color:var(--sec-title);
  text-align:center;margin-bottom:4px;transition:color .4s;
}
.section-title::after{
  content:'';display:block;width:40px;height:2px;
  background:var(--sec-bar);border-radius:2px;margin:12px auto 0;
}
.section-title.left{text-align:left;}
.section-title.left::after{margin-left:0;}
.section-sub{
  font-size:15px;color:var(--sec-sub);text-align:center;
  line-height:1.75;margin:16px 0 40px;transition:color .4s;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  font-size:14px;font-weight:700;border-radius:50px;cursor:pointer;
  transition:all .25s;text-decoration:none;white-space:nowrap;border:none;
}
.btn-primary{
  background:var(--grad);color:#fff;padding:13px 32px;
  box-shadow:var(--shadow-neon);position:relative;overflow:hidden;
}
.btn-primary::after{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,0.1),transparent 60%);pointer-events:none;}
.btn-primary:hover{opacity:.88;transform:translateY(-2px);box-shadow:0 0 32px var(--neon-glow),var(--shadow-neon);}

.btn-secondary{
  background:var(--btn2-bg);color:var(--btn2-text);
  padding:12px 30px;border:1.5px solid var(--btn2-border);backdrop-filter:blur(6px);
}
.btn-secondary:hover{background:var(--bg2);box-shadow:var(--shadow-sm);}

.btn-ghost{
  background:transparent;color:var(--sec-eyebrow);
  padding:10px 20px;border:1.5px solid var(--border-md);font-size:13px;
}
.btn-ghost:hover{background:var(--surface);box-shadow:var(--shadow-sm);}
.btn-sm{padding:8px 20px;font-size:13px;}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-nav{
  position:sticky;top:0;z-index:500;
  background:var(--nav-bg);border-bottom:1px solid var(--nav-border);
  box-shadow:var(--shadow-sm);
  transition:background .4s,border-color .4s;
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
}

.nav-main{display:flex;align-items:center;justify-content:space-between;padding:12px 28px;}

/* コントロール群（言語・テーマ・ハンバーガー）をまとめて右側に */
.nav-controls{display:flex;align-items:center;gap:8px;}

/* 言語・テーマ切替ボタン共通スタイル */
.nav-ctrl-btn{
  display:inline-flex;align-items:center;gap:5px;
  font-size:12px;font-weight:600;
  padding:6px 12px;border-radius:8px;cursor:pointer;
  border:1px solid var(--border-md);
  background:var(--surface);
  color:var(--text2);
  letter-spacing:.03em;transition:all .22s;
  white-space:nowrap;
}
.nav-ctrl-btn:hover{
  background:var(--grad);border-color:transparent;color:#fff;
  box-shadow:0 0 14px var(--neon-glow);
}
[data-theme=""] .nav-ctrl-btn,
[data-theme="dark"] .nav-ctrl-btn{
  background:rgba(255,255,255,0.06);
  border-color:rgba(255,255,255,0.12);
  color:rgba(255,255,255,0.75);
}
[data-theme=""] .nav-ctrl-btn:hover,
[data-theme="dark"] .nav-ctrl-btn:hover{
  background:var(--grad);border-color:transparent;color:#fff;
}
[data-theme="light"] .nav-ctrl-btn{
  background:rgba(0,60,140,0.06);
  border-color:rgba(0,60,140,0.15);
  color:var(--text2);
}
[data-theme="light"] .nav-ctrl-btn:hover{
  background:var(--grad);border-color:transparent;color:#fff;
}
.nav-logo{display:flex;align-items:center;gap:10px;text-decoration:none;}
.nav-logo img{width:36px;height:36px;border-radius:50%;border:1px solid var(--border-md);}
.nav-logo-text{
  font-size:16px;font-weight:900;letter-spacing:.05em;
  background:var(--grad-text);-webkit-background-clip:text;-webkit-text-fill-color:transparent;
}

.hamburger{
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:5px;width:40px;height:40px;border:1px solid var(--border);
  border-radius:8px;background:var(--surface);cursor:pointer;transition:all .2s;
}
.hamburger:hover{background:var(--grad);border-color:transparent;}
.hamburger span{display:block;width:18px;height:1.5px;background:var(--text3);transition:transform .25s,opacity .2s,width .2s,background .2s;}
.hamburger:hover span{background:#fff;}
.hamburger.open span:nth-child(1){transform:translateY(6.5px) rotate(45deg);}
.hamburger.open span:nth-child(2){opacity:0;width:0;}
.hamburger.open span:nth-child(3){transform:translateY(-6.5px) rotate(-45deg);}

.drawer{
  position:fixed;top:0;right:-280px;width:260px;height:100%;
  background:var(--drawer-bg);border-left:1px solid var(--border);
  z-index:600;display:flex;flex-direction:column;padding:72px 0 40px;
  transition:right .3s ease,background .4s;
  box-shadow:-8px 0 30px rgba(0,0,0,.2);
  backdrop-filter:blur(20px);
}
.drawer.open{right:0;}
.drawer-overlay{
  position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:550;
  opacity:0;pointer-events:none;transition:opacity .3s;backdrop-filter:blur(2px);
}
.drawer-overlay.open{opacity:1;pointer-events:all;}
.drawer-close{
  position:absolute;top:16px;right:16px;width:32px;height:32px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--border);border-radius:6px;
  background:var(--surface);color:var(--text3);font-size:16px;cursor:pointer;
}
.drawer-section-label{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--text3);padding:16px 24px 5px;}
.drawer nav a{
  display:flex;align-items:center;gap:10px;padding:13px 24px;
  font-size:14px;font-weight:500;color:var(--drawer-text);
  border-bottom:1px solid var(--border);transition:all .15s;text-decoration:none;
}
.drawer nav a:hover,.drawer nav a.active{color:var(--neon);background:var(--surface);}
.drawer nav a .icon{font-size:16px;}
.drawer-cta{padding:20px 24px 0;margin-top:auto;}
.drawer-cta a{
  display:block;text-align:center;padding:11px;background:var(--grad);
  color:#fff;font-weight:700;font-size:13px;border-radius:8px;text-decoration:none;
  box-shadow:var(--shadow-neon);
}

/* ============================================================
   HERO — Background image switches with theme
   ============================================================ */
.hero{
  position:relative;min-height:520px;
  display:flex;align-items:center;justify-content:center;
  flex-direction:column;text-align:center;
  padding:100px 32px 80px;overflow:hidden;
}
.hero-bg-base{
  position:absolute;inset:0;z-index:0;
  background:linear-gradient(160deg,var(--hero-bg-from) 0%,var(--hero-bg-to) 100%);
  transition:background .4s;
}
/* ★ 背景画像レイヤー — CSS変数で画像URLごと切り替わる */
.hero-bg-img{
  position:absolute;inset:0;z-index:1;
  background-image:var(--hero-bg-img);
  background-size:cover;background-position:center;
  opacity:var(--hero-img-opacity);
  mix-blend-mode:var(--hero-img-blend);
  transition:opacity .6s, background-image .4s;
}
.hero-grid{
  position:absolute;inset:0;z-index:2;
  background-image:
    linear-gradient(var(--hero-grid-color) 1px,transparent 1px),
    linear-gradient(90deg,var(--hero-grid-color) 1px,transparent 1px);
  background-size:44px 44px;pointer-events:none;transition:all .4s;
}
.hero-orb1{
  position:absolute;width:520px;height:520px;border-radius:50%;
  background:radial-gradient(ellipse,var(--neon-glow) 0%,transparent 65%);
  top:50%;left:50%;transform:translate(-50%,-50%);
  pointer-events:none;animation:orb-pulse 6s ease-in-out infinite;
  transition:background .4s;
}
.hero-orb2{
  position:absolute;width:280px;height:280px;border-radius:50%;
  background:radial-gradient(ellipse,rgba(123,92,245,0.12) 0%,transparent 65%);
  top:15%;right:8%;pointer-events:none;animation:orb-pulse 8s ease-in-out infinite reverse;
}
@keyframes orb-pulse{
  0%,100%{transform:translate(-50%,-50%) scale(1);}
  50%{transform:translate(-50%,-50%) scale(1.1);}
}
.scan-line{
  position:absolute;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent,var(--scan-color),transparent);
  animation:scan 7s linear infinite;pointer-events:none;z-index:1;transition:background .4s;
}
@keyframes scan{
  0%{top:-2px;opacity:0;}5%{opacity:1;}95%{opacity:1;}100%{top:100%;opacity:0;}
}

.hero-content{position:relative;z-index:5;}
.hero-badge{
  display:inline-flex;align-items:center;gap:8px;
  font-size:11px;font-weight:600;letter-spacing:.18em;text-transform:uppercase;
  color:var(--hero-badge-color);
  border:1px solid var(--hero-badge-border);
  background:var(--hero-badge-bg);
  padding:5px 16px;border-radius:20px;margin-bottom:26px;backdrop-filter:blur(6px);
  transition:all .4s;
}
.badge-dot{
  width:6px;height:6px;border-radius:50%;background:var(--neon);
  animation:bdot 2s ease-in-out infinite;transition:background .4s;
}
@keyframes bdot{0%,100%{box-shadow:0 0 4px var(--neon);}50%{box-shadow:0 0 14px var(--neon),0 0 28px rgba(0,200,255,0.3);}}

.hero h1{
  font-size:46px;font-weight:900;line-height:1.2;color:var(--hero-h1);
  margin-bottom:14px;position:relative;letter-spacing:-.01em;transition:color .4s;
}
.hero h1 .accent{
  background:var(--grad-text);background-size:200%;
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  animation:grad-shift 5s ease infinite;
}
@keyframes grad-shift{0%,100%{background-position:0%;}50%{background-position:100%;}}

.typing-cursor{
  display:inline-block;width:3px;height:.85em;background:var(--neon);
  margin-left:2px;vertical-align:middle;
  animation:blink .8s step-end infinite;transition:background .4s;
}
@keyframes blink{0%,100%{opacity:1;}50%{opacity:0;}}

.hero-en{font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:var(--hero-en);margin-bottom:18px;transition:color .4s;}
.hero p{font-size:16px;color:var(--hero-p);max-width:480px;line-height:1.85;margin-bottom:36px;position:relative;transition:color .4s;}
.hero-btns{display:flex;gap:12px;flex-wrap:wrap;justify-content:center;}

.hero-scroll{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:4px;opacity:.4;z-index:5;}
.hero-scroll span{font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:var(--text3);}
.hero-scroll-line{width:1px;height:28px;background:linear-gradient(to bottom,var(--neon),transparent);animation:scrolldown 1.6s ease-in-out infinite;transition:background .4s;}
@keyframes scrolldown{
  0%{transform:scaleY(0);transform-origin:top;opacity:0;}
  50%{opacity:1;transform:scaleY(1);}
  100%{transform:scaleY(0);transform-origin:bottom;opacity:0;}
}

/* Wolvy Hero */
.hero-wolvy{
  position:absolute;right:4%;bottom:0;
  width:clamp(130px,18vw,210px);z-index:6;pointer-events:none;
  animation:wolvy-float 4s ease-in-out infinite;
  filter:var(--wolvy-shadow);
}
@keyframes wolvy-float{0%,100%{transform:translateY(0);}50%{transform:translateY(-12px);}}
.hero-wolvy-glow{
  text-align:center;width:65%;height:12px;border-radius:50%;
  background:radial-gradient(ellipse,var(--wolvy-glow) 0%,transparent 70%);
  margin:0 auto;animation:wglow 4s ease-in-out infinite;
}
@keyframes wglow{0%,100%{opacity:.9;}50%{opacity:.25;}}

/* ============================================================
   KPI SECTION
   ============================================================ */
.kpi-section{
  padding:36px 32px;
  background:var(--glass);border-top:1px solid var(--border);border-bottom:1px solid var(--border);
  backdrop-filter:blur(12px);transition:background .4s,border-color .4s;
}
.kpi-inner{display:flex;justify-content:center;gap:56px;align-items:center;}
.kpi{text-align:center;}
.kpi-num{
  font-size:22px;font-weight:900;
  background:var(--grad-text);-webkit-background-clip:text;-webkit-text-fill-color:transparent;
  opacity:0;transform:translateY(12px);transition:opacity .6s ease,transform .6s ease;
}
.kpi-num.kpi-visible{opacity:1;transform:translateY(0);}
.kpi-label{font-size:11px;color:var(--kpi-lbl);margin-top:4px;letter-spacing:.05em;transition:color .4s;}
.kpi-sep{width:1px;height:36px;background:linear-gradient(to bottom,transparent,var(--border-md),transparent);}

/* ============================================================
   SERVICES
   ============================================================ */
.business-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;}
.business-card{
  background:var(--card-bg);border:1px solid var(--card-border);
  border-radius:16px;padding:26px 20px 22px;
  position:relative;overflow:hidden;
  transition:transform .3s,box-shadow .3s,border-color .3s,background .4s;
  cursor:default;box-shadow:var(--shadow-sm);
  opacity:0;
}
.business-card::before{
  content:'';position:absolute;top:0;left:0;right:0;height:2px;
  background:var(--sec-bar);opacity:0;transition:opacity .3s;
}
.business-card:hover{border-color:var(--border-bright);transform:translateY(-4px);box-shadow:var(--shadow-md);}
.business-card:hover::before{opacity:1;}
.business-card.card-visible{animation:card-in .5s ease forwards;}
@keyframes card-in{from{opacity:0;transform:translateY(22px);}to{opacity:1;transform:translateY(0);}}

.business-icon{
  width:46px;height:46px;border-radius:12px;background:var(--grad);
  display:flex;align-items:center;justify-content:center;font-size:20px;
  margin-bottom:14px;box-shadow:var(--shadow-neon);
}
.business-card h3{font-size:14px;font-weight:700;color:var(--card-h);margin-bottom:8px;transition:color .4s;}
.business-card p{font-size:12px;color:var(--card-p);line-height:1.7;margin-bottom:14px;transition:color .4s;}
.business-tag-list{display:flex;flex-wrap:wrap;gap:5px;}
.business-tag{
  font-size:11px;padding:3px 10px;border-radius:20px;
  background:var(--tag-bg);color:var(--tag-color);border:1px solid var(--tag-border);
  transition:all .3s;
}
.business-card:hover .business-tag{border-color:var(--border-bright);}

/* ============================================================
   NEWS
   ============================================================ */
.news-list{display:flex;flex-direction:column;}
.news-item{
  display:grid;grid-template-columns:200px 1fr;align-items:center;
  gap:20px;padding:18px 0;border-bottom:1px solid var(--news-border);
  text-decoration:none;transition:opacity .2s;
}
.news-item:first-child{border-top:1px solid var(--news-border);}
.news-item:hover{opacity:.7;}
.news-meta{display:flex;align-items:center;gap:10px;}
.news-date{font-size:13px;color:var(--news-date);white-space:nowrap;transition:color .4s;}
.news-badge{font-size:11px;font-weight:600;padding:2px 10px;border-radius:20px;white-space:nowrap;}
.news-badge.info {background:var(--badge-info-bg); color:var(--badge-info-text);}
.news-badge.new  {background:var(--badge-new-bg);  color:var(--badge-new-text);}
.news-badge.event{background:var(--badge-event-bg);color:var(--badge-event-text);}
.news-title{font-size:14px;color:var(--news-title);line-height:1.6;transition:color .4s;}
.news-more{text-align:center;margin-top:32px;}

/* ============================================================
   ABOUT
   ============================================================ */
.about-layout{display:grid;grid-template-columns:240px 1fr;gap:56px;align-items:center;}
.about-logo-box{
  display:flex;align-items:center;justify-content:center;
  background:var(--about-logo-bg);border:1px solid var(--border-md);
  border-radius:20px;padding:44px;transition:all .4s;
}
.about-logo-box img{width:136px;height:136px;border-radius:50%;border:2px solid var(--border-md);box-shadow:var(--shadow-neon);}
.about-text p{font-size:14px;color:var(--about-body);line-height:1.95;margin-top:14px;transition:color .4s;}
.about-kpis{display:flex;gap:32px;margin-top:24px;flex-wrap:wrap;}
.kpi-display-num{font-size:20px;font-weight:900;background:var(--grad-text);-webkit-background-clip:text;-webkit-text-fill-color:transparent;}
.kpi-display-lbl{font-size:12px;color:var(--kpi-lbl);margin-top:2px;transition:color .4s;}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-layout{display:grid;grid-template-columns:1fr 1fr;gap:56px;margin-top:8px;}
.contact-info h3{font-size:18px;font-weight:700;color:var(--text);margin-bottom:10px;transition:color .4s;}
.contact-info p{font-size:14px;color:var(--text2);line-height:1.85;margin-bottom:22px;transition:color .4s;}
.contact-row{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:var(--text2);margin-bottom:9px;transition:color .4s;}
.contact-row-label{font-size:11px;color:var(--text3);width:56px;flex-shrink:0;padding-top:2px;font-weight:600;transition:color .4s;}
.form-row{margin-bottom:14px;}
.form-row label{display:block;font-size:12px;font-weight:600;color:var(--text3);margin-bottom:6px;transition:color .4s;}
.form-row input,.form-row textarea,.form-row select{
  width:100%;background:var(--input-bg);border:1px solid var(--input-border);
  border-radius:10px;color:var(--input-text);font-size:14px;padding:11px 14px;
  font-family:inherit;transition:border-color .2s,background .4s,color .4s;appearance:none;
}
.form-row input::placeholder,.form-row textarea::placeholder{color:var(--input-ph);}
.form-row input:focus,.form-row textarea:focus,.form-row select:focus{outline:none;border-color:var(--neon);box-shadow:0 0 0 3px var(--neon-glow);}
.form-row textarea{height:110px;resize:vertical;}
.form-submit{
  width:100%;padding:14px;font-size:15px;font-weight:700;background:var(--grad);
  border:none;border-radius:50px;color:#fff;cursor:pointer;margin-top:6px;
  box-shadow:var(--shadow-neon);transition:opacity .2s,transform .2s;
}
.form-submit:hover{opacity:.88;transform:translateY(-1px);}
.contact-success{text-align:center;padding:64px 0;}
.contact-success .check-icon{font-size:48px;margin-bottom:20px;}
.contact-success h2{font-size:24px;font-weight:800;color:var(--text);margin-bottom:12px;}
.contact-success p{font-size:15px;color:var(--text2);line-height:1.8;margin-bottom:28px;}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer{background:var(--footer-bg);padding:56px 0 28px;transition:background .4s;}
.footer-inner{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:40px;}
.footer-logo{display:flex;align-items:center;gap:10px;text-decoration:none;margin-bottom:12px;}
.footer-logo img{width:30px;height:30px;border-radius:50%;}
.footer-logo-text{font-size:15px;font-weight:900;background:linear-gradient(90deg,#60b8ff,#a088ff);-webkit-background-clip:text;-webkit-text-fill-color:transparent;}
.footer-tagline{font-size:12px;color:var(--footer-text);line-height:1.6;max-width:220px;transition:color .4s;}
.footer-links{display:flex;gap:48px;}
.footer-col h5{font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:rgba(255,255,255,.6);margin-bottom:12px;}
.footer-col a{display:block;font-size:13px;color:var(--footer-text);margin-bottom:7px;transition:color .2s;text-decoration:none;}
.footer-col a:hover{color:#fff;}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;padding-top:20px;border-top:1px solid rgba(255,255,255,.07);flex-wrap:wrap;gap:8px;}
.footer-bottom p{font-size:12px;color:rgba(160,200,240,0.65);}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero{
  padding:72px 0 60px;text-align:center;
  background:linear-gradient(160deg,var(--hero-bg-from) 0%,var(--hero-bg-to) 100%);
  border-bottom:1px solid var(--border);position:relative;overflow:hidden;
  transition:background .4s,border-color .4s;
}
.page-hero::before{
  content:'';position:absolute;inset:0;
  background-image:var(--hero-bg-img);
  background-size:cover;background-position:center;
  opacity:calc(var(--hero-img-opacity) * 0.7);
  mix-blend-mode:var(--hero-img-blend);
  transition:all .4s;
}
.page-hero h1{font-size:32px;font-weight:900;color:var(--hero-h1);margin-bottom:10px;position:relative;transition:color .4s;}
.page-hero p{font-size:15px;color:var(--hero-p);position:relative;transition:color .4s;}
.page-hero .section-eyebrow{position:relative;}

/* ============================================================
   NEWS PAGE FILTER
   ============================================================ */
.news-filter{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:32px;}
.filter-btn{font-size:12px;font-weight:600;padding:6px 16px;border-radius:20px;border:1px solid var(--border);background:var(--surface);color:var(--text2);cursor:pointer;transition:all .2s;}
.filter-btn:hover,.filter-btn.active{background:var(--grad);color:#fff;border-color:transparent;box-shadow:var(--shadow-neon);}

/* ============================================================
   ABOUT PAGE TABLE
   ============================================================ */
.company-table{width:100%;border-collapse:collapse;font-size:14px;margin-top:32px;}
.company-table tr{border-bottom:1px solid var(--table-border);}
.company-table th{width:180px;padding:16px 20px;text-align:left;font-size:12px;font-weight:700;color:var(--table-th);vertical-align:top;white-space:nowrap;letter-spacing:.04em;transition:color .4s;}
.company-table td{padding:16px 20px;color:var(--table-td);line-height:1.75;transition:color .4s;}

/* ============================================================
   WOLVY FLOAT
   ============================================================ */
.wolvy-float{
  position:fixed;bottom:24px;right:24px;z-index:9000;
  display:flex;flex-direction:column;align-items:flex-end;gap:8px;
  pointer-events:none;
}
.wolvy-bubble{
  background:var(--wolvy-bubble-bg);border:1px solid var(--wolvy-bubble-border);
  border-radius:12px 12px 4px 12px;padding:8px 30px 8px 12px;
  font-size:12px;font-weight:500;color:var(--wolvy-bubble-text);
  box-shadow:var(--shadow-md);text-align:right;line-height:1.5;
  opacity:0;transform:translateY(6px);
  transition:opacity .3s,transform .3s,background .4s,color .4s,border-color .4s;
  position:relative;pointer-events:all;backdrop-filter:blur(10px);
}
.wolvy-bubble.show{opacity:1;transform:translateY(0);}
.wolvy-bubble-close{position:absolute;top:5px;right:8px;font-size:11px;color:var(--text3);cursor:pointer;}
.wolvy-bubble-close:hover{color:var(--text);}
.wolvy-img-wrap{
  display:block;width:80px;position:relative;
  animation:wolvy-float-anim 3.6s ease-in-out infinite;
  filter:var(--wolvy-shadow);
  transition:transform .2s,filter .4s;cursor:pointer;text-decoration:none;pointer-events:all;
}
.wolvy-img-wrap:hover{transform:scale(1.08);}
.wolvy-img-wrap img{width:100%;display:block;}
.wolvy-glow-ring{
  position:absolute;bottom:-5px;left:50%;transform:translateX(-50%);
  width:52px;height:10px;border-radius:50%;
  background:radial-gradient(ellipse,var(--wolvy-glow) 0%,transparent 70%);
  animation:wolvy-glow-anim 3.6s ease-in-out infinite;transition:background .4s;
}
.wolvy-name{text-align:center;font-size:10px;font-weight:700;color:var(--wolvy-name);letter-spacing:.06em;pointer-events:none;user-select:none;transition:color .4s;}
@keyframes wolvy-float-anim{0%,100%{transform:translateY(0);}50%{transform:translateY(-8px);}}
@keyframes wolvy-glow-anim{0%,100%{opacity:.8;}50%{opacity:.25;}}

/* PARTICLE CANVAS — 廃止済み */
#particle-canvas{ display:none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ============================================================
   RESPONSIVE — Tablet (max 960px)
   ============================================================ */
@media(max-width:960px){
  /* Grid */
  .business-grid      { grid-template-columns:repeat(2,1fr); }
  .about-layout       { grid-template-columns:1fr; }
  .about-logo-box     { max-width:220px; margin:0 auto; }
  .contact-layout     { grid-template-columns:1fr; }

  /* Footer */
  .footer-inner       { flex-direction:column; gap:28px; }
  .footer-links       { flex-wrap:wrap; gap:20px; }

  /* News */
  .news-item          { grid-template-columns:1fr; gap:4px; }
  .news-meta          { flex-wrap:wrap; }

  /* KPI */
  .kpi-inner          { gap:28px; flex-wrap:wrap; }
  .kpi-sep            { display:none; }

  /* Company table */
  .company-table th   { width:130px; font-size:11px; }

  /* About page */
  .about-kpis         { gap:20px; }
}

/* ============================================================
   RESPONSIVE — Mobile (max 640px)
   ============================================================ */
@media(max-width:640px){
  /* Base */
  .container          { padding:0 16px; }
  .section            { padding:48px 0; }

  /* Nav */
  .nav-main           { padding:10px 16px; }
  .nav-logo-text      { font-size:14px; }
  .nav-ctrl-btn       { font-size:11px; padding:5px 9px; }

  /* Drawer */
  .drawer             { width:100%; right:-100%; }

  /* Hero */
  .hero               { padding:72px 16px 56px; min-height:auto; }
  .hero h1            { font-size:28px; letter-spacing:-.01em; }
  .hero p             { font-size:13px; }
  .hero-en            { font-size:10px; }
  .hero-badge         { font-size:10px; padding:4px 12px; }
  .hero-btns          { flex-direction:column; width:100%; gap:10px; }
  .hero-btns .btn     { width:100%; justify-content:center; }
  .hero-wolvy         { display:none; }

  /* Section titles */
  .section-title      { font-size:20px; }
  .section-sub        { font-size:13px; }
  .section-eyebrow    { font-size:10px; }

  /* Business cards — 1 col */
  .business-grid      { grid-template-columns:1fr; gap:12px; }
  .business-card      { padding:20px 16px 18px; }
  .business-icon      { width:40px; height:40px; font-size:17px; }
  .business-card h3   { font-size:14px; }

  /* News */
  .news-item          { grid-template-columns:1fr; gap:4px; padding:14px 0; }
  .news-meta          { flex-wrap:wrap; gap:6px; }
  .news-date          { font-size:12px; }
  .news-title         { font-size:13px; }

  /* KPI */
  .kpi-section        { padding:24px 16px; }
  .kpi-inner          { gap:20px; justify-content:space-around; }
  .kpi-num            { font-size:17px; }
  .kpi-label          { font-size:10px; }
  .kpi-sep            { display:none; }

  /* About */
  .about-layout       { gap:28px; }
  .about-logo-box     { padding:28px; }
  .about-logo-box img { width:100px; height:100px; }
  .about-text p       { font-size:13px; }
  .about-kpis         { gap:16px; flex-wrap:wrap; }
  .kpi-display-num    { font-size:16px; }

  /* Contact */
  .contact-layout     { gap:32px; }
  .contact-info h3    { font-size:15px; }
  .contact-info p     { font-size:13px; }
  .form-row input,
  .form-row textarea,
  .form-row select    { font-size:16px; } /* iOS zoom防止 */

  /* Footer */
  .footer-inner       { gap:24px; }
  .footer-links       { gap:16px; }
  .footer-col a       { font-size:12px; }
  .footer-bottom      { flex-direction:column; gap:4px; text-align:center; }
  .footer-bottom p    { font-size:11px; }

  /* Wolvy float */
  .wolvy-float        { bottom:16px; right:14px; }
  .wolvy-img-wrap     { width:60px; }
  .wolvy-bubble       { font-size:11px; padding:7px 26px 7px 10px; max-width:160px; }

  /* Scroll top */
  .scroll-top-btn     { bottom:102px; right:14px; width:36px; height:36px; }

  /* Company table */
  .company-table      { font-size:12px; }
  .company-table th   { width:100px; padding:10px 12px; white-space:normal; }
  .company-table td   { padding:10px 12px; }

  /* Buttons */
  .btn-primary,
  .btn-secondary      { padding:11px 22px; font-size:13px; }
  .btn-ghost          { padding:9px 16px; font-size:12px; }
}

/* ============================================================
   RESPONSIVE — Small mobile (max 400px)
   ============================================================ */
@media(max-width:400px){
  .hero h1            { font-size:24px; }
  .nav-logo-text      { display:none; } /* ロゴ文字を隠してアイコンのみ */
  .nav-ctrl-btn       { padding:5px 8px; font-size:10px; }
  .business-card      { padding:16px 14px; }
  .kpi-inner          { gap:14px; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media(prefers-reduced-motion:reduce){
  .wolvy-img-wrap,
  .hero-wolvy,
  .hero-wolvy-glow,
  .wolvy-glow-ring    { animation:none; }
  .hero-orb1,
  .hero-orb2,
  .scan-line,
  .badge-dot          { animation:none; }
  .splash-logo,
  .splash-text,
  .splash-tagline,
  .splash-bar,
  .splash-bar-fill    { animation:none; }
  .business-card      { transition:none; }
}

/* ============================================================
   SPLASH SCREEN
   ============================================================ */
.splash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #020b18;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 20px;
  /* ★ pointer-events:none にして常にクリックを素通りさせる */
  pointer-events: none;
  transition: opacity .5s ease, visibility .5s ease;
}
/* ★ hidden後は完全に消去 */
.splash.hidden {
  opacity: 0;
  visibility: hidden;
  display: none;
}

.splash-logo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(0,200,255,.4);
  overflow: hidden;
  animation: splash-pop .5s cubic-bezier(.34,1.56,.64,1) both;
  box-shadow: 0 0 40px rgba(0,200,255,.5), 0 0 80px rgba(123,92,245,.25);
}
.splash-logo img { width: 100%; height: 100%; object-fit: cover; }

.splash-text {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: .06em;
  background: linear-gradient(90deg,#00c8ff,#7b5cf5,#00c8ff);
  background-size: 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: splash-text-in .5s .15s both, grad-shift 2s ease infinite;
}
.splash-tagline {
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(0,200,255,.5);
  animation: splash-text-in .5s .3s both;
}
.splash-bar {
  width: 120px;
  height: 2px;
  background: rgba(255,255,255,.1);
  border-radius: 2px;
  overflow: hidden;
  animation: splash-text-in .4s .4s both;
}
.splash-bar-fill {
  height: 100%;
  background: linear-gradient(90deg,#00c8ff,#7b5cf5);
  border-radius: 2px;
  animation: splash-load .8s .4s cubic-bezier(.4,0,.2,1) both;
}
@keyframes splash-pop {
  from { transform: scale(.4); opacity: 0; }
  to   { transform: scale(1);  opacity: 1; }
}
@keyframes splash-text-in {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes splash-load {
  from { width: 0; }
  to   { width: 100%; }
}

/* ============================================================
   PARALLAX
   ============================================================ */
.parallax-layer { will-change: transform; }

/* ============================================================
   SCROLL-TO-TOP BUTTON
   ============================================================ */
.scroll-top-btn {
  position: fixed;
  bottom: 120px;
  right: 24px;
  z-index: 8000;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--grad);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 18px var(--neon-glow), var(--shadow-md);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s, transform .3s;
  pointer-events: none;
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.scroll-top-btn:hover {
  box-shadow: 0 0 28px var(--neon-glow), 0 0 60px rgba(123,92,245,.25);
  transform: translateY(-2px);
}
.scroll-top-btn svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  stroke-width: 2.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================================
   CARD SPOTLIGHT EFFECT
   ============================================================ */
.business-card { --mouse-x: 50%; --mouse-y: 50%; }
.business-card .card-spotlight {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
  background: radial-gradient(
    200px circle at var(--mouse-x) var(--mouse-y),
    rgba(0,200,255,.1) 0%,
    transparent 70%
  );
}
.business-card:hover .card-spotlight { opacity: 1; }

/* WOLVY EYE TRACKING — 廃止済み */
.wolvy-img-wrap { position: relative; }

/* ============================================================
   WOLVY SCROLL SECTION MESSAGES
   ============================================================ */
/* スクロール位置に応じてバブルの色が変わる */
.wolvy-bubble.bubble-stamp {
  border-color: rgba(0,200,80,.35);
  background: var(--wolvy-bubble-bg);
}
.wolvy-bubble.bubble-stamp .stamp-mini-link {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 5px 10px;
  background: linear-gradient(135deg,rgba(0,200,80,.15),rgba(0,180,70,.08));
  border: 1px solid rgba(0,200,80,.3);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  color: #22c55e;
  text-decoration: none;
  transition: all .2s;
}
.wolvy-bubble.bubble-stamp .stamp-mini-link:hover {
  background: rgba(0,200,80,.25);
}

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg,#00c8ff,#7b5cf5,#00c8ff);
  background-size: 200%;
  z-index: 9998;
  animation: grad-shift 3s ease infinite;
  transition: width .1s linear;
  box-shadow: 0 0 8px rgba(0,200,255,.6);
}

@media(max-width:480px){
  .scroll-top-btn { bottom: 110px; right:16px; }
}

/* ============================================================
   RESPONSIVE — Page-specific (line-stamp / wp-theme / legal)
   ============================================================ */
@media(max-width:640px){
  /* line-stamp.php */
  .stamp-creator-card { grid-template-columns:1fr; text-align:center; padding:24px 16px; }
  .stamp-creator-icon { margin:0 auto; }
  .stamp-features-grid{ grid-template-columns:1fr; gap:12px; }
  .stamp-grid         { grid-template-columns:1fr; }
  .stamp-cta-card     { padding:28px 16px; }
  .stamp-nav-row      { justify-content:center; flex-direction:column; }
  .stamp-nav-row .btn { width:100%; text-align:center; justify-content:center; }

  /* wp-theme.php */
  .wp-coming-inner    { flex-direction:column; padding:20px 16px; text-align:center; }
  .wp-points-grid     { grid-template-columns:1fr; gap:10px; }
  .wp-theme-grid      { grid-template-columns:1fr; }
  .wp-steps           { grid-template-columns:1fr; }
  .wp-step            { border-right:none; border-bottom:1px solid var(--border); padding:16px; }
  .wp-step:last-child { border-bottom:none; }

  /* legal pages (privacy / commerce) */
  .commerce-table-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .commerce-table     { min-width:480px; }
  .legal-h2           { font-size:14px; }
  .legal-section p,
  .legal-list li      { font-size:13px; }
  .legal-date         { text-align:left; }

  /* about.php map */
  .about-strip        { grid-template-columns:1fr; padding:40px 16px; }

  /* contact success */
  .contact-success    { padding:40px 0; }
  .contact-success h2 { font-size:20px; }
}

/* ============================================================
   VIEWPORT META補完 — iOS Safari の謎ズーム防止
   ============================================================ */
/* font-size:16px以上を確保してiOSの自動ズームを防ぐ */
@supports(-webkit-touch-callout:none){
  .form-row input,
  .form-row textarea,
  .form-row select{ font-size:16px !important; }
}

/* service.php detail grid */
@media(max-width:480px){
  .service-detail-grid{
    grid-template-columns:1fr !important;
  }
  .service-detail-grid > .business-icon{
    width:48px; height:48px; font-size:22px;
  }
}

/* ============================================================
   LUXURY UPGRADE v6.0
   ============================================================ */

/* ── Hero動画背景 ── */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 3;          /* bg-base(0)→bg-img(1)→grid(2)→video(3)→orb(4)→content(5) */
  overflow: hidden;
  pointer-events: none;
}
.hero-video-wrap video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;           /* JSで読み込み確認後にフェードイン */
  transition: opacity 1s ease;
  mix-blend-mode: screen;
}
.hero-video-wrap video.loaded {
  opacity: 0.28;
}
[data-theme="light"] .hero-video-wrap video.loaded {
  mix-blend-mode: multiply;
  opacity: 0.12;
}
.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 40%,
    var(--bg) 100%
  );
  pointer-events: none;
  z-index: 2;
}

/* ── ティッカー（横流れテキスト） ── */
.ticker-wrap {
  overflow: hidden;
  background: var(--grad);
  padding: 11px 0;
  position: relative;
  z-index: 2;
}
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker-scroll 28s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  padding: 0 32px;
}
.ticker-item::before {
  content: '◆';
  font-size: 8px;
  opacity: .6;
}
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── フルスクリーン スライドショー ── */
.fullslide-wrap {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  background: var(--bg3);
}
.fullslide-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .9s ease;
  pointer-events: none;
}
.fullslide-item.active {
  opacity: 1;
  pointer-events: all;
  z-index: 2;
}
.fullslide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.06);
  transition: transform 7s ease;
}
.fullslide-item.active .fullslide-bg {
  transform: scale(1);
}
.fullslide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(2,11,24,.72) 0%,
    rgba(2,11,24,.35) 100%
  );
}
[data-theme="light"] .fullslide-bg::after {
  background: linear-gradient(
    135deg,
    rgba(10,22,40,.55) 0%,
    rgba(10,22,40,.18) 100%
  );
}
.fullslide-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 40px 32px;
  max-width: 760px;
}
.fullslide-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(14px);
  transition: all .7s .2s;
}
.fullslide-item.active .fullslide-eyebrow {
  opacity: 1;
  transform: translateY(0);
}
.fullslide-title {
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 900;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 18px;
  opacity: 0;
  transform: translateY(20px);
  transition: all .7s .35s;
  text-shadow: 0 2px 24px rgba(0,0,0,.4);
}
.fullslide-item.active .fullslide-title {
  opacity: 1;
  transform: translateY(0);
}
.fullslide-desc {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  line-height: 1.8;
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(16px);
  transition: all .7s .5s;
}
.fullslide-item.active .fullslide-desc {
  opacity: 1;
  transform: translateY(0);
}
.fullslide-cta {
  opacity: 0;
  transform: translateY(12px);
  transition: all .7s .65s;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.fullslide-item.active .fullslide-cta {
  opacity: 1;
  transform: translateY(0);
}

/* スライドショーコントロール */
.fullslide-prev,
.fullslide-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  backdrop-filter: blur(6px);
}
.fullslide-prev { left: 24px; }
.fullslide-next { right: 24px; }
.fullslide-prev:hover,
.fullslide-next:hover {
  background: var(--grad);
  border-color: transparent;
  box-shadow: var(--shadow-neon);
}
.fullslide-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.fullslide-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: all .3s;
  border: none;
  padding: 0;
}
.fullslide-dot.active {
  background: #fff;
  width: 22px;
  border-radius: 4px;
  box-shadow: 0 0 8px rgba(0,200,255,.5);
}

/* ── 横スクロールスライダー（実績・スタンプ紹介等） ── */
.hslider-wrap {
  position: relative;
  overflow: hidden;
}
.hslider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 16px;
  cursor: grab;
}
.hslider-track:active { cursor: grabbing; }
.hslider-track::-webkit-scrollbar { display: none; }
.hslider-track > * {
  flex: 0 0 calc(33.333% - 14px);
  scroll-snap-align: start;
  min-width: 280px;
}
.hslider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-md);
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all .2s;
}
.hslider-btn:hover {
  background: var(--grad);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-neon);
}
.hslider-btn-prev { left: -16px; }
.hslider-btn-next { right: -16px; }
.hslider-progress {
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  margin-top: 12px;
  overflow: hidden;
}
.hslider-progress-fill {
  height: 100%;
  background: var(--grad);
  border-radius: 2px;
  transition: width .3s;
  width: 33%;
}

/* ── カルーセル（自動ループ） ── */
.carousel-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
}
.carousel-track {
  display: flex;
  transition: transform .6s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 100%;
}
.carousel-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 5;
}
.carousel-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none; cursor: pointer;
  transition: all .3s;
  padding: 0;
}
.carousel-dot.active {
  background: #fff;
  width: 20px;
  border-radius: 3px;
}

/* ── ラグジュアリー ABOUT セクション ── */
.luxury-about {
  position: relative;
  overflow: hidden;
}
.luxury-about__bg {
  position: absolute;
  inset: 0;
  background: var(--hero-bg-img);
  background-size: cover;
  background-position: center;
  opacity: 0.05;
  mix-blend-mode: screen;
  pointer-events: none; /* クリックを素通りさせる */
}
[data-theme="light"] .luxury-about__bg { mix-blend-mode: multiply; }

/* ── スタッツカウンター ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-md);
}
.stat-item {
  padding: 28px 20px;
  text-align: center;
  border-right: 1px solid var(--border);
  position: relative;
  transition: background .3s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--surface2); }
.stat-item::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity .3s;
}
.stat-item:hover::before { opacity: 1; }
.stat-num {
  font-size: 32px;
  font-weight: 900;
  background: var(--grad-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}
.stat-label {
  font-size: 12px;
  color: var(--text3);
  letter-spacing: .06em;
  transition: color .4s;
}

/* ── 画像グリッドモザイク ── */
.mosaic-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}
.mosaic-item {
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface2);
  border: 1px solid var(--border);
  position: relative;
  aspect-ratio: 16/10;
}
.mosaic-item:first-child {
  grid-row: span 2;
  aspect-ratio: auto;
}
.mosaic-img-placeholder {
  width: 100%; height: 100%;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  background: linear-gradient(135deg, var(--bg2), var(--surface));
  position: relative;
  overflow: hidden;
}
.mosaic-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 28px 28px;
}
.mosaic-img-placeholder img {
  width: 60px; height: 60px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-md);
}
.mosaic-img-placeholder span {
  font-size: 11px;
  color: var(--text3);
  letter-spacing: .08em;
  position: relative;
  z-index: 1;
}
.mosaic-item img.real-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}
.mosaic-item:hover img.real-img { transform: scale(1.04); }

/* ── セクション区切りライン ── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 40px;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-md));
}
.section-divider::after {
  background: linear-gradient(to left, transparent, var(--border-md));
}
.section-divider-text {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--text3);
  white-space: nowrap;
}

/* ── レスポンシブ ── */
@media(max-width:960px) {
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .mosaic-grid { grid-template-columns: 1fr 1fr; }
  .mosaic-item:first-child { grid-row: span 1; aspect-ratio: 16/10; }
  .hslider-track > * { flex: 0 0 calc(50% - 10px); }
  .fullslide-prev { left: 12px; }
  .fullslide-next { right: 12px; }
}
@media(max-width:640px) {
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .hslider-track > * { flex: 0 0 85%; }
  .hslider-btn { display: none; }
  .fullslide-wrap { height: 100svh; }
  .fullslide-prev,.fullslide-next { display: none; }
  .mosaic-grid { grid-template-columns: 1fr; }
}
@media(prefers-reduced-motion:reduce){
  .ticker-track { animation: none; }
  .fullslide-bg { transition: none; transform: scale(1); }
  .carousel-track { transition: none; }
}

/* ── About Luxury Grid ── */
.about-luxury-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

/* ── Stats row: kpi-section内では padding を上書き ── */
.kpi-section.no-pad { padding: 0; }

/* ── Carousel slide 2カラム: モバイルで1カラムに ── */
.carousel-slide .slide-inner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
}

/* ── fullslide-bg: video無し時のフォールバック ── */
.fullslide-bg {
  background-color: var(--bg3);
}

/* ── Responsive fixes ── */
@media(max-width:960px) {
  .about-luxury-grid { grid-template-columns: 1fr; gap: 32px; }
  .carousel-slide .slide-inner-grid { grid-template-columns: 1fr; }
}
@media(max-width:640px) {
  .about-luxury-grid { gap: 24px; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
}

/* drawer-contact-btns: nav スタイルに統一 */

/* ── LINE WORKS SNS ボタン（sakuranabe.php用） ── */
.sn-sns-lineworks {
  border-color: rgba(0,199,60,0.3);
  background: rgba(0,199,60,0.06);
  color: #00a832;
}
.sn-sns-lineworks:hover {
  background: #00c73c;
  color: #fff;
  border-color: transparent;
}
