/* ===========================================================
   Editorial Craft — site-wide
   Loaded after styles.css and subpages.css in layouts/app.blade.php
   so rules here override the existing design system.
   =========================================================== */

:root {
  --serif: "Noto Serif JP", "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
  --sans-en: "Helvetica Neue", "Arial", sans-serif;
  --ink: #0a0a0a;
  --ink-soft: #1a1a1a;
  --paper: #ffffff;
  --paper-soft: #f7f9f8;
  --line: #e5ebe8;
  --line-soft: #f0f4f2;
  --accent: #256856;
  --accent-bright: #3c8f7c;
}

/* ===========================
   HERO — Split layout (image + text)
   =========================== */
.hero-v2 {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: #0a0a0a;
}

.hero-v2-split {
  display: grid;
  grid-template-columns: 5fr 6fr;
  min-height: 100vh;
  min-height: 100dvh;
}

.hero-v2-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 72px 100px 64px;
  max-width: 720px;
  margin-left: auto;
  position: relative;
  z-index: 1;
}

.hero-v2-image-side {
  position: relative;
  overflow: hidden;
}

.hero-v2-image-side::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 100px;
  background: linear-gradient(90deg, #0a0a0a 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-v2-image-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: saturate(0.88) contrast(1.04);
}

.hero-v2-lead {
  font-size: 15px;
  line-height: 2;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin: 0 0 40px;
}

.hero-v2-eyebrow {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.72);
  margin: 0 0 40px;
  font-weight: 500;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-v2-eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.5);
}

.hero-v2-headline {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 64px);
  line-height: 1.25;
  letter-spacing: 0.04em;
  color: #fff;
  margin: 0 0 40px;
}

.hero-v2-text {
  overflow: hidden;
}

.hero-v2-headline-main {
  display: block;
}

.hero-v2-headline-main-line {
  display: block;
}

.hero-v2-headline-sub {
  display: block;
  font-family: "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.65);
  margin-top: 36px;
}

.hero-v2-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.18);
  max-width: 640px;
  width: 100%;
}

.hero-v2-meta span {
  display: inline-flex;
  align-items: center;
}

/* ===========================
   99% STATS
   =========================== */
.stats-v2 {
  background: #0a0a0a;
  color: #fff;
  padding: 200px 0;
  position: relative;
  overflow: hidden;
}

.stats-v2::before {
  content: "";
  position: absolute;
  right: -15%;
  top: -30%;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(60,143,124,0.18) 0%, transparent 60%);
  pointer-events: none;
}

.stats-v2::after {
  content: "";
  position: absolute;
  left: -10%;
  bottom: -40%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(60,143,124,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.stats-v2-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 64px;
  position: relative;
  z-index: 1;
  text-align: center;
}

.stats-v2-eyebrow {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.35em;
  color: rgba(255,255,255,0.55);
  margin: 0 0 48px;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.stats-v2-eyebrow::before,
.stats-v2-eyebrow::after {
  content: "";
  width: 32px;
  height: 1px;
  background: rgba(255,255,255,0.35);
}

.stats-v2-number {
  font-family: var(--serif);
  font-size: clamp(100px, 16vw, 260px);
  font-weight: 600;
  line-height: 0.85;
  letter-spacing: -0.04em;
  margin: 0 0 64px;
  color: #fff;
  display: inline-block;
  position: relative;
}

.stats-v2-percent {
  font-size: 0.35em;
  vertical-align: super;
  color: var(--accent-bright);
  font-weight: 400;
  margin-left: 0.05em;
}

.stats-v2-caption {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.75;
  color: rgba(255,255,255,0.92);
  margin: 0 auto 20px;
  font-weight: 400;
  max-width: 820px;
  letter-spacing: 0.04em;
  text-wrap: balance;
}

.stats-v2-caption-sub {
  font-size: 13px;
  line-height: 1.9;
  color: rgba(255,255,255,0.55);
  margin: 0;
  letter-spacing: 0.12em;
}

.stats-v2-grid {
  margin-top: 120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  padding-top: 64px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.stats-v2-item-number {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 500;
  line-height: 1;
  color: #fff;
  display: block;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.stats-v2-item-number-unit {
  font-size: 0.4em;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  margin-left: 4px;
}

.stats-v2-item-label {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  font-weight: 500;
}

/* ===========================
   NEWS (editorial minimal)
   =========================== */
.news-v2 {
  padding: 160px 0;
  background: var(--paper);
}

.news-v2-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 64px;
}

.news-v2-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 56px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.news-v2-heading {
  display: block;
}

.news-v2-title {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  margin: 0;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--ink);
}

.v2-eyebrow {
  display: block;
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: #777;
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 500;
}

.news-v2-more,
.v2-link-more {
  font-family: var(--sans-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--ink);
  white-space: nowrap;
  text-transform: uppercase;
  transition: color 0.3s, border-color 0.3s, gap 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.news-v2-more:hover,
.v2-link-more:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.news-v2-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.news-v2-item {
  border-bottom: 1px solid var(--line-soft);
  transition: padding-left 0.3s;
}

.news-v2-item a {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 32px;
  padding: 28px 0;
  color: inherit;
  text-decoration: none;
  align-items: center;
  transition: padding-left 0.3s;
}

.news-v2-item a:hover {
  padding-left: 12px;
}

.news-v2-date {
  font-family: var(--sans-en);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: #777;
}

.news-v2-headline {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.news-v2-arrow {
  font-size: 14px;
  color: #777;
  transition: transform 0.3s, color 0.3s;
}

.news-v2-item a:hover .news-v2-arrow {
  transform: translateX(8px);
  color: var(--accent);
}

.news-v2-empty {
  padding: 40px 0;
  color: #777;
  font-size: 14px;
}

/* ===========================
   MVV MESSAGE (editorial)
   =========================== */
.message-v2 {
  padding: 200px 0;
  background: var(--paper-soft);
  position: relative;
  overflow: hidden;
}

.message-v2::before {
  content: "";
  position: absolute;
  top: 10%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(60,143,124,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.message-v2-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 64px;
  position: relative;
  z-index: 1;
}

.message-v2-intro {
  max-width: 720px;
  margin-bottom: 140px;
}

.message-v2-headline {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.04em;
  margin: 0 0 32px;
  color: var(--ink);
}

.message-v2-headline-line {
  display: block;
}

.message-v2-intro-text {
  font-size: 16px;
  line-height: 2;
  color: #444;
  margin: 0 0 16px;
}

.message-v2-intro-text:last-of-type {
  margin-bottom: 0;
}

.message-v2-items {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.message-v2-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
}

.message-v2-number {
  font-family: var(--serif);
  font-size: 100px;
  font-weight: 300;
  line-height: 0.85;
  color: var(--accent);
  letter-spacing: -0.04em;
}

.message-v2-label {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: #777;
  text-transform: uppercase;
  margin: 0 0 20px;
  display: block;
  font-weight: 600;
}

.message-v2-item-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  margin: 0 0 28px;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--ink);
}

.message-v2-item-text {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin: 0 0 16px;
}

.message-v2-item-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.message-v2-item-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.9;
  color: #444;
}

.message-v2-item-list li:last-child {
  border-bottom: none;
}

.message-v2-item-list strong {
  display: block;
  font-family: var(--serif);
  font-size: 17px;
  color: var(--ink);
  margin-bottom: 4px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.message-v2-key {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.message-v2-key-label {
  font-family: var(--sans-en);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: #777;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.message-v2-key-text {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.7;
  color: var(--accent);
  margin: 0;
  font-weight: 500;
}

/* ===========================
   SERVICES BENTO
   =========================== */
.services-v2 {
  padding: 200px 0;
  background: var(--paper);
}

.services-v2-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 64px;
}

.services-v2-header,
.cases-v2-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
  gap: 32px;
}

.services-v2-heading {
  max-width: 680px;
}

.services-v2-title,
.cases-v2-title {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  margin: 0 0 20px;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: var(--ink);
}

.services-v2-lead,
.cases-v2-lead {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
  margin: 0;
  max-width: 480px;
}

.services-v2-bento {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 24px;
  min-height: 680px;
}

.bento-item {
  position: relative;
  padding: 56px 48px;
  border-radius: 20px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.5s;
  overflow: hidden;
}

.bento-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 32px 64px rgba(10,10,10,0.08);
  border-color: var(--accent-bright);
}

.bento-item-main {
  grid-column: 1;
  grid-row: 1 / 3;
  background: linear-gradient(135deg, #0f3f34 0%, #1d5546 50%, #256856 100%);
  color: #fff;
  border: none;
  padding: 72px 64px;
  position: relative;
}

.bento-item-main::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.bento-item-main:hover {
  border: none;
  box-shadow: 0 32px 64px rgba(10,10,10,0.2);
}

.bento-number {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: #777;
  margin: 0;
  font-weight: 500;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

.bento-item-main .bento-number {
  color: rgba(255,255,255,0.55);
}

.bento-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin: 20px 0 16px;
  line-height: 1.4;
  letter-spacing: 0.04em;
  color: var(--ink);
  position: relative;
  z-index: 1;
}

.bento-item-main .bento-title {
  font-size: 40px;
  color: #fff;
  margin: 24px 0 24px;
  line-height: 1.3;
}

.bento-text {
  font-size: 14px;
  line-height: 1.9;
  color: #444;
  margin: 0;
  position: relative;
  z-index: 1;
}

.bento-item-main .bento-text {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  max-width: 36ch;
  line-height: 1.95;
}

.bento-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans-en);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  margin-top: 40px;
  align-self: flex-start;
  text-transform: uppercase;
  transition: gap 0.3s;
  position: relative;
  z-index: 1;
}

.bento-link:hover {
  gap: 16px;
}

.bento-item-main .bento-link {
  color: #fff;
}

/* ===========================
   CASES
   =========================== */
.cases-v2 {
  padding: 200px 0;
  background: var(--paper-soft);
}

.cases-v2-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 64px;
}

.cases-v2-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.case-v2 {
  position: relative;
}

.case-v2-image-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--line);
  margin-bottom: 28px;
  position: relative;
}

.case-v2-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.case-v2:hover .case-v2-image {
  transform: scale(1.06);
}

.case-v2-index {
  position: absolute;
  top: 24px;
  left: 24px;
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: #fff;
  background: rgba(10,10,10,0.55);
  backdrop-filter: blur(4px);
  padding: 8px 14px;
  border-radius: 2px;
  text-transform: uppercase;
  font-weight: 500;
  z-index: 1;
}

.case-v2-category {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--accent);
  text-transform: uppercase;
  margin: 0 0 14px;
  font-weight: 600;
}

.case-v2-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 14px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.case-v2-text {
  font-size: 13px;
  line-height: 1.9;
  color: #444;
  margin: 0;
}

/* ===========================
   RECRUIT (dark)
   =========================== */
.recruit-v2 {
  background: #0a0a0a;
  color: #fff;
  padding: 200px 0;
  position: relative;
  overflow: hidden;
}

.recruit-v2::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 1200px;
  background: radial-gradient(circle, rgba(60,143,124,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.recruit-v2-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 64px;
  position: relative;
  z-index: 1;
}

.recruit-v2-eyebrow {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  margin: 0 0 24px;
  font-weight: 500;
}

.recruit-v2-headline {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.04em;
  margin: 0 0 36px;
  max-width: 18ch;
  color: #fff;
}

.recruit-v2-text {
  font-size: 15px;
  line-height: 2;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin: 0 0 56px;
}

.recruit-v2-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 20px 44px;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.55);
  text-decoration: none;
  font-family: var(--sans-en);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.4s, border-color 0.4s, color 0.4s, gap 0.3s;
}

.recruit-v2-btn:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
  gap: 20px;
}

/* ===========================
   CTA (contact)
   =========================== */
.cta-v2 {
  padding: 200px 0 180px;
  background: var(--paper);
  text-align: center;
}

.cta-v2-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 64px;
}

.cta-v2-eyebrow {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: #777;
  text-transform: uppercase;
  margin: 0 0 24px;
  font-weight: 500;
}

.cta-v2-headline {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin: 0 0 28px;
  color: var(--ink);
}

.cta-v2-text {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin: 0 0 48px;
}

.cta-v2-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-v2-btn {
  display: inline-flex;
  align-items: center;
  padding: 20px 44px;
  text-decoration: none;
  font-family: var(--sans-en);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: all 0.4s;
  gap: 12px;
}

.cta-v2-btn-primary {
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
}

.cta-v2-btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  gap: 18px;
}

.cta-v2-btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.cta-v2-btn-outline:hover {
  background: var(--ink);
  color: #fff;
  gap: 18px;
}

/* ===========================
   Reveal animations
   =========================== */
.reveal-v2 {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 1.1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal-v2.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-v2.delay-1 { transition-delay: 0.12s; }
.reveal-v2.delay-2 { transition-delay: 0.24s; }
.reveal-v2.delay-3 { transition-delay: 0.36s; }

/* ===========================
   Responsive: Tablet
   =========================== */
@media (max-width: 960px) {
  .hero-v2-split { min-height: 0; }
  .hero-v2-text { padding: 80px 48px 80px 40px; }

  .stats-v2,
  .message-v2,
  .services-v2,
  .cases-v2,
  .recruit-v2 { padding: 140px 0; }
  .cta-v2 { padding: 140px 0 120px; }

  .stats-v2-inner,
  .news-v2-inner,
  .message-v2-inner,
  .services-v2-inner,
  .cases-v2-inner,
  .recruit-v2-inner,
  .cta-v2-inner { padding: 0 40px; }

  .stats-v2-grid { gap: 32px; margin-top: 96px; padding-top: 48px; }
  .stats-v2-item-number { font-size: 44px; }
  .stats-v2-caption { font-size: 20px; }

  .services-v2-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 20px;
    min-height: auto;
  }
  .bento-item-main {
    grid-column: 1 / 3;
    grid-row: 1;
    padding: 56px 48px;
  }
  .bento-item-main .bento-title { font-size: 40px; }

  .cases-v2-grid { grid-template-columns: repeat(3, 1fr); gap: 28px; }

  .message-v2-item {
    grid-template-columns: 140px 1fr;
    gap: 48px;
  }
  .message-v2-number { font-size: 96px; }
  .message-v2-intro { margin-bottom: 100px; }
  .message-v2-items { gap: 72px; }

  .news-v2 { padding: 120px 0; }
  .news-v2-title { font-size: 36px; }

  .services-v2-title,
  .cases-v2-title { font-size: 36px; }
}

/* ===========================
   Responsive: Mobile
   =========================== */
@media (max-width: 720px) {
  .hero-v2-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-v2-image-side {
    height: 56vw;
    min-height: 220px;
    max-height: 360px;
    order: -1;
  }
  .hero-v2-image-side::before {
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(180deg, transparent 0%, #0a0a0a 100%);
  }
  .hero-v2-text {
    padding: 48px 28px 56px;
    max-width: none;
    margin-left: 0;
  }
  .hero-v2-eyebrow {
    margin-bottom: 24px;
    font-size: 10px;
    letter-spacing: 0.3em;
  }
  .hero-v2-eyebrow::before { width: 28px; }
  .hero-v2-headline {
    margin-bottom: 24px;
    letter-spacing: 0.02em;
  }
  .hero-v2-headline-sub {
    font-size: 10px;
    margin-top: 16px;
    letter-spacing: 0.08em;
    line-height: 1.6;
  }
  .hero-v2-lead {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 28px;
  }
  .hero-v2-meta {
    gap: 12px 20px;
    font-size: 9px;
    letter-spacing: 0.18em;
    padding-top: 20px;
  }

  .stats-v2,
  .message-v2,
  .services-v2,
  .cases-v2,
  .recruit-v2 { padding: 100px 0; }
  .cta-v2 { padding: 100px 0 88px; }

  .stats-v2-inner,
  .news-v2-inner,
  .message-v2-inner,
  .services-v2-inner,
  .cases-v2-inner,
  .recruit-v2-inner,
  .cta-v2-inner { padding: 0 28px; }

  .stats-v2-eyebrow { font-size: 10px; margin-bottom: 32px; }
  .stats-v2-caption { font-size: 16px; line-height: 1.85; }
  .stats-v2-caption-sub { font-size: 12px; }
  .stats-v2-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 72px;
    padding-top: 40px;
  }
  .stats-v2-item-number { font-size: 40px; }

  .news-v2 { padding: 96px 0; }
  .news-v2-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 36px;
    padding-bottom: 24px;
  }
  .news-v2-title { font-size: 28px; }
  .news-v2-item a {
    grid-template-columns: 1fr auto;
    gap: 12px 16px;
    padding: 20px 0;
  }
  .news-v2-date {
    font-size: 11px;
    grid-column: 1 / -1;
    color: #888;
  }
  .news-v2-headline { font-size: 14px; line-height: 1.65; }
  .news-v2-item a:hover { padding-left: 0; }

  .message-v2-headline { font-size: 32px; line-height: 1.45; }
  .message-v2-intro { margin-bottom: 72px; }
  .message-v2-items { gap: 56px; }
  .message-v2-item {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .message-v2-number { font-size: 72px; }
  .message-v2-item-title { font-size: 24px; }
  .message-v2-item-list strong { font-size: 15px; }

  .services-v2-header,
  .cases-v2-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 48px;
  }
  .services-v2-title,
  .cases-v2-title { font-size: 28px; margin-bottom: 16px; }
  .services-v2-bento {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .bento-item {
    padding: 32px 24px;
  }
  .bento-item-main {
    grid-column: 1;
    padding: 40px 24px;
  }
  .bento-title { font-size: 20px; line-height: 1.45; }
  .bento-item-main .bento-title { font-size: 24px; line-height: 1.45; }
  .bento-text { font-size: 13px; line-height: 1.85; }
  .bento-item-main .bento-text { font-size: 14px; }
  .bento-link { font-size: 11px; margin-top: 28px; }

  .cases-v2-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .case-v2-title { font-size: 20px; }

  .recruit-v2-headline { font-size: 30px; }
  .recruit-v2-btn { padding: 16px 36px; font-size: 11px; }

  .cta-v2-headline { font-size: 26px; }
  .cta-v2-btn { padding: 16px 32px; font-size: 11px; }
  .cta-v2-actions { flex-direction: column; width: 100%; }
  .cta-v2-btn { justify-content: center; }
}

/* ===========================================================
   SITE-WIDE EDITORIAL OVERRIDES (sub pages)
   Overrides classes from styles.css and subpages.css to apply
   the same editorial-craft feel to every page.
   =========================================================== */

/* ---------- Responsive: hide decorative <br> on mobile --------- */
@media (max-width: 720px) {
  .hero-sub .hero-lead br,
  .hero-v2-headline br,
  .hero-v2-lead br,
  .recruit-v2-headline br,
  .recruit-hero-title br,
  .section-cta p br,
  .editorial-section-head-lead br,
  .editorial-emotion-text br,
  .editorial-emotion-highlight br,
  .editorial-visit-note br,
  .message-lead-text br,
  .footer-copy br,
  .cta-v2-text br {
    display: none;
  }
}

/* ---------- Accessibility --------- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  background: var(--ink);
  color: #fff;
  padding: 12px 24px;
  font-family: var(--sans-en);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-decoration: none;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 8px;
}

*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Base typography --------- */
body {
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ---------- Text-wrap balance (prevent orphan lines) --------- */
.hero-sub .hero-lead,
.section-cta p,
.editorial-section-head-lead,
.editorial-emotion-text,
.editorial-emotion-highlight,
.editorial-service-tag,
.editorial-visit-note,
.editorial-visit-lead,
.message-lead-text,
.message-v2-intro-text,
.stats-v2-caption,
.stats-v2-caption-sub,
.recruit-hero-lead,
.recruit-v2-text,
.cta-v2-text,
.footer-copy {
  text-wrap: balance;
}

/* ---------- Headline line splits --------- */
.message-headline-line,
.recruit-hero-title-line {
  display: block;
}

/* ---------- Site header (editorial) --------- */
.site-header {
  width: 100%;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
}

.header-nav {
  margin-left: auto;
  margin-right: auto;
}

/* Social icons: footer only on desktop */
.nav-social-mobile {
  display: none;
}

.header-logo a {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
}

.logo-main {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.15;
}

.logo-sub {
  font-family: var(--sans-en);
  font-size: 10px;
  color: #888;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 0;
}

.header-nav ul {
  gap: 32px;
}

.header-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #555;
  transition: color 0.3s;
}

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

.header-actions {
  gap: 20px;
}

/* Language switch: remove pill, simple text toggle */
.nav-lang .nav-lang-link {
  min-width: 0;
  height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink);
  gap: 0;
}

.nav-lang .nav-lang-link:hover {
  background: transparent;
}

.nav-lang-text {
  gap: 8px;
  font-weight: 500;
}

.nav-lang-option {
  color: #aaa;
  transition: color 0.3s;
}

.nav-lang-option.is-active {
  color: var(--ink);
  font-weight: 600;
}

.nav-lang-link:hover .nav-lang-option:not(.is-active) {
  color: var(--accent);
}

.nav-lang-sep {
  color: #ccc;
  font-weight: 400;
}

/* SOS login button in header */
.nav-sos-btn {
  font-family: var(--sans-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff !important;
  background: var(--ink);
  padding: 8px 16px;
  text-decoration: none;
  transition: background 0.3s;
  white-space: nowrap;
}

.nav-sos-btn:hover {
  background: var(--accent);
  color: #fff !important;
}

/* Bento double actions */
.bento-actions {
  display: flex;
  gap: 24px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.bento-actions .bento-link {
  margin-top: 0;
}

/* Social icons: flat monochrome */
.nav-social-mobile {
  gap: 14px;
}

.nav-icon {
  width: 32px;
  height: 32px;
  border-radius: 0;
  background: none;
  color: #555;
  padding: 0;
  transition: color 0.3s, transform 0.3s;
  box-shadow: none;
}

.nav-icon-x {
  background: none;
  color: #555;
}

.nav-icon:hover {
  transform: none;
  box-shadow: none;
  color: var(--accent);
  background: none;
}

.nav-icon svg {
  width: 18px;
  height: 18px;
}

/* Hamburger */
.header-toggle span {
  background: var(--ink);
  width: 22px;
  height: 1.5px;
  border-radius: 0;
}

/* Responsive */
@media (max-width: 960px) {
  .header-inner {
    padding: 18px 24px;
    gap: 24px;
  }
  .header-nav ul {
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 14px 20px;
    gap: 16px;
  }
  .logo-main { font-size: 15px; }
  .logo-sub { font-size: 9px; }
  .header-nav {
    inset: 52px 0 auto 0 !important;
  }
  .header-nav ul {
    gap: 0;
    padding: 20px 24px !important;
  }
  .header-nav a {
    font-size: 14px !important;
    letter-spacing: 0.04em;
    padding: 16px 0 !important;
    border-bottom: 1px solid var(--line-soft) !important;
  }
  .nav-sos-login {
    padding: 20px 0 8px !important;
    border-bottom: none !important;
  }
  .nav-sos-btn {
    display: block !important;
    width: 100%;
    text-align: center;
    padding: 16px 20px !important;
    font-size: 12px !important;
    letter-spacing: 0.18em !important;
  }
  .nav-social-mobile {
    display: inline-flex !important;
    padding: 16px 0;
    justify-content: center;
    gap: 18px;
  }
  .nav-lang .nav-lang-link {
    font-size: 12px;
  }
}

/* ---------- Hero sub (all inner pages) --------- */
.hero-sub {
  background: #0a0a0a;
  padding: 180px 0 140px;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.hero-sub::before {
  content: "";
  position: absolute;
  inset: auto;
  top: -30%;
  right: -15%;
  bottom: auto;
  left: auto;
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(60,143,124,0.18) 0%, transparent 60%);
  pointer-events: none;
}

.hero-sub::after {
  content: "";
  position: absolute;
  inset: auto;
  top: auto;
  right: auto;
  left: -10%;
  bottom: -40%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(60,143,124,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-sub .container {
  position: relative;
  z-index: 1;
}

.hero-sub .hero-eyebrow {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  margin: 0 0 32px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-weight: 500;
}

.hero-sub .hero-eyebrow::before {
  content: "";
  width: 40px;
  height: 1px;
  background: rgba(255,255,255,0.5);
  display: inline-block;
}

.hero-sub .hero-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4.5vw, 56px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: #fff;
  margin: 0 0 32px;
  text-shadow: none;
}

.hero-sub .hero-lead {
  font-size: 15px;
  line-height: 2;
  color: rgba(255,255,255,0.78);
  max-width: 640px;
  margin: 0;
}

.hero-sub.hero-sub-compact {
  padding: 140px 0 100px;
}

/* ---------- Breadcrumb refinements --------- */
.breadcrumb-wrapper {
  background: var(--paper-soft);
  border-bottom: 1px solid var(--line-soft);
  padding: 18px 0;
}

.breadcrumb {
  font-size: 12px;
  letter-spacing: 0.06em;
}

.breadcrumb a {
  color: var(--ink);
}

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

/* ---------- Sections --------- */
.section {
  padding: 160px 0;
}

.section-narrow {
  padding: 120px 0;
}

.section-bg-primary-light {
  background: var(--paper-soft);
}

/* ---------- Section headers --------- */
.section-header {
  margin-bottom: 80px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 20px;
}

.section-subtitle {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: #777;
  line-height: 1.8;
  margin: 0;
}

/* ---------- Cards (generic) --------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 40px 32px;
  box-shadow: none;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.4s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(10,10,10,0.06);
  border-color: var(--accent-bright);
}

.card h3,
.card-grid .card h3 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--ink);
  margin: 16px 0 14px;
}

.card p {
  font-size: 14px;
  line-height: 1.9;
  color: #444;
}

.card-tag {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.25em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
}

/* ---------- Feature cards --------- */
.feature-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 48px 36px;
  box-shadow: none;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.4s;
  position: relative;
  text-align: left;
}

.feature-card::before {
  display: none;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(10,10,10,0.06);
  border-color: var(--accent-bright);
}

.feature-card-number {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
  padding: 0;
}

.feature-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 16px;
}

.feature-card p {
  font-size: 14px;
  line-height: 1.9;
  color: #444;
  margin: 0;
}

/* ---------- Buttons --------- */
.btn {
  border-radius: 0;
  padding: 20px 40px;
  font-size: 13px;
  letter-spacing: 0.08em;
  font-weight: 500;
  transition: all 0.4s;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid;
}

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

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  gap: 18px;
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: #fff;
  gap: 18px;
}

/* ---------- Link-more --------- */
.link-more {
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  transition: color 0.3s, gap 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.link-more:hover {
  color: var(--accent);
  gap: 14px;
}

/* ---------- Section CTA (contact at bottom of pages) --------- */
.section-cta {
  background: var(--ink);
  background-image: none;
  color: #fff;
  padding: 180px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: "";
  position: absolute;
  inset: auto;
  top: -40%;
  right: auto;
  bottom: auto;
  left: 50%;
  transform: translateX(-50%);
  width: 1200px;
  height: 1200px;
  background: radial-gradient(circle, rgba(60,143,124,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.section-cta .container {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.section-cta .section-title,
.section-cta h2 {
  color: #fff;
  margin-bottom: 28px;
  font-family: var(--serif);
}

.section-cta p {
  color: rgba(255,255,255,0.8);
  font-size: 15px;
  line-height: 2;
  margin-bottom: 48px;
}

.section-cta .btn-primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

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

.section-cta .btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}

.section-cta .btn-outline:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

/* ---------- Services page: service-feature blocks --------- */
.service-feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 72px 56px;
  box-shadow: none;
}

.service-feature-title {
  font-family: var(--serif);
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--ink);
}

.service-label {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  background: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  display: inline-block;
  margin: 0 0 16px;
}

.service-feature {
  background-image: none;
}

.service-feature::before {
  display: none;
}

.service-tag {
  font-size: 14px;
  color: #777;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

.service-text {
  font-size: 15px;
  line-height: 2;
  color: #444;
}

.service-list li {
  font-size: 14px;
  line-height: 1.9;
  color: #444;
}

/* ---------- Features page: message (MVV-like) --------- */
.message-headline {
  font-family: var(--serif);
  font-size: clamp(34px, 5vw, 60px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--ink);
}

.message-lead-text {
  font-size: 16px;
  line-height: 2;
  color: #444;
  margin-bottom: 12px;
}

.message-lead-text:last-of-type {
  margin-bottom: 0;
}

.message-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 56px 48px;
  box-shadow: none;
}

.message-label {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: #777;
  text-transform: uppercase;
  font-weight: 600;
}

.message-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--ink);
}

.message-text {
  font-size: 15px;
  line-height: 2;
  color: #444;
}

.message-key-text,
.message-key p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
  color: var(--accent);
  font-weight: 500;
}

.message-key span,
.message-key-label {
  font-family: var(--sans-en);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: #777;
  text-transform: uppercase;
  font-weight: 600;
}

.message-list li strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}

/* ---------- Cases page: accordion --------- */
.cases-accordion {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: none;
}

.cases-accordion-header {
  font-family: var(--serif);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 32px 40px;
  background: #fff;
  color: var(--ink);
}

/* Case detail: flatten the old card */
.case-detail {
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 40px 0;
  margin-bottom: 0;
  border-bottom: 1px solid var(--line);
}

.case-detail:last-child {
  border-bottom: none;
}

.case-images {
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 0;
}

.case-image {
  border-radius: 0;
  box-shadow: none;
  border: 1px solid var(--line-soft);
}

.case-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 0;
}

.case-label {
  font-family: var(--sans-en);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  background: rgba(10, 10, 10, 0.82);
  border-radius: 0;
  padding: 6px 12px;
  bottom: 12px;
  left: 12px;
}

.case-label.after {
  background: var(--accent);
}

@media (max-width: 720px) {
  .cases-accordion-header { padding: 24px 28px; font-size: 18px; }
  .case-detail { padding: 32px 0; }
  .case-images { gap: 8px; }
  .case-label { font-size: 9px; padding: 5px 10px; bottom: 8px; left: 8px; }
}

/* ---------- Company page: table --------- */
.company-overview .table-simple th,
.table-simple th {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.table-simple td {
  font-size: 14px;
  line-height: 1.9;
  color: #444;
}

.map-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ---------- Calendar page (editorial flat) --------- */
.calendar-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-direction: row;
  gap: 32px;
  margin-bottom: 64px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--line);
}

.calendar-empty {
  max-width: 560px;
  margin: 80px auto;
  text-align: center;
  padding: 72px 48px;
  border: 1px solid var(--line);
}

.calendar-empty-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0 0 16px;
}

.calendar-empty-text {
  font-size: 13px;
  color: #777;
  margin: 0;
  letter-spacing: 0.04em;
}

.calendar-year {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-align: left;
  line-height: 1.4;
  margin: 0;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: #777;
  text-transform: uppercase;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 0;
  display: inline-block;
  background: var(--accent);
}

.legend-dot.is-sunday { background: #b91c1c; }
.legend-dot.is-closed { background: var(--accent); }

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px 24px;
}

.calendar-card {
  background: #fff;
  border: none;
  border-top: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  padding: 24px 0 8px;
}

.calendar-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-align: left;
  margin: 0 0 20px;
  line-height: 1;
}

.calendar-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-family: var(--sans-en);
  font-size: 12px;
}

.calendar-table th,
.calendar-table td {
  text-align: center;
  padding: 8px 0;
  border-bottom: none;
}

.calendar-table thead th {
  font-family: var(--sans-en), "Hiragino Kaku Gothic ProN", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.12em;
  color: #999;
  background: transparent;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.calendar-table tbody td {
  color: var(--ink);
  font-weight: 400;
}

.calendar-table td span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 0;
  font-size: 13px;
}

.calendar-table th:first-child {
  color: var(--accent);
}

.calendar-table td:first-child span,
.calendar-table td.is-sunday span,
.calendar-table td.is-closed span {
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  border-radius: 0;
}

.calendar-table td.is-empty {
  background: transparent;
  border: none;
}

.calendar-note {
  margin: 48px 0 0;
  font-size: 12px;
  color: #777;
  line-height: 1.8;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 720px) {
  .calendar-meta {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-bottom: 24px;
    gap: 20px;
  }
  .calendar-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .calendar-card { padding: 20px 0 4px; }
  .calendar-title { font-size: 18px; margin-bottom: 16px; }
  .calendar-table td span { width: 26px; height: 26px; font-size: 12px; }
  .calendar-table thead th { font-size: 9px; padding-bottom: 10px; }
  .calendar-empty { padding: 56px 32px; margin: 56px auto; }
  .calendar-empty-title { font-size: 20px; }
}

/* ---------- Contact form --------- */
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 56px 48px;
  box-shadow: none;
}

.form-group label {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--ink);
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 16px 18px;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.form-alert-success {
  border-left: 3px solid var(--accent);
  background: var(--paper-soft);
  color: var(--ink);
  padding: 24px 28px;
  border-radius: 0;
}

.required {
  font-family: var(--sans-en);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  font-weight: 600;
  background: var(--ink);
  padding: 3px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ---------- Privacy / legal --------- */
.legal-section h2 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  line-height: 1.5;
  margin: 48px 0 20px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.legal-section:first-of-type h2 {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.legal-section p,
.legal-section li {
  font-size: 15px;
  line-height: 2;
  color: #444;
}

/* ---------- News list / show --------- */
.news-list-page {
  border-top: 1px solid var(--line);
}

.news-list-item {
  border-bottom: 1px solid var(--line-soft);
  transition: padding-left 0.3s;
}

.news-list-item:hover {
  padding-left: 12px;
}

.news-list-item a {
  padding: 32px 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.news-list-item time {
  font-family: var(--sans-en);
  font-size: 13px;
  letter-spacing: 0.1em;
  color: #777;
}

.news-list-item h2 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}

.news-article-header h1 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: var(--ink);
  margin-top: 20px;
}

.news-article-header time {
  font-family: var(--sans-en);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: #777;
}

.news-article-body,
.news-article-body p {
  font-size: 16px;
  line-height: 2;
  color: #333;
}

.news-article-body h2 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 48px 0 20px;
  color: var(--ink);
}

.news-article-body h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 32px 0 16px;
  color: var(--ink);
}

/* ---------- Two-column layout (features 技術力の証明 etc.) --------- */
.two-col .text-block h3 {
  font-family: var(--serif) !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em;
}

.two-col .col-image img {
  border-radius: 0;
  box-shadow: none;
}

/* ===========================================================
   REUSABLE EDITORIAL PATTERNS (sub pages)
   =========================================================== */

/* ---------- Editorial list (features 6 strengths etc.) --------- */
.editorial-list {
  display: flex;
  flex-direction: column;
  max-width: 1080px;
  margin: 0 auto;
}

.editorial-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 72px;
  align-items: start;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.editorial-row:first-child {
  border-top: none;
  padding-top: 0;
}

.editorial-row:last-child {
  padding-bottom: 0;
}

.editorial-row-number {
  font-family: var(--serif);
  font-size: 88px;
  font-weight: 300;
  color: var(--accent);
  line-height: 0.85;
  letter-spacing: -0.02em;
}

.editorial-row-label {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: #777;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin: 0 0 18px;
}

.editorial-row-title {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 20px;
}

.editorial-row-text {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin: 0;
}

.editorial-row-text + .editorial-row-text {
  margin-top: 14px;
}

/* ---------- Editorial stats spread (company, cases stats) --------- */
.editorial-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 80px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.editorial-stats-item {
  text-align: center;
  padding: 0 20px;
  border-left: 1px solid var(--line);
}

.editorial-stats-item:first-child {
  border-left: none;
  padding-left: 0;
}

.editorial-stats-number {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 400;
  color: var(--ink);
  line-height: 0.95;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 16px;
}

.editorial-stats-number-unit {
  font-size: 0.32em;
  color: #777;
  font-weight: 400;
  margin-left: 6px;
  letter-spacing: 0;
}

.editorial-stats-number .accent {
  color: var(--accent);
}

/* Second stats row (recruit numbers bottom half) */
.editorial-stats-second {
  margin-top: 40px;
  border-top: none;
  padding-top: 0;
}
@media (max-width: 720px) {
  .editorial-stats-second {
    margin-top: 0;
  }
}

.editorial-stats-label {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #777;
  font-weight: 600;
  display: block;
}

.editorial-stats-caption {
  font-size: 12px;
  color: #777;
  line-height: 1.7;
  margin: 8px 0 0;
}

/* ---------- Editorial service blocks (services alt layout) --------- */
.editorial-service-list {
  display: flex;
  flex-direction: column;
  gap: 160px;
  max-width: 1400px;
  margin: 0 auto;
}

.editorial-service {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

.editorial-service.reverse {
  direction: rtl;
}

.editorial-service.reverse > * {
  direction: ltr;
}

.editorial-service-image {
  overflow: hidden;
  background: var(--paper-soft);
  border-radius: 4px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.editorial-service-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.editorial-service:hover .editorial-service-image img {
  transform: scale(1.03);
}

.editorial-service-label {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  margin: 0 0 20px;
}

.editorial-service-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 20px;
}

.editorial-service-tag {
  font-size: 14px;
  line-height: 1.8;
  color: #777;
  margin: 0 0 32px;
}

.editorial-service-text {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin: 0 0 28px;
}

.editorial-service-list-items {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
}

.editorial-service-list-items li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.8;
  color: #444;
  position: relative;
  padding-left: 24px;
}

.editorial-service-list-items li::before {
  content: "／";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-family: var(--serif);
}

.editorial-service-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.1em;
  border: 1px solid var(--ink);
  transition: all 0.4s;
}

.editorial-service-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  gap: 18px;
}

.editorial-service-list-items li strong {
  display: inline-block;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  margin-right: 12px;
  letter-spacing: 0.04em;
}

/* Service 02: full-width variant with sub-services */
.editorial-service-full {
  max-width: 1200px;
  margin: 0 auto;
}

.editorial-service-full-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.editorial-service-btn-row {
  text-align: center;
  margin-top: 56px;
}

/* ---------- Editorial numbered process (service request flow) --------- */
.editorial-process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.editorial-process-item {
  position: relative;
  padding-top: 20px;
}

.editorial-process-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 1px;
  background: var(--accent);
}

.editorial-process-number {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 300;
  color: var(--accent);
  line-height: 0.9;
  display: block;
  margin: 0 0 24px;
  letter-spacing: -0.02em;
}

.editorial-process-title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 12px;
}

.editorial-process-text {
  font-size: 13px;
  line-height: 1.85;
  color: #777;
  margin: 0;
}

/* ---------- Editorial timeline (company history) --------- */
.editorial-timeline {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

.editorial-timeline-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 72px;
  padding: 40px 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}

.editorial-timeline-row:first-child {
  border-top: none;
  padding-top: 0;
}

.editorial-timeline-year {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.01em;
}

.editorial-timeline-year-unit {
  font-size: 0.4em;
  color: #777;
  margin-left: 4px;
  font-weight: 400;
}

.editorial-timeline-text {
  font-size: 15px;
  line-height: 1.95;
  color: #333;
  margin: 0;
}

/* ---------- Editorial quote (customer voices) --------- */
.editorial-quotes {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
  max-width: 960px;
  margin: 0 auto;
}

.editorial-quote {
  padding: 48px 0;
  border-top: 1px solid var(--line);
}

.editorial-quote:first-child {
  border-top: none;
  padding-top: 0;
}

.editorial-quote-mark {
  font-family: var(--serif);
  font-size: 80px;
  color: var(--accent);
  line-height: 0.5;
  margin-bottom: 24px;
  display: block;
}

.editorial-quote-text {
  font-family: var(--serif);
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 400;
  line-height: 1.8;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin: 0;
}

/* ---------- Editorial tag grid (material types, benefits) --------- */
.editorial-tag-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
  border: 1px solid var(--line);
}

.editorial-tag-item {
  background: #fff;
  padding: 44px 32px;
  text-align: left;
}

.editorial-tag-item h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin: 0 0 10px;
  color: var(--ink);
}

.editorial-tag-item p {
  font-size: 12px;
  line-height: 1.8;
  color: #777;
  margin: 0;
}

/* ---------- Editorial section header (shared for sub pages) --------- */
.editorial-section-head {
  max-width: 720px;
  margin: 0 auto 80px;
  text-align: center;
}

.editorial-section-head.left {
  margin-left: 0;
  text-align: left;
}

.editorial-section-head-eyebrow {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: #777;
  text-transform: uppercase;
  font-weight: 500;
  display: block;
  margin: 0 0 20px;
}

.editorial-section-head-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--ink);
  margin: 0 0 20px;
}

.editorial-section-head-lead {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin: 0;
}

/* ---------- Editorial responsive ---------- */
@media (max-width: 960px) {
  .editorial-row {
    grid-template-columns: 140px 1fr;
    gap: 48px;
    padding: 48px 0;
  }
  .editorial-row-number { font-size: 88px; }
  .editorial-row-title { font-size: 26px; }

  .editorial-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 32px;
    padding: 56px 0;
  }
  .editorial-stats-item {
    padding: 0 16px;
    border-left: none;
  }
  .editorial-stats-item:nth-child(even) {
    padding-right: 0;
    border-left: 1px solid var(--line);
    padding-left: 32px;
  }
  .editorial-stats-item:nth-child(odd) {
    padding-left: 0;
  }
  .editorial-stats-number {
    font-size: clamp(42px, 5.6vw, 64px);
  }

  .editorial-tag-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .editorial-service-list {
    gap: 112px;
  }
  .editorial-service {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .editorial-service.reverse {
    direction: ltr;
  }
  .editorial-service-image {
    max-width: 600px;
    margin: 0 auto;
  }

  .editorial-process {
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 40px;
  }

  .editorial-timeline-row {
    grid-template-columns: 140px 1fr;
    gap: 40px;
    padding: 32px 0;
  }
  .editorial-timeline-year { font-size: 36px; }

  .editorial-tag-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .editorial-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 36px 0;
  }
  .editorial-row-number { font-size: 64px; }
  .editorial-row-title { font-size: 20px; line-height: 1.55; }
  .editorial-row-text { font-size: 14px; line-height: 1.9; }
  .editorial-row-label { margin-bottom: 12px; }

  .editorial-stats {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 0;
  }
  .editorial-stats-item {
    border-left: none !important;
    border-right: none !important;
    padding: 0 !important;
    padding-bottom: 36px !important;
    border-bottom: 1px solid var(--line);
  }
  .editorial-stats-item:last-child {
    border-bottom: none;
    padding-bottom: 0 !important;
  }
  .editorial-stats-number {
    font-size: 44px;
    line-height: 1;
    margin-bottom: 12px;
  }
  .editorial-stats-label { font-size: 10px; letter-spacing: 0.2em; }
  .editorial-stats-caption { font-size: 12px; margin-top: 6px; }

  .editorial-service-list { gap: 80px; }
  .editorial-service { gap: 28px; }
  .editorial-service-title { font-size: 22px; }
  .editorial-service-tag { font-size: 13px; margin-bottom: 24px; }
  .editorial-service-text { font-size: 14px; margin-bottom: 24px; }
  .editorial-service-list-items li { font-size: 13px; padding: 12px 0 12px 20px; }
  .editorial-service-btn {
    display: block;
    padding: 18px 20px;
    font-size: 11px;
    letter-spacing: 0.04em;
    line-height: 1.6;
    width: 100%;
    text-align: center;
  }
  .editorial-service-btn span {
    margin-left: 8px;
  }

  .editorial-process {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .editorial-process-number { font-size: 56px; }
  .editorial-process-title { font-size: 18px; }

  .editorial-timeline-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 28px 0;
  }
  .editorial-timeline-year { font-size: 28px; }
  .editorial-timeline-text { font-size: 14px; line-height: 1.9; }

  .editorial-quotes { gap: 40px; }
  .editorial-quote { padding: 28px 0; }
  .editorial-quote-mark { font-size: 56px; margin-bottom: 16px; }
  .editorial-quote-text { font-size: 16px; line-height: 1.85; }

  .editorial-tag-grid {
    grid-template-columns: 1fr;
  }
  .editorial-tag-item { padding: 28px 24px; }
  .editorial-tag-item h3 { font-size: 18px; }
  .editorial-tag-item p { font-size: 12px; }

  .editorial-section-head {
    margin-bottom: 44px;
  }
  .editorial-section-head-title { font-size: 26px; line-height: 1.4; }
  .editorial-section-head-lead { font-size: 14px; line-height: 1.85; }
  .editorial-section-head-eyebrow { font-size: 10px; letter-spacing: 0.28em; }
}

/* ---------- Editorial fit (向いている人/向いていない人 2 col) --------- */
.editorial-fit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  max-width: 1100px;
  margin: 0 auto;
}

.editorial-fit-col {
  padding: 56px 48px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
}

.editorial-fit-col.bad {
  background: var(--paper-soft);
}

.editorial-fit-icon {
  font-family: var(--serif);
  font-size: 48px;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 24px;
}

.editorial-fit-col.bad .editorial-fit-icon {
  color: #999;
}

.editorial-fit-label {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: #777;
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.editorial-fit-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.editorial-fit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.editorial-fit-list li {
  font-size: 15px;
  line-height: 1.85;
  color: #444;
  padding: 12px 0 12px 24px;
  position: relative;
}

.editorial-fit-list li::before {
  position: absolute;
  left: 0;
  top: 14px;
  font-family: var(--serif);
  color: var(--accent);
  font-size: 14px;
}

.editorial-fit-col.good .editorial-fit-list li::before {
  content: "／";
}

.editorial-fit-col.bad .editorial-fit-list li::before {
  content: "×";
  color: #999;
}

/* ---------- Editorial position (job postings) --------- */
.editorial-positions {
  display: flex;
  flex-direction: column;
  gap: 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.editorial-position {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 72px;
  align-items: start;
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

.editorial-position:first-child {
  border-top: none;
  padding-top: 0;
}

.editorial-position-index {
  font-family: var(--serif);
  font-size: 72px;
  font-weight: 300;
  color: var(--accent);
  line-height: 0.85;
  letter-spacing: -0.02em;
  display: block;
  margin-bottom: 12px;
}

.editorial-position-tag {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #777;
  font-weight: 600;
  display: block;
  margin-bottom: 18px;
}

.editorial-position-title {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 14px;
}

.editorial-position-subtitle {
  font-size: 14px;
  line-height: 1.8;
  color: #777;
  margin: 0 0 28px;
  letter-spacing: 0.02em;
}

.editorial-position-description {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin: 0 0 36px;
}

.editorial-position-description p {
  margin: 0;
}

.editorial-position-steps-title {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #777;
  font-weight: 600;
  display: block;
  margin: 0 0 28px;
}

.editorial-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--line-soft);
}

.editorial-step {
  position: relative;
  padding-top: 20px;
}

.editorial-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.editorial-step-number {
  font-family: var(--sans-en);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  display: block;
  margin-bottom: 10px;
}

.editorial-step-name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
}

.editorial-step-desc {
  font-size: 12px;
  line-height: 1.7;
  color: #777;
  margin: 0;
}

.editorial-position-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line-soft);
}

.editorial-position-list li {
  padding: 18px 0 18px 24px;
  border-bottom: 1px solid var(--line-soft);
  font-size: 14px;
  line-height: 1.85;
  color: #444;
  position: relative;
}

.editorial-position-list li::before {
  content: "／";
  position: absolute;
  left: 0;
  font-family: var(--serif);
  color: var(--accent);
}

.editorial-position-note {
  font-size: 12px;
  color: #888;
  margin: 20px 0 0;
}

/* ---------- Editorial career path (4-step horizontal) --------- */
.editorial-career {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto 32px;
}

.editorial-career-step {
  text-align: center;
  padding: 40px 16px;
  border: 1px solid var(--line);
  background: #fff;
}

.editorial-career-step.highlight {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.editorial-career-step.highlight .editorial-career-step-number,
.editorial-career-step.highlight .editorial-career-step-name {
  color: #fff;
}

.editorial-career-step.highlight .editorial-career-step-en {
  color: rgba(255,255,255,0.65);
}

.editorial-career-step-number {
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
}

.editorial-career-step-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  display: block;
  margin-bottom: 4px;
}

.editorial-career-step-en {
  font-family: var(--sans-en);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: #777;
  text-transform: uppercase;
}

.editorial-career-arrow {
  width: 24px;
  height: 1px;
  background: var(--line);
  position: relative;
}

.editorial-career-arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--ink);
  border-top: 1px solid var(--ink);
  transform: translateY(-50%) rotate(45deg);
}

.editorial-career-note {
  font-size: 13px;
  color: #777;
  text-align: center;
  margin: 40px 0 0;
}

/* ---------- Editorial interview (photo + Q&A) --------- */
.editorial-interviews {
  display: flex;
  flex-direction: column;
  gap: 120px;
  max-width: 1100px;
  margin: 0 auto;
}

.editorial-interview {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 72px;
  align-items: start;
}

.editorial-interview:nth-child(even) {
  direction: rtl;
}

.editorial-interview:nth-child(even) > * {
  direction: ltr;
}

.editorial-interview-photo {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--paper-soft);
}

.editorial-interview-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.editorial-interview:hover .editorial-interview-photo img {
  transform: scale(1.03);
}

.editorial-interview-meta {
  margin: 0 0 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.editorial-interview-position {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
}

.editorial-interview-years {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #777;
  text-transform: uppercase;
  font-weight: 500;
}

.editorial-interview-qa {
  margin: 0;
}

.editorial-interview-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
}

.editorial-interview-item:last-child {
  border-bottom: none;
}

.editorial-interview-heading {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin: 0 0 12px;
  line-height: 1.5;
}

.editorial-interview-text {
  font-size: 14px;
  line-height: 1.95;
  color: #444;
  margin: 0;
}

/* ---------- Editorial gallery (workplace photos) --------- */
.editorial-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 4px;
  max-width: 1400px;
  margin: 0 auto;
}

.editorial-gallery-item {
  overflow: hidden;
  background: var(--paper-soft);
  aspect-ratio: 4/3;
}

.editorial-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.editorial-gallery-item:hover img {
  transform: scale(1.05);
}

.editorial-gallery-large {
  grid-column: 1;
  grid-row: 1 / 3;
  aspect-ratio: auto;
}

/* ---------- Editorial visit (見学案内) --------- */
.editorial-visit {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.editorial-visit.editorial-visit-single {
  grid-template-columns: 1fr;
  max-width: 760px;
  text-align: center;
}

.editorial-visit.editorial-visit-single .editorial-visit-details {
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.editorial-visit.editorial-visit-single .editorial-section-head-eyebrow {
  display: inline-block;
}

.editorial-visit-title {
  font-family: var(--serif);
  font-size: clamp(34px, 4.5vw, 56px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 24px;
}

.editorial-visit-lead {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.8;
  color: var(--accent);
  margin: 0 0 40px;
}

.editorial-visit-details {
  display: flex;
  flex-direction: column;
  margin: 0 0 32px;
}

.editorial-visit-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.editorial-visit-item:last-child {
  border-bottom: 1px solid var(--line);
}

.editorial-visit-label {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #777;
  text-transform: uppercase;
  font-weight: 600;
  padding-top: 2px;
}

.editorial-visit-value {
  font-size: 14px;
  line-height: 1.7;
  color: var(--ink);
}

.editorial-visit-note {
  font-size: 13px;
  line-height: 1.85;
  color: #777;
  margin: 0 0 32px;
}

.editorial-visit-image {
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper-soft);
}

.editorial-visit-image img {
  max-width: 80%;
  height: auto;
}

/* ---------- Editorial emotion (recruit emotion section) --------- */
.editorial-emotion {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.editorial-emotion-title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 56px;
}

.editorial-emotion-text {
  font-size: 16px;
  line-height: 2.2;
  color: #444;
  margin: 0 0 16px;
}

.editorial-emotion-text:last-of-type {
  margin-bottom: 0;
}

.editorial-emotion-highlight {
  font-family: var(--serif);
  font-size: clamp(20px, 2.5vw, 26px);
  color: var(--accent);
  line-height: 1.8;
  margin: 12px 0;
  letter-spacing: 0.04em;
  font-weight: 500;
}

.editorial-emotion-text + .editorial-emotion-highlight {
  margin-top: 36px;
}

.editorial-emotion-highlight + .editorial-emotion-text {
  margin-top: 36px;
}

/* ---------- Editorial story (2-col text + image) --------- */
.editorial-story {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 96px;
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}

.editorial-story-title {
  font-family: var(--serif);
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  color: var(--ink);
  margin: 0 0 40px;
}

.editorial-story-text p {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin: 0 0 24px;
}

.editorial-story-image {
  overflow: hidden;
  background: var(--paper-soft);
  display: flex;
  align-items: flex-start;
}

.editorial-story-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* ---------- Responsive: editorial recruit patterns --------- */
@media (max-width: 960px) {
  .editorial-fit {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .editorial-fit-col { padding: 40px 32px; }

  .editorial-position {
    grid-template-columns: 140px 1fr;
    gap: 48px;
  }
  .editorial-position-index { font-size: 72px; }
  .editorial-position-title { font-size: 26px; }
  .editorial-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .editorial-career {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
  .editorial-career-arrow { display: none; }
  .editorial-career-step { padding: 28px 12px; }
  .editorial-career-step-number { font-size: 32px; margin-bottom: 10px; }
  .editorial-career-step-name { font-size: 15px; }

  .editorial-interview {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .editorial-interview:nth-child(even) { direction: ltr; }
  .editorial-interview-photo { max-width: 400px; margin: 0 auto; }

  .editorial-gallery {
    grid-template-columns: 1fr 1fr;
  }
  .editorial-gallery-large {
    grid-column: 1 / 3;
    grid-row: 1;
    aspect-ratio: 16/9;
  }

  .editorial-visit {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .editorial-story {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .editorial-story-image {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .editorial-fit-col { padding: 32px 24px; }
  .editorial-fit-title { font-size: 22px; }

  .editorial-position {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 48px 0;
  }
  .editorial-position-index { font-size: 56px; }
  .editorial-position-title { font-size: 22px; }
  .editorial-steps {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .editorial-career {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .editorial-interview-position { font-size: 18px; }
  .editorial-interview-heading { font-size: 14px; }

  .editorial-visit-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 0;
  }
  .editorial-visit-title { font-size: 26px; }

  .editorial-emotion-title { font-size: 24px; margin-bottom: 36px; }
  .editorial-emotion-highlight { font-size: 19px; }

  .editorial-story-title { font-size: 26px; }

  .editorial-positions { gap: 48px; }
  .editorial-interviews { gap: 72px; }
}

/* ---------- SOS page (/sos) --------- */
.sos-intro {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.sos-intro-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.35;
  color: var(--ink);
  margin: 20px 0 28px;
}

.sos-intro-text {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin: 0 0 16px;
  text-wrap: balance;
}

.sos-intro-text:last-of-type {
  margin-bottom: 0;
}

.sos-intro-image {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sos-intro-image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 960px) {
  .sos-intro {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .sos-intro-image {
    max-width: 480px;
    margin: 0 auto;
  }
}

@media (max-width: 720px) {
  .sos-intro-title { font-size: 24px; }
  .sos-intro-text { font-size: 14px; }
}

/* ---------- SOS FAQ --------- */
.sos-faq {
  max-width: 900px;
  margin: 0 auto;
}

.sos-faq-item {
  padding: 40px 0;
  border-top: 1px solid var(--line);
}

.sos-faq-item:first-child {
  border-top: none;
  padding-top: 0;
}

.sos-faq-question {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 0 0 16px;
  line-height: 1.5;
}

.sos-faq-answer {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin: 0;
  padding-left: 28px;
  position: relative;
}

.sos-faq-answer::before {
  content: "A.";
  position: absolute;
  left: 0;
  font-family: var(--sans-en);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

@media (max-width: 720px) {
  .sos-faq-item { padding: 32px 0; }
  .sos-faq-question { font-size: 17px; }
  .sos-faq-answer { font-size: 14px; padding-left: 24px; }
}

/* ---------- Repair landing page (/repair) --------- */
.repair-notice {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 56px 40px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
}

.repair-notice-title {
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 20px 0 24px;
  line-height: 1.4;
}

.repair-notice-text {
  font-size: 15px;
  line-height: 2;
  color: #444;
  margin: 0;
  text-wrap: balance;
}

.repair-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.repair-link-card {
  display: flex;
  flex-direction: column;
  padding: 48px 40px;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: transform 0.4s, border-color 0.4s, box-shadow 0.4s;
  position: relative;
}

.repair-link-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 20px 48px rgba(10,10,10,0.06);
}

.repair-link-eyebrow {
  font-family: var(--sans-en);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--accent);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 16px;
}

.repair-link-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 1.4;
}

.repair-link-desc {
  font-size: 13px;
  line-height: 1.8;
  color: #777;
  flex: 1;
}

.repair-link-arrow {
  font-size: 18px;
  color: var(--ink);
  margin-top: 24px;
  transition: transform 0.3s, color 0.3s;
}

.repair-link-card:hover .repair-link-arrow {
  transform: translateX(8px);
  color: var(--accent);
}

@media (max-width: 960px) {
  .repair-links {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .repair-link-card { padding: 36px 32px; }
}

@media (max-width: 720px) {
  .repair-notice { padding: 40px 28px; }
  .repair-notice-title { font-size: 22px; }
  .repair-link-card { padding: 32px 24px; }
  .repair-link-title { font-size: 19px; }
}

/* ---------- Recruit page (recruit.blade.php) --------- */
.recruit-hero {
  background: #0a0a0a;
}

.recruit-hero-bg {
  background: #0a0a0a;
}

.recruit-hero-bg::before {
  background:
    radial-gradient(circle at 20% 30%, rgba(60,143,124,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(60,143,124,0.08) 0%, transparent 40%);
}

.recruit-hero-overlay {
  background: rgba(0, 0, 0, 0.3);
}

.recruit-hero-eyebrow {
  font-family: var(--sans-en);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
}

.recruit-hero-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.8vw, 48px);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
  text-shadow: none;
}

.recruit-hero-lead {
  font-size: 15px;
  line-height: 2;
  color: rgba(255,255,255,0.82);
}

.recruit-emotion-title,
.recruit-story-title,
.recruit-visit-title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.recruit-benefit-title,
.recruit-position-title,
.recruit-fit-title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.04em;
}

/* ---------- Recruit CTA section (legacy, dead code kept for safety) --------- */
.section-recruit {
  background: #0a0a0a;
  color: #fff;
  padding: 180px 0;
  position: relative;
  overflow: hidden;
}

.section-recruit::before {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 1100px;
  background: radial-gradient(circle, rgba(60,143,124,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.section-recruit .container {
  position: relative;
  z-index: 1;
}

.section-recruit .section-title {
  color: #fff;
}

.section-recruit .recruit-lead {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 500;
  color: #fff;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.section-recruit .recruit-text-main {
  color: rgba(255,255,255,0.78);
  font-size: 15px;
  line-height: 2;
}

.section-recruit .btn-primary {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

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

/* ---------- Responsive overrides for sub-page editorials --------- */
@media (max-width: 960px) {
  .hero-sub { padding: 140px 0 100px; }
  .hero-sub.hero-sub-compact { padding: 120px 0 80px; }
  .section { padding: 120px 0; }
  .section-header { margin-bottom: 56px; }
  .section-cta { padding: 140px 0; }
  .section-recruit { padding: 140px 0; }
  .service-feature { padding: 56px 40px; }
  .message-card { padding: 44px 36px; }
  .contact-form { padding: 44px 32px; }
}

@media (max-width: 720px) {
  .hero-sub { padding: 100px 0 72px; }
  .hero-sub.hero-sub-compact { padding: 88px 0 56px; }
  .hero-sub .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.28em;
    margin-bottom: 20px;
  }
  .hero-sub .hero-eyebrow::before { width: 28px; }
  .hero-sub .hero-title {
    font-size: clamp(26px, 7.5vw, 42px);
    letter-spacing: 0.02em;
    margin-bottom: 24px;
    line-height: 1.4;
  }
  .hero-sub .hero-lead { font-size: 14px; line-height: 1.9; }

  .section { padding: 72px 0; }
  .section-header { margin-bottom: 40px; }
  .section-title { font-size: clamp(22px, 7vw, 32px); }
  .section-cta { padding: 80px 0; }
  .section-recruit { padding: 80px 0; }

  .card { padding: 32px 24px; }
  .card h3 { font-size: 19px; }
  .feature-card { padding: 36px 28px; }
  .feature-card-number { font-size: 44px; margin-bottom: 18px; }
  .feature-card h3 { font-size: 20px; }

  .btn {
    padding: 16px 28px;
    font-size: 12px;
    letter-spacing: 0.06em;
  }

  .service-feature { padding: 40px 28px; }
  .service-feature-title { font-size: 22px; }

  .message-card { padding: 32px 24px; }
  .message-title { font-size: 22px; }
  .message-headline { font-size: 28px; }

  .cases-accordion-header { padding: 24px 28px; font-size: 18px; }

  .contact-form { padding: 32px 24px; }

  .news-list-item a {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px 0;
  }
  .news-list-item h2 { font-size: 17px; }

  .news-article-header h1 { font-size: 26px; }
  .news-article-body,
  .news-article-body p { font-size: 15px; }

  .legal-section h2 { font-size: 20px; }
  .legal-section p,
  .legal-section li { font-size: 14px; }

  .calendar-year { font-size: 20px; }
  .calendar-title { font-size: 18px; }
}
