/* ============================================
   FlatWorks v2
   ============================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

:root {
  --accent: #0d9488;
  --accent-light: #ccfbf1;
  --text: #1a1a1a;
  --text-sub: #6b7280;
  --bg: #fff;
  --bg-warm: #f0fdfa;
  --bg-tint: #ecfeff;
  --border: #e5e5e5;
  --dark: #111;
  --en: 'Inter', sans-serif;
  --content: 1080px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --- Reveal animation --- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================
   Header
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  border-color: var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,0.04);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 32px;
  height: 72px;
}
.header__logo img { height: 40px; width: auto; }
.header__nav { display: flex; align-items: center; gap: 36px; }
.header__link {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
.header__link-en {
  display: block;
  font-family: var(--en);
  font-size: 0.62rem;
  color: var(--text-sub);
  letter-spacing: 0.08em;
  margin-top: 2px;
  transition: color 0.3s;
}
@media (any-hover: hover) {
  .header__link:hover { color: var(--accent); }
  .header__link:hover .header__link-en { color: var(--accent); }
}
.header__cta-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  padding: 8px 0;
  border-bottom: 1.5px solid var(--accent);
  transition: opacity 0.3s;
  font-family: var(--en);
  letter-spacing: 0.04em;
}
@media (any-hover: hover) {
  .header__cta-link:hover { opacity: 0.7; }
}

/* Hamburger */
.hamburger {
  display: none;
  width: 44px; height: 44px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  z-index: 110;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  transition: 0.4s var(--ease);
}
.hamburger span:nth-child(1) { width: 24px; }
.hamburger span:nth-child(2) { width: 16px; }
.hamburger.open span:nth-child(1) {
  width: 24px;
  transform: rotate(45deg) translate(3px, 3px);
}
.hamburger.open span:nth-child(2) {
  width: 24px;
  transform: rotate(-45deg) translate(2px, -2px);
}

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 105;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: 0.5s var(--ease);
}
.mobile-overlay.open {
  opacity: 1;
  visibility: visible;
}
.mobile-overlay a {
  font-size: 1.2rem;
  color: #fff;
  font-weight: 500;
  opacity: 0;
  transform: translateY(16px);
  transition: 0.4s var(--ease);
}
.mobile-overlay.open a {
  opacity: 1;
  transform: none;
}
.mobile-overlay.open a:nth-of-type(1) { transition-delay: 0.1s; }
.mobile-overlay.open a:nth-of-type(2) { transition-delay: 0.15s; }
.mobile-overlay.open a:nth-of-type(3) { transition-delay: 0.2s; }
.mobile-overlay.open a:nth-of-type(4) { transition-delay: 0.25s; }
.mobile-overlay.open a:nth-of-type(5) { transition-delay: 0.3s; }
.mobile-overlay.open a:nth-of-type(6) { transition-delay: 0.35s; }
.mobile-overlay__sub {
  font-family: var(--en);
  font-size: 0.65rem !important;
  color: rgba(255,255,255,0.35) !important;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .header__nav { display: none; }
  .header__inner { padding: 0 20px; }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--bg-warm);
}
.hero__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  will-change: opacity, transform;
  animation: hero-slide 18s infinite;
}
.hero__slide:nth-child(1) { animation-delay: 0s; }
.hero__slide:nth-child(2) { animation-delay: 6s; }
.hero__slide:nth-child(3) { animation-delay: 12s; }
@keyframes hero-slide {
  0%      { opacity: 0; transform: scale(1.06); }
  4%      { opacity: 1; }
  33.33%  { opacity: 1; transform: scale(1); }
  37.33%  { opacity: 0; }
  100%    { opacity: 0; transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__slide { animation: none; }
  .hero__slide:first-child { opacity: 1; }
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.65) 30%, rgba(255,255,255,0.2) 55%, transparent 100%);
  z-index: 1;
}
.hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}
.hero__label {
  font-family: var(--en);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text);
  margin-bottom: 24px;
  opacity: 0;
  animation: hero-fade 0.8s 0.2s var(--ease) forwards;
}
.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.02em;
  margin-bottom: 16px;
  opacity: 0;
  animation: hero-fade 0.8s 0.4s var(--ease) forwards;
  text-shadow: none;
}
.hero__title span {
  display: inline;
}
.hero__sub {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.04em;
  margin-bottom: 24px;
  opacity: 0;
  animation: hero-fade 0.8s 0.55s var(--ease) forwards;
  text-shadow: none;
}
.hero__lead {
  font-size: 0.95rem;
  color: #3a3a3a;
  line-height: 2;
  max-width: 520px;
  margin-bottom: 40px;
  opacity: 0;
  animation: hero-fade 0.8s 0.7s var(--ease) forwards;
  text-shadow: none;
}
.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  opacity: 0;
  animation: hero-fade 0.8s 0.9s var(--ease) forwards;
}
@keyframes hero-fade {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: none; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 4px;
  transition: all 0.3s var(--ease);
}
.btn--dark {
  color: #fff;
  background: var(--dark);
}
.btn--ghost {
  color: var(--text);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(4px);
}
.btn__arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
  font-size: 0.85em;
}
@media (any-hover: hover) {
  .btn--dark:hover { background: #333; }
  .btn--ghost:hover { border-color: var(--text); }
  .btn:hover .btn__arrow { transform: translateX(4px); }
}

/* ============================================
   Section common
   ============================================ */
.section { padding: 120px 0; }
.section__inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 32px;
}
.section__header { margin-bottom: 64px; }
.section__en {
  font-family: var(--en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
}
.section__lead {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-top: 12px;
  line-height: 1.9;
}
.section--warm { background: var(--bg-warm); }

/* ============================================
   Service
   ============================================ */
.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.service-item {
  background: #fff;
  padding: 36px 24px;
  transition: background 0.4s;
  position: relative;
}
@media (any-hover: hover) {
  .service-item:hover { background: var(--bg-warm); }
}
.service-item__icon {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 24px;
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
.service-item__num,
.service-item__title,
.service-item__en,
.service-item__text {
  position: relative;
  z-index: 1;
}
.service-item__num {
  font-family: var(--en);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-sub);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.service-item__title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: 4px;
}
.service-item__en {
  font-family: var(--en);
  font-size: 0.68rem;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.service-item__text {
  font-size: 0.82rem;
  color: #1f2937;
  line-height: 1.9;
}

/* ============================================
   Works — horizontal scroll
   ============================================ */
.scroll-row {
  padding-left: max(32px, calc((100vw - var(--content)) / 2 + 32px));
}
.scroll-row__header {
  margin-bottom: 20px;
}
.scroll-row__label {
  font-family: var(--en);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}
.scroll-row__sub {
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-top: 2px;
}
.scroll-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-right: 48px;
  padding-bottom: 8px;
  cursor: grab;
  scrollbar-width: none;
}
.scroll-track::-webkit-scrollbar { display: none; }
.scroll-track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.scroll-track.is-dragging .scroll-card { pointer-events: none; }

.scroll-card {
  display: block;
  flex: 0 0 340px;
  scroll-snap-align: start;
  transition: transform 0.5s var(--ease);
}
@media (any-hover: hover) {
  .scroll-card:hover { transform: translateY(-4px); }
  .scroll-card:hover .scroll-card__img img { transform: scale(1.04); }
}
.scroll-card__img {
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 14px;
  background: var(--bg-warm);
  aspect-ratio: 3/2;
  position: relative;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.scroll-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s var(--ease);
}
.scroll-card__tag {
  display: inline-block;
  font-family: var(--en);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.scroll-card__title {
  font-size: 0.92rem;
  font-weight: 600;
}
.scroll-card__desc {
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-top: 2px;
}
.works-more {
  margin-top: 56px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .scroll-row { padding-left: 20px; }
  .scroll-card { flex: 0 0 280px; }
  .scroll-track { gap: 16px; padding-right: 20px; }
}

/* ============================================
   Company mini
   ============================================ */
.company-grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: 64px;
  align-items: center;
}
.company-photo {
  aspect-ratio: 4/5;
  border-radius: 4px;
  overflow: hidden;
  background: var(--bg-warm);
}
.company-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.company-photo__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-sub);
}
.company-body__role {
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-bottom: 4px;
}
.company-body__name {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.company-body__age {
  font-size: 0.82rem;
  color: var(--text-sub);
  margin-bottom: 24px;
}
.company-body__text {
  font-size: 0.9rem;
  color: var(--text-sub);
  line-height: 2.1;
  margin-bottom: 32px;
}
.company-body__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 4px;
  transition: border-color 0.3s, gap 0.3s;
}
@media (any-hover: hover) {
  .company-body__link:hover { border-color: var(--text); gap: 12px; }
}

/* ============================================
   CTA
   ============================================ */
.cta {
  background: var(--dark);
  color: #fff;
  padding: 100px 32px;
  position: relative;
  overflow: hidden;
}
.cta__bg {
  position: absolute;
  inset: 0;
  background: url('../img/cta-bg.jpg') center/cover no-repeat;
  opacity: 0.1;
}
.cta__inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.cta .section__en { color: rgba(255,255,255,0.35); }
.cta__title {
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 700;
  line-height: 1.6;
  margin: 16px 0;
}
.cta__lead {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.9;
  margin-bottom: 36px;
}
.btn--white { color: var(--dark); background: #fff; }
@media (any-hover: hover) {
  .btn--white:hover { background: #f5f5f5; }
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 64px 0 40px;
  border-top: 1px solid var(--border);
}
.footer__inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 32px;
}
.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__logo img { height: 22px; width: auto; margin-bottom: 16px; }
.footer__address {
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.9;
}
.footer__address a { transition: color 0.3s; }
@media (any-hover: hover) {
  .footer__address a:hover { color: var(--accent); }
}
.footer__nav { display: flex; gap: 28px; flex-wrap: wrap; }
.footer__nav a {
  font-size: 0.8rem;
  color: var(--text-sub);
  transition: color 0.3s;
}
@media (any-hover: hover) {
  .footer__nav a:hover { color: var(--text); }
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer__sns { display: flex; gap: 20px; }
.footer__sns a {
  font-size: 0.8rem;
  color: var(--text-sub);
  font-family: var(--en);
  letter-spacing: 0.03em;
  transition: color 0.3s;
}
@media (any-hover: hover) {
  .footer__sns a:hover { color: var(--text); }
}
.footer__copy {
  font-family: var(--en);
  font-size: 0.7rem;
  color: var(--text-sub);
  letter-spacing: 0.04em;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .section__inner { padding: 0 20px; }
  .section__header { margin-bottom: 40px; }
  .hero__inner { padding: 0 20px; }
  .hero::after {
    background: linear-gradient(180deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.65) 40%, rgba(255,255,255,0.1) 70%, transparent 100%);
  }
  .service-list {
    grid-template-columns: 1fr;
  }
  .works-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .company-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .company-photo { aspect-ratio: 3/2; max-width: 360px; }
  .cta { padding: 72px 20px; }
  .footer__top { flex-direction: column; gap: 28px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer__inner { padding: 0 20px; }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .service-list { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   Sub pages — Page header
   ============================================ */
.page-header {
  padding: 140px 0 56px;
  background: var(--bg-warm);
  border-bottom: 1px solid var(--border);
}
.page-header__inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 32px;
}
.page-header__en {
  font-family: var(--en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 8px;
}
.page-header__title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
}
.page-header__lead {
  font-size: 0.9rem;
  color: var(--text-sub);
  margin-top: 12px;
  line-height: 1.9;
}
@media (max-width: 768px) {
  .page-header { padding: 110px 0 40px; }
  .page-header__inner { padding: 0 20px; }
}

/* ============================================
   Works page — grid cards
   ============================================ */
.works-page-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.works-page-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
@media (any-hover: hover) {
  .works-page-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  }
  .works-page-card:hover .works-page-card__img img { transform: scale(1.03); }
}
.works-page-card__img {
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg-warm);
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.works-page-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s var(--ease);
}
.works-page-card__body { padding: 20px 24px 24px; }
.works-page-card__tag {
  font-family: var(--en);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  margin-right: 8px;
}
.works-page-card__cat {
  font-size: 0.7rem;
  color: var(--text-sub);
}
.works-page-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 8px 0 6px;
}
.works-page-card__desc {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.8;
}
.works-page-card__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.works-page-card__tags span {
  font-size: 0.68rem;
  color: var(--text-sub);
  background: var(--bg-warm);
  padding: 2px 10px;
  border-radius: 20px;
}
@media (max-width: 768px) {
  .works-page-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================
   Company — info table, philosophy
   ============================================ */
.info-table { border-top: 1px solid var(--border); }
.info-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.info-row dt {
  font-weight: 600;
  color: var(--text);
}
.info-row dd {
  color: var(--text-sub);
  line-height: 1.8;
}
.info-row dd a {
  color: var(--accent);
  transition: opacity 0.3s;
}
@media (any-hover: hover) { .info-row dd a:hover { opacity: 0.7; } }
@media (max-width: 768px) {
  .info-row { grid-template-columns: 1fr; gap: 4px; }
}

.philosophy__title {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 700;
  line-height: 1.7;
  margin: 12px 0;
}
.philosophy__text {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.9;
}

/* Philosophy section bg (水彩) */
.section--warm:has(.philosophy) {
  position: relative;
  overflow: hidden;
}
.section--warm:has(.philosophy)::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../img/philosophy-bg.jpg') center/cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
.section--warm:has(.philosophy)::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(252,247,240,0.55) 0%, rgba(252,247,240,0.2) 40%, rgba(252,247,240,0.55) 100%);
  pointer-events: none;
  z-index: 0;
}
.section--warm:has(.philosophy) > .section__inner { position: relative; z-index: 1; }

.map-wrap { margin-top: 32px; }
.map-wrap iframe { border-radius: 8px; }

/* ============================================
   News
   ============================================ */
.news-list { border-top: 1px solid var(--border); }
.news-item {
  display: grid;
  grid-template-columns: 100px 72px 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
@media (any-hover: hover) {
  .news-item:hover { background: var(--bg-warm); padding-left: 12px; padding-right: 12px; }
}
.news-item__date {
  font-family: var(--en);
  font-size: 0.8rem;
  color: var(--text-sub);
  letter-spacing: 0.03em;
}
.news-item__tag {
  font-size: 0.68rem;
  color: var(--accent);
  font-weight: 600;
  border: 1px solid var(--accent);
  padding: 2px 8px;
  border-radius: 3px;
  text-align: center;
}
.news-item__title {
  font-size: 0.9rem;
  font-weight: 500;
}
.news-item__arrow {
  font-family: var(--en);
  color: var(--text-sub);
  transition: transform 0.3s var(--ease);
}
@media (any-hover: hover) {
  .news-item:hover .news-item__arrow { transform: translateX(4px); }
}
@media (max-width: 768px) {
  .news-item {
    grid-template-columns: 1fr auto;
    gap: 8px;
  }
  .news-item__date { grid-column: 1; }
  .news-item__tag { grid-column: 2; justify-self: end; }
  .news-item__title { grid-column: 1 / -1; }
  .news-item__arrow { display: none; }
}

/* ============================================
   Contact form
   ============================================ */
.contact-methods {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
}
.contact-method {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
}
.contact-method__label {
  font-size: 0.78rem;
  color: var(--text-sub);
  margin-bottom: 8px;
}
.contact-method__value {
  font-size: 1rem;
  font-weight: 600;
  display: block;
}
.contact-method__tel {
  font-family: var(--en);
  font-size: 1.4rem;
  letter-spacing: 0.04em;
}
.contact-method__note {
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-top: 4px;
}
.contact-divider {
  text-align: center;
  margin: 40px 0;
  position: relative;
}
.contact-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  height: 1px;
  background: var(--border);
}
.contact-divider span {
  position: relative;
  background: #fff;
  padding: 0 16px;
  font-size: 0.82rem;
  color: var(--text-sub);
}
.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.form-required {
  font-size: 0.68rem;
  color: #dc2626;
  margin-left: 4px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: border-color 0.3s;
  background: #fff;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.form-check {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.form-check input { accent-color: var(--accent); }
.form-submit { margin-top: 32px; }
.btn--full { width: 100%; justify-content: center; }
.form-privacy {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-sub);
  margin-top: 16px;
}
.form-privacy a {
  color: var(--accent);
  text-decoration: underline;
}

/* ============================================
   Prose (privacy etc)
   ============================================ */
.prose h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 40px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.prose h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 28px 0 8px;
}
.prose p {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.95;
  margin-bottom: 14px;
}
.prose ul {
  padding-left: 20px;
  list-style: disc;
  margin-bottom: 14px;
}
.prose li {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.9;
  margin-bottom: 6px;
}
.prose a { color: var(--accent); }
.prose__hero {
  margin: 0 0 40px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.prose__hero img {
  width: 100%;
  height: auto;
  display: block;
}
.prose__images {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin: 32px 0;
}
.prose__images img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
}
.prose__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.prose__tag {
  font-size: 0.72rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  padding: 3px 12px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.prose__cat {
  font-size: 0.75rem;
  color: var(--text-sub);
}
.prose__date {
  margin-top: 40px;
  font-size: 0.8rem;
  color: var(--text-sub);
  text-align: right;
}

/* ============================================
   Service detail pages — editorial
   ============================================ */
.breadcrumb {
  max-width: var(--content);
  margin: 0 auto;
  padding: 96px 32px 0;
  font-family: var(--en);
  font-size: 0.68rem;
  color: var(--text-sub);
  letter-spacing: 0.08em;
}
.breadcrumb a { transition: color 0.3s; }
@media (any-hover: hover) {
  .breadcrumb a:hover { color: var(--text); }
}
.breadcrumb__sep { margin: 0 10px; color: #c9c9c9; }

.svc-intro__body {
  max-width: 720px;
  font-size: 0.98rem;
  line-height: 2.1;
  color: #333;
}
.svc-intro__body p + p { margin-top: 1.4em; }
.svc-intro__body strong { font-weight: 700; color: var(--text); }

.svc-issue {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 64px;
  max-width: 860px;
}
.svc-issue__item { border-left: 2px solid var(--text); padding: 2px 0 2px 20px; }
.svc-issue__item-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.7;
  margin-bottom: 8px;
}
.svc-issue__item-text {
  font-size: 0.84rem;
  color: var(--text-sub);
  line-height: 1.95;
}

.svc-steps { display: grid; gap: 72px; }
.svc-step {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: start;
}
.svc-step__num {
  font-family: var(--en);
  font-size: 2.4rem;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0;
  line-height: 1;
}
.svc-step__num::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text);
  margin-top: 18px;
}
.svc-step__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 14px;
}
.svc-step__body {
  font-size: 0.88rem;
  color: #333;
  line-height: 2.05;
  max-width: 620px;
}
.svc-step__body p + p { margin-top: 0.8em; }

.svc-price-note {
  margin-top: 20px;
  font-size: 0.78rem;
  color: var(--text-sub);
  line-height: 1.9;
}

.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 44px 24px 0;
  position: relative;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.7;
  transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--text);
  transition: transform 0.4s var(--ease);
}
.faq-item summary::before {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 14px;
  height: 1px;
  background: var(--text);
  transform: rotate(90deg);
  transition: transform 0.4s var(--ease);
}
.faq-item[open] summary::before { transform: rotate(0deg); }
.faq-item__body {
  padding: 0 44px 28px 0;
  font-size: 0.86rem;
  line-height: 2.05;
  color: var(--text-sub);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card {
  display: block;
  transition: transform 0.5s var(--ease);
}
@media (any-hover: hover) {
  .blog-card:hover { transform: translateY(-4px); }
  .blog-card:hover .blog-card__img img { transform: scale(1.04); }
}
.blog-card__img {
  overflow: hidden;
  aspect-ratio: 16/10;
  background: var(--bg-warm);
  border: 1px solid rgba(0,0,0,0.06);
  margin-bottom: 16px;
  border-radius: 4px;
}
.blog-card__img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.blog-card__meta {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 8px;
}
.blog-card__tag {
  font-family: var(--en);
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.blog-card__date {
  font-family: var(--en);
  font-size: 0.7rem;
  color: var(--text-sub);
  letter-spacing: 0.04em;
}
.blog-card__title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.65;
  margin-bottom: 10px;
}
.blog-card__excerpt {
  font-size: 0.82rem;
  color: var(--text-sub);
  line-height: 1.9;
}
.blog-card--placeholder .blog-card__img {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--en);
  font-size: 0.7rem;
  color: var(--text-sub);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-style: dashed;
}
.blog-more {
  margin-top: 56px;
  display: flex;
  justify-content: center;
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; gap: 24px; }
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  aspect-ratio: 4/3;
  background: #fff;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--en);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  color: var(--text-sub);
  text-transform: uppercase;
}
@media (max-width: 768px) {
  .case-grid { grid-template-columns: 1fr; gap: 16px; }
  .case-card { aspect-ratio: 16/9; }
}

@media (max-width: 768px) {
  .breadcrumb { padding: 88px 20px 0; }
  .svc-issue { grid-template-columns: 1fr; gap: 28px; }
  .svc-step { grid-template-columns: 1fr; gap: 12px; }
  .svc-step__num { font-size: 1.8rem; }
  .svc-step__num::after { margin-top: 8px; }
}

/* article (blog post detail) */
.article__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 20px;
}
.article__thumb {
  margin-bottom: 56px;
  border-radius: 4px;
  overflow: hidden;
}
.article__thumb img {
  width: 100%;
  height: auto;
  display: block;
}
.article__footer {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: center;
}
.article-head__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}
@media (max-width: 768px) {
  .article__thumb { margin-bottom: 36px; }
  .article__footer { margin-top: 56px; padding-top: 28px; }
}
