* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --sakura: #FFB7C5;
  --cyber: #00FFFF;
  --dark: #0a0a0f;
  --dark2: #0f0f1a;
  --gold: #c8a97e;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Serif JP', serif;
  background: var(--dark);
  color: #fff;
  overflow-x: hidden;
}

/* ナビゲーション */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 32px 14px 20px;
  background: rgba(10, 10, 15, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 255, 255, 0.15);
}

.nav-logo-mark {
  height: 130px;
  width: auto;
  filter: drop-shadow(0 0 6px rgba(0,255,255,0.3));
  flex-shrink: 0;
}

a.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-full {
  height: 68px;
  width: auto;
  max-width: 380px;
  filter: drop-shadow(0 0 8px rgba(0,255,255,0.2));
  transition: filter 0.3s ease;
}

.nav-logo:hover .nav-logo-full {
  filter: drop-shadow(0 0 14px rgba(0,255,255,0.45));
}

.nav-logo-inner {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-logo-sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.65rem;
  color: var(--cyber);
  letter-spacing: 0.15em;
  animation: logo-flicker 3s ease-in-out infinite;
}

.nav-logo-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

@keyframes logo-sub-flicker {
  0%, 100% { text-shadow: 0 0 8px rgba(255,68,68,0.9), 0 0 20px rgba(255,68,68,0.5); }
  50% { text-shadow: 0 0 16px rgba(255,68,68,1), 0 0 40px rgba(255,68,68,0.8), 0 0 60px rgba(255,68,68,0.4); }
}

@keyframes logo-flicker {
  0%, 100% { text-shadow: 0 0 8px rgba(0,255,255,0.9), 0 0 20px rgba(0,255,255,0.5); }
  50% { text-shadow: 0 0 16px rgba(0,255,255,1), 0 0 40px rgba(0,255,255,0.8), 0 0 60px rgba(0,255,255,0.4); }
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--cyber);
}

/* ヒーロー */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(ellipse at center, #0d0d2b 0%, var(--dark) 70%);
}

#canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

.hero-logo-mark {
  width: 320px;
  max-width: 75vw;
  margin-bottom: 8px;
  filter: drop-shadow(0 0 24px rgba(0,255,255,0.35)) drop-shadow(0 0 40px rgba(255,50,50,0.2));
  animation: hero-logo-in 1.0s ease both;
}

.hero-logo-text {
  width: 400px;
  max-width: 85vw;
  margin-bottom: 32px;
  filter: drop-shadow(0 0 10px rgba(0,255,255,0.2));
  animation: hero-logo-in 1.2s ease both;
}

@keyframes hero-logo-in {
  from { opacity: 0; transform: translateY(-16px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-sub {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  color: var(--cyber);
  letter-spacing: 0.4em;
  margin-top: 6px;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.3em;
  margin-bottom: 6px;
  text-shadow: 0 0 30px rgba(255, 183, 197, 0.5);
}

.hero-btns .btn {
  min-width: 160px;
  text-align: center;
}

.hero-desc {
  font-size: 1rem;
  color: #aaa;
  letter-spacing: 0.1em;
  margin-bottom: 40px;
}

.btn {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid var(--cyber);
  color: var(--cyber);
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  transition: all 0.3s;
  background: transparent;
  cursor: pointer;
}

.btn:hover {
  background: var(--cyber);
  color: var(--dark);
}

/* 日の丸 */
.hinomaru {
  position: absolute;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,0,0,0.12) 0%, rgba(180,0,0,0.06) 60%, transparent 100%);
  border: 1px solid rgba(200,0,0,0.15);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  animation: hinomaru-pulse 4s ease-in-out infinite;
}

@keyframes hinomaru-pulse {
  0%, 100% { box-shadow: 0 0 30px rgba(200,0,0,0.1); opacity: 0.7; }
  50% { box-shadow: 0 0 80px rgba(200,0,0,0.25); opacity: 1; }
}

/* 日本刀 */
.katana {
  position: absolute;
  top: 50%;
  transform: translateY(-55%);
  z-index: 4;
  filter: drop-shadow(0 0 6px rgba(100, 200, 255, 0.4));
  animation: katana-glow 3s ease-in-out infinite;
}

.katana-left {
  left: 8%;
  transform: translateY(-55%) rotate(-8deg);
}

.katana-right {
  right: 8%;
  transform: translateY(-55%) rotate(8deg) scaleX(-1);
}

@keyframes katana-glow {
  0%, 100% { filter: drop-shadow(0 0 4px rgba(100,200,255,0.3)); }
  50% { filter: drop-shadow(0 0 14px rgba(100,200,255,0.7)); }
}

/* 桜 */
.sakura-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.petal {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--sakura);
  border-radius: 0 100% 0 100%;
  opacity: 0.7;
  animation: fall linear infinite;
}

@keyframes fall {
  0% { transform: translateY(-20px) rotate(0deg); opacity: 0.8; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* セクション共通 */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-title {
  font-size: 2rem;
  letter-spacing: 0.3em;
  text-align: center;
  margin-bottom: 60px;
  color: #fff;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--sakura), var(--cyber));
  margin: 16px auto 0;
}

/* 会社概要 */
.about {
  padding: 120px 0;
  background: var(--dark2);
  border-top: 1px solid rgba(0, 255, 255, 0.1);
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.about-item {
  display: flex;
  gap: 40px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.about-label {
  color: var(--cyber);
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  min-width: 120px;
}

.about-value {
  color: #ccc;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* サービス */
.services {
  padding: 120px 0;
  background: var(--dark);
}

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

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 255, 255, 0.15);
  padding: 40px 36px;
  transition: all 0.3s, opacity 0.6s ease, transform 0.6s ease;
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px);
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--sakura), var(--cyber));
}

.service-card:hover {
  border-color: rgba(0, 255, 255, 0.4);
  transform: translateY(-4px);
  box-shadow: 0 10px 40px rgba(0, 255, 255, 0.1);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  margin-bottom: 2px;
  color: var(--cyber);
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.9), 0 0 20px rgba(0, 255, 255, 0.5);
  animation: logo-flicker 3s infinite;
}

.service-card p {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.8;
}

.service-tags {
  font-size: 1.2rem;
  color: var(--cyber);
  letter-spacing: 0.15em;
  margin-bottom: 10px;
  margin-top: 0;
  line-height: 1.5;
}

/* お知らせ */
.news {
  padding: 100px 0;
  background: var(--dark);
  border-top: 1px solid rgba(0, 255, 255, 0.08);
}

.news-list {
  list-style: none;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.news-date {
  color: var(--cyber);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  min-width: 90px;
}

.news-tag {
  background: rgba(0,255,255,0.1);
  border: 1px solid rgba(0,255,255,0.3);
  color: var(--cyber);
  font-size: 0.75rem;
  padding: 3px 10px;
  min-width: 70px;
  text-align: center;
}

.news-text {
  color: #bbb;
  font-size: 0.95rem;
}

/* 私たちについて */
.vision {
  padding: 100px 0;
  background: var(--dark2);
  border-top: 1px solid rgba(255,183,197,0.08);
}

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

.vision-heading {
  font-size: 1.6rem;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--cyber);
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.9), 0 0 20px rgba(0, 255, 255, 0.5);
  animation: logo-flicker 3s infinite;
  margin-bottom: 24px;
}

.vision-text p {
  color: #888;
  line-height: 2;
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.vision-values {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  border: 1px solid rgba(0,255,255,0.12);
  background: rgba(255,255,255,0.02);
}

.value-icon {
  font-size: 1.8rem;
}

.value-item h4 {
  color: var(--cyber);
  font-size: 1.8rem;
  margin-bottom: 4px;
  letter-spacing: 0.15em;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.9), 0 0 20px rgba(0, 255, 255, 0.5);
  animation: logo-flicker 3s infinite;
}

.value-item p {
  color: #777;
  font-size: 0.85rem;
}

.value-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 実績 */
.stats {
  padding: 100px 0;
  background: var(--dark);
  border-top: 1px solid rgba(0,255,255,0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 40px 20px;
  border: 1px solid rgba(0,255,255,0.15);
  background: rgba(255,255,255,0.02);
}

.stat-number {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  color: var(--cyber);
  line-height: 1;
}

.stat-unit {
  color: var(--sakura);
  font-size: 0.9rem;
  margin: 4px 0;
}

.stat-label {
  color: #666;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}

/* お客様の声 */
.testimonials {
  padding: 100px 0;
  background: var(--dark2);
  border-top: 1px solid rgba(255,183,197,0.08);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,183,197,0.15);
  padding: 36px;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  left: 24px;
  font-size: 4rem;
  color: rgba(255,183,197,0.15);
  font-family: serif;
  line-height: 1;
}

.testimonial-text {
  color: #999;
  font-size: 0.9rem;
  line-height: 2;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sakura), var(--cyber));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-weight: bold;
}

.testimonial-name {
  color: #ccc;
  font-size: 0.9rem;
}

.testimonial-company {
  color: #555;
  font-size: 0.8rem;
}

/* 料金 */
.pricing {
  padding: 100px 0;
  background: var(--dark);
  border-top: 1px solid rgba(0,255,255,0.08);
}

.pricing-note {
  text-align: center;
  color: #555;
  font-size: 0.85rem;
  margin-bottom: 50px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  align-items: start;
}

.pricing-card {
  border: 1px solid rgba(0,255,255,0.15);
  padding: 40px 32px;
  background: rgba(255,255,255,0.02);
  position: relative;
  text-align: center;
}

.pricing-featured {
  border-color: var(--cyber);
  background: rgba(0,255,255,0.04);
  transform: translateY(-10px);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--cyber);
  color: var(--dark);
  font-size: 0.75rem;
  padding: 4px 20px;
  letter-spacing: 0.1em;
}

.pricing-name {
  color: var(--sakura);
  font-size: 1rem;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
}

.pricing-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 30px;
}

.pricing-price span {
  font-size: 1rem;
  color: #666;
}

.pricing-features {
  list-style: none;
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}

.pricing-features li {
  color: #888;
  font-size: 0.9rem;
}

/* FAQ */
.faq {
  padding: 100px 0;
  background: var(--dark2);
  border-top: 1px solid rgba(255,183,197,0.08);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  border: 1px solid rgba(0,255,255,0.12);
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  color: #ccc;
  font-size: 0.95rem;
  cursor: pointer;
  background: rgba(255,255,255,0.02);
  letter-spacing: 0.05em;
}

.faq-answer {
  padding: 20px 24px;
  color: #777;
  font-size: 0.9rem;
  line-height: 1.8;
  border-top: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.2);
}

/* フッターリンク */
.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 20px;
}

.footer-links a {
  color: #555;
  text-decoration: none;
  font-size: 0.8rem;
  transition: color 0.3s;
}

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

/* お問い合わせ */
.contact {
  padding: 120px 0;
  background: var(--dark2);
  border-top: 1px solid rgba(255, 183, 197, 0.1);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto;
}

.contact-form input,
.contact-form textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 16px 20px;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.95rem;
  outline: none;
  transition: border 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--cyber);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #555;
}

.contact-form .btn {
  align-self: center;
  padding: 16px 60px;
  font-size: 0.9rem;
}

/* フッター */
.footer {
  text-align: center;
  padding: 40px;
  color: #444;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* 固定SNSバー */
.sns-fixed {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 150;
}

.sns-fixed-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(0,255,255,0.2);
  background: rgba(10,10,15,0.7);
  backdrop-filter: blur(6px);
  color: #888;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sns-fixed-icon:hover {
  border-color: var(--cyber);
  color: var(--cyber);
  transform: translateY(-3px);
  box-shadow: 0 0 14px rgba(0,255,255,0.35);
  background: rgba(0,255,255,0.08);
}

@media (max-width: 768px) {
  .sns-fixed {
    right: auto;
    top: auto;
    bottom: 0;
    left: 0;
    width: 100%;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    transform: none;
    padding: 10px 20px;
    background: rgba(8, 8, 18, 0.92);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,255,255,0.15);
    gap: 0;
  }
  .sns-fixed-icon {
    width: 48px;
    height: 48px;
    font-size: 1.2rem;
    border: none;
    background: transparent;
  }
}

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 24px;
}

.sns-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(0,255,255,0.25);
  color: #aaa;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.sns-icon:hover {
  border-color: var(--cyber);
  color: var(--cyber);
  transform: translateY(-3px);
  box-shadow: 0 0 14px rgba(0,255,255,0.3);
}

/* ハンバーガーボタン */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ff0000;
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
              opacity 0.2s ease;
  transform-origin: center;
}

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

/* モバイルメニュー */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(8, 8, 18, 0.97);
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(0,255,255,0.1);
  display: flex;
  align-items: center;
}

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

.mobile-logo-img {
  height: 44px;
  width: auto;
  mix-blend-mode: screen;
}

.mobile-logo-name {
  font-family: 'Noto Serif JP', serif;
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.1em;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.mobile-menu li {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-menu.open li:nth-child(1) { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.mobile-menu.open li:nth-child(2) { opacity: 1; transform: translateY(0); transition-delay: 0.2s; }
.mobile-menu.open li:nth-child(3) { opacity: 1; transform: translateY(0); transition-delay: 0.3s; }
.mobile-menu.open li:nth-child(4) { opacity: 1; transform: translateY(0); transition-delay: 0.4s; }
.mobile-menu.open li:nth-child(5) { opacity: 1; transform: translateY(0); transition-delay: 0.5s; }

.mobile-menu a {
  font-family: 'Orbitron', sans-serif;
  color: var(--cyber);
  text-decoration: none;
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.9), 0 0 20px rgba(0, 255, 255, 0.5);
  animation: logo-flicker 3s infinite;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--cyber);
}

/* メガメニュー */
.has-dropdown {
  position: relative;
}

.has-dropdown > a::after {
  content: ' ▾';
  font-size: 0.7em;
  opacity: 0.6;
}

.mega-menu {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: rgba(8, 8, 16, 0.97);
  backdrop-filter: blur(16px);
  border-top: 1px solid rgba(0,255,255,0.2);
  border-bottom: 1px solid rgba(0,255,255,0.1);
  padding: 40px 60px;
  display: flex;
  align-items: flex-start;
  gap: 80px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 99;
}

.has-dropdown:hover .mega-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.mega-label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 180px;
  border-right: 1px solid rgba(0,255,255,0.15);
  padding-right: 60px;
}

.mega-en {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cyber);
  letter-spacing: 0.1em;
  text-shadow: 0 0 20px rgba(0,255,255,0.4);
}

.mega-ja {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.2em;
}

.mega-links {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4px 60px;
  align-content: start;
}

.mega-links li a {
  color: #aaa;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  padding: 10px 0;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.2s, padding-left 0.2s;
}

.mega-links li a:hover {
  color: var(--cyber);
  padding-left: 8px;
}

/* セクション英語ラベル */
.section-en {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  color: var(--cyber);
  letter-spacing: 0.4em;
  text-align: center;
  margin-bottom: 12px;
  opacity: 0.8;
}

.section-en-left {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  color: var(--cyber);
  letter-spacing: 0.4em;
  margin-bottom: 8px;
  opacity: 0.8;
}

.section-title-left {
  font-size: 2rem;
  letter-spacing: 0.2em;
  color: #fff;
}

/* ヒーロー追加要素 */
.hero-en {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  color: var(--sakura);
  letter-spacing: 0.3em;
  margin-bottom: 24px;
  opacity: 0.9;
}

.hero-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.7);
}

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

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
}

.hero-scroll span {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.4);
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(0,255,255,0.6), transparent);
  animation: scroll-line 1.8s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ニュース改善 */
.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px;
}

.link-more {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  color: var(--cyber);
  text-decoration: none;
  letter-spacing: 0.2em;
  transition: opacity 0.3s;
}

.link-more:hover { opacity: 0.7; }

/* サービス番号 */
.service-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  color: rgba(0,255,255,0.15);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 16px;
}

/* 実績・事例 */
.works {
  padding: 120px 0;
  background: var(--dark2);
  border-top: 1px solid rgba(0,255,255,0.08);
}

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

.work-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(0,255,255,0.12);
  overflow: hidden;
  transition: border-color 0.3s, transform 0.3s;
}

.work-card:hover {
  border-color: rgba(0,255,255,0.35);
  transform: translateY(-4px);
}

.work-img {
  height: 200px;
  display: flex;
  align-items: flex-end;
  padding: 16px 20px;
  position: relative;
}

.work-img-1 { background-color: rgba(255,255,255,0.05); }
.work-img-2 { background-color: rgba(255,255,255,0.05); }
.work-img-3 { background-color: rgba(255,255,255,0.05); }
.work-img-4 { background-color: rgba(255,255,255,0.05); }

.work-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.55) 100%);
  z-index: 1;
}

.work-img-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.55);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  letter-spacing: 0.1em;
  z-index: 2;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

.work-info {
  padding: 24px 28px;
}

.work-tag {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  color: var(--cyber);
  letter-spacing: 0.25em;
  border: 1px solid rgba(0,255,255,0.4);
  padding: 3px 10px;
  display: inline-block;
  margin-bottom: 12px;
}

.work-info h3 {
  font-size: 1rem;
  color: #fff;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  line-height: 1.6;
}

.work-info p {
  font-size: 0.85rem;
  color: #888;
  line-height: 1.8;
}

/* 採用情報 */
.recruit {
  padding: 120px 0;
  background: var(--dark);
  border-top: 1px solid rgba(255,183,197,0.08);
}

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

.recruit-message h3 {
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin-bottom: 24px;
}

.recruit-message p {
  color: #aaa;
  font-size: 0.95rem;
  line-height: 2;
  margin-bottom: 16px;
}

.recruit-points {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.recruit-point {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.recruit-point-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(255,183,197,0.3);
  line-height: 1;
  flex-shrink: 0;
  min-width: 48px;
}

.recruit-point h4 {
  font-size: 1rem;
  color: var(--sakura);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.recruit-point p {
  font-size: 0.88rem;
  color: #888;
  line-height: 1.8;
}

/* フッター改善 */
.footer {
  background: #05050a;
  border-top: 1px solid rgba(0,255,255,0.1);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 40px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-logo-main {
  font-family: 'Noto Serif JP', serif;
  font-size: 0.8rem;
  color: var(--cyber);
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.footer-logo-sub {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem;
  color: #fff;
  letter-spacing: 0.15em;
}

.footer-nav {
  display: flex;
  gap: 60px;
}

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

.footer-col h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  color: var(--cyber);
  letter-spacing: 0.3em;
  margin-bottom: 4px;
  opacity: 0.8;
}

.footer-col a {
  color: #666;
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
  padding: 20px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: #444;
  letter-spacing: 0.1em;
}

/* お問い合わせ改善 */
.contact-desc {
  text-align: center;
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 48px;
  letter-spacing: 0.05em;
}

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

/* レスポンシブ */
@media (max-width: 768px) {
  .navbar { padding: 16px 24px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-logo-mark { height: 38px; }
  .nav-logo-full { height: 52px; }
  a.nav-logo { margin-left: -8px; margin-top: -4px; }
  .nav-logo-sub { font-size: 0.85rem; }
  .nav-logo-main { font-size: 0.6rem; }
  .hero-title { font-size: 2rem; }
  .hero-sub { font-size: 0.8rem; }
  .hero-en { font-size: 0.6rem; letter-spacing: 0.15em; }
  .hero-btns { flex-direction: column; align-items: center; }
  .services-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .recruit-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-item { flex-direction: column; gap: 8px; }
  .vision-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-featured { transform: none; }
  .news-item { flex-wrap: wrap; }
  .news-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-inner { flex-direction: column; gap: 40px; }
  .footer-nav { flex-direction: column; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
}

/* メンバー紹介 */
.team {
  padding: 120px 0;
  background: var(--dark);
  border-top: 1px solid rgba(0,255,255,0.08);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,255,255,0.12);
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}

.team-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,255,255,0.35);
}

.team-avatar {
  width: 100%;
  height: 220px;
  background: rgba(255,255,255,0.05);
}

.team-info {
  padding: 24px 20px;
}

.team-role {
  font-size: 0.72rem;
  color: var(--cyber);
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}

.team-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.team-desc {
  font-size: 0.82rem;
  color: #777;
  line-height: 1.9;
}

/* ===== スクロールフェードイン ===== */
.fade-in-el {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.23, 1, 0.32, 1),
              transform 0.75s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: opacity, transform;
}
.fade-in-el.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ナビバー スクロール後に濃くなる ===== */
.navbar {
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.navbar.is-scrolled {
  background: rgba(5, 5, 10, 0.98);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.7), 0 0 1px rgba(0,255,255,0.1);
}

/* ===== ナビリンク ホバー暗転 ===== */
.nav-links > li > a {
  transition: opacity 0.3s ease, color 0.3s ease;
}
.nav-links:hover > li > a {
  opacity: 0.3;
}
.nav-links > li:hover > a {
  opacity: 1;
  color: var(--cyber);
}

/* ===== チャットボット ===== */
@keyframes giko-appear {
  0%   { opacity: 0; transform: scale(0) translateY(40px); }
  60%  { transform: scale(1.2) translateY(-8px); }
  80%  { transform: scale(0.95) translateY(2px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}

.chatbot-wrap {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
}

.chatbot-wrap.giko-visible {
  animation: giko-appear 0.7s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  pointer-events: all;
}

.chatbot-trigger {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid rgba(0,255,255,0.5);
  background: rgba(10,10,20,0.95);
  cursor: pointer;
  box-shadow: 0 0 20px rgba(0,255,255,0.25), 0 0 40px rgba(0,255,255,0.1);
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

.chatbot-trigger:hover {
  transform: scale(1.1);
  box-shadow: 0 0 30px rgba(0,255,255,0.5), 0 0 60px rgba(0,255,255,0.15);
  border-color: var(--cyber);
}

.chatbot-trigger-wrap {
  position: relative;
  display: inline-block;
}

.chatbot-trigger-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.15) translateY(6px);
  transition: transform 0.3s ease;
}

.chatbot-trigger:hover .chatbot-trigger-img {
  transform: scale(1.08);
}

.chatbot-trigger-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  background: #e8001a;
  border-radius: 50%;
  font-size: 0.7rem;
  display: none;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  z-index: 310;
  border: 2px solid #0a0a14;
  box-shadow: 0 0 8px rgba(232,0,26,0.7);
}

.chatbot-window {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 340px;
  max-height: 520px;
  background: rgba(10,10,20,0.97);
  border: 1px solid rgba(0,255,255,0.25);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6), 0 0 1px rgba(0,255,255,0.2);
  opacity: 0;
  transform: translateY(16px) scale(0.95);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.23,1,0.32,1);
  overflow: hidden;
}

.chatbot-window.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: rgba(0,255,255,0.06);
  border-bottom: 1px solid rgba(0,255,255,0.15);
  flex-shrink: 0;
}

.chatbot-header-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chatbot-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(0,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.chatbot-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.2);
}

.chatbot-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.chatbot-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  color: #666;
}

.chatbot-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #00e676;
  animation: chatbot-blink 2s ease-in-out infinite;
}

@keyframes chatbot-blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.chatbot-close {
  background: none;
  border: none;
  color: #555;
  font-size: 0.9rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: color 0.2s;
}
.chatbot-close:hover { color: #fff; }

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,255,255,0.2) transparent;
}

.chatbot-msg-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.chatbot-msg-user {
  flex-direction: row-reverse;
}

.chatbot-msg-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(0,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.chatbot-msg-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transform: scale(1.2);
}

.chatbot-bubble {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(0,255,255,0.12);
  border-radius: 0 10px 10px 10px;
  padding: 10px 13px;
  font-size: 0.82rem;
  color: #ccc;
  line-height: 1.8;
  max-width: 240px;
  animation: bubble-in 0.3s ease;
}

.chatbot-bubble-user {
  background: rgba(0,255,255,0.08);
  border-color: rgba(0,255,255,0.25);
  border-radius: 10px 0 10px 10px;
  color: var(--cyber);
}

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.chatbot-options {
  padding: 10px 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex-shrink: 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.chatbot-opt-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,255,255,0.2);
  color: #bbb;
  font-family: 'Noto Serif JP', serif;
  font-size: 0.8rem;
  padding: 9px 14px;
  text-align: left;
  cursor: pointer;
  border-radius: 6px;
  transition: all 0.2s ease;
  letter-spacing: 0.05em;
}

.chatbot-opt-btn:hover {
  background: rgba(0,255,255,0.08);
  border-color: var(--cyber);
  color: #fff;
}

@media (max-width: 768px) {
  .chatbot-wrap {
    bottom: 80px;
    right: 16px;
  }
  .chatbot-window {
    width: calc(100vw - 32px);
    right: 0;
  }
}

/* フルスクリーンメニュー（Kikawa風） */
.fs-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 80px;
  width: 100%;
  max-width: 1000px;
  padding: 0 48px;
}

.fs-menu-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 0;
  text-decoration: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.mobile-menu.open .fs-menu-item {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open .fs-menu-item:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.open .fs-menu-item:nth-child(2) { transition-delay: 0.13s; }
.mobile-menu.open .fs-menu-item:nth-child(3) { transition-delay: 0.18s; }
.mobile-menu.open .fs-menu-item:nth-child(4) { transition-delay: 0.23s; }
.mobile-menu.open .fs-menu-item:nth-child(5) { transition-delay: 0.28s; }
.mobile-menu.open .fs-menu-item:nth-child(6) { transition-delay: 0.33s; }
.mobile-menu.open .fs-menu-item:nth-child(7) { transition-delay: 0.38s; }
.mobile-menu.open .fs-menu-item:nth-child(8) { transition-delay: 0.43s; }
.mobile-menu.open .fs-menu-item:nth-child(9) { transition-delay: 0.48s; }
.mobile-menu.open .fs-menu-item:nth-child(10) { transition-delay: 0.53s; }

.fs-en {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.06em;
  line-height: 1.1;
  transition: color 0.3s;
}

.fs-ja {
  font-size: 0.85rem;
  color: var(--sakura);
  letter-spacing: 0.15em;
}

.fs-menu-item:hover .fs-en {
  color: var(--cyber);
}

.fs-menu-footer {
  display: flex;
  gap: 20px;
  margin-top: 48px;
  padding: 0 48px;
  width: 100%;
  max-width: 1000px;
}

.fs-menu-cta {
  flex: 1;
  text-align: center;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  transition: all 0.3s;
}

.fs-menu-cta:hover {
  border-color: var(--cyber);
  color: var(--cyber);
}

@media (max-width: 768px) {
  .fs-menu-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0 32px;
    margin-top: 40px;
  }
  .fs-menu-item { padding: 8px 0; }
  .fs-en { font-size: 1.4rem; }
  .fs-ja { font-size: 0.75rem; }
  .fs-menu-footer { flex-direction: column; gap: 12px; padding: 0 32px; margin-top: 28px; }
  .fs-menu-cta { padding: 13px 16px; }
}

.mobile-menu {
  overflow-y: auto;
  padding: 90px 0 40px;
}

/* フルスクリーンメニュー調整：ナビバー分の余白確保・重なり解消 */
.mobile-menu {
  justify-content: flex-start;
  padding: 130px 0 40px;
}

.mobile-menu-header {
  display: none;
}

@media (max-width: 768px) {
  .mobile-menu {
    padding: 110px 0 30px;
  }
}

/* フルスクリーンメニュー微調整：上の空きを詰め、下の切れを解消 */
@media (max-width: 768px) {
  .mobile-menu {
    padding: 95px 0 110px;
  }
  .fs-menu-grid {
    margin-top: 0;
  }
  .fs-menu-footer {
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
}
