/*
Theme Name: Ordinal Online
Theme URI: https://ordinal.online
Author: Ito Akira
Description: オリジナルコーポレートテーマ（ホワイトミニマル）
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: Private
Text Domain: ordinal-online
*/

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@200;300;400;500&family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  color: #111;
  background: #fff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Variables ── */
:root {
  --black: #111111;
  --white: #ffffff;
  --gray-100: #fafafa;
  --gray-200: #f5f5f5;
  --gray-300: #e5e5e5;
  --gray-500: #999999;
  --gray-700: #555555;
  --accent: #111111;
  --container: 1200px;
  --px: 48px;
}

/* ── Container ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--px);
}

/* ── Typography ── */
.font-dm { font-family: 'DM Sans', sans-serif; }
.font-noto { font-family: 'Noto Sans JP', sans-serif; }

/* ── Buttons ── */
.btn {
  display: inline-block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  padding: 14px 36px;
}
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: #333; transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--black); border: 1px solid var(--black); }
.btn-outline:hover { background: var(--black); color: var(--white); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: #f0f0f0; }

/* ── Section label ── */
.section-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--gray-500);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--gray-500);
}
.section-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ── Divider ── */
.border-top { border-top: 1px solid var(--gray-300); }
.border-bottom { border-bottom: 1px solid var(--gray-300); }

/* ──────────────────────────────
   HEADER
────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid #111;
  padding: 0 48px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color .3s, box-shadow .3s;
}
.site-header.scrolled {
  border-color: #e5e5e5;
  box-shadow: 0 2px 20px rgba(0,0,0,.05);
}

/* ロゴ */
.site-logo-link { text-decoration: none; color: #111; }
.site-logo-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark { color: #111; flex-shrink: 0; }
.logo-type {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.logo-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1;
  color: #111;
}
.logo-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  font-weight: 200;
  letter-spacing: .08em;
  line-height: 1;
  color: #111;
}

/* ヘッダー右エリア */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.header-cta {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  letter-spacing: .1em;
  background: #111;
  color: #fff;
  padding: 10px 22px;
  transition: background .2s;
  text-decoration: none;
}
.header-cta:hover { background: #333; }

/* ハンバーガーボタン */
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  color: #111;
  transition: opacity .2s;
}
.hamburger-btn:hover { opacity: .6; }

.ham-line { transition: transform .3s, opacity .2s; transform-origin: center; transform-box: fill-box; }
.hamburger-btn.is-open .ham-line-1 { transform: translateY(6px) rotate(45deg); }
.hamburger-btn.is-open .ham-line-2 { opacity: 0; }
.hamburger-btn.is-open .ham-line-3 { transform: translateY(-6px) rotate(-45deg); }

/* ──────────────────────────────
   FULLSCREEN MENU
────────────────────────────── */
.fullscreen-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: #111;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 48px 60px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s cubic-bezier(.16,1,.3,1);
}
.fullscreen-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* メニュー内ロゴエリア */
.menu-header {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  padding: 0 48px;
}
.menu-header .site-logo-link { color: #fff; }
.menu-header .logo-name,
.menu-header .logo-sub { color: #fff; }
.menu-header .logo-mark { color: #fff; }

/* ナビアイテム */
.fullscreen-nav { display: flex; flex-direction: column; }
.menu-item {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 200;
  letter-spacing: -.02em;
  color: #fff;
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 1px solid #222;
  display: flex;
  align-items: center;
  gap: 20px;
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity .4s ease, transform .4s ease, color .2s, padding-left .25s;
}
.menu-item.is-visible { opacity: 1; transform: translateX(0); }
.menu-item:hover { color: #aaa; padding-left: 12px; }
.menu-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: #444;
  letter-spacing: .3em;
}

/* メニューフッター */
.menu-footer {
  position: absolute;
  bottom: 48px;
  left: 48px;
  right: 48px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.menu-footer-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  letter-spacing: .3em;
  color: #444;
  margin-bottom: 8px;
}
.menu-footer-link {
  display: block;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: #555;
  text-decoration: none;
  margin-bottom: 4px;
  transition: color .2s;
}
.menu-footer-link:hover { color: #fff; }
.menu-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  color: #333;
  letter-spacing: .05em;
}

/* ──────────────────────────────
   HERO
────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 64px;
  border-bottom: 1px solid var(--gray-300);
}
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px var(--px);
}
.hero-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}
.hero-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gray-500); }
.hero-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(44px, 5.5vw, 80px);
  font-weight: 200;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 40px;
  color: var(--black);
}
.hero-title strong { font-weight: 500; }
.hero-desc {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 2;
  font-weight: 300;
  margin-bottom: 48px;
  max-width: 420px;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-visual {
  background: var(--gray-200);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--px);
  position: relative;
  overflow: hidden;
}
.hero-visual-inner {
  aspect-ratio: 4/5;
  background: var(--gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-300);
  position: relative;
}
.hero-visual-placeholder {
  font-family: 'DM Sans', sans-serif;
  font-size: 100px;
  font-weight: 200;
  color: #e0e0e0;
  letter-spacing: -0.05em;
  line-height: 1;
}
.hero-stat-card {
  position: absolute;
  padding: 20px 24px;
  min-width: 140px;
}
.hero-stat-card.card-dark { background: var(--black); bottom: -20px; left: -20px; }
.hero-stat-card.card-light { background: var(--white); border: 1px solid var(--gray-300); top: 20px; right: -20px; }
.stat-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 28px;
  font-weight: 300;
  line-height: 1;
}
.card-dark .stat-num { color: var(--white); }
.card-light .stat-num { color: var(--black); }
.stat-label {
  font-size: 11px;
  margin-top: 4px;
  letter-spacing: 0.1em;
}
.card-dark .stat-label { color: #888; }
.card-light .stat-label { color: var(--gray-500); }

/* ──────────────────────────────
   SERVICES
────────────────────────────── */
.services { padding: 100px var(--px); border-bottom: 1px solid var(--gray-300); }
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}
.services-meta {
  font-size: 12px;
  color: var(--gray-500);
  text-align: right;
  line-height: 1.8;
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr auto;
  gap: 40px;
  align-items: start;
  padding: 40px 16px;
  border-top: 1px solid var(--gray-300);
  cursor: default;
  transition: background 0.2s;
}
.service-row:hover { background: var(--gray-100); }
.service-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #bbb;
  font-weight: 300;
  padding-top: 4px;
}
.service-title-wrap { display: flex; flex-direction: column; gap: 6px; }
.service-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.service-badge {
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  background: var(--black);
  color: var(--white);
  padding: 2px 8px;
  letter-spacing: 0.15em;
}
.service-category {
  font-size: 10px;
  color: #bbb;
  letter-spacing: 0.15em;
}
.service-desc {
  font-size: 13px;
  color: var(--gray-700);
  line-height: 1.9;
  font-weight: 300;
}
.service-tags { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.service-tag {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  border: 1px solid var(--gray-300);
  padding: 3px 10px;
  color: var(--gray-500);
  white-space: nowrap;
  letter-spacing: 0.05em;
}

/* ──────────────────────────────
   PRICING
────────────────────────────── */
.pricing { padding: 100px var(--px); background: var(--black); border-bottom: 1px solid #333; }
.pricing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.pricing-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  color: #555;
  margin-bottom: 20px;
}
.pricing-heading {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(28px, 3vw, 52px);
  font-weight: 200;
  color: var(--white);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 24px;
}
.pricing-desc { font-size: 13px; color: #666; line-height: 2; font-weight: 300; }
.pricing-card { border: 1px solid #333; padding: 48px; }
.pricing-price {
  font-family: 'DM Sans', sans-serif;
  font-size: 72px;
  font-weight: 200;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}
.pricing-note { font-size: 12px; color: #555; margin-bottom: 40px; letter-spacing: 0.1em; }
.pricing-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid #222;
  font-size: 13px;
  color: #aaa;
  font-weight: 300;
}
.pricing-dot { width: 4px; height: 4px; background: var(--white); border-radius: 50%; flex-shrink: 0; }
.pricing-cta {
  width: 100%;
  background: var(--white);
  color: var(--black);
  border: none;
  padding: 16px;
  font-size: 13px;
  letter-spacing: 0.1em;
  font-family: 'Noto Sans JP', sans-serif;
  cursor: pointer;
  margin-top: 32px;
  transition: background 0.2s;
}
.pricing-cta:hover { background: #f0f0f0; }

/* ──────────────────────────────
   ABOUT + CTA
────────────────────────────── */
.about-cta { padding: 100px var(--px); }
.about-cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }

.about-label { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 0.4em; color: var(--gray-500); margin-bottom: 20px; }
.about-name { font-family: 'DM Sans', sans-serif; font-size: 36px; font-weight: 200; letter-spacing: -0.02em; margin-bottom: 20px; }
.about-divider { width: 40px; height: 1px; background: var(--black); margin-bottom: 20px; }
.about-text { font-size: 13px; color: var(--gray-700); line-height: 2.1; font-weight: 300; }

.cta-box { background: var(--black); padding: 56px 48px; height: 100%; display: flex; flex-direction: column; justify-content: space-between; }
.cta-label { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: 0.4em; color: #555; margin-bottom: 24px; }
.cta-heading { font-family: 'DM Sans', sans-serif; font-size: clamp(24px, 2.5vw, 38px); font-weight: 200; color: var(--white); line-height: 1.4; letter-spacing: -0.02em; margin-bottom: 16px; }
.cta-sub { font-size: 13px; color: #666; line-height: 2; font-weight: 300; }
.cta-btn-main { background: var(--white); color: var(--black); border: none; padding: 18px 40px; font-size: 13px; letter-spacing: 0.1em; font-family: 'Noto Sans JP', sans-serif; cursor: pointer; margin-top: 48px; align-self: flex-start; transition: background 0.2s; }
.cta-btn-main:hover { background: #f0f0f0; }

/* ──────────────────────────────
   FOOTER
────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--gray-300);
  padding: 32px var(--px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo-wrap .site-logo-link { color: #111; }
.footer-logo-wrap .logo-name,
.footer-logo-wrap .logo-sub { color: #111; }
.footer-nav { display: flex; gap: 24px; }
.footer-nav a { font-family: 'Noto Sans JP', sans-serif; font-size: 11px; color: #bbb; text-decoration: none; transition: color .2s; }
.footer-nav a:hover { color: #111; }
.footer-copy { font-size: 11px; color: #bbb; }

/* ──────────────────────────────
   ANIMATIONS
────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ──────────────────────────────
   RESPONSIVE
────────────────────────────── */
@media (max-width: 960px) {
  :root { --px: 24px; }
  .hero { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-content { padding: 60px var(--px); }
  .service-row { grid-template-columns: 48px 1fr; gap: 20px; }
  .service-tags, .service-desc { display: none; }
  .pricing-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-cta-grid { grid-template-columns: 1fr; gap: 0; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-nav { display: none; }
}

/* ──────────────────────────────
   PAGE COMMON
────────────────────────────── */
.page-hero {
  padding: 140px var(--px) 80px;
  border-bottom: 1px solid var(--gray-300);
  background: var(--gray-100);
}
.page-hero-inner { max-width: var(--container); margin: 0 auto; }
.page-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: .4em;
  color: var(--gray-500);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.page-eyebrow::before { content: ''; display: block; width: 32px; height: 1px; background: var(--gray-500); }
.page-title {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 200;
  letter-spacing: -.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}
.page-lead {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 2;
  font-weight: 300;
  max-width: 560px;
}

/* 共通CTAセクション */
.page-cta-section { padding: 0 var(--px) 100px; }
.page-cta-box {
  max-width: var(--container);
  margin: 0 auto;
  background: var(--black);
  padding: 64px 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}
.page-cta-label { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: .4em; color: #555; margin-bottom: 16px; }
.page-cta-heading { font-family: 'DM Sans', sans-serif; font-size: clamp(22px, 3vw, 38px); font-weight: 200; color: #fff; letter-spacing: -.02em; margin-bottom: 10px; }
.page-cta-sub { font-size: 13px; color: #666; line-height: 2; font-weight: 300; }
.btn-white { background: #fff; color: var(--black); border: none; white-space: nowrap; }
.btn-white:hover { background: #f0f0f0; transform: translateY(-1px); }

/* ──────────────────────────────
   SERVICES PAGE
────────────────────────────── */
.sv-section { padding: 80px var(--px) 60px; }
.sv-row {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  padding: 56px 0;
  border-top: 1px solid var(--gray-300);
}
.sv-num { font-family: 'DM Sans', sans-serif; font-size: 11px; color: #ccc; font-weight: 300; margin-bottom: 12px; }
.sv-category { font-size: 10px; color: #bbb; letter-spacing: .2em; margin-bottom: 10px; }
.sv-title {
  font-family: 'DM Sans', sans-serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -.01em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.sv-badge { font-family: 'DM Sans', sans-serif; font-size: 9px; background: var(--black); color: #fff; padding: 2px 8px; letter-spacing: .15em; }
.sv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sv-tag { font-family: 'DM Sans', sans-serif; font-size: 10px; border: 1px solid var(--gray-300); padding: 3px 10px; color: var(--gray-500); letter-spacing: .04em; }
.sv-body { font-size: 14px; color: var(--gray-700); line-height: 2.1; font-weight: 300; margin-bottom: 24px; }
.sv-points { list-style: none; margin-bottom: 32px; }
.sv-points li {
  font-size: 13px;
  color: #555;
  font-weight: 300;
  padding: 8px 0;
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  align-items: center;
  gap: 10px;
}
.sv-points li::before { content: ''; display: block; width: 4px; height: 4px; background: var(--black); border-radius: 50%; flex-shrink: 0; }
.sv-footer { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.sv-price { font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 400; letter-spacing: .04em; }

/* ──────────────────────────────
   ABOUT PAGE
────────────────────────────── */
.about-section { padding: 80px var(--px); border-bottom: 1px solid var(--gray-300); }
.about-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
}
.about-photo { background: var(--gray-200); border: 1px solid var(--gray-300); aspect-ratio: 3/4; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; overflow: hidden; }
.about-img { width: 100%; height: 100%; object-fit: cover; }
.about-photo-placeholder { display: flex; flex-direction: column; align-items: center; gap: 12px; color: #ccc; font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: .2em; }
.about-credentials { display: flex; flex-direction: column; gap: 8px; }
.credential-item { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--gray-700); font-weight: 300; }
.credential-dot { width: 4px; height: 4px; background: var(--black); border-radius: 50%; flex-shrink: 0; }
.about-name-en { font-family: 'DM Sans', sans-serif; font-size: 13px; letter-spacing: .2em; color: var(--gray-500); margin-bottom: 8px; }
.about-name-ja { font-family: 'DM Sans', sans-serif; font-size: 40px; font-weight: 200; letter-spacing: -.02em; margin-bottom: 24px; }
.about-divider { width: 40px; height: 1px; background: var(--black); margin-bottom: 28px; }
.about-content p { font-size: 14px; color: var(--gray-700); line-height: 2.1; font-weight: 300; margin-bottom: 20px; }
.about-links { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.about-link { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--black); border-bottom: 1px solid var(--black); padding-bottom: 2px; letter-spacing: .05em; transition: opacity .2s; }
.about-link:hover { opacity: .5; }

/* タイムライン */
.timeline-section { padding: 80px var(--px) 100px; }
.section-label-wrap { max-width: var(--container); margin: 0 auto 48px; }
.timeline { max-width: var(--container); margin: 0 auto; }
.timeline-item { display: grid; grid-template-columns: 64px 32px 1fr; gap: 16px; align-items: start; margin-bottom: 0; padding: 28px 0; border-top: 1px solid var(--gray-200); }
.timeline-year { font-family: 'DM Sans', sans-serif; font-size: 12px; color: var(--gray-500); font-weight: 300; padding-top: 3px; }
.timeline-bar { display: flex; justify-content: center; padding-top: 6px; }
.timeline-dot { width: 6px; height: 6px; background: var(--black); border-radius: 50%; }
.timeline-text { font-size: 14px; color: var(--gray-700); line-height: 1.9; font-weight: 300; }

/* ──────────────────────────────
   CONTACT PAGE
────────────────────────────── */
.contact-section { padding: 80px var(--px) 100px; }
.contact-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 360px; gap: 80px; align-items: start; }

/* フォーム */
.cf-group { margin-bottom: 28px; }
.cf-label { display: block; font-family: 'Noto Sans JP', sans-serif; font-size: 12px; color: var(--black); margin-bottom: 8px; letter-spacing: .05em; }
.cf-required { color: #e00; margin-left: 4px; }
.cf-input, .cf-select, .cf-textarea {
  width: 100%;
  border: 1px solid var(--gray-300);
  padding: 12px 16px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: var(--black);
  background: #fff;
  outline: none;
  transition: border-color .2s;
  border-radius: 0;
  appearance: none;
}
.cf-input:focus, .cf-select:focus, .cf-textarea:focus { border-color: var(--black); }
.cf-textarea { resize: vertical; min-height: 140px; line-height: 1.8; }
.cf-check { display: flex; align-items: flex-start; gap: 10px; }
.cf-check-label { font-size: 13px; color: var(--gray-700); font-weight: 300; cursor: pointer; display: flex; align-items: flex-start; gap: 8px; line-height: 1.6; }
.cf-check-label a { color: var(--black); border-bottom: 1px solid var(--gray-300); }
.cf-submit { width: 100%; text-align: center; margin-top: 8px; padding: 16px; font-size: 14px; }

/* 右カラム情報 */
.ci-block { margin-bottom: 36px; padding-bottom: 36px; border-bottom: 1px solid var(--gray-200); }
.ci-block:last-of-type { border-bottom: none; }
.ci-label { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: .3em; color: var(--gray-500); margin-bottom: 12px; }
.ci-text { font-size: 13px; color: var(--gray-700); line-height: 2; font-weight: 300; }
.ci-services { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.ci-service-tag { font-family: 'DM Sans', sans-serif; font-size: 10px; border: 1px solid var(--gray-300); padding: 3px 10px; color: var(--gray-500); letter-spacing: .04em; }
.ci-note { font-size: 11px; color: #bbb; line-height: 2; margin-top: 24px; }
.ci-note a { color: #bbb; border-bottom: 1px solid #ddd; }

/* ──────────────────────────────
   RESPONSIVE（追加分）
────────────────────────────── */
@media (max-width: 960px) {
  .sv-row { grid-template-columns: 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 320px; aspect-ratio: 1/1; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-cta-box { flex-direction: column; align-items: flex-start; padding: 48px 32px; }
  .timeline-item { grid-template-columns: 56px 24px 1fr; }
}

/* ──────────────────────────────
   WORKS LIST PAGE
────────────────────────────── */
.works-numbers { padding: 60px var(--px); border-bottom: 1px solid var(--gray-300); background: var(--gray-100); }
.works-numbers-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); }
.wn-item { text-align: center; padding: 32px 16px; border-left: 1px solid var(--gray-300); }
.wn-item:first-child { border-left: none; }
.wn-num { font-family: 'DM Sans', sans-serif; font-size: clamp(32px,4vw,52px); font-weight: 200; letter-spacing: -.02em; margin-bottom: 6px; }
.wn-label { font-size: 11px; color: var(--gray-500); letter-spacing: .15em; }

.works-section { padding: 80px var(--px) 60px; }

/* フィルター */
.works-filter { max-width: var(--container); margin: 0 auto 48px; display: flex; gap: 8px; flex-wrap: wrap; }
.filter-btn { font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: .08em; border: 1px solid var(--gray-300); background: #fff; color: var(--gray-500); padding: 8px 20px; cursor: pointer; transition: all .2s; }
.filter-btn:hover { border-color: var(--black); color: var(--black); }
.filter-btn.is-active { background: var(--black); color: #fff; border-color: var(--black); }

/* グリッド */
.works-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.work-card-link { display: block; text-decoration: none; color: inherit; }
.work-card-thumb { position: relative; background: #1a1a1a; aspect-ratio: 4/3; overflow: hidden; }
.work-thumb-img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.work-card:hover .work-thumb-img { transform: scale(1.04); }
.work-thumb-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: #1a1a1a; }
.work-card-overlay { position: absolute; inset: 0; background: rgba(0,0,0,.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; }
.work-card:hover .work-card-overlay { opacity: 1; }
.work-card-more { font-family: 'DM Sans', sans-serif; font-size: 13px; color: #fff; letter-spacing: .1em; }
.work-card-body { padding: 20px 0 0; }
.work-industry { font-family: 'DM Sans', sans-serif; font-size: 10px; color: var(--gray-500); letter-spacing: .2em; margin-bottom: 6px; }
.work-title { font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 400; letter-spacing: -.01em; margin-bottom: 8px; line-height: 1.4; }
.work-result { font-size: 12px; color: var(--gray-700); font-weight: 300; margin-bottom: 4px; }
.work-period { font-size: 11px; color: var(--gray-500); }

/* ページネーション */
.works-pagination { max-width: var(--container); margin: 60px auto 0; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.works-pagination .page-numbers { font-family: 'DM Sans', sans-serif; font-size: 13px; border: 1px solid var(--gray-300); padding: 8px 16px; color: var(--black); text-decoration: none; transition: all .2s; }
.works-pagination .page-numbers.current { background: var(--black); color: #fff; border-color: var(--black); }
.works-pagination .page-numbers:hover { border-color: var(--black); }

/* ──────────────────────────────
   WORKS DETAIL PAGE
────────────────────────────── */
.works-detail-industry { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: .2em; color: var(--gray-500); margin-bottom: 12px; }
.works-detail-result { font-size: 16px; color: var(--gray-700); font-weight: 300; margin-top: 16px; }
.works-detail-section { padding: 80px var(--px) 60px; }
.works-detail-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1fr 300px; gap: 64px; align-items: start; }
.works-detail-thumb { margin-bottom: 48px; }
.works-detail-img { width: 100%; height: auto; }
.works-detail-block { margin-bottom: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--gray-200); }
.works-detail-block:last-child { border-bottom: none; }
.works-detail-block-title { font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500; letter-spacing: .1em; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--black); display: inline-block; }
.works-detail-block-text { font-size: 14px; color: var(--gray-700); line-height: 2.1; font-weight: 300; }
.works-detail-content { font-size: 15px; color: var(--gray-700); line-height: 2.2; font-weight: 300; }
.works-detail-content p { margin-bottom: 20px; }

.works-side-card { border: 1px solid var(--gray-300); padding: 28px; margin-bottom: 24px; }
.works-side-label { font-family: 'DM Sans', sans-serif; font-size: 10px; letter-spacing: .3em; color: var(--gray-500); margin-bottom: 20px; }
.works-side-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--gray-200); font-size: 13px; gap: 16px; }
.works-side-key { color: var(--gray-500); font-weight: 300; flex-shrink: 0; }
.works-side-val { color: var(--black); text-align: right; }
.works-side-result { margin-top: 20px; background: var(--black); padding: 16px; }
.works-side-result-label { font-size: 10px; color: #666; letter-spacing: .2em; margin-bottom: 6px; }
.works-side-result-val { font-family: 'DM Sans', sans-serif; font-size: 14px; color: #fff; font-weight: 300; }
.works-side-cta { border: 1px solid var(--gray-300); padding: 24px; }
.works-side-cta-text { font-size: 13px; color: var(--gray-700); font-weight: 300; margin-bottom: 16px; line-height: 1.8; }

/* 前後ナビ */
.works-nav { max-width: var(--container); margin: 60px auto 0; display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; border-top: 1px solid var(--gray-300); padding-top: 40px; }
.works-nav-link { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: inherit; transition: opacity .2s; }
.works-nav-link:hover { opacity: .6; }
.works-nav-dir { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: .2em; color: var(--gray-500); }
.works-nav-title { font-size: 14px; font-weight: 300; }
.works-nav-next { text-align: right; }
.works-nav-all { font-family: 'DM Sans', sans-serif; font-size: 12px; letter-spacing: .1em; color: var(--gray-500); text-decoration: none; border: 1px solid var(--gray-300); padding: 8px 20px; white-space: nowrap; transition: all .2s; }
.works-nav-all:hover { background: var(--black); color: #fff; border-color: var(--black); }

/* ──────────────────────────────
   RESPONSIVE（追加分）
────────────────────────────── */
@media (max-width: 960px) {
  .works-numbers-grid { grid-template-columns: repeat(2,1fr); }
  .wn-item:nth-child(odd) { border-left: none; }
  .works-grid { grid-template-columns: repeat(2,1fr); }
  .works-detail-grid { grid-template-columns: 1fr; }
  .works-nav { grid-template-columns: 1fr 1fr; }
  .works-nav-all { display: none; }
}
@media (max-width: 600px) {
  .works-grid { grid-template-columns: 1fr; }
  .works-numbers-grid { grid-template-columns: repeat(2,1fr); }
}

/* ──────────────────────────────
   HERO BADGES
────────────────────────────── */
.hero-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-badge { font-family: 'DM Sans', sans-serif; font-size: 11px; background: var(--black); color: #fff; padding: 6px 14px; letter-spacing: .08em; }

/* ──────────────────────────────
   CORE SERVICES
────────────────────────────── */
.core-services { padding: 100px var(--px); background: #111; border-bottom: 1px solid #222; }
.cs-header { max-width: var(--container); margin: 0 auto 56px; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 20px; }
.cs-label { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: .4em; color: #444; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.cs-label::before { content: ''; display: block; width: 32px; height: 1px; background: #444; }
.cs-heading { font-family: 'DM Sans', sans-serif; font-size: clamp(28px,3vw,48px); font-weight: 200; color: #fff; letter-spacing: -.02em; margin-bottom: 10px; }
.cs-sub { font-size: 13px; color: #555; font-weight: 300; }
.cs-all-link { font-family: 'DM Sans', sans-serif; font-size: 12px; color: #555; letter-spacing: .08em; text-decoration: none; border-bottom: 1px solid #333; padding-bottom: 2px; transition: color .2s; white-space: nowrap; }
.cs-all-link:hover { color: #fff; border-color: #fff; }

.cs-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 3px; }

.cs-card { background: #1a1a1a; padding: 44px 36px; display: flex; flex-direction: column; position: relative; }
.cs-card--featured { background: #fff; }

.cs-popular { position: absolute; top: 0; left: 0; right: 0; background: #111; padding: 6px 0; text-align: center; font-family: 'DM Sans', sans-serif; font-size: 9px; letter-spacing: .3em; color: #fff; }
.cs-card--featured .cs-popular { background: var(--black); }

.cs-num { font-family: 'DM Sans', sans-serif; font-size: 11px; color: #444; margin-bottom: 16px; }
.cs-card--featured .cs-num { color: #bbb; margin-top: 20px; }

.cs-title { font-family: 'DM Sans', sans-serif; font-size: 20px; font-weight: 400; color: #fff; letter-spacing: -.01em; margin-bottom: 24px; }
.cs-card--featured .cs-title { color: #111; }

.cs-price { font-family: 'DM Sans', sans-serif; font-size: 28px; font-weight: 200; color: #fff; line-height: 1; margin-bottom: 4px; }
.cs-card--featured .cs-price { color: #111; }

.cs-price-sub { font-size: 11px; color: #555; margin-bottom: 28px; }
.cs-card--featured .cs-price-sub { color: #999; }

.cs-points { list-style: none; border-top: 1px solid #2a2a2a; padding-top: 20px; margin-bottom: 28px; flex: 1; }
.cs-card--featured .cs-points { border-color: #e5e5e5; }
.cs-points li { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid #222; font-size: 12px; color: #888; font-weight: 300; }
.cs-card--featured .cs-points li { border-color: #f0f0f0; color: #555; }
.cs-points li::before { content: ''; display: block; width: 3px; height: 3px; background: #555; border-radius: 50%; flex-shrink: 0; }
.cs-card--featured .cs-points li::before { background: #111; }

.cs-btn { display: block; text-align: center; background: transparent; color: #888; border: 1px solid #333; padding: 13px 0; font-size: 12px; letter-spacing: .1em; font-family: 'Noto Sans JP', sans-serif; text-decoration: none; transition: all .2s; margin-top: auto; }
.cs-btn:hover { background: #fff; color: #111; border-color: #fff; }
.cs-card--featured .cs-btn { background: #111; color: #fff; border-color: #111; }
.cs-card--featured .cs-btn:hover { background: #333; }

/* ──────────────────────────────
   OTHER SERVICES
────────────────────────────── */
.other-services { padding: 80px var(--px); border-bottom: 1px solid var(--gray-300); }
.os-header { max-width: var(--container); margin: 0 auto 40px; display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 16px; }
.os-meta { font-family: 'Noto Sans JP', sans-serif; font-size: 12px; color: var(--gray-500); text-align: right; line-height: 1.8; }

/* ──────────────────────────────
   RESPONSIVE（CORE SERVICES）
────────────────────────────── */
@media (max-width: 960px) {
  .cs-grid { grid-template-columns: 1fr; gap: 12px; }
  .cs-header { flex-direction: column; align-items: flex-start; }
}

/* ──────────────────────────────
   PROCESS SECTION
────────────────────────────── */
.process-section { padding: 100px var(--px); background: var(--gray-100); border-top: 1px solid var(--gray-300); border-bottom: 1px solid var(--gray-300); }
.process-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.process-item { padding: 32px 28px; position: relative; border-left: 1px solid var(--gray-300); }
.process-item:first-child { border-left: none; }
.process-num { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: .3em; color: var(--gray-500); margin-bottom: 16px; }
.process-title { font-family: 'DM Sans', sans-serif; font-size: 18px; font-weight: 400; letter-spacing: -.01em; margin-bottom: 12px; }
.process-desc { font-size: 13px; color: var(--gray-700); line-height: 1.9; font-weight: 300; margin-bottom: 12px; }
.process-note { font-family: 'DM Sans', sans-serif; font-size: 11px; color: var(--gray-500); border: 1px solid var(--gray-300); padding: 4px 10px; display: inline-block; letter-spacing: .05em; }
.process-arrow { position: absolute; top: 50%; right: -12px; transform: translateY(-50%); font-size: 16px; color: var(--gray-500); z-index: 1; }

/* ──────────────────────────────
   FAQ SECTION
────────────────────────────── */
.faq-section { padding: 100px var(--px); border-bottom: 1px solid var(--gray-300); }
.faq-item { max-width: var(--container); margin: 0 auto 0; border-top: 1px solid var(--gray-300); }
.faq-item:last-child { border-bottom: 1px solid var(--gray-300); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 8px; background: none; border: none; cursor: pointer; text-align: left; font-family: 'Noto Sans JP', sans-serif; font-size: 14px; color: var(--black); font-weight: 400; transition: color .2s; }
.faq-q:hover { color: var(--gray-500); }
.faq-icon { flex-shrink: 0; color: var(--black); transition: transform .3s; }
.faq-plus-v { transition: opacity .3s; }
.faq-item.is-open .faq-plus-v { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s; padding: 0 8px; font-size: 13px; color: var(--gray-700); line-height: 2.1; font-weight: 300; }
.faq-item.is-open .faq-a { max-height: 300px; padding: 0 8px 24px; }

/* ──────────────────────────────
   ABOUT STRENGTHS
────────────────────────────── */
.strengths-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.strength-card { background: #fff; border: 1px solid var(--gray-300); padding: 32px 28px; transition: border-color .2s, transform .2s; }
.strength-card:hover { border-color: var(--black); transform: translateY(-3px); }
.strength-icon { font-size: 28px; margin-bottom: 16px; }
.strength-title { font-family: 'DM Sans', sans-serif; font-size: 16px; font-weight: 500; letter-spacing: -.01em; margin-bottom: 10px; }
.strength-desc { font-size: 13px; color: var(--gray-700); line-height: 1.9; font-weight: 300; }

/* ──────────────────────────────
   ABOUT SKILLS
────────────────────────────── */
.skills-grid { max-width: var(--container); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; }
.skill-cat { font-family: 'DM Sans', sans-serif; font-size: 11px; letter-spacing: .3em; color: var(--gray-500); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--gray-300); }
.skill-item { display: flex; align-items: flex-start; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--gray-200); font-size: 13px; color: var(--gray-700); font-weight: 300; line-height: 1.6; }
.skill-dot { width: 4px; height: 4px; background: var(--black); border-radius: 50%; flex-shrink: 0; margin-top: 7px; }

/* ──────────────────────────────
   SV RECOMMEND
────────────────────────────── */
.sv-recommend { background: var(--gray-100); border-left: 3px solid var(--black); padding: 10px 14px; font-size: 12px; color: var(--gray-700); line-height: 1.8; font-weight: 300; margin-bottom: 24px; }
.sv-recommend-label { font-family: 'DM Sans', sans-serif; font-size: 9px; letter-spacing: .2em; color: var(--gray-500); display: block; margin-bottom: 4px; }

/* ──────────────────────────────
   CONTACT SEO DIAGNOSIS
────────────────────────────── */
.seo-diag-banner { max-width: var(--container); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.seo-diag-point { text-align: center; padding: 0 20px; border-left: 1px solid #222; }
.seo-diag-point:first-child { border-left: none; }
.cf-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* ──────────────────────────────
   WORKS NUMBERS EXTENDED
────────────────────────────── */
.wn-sub { font-size: 10px; color: #bbb; margin-top: 4px; letter-spacing: .1em; }

/* ──────────────────────────────
   WORKS PROBLEM CARDS
────────────────────────────── */
.problem-card { background: #1a1a1a; padding: 28px 24px; }
.problem-q { font-family: 'Noto Sans JP', sans-serif; font-size: 13px; color: #888; font-weight: 300; line-height: 1.7; margin-bottom: 8px; }
.problem-arrow { font-size: 14px; color: #444; margin-bottom: 8px; }
.problem-a { font-family: 'DM Sans', sans-serif; font-size: 13px; color: #fff; font-weight: 400; line-height: 1.6; }

/* ──────────────────────────────
   RESPONSIVE（追加分）
────────────────────────────── */
@media (max-width: 960px) {
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-arrow { display: none; }
  .strengths-grid { grid-template-columns: 1fr 1fr; }
  .skills-grid { grid-template-columns: 1fr 1fr; }
  .cf-row-2 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .process-grid { grid-template-columns: 1fr; }
  .strengths-grid { grid-template-columns: 1fr; }
  .skills-grid { grid-template-columns: 1fr; }
}
