/* =========================================================
   合同会社SSインベスター コーポレートサイト
   信頼感のある企業サイト（ネイビー × ゴールド）
   ========================================================= */

:root {
  --navy:        #14233f;
  --navy-deep:   #0d1830;
  --navy-soft:   #25395f;
  --gold:        #c2a15a;
  --gold-soft:   #d8bd84;
  --ink:         #2a2f3a;
  --ink-soft:    #5b6472;
  --line:        #e4e7ec;
  --bg:          #ffffff;
  --bg-soft:     #f6f7f9;
  --bg-navy:     #14233f;
  --radius:      10px;
  --maxw:        1120px;
  --shadow:      0 10px 30px rgba(20, 35, 63, .08);
  --shadow-lg:   0 18px 50px rgba(20, 35, 63, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI",
               "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: var(--ink);
  line-height: 1.85;
  font-size: 16px;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--navy);
}
.brand .mark {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: var(--gold-soft);
  display: grid; place-items: center;
  font-weight: 700; font-size: 17px;
  letter-spacing: .04em;
}
.brand .brand-name { font-size: 17px; line-height: 1.25; }
.brand .brand-name small {
  display: block; font-size: 11px; font-weight: 500;
  color: var(--ink-soft); letter-spacing: .12em;
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  position: relative; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--gold);
  transition: width .25s ease;
}
.nav a:hover::after, .nav a.active::after { width: 100%; }
.nav a.active { color: var(--navy); font-weight: 700; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  border: 1.5px solid transparent; cursor: pointer; transition: all .22s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--gold); color: #fff; }
.btn-primary:hover { background: var(--gold-soft); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: #fff; }

.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; padding: 10px;
}
.nav-toggle span {
  display: block; height: 2px; background: var(--navy); margin: 5px 0;
  transition: .25s; border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(13,24,48,.78), rgba(13,24,48,.88)),
    radial-gradient(120% 120% at 80% 0%, var(--navy-soft), var(--navy-deep));
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(120% 80% at 70% 20%, #000, transparent 75%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; padding-top: 96px; padding-bottom: 104px; }
.hero .eyebrow {
  display: inline-block; color: var(--gold-soft); font-weight: 600;
  letter-spacing: .22em; font-size: 12.5px; margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(30px, 5vw, 52px); line-height: 1.35; margin: 0 0 24px;
  font-weight: 700; letter-spacing: .01em;
}
.hero h1 .accent { color: var(--gold-soft); }
.hero p.lead { font-size: clamp(15px, 2vw, 18px); color: #d7dce6; max-width: 640px; margin: 0 0 36px; }
.hero .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Section base ---------- */
.section { padding: 92px 0; }
.section.soft { background: var(--bg-soft); }
.section.navy { background: var(--bg-navy); color: #fff; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head.left { text-align: left; margin-left: 0; }
.section-head .kicker {
  color: var(--gold); font-weight: 700; letter-spacing: .18em;
  font-size: 12.5px; text-transform: uppercase; display: block; margin-bottom: 14px;
}
.section-head h2 {
  font-size: clamp(24px, 3.4vw, 34px); margin: 0 0 16px; color: var(--navy);
  font-weight: 700; line-height: 1.45;
}
.section.navy .section-head h2 { color: #fff; }
.section-head p { color: var(--ink-soft); margin: 0; font-size: 15.5px; }
.section.navy .section-head p { color: #c3cbd9; }

/* ---------- Feature / value grid ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 38px 32px; transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .icon {
  width: 54px; height: 54px; border-radius: 12px; margin-bottom: 22px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  display: grid; place-items: center; color: var(--gold-soft);
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin: 0 0 12px; font-size: 19px; color: var(--navy); font-weight: 700; }
.card p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }
.card .tagline { color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: .04em; margin-bottom: 6px; }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 60px; align-items: center; }
.split .visual {
  border-radius: 14px; min-height: 360px;
  background:
    linear-gradient(180deg, rgba(13,24,48,.15), rgba(13,24,48,.45)),
    radial-gradient(120% 120% at 20% 10%, var(--navy-soft), var(--navy-deep));
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.split .visual .badge {
  position: absolute; left: 28px; bottom: 28px; color: #fff;
}
.split .visual .badge .num { font-size: 42px; font-weight: 700; color: var(--gold-soft); line-height: 1; }
.split .visual .badge .lbl { font-size: 13px; color: #d7dce6; letter-spacing: .08em; }
.split h2 { font-size: clamp(23px, 3.2vw, 32px); color: var(--navy); margin: 0 0 20px; line-height: 1.5; }
.split p { color: var(--ink-soft); margin: 0 0 18px; }
.split .kicker { color: var(--gold); font-weight: 700; letter-spacing: .18em; font-size: 12.5px; display: block; margin-bottom: 14px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; text-align: center; }
.stats .stat .num { font-size: clamp(30px, 4vw, 44px); font-weight: 700; color: var(--gold-soft); line-height: 1; }
.stats .stat .lbl { color: #c3cbd9; font-size: 14px; margin-top: 10px; }

/* ---------- Service detail block ---------- */
.service-block { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--line); }
.service-block:last-child { border-bottom: 0; }
.service-block.reverse { grid-template-columns: 1.2fr 1fr; }
.service-block.reverse .s-visual { order: 2; }
.service-block .s-visual {
  border-radius: 14px; min-height: 300px;
  background: radial-gradient(120% 120% at 30% 20%, var(--navy-soft), var(--navy-deep));
  box-shadow: var(--shadow); display: grid; place-items: center; color: var(--gold-soft);
}
.service-block .s-visual svg { width: 80px; height: 80px; opacity: .9; }
.service-block .tag { color: var(--gold); font-weight: 700; letter-spacing: .12em; font-size: 13px; }
.service-block h3 { font-size: 26px; color: var(--navy); margin: 8px 0 18px; font-weight: 700; }
.service-block p { color: var(--ink-soft); margin: 0 0 14px; }
.service-block ul { margin: 18px 0 0; padding: 0; list-style: none; }
.service-block ul li { position: relative; padding-left: 26px; margin-bottom: 10px; color: var(--ink); font-size: 15px; }
.service-block ul li::before {
  content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px;
  border-radius: 50%; background: var(--gold);
}

/* ---------- Page hero (sub pages) ---------- */
.page-hero {
  background:
    linear-gradient(180deg, rgba(13,24,48,.82), rgba(13,24,48,.9)),
    radial-gradient(120% 140% at 80% 0%, var(--navy-soft), var(--navy-deep));
  color: #fff; padding: 70px 0; text-align: center;
}
.page-hero .crumb { color: #aab4c6; font-size: 13px; letter-spacing: .08em; margin-bottom: 16px; }
.page-hero .crumb a:hover { color: var(--gold-soft); }
.page-hero h1 { font-size: clamp(26px, 4vw, 40px); margin: 0 0 10px; font-weight: 700; }
.page-hero p { color: #c3cbd9; margin: 0; }

/* ---------- Company table ---------- */
.info-table { width: 100%; border-collapse: collapse; max-width: 840px; margin: 0 auto; }
.info-table th, .info-table td { text-align: left; padding: 20px 24px; border-bottom: 1px solid var(--line); vertical-align: top; }
.info-table th { width: 220px; color: var(--navy); font-weight: 700; background: var(--bg-soft); font-size: 14.5px; }
.info-table td { color: var(--ink); font-size: 15px; }
@media (max-width: 640px) {
  .info-table, .info-table tbody, .info-table tr, .info-table th, .info-table td { display: block; width: 100%; }
  .info-table th { border-bottom: 0; padding-bottom: 6px; }
  .info-table td { padding-top: 6px; padding-bottom: 18px; }
}

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; }
.contact-info .item { display: flex; gap: 16px; margin-bottom: 26px; }
.contact-info .item .ci {
  flex: 0 0 46px; height: 46px; border-radius: 10px;
  background: var(--bg-soft); display: grid; place-items: center; color: var(--navy);
}
.contact-info .item h4 { margin: 0 0 4px; font-size: 15px; color: var(--navy); }
.contact-info .item p { margin: 0; color: var(--ink-soft); font-size: 14.5px; }

.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 8px; }
.field input, .field textarea {
  width: 100%; padding: 13px 15px; border: 1px solid var(--line); border-radius: 8px;
  font-family: inherit; font-size: 15px; color: var(--ink); background: #fcfcfd;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus {
  outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(194,161,90,.15);
}
.field textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: 12.5px; color: var(--ink-soft); margin-top: 14px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--bg-navy); color: #fff; text-align: center; padding: 76px 0; }
.cta-band h2 { font-size: clamp(22px, 3.4vw, 32px); margin: 0 0 14px; font-weight: 700; }
.cta-band p { color: #c3cbd9; margin: 0 0 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #c3cbd9; padding: 64px 0 28px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { color: #fff; margin-bottom: 16px; }
.footer-brand p { font-size: 14px; max-width: 320px; }
.footer-col h5 { color: #fff; font-size: 14px; margin: 0 0 16px; letter-spacing: .06em; }
.footer-col a { display: block; font-size: 14px; padding: 6px 0; color: #aab4c6; }
.footer-col a:hover { color: var(--gold-soft); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 12.5px; color: #8a93a4; flex-wrap: wrap; gap: 10px; }
.footer-bottom a:hover { color: var(--gold-soft); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2, .split, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .split .visual { min-height: 260px; }
  .service-block, .service-block.reverse { grid-template-columns: 1fr; gap: 28px; }
  .service-block.reverse .s-visual { order: 0; }
  .stats { grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .nav {
    position: fixed; top: 72px; right: 0; left: 0;
    background: #fff; flex-direction: column; gap: 0; align-items: stretch;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .nav.open { max-height: 360px; }
  .nav a { padding: 16px 24px; border-top: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav .btn { margin: 14px 24px; }
  .nav-toggle { display: block; }
  .section { padding: 64px 0; }
}
