/* ============================================================
   RECARE Corporate Site — style.css
   白基調ミニマル / ダークネイビー / インデックスブルー
   ============================================================ */

:root {
  --white: #ffffff;
  --ink: #1f2430;
  --text: #454b5c;
  --muted: #8b91a3;
  --line: #e7e9f0;
  --navy: #383e52;
  --navy-deep: #2d3242;
  --accent: #5b5ce2;
  --accent-dark: #4647c7;
  --accent-soft: #eeeffc;
  --cyan: #35c3d3;
  --bg-gray: #f6f7fa;
  --font-en: "Outfit", sans-serif;
  --font-jp: "Noto Sans JP", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  font-family: var(--font-jp);
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.9;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;

  /* 日本語は既定だとどこでも改行されるため「オンライン」のような語が
     途中で割れる。文節単位で折り返す（未対応ブラウザは従来どおり） */
  word-break: auto-phrase;
  /* 行頭に句読点や閉じ括弧が来ないようにする */
  line-break: strict;
}

/* ------------------------------------------------------------
   改行の見え方を整える
   見出しは行長を揃え、本文は最終行が1〜2文字だけ残るのを防ぐ
   ------------------------------------------------------------ */
h1, h2, h3, h4,
.page-hero__title, .sec-head__jp, .cta__title, .mvv-card__title,
.pillar-card__title, .service-block__name, .service-block__copy,
.step-card__title, .stat-card__label, .article-head__title,
.lp-hero__title, .lp-head__jp, .lp-feature__title, .case-main__headline,
.lp-form-card__title, .reason-row__title, .pain-card__title,
.flow-step__title, .benefit-card__title, .support-card__title,
.proof-item__label, .case-mini__result, .quote-card__text {
  text-wrap: balance;
}

.page-hero__lead, .lp-hero__lead, .lp-hero__note, .lp-head__sub,
.lp-feature__text, .service-block__desc, .pillar-card__desc,
.step-card__text, .pain-card__text, .pain-col li, .flow-step__text,
.reason-row__text, .lp-form-card__text, .faq-item__body,
.case-main__body p, .security-box__text p, .ceo-bio p,
.mvv-card__text, .cta__text, .article-body p, .feature-list small {
  text-wrap: pretty;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

::selection { background: var(--accent); color: #fff; }

.container {
  width: min(1160px, 92%);
  margin-inline: auto;
}

.container--narrow { width: min(880px, 92%); }

/* ------------------------------------------------------------
   Typography helpers
   ------------------------------------------------------------ */
.sec-head { margin-bottom: 56px; }

.sec-head__en {
  font-family: var(--font-en);
  font-size: clamp(2.6rem, 5.2vw, 4rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
  line-height: 1.1;
}

.sec-head__en::after {
  content: ".";
  color: var(--accent);
}

.sec-head__jp {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.12em;
}

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

.sec-head--white .sec-head__en { color: #fff; }
.sec-head--white .sec-head__jp { color: rgba(255, 255, 255, 0.55); }

/* 巨大アウトライン背景文字 */
.ghost-word {
  position: absolute;
  inset-inline: 0;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: clamp(6rem, 16vw, 15rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--line);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 34px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    background 0.3s, color 0.3s, border-color 0.3s;
  cursor: pointer;
  border: none;
}

.btn .btn__arrow {
  display: inline-flex;
  transition: transform 0.35s var(--ease);
}

.btn:hover .btn__arrow { transform: translateX(5px); }

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

.btn--primary:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(91, 92, 226, 0.32);
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn--ghost:hover {
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

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

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

/* テキストリンク（下線スライド） */
.tlink {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
  padding-bottom: 4px;
}

.tlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1.5px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}

.tlink:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ------------------------------------------------------------
   Header
   ------------------------------------------------------------ */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  z-index: 100;
  transition: background 0.4s, box-shadow 0.4s, height 0.4s;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  height: 68px;
}

.site-header__inner {
  width: min(1280px, 94%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.brand__mark { flex: none; }

.brand__text {
  font-family: var(--font-en);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.brand__logo { height: 30px; width: auto; }
.brand__logo--white { height: 26px; }

.gnav { display: flex; align-items: center; gap: 36px; }

.gnav__link {
  position: relative;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink);
  padding: 6px 0;
}

.gnav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.gnav__link:hover::after,
.gnav__link.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.gnav .btn { padding: 12px 26px; font-size: 0.88rem; }

/* ハンバーガー */
.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 120;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 12px;
  width: 24px; height: 2px;
  background: var(--ink);
  transition: transform 0.4s var(--ease), opacity 0.3s, background 0.3s;
}

.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 24px; }
.nav-toggle span:nth-child(3) { top: 30px; }

body.nav-open .nav-toggle span { background: #fff; }
body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* モバイルオーバーレイ */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--navy-deep);
  z-index: 110;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 10vw;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}

body.nav-open .mobile-nav { opacity: 1; visibility: visible; }

.mobile-nav a {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s;
}

body.nav-open .mobile-nav a {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav a:nth-child(1) { transition-delay: 0.08s; }
.mobile-nav a:nth-child(2) { transition-delay: 0.14s; }
.mobile-nav a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav a:nth-child(4) { transition-delay: 0.26s; }
.mobile-nav a:nth-child(5) { transition-delay: 0.32s; }
.mobile-nav a:nth-child(6) { transition-delay: 0.38s; }

.mobile-nav__sub {
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: rgba(255, 255, 255, 0.7) !important;
  padding-left: 1em !important;
}

/* ------------------------------------------------------------
   Hero（トップ）
   ------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, #dfe2ee 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 90% 80% at 70% 40%, #000 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 70% 40%, #000 0%, transparent 70%);
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  z-index: 0;
  animation: orbFloat 14s ease-in-out infinite alternate;
}

.hero__orb--1 {
  width: 520px; height: 520px;
  right: -120px; top: -80px;
  background: radial-gradient(circle at 30% 30%, rgba(91, 92, 226, 0.16), transparent 65%);
}

.hero__orb--2 {
  width: 420px; height: 420px;
  right: 18%; bottom: -180px;
  background: radial-gradient(circle at 60% 40%, rgba(53, 195, 211, 0.13), transparent 65%);
  animation-delay: -6s;
}

@keyframes orbFloat {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(-40px, 36px) scale(1.08); }
}

.hero__inner { position: relative; z-index: 1; }

.hero__label {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeIn 1s var(--ease) 0.9s forwards;
}

.hero__label::before {
  content: "";
  width: 44px; height: 1.5px;
  background: var(--accent);
}

.hero__title {
  font-size: clamp(2.1rem, 4.6vw, 3.6rem);
  font-weight: 900;
  color: var(--ink);
  line-height: 1.32;
  letter-spacing: 0.03em;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.hero__title .line > span {
  display: inline-block;
  transform: translateY(112%);
  animation: lineUp 1.1s var(--ease) forwards;
}

.hero__title .line:nth-child(2) > span { animation-delay: 0.15s; }

@keyframes lineUp { to { transform: translateY(0); } }

.hero__sub {
  margin-top: 36px;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 500;
  color: var(--text);
  line-height: 2.2;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.1s forwards;
}

.hero__scroll {
  position: absolute;
  left: 4%;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--font-en);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--muted);
  writing-mode: vertical-rl;
  z-index: 1;
}

.hero__scroll::after {
  content: "";
  width: 1.5px; height: 64px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

@keyframes fadeIn { to { opacity: 1; } }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ヒーロー右側のプロダクトビジュアル */
.hero__visual {
  position: absolute;
  right: -4%;
  top: 55%;
  transform: translateY(-50%);
  width: min(39vw, 620px);
  z-index: 0;
  opacity: 0;
  animation: fadeIn 1.2s var(--ease) 1s forwards;
}

/* プロダクトコラージュ */
.hero-collage { position: relative; width: 100%; }

.hero-collage__main {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 44px 90px rgba(31, 36, 48, 0.16);
  animation: heroFloat 8s ease-in-out infinite alternate;
}

.hero-collage__card {
  position: absolute;
  left: 36%;
  top: -13%;
  width: 45%;
  border-radius: 18px;
  box-shadow: 0 26px 56px rgba(31, 36, 48, 0.18);
  animation: heroFloat 7s ease-in-out -3s infinite alternate;
}

.hero-collage__phone {
  position: absolute;
  left: -2%;
  bottom: -12%;
  width: 20%;
  border: 5px solid #2d3242;
  border-radius: 22px;
  background: #2d3242;
  filter: drop-shadow(0 26px 48px rgba(31, 36, 48, 0.26));
  animation: heroFloat 9s ease-in-out -1.5s infinite alternate;
}

@keyframes heroFloat {
  from { transform: translateY(-8px); }
  to { transform: translateY(10px); }
}

.hero-chip {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 12px 22px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 16px 34px rgba(31, 36, 48, 0.14);
  white-space: nowrap;
  animation: chipFloat 5s ease-in-out infinite alternate;
}

.hero-chip strong {
  font-family: var(--font-en);
  font-size: 1.05rem;
  color: var(--accent);
}

.hero-chip--1 { left: -2%; top: -17%; }
.hero-chip--2 { left: 22%; bottom: -9%; animation-delay: -2.5s; }

@keyframes chipFloat {
  from { transform: translateY(-6px); }
  to { transform: translateY(8px); }
}

/* ------------------------------------------------------------
   セクション共通
   ------------------------------------------------------------ */
.section { padding: 130px 0; position: relative; }
.section--gray { background: var(--bg-gray); }
.section--navy {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}

/* ------------------------------------------------------------
   MVV（トップ）
   ------------------------------------------------------------ */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.mvv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 44px 36px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.3s;
}

.mvv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(31, 36, 48, 0.08);
  border-color: transparent;
}

.mvv-card__label {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mvv-card__label::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.mvv-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.7;
  margin-bottom: 16px;
}

.mvv-card__text { font-size: 0.92rem; line-height: 2; color: var(--text); }

/* ------------------------------------------------------------
   Business 4本柱（トップ）
   ------------------------------------------------------------ */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

.pillar-card {
  position: relative;
  display: block;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px 44px 44px;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.35s;
}

.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91, 92, 226, 0.05), rgba(53, 195, 211, 0.05));
  opacity: 0;
  transition: opacity 0.45s;
}

.pillar-card:hover {
  transform: translateY(-8px);
  border-color: rgba(91, 92, 226, 0.4);
  box-shadow: 0 28px 56px rgba(31, 36, 48, 0.1);
}

.pillar-card:hover::before { opacity: 1; }

/* 写真ヘッダー付きカード */
.pillar-card--photo { padding: 0; }

.pillar-card__photo {
  position: relative;
  height: 230px;
  overflow: hidden;
}

.pillar-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.pillar-card:hover .pillar-card__photo img { transform: scale(1.06); }

.pillar-card__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 36, 48, 0.72), rgba(31, 36, 48, 0.05) 55%);
}

.pillar-card__catch {
  position: absolute;
  left: 30px;
  bottom: 22px;
  z-index: 1;
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
}

.pillar-card__photo-num {
  position: absolute;
  top: 20px;
  left: 30px;
  z-index: 1;
  font-family: var(--font-en);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.92);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pillar-card__photo-num::after {
  content: "";
  width: 28px;
  height: 1.5px;
  background: rgba(255, 255, 255, 0.8);
}

.pillar-card__body {
  padding: 30px 44px 42px;
  position: relative;
}

.pillar-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 30px;
  position: relative;
}

.pillar-card__num {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.pillar-card__num::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1.5px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
}

.pillar-card__icon {
  width: 56px; height: 56px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent);
  transition: transform 0.45s var(--ease);
}

.pillar-card:hover .pillar-card__icon { transform: rotate(-8deg) scale(1.08); }

.pillar-card__en {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  position: relative;
}

.pillar-card__title {
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.04em;
  margin-bottom: 14px;
  position: relative;
}

.pillar-card__desc {
  font-size: 0.94rem;
  line-height: 2;
  color: var(--text);
  margin-bottom: 22px;
  position: relative;
}

.pillar-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
  position: relative;
}

.pillar-card__tags li {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 5px 14px;
}

.pillar-card__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink);
  position: relative;
}

.pillar-card__more .circ {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  display: grid;
  place-items: center;
  transition: background 0.35s, border-color 0.35s, transform 0.4s var(--ease);
}

.pillar-card__more .circ svg { transition: transform 0.35s var(--ease); }

.pillar-card:hover .pillar-card__more .circ {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateX(4px);
}

/* ------------------------------------------------------------
   Voice（トップ）
   ------------------------------------------------------------ */
.voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.voice-card {
  background: #fff;
  border-radius: 20px;
  padding: 40px 34px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.voice-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(31, 36, 48, 0.08);
}

.voice-card__quote {
  color: var(--accent);
  opacity: 0.55;
}

.voice-card__text {
  font-size: 0.9rem;
  line-height: 2;
  color: var(--text);
  flex: 1;
}

.voice-card__foot {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.voice-card__company {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ink);
}

.voice-card__name { font-size: 0.82rem; color: var(--muted); }

.voice-card__tag {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid rgba(91, 92, 226, 0.35);
  border-radius: 999px;
  padding: 3px 12px;
}

/* ------------------------------------------------------------
   News（一覧・トップ共通）
   ------------------------------------------------------------ */
.news-list { border-top: 1px solid var(--line); }

.news-item {
  display: grid;
  grid-template-columns: 130px 120px 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 30px 10px;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s;
  position: relative;
}

.news-item:hover { background: var(--bg-gray); }

.news-item__date {
  font-family: var(--font-en);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.news-item__cat {
  font-size: 0.74rem;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 5px 0;
}

.news-item__cat--seminar { background: var(--cyan); }
.news-item__cat--press { background: var(--navy); }

.news-item__title {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.7;
}

.news-item__arrow {
  color: var(--muted);
  transition: transform 0.35s var(--ease), color 0.3s;
}

.news-item:hover .news-item__arrow {
  transform: translateX(6px);
  color: var(--accent);
}

.news-empty {
  padding: 60px 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

/* カテゴリフィルタ */
.news-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 44px;
}

.news-filter button {
  font-family: var(--font-jp);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--text);
  cursor: pointer;
  transition: all 0.3s;
}

.news-filter button:hover { border-color: var(--accent); color: var(--accent); }

.news-filter button.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* 記事ページ */
.article-head { margin-bottom: 48px; }

.article-head__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.article-head__date {
  font-family: var(--font-en);
  font-size: 0.95rem;
  color: var(--muted);
}

.article-head__cat {
  font-size: 0.74rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 999px;
  padding: 5px 16px;
}

.article-head__cat--seminar { background: var(--cyan); }
.article-head__cat--press { background: var(--navy); }

.article-head__title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.6;
}

.article-body {
  font-size: 1rem;
  line-height: 2.2;
  color: var(--text);
}

.article-body p { margin-bottom: 1.6em; }

.article-body h2 {
  font-size: 1.25rem;
  color: var(--ink);
  margin: 2.2em 0 0.9em;
  padding-left: 16px;
  border-left: 3px solid var(--accent);
  line-height: 1.6;
}

.article-body a { color: var(--accent); text-decoration: underline; }

.article-body h3 {
  font-size: 1.02rem;
  color: var(--ink);
  margin: 2em 0 0.7em;
  line-height: 1.7;
}

.article-body ul,
.article-body ol { margin: 0 0 1.6em; padding-left: 0; }

.article-body li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 0.5em;
}

.article-body ul > li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 0.95em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.article-body ol { counter-reset: policy-item; }

.article-body ol > li {
  counter-increment: policy-item;
  padding-left: 28px;
}

.article-body ol > li::before {
  content: counter(policy-item) ".";
  position: absolute;
  left: 0;
  font-weight: 700;
  color: var(--accent);
}

/* 問い合わせ窓口などの囲み */
.policy-box {
  background: var(--bg-gray);
  border-radius: 14px;
  padding: 26px 30px;
  margin: 0 0 1.6em;
  font-size: 0.94rem;
  line-height: 2;
}

.policy-box p { margin-bottom: 0; }
.policy-box strong { color: var(--ink); }

/* 制定日・改定履歴 */
.policy-meta {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--muted);
}

@media (max-width: 560px) {
  .policy-box { padding: 20px 22px; }
}

.article-foot {
  margin-top: 72px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  text-align: center;
}

/* ------------------------------------------------------------
   代表メッセージ帯（トップ）/ CTA帯
   ------------------------------------------------------------ */
.message-band {
  position: relative;
  overflow: hidden;
}

.message-band__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.message-band__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.message-band__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(45, 50, 66, 0.96) 30%, rgba(45, 50, 66, 0.86));
}

.message-band .ghost-word {
  top: 40px;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
}

.message-band__grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
  z-index: 1;
}

.message-band__title {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

.message-band__text {
  font-size: 0.95rem;
  line-height: 2.3;
  color: rgba(255, 255, 255, 0.82);
}

.message-band__sign {
  margin-top: 28px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
}

.message-band__sign strong {
  font-size: 1.05rem;
  color: #fff;
  margin-left: 10px;
}

/* マーキー */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.marquee__track {
  display: inline-flex;
  gap: 60px;
  animation: marquee 30s linear infinite;
}

.marquee__track span {
  font-family: var(--font-en);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: transparent;
  -webkit-text-stroke: 1px #c9cddc;
}

.marquee__track span em {
  font-style: normal;
  color: var(--accent);
  -webkit-text-stroke: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* CTA */
.cta {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta__title {
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.05em;
  line-height: 1.7;
  margin-bottom: 18px;
}

.cta__text {
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 40px;
}

/* ------------------------------------------------------------
   下層ページ共通
   ------------------------------------------------------------ */
.page-hero {
  padding: calc(var(--header-h) + 96px) 0 88px;
  position: relative;
  overflow: hidden;
}

.page-hero .hero__bg { mask-image: radial-gradient(ellipse 80% 100% at 80% 0%, #000, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 80% 100% at 80% 0%, #000, transparent 75%); }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 40px;
  position: relative;
  z-index: 1;
}

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

.breadcrumb li:not(:last-child)::after {
  content: "/";
  margin-left: 10px;
  color: var(--line);
}

.page-hero__en {
  font-family: var(--font-en);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.page-hero__en::before {
  content: "";
  width: 44px; height: 1.5px;
  background: var(--accent);
}

.page-hero__title {
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.04em;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.page-hero__lead {
  margin-top: 28px;
  font-size: 1.02rem;
  line-height: 2.2;
  color: var(--text);
  max-width: 720px;
  position: relative;
  z-index: 1;
}

/* 事業ページヒーローの写真 */
.page-hero--photo .page-hero__title,
.page-hero--photo .page-hero__lead { max-width: 580px; }

.page-hero__photo {
  position: absolute;
  right: 4%;
  top: calc(var(--header-h) + 64px);
  width: min(32vw, 520px);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(31, 36, 48, 0.18);
  z-index: 1;
}

.page-hero__photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}

.page-hero__photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 36, 48, 0.55), transparent 50%);
}

.page-hero__photo-catch {
  position: absolute;
  left: 24px;
  bottom: 18px;
  z-index: 1;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

@media (max-width: 1180px) {
  .page-hero__photo {
    position: static;
    width: 100%;
    margin-top: 36px;
  }
  .page-hero--photo .page-hero__title,
  .page-hero--photo .page-hero__lead { max-width: 720px; }
}

/* サービス詳細ブロック */
.service-block {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  grid-template-areas:
    "head body"
    "visual body";
  gap: 34px 64px;
  align-items: start;
  padding: 72px 0;
}

.service-block__head { grid-area: head; }
.service-block__body { grid-area: body; }

.service-block + .service-block { border-top: 1px solid var(--line); }

.service-block__num {
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.16em;
  margin-bottom: 16px;
}

.service-block__cat {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.service-block__name {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.service-block__copy {
  margin-top: 14px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
}

.service-block__desc {
  font-size: 0.96rem;
  line-height: 2.2;
  color: var(--text);
  margin-bottom: 28px;
}

.feature-list { display: grid; gap: 12px; margin-bottom: 32px; }

.feature-list li {
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: 14px;
  align-items: start;
  background: var(--bg-gray);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  padding: 16px 20px;
}

.feature-list li::before {
  content: "";
  width: 20px; height: 20px;
  margin-top: 3px;
  border-radius: 50%;
  background: var(--accent);
  clip-path: polygon(18% 46%, 40% 66%, 82% 28%, 90% 38%, 40% 82%, 10% 56%);
}

.feature-list li strong {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.7;
}

.feature-list li small {
  grid-column: 2;
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.8;
}

/* サービスビジュアル（実スクリーンショット / ワイヤーモック） */
.service-block__visual {
  grid-area: visual;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 44px rgba(31, 36, 48, 0.08);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}

.service-block__visual:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 56px rgba(31, 36, 48, 0.12);
}

.service-block__visual img { width: 100%; display: block; }

/* スマホ画面を並べるパネル */
.service-block__visual--phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  padding: 52px 32px;
  background: linear-gradient(155deg, #f6f7fa 0%, #eeeffc 100%);
  border-color: transparent;
  box-shadow: none;
}

.service-block__visual--phones:hover { transform: none; box-shadow: none; }

.service-block__visual--phones img {
  width: auto;
  height: 470px;
  border: 8px solid #2d3242;
  border-radius: 34px;
  background: #2d3242;
  box-shadow: 0 24px 48px rgba(31, 36, 48, 0.18);
  transition: transform 0.5s var(--ease);
}

.service-block__visual--phones img:hover { transform: translateY(-8px); }

/* デスクトップ画面を2枚並べる */
.service-block__visual--duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

.service-block__visual--duo:hover { transform: none; box-shadow: none; }

.service-block__visual--duo img {
  border-radius: 14px;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(31, 36, 48, 0.1);
  transition: transform 0.5s var(--ease);
}

.service-block__visual--duo img:hover { transform: translateY(-6px); }

/* 画像の下に添えるキャプション */
.visual-caption {
  margin-top: 14px;
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
  letter-spacing: 0.04em;
}

/* ------------------------------------------------------------
   スクリーンショットカルーセル（サービス名直下）
   ------------------------------------------------------------ */
.shot-carousel { grid-area: visual; }

.shot-carousel__frame {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: #f6f7fa;
  box-shadow: 0 18px 40px rgba(31, 36, 48, 0.1);
  aspect-ratio: 1.8;
}

.shot-carousel__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s var(--ease);
}

.shot-carousel__slide.is-active { opacity: 1; }

.shot-carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}

/* スマホ用フレーム */
.shot-carousel--phone .shot-carousel__frame {
  aspect-ratio: 1179 / 2556;
  width: min(240px, 64%);
  margin: 0 auto;
  border: 8px solid #2d3242;
  border-radius: 32px;
  background: #2d3242;
  box-shadow: 0 24px 48px rgba(31, 36, 48, 0.18);
}

.shot-carousel__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.shot-carousel__dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #d9dce8;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.shot-carousel__dots button.is-active {
  background: var(--accent);
  transform: scale(1.25);
}

/* ------------------------------------------------------------
   ヒーロー: アプリオービット（RECAREを中心にサービスが円形に集まる）
   ------------------------------------------------------------ */
.hero-orbit {
  position: absolute;
  right: 2%;
  top: 56%;
  transform: translateY(-50%);
  width: min(39vw, 620px);
  aspect-ratio: 1;
  z-index: 0;
}

.hero-orbit__ring {
  position: absolute;
  inset: 8%;
  border: 1.5px dashed rgba(91, 92, 226, 0.22);
  border-radius: 50%;
  animation: orbitTurn 80s linear infinite;
}

.hero-orbit__ring--inner {
  inset: 27%;
  border-color: rgba(53, 195, 211, 0.18);
  animation-direction: reverse;
  animation-duration: 60s;
}

@keyframes orbitTurn { to { transform: rotate(360deg); } }

/* 中心: RECARE */
.hero-orbit__center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 158px;
  height: 158px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  text-align: center;
  box-shadow: 0 24px 56px rgba(31, 36, 48, 0.16);
  z-index: 3;
  opacity: 0;
  animation: nodePop 0.8s var(--ease) 0.6s forwards;
}

.hero-orbit__center img { width: 44px; height: auto; }

.hero-orbit__center span {
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--ink);
  letter-spacing: 0.08em;
}

.hero-orbit__center em {
  font-style: normal;
  font-family: var(--font-en);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  color: var(--accent);
}

/* 中心から広がるパルス */
.hero-orbit__pulse {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 158px;
  height: 158px;
  margin: -79px 0 0 -79px;
  border: 1.5px solid rgba(91, 92, 226, 0.35);
  border-radius: 50%;
  animation: orbitPulse 4s ease-out 1.6s infinite;
  z-index: 1;
}

.hero-orbit__pulse--2 { animation-delay: 3.6s; }

@keyframes orbitPulse {
  from { transform: scale(1); opacity: 0.7; }
  to { transform: scale(2.6); opacity: 0; }
}

/* 周回ノード（サービス画面） */
.hero-orbit__node {
  position: absolute;
  width: max-content;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  opacity: 0;
  animation: nodePop 0.7s var(--ease) var(--d, 1s) forwards;
}

@keyframes nodePop {
  from { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
  60% { transform: translate(-50%, -50%) scale(1.08); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.hero-orbit__node .node-float {
  animation: nodeFloat 6s ease-in-out var(--fd, 0s) infinite alternate;
}

@keyframes nodeFloat {
  from { transform: translateY(-5px); }
  to { transform: translateY(6px); }
}

/* サービスを図式化したカード（オービットの大きさに追従） */
.hero-orbit__node .node-card {
  width: min(10.6vw, 168px);
  aspect-ratio: 168 / 104;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(31, 36, 48, 0.14);
  overflow: hidden;
}

.hero-orbit__node .node-card svg { width: 100%; height: 100%; }

.hero-orbit__node .node-label {
  display: inline-block;
  margin-top: 10px;
  padding: 4px 14px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 8px 18px rgba(31, 36, 48, 0.08);
  white-space: nowrap;
}

/* ヒーロー下の信頼バッジ */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
  opacity: 0;
  animation: fadeUp 1s var(--ease) 1.4s forwards;
}

.hero-badges li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(31, 36, 48, 0.06);
}

.hero-badges li svg { color: var(--accent); flex: none; }

/* ステップ（進め方） */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 40px 30px 34px;
  counter-increment: step;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(31, 36, 48, 0.08);
}

.step-card::before {
  content: "0" counter(step);
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-soft);
  -webkit-text-stroke: 1px var(--accent);
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}

.step-card__title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
}

.step-card__text { font-size: 0.9rem; line-height: 2; color: var(--text); }

/* 数字ハイライト */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 44px 20px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid var(--line);
}

.stat-card__value {
  font-family: var(--font-en);
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1.1;
}

.stat-card__value small { font-size: 0.45em; font-weight: 600; margin-left: 4px; }

.stat-card__label {
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text);
}

/* プロダクトカード（自社プロダクトページ） */
.product-card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 56px 48px;
  background: #fff;
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}

.product-card__visual {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 20px 44px rgba(31, 36, 48, 0.08);
}

.product-card__visual img { width: 100%; display: block; }

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 52px rgba(31, 36, 48, 0.09);
}

.product-card__badge {
  position: absolute;
  top: 28px; right: 28px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 14px;
}

.product-card__badge--live {
  color: var(--accent);
  border-color: rgba(91, 92, 226, 0.4);
  background: var(--accent-soft);
}

/* 会社概要テーブル */
.company-table { width: 100%; border-collapse: collapse; }

.company-table th,
.company-table td {
  padding: 26px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
  line-height: 2;
}

.company-table th {
  width: 180px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}

.company-table td { color: var(--text); }

.company-table .office { margin-bottom: 18px; }
.company-table .office:last-child { margin-bottom: 0; }
.company-table .office strong { color: var(--ink); display: block; }

.company-table .map-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
}

.company-table .map-link:hover { text-decoration: underline; }

/* 代表プロフィール */
.ceo-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 56px;
  align-items: start;
}

.ceo-photo {
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  background: linear-gradient(150deg, var(--accent-soft), #e2f5f7);
  overflow: hidden;
}

.ceo-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ceo-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 4px;
}

.ceo-role { font-size: 0.85rem; color: var(--muted); margin-bottom: 24px; }

.ceo-bio { font-size: 0.95rem; line-height: 2.2; color: var(--text); }

/* ------------------------------------------------------------
   Contact フォーム
   ------------------------------------------------------------ */
.form-grid { display: grid; gap: 28px; }

.form-row { display: grid; gap: 10px; }

.form-row label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-row .req {
  font-size: 0.68rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border-radius: 4px;
  padding: 2px 8px;
}

.form-row input[type="text"],
.form-row input[type="tel"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
  font-family: var(--font-jp);
  font-size: 0.95rem;
  padding: 16px 18px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s;
  width: 100%;
  appearance: none;
}

.form-row textarea { min-height: 170px; resize: vertical; }

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(91, 92, 226, 0.12);
}

.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.form-check input { width: 18px; height: 18px; accent-color: var(--accent); }

.form-note { font-size: 0.82rem; color: var(--muted); }

.form-note a { color: var(--accent); text-decoration: underline; }

.form-status {
  display: none;
  padding: 18px 22px;
  border-radius: 12px;
  font-size: 0.9rem;
  line-height: 1.9;
}

.form-status.is-show { display: block; }
.form-status--ok { background: #e9f8ef; color: #1d7a43; }
.form-status--ng { background: #fdeeee; color: #b03434; }

/* ハニーポット（ボット対策）。人には見えず、支援技術からも外す */
.hp-field {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 88px 0 40px;
}

.site-footer a { transition: color 0.3s; }
.site-footer a:hover { color: #fff; }

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 44px;
  margin-bottom: 64px;
}

.footer-brand .brand__text { color: #fff; }

.footer-brand p {
  margin-top: 18px;
  font-size: 0.82rem;
  line-height: 2;
  color: rgba(255, 255, 255, 0.55);
}

.footer-col h4 {
  font-family: var(--font-en);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 20px;
}

.footer-col li { margin-bottom: 12px; font-size: 0.88rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer-bottom nav { display: flex; gap: 24px; }

/* ------------------------------------------------------------
   スクロールリビール
   ------------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}

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

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 1180px) {
  .hero__visual, .hero-chip, .hero-orbit { display: none; }
}

@media (max-width: 1024px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .product-card { grid-template-columns: 1fr; gap: 32px; }
  .voice-grid { grid-template-columns: repeat(2, 1fr); }
  .message-band__grid { grid-template-columns: 1fr; gap: 36px; }
  .service-block {
    grid-template-columns: 1fr;
    grid-template-areas: "head" "visual" "body";
    gap: 30px;
    padding: 56px 0;
  }
  .service-block__visual--phones { gap: 20px; padding: 32px 16px; }
  .service-block__visual--phones img { height: 340px; }
  .service-block__visual--duo { grid-template-columns: 1fr; }
  .ceo-grid { grid-template-columns: 1fr; gap: 32px; }
  .ceo-photo { max-width: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --header-h: 68px; }

  .section { padding: 88px 0; }

  .gnav { display: none; }
  .nav-toggle { display: block; }

  .hero { min-height: 86vh; }
  .hero__sub br { display: none; }
  .hero__scroll { display: none; }

  .mvv-grid { grid-template-columns: 1fr; }
  .voice-grid { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr; }

  .pillar-card { padding: 36px 26px; }
  .product-card { padding: 40px 26px; }

  .news-item {
    grid-template-columns: auto auto 1fr;
    grid-template-areas:
      "date cat arrow"
      "title title title";
    gap: 12px 16px;
    padding: 22px 4px;
  }

  .news-item__date { grid-area: date; }
  .news-item__cat { grid-area: cat; padding: 4px 16px; }
  .news-item__title { grid-area: title; }
  .news-item__arrow { grid-area: arrow; justify-self: end; }

  .company-table th { width: auto; display: block; padding-bottom: 0; border-bottom: none; }
  .company-table td { display: block; padding-top: 8px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
