@import url('tokens.css');

/* =============================================================
   LLMO 無料診断 LP — Shwat Design System 準拠
   ============================================================= */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--text-primary);
  background: var(--base-white);
  line-height: var(--lh-body);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ---------- Web type scale (LP用) ---------- */
:root {
  --w-h2:        clamp(1.6rem, 1.1rem + 1.8vw, 2.4rem);  /* セクション見出し */
  --w-h3:        clamp(1.15rem, 0.95rem + 0.8vw, 1.45rem);
  --w-hero:      clamp(1.85rem, 1.2rem + 2.9vw, 3rem);
  --w-body:      clamp(0.95rem, 0.9rem + 0.25vw, 1.0625rem);
  --w-small:     0.8125rem;
  --container:   1120px;
  --container-narrow: 820px;
  --header-h:    72px;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}
.narrow { max-width: var(--container-narrow); }

.section { padding-block: clamp(3.5rem, 7vw, 6.5rem); }
.section--pale { background: var(--surface-teal-pale); }
.section--tealpale { background: var(--surface-teal-light); }

/* ---------- Section header (EN label + JP H2) ---------- */
.sec-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.sec-head.center { text-align: center; }
.en-label {
  font-family: var(--font-en);
  font-weight: var(--weight-heavy);
  font-size: 0.875rem;
  letter-spacing: 0.18em;
  color: var(--brand-primary);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.75rem;
}
.en-label::before {
  content: "";
  width: 26px;
  height: 3px;
  background: var(--brand-primary);
  display: inline-block;
}
.center .en-label { justify-content: center; }
.sec-title {
  font-family: var(--font-jp);
  font-weight: var(--weight-heavy);
  font-size: var(--w-h2);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-title);
  color: var(--text-deep);
  margin: 0;
}
.sec-title .mark { color: var(--brand-primary); }

/* ---------- Buttons / CTA ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  font-family: var(--font-jp);
  font-weight: var(--weight-bold);
  font-size: 1.0625rem;
  line-height: 1.2;
  padding: 1.05rem 2.4rem;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: transform .15s ease, opacity .15s ease, box-shadow .15s ease;
  text-align: center;
  white-space: nowrap;
}
.btn--cta {
  background: var(--accent-red);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 74, 51, 0.28);
}
.btn--cta:hover { opacity: 0.92; transform: translateY(-2px); }
.btn--cta .arrow { font-family: var(--font-en); font-weight: var(--weight-heavy); }
.btn--ghost {
  background: #fff;
  color: var(--brand-primary);
  border: 1px solid var(--brand-primary);
}
.btn--ghost:hover { background: var(--surface-teal-pale); }
.btn--sm { padding: 0.7rem 1.4rem; font-size: 0.9375rem; }
.btn--lg { padding: 1.2rem 3rem; font-size: 1.15rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: flex; align-items: center; gap: 0.6rem; }
.brand img { width: 38px; height: 38px; }
.header-logo { width: auto !important; height: 40px !important; max-width: 240px; }
.brand .name {
  font-family: var(--font-jp);
  font-weight: var(--weight-bold);
  font-size: 1.05rem;
  color: var(--text-deep);
  letter-spacing: 0.02em;
}
.brand .sub {
  font-family: var(--font-en);
  font-weight: var(--weight-bold);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--brand-primary);
  display: block;
  margin-top: 1px;
}

/* ---------- Header in-page nav ---------- */
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 1.6vw, 1.75rem);
  flex: 1;
  justify-content: center;
}
.site-nav a {
  font-family: var(--font-jp);
  font-weight: var(--weight-bold);
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  color: var(--text-deep);
  white-space: nowrap;
  transition: color .15s ease;
}
.site-nav a:hover { color: var(--brand-primary); }

/* anchor offset so sticky header doesn't cover section tops */
section[id], main[id] { scroll-margin-top: calc(var(--header-h) + 10px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 90% -10%, var(--surface-teal-light) 0%, rgba(236,251,250,0) 60%),
    var(--base-white);
  padding-block: clamp(2.75rem, 6vw, 5.5rem);
  overflow: hidden;
}
/* hero uses a wider container so the headline can breathe on fewer lines */
.hero .container { max-width: 1360px; }
.hero .grid {
  display: grid;
  grid-template-columns: 1.28fr 0.72fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  position: relative;
  z-index: 1;
}
/* hero geometric decor (concentric arcs, DS-approved geometry) */
.hero-decor { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.hero-decor .arc {
  position: absolute;
  border-radius: 50%;
  border: 2px solid var(--brand-primary-light);
  opacity: 0.22;
}
.hero-decor .arc-1 { width: 420px; height: 420px; top: -150px; right: -110px; opacity: 0.16; }
.hero-decor .arc-2 { width: 300px; height: 300px; top: -90px; right: -50px; opacity: 0.22; }
.hero-decor .arc-3 {
  width: 180px; height: 180px; top: -40px; right: 10px;
  border: none; background: var(--surface-teal-light); opacity: 0.6;
}
.badge {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  background: var(--surface-coral-light);
  border: 1px solid rgba(255,74,51,0.2);
  border-radius: var(--radius-pill);
  padding: 0.5rem 1.1rem;
  font-family: var(--font-jp);
  font-weight: var(--weight-bold);
  font-size: 0.875rem;
  color: var(--text-primary);
}
.badge .num {
  font-family: var(--font-en);
  font-weight: var(--weight-heavy);
  font-size: 1.4rem;
  color: var(--accent-red);
  line-height: 1;
}
.badge .note { font-size: 0.7rem; color: var(--text-muted); font-weight: var(--weight-regular); }
.hero h1 {
  font-family: var(--font-jp);
  font-weight: var(--weight-bold);
  font-size: 1.0625rem;
  letter-spacing: 0.04em;
  color: var(--brand-primary);
  margin: 1.4rem 0 0.9rem;
}
.hero h1 .en { font-family: var(--font-en); font-weight: var(--weight-heavy); }
.hero-copy {
  font-family: var(--font-jp);
  font-weight: var(--weight-heavy);
  font-size: var(--w-hero);
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: var(--text-deep);
  margin: 0 0 1.4rem;
}
.hero-copy .pc-br { display: inline; }
.hero-copy .mark {
  color: var(--brand-primary);
}
.hero-desc {
  font-size: var(--w-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
  margin: 0 0 2rem;
  max-width: 42em;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.hero-actions .reassure { font-size: 0.8125rem; color: var(--text-muted); }

/* hero AI platform chips */
.ai-row { display: flex; align-items: center; flex-wrap: wrap; gap: 0.6rem 0.8rem; margin: 0 0 2rem; }
.ai-label {
  font-family: var(--font-jp);
  font-weight: var(--weight-bold);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  position: relative;
  padding-left: 0.9rem;
}
.ai-label::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 4px; height: 14px; background: var(--brand-primary); border-radius: 1px;
}
.ai-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; }
.ai-chips li {
  font-family: var(--font-jp);
  font-weight: var(--weight-bold);
  font-size: 0.8rem;
  color: var(--brand-primary-dark);
  background: var(--surface-teal-light);
  border-radius: var(--radius-sm);
  padding: 0.32rem 0.7rem;
}
.ai-chips li.more { background: none; color: var(--text-muted); font-weight: var(--weight-regular); padding-left: 0.2rem; }

/* hero report stack */
.report-stack { position: relative; width: 100%; }
.report-stack .stack-card {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-md);
}
.report-stack .stack-back {
  background: var(--surface-teal-light);
  transform: translate(22px, 26px);
  z-index: 0;
}
.report-stack .stack-mid {
  background: var(--surface-teal-pale);
  border: 1px solid var(--line-soft);
  transform: translate(11px, 13px);
  z-index: 1;
}
.report-stack .hero-img { position: relative; z-index: 2; display: block; }
.report-stack .imgph { position: relative; z-index: 2; }
.float-chip {
  position: absolute;
  z-index: 3;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
  padding: 0.7rem 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-jp);
  font-weight: var(--weight-bold);
  font-size: 0.78rem;
  line-height: 1.25;
  color: var(--text-deep);
}
.float-chip b {
  font-family: var(--font-en);
  font-weight: var(--weight-heavy);
  font-size: 1.85rem;
  line-height: 0.9;
  color: var(--brand-primary);
}
.float-chip.chip-top { top: -20px; left: -24px; }
.float-chip.chip-bottom { bottom: -16px; right: -20px; }
.float-chip.chip-bottom b { color: var(--accent-red); }

/* ---------- Image placeholder ---------- */
.imgph {
  position: relative;
  width: 100%;
  background: var(--surface-teal-pale);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--brand-primary);
  text-align: center;
  padding: 1.5rem;
  overflow: hidden;
}
.imgph::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(135deg, rgba(3,168,168,0.04) 25%, transparent 25%, transparent 50%, rgba(3,168,168,0.04) 50%, rgba(3,168,168,0.04) 75%, transparent 75%);
  background-size: 16px 16px;
  pointer-events: none;
}
.imgph .glyph {
  width: 52px; height: 40px;
  border: 2px solid var(--brand-primary-light);
  border-radius: 3px;
  position: relative;
  opacity: 0.8;
}
.imgph .glyph::before {
  content:""; position:absolute; left:6px; right:6px; top:9px; height:2px;
  background: var(--brand-primary-light);
  box-shadow: 0 7px 0 var(--brand-primary-light), 0 14px 0 var(--brand-primary-light);
}
.imgph .ph-name {
  font-family: var(--font-en);
  font-weight: var(--weight-bold);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--brand-primary);
  position: relative;
}
.imgph .ph-label {
  font-family: var(--font-jp);
  font-size: 0.75rem;
  color: var(--text-muted);
  position: relative;
}
.imgph.ratio-report { aspect-ratio: 4 / 3; }
.imgph.ratio-wide { aspect-ratio: 16 / 10; }
.imgph.ratio-card { aspect-ratio: 16 / 10; }

/* ---------- Real images ---------- */
.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lift);
}
.report-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--line-soft);
  box-shadow: var(--shadow-card);
}
.logo-chip img {
  max-width: 140px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.spec .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.know .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Image fallbacks ---------- */
.brand-fb { display: flex; align-items: center; gap: 0.6rem; }
.brand-fb > img { width: 38px; height: 38px; }
.brand-txt { display: flex; flex-direction: column; }
.brand-txt .name { font-family: var(--font-jp); font-weight: var(--weight-bold); font-size: 1.05rem; color: var(--text-deep); letter-spacing: 0.02em; line-height: 1.2; }
.brand-txt .sub { font-family: var(--font-en); font-weight: var(--weight-bold); font-size: 0.7rem; letter-spacing: 0.12em; color: var(--brand-primary); margin-top: 1px; }
.logo-fb { font-family: var(--font-jp); font-weight: var(--weight-bold); font-size: 1.05rem; letter-spacing: 0.04em; color: var(--text-muted); }
.imgph.ratio-hero { aspect-ratio: 4 / 3.1; box-shadow: var(--shadow-lift); border-color: transparent; }

.hero .imgph {
  aspect-ratio: 4 / 3.1;
  box-shadow: var(--shadow-lift);
  border-color: transparent;
}

/* ---------- Logo slider ---------- */
.logos { padding-block: clamp(2.25rem, 4vw, 3.25rem); border-block: 1px solid var(--line-soft); background:#fff;}
.logos .lead {
  text-align: center;
  font-family: var(--font-jp);
  font-weight: var(--weight-bold);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin: 0 0 1.75rem;
}
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee .track {
  display: flex;
  width: max-content;
  gap: 0;
  animation: marquee 32s linear infinite;
}
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-chip {
  flex: 0 0 auto;
  width: 190px;
  height: 70px;
  margin: 0 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-family: var(--font-jp);
  font-weight: var(--weight-bold);
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  opacity: 1;
}

/* ---------- About paragraphs ---------- */
.prose p {
  font-size: var(--w-body);
  line-height: var(--lh-body);
  color: var(--text-primary);
  margin: 0 0 1.3rem;
}
.prose p:last-child { margin-bottom: 0; }
.hl {
  font-weight: var(--weight-bold);
  color: var(--brand-primary);
  background: linear-gradient(transparent 62%, rgba(0,199,176,0.22) 62%);
  padding: 0 0.1em;
}
.about-stat {
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--surface-teal-pale);
  border-left: 4px solid var(--brand-primary);
  border-radius: var(--radius-sm);
  padding: 1.5rem 1.75rem;
}
.about-stat .big {
  font-family: var(--font-en);
  font-weight: var(--weight-heavy);
  font-size: clamp(2.75rem, 2rem + 3vw, 4.25rem);
  color: var(--accent-red);
  line-height: 0.95;
}
.about-stat .big .unit { font-family: var(--font-jp); font-size: 0.4em; color: var(--text-primary); }
.about-stat .lab { font-size: 0.95rem; font-weight: var(--weight-bold); color: var(--text-deep); }

/* ---------- Benefit cards ---------- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2vw, 1.5rem);
}
.bcard {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem 2.1rem;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.bcard:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.bcard .no {
  font-family: var(--font-en);
  font-weight: var(--weight-heavy);
  font-size: 1.1rem;
  color: #fff;
  background: var(--brand-primary);
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.bcard h3 {
  font-family: var(--font-jp);
  font-weight: var(--weight-bold);
  font-size: var(--w-h3);
  color: var(--text-deep);
  line-height: var(--lh-tight);
  margin: 0 0 0.9rem;
}
.bcard p { font-size: 0.9375rem; line-height: 1.75; color: var(--text-primary); margin: 0; }

/* ---------- Report rows ---------- */
.report-list { display: flex; flex-direction: column; gap: clamp(2.5rem, 5vw, 4.5rem); }
.report-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}
.report-row:nth-child(even) .report-text { order: 2; }
.report-row:nth-child(even) .report-media { order: 1; }
.report-label {
  display: inline-flex;
  align-items: center;
  background: var(--brand-primary);
  color: #fff;
  font-family: var(--font-jp);
  font-weight: var(--weight-bold);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.1rem;
}
.report-text h3 {
  font-family: var(--font-jp);
  font-weight: var(--weight-heavy);
  font-size: clamp(1.3rem, 1rem + 1.2vw, 1.85rem);
  color: var(--text-deep);
  line-height: var(--lh-tight);
  margin: 0 0 1rem;
  letter-spacing: var(--ls-title);
}
.report-text p { font-size: var(--w-body); line-height: var(--lh-body); margin: 0; }
.report-new {
  display: inline-block;
  margin-left: 0.5rem;
  font-family: var(--font-en);
  font-weight: var(--weight-heavy);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--accent-orange);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-sm);
  vertical-align: middle;
}

/* ---------- Flow steps ---------- */
.flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
}
.step {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-top: 4px solid var(--brand-primary);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  position: relative;
}
.step .stepno {
  font-family: var(--font-en);
  font-weight: var(--weight-heavy);
  letter-spacing: 0.08em;
  color: var(--brand-primary-light);
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}
.step .stepno b { font-size: 2.6rem; color: var(--brand-primary); display:block; line-height:0.9; margin-top:0.2rem; }
.step h3 {
  font-family: var(--font-jp);
  font-weight: var(--weight-bold);
  font-size: var(--w-h3);
  color: var(--text-deep);
  margin: 1.1rem 0 0.7rem;
}
.step p { font-size: 0.9375rem; line-height: 1.7; margin: 0; }

/* ---------- Dark CTA band ---------- */
.cta-band {
  background:
    linear-gradient(180deg, var(--brand-primary-light) 0%, var(--brand-primary-dark) 55%);
  color: #fff;
  text-align: center;
}
.cta-band .container { padding-block: clamp(3.25rem, 6vw, 5rem); }
.cta-band h2 {
  font-family: var(--font-jp);
  font-weight: var(--weight-heavy);
  font-size: clamp(1.5rem, 1.1rem + 2vw, 2.5rem);
  letter-spacing: var(--ls-title);
  line-height: var(--lh-tight);
  margin: 0 0 1rem;
  color:#fff;
  text-wrap: balance;
}
.cta-band p { font-size: var(--w-body); margin: 0 0 2rem; opacity: 0.95; }
.cta-band .btn--cta { box-shadow: 0 10px 28px rgba(0,0,0,0.18); }

/* ---------- FAQ accordion ---------- */
.faq-list {
  max-width: 880px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.faq-item.open { border-color: var(--brand-primary); }
.faq-q {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 1.25rem 1.4rem;
  font-family: var(--font-jp);
  font-weight: var(--weight-bold);
  font-size: 1.02rem;
  color: var(--text-deep);
  line-height: 1.5;
}
.faq-q .qmark {
  font-family: var(--font-en);
  font-weight: var(--weight-heavy);
  color: var(--brand-primary);
  font-size: 1.15rem;
  flex: 0 0 auto;
}
.faq-q .chev {
  margin-left: auto;
  flex: 0 0 auto;
  width: 22px; height: 22px;
  position: relative;
  transition: transform .25s ease;
}
.faq-q .chev::before, .faq-q .chev::after {
  content:""; position:absolute; top:50%; left:50%;
  width: 12px; height: 2px; background: var(--brand-primary);
  transform-origin: center;
}
.faq-q .chev::before { transform: translate(-50%,-50%) rotate(90deg); }
.faq-q .chev::after  { transform: translate(-50%,-50%); }
.faq-item.open .chev::before { transform: translate(-50%,-50%) rotate(0deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-a .inner {
  display: flex;
  gap: 0.9rem;
  padding: 0 1.4rem 1.4rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-primary);
}
.faq-a .amark {
  font-family: var(--font-en);
  font-weight: var(--weight-heavy);
  color: var(--accent-coral);
  font-size: 1.15rem;
  flex: 0 0 auto;
}

/* ---------- Specialists ---------- */
.spec-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.spec {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem 2.1rem;
  text-align: center;
}
.spec .avatar {
  width: 116px; height: 116px;
  border-radius: var(--radius-pill);
  margin: 0 auto 1.25rem;
  background: var(--surface-teal-pale);
  border: 1px solid var(--line-soft);
  display:flex; align-items:center; justify-content:center;
  color: var(--brand-primary-light);
  font-family: var(--font-en);
  font-weight: var(--weight-heavy);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  overflow: hidden;
}
.spec .avatar .glyph {
  width: 46px; height:46px; border-radius: var(--radius-pill);
  border: 2px solid var(--brand-primary-light);
  position: relative;
}
.spec .avatar .glyph::before{content:"";position:absolute;width:18px;height:18px;border-radius:50%;background:var(--brand-primary-light);left:50%;top:11px;transform:translateX(-50%);opacity:.6;}
.spec .avatar .glyph::after{content:"";position:absolute;width:34px;height:18px;border-radius:18px 18px 0 0;background:var(--brand-primary-light);left:50%;bottom:4px;transform:translateX(-50%);opacity:.6;}
.spec h3 { font-family: var(--font-jp); font-weight: var(--weight-bold); font-size: 1.25rem; color: var(--text-deep); margin: 0 0 0.9rem; letter-spacing: 0.04em; }
.spec p { font-size: 0.875rem; line-height: 1.8; color: var(--text-primary); margin: 0; text-align: left; }

/* ---------- Related services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 2.5vw, 1.75rem); }
.svc {
  display: flex;
  flex-direction: column;
  background: var(--surface-teal-pale);
  border-radius: var(--radius-md);
  padding: 2.25rem 2rem;
  transition: box-shadow .2s ease, transform .2s ease;
}
.svc:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.svc h3 { font-family: var(--font-jp); font-weight: var(--weight-bold); font-size: var(--w-h3); color: var(--brand-primary); margin: 0 0 0.7rem; }
.svc p { font-size: 0.9375rem; line-height: 1.7; margin: 0 0 1.5rem; }
.svc .more {
  margin-top: auto;
  font-family: var(--font-jp);
  font-weight: var(--weight-bold);
  font-size: 0.9rem;
  color: var(--brand-primary);
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.svc .more .arrow { font-family: var(--font-en); font-weight: var(--weight-heavy); transition: transform .15s ease; }
.svc:hover .more .arrow { transform: translateX(4px); }

/* ---------- Knowledge cards ---------- */
.know-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2.5vw, 2rem); }
.know {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s ease, transform .2s ease;
}
.know:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.know .thumb { aspect-ratio: 16 / 9; border-bottom: 1px solid var(--line-soft); }
.know .body { padding: 1.1rem 1.2rem 1.4rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.know .cat {
  align-self: flex-start;
  font-family: var(--font-jp);
  font-weight: var(--weight-bold);
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--brand-primary);
  background: var(--surface-teal-light);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}
.know h3 {
  font-family: var(--font-jp);
  font-weight: var(--weight-bold);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-deep);
  margin: 0;
}
.know .date { margin-top: auto; font-family: var(--font-en); font-size: 0.8rem; color: var(--text-muted); }
.know-more { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: flex; justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brand-primary-dark);
  color: #fff;
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.site-footer .inner { display:flex; flex-wrap: wrap; align-items:center; justify-content: space-between; gap: 1.5rem; }
.site-footer .fbrand { display:flex; align-items:center; gap:0.7rem; }
.site-footer .fbrand img { width: 40px; height: 40px; }
.site-footer .fbrand .name { font-family: var(--font-jp); font-weight: var(--weight-bold); font-size: 1.1rem; letter-spacing: 0.04em; }
.site-footer .copy { font-family: var(--font-en); font-size: 0.8rem; opacity: 0.85; }

/* ---------- Sticky mobile CTA ---------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 120;
  padding: 0.7rem 1rem calc(0.7rem + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.96);
  border-top: 1px solid var(--line-soft);
  box-shadow: 0 -4px 18px rgba(27,27,43,0.08);
  display: none;
  transform: translateY(110%);
  transition: transform .3s ease;
}
.mobile-cta.show { transform: translateY(0); }
.mobile-cta .btn { width: 100%; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .site-nav { display: none; }
}
@media (max-width: 900px) {
  .hero .grid { grid-template-columns: 1fr; }
  .hero-media { margin-top: 2.25rem; }
  .hero .imgph { aspect-ratio: 16 / 11; }
  .report-stack { max-width: 540px; margin-inline: auto; }
  .float-chip.chip-top { left: 0; }
  .float-chip.chip-bottom { right: 0; }
  .cards-3 { grid-template-columns: 1fr; }
  .report-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .report-row .report-text, .report-row .report-media { order: 0 !important; }
  .flow { grid-template-columns: 1fr; }
  .spec-grid { grid-template-columns: 1fr; }
  .spec p { text-align: center; }
  .svc-grid { grid-template-columns: 1fr; }
  .know-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .header-cta { display: none; }
  .mobile-cta { display: block; }
  .know-grid { grid-template-columns: 1fr; }
  .brand .name { font-size: 0.95rem; }
  body { padding-bottom: 0; }
}
