/* 不動産AX デザイン案（Figma「不動産AX / WF / Desktop 1440 / Claudeから再現」6159:2 を起こしたもの） */
:root {
  --black: #1a1a1a;
  --black-2: #1c1c1c;
  --black-3: #262626;
  --black-4: #0a0a0a;
  /* 暗い背景（FV・ヘッダーなど）。文字の黒 --black より濃く */
  --bg-dark: #0d0d0d;
  --white: #ffffff;
  --line: #e2e2e2;
  --gray-label: #a0a0a0;
  --gray-text: #666666;
  --gray-num: #c4c4c4;
  /* デザインキット（wealthpark-design-team.github.io/design-kit）の共通トークン */
  --wp-color-text-muted: #666666;
  --wp-color-border-strong: #CCCCCC;
  /* 紫は #8339B9 に統一 */
  --purple: #8339b9;
  --purple-tag: #8339b9;
  --orange-tag: #fba439;
  --sans: "Noto Sans JP", sans-serif;
  /* 英語は Helvetica（Mac・iPhone は Helvetica Neue、Windows は Arial で表示） */
  --en: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --container: 1056px;
  --header-h: 72px; /* 2026-11-20 サイト共通のヘッダーの高さ（テーマの --header-height と同じ） */
  --chrome-h: 104px; /* ヘッダー＋パンくず（32px） */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
/* Scoped to #top (this page's own <main>), not a bare body rule -- the shared
   header/footer live inside <body> too but outside #top, and the theme's own
   common-base.css already sets body's font-family/line-height/color for them;
   a bare body rule here would silently override that site-wide. */
#top {
  background: var(--bg-dark);
  color: var(--black);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.875;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}
/* Scoped to #top (this page's own <main>), not a bare img reset -- the
   theme's shared header/footer sit outside #top and expect img's normal
   default display (e.g. inline-block site-chrome icons), not block. */
#top img { display: block; max-width: 100%; height: auto; }

/* 共通ヘッダー（header--glass）の上書き：デフォルトは rgba(255,255,255,.2) の半透明＋ぼかし
   （明るいFV向け）だが、このページのFVは暗い動画なので、そのままだとヘッダーの文字・ボタンが
   読みにくい。背景をほぼ不透明にして読みやすくする（スマホのメニューを開いている間はテーマどおり）。
   .header--corporate/.header--glass/.mobile-menu-active はこのページ固有のクラスではなく、
   共通ヘッダー自体が使っているクラスなので ax- プレフィックスは付けない。 */
.header--corporate.header--glass:not(.mobile-menu-active) { background: rgba(255, 255, 255, .94); }

/* ページ全体のザラっとした質感（uzabase.com 風）。細かいノイズを画面に固定で重ねる */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  opacity: var(--grain, .14); /* 濃さ：数字を上げるとザラつきが強くなる */
}
/* Scoped to #top -- same reasoning as the body/img rules above: these are
   generic resets from the original ax-lp demo's own full-page stylesheet,
   and left unscoped they also override the shared header/footer's own link
   color, list-style, and heading/paragraph spacing (confirmed: real nav/
   footer links rendered near-black instead of the site's actual blue). */
#top a { color: inherit; text-decoration: none; }
#top h1, #top h2, #top h3, #top p, #top ul, #top figure { margin: 0; padding: 0; }
#top p { text-wrap: pretty; }
#top ul { list-style: none; }

.ax-container { width: 100%; max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; }
.ax-sp-only { display: none; }

/* 共通：ラベル・見出し */
.ax-label {
  font-family: var(--en);
  font-weight: 700;
  font-size: 13px;
  line-height: 25px;
  letter-spacing: 0.16em;
  color: var(--gray-label);
}
.ax-label--center { text-align: center; }
.ax-label--light { color: #8c8c8c; }
.ax-section-title {
  margin-top: 12px;
  font-size: 34px;
  line-height: 1.5;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: var(--black);
}
.ax-section-title--center { text-align: center; }
.ax-section-title--white { color: var(--white); }

/* 共通：ボタン */
.ax-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 220px;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s;
}
.ax-btn--sm { min-width: 0; height: 43px; padding: 0 12px; font-size: 14px; }
.ax-btn--white { background: var(--white); color: var(--black); }
.ax-btn--white:hover { background: #e9e9e9; }
.ax-btn--ghost { border: 1px solid var(--white); color: var(--white); }
.ax-btn--ghost:hover { background: rgba(255,255,255,.1); }
.ax-btn--outline { border: 1px solid var(--black); color: var(--black); min-width: 254px; }
.ax-btn--outline:hover { background: var(--black); color: var(--white); }
.ax-btn__arrow, .ax-more__icon::before {
  width: 18px; height: 18px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9h10M10 5l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9h10M10 5l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ax-btn__arrow { display: inline-block; }

/* 01 Header */
.ax-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(13, 13, 13, 0.72);
  -webkit-backdrop-filter: blur(12px);
          backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: background-color .3s;
}
.ax-header.ax-is-scrolled { background: rgba(13, 13, 13, 0.94); }
.ax-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
  max-width: calc(var(--container) + 48px);
  margin: 0 auto;
  padding: 0 24px;
}
.ax-header__logo { display: flex; align-items: center; gap: 10px; margin-right: auto; color: var(--white); }
.ax-header__logo img { width: 28px; height: 28px; }
.ax-header__logo-text { font-family: var(--en); font-weight: 700; font-size: 17px; letter-spacing: 0.01em; white-space: nowrap; }
.ax-header__logo-text span { margin-left: 8px; padding-left: 10px; border-left: 1px solid rgba(255,255,255,.35); font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: .05em; }
.ax-header__nav { display: flex; gap: 28px; }
.ax-header__nav a { color: var(--white); font-size: 14px; line-height: 27px; opacity: .9; transition: opacity .2s; }
.ax-header__nav a:hover { opacity: .6; }
.ax-header__menu { display: none; }
.ax-header__cta { display: flex; gap: 8px; }
.ax-header__cta .ax-btn { padding: 0 22px; } /* 2026-11-06 左右の余白を広めに */
.ax-btn--purple { background: var(--purple); color: var(--white); }
.ax-btn--purple:hover { background: #6f2ea0; }
.ax-header__nav-sp { display: none; } /* スマホのメニューの中だけに出す */

/* 02 FV 〜 04 Service */
.ax-hero { position: relative; background: var(--bg-dark); color: var(--white); }
.ax-hero > section { position: relative; z-index: 1; }
.ax-hero > .ax-fv { position: sticky; top: 0; z-index: 0; } /* 2026-11-13 FVはその場に止まり、2セクション目（白）が上に乗って覆う。画面より高いときの top は main.js */
/* FVは止まったまま、2セクション目（紫）が下から上がってかぶさる。かぶさるにつれFVを少し暗く（main.js） */
/* 2026-11-13 FVとメッセージの共通の背景：画面に止まったまま、上の文字だけがスクロールする（sunbousai.jp 風）。
   高さぶん下にマイナスの余白を付けて、FVを上に重ねる。Service（白）が来たら背景は隠れる */
.ax-hero__bg {
  position: sticky; top: 0; z-index: 0;
  height: 100vh; height: 100svh;
  margin-bottom: -100vh; margin-bottom: -100svh;
  overflow: hidden;
}
/* 背景のアニメーション（FVだけ。建物の線画：js/lines.js） */
.ax-fv { overflow: hidden; }
.ax-fv-lines, .ax-fv-particles {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  /* コピーのある左側は薄く */
  -webkit-mask-image: linear-gradient(100deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.7) 35%, #000 65%);
          mask-image: linear-gradient(100deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.7) 35%, #000 65%);
}
.ax-fv__inner { position: relative; z-index: 2; }

/* 02 FV：左にコピー、右に問い合わせフォーム */
.ax-fv { position: relative; padding: calc(var(--header-h) + 120px) 0 0; }
.ax-fv__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
  max-width: calc(var(--container) + 48px); margin: 0 auto; padding: 0 24px; /* 2026-11-13 ヘッダー・メッセージ・Service と左端をそろえる */
}
/* フォームは右上に浮かせて、下の画像に少しかかるように（infordio の丸ボタン風） */
/* 見出しの下の横長の画像。ゆっくり拡大して少し動きを出す */
.ax-fv__visual { position: relative; z-index: 1; height: clamp(360px, 42vw, 640px); margin-top: 120px; overflow: hidden; }
.ax-fv__visual img { width: 100%; height: 100%; object-fit: cover; animation: fvVisual 24s ease-in-out infinite alternate; }
@keyframes fvVisual { from { transform: scale(1); } to { transform: scale(1.08); } }
.ax-fv__visual-canvas { position: absolute; inset: 0; display: block; }
/* 画像なし：見出しの下のエリアを消し、フォームは見出しの横に並べる */
/* 画像なし：FVは画面の高さいっぱい。見出しとフォームは上下中央 */
.ax-fv.ax-is-novisual { display: flex; align-items: center; min-height: calc(100vh - var(--chrome-h)); min-height: calc(100svh - var(--chrome-h)); padding-top: 0; padding-bottom: 0; } /* 2026-11-20 サイト共通のヘッダー＋パンくずの下から始まるので、そのぶんを引く */
.ax-fv.ax-is-novisual > .ax-fv__inner { flex: 1; }
.ax-fv.ax-is-novisual .ax-fv__visual { display: none; }
.ax-fv.ax-is-novisual .ax-fv-form { position: relative; top: auto; right: auto; flex: none; }
/* 見出しはフォームの上端あたりにそろえて、高めの位置に */
.ax-fv.ax-is-novisual .ax-fv__inner { align-items: center; }
.ax-fv-orbits { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
/* FVの背景動画と、その上のグレーの網（文字を読みやすく。濃さは --shade で調整） */
.ax-fv__bg { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; }
.ax-fv__shade {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(13,13,13,.55) 0%, rgba(13,13,13,0) 60%),
    rgba(30,30,32, var(--shade, .6));
}
.ax-fv__visual.ax-is-canvas img { visibility: hidden; animation: none; }
.ax-fv__copy { flex: 1 1 auto; min-width: 0; }
.ax-fv__label {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  font-size: 16px; /* 2026-11-05 見出しの上に小さく英語 */
  line-height: 1.5;
  letter-spacing: 0.06em;
  color: #cccccc;
}
.ax-fv__title {
  margin-top: 12px;
  font-size: clamp(36px, calc((min(100vw, 1104px) - 540px) / 11), 52px); /* 他と同じ幅に収めたので、右のフォームにかからない大きさに */
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-shadow: 0 0 40px rgba(13,13,13,.8);
  text-indent: -0.5em; /* 先頭の「の左の余白ぶん左へ出して、2行目と左端をそろえる */
}
.ax-fv__tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 56px; }
.ax-tag {
  display: inline-flex; align-items: center;
  height: 45px; padding: 0 12px;
  border: 1px solid var(--white);
  border-radius: 999px;
  font-size: 14px; font-weight: 700; line-height: 27px;
  color: var(--white);
}
.ax-tag--purple { background: var(--purple-tag); }
.ax-tag--orange { background: var(--orange-tag); }

/* 問い合わせフォーム（デモ） */
/* フォームは右上に浮かせて、下の画像エリアに少しかかるように（infordio の丸ボタン風） */
.ax-fv-form { position: absolute; z-index: 3; top: -64px; right: 24px; }
.ax-fv-form, .ax-contact-form {
  width: 422px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  color: var(--black);
}
.ax-fv-form__title { font-size: 18px; line-height: 26px; font-weight: 700; }
.ax-fv-form__lead { margin-top: 2px; font-size: 13px; line-height: 20px; color: var(--gray-text); }
.ax-field { display: block; margin-top: 14px; }
.ax-fv-form__lead + .ax-field { margin-top: 14px; }
.ax-field__label { display: flex; align-items: center; gap: 6px; font-size: 13px; line-height: 20px; font-weight: 700; }
/* Contact Form 7's wpautop wraps each field's label + tag in one <p> with a <br> between
   them -- hide it so the input sits directly under the label via .ax-field__input's own
   margin-top instead of an extra forced line break. */
.ax-field br { display: none; }
.ax-req { padding: 0 5px; border-radius: 4px; background: var(--black); color: var(--white); font-size: 11px; line-height: 19px; font-weight: 400; }
.ax-field__input {
  display: block; width: 100%; height: 40px; margin-top: 4px; padding: 0 12px;
  background: #f5f5f5; border: 1px solid var(--line); border-radius: 8px;
  font: inherit; font-size: 15px; color: var(--black);
  transition: border-color .2s, background-color .2s;
}
.ax-field__input::placeholder { color: #888888; }
.ax-field__input:focus { outline: none; border-color: var(--purple); background: var(--white); }
.ax-field__select {
  -webkit-appearance: none; appearance: none; padding-right: 36px;
  background: #f5f5f5 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23666' stroke-width='1.5'/%3E%3C/svg%3E") right 14px center / 12px 8px no-repeat;
}
/* Contact Form 7's [acceptance] tag puts the "ax-agree" class option on the <input> itself,
   not on the wrapping <label> -- style the real generated structure instead:
   .wpcf7-list-item > label > input.ax-agree + span.wpcf7-list-item-label > a.
   The ".ax-contact-form input[type=\"checkbox\"].ax-agree" specificity is needed to beat
   the main theme's global "form input[type=\"checkbox\"] { display: none; }" reset. */
.ax-fv-form .wpcf7-list-item label, .ax-contact-form .wpcf7-list-item label { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 13px; line-height: 20px; cursor: pointer; }
.ax-fv-form input[type="checkbox"].ax-agree, .ax-contact-form input[type="checkbox"].ax-agree { display: inline-block; width: 16px; height: 16px; margin: 0; accent-color: var(--black); }
.ax-fv-form .wpcf7-list-item a, .ax-contact-form .wpcf7-list-item a { text-decoration: underline; }
/* 2026-11-20 Contact Form 7 につないだので追加：姓・名の2列、任意ラベル、自由記入欄、送信結果・エラーの表示 */
.ax-field__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
/* Contact Form 7 wraps the two [text] tags in a single auto <p> (wpautop) -- unwrap it so
   the grid's direct children are the two fields themselves (the <br> between them is
   already hidden by the broader ".ax-field br" rule above). */
.ax-field__row p { display: contents; }
.ax-opt { padding: 0 5px; border-radius: 4px; background: #e9e9e9; color: var(--gray-text); font-size: 11px; line-height: 19px; font-weight: 400; }
.ax-field__textarea { height: auto; min-height: 120px; padding-top: 10px; padding-bottom: 10px; line-height: 1.6; resize: vertical; }
.ax-field__input.ax-is-invalid, .ax-agree.ax-is-invalid { border-color: #c0392b; }
.ax-fv-form .wpcf7-not-valid-tip, .ax-contact-form .wpcf7-not-valid-tip { margin-top: 5px; font-size: 13px; }
.ax-agree.ax-is-invalid { color: #c0392b; }
/* Contact Form 7's own success/error box (.wpcf7-response-output), restyled to match
   the AX design instead of the plugin's default blue/green/red bordered box. CF7 itself
   toggles display:none during init/resetting/submitting and adds a form.<status> class
   (sent/failed/aborted/spam/invalid/unaccepted) once there's something to show.
   It's the last element CF7 renders inside <form>, but moved visually to the top via
   flex order (the field spacing stays untouched since everything still uses margin-top,
   which flex items keep same as block flow -- just no margin collapsing, negligible here). */
.ax-fv-form .wpcf7 form, .ax-contact-form .wpcf7 form { display: flex; flex-direction: column; }
.ax-fv-form .wpcf7 .wpcf7-response-output, .ax-contact-form .wpcf7 .wpcf7-response-output {
  order: -1; margin: 14px 0; padding: 12px 14px; border: 0; border-radius: 8px;
  background: #f5f5f5; color: var(--black); font-size: 14px; font-weight: 700; line-height: 1.6;
}
.ax-fv-form .wpcf7 form.sent .wpcf7-response-output, .ax-contact-form .wpcf7 form.sent .wpcf7-response-output {
  background: #e9f7ef; color: #1e8449; font-weight: 700;
}
.ax-fv-form .wpcf7 form.failed .wpcf7-response-output, .ax-fv-form .wpcf7 form.aborted .wpcf7-response-output,
.ax-fv-form .wpcf7 form.spam .wpcf7-response-output, .ax-fv-form .wpcf7 form.invalid .wpcf7-response-output,
.ax-fv-form .wpcf7 form.unaccepted .wpcf7-response-output,
.ax-contact-form .wpcf7 form.failed .wpcf7-response-output, .ax-contact-form .wpcf7 form.aborted .wpcf7-response-output,
.ax-contact-form .wpcf7 form.spam .wpcf7-response-output, .ax-contact-form .wpcf7 form.invalid .wpcf7-response-output,
.ax-contact-form .wpcf7 form.unaccepted .wpcf7-response-output {
  background: #ffe4e4; color: #c0392b;
}
/* CF7's own loading spinner (shown natively via form.submitting, no custom JS needed),
   overlaid on top of the submit button. wpautop wraps the [submit] tag's <input> and the
   spinner <span> together in one <p> -- give that exact <p> (found via :has(), since the
   response-output's flex "order: -1" above moves it visually but it's still the actual
   last DOM child, so a plain ":last-child" wouldn't reliably match the submit <p>) a
   relative position so the spinner's absolute position resolves against the button. */
.ax-fv-form .wpcf7 form p:has(.wpcf7-submit), .ax-contact-form .wpcf7 form p:has(.wpcf7-submit) {
  position: relative;
}
.ax-fv-form .wpcf7-spinner, .ax-contact-form .wpcf7-spinner {
  position: absolute; margin: 13px auto;
}
.ax-fv-form__submit[disabled] { opacity: .5; cursor: wait; }
.ax-btn--black { background: var(--black); color: var(--white); }
.ax-btn--black:hover { background: #3a3a3a; }
.ax-fv-form__submit { width: 100%; height: 46px; margin-top: 14px; border: 0; cursor: pointer; font-family: inherit; }
.ax-fv-form__submit:hover { background: #3a3a3a; }

/* FVの文字の出方 */
.ax-fv__label, .ax-fv__title, .ax-fv__tags, .ax-fv-form, .ax-fv__cta { opacity: 0; transform: translateY(16px); transition: opacity 1.4s ease, transform 1.4s ease; }
.ax-is-loaded .ax-fv__label { opacity: 1; transform: none; transition-delay: 1.2s; } /* 横線が走り終わるころ（約1.5秒）から順に出す */
.ax-is-loaded .ax-fv__title { opacity: 1; transform: none; transition-delay: 1.4s; }
.ax-is-loaded .ax-fv__tags { opacity: 1; transform: none; transition-delay: 2s; }
.ax-is-loaded .ax-fv-form, .ax-is-loaded .ax-fv__cta { opacity: 1; transform: none; transition-delay: 2.3s; }

/* 03 Message：2026-11-13 白地に黒文字のシンプルな形（スクロールすると、止まっているFVを下から覆う） */
.ax-hero > .ax-message {
  position: relative; z-index: 1;
  padding: 120px 0 140px;
  background: var(--white); color: var(--black);
}
.ax-message__inner { position: relative; font-size: 16px; }
/* 2026-11-13 2カラムをやめ、見出しの下に本文を縦に積む（PC・スマホ共通） */
.ax-message__text { margin-top: 64px; } /* 2026-11-13 佐々木さんの画像に合わせて、見出しとの間を広めに */
.ax-message__title { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.35; letter-spacing: 0.02em; font-weight: 700; } /* 2026-11-13 佐々木さんの画像に合わせて PC 48px（本文の3倍） */
.ax-message__text p { font-size: 1.4em; line-height: 2; font-weight: 400; } /* 2026-11-13 佐々木さん指定 */
.ax-message__text p + p { margin-top: 1.5em; }
.ax-message__text .ax-message__closing { margin-top: 1.5em; font-size: 1em; line-height: 2; }
.ax-message__text .ax-fade:nth-child(2) { transition-delay: .1s; }
.ax-message__text .ax-fade:nth-child(3) { transition-delay: .2s; }
.ax-message__text .ax-fade:nth-child(4) { transition-delay: .3s; }



/* タイピングのように1文字ずつ表示 */
[data-typing] .ch { opacity: 0; }
[data-typing] .ch.ax-is-on { opacity: 1; transition: opacity .25s; }
[data-typing] .ch.ax-is-cursor::after {
  content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 2px;
  vertical-align: -0.12em; background: var(--purple);
  animation: blink .8s steps(1) infinite;
}
[data-typing] .ax-message__closing { border-top-color: transparent; transition: border-color .8s; }
[data-typing] .ax-message__closing.ax-is-line { border-top-color: var(--line); }
@keyframes blink { 50% { opacity: 0; } }

/* ぼかしが取れながら浮かび上がる（画面外に出るとまたぼける） */
.ax-blur { opacity: 0; filter: blur(12px); transform: translateY(24px); transition: opacity 1s ease, filter 1s ease, transform 1s ease; }
.ax-blur.ax-is-in { opacity: 1; filter: blur(0); transform: none; }

/* 04 Service */
.ax-hero > .ax-service {
  position: relative; z-index: 2;
  padding: 112px 0;
  background: var(--white); color: var(--black);
  /* 2026-11-13 かぶさる動き・角丸・ぼかしの出現はやめた */
}
/* 2026-11-13 メッセージとの境目に薄い線（中身と同じ幅・左端をそろえる） */
.ax-hero > .ax-service::before {
  content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: min(calc(100% - 48px), var(--container)); height: 1px;
  background: var(--line);
}
/* 円の図：左上にプラットフォーム、右下にコンサルティング（Figma v2 の配置を % で再現） */
.ax-venn {
  position: relative;
  width: 100%;
  aspect-ratio: 1056 / 736;
  margin-top: 88px;
  container-type: inline-size;
}
.ax-venn__circle {
  position: absolute;
  width: 50.57%; aspect-ratio: 1;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); text-align: center;
}
/* 円にも強めのザラつき（添付の光の画像のような質感） */
.ax-venn__circle { overflow: hidden; }
.ax-venn__circle::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
  opacity: .9; /* 円のザラつきの濃さ */
}
.ax-venn__body { position: relative; z-index: 1; }
.ax-venn__circle--platform {
  left: 4.17%; top: 0;
  background: linear-gradient(135deg, rgba(90,175,236,.8) 0%, rgba(131,57,185,.8) 100%);
}
.ax-venn__circle--consulting {
  left: 36.93%; top: 27.45%;
  background: linear-gradient(60deg, rgba(254,140,1,.8) 0%, rgba(171,167,163,.8) 100%);
}
.ax-venn__circle--platform .ax-venn__body { transform: translate(-10%, -9%); }
.ax-venn__circle--consulting .ax-venn__body { transform: translate(7%, 10%); }
.ax-venn__en {
  display: inline-block; min-width: 23.5cqw; padding: 0 1.5cqw;
  border-radius: 999px; background: var(--white);
  font-family: var(--en); font-weight: 700; font-size: max(11px, 1.7cqw); line-height: 3.03cqw; letter-spacing: 0.22em;
}
.ax-venn__circle--platform .ax-venn__en { color: #81aee8; }
.ax-venn__circle--consulting .ax-venn__en { color: #faa43d; }
.ax-venn__ja { margin-top: 2.2cqw; font-size: 3.03cqw; line-height: 1.5; font-weight: 700; }
.ax-venn__sub { margin-top: .9cqw; font-size: max(12px, 1.52cqw); line-height: 1.8; }
.ax-venn__ax {
  position: absolute; left: 46.7%; top: 48.1%; transform: translate(-50%, -50%);
  font-family: var(--en); font-weight: 700; font-size: 3.97cqw; line-height: 1;
  color: var(--white);
}

/* サービスのカード：ロゴ＋説明の横長 */
.ax-service__cards { margin-top: 72px; }
.ax-service-card {
  display: grid; grid-template-columns: 283px 1fr; align-items: center; gap: 40px;
  padding: 52px 40px;
  border: 1px solid var(--line); background: var(--white);
}
.ax-service-card + .ax-service-card { border-top: 0; }
.ax-service-card__logo img { width: 283px; height: auto; }
/* 2026-11-24 コンサルティングのロゴ：WealthPark のロゴ＋下に小さく（AXコンサルティング）。ロゴの大きさは上の「WealthPark AI」に合わせる */
.ax-service-card__logo--wp { display: flex; flex-direction: column; align-items: center; width: 196px; } /* 2026-11-24 （AXコンサルティング）をロゴの中央にそろえる */
.ax-service-card__logo--wp img { width: 196px; }
.ax-service-card__logo-sub { display: block; white-space: nowrap; margin-top: 10px; font-size: 14px; line-height: 1.5; font-weight: 700; color: var(--gray-text); }
.ax-logo-placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 283px; height: 64px;
  border: 1px dashed #c8c8c8; border-radius: 8px; background: #f7f7f7;
  font-size: 12px; line-height: 1.5; color: #999999; text-align: center;
}
.ax-service-card__title { font-size: 24px; line-height: 1.5; letter-spacing: 0.01em; }
.ax-service-card__text { margin-top: 4px; font-size: 16px; line-height: 30px; }
.ax-service-card .ax-more { display: flex; justify-content: flex-end; margin-top: 4px; width: fit-content; margin-left: auto; }
.ax-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 15px; font-weight: 700; line-height: 29px; }
.ax-more__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border: 1.5px solid #f1f1f1; border-radius: 50%;
  color: #8339b9;
  transition: background-color .25s, color .25s, border-color .25s;
}
.ax-more__icon::before { content: ""; display: block; }
.ax-more--soon { color: #999; cursor: default; letter-spacing: .04em; }
.ax-more:hover .ax-more__icon { background: #8339b9; border-color: #8339b9; color: var(--white); }

/* 大きな英語見出し（kubell 採用サイトの「About us」風）：英語 96px（スマホ 51px）＋日本語の小見出し。
   英語は黒（#1A1A1A）、日本語はデザインキットのグレー #666666。黒背景のメンバーは白 */
.ax-big-title { display: flex; flex-direction: column; color: var(--black); }
.ax-big-title__en {
  font-family: var(--en); font-weight: 700;
  font-size: 96px; line-height: 1.2; letter-spacing: -0.02em;
}
.ax-big-title__ja { margin-top: 4px; font-size: 22px; line-height: 1.5; font-weight: 500; color: var(--wp-color-text-muted); }
.ax-big-title--light, .ax-big-title--light .ax-big-title__ja { color: var(--white); }

/* 05 Case Studies */
/* 上の Service（白パネル）との境目に、後ろの黒が1pxだけ透けて線に見えるので、1px重ねて隠す */
.ax-case { position: relative; z-index: 3; margin-top: -1px; padding: 57px 0 112px; background: var(--white); }
.ax-case__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.ax-case-card { display: block; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--white); transition: box-shadow .3s, transform .3s; }
.ax-case-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.08); }
.ax-case-card__photo {
  display: flex; align-items: center; justify-content: center;
  aspect-ratio: 16 / 9;
  background: #f0f0f0;
  overflow: hidden;
}
.ax-case-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ax-case-card:hover .ax-case-card__photo img { transform: scale(1.04); }
.ax-case-card__body { padding: 20px; }
.ax-case-card__company { font-size: 13px; line-height: 21px; color: var(--gray-text); }
.ax-case-card__title { margin-top: 6px; font-size: 16px; line-height: 26px; font-weight: 700; }
.ax-case__more { display: flex; justify-content: flex-end; margin-top: 36px; }

/* 06 Member */
.ax-member { position: relative; padding: 112px 0; background: var(--bg-dark); color: var(--white); overflow: hidden; }
.ax-member .ax-container { position: relative; }
.ax-member__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 32px; margin-top: 48px; }
.ax-member-card { padding: 32px 24px; text-align: center; }
.ax-member-card__photo { width: 150px; height: 150px; margin: 0 auto; border-radius: 50%; object-fit: cover; }
.ax-member-card__photo--empty { display: flex; align-items: center; justify-content: center; background: #e8e8e8; font-size: 13px; color: var(--gray-text); }
.ax-member-card__name { margin-top: 20px; font-size: 19px; line-height: 29px; }
.ax-member-card__role { margin-top: 4px; font-size: 14px; line-height: 27px; color: var(--gray-label); }
.ax-member-card__edu { margin-top: 2px; font-size: 12px; line-height: 20px; color: #8c8c8c; }
.ax-member-card__bio { margin-top: 14px; font-size: 14px; line-height: 25px; text-align: left; color: #d6d6d6; }
.ax-member-card__link { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--white); border-bottom: 2px solid var(--purple); line-height: 1.6; }
.ax-member-card__link:hover { color: #d9c4ec; }

/* 07 Contact */
.ax-contact { padding: 112px 0; background: var(--black-3); color: var(--white); }
.ax-contact .ax-container { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 560px); gap: 0 64px; align-items: start; }
.ax-contact__lead { margin-top: 32px; font-size: 16px; line-height: 30px; color: #d6d6d6; }
.ax-contact-form { width: 100%; padding: 28px; }
.ax-fv__cta { display: none; }

/* 08 Footer */
.ax-footer { background: var(--black-4); }
.ax-footer__inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: calc(var(--container) + 48px); height: 120px; margin: 0 auto; padding: 0 24px;
}
.ax-footer__logo { font-family: var(--en); font-weight: 700; font-size: 21px; color: var(--white); }
.ax-footer__copy { font-family: var(--en); font-size: 12px; letter-spacing: 0.04em; color: #b8b8b8; }


/* スクロールでフェードイン */
.ax-fade { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.ax-fade.ax-is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ax-fade, .ax-blur, .ax-fv__label, .ax-fv__title, .ax-fv__tags, .ax-fv-form, .ax-fv__cta { opacity: 1; filter: none; transform: none; transition: none; }
  .ax-fv__visual img { animation: none; }
}


/* サイト共通のヘッダーは 959px 以下でスマホ用（高さ57px）になる */
@media (max-width: 959px) {
  :root { --header-h: 57px; --chrome-h: 89px; }
}

/* タブレット */
@media (max-width: 1080px) {
  .ax-fv-form { width: 380px; padding: 22px; }
  .ax-header__nav { gap: 20px; }
  .ax-fv__inner { gap: 40px; }
  .ax-fv__label { font-size: 15px; }
  .ax-fv__title { font-size: 48px; }
  .ax-case__list { grid-template-columns: repeat(2, 1fr); }
  .ax-member-card { padding: 32px 0; }
  .ax-contact .ax-container { grid-template-columns: 1fr; }
  .ax-contact-form { margin-top: 40px; max-width: 640px; }
}

/* スマホ */
@media (max-width: 767px) {

  .ax-sp-only { display: inline; }
  .ax-container { padding: 0 20px; }

  .ax-header__inner { padding: 0 16px; gap: 12px; }
  .ax-header__logo-text { font-size: 15px; }
  .ax-header__logo-text span { font-size: 12px; margin-left: 6px; padding-left: 8px; }
  .ax-header__nav {
    position: fixed; inset: var(--header-h) 0 auto; flex-direction: column; gap: 0;
    padding: 8px 20px 24px; background: rgba(13,13,13,.97);
    border-bottom: 1px solid rgba(255,255,255,.12);
    opacity: 0; pointer-events: none; transform: translateY(-8px); transition: opacity .25s, transform .25s;
  }
  .ax-header__nav a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 15px; }
  .ax-header.ax-is-open .ax-header__nav { opacity: 1; pointer-events: auto; transform: none; }
  .ax-header__cta { display: none; }
  .ax-header__nav-sp { display: block; }
  .ax-header__menu {
    display: flex; flex-direction: column; justify-content: center; gap: 7px;
    width: 40px; height: 40px; padding: 0 9px; margin-right: -9px;
    background: none; border: 0; cursor: pointer;
  }
  .ax-header__menu span { display: block; height: 1.5px; background: var(--white); transition: transform .25s; }
  .ax-header.ax-is-open .ax-header__menu span:first-child { transform: translateY(4.25px) rotate(45deg); }
  .ax-header.ax-is-open .ax-header__menu span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

  .ax-fv { padding: calc(var(--header-h) + 72px) 0 0; }
  /* 2026-11-06 スマホは見出し＋ボタンを画面の上下中央に（左揃え）。フォームは下のCONTACTに置く */
  .ax-fv.ax-is-novisual { align-items: center; padding-top: 0; padding-bottom: 0; }
  .ax-fv__cta { display: flex; margin-top: 32px; }
  .ax-fv.ax-is-novisual .ax-fv__inner { align-items: stretch; } /* 中央寄せだと2pxずれるので、左端を他のセクションとそろえる */
  .ax-fv__inner { flex-direction: column; align-items: stretch; gap: 48px; padding: 0 20px; }
  .ax-fv__visual { height: 58vw; margin-top: 56px; }
  .ax-fv__label { font-size: 12px; letter-spacing: .04em; }
  .ax-fv__title { margin-top: 8px; font-size: min(32px, 8.6vw); line-height: 1.45; font-feature-settings: "palt"; text-indent: 0; /* palt で「が半角幅になるので、ずらさない */ text-shadow: 0 0 24px rgba(13,13,13,.9); }
  .ax-fv__tags { margin-top: 28px; }
  .ax-tag { height: 40px; font-size: 13px; }
  .ax-fv__copy { flex: none; }
  .ax-fv-form { display: none; }
  /* 提案用の別パターン（?sp=form）：見出しの下にフォームを出し、ボタンは隠す。FVは画面より縦に長くなる */
  .ax-sp-form .ax-fv.ax-is-novisual { align-items: flex-start; padding-top: 48px; padding-bottom: 48px; }
  .ax-sp-form .ax-fv.ax-is-novisual .ax-fv__inner { align-items: stretch; gap: 32px; }
  .ax-sp-form .ax-fv-form { display: block; width: 100%; padding: 18px 16px; }
  .ax-sp-form .ax-fv__cta { display: none; }
  /* 紫の丸いボタン（スマホのFVの「無料相談・資料請求」。2026-11-06 画面下の追従ボタンは削除） */
  .ax-sp-cta__btn {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    height: 52px; border-radius: 999px;
    background: var(--purple);
    color: var(--white); font-size: 15px; font-weight: 700;
    box-shadow: 0 6px 20px rgba(131,57,185,.35);
  }
  .ax-sp-cta__arrow {
    width: 16px; height: 16px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9h10M10 5l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M4 9h10M10 5l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  .ax-fv-lines, .ax-fv-particles { -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.5) 0%, #000 60%); mask-image: linear-gradient(180deg, rgba(0,0,0,.5) 0%, #000 60%); }

  .ax-label { font-size: 12px; }
  .ax-big-title__en { font-size: 51px; }
  .ax-big-title__ja { font-size: 16px; }
  .ax-section-title { font-size: 24px; }

  .ax-hero > .ax-message { padding: 80px 0 96px; }
  .ax-br-pc { display: none; }
  .ax-message__inner { width: auto; }
  .ax-message__title { font-size: min(26px, 6.9vw); line-height: 1.5; font-feature-settings: "palt"; } /* 1行（12文字）が収まる大きさ */
  .ax-message__inner { font-size: 15px; }
  .ax-message__text p { font-size: 1.3em; } /* 2026-11-13 佐々木さん指定（15px×1.3＝19.5px） */
  .ax-message__text { margin-top: 40px; }

  .ax-hero > .ax-service { padding: 80px 0; }
  .ax-hero > .ax-service::before { width: calc(100% - 40px); }
  /* 円は縦に斜めに重ねる */
  .ax-venn { aspect-ratio: 1 / 1.36; max-width: 380px; margin: 40px auto 0; }
  .ax-venn__circle { width: 74%; }
  .ax-venn__circle--platform { left: 0; top: 0; }
  .ax-venn__circle--consulting { left: 26%; top: 36.6%; }
  .ax-venn__circle--platform .ax-venn__body { transform: translate(-4%, -10%); }
  .ax-venn__circle--consulting .ax-venn__body { transform: translate(4%, 10%); }
  .ax-venn__en { min-width: 34cqw; font-size: 3.4cqw; line-height: 6.6cqw; }
  .ax-venn__ja { margin-top: 3cqw; font-size: 5.6cqw; }
  .ax-venn__sub { margin-top: 1cqw; font-size: 3cqw; line-height: 1.6; padding: 0 2cqw; white-space: nowrap; }
  .ax-venn__ax { left: 50%; top: 46%; font-size: 7.4cqw; }
  .ax-service__cards { margin-top: 40px; }
  .ax-service-card { grid-template-columns: 1fr; gap: 20px; padding: 28px 20px; }
  .ax-service-card__logo img { width: 200px; }
  .ax-service-card__logo--wp { width: 139px; } /* 文字がロゴより長いときは、ロゴの位置を変えずに左右へはみ出して中央に */
  .ax-service-card__logo--wp img { width: 139px; } /* WealthPark AI のロゴ（200px）と同じ比率 */
  .ax-logo-placeholder { width: 200px; height: 52px; }
  .ax-service-card__title { font-size: 20px; }
  .ax-service-card__text { font-size: 15px; line-height: 28px; }
  .ax-service-card .ax-more { margin-top: 12px; }

  .ax-case { padding: 41px 0 80px; }
  .ax-case__list { grid-template-columns: 1fr; gap: 16px; margin-top: 28px; }
  .ax-case-card { display: grid; grid-template-columns: 120px 1fr; }
  .ax-case-card__photo { aspect-ratio: auto; min-height: 104px; height: 100%; }
  .ax-case-card__body { padding: 14px 16px; align-self: center; }
  .ax-case-card__company { font-size: 12px; line-height: 19px; }
  .ax-case-card__title { font-size: 15px; line-height: 23px; }
  .ax-case__more { justify-content: center; margin-top: 28px; }

  .ax-member { padding: 80px 0; }
  .ax-member__list { grid-template-columns: 1fr; gap: 8px; margin-top: 24px; }
  .ax-member-card { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .ax-member-card__photo { width: 120px; height: 120px; }

  .ax-contact { padding: 80px 0; }
  .ax-contact__lead { font-size: 15px; line-height: 28px; }
  .ax-contact .ax-container { display: block; }
  .ax-contact__lead { margin-top: 20px; }
  .ax-contact-form { margin-top: 24px; padding: 18px 16px; }

  .ax-footer__inner { flex-direction: column; justify-content: center; gap: 8px; height: auto; padding: 32px 20px; }
}
