/* ============================================================
 * stella-ad.jp  共通スタイル
 * 合同会社STELLA — 広告代理店コーポレートサイト
 * ブランド：ディープネイビー × スターブルー〜バイオレットのグラデーション
 * 参考トーン：モダン・英日バイリンガル・テック系マーケ会社
 * ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Zen+Kaku+Gothic+Antique:wght@400;500;700;900&display=swap');

:root {
  --c-bg: #ffffff;
  --c-bg-soft: #f6f8fc;
  --c-ink: #0b1024;          /* ディープネイビー（基調） */
  --c-ink-2: #161d3a;
  --c-text: #2b3147;
  --c-text-mute: #6b7390;
  --c-border: #e6eaf3;

  --c-brand: #4f6ef7;        /* スターブルー */
  --c-brand-2: #8b5cf6;      /* バイオレット */
  --c-brand-soft: #eef1ff;

  --grad: linear-gradient(120deg, #4f6ef7 0%, #8b5cf6 100%);
  --grad-ink: radial-gradient(1200px 600px at 75% -10%, #2a3570 0%, #0b1024 55%);

  --container: 1160px;
  --header-h: 76px;
  --radius: 16px;
  --radius-sm: 10px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Zen Kaku Gothic Antique', 'Inter', sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--c-brand); text-decoration: none; transition: opacity .2s, color .2s; }
a:hover { opacity: .75; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* eyebrow（英語ラベル） */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-brand);
  display: inline-block;
  margin-bottom: 14px;
}
.eyebrow.light { color: #9db0ff; }

/* ============== Header ============== */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--c-border);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand {
  font-family: 'Inter', sans-serif;
  font-size: 24px; font-weight: 800; letter-spacing: .14em;
  color: var(--c-ink); display: flex; align-items: center; gap: 8px;
}
.brand .star { color: var(--c-brand); }
.nav { display: flex; gap: 30px; align-items: center; }
.nav a {
  font-family: 'Inter', sans-serif;
  color: var(--c-ink); font-weight: 600; font-size: 13px; letter-spacing: .08em;
}
.nav a small { display: block; font-family: 'Zen Kaku Gothic Antique'; font-weight: 400; font-size: 10px; color: var(--c-text-mute); letter-spacing: 0; }
.nav a:hover { color: var(--c-brand); opacity: 1; }
.nav a.cta {
  background: var(--c-ink); color: #fff; padding: 11px 22px; border-radius: 999px;
  font-weight: 700; letter-spacing: .04em;
}
.nav a.cta small { color: rgba(255,255,255,.7); }
.nav a.cta:hover { background: var(--c-brand); opacity: 1; }

/* ============== Hero ============== */
.hero {
  background: var(--grad-ink);
  color: #fff;
  padding: 110px 0 120px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,.5), transparent),
                    radial-gradient(2px 2px at 70% 20%, rgba(255,255,255,.4), transparent),
                    radial-gradient(1.5px 1.5px at 85% 60%, rgba(255,255,255,.35), transparent),
                    radial-gradient(1.5px 1.5px at 40% 70%, rgba(255,255,255,.3), transparent);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero h1 {
  font-size: 54px; font-weight: 900; line-height: 1.32; letter-spacing: -.01em;
  margin-bottom: 24px;
}
.hero h1 .grad {
  background: linear-gradient(120deg,#7d9bff,#c4a6ff);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero .lead { font-size: 19px; font-weight: 500; color: rgba(255,255,255,.82); max-width: 680px; margin-bottom: 36px; }
.hero .cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 34px; border-radius: 999px; font-weight: 800; font-size: 15px;
  font-family: 'Zen Kaku Gothic Antique'; cursor: pointer; border: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(79,110,247,.35); }
.btn-primary:hover { transform: translateY(-2px); opacity: 1; box-shadow: 0 14px 32px rgba(139,92,246,.45); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; border: 1px solid rgba(255,255,255,.28); }
.btn-ghost:hover { background: rgba(255,255,255,.16); opacity: 1; }
.btn-dark { background: var(--c-ink); color: #fff; }
.btn-dark:hover { background: var(--c-brand); opacity: 1; transform: translateY(-2px); }

/* ============== Sections ============== */
.section { padding: 96px 0; }
.section.soft { background: var(--c-bg-soft); }
.section.ink { background: var(--grad-ink); color: #fff; }
.section h2 {
  font-size: 36px; font-weight: 900; color: var(--c-ink); letter-spacing: -.01em; line-height: 1.4;
  margin-bottom: 16px;
}
.section.ink h2 { color: #fff; }
.section .subtitle { font-size: 17px; color: var(--c-text-mute); margin-bottom: 52px; max-width: 720px; }
.section.ink .subtitle { color: rgba(255,255,255,.7); }
.section-head { margin-bottom: 52px; }
.section-head .subtitle { margin-bottom: 0; }

/* ============== Grids / Cards ============== */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
@media (max-width: 880px){ .grid-2,.grid-3,.grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 34px; box-shadow: 0 4px 18px rgba(11,16,36,.05);
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(11,16,36,.1); border-color: #d6ddf0; }
.card .num {
  font-family: 'Inter'; font-weight: 800; font-size: 14px; color: var(--c-brand);
  letter-spacing: .1em; margin-bottom: 14px;
}
.card h3 { font-size: 21px; font-weight: 900; color: var(--c-ink); margin-bottom: 10px; }
.card h3 .en { display: block; font-family: 'Inter'; font-weight: 600; font-size: 12px; letter-spacing: .12em; color: var(--c-text-mute); margin-top: 4px; }
.card .desc { font-size: 15px; color: var(--c-text); }
.card ul { list-style: none; margin-top: 16px; }
.card ul li { font-size: 14px; padding-left: 22px; position: relative; margin-bottom: 8px; }
.card ul li::before { content: "★"; position: absolute; left: 0; color: var(--c-brand); font-size: 11px; top: 2px; }

/* feature row */
.feature { display: flex; gap: 18px; align-items: flex-start; }
.feature .ic {
  flex: 0 0 48px; width: 48px; height: 48px; border-radius: 12px;
  background: var(--c-brand-soft); color: var(--c-brand);
  display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 800;
}
.feature h3 { font-size: 18px; font-weight: 900; color: var(--c-ink); margin-bottom: 6px; }
.feature p { font-size: 14px; color: var(--c-text-mute); }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
@media(max-width:880px){ .stats { grid-template-columns: repeat(2,1fr); } }
.stat .n { font-family: 'Inter'; font-size: 46px; font-weight: 800; line-height: 1.1; background: linear-gradient(120deg,#7d9bff,#c4a6ff); -webkit-background-clip:text; background-clip:text; color:transparent; }
.stat .l { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 6px; }

/* ============== Tables (company / recruit) ============== */
.info-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.info-table th, .info-table td { text-align: left; padding: 18px 24px; border-bottom: 1px solid var(--c-border); font-size: 15px; vertical-align: top; }
.info-table th { width: 30%; background: var(--c-bg-soft); color: var(--c-ink); font-weight: 700; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: none; }
@media(max-width:680px){ .info-table th { width: 38%; } }

/* job card */
.job {
  background: #fff; border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 30px 34px; margin-bottom: 20px;
}
.job .tag { display:inline-block; background: var(--c-brand-soft); color: var(--c-brand); font-weight: 700; font-size: 12px; padding: 4px 12px; border-radius: 999px; margin-bottom: 12px; }
.job h3 { font-size: 22px; font-weight: 900; color: var(--c-ink); margin-bottom: 14px; }
.job dl { display: grid; grid-template-columns: 120px 1fr; gap: 10px 16px; font-size: 14px; }
.job dt { font-weight: 700; color: var(--c-text-mute); }
@media(max-width:680px){ .job dl { grid-template-columns: 92px 1fr; } }

/* ============== CTA Block ============== */
.cta-block { background: var(--grad-ink); border-radius: 24px; padding: 64px 40px; text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-block h2 { color: #fff; font-size: 32px; margin-bottom: 14px; }
.cta-block p { color: rgba(255,255,255,.8); font-size: 17px; margin-bottom: 30px; }

/* ============== Form ============== */
.form-grid { display: grid; gap: 18px; max-width: 640px; margin: 0 auto; }
.form-grid label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 6px; color: var(--c-ink); }
.form-grid input, .form-grid textarea, .form-grid select {
  width: 100%; padding: 14px 16px; border: 1.5px solid var(--c-border); border-radius: var(--radius-sm);
  font-size: 16px; font-family: inherit; color: var(--c-text); background: #fff;
}
.form-grid input:focus, .form-grid textarea:focus, .form-grid select:focus { outline: none; border-color: var(--c-brand); box-shadow: 0 0 0 3px rgba(79,110,247,.15); }
.form-grid textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 13px; color: var(--c-text-mute); }

/* ============== Page hero (sub pages) ============== */
.page-hero { background: var(--grad-ink); color: #fff; padding: 76px 0 64px; }
.page-hero h1 { font-size: 40px; font-weight: 900; margin-bottom: 8px; }
.page-hero p { color: rgba(255,255,255,.7); font-size: 16px; }

/* ============== Footer ============== */
.site-footer { background: var(--c-ink); color: #fff; padding: 64px 0 28px; font-size: 14px; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: #9db0ff; opacity: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; margin-bottom: 36px; }
@media(max-width:880px){ .footer-grid { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand .star { color: var(--c-brand); }
.site-footer p { color: rgba(255,255,255,.6); }
.site-footer h4 { font-size: 13px; font-weight: 700; letter-spacing: .08em; margin-bottom: 16px; color: #fff; font-family: 'Inter'; }
.site-footer ul { list-style: none; }
.site-footer ul li { margin-bottom: 10px; }
.copyright { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; text-align: center; font-size: 12px; color: rgba(255,255,255,.45); font-family: 'Inter'; letter-spacing: .04em; }

/* ============== Responsive ============== */
@media (max-width: 768px) {
  .hero { padding: 80px 0 88px; }
  .hero h1 { font-size: 34px; }
  .hero .lead { font-size: 16px; }
  .section { padding: 64px 0; }
  .section h2 { font-size: 27px; }
  .nav { gap: 14px; }
  .nav a:not(.cta) { display: none; }
}
