/* ── TOKENS ── */
:root {
  --black: #111111;
  --white: #ffffff;
  --gray-1: #f5f5f5;
  --gray-2: #e8e8e8;
  --gray-3: #999999;
  --gray-4: #555555;
  --rule: rgba(17,17,17,0.1);
  --f-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --f-en: 'DM Sans', sans-serif;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 17px; scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--black);
  font-family: var(--f-jp);
  font-weight: 400;
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul { list-style: none; }

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }
.d6 { transition-delay: 0.6s; }

/* ── HEADER ── */
header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 56px;
  transition: padding 0.4s var(--ease), background 0.4s, border-color 0.4s, color 0.4s;
  border-bottom: 1px solid transparent;
}
header.scrolled,
body:not(.home) header {
  padding: 18px 56px;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-color: var(--rule);
}
/* 下層ページではロゴ・ナビを黒字に */
body:not(.home) header .logo { color: var(--black); }
body:not(.home) header .logo-en { color: var(--gray-3); }
body:not(.home) header nav a { color: var(--gray-4); }
body:not(.home) header nav a:hover { color: var(--black); }
body:not(.home) header .header-contact { color: var(--black); border-color: var(--black); }
.logo {
  font-family: var(--f-jp);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.4;
  color: var(--white);
  transition: color 0.4s;
}
header.scrolled .logo { color: var(--black); }
.logo-en {
  display: block;
  font-family: var(--f-en);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.5);
  margin-top: 1px;
  transition: color 0.4s;
}
header.scrolled .logo-en { color: var(--gray-3); }
nav ul { display: flex; gap: 40px; }
nav a {
  font-family: var(--f-en);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.7);
  position: relative;
  padding-bottom: 2px;
  transition: color 0.2s;
}
header.scrolled nav a { color: var(--gray-4); }
nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease-out);
}
nav a:hover { color: var(--white); }
header.scrolled nav a:hover { color: var(--black); }
nav a:hover::after { width: 100%; }
.header-contact {
  font-family: var(--f-en);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  padding-bottom: 1px;
  transition: color 0.4s, border-color 0.4s, opacity 0.2s;
}
header.scrolled .header-contact { color: var(--black); border-color: var(--black); }
.header-contact:hover { opacity: 0.5; }

/* ── HERO ── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 56px 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg-text {
  position: absolute;
  bottom: -0.12em;
  left: -0.04em;
  font-family: var(--f-en);
  font-size: clamp(160px, 26vw, 380px);
  font-weight: 900;
  color: var(--gray-1);
  letter-spacing: -0.04em;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}
.hero-content { position: relative; z-index: 2; }
.hero-label {
  font-family: var(--f-en);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.2s forwards;
}
.hero-headline {
  font-size: clamp(3.2rem, 7.5vw, 9rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  overflow: hidden;
  color: var(--white);
}
.hero-headline .line {
  display: block;
  opacity: 0;
  transform: translateY(60px);
  animation: fadeUp 1s var(--ease-out) forwards;
}
.hero-headline .line:nth-child(1) { animation-delay: 0.3s; }
.hero-headline .line:nth-child(2) { animation-delay: 0.48s; }
.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.65s forwards;
}
.hero-sub {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  line-height: 2.2;
  max-width: 360px;
  font-weight: 400;
}
.hero-actions { display: flex; align-items: center; gap: 32px; flex-shrink: 0; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.btn-main {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--f-en);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--black);
  background: var(--white);
  padding: 15px 32px;
  transition: opacity 0.2s;
}
.btn-main:hover { opacity: 0.7; }
.btn-text {
  font-family: var(--f-en);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.6);
  border-bottom: 1px solid rgba(255,255,255,0.3);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.btn-text:hover { color: var(--white); border-color: var(--white); }
.hero-scroll {
  position: absolute;
  right: 56px;
  bottom: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1s forwards;
  z-index: 2;
}
.scroll-label {
  font-family: var(--f-en);
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  color: rgba(255,255,255,0.45);
  writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px;
  height: 56px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  width: 100%;
  height: 100%;
  background: var(--black);
  animation: scrollDown 2s ease-in-out 1.5s infinite;
}
@keyframes scrollDown {
  0%   { top: -100%; }
  100% { top: 100%; }
}

/* ── SECTION COMMON ── */
.section-label {
  font-family: var(--f-en);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  color: var(--gray-3);
  display: block;
  margin-bottom: 16px;
  text-transform: uppercase;
}
.section-title {
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.link-more {
  font-family: var(--f-en);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--gray-4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--gray-2);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s, gap 0.3s;
}
.link-more::after { content: '→'; font-size: 0.75rem; }
.link-more:hover { color: var(--black); border-color: var(--black); gap: 16px; }

/* ── ABOUT ── */
.about {
  padding: 96px 0 80px;
  display: block;
  border-top: none;
  background: var(--gray-1);
}
.about-right .section-title { margin-bottom: 40px; }
.about-text {
  font-size: 0.88rem;
  color: var(--gray-4);
  line-height: 2;
  margin-bottom: 0;
}
.about-text p + p { margin-top: 1.4em; }
.about-nums {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.about-num {
  padding: 28px 24px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.num-val {
  font-family: var(--f-en);
  font-size: 2.8rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 6px;
}
.num-label { font-size: 0.65rem; color: var(--gray-3); letter-spacing: 0.05em; }
.about-quote {
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--black);
  margin-bottom: 60px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

/* ── SERVICES ── */
.services {
  padding: 120px 56px;
  border-top: 1px solid var(--rule);
  background: var(--gray-1);
}
.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
}
.services-list { display: flex; flex-direction: column; }
.service-block { margin-bottom: 0; }
.service-block-header {
  display: grid;
  grid-template-columns: 160px 1fr 2fr;
  gap: 40px;
  align-items: start;
  padding: 48px 0 40px;
  border-top: 1px solid var(--rule);
}
.service-block-tag {
  font-family: var(--f-en);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gray-4);
  border: 1px solid var(--gray-2);
  padding: 6px 14px;
  display: inline-block;
  white-space: nowrap;
  align-self: center;
}
.service-block-title {
  font-size: clamp(1.2rem, 1.8vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.2;
  align-self: center;
}
.service-block-desc {
  font-size: 0.78rem;
  color: var(--gray-4);
  line-height: 2.1;
  font-weight: 400;
}
.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: opacity 0.2s;
}
.service-row:first-child { border-top: 1px solid var(--rule); }
.service-row:hover { opacity: 0.5; }
.service-row-num {
  font-family: var(--f-en);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--gray-3);
}
.service-row-name {
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}
.service-row-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-row-tags span {
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: var(--gray-3);
  border: 1px solid var(--gray-2);
  padding: 3px 10px;
}
.service-row-arrow {
  font-family: var(--f-en);
  font-size: 0.75rem;
  color: var(--gray-3);
  transition: transform 0.3s var(--ease-out);
}
.service-row:hover .service-row-arrow { transform: translateX(4px); }

/* ── WORKS ── */
.works {
  padding: 120px 56px;
  border-top: 1px solid var(--rule);
}
.works-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 64px;
}
.works-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2px;
}
.work-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--gray-1);
}
.work-card:nth-child(1) { grid-column: 1 / 8; }
.work-card:nth-child(2) { grid-column: 8 / 13; }
.work-card:nth-child(3) { grid-column: 1 / 5; }
.work-card:nth-child(4) { grid-column: 5 / 9; }
.work-card:nth-child(5) { grid-column: 9 / 13; }
.work-placeholder {
  aspect-ratio: 4/3;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.6s var(--ease-out);
  overflow: hidden;
}
.work-card:nth-child(1) .work-placeholder { aspect-ratio: 16/9; }
.work-card:hover .work-placeholder { transform: scale(1.04); }
.work-placeholder img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.work-ph-name { font-size: 0.72rem; color: var(--gray-3); letter-spacing: 0.08em; text-align: center; position: relative; z-index: 1; }
.work-ph-type { font-family: var(--f-en); font-size: 0.58rem; color: var(--gray-2); letter-spacing: 0.15em; position: relative; z-index: 1; }
.work-overlay {
  position: absolute;
  inset: 0;
  background: rgba(17,17,17,0.88);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 28px;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.work-card:hover .work-overlay { opacity: 1; }
.work-co { font-family: var(--f-en); font-size: 0.58rem; letter-spacing: 0.2em; color: rgba(255,255,255,0.45); margin-bottom: 6px; }
.work-title-ov { font-size: 0.9rem; font-weight: 400; color: var(--white); margin-bottom: 10px; }
.work-tag-ov {
  font-family: var(--f-en);
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  border: 1px solid rgba(255,255,255,0.15);
  display: inline-block;
  padding: 2px 10px;
}

/* ── CHALLENGES / PROCESS ── */
.process {
  padding: 120px 56px;
  background: var(--black);
  border-top: 1px solid var(--rule);
}
.process-header {
  margin-bottom: 80px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
.process-header .section-label { color: rgba(255,255,255,0.3); }
.process-header .section-title { color: var(--white); }
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}
.process-step {
  padding: 48px 36px;
  border: 1px solid rgba(255,255,255,0.07);
  transition: background 0.3s;
}
.process-step:hover { background: rgba(255,255,255,0.04); }
.step-n {
  font-family: var(--f-en);
  font-size: 4.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  margin-bottom: 24px;
  letter-spacing: -0.05em;
}
.step-name {
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 16px;
  line-height: 1.4;
}
.step-desc { font-size: 0.75rem; color: rgba(255,255,255,0.35); line-height: 2.1; }
.challenge-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 64px; }
.challenge-closing {
  font-size: clamp(1.1rem, 2.2vw, 1.9rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.55;
  letter-spacing: -0.01em;
  margin-bottom: 56px;
}

/* ── FAQ ── */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.faq-item {
  border: 1px solid rgba(255,255,255,0.08);
  padding: 32px 36px;
  transition: background 0.3s;
}
.faq-item:hover { background: rgba(255,255,255,0.04); }
.faq-q { font-size: 0.82rem; font-weight: 700; color: var(--white); margin-bottom: 12px; line-height: 1.6; }
.faq-a { font-size: 0.75rem; color: rgba(255,255,255,0.4); line-height: 2; font-weight: 400; }

/* ── NEWS ── */
.news {
  padding: 120px 56px;
  border-top: 1px solid var(--rule);
  background: var(--gray-1);
}
.news-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.news-list {}
.news-item {
  display: grid;
  grid-template-columns: 140px 72px 1fr 24px;
  align-items: center;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--rule);
  cursor: pointer;
  transition: opacity 0.2s;
}
.news-item:hover { opacity: 0.45; }
.news-date { font-family: var(--f-en); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.08em; color: var(--gray-3); }
.news-cat { font-size: 0.6rem; letter-spacing: 0.1em; color: var(--gray-4); border: 1px solid var(--gray-2); padding: 3px 8px; text-align: center; }
.news-title { font-size: 0.88rem; font-weight: 500; letter-spacing: 0.01em; }
.news-arr { font-size: 0.7rem; color: var(--gray-3); transition: transform 0.3s; }
.news-item:hover .news-arr { transform: translateX(3px); }

/* ── CONTACT ── */
.contact { display: grid; grid-template-columns: 1fr 1fr; }
.contact-left {
  background: var(--black);
  padding: 120px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-left .section-label { color: rgba(255,255,255,0.3); }
.contact-left .section-title { color: var(--white); margin-bottom: 32px; }
.contact-tagline { font-size: 0.82rem; color: rgba(255,255,255,0.45); line-height: 2.2; margin-bottom: 56px; }
.contact-tel { font-family: var(--f-en); font-size: 2.4rem; font-weight: 900; color: var(--white); letter-spacing: -0.02em; margin-bottom: 6px; }
.contact-hours { font-size: 0.7rem; color: rgba(255,255,255,0.3); letter-spacing: 0.08em; margin-bottom: 48px; }
.contact-btns { display: flex; flex-direction: column; gap: 12px; }
.btn-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 36px;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  transition: opacity 0.2s;
  font-weight: 400;
  font-family: var(--f-jp);
}
.btn-contact:hover { opacity: 0.65; }
.btn-contact.white { background: var(--white); color: var(--black); }
.btn-contact.line  { background: #06C755; color: var(--white); }
.contact-right {
  background: var(--white);
  padding: 120px 80px;
  border-left: 1px solid var(--rule);
}
.info-heading {
  font-family: var(--f-en);
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  color: var(--gray-3);
  margin-bottom: 48px;
}
.info-list { margin-bottom: 48px; }
.info-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  font-size: 0.82rem;
}
.info-key { color: var(--gray-3); font-size: 0.7rem; letter-spacing: 0.05em; padding-top: 2px; }
.info-val { line-height: 1.8; font-weight: 400; }
.social-row { display: flex; gap: 16px; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid var(--gray-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-en);
  font-size: 0.62rem;
  letter-spacing: 0.05em;
  color: var(--gray-3);
  transition: border-color 0.2s, color 0.2s;
}
.social-link:hover { border-color: var(--black); color: var(--black); }

/* ── FOOTER ── */
footer {
  background: var(--black);
  padding: 28px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-logo { font-size: 0.75rem; font-weight: 400; color: rgba(255,255,255,0.4); letter-spacing: 0.08em; }
.footer-nav { display: flex; gap: 32px; }
.footer-nav a {
  font-family: var(--f-en);
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.25);
  transition: color 0.2s;
}
.footer-nav a:hover { color: rgba(255,255,255,0.7); }
.footer-copy { font-family: var(--f-en); font-size: 0.6rem; color: rgba(255,255,255,0.2); letter-spacing: 0.08em; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  header { padding: 20px 24px; }
  header.scrolled { padding: 14px 24px; }
  nav { display: none; }
  .hero { padding: 0 24px 72px; }
  .hero-scroll { right: 24px; }
  .about { display: block; padding: 64px 0; }
  .about-quote { padding-top: 0; border-top: none; }
  .services { padding: 80px 24px; }
  .service-block-header { grid-template-columns: 1fr; gap: 16px; }
  .service-row { grid-template-columns: 56px 1fr auto; }
  .service-row-tags { display: none; }
  .works { padding: 80px 24px; }
  .works-grid { grid-template-columns: 1fr 1fr; }
  .work-card:nth-child(n) { grid-column: auto; }
  .process { padding: 80px 24px; }
  .process-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .process-steps { grid-template-columns: 1fr 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .news { padding: 80px 24px; }
  .news-item { grid-template-columns: 100px 64px 1fr; }
  .news-arr { display: none; }
  .contact { grid-template-columns: 1fr; }
  .contact-left, .contact-right { padding: 72px 24px; }
  footer { flex-direction: column; gap: 20px; text-align: center; padding: 24px; }
  .footer-nav { flex-wrap: wrap; justify-content: center; gap: 20px; }
}
@media (max-width: 640px) {
  .process-steps { grid-template-columns: 1fr; }
  .about-nums { grid-template-columns: 1fr 1fr; }
  .hero-headline { font-size: 1.75rem; line-height: 1.25; }
  .hero-bottom { flex-direction: column; align-items: flex-start; gap: 24px; }
}

/* ── SERVICES TAB ── */
.svc-tabs { display: flex; gap: 2px; margin-bottom: 0; border-bottom: 1px solid var(--rule); }
.svc-tab {
  flex: 1; padding: 20px 32px; text-align: left; cursor: pointer;
  border-bottom: 2px solid transparent; transition: all 0.2s;
  display: flex; flex-direction: column; gap: 4px;
  background: none; border-top: none; border-left: none; border-right: none;
}
.svc-tab-en { font-family: var(--f-en); font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em; color: var(--gray-3); }
.svc-tab-ja { font-size: 1.1rem; font-weight: 700; color: var(--gray-4); }
.svc-tab.active { border-bottom-color: var(--black); }
.svc-tab.active .svc-tab-en { color: var(--black); }
.svc-tab.active .svc-tab-ja { color: var(--black); }
.svc-panel { display: none; padding: 40px 0 0; }
.svc-panel.active { display: block; }
.svc-panel-desc { font-size: 0.82rem; color: var(--gray-4); line-height: 2; margin-bottom: 32px; max-width: 640px; }
.svc-grid { display: flex; flex-direction: column; }
.svc-item {
  display: grid; grid-template-columns: 56px 1fr 24px;
  align-items: center; gap: 24px;
  padding: 22px 0; border-bottom: 1px solid var(--rule);
  cursor: pointer; transition: opacity 0.2s;
}
.svc-item:first-child { border-top: 1px solid var(--rule); }
.svc-item:hover { opacity: 0.45; }
.svc-item-num { font-family: var(--f-en); font-size: 0.6rem; letter-spacing: 0.25em; color: var(--gray-3); }
.svc-item-name { font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
.svc-item-tags { font-size: 0.72rem; color: var(--gray-3); letter-spacing: 0.04em; }
.svc-item-arrow { font-size: 0.75rem; color: var(--gray-3); transition: transform 0.3s; }
.svc-item:hover .svc-item-arrow { transform: translateX(4px); }

/* ── SERVICES NEW LAYOUT ── */
.services-header { margin-bottom: 0; display: block; }
.svc-headline-sub { font-size: 0.85rem; color: var(--gray-4); line-height: 1.9; margin-top: 16px; }
#svc-headline { overflow-wrap: break-word; word-break: keep-all; font-size: clamp(2rem, 3.5vw, 4.8rem); }
.svc-tabs { border-bottom: 1px solid var(--rule); display: flex; gap: 0; margin-bottom: 0; }
.svc-tab { flex: 1; padding: 20px 0; text-align: left; cursor: pointer; border-bottom: 2px solid transparent; transition: all 0.2s; background: none; border-top: none; border-left: none; border-right: none; }
.svc-tab-en { font-family: var(--f-en); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.15em; color: var(--gray-3); display: block; margin-bottom: 4px; }
.svc-tab-ja { font-size: 1rem; font-weight: 700; color: var(--gray-3); display: block; }
.svc-tab.active { border-bottom-color: var(--black); }
.svc-tab.active .svc-tab-en { color: var(--black); }
.svc-tab.active .svc-tab-ja { color: var(--black); }
.svc-panel { display: none; padding-top: 48px; }
.svc-panel.active { display: block; }
.svc-panel-desc { font-size: 0.82rem; color: var(--gray-4); line-height: 2; margin-top: 20px; }

/* DESIGN カード（横スクロール） */
.svc-cards-wrap { padding-bottom: 0; }
.svc-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; background: var(--rule); border: 1px solid var(--rule); }
.svc-card { background: var(--gray-1); padding: 32px 24px; position: relative; transition: background 0.2s; }
.svc-card:hover { background: #ebebeb; }
.svc-card-top { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 20px; }
.svc-card-num { font-family: var(--f-en); font-size: 0.62rem; font-weight: 400; letter-spacing: 0.2em; color: var(--gray-3); }
.svc-card-icon { width: 52px; height: 52px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.svc-card-icon svg { width: 22px; height: 22px; stroke: var(--gray-4); }
.svc-card-title { font-size: 0.95rem; font-weight: 700; color: var(--black); line-height: 1.4; margin-bottom: 12px; }
.svc-card-rule { border: none; border-top: 1px solid var(--rule); margin-bottom: 16px; }
.svc-card-list { display: flex; flex-direction: column; gap: 6px; }
.svc-card-list li { font-size: 0.72rem; color: var(--gray-4); line-height: 1.5; }
.svc-card-arrow { position: absolute; top: 50%; right: -14px; transform: translateY(-50%); width: 28px; height: 28px; background: var(--white); border: 1px solid var(--rule); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; color: var(--gray-3); z-index: 1; }

/* ESSENTIAL グリッド */
.svc-essential-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.svc-ess-card { background: var(--white); border: 1px solid var(--rule); border-radius: 8px; padding: 28px 24px; transition: box-shadow 0.2s, transform 0.2s; }
.svc-ess-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.07); transform: translateY(-2px); }
.svc-ess-icon { width: 48px; height: 48px; background: var(--gray-1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.svc-ess-icon svg { width: 22px; height: 22px; stroke: var(--gray-4); }
.svc-ess-title { font-size: 0.95rem; font-weight: 700; color: var(--black); line-height: 1.4; margin-bottom: 12px; }
.svc-ess-list { display: flex; flex-direction: column; gap: 4px; }
.svc-ess-list li { font-size: 0.72rem; color: var(--gray-3); line-height: 1.6; }

/* about-quote text style */
.about-quote { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 900; line-height: 1.5; letter-spacing: -0.02em; color: var(--black); margin-bottom: 0; padding-top: 0; border-top: none; font-style: normal; }
.num-label { font-size: 0.72rem; color: var(--gray-4); letter-spacing: 0.05em; font-weight: 700; margin-top: 6px; }

@media(max-width:1024px){
  .svc-essential-grid { grid-template-columns: 1fr 1fr; }
  .svc-cards { grid-template-columns: repeat(3, 1fr); }
}
@media(max-width:640px){
  .svc-essential-grid { grid-template-columns: 1fr; }
  .svc-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════
   HEADER REDESIGN
══════════════════════════════════════ */
#hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px; height: 72px;
  transition: height 0.3s, background 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.admin-bar #hdr { top: 32px; }
@media (max-width: 782px) { .admin-bar #hdr { top: 46px; } }

/* スクロール後 / 下層ページ */
#hdr.scrolled, body:not(.home) #hdr {
  height: 64px; background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px); border-color: var(--rule);
}

/* ロゴ */
.logo { font-size: 1rem; font-weight: 700; letter-spacing: 0.04em; color: var(--white); line-height: 1.3; transition: color 0.3s; }
#hdr.scrolled .logo, body:not(.home) #hdr .logo { color: var(--black); }
.logo-en { display: block; font-family: var(--f-en); font-size: 0.6rem; font-weight: 400; letter-spacing: 0.18em; color: rgba(255,255,255,0.5); margin-top: 1px; transition: color 0.3s; }
#hdr.scrolled .logo-en, body:not(.home) #hdr .logo-en { color: var(--gray-3); }

/* PC ナビ */
.hdr-nav ul { display: flex; gap: 36px; }
.hdr-nav a { font-family: var(--f-en); font-size: 0.78rem; letter-spacing: 0.1em; color: rgba(255,255,255,0.75); transition: color 0.2s; position: relative; padding-bottom: 2px; }
.hdr-nav a::after { content:''; position:absolute; bottom:0; left:0; width:0; height:1px; background:currentColor; transition:width 0.25s; }
.hdr-nav a:hover { color: var(--white); }
.hdr-nav a:hover::after { width: 100%; }
#hdr.scrolled .hdr-nav a, body:not(.home) #hdr .hdr-nav a { color: var(--gray-4); }
#hdr.scrolled .hdr-nav a:hover, body:not(.home) #hdr .hdr-nav a:hover { color: var(--black); }

/* PC お問い合わせボタン */
.hdr-cta {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 22px; background: var(--black); color: var(--white);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em;
  border: 1px solid var(--black); transition: background 0.2s, color 0.2s;
}
.hdr-cta:hover { background: transparent; color: var(--black); }
body.home #hdr:not(.scrolled) .hdr-cta { background: var(--white); color: var(--black); border-color: var(--white); }
body.home #hdr:not(.scrolled) .hdr-cta:hover { background: transparent; color: var(--white); }

/* ハンバーガー */
.hamburger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 40px; height: 40px; padding: 6px; background: none; border: none; cursor: pointer; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--white); transition: all 0.3s; transform-origin: center; }
#hdr.scrolled .hamburger span, body:not(.home) #hdr .hamburger span { background: var(--black); }
.hamburger.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ドロワー */
.drawer-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 300; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.drawer-overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; width: 100vw; height: 100%; background: var(--white); z-index: 400; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.16,1,0.3,1); display: flex; flex-direction: column; box-shadow: -4px 0 24px rgba(0,0,0,0.08); }
.drawer.is-open { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 64px; border-bottom: 1px solid var(--rule); }
.drawer-logo { font-size: 0.9rem; font-weight: 700; }
.drawer-close { font-size: 1.1rem; color: var(--gray-3); background: none; border: none; cursor: pointer; padding: 8px; transition: color 0.2s; }
.drawer-close:hover { color: var(--black); }
.drawer-links { flex: 1; overflow-y: auto; padding: 8px 0; display: block; }
.drawer-links li { border-bottom: 1px solid var(--rule); display: block; width: 100%; }
.drawer-links a { display: block; width: 100%; padding: 22px 28px; font-size: 1.05rem; font-weight: 500; letter-spacing: 0.04em; color: var(--black); transition: background 0.15s; }
.drawer-links a:hover { background: var(--gray-1); }
.drawer-foot { padding: 24px; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 10px; }
.drawer-cta { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 15px; background: var(--black); color: var(--white); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; }
.drawer-line { display: flex; align-items: center; justify-content: center; padding: 15px; background: #06C755; color: var(--white); font-size: 0.85rem; font-weight: 700; letter-spacing: 0.06em; }

@media (max-width: 960px) {
  #hdr { padding: 0 24px; }
  .hdr-nav { display: none; }
  .hdr-cta { display: none; }
  .hamburger { display: flex; }
}
@media (min-width: 961px) {
  .hamburger { display: none; }
}

/* ══════════════════════════════════════
   FOOTER REDESIGN
══════════════════════════════════════ */
.site-footer { background: var(--black); color: var(--white); }

/* CTA帯 */
.footer-cta { background: #1a1a1a; border-bottom: 1px solid rgba(255,255,255,0.08); padding: 56px 0; }
.footer-cta-inner { max-width: 1200px; margin: 0 auto; padding: 0 56px; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-cta-sub { font-size: 0.8rem; color: rgba(255,255,255,0.45); margin-bottom: 8px; letter-spacing: 0.04em; }
.footer-cta-title { font-size: clamp(1.4rem, 2.5vw, 2rem); font-weight: 900; color: var(--white); letter-spacing: -0.01em; }
.footer-cta-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.footer-btn-mail { display: flex; align-items: center; gap: 8px; padding: 14px 28px; background: var(--white); color: var(--black); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; white-space: nowrap; transition: opacity 0.2s; }
.footer-btn-mail:hover { opacity: 0.8; }
.footer-btn-line { display: flex; align-items: center; gap: 8px; padding: 14px 28px; background: #06C755; color: var(--white); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.06em; white-space: nowrap; transition: opacity 0.2s; }
.footer-btn-line:hover { opacity: 0.85; }

/* 中段 */
.footer-mid { padding: 64px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-mid-inner { max-width: 1200px; margin: 0 auto; padding: 0 56px; display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 56px; }
.footer-logo { font-size: 1.1rem; font-weight: 700; color: var(--white); display: block; margin-bottom: 6px; }
.footer-tagline { font-family: var(--f-en); font-size: 0.65rem; letter-spacing: 0.15em; color: rgba(255,255,255,0.35); margin-bottom: 20px; }
.footer-desc { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.9; margin-bottom: 24px; }
.footer-sns { display: flex; gap: 14px; }
.footer-sns a { width: 36px; height: 36px; border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.5); transition: border-color 0.2s, color 0.2s; }
.footer-sns a:hover { border-color: var(--white); color: var(--white); }
.footer-sns svg { width: 14px; height: 14px; }
.footer-nav-label { font-family: var(--f-en); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.25em; color: rgba(255,255,255,0.3); text-transform: uppercase; margin-bottom: 20px; }
.footer-nav-list li { margin-bottom: 12px; }
.footer-nav-list a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: color 0.2s; }
.footer-nav-list a:hover { color: var(--white); }
.footer-info li { font-size: 0.8rem; color: rgba(255,255,255,0.5); line-height: 1.8; }

/* 下段 */
.footer-bottom { padding: 20px 0; }
.footer-bottom-inner { max-width: 1200px; margin: 0 auto; padding: 0 56px; display: flex; align-items: center; justify-content: space-between; }
.footer-bottom p { font-family: var(--f-en); font-size: 0.68rem; color: rgba(255,255,255,0.25); letter-spacing: 0.08em; }
.footer-bottom a { font-size: 0.72rem; color: rgba(255,255,255,0.3); transition: color 0.2s; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── フッター スマホ ── */
@media (max-width: 768px) {
  .footer-cta-inner { padding: 0 24px; flex-direction: column; align-items: flex-start; }
  .footer-cta-btns { width: 100%; }
  .footer-btn-mail, .footer-btn-line { flex: 1; justify-content: center; }
  .footer-mid-inner { padding: 0 24px; grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom-inner { padding: 0 24px; flex-direction: column; gap: 8px; text-align: center; }
}

/* ══════════════════════════════════════
   SERVICES ページ スマホ対応
══════════════════════════════════════ */
@media (max-width: 768px) {
  /* ヒーロー */
  section[style*="grid-template-columns:1fr 1fr"] {
    display: block !important;
  }
  /* 2カラム → 縦積み */
  .svc-two-col { display: block !important; }
  /* 4カラム → 2カラム */
  .svc-four-col { grid-template-columns: repeat(2,1fr) !important; }
  /* 課題カード */
  .prob-grid { grid-template-columns: 1fr !important; }
}

/* サービスページ スマホ */
.svc-hero-wrap { padding: 0 56px; }
@media (max-width: 768px) {
  .svc-hero-wrap { padding: 0 24px !important; }
  /* 2事業カード */
  .svc-biz-grid { grid-template-columns: 1fr !important; }
  /* 提供価値4カラム → 2カラム */
  .svc-val-grid { grid-template-columns: repeat(2,1fr) !important; }
  /* 課題4カラム → 1カラム */
  .svc-prob-grid { grid-template-columns: 1fr !important; }
  /* CTAバナー */
  .svc-cta-inner { grid-template-columns: 1fr !important; }
  /* ESSENTIALグリッド */
  .svc-essential-grid { grid-template-columns: 1fr !important; }
  /* セクション padding */
  section > div[style*="max-width:1200px"] { padding-left: 24px !important; padding-right: 24px !important; }
}

/* ── サービスセクション スマホ対応 ── */
.svc-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  width: 100%;
}
@media (max-width: 768px) {
  .svc-header-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .svc-cards {
    grid-template-columns: 1fr !important;
  }
  .svc-essential-grid {
    grid-template-columns: 1fr !important;
  }
  .section-inner { padding: 0 20px !important; }
  .services { padding-left: 20px !important; padding-right: 20px !important; }
}

/* ══════════════════════════════════
   NEWS GRID (一覧ページ)
══════════════════════════════════ */
.news-filter-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--gray-4);
  transition: all 0.2s;
  text-decoration: none;
}
.news-filter-btn:hover,
.news-filter-btn.active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.news-card {
  display: block;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--rule);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.news-card:hover .news-card-thumb img {
  transform: scale(1.04);
}

.news-card-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--gray-1);
}

.news-card-cat {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  background: var(--black);
  color: var(--white);
  padding: 3px 10px;
  margin-bottom: 10px;
}

.news-card-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.news-card-excerpt {
  font-size: 0.75rem;
  color: var(--gray-4);
  line-height: 1.8;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-en);
  font-size: 0.68rem;
  color: var(--gray-3);
  border-top: 1px solid var(--rule);
  padding-top: 12px;
}

/* ══════════════════════════════════
   SINGLE 詳細ページ サイドバー
══════════════════════════════════ */
.single-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  margin-bottom: 40px;
}

.sidebar-widget-title {
  font-family: var(--f-en);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--gray-3);
  text-transform: uppercase;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--rule);
}

.single-cat-badge {
  display: inline-block;
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  background: var(--black);
  color: var(--white);
  padding: 3px 12px;
  margin-bottom: 14px;
}

/* 本文スタイル */
.single-body {
  font-size: 0.92rem;
  line-height: 2.1;
  color: var(--gray-4);
}
.single-body p { margin-bottom: 1.5em; }
.single-body h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin: 2.5em 0 1em;
  padding-left: 14px;
  border-left: 3px solid var(--black);
  line-height: 1.5;
}
.single-body h3 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--black);
  margin: 2em 0 0.8em;
}
.single-body ul, .single-body ol {
  padding-left: 1.5em;
  margin-bottom: 1.5em;
}
.single-body li { margin-bottom: 0.4em; }
.single-body img {
  width: 100%;
  height: auto;
  margin: 1.5em 0;
}
.single-body a { color: var(--black); text-decoration: underline; }
.single-body blockquote {
  border-left: 3px solid var(--gray-2);
  padding: 1em 1.5em;
  color: var(--gray-3);
  margin: 1.5em 0;
  font-style: italic;
}

/* ══════════════════════════════════
   フッター レスポンシブ
══════════════════════════════════ */
@media (max-width: 1024px) {
  footer .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 768px) {
  /* ニュースグリッド: 2カラム */
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  /* シングル: サイドバー縦積み */
  .single-sidebar { position: static; }
}

@media (max-width: 480px) {
  /* ニュースグリッド: 1カラム */
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════
   スマホ修正 (max-width: 640px)
══════════════════════════════════ */
@media (max-width: 640px) {

  /* 1. Hero：フォントサイズを小さく */
  .hero-headline {
    font-size: 1.75rem !important;
    line-height: 1.25 !important;
    letter-spacing: -0.01em !important;
  }
  .hero-headline .line {
    white-space: normal !important;
  }

  /* 2. サービスタブ：幅を正しく */
  .svc-tabs {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0 !important;
    overflow: hidden !important;
  }
  .svc-tab {
    padding: 16px 12px !important;
    min-width: 0 !important;
    width: 100% !important;
  }
  .svc-tab-ja {
    font-size: 0.88rem !important;
    white-space: normal !important;
    word-break: keep-all !important;
  }

  /* 3. Worksグリッド：大きく表示 */
  .works-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }
  .work-card:nth-child(n) {
    grid-column: 1 / -1 !important;
  }
  .work-placeholder {
    aspect-ratio: 16 / 10 !important;
  }

  /* 4. フッター：シンプルにメニューだけ中央揃え */
  footer {
    padding: 40px 24px 28px !important;
  }
  footer > div:first-child {
    padding: 0 !important;
  }
  /* 古いfooterグリッドを縦積みに */
  footer .footer-grid,
  footer [style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 32px !important;
    text-align: center !important;
  }
  /* シンプルfooterのメニュー横並びを維持 */
  footer > div > div[style*="display:flex"][style*="gap:40px"] {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 20px !important;
  }

  /* 5. ドロワーメニュー：リンクを縦型に */
  .drawer-links a {
    font-size: 1.1rem !important;
    padding: 20px 28px !important;
    display: block !important;
  }
  .drawer {
    width: 100% !important;
  }
  .drawer-links {
    padding: 8px 0 !important;
  }
}

/* ══════════════════════════════════
   News セクション スマホ修正
══════════════════════════════════ */
@media (max-width: 640px) {

  /* ヘッダー：タイトルと一覧を縦並び */
  .news-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .news-header h2.section-title {
    font-size: 1.4rem !important;
  }

  /* 記事：日付・カテゴリ・タイトルを3行縦並び */
  .news-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    padding: 20px 0 !important;
  }
  .news-arr {
    display: none !important;
  }
}

/* ══════════════════════════════════
   About ページ スマホ修正
══════════════════════════════════ */
@media (max-width: 640px) {

  /* HEROの2カラム → 1カラム縦積み */
  .page-template-page-about main section:first-child > div,
  .page-template-page-about main section > div[style*="grid-template-columns:1fr 1fr"],
  .page-template-page-about main section > div[style*="grid-template-columns:1fr 1.4fr"] {
    display: block !important;
    padding: 0 24px !important;
  }

  /* すべてのgridを縦積みに（数値ボックスは除外） */
  .page-template-page-about div[style*="grid-template-columns:1fr 1fr"]:not(.stats-grid),
  .page-template-page-about div[style*="grid-template-columns:1fr 1.4fr"] {
    display: block !important;
  }

  /* 数値ボックス（上2・下2の4枠）は2カラムを維持 */
  .page-template-page-about div[style*="border-top:1px solid var(--rule)"][style*="border-left:1px solid var(--rule)"] {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    margin-top: 24px;
  }

  /* 各ブロックに余白 */
  .page-template-page-about div[style*="grid-template-columns:1fr 1fr"] > div,
  .page-template-page-about div[style*="grid-template-columns:1fr 1.4fr"] > div {
    margin-bottom: 40px !important;
    position: static !important;
  }

  /* セクションのpadding調整 */
  .page-template-page-about section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-template-page-about section > div {
    padding: 0 24px !important;
  }
}

/* ══════════════════════════════════
   Services / Works / Contact
   スマホ対応 (max-width: 640px)
══════════════════════════════════ */
@media (max-width: 640px) {

  /* ── Services ── */
  .page-template-page-services main section > div,
  .page-template-page-services div[style*="grid-template-columns:360px"],
  .page-template-page-services div[style*="grid-template-columns:1fr auto"] {
    display: block !important;
    padding: 0 24px !important;
  }
  .page-template-page-services div[style*="grid-template-columns:360px"] > div,
  .page-template-page-services div[style*="grid-template-columns:1fr auto"] > div {
    margin-bottom: 32px !important;
  }
  /* 4カラム → 2カラム */
  .page-template-page-services div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  /* 2カラム → 1カラム */
  .page-template-page-services div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .page-template-page-services section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* ── Works ── */
  .post-type-archive-work div[style*="grid-template-columns:1fr 1fr"]:not(.works-slide),
  .post-type-archive-work div[style*="grid-template-columns:1fr auto"] {
    display: block !important;
    padding: 0 24px !important;
  }
  /* ── Works スライダー ── */
  .works-slide { display: none !important; }
  .works-slide.is-active { display: grid !important; }
  .post-type-archive-work div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  .post-type-archive-work div[style*="grid-template-columns:1fr 1fr"] > div,
  .post-type-archive-work div[style*="grid-template-columns:1fr auto"] > div {
    margin-bottom: 32px !important;
  }
  /* Worksフィルターボタン */
  .post-type-archive-work div[style*="display:flex"][style*="gap"] {
    flex-wrap: wrap !important;
    gap: 8px !important;
    padding: 0 24px !important;
  }

  /* ── Contact ── */
  .page-template-page-contact div[style*="grid-template-columns:1fr 1fr"] {
    display: block !important;
    min-height: auto !important;
  }
  .page-template-page-contact div[style*="grid-template-columns:1fr 1fr"] > div {
    min-height: auto !important;
    padding: 48px 24px !important;
  }
}

/* ══════════════════════════════════
   Services Hero 上下中央 & スマホ追加修正
══════════════════════════════════ */

/* PC：hero上下中央 */
.svc-hero-section {
  min-height: 520px;
  display: flex;
  align-items: center;
}

@media (max-width: 640px) {

  /* パララックス無効化（背景固定を解除） */
  .page-template-page-services section[style*="background"] {
    background-attachment: scroll !important;
    background-size: cover !important;
  }
  /* hero：スマホでもalign-items:center */
  .page-template-page-services section:first-of-type {
    min-height: 60vw !important;
    display: flex !important;
    align-items: center !important;
    padding: 60px 0 !important;
  }
  .svc-hero-wrap {
    padding: 0 24px !important;
  }

  /* Works CTA スマホ修正 */
  .works-cta-inner {
    display: block !important;
    padding: 40px 24px !important;
  }
  .works-cta-btns {
    margin-top: 28px !important;
    flex-direction: column !important;
  }
  .works-cta-btns a {
    min-width: unset !important;
    width: 100% !important;
    padding: 16px 24px !important;
    box-sizing: border-box !important;
  }

  /* Contact スマホ修正 */
  .page-template-page-contact main > div:first-child {
    display: block !important;
    min-height: auto !important;
  }
  .page-template-page-contact main > div:first-child > div {
    padding: 48px 24px !important;
    min-height: auto !important;
    width: 100% !important;
  }
  .page-template-page-contact form,
  .page-template-page-contact input,
  .page-template-page-contact textarea,
  .page-template-page-contact select {
    width: 100% !important;
    box-sizing: border-box !important;
  }
}

/* ══════════════════════════════════
   Works スライダー class制御
══════════════════════════════════ */
.works-slide {
  display: none;
}
.works-slide.is-active {
  display: grid;
}

@media (max-width: 640px) {
  .works-slide.is-active {
    grid-template-columns: 1fr !important;
    min-height: auto !important;
  }
  .works-slide.is-active > div:first-child {
    padding: 28px 24px 20px !important;
  }
  .works-slide.is-active > div:last-child {
    height: 220px !important;
    min-height: unset !important;
    overflow: hidden !important;
  }
  .works-slide.is-active > div:last-child img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

/* ══════════════════════════════════
   Contact ページ レイアウト
══════════════════════════════════ */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 80px);
}
.contact-left-col {
  background: var(--black);
  padding: 120px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.contact-right-col {
  background: var(--white);
  padding: 120px 80px;
  border-left: 1px solid var(--rule);
}

@media (max-width: 640px) {
  .contact-wrap {
    display: block !important;
    min-height: auto !important;
  }
  .contact-left-col {
    padding: 56px 24px !important;
  }
  .contact-right-col {
    padding: 48px 24px !important;
    border-left: none !important;
    border-top: 1px solid var(--rule);
  }
  .contact-left-col div[style*="font-size:2.4rem"] {
    font-size: 1.8rem !important;
  }
}

/* ══════════════════════════════════
   Problem セクション
══════════════════════════════════ */
.problem-section {
  background: #111;
  padding: 96px 0;
}
.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
}
.problem-header {
  text-align: center;
  margin-bottom: 64px;
}
.problem-label {
  font-family: var(--f-en);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.problem-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
}
.problem-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.9;
}
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.problem-card {
  background: #1c1c1c;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 4px;
  padding: 40px 28px 36px;
  transition: border-color 0.3s;
}
.problem-card:hover {
  border-color: rgba(255,255,255,0.2);
}
.problem-icon {
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
  line-height: 1;
}
.problem-main {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.8;
  margin-bottom: 20px;
}
.problem-sub {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.9;
}

/* レスポンシブ */
@media (max-width: 960px) {
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .problem-section { padding: 64px 0; }
  .problem-inner { padding: 0 20px; }
  .problem-header { margin-bottom: 40px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .problem-card { padding: 24px 16px; }
  .problem-main { font-size: 0.88rem; }
  .problem-sub { font-size: 0.72rem; }
}

/* ══════════════════════════════════
   Statement セクション
══════════════════════════════════ */
.statement-section {
  background: #f7f7f5;
  padding: 120px 0;
  text-align: center;
}
.statement-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}
.statement-text {
  font-size: clamp(1.2rem, 2.4vw, 1.7rem);
  font-weight: 500;
  color: var(--black);
  line-height: 2;
  letter-spacing: 0.04em;
  font-family: var(--f-jp);
  margin-bottom: 40px;
}
.statement-text em {
  font-style: normal;
  font-weight: 700;
}
.statement-line {
  width: 40px;
  height: 1px;
  background: var(--gray-3);
  margin: 0 auto;
}
@media (max-width: 640px) {
  .statement-section { padding: 80px 0; }
  .statement-text { font-size: 1rem; line-height: 2.1; }
}

/* ══════════════════════════════════
   About セクション（リニューアル）
══════════════════════════════════ */
.about {
  background: var(--gray-1);
  padding: 96px 0 80px;
}

/* 上段：左キャッチ＋右テキスト */
.about-top {
  max-width: 1200px;
  margin: 0 auto 72px;
  padding: 0 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.about-left .section-label {
  display: block;
  margin-bottom: 24px;
}
.about-quote {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--black);
  border: none;
  padding: 0;
  margin: 0;
}
.about-heading {
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 28px;
  color: var(--black);
}
.about-text p {
  font-size: 0.88rem;
  line-height: 2;
  color: var(--gray-4);
  margin-bottom: 20px;
}

/* 下段：4カード */
.about-features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.about-feature-card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.3s;
}
.about-feature-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}
.about-feature-icon {
  color: var(--black);
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
}
.about-feature-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--black);
}
.about-feature-desc {
  font-size: 0.78rem;
  color: var(--gray-4);
  line-height: 1.9;
}

/* レスポンシブ */
@media (max-width: 960px) {
  .about-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .about { padding: 64px 0 56px; }
  .about-top {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
    margin-bottom: 48px;
  }
  .about-features {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 24px;
    gap: 12px;
  }
  .about-feature-card { padding: 24px 16px; }
}

/* ── ユーティリティ ── */
.sp-only { display: none; }
@media (max-width: 640px) {
  .sp-only { display: inline; }
}

/* ══════════════════════════════════
   Newsletter セクション
══════════════════════════════════ */
.newsletter-section {
  background: #f7f7f5;
  padding: 80px 0;
  border-top: 1px solid var(--rule);
}
.newsletter-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.newsletter-label {
  font-family: var(--f-en);
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  color: var(--gray-3);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.newsletter-title {
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  color: var(--black);
}
.newsletter-desc {
  font-size: 0.82rem;
  color: var(--gray-4);
  line-height: 1.9;
}
.newsletter-btn {
  flex-shrink: 0;
  text-align: center;
}
.newsletter-subscribe-btn {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  background: var(--black);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  white-space: nowrap;
}
.newsletter-subscribe-btn:hover { opacity: 0.75; }
.newsletter-note {
  font-size: 0.68rem;
  color: var(--gray-3);
  margin-top: 10px;
}
@media (max-width: 640px) {
  .newsletter-section { padding: 56px 0; }
  .newsletter-inner {
    flex-direction: column;
    padding: 0 24px;
    text-align: center;
    gap: 32px;
  }
  .newsletter-subscribe-btn { width: 100%; justify-content: center; }
}
