@charset "UTF-8";

/* =========================================
   TETUBOX - Base Style
   Color: White × Dark Gray
   ========================================= */

:root {
  /* Color */
  --c-dark:      #1c1d1f;   /* メインのダークグレー */
  --c-dark-2:    #26282b;   /* カード等の少し明るいダーク */
  --c-gray-900:  #3a3d41;
  --c-gray-600:  #6b7076;
  --c-gray-400:  #a9aeb4;
  --c-gray-200:  #e3e5e8;
  --c-gray-100:  #f4f5f6;
  --c-white:     #ffffff;

  --c-text:      #1c1d1f;
  --c-text-sub:  #6b7076;

  /* Brand (ロゴ由来のアクセント) */
  --c-navy:       #16233d;
  --c-accent:     #1a56db;  /* 白背景用のブルー */
  --c-accent-2:   #22a2f7;  /* グラデーション終点 */
  --c-accent-lt:  #4d8ff5;  /* ダーク背景用の明るいブルー */
  --c-accent-lt2: #5ec8fb;  /* ダーク背景用グラデーション終点 */

  /* Airy / Glass（白黒ベースの透明トーン）
     ※ 色は背景のイルミネーション（オーロラ・オーブ）側で足しています */
  --c-mist:       #f4f4f6;  /* もっとも淡いグレー */
  --c-sky:        #e7e7ea;  /* 少し濃いグレー */
  --c-aqua:       #eeeef1;  /* 中間のグレー */
  --c-lavender:   #e9e9ec;  /* 中間のグレー */
  --glass-1:      rgba(255, 255, 255, .46);  /* 白ガラス */
  --glass-2:      rgba(255, 255, 255, .66);  /* 白ガラス（ホバー） */
  --glass-tint:   rgba(236, 236, 240, .40);  /* グレーガラス */
  --glass-line:   rgba(255, 255, 255, .72);  /* ガラスの縁 */
  --glass-line-2: rgba(20, 20, 24, .12);     /* 罫線 */
  --glass-shadow: 0 18px 48px rgba(10, 10, 14, .10);

  /* Layout */
  --container:   1120px;
  --header-h:    72px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.9;
  color: var(--c-text);
  background: var(--c-mist);
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

/* =========================================
   Page Background - 全ページ共通の背景レイヤー
   各セクションを半透明にして、これを透かして見せる
   ========================================= */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 85% 8%,  rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, 0) 60%),
    radial-gradient(100% 70% at 10% 55%, rgba(226, 226, 231, .72) 0%, rgba(226, 226, 231, 0) 62%),
    linear-gradient(175deg, #ffffff 0%, #fafafb 34%, var(--c-mist) 68%, var(--c-sky) 100%);
}

/* --- 流れるオーロラ --- */
.page-bg__aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  will-change: transform;
}
.page-bg__aurora--1 {
  width: 58vw; height: 58vw;
  min-width: 420px; min-height: 420px;
  top: -14%; left: -12%;
  background: radial-gradient(circle at 40% 40%, rgba(120,175,255,.34), rgba(120,175,255,0) 70%);
  animation: auroraA 34s var(--ease) infinite alternate;
}
.page-bg__aurora--2 {
  width: 50vw; height: 50vw;
  min-width: 360px; min-height: 360px;
  top: 28%; right: -14%;
  background: radial-gradient(circle at 50% 50%, rgba(120,215,250,.30), rgba(120,215,250,0) 70%);
  animation: auroraB 42s var(--ease) infinite alternate;
}
.page-bg__aurora--3 {
  width: 46vw; height: 46vw;
  min-width: 320px; min-height: 320px;
  bottom: -12%; left: 22%;
  background: radial-gradient(circle at 50% 50%, rgba(160,150,250,.26), rgba(160,150,250,0) 72%);
  animation: auroraC 38s var(--ease) infinite alternate;
}
@keyframes auroraA {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(18%, 26%, 0) scale(1.22); }
}
@keyframes auroraB {
  0%   { transform: translate3d(0, 0, 0) scale(1.15); }
  100% { transform: translate3d(-20%, -18%, 0) scale(.9); }
}
@keyframes auroraC {
  0%   { transform: translate3d(0, 0, 0) scale(.95); }
  100% { transform: translate3d(16%, -22%, 0) scale(1.25); }
}

/* --- 細かいドットグリッド --- */
.page-bg__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(20, 20, 24, .10) 1px, transparent 1px);
  background-size: 26px 26px;
  mask-image: radial-gradient(120% 90% at 50% 30%, #000 10%, transparent 85%);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 30%, #000 10%, transparent 85%);
  opacity: .55;
}

/* --- 縦のガイドライン --- */
.page-bg__lines {
  position: absolute;
  inset: 0;
  max-width: var(--container);
  margin-inline: auto;
  background-image: linear-gradient(to right, rgba(20, 20, 24, .06) 1px, transparent 1px);
  background-size: calc(100% / 4) 100%;
  opacity: .8;
}

h1, h2, h3, h4, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: opacity .3s var(--ease), color .3s var(--ease); }
button { font-family: inherit; }

/* ---------- Utility ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

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

/* ---------- Button ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 56px;
  padding: 0 36px;
  border: 1px solid var(--c-dark);
  border-radius: 999px;
  background: var(--c-dark);
  color: var(--c-white);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .04em;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease),
              border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover {
  background: var(--c-gray-900);
  border-color: var(--c-gray-900);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--c-dark);
}
.btn--outline:hover {
  background: var(--c-dark);
  color: var(--c-white);
  border-color: var(--c-dark);
}

.btn--ghost {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255, 255, 255, .45);
}
.btn--ghost:hover {
  background: var(--c-white);
  color: var(--c-dark);
  border-color: var(--c-white);
}

.btn--sm {
  min-height: 44px;
  padding: 0 24px;
  font-size: 14px;
}

.btn--block { width: 100%; }

/* =========================================
   Header
   ========================================= */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0);
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
.header.is-scrolled {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(22, 35, 61, .07);
}

.header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ---------- Logo ---------- */
.logo {
  position: relative;
  z-index: 110;          /* SPのドロワーより前面に保つ */
  display: inline-flex;
  align-items: center;
  gap: 12px;
  /* ダーク背景（ヒーロー上）での配色 */
  --logo-base: var(--c-white);
  --logo-accent: var(--c-accent-lt);
  --logo-grad: url(#tbxBarLt);
  --logo-grad-css: linear-gradient(90deg, var(--c-accent-lt) 0%, var(--c-accent-lt2) 100%);
  color: var(--logo-base);
  transition: color .4s var(--ease);
}
.header.is-scrolled .logo,
.logo--footer {
  /* 白背景での配色 */
  --logo-base: var(--c-navy);
  --logo-accent: var(--c-accent);
  --logo-grad: url(#tbxBar);
  --logo-grad-css: linear-gradient(90deg, var(--c-accent) 0%, var(--c-accent-2) 100%);
}
/* ドロワーを開いている間は必ず白抜きに */
body.is-nav-open .header .logo {
  --logo-base: var(--c-white);
  --logo-accent: var(--c-accent-lt);
  --logo-grad: url(#tbxBarLt);
  --logo-grad-css: linear-gradient(90deg, var(--c-accent-lt) 0%, var(--c-accent-lt2) 100%);
}

/* グラデーション定義用の非表示SVG */
.svg-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.logo__mark {
  width: 34px;
  height: auto;
  flex-shrink: 0;
  overflow: visible;
}
.logo__frame { stroke: var(--logo-base); fill: none; }
.logo__dots  { fill: var(--logo-accent); }
.logo__stem  { stroke: var(--logo-base); fill: none; }
/* Tバーはグラデーション。未対応環境では単色にフォールバック */
.logo__bar   { stroke: var(--logo-accent); fill: none; }
.logo__bar   { stroke: var(--logo-grad); }

.logo__text {
  font-family: "Outfit", sans-serif;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: .14em;
  line-height: 1;
  color: var(--logo-base);
}
.logo__accent { color: var(--logo-accent); }

/* 「BOX」もグラデーションに（非対応環境は単色のまま） */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .logo__accent {
    background-image: var(--logo-grad-css);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* 読み込み時にロゴの線が描かれる演出 */
.logo__frame path,
.logo__bar,
.logo__stem {
  stroke-dasharray: 200;
  stroke-dashoffset: 0;
  animation: logoDraw 1.4s var(--ease) both;
}
.logo__bar   { animation-delay: .35s; }
.logo__stem  { animation-delay: .5s; }
.logo__dots circle {
  opacity: 0;
  animation: logoFade .6s var(--ease) forwards;
}
.logo__dots circle:nth-child(1) { animation-delay: .7s; }
.logo__dots circle:nth-child(2) { animation-delay: .8s; }
.logo__dots circle:nth-child(3) { animation-delay: .9s; }

@keyframes logoDraw {
  from { stroke-dashoffset: 200; }
  to   { stroke-dashoffset: 0; }
}
@keyframes logoFade {
  to { opacity: 1; }
}

.nav { display: flex; align-items: center; gap: 40px; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__link {
  position: relative;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--c-white);
  transition: color .4s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.header.is-scrolled .nav__link { color: var(--c-dark); }

.nav__cta {
  background: var(--c-white);
  border-color: var(--c-white);
  color: var(--c-dark);
}
.nav__cta:hover {
  background: transparent;
  color: var(--c-white);
  border-color: var(--c-white);
}
.header.is-scrolled .nav__cta {
  background: var(--c-dark);
  border-color: var(--c-dark);
  color: var(--c-white);
}
.header.is-scrolled .nav__cta:hover {
  background: var(--c-gray-900);
  border-color: var(--c-gray-900);
  color: var(--c-white);
}

/* Hamburger */
.hamburger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 110;
}
.hamburger span {
  position: absolute;
  left: 10px;
  width: 24px;
  height: 1.5px;
  background: var(--c-white);
  transition: transform .4s var(--ease), opacity .3s var(--ease), background .4s var(--ease);
}
.hamburger span:nth-child(1) { top: 15px; }
.hamburger span:nth-child(2) { top: 21px; }
.hamburger span:nth-child(3) { top: 27px; }

.header.is-scrolled .hamburger span { background: var(--c-dark); }

.hamburger.is-active span { background: var(--c-white); }
.hamburger.is-active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-active span:nth-child(2) { opacity: 0; }
.hamburger.is-active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* =========================================
   Hero
   ========================================= */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: transparent;
  color: var(--c-white);
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  /* 半透明にして、後ろのページ背景を透かせる */
  background:
    radial-gradient(120% 90% at 78% 12%, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 55%),
    radial-gradient(90% 70% at 8% 92%, rgba(255,255,255,.06) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(160deg, rgba(35,37,40,.82) 0%, rgba(28,29,31,.87) 45%, rgba(20,21,23,.91) 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* --- 浮遊する半透明のオーブ --- */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
  pointer-events: none;
}
.orb--a {
  width: 46vw; height: 46vw;
  min-width: 340px; min-height: 340px;
  top: -12%; left: -8%;
  background: radial-gradient(circle at 35% 35%, rgba(77,143,245,.42), rgba(77,143,245,0) 70%);
  animation: orbFloatA 22s var(--ease) infinite alternate;
}
.orb--b {
  width: 38vw; height: 38vw;
  min-width: 280px; min-height: 280px;
  top: 22%; right: -10%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,.26), rgba(255,255,255,0) 70%);
  animation: orbFloatB 28s var(--ease) infinite alternate;
}
.orb--c {
  width: 34vw; height: 34vw;
  min-width: 240px; min-height: 240px;
  bottom: -14%; left: 32%;
  background: radial-gradient(circle at 50% 50%, rgba(26,86,219,.45), rgba(26,86,219,0) 72%);
  animation: orbFloatC 24s var(--ease) infinite alternate;
}

@keyframes orbFloatA {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(14%, 18%, 0) scale(1.18); }
}
@keyframes orbFloatB {
  0%   { transform: translate3d(0, 0, 0) scale(1.1); }
  100% { transform: translate3d(-16%, 12%, 0) scale(.9); }
}
@keyframes orbFloatC {
  0%   { transform: translate3d(0, 0, 0) scale(.95); }
  100% { transform: translate3d(-12%, -20%, 0) scale(1.22); }
}

/* --- ゆっくり流れる光沢 --- */
.hero__sheen {
  position: absolute;
  inset: -40%;
  background: linear-gradient(
    100deg,
    rgba(255,255,255,0)   38%,
    rgba(255,255,255,.055) 50%,
    rgba(255,255,255,0)   62%
  );
  animation: sheenMove 14s linear infinite;
  pointer-events: none;
}
@keyframes sheenMove {
  0%   { transform: translateX(-38%); }
  100% { transform: translateX(38%); }
}
/* 薄いグリッドライン */
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(80% 70% at 50% 40%, #000 20%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 70% at 50% 40%, #000 20%, transparent 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--header-h) + 40px);
  padding-bottom: 120px;
}

.hero__label {
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .28em;
  color: var(--c-gray-400);
  margin-bottom: 28px;
}
.hero__label::before {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  margin-right: 16px;
  vertical-align: middle;
  background: var(--c-gray-600);
}

.hero__title {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .01em;
  margin-bottom: 32px;
}

.hero__text {
  max-width: 640px;
  font-size: 16px;
  color: rgba(255, 255, 255, .72);
  margin-bottom: 48px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.hero .btn:not(.btn--ghost) {
  background: var(--c-white);
  border-color: var(--c-white);
  color: var(--c-dark);
}
.hero .btn:not(.btn--ghost):hover {
  background: var(--c-gray-200);
  border-color: var(--c-gray-200);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: "Outfit", sans-serif;
  font-size: 11px;
  letter-spacing: .2em;
  color: var(--c-gray-400);
}
.hero__scroll-line {
  width: 1px;
  height: 56px;
  background: rgba(255, 255, 255, .25);
  overflow: hidden;
  position: relative;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--c-white);
  animation: scrollLine 2.2s var(--ease) infinite;
}
@keyframes scrollLine {
  0%   { transform: translateY(-100%); }
  60%  { transform: translateY(100%); }
  100% { transform: translateY(100%); }
}

/* =========================================
   Section common
   ========================================= */
.section {
  position: relative;
  padding: clamp(80px, 12vw, 140px) 0;
  isolation: isolate;
}
.section > .container { position: relative; z-index: 1; }

/* 透明感のあるフロストガラスのセクション（旧 section--dark） */
.section--glass {
  background:
    linear-gradient(180deg, rgba(255,255,255,.52) 0%, rgba(255,255,255,.28) 100%),
    var(--glass-tint);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border-top: 1px solid var(--glass-line);
  border-bottom: 1px solid var(--glass-line);
  color: var(--c-text);
  overflow: hidden;
}
/* ガラスセクションに漂う淡いグロー */
.section--glass::before,
.section--glass::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.section--glass::before {
  width: 44vw; height: 44vw;
  min-width: 300px; min-height: 300px;
  top: -18%; right: -10%;
  background: radial-gradient(circle at 50% 50%, rgba(120,175,255,.34), rgba(120,175,255,0) 70%);
  animation: glowDrift 26s var(--ease) infinite alternate;
}
.section--glass::after {
  width: 36vw; height: 36vw;
  min-width: 240px; min-height: 240px;
  bottom: -16%; left: -8%;
  background: radial-gradient(circle at 50% 50%, rgba(160,150,250,.26), rgba(160,150,250,0) 70%);
  animation: glowDrift 32s var(--ease) infinite alternate-reverse;
}
@keyframes glowDrift {
  0%   { transform: translate3d(0, 0, 0) scale(1); }
  100% { transform: translate3d(-10%, 14%, 0) scale(1.2); }
}

/* 通常セクションは背景を敷かず、ページ背景をそのまま透かす */
.section:not(.section--glass) { background: transparent; }

.section__head {
  max-width: 760px;
  margin-bottom: clamp(48px, 7vw, 80px);
}
.section__label {
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-gray-600);
  margin-bottom: 20px;
}
.section--glass .section__label { color: var(--c-accent); }

.section__title {
  font-size: clamp(1.6rem, 3.6vw, 2.5rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
  margin-bottom: 24px;
}
.section__lead {
  font-size: 15px;
  color: var(--c-text-sub);
}
.section--glass .section__lead { color: var(--c-text-sub); }

/* =========================================
   Concept
   ========================================= */
.concept-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--glass-line-2);
  border: 1px solid var(--glass-line);
  box-shadow: var(--glass-shadow);
}

.concept-card {
  /* 半透明のガラスカード */
  position: relative;
  overflow: hidden;
  background: var(--glass-1);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  padding: clamp(32px, 4vw, 52px);
  transition: background .4s var(--ease);
}
/* カーソル位置に淡い光が寄る（JSが --mx / --my を更新） */
.concept-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
              rgba(120, 175, 255, .22), rgba(120, 175, 255, 0) 70%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.concept-card > * { position: relative; z-index: 1; }
/* カードが奇数枚のとき、最後の1枚は横いっぱいに */
.concept-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

.concept-card:hover { background: var(--glass-2); }
.concept-card:hover::after { opacity: 1; }

.concept-card__num {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--c-accent);
  opacity: .7;
  margin-bottom: 20px;
}
.concept-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 16px;
}
.concept-card__text {
  font-size: 15px;
  color: var(--c-text-sub);
}

/* =========================================
   Service
   ========================================= */
.service-list {
  border-top: 1px solid var(--glass-line-2);
}
.service-item {
  position: relative;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  padding: 36px 20px;
  border-bottom: 1px solid var(--glass-line-2);
  border-radius: 8px;
  transition: background .4s var(--ease), transform .4s var(--ease);
}
/* ホバーで淡い光が左から差し込む */
.service-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--c-accent), var(--c-accent-2));
  border-radius: 2px;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform .45s var(--ease);
}
.service-item:hover {
  background: rgba(255, 255, 255, .42);
  transform: translateX(6px);
}
.service-item:hover::before { transform: scaleY(1); }

.service-item__title {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.6;
}
.service-item__text {
  font-size: 15px;
  color: var(--c-text-sub);
}

/* =========================================
   Price
   ========================================= */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
/* 2プラン構成 */
.plans--2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 840px;
  margin-inline: auto;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 44px 32px;
  border: 1px solid var(--glass-line);
  border-radius: 14px;
  /* 半透明のガラスカード */
  background: var(--glass-1);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: var(--glass-shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
}
.plan:hover {
  transform: translateY(-6px);
  background: var(--glass-2);
  box-shadow: 0 28px 64px rgba(22, 60, 120, .14);
}

/* おすすめプラン：ダークではなく、青みの効いた透明ガラス */
.plan--featured {
  background:
    linear-gradient(180deg, rgba(255,255,255,.76) 0%, rgba(238,238,242,.52) 100%);
  border-color: rgba(20, 20, 24, .18);
  color: var(--c-text);
  box-shadow: 0 22px 56px rgba(10, 10, 14, .14);
}
.plan--featured::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, var(--c-accent) 0%, var(--c-accent-2) 100%);
}
.plan--featured:hover {
  background: linear-gradient(180deg, rgba(255,255,255,.88) 0%, rgba(238,238,242,.66) 100%);
  box-shadow: 0 32px 70px rgba(10, 10, 14, .20);
}

.plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  padding: 4px 18px;
  border-radius: 999px;
  background: linear-gradient(100deg, var(--c-accent) 0%, var(--c-accent-2) 100%);
  border: 1px solid transparent;
  color: var(--c-white);
  box-shadow: 0 8px 20px rgba(26, 86, 219, .26);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  white-space: nowrap;
}

.plan__name {
  font-family: "Outfit", sans-serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: .06em;
  margin-bottom: 8px;
}
.plan__desc {
  font-size: 14px;
  color: var(--c-text-sub);
  margin-bottom: 24px;
}
.plan--featured .plan__desc { color: var(--c-text-sub); }

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--glass-line-2);
  margin-bottom: 8px;
}
.plan--featured .plan__price { border-bottom-color: rgba(26, 86, 219, .2); }
.plan--featured .plan__price-num { color: var(--c-accent); }

.plan__price-num {
  font-family: "Outfit", sans-serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
}
.plan__price-unit {
  font-size: 15px;
  font-weight: 500;
}

.plan__note {
  font-size: 13px;
  color: var(--c-gray-600);
  margin-bottom: 28px;
}
.plan--featured .plan__note { color: var(--c-gray-600); }

.plan__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 36px;
  font-size: 15px;
}
.plan__features li {
  position: relative;
  padding-left: 26px;
  line-height: 1.7;
}
.plan__features li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: .55em;
  width: 12px;
  height: 6px;
  border-left: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  opacity: .55;
}

/* サポートなしの項目（×表示・トーンを落とす） */
.plan__features li.is-off {
  color: var(--c-gray-600);
}
.plan__features li.is-off::before {
  content: "×";
  width: auto;
  height: auto;
  top: 0;
  left: 3px;
  border: 0;
  transform: none;
  font-size: 14px;
  line-height: 1.7;
  opacity: .8;
}

/* サポートありの項目（強調） */
.plan__features li.is-strong { font-weight: 500; }
.plan__features li.is-strong::before { opacity: 1; }

.plan__btn { margin-top: auto; }
.plan--featured .plan__btn {
  background: linear-gradient(100deg, var(--c-accent) 0%, var(--c-accent-2) 100%);
  border-color: transparent;
  color: var(--c-white);
  box-shadow: 0 12px 26px rgba(26, 86, 219, .28);
}
.plan--featured .plan__btn:hover {
  background: linear-gradient(100deg, var(--c-accent-2) 0%, var(--c-accent) 100%);
  border-color: transparent;
  box-shadow: 0 18px 34px rgba(26, 86, 219, .34);
}

/* 公開後サポートの補足ボックス */
.support-note {
  max-width: 840px;
  margin: 40px auto 0;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--glass-line);
  border-left: 3px solid var(--c-accent);
  border-radius: 12px;
  background: var(--glass-1);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: var(--glass-shadow);
}
.support-note__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 12px;
}
.support-note__text {
  font-size: 14px;
  color: var(--c-text-sub);
}
.support-note__text + .support-note__text { margin-top: 12px; }
.support-note__text strong {
  font-weight: 700;
  color: var(--c-accent);
}

.plans__annotation {
  max-width: 840px;
  margin: 24px auto 0;
  font-size: 13px;
  color: var(--c-gray-600);
}

/* =========================================
   Contact
   ========================================= */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
}

.contact__dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 20px 16px;
  font-size: 15px;
}
.contact__dl dt {
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  color: var(--c-accent);
  padding-top: 4px;
}
.contact__dl dd { margin: 0; }
.contact__dl a:hover { opacity: .65; }
.contact__sub {
  display: block;
  font-size: 13px;
  color: var(--c-text-sub);
}

/* ---------- SNS（Instagram）カード ---------- */
.sns-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  padding: 18px 20px;
  border: 1px solid var(--glass-line);
  border-radius: 12px;
  background: var(--glass-1);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: var(--glass-shadow);
  transition: background .3s var(--ease), border-color .3s var(--ease),
              transform .3s var(--ease), box-shadow .3s var(--ease);
}
.sns-card:hover {
  background: var(--glass-2);
  border-color: rgba(26, 86, 219, .2);
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(22, 60, 120, .14);
}

.sns-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-2) 100%);
  color: var(--c-white);
  box-shadow: 0 10px 22px rgba(26, 86, 219, .26);
}
.sns-card__icon svg { width: 24px; height: 24px; }

.sns-card__body {
  display: flex;
  flex-direction: column;
  line-height: 1.5;
  margin-right: auto;
}
.sns-card__label {
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--c-gray-600);
}
.sns-card__handle {
  font-size: 15px;
  font-weight: 500;
}
.sns-card__action {
  font-size: 13px;
  letter-spacing: .04em;
  color: var(--c-accent);
  white-space: nowrap;
}

/* Form（半透明のガラスパネル） */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid var(--glass-line);
  border-radius: 14px;
  background: var(--glass-1);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: var(--glass-shadow);
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.form-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
}
.req {
  padding: 2px 8px;
  border-radius: 3px;
  background: rgba(26, 86, 219, .10);
  border: 1px solid rgba(26, 86, 219, .22);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .06em;
  color: var(--c-accent);
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(26, 86, 219, .18);
  border-radius: 8px;
  background: rgba(255, 255, 255, .62);
  color: var(--c-text);
  font-family: inherit;
  font-size: 16px; /* iOSの自動ズーム防止 */
  line-height: 1.6;
  transition: border-color .3s var(--ease), background .3s var(--ease),
              box-shadow .3s var(--ease);
}
.form-input::placeholder { color: var(--c-gray-400); }
.form-input:focus {
  outline: none;
  border-color: var(--c-accent);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 0 0 4px rgba(26, 86, 219, .12);
}
select.form-input option { color: var(--c-dark); }
textarea.form-input { resize: vertical; }

/* スパム対策用の隠しフィールド */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form-note {
  font-size: 12px;
  line-height: 1.8;
  color: var(--c-text-sub);
}

.contact__form .btn {
  background: linear-gradient(100deg, var(--c-accent) 0%, var(--c-accent-2) 100%);
  border-color: transparent;
  color: var(--c-white);
  box-shadow: 0 14px 30px rgba(26, 86, 219, .26);
}
.contact__form .btn:hover {
  background: linear-gradient(100deg, var(--c-accent-2) 0%, var(--c-accent) 100%);
  border-color: transparent;
  box-shadow: 0 20px 40px rgba(26, 86, 219, .32);
}

/* =========================================
   Footer
   ========================================= */
.footer {
  padding: 56px 0 40px;
  background: linear-gradient(180deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,.58) 100%);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-top: 1px solid var(--glass-line);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer__brand { display: flex; align-items: center; }

.footer__sns {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--glass-line-2);
  border-radius: 10px;
  color: var(--c-navy);
  transition: background .3s var(--ease), border-color .3s var(--ease), color .3s var(--ease);
}
.footer__sns svg { width: 21px; height: 21px; }
.footer__sns:hover {
  background: linear-gradient(135deg, var(--c-accent) 0%, var(--c-accent-2) 100%);
  border-color: transparent;
  color: var(--c-white);
  opacity: 1;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  letter-spacing: .06em;
}
.footer__nav a:hover { opacity: .6; }

.footer__copy {
  width: 100%;
  padding-top: 24px;
  border-top: 1px solid var(--glass-line-2);
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--c-gray-600);
}

/* =========================================
   backdrop-filter 非対応ブラウザ向けフォールバック
   （透過を弱めて可読性を確保）
   ========================================= */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .header.is-scrolled { background: rgba(255, 255, 255, .96); }
  .concept-card       { background: rgba(255, 255, 255, .92); }
  .plan               { background: rgba(255, 255, 255, .93); }
  .plan--featured     { background: rgba(246, 246, 248, .96); }
  .support-note       { background: rgba(255, 255, 255, .92); }
  .section--glass     { background: rgba(244, 244, 247, .95); }
  .footer             { background: rgba(255, 255, 255, .93); }
  .contact__form,
  .sns-card           { background: rgba(255, 255, 255, .92); }
  .nav                { background: rgba(24, 25, 27, .99); }
  .loader             { background: #f4f9ff; }
}

/* =========================================
   Scroll animation
   ========================================= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.fade-up.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .fade-up { opacity: 1; transform: none; }
}

/* =========================================
   Responsive - Tablet (max 900px)
   ========================================= */
@media screen and (max-width: 900px) {
  .contact { grid-template-columns: 1fr; }

  .plans,
  .plans--2 { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .plan--featured { order: -1; }
  .plan__badge { top: -13px; }

  .service-item { grid-template-columns: 1fr; gap: 10px; }
}

/* =========================================
   Responsive - SP (max 768px)
   ========================================= */
@media screen and (max-width: 768px) {
  :root { --header-h: 64px; }

  body { font-size: 15px; line-height: 1.85; }

  .container { padding-inline: 20px; }

  /* --- 背景レイヤー（SPは負荷を抑えて控えめに） --- */
  .page-bg__lines { display: none; }
  .page-bg__dots { background-size: 20px 20px; opacity: .4; }
  .page-bg__aurora { filter: blur(70px); }

  .logo { gap: 9px; }
  .logo__mark { width: 28px; }
  .logo__text { font-size: 18px; letter-spacing: .12em; }

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

  /* --- Nav (drawer) --- */
  .hamburger { display: block; }

  .nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    padding: 0 32px;
    background: rgba(24, 25, 27, .94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
  }
  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .nav__list {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .nav__link,
  .header.is-scrolled .nav__link {
    color: var(--c-white);
    font-size: 22px;
    letter-spacing: .1em;
  }

  .nav__cta,
  .header.is-scrolled .nav__cta {
    background: var(--c-white);
    border-color: var(--c-white);
    color: var(--c-dark);
  }

  body.is-nav-open { overflow: hidden; }

  /* --- Hero --- */
  .hero { min-height: 92svh; }
  .hero__inner {
    padding-top: calc(var(--header-h) + 32px);
    padding-bottom: 100px;
  }
  .hero__label {
    font-size: 11px;
    letter-spacing: .2em;
    margin-bottom: 20px;
  }
  .hero__label::before { width: 24px; margin-right: 12px; }
  .hero__title { line-height: 1.45; margin-bottom: 24px; }
  .hero__text { font-size: 15px; margin-bottom: 36px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
  .hero__scroll { bottom: 20px; font-size: 10px; }
  .hero__scroll-line { height: 40px; }

  /* --- Section --- */
  .section__head { margin-bottom: 40px; }

  /* --- Concept --- */
  .concept-grid { grid-template-columns: 1fr; }

  /* --- Price --- */
  .plan { padding: 36px 24px; }
  .plan__price-num { font-size: 34px; }
  .support-note { margin-top: 32px; }

  /* --- SNS --- */
  .sns-card { gap: 14px; margin-top: 28px; padding: 16px; }
  .sns-card__action { font-size: 12px; }

  /* --- Contact --- */
  .contact__dl {
    grid-template-columns: 1fr;
    gap: 6px;
  }
  .contact__dl dt { padding-top: 16px; }
  .contact__dl dt:first-child { padding-top: 0; }

  /* --- Footer --- */
  .footer { padding: 40px 0 32px; }
  .footer__inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer__nav { gap: 20px; }
}

/* =========================================
   Responsive - Small SP (max 380px)
   ========================================= */
@media screen and (max-width: 380px) {
  .container { padding-inline: 16px; }
  .btn { padding: 0 24px; font-size: 14px; }
  .plan { padding: 32px 20px; }
}

/* =========================================
   Loading Screen（ローディング画面）
   ========================================= */
html.is-loading,
html.is-loading body { overflow: hidden; }

.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% 10%, rgba(255,255,255,.92) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(175deg, #ffffff 0%, #fafafb 45%, #eaeaee 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: scale(1.02);
  transition: opacity .7s var(--ease), visibility .7s, transform .9s var(--ease);
}
html.is-loading .loader {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}

/* ふわりと動く光 */
.loader__glow {
  position: absolute;
  width: 70vmax;
  height: 70vmax;
  border-radius: 50%;
  filter: blur(90px);
  background: radial-gradient(circle at 50% 50%, rgba(120,175,255,.34), rgba(120,175,255,0) 68%);
  animation: loaderGlow 6s var(--ease) infinite alternate;
  pointer-events: none;
}
@keyframes loaderGlow {
  0%   { transform: translate3d(-8%, -6%, 0) scale(1); }
  100% { transform: translate3d(8%, 6%, 0) scale(1.18); }
}

.loader__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.loader__mark {
  width: 72px;
  height: auto;
  overflow: visible;
  --logo-base: var(--c-navy);
  --logo-accent: var(--c-accent);
  --logo-grad: url(#tbxBar);
  animation: loaderMark 2.6s var(--ease) infinite;
}
@keyframes loaderMark {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.loader__brand {
  margin-top: 18px;
  font-family: "Outfit", sans-serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .34em;
  text-indent: .34em;
  color: var(--c-navy);
}
.loader__brand span {
  background-image: linear-gradient(90deg, var(--c-accent) 0%, var(--c-accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.loader__bar {
  width: min(240px, 54vw);
  height: 2px;
  margin-top: 26px;
  border-radius: 2px;
  background: rgba(26, 86, 219, .14);
  overflow: hidden;
}
.loader__bar-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--c-accent) 0%, var(--c-accent-2) 100%);
  transition: width .4s var(--ease);
}

.loader__count {
  margin-top: 12px;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  letter-spacing: .18em;
  color: var(--c-gray-600);
}
.loader__count small { font-size: 10px; margin-left: 2px; }

/* ローディング明け：ヒーローがふわりと立ち上がる */
html.is-loading .hero__inner > * { opacity: 0; }
html.is-loaded .hero__label,
html.is-loaded .hero__title,
html.is-loaded .hero__text,
html.is-loaded .hero__actions {
  animation: heroIn 1.1s var(--ease) both;
}
html.is-loaded .hero__title   { animation-delay: .12s; }
html.is-loaded .hero__text    { animation-delay: .24s; }
html.is-loaded .hero__actions { animation-delay: .36s; }
@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}

/* =========================================
   Page Transition（画面遷移エフェクト）
   ========================================= */
.transition {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  pointer-events: none;
}
.transition.is-active { pointer-events: auto; }

.transition__panel {
  flex: 1 1 25%;
  background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(233,233,237,.94) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .5s var(--ease);
}
.transition__panel:nth-child(1) { transition-delay: 0s; }
.transition__panel:nth-child(2) { transition-delay: .06s; }
.transition__panel:nth-child(3) { transition-delay: .12s; }
.transition__panel:nth-child(4) { transition-delay: .18s; }

.transition.is-active .transition__panel { transform: scaleY(1); }

/* 退場は上へ抜ける */
.transition.is-leaving .transition__panel {
  transform: scaleY(0);
  transform-origin: top;
}

.transition__logo {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--c-accent);
  opacity: 0;
  transform: scale(.9);
  transition: opacity .4s var(--ease), transform .6s var(--ease);
}
.transition__logo svg { width: 54px; height: auto; }
.transition.is-active .transition__logo {
  opacity: 1;
  transform: none;
  transition-delay: .22s;
}

/* =========================================
   SPドロワーの表示修正
   ヘッダーに backdrop-filter が効いていると、その中の
   position:fixed（＝ドロワー）がヘッダーの高さに閉じ込められてしまう。
   メニューを開いている間だけ、ヘッダーのぼかしを外して回避する。
   ========================================= */
body.is-nav-open .header,
body.is-nav-open .header.is-scrolled {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

/* =========================================
   Scroll Progress（スクロール進捗バー）
   ========================================= */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 130;
  pointer-events: none;
}
.scroll-progress span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(90deg, var(--c-accent) 0%, var(--c-accent-2) 60%, var(--c-accent-lt2) 100%);
  box-shadow: 0 0 14px rgba(34, 162, 247, .55);
  transition: width .12s linear;
}

/* =========================================
   Cursor Glow（カーソル追従の淡い光）
   ========================================= */
.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 360px;
  height: 360px;
  margin: -180px 0 0 -180px;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle, rgba(94, 200, 251, .20), rgba(94, 200, 251, 0) 65%);
  transition: opacity .6s var(--ease);
  will-change: transform;
}
body.has-cursor-glow .cursor-glow { opacity: 1; }
@media (hover: none), (pointer: coarse) {
  .cursor-glow { display: none; }
}

/* =========================================
   Scroll Reveal（スクロール表示エフェクト）
   ========================================= */
[data-reveal] {
  opacity: 0;
  transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease);
  will-change: opacity, transform;
}
[data-reveal="up"]    { transform: translateY(34px); }
[data-reveal="left"]  { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="zoom"]  { transform: scale(.95); filter: blur(6px); }
[data-reveal="blur"]  { filter: blur(10px); }
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* 見出しのラベルに光が流れる */
.section__label {
  position: relative;
  display: inline-block;
  overflow: hidden;
}
.section__head.is-visible .section__label::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(34,162,247,.35) 50%, transparent 80%);
  animation: labelSheen 1.6s var(--ease) .3s 1;
}
@keyframes labelSheen {
  from { transform: translateX(-100%); }
  to   { transform: translateX(100%); }
}

/* =========================================
   Parallax（背景・ヒーローの視差）
   ========================================= */
.page-bg__aurora { translate: 0 calc(var(--sy, 0) * -0.02px); }
.page-bg__dots   { translate: 0 calc(var(--sy, 0) * -0.012px); }
.hero__inner {
  translate: 0 calc(var(--sy, 0) * 0.09px);
  opacity: var(--hero-fade, 1);
}
.hero__bg .orb { translate: 0 calc(var(--sy, 0) * 0.04px); }

/* =========================================
   Nav：現在地ハイライト
   ========================================= */
.nav__link.is-current::after { transform: scaleX(1); transform-origin: left; }

/* =========================================
   Buttons：ホバー光沢とクリック波紋
   ========================================= */
.btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease);
}
.btn:hover::before { transform: translateX(120%); }

.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  transform: scale(0);
  opacity: .8;
  pointer-events: none;
  animation: rippleOut .7s var(--ease) forwards;
  z-index: -1;
}
.btn--outline .ripple { background: rgba(26, 86, 219, .22); }

/* 料金カードにもカーソル追従の光を */
.plan::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%),
              rgba(120, 175, 255, .20), rgba(120, 175, 255, 0) 70%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.plan:hover::after { opacity: 1; }
/* バッジは絶対配置のままにしたいので除外する */
.plan > *:not(.plan__badge) { position: relative; z-index: 1; }
@keyframes rippleOut {
  to { transform: scale(2.6); opacity: 0; }
}

/* =========================================
   Back To Top（トップへ戻る）
   ========================================= */
.to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 120;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--glass-line);
  border-radius: 50%;
  background: var(--glass-2);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  box-shadow: var(--glass-shadow);
  color: var(--c-accent);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .4s var(--ease), transform .4s var(--ease),
              visibility .4s, background .3s var(--ease);
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  background: #fff;
  transform: translateY(-3px);
}
/* メニューを開いている間は隠す */
body.is-nav-open .to-top {
  opacity: 0;
  visibility: hidden;
}
.to-top svg { width: 18px; height: 18px; }

/* =========================================
   Responsive（追加分）
   ========================================= */
@media screen and (max-width: 768px) {
  .loader__mark { width: 60px; }
  .loader__brand { font-size: 16px; }
  .to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; }
  .service-item { padding: 28px 14px; }
  .service-item:hover { transform: none; }
}

/* =========================================
   モーション低減の設定を尊重
   ========================================= */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; }
  .cursor-glow { display: none; }
  .transition__panel { transition: none; }
  .loader__glow,
  .loader__mark { animation: none; }
  .page-bg__aurora,
  .page-bg__dots,
  .hero__inner,
  .hero__bg .orb { translate: none; }
  html.is-loading .hero__inner > * { opacity: 1; }
  html.is-loaded .hero__label,
  html.is-loaded .hero__title,
  html.is-loaded .hero__text,
  html.is-loaded .hero__actions { animation: none; opacity: 1; }
}

/* =========================================
   下層ページのヘッダー
   ヒーローが無いページは、最初から白ベースの配色にする
   （メニューを開いている間は除外＝ドロワーの白抜き表示を保つ）
   ========================================= */
body.is-subpage:not(.is-nav-open) .header {
  background: rgba(255, 255, 255, .72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(22, 35, 61, .07);
}
body.is-subpage:not(.is-nav-open) .logo {
  --logo-base: var(--c-navy);
  --logo-accent: var(--c-accent);
  --logo-grad: url(#tbxBar);
  --logo-grad-css: linear-gradient(90deg, var(--c-accent) 0%, var(--c-accent-2) 100%);
}
body.is-subpage:not(.is-nav-open) .nav__link { color: var(--c-dark); }
body.is-subpage:not(.is-nav-open) .nav__cta {
  background: var(--c-dark);
  border-color: var(--c-dark);
  color: var(--c-white);
}
body.is-subpage:not(.is-nav-open) .nav__cta:hover {
  background: var(--c-gray-900);
  border-color: var(--c-gray-900);
}
body.is-subpage:not(.is-nav-open) .hamburger span { background: var(--c-dark); }

/* 表示中のページ */
.nav__link.is-current { color: var(--c-accent); }
body.is-subpage:not(.is-nav-open) .nav__link.is-current { color: var(--c-accent); }
.footer__nav a.is-current {
  color: var(--c-accent);
  font-weight: 500;
}

/* =========================================
   下層ページの見出しエリア
   ========================================= */
.page-head {
  position: relative;
  padding: calc(var(--header-h) + clamp(56px, 8vw, 84px)) 0 clamp(44px, 6vw, 68px);
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255,255,255,.62) 0%, rgba(255,255,255,.24) 100%),
    var(--glass-tint);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border-bottom: 1px solid var(--glass-line);
}
.page-head::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 46vw;
  height: 46vw;
  min-width: 320px;
  min-height: 320px;
  top: -30%;
  right: -8%;
  border-radius: 50%;
  filter: blur(90px);
  background: radial-gradient(circle at 50% 50%, rgba(120,175,255,.34), rgba(120,175,255,0) 70%);
  animation: glowDrift 26s var(--ease) infinite alternate;
  pointer-events: none;
}

.breadcrumb { margin-bottom: 22px; }
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--c-gray-600);
}
.breadcrumb li { display: flex; align-items: center; gap: 10px; }
.breadcrumb li + li::before {
  content: "/";
  opacity: .45;
}
.breadcrumb a:hover { color: var(--c-accent); }

.page-head__label {
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 14px;
}
.page-head__title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
  margin-bottom: 20px;
}
.page-head__lead {
  max-width: 760px;
  font-size: 15px;
  color: var(--c-text-sub);
}

/* 下層ページの本文セクションは上の余白を少し詰める */
.page-head + .section { padding-top: clamp(56px, 8vw, 96px); }

/* =========================================
   トップページ：各ページへの導線カード
   ========================================= */
.portal {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.portal-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.6vw, 44px);
  border: 1px solid var(--glass-line);
  border-radius: 14px;
  background: var(--glass-1);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: var(--glass-shadow);
  transition: transform .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.portal-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%),
              rgba(120, 175, 255, .20), rgba(120, 175, 255, 0) 70%);
  opacity: 0;
  transition: opacity .45s var(--ease);
  pointer-events: none;
}
.portal-card > * { position: relative; z-index: 1; }
.portal-card:hover {
  transform: translateY(-6px);
  background: var(--glass-2);
  box-shadow: 0 28px 64px rgba(22, 60, 120, .14);
}
.portal-card:hover::after { opacity: 1; }

.portal-card__num {
  display: block;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .18em;
  color: var(--c-accent);
  opacity: .7;
  margin-bottom: 18px;
}
.portal-card__title {
  font-family: "Outfit", sans-serif;
  font-size: 26px;
  font-weight: 500;
  letter-spacing: .06em;
  line-height: 1.3;
}
.portal-card__jp {
  font-size: 14px;
  font-weight: 500;
  color: var(--c-text-sub);
  margin: 6px 0 16px;
}
.portal-card__text {
  font-size: 15px;
  color: var(--c-text-sub);
  margin-bottom: 26px;
}
.portal-card__more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--c-accent);
}
.portal-card__more svg {
  width: 18px;
  height: 18px;
  transition: transform .4s var(--ease);
}
.portal-card:hover .portal-card__more svg { transform: translateX(5px); }

/* =========================================
   CTAバンド（各ページ下部）
   ========================================= */
.cta-band {
  position: relative;
  padding: clamp(64px, 9vw, 104px) 0;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(255,255,255,.30) 0%, rgba(255,255,255,.58) 100%),
    var(--glass-tint);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border-top: 1px solid var(--glass-line);
}
.cta-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 50vw;
  height: 50vw;
  min-width: 340px;
  min-height: 340px;
  bottom: -34%;
  left: -6%;
  border-radius: 50%;
  filter: blur(90px);
  background: radial-gradient(circle at 50% 50%, rgba(160,150,250,.28), rgba(160,150,250,0) 70%);
  animation: glowDrift 30s var(--ease) infinite alternate-reverse;
  pointer-events: none;
}
.cta-band__inner { text-align: center; }
.cta-band__label {
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 16px;
}
.cta-band__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 18px;
}
.cta-band__text {
  font-size: 15px;
  color: var(--c-text-sub);
  margin-bottom: 36px;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* =========================================
   ページ移動でやってきたとき
   ベールが下りた状態から始める（前ページの続きに見せる）
   ========================================= */
html.is-navigating .transition__panel {
  transform: scaleY(1);
  transition: none;
  /* JSが動かなかったときでも、ベールが開いたままにならないようにする保険 */
  animation: veilFailSafe .5s var(--ease) 4s forwards;
}
html.is-navigating .transition__logo {
  opacity: 1;
  transform: none;
  transition: none;
  animation: veilLogoFailSafe .4s var(--ease) 4s forwards;
}
@keyframes veilFailSafe {
  to { transform: scaleY(0); transform-origin: top; }
}
@keyframes veilLogoFailSafe {
  to { opacity: 0; }
}

/* =========================================
   Responsive（複数ページ分）
   ========================================= */
@media screen and (max-width: 900px) {
  .portal { grid-template-columns: 1fr; }
}

@media screen and (max-width: 768px) {
  .page-head { padding-top: calc(var(--header-h) + 40px); }
  .portal-card__title { font-size: 22px; }
  .cta-band__actions { flex-direction: column; align-items: stretch; }
  .cta-band__actions .btn { width: 100%; }
}

/* =========================================
   Works（制作サンプル）
   ========================================= */

/* 「契約会社実績」「制作サンプル」のまとまり */
.works-group + .works-group { margin-top: clamp(64px, 8vw, 104px); }
.works-group__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--glass-line);
}
.works-group__label {
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-accent);
}
.works-group__title {
  font-size: clamp(20px, 2.4vw, 24px);
  font-weight: 700;
  line-height: 1.5;
}

.works {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.work-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--glass-line);
  border-radius: 14px;
  background: var(--glass-1);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  box-shadow: var(--glass-shadow);
  transition: transform .4s var(--ease), background .4s var(--ease), box-shadow .4s var(--ease);
}
.work-card:hover {
  transform: translateY(-6px);
  background: var(--glass-2);
  box-shadow: 0 28px 64px rgba(22, 60, 120, .14);
}

/* サムネイル（画像は16:10で切り抜き表示） */
.work-card__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: linear-gradient(160deg, #ffffff 0%, var(--c-mist) 60%, var(--c-sky) 100%);
  border-bottom: 1px solid var(--glass-line);
}
.work-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.work-card:hover .work-card__thumb img { transform: scale(1.04); }

/* サムネイルを横切る光 */
.work-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent 35%, rgba(255,255,255,.45) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
  pointer-events: none;
}
.work-card:hover .work-card__thumb::after { transform: translateX(120%); }

.work-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: clamp(24px, 3vw, 34px);
}

.work-card__cat {
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-accent);
  opacity: .8;
  margin-bottom: 10px;
}
.work-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 12px;
}
.work-card__text {
  font-size: 15px;
  color: var(--c-text-sub);
  margin-bottom: 20px;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
}
.work-tags li {
  padding: 5px 12px;
  border: 1px solid var(--glass-line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .5);
  font-size: 12px;
  letter-spacing: .04em;
  line-height: 1.6;
  color: var(--c-text-sub);
}

.work-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-accent);
}
.work-card__link::after {
  content: "";
  width: 14px;
  height: 14px;
  border-top: 1.6px solid currentColor;
  border-right: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-2px, 2px);
  transition: transform .4s var(--ease);
}
.work-card:hover .work-card__link::after {
  transform: rotate(45deg) translate(1px, -1px);
}

.works__note {
  margin-top: 28px;
  font-size: 13px;
  color: var(--c-gray-600);
}

/* トップページの導線カードも、奇数枚のときは最後を横いっぱいに */
.portal-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

/* 実績カードが奇数枚のときは、最後の1枚を中央に置く
   （横いっぱいに広げるとサムネイルが大きくなりすぎるため） */
.work-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: calc(50% - 14px);
  margin-inline: auto;
}

@media screen and (max-width: 900px) {
  .works { grid-template-columns: 1fr; gap: 22px; }
}

/* =========================================================
   Black Accent（黒を効かせるレイヤー）
   白ベースの中に、黒い面を挿してリズムをつくる。
   対象：Service / Contact セクション、CTAバンド、フッター、
        おすすめプラン。イルミネーション（グロー）はそのまま。
   ※ 打ち消しが目的のため、必ずファイル末尾に置く
   ========================================================= */

/* ---------- 黒いガラスセクション（Service / Contact） ---------- */
.section--glass {
  background:
    linear-gradient(180deg, rgba(20, 20, 23, .90) 0%, rgba(11, 11, 13, .93) 100%);
  backdrop-filter: blur(22px) saturate(140%);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  border-top: 1px solid rgba(255, 255, 255, .10);
  border-bottom: 1px solid rgba(255, 255, 255, .10);
  color: var(--c-white);
}
.section--glass .section__label { color: var(--c-accent-lt2); }
.section--glass .section__lead  { color: rgba(255, 255, 255, .72); }

/* Service */
.section--glass .service-list { border-top-color: rgba(255, 255, 255, .14); }
.section--glass .service-item { border-bottom-color: rgba(255, 255, 255, .14); }
.section--glass .service-item__text { color: rgba(255, 255, 255, .7); }
.section--glass .service-item:hover { background: rgba(255, 255, 255, .06); }

/* Contact：会社情報 */
.section--glass .contact__dl dt { color: var(--c-accent-lt2); }
.section--glass .contact__sub   { color: rgba(255, 255, 255, .55); }

.section--glass .sns-card {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: none;
}
.section--glass .sns-card:hover {
  background: rgba(255, 255, 255, .11);
  border-color: rgba(255, 255, 255, .32);
  box-shadow: none;
}
.section--glass .sns-card__icon {
  background: linear-gradient(135deg, var(--c-accent-lt) 0%, var(--c-accent-lt2) 100%);
  box-shadow: 0 10px 22px rgba(77, 143, 245, .28);
}
.section--glass .sns-card__label  { color: rgba(255, 255, 255, .6); }
.section--glass .sns-card__action { color: var(--c-accent-lt2); }

/* Contact：フォーム */
.section--glass .contact__form {
  background: rgba(255, 255, 255, .05);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: none;
}
.section--glass .req {
  background: rgba(255, 255, 255, .14);
  border-color: transparent;
  color: var(--c-white);
}
.section--glass .form-input {
  background: rgba(255, 255, 255, .06);
  border-color: rgba(255, 255, 255, .22);
  color: var(--c-white);
}
.section--glass .form-input::placeholder { color: rgba(255, 255, 255, .38); }
.section--glass .form-input:focus {
  border-color: var(--c-accent-lt);
  background: rgba(255, 255, 255, .10);
  box-shadow: 0 0 0 4px rgba(77, 143, 245, .20);
}
.section--glass .form-note { color: rgba(255, 255, 255, .55); }
.section--glass .contact__form .btn {
  background: var(--c-white);
  border-color: var(--c-white);
  color: var(--c-dark);
  box-shadow: none;
}
.section--glass .contact__form .btn:hover {
  background: var(--c-gray-200);
  border-color: var(--c-gray-200);
  box-shadow: none;
}

/* ---------- CTAバンド ---------- */
.cta-band {
  background:
    linear-gradient(180deg, rgba(18, 18, 21, .93) 0%, rgba(10, 10, 12, .96) 100%);
  border-top: 1px solid rgba(255, 255, 255, .10);
  color: var(--c-white);
}
.cta-band__label { color: var(--c-accent-lt2); }
.cta-band__text  { color: rgba(255, 255, 255, .7); }
.cta-band .btn {
  background: var(--c-white);
  border-color: var(--c-white);
  color: var(--c-dark);
}
.cta-band .btn:hover {
  background: var(--c-gray-200);
  border-color: var(--c-gray-200);
}
.cta-band .btn--outline {
  background: transparent;
  color: var(--c-white);
  border-color: rgba(255, 255, 255, .45);
}
.cta-band .btn--outline:hover {
  background: var(--c-white);
  color: var(--c-dark);
  border-color: var(--c-white);
}

/* ---------- フッター ---------- */
.footer {
  background:
    linear-gradient(180deg, rgba(10, 10, 12, .96) 0%, rgba(6, 6, 8, .98) 100%);
  border-top: 1px solid rgba(255, 255, 255, .10);
  color: var(--c-white);
}
.logo--footer {
  --logo-base: var(--c-white);
  --logo-accent: var(--c-accent-lt);
  --logo-grad: url(#tbxBarLt);
  --logo-grad-css: linear-gradient(90deg, var(--c-accent-lt) 0%, var(--c-accent-lt2) 100%);
}
.footer__sns {
  border-color: rgba(255, 255, 255, .2);
  color: var(--c-white);
}
.footer__sns:hover {
  background: linear-gradient(135deg, var(--c-accent-lt) 0%, var(--c-accent-lt2) 100%);
  border-color: transparent;
  color: var(--c-white);
}
.footer__nav a.is-current { color: var(--c-accent-lt2); }
.footer__copy {
  border-top-color: rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .5);
}

/* ---------- おすすめプラン（Standard）は黒いカードに ---------- */
.plan--featured {
  background:
    linear-gradient(180deg, rgba(24, 24, 27, .93) 0%, rgba(13, 13, 15, .96) 100%);
  border-color: rgba(255, 255, 255, .14);
  color: var(--c-white);
  box-shadow: 0 22px 56px rgba(0, 0, 0, .28);
}
.plan--featured:hover {
  background:
    linear-gradient(180deg, rgba(30, 30, 34, .95) 0%, rgba(16, 16, 19, .97) 100%);
  box-shadow: 0 32px 70px rgba(0, 0, 0, .36);
}
.plan--featured .plan__desc      { color: rgba(255, 255, 255, .7); }
.plan--featured .plan__price     { border-bottom-color: rgba(255, 255, 255, .2); }
.plan--featured .plan__price-num { color: var(--c-white); }
.plan--featured .plan__note      { color: rgba(255, 255, 255, .55); }
.plan--featured .plan__btn {
  background: var(--c-white);
  border-color: var(--c-white);
  color: var(--c-dark);
  box-shadow: none;
}
.plan--featured .plan__btn:hover {
  background: var(--c-gray-200);
  border-color: var(--c-gray-200);
  box-shadow: none;
}
/* カード上のカーソル追従の光は、黒地でも見えるよう白寄りに */
.plan--featured::after {
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%),
              rgba(255, 255, 255, .12), rgba(255, 255, 255, 0) 70%);
}

/* ---------- backdrop-filter 非対応ブラウザ向け ---------- */
@supports not ((backdrop-filter: blur(2px)) or (-webkit-backdrop-filter: blur(2px))) {
  .section--glass  { background: #131316; }
  .cta-band        { background: #101013; }
  .footer          { background: #0a0a0c; }
  .plan--featured  { background: #16161a; }
}

/* =========================================================
   各ページ上部の背景ビジュアル（Web制作・IT のイメージ）
   images/bg/ の線画SVGを、見出しエリアの背景に薄く敷く。
   ※ 写真に差し替える場合は、background の url() を
     お手持ちの画像（例：images/bg/hero.jpg）に変えてください。
   ========================================================= */

/* ▼▼ デザインの切り替えはここだけ ▼▼
   使いたい2行のコメントを外し、他の2行をコメントにしてください。
     tech      … ブラウザ＋コード＋回路（いろいろ入った標準タイプ）
     code      … エディタとターミナル（コード主体・情報量多め）
     network   … ノードとデータ通信（抽象的・軽い印象）
     isometric … 斜めに重なる画面レイヤー（立体的・デザイン寄り）    */
:root {
  /* workspace … 実際の作業画面風（エディタ＋ターミナル＋プレビュー） */
  --bg-art-dark:  url("../images/bg/workspace-dark.svg");
  --bg-art-light: url("../images/bg/workspace-dark.svg");

  /* --bg-art-dark:  url("../images/bg/code-dark.svg");
     --bg-art-light: url("../images/bg/code-light.svg"); */

  /* --bg-art-dark:  url("../images/bg/tech-dark.svg");
     --bg-art-light: url("../images/bg/tech-light.svg"); */

  /* --bg-art-dark:  url("../images/bg/network-dark.svg");
     --bg-art-light: url("../images/bg/network-light.svg"); */

  /* --bg-art-dark:  url("../images/bg/isometric-dark.svg");
     --bg-art-light: url("../images/bg/isometric-light.svg"); */
}

/* ---------- 下層ページの見出しエリア ---------- */
.page-head::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  /* 画像の上に白いベールを重ね、文字側だけを隠して読みやすくする */
  background:
    linear-gradient(100deg,
      rgba(255, 255, 255, .99) 0%,
      rgba(255, 255, 255, .96) 36%,
      rgba(255, 255, 255, .80) 56%,
      rgba(255, 255, 255, .42) 78%,
      rgba(255, 255, 255, .18) 100%),
    var(--bg-art-dark) no-repeat center center;
  background-size: auto, cover;
  opacity: .9;
  pointer-events: none;
}

/* ---------- トップページのヒーロー ---------- */
.hero__bg::before {
  content: "";
  position: absolute;
  inset: 0;
  /* 画像の上に黒いベールを重ね、左のキャッチコピー側を落ち着かせる */
  background:
    linear-gradient(100deg,
      rgba(12, 13, 16, .96) 0%,
      rgba(12, 13, 16, .93) 38%,
      rgba(12, 13, 16, .74) 58%,
      rgba(12, 13, 16, .34) 78%,
      rgba(12, 13, 16, .12) 100%),
    var(--bg-art-light) no-repeat center center;
  background-size: auto, cover;
  opacity: .95;
  pointer-events: none;
}

/* ---------- タブレット・スマホ ---------- */
@media screen and (max-width: 900px) {
  /* スマホは文章が全幅に広がるため、ベールを上下方向にして全体を均一に落とす */
  .page-head::after {
    background-image:
      linear-gradient(180deg,
        rgba(255, 255, 255, .96) 0%,
        rgba(255, 255, 255, .93) 55%,
        rgba(255, 255, 255, .88) 100%),
      var(--bg-art-dark);
    background-size: auto, auto 130%;
    background-position: center, 62% center;
    opacity: .92;
  }
  .hero__bg::before {
    background-image:
      linear-gradient(180deg,
        rgba(12, 13, 16, .95) 0%,
        rgba(12, 13, 16, .90) 50%,
        rgba(12, 13, 16, .82) 100%),
      var(--bg-art-light);
    background-size: auto, auto 120%;
    background-position: center, 60% center;
    opacity: .95;
  }
}

@media (prefers-reduced-motion: reduce) {
  /* 動きはないため、そのまま表示します */
}
