/* ============================================================
   アクシス財務コンサルティング — styles
   Palette: deep navy + champagne gold + warm ivory
   ============================================================ */
:root {
  --navy:        #0e2038;
  --navy-deep:   #081424;
  --navy-soft:   #1a3252;
  --gold:        #c0a368;
  --gold-deep:   #a8884f;
  --gold-light:  #d8c39a;
  --ivory:       #f7f4ee;
  --paper:       #ffffff;
  --ink:         #1c2330;
  --muted:       #5d6573;
  --line:        rgba(14, 32, 56, 0.12);
  --line-light:  rgba(255, 255, 255, 0.16);
  --shadow:      0 24px 60px -24px rgba(14, 32, 56, 0.25);
  --shadow-soft: 0 12px 40px -18px rgba(14, 32, 56, 0.20);
  --serif: "Shippori Mincho B1", "Noto Serif JP", serif;
  --sans: "Noto Sans JP", system-ui, sans-serif;
  --en: "Cormorant Garamond", serif;
  --maxw: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 92%; max-width: var(--maxw); margin: 0 auto; }

.section { padding: clamp(72px, 11vw, 140px) 0; }

/* ---------- Section heads ---------- */
.section-head { text-align: center; margin-bottom: clamp(44px, 6vw, 72px); }
.section-en {
  font-family: var(--en);
  font-size: 0.95rem;
  letter-spacing: 0.42em;
  color: var(--gold-deep);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-left: 0.42em;
}
.section-en.light { color: var(--gold-light); }
.section-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: 0.06em;
  color: var(--navy);
  line-height: 1.4;
}
.section-desc {
  margin: 22px auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: 0.97rem;
  font-weight: 300;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 17px 38px;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: 2px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, background .35s, color .35s;
  cursor: pointer;
  border: 1px solid transparent;
  position: relative;
}
.btn-primary {
  background: linear-gradient(120deg, var(--gold) 0%, var(--gold-deep) 100%);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(168, 136, 79, 0.6);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 40px -14px rgba(168, 136, 79, 0.7); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.1); transform: translateY(-3px); border-color:#fff; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s, box-shadow .4s, padding .4s;
  padding: 22px 0;
}
.site-header.scrolled {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 14px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 42px; height: 42px; flex: none;
  display: grid; place-items: center;
  background: var(--navy);
  color: var(--gold-light);
  font-family: var(--en); font-size: 1.5rem; font-weight: 600;
  border-radius: 6px;
  border: 1px solid var(--gold);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.06rem; letter-spacing: .08em; color: #fff; transition: color .4s; }
.brand-sub { font-family: var(--en); font-size: .62rem; letter-spacing: .34em; color: var(--gold-light); }
.scrolled .brand-name { color: var(--navy); }

.nav { display: flex; align-items: center; gap: 38px; }
.nav a { font-size: .92rem; font-weight: 500; letter-spacing: .06em; color: #fff; transition: color .3s; position: relative; }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -7px; width: 0; height: 1px;
  background: var(--gold); transition: width .35s;
}
.nav a:not(.nav-cta):hover::after { width: 100%; }
.scrolled .nav a { color: var(--navy); }
.nav-cta {
  padding: 11px 26px; border: 1px solid var(--gold);
  color: var(--gold-light) !important; border-radius: 2px; transition: all .35s;
}
.scrolled .nav-cta { color: var(--gold-deep) !important; }
.nav-cta:hover { background: var(--gold); color: #fff !important; border-color: var(--gold); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 2px; background: #fff; transition: .35s; }
.scrolled .nav-toggle span { background: var(--navy); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  color: #fff; overflow: hidden;
  background: var(--navy-deep);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(120% 80% at 80% 10%, rgba(192,163,104,.20), transparent 55%),
    radial-gradient(90% 70% at 10% 90%, rgba(26,50,82,.9), transparent 60%),
    linear-gradient(155deg, #0a1726 0%, #0e2038 45%, #122a47 100%);
}
.hero-bg::before {
  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: 64px 64px;
  mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 90% at 70% 30%, #000 30%, transparent 75%);
}
.hero-bg::after {
  content: ""; position: absolute; right: -8%; top: 50%; transform: translateY(-50%);
  width: 540px; height: 540px; border-radius: 50%;
  border: 1px solid rgba(192,163,104,.35);
  box-shadow: 0 0 0 60px rgba(192,163,104,.04), inset 0 0 120px rgba(192,163,104,.07);
}
.hero-inner { position: relative; z-index: 2; padding: 130px 0 90px; }
.hero-eyebrow {
  font-size: .9rem; letter-spacing: .28em; color: var(--gold-light);
  font-weight: 400; margin-bottom: 26px; padding-left: .28em;
}
.hero-eyebrow::before {
  content: ""; display: inline-block; width: 38px; height: 1px;
  background: var(--gold); vertical-align: middle; margin-right: 16px;
}
.hero-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  line-height: 1.42; letter-spacing: .04em; margin-bottom: 30px;
}
.hero-title em { font-style: normal; color: var(--gold-light); position: relative; }
.hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem); font-weight: 300;
  line-height: 2.1; color: rgba(255,255,255,.82); margin-bottom: 44px;
}
.hero-actions { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-points {
  list-style: none; display: flex; flex-wrap: wrap; gap: 14px 40px;
  border-top: 1px solid rgba(255,255,255,.14); padding-top: 30px; max-width: 760px;
}
.hero-points li { display: flex; align-items: center; gap: 12px; font-size: .92rem; font-weight: 300; color: rgba(255,255,255,.85); }
.hero-points span { font-family: var(--en); font-size: 1.1rem; color: var(--gold); letter-spacing: .1em; }

.scroll-cue { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 3; width: 26px; height: 44px; border: 1px solid rgba(255,255,255,.4); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--gold-light); animation: scrolldot 1.8s infinite; }
@keyframes scrolldot { 0%{opacity:0;transform:translateY(0)} 30%{opacity:1} 70%{opacity:1} 100%{opacity:0;transform:translateY(14px)} }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--navy); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { text-align: center; padding: 40px 16px; border-right: 1px solid rgba(255,255,255,.1); }
.trust-item:last-child { border-right: 0; }
.trust-item .num { font-family: var(--en); font-size: 3.2rem; font-weight: 600; color: var(--gold-light); line-height: 1; }
.trust-item .num.small { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .04em; }
.trust-item .unit { font-family: var(--serif); font-size: 1.1rem; color: var(--gold-light); margin-left: 4px; }
.trust-item p { margin-top: 12px; font-size: .9rem; font-weight: 300; color: rgba(255,255,255,.8); }
.trust-item small { font-size: .7em; opacity: .6; }

/* ---------- Strength / 選ばれる理由 ---------- */
.strength { background: var(--ivory); position: relative; }

.strength-band {
  display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 64px);
  align-items: center; position: relative; overflow: hidden;
  background: linear-gradient(150deg, #0e2038 0%, #15294a 100%);
  color: #fff; border-radius: 6px; padding: clamp(34px, 5vw, 60px);
  box-shadow: var(--shadow); margin-bottom: 56px;
}
.strength-band::before {
  content: ""; position: absolute; right: -70px; top: -70px; width: 300px; height: 300px; border-radius: 50%;
  border: 1px solid rgba(192,163,104,.22); box-shadow: inset 0 0 100px rgba(192,163,104,.05);
}
.strength-band-text { position: relative; z-index: 1; }
.strength-band-label { font-family: var(--en); font-size: .78rem; letter-spacing: .3em; color: var(--gold-light); margin-bottom: 16px; }
.strength-band-title { font-family: var(--serif); font-size: clamp(1.35rem, 2.3vw, 1.85rem); font-weight: 600; line-height: 1.6; letter-spacing: .04em; color: #fff; margin-bottom: 20px; }
.strength-band-text > p { font-weight: 300; color: rgba(255,255,255,.82); font-size: .96rem; }

.strength-pillars { display: flex; align-items: stretch; justify-content: center; gap: 14px; position: relative; z-index: 1; }
.pillar { flex: 1; text-align: center; display: flex; flex-direction: column; justify-content: center;
  background: rgba(255,255,255,.05); border: 1px solid rgba(192,163,104,.3); border-radius: 4px; padding: 26px 12px; }
.pillar-en { display: block; font-family: var(--en); font-size: .7rem; letter-spacing: .14em; color: var(--gold-light); margin-bottom: 10px; text-transform: uppercase; }
.pillar strong { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; color: #fff; line-height: 1.5; letter-spacing: .04em; }
.pillar-x { display: flex; align-items: center; font-family: var(--en); font-size: 1.7rem; color: var(--gold); flex: none; }

.strength-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.strength-card {
  background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 42px 32px 36px;
  box-shadow: var(--shadow-soft); transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s;
}
.strength-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.strength-icon { width: 50px; height: 50px; color: var(--gold-deep); margin-bottom: 22px; }
.strength-icon svg { width: 100%; height: 100%; }
.strength-card h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--navy); letter-spacing: .03em; margin-bottom: 14px; line-height: 1.55; }
.strength-card p { font-size: .93rem; font-weight: 300; color: #3a4252; }

/* ---------- Services ---------- */
.service { background: #fff; }
.service-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px; }
.service-card {
  position: relative; background: var(--paper); border: 1px solid var(--line);
  padding: 46px 42px 40px; border-radius: 4px; overflow: hidden;
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s, border-color .45s;
}
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-deep));
  transform: scaleX(0); transform-origin: left; transition: transform .5s;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.service-card:hover::before { transform: scaleX(1); }
.service-no { position: absolute; top: 28px; right: 34px; font-family: var(--en); font-size: 3.4rem; font-weight: 600; color: rgba(14,32,56,.06); line-height: 1; }
.service-icon { width: 56px; height: 56px; color: var(--gold-deep); margin-bottom: 24px; }
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; color: var(--navy); letter-spacing: .04em; margin-bottom: 16px; }
.service-card > p { font-size: .96rem; font-weight: 300; color: #3a4252; margin-bottom: 22px; }
.service-card strong { color: var(--gold-deep); font-weight: 500; }
.service-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.service-tags li { font-size: .8rem; padding: 6px 14px; background: var(--ivory); color: var(--navy-soft); border-radius: 999px; border: 1px solid var(--line); }

/* ---------- Flow ---------- */
.flow { background: var(--ivory); }
.flow-list { list-style: none; display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; counter-reset: flow; }
.flow-step { position: relative; background: #fff; padding: 40px 28px 34px; border-radius: 4px; border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.flow-step::after { content: ""; position: absolute; top: 50%; right: -16px; width: 22px; height: 22px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); transform: translateY(-50%) rotate(45deg); z-index: 2; }
.flow-step:last-child::after { display: none; }
.flow-no { font-family: var(--en); font-size: .82rem; letter-spacing: .2em; color: var(--gold-deep); font-weight: 600; }
.flow-step h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; color: var(--navy); margin: 14px 0 12px; letter-spacing: .03em; }
.flow-step p { font-size: .88rem; font-weight: 300; color: var(--muted); }

/* ---------- CTA ---------- */
.cta { background: var(--navy-deep); position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 90% 0%, rgba(192,163,104,.16), transparent 55%),
    linear-gradient(160deg, #0a1726, #122a47);
}
.cta-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px,6vw,80px); align-items: center; }
.cta-title { font-family: var(--serif); font-weight: 600; font-size: clamp(1.9rem,3.4vw,2.7rem); color: #fff; line-height: 1.5; letter-spacing: .05em; margin: 18px 0 24px; }
.cta-lead { color: rgba(255,255,255,.8); font-weight: 300; font-size: .98rem; margin-bottom: 38px; }
.cta-contacts { display: flex; flex-wrap: wrap; gap: 16px; }
.cta-contact { display: flex; flex-direction: column; gap: 4px; padding: 18px 28px; border: 1px solid rgba(255,255,255,.18); border-radius: 3px; transition: border-color .35s, background .35s; }
.cta-contact:hover { border-color: var(--gold); background: rgba(192,163,104,.08); }
.cta-contact-label { font-size: .76rem; letter-spacing: .14em; color: var(--gold-light); }
.cta-contact-value { font-family: var(--en); font-size: 1.25rem; color: #fff; letter-spacing: .04em; }

.cta-form { background: #fff; border-radius: 6px; padding: clamp(28px,3vw,44px); box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .86rem; font-weight: 500; color: var(--navy); margin-bottom: 8px; }
.field label span { font-size: .68rem; color: #fff; background: var(--gold-deep); padding: 2px 8px; border-radius: 3px; margin-left: 8px; letter-spacing: .08em; vertical-align: middle; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; font-family: var(--sans); font-size: .95rem; color: var(--ink);
  background: var(--ivory); border: 1px solid var(--line); border-radius: 3px; transition: border-color .3s, background .3s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 3px rgba(192,163,104,.12); }
.form-note { margin-top: 14px; font-size: .88rem; text-align: center; min-height: 1.2em; }
.form-note.ok { color: var(--gold-deep); }
.form-note.err { color: #c0392b; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255,255,255,.78); }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; padding: 64px 0 48px; align-items: start; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-name { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; color: #fff; letter-spacing: .06em; }
.footer-sub { font-family: var(--en); font-size: .64rem; letter-spacing: .3em; color: var(--gold-light); }
.footer-nav { display: flex; flex-direction: column; gap: 14px; }
.footer-nav a { font-size: .9rem; font-weight: 300; transition: color .3s; }
.footer-nav a:hover { color: var(--gold-light); }
.footer-meta p { font-size: .88rem; font-weight: 300; margin-bottom: 8px; }
.footer-meta-note { margin-bottom: 14px; }
.footer-cta-link { display: inline-block; font-size: .9rem; color: var(--gold-light); border-bottom: 1px solid rgba(192,163,104,.4); padding-bottom: 3px; transition: color .3s, border-color .3s; }
.footer-cta-link:hover { color: #fff; border-color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0; }
.footer-bottom p { font-size: .8rem; font-weight: 300; color: rgba(255,255,255,.55); text-align: center; letter-spacing: .04em; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
.sp-br { display: none; }
@media (max-width: 980px) {
  .strength-band { grid-template-columns: 1fr; }
  .strength-grid { grid-template-columns: 1fr; max-width: 540px; margin: 0 auto; }
  .cta-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .nav { position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 30px; padding: 0 38px; background: var(--navy); transform: translateX(100%); transition: transform .45s cubic-bezier(.2,.7,.2,1); box-shadow: -20px 0 60px rgba(0,0,0,.3); }
  .nav.open { transform: none; }
  .nav a, .scrolled .nav a { color: #fff; font-size: 1.05rem; }
  .nav-toggle { display: flex; z-index: 101; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle.open span, .scrolled .nav-toggle.open span { background: #fff; }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .trust-item:nth-child(2n) { border-right: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .service-grid { grid-template-columns: 1fr; }
  .flow-list { grid-template-columns: 1fr; gap: 28px; }
  .flow-step::after { top: auto; bottom: -22px; right: 50%; transform: translateX(50%) rotate(135deg); }
  .strength-pillars { flex-direction: column; }
  .pillar-x { justify-content: center; padding: 4px 0; }
  .footer-inner { grid-template-columns: 1fr; gap: 30px; }
  .sp-br { display: inline; }
  .hero-inner { padding-top: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue span { animation: none; }
}
