/* Variables */
:root {
  --primary: #00f2ff;
  --secondary: #7000ff;
  --bg-main: #0a0a0c;
  --bg-sub: #16161a;
  --text-main: #ffffff;
  --text-sub: #a0a0a0;
  --glass: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.1);
  --transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Inter", "Noto Sans JP", sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 30px 0;
  transition: var(--transition);
}
header.scrolled {
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(15px);
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 2px;
}

.nav-links {
  display: flex;
  list-style: none;
}
.nav-links li {
  margin-left: 40px;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}
.nav-links a:hover {
  color: var(--primary);
}

/* Hero */
.full-screen {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
}
.hero-content {
  z-index: 2;
}
.hero-content h1 {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}
.highlight {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-content p {
  font-size: 1.2rem;
  color: var(--text-sub);
  margin-bottom: 40px;
}

.btn-primary {
  padding: 18px 45px;
  border: 1px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  border-radius: 100px;
  font-weight: 700;
  transition: var(--transition);
  display: inline-block;
}
.btn-primary:hover {
  background: var(--primary);
  color: var(--bg-main);
  box-shadow: 0 0 30px rgba(0, 242, 255, 0.4);
}

.bg-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, #1a1a2e 0%, #0a0a0c 100%);
  z-index: 1;
}

/* Sections */
.section {
  padding: 120px 0;
}
.bg-dark-secondary {
  background-color: var(--bg-sub);
}
.section-title {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 20px auto 0;
}
.section-desc {
  text-align: center;
  color: var(--text-sub);
  margin-top: -40px;
  margin-bottom: 60px;
}

/* Table */
.info-table-wrapper {
  background: var(--glass);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: 24px;
}
.info-table {
  width: 100%;
  border-collapse: collapse;
}
.info-table th {
  text-align: left;
  width: 30%;
  padding: 25px;
  color: var(--primary);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.info-table td {
  padding: 25px;
  border-bottom: 1px solid var(--border);
}
.history-list dt {
  font-weight: bold;
  color: var(--secondary);
  margin-top: 10px;
}
.history-list dd {
  margin-bottom: 15px;
  font-size: 0.95rem;
}

/* Form */
.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}
.input-group {
  margin-bottom: 30px;
}
.input-group label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--text-sub);
}
.badge {
  background: #ff4d4d;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  margin-left: 10px;
}
.input-group input,
.input-group textarea {
  width: 100%;
  padding: 18px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  border-radius: 12px;
  color: white;
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}
.input-group input:focus,
.input-group textarea:focus {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.1);
}

.btn-submit {
  width: 100%;
  padding: 20px;
  background: var(--primary);
  border: none;
  border-radius: 12px;
  font-weight: 800;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}
.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 242, 255, 0.2);
}

/* Footer */
.footer {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
}
.copyright {
  color: var(--text-sub);
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  } /* 本来はハンバーガーメニュー展開用 */
  .section-title {
    font-size: 2rem;
  }
  .info-table th {
    width: 100%;
    display: block;
    padding-bottom: 5px;
  }
  .info-table td {
    width: 100%;
    display: block;
    padding-top: 5px;
  }
}

/* Scroll Animation classes */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 1s all ease;
}
.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}
