/* ===== AltLook Corporate Site ===== */

:root {
  --color-bg: #0a0e1a;
  --color-bg-alt: #111827;
  --color-surface: #1a2236;
  --color-border: #2a3550;
  --color-text: #e2e8f0;
  --color-text-muted: #94a3b8;
  --color-accent: #f3c517;
  --color-accent-hover: #d4a914;
  --color-accent-secondary: #8b5cf6;
  --font-sans: "Inter", "Noto Sans JP", system-ui, sans-serif;
  --max-width: 1100px;
  --header-height: 72px;
  --radius: 12px;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-accent-hover);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--color-text);
}

.logo img {
  display: block;
  width: auto;
  height: auto;
  max-height: 48px;
  max-width: none;
}

.logo span {
  color: var(--color-accent);
}

.site-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
}

.site-nav a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--color-accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--color-text);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Main ===== */

main {
  flex: 1;
}

.section {
  padding: 80px 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.section-subtitle {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 48px;
  max-width: 600px;
}

.page-header {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 48px;
}

.page-header h1 {
  font-size: 2.25rem;
  font-weight: 700;
}

.page-header p {
  color: var(--color-text-muted);
  margin-top: 12px;
}

/* ===== Hero ===== */

.hero {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(243, 197, 23, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  text-align: left;
}

.hero-logo {
  display: block;
  width: auto;
  height: auto;
  max-height: 96px;
  max-width: min(100%, 360px);
  margin-bottom: 28px;
}

.hero-label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 24px;
}

.hero p {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  margin-bottom: 40px;
}

.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

/* ===== Buttons ===== */

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  color: var(--color-bg);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(243, 197, 23, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-accent);
  border: 1px solid var(--color-accent);
}

.btn-outline:hover {
  background: rgba(243, 197, 23, 0.1);
  color: var(--color-accent);
}

/* ===== Cards ===== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color var(--transition), transform var(--transition);
}

.card:hover {
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 20px;
  background: rgba(243, 197, 23, 0.1);
  color: var(--color-accent);
}

.card-icon.purple {
  background: rgba(139, 92, 246, 0.1);
  color: var(--color-accent-secondary);
}

.card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 600;
}

/* ===== About excerpt ===== */

.about-excerpt {
  max-width: 680px;
}

.about-excerpt p {
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

/* ===== CTA ===== */

.cta-section {
  text-align: center;
  padding: 80px 0;
}

.cta-section h2 {
  font-size: 1.75rem;
  margin-bottom: 16px;
}

.cta-section p {
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

/* ===== Company table ===== */

.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table th,
.info-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.info-table th {
  width: 200px;
  color: var(--color-text-muted);
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
}

.info-table td {
  font-size: 0.95rem;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

/* ===== Message block ===== */

.message-block {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
  margin-top: 48px;
}

.message-block h2 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.message-block p {
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.message-signature {
  margin-top: 24px;
  font-weight: 600;
  color: var(--color-text);
}

/* ===== Members ===== */

.member-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.member-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.member-card .role {
  font-size: 0.8rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 8px;
}

.member-card .name {
  font-weight: 600;
}

/* ===== Service blocks ===== */

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid var(--color-border);
}

.service-block:last-child {
  border-bottom: none;
}

.service-block.reverse {
  direction: rtl;
}

.service-block.reverse > * {
  direction: ltr;
}

.service-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--color-border);
  line-height: 1;
  margin-bottom: 16px;
}

.service-block h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-block p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.service-list {
  list-style: none;
}

.service-list li {
  padding: 8px 0;
  padding-left: 20px;
  position: relative;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}

.service-visual {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

/* ===== Contact ===== */

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 48px;
}

.contact-info h2 {
  font-size: 1.25rem;
  margin-bottom: 20px;
}

.contact-info p {
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.contact-info .email {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-accent);
  margin: 24px 0;
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 16px;
}

/* ===== Privacy ===== */

.privacy-note {
  margin-top: 48px;
  padding: 24px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.privacy-note h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

.privacy-note p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

/* ===== Footer ===== */

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-nav {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-nav a {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.footer-nav a:hover {
  color: var(--color-accent);
}

.footer-copy {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

.site-footer .logo img {
  max-height: 40px;
}

/* ===== Focus ===== */

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* ===== Responsive ===== */

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    padding: 24px;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
  }

  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .site-nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .hero {
    padding: 80px 0 64px;
  }

  .section {
    padding: 56px 0;
  }

  .service-block,
  .service-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }

  .info-table th {
    width: 120px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}
