/* ========================================
   鉄壁セキュリティ - Event Security
   Black #0A0A0A + Red #D32F2F
   ======================================== */

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

:root {
  --black: #0A0A0A;
  --black-light: #1A1A1A;
  --black-lighter: #2A2A2A;
  --red: #D32F2F;
  --red-light: #E53935;
  --red-dark: #B71C1C;
  --white: #FFFFFF;
  --off-white: #F5F5F5;
  --gray-100: #E8E8E8;
  --gray-200: #D0D0D0;
  --gray-300: #B0B0B0;
  --gray-400: #888888;
  --gray-500: #666666;
  --gray-600: #444444;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.25);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--gray-600);
  background: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 3px;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-list a {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
  position: relative;
}

.nav-list a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: var(--transition);
}

.nav-list a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 2px;
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--red-light);
}

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

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

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  background: var(--black);
  z-index: 999;
  transform: translateY(-120%);
  transition: var(--transition);
  padding: 20px 0;
}

.mobile-nav.active { transform: translateY(0); }

.mobile-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.mobile-nav a {
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
}

/* --- HERO --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.6) 50%, rgba(10, 10, 10, 0.85) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
}

.hero-sub {
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 6px;
  color: var(--red);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 2;
  opacity: 0.85;
  margin-bottom: 36px;
  font-weight: 300;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}

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

.btn-primary:hover {
  background: var(--red-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(211, 47, 47, 0.4);
}

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

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

.btn-full {
  width: 100%;
  max-width: 400px;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
}

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

.hero-stat-num {
  font-family: 'Oswald', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--red);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* --- SECTIONS --- */
.section {
  padding: 100px 0;
}

.section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 4px;
  color: var(--red);
  margin-bottom: 12px;
  text-align: center;
  font-weight: 500;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 900;
  text-align: center;
  color: var(--black);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.section-subtitle {
  text-align: center;
  font-size: 1rem;
  color: var(--gray-500);
  line-height: 2;
  margin-bottom: 60px;
}

/* --- ABOUT --- */
.about { background: var(--off-white); }

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

.about-image {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.about-image:hover img { transform: scale(1.05); }

.about-text h3 {
  font-size: 1.6rem;
  color: var(--black);
  margin-bottom: 20px;
  line-height: 1.6;
}

.about-text p {
  margin-bottom: 16px;
  color: var(--gray-600);
  line-height: 2;
}

.about-badges {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--black);
  font-size: 0.95rem;
}

/* --- SERVICES --- */
.services { background: var(--white); }

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 4px;
  padding: 40px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--red);
  transition: var(--transition);
}

.service-card:hover::before { height: 100%; }
.service-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.service-icon { margin-bottom: 24px; }

.service-card h3 {
  font-size: 1.3rem;
  color: var(--black);
  margin-bottom: 16px;
  font-weight: 700;
}

.service-card p {
  color: var(--gray-500);
  line-height: 1.9;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--black);
  font-weight: 500;
}

.service-features li::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--red);
  flex-shrink: 0;
}

/* --- EVENT TYPES TABLE --- */
.event-types { background: var(--black); color: var(--white); }

.event-types .section-title { color: var(--white); }
.event-types .section-subtitle { color: rgba(255, 255, 255, 0.6); }

.event-table-wrapper {
  overflow-x: auto;
  border-radius: 4px;
  border: 1px solid var(--black-lighter);
}

.event-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.event-table thead th {
  background: var(--black-lighter);
  padding: 16px 20px;
  text-align: left;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1px;
  border-bottom: 2px solid var(--red);
}

.event-table tbody td {
  padding: 16px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--black-lighter);
  color: rgba(255, 255, 255, 0.8);
}

.event-table tbody tr:hover {
  background: rgba(211, 47, 47, 0.05);
}

.event-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
}

.event-tag.concert { background: #D32F2F; }
.event-tag.exhibition { background: #1976D2; }
.event-tag.sports { background: #388E3C; }
.event-tag.fireworks { background: #F57C00; }
.event-tag.festival { background: #7B1FA2; }
.event-tag.corporate { background: #455A64; }

.event-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(211, 47, 47, 0.1);
  border-radius: 4px;
  border-left: 3px solid var(--red);
}

.event-note p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.event-note svg { flex-shrink: 0; margin-top: 2px; }

/* --- NUMBERS --- */
.numbers {
  background: var(--red);
  padding: 80px 0;
}

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

.number-item { color: var(--white); }

.number-value {
  font-family: 'Oswald', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: inline;
}

.number-unit {
  font-size: 1rem;
  display: inline;
  margin-left: 4px;
  opacity: 0.9;
  color: var(--white);
}

.number-label {
  font-size: 0.9rem;
  opacity: 0.8;
  margin-top: 8px;
}

/* --- WORKS --- */
.works { background: var(--off-white); }

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

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

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

.work-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.work-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.work-tag {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--red);
  color: var(--white);
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 2px;
}

.work-content { padding: 24px; }

.work-content h3 {
  font-size: 1.1rem;
  color: var(--black);
  margin-bottom: 12px;
  font-weight: 700;
}

.work-content p {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.8;
  margin-bottom: 16px;
}

.work-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.work-meta span {
  font-size: 0.8rem;
  color: var(--gray-400);
}

/* --- FLOW --- */
.flow { background: var(--white); }

.flow-steps {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  left: 28px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-100);
}

.flow-step {
  display: flex;
  gap: 32px;
  padding: 28px 0;
  position: relative;
}

.flow-num {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.flow-body h3 {
  font-size: 1.1rem;
  color: var(--black);
  margin-bottom: 8px;
  font-weight: 700;
}

.flow-body p {
  font-size: 0.95rem;
  color: var(--gray-500);
  line-height: 1.9;
}

/* --- FAQ --- */
.faq { background: var(--off-white); }

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

.faq-item {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border-left: 3px solid transparent;
  transition: var(--transition);
}

.faq-item.active { border-left-color: var(--red); }

.faq-question {
  width: 100%;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  text-align: left;
  font-family: inherit;
  gap: 16px;
  transition: var(--transition);
}

.faq-question:hover { color: var(--red); }

.faq-arrow {
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.active .faq-arrow { transform: rotate(180deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer p {
  padding: 0 28px 24px;
  color: var(--gray-500);
  line-height: 2;
  font-size: 0.95rem;
}

/* --- COMPANY --- */
.company { background: var(--white); }

.company-table-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

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

.company-table tr { border-bottom: 1px solid var(--gray-100); }

.company-table th {
  padding: 20px 24px;
  text-align: left;
  font-weight: 700;
  color: var(--black);
  width: 180px;
  font-size: 0.95rem;
  vertical-align: top;
  background: var(--off-white);
}

.company-table td {
  padding: 20px 24px;
  color: var(--gray-600);
  font-size: 0.95rem;
}

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

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-info-item svg { flex-shrink: 0; margin-top: 4px; }

.contact-info-label {
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 4px;
}

.contact-info-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
}

.contact-info-note {
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-top: 4px;
}

.contact-form {
  background: var(--white);
  padding: 40px;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
}

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

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
}

.required {
  color: var(--red);
  font-size: 0.75rem;
  margin-left: 4px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--gray-200);
  border-radius: 2px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--black);
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.form-group textarea { resize: vertical; }

.form-privacy { margin-bottom: 24px; }

.form-privacy label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--gray-500);
  cursor: pointer;
}

.form-privacy a { color: var(--red); text-decoration: underline; }

.contact-form .btn { display: flex; margin: 0 auto; }

/* --- FOOTER --- */
.footer {
  background: var(--black);
  color: var(--white);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--black-lighter);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: 2px;
}

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

.footer-nav h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 16px;
}

.footer-nav li { margin-bottom: 10px; }

.footer-nav a {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-nav a:hover { color: var(--red); }

.footer-nav li:not(:has(a)) {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.3);
}

/* --- ANIMATIONS --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .numbers-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .header-inner { height: 64px; }
  .hero { min-height: 600px; }
  .hero-title { font-size: 2rem; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .section { padding: 70px 0; }
  .section-title { font-size: 1.6rem; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
  .company-table th { width: 120px; padding: 14px 12px; font-size: 0.85rem; }
  .company-table td { padding: 14px 12px; font-size: 0.85rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .flow-step { gap: 20px; }
  .flow-num { width: 44px; height: 44px; font-size: 0.9rem; }
  .flow-steps::before { left: 21px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.7rem; }
  .section-title { font-size: 1.4rem; }
  .number-value { font-size: 2.5rem; }
  .company-table th, .company-table td {
    display: block; width: 100%; padding: 10px 16px;
  }
  .company-table th { padding-bottom: 4px; background: transparent; }
  .company-table td { padding-top: 0; }
}
