/* ============================================================
   LIPJAPAN Co., Ltd. — Corporate Site Styles  v3.0
   Brand: White base / Red #ff000d / Sumi #2f2725
   Font: Frutiger stack (Hind / Source Sans 3) + BIZ UDPGothic / Noto Sans JP
   ============================================================ */

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

/* ---- Design tokens ---------------------------------------- */
:root {
  /* Brand colors */
  --red:          #ff000d;
  --red-dark:     #cc000a;
  --red-light:    #ff4d55;
  --red-pale:     #fff2f2;
  --sumi:         #2f2725;
  --sumi-mid:     #4a3f3d;
  --sumi-light:   #6b5f5c;

  /* Neutrals */
  --bg:           #ffffff;
  --bg-off:       #fafaf8;
  --bg-pale:      #f5f3f0;
  --bg-section:   #f0ede9;
  --border:       #e2deda;
  --border-mid:   #ccc7c3;

  /* Text */
  --tx:           #1e1a18;
  --tx-mid:       #3d3230;
  --tx-sub:       #6b5f5c;
  --tx-muted:     #9c9290;
  --tx-ph:        #b5afac;

  /* ---- Font stacks (規格書準拠) ----------------------------- */
  /* ラテン文字: Frutiger → Hind → Source Sans 3 (Google Fonts フォールバック) */
  --font-en: "Frutiger","Frutiger LT Std","Hind","Source Sans 3",sans-serif;
  /* 日本語: BIZ UDPGothic → Noto Sans JP (Google Fonts フォールバック) */
  --font-ja: "BIZ UDPGothic","Noto Sans JP","Hiragino Kaku Gothic ProN",Meiryo,sans-serif;

  /* Spacing */
  --max-w:     1140px;
  --px:        clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4.5rem, 10vw, 8rem);
  --hh:        68px;          /* header height */

  /* Motion */
  --ease: 0.22s ease;
  --ease-slow: 0.4s ease;
}

/* ---- Base -------------------------------------------------- */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--tx);
  font-family: var(--font-ja);
  font-weight: 400;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a   { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }

/* ---- Utility ---------------------------------------------- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--px);
}

section { padding: var(--section-y) 0; }

/* ---- Section header --------------------------------------- */
.section-header { margin-bottom: clamp(2.5rem,6vw,4.5rem); }

.section-eyebrow {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.65rem;
}

.section-heading {
  font-family: var(--font-ja);
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.4;
  color: var(--sumi);
}

/* ---- Buttons ---------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.85em 2.1em;
  font-family: var(--font-ja);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  border: 2px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background var(--ease), color var(--ease),
              border-color var(--ease), box-shadow var(--ease);
  line-height: 1.3;
}
.btn:focus-visible {
  outline: 3px solid var(--red-light);
  outline-offset: 3px;
}

.btn-primary {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 4px 18px rgba(255,0,13,.28);
}

.btn-ghost {
  background: transparent;
  color: var(--sumi);
  border-color: var(--border-mid);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  border-color: var(--sumi);
  background: var(--bg-pale);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border-color: var(--red);
}
.btn-outline:hover, .btn-outline:focus-visible {
  background: var(--red-pale);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.75);
}
.btn-outline-white:hover, .btn-outline-white:focus-visible {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--hh);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(47,39,37,.06);
  transition: box-shadow var(--ease-slow);
}
.site-header.is-scrolled {
  box-shadow: 0 2px 16px rgba(47,39,37,.1);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--hh);
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
/* --- Official logo (horizontal wordmark) in header --- */
.logo-official {
  height: 30px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

/* Desktop nav */
.site-nav .nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem,2.2vw,1.8rem);
  list-style: none;
}
.site-nav .nav-list a {
  font-family: var(--font-ja);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--tx-mid);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color var(--ease), border-color var(--ease);
}
.site-nav .nav-list a:hover,
.site-nav .nav-list a:focus-visible {
  color: var(--sumi);
  border-bottom-color: var(--red);
}
.site-nav .nav-list .nav-cta {
  padding: 0.48em 1.2em;
  background: var(--red);
  color: #fff !important;
  border: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: background var(--ease), border-color var(--ease), box-shadow var(--ease);
}
.site-nav .nav-list .nav-cta:hover,
.site-nav .nav-list .nav-cta:focus-visible {
  background: var(--red-dark);
  border-color: var(--red-dark);
  box-shadow: 0 3px 14px rgba(255,0,13,.22);
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px; height: 38px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.nav-toggle span {
  display: block;
  width: 100%; height: 2px;
  background: var(--sumi);
  transition: transform var(--ease), opacity var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.site-nav-mobile {
  background: #fff;
  border-bottom: 3px solid var(--red);
  box-shadow: 0 6px 20px rgba(47,39,37,.1);
}
.site-nav-mobile[hidden] { display: none; }
.nav-mobile-list { list-style: none; padding: 0.5rem var(--px) 1rem; }
.nav-mobile-list li a {
  display: block;
  padding: 0.9rem 0;
  font-family: var(--font-ja);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--tx-mid);
  border-bottom: 1px solid var(--border);
  transition: color var(--ease);
}
.nav-mobile-list li:last-child a { border-bottom: none; color: var(--red); font-weight: 700; }
.nav-mobile-list li a:hover { color: var(--red); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-top: calc(var(--hh) + clamp(3.5rem,9vw,7rem));
  padding-bottom: clamp(4rem,10vw,8rem);
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
/* Left red stripe */
.hero::before {
  content: '';
  position: absolute;
  top: var(--hh);
  left: 0;
  width: 5px;
  height: 100%;
  background: var(--red);
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: clamp(2rem,6vw,5rem);
}

.hero-text { max-width: 660px; }

/* tagline above H1 */
.hero-tagline {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tx-muted);
  margin-bottom: 1.3rem;
  line-height: 1.8;
}

/* H1 slogan */
.hero-heading {
  font-family: var(--font-ja);
  font-size: clamp(2.4rem,6.5vw,5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  color: var(--sumi);
  margin-bottom: 0;
}
.hero-heading::after {
  content: '';
  display: block;
  width: 44px; height: 4px;
  background: var(--red);
  margin-top: clamp(0.8rem,2vw,1.2rem);
}

/* Message (secondary message) */
.hero-message {
  font-family: var(--font-ja);
  font-size: clamp(1.1rem,2.4vw,1.5rem);
  font-weight: 700;
  color: var(--red);
  line-height: 1.55;
  margin-top: clamp(1.2rem,2.5vw,1.8rem);
  letter-spacing: -0.01em;
}

.hero-sub {
  font-family: var(--font-ja);
  font-size: clamp(0.88rem,1.6vw,1rem);
  font-weight: 400;
  color: var(--tx-sub);
  margin-top: 0.6rem;
  margin-bottom: clamp(2rem,4vw,2.8rem);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero mark */
.hero-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
/* hero mark uses the same logo-official class but overridden with hero-mark-svg */
.hero-mark-svg {
  width: clamp(180px, 26vw, 300px);
  height: auto;
  display: block;
}
.hero-mark-label {
  font-family: var(--font-en);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--tx-muted);
  text-align: center;
  line-height: 1.5;
}

.br-pc { display: inline; }
.br-sp { display: none; }

/* ============================================================
   MISSION BRIDGE (dark band)
   ============================================================ */
.mission-bridge {
  background: var(--sumi);
  padding: clamp(3rem,7vw,5.5rem) 0;
}

.mission-bridge-heading {
  font-family: var(--font-ja);
  font-size: clamp(1.4rem,3vw,2.2rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.42;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}

.mission-bridge-lead {
  font-family: var(--font-ja);
  font-size: clamp(0.88rem,1.6vw,1rem);
  font-weight: 400;
  color: rgba(255,255,255,.72);
  line-height: 2;
  max-width: 740px;
}

/* ============================================================
   SERVICES — 4事業
   ============================================================ */
.services { background: var(--bg-off); }
.services .section-header { text-align: center; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: clamp(1.75rem,3.5vw,2.75rem) clamp(1.25rem,2.5vw,2rem);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow var(--ease), transform var(--ease);
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--border);
  transition: background var(--ease);
}
.service-card:hover {
  box-shadow: 0 8px 28px rgba(47,39,37,.1);
  transform: translateY(-3px);
}
.service-card:hover::before { background: var(--red); }

/* Accent card (ODM, 2nd) */
.service-card--accent {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.service-card--accent::before { background: rgba(255,255,255,.3); }
.service-card--accent:hover {
  box-shadow: 0 8px 28px rgba(255,0,13,.28);
}
.service-card--accent:hover::before { background: rgba(255,255,255,.7); }

.service-number {
  font-family: var(--font-en);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 1.1rem;
  color: var(--border-mid);
}
.service-card--accent .service-number { color: rgba(255,255,255,.35); }

.service-title {
  font-family: var(--font-ja);
  font-size: clamp(0.95rem,1.7vw,1.1rem);
  font-weight: 700;
  color: var(--sumi);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}
.service-card--accent .service-title { color: #fff; }

.service-title-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tx-muted);
  margin-top: 0.2rem;
  margin-bottom: 0.9rem;
}
.service-card--accent .service-title-en { color: rgba(255,255,255,.6); }

.service-body {
  font-family: var(--font-ja);
  font-size: clamp(0.82rem,1.3vw,0.9rem);
  font-weight: 400;
  color: var(--tx-sub);
  line-height: 1.9;
  flex: 1;
  margin-bottom: 1.75rem;
}
.service-card--accent .service-body { color: rgba(255,255,255,.85); }

.service-cta {
  font-size: 0.78rem;
  padding: 0.62em 1.2em;
  align-self: flex-start;
}

/* ============================================================
   OUR VALUE
   ============================================================ */
.our-value { background: var(--bg); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--bg-off);
  border: 1px solid var(--border);
  padding: clamp(2rem,4vw,3rem) clamp(1.5rem,3vw,2.2rem);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow var(--ease), transform var(--ease);
}
.value-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--border);
  transition: background var(--ease);
}
.value-card:hover { box-shadow: 0 6px 24px rgba(47,39,37,.09); transform: translateY(-2px); }
.value-card:hover::before { background: var(--red); }

/* Center value card (accent) */
.value-card--center {
  background: var(--sumi);
  border-color: var(--sumi);
}
.value-card--center::before { background: var(--red); }
.value-card--center:hover { box-shadow: 0 6px 24px rgba(47,39,37,.2); }
.value-card--center:hover::before { background: var(--red-light); }

.value-icon {
  margin-bottom: 1.2rem;
}

.value-num {
  font-family: var(--font-en);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--border-mid);
  margin-bottom: 0.6rem;
}
.value-card--center .value-num { color: rgba(255,255,255,.25); }

.value-title {
  font-family: var(--font-ja);
  font-size: clamp(0.95rem,1.6vw,1.05rem);
  font-weight: 700;
  color: var(--sumi);
  line-height: 1.5;
  margin-bottom: 0.9rem;
}
.value-card--center .value-title { color: #fff; }

.value-title-en {
  display: block;
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.35rem;
}
.value-card--center .value-title-en { color: var(--red-light); }

.value-body {
  font-family: var(--font-ja);
  font-size: clamp(0.82rem,1.3vw,0.9rem);
  font-weight: 400;
  color: var(--tx-sub);
  line-height: 1.9;
}
.value-card--center .value-body { color: rgba(255,255,255,.75); }

/* ============================================================
   BRAND / MESSAGE / PHILOSOPHY
   ============================================================ */
.brand { background: var(--bg-pale); }

/* Message panel — full-width hero-like block */
.brand-message-panel {
  background: var(--sumi);
  padding: clamp(3rem,7vw,5rem) clamp(2rem,6vw,5rem);
  margin-bottom: clamp(3.5rem,7vw,6rem);
  position: relative;
  overflow: hidden;
}
.brand-message-panel::after {
  content: '';
  position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 210px;
  border: 18px solid rgba(255,0,13,.18);
  pointer-events: none;
}

.brand-message-en {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-bottom: 1rem;
}

.brand-message-heading {
  font-family: var(--font-ja);
  font-size: clamp(1.6rem,4vw,2.8rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.brand-message-sub {
  font-family: var(--font-ja);
  font-size: clamp(0.9rem,1.7vw,1.05rem);
  font-weight: 400;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.brand-message-cta { align-self: flex-start; }

/* Brand statement */
.brand-statement { margin-bottom: clamp(3rem,6vw,5rem); }

.brand-section-heading {
  font-size: clamp(1.4rem,3vw,2.2rem);
}

.brand-text-wrap {
  max-width: 820px;
  border-left: 4px solid var(--red);
  padding-left: clamp(1.2rem,3vw,2rem);
}

.brand-lead {
  font-family: var(--font-ja);
  font-size: clamp(1rem,2vw,1.25rem);
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.02em;
  margin-bottom: 1.1rem;
}

.brand-body {
  display: flex;
  flex-direction: column;
  gap: 0.85em;
  margin-bottom: 1.6rem;
}
.brand-body p {
  font-family: var(--font-ja);
  font-size: clamp(0.88rem,1.5vw,0.98rem);
  font-weight: 400;
  color: var(--tx-mid);
  line-height: 2;
}

.brand-close {
  font-family: var(--font-ja);
  font-size: clamp(1rem,1.8vw,1.15rem);
  font-weight: 700;
  color: var(--sumi);
  letter-spacing: 0.04em;
}

/* MVV */
.mvv-wrap {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.25rem;
  margin-bottom: clamp(2.5rem,5vw,4rem);
}

.mvv-card {
  padding: clamp(1.6rem,3vw,2.4rem);
  border: 1px solid var(--border);
  background: var(--bg);
  position: relative;
}
.mvv-card--mission { border-top: 3px solid var(--red);  }
.mvv-card--value   { border-top: 3px solid var(--sumi); }
.mvv-card--vision  { border-top: 3px solid var(--red);  }

.mvv-label-wrap { margin-bottom: 0.9rem; }
.mvv-label {
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.mvv-card--mission .mvv-label,
.mvv-card--vision  .mvv-label { color: var(--red);  }
.mvv-card--value   .mvv-label { color: var(--sumi); }

.mvv-text {
  font-family: var(--font-ja);
  font-size: clamp(0.83rem,1.4vw,0.93rem);
  font-weight: 400;
  color: var(--tx-mid);
  line-height: 1.95;
}

.mvv-value-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.mvv-value-list li { display: flex; flex-direction: column; gap: 0.1rem; }
.value-key {
  font-family: var(--font-en);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--sumi);
}
.value-desc {
  font-family: var(--font-ja);
  font-size: 0.82rem;
  color: var(--tx-sub);
  line-height: 1.65;
}

/* Concept strip */
.concepts-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: clamp(1.5rem,3vw,2.5rem) clamp(2rem,5vw,4rem);
  background: var(--sumi);
  flex-wrap: wrap;
}
.concept-item { display: flex; flex-direction: column; align-items: center; gap: 0.2rem; }
.concept-word {
  font-family: var(--font-en);
  font-size: clamp(1rem,2.4vw,1.5rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
}
.concept-jp {
  font-family: var(--font-ja);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,.5);
}
.concept-sep {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 300;
  color: rgba(255,255,255,.2);
  margin-bottom: 0.9rem;
}

/* ============================================================
   COMPANY
   ============================================================ */
.company { background: var(--bg-off); }

.company-desc {
  font-family: var(--font-ja);
  font-size: clamp(0.88rem,1.5vw,0.97rem);
  color: var(--tx-sub);
  line-height: 2;
  margin-top: 1.1rem;
  max-width: 600px;
}

.company-members {
  display: flex;
  gap: 0.9rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.member-chip {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
}
.member-role {
  font-family: var(--font-ja);
  font-size: 0.68rem;
  color: var(--tx-muted);
  letter-spacing: 0.1em;
}
.member-name {
  font-family: var(--font-ja);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sumi);
  letter-spacing: 0.05em;
}

.company-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  background: var(--bg);
}
.company-table { width: 100%; border-collapse: collapse; }
.company-table th,
.company-table td {
  padding: clamp(0.75rem,1.8vw,1rem) clamp(1rem,2.8vw,1.75rem);
  border-bottom: 1px solid var(--border);
  font-size: clamp(0.82rem,1.4vw,0.92rem);
  text-align: left;
  vertical-align: top;
  line-height: 1.75;
}
.company-table tbody tr:last-child th,
.company-table tbody tr:last-child td { border-bottom: none; }
.company-table th {
  font-family: var(--font-ja);
  font-weight: 500;
  color: var(--tx-sub);
  width: 176px;
  min-width: 110px;
  white-space: nowrap;
  background: var(--bg-pale);
}
.company-table td {
  font-family: var(--font-ja);
  font-weight: 400;
  color: var(--tx);
}
.company-table td.placeholder {
  color: var(--tx-ph);
  font-style: italic;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { background: var(--bg); }

.contact-desc {
  font-family: var(--font-ja);
  font-size: clamp(0.88rem,1.5vw,0.97rem);
  color: var(--tx-sub);
  line-height: 2;
  margin-top: 1.1rem;
}

/* Channels */
.contact-channels {
  display: flex;
  gap: 1rem;
  margin-top: 2.2rem;
  flex-wrap: wrap;
}
.contact-channel {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.4rem;
  border: 1px solid var(--border);
  background: var(--bg-off);
  flex: 1;
  min-width: 240px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.contact-channel:hover, .contact-channel:focus-visible {
  border-color: var(--red);
  box-shadow: 0 2px 12px rgba(255,0,13,.08);
}
.contact-channel svg { flex-shrink: 0; color: var(--red); }
.channel-inner { display: flex; flex-direction: column; gap: 0.12rem; }
.channel-label {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--tx-muted);
}
.channel-value {
  font-family: var(--font-ja);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--sumi);
}
.channel-value.placeholder {
  color: var(--tx-ph);
  font-style: italic;
  font-weight: 400;
}

.contact-reply-note {
  margin-top: 0.9rem;
  font-family: var(--font-ja);
  font-size: 0.78rem;
  color: var(--tx-muted);
}
.contact-reply-note .placeholder { color: var(--tx-ph); font-style: italic; }

/* Form */
.contact-form {
  margin-top: clamp(2.2rem,5vw,3.5rem);
  max-width: 820px;
}
.form-row { margin-bottom: 1.4rem; }
.form-row--2col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; }

.form-label {
  font-family: var(--font-ja);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--tx-mid);
  margin-bottom: 0.45rem;
  letter-spacing: 0.03em;
}

.required {
  font-family: var(--font-en);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--red);
  padding: 0.1em 0.42em;
  margin-left: 0.4em;
  vertical-align: middle;
}
.optional {
  font-family: var(--font-en);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--tx-muted);
  background: var(--bg-section);
  padding: 0.1em 0.42em;
  margin-left: 0.4em;
  border: 1px solid var(--border);
  vertical-align: middle;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-mid);
  color: var(--tx);
  font-family: var(--font-ja);
  font-size: 0.93rem;
  font-weight: 400;
  padding: 0.78em 0.95em;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 0;
  outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--tx-ph); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(255,0,13,.08);
}
.form-input.is-invalid, .form-select.is-invalid, .form-textarea.is-invalid {
  border-color: #cc0000;
  box-shadow: 0 0 0 3px rgba(204,0,0,.08);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b5f5c' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  padding-right: 2.5em;
  cursor: pointer;
}

.form-textarea { resize: vertical; min-height: 160px; line-height: 1.8; }

.form-group--checkbox { margin-top: 0.2rem; }
.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-family: var(--font-ja);
  font-size: 0.88rem;
  color: var(--tx-sub);
  line-height: 1.7;
}
.form-checkbox {
  flex-shrink: 0;
  width: 18px; height: 18px;
  margin-top: 0.15em;
  accent-color: var(--red);
  cursor: pointer;
}
.form-checkbox-text a {
  color: var(--red);
  border-bottom: 1px solid var(--red-light);
  transition: color var(--ease);
}
.form-checkbox-text a:hover { color: var(--red-dark); }

.form-error {
  font-family: var(--font-ja);
  font-size: 0.76rem;
  color: #cc0000;
  margin-top: 0.38rem;
}

.form-submit-wrap { margin-top: 1.8rem; }
.btn-submit {
  min-width: 180px;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  padding: 1em 3rem;
}
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.form-success, .form-error-global {
  margin-top: 1.4rem;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-ja);
  font-size: 0.9rem;
  line-height: 1.8;
}
.form-success {
  border-left: 4px solid #2a9d4e;
  background: #f0faf4;
  color: #1a6632;
}
.form-error-global {
  border-left: 4px solid var(--red);
  background: var(--red-pale);
  color: var(--red-dark);
}
.form-error-global a { color: var(--red-dark); text-decoration: underline; }
.form-success[hidden], .form-error-global[hidden] { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--sumi);
  padding: clamp(2.5rem,5vw,4rem) 0;
}
.footer-inner { display: flex; flex-direction: column; gap: 1.5rem; }

.footer-logo { display: flex; align-items: center; }
/* Symbol-only SVG for dark footer background */
.footer-logo-symbol {
  height: 36px;
  width: auto;
  display: block;
}

.footer-tagline {
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,.38);
  text-transform: uppercase;
}

.footer-nav-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.4rem;
}
.footer-nav-list a {
  font-family: var(--font-ja);
  font-size: 0.78rem;
  color: rgba(255,255,255,.52);
  letter-spacing: 0.05em;
  transition: color var(--ease);
}
.footer-nav-list a:hover, .footer-nav-list a:focus-visible { color: #fff; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255,255,255,.1);
}
.footer-address {
  font-family: var(--font-ja);
  font-size: 0.74rem;
  color: rgba(255,255,255,.4);
  letter-spacing: 0.05em;
}
.footer-copy {
  font-family: var(--font-en);
  font-size: 0.76rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1020px) {
  .services-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 900px) {
  .value-grid  { grid-template-columns: 1fr; gap: 1rem; }
  .mvv-wrap    { grid-template-columns: 1fr; gap: 1rem; }
  .hero-inner  { grid-template-columns: 1fr; }
  .hero-mark   { display: none; }
}

@media (max-width: 680px) {
  :root { --section-y: clamp(3rem,9vw,5rem); }

  .site-nav   { display: none; }
  .nav-toggle { display: flex; }

  .hero-heading { font-size: clamp(2.1rem,9.5vw,3rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .br-pc { display: none; }
  .br-sp { display: inline; }

  .services-grid   { grid-template-columns: 1fr; gap: 1rem; }
  .form-row--2col  { grid-template-columns: 1fr; }
  .contact-channels { flex-direction: column; gap: 0.65rem; }
  .contact-channel  { min-width: 0; width: 100%; }

  .brand-message-panel { padding: clamp(2rem,6vw,3rem) clamp(1.25rem,5vw,2rem); }
  .brand-text-wrap     { padding-left: 1rem; }

  .company-table th { width: 100px; min-width: 90px; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .concepts-wrap { gap: 0.65rem; }
}

@media (min-width: 1200px) { :root { --max-w: 1200px; } }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.52s ease, transform 0.52s ease;
  }
  .fade-in.is-visible { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1; transform: none; }
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
