/* ==================================================================
   abby GROUP — Corporate Portal
   Design: Clean / Readable / Premium / Corporate / Editorial
   Type:
     - Japanese: Noto Sans JP (body 400–500 / 16–17px / lh 1.9–2.0)
     - English display: Cormorant Garamond (elegant serif)
   Monochrome: WHITE / OFF-WHITE base, BLACK / CHARCOAL accents
   ================================================================== */

:root {
  --white: #ffffff;
  --off-white: #f7f6f3;
  --paper: #fbfaf8;
  --ink: #101010;
  --charcoal: #2a2a2a;
  /* logo navy (deep, near-black) */
  --navy: #0f1a2e;
  --gray: #6b6b6b;
  --gray-soft: #9a9a9a;
  --line: #e4e2dd;
  --line-dark: #303030;
  /* restrained accent — used sparingly */
  --gold: #a98b5d;

  /* Japanese UI / body */
  --sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Yu Gothic',
    Meiryo, 'Segoe UI', sans-serif;
  /* English display */
  --serif: 'Cormorant Garamond', 'Times New Roman', Times, serif;
  /* Logo — heavy geometric sans (lowercase 'abby') */
  --logo: 'Poppins', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN',
    'Yu Gothic', Meiryo, 'Segoe UI', sans-serif;

  --pad: clamp(24px, 5vw, 96px);
  --max: 1280px;
  --read: 620px; /* Japanese body measure (560–640px) */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ------------------------------------------------------------------ *
   Reset
 * ------------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  font-feature-settings: 'palt' 1;
  letter-spacing: 0.015em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
p,
figure,
ol,
ul {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

::selection {
  background: var(--ink);
  color: var(--white);
}

/* ------------------------------------------------------------------ *
   Layout helpers
 * ------------------------------------------------------------------ */
.wrap {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: clamp(120px, 15vw, 260px) 0;
  position: relative;
}

/* English section label (serif, elegant) */
.eyebrow {
  font-family: var(--serif);
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: clamp(30px, 4vw, 56px);
}

/* subtle gold tick before every English section label */
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 26px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 14px;
}

.eyebrow.light {
  color: rgba(255, 255, 255, 0.72);
}

.sec-head {
  margin-bottom: clamp(64px, 8vw, 128px);
}

.sec-head.center {
  text-align: center;
}

/* Japanese heading (sans, readable) */
.sec-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(27px, 4vw, 48px);
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--ink);
}

/* ------------------------------------------------------------------ *
   Reveal animation
 * ------------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1.1s var(--ease), transform 1.1s var(--ease);
  transition-delay: calc(var(--i, 0) * 120ms);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  html {
    scroll-behavior: auto;
  }
}

/* ------------------------------------------------------------------ *
   Page transition overlay
 * ------------------------------------------------------------------ */
.pt-overlay {
  position: fixed;
  inset: 0;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
  z-index: 9000;
}

.pt-overlay.is-on {
  opacity: 1;
}

/* ================================================================== *
   HEADER
 * ================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: background 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header .brand,
.site-header .global-nav a,
.site-header .btn-contact,
.site-header .nav-toggle span {
  color: var(--white);
  transition: color 0.45s var(--ease);
}

.site-header.is-solid {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}

.site-header.is-solid .brand,
.site-header.is-solid .global-nav a,
.site-header.is-solid .nav-toggle span {
  color: var(--ink);
}

/* logo uses the deep navy on light (solid) backgrounds */
.site-header.is-solid .brand-mark {
  color: var(--navy);
}

.site-header.is-solid .btn-contact {
  color: var(--ink);
  border-color: var(--ink);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px var(--pad);
  display: flex;
  align-items: center;
  gap: 40px;
}

/* Logo lockup: "abby" on top, "GROUP" centred underneath */
.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1;
  flex-shrink: 0;
}

/* "abby" — very heavy geometric sans, lowercase, tight tracking */
.brand-mark {
  font-family: var(--logo);
  font-weight: 800;
  font-size: 29px;
  letter-spacing: -0.02em;
  line-height: 0.9;
  text-transform: lowercase;
}

/* "GROUP" — small, light, uppercase, spread to ~58% of the mark width */
.brand-sub {
  display: inline-flex;
  justify-content: space-between;
  width: 58%;
  font-family: var(--sans);
  font-weight: 400;
  font-size: 9px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  opacity: 0.72;
}

.brand-sub span:last-child {
  letter-spacing: 0;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 40px);
  margin-left: auto;
}

.global-nav a {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.global-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease);
}

.global-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-contact {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 9px 22px;
  transition: background 0.4s var(--ease), color 0.4s var(--ease), border-color 0.4s var(--ease);
  flex-shrink: 0;
}

.site-header.is-solid .btn-contact:hover {
  background: var(--ink);
  color: var(--white);
}

.site-header:not(.is-solid) .btn-contact:hover {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: none;
  position: relative;
  margin-left: 8px;
}

.nav-toggle span {
  position: absolute;
  left: 8px;
  right: 8px;
  height: 1.4px;
  background: currentColor;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}

.nav-toggle span:first-child {
  top: 16px;
}

.nav-toggle span:last-child {
  top: 23px;
}

.nav-toggle[aria-expanded='true'] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 8px var(--pad) 26px;
}

.mobile-nav a {
  display: block;
  padding: 15px 0;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

/* --- GROUP COMPANIES dropdown ------------------------------------- */
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
}

/* GROUP COMPANIES — ひし形は廃止。共通の細い下線 + 小さなドットのみ */
.nav-item.has-dropdown > a {
  padding-right: 11px;
}

/* 下線はドット分を除いたテキスト幅に合わせる（他項目と揃える） */
.nav-item.has-dropdown > a::after {
  width: calc(100% - 11px);
}

.nav-item.has-dropdown > a::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  margin-top: -1.5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  transition: opacity 0.35s var(--ease);
}

.nav-item.has-dropdown:hover > a::before,
.nav-item.has-dropdown:focus-within > a::before {
  opacity: 0.85;
}

.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 250px;
  padding: 14px 0;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -28px rgba(16, 16, 16, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
  z-index: 60;
}

.nav-item.has-dropdown:hover .nav-dropdown,
.nav-item.has-dropdown:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: block;
  padding: 11px 26px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--charcoal);
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.nav-dropdown a::after {
  display: none;
}

.nav-dropdown a:hover {
  background: var(--paper);
  color: var(--ink);
}

.nav-dropdown-all {
  margin-top: 8px;
  padding-top: 15px !important;
  border-top: 1px solid var(--line);
  font-size: 11px !important;
  letter-spacing: 0.14em !important;
  text-transform: uppercase !important;
  color: var(--ink) !important;
}

/* ================================================================== *
   HERO
   ================================================================== */
/* HERO — typography only, the copy is the protagonist */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
  overflow: hidden;
  padding: 0 var(--pad) clamp(64px, 9vw, 128px);
  background: #0b0b0b;
}

/* depth from a soft gradient — no photograph */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(150% 95% at 80% 8%, rgba(255, 255, 255, 0.07), rgba(0, 0, 0, 0) 52%),
    linear-gradient(180deg, #101010 0%, #070707 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.hero .eyebrow {
  margin-bottom: clamp(20px, 3vw, 36px);
  color: rgba(255, 255, 255, 0.85);
}

.hero-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(36px, 6.4vw, 84px);
  line-height: 1.3;
  letter-spacing: 0.01em;
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: end;
  margin-top: clamp(40px, 6vw, 72px);
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-sub {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 2.05;
  letter-spacing: 0.03em;
}

.hero-note {
  display: flex;
  flex-direction: column;
  gap: clamp(22px, 3vw, 34px);
  align-items: flex-start;
}

.hero-desc {
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 2;
  color: rgba(255, 255, 255, 0.92);
  max-width: var(--read);
}

.cta-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 1px solid currentColor;
  transition: gap 0.4s var(--ease), opacity 0.4s var(--ease);
}

.cta-line:hover {
  gap: 22px;
}

.cta-line.light {
  color: var(--white);
}

.cta-line .arrow,
.cta-line .arrow-ur {
  transition: transform 0.4s var(--ease);
}

.cta-line:hover .arrow-ur {
  transform: translate(3px, -3px);
}

.scroll-hint {
  position: absolute;
  z-index: 1;
  right: var(--pad);
  bottom: clamp(56px, 8vw, 112px);
  writing-mode: vertical-rl;
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.32em;
  color: rgba(255, 255, 255, 0.72);
  animation: scrollFade 2.4s ease-in-out infinite;
}

@keyframes scrollFade {
  0%,
  100% {
    opacity: 0.35;
  }
  50% {
    opacity: 0.9;
  }
}

/* ================================================================== *
   ABOUT
 * ================================================================== */
.about {
  background: var(--paper);
}

/* ABOUT — typography only, generous measure, no image */
.about-grid {
  display: block;
}

.about-body {
  max-width: var(--read);
}

.about-body p {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(16px, 1.5vw, 17px);
  line-height: 1.95;
  letter-spacing: 0.02em;
  color: var(--charcoal);
  margin-bottom: clamp(26px, 3vw, 40px);
}

.about-body .about-lead {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(15px, 1.35vw, 16px);
  line-height: 1.95;
  color: var(--gray);
  margin-top: clamp(34px, 4.5vw, 52px);
  margin-bottom: 0;
}

/* ================================================================== *
   BUSINESS
 * ================================================================== */
.business {
  background: var(--white);
  padding-bottom: 0;
}

.business .sec-head {
  margin-bottom: clamp(56px, 7vw, 112px);
}

.biz-block {
  border-top: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.biz-block.is-dark {
  background: var(--ink);
  color: var(--white);
  border-top-color: var(--line-dark);
}

/* BUSINESS — typography only: the copy carries the section */
.biz-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 120px) var(--pad);
}

.biz-head {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: clamp(22px, 3vw, 34px);
}

.biz-no {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gray);
}

.is-dark .biz-no {
  color: rgba(255, 255, 255, 0.55);
}

.biz-cat {
  font-family: var(--serif);
  font-size: clamp(26px, 3.4vw, 46px);
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
}

.biz-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--gray);
  margin-bottom: 12px;
}

.is-dark .biz-label {
  color: rgba(255, 255, 255, 0.55);
}

.biz-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.6;
  letter-spacing: 0.01em;
  margin-bottom: clamp(20px, 2.6vw, 30px);
}

.biz-lead {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(18px, 1.9vw, 23px);
  line-height: 1.9;
  letter-spacing: 0.02em;
  margin-bottom: clamp(24px, 3vw, 40px);
  white-space: pre-line;
}

.biz-text {
  margin-bottom: clamp(32px, 4vw, 48px);
  max-width: var(--read);
}

.biz-text p {
  font-size: 16px;
  line-height: 1.95;
  color: var(--gray);
}

.is-dark .biz-text p {
  color: rgba(255, 255, 255, 0.72);
}

.is-dark .cta-line {
  color: var(--white);
}

/* ================================================================== *
   VALUE CREATION
 * ================================================================== */
.cycle {
  background: var(--off-white);
}

.cycle-flow {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 64px);
  margin-top: clamp(48px, 7vw, 96px);
  position: relative;
}

.cycle-flow::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 6%;
  right: 6%;
  height: 1px;
  background: var(--line);
  z-index: 0;
}

.cycle-step {
  position: relative;
  padding-top: 34px;
}

.cycle-dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  z-index: 1;
}

.cycle-cat {
  font-family: var(--serif);
  font-size: clamp(16px, 1.7vw, 21px);
  font-weight: 600;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.cycle-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--gray);
  margin-bottom: clamp(18px, 2.4vw, 30px);
}

.cycle-text {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.9;
  letter-spacing: 0.02em;
}

.cycle-out {
  margin-top: clamp(56px, 8vw, 110px);
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(18px, 2.1vw, 26px);
  line-height: 1.9;
  letter-spacing: 0.02em;
  text-align: center;
}

/* ================================================================== *
   PHILOSOPHY  (BLACK / CHARCOAL — the signature section)
 * ================================================================== */
.philosophy {
  position: relative;
  background: #0c0c0c;
  color: var(--white);
  overflow: hidden;
  padding: 0;
}

.philosophy-inner {
  position: relative;
  z-index: 1;
}

.philosophy-inner > .wrap {
  padding-top: clamp(120px, 15vw, 260px);
  padding-bottom: clamp(80px, 10vw, 160px);
}

.philosophy-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(34px, 6vw, 78px);
  line-height: 1.35;
  letter-spacing: 0.01em;
  margin-bottom: clamp(52px, 7vw, 104px);
}

.philosophy-body {
  max-width: var(--read);
  margin-left: auto;
}

.philosophy-body p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 2;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: clamp(24px, 3vw, 40px);
}

.philosophy-body p:last-child {
  margin-bottom: 0;
}

/* MISSION / VISION — same world, black background */
.mv-dark {
  position: relative;
  border-top: 1px solid var(--line-dark);
  padding: clamp(72px, 9vw, 140px) 0 clamp(100px, 12vw, 200px);
}

.mv-row {
  display: grid;
  grid-template-columns: minmax(0, 0.28fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: start;
  padding: clamp(40px, 6vw, 72px) 0;
  border-top: 1px solid var(--line-dark);
}

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

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

.mv-label {
  font-family: var(--serif);
  font-size: clamp(15px, 1.5vw, 18px);
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.6);
  padding-top: 0.7em;
}

.mv-text {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(26px, 4.2vw, 54px);
  line-height: 1.45;
  letter-spacing: 0.01em;
}

/* ================================================================== *
   GROUP COMPANIES
 * ================================================================== */
.companies {
  background: var(--paper);
}

.company-list {
  border-top: 1px solid var(--line);
}

.company-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: clamp(30px, 4vw, 52px) 0;
  border-bottom: 1px solid var(--line);
}

.company-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(19px, 2.2vw, 28px);
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}

.company-cat {
  font-family: var(--serif);
  font-size: clamp(14px, 1.4vw, 17px);
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--gray);
}

.company-desc {
  margin-top: 14px;
  font-size: clamp(13px, 1.25vw, 15px);
  line-height: 2;
  color: var(--gray);
  max-width: 640px;
}

.company-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  flex-shrink: 0;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--ink);
  transition: gap 0.35s var(--ease), opacity 0.35s var(--ease);
}

.company-link:hover {
  gap: 18px;
}

/* ================================================================== *
   OUR FUTURE
 * ================================================================== */
/* OUR FUTURE — typography only, black base, copy-led */
.future {
  position: relative;
  color: var(--white);
  overflow: hidden;
  background: #0b0b0b;
}

.future::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(150% 95% at 18% 10%, rgba(255, 255, 255, 0.06), rgba(0, 0, 0, 0) 50%),
    linear-gradient(180deg, #101010 0%, #080808 100%);
}

.future-inner {
  position: relative;
  z-index: 1;
}

.future-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(30px, 5vw, 64px);
  line-height: 1.4;
  letter-spacing: 0.01em;
  margin-bottom: clamp(44px, 6vw, 88px);
}

.future-body {
  max-width: var(--read);
  margin-bottom: clamp(56px, 8vw, 110px);
}

.future-body p {
  font-family: var(--sans);
  font-weight: 400;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 2.1;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: clamp(22px, 3vw, 36px);
}

.future-formula {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  font-family: var(--serif);
  font-size: clamp(19px, 2.8vw, 40px);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding-top: clamp(32px, 5vw, 56px);
  border-top: 1px solid var(--line-dark);
}

.future-formula .op {
  color: rgba(255, 255, 255, 0.4);
  font-weight: 400;
}

.future-formula .next {
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.14em;
}

/* ================================================================== *
   FAQ
 * ================================================================== */
.faq {
  background: var(--paper);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: clamp(26px, 3.4vw, 40px) 0;
}

.faq-q {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.7;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.faq-a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 16px;
  padding-left: 0;
  font-size: clamp(14px, 1.35vw, 16px);
  line-height: 2.05;
  color: var(--gray);
  max-width: 820px;
}

.faq-mark {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--white);
  transform: translateY(1px);
}

.faq-a .faq-mark {
  color: var(--gray);
}

.faq-note {
  margin-top: clamp(34px, 4vw, 52px);
  font-size: 14px;
  line-height: 2;
  color: var(--gray);
}

.faq-link {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
  transition: opacity 0.3s var(--ease);
}

.faq-link:hover {
  opacity: 0.6;
}

/* ================================================================== *
   NEWS  (hidden unless items exist)
 * ================================================================== */
.news {
  background: var(--white);
}

.news-list {
  border-top: 1px solid var(--line);
}

.news-row a {
  display: grid;
  grid-template-columns: 130px 170px minmax(0, 1fr) 24px;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(22px, 2.8vw, 34px) 0;
  border-bottom: 1px solid var(--line);
  transition: opacity 0.35s var(--ease), padding-left 0.45s var(--ease);
}

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

.news-date {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--gray);
}

.news-cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--charcoal);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
  justify-self: start;
  white-space: nowrap;
}

.news-title {
  font-size: clamp(14px, 1.35vw, 16px);
  line-height: 1.8;
  letter-spacing: 0.01em;
}

.news-arrow {
  color: var(--gray-soft);
  transition: transform 0.4s var(--ease), color 0.4s var(--ease);
}

.news-row a:hover .news-arrow {
  transform: translate(3px, -3px);
  color: var(--ink);
}

/* リンクなしの行（url 省略時）— 同じグリッドで静的に表示 */
.news-static {
  display: grid;
  grid-template-columns: 130px 170px minmax(0, 1fr) 24px;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(22px, 2.8vw, 34px) 0;
  border-bottom: 1px solid var(--line);
}

.news-row.is-static .news-arrow {
  opacity: 0;
}

.news-foot {
  margin-top: clamp(36px, 5vw, 60px);
}

/* ================================================================== *
   CONTACT
 * ================================================================== */
.contact {
  background: var(--ink);
  color: var(--white);
  text-align: center;
}

.contact-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(30px, 4.8vw, 62px);
  line-height: 1.45;
  letter-spacing: 0.01em;
  margin-bottom: clamp(30px, 4vw, 48px);
}

.contact-body {
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.82);
  max-width: 640px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 260px;
  padding: 20px 48px;
  background: var(--white);
  color: var(--ink);
  border: 1px solid var(--white);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}

.btn-primary:hover {
  background: transparent;
  color: var(--white);
}

/* ================================================================== *
   FOOTER
 * ================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--white);
  border-top: 1px solid var(--line-dark);
  padding: clamp(72px, 9vw, 130px) 0 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: clamp(40px, 7vw, 110px);
  padding-bottom: clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--line-dark);
}

.footer-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  margin-bottom: 26px;
}

.footer-logo .brand-mark {
  font-size: 32px;
  font-weight: 800;
}

.footer-logo .brand-sub {
  font-size: 10px;
  opacity: 0.7;
}

.footer-copy {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 2;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
}

.footer-nav {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 64px);
}

.footer-links li,
.footer-companies li {
  margin-bottom: 14px;
}

.footer-links a {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.35s var(--ease);
}

.footer-links a:hover,
.footer-companies a:hover {
  color: var(--white);
}

.footer-heading {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 20px;
}

.footer-companies li {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.78);
}

.footer-companies a {
  font-size: 14px;
  letter-spacing: 0.02em;
  transition: color 0.35s var(--ease);
}

.footer-companies .is-muted {
  color: rgba(255, 255, 255, 0.42);
}

.footer-legal {
  padding: clamp(28px, 4vw, 44px) 0;
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
  max-width: 760px;
}

.copyright {
  font-size: 10px;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.42);
  text-transform: uppercase;
}

/* ================================================================== *
   SUB PAGES (contact / privacy / 404)
 * ================================================================== */
.page-hero {
  padding: clamp(150px, 20vw, 240px) 0 clamp(48px, 6vw, 80px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-title {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(28px, 4.6vw, 54px);
  letter-spacing: 0.01em;
  margin-bottom: clamp(22px, 3vw, 36px);
}

.page-lead {
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 2.1;
  color: var(--gray);
  max-width: var(--read);
}

.notfound-actions {
  margin-top: clamp(32px, 4vw, 48px);
}

.form-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: clamp(26px, 3.4vw, 40px);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-field label {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.form-field .req {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--white);
  background: var(--charcoal);
  border-radius: 3px;
  padding: 2px 8px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 15px 16px;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color 0.3s var(--ease);
}

.form-field textarea {
  resize: vertical;
  line-height: 1.95;
}

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

.form-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: 8px;
}

.form-actions .btn-primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  min-width: 220px;
}

.form-actions .btn-primary:hover {
  background: transparent;
  color: var(--ink);
}

.form-actions .btn-primary:disabled {
  opacity: 0.5;
  cursor: default;
}

.form-status {
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--gray);
  min-height: 1.2em;
}

.form-status.is-error {
  color: #9a2b2b;
}

.form-status.is-ok {
  color: var(--ink);
}

.prose {
  max-width: 640px;
  margin: 0 auto;
}

.prose p {
  font-size: 15px;
  line-height: 2.1;
  color: var(--charcoal);
  margin-bottom: 22px;
}

.prose h2 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(17px, 1.8vw, 21px);
  letter-spacing: 0.01em;
  margin: clamp(34px, 4vw, 52px) 0 16px;
}

.prose-list {
  margin: 0 0 22px;
  padding-left: 1.1em;
  list-style: none;
}

.prose-list li {
  position: relative;
  font-size: 15px;
  line-height: 2.1;
  color: var(--charcoal);
  margin-bottom: 12px;
  padding-left: 16px;
}

.prose-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.95em;
  width: 6px;
  height: 1px;
  background: var(--gold);
}

.prose-list strong {
  font-weight: 600;
  color: var(--ink);
}

.prose-note {
  font-size: 12px !important;
  color: var(--gray) !important;
  border-top: 1px solid var(--line);
  padding-top: 24px;
  margin-top: 40px !important;
}

/* ================================================================== *
   MOBILE POLISH (safe areas / tap feedback)
 * ================================================================== */
/* iPhone のノッチ・ホームインジケータを避ける（左右は既存の余白と大きい方を採用） */
.header-inner,
.wrap {
  padding-left: max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
}

.mobile-nav {
  padding-left: max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
}

.site-footer {
  padding-bottom: max(40px, env(safe-area-inset-bottom));
}

/* タップ時の青いハイライトを消し、タップ判定を軽くする */
a,
button,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

/* 見出しの折り返しを自然にする */
.sec-title,
.page-title,
.hero-title,
.contact-title,
.philosophy-title,
.future-title {
  text-wrap: balance;
}

/* ================================================================== *
   RESPONSIVE
 * ================================================================== */
@media (max-width: 1024px) {
  .global-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
    margin-left: auto;
  }

  .site-header.menu-open .mobile-nav {
    display: block;
  }

  .site-header.menu-open {
    background: var(--white);
    border-bottom-color: var(--line);
  }

  .site-header.menu-open .brand,
  .site-header.menu-open .nav-toggle span {
    color: var(--ink);
  }

  .site-header.menu-open .brand-mark {
    color: var(--navy);
  }

  .cycle-flow {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .cycle-flow::before {
    top: 5px;
    bottom: 5px;
    left: 5px;
    right: auto;
    width: 1px;
    height: auto;
  }

  .cycle-step {
    padding: 0 0 44px 34px;
  }

  .cycle-dot {
    top: 4px;
    left: 0;
  }

  .philosophy-body {
    margin-left: 0;
  }

  .news-row a,
  .news-static {
    grid-template-columns: 110px minmax(0, 1fr) 20px;
    grid-template-areas:
      'date cat arrow'
      'title title title';
    row-gap: 14px;
  }

  .news-date {
    grid-area: date;
  }

  .news-cat {
    grid-area: cat;
  }

  .news-title {
    grid-area: title;
  }

  .news-arrow {
    grid-area: arrow;
  }
}

@media (max-width: 720px) {
  /* 縦のリズムを小さくする（大画面向けの余白はスマホには広すぎる） */
  .section {
    padding: clamp(72px, 16vw, 118px) 0;
  }

  .sec-head {
    margin-bottom: clamp(40px, 9vw, 72px);
  }

  .eyebrow {
    margin-bottom: clamp(20px, 5vw, 32px);
  }

  .hero {
    padding-bottom: clamp(48px, 12vw, 88px);
  }

  .hero-foot {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .scroll-hint {
    display: none;
  }

  .biz-inner {
    padding: clamp(40px, 10vw, 72px) var(--pad);
  }

  .biz-cat {
    font-size: clamp(24px, 8vw, 34px);
  }

  .mv-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .mv-label {
    padding-top: 0;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .company-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .future-formula {
    font-size: 20px;
  }

  .btn-primary {
    min-width: 100%;
  }

  .page-hero {
    padding-top: 130px;
  }

  /* タップ領域を確保（リンクの縦パディングを少し広げる） */
  .faq-link,
  .company-link,
  .cta-line {
    padding-top: 2px;
    padding-bottom: 2px;
  }

  /* 本文・リードの行長を最適化 */
  .about-body,
  .biz-text,
  .future-body,
  .faq-a {
    max-width: none;
  }
}

@media (max-width: 480px) {
  /* 小型スマホ（〜480px）の最終調整 */
  .section {
    padding: 64px 0;
  }

  .hero-title {
    font-size: clamp(30px, 9vw, 40px);
    line-height: 1.35;
  }

  .sec-title {
    font-size: clamp(23px, 6.6vw, 32px);
  }

  .page-title {
    font-size: clamp(24px, 7.5vw, 34px);
  }

  .contact-title {
    font-size: clamp(26px, 8vw, 34px);
  }

  .philosophy-title {
    font-size: clamp(28px, 8.4vw, 40px);
  }

  .future-title {
    font-size: clamp(26px, 7.8vw, 36px);
  }

  /* ロゴは少しだけ小さくしてヘッダーを軽くする */
  .brand-mark {
    font-size: 26px;
  }

  .footer-logo .brand-mark {
    font-size: 30px;
  }

  /* NEWS: 日付・カテゴリーを1行、タイトルを下段に */
  .news-row a,
  .news-static {
    grid-template-columns: auto minmax(0, 1fr) 18px;
    grid-template-areas:
      'date cat arrow'
      'title title title';
    row-gap: 10px;
    gap: 12px;
  }

  .news-date {
    font-size: 11px;
  }

  .news-cat {
    font-size: 9px;
    padding: 4px 11px;
  }

  /* FAQ: 記号と余白を詰める */
  .faq-q {
    gap: 12px;
    font-size: 15px;
  }

  .faq-a {
    gap: 12px;
    font-size: 14px;
  }

  .faq-mark {
    width: 22px;
    height: 22px;
    font-size: 12px;
  }

  /* 入力時に iOS が自動ズームしないよう 16px を維持 */
  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px;
  }

  /* プローズの左右余白を最適化 */
  .prose {
    max-width: 100%;
  }
}

/* ------------------------------------------------------------------ *
   Print
 * ------------------------------------------------------------------ */
@media print {
  .site-header,
  .scroll-hint,
  .pt-overlay {
    display: none !important;
  }
}
