/* ============================================
   USAGE Page
   ============================================ */

/* page-hero, eyebrow, btn etc are shared in main.css and re-used via sample.css? */
/* duplicate hero styles here so usage doesn't depend on sample.css */
.page-hero {
  padding-top: 180px;
  padding-bottom: 80px;
  border-bottom: 1px solid var(--line);
}
.page-hero .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: end;
}
.page-hero .eyebrow { margin-bottom: 24px; }
.page-hero h1 {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.03em;
}
.page-hero h1 .em {
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.page-hero p {
  font-family: var(--ff-jp);
  font-size: 16px;
  line-height: 2;
  color: var(--fg-2);
  padding-bottom: 12px;
}
@media (max-width: 880px) {
  .page-hero .container { grid-template-columns: 1fr; }
  .page-hero { padding-top: 140px; padding-bottom: 50px; }
}

/* ── Case Study Layout ── */
.case-list {
  padding-bottom: 60px;
}
.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  padding: 100px 0;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.case:nth-child(even) .case-visual { order: -1; }

.case-num {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--fg-3);
  margin-bottom: 20px;
}
.case-tag {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 28px;
}
.case-tag span {
  padding: 6px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg-2);
  text-transform: uppercase;
}
.case-title {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.case-title .em { font-style: italic; }
.case-title-jp {
  font-family: var(--ff-jp);
  font-size: 16px;
  color: var(--fg-3);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.case-body p {
  font-family: var(--ff-jp);
  font-size: 15px;
  line-height: 2;
  color: var(--fg-2);
  margin-bottom: 1.4em;
}

/* metric / result panel */
.case-metric {
  margin-top: 32px;
  padding: 24px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.metric-item .lab {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg-4);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.metric-item .val {
  font-family: var(--ff-display);
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.02em;
}
.metric-item .val em {
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* visual side */
.case-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-card);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.case-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,61,110,0.15), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255,225,90,0.10), transparent 50%);
  pointer-events: none;
}
.case-visual img,
.case-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

/* SVG asset variant: contain & centered with subtle padding */
.case-visual.case-visual-asset {
  background: linear-gradient(135deg, #0d0d0d 0%, #181818 100%);
}
.case-visual.case-visual-asset::before {
  background:
    radial-gradient(circle at 30% 30%, rgba(255,61,110,0.10), transparent 55%),
    radial-gradient(circle at 70% 80%, rgba(255,225,90,0.08), transparent 55%);
}
.case-visual.case-visual-asset img {
  object-fit: contain;
  padding: 24px;
  width: 100%;
  height: 100%;
}
.placeholder-frame {
  width: 80%;
  aspect-ratio: 1 / 1;
  border: 1px dashed var(--line-2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  color: var(--fg-4);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.placeholder-frame svg { opacity: 0.6; }

@media (max-width: 880px) {
  .case { grid-template-columns: 1fr; padding: 60px 0; }
  .case:nth-child(even) .case-visual { order: 0; }
  .case-visual { aspect-ratio: 4 / 3; }
}

/* Industry strip */
.industry-strip {
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 60px;
}
.industry-card {
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  transition: transform 0.4s, border-color 0.4s;
}
.industry-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.industry-card .icon {
  width: 32px;
  height: 32px;
  margin-bottom: 20px;
}
.industry-card .ic-name {
  font-family: var(--ff-display);
  font-size: 18px;
  margin-bottom: 6px;
}
.industry-card .ic-desc {
  font-family: var(--ff-jp);
  font-size: 12px;
  color: var(--fg-3);
  line-height: 1.7;
}
@media (max-width: 880px) {
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   Quishing (CASE 03 強化) — Statistics & Highlight
   ============================================ */

.quishing-block {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 120px 0 100px;
  margin: 100px 0 0;
}
.quishing-head {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 80px;
}
.quishing-head .eyebrow { justify-content: center; margin-bottom: 28px; display: inline-flex; }
.quishing-head h2 {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.quishing-head h2 .em {
  font-style: italic;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.quishing-head p {
  font-family: var(--ff-jp);
  font-size: 16px;
  line-height: 2;
  color: var(--fg-2);
}

/* Stats row */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s;
}
.stat-card:hover { border-color: var(--accent); }
.stat-card::before {
  content: attr(data-no);
  position: absolute;
  top: 16px;
  right: 20px;
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--fg-4);
}
.stat-num {
  font-family: var(--ff-display);
  font-weight: 300;
  font-size: clamp(48px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}
.stat-unit {
  font-size: 0.4em;
  font-family: var(--ff-jp);
  font-weight: 500;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat-desc {
  font-family: var(--ff-jp);
  font-size: 13px;
  line-height: 1.9;
  color: var(--fg-2);
}
.stat-source {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--fg-4);
}

@media (max-width: 880px) {
  .stat-row { grid-template-columns: 1fr; gap: 12px; }
  .quishing-block { padding: 80px 0 60px; }
}

/* highlight panel */
.solution-highlight {
  max-width: 980px;
  margin: 0 auto;
  padding: 48px;
  background: var(--bg-card);
  border: 1px solid var(--line-2);
  border-left: 3px solid var(--accent);
  position: relative;
}
.solution-highlight::before {
  content: '';
  position: absolute;
  top: -1px;
  right: -1px;
  width: 40px;
  height: 40px;
  background: var(--grad);
  clip-path: polygon(100% 0, 0 0, 100% 100%);
}
.solution-head {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.solution-head::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}
.solution-body {
  font-family: var(--ff-jp);
  font-size: 16px;
  line-height: 2;
  color: var(--fg);
}
.solution-body strong {
  font-weight: 600;
  color: var(--accent-2);
}
.solution-body p + p { margin-top: 1.2em; }

@media (max-width: 880px) {
  .solution-highlight { padding: 32px 24px; }
}

/* ============================================
   Brand Applications (商品展開)
   ============================================ */

.applications {
  border-top: 1px solid var(--line);
  background: var(--bg);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.applications::before {
  /* faint dot grid */
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--line) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.5;
  pointer-events: none;
}
.app-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.app-text .section-title { margin-bottom: 24px; }
.app-text p {
  font-family: var(--ff-jp);
  font-size: 16px;
  line-height: 2;
  color: var(--fg-2);
  margin-bottom: 1.4em;
}
.app-text .app-list {
  list-style: none;
  margin-top: 24px;
}
.app-text .app-list li {
  padding: 12px 0;
  font-family: var(--ff-jp);
  font-size: 14px;
  color: var(--fg-2);
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: center;
}
.app-text .app-list li:last-child { border-bottom: 1px solid var(--line); }
.app-text .app-list .no {
  font-family: var(--ff-mono);
  font-size: 11px;
  color: var(--fg-4);
  letter-spacing: 0.18em;
}

.app-visual {
  position: relative;
}
.app-visual img {
  width: 100%;
  height: auto;
  display: block;
}
.app-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 70%, rgba(10,10,10,0.4) 100%);
}

@media (max-width: 880px) {
  .app-grid { grid-template-columns: 1fr; }
  .applications { padding: 80px 0; }
}
