/* SOCIO INNOVATION - Logo & Layout Fixed Edition */

:root {
  --bg-dark: #020617;
  --card-bg: #0f172a;
  --accent-blue: #007bff;
  --accent-cyan: #00e5ff;
  --text-primary: #ffffff;
  --text-dim: #cbd5e1;
  --border-light: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
}

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

/* Header */
.header {
  position: fixed; top: 0; width: 100%; z-index: 1000;
  background: #020617;
  height: 80px; display: flex; align-items: center;
  border-bottom: 2px solid var(--accent-blue);
}
.header__inner { width: 100%; display: flex; justify-content: space-between; align-items: center; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__logo { 
  width: 40px; height: 40px; background: var(--accent-blue); border-radius: 4px;
  display: grid; place-items: center; font-weight: 900; color: #fff;
}
.brand__name { color: #fff; font-weight: 800; font-size: 1.2rem; letter-spacing: 1px; }

.nav { display: flex; gap: 24px; align-items: center; }
.nav a { text-decoration: none; color: #fff; font-weight: 700; transition: 0.3s; }
.nav-contact { background: var(--accent-blue); padding: 8px 16px; border-radius: 4px; }

/* Hero */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative;
  background-image: url('https://images.unsplash.com/photo-1550751827-4bd374c3f58b?q=80&w=2400&auto=format&fit=crop');
  background-size: cover; background-position: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(2, 6, 23, 0.75);
  z-index: 1;
}
.hero__inner { position: relative; z-index: 2; padding-top: 80px; }
.hero__copy { max-width: 800px; }

h1 {
  font-size: clamp(2.2rem, 7vw, 4rem); line-height: 1.2; margin-bottom: 24px; font-weight: 900;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
}
.text-highlight { color: var(--accent-cyan); }
.lead { font-size: 1.2rem; color: #fff; margin-bottom: 40px; font-weight: 700; }
.pill { display: inline-block; padding: 8px 16px; background: var(--accent-blue); color: #fff; border-radius: 4px; font-weight: 900; margin-bottom: 24px; }

/* Buttons */
.btn { padding: 18px 36px; border-radius: 4px; font-weight: 900; text-decoration: none; display: inline-block; transition: 0.2s; border: none; cursor: pointer; }
.btn--primary { background: var(--accent-cyan); color: #000; }
.btn--secondary { background: #fff; color: #000; margin-left: 16px; }
.btn--large { font-size: 1.3rem; padding: 22px 44px; }

/* Sections */
.section { padding: 100px 0; }
.section--alt { background: #070b1a; border-top: 1px solid var(--border-light); }
.section__title { font-size: 2.5rem; text-align: center; margin-bottom: 60px; font-weight: 900; color: #fff; }

/* Cards & Bento Grid (修正の肝) */
.grid4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.bento-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.bento-grid__item--large { grid-column: span 2; }

.card {
  background: var(--card-bg); padding: 30px; border-radius: 8px;
  border: 1px solid var(--border-light); border-bottom: 4px solid var(--accent-blue);
  display: flex; flex-direction: column;
}
.card i { font-size: 2.2rem; color: var(--accent-cyan); margin-bottom: 20px; }
.card h3 { font-size: 1.3rem; margin-bottom: 12px; color: #fff; }

[cite_start]/* DELL認定証画像のサイズを徹底制御 [cite: 1, 6, 7] */
.dell-card { justify-content: space-between; }
.dell-img-box {
  background: #fff;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 20px;
  width: 100%; /* カード幅に合わせる */
  display: flex;
  justify-content: center;
}
.dell-img {
  max-width: 100%; /* 絶対にカードをはみ出さない */
  height: auto; /* 比率を保つ */
  display: block;
}

/* Footer */
.footer { padding: 40px 0; border-top: 1px solid var(--border-light); background: #01040a; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; }

/* Mobile */
@media (max-width: 860px) {
  .nav { display: none; }
  .btn { width: 100%; margin: 8px 0 !important; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-grid__item--large { grid-column: span 1; }
}

.navToggle { display: none; background: none; border: none; padding: 10px; }
.navToggle span { display: block; width: 25px; height: 3px; background: white; margin: 5px; }
@media (max-width: 860px) { .navToggle { display: block; } }

/* Contact Page Specific */
.container--narrow { max-width: 800px; }

.contact-hero {
  padding-top: 160px;
  background: linear-gradient(180deg, var(--bg-dark) 0%, #070b1a 100%);
}

.contact-form {
  padding: 60px;
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

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

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent-cyan);
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.required {
  background: #ff4d4d;
  color: #fff;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 2px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  color: #fff;
  font-size: 1rem;
  transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-blue);
  background: rgba(255, 255, 255, 0.1);
}

.form-footer {
  text-align: center;
  margin-top: 40px;
}

.privacy-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 24px;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .contact-form { padding: 30px 20px; }
}

/* Language Switcher Styles */
.lang-switch {
  margin-left: 15px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dim);
}
.lang-link {
  color: var(--text-primary);
  text-decoration: none;
  transition: 0.3s;
}
.lang-link:hover {
  color: var(--accent-cyan);
}
.lang-switch .current {
  color: var(--accent-cyan);
}