@charset "UTF-8";
/* =============================================================
   株式会社Swak コーポレートサイト
   デザインコンセプト: クリーン × 信頼感 × テック感
   ベンチマーク: LayerX(余白) × Stripe(信頼感) × AI inside(テック感)
   ============================================================= */

/* -------------------------------------------------------------
   1. デザイントークン（CSS Variables）
   ------------------------------------------------------------- */
:root {
  /* カラー */
  --color-bg: #FAFAFA;
  --color-surface: #FFFFFF;
  --color-surface-alt: #EDEFF5;
  /* ブランド寄りの淡い帯（Solution などのアクセントセクション用） */
  --gradient-band: linear-gradient(135deg, #EEF0FF 0%, #F3EEFF 50%, #E8F8FC 100%);
  --color-text: #1A1A2E;
  --color-text-muted: #5B5F6E;
  --color-text-faint: #8A8F9E;
  --color-border: #E7E9EF;

  /* アクセント（ロゴ確定後に調整しやすいよう変数化） */
  --color-accent: #4F46E5;
  /* インディゴ */
  --color-accent-strong: #4338CA;
  --color-accent-2: #7C3AED;
  /* バイオレット */
  --color-accent-3: #06B6D4;
  /* シアン（テック感のサブ） */
  --gradient-brand: linear-gradient(120deg, #4F46E5 0%, #7C3AED 55%, #06B6D4 100%);
  --gradient-soft: linear-gradient(135deg, #EEF0FF 0%, #F6F0FF 50%, #ECFBFF 100%);

  /* タイポグラフィ：Noto Sans JP に統一（王道ゴシック・ニュートラル） */
  --font-jp: "Noto Sans JP", system-ui, sans-serif;
  --font-en: var(--font-jp);
  --font-base: var(--font-jp);
  /* 見出し・ラベルも同書体。ウェイト/サイズで階層を作る */
  --font-display: var(--font-jp);
  --font-head: var(--font-jp);

  /* 余白スケール（贅沢な余白＝LayerX） */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 7rem;
  --space-2xl: 10rem;

  /* レイアウト */
  --container: 1160px;
  --container-narrow: 760px;
  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  /* 影 */
  --shadow-sm: 0 1px 2px rgba(26, 26, 46, 0.04), 0 2px 8px rgba(26, 26, 46, 0.04);
  --shadow: 0 4px 12px rgba(26, 26, 46, 0.06), 0 12px 32px rgba(26, 26, 46, 0.07);
  --shadow-lg: 0 16px 48px rgba(26, 26, 46, 0.12);

  /* その他 */
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.4s var(--ease);
}

/* -------------------------------------------------------------
   2. リセット
   ------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  background-color: var(--color-bg);
}

body {
  position: relative;
  font-family: var(--font-base);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-text);
  /* 背景は html 側が担当。body を透過させ、背後の aurora を見せる */
  background-color: transparent;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* 背景グレイン（上質な質感を一枚かぶせる） */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

ul,
ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

::selection {
  background: rgba(79, 70, 229, 0.18);
}

/* -------------------------------------------------------------
   2.5 背景アニメーションレイヤー（オーロラ mesh）
   サイト全体の白背景に薄く敷き、常時ゆっくり動き続ける。
   ------------------------------------------------------------- */
.aurora {
  position: fixed;
  inset: -25%;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(38% 38% at 25% 28%, rgba(124, 58, 237, 0.10), transparent 70%),
    radial-gradient(42% 42% at 78% 30%, rgba(6, 182, 212, 0.10), transparent 70%),
    radial-gradient(40% 40% at 60% 78%, rgba(79, 70, 229, 0.10), transparent 70%);
  animation: auroraSpin 48s linear infinite;
}

.aurora::before,
.aurora::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  will-change: transform;
}

.aurora::before {
  width: 52vmax;
  height: 52vmax;
  top: -8%;
  left: -6%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.16), transparent 64%);
  animation: blobDrift1 26s ease-in-out infinite alternate;
}

.aurora::after {
  width: 46vmax;
  height: 46vmax;
  bottom: -12%;
  right: -8%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.16), transparent 64%);
  animation: blobDrift2 32s ease-in-out infinite alternate;
}

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

@keyframes blobDrift1 {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(10vw, 7vh) scale(1.15);
  }
}

@keyframes blobDrift2 {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(-9vw, -7vh) scale(1.12);
  }
}

/* -------------------------------------------------------------
   3. タイポグラフィ
   ------------------------------------------------------------- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  font-weight: 900;
  line-height: 1.35;
  letter-spacing: 0.02em;
  /* 和文の約物詰め＝見出しが締まる */
  font-feature-settings: "palt" 1;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
  /* 章ラベルをピル型バッジ化 → 「章が変わった」サインを強める */
  padding: 0.4em 1em;
  border-radius: var(--radius-full);
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.18);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: 0.01em;
  line-height: 1.35;
}


.section-lead {
  margin-top: var(--space-sm);
  font-size: 1.12rem;
  color: var(--color-text-muted);
  line-height: 2;
}

/* @property で角度を変数化 → グラデが常時ゆっくり流れる */
@property --grad-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 120deg;
}

.text-gradient {
  background: linear-gradient(var(--grad-angle), #4F46E5 0%, #7C3AED 50%, #06B6D4 100%);
  background-size: 160% 160%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradAngle 9s linear infinite;
}

@keyframes gradAngle {
  to {
    --grad-angle: 480deg;
  }
}

/* -------------------------------------------------------------
   4. レイアウト共通
   ------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 2.5rem);
}

.container.narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.section.alt {
  background: var(--color-surface-alt);
  /* 章の入口/出口にヘアライン → 境界を明示 */
  border-block: 1px solid var(--color-border);
}

/* アクセント帯：主役セクション（Solution）を淡いブランドグラデで強調し、リズムを作る */
.section--brand {
  background: var(--gradient-band);
  border-block: 1px solid var(--color-border);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 6vw, var(--space-lg));
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

/* -------------------------------------------------------------
   5. ボタン
   ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.9em;
  font-family: var(--font-base);
  font-weight: 700;
  font-size: 0.98rem;
  letter-spacing: 0.03em;
  border-radius: var(--radius-full);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
  will-change: transform;
}

.btn .arrow {
  transition: transform var(--transition);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn-primary {
  color: #fff;
  background: var(--gradient-brand);
  background-size: 160% 160%;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.28);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      transparent 35%,
      rgba(255, 255, 255, 0.35) 45%,
      rgba(255, 255, 255, 0.45) 50%,
      rgba(255, 255, 255, 0.35) 55%,
      transparent 65%);
  transform: translateX(-100%);
  animation: btnShimmer 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes btnShimmer {

  0%,
  70%,
  100% {
    transform: translateX(-100%);
  }

  40% {
    transform: translateX(100%);
  }
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(79, 70, 229, 0.36);
  background-position: 100% 0;
}

.btn-ghost {
  color: var(--color-text);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent);
  color: var(--color-accent);
  box-shadow: var(--shadow);
}

.btn-lg {
  padding: 1.1em 2.4em;
  font-size: 1.05rem;
  animation: ctaBreathing 2.6s ease-in-out infinite;
}

.btn-lg:hover {
  animation: none;
}

@keyframes ctaBreathing {

  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.07);
  }
}

@media (min-width: 769px) {
  .btn-lg {
    padding: 1.25em 3em;
    font-size: 1.15rem;
  }
}

/* -------------------------------------------------------------
   6. ヘッダー / ナビゲーション
   ------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(250, 250, 250, 0);
  transition: background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--color-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
}

.brand img {
  height: 38px;
  width: auto;
}

.nav {
  position: fixed;
  top: 0;
  right: 0;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-right: max(calc((100vw - var(--container)) / 2), 2rem);
  z-index: 1001;
}

.nav-overlay {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.5vw, 2.25rem);
}

.nav-list a {
  position: relative;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  padding-block: 0.4rem;
}

.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.nav-list a:hover {
  color: var(--color-text);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  transform: scaleX(1);
}

.nav-list a.active {
  color: var(--color-text);
}

.nav-cta {
  display: inline-flex;
}

.nav-cta .btn-primary::after {
  display: none;
}

/* ハンバーガー */
.nav-toggle {
  display: none;
  position: fixed;
  top: 10px;
  right: 16px;
  width: 44px;
  height: 44px;
  z-index: 1100;
}

.nav-toggle span {
  position: absolute;
  left: 11px;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}

.nav-toggle span:nth-child(1) {
  top: 16px;
}

.nav-toggle span:nth-child(2) {
  top: 22px;
}

.nav-toggle span:nth-child(3) {
  top: 28px;
}

body.nav-open .nav-toggle span:nth-child(1) {
  top: 22px;
  transform: rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  top: 22px;
  transform: rotate(-45deg);
}

/* -------------------------------------------------------------
   7. ヒーロー
   ------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
  background: var(--gradient-soft);
}

@keyframes heroBgShift {

  0%,
  100% {
    background-position: 0% 50%;
  }

  33% {
    background-position: 100% 30%;
  }

  66% {
    background-position: 50% 80%;
  }
}

/* 生成した抽象テック背景。左は白く抜け、見出しの可読性を確保する画像 */
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("/images/hero-bg.webp");
  background-size: cover;
  /* 左（白）を見出しの下に置き、右の装飾を逃がす。モバイルでも文字が読める */
  background-position: left center;
  background-repeat: no-repeat;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(250, 250, 250, 0) 40%, rgba(250, 250, 250, 0.85) 100%),
    linear-gradient(135deg,
      rgba(232, 230, 255, 0.45) 0%, rgba(243, 232, 255, 0.45) 20%, rgba(224, 244, 255, 0.45) 40%,
      rgba(243, 232, 255, 0.45) 60%, rgba(232, 230, 255, 0.45) 80%, rgba(224, 244, 255, 0.45) 100%);
  background-size: 100% 100%, 400% 400%;
  animation: heroBgShift 12s ease infinite;
}

/* キラキラパーティクル */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero__particle {
  position: absolute;
  width: var(--p-size, 6px);
  height: var(--p-size, 6px);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.9) 0%, rgba(79, 70, 229, 0.4) 50%, transparent 70%);
  box-shadow: 0 0 6px rgba(124, 58, 237, 0.5);
  opacity: 0;
  animation: particleFade var(--p-dur, 4s) ease-in-out infinite;
  animation-delay: var(--p-delay, 0s);
}

@keyframes particleFade {

  0%,
  100% {
    opacity: 0;
    transform: translateY(0) scale(0.5);
  }

  50% {
    opacity: 1;
    transform: translateY(-20px) scale(1);
  }
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}

.hero__orb.one {
  width: 420px;
  height: 420px;
  background: #C7C5FF;
  top: -120px;
  right: -80px;
  animation: orbFloat1 22s ease-in-out infinite alternate;
}

.hero__orb.two {
  width: 360px;
  height: 360px;
  background: #B9F0FF;
  bottom: -120px;
  left: -60px;
  animation: orbFloat2 26s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(-46px, 38px) scale(1.12);
  }
}

@keyframes orbFloat2 {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(40px, -34px) scale(1.1);
  }
}

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

.hero__inner {
  max-width: 960px;
}

.hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: 0.005em;
}


.hero__sub {
  margin-top: var(--space-md);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  line-height: 2.1;
  color: var(--color-text-muted);
  max-width: 36em;
}

.hero__actions {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-sm);
}


.hero__checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.4rem;
  margin-top: 0.5rem;
  list-style: none;
  padding: 0;
}


.hero__checks li {
  display: flex;
  align-items: center;
  gap: 0.35em;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  white-space: nowrap;
}

.hero__checks li::before {
  content: "\2713\FE0E";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  -webkit-text-fill-color: #fff;
  font-size: 0.7em;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
}

.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--color-text-faint), transparent);
  animation: scrollLine 2s var(--ease) infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }

  40% {
    transform: scaleY(1);
    transform-origin: top;
  }

  60% {
    transform: scaleY(1);
    transform-origin: bottom;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* FVアイコン浮遊 */
.hero__float {
  position: absolute;
  left: var(--float-x);
  top: var(--float-y);
  width: var(--float-size, 160px);
  height: auto;
  z-index: 0;
  opacity: 0.88;
  border-radius: var(--radius-lg);
  box-shadow:
    0 8px 32px rgba(79, 70, 229, 0.18),
    0 0 40px rgba(124, 58, 237, 0.15),
    0 0 80px rgba(124, 58, 237, 0.08);
  pointer-events: none;
  animation: heroFloat 6s ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
  will-change: transform, box-shadow;
}

@keyframes heroFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    box-shadow:
      0 8px 32px rgba(79, 70, 229, 0.18),
      0 0 40px rgba(124, 58, 237, 0.15),
      0 0 80px rgba(124, 58, 237, 0.08);
  }

  25% {
    transform: translateY(-12px) rotate(0.5deg);
    box-shadow:
      0 12px 40px rgba(79, 70, 229, 0.25),
      0 0 56px rgba(124, 58, 237, 0.22),
      0 0 100px rgba(124, 58, 237, 0.12);
  }

  75% {
    transform: translateY(8px) rotate(-0.5deg);
    box-shadow:
      0 4px 24px rgba(79, 70, 229, 0.14),
      0 0 32px rgba(124, 58, 237, 0.1),
      0 0 60px rgba(124, 58, 237, 0.06);
  }
}


/* -------------------------------------------------------------
   8. サービスカード
   ------------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.card__media {
  aspect-ratio: 4 / 3;
  background: var(--gradient-soft);
  overflow: hidden;
}

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

.card:hover .card__media img {
  transform: scale(1.05);
}

.card__body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  flex: 1;
}

.card__no {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--color-accent);
}

.card__title {
  font-size: 1.3rem;
  font-weight: 900;
}

.card__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.9;
}

.card__link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-accent);
}

.card__link .arrow {
  transition: transform var(--transition);
}

.card:hover .card__link .arrow {
  transform: translateX(4px);
}

/* -------------------------------------------------------------
   9. PASONA パーツ（Problem / Affinity / Solution / Offer / Narrowing）
   ------------------------------------------------------------- */
/* チェックリスト（Problem / Narrowing） */
.check-list {
  display: grid;
  gap: 1rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.4rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  font-size: 1.02rem;
  font-weight: 500;
  line-height: 1.7;
}


.check-list li::before {
  content: "\2713\FE0E";
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  margin-top: 0.12em;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.25);
}

/* Affinity 本文（中央寄せの語りパート） */
.affinity-text {
  text-align: center;
  font-size: clamp(1.05rem, 2.4vw, 1.2rem);
  line-height: 2.15;
  color: var(--color-text-muted);
}

.affinity-text strong {
  color: var(--color-text);
  font-weight: 700;
}

/* Solution グリッド（4つの武器） */
.solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.solution-item {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.6rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.solution-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gradient-brand);
  transform: scaleY(1);
  transform-origin: top;
  transition: transform var(--transition);
}

.solution-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}



/* アイコンをカード右上に配置 */
.solution-item__icon {
  position: absolute;
  top: calc(clamp(1.75rem, 3vw, 2.6rem) + 11px);
  right: clamp(1.75rem, 3vw, 2.6rem);
  width: clamp(60px, 10vw, 84px);
  height: clamp(60px, 10vw, 84px);
  opacity: 0.7;
}

.solution-item__no {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.solution-item__title {
  margin-top: 0.25rem;
  font-size: 1.6rem;
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.solution-item__lead {
  margin-top: 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text);
}

.solution-item__text {
  margin-top: 0.8rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.9;
}

.solution-item__text strong {
  text-decoration: underline;
  text-decoration-color: var(--color-text);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

/* Offer PDCAサイクル（ヒアリング → Plan・Do・Check・Act を回す） */
.pdca {
  margin-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(var(--space-md) + 0.5rem);
}

/* 入口：ヒアリング */
.pdca__intro {
  position: relative;
  width: 100%;
  max-width: 520px;
  padding: clamp(1.5rem, 4vw, 2rem) var(--space-md);
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pdca__intro:hover,
.pdca__intro.is-visible:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* 入口からサイクルへ下る矢印 */
.pdca__intro::after {
  content: "↓";
  position: absolute;
  left: 50%;
  bottom: calc((var(--space-md) + 0.5rem) / -2);
  transform: translate(-50%, 50%);
  color: var(--color-accent);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
}

.pdca__intro-no {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #fff;
  padding: 0.25em 0.95em;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
}

.pdca__intro-title {
  margin-top: 0.6rem;
  font-size: 1.25rem;
  font-weight: 900;
}

.pdca__intro-text {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.9;
}

/* PDCA ひし形サイクル（時計回り: 計画→実行→評価→改善） */
.pdca__diagram {
  position: relative;
  width: 100%;
  max-width: 540px;
  aspect-ratio: 1 / 1;
  margin-inline: auto;
}

/* 各辺をつなぐ循環矢印（SVG） */
.pdca__arrows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

/* ひし形の頂点（真円の円周上）に置く4ノード。中心を配置点に合わせ、hoverで浮かせる */
.pdca__node {
  position: absolute;
  width: clamp(112px, 30%, 168px);
  padding: clamp(0.7rem, 2vw, 1.1rem) clamp(0.55rem, 1.8vw, 1rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transform: translate(-50%, -50%);
  transition: transform var(--transition), box-shadow var(--transition);
}

.pdca__node:hover {
  transform: translate(-50%, calc(-50% - 5px));
  box-shadow: var(--shadow);
}

.pdca__node--plan {
  top: 16%;
  left: 50%;
}

.pdca__node--do {
  top: 50%;
  left: 84%;
}

.pdca__node--check {
  top: 84%;
  left: 50%;
}

.pdca__node--action {
  top: 50%;
  left: 16%;
}

.pdca__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.pdca__node-title {
  display: block;
  margin-top: 0.15rem;
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  font-weight: 900;
}

.pdca__node-text {
  display: block;
  margin-top: 0.2rem;
  font-size: clamp(0.72rem, 1.8vw, 0.85rem);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* 中央ハブ */
.pdca__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: clamp(66px, 17%, 90px);
  height: clamp(66px, 17%, 90px);
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(0.82rem, 2.4vw, 1rem);
  letter-spacing: 0.08em;
  box-shadow: 0 10px 28px rgba(79, 70, 229, 0.32);
  border: 4px solid var(--color-surface-alt);
}

/* GOAL（PDCAサイクルの成果）: Checkノードと双方向矢印で接続 */
.pdca__goal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.pdca__goal-arrows {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: goalPulse 2s ease-in-out infinite;
}

@keyframes goalPulse {

  0%,
  100% {
    opacity: 0.6;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.15);
  }
}

.pdca__goal-card {
  width: 100%;
  max-width: 520px;
  padding: clamp(1.5rem, 4vw, 2rem) var(--space-md);
  text-align: center;
  background: var(--color-surface);
  border: 4px solid transparent;
  border-radius: var(--radius);
  box-shadow:
    0 0 20px rgba(79, 70, 229, 0.28),
    0 0 48px rgba(124, 58, 237, 0.18),
    0 0 80px rgba(6, 182, 212, 0.1);
  background-image: linear-gradient(var(--color-surface), var(--color-surface)), var(--gradient-brand);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  transition: transform var(--transition), box-shadow var(--transition);
}

.pdca__goal-card:hover {
  transform: translateY(-4px);
}

.pdca__goal-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #fff;
  padding: 0.25em 0.95em;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
}

.pdca__goal-title {
  margin-top: 0.6rem;
  font-size: 1.25rem;
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.pdca__goal-text {
  margin-top: 0.4rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
}

/* Offer 締め（無料を強調） */
.offer-note {
  margin-top: var(--space-lg);
  text-align: center;
  font-size: clamp(1.1rem, 2.6vw, 1.3rem);
  font-weight: 700;
}

.offer-note strong {
  font-weight: 900;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Why（選ばれる理由）: 左に大きな番号＋本文の横長アイテム */
.reasons {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  max-width: 780px;
  margin-inline: auto;
}

.reason-item {
  display: flex;
  align-items: center;
  gap: 0;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.reason-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.reason-item__no {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.8rem, 6vw, 3.5rem);
  line-height: 1;
  padding-right: clamp(1.2rem, 2.5vw, 2rem);
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.reason-item__body {
  border-left: 2px solid var(--color-border);
  padding-left: clamp(1.2rem, 2.5vw, 2rem);
}

.reason-item__title {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--color-accent);
}

.reason-item__text {
  margin-top: 0.5rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.9;
}

.reason-item__text strong {
  text-decoration: underline;
  text-decoration-color: var(--color-text);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.25em;
}

/* -------------------------------------------------------------
   9.5 社名の由来（Philosophy）
   ------------------------------------------------------------- */
.philosophy-body {
  max-width: 640px;
  margin-inline: auto;
  font-size: 1.05rem;
  line-height: 2;
  color: var(--color-text-muted);
}

.philosophy-body p {
  margin-top: 1.4rem;
}

.philosophy-body p:first-child {
  margin-top: 0;
}

.philosophy-body strong {
  color: var(--color-text);
  font-weight: 700;
}

.philosophy-values {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: values;
}

.philosophy-values li {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  counter-increment: values;
}

.philosophy-values li strong::before {
  content: "0" counter(values);
  margin-right: 0.6em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-accent);
  letter-spacing: 0.02em;
}

.philosophy-values li:first-child {
  border-top: 1px solid var(--color-border);
}

.philosophy-values li strong {
  color: var(--color-text);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

.philosophy-values li strong::after {
  display: none;
}

.philosophy-values li span {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.philosophy-closing {
  margin-top: 2rem !important;
  text-align: left;
  font-size: 1.05rem;
}

.philosophy-closing strong {
  color: var(--color-text);
}

/* -------------------------------------------------------------
   10. CTA セクション
   ------------------------------------------------------------- */
.cta {
  position: relative;
  overflow: hidden;
  background: var(--color-text);
  color: #fff;
  border-radius: clamp(20px, 4vw, 36px);
}

.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-brand);
  opacity: 0.85;
}

.cta__inner {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}

/* ダークCTA内の「今なら 初回相談無料」インパクトバッジ */
.cta__badge {
  display: block;
  margin-top: 2rem;
  margin-bottom: 0;
  padding: 0;
  border: none;
  border-radius: 0;
  background: none;
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.cta__badge strong {
  font-weight: 900;
  color: #FFD700;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
}

.cta h2 {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  font-weight: 900;
  color: #fff;
}

.cta p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.cta .btn-primary {
  margin-top: 3px;
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #fff;
  box-shadow: 0 12px 32px rgba(217, 119, 6, 0.3);
}

.cta .btn-primary:hover {
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  transform: translateY(-2px);
}

.cta .btn-primary::after {
  background: linear-gradient(105deg,
      transparent 35%,
      rgba(255, 255, 255, 0.35) 45%,
      rgba(255, 255, 255, 0.45) 50%,
      rgba(255, 255, 255, 0.35) 55%,
      transparent 65%);
}

.cta__checks {
  justify-content: center;
  margin-top: 1.2rem;
}

.cta__checks li {
  color: rgba(255, 255, 255, 0.78);
}

.cta__checks li::before {
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-accent);
  -webkit-text-fill-color: var(--color-accent);
  box-shadow: none;
}

/* -------------------------------------------------------------
   11. ページヘッダー（下層ページ共通）
   ------------------------------------------------------------- */
.page-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--gradient-soft);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("/images/message-bg.svg");
  background-size: cover;
  background-position: center;
  opacity: 0.12;
  z-index: 0;
}

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

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
}

.page-hero p {
  margin-top: var(--space-sm);
  color: var(--color-text-muted);
  font-size: 1.05rem;
}

.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-faint);
  margin-bottom: var(--space-sm);
  font-family: var(--font-display);
}

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

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

.info-table th,
.info-table td {
  text-align: left;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.info-table th {
  width: 32%;
  font-weight: 600;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.info-table td {
  color: var(--color-text);
  line-height: 1.9;
}

@media (max-width: 640px) {

  .info-table th,
  .info-table td {
    display: block;
    padding: 0.5rem 0;
  }

  .info-table th {
    width: 100%;
    padding-top: 1.25rem;
    border-bottom: none;
  }

  .info-table td {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--color-border);
  }
}

/* -------------------------------------------------------------
   13. 事業内容（サービス詳細）
   ------------------------------------------------------------- */
.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.service-block+.service-block {
  margin-top: clamp(3rem, 8vw, 6rem);
}

.service-block:nth-child(even) .service-block__media {
  order: 2;
}

.service-block__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
  background: var(--gradient-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-block__media img {
  width: auto;
  height: clamp(160px, 30vw, 280px);
  object-fit: contain;
}

.service-block__label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
  text-transform: uppercase;
}

.service-block__no {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 3rem;
  line-height: 1;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.85;
}

.service-block h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 0.5rem;
}

.service-block p {
  margin-top: 1rem;
  color: var(--color-text-muted);
  line-height: 2;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: var(--space-md);
}

.tag {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45em 1em;
  border-radius: var(--radius-full);
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.2);
  color: var(--color-accent);
}

/* -------------------------------------------------------------
   14. 代表メッセージ
   ------------------------------------------------------------- */
.message-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.message-portrait {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.message-portrait__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 3 / 4;
  background: var(--gradient-soft);
}

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

.message-portrait__name {
  margin-top: 1.25rem;
}

.message-portrait__role {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.message-portrait__name strong {
  display: block;
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0.2rem;
}

.message-body>*+* {
  margin-top: 1.5rem;
}

.message-body h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  font-weight: 900;
  line-height: 1.5;
}

.message-body p {
  color: var(--color-text);
  line-height: 2.1;
  font-size: 1.02rem;
}

/* --- 署名（丸型ぼかし） --- */
.sign-circle {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: var(--space-lg);
}

.sign-circle__photo {
  width: 160px;
  height: 160px;
  flex-shrink: 0;
}

.sign-circle__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000 58%, rgba(0, 0, 0, 0.3) 70%, transparent 77%);
  mask-image: radial-gradient(circle, #000 58%, rgba(0, 0, 0, 0.3) 70%, transparent 77%);
}

.sign-circle__text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.sign-circle__company,
.sign-circle__role {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.sign-circle__name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 0.2rem;
  letter-spacing: 0.04em;
}

@media (max-width: 820px) {
  .message-layout {
    grid-template-columns: 1fr;
  }

  .message-portrait {
    position: static;
    max-width: 280px;
  }
}

/* -------------------------------------------------------------
   15. お問い合わせフォーム
   ------------------------------------------------------------- */
.form-wrap {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 5vw, 3.5rem);
  box-shadow: var(--shadow);
}

.form-row {
  margin-bottom: var(--space-md);
}

.form-row label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

.req,
.opt {
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.15em 0.6em;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.req {
  background: rgba(79, 70, 229, 0.1);
  color: var(--color-accent);
}

.opt {
  background: var(--color-surface-alt);
  color: var(--color-text-faint);
}

.form-control {
  width: 100%;
  padding: 0.9em 1.1em;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  background: var(--color-surface);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

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

.field-error {
  display: none;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: #DC2626;
}

.form-row.has-error .form-control {
  border-color: #DC2626;
}

.form-row.has-error .field-error {
  display: block;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.radio-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--color-text);
}

.radio-label input[type="radio"] {
  accent-color: var(--color-accent);
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
}

.form-note {
  font-size: 0.8rem;
  color: var(--color-text-faint);
  line-height: 1.8;
  margin-top: 0.5rem;
}

.privacy-policy-box {
  margin-top: var(--space-md);
}

.privacy-policy-box h4 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.privacy-policy-scroll {
  max-height: 140px;
  overflow-y: auto;
  padding: 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-surface-alt);
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--color-text-muted);
}

.privacy-policy-scroll h5 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text);
  margin-top: 1rem;
  margin-bottom: 0.25rem;
}

.privacy-policy-scroll h5:first-of-type {
  margin-top: 0.5rem;
}

.privacy-policy-scroll ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}

.privacy-policy-scroll li {
  list-style: disc;
  margin-bottom: 0.25rem;
}

.checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin-top: 1rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--color-text);
}

.checkbox-label input[type="checkbox"] {
  accent-color: var(--color-accent);
  width: 18px;
  height: 18px;
  margin: 0;
  cursor: pointer;
}

.form-actions {
  margin-top: var(--space-md);
}

.form-actions .btn {
  width: 100%;
  justify-content: center;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: var(--space-md);
  font-size: 0.95rem;
  line-height: 1.8;
}

.alert-success {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.alert-error {
  background: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-aside .info-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-md);
}

.contact-aside .info-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.contact-aside .info-card p {
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.9;
}

.contact-aside .info-card a {
  color: var(--color-accent);
  font-weight: 500;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}

@media (max-width: 860px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* 確認画面 */
.confirm-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--space-md);
}

.confirm-table th,
.confirm-table td {
  text-align: left;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}

.confirm-table th {
  width: 30%;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 0.92rem;
}

.confirm-actions {
  display: flex;
  gap: 1rem;
  margin-top: var(--space-md);
}

.confirm-actions form {
  flex: 1;
  display: flex;
}

.confirm-actions .btn {
  flex: 1;
  justify-content: center;
}

/* -------------------------------------------------------------
   16. フッター
   ------------------------------------------------------------- */
.site-footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.72);
  padding-block: clamp(3rem, 7vw, 5rem) 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img {
  height: 30px;
  width: auto;
  margin-bottom: 1.25rem;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.9;
  max-width: 28em;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 1.1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-col a {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer-col a:hover {
  color: #fff;
}

.footer-col address {
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.6);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
  font-family: var(--font-display);
}

/* -------------------------------------------------------------
   17. スクロールアニメーション
   ------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease), filter 0.8s var(--ease);
  will-change: opacity, transform, filter;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.reveal[data-delay="1"] {
  transition-delay: 0.08s;
}

.reveal[data-delay="2"] {
  transition-delay: 0.16s;
}

.reveal[data-delay="3"] {
  transition-delay: 0.24s;
}

.reveal[data-delay="4"] {
  transition-delay: 0.32s;
}

.reveal[data-delay="5"] {
  transition-delay: 0.4s;
}

/* -------------------------------------------------------------
   17.5 キネティック見出し（行マスクワイプ）
   JS が各行を .line > .line__inner にラップし、--line-i を付与する。
   ------------------------------------------------------------- */
.kinetic .line {
  display: block;
  overflow: hidden;
  /* ディセンダ（g, y 等）がマスクで切れないよう少し余白 */
  padding-bottom: 0.12em;
  margin-bottom: -0.12em;
}

.kinetic .line__inner {
  display: block;
  transform: translateY(115%);
  transition: transform 0.9s var(--ease);
  transition-delay: calc(var(--line-i, 0) * 0.09s);
  will-change: transform;
}

.kinetic.is-visible .line__inner {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }

  /* キネティック見出しも即表示（マスクで隠れたままにしない）*/
  .kinetic .line__inner {
    transform: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* -------------------------------------------------------------
   17.8 プロフィールページ（名刺QRコード専用）
   ------------------------------------------------------------- */

/* ヒーロー：グラデーション背景＋アバター＋名前 */
.profile-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 5rem));
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
  text-align: center;
}

.profile-hero__bg {
  position: absolute;
  inset: 0;
  background: var(--gradient-soft);
  z-index: 0;
}

.profile-hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 30% 20%, rgba(79, 70, 229, 0.08), transparent 60%),
    radial-gradient(50% 50% at 70% 60%, rgba(6, 182, 212, 0.06), transparent 60%),
    radial-gradient(40% 40% at 50% 80%, rgba(124, 58, 237, 0.06), transparent 50%);
  animation: profileBgShift 20s ease-in-out infinite alternate;
}

@keyframes profileBgShift {
  0% {
    transform: scale(1) rotate(0deg);
  }

  100% {
    transform: scale(1.05) rotate(2deg);
  }
}

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

.profile-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 2rem);
}

/* アバター */
.profile-avatar__ring {
  width: clamp(120px, 28vw, 160px);
  height: clamp(120px, 28vw, 160px);
  border-radius: 50%;
  padding: 4px;
  background: var(--gradient-brand);
  box-shadow: 0 8px 32px rgba(79, 70, 229, 0.25);
  animation: avatarGlow 4s ease-in-out infinite alternate;
}

@keyframes avatarGlow {
  0% {
    box-shadow: 0 8px 32px rgba(79, 70, 229, 0.25);
  }

  100% {
    box-shadow: 0 12px 48px rgba(79, 70, 229, 0.35), 0 0 60px rgba(124, 58, 237, 0.12);
  }
}

.profile-avatar__img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  background: var(--color-surface);
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-avatar__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar__img svg {
  width: 70%;
  height: 70%;
}

/* 名前ブロック */
.profile-name {
  text-align: center;
}

.profile-name__role {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: 0.35em 1em;
  border-radius: var(--radius-full);
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid rgba(79, 70, 229, 0.18);
  margin-bottom: 0.6rem;
}

.profile-name__full {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.3;
  margin-top: 0.4rem;
}

.profile-name__en {
  display: block;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  margin-top: 0.3rem;
}

.profile-name__company {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.profile-name__company img {
  height: 22px;
  width: auto;
}

/* セクション共通 */
.profile-section {
  padding-block: clamp(1rem, 3vw, 1.5rem);
}

.profile-section--about {
  padding-top: 0;
}

/* 連絡先カード群 */
.profile-contacts {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.profile-contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  text-decoration: none;
  color: inherit;
}

.profile-contact-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--color-accent);
}

.profile-contact-card__icon {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-soft);
  color: var(--color-accent);
}

.profile-contact-card__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.profile-contact-card__label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-text-faint);
}

.profile-contact-card__value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-contact-card__arrow {
  flex: 0 0 auto;
  color: var(--color-text-faint);
  font-size: 1.1rem;
  transition: transform var(--transition), color var(--transition);
}

.profile-contact-card:hover .profile-contact-card__arrow {
  transform: translateX(4px);
  color: var(--color-accent);
}

/* プロフィールカード（About / Company） */
.profile-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: var(--shadow-sm);
}

.profile-card__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.profile-card__icon-label {
  font-size: 1.3rem;
}

.profile-card__subtitle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

/* 出身情報 */
.profile-info-grid {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.profile-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
}

.profile-info-item__icon {
  font-size: 1.25rem;
  flex: 0 0 auto;
}

.profile-info-item__body {
  display: flex;
  flex-direction: column;
}

.profile-info-item__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

.profile-info-item__value {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--color-text);
}

/* 趣味 */
.profile-hobbies {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.profile-hobby {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  background: var(--color-bg);
  border-radius: var(--radius-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.profile-hobby:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

.profile-hobby__emoji {
  font-size: 1.4rem;
  flex: 0 0 auto;
  line-height: 1.4;
}

.profile-hobby__body {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.profile-hobby__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text);
}

.profile-hobby__desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* 会社情報 */
.profile-company {
  display: flex;
  flex-direction: column;
}

.profile-company__row {
  display: flex;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--color-border);
}

.profile-company__row:last-child {
  border-bottom: none;
}

.profile-company__label {
  flex: 0 0 auto;
  width: 5.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.profile-company__value {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text);
}

.profile-company__value a {
  color: var(--color-accent);
  font-weight: 500;
  transition: color var(--transition);
}

.profile-company__value a:hover {
  color: var(--color-accent-strong);
}

/* CTA */
.profile-cta {
  text-align: center;
  padding: clamp(2rem, 5vw, 3rem);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.profile-cta__text {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: var(--color-text);
}

.profile-cta__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 400px;
  margin-inline: auto;
}

.profile-cta__actions .btn {
  flex: 1;
  justify-content: center;
}

/* プロフィールページ：スマホ調整 */
@media (max-width: 560px) {
  .profile-company__row {
    flex-direction: column;
    gap: 0.2rem;
  }

  .profile-company__label {
    width: 100%;
    font-size: 0.78rem;
  }
}

/* 表示切替ユーティリティ */
.sp-only {
  display: none;
}

@media (max-width: 640px) {
  .sp-only {
    display: inline;
  }

  .pc-only {
    display: none;
  }
}

/* -------------------------------------------------------------
   18. レスポンシブ
   ------------------------------------------------------------- */
@media (max-width: 920px) {
  .cards {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .service-block {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .service-block:nth-child(even) .service-block__media {
    order: 0;
  }


}

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

  .nav-toggle {
    display: block;
  }

  .nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    width: min(80vw, 360px);
    height: auto;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
    padding-right: 2rem;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: -8px 0 32px rgba(26, 26, 46, 0.12);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 1060;
  }

  body.nav-open .nav {
    transform: translateX(0);
  }

  /* ドロワー背景オーバーレイ */
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(26, 26, 46, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
  }

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

  body.nav-open {
    overflow: hidden;
  }

  .nav-list {
    flex-direction: column;
    gap: 1.75rem;
  }

  .nav-list a {
    font-size: 1.2rem;
  }

  .nav-cta .btn {
    font-size: 1.05rem;
  }

  /* スマホ：ヒーローテキストを下寄せ → 上部にアイコン空間 */
  .hero {
    align-items: flex-end;
    padding-bottom: clamp(5rem, 12vw, 7rem);
  }

  .hero__inner {
    max-width: 100%;
  }

  .hero__scroll {
    font-size: 0;
    letter-spacing: 0;
    gap: 0;
    bottom: 1.5rem;
    animation: scrollBounce 1.6s ease-in-out infinite;
  }

  .hero__scroll::after {
    content: "";
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--color-text-faint);
    border-bottom: 2px solid var(--color-text-faint);
    transform: rotate(45deg);
    background: none;
    animation: none;
    height: 12px;
  }

  @keyframes scrollBounce {

    0%,
    100% {
      transform: translateX(-50%) translateY(0);
      opacity: 0.4;
    }

    50% {
      transform: translateX(-50%) translateY(8px);
      opacity: 1;
    }
  }

  /* スマホ：背景グラデーション範囲を抑える */
  .hero__orb {
    filter: blur(40px);
    opacity: 0.3;
  }

  .hero__orb.one {
    width: 200px;
    height: 200px;
    top: -60px;
    right: -40px;
  }

  .hero__orb.two {
    width: 180px;
    height: 180px;
    bottom: -60px;
    left: -30px;
  }

  .hero__bg::after {
    background:
      linear-gradient(180deg, rgba(250, 250, 250, 0.15) 30%, rgba(250, 250, 250, 0.9) 100%),
      linear-gradient(135deg,
        rgba(232, 230, 255, 0.25) 0%, rgba(243, 232, 255, 0.25) 50%, rgba(224, 244, 255, 0.25) 100%);
    background-size: 100% 100%, 200% 200%;
  }

  .aurora {
    inset: -10%;
  }

  .aurora::before {
    width: 30vmax;
    height: 30vmax;
  }

  .aurora::after {
    width: 26vmax;
    height: 26vmax;
  }

  /* スマホFVアイコン：売上・CVRの2つだけ表示 */
  .hero__float {
    display: none;
  }

  /* 1. メインアイコン（売上）→ 右上メイン */
  .hero__float:nth-of-type(1) {
    display: block;
    --float-size: 140px !important;
    left: 55% !important;
    top: 12% !important;
    opacity: 0.7;
  }

  /* 2. CVR → 右端上寄り */
  .hero__float:nth-of-type(2) {
    display: block;
    --float-size: 95px !important;
    left: 72% !important;
    top: 22% !important;
    opacity: 0.7;
  }
}

@media (max-width: 760px) {
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .reasons {
    grid-template-columns: 1fr;
  }

  /* 5つの理由：スマホ縦積み */
  .reason-item {
    flex-direction: column;
    text-align: center;
    gap: 0;
  }

  .reason-item__no {
    padding-right: 0;
    padding-bottom: 0.8rem;
    font-size: 2.4rem;
  }

  .reason-item__body {
    border-left: none;
    border-top: 2px solid var(--color-border);
    padding-left: 0;
    padding-top: 1rem;
  }

  .reason-item__title {
    font-size: 1.2rem;
  }

  .reason-item__text {
    text-align: left;
  }

  /* ヘッダー以外のCTAボタンをフル幅に */
  .btn-lg {
    display: block;
    width: 100%;
    text-align: center;
  }

  /* FVのチェックリストだけ中央寄せ（スマホのみ） */
  .hero>.container .hero__checks:not(.cta__checks) {
    justify-content: center;
    width: fit-content;
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .footer-top {
    grid-template-columns: 1fr;
  }

  .confirm-table,
  .confirm-table tbody,
  .confirm-table tr,
  .confirm-table th,
  .confirm-table td {
    display: block;
    width: 100%;
  }

  .confirm-table th {
    padding: 0.75rem 0 0.25rem;
    border-bottom: none;
    font-size: 0.82rem;
  }

  .confirm-table td {
    padding: 0.25rem 0 0.75rem;
  }

  .confirm-actions {
    flex-direction: column;
  }
}

/* -------------------------------------------------------------
   19. スクロール進捗バー（最上部の細いグラデ）
   ------------------------------------------------------------- */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 1200;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
  background: var(--gradient-brand);
}