/* ============================================================
   SYU INC. Main CSS — v2.1
   ============================================================ */
:root {
  --bg: #ffffff;
  --bg-alt: #f6f5f3;
  --bg-dark: #0a0a0a;
  --orange: #ff4d1c;
  --orange-dk: #cc3d16;
  --orange-lt: #fff1ed;
  --text: #0a0a0a;
  --text2: #444444;
  --muted: #888888;
  --border: #e8e8e8;
  --fh: "Georgia", "Hiragino Mincho ProN", "游明朝", serif;
  --fb: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", sans-serif;
  --fl: "Helvetica Neue", "Arial", sans-serif;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h1,
h2,
h3,
h4 {
  font-family: var(--fh);
  font-weight: 700;
  line-height: 1.08;
}

/* Layout */
.wrap {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 72px);
}
.lbl {
  font-family: var(--fl);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 0.9rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--fl);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 15px 36px;
  cursor: pointer;
  transition: 0.2s;
  border: none;
  letter-spacing: 0.04em;
  text-decoration: none;
}
.btn-primary {
  background: var(--orange);
  color: #fff;
}
.btn-primary:hover {
  background: var(--orange-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 77, 28, 0.28);
}
.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid var(--text);
}
.btn-secondary:hover {
  background: var(--text);
  color: #fff;
}
.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.4);
}
.btn-outline-white:hover {
  border-color: #fff;
}

/* Animations */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.site-logo {
  display: flex;
  align-items: center;
}
.site-logo .logo-img {
  height: 44px;
  width: auto;
  display: block;
}
.site-logo .custom-logo {
  height: 44px;
  width: auto;
  display: block;
}
.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.site-nav a {
  font-family: var(--fl);
  font-size: 0.78rem;
  color: var(--text2);
  letter-spacing: 0.04em;
  transition: 0.18s;
}
.site-nav a:hover {
  color: var(--orange);
}
.site-nav a[aria-current="page"] {
  color: var(--orange);
}
.site-nav .nav-cta {
  padding: 10px 22px;
  background: var(--orange);
  color: #fff !important;
  font-weight: 700;
}
.site-nav .nav-cta:hover {
  background: var(--orange-dk);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 150;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-nav.open {
  display: flex;
}
.mobile-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--text);
  padding: 8px;
  line-height: 1;
  z-index: 201;
}
.mobile-nav a {
  font-family: var(--fh);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text);
}
.mobile-nav a:hover {
  color: var(--orange);
}
.mobile-nav .nav-cta {
  font-family: var(--fl);
  font-size: 1rem;
  background: var(--orange) !important;
  color: #fff !important;
  padding: 14px 40px !important;
  border-radius: 0;
}

/* ── HERO ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a0a0a;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.hero-video-sp {
  display: none;
}
@media (max-width: 768px) {
  .hero-video-pc {
    display: none;
  }
  .hero-video-sp {
    display: block;
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero-tag {
  font-family: var(--fl);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.4rem;
  display: block;
}
.hero-h1 {
  font-family: var(--fh);
  font-size: clamp(2.6rem, 6vw, 5.2rem);
  line-height: 1.05;
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.hero-h1 span {
  color: var(--orange);
}
.hero-sub {
  font-size: clamp(0.9rem, 1.2vw, 1rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.9;
  margin-bottom: 2.4rem;
  max-width: 520px;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--fl);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-scroll::after {
  content: "";
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
}

/* ── STATS ── */
.stats-section {
  background: var(--bg-dark);
  padding-block: 80px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  padding: 40px 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}
.stat-item:last-child {
  border-right: none;
}
.stat-n {
  font-family: var(--fh);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  display: block;
  margin-bottom: 4px;
}
.stat-n sup {
  font-size: 0.45em;
  vertical-align: top;
  line-height: 1.4;
}
.num-latin {
  font-family:
    -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  vertical-align: baseline;
  line-height: 1;
}
.stat-label {
  font-family: var(--fl);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.stat-note {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.22);
  margin-top: 6px;
}
.bar-bg {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}
.bar-fill {
  height: 100%;
  background: var(--orange);
  border-radius: 2px;
  width: 0;
  transition: width 1.2s ease;
}
.bar-label {
  font-family: var(--fl);
  font-size: 0.62rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ── PROBLEM ── */
.problem-section {
  padding-block: 120px;
}
.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.problem-left h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1.2rem;
  line-height: 1.15;
}
.problem-left p {
  font-size: 0.95rem;
  color: var(--text2);
  line-height: 1.9;
  margin-bottom: 0.8em;
}
.prob-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.prob-item:first-child {
  border-top: 1px solid var(--border);
}
.prob-num {
  font-family: var(--fl);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--orange);
  min-width: 24px;
  padding-top: 4px;
}
.prob-item p {
  font-size: 0.9rem;
  color: var(--text2);
  line-height: 1.75;
}
.prob-item strong {
  color: var(--text);
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
}

/* ── SOLUTION ── */
.solution-section {
  padding-block: 120px;
  background: var(--bg-alt);
}
.sol-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 72px;
}
.sol-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}
.sol-header p {
  font-size: 0.95rem;
  color: var(--text2);
}
.sol-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.sol-card {
  background: #fff;
  padding: 40px 32px;
  position: relative;
  overflow: hidden;
}
.sol-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--orange);
}
.sol-num {
  font-family: var(--fl);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--orange);
  margin-bottom: 1rem;
  display: block;
}
.sol-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
}
.sol-card p {
  font-size: 0.85rem;
  color: var(--text2);
  line-height: 1.8;
}
.sol-tag {
  display: inline-block;
  margin-top: 1.2rem;
  font-family: var(--fl);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  background: var(--orange-lt);
  color: var(--orange);
  border-radius: 100px;
}

/* ── REASON ── */
.reason-section {
  padding-block: 120px;
}
.reason-header {
  margin-bottom: 56px;
}
.reason-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 0.8rem;
}
.reason-header p {
  font-size: 0.95rem;
  color: var(--text2);
  max-width: 560px;
}
.reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.rsn {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 32px;
  border: 1px solid var(--border);
}
.rsn-idx {
  font-family: var(--fl);
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  min-width: 40px;
  opacity: 0.6;
}
.rsn h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.rsn p {
  font-size: 0.85rem;
  color: var(--text2);
  line-height: 1.8;
}

/* ── CASES ── */
.cases-section {
  padding-block: 120px;
  background: var(--bg-alt);
}
.cases-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 56px;
}
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  background: #fff;
  border: 1px solid var(--border);
  padding: 28px;
  position: relative;
}
.case-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--orange);
}
.case-tag {
  font-family: var(--fl);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.6rem;
  display: block;
}
.case-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4;
}
.case-result {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 0.3rem;
}
.case-result-n {
  font-family: var(--fh);
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
}
.case-result-l {
  font-size: 0.75rem;
  color: var(--text2);
}
.case-bar-wrap {
  margin-top: 12px;
}
.case-bar-bg {
  height: 4px;
  background: #f0f0f0;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 4px;
}
.case-bar-fill {
  height: 100%;
  background: var(--orange);
  border-radius: 2px;
  width: 0;
  transition: width 1.2s ease;
}
.case-bar-label {
  font-family: var(--fl);
  font-size: 0.62rem;
  color: var(--muted);
}

/* ── VOICE ── */
.voice-section {
  padding-block: 120px;
}
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.voice-card {
  padding: 32px;
  border: 1px solid var(--border);
  position: relative;
}
.voice-q {
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  padding-top: 16px;
}
.voice-q::before {
  content: '"';
  font-family: var(--fh);
  font-size: 3rem;
  color: var(--orange);
  opacity: 0.25;
  position: absolute;
  top: 16px;
  left: 20px;
  line-height: 1;
}
.voice-info {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}
.voice-icon {
  width: 36px;
  height: 36px;
  background: var(--orange-lt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fl);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  flex-shrink: 0;
}
.voice-name {
  font-size: 0.8rem;
  font-weight: 600;
}
.voice-co {
  font-size: 0.72rem;
  color: var(--muted);
}

/* ── FAQ ── */
.faq-section {
  padding-block: 120px;
  background: var(--bg-alt);
}
.faq-header {
  max-width: 480px;
  margin-bottom: 56px;
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-of-type {
  border-top: 1px solid var(--border);
}
.faq-q {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
}
.faq-q .faq-icon {
  color: var(--orange);
  font-family: var(--fl);
  font-weight: 700;
  min-width: 20px;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: 0.88rem;
  color: var(--text2);
  line-height: 1.85;
  transition:
    max-height 0.3s ease,
    padding 0.3s;
}
.faq-a.open {
  max-height: 300px;
  padding: 0 0 20px 36px;
}

/* ── CTA ── */
.cta-section {
  padding-block: 120px;
  background: var(--bg-dark);
  text-align: center;
}
.cta-section h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 1rem;
}
.cta-section p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.95rem;
  max-width: 480px;
  margin-inline: auto;
  margin-bottom: 2.4rem;
}
.cta-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── PAGE HERO ── */
.page-hero {
  padding-block: 96px 80px;
}
.page-hero.dark {
  background: var(--bg-dark);
}
.page-hero.dark h1 {
  color: #fff;
}
.page-hero.dark p {
  color: rgba(255, 255, 255, 0.5);
}
.page-hero.light {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 1rem;
}
.page-hero p {
  font-size: 1rem;
  color: var(--text2);
  max-width: 540px;
}

/* ── MEDIA PAGE HERO ── */
.pg-hero {
  background: var(--bg-dark);
  padding-block: 80px 64px;
}
.media-hero-title {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1.2rem;
  flex-wrap: wrap;
}
.media-hero-title h1 {
  font-size: clamp(2rem, 5vw, 3.8rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: #fff;
}
.media-hero-sub {
  font-family: var(--fl);
  font-size: clamp(0.7rem, 1.2vw, 0.9rem);
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
  letter-spacing: 0.12em;
}
.media-hero-desc {
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  color: rgba(255, 255, 255, 0.55);
  max-width: 480px;
  line-height: 1.75;
}
.pg-hero .lbl {
  color: var(--orange);
}

/* ── CATEGORY FILTER ── */
.media-filter {
  padding-block: 24px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky;
  top: 64px;
  z-index: 90;
}
.filter-list {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--fl);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 8px 18px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text2);
  cursor: pointer;
  transition: 0.18s;
  text-decoration: none;
  display: inline-block;
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}
.current-cat-label {
  margin-bottom: 2rem;
}

/* ── FEATURED ── */
.media-featured {
  padding-block: 48px 0;
}
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}
.card-featured {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: 0.2s;
}
.card-featured:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.card-feat-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-dark);
}
.card-feat-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.card-featured:hover .card-feat-img img {
  transform: scale(1.03);
}
.card-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fl);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, #0a0a0a 60%, #ff4d1c);
}
.card-feat-body {
  padding: 24px 28px;
  flex: 1;
}
.card-feat-title {
  font-size: clamp(1rem, 1.6vw, 1.3rem);
  margin: 0.6rem 0 0.8rem;
  line-height: 1.35;
}
.card-featured:hover .card-feat-title {
  color: var(--orange);
}
.card-feat-excerpt {
  font-size: 0.85rem;
  color: var(--text2);
  line-height: 1.75;
}

/* ── ARTICLE GRID ── */
.media-articles {
  padding-block: 48px 80px;
}
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 1.5rem;
}
.article-card {
  border: 1px solid var(--border);
  overflow: hidden;
  transition: 0.2s;
  display: flex;
  flex-direction: column;
}
.article-card:hover {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}
.card-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-dark);
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.article-card:hover .card-thumb img {
  transform: scale(1.03);
}
.card-body {
  padding: 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
  flex-wrap: wrap;
}
.article-cat {
  font-family: var(--fl);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--orange);
  padding: 3px 10px;
  transition: 0.18s;
}
.article-cat:hover {
  background: var(--orange-dk);
}
.card-date {
  font-family: var(--fl);
  font-size: 0.65rem;
  color: var(--muted);
}
.card-title {
  font-size: 0.9rem;
  line-height: 1.5;
  flex: 1;
  margin-bottom: 0.6rem;
  font-weight: 600;
}
.article-card:hover .card-title {
  color: var(--orange);
}
.card-excerpt {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── BREADCRUMB ── */
.breadcrumb {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}
.breadcrumb nav {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.breadcrumb nav::-webkit-scrollbar {
  display: none;
}
.bc-list {
  display: inline-flex;
  align-items: center;
  font-family: var(--fl);
  font-size: 0.68rem;
  color: var(--muted);
  list-style: none;
  padding: 0;
  margin: 0;
}
.bc-list li {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.bc-list li + li::before {
  content: "/";
  margin: 0 0.5rem;
  color: var(--border);
  flex-shrink: 0;
}
.bc-list a {
  color: var(--muted);
  transition: 0.18s;
}
.bc-list a:hover {
  color: var(--orange);
}
.bc-list li:last-child {
  color: var(--text2);
  font-weight: 600;
}

/* ── PAGINATION ── */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}
.pagination .page-numbers {
  font-family: var(--fl);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 10px 16px;
  border: 1px solid var(--border);
  color: var(--text2);
  transition: 0.18s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: var(--text);
  color: #fff;
  border-color: var(--text);
}
.no-posts {
  font-size: 0.9rem;
  color: var(--muted);
  padding: 3rem 0;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--bg-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-block: 20px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.footer-nav {
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.footer-nav a {
  font-family: var(--fl);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.35);
  transition: 0.18s;
}
.footer-nav a:hover {
  color: #fff;
}
.footer-copy {
  font-family: var(--fl);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ── FORM ── */
.form-box {
  border: 1px solid var(--border);
  padding: 40px;
}
.field {
  margin-bottom: 1.2rem;
}
.field label {
  display: block;
  font-family: var(--fl);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--text2);
  margin-bottom: 0.4rem;
  font-weight: 600;
}
.field label .req {
  color: var(--orange);
  margin-left: 0.2rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  padding: 12px 16px;
  color: var(--text);
  font-family: var(--fb);
  font-size: 0.9rem;
  transition: 0.2s;
  outline: none;
  appearance: none;
  border-radius: 0;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 77, 28, 0.08);
}
.field textarea {
  min-height: 130px;
  resize: vertical;
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.submit-btn {
  width: 100%;
  background: var(--orange);
  color: #fff;
  border: none;
  padding: 18px;
  font-family: var(--fl);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
  margin-top: 0.6rem;
  letter-spacing: 0.04em;
}
.submit-btn:hover {
  background: var(--orange-dk);
}

/* ── TOAST ── */
.syu-toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  max-width: 380px;
  padding: 16px 22px;
  font-family: var(--fb);
  font-size: 0.88rem;
  line-height: 1.6;
  border-radius: 4px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  pointer-events: none;
}
.syu-toast--in {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.syu-toast--success {
  background: #0a0a0a;
  color: #fff;
  border-left: 4px solid #22c55e;
}
.syu-toast--error {
  background: #0a0a0a;
  color: #fff;
  border-left: 4px solid var(--orange);
}
@media (max-width: 480px) {
  .syu-toast {
    left: 16px;
    right: 16px;
    bottom: 20px;
    max-width: none;
  }
}

/* ── SERVICE PAGE ── */
.svc-block {
  padding-block: 100px;
  border-bottom: 1px solid var(--border);
}
.svc-block:last-of-type {
  border-bottom: none;
}
.svc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.svc-rev {
  direction: rtl;
}
.svc-rev > * {
  direction: ltr;
}
.svc-num {
  font-family: var(--fl);
  font-size: 4rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  display: block;
  margin-bottom: -0.5rem;
}
.svc-main h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}
.svc-main p {
  font-size: 0.95rem;
  color: var(--text2);
  line-height: 1.9;
  margin-bottom: 1rem;
}
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 1.6rem;
}
.svc-tag {
  font-family: var(--fl);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 5px 14px;
  border: 1px solid var(--border);
  color: var(--text2);
  border-radius: 100px;
}
.svc-details h3 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text);
}
.detail-list {
  display: flex;
  flex-direction: column;
}
.dl-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--text2);
}
.dl-item:first-child {
  border-top: 1px solid var(--border);
}
.dl-dot {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 7px;
}
.svc-result {
  margin-top: 2rem;
  background: var(--orange-lt);
  border-left: 4px solid var(--orange);
  padding: 20px 24px;
}
.svc-result-n {
  font-family: var(--fh);
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  display: block;
  margin-bottom: 2px;
}
.svc-result-l {
  font-size: 0.78rem;
  color: var(--text2);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.pstep {
  padding: 32px 24px;
  position: relative;
  counter-increment: step;
}
.pstep::before {
  content: "0" counter(step);
  font-family: var(--fl);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
.pstep::after {
  content: "→";
  position: absolute;
  top: 42px;
  right: -8px;
  font-size: 1.2rem;
  color: var(--orange);
  opacity: 0.5;
}
.pstep:last-child::after {
  display: none;
}
.pstep h3 {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.pstep p {
  font-size: 0.82rem;
  color: var(--text2);
  line-height: 1.75;
}

/* ── MEDIA TOP HERO (sevendex style) ── */
.media-top-hero {
  background: #0a0a0a;
  padding-block: 96px 80px;
}
.media-top-hero .lbl {
  color: rgba(255, 255, 255, 0.35);
}
.media-top-hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: #fff;
  line-height: 1;
  margin-bottom: 1rem;
}
.media-top-hero p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 480px;
  line-height: 1.9;
}
.media-body {
  padding-block: 56px 100px;
}

/* ── ARTICLE GRID (sevendex style) ── */
.syx-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.syx-card {
  display: block;
  color: inherit;
  background: var(--bg);
  transition: 0.2s;
}
.syx-card:hover {
  background: var(--bg-alt);
}
.syx-thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #111;
}
.syx-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.syx-card:hover .syx-thumb img {
  transform: scale(1.04);
}
.syx-thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #111 0%, #1a1a1a 100%);
}
.syx-thumb-placeholder span {
  font-family: var(--fl);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.2);
}
.syx-body {
  padding: 20px 0 32px;
  border-bottom: 1px solid var(--border);
}
.syx-cat {
  font-family: var(--fl);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 0.5rem;
}
.syx-title {
  font-family: var(--fb);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 0.6rem;
  color: var(--text);
}
.syx-card:hover .syx-title {
  color: var(--orange);
}
.syx-date {
  font-family: var(--fl);
  font-size: 0.65rem;
  color: var(--muted);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .problem-grid,
  .reason-grid {
    grid-template-columns: 1fr;
  }
  .sol-grid {
    grid-template-columns: 1fr 1fr;
  }
  .cases-grid,
  .voice-grid {
    grid-template-columns: 1fr 1fr;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .syx-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .site-nav ul {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .sol-grid,
  .cases-grid,
  .voice-grid,
  .reason-grid {
    grid-template-columns: 1fr;
  }
  .cases-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.8rem;
  }
  .field-row {
    grid-template-columns: 1fr;
  }
  .article-grid {
    grid-template-columns: 1fr;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .syx-grid {
    grid-template-columns: 1fr;
  }
  .svc-grid,
  .svc-rev {
    grid-template-columns: 1fr;
    direction: ltr;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 768px) {
  /* about-snap.php / page-about.php の画像+テキスト2カラム → 縦積み */
  .about-snap-grid,
  .about-msg-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  /* 画像を先に上、テキストを下にしたい場合は下記を有効化
  .about-snap-grid > div:last-child,
  .about-msg-grid  > div:last-child { order: -1; }
  */

  /* page-cases.php の課題/解決2カラム → 縦積み */
  .case-cols {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* 数字スタッツの横並び → 縦積み */
  .case-stats {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 20px !important;
  }
}
