/* ────────────────────────────────────────────────
   ROOTS CREATIVE — Design System
   ──────────────────────────────────────────────── */

:root {
  --rc-black:      #0c0c0c;
  --rc-white:      #f7f6f2;
  --rc-gray:       #5a5a5a;        /* 白背景で読めるグレー */
  --rc-gray-dark:  rgba(255,255,255,0.70); /* 暗背景：サブテキスト */
  --rc-text-dark:  rgba(255,255,255,0.88);  /* 暗背景：本文 */
  --rc-light-gray: #e4e2db;
  --rc-border:     #d8d6cf;
  --rc-accent:     #2a5cff;
  --rc-accent-rgb: 42, 92, 255;
  --rc-dark-bg:    #0f1117;

  --font-jp:   'Zen Kaku Gothic New', 'Noto Sans JP', sans-serif;
  --font-en:   'Outfit', sans-serif;
  --font-mono: 'DM Mono', monospace;

  --container: 1280px;
  --gap:       clamp(24px, 4vw, 64px);
  --section-py: clamp(80px, 10vw, 160px);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { border: none; background: none; cursor: pointer; font: inherit; }

/* ── Base ── */
body {
  font-family: var(--font-jp);
  background: var(--rc-white);
  color: var(--rc-black);
  font-weight: 300;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  position: absolute;
  white-space: nowrap;
  height: 1px; width: 1px;
  overflow: hidden;
}

/* ── Container ── */
.rc-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
}
.rc-container--narrow { max-width: 840px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 64px); }

/* ── Typography helpers ── */
.rc-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rc-gray);
  display: flex;
  align-items: center;
  gap: 14px;
}
.rc-label::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: currentColor;
}
.rc-heading {
  font-family: var(--font-en);
  font-weight: 200;
  line-height: 1.05;
  letter-spacing: -0.025em;
  font-size: clamp(40px, 6vw, 80px);
  margin-top: 20px;
}
.rc-heading--jp {
  font-family: var(--font-jp);
  font-weight: 300;
  font-size: clamp(28px, 4.5vw, 60px);
}
.rc-body-text {
  font-size: clamp(15px, 1.3vw, 16px);
  color: #404040;
  line-height: 2.3;
}

/* ── Reveal animations ── */
.rc-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(0.16,1,0.3,1), transform 0.75s cubic-bezier(0.16,1,0.3,1);
}
.rc-reveal.is-visible { opacity: 1; transform: translateY(0); }
.rc-reveal--delay-1 { transition-delay: 0.08s; }
.rc-reveal--delay-2 { transition-delay: 0.16s; }
.rc-reveal--delay-3 { transition-delay: 0.24s; }
.rc-reveal--delay-4 { transition-delay: 0.32s; }

/* ────────────────────────────────────────────────
   HEADER / NAV
   ──────────────────────────────────────────────── */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 0 clamp(20px, 4vw, 64px);
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(247,246,242,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#site-header.scrolled {
  border-color: var(--rc-border);
  box-shadow: 0 2px 24px rgba(0,0,0,0.04);
}

/* Logo */
.site-logo a,
.site-logo-text a {
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-logo img { height: 32px; width: auto; }
.site-logo-text a {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rc-black);
}
.site-logo-text a span {
  display: block;
  font-family: var(--font-jp);
  font-size: 9px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--rc-gray);
  margin-top: 1px;
}

/* Nav menu */
#primary-nav { display: flex; align-items: center; gap: 36px; }
#primary-nav ul { display: flex; align-items: center; gap: 32px; }
#primary-nav a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rc-black);
  opacity: 0.55;
  transition: opacity 0.2s;
  position: relative;
}
#primary-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--rc-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
#primary-nav a:hover { opacity: 1; }
#primary-nav a:hover::after { transform: scaleX(1); }
#primary-nav li.current-menu-item a,
#primary-nav li.current_page_item a { opacity: 1; }

/* Contact button in nav */
.nav-contact-btn {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rc-white) !important;
  background: var(--rc-black);
  padding: 10px 20px;
  opacity: 1 !important;
  transition: background 0.25s !important;
}
.nav-contact-btn:hover { background: var(--rc-accent) !important; }
.nav-contact-btn::after { display: none !important; }

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--rc-black);
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  #primary-nav {
    position: fixed;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: var(--rc-white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 40px clamp(20px, 6vw, 64px);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16,1,0.3,1);
    gap: 0;
  }
  #primary-nav.open { transform: translateX(0); }
  #primary-nav ul { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  #primary-nav ul li { width: 100%; border-bottom: 1px solid var(--rc-border); }
  #primary-nav a {
    display: block;
    font-size: 13px;
    padding: 18px 0;
    opacity: 1;
  }
  .nav-contact-btn { margin-top: 32px; display: inline-block; padding: 14px 28px; }
}

/* ────────────────────────────────────────────────
   HERO
   ──────────────────────────────────────────────── */
#hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 72px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--rc-dark-bg);
  z-index: 0;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42,92,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,92,255,0.07) 1px, transparent 1px);
  background-size: 56px 56px;
}
.hero-bg-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(42,92,255,0.12) 0%, transparent 70%);
}
.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.hero-inner {
  position: relative;
  z-index: 2;
  padding: clamp(60px, 10vh, 120px) clamp(20px, 4vw, 64px) clamp(60px, 8vh, 100px);
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before { content: ''; width: 20px; height: 1px; background: rgba(255,255,255,0.25); }
.hero-title {
  font-family: var(--font-en);
  font-weight: 200;
  font-size: clamp(48px, 8.5vw, 120px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: #fff;
  max-width: 900px;
}
.hero-title em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.35);
  display: block;
}
.hero-title-jp {
  font-family: var(--font-jp);
  font-weight: 300;
  font-size: clamp(14px, 1.6vw, 22px);
  color: rgba(255,255,255,0.78);
  margin-top: 28px;
  letter-spacing: 0.08em;
  line-height: 1.8;
}
.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: clamp(48px, 8vh, 96px);
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-desc {
  font-size: clamp(13px, 1.1vw, 15px);
  color: rgba(255,255,255,0.82);
  line-height: 2.1;
  max-width: 380px;
}
.hero-cta-group { display: flex; gap: 16px; flex-shrink: 0; }
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 28px;
  transition: all 0.25s;
}
.hero-btn--primary {
  background: var(--rc-accent);
  color: #fff;
}
.hero-btn--primary:hover { background: #1a4be0; }
.hero-btn--secondary {
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
}
.hero-btn--secondary:hover {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll-hint span {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
}
.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}
.hero-scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0; right: 0;
  height: 100%;
  background: rgba(255,255,255,0.4);
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { top: -100%; }
  50%  { top: 0; }
  100% { top: 100%; }
}

@media (max-width: 768px) {
  .hero-bottom { flex-direction: column; align-items: flex-start; }
  .hero-title em { display: inline; }
}

/* ────────────────────────────────────────────────
   SECTION: PHILOSOPHY
   ──────────────────────────────────────────────── */
#philosophy {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--rc-border);
}
.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.philosophy-sticky { position: sticky; top: 100px; }
.philosophy-lead {
  font-family: var(--font-jp);
  font-weight: 300;
  font-size: clamp(20px, 2.5vw, 30px);
  line-height: 1.7;
  letter-spacing: 0.02em;
  margin-top: 28px;
  color: var(--rc-black);
}
.philosophy-pillars { display: flex; flex-direction: column; gap: 0; }
.pillar-item {
  padding: clamp(32px, 4vw, 52px) 0;
  border-bottom: 1px solid var(--rc-border);
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 28px;
  align-items: start;
}
.pillar-item:first-child { border-top: 1px solid var(--rc-border); }
.pillar-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--rc-gray);
  margin-top: 4px;
}
.pillar-content {}
.pillar-title {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.5;
  color: var(--rc-black);
  margin-bottom: 12px;
}
.pillar-title strong { color: var(--rc-accent); font-weight: 400; }
.pillar-body { font-size: 15px; color: #404040; line-height: 2.3; }

@media (max-width: 768px) {
  .philosophy-grid { grid-template-columns: 1fr; }
  .philosophy-sticky { position: static; }
}

/* ────────────────────────────────────────────────
   SECTION: SERVICES
   ──────────────────────────────────────────────── */
#services {
  padding: var(--section-py) 0;
  background: var(--rc-dark-bg);
  color: #fff;
}
#services .rc-label { color: rgba(255,255,255,0.3); }
#services .rc-label::before { background: rgba(255,255,255,0.3); }
#services .rc-heading { color: #fff; }

.services-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--gap);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 80px);
}
.services-note {
  font-size: 14px;
  color: var(--rc-gray-dark);
  line-height: 2.3;
  padding-top: 20px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
}
.service-card {
  background: var(--rc-dark-bg);
  padding: clamp(32px, 4vw, 52px);
  transition: background 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--rc-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover { background: #141721; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 40px; height: 40px;
  margin-bottom: 28px;
  opacity: 0.85;
}
.service-icon svg { width: 100%; height: 100%; }
.service-num {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 16px;
}
.service-name {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: clamp(18px, 2vw, 24px);
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.service-name-jp {
  font-family: var(--font-jp);
  font-size: 11px;
  color: rgba(255,255,255,0.72);
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.service-list {
  font-size: 13px;
  color: rgba(255,255,255,0.88);
  line-height: 2.3;
}
.service-list li::before { content: '— '; color: rgba(42,92,255,0.9); }

@media (max-width: 900px) {
  .services-intro { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ────────────────────────────────────────────────
   SECTION: WORKS (Portfolio)
   ──────────────────────────────────────────────── */
#works {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--rc-border);
}
.works-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(40px, 5vw, 72px);
}
.works-all-link {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rc-black);
  border-bottom: 1px solid var(--rc-black);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.works-all-link:hover { color: var(--rc-accent); border-color: var(--rc-accent); }

.works-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}
.work-item {
  position: relative;
  overflow: hidden;
  background: var(--rc-light-gray);
}
.work-item:nth-child(1) { grid-column: span 7; aspect-ratio: 16/9; }
.work-item:nth-child(2) { grid-column: span 5; aspect-ratio: 4/5; }
.work-item:nth-child(3) { grid-column: span 4; aspect-ratio: 4/5; }
.work-item:nth-child(4) { grid-column: span 8; aspect-ratio: 16/9; }

.work-item-inner {
  width: 100%; height: 100%;
  position: relative;
  overflow: hidden;
}
.work-item-inner img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16,1,0.3,1);
}
.work-item:hover .work-item-inner img { transform: scale(1.04); }
.work-placeholder {
  width: 100%; height: 100%;
  min-height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--rc-light-gray);
  position: relative;
}
.work-placeholder-text {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--rc-gray);
  text-transform: uppercase;
}
.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,12,12,0.8) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  align-items: flex-end;
  padding: 28px;
}
.work-item:hover .work-overlay { opacity: 1; }
.work-meta { color: #fff; }
.work-category {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 6px;
}
.work-title-overlay {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 18px;
  letter-spacing: -0.01em;
}

@media (max-width: 900px) {
  .works-grid { grid-template-columns: 1fr 1fr; }
  .work-item { grid-column: span 1 !important; aspect-ratio: 4/3 !important; }
}
@media (max-width: 600px) {
  .works-grid { grid-template-columns: 1fr; }
  .works-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ────────────────────────────────────────────────
   MARQUEE
   ──────────────────────────────────────────────── */
.rc-marquee {
  padding: 28px 0;
  overflow: hidden;
  border-top: 1px solid var(--rc-border);
  border-bottom: 1px solid var(--rc-border);
  background: var(--rc-white);
}
.rc-marquee__track {
  display: flex;
  gap: 0;
  animation: rcMarquee 24s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.rc-marquee__item {
  flex-shrink: 0;
  font-family: var(--font-en);
  font-weight: 200;
  font-size: clamp(52px, 7vw, 88px);
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1px var(--rc-light-gray);
  padding: 0 clamp(32px, 4vw, 56px);
  line-height: 1;
  user-select: none;
}
@keyframes rcMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ────────────────────────────────────────────────
   SECTION: ABOUT (Company profile)
   ──────────────────────────────────────────────── */
#about {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--rc-border);
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.about-profile-title {
  font-family: var(--font-jp);
  font-weight: 300;
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.7;
  margin-bottom: 32px;
  color: var(--rc-black);
}
.about-profile-body {
  font-size: 14px;
  line-height: 2.3;
  color: #484848;
  margin-bottom: 40px;
}
.about-outline {
  border-top: 1px solid var(--rc-border);
  padding-top: 32px;
}
.about-outline dt {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rc-gray);
  margin-bottom: 4px;
  margin-top: 20px;
}
.about-outline dt:first-child { margin-top: 0; }
.about-outline dd {
  font-size: 13px;
  color: var(--rc-black);
  line-height: 1.8;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rc-border);
}
.about-visual {
  position: sticky;
  top: 100px;
  aspect-ratio: 3/4;
  background: var(--rc-light-gray);
  overflow: hidden;
}
.about-visual img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-visual-placeholder {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
}
.about-visual-placeholder span {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--rc-gray);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { position: static; aspect-ratio: 16/9; }
}

/* ────────────────────────────────────────────────
   SECTION: NEWS
   ──────────────────────────────────────────────── */
#news {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--rc-border);
  background: #f2f0ea;
}
.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.news-all-link {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rc-black);
  border-bottom: 1px solid var(--rc-black);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.news-all-link:hover { color: var(--rc-accent); border-color: var(--rc-accent); }

.news-list { display: flex; flex-direction: column; gap: 0; }
.news-item {
  display: grid;
  grid-template-columns: 140px auto 1fr 24px;
  gap: 24px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  transition: background 0.2s;
  text-decoration: none;
  color: var(--rc-black);
}
.news-item:first-child { border-top: 1px solid rgba(0,0,0,0.08); }
.news-item:hover { padding-left: 8px; }
.news-date {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--rc-gray);
}
.news-cat {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rc-accent);
  border: 1px solid rgba(var(--rc-accent-rgb),0.3);
  padding: 3px 10px;
  white-space: nowrap;
}
.news-title-text {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-arrow {
  font-size: 14px;
  color: var(--rc-gray);
  transition: transform 0.2s, color 0.2s;
}
.news-item:hover .news-arrow { transform: translateX(4px); color: var(--rc-accent); }

.news-empty {
  padding: 48px 0;
  font-size: 13px;
  color: var(--rc-gray);
  text-align: center;
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .news-item { grid-template-columns: 1fr 24px; gap: 8px; }
  .news-date { font-size: 9px; }
  .news-cat { display: none; }
  .news-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ────────────────────────────────────────────────
   SECTION: CONTACT CTA
   ──────────────────────────────────────────────── */
#contact-cta {
  padding: var(--section-py) 0;
  background: var(--rc-black);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-cta-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 50% 50%, rgba(42,92,255,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.contact-cta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
  display: block;
}
.contact-cta-title {
  font-family: var(--font-en);
  font-weight: 200;
  font-size: clamp(36px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 12px;
}
.contact-cta-sub {
  font-family: var(--font-jp);
  font-weight: 300;
  font-size: clamp(13px, 1.4vw, 16px);
  color: rgba(255,255,255,0.78);
  margin-bottom: 52px;
  letter-spacing: 0.04em;
}
.contact-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--rc-accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 18px 40px;
  transition: background 0.25s, transform 0.25s;
}
.contact-cta-btn:hover { background: #1a4be0; transform: translateY(-2px); }
.contact-cta-btn .arrow { font-size: 16px; }
.contact-cta-note {
  margin-top: 24px;
  font-size: 11px;
  color: rgba(255,255,255,0.60);
  font-family: var(--font-mono);
  letter-spacing: 0.1em;
}

/* ────────────────────────────────────────────────
   FOOTER
   ──────────────────────────────────────────────── */
#site-footer {
  background: #0a0a0a;
  color: rgba(255,255,255,0.85);
  padding: clamp(48px, 6vw, 80px) 0 32px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  margin-bottom: clamp(40px, 5vw, 72px);
}
.footer-brand-name {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  margin-bottom: 8px;
}
.footer-brand-name-jp {
  font-family: var(--font-jp);
  font-size: 10px;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.footer-tagline {
  font-size: 12px;
  line-height: 2;
  color: rgba(255,255,255,0.82);
  max-width: 260px;
}
.footer-nav-title {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  margin-bottom: 20px;
}
.footer-nav ul { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a {
  font-size: 13px;
  color: rgba(255,255,255,0.88);
  transition: color 0.2s;
  letter-spacing: 0.04em;
}
.footer-nav a:hover { color: #fff; }
.footer-contact a,
.footer-contact span {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.88);
  line-height: 2.2;
  transition: color 0.2s;
}
.footer-contact a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer-copyright {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.65);
}
.footer-service-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 4px 12px;
}

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ────────────────────────────────────────────────
   INNER PAGES
   ──────────────────────────────────────────────── */
.page-hero {
  padding-top: calc(72px + clamp(48px, 8vw, 96px));
  padding-bottom: clamp(48px, 8vw, 96px);
  border-bottom: 1px solid var(--rc-border);
}
.page-hero .rc-heading { margin-top: 16px; }

.page-content {
  padding: clamp(48px, 7vw, 96px) 0;
}
.entry-content h2 {
  font-family: var(--font-jp);
  font-weight: 400;
  font-size: clamp(18px, 2vw, 24px);
  margin: 40px 0 16px;
  color: var(--rc-black);
}
.entry-content h3 {
  font-size: clamp(15px, 1.6vw, 18px);
  font-weight: 400;
  margin: 28px 0 12px;
}
.entry-content p { font-size: 15px; line-height: 2.3; color: #444; margin-bottom: 20px; }
.entry-content a { color: var(--rc-accent); border-bottom: 1px solid rgba(var(--rc-accent-rgb),0.3); }
.entry-content ul, .entry-content ol { padding-left: 1.5em; margin-bottom: 20px; }
.entry-content li { font-size: 15px; line-height: 2.3; color: #444; }
.entry-content ul li { list-style: disc; }
.entry-content ol li { list-style: decimal; }
.entry-content img { max-width: 100%; margin: 32px 0; }

/* Single Post */
.single-post-header { padding-top: calc(72px + clamp(40px, 6vw, 80px)); padding-bottom: 48px; }
.post-meta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.post-date {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--rc-gray);
}
.post-cat-badge {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rc-accent);
  border: 1px solid rgba(var(--rc-accent-rgb),0.3);
  padding: 3px 10px;
}
.post-title {
  font-family: var(--font-jp);
  font-weight: 300;
  font-size: clamp(22px, 3.5vw, 42px);
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.post-thumbnail {
  width: 100%;
  aspect-ratio: 16/7;
  object-fit: cover;
  margin-bottom: 64px;
}
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 48px 0;
  border-top: 1px solid var(--rc-border);
  margin-top: 64px;
}
.post-nav a {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rc-black);
  border-bottom: 1px solid var(--rc-black);
  padding-bottom: 4px;
  transition: color 0.2s, border-color 0.2s;
}
.post-nav a:hover { color: var(--rc-accent); border-color: var(--rc-accent); }

/* Archive */
.archive-header { padding-top: calc(72px + clamp(40px, 6vw, 80px)); padding-bottom: 48px; border-bottom: 1px solid var(--rc-border); }
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
  padding: clamp(48px, 6vw, 80px) 0;
}
.post-card { display: block; text-decoration: none; color: var(--rc-black); }
.post-card-thumb {
  aspect-ratio: 16/10;
  background: var(--rc-light-gray);
  overflow: hidden;
  margin-bottom: 20px;
}
.post-card-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.post-card:hover .post-card-thumb img { transform: scale(1.04); }
.post-card-thumb-placeholder {
  width: 100%; height: 100%;
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--rc-gray);
}
.post-card-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.post-card-date { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.1em; color: var(--rc-gray); }
.post-card-title { font-size: 14px; font-weight: 400; line-height: 1.6; }

@media (max-width: 900px) { .posts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .posts-grid { grid-template-columns: 1fr; } }

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 0 clamp(48px, 6vw, 80px);
}
.pagination .page-numbers {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rc-border);
  color: var(--rc-gray);
  transition: all 0.2s;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--rc-black); color: #fff; border-color: var(--rc-black); }

/* 404 */
.error-404 {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px clamp(20px,4vw,64px) 80px;
}
.error-404-num {
  font-family: var(--font-en);
  font-weight: 200;
  font-size: clamp(100px, 20vw, 220px);
  letter-spacing: -0.05em;
  color: var(--rc-light-gray);
  line-height: 1;
}
.error-404-title { font-size: 18px; font-weight: 400; margin-bottom: 16px; }
.error-404-body { font-size: 13px; color: var(--rc-gray); margin-bottom: 40px; }
.error-404-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--rc-black);
  color: #fff;
  padding: 14px 28px;
}

/* ────────────────────────────────────────────────
   SECTION: OUTLINE（会社概要）
   ──────────────────────────────────────────────── */
#outline {
  padding: var(--section-py) 0;
  border-top: 1px solid var(--rc-border);
  background: #f2f0ea;
}
.outline-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}
.outline-left { position: sticky; top: 100px; }
.outline-dl {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.outline-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rc-border);
  align-items: baseline;
}
.outline-row:first-child { border-top: 1px solid var(--rc-border); }
.outline-row dt {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rc-gray);
  padding-top: 2px;
}
.outline-row dd {
  font-size: 15px;
  color: var(--rc-black);
  line-height: 1.7;
}
.outline-row dd a {
  color: var(--rc-black);
  border-bottom: 1px solid var(--rc-border);
  transition: color 0.2s, border-color 0.2s;
}
.outline-row dd a:hover {
  color: var(--rc-accent);
  border-color: var(--rc-accent);
}
@media (max-width: 768px) {
  .outline-grid { grid-template-columns: 1fr; }
  .outline-left { position: static; }
  .outline-row { grid-template-columns: 100px 1fr; gap: 16px; }
  .outline-row dd { font-size: 14px; }
}

/* ────────────────────────────────────────────────
   PAGE: CONTACT
   ──────────────────────────────────────────────── */

.contact-page {
  padding-top: 72px;
  border-top: 1px solid var(--rc-border);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
  padding: var(--section-py) 0;
}

/* ── 左カラム ── */
.contact-left {
  position: static;
}
.contact-left__lead {
  font-family: var(--font-jp);
  font-weight: 300;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 2;
  color: var(--rc-gray);
  margin-top: 28px;
}
.contact-left__direct {
  margin-top: 40px;
  border-top: 1px solid var(--rc-border);
}
.contact-direct-row {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--rc-border);
}
.contact-direct-row__label {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rc-gray);
}
.contact-direct-row__value {
  font-size: 13px;
  color: var(--rc-black);
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
a.contact-direct-row__value:hover { color: var(--rc-accent); }
.contact-left__notes {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-left__notes li {
  font-size: 12px;
  color: var(--rc-gray);
  line-height: 1.8;
  padding-left: 18px;
  position: relative;
}
.contact-left__notes li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--rc-accent);
  font-size: 10px;
  top: 1px;
}
.contact-left__notes a {
  color: var(--rc-accent);
  border-bottom: 1px solid rgba(var(--rc-accent-rgb), 0.3);
}
.contact-left__notes a:hover { opacity: 0.7; }

/* ── 右カラム ── */
.contact-right { padding-top: clamp(16px, 3vw, 48px); }

/* ────────────────────────────────
   CF7: autop無効化済み・最小リセット
   ──────────────────────────────── */
.wpcf7,.wpcf7 form,.wpcf7-form { border: none !important; box-shadow: none !important; outline: none !important; }
.wpcf7-form br { display: none !important; }
.wpcf7-form-control-wrap { display: block; border: none !important; margin: 0 !important; padding: 0 !important; }
.wpcf7-form fieldset,.wpcf7-form .hidden-fields-container { border: none !important; margin: 0 !important; padding: 0 !important; }
.wpcf7-form input[type="hidden"] { display: none !important; }


/* ── フィールドグループ ── */
.cf7-group {
  margin-bottom: 32px;
}
/* 二列グリッド */
.cf7-group--row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.cf7-group--row > .cf7-group {
  margin-bottom: 0;
}

/* ラベル行 */
.cf7-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rc-gray);
  margin-bottom: 10px;
  line-height: 1;
}
.cf7-label__req {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: 0.1em;
  color: #c0392b;
  border: 1px solid rgba(192, 57, 43, 0.4);
  padding: 2px 7px;
  line-height: 1.4;
  flex-shrink: 0;
}

/* ── インプット（アンダーラインのみ） ── */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rc-border);
  padding: 12px 0 13px;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 300;
  color: var(--rc-black);
  outline: none;
  border-radius: 0;
  box-shadow: none;
  transition: border-color 0.25s;
  -webkit-appearance: none;
  appearance: none;
  line-height: 1.5;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus {
  border-color: var(--rc-black);
}
.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #c4c1b8;
  font-weight: 300;
  font-size: 14px;
}

/* Textarea */
.wpcf7-form textarea {
  resize: none;
  min-height: 148px;
  line-height: 2;
  padding-top: 14px;
}

/* ── Select ── */
.cf7-select-wrap {
  position: relative;
}
.cf7-select-wrap::after {
  content: '';
  pointer-events: none;
  position: absolute;
  right: 6px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 1px solid var(--rc-gray);
  border-bottom: 1px solid var(--rc-gray);
  transform: translateY(-65%) rotate(45deg);
}
.wpcf7-form select {
  display: block;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rc-border);
  padding: 12px 28px 13px 0;
  font-family: var(--font-jp);
  font-size: 15px;
  font-weight: 300;
  color: var(--rc-black);
  outline: none;
  border-radius: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.25s;
}
.wpcf7-form select:focus { border-color: var(--rc-black); }
/* 未選択時（空値）をプレースホルダー色に */
.wpcf7-form select:invalid,
.wpcf7-form select option[value=""] {
  color: #c4c1b8;
}

/* ── 区切り ── */
.cf7-divider {
  height: 1px;
  background: var(--rc-border);
  margin: 44px 0;
}

/* ── 送信エリア ── */
.cf7-submit-area {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cf7-privacy-note {
  font-size: 11px;
  color: var(--rc-gray);
  line-height: 1.8;
}
.cf7-privacy-note a {
  color: var(--rc-accent);
  border-bottom: 1px solid rgba(var(--rc-accent-rgb), 0.3);
}

/* 送信ボタン */
.wpcf7-form input[type="submit"] {
  display: inline-flex;
  align-items: center;
  background: var(--rc-black);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 18px 40px;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
  width: auto;
  box-shadow: none;
}
.wpcf7-form input[type="submit"]:hover {
  background: var(--rc-accent);
  transform: translateY(-2px);
}
.wpcf7-form input[type="submit"]:focus {
  outline: 2px solid var(--rc-accent);
  outline-offset: 3px;
}

/* ── バリデーション ── */
.wpcf7-not-valid-tip {
  font-size: 11px !important;
  color: #d43a3a !important;
  margin-top: 6px !important;
  font-family: var(--font-jp) !important;
  display: block !important;
}
.wpcf7-form-control.wpcf7-not-valid {
  border-color: #d43a3a !important;
}
.wpcf7-response-output {
  font-size: 13px !important;
  padding: 16px 20px !important;
  margin: 28px 0 0 !important;
  border-radius: 0 !important;
  border: none !important;
  font-family: var(--font-jp) !important;
  line-height: 1.8 !important;
}
.wpcf7-mail-sent-ok {
  background: rgba(42,92,255,0.05) !important;
  color: var(--rc-accent) !important;
  border-left: 3px solid var(--rc-accent) !important;
}
.wpcf7-mail-sent-ng,
.wpcf7-aborted,
.wpcf7-spam-blocked,
.wpcf7-validation-errors {
  background: rgba(212,58,58,0.05) !important;
  color: #d43a3a !important;
  border-left: 3px solid #d43a3a !important;
}
.wpcf7-spinner { margin-left: 12px !important; vertical-align: middle !important; }

/* ── Mobile ── */
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-left { position: static; }
  .contact-left__lead { max-width: 100%; }
  .cf7-group--row { grid-template-columns: 1fr; gap: 0; margin-bottom: 0; }
  .cf7-group--row > .cf7-group { margin-bottom: 32px; }
  .cf7-submit-area { flex-direction: column; align-items: flex-start; }
}
