/* =========================================================
   I'LL BE株式会社 v2（黒×ロゴの青が光る、動きのあるデザイン）
   参考：SHIFTBRAIN（大きな英字タイポ）＋Awwwards受賞代理店サイトの演出
   ========================================================= */

/* ---------- 色・書体（ここを変えると全体に反映） ---------- */
:root {
  --bg: #05070d;            /* 背景の黒（少し青みを入れて冷たい印象に） */
  --bg-2: #0a0f1c;          /* 一段明るい背景 */
  --panel: rgba(255, 255, 255, .04);
  --line: rgba(255, 255, 255, .1);
  --text: #eef2f8;
  --muted: #8a94a7;
  --blue: #168cff;          /* ロゴの青 */
  --cyan: #3ee0ff;
  --violet: #7b5cff;
  --grad: linear-gradient(100deg, var(--cyan) 0%, var(--blue) 45%, var(--violet) 100%);
  --font-en: "Syne", "Noto Sans JP", sans-serif;
  --font-ja: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --container: 1280px;
  --ease: cubic-bezier(.19, 1, .22, 1); /* 最初速く、最後ゆっくり止まる動き */
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-ja); font-size: 15px; line-height: 1.9; letter-spacing: .02em;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; font-weight: inherit; }
::selection { background: var(--blue); color: #fff; }
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.sp-only { display: none; }
.nw { white-space: nowrap; }
.section { padding: 160px 0; position: relative; }

/* ---------- 読み込み画面 ---------- */
.loader {
  position: fixed; inset: 0; z-index: 1000; background: var(--bg);
  display: grid; place-items: center;
}
.loader__inner { text-align: center; }
.loader__logo { width: 88px; margin: 0 auto 20px; animation: loaderPulse 1.6s ease-in-out infinite; }
@keyframes loaderPulse { 50% { opacity: .5; transform: scale(.94); } }
.loader__count { font-family: var(--font-en); font-weight: 700; font-size: 14px; letter-spacing: .2em; color: var(--muted); }
.loader__bar { position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; background: var(--line); }
.loader__bar span { display: block; height: 100%; width: 0; background: var(--grad); }
html:not(.js) .loader { display: none; }

/* ---------- カスタムカーソル ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 999; pointer-events: none; display: none; }
.cursor__dot, .cursor__ring { position: fixed; top: 0; left: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: #fff; }
.cursor__ring {
  width: 40px; height: 40px; border: 1px solid rgba(255, 255, 255, .45);
  display: grid; place-items: center;
  transition: width .4s var(--ease), height .4s var(--ease), background .4s, border-color .4s;
}
.cursor__label { font-family: var(--font-en); font-size: 11px; font-weight: 700; letter-spacing: .1em; opacity: 0; transition: opacity .3s; color: #fff; }
.cursor.is-hover .cursor__ring { width: 72px; height: 72px; background: rgba(22, 140, 255, .18); border-color: var(--blue); }
.cursor.has-label .cursor__ring { width: 96px; height: 96px; background: var(--blue); border-color: var(--blue); }
.cursor.has-label .cursor__label { opacity: 1; }
.cursor.has-label .cursor__dot { opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; }
}

/* ---------- ヘッダー ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 22px 40px; transition: transform .6s var(--ease), background .4s, padding .4s;
}
.header.is-scrolled { background: rgba(5, 7, 13, .6); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding: 14px 40px; border-bottom: 1px solid var(--line); }
.header.is-hidden { transform: translateY(-110%); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo img { width: 36px; height: 36px; object-fit: contain; }
.logo__name { font-family: var(--font-en); font-weight: 800; font-size: 20px; letter-spacing: .04em; }
.gnav ul { display: flex; gap: 36px; }
.gnav a { font-family: var(--font-en); font-weight: 500; font-size: 14px; letter-spacing: .06em; position: relative; display: inline-block; overflow: hidden; }
/* ホバーで文字が下から入れ替わる */
.gnav a::after {
  content: attr(data-text); position: absolute; left: 0; top: 100%; color: var(--cyan);
  transition: transform .5s var(--ease);
}
.gnav a span { display: inline-block; transition: transform .5s var(--ease); }
.gnav a:hover span, .gnav a:hover::after { transform: translateY(-100%); }
.header__cta {
  display: inline-flex; align-items: center; justify-content: center; padding: 12px 26px; border-radius: 999px;
  background: #fff; color: var(--bg); font-weight: 700; font-size: 14px; position: relative; overflow: hidden;
}
.header__cta::before {
  content: ""; position: absolute; inset: 0; background: var(--grad); transform: translateY(101%);
  transition: transform .5s var(--ease); border-radius: inherit;
}
.header__cta span { position: relative; transition: color .3s; }
.header__cta:hover::before { transform: none; }
.header__cta:hover span { color: #fff; }
.menu-btn { display: none; }

/* スマホメニュー */
.sp-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--bg-2);
  padding: 110px 24px 40px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 44px) 40px); transition: clip-path .8s var(--ease); visibility: hidden;
}
.sp-menu.is-open { clip-path: circle(150% at calc(100% - 44px) 40px); visibility: visible; }
.sp-menu li { border-bottom: 1px solid var(--line); }
.sp-menu a { display: flex; align-items: baseline; gap: 14px; padding: 14px 0; font-family: var(--font-en); font-weight: 700; font-size: 32px; line-height: 1.2; }
.sp-menu small { font-size: 11px; color: var(--blue); letter-spacing: .1em; }
.sp-menu a span { font-family: var(--font-ja); font-size: 12px; color: var(--muted); font-weight: 500; margin-left: auto; }
.sp-menu__tel { font-family: var(--font-en); font-weight: 700; font-size: 26px; color: var(--cyan); text-align: center; }

/* ---------- ファーストビュー ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; display: flex; align-items: center; isolation: isolate; }
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; }
.hero__grain {
  /* 砂嵐のような質感を薄く重ねて、フラットすぎない高級感を出す */
  position: absolute; inset: -50%; z-index: -1; opacity: .09; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(4) infinite;
}
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }
.hero__inner { width: min(100% - 80px, 1440px); margin-inline: auto; padding: 140px 0 120px; position: relative; }
.hero__label { display: flex; align-items: center; gap: 12px; font-family: var(--font-en); font-weight: 500; font-size: 13px; letter-spacing: .12em; color: var(--muted); margin-bottom: 40px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: blink 2s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.hero__title { font-size: clamp(56px, 10.5vw, 168px); font-weight: 900; line-height: 1.08; letter-spacing: -.02em; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero__title .accent, .hero__title .accent .char { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-top: 56px; }
.hero__lead { font-size: 17px; line-height: 2.1; color: #c8d0de; max-width: 520px; }
.hero__big {
  /* 画面下にはみ出す巨大なロゴ文字（輪郭線だけ） */
  position: absolute; left: 50%; bottom: -.28em; transform: translateX(-50%); z-index: -1;
  font-family: var(--font-en); font-weight: 800; font-size: 32vw; line-height: 1; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .07); pointer-events: none;
}
.hero__scroll { position: absolute; left: 50%; transform: translateX(-50%); bottom: 32px; display: flex; align-items: center; gap: 14px; font-family: var(--font-en); font-size: 11px; letter-spacing: .2em; color: var(--muted); writing-mode: vertical-rl; }
.hero__scroll i { width: 1px; height: 64px; background: var(--line); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--cyan); animation: scrollLine 2s var(--ease) infinite; }
@keyframes scrollLine { to { top: 100%; } }

/* 丸いボタン（マウスに吸い寄せられる） */
.btn-round {
  flex-shrink: 0; width: 176px; height: 176px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: var(--grad); color: #fff; font-weight: 700; font-size: 17px; text-align: center; line-height: 1.4;
  box-shadow: 0 20px 60px rgba(22, 140, 255, .35); position: relative;
}
.btn-round::before {
  /* 外側でゆっくり回る点線の輪 */
  content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .25);
  animation: spin 18s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn-round small { display: block; font-family: var(--font-en); font-size: 10px; letter-spacing: .12em; opacity: .8; font-weight: 500; }
.btn-round svg { width: 22px; height: 22px; transition: transform .5s var(--ease); }
.btn-round:hover svg { transform: translateX(6px); }

/* ---------- 流れる文字帯 ---------- */
.marquee { border-block: 1px solid var(--line); padding: 26px 0; overflow: hidden; background: var(--bg); }
.marquee__track { display: flex; align-items: center; gap: 48px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--font-en); font-weight: 700; font-size: clamp(28px, 4vw, 56px); white-space: nowrap; line-height: 1; }
.marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .5); }
.marquee b { color: var(--blue); font-size: 24px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- セクション見出し ---------- */
.sec-head { display: grid; grid-template-columns: auto 1fr; align-items: end; column-gap: 24px; margin-bottom: 80px; }
.sec-head__num { grid-row: span 2; font-family: var(--font-en); font-weight: 700; font-size: 14px; color: var(--blue); align-self: start; padding-top: 18px; }
.sec-head__num::after { content: ""; display: inline-block; width: 40px; height: 1px; background: var(--blue); vertical-align: middle; margin-left: 12px; }
.sec-head__en { font-family: var(--font-en); font-weight: 800; font-size: clamp(48px, 7vw, 104px); line-height: 1; letter-spacing: -.02em; }
.sec-head__ja { font-size: 14px; color: var(--muted); letter-spacing: .15em; margin-top: 14px; }

/* ---------- 私たちについて ---------- */
.statement { font-size: clamp(24px, 3vw, 42px); font-weight: 700; line-height: 1.75; letter-spacing: .02em; max-width: 1120px; }
.statement .w { transition: color .2s; }
.js .statement .w { color: rgba(255, 255, 255, .14); }
.about__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--line); }
.about__foot p { color: var(--muted); max-width: 640px; }
.link-arrow { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; white-space: nowrap; padding-bottom: 6px; border-bottom: 1px solid var(--text); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .4s var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }

/* ---------- 数字 ---------- */
.numbers { padding: 40px 0 0; }
.numbers__grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.num { padding: 48px 32px; }
.num + .num { border-left: 1px solid var(--line); }
.num__value { white-space: nowrap; font-family: var(--font-en); font-weight: 800; font-size: clamp(36px, 3.9vw, 60px); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num__value small { font-family: var(--font-ja); font-size: 16px; font-weight: 700; margin-left: 4px; -webkit-text-fill-color: var(--text); }
.num__value small:first-child { margin: 0 4px 0 0; }
.num__label { margin-top: 16px; font-size: 13px; color: var(--muted); letter-spacing: .1em; }

/* ---------- サービス（横長の行。ホバーで光る） ---------- */
.service-list { border-top: 1px solid var(--line); }
.service-row {
  display: grid; grid-template-columns: 80px 1.1fr 1.4fr 1fr; gap: 32px; align-items: center;
  padding: 44px 24px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; isolation: isolate;
}
.service-row::before {
  /* マウスの位置に合わせて光が動く（位置はJSで --mx/--my に入れる） */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(22, 140, 255, .22), transparent 60%);
}
.service-row:hover::before { opacity: 1; }
.service-row__num { font-family: var(--font-en); font-weight: 700; color: var(--muted); font-size: 15px; transition: color .4s; }
.service-row:hover .service-row__num { color: var(--cyan); }
.service-row__title h3 { font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; transition: transform .6s var(--ease); }
.service-row:hover .service-row__title h3 { transform: translateX(12px); }
.service-row__title p { font-family: var(--font-en); font-size: 13px; color: var(--blue); letter-spacing: .08em; margin-top: 4px; }
.service-row__text { color: var(--muted); font-size: 14px; }
.service-row__tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.service-row__tags li { font-size: 12px; padding: 4px 14px; border: 1px solid var(--line); border-radius: 999px; color: #c8d0de; white-space: nowrap; }

/* ---------- 選ばれる理由（傾くカード） ---------- */
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; perspective: 1200px; }
.why-card {
  position: relative; padding: 48px 40px 56px; border-radius: 20px; min-height: 380px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .015));
  border: 1px solid var(--line); transform-style: preserve-3d; transition: transform .6s var(--ease), border-color .4s;
  display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
}
.why-card::before {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; top: -80px; right: -80px;
  background: radial-gradient(circle, rgba(22, 140, 255, .5), transparent 70%); filter: blur(20px); transition: transform .8s var(--ease);
}
.why-card:hover { border-color: rgba(62, 224, 255, .4); }
.why-card:hover::before { transform: scale(1.4); }
.why-card__en { position: absolute; top: 40px; left: 40px; font-family: var(--font-en); font-weight: 700; font-size: 13px; letter-spacing: .12em; color: var(--cyan); }
.why-card h3 { font-size: 26px; font-weight: 700; line-height: 1.5; margin-bottom: 18px; transform: translateZ(40px); }
.why-card p:last-child { color: var(--muted); font-size: 14px; transform: translateZ(20px); }

/* ---------- 対応業種（左右に流れるタグ） ---------- */
.industry { padding-bottom: 120px; }
.industry__lead { font-size: clamp(22px, 2.6vw, 36px); font-weight: 700; margin-top: -40px; margin-bottom: 64px; }
.industry__lead em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tag-marquee { display: grid; gap: 20px; transform: rotate(-3deg); margin: 0 -40px; }
.tag-marquee__row { overflow: hidden; }
.tag-marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 40s linear infinite; }
.tag-marquee__row--reverse .tag-marquee__track { animation-direction: reverse; animation-duration: 46s; }
.tag-marquee span {
  padding: 18px 36px; border-radius: 999px; border: 1px solid var(--line); font-size: 20px; font-weight: 700; white-space: nowrap;
  background: var(--panel); transition: background .3s, border-color .3s, color .3s;
}
.tag-marquee span:hover { background: var(--blue); border-color: var(--blue); }
.tag-marquee__row:hover .tag-marquee__track { animation-play-state: paused; }

/* ---------- お客様の声（横に流れるカード。ドラッグでも動かせる） ---------- */
.voice-slider { overflow: hidden; cursor: grab; padding: 8px 0; }
.voice-slider.is-dragging { cursor: grabbing; }
.voice-slider__track { display: flex; gap: 24px; width: max-content; padding-left: max(16px, calc((100vw - var(--container)) / 2)); padding-right: 40px; will-change: transform; }
.voice-card {
  width: 420px; flex-shrink: 0; padding: 40px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line);
  user-select: none;
}
.voice-card__q { font-size: 21px; font-weight: 700; line-height: 1.6; margin-bottom: 20px; }
.voice-card__q::before { content: "“"; display: block; font-family: var(--font-en); font-size: 64px; line-height: .6; margin-bottom: 14px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.voice-card p:last-child { color: var(--muted); font-size: 14px; }

/* ---------- 流れ（PCは縦スクロールで横に進む） ---------- */
.flow { position: relative; padding: 160px 0; }
.flow__track { display: flex; gap: 24px; padding: 0 max(16px, calc((100vw - var(--container)) / 2)); width: max-content; }
.flow-step {
  width: 380px; min-height: 360px; flex-shrink: 0; padding: 40px; border-radius: 20px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(22, 140, 255, .12), rgba(255, 255, 255, .02)); display: flex; flex-direction: column;
}
.flow-step__num { font-family: var(--font-en); font-weight: 800; font-size: 88px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .35); margin-bottom: auto; }
.flow-step h3 { font-size: 24px; font-weight: 700; margin: 40px 0 12px; }
.flow-step p { color: var(--muted); font-size: 14px; }

/* ---------- お問い合わせ ---------- */
.contact { position: relative; padding: 180px 0 160px; overflow: hidden; isolation: isolate; border-top: 1px solid var(--line); }
.contact__glow {
  position: absolute; left: 50%; top: 45%; width: 1100px; height: 700px; transform: translate(-50%, -50%); z-index: -1;
  background: radial-gradient(closest-side, rgba(22, 140, 255, .35), rgba(123, 92, 255, .12) 55%, transparent);
  filter: blur(40px); animation: glow 8s ease-in-out infinite alternate;
}
@keyframes glow { to { transform: translate(-46%, -54%) scale(1.15); } }
.contact__label { font-family: var(--font-en); font-weight: 700; color: var(--cyan); letter-spacing: .2em; font-size: 13px; margin-bottom: 20px; }
.contact__title { font-family: var(--font-en); font-weight: 800; font-size: clamp(56px, 11vw, 176px); line-height: .95; letter-spacing: -.03em; }
.contact__lead { color: #c8d0de; margin: 40px 0 64px; font-size: 16px; }
.contact__actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.contact-card {
  display: flex; flex-direction: column; gap: 6px; padding: 36px 32px; border-radius: 20px; border: 1px solid var(--line);
  background: rgba(5, 7, 13, .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform .5s var(--ease), border-color .4s, background .4s;
}
.contact-card:hover { transform: translateY(-6px); border-color: var(--blue); background: rgba(22, 140, 255, .12); }
.contact-card__label { font-family: var(--font-en); font-weight: 700; font-size: 12px; letter-spacing: .15em; color: var(--blue); }
.contact-card__main { font-size: 28px; font-weight: 700; font-family: var(--font-en); }
.contact-card:not(:first-child) .contact-card__main { font-family: var(--font-ja); font-size: 22px; }
.contact-card__sub { font-size: 12px; color: var(--muted); }
.contact-card--line .contact-card__label { color: #06c755; }
.contact-card--line:hover { border-color: #06c755; background: rgba(6, 199, 85, .1); }

/* ---------- フッター ---------- */
.footer { padding: 80px 0 32px; border-top: 1px solid var(--line); overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 28px; font-family: var(--font-en); font-size: 14px; }
.footer__nav a { color: var(--muted); transition: color .3s; }
.footer__nav a:hover { color: var(--text); }
.footer__address { margin-top: 32px; font-size: 13px; color: var(--muted); }
.footer__big {
  font-family: var(--font-en); font-weight: 800; font-size: 23vw; line-height: .8; letter-spacing: -.04em; text-align: center;
  margin: 64px 0 24px; background: linear-gradient(180deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, 0)); -webkit-background-clip: text; background-clip: text; color: transparent;
  white-space: nowrap;
}
.footer__copy { font-size: 12px; color: var(--muted); text-align: center; }

/* =========================================================
   下層ページ（会社概要・お問い合わせ）
   ========================================================= */
.page-hero { position: relative; min-height: 70vh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.page-hero .hero__inner { padding: 180px 0 96px; }
.page-hero__en { font-family: var(--font-en); font-weight: 800; font-size: clamp(64px, 12vw, 200px); line-height: .9; letter-spacing: -.03em; }
.page-hero__en .line { display: block; overflow: hidden; padding-bottom: .04em; }
.page-hero__ja { font-size: 16px; letter-spacing: .2em; color: #c8d0de; margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.page-hero__ja::before { content: ""; width: 40px; height: 1px; background: var(--cyan); }
.breadcrumb { display: flex; gap: 10px; font-size: 12px; color: var(--muted); margin-top: 40px; font-family: var(--font-en); letter-spacing: .06em; }
.breadcrumb li + li::before { content: "/"; margin-right: 10px; opacity: .5; }
.breadcrumb a:hover { color: var(--text); }

/* 会社概要：理念 */
.philosophy { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: start; }
.philosophy__catch { font-size: clamp(40px, 5vw, 72px); font-weight: 900; line-height: 1.3; }
.philosophy__catch .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.philosophy__meaning { margin-top: 32px; display: inline-flex; flex-direction: column; gap: 4px; padding: 18px 24px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.philosophy__meaning strong { font-family: var(--font-en); font-size: 26px; font-weight: 800; }
.philosophy__meaning span { font-size: 13px; color: var(--muted); }
.philosophy__text p { color: #c8d0de; font-size: 16px; line-height: 2.2; }
.philosophy__text p + p { margin-top: 24px; }

/* 会社概要：情報の表（ホバーで下線が光る） */
.outline { border-top: 1px solid var(--line); margin: 0; }
.outline__row { display: grid; grid-template-columns: 240px 1fr; gap: 24px; padding: 30px 8px; border-bottom: 1px solid var(--line); position: relative; }
.outline__row::after { content: ""; position: absolute; left: 0; bottom: -1px; height: 1px; width: 0; background: var(--grad); transition: width .8s var(--ease); }
.outline__row:hover::after { width: 100%; }
.outline__row dt { font-weight: 700; color: var(--muted); font-size: 14px; letter-spacing: .1em; }
.outline__row dd { margin: 0; font-size: 16px; }
.outline__row dd a { color: var(--cyan); }
.chip-list { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-list li { font-size: 13px; padding: 4px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); }

/* 会社概要：アクセス（地図の色を反転して暗い色味に合わせる） */
.access { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; }
.access__info { padding: 40px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg-2); display: flex; flex-direction: column; gap: 22px; margin: 0; }
.access__info dt { font-family: var(--font-en); font-size: 12px; letter-spacing: .15em; color: var(--blue); font-weight: 700; }
.access__info dd { margin: 4px 0 0; }
.access__map { border-radius: 20px; overflow: hidden; border: 1px solid var(--line); min-height: 420px; }
.access__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.9); }
.link-pill { display: inline-flex; align-items: center; gap: 10px; margin-top: auto; padding: 14px 24px; border-radius: 999px; background: #fff; color: var(--bg); font-weight: 700; font-size: 14px; align-self: flex-start; transition: background .3s, color .3s; }
.link-pill:hover { background: var(--blue); color: #fff; }
.link-pill svg { width: 16px; height: 16px; }

/* お問い合わせフォーム */
.contact-page { display: grid; grid-template-columns: 1fr 1.5fr; gap: 80px; align-items: start; }
.contact-page__side { position: sticky; top: 120px; }
.contact-page__side h2 { font-size: 28px; font-weight: 700; line-height: 1.6; margin-bottom: 20px; }
.contact-page__side p { color: var(--muted); }
.contact-page__tel { margin-top: 36px; padding: 28px; border-radius: 20px; border: 1px solid var(--line); background: var(--bg-2); }
.contact-page__tel small { display: block; font-family: var(--font-en); font-size: 12px; color: var(--blue); letter-spacing: .15em; font-weight: 700; }
.contact-page__tel a { display: block; font-family: var(--font-en); font-weight: 800; font-size: 30px; margin: 6px 0; }
.contact-page__tel span { font-size: 12px; color: var(--muted); }
.contact-page__line { display: block; margin-top: 12px; padding: 20px 28px; border-radius: 20px; border: 1px solid var(--line); font-weight: 700; transition: border-color .3s, background .3s; }
.contact-page__line:hover { border-color: #06c755; background: rgba(6, 199, 85, .1); }
.contact-page__line small { display: block; font-family: var(--font-en); font-size: 12px; color: #06c755; letter-spacing: .15em; }
.form { display: grid; gap: 36px; }
.field { display: grid; gap: 12px; border: 0; margin: 0; padding: 0; min-width: 0; }
.field__label { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; padding: 0; }
.req, .opt { font-size: 11px; padding: 1px 10px; border-radius: 999px; font-weight: 700; }
.req { background: var(--blue); color: #fff; }
.opt { border: 1px solid var(--line); color: var(--muted); }
.input {
  width: 100%; font: inherit; color: var(--text); background: transparent; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .25);
  padding: 14px 2px; font-size: 16px; outline: none; transition: border-color .3s; border-radius: 0;
}
.input::placeholder { color: rgba(255, 255, 255, .28); }
.input:focus { border-color: var(--cyan); }
textarea.input { min-height: 180px; resize: vertical; border: 1px solid rgba(255, 255, 255, .25); border-radius: 14px; padding: 18px; }
textarea.input:focus { border-color: var(--cyan); }
.check-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.check-pills label { position: relative; cursor: pointer; }
.check-pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; margin: 0; }
.check-pills span { display: inline-block; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--line); font-size: 14px; transition: .3s; }
.check-pills input:checked + span { background: var(--blue); border-color: var(--blue); }
.check-pills input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: 2px; }
.agree { display: flex; align-items: center; gap: 12px; font-size: 14px; color: #c8d0de; }
.agree input { width: 20px; height: 20px; accent-color: var(--blue); }
.submit {
  justify-self: start; display: inline-flex; align-items: center; gap: 14px; padding: 22px 48px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--grad); color: #fff; font: inherit; font-weight: 700; font-size: 16px; box-shadow: 0 20px 50px rgba(22, 140, 255, .3);
}
.submit svg { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.submit:hover svg { transform: translateX(6px); }
.form-note { font-size: 12px; color: var(--muted); }
.form-done { display: none; padding: 40px; border-radius: 20px; border: 1px solid var(--blue); background: rgba(22, 140, 255, .08); }
.form-done.is-show { display: block; }
.form-done h3 { font-size: 22px; margin-bottom: 10px; }
.form-done p { color: #c8d0de; }

@media (max-width: 1100px) {
  .philosophy, .contact-page { grid-template-columns: 1fr; gap: 48px; }
  .contact-page__side { position: static; }
  .access { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .page-hero { min-height: 60vh; }
  .page-hero .hero__inner { padding: 140px 0 64px; }
  .page-hero__en { font-size: 17vw; }
  .page-hero__ja { font-size: 13px; margin-top: 18px; }
  .outline__row { grid-template-columns: 1fr; gap: 6px; padding: 22px 4px; }
  .outline__row dt { font-size: 12px; }
  .outline__row dd { font-size: 15px; }
  .access__info { padding: 28px 24px; }
  .access__map, .access__map iframe { min-height: 300px; }
  .philosophy__text p { font-size: 15px; }
  .submit { width: 100%; justify-content: center; }
}

/* =========================================================
   追加エフェクト（v2.1）
   ========================================================= */
/* 上部の読了バー */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 200; background: var(--grad); transform-origin: left; transform: scaleX(0); pointer-events: none; }

/* 上へ戻るボタン（周りの円が読んだ量を表す） */
.to-top {
  position: fixed; right: 28px; bottom: 28px; z-index: 80; width: 60px; height: 60px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(10, 15, 28, .75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: var(--text);
  display: grid; place-items: center; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .5s, transform .5s var(--ease);
}
.to-top.is-show { opacity: 1; transform: none; pointer-events: auto; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke-width: 2; stroke: var(--line); }
.to-top__ring .js-ring { stroke: var(--cyan); stroke-linecap: round; }
.to-top__arrow { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.to-top:hover .to-top__arrow { transform: translateY(-4px); }

/* ページ切り替えの幕 */
.curtain {
  position: fixed; inset: 0; z-index: 1001; pointer-events: none; display: grid; place-items: center;
  background: linear-gradient(135deg, #0a6fd8, var(--blue) 40%, var(--violet)); transform: translateY(100%);
}
.curtain img { width: 72px; opacity: 0; transition: opacity .3s .25s; }
.curtain.is-enter { transform: none; transition: transform .6s cubic-bezier(.76, 0, .24, 1); pointer-events: auto; }
.curtain.is-enter img, .curtain.is-cover img { opacity: 1; }
.curtain.is-cover { transform: none; }
.curtain.is-leave { transform: translateY(-100%); transition: transform .8s cubic-bezier(.76, 0, .24, 1) .1s; }

/* サービスの行についてくるアイコン */
.service-float {
  position: fixed; top: 0; left: 0; z-index: 60; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 50%;
  display: grid; place-items: center; pointer-events: none; color: #fff;
  background: var(--grad); box-shadow: 0 20px 60px rgba(22, 140, 255, .45);
  opacity: 0; scale: .3; transition: opacity .35s, scale .5s var(--ease);
}
.service-float.is-show { opacity: 1; scale: 1; }
.service-float svg { width: 48px; height: 48px; }

.hero__title { transition: transform .8s var(--ease); will-change: transform; }

@media (max-width: 768px) {
  .to-top { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* ---------- 共通の出現演出（JSが動く時だけ最初は隠す） ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(48px); }
.js .hero [data-hero-fade], .js .page-hero [data-hero-fade] { opacity: 0; }
.split .char { display: inline-block; will-change: transform; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal], .js .hero [data-hero-fade], .js .page-hero [data-hero-fade] { opacity: 1; transform: none; }
  .js .statement .w { color: inherit; }
}

/* 確認用（?static）：縦長ウィンドウで撮影しても1画面分の高さで表示 */
.is-static .hero { min-height: 900px; }
.is-static .page-hero { min-height: 640px; }
@media (min-width: 769px) {
  .is-static .flow__track { flex-wrap: wrap; width: auto; }
  .is-static .flow-step { width: 300px; }
}

/* =========================================================
   タブレット
   ========================================================= */
@media (max-width: 1100px) {
  .service-row { grid-template-columns: 60px 1fr 1.4fr; }
  .service-row__tags { display: none; }
  .why__grid { grid-template-columns: 1fr; }
  .why-card { min-height: 280px; }
  .numbers__grid { grid-template-columns: repeat(2, 1fr); }
  .num:nth-child(3) { border-left: 0; }
  .num:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* =========================================================
   スマホ
   ========================================================= */
@media (max-width: 768px) {
  body { font-size: 14px; }
  .sp-only { display: inline; }
  .section { padding: 100px 0; }

  .header, .header.is-scrolled { padding: 14px 16px; }
  .gnav, .header__cta { display: none; }
  .menu-btn {
    display: grid; place-content: center; gap: 7px; width: 48px; height: 48px; border-radius: 50%;
    background: #fff; border: 0; cursor: pointer; position: relative; z-index: 110;
  }
  .menu-btn span { display: block; width: 20px; height: 2px; background: var(--bg); transition: transform .5s var(--ease); }
  .menu-btn[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
  .menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

  .hero__inner { width: calc(100% - 32px); padding: 120px 0 110px; }
  .hero__label { font-size: 10px; margin-bottom: 28px; letter-spacing: .06em; }
  .hero__title { font-size: 15.5vw; }
  .hero__bottom { flex-direction: column; align-items: flex-start; gap: 36px; margin-top: 36px; }
  .hero__lead { font-size: 14px; }
  .btn-round { width: 136px; height: 136px; font-size: 15px; align-self: flex-end; }
  .hero__big { font-size: 44vw; bottom: -.2em; }
  .hero__scroll { display: none; }

  .marquee { padding: 18px 0; }
  .marquee__track { gap: 28px; }

  .sec-head { margin-bottom: 48px; column-gap: 14px; }
  .sec-head__num { padding-top: 8px; font-size: 12px; }
  .sec-head__num::after { width: 20px; margin-left: 8px; }
  .sec-head__en { font-size: 40px; }
  .sec-head__ja { font-size: 12px; margin-top: 8px; }

  .statement { font-size: 21px; line-height: 1.8; }
  .about__foot { flex-direction: column; align-items: flex-start; gap: 24px; margin-top: 48px; }

  .num { padding: 32px 16px; }
  .num__value { font-size: 32px; }
  .num__value small { font-size: 13px; }

  .service-row { grid-template-columns: 1fr; gap: 10px; padding: 32px 4px; }
  .service-row__num { font-size: 12px; }
  .service-row__tags { display: flex; justify-content: flex-start; margin-top: 6px; }

  .why-card { padding: 36px 26px 40px; min-height: 0; padding-top: 88px; }
  .why-card__en { top: 32px; left: 26px; }
  .why-card h3 { font-size: 22px; }

  .industry__lead { margin-top: -20px; margin-bottom: 40px; }
  .tag-marquee { gap: 12px; margin: 0 -16px; }
  .tag-marquee span { padding: 12px 22px; font-size: 15px; }

  .voice-card { width: 300px; padding: 30px 24px; }
  .voice-card__q { font-size: 18px; }

  .flow { padding: 100px 0; }
  .flow__track { flex-direction: column; width: auto; padding: 0 16px; gap: 16px; }
  .flow-step { width: auto; min-height: 0; padding: 30px 24px; }
  .flow-step__num { font-size: 56px; }
  .flow-step h3 { margin-top: 24px; font-size: 20px; }

  .contact { padding: 120px 0 100px; }
  .contact__glow { width: 600px; height: 600px; }
  .contact__title { font-size: 17vw; }
  .contact__actions { grid-template-columns: 1fr; gap: 12px; }
  .contact-card { padding: 26px 24px; }
  .contact-card__main { font-size: 24px; }

  .footer__nav { gap: 16px 20px; }
  .footer__big { font-size: 30vw; }
}

/* ---------- 採用バナー ---------- */
.recruit-bn { padding: 40px 0 120px; }
.recruit-bn__card { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 20px; overflow: hidden; border-radius: 28px; padding: 56px 56px 0; background: radial-gradient(circle at 80% 20%, rgba(62,224,255,.35), transparent 50%), linear-gradient(120deg, #0d2a6b, var(--blue)); border: 1px solid rgba(255,255,255,.15); transition: transform .6s var(--ease); }
.recruit-bn__card:hover { transform: translateY(-6px); }
.recruit-bn__text { padding-bottom: 56px; }
.recruit-bn__en { font-family: var(--font-en); font-weight: 800; font-size: clamp(56px, 8vw, 110px); line-height: .9; color: rgba(255,255,255,.18); letter-spacing: -.02em; }
.recruit-bn__title { font-size: clamp(28px, 3.6vw, 46px); font-weight: 900; margin: -18px 0 16px; }
.recruit-bn__lead { color: rgba(255,255,255,.85); line-height: 1.9; margin-bottom: 28px; }
.recruit-bn__btn { display: inline-flex; align-items: center; gap: 10px; background: #fff; color: #05070d; font-weight: 700; border-radius: 999px; padding: 14px 26px; }
.recruit-bn__btn svg { width: 20px; height: 20px; transition: transform .4s var(--ease); }
.recruit-bn__card:hover .recruit-bn__btn svg { transform: translateX(4px); }
.recruit-bn__people { display: flex; align-items: flex-end; justify-content: center; }
.recruit-bn__people img { width: 36%; margin: 0 -4%; filter: drop-shadow(3px 0 0 #fff) drop-shadow(-3px 0 0 #fff) drop-shadow(0 3px 0 #fff) drop-shadow(0 -3px 0 #fff); }
.recruit-bn__people img:nth-child(2) { width: 42%; z-index: 1; }
@media (max-width: 768px) {
  .recruit-bn { padding: 20px 0 80px; }
  .recruit-bn__card { grid-template-columns: 1fr; padding: 36px 24px 0; }
  .recruit-bn__text { padding-bottom: 0; }
  .recruit-bn__title { margin-top: -10px; }
}
