/* ============================================================
   株式会社 翌檜 — Global Styles (Apple-inspired)
   ============================================================ */

:root {
  --color-bg: #ffffff;
  --color-bg-secondary: #f5f5f7;
  --color-bg-dark: #1d1d1f;
  --color-text-primary: #1d1d1f;
  --color-text-secondary: #6e6e73;
  --color-text-light: #f5f5f7;
  --color-accent: #0066cc;
  --color-accent-hover: #0077ed;
  --color-border: #d2d2d7;
  --font-base: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --transition-base: 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, 0.16);
  --radius-md: 18px;
  --radius-lg: 28px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-base);
  color: var(--color-text-primary);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--color-accent-hover);
}

/* ============================================================
   Navigation
   ============================================================ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 52px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: background var(--transition-base);
}

.nav--dark {
  background: rgba(29, 29, 31, 0.72);
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav__inner {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity var(--transition-base);
}

.nav__logo:hover {
  opacity: 0.8;
}

.nav__logo-img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
  transition: filter var(--transition-base), mix-blend-mode var(--transition-base);
  /* ライトナビ: 黒ロゴ×白背景 → multiply で白背景を消す */
  mix-blend-mode: multiply;
  filter: none;
}

/* ダークナビ: 反転して白ロゴにし、screen で黒背景を消す */
.nav--dark .nav__logo-img {
  filter: invert(1);
  mix-blend-mode: screen;
}

.nav__logo-text {
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
  transition: color var(--transition-base);
}

.nav--dark .nav__logo-text {
  color: var(--color-text-light);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav__links a {
  font-size: 13px;
  color: var(--color-text-primary);
  font-weight: 400;
  letter-spacing: 0;
  transition: color var(--transition-base);
}

.nav--dark .nav__links a {
  color: rgba(255, 255, 255, 0.85);
}

.nav__links a:hover {
  color: var(--color-accent);
}

.nav--dark .nav__links a:hover {
  color: #fff;
}

.nav__cta {
  font-size: 13px;
  color: var(--color-accent) !important;
  font-weight: 500;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text-primary);
  transition: all var(--transition-base);
}

.nav--dark .nav__hamburger span {
  background: #fff;
}

/* ============================================================
   Hero Section
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  background: linear-gradient(180deg, #000 0%, #1a1a2e 60%, #0d0d1a 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 30%, rgba(0, 102, 204, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

.hero__eyebrow {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero__title {
  font-size: clamp(40px, 7vw, 88px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.5s forwards;
}

.hero__title span {
  background: linear-gradient(135deg, #e0e7ff 0%, #93c5fd 50%, #60a5fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(16px, 2.5vw, 21px);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  max-width: 620px;
  line-height: 1.7;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.7s forwards;
}

.hero__subtitle strong {
  color: #fff;
  font-weight: 600;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s 0.9s forwards;
}

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
  letter-spacing: 0.05em;
  animation: bounce 2s infinite;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.4), transparent);
}

/* ============================================================
   Buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 14px 28px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-base);
  border: none;
  text-decoration: none;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
  transform: scale(1.02);
  box-shadow: 0 8px 24px rgba(0, 102, 204, 0.4);
}

.btn--ghost {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid rgba(0, 102, 204, 0.4);
}

.btn--ghost:hover {
  background: rgba(0, 102, 204, 0.08);
  color: var(--color-accent-hover);
  border-color: var(--color-accent);
}

.btn--ghost-light {
  background: transparent;
  color: rgba(255, 255, 255, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   Section Shared
   ============================================================ */

.section {
  padding: 120px 24px;
}

.section--gray {
  background: var(--color-bg-secondary);
}

.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-light);
}

.section__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.section__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section--dark .section__label {
  color: #60a5fa;
}

.section__title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
}

.section__title--mission {
  font-size: clamp(26px, 3.6vw, 44px);
  line-height: 1.38;
  letter-spacing: -0.025em;
}

.section__body {
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 680px;
}

.section__em {
  font-weight: 600;
  color: var(--color-text-primary);
}

.section--dark .section__body {
  color: rgba(245, 245, 247, 0.7);
}

.section--dark .section__em {
  color: rgba(255, 255, 255, 0.95);
}

/* ============================================================
   Mission Section
   ============================================================ */

.mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.mission__visual {
  position: relative;
  height: 480px;
  border-radius: var(--radius-lg);
  background: #f7f5f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mission__visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-lg);
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mission__visual:hover .mission__visual-img {
  transform: scale(1.04);
}

/* ============================================================
   Strengths Section
   ============================================================ */

.strengths__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

/* Strengths: typographic mark (no illustration) */
.card__sigil {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.card__sigil-line {
  width: 28px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  flex-shrink: 0;
}

.card__sigil-num {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--color-text-secondary);
  font-variant-numeric: tabular-nums;
}

.card__title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--color-text-primary);
}

.card__body {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* ============================================================
   Philosophy Section (2-column)
   ============================================================ */

.philosophy__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 64px;
}

.philosophy__item {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 0;
  overflow: hidden;
  transition: all var(--transition-base);
}

.philosophy__item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
}

.philosophy__banner {
  flex-shrink: 0;
  min-height: 72px;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.philosophy__banner-kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.philosophy__banner--acceleration {
  background: linear-gradient(118deg, #0a3d39 0%, #145c52 45%, #1e6b5e 100%);
}

.philosophy__banner--partnership {
  background: linear-gradient(118deg, #1c2834 0%, #2c3d4f 40%, #3d4f63 100%);
}

.philosophy__banner--legacy {
  background: linear-gradient(118deg, #243047 0%, #2f4a62 50%, #3a5c78 100%);
}

.philosophy__banner--craft {
  background: linear-gradient(118deg, #0f2922 0%, #1a4d3a 38%, #256b4f 72%, #8a7042 120%);
}

.philosophy__text {
  padding: 36px 40px 44px;
}

.philosophy__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  color: #fff;
}

.philosophy__body {
  font-size: 15px;
  line-height: 1.75;
  color: rgba(245, 245, 247, 0.65);
}

/* ============================================================
   News Section
   ============================================================ */

.news__list {
  margin-top: 48px;
  border-top: 1px solid var(--color-border);
}

.news__item {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  align-items: start;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-border);
  border-left: 3px solid transparent;
  transition: background-color var(--transition-base), border-color var(--transition-base);
}

.news__item:hover {
  background-color: rgba(0, 102, 204, 0.06);
  border-left-color: var(--color-accent);
}

.news__date {
  font-size: 13px;
  color: var(--color-text-secondary);
  padding-top: 2px;
}

.news__content {}

.news__title {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-text-primary);
  margin-bottom: 6px;
  transition: color var(--transition-base);
}

.news__title a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-base);
}

.news__item:hover .news__title {
  color: var(--color-accent);
}

.news__item:hover .news__title a {
  color: var(--color-accent);
}

.news__desc {
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* ============================================================
   CTA Section
   ============================================================ */

.cta-section {
  background: linear-gradient(135deg, #0d1b2e 0%, #1a2744 50%, #0d1b2e 100%);
  text-align: center;
  padding: 120px 24px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(0, 102, 204, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 16px;
}

.cta-section__body {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 48px;
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
  background: #1d1d1f;
  color: rgba(255, 255, 255, 0.6);
  padding: 48px 24px 32px;
}

.footer__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 32px;
}

.footer__brand {
  font-size: 17px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 8px;
}

.footer__tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}

.footer__nav {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer__nav-group {}

.footer__nav-title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 12px;
}

.footer__nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__nav-links a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition-base);
}

.footer__nav-links a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer__legal {
  display: flex;
  gap: 20px;
}

.footer__legal a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  transition: color var(--transition-base);
}

.footer__legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================================
   Cookie consent banner
   ============================================================ */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  background: rgba(29, 29, 31, 0.92);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.3s ease, visibility 0.3s;
}

.cookie-banner.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner {
    transition: none;
  }
}

.cookie-banner__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.cookie-banner__text {
  flex: 1 1 280px;
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(245, 245, 247, 0.88);
}

.cookie-banner__text a {
  color: #7eb8ff;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner__text a:hover {
  color: #a8d0ff;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border-radius: 980px;
  cursor: pointer;
  border: none;
  transition: background var(--transition-base), color var(--transition-base), transform 0.15s ease;
}

.cookie-banner__btn:active {
  transform: scale(0.98);
}

.cookie-banner__btn--primary {
  background: var(--color-accent);
  color: #fff;
}

.cookie-banner__btn--primary:hover {
  background: var(--color-accent-hover);
  color: #fff;
}

.cookie-banner__btn--secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.cookie-banner__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-banner__actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-banner__btn {
    width: 100%;
  }
}

/* ============================================================
   Page Header (inner pages)
   ============================================================ */

.page-hero {
  padding: 140px 24px 80px;
  background: linear-gradient(180deg, #000 0%, #111 100%);
  text-align: center;
}

.page-hero__label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.page-hero__title {
  font-size: clamp(32px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #fff;
  margin-bottom: 16px;
}

.page-hero__sub {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================================
   Column (articles / コラム)
   ============================================================ */

.column-index {
  padding: 80px 24px 100px;
  background: var(--color-bg);
}

.column-index--page {
  padding-top: 110px;
}

.column-index__inner {
  max-width: 800px;
  margin: 0 auto;
}

.column-index__intro {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin-bottom: 48px;
}

.column-about {
  margin-top: 24px;
  margin-bottom: 28px;
}

.column-about p {
  margin: 0 0 1em;
  font-size: 16px;
  line-height: 1.8;
  color: var(--color-text-primary);
}

.column-about p:last-child {
  margin-bottom: 0;
}

.column-empty {
  margin: 0;
  margin-top: 16px;
  padding: 36px 32px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-secondary);
  text-align: center;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.column-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.column-card {
  display: block;
  padding: 28px 32px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color var(--transition-base), box-shadow var(--transition-base), transform var(--transition-base);
}

.column-card:hover {
  border-color: rgba(0, 102, 204, 0.35);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.column-card__meta {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
}

.column-card__title {
  font-size: 18px;
  font-weight: 600;
  color: var(--color-text-primary);
  letter-spacing: -0.02em;
}

.column-card__excerpt {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-top: 10px;
  line-height: 1.65;
}

.column-post {
  padding: 0 24px 100px;
  background: var(--color-bg);
}

.column-post__inner {
  max-width: 720px;
  margin: 0 auto;
  padding-top: 48px;
}

.column-post__back {
  display: inline-block;
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

.column-post__back:hover {
  color: var(--color-accent);
}

.column-post__header {
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--color-border);
}

.column-post__date {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.column-post__title {
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text-primary);
  line-height: 1.25;
}

.column-prose {
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text-primary);
}

.column-prose p {
  margin-bottom: 1.25em;
}

.column-prose h2 {
  font-size: 20px;
  font-weight: 600;
  margin: 2em 0 0.75em;
  letter-spacing: -0.02em;
  color: var(--color-text-primary);
}

.column-prose ul,
.column-prose ol {
  margin: 0 0 1.25em 1.25em;
}

.column-prose li {
  margin-bottom: 0.5em;
}

.column-prose strong {
  font-weight: 600;
}

.column-prose a {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.column-prose a:hover {
  color: var(--color-accent-hover);
}

.column-prose code {
  font-family: ui-monospace, "Cascadia Code", "SF Mono", Menlo, monospace;
  font-size: 0.9em;
  background: var(--color-bg-secondary);
  padding: 0.15em 0.45em;
  border-radius: 6px;
  border: 1px solid var(--color-border);
}

/* ============================================================
   Company Page
   ============================================================ */

.company-info {
  padding: 80px 24px;
  background: var(--color-bg);
}

.company-info__inner {
  max-width: 760px;
  margin: 0 auto;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
}

.company-table tr {
  border-bottom: 1px solid var(--color-border);
}

.company-table th {
  text-align: left;
  padding: 20px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  width: 200px;
  vertical-align: top;
}

.company-table td {
  padding: 20px 0;
  font-size: 15px;
  color: var(--color-text-primary);
  line-height: 1.7;
}

.company-members {
  padding: 80px 24px;
  background: var(--color-bg-secondary);
}

.company-members__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.members-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
}

.member-card {
  background: var(--color-bg);
  border-radius: var(--radius-md);
  padding: 48px 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  text-align: center;
}

.member-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a5f 0%, #0a1628 100%);
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.member-card__name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}

.member-card__role {
  font-size: 14px;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 16px;
}

.member-card__bio {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.75;
}

/* ============================================================
   Privacy Page
   ============================================================ */

.privacy-content {
  padding: 80px 24px;
  max-width: 760px;
  margin: 0 auto;
}

.privacy-content h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
  color: var(--color-text-primary);
}

.privacy-content h2:first-child {
  margin-top: 0;
}

.privacy-content p,
.privacy-content li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.privacy-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.privacy-content li {
  margin-bottom: 6px;
}

.privacy-updated {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--color-border);
}

/* ============================================================
   Case studies (開発事例)
   ============================================================ */

.case-studies-disclaimer {
  max-width: 720px;
  margin: 0 auto 48px;
  padding: 16px 20px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--color-text-secondary);
  background: var(--color-bg-secondary);
  border-radius: 12px;
  border: 1px solid var(--color-border);
}

.case-studies-lead {
  max-width: 720px;
  margin: 0 auto 56px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.case-studies-hub {
  max-width: 1080px;
  margin: 0 auto;
  padding-bottom: 32px;
}

.case-studies-hub__title {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--color-text-primary);
}

.case-studies-hub__desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.case-studies-hub__pill {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(0, 102, 204, 0.08);
  border-radius: 6px;
}

.case-studies-hub--sub {
  margin-top: 8px;
  padding-top: 48px;
  border-top: 1px solid var(--color-border);
}

.case-study {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
  padding: 64px 0;
  border-top: 1px solid var(--color-border);
}

.case-study:first-of-type {
  border-top: none;
  padding-top: 0;
}

.case-study--reverse {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.case-study--reverse .case-study__media {
  order: 2;
}

.case-study--reverse .case-study__content {
  order: 1;
}

.case-study__media {
  margin: 0;
}

.case-study__placeholder {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-md);
  background: repeating-linear-gradient(
    -45deg,
    var(--color-bg-secondary),
    var(--color-bg-secondary) 8px,
    rgba(210, 210, 215, 0.35) 8px,
    rgba(210, 210, 215, 0.35) 9px
  );
  border: 2px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.case-study__placeholder small {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(110, 110, 115, 0.9);
}

.case-study__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.case-study__title {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 18px;
  color: var(--color-text-primary);
}

.case-study__text {
  font-size: 15px;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.case-study__text p + p {
  margin-top: 14px;
}

.case-study__text ul {
  margin: 14px 0 0;
  padding-left: 1.2em;
  color: var(--color-text-secondary);
}

.case-study__text li + li {
  margin-top: 8px;
}

/* ============================================================
   Scroll Reveal
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* ============================================================
   Animations
   ============================================================ */

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 900px) {
  .mission {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .mission__visual {
    height: 280px;
  }

  .strengths__grid {
    grid-template-columns: 1fr;
  }

  .philosophy__grid {
    grid-template-columns: 1fr;
  }

  .members-grid {
    grid-template-columns: 1fr;
  }

  .case-study,
  .case-study--reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .case-study--reverse .case-study__media,
  .case-study--reverse .case-study__content {
    order: unset;
  }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    top: 52px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__links.open {
    display: flex;
  }

  .nav__links li {
    width: 100%;
  }

  .nav__links a {
    display: block;
    padding: 14px 24px;
    font-size: 15px;
  }

  .nav__hamburger {
    display: flex;
  }

  .news__item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .footer__top {
    flex-direction: column;
  }

  .section {
    padding: 80px 20px;
  }

  .philosophy__banner {
    padding: 16px 24px;
    min-height: 64px;
  }

  .philosophy__text {
    padding: 28px 24px 36px;
  }

  .philosophy__banner-kicker {
    font-size: 10px;
    letter-spacing: 0.1em;
  }

  .page-hero {
    padding: 110px 20px 60px;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    justify-content: center;
  }
}
