@charset "utf-8";

/* =========================================================
   株式会社LIVE Axx — 共通スタイル
   デザイントークンは :root に定義。色は必ずトークン経由で使う。
   ========================================================= */

:root {
  color-scheme: light dark;

  /* ---- ライト(既定) ---- */
  --bg: #FFFFFF;
  --bg-soft: #F7F6FB;
  --ink: #2B2836;
  --text: #444444;
  --muted: #7A7688;
  --line: #E6E4EE;

  /* ---- アクセント(ライト/ダーク共通) ---- */
  --purple: #9E80F7;
  --purple-soft: #AC92F8;
  --pink: #EF7FB4;
  --blue: #4E9EFB;
  --cyan: #B4EFFF;
  --grad: linear-gradient(90deg, #4E9EFB 0%, #9E80F7 50%, #EF7FB4 100%);

  /* ---- タイポ ---- */
  --font-heading: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-body: "BIZ UDPGothic", "Hiragino Sans", "Yu Gothic", sans-serif;
  --font-en: "Outfit", "Helvetica Neue", Arial, sans-serif;

  /* ---- レイアウト ---- */
  --container: 1080px;
  --measure: 40em;
}

/* ダーク: システム設定(ただし data-theme="light" 指定時は除く) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #17151F;
    --bg-soft: #1F1C2A;
    --ink: #F2F0F7;
    --text: #D6D3E0;
    --muted: #9A96AB;
    --line: #2E2B3A;
  }
}

/* ダーク: 明示指定 */
:root[data-theme="dark"] {
  --bg: #17151F;
  --bg-soft: #1F1C2A;
  --ink: #F2F0F7;
  --text: #D6D3E0;
  --muted: #9A96AB;
  --line: #2E2B3A;
}

/* =========================================================
   ベース
   ========================================================= */

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

html,
body {
  background: var(--bg);
  color: var(--text);
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding-inline: clamp(16px, 5vw, 40px);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.9;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
  text-wrap: balance;
  margin: 0;
}

h1 {
  font-size: clamp(28px, 5.2vw, 40px);
  line-height: 1.35;
}

h2 {
  font-size: clamp(22px, 3.4vw, 28px);
}

h3 {
  font-size: 20px;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

ul,
ol,
dl,
dd {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

/* =========================================================
   共通パーツ
   ========================================================= */

.container {
  max-width: var(--container);
  margin-inline: auto;
}

/* 英字の小さなラベル */
.eyebrow {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  line-height: 1.6;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}

/* セクション先頭のグラデ罫線(署名) */
.rule {
  width: 48px;
  height: 2px;
  background: var(--grad);
  border: 0;
  margin: 0 0 20px;
}

/* ページ全幅の 1px グラデライン */
.grad-line {
  height: 1px;
  background: var(--grad);
  border: 0;
  margin: 0;
}

.section {
  padding-block: clamp(56px, 9vw, 88px);
  border-top: 1px solid var(--line);
}

.section:first-of-type {
  border-top: 0;
}

.section-head {
  margin-bottom: clamp(28px, 4vw, 44px);
}

.lead {
  max-width: var(--measure);
}

.note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
}

/* ボタン */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  padding: 13px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none;
  transition: opacity .2s ease, background-color .2s ease, color .2s ease;
}

.btn-fill {
  background: var(--ink);
  color: var(--bg);
}

.btn-outline {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn:hover {
  opacity: .82;
}

.btn-outline:hover {
  border-color: var(--purple);
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .btn {
    transition: none;
  }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* テキストリンク */
.link {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .22em;
  text-decoration-color: var(--line);
  font-weight: 700;
}

.link:hover {
  text-decoration-color: var(--purple);
}

.link-small {
  font-size: 14px;
  font-weight: 400;
  color: var(--muted);
}

/* =========================================================
   ヘッダー
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
  margin-inline: calc(clamp(16px, 5vw, 40px) * -1);
  padding-inline: clamp(16px, 5vw, 40px);
}

.site-header__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding-block: 14px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.brand__logo {
  display: block;
  width: auto;
  height: 28px;
}

/* ライト/ダークのロゴ切り替え。
   <picture> の media クエリは data-theme 切替に追従しないため、
   img を 2 枚置いて CSS で表示を切り替える(未指定/light/dark の 3 状態に対応)。 */
.brand__logo--dark {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .brand__logo--light {
    display: none;
  }

  :root:not([data-theme="light"]) .brand__logo--dark {
    display: block;
  }
}

:root[data-theme="dark"] .brand__logo--light {
  display: none;
}

:root[data-theme="dark"] .brand__logo--dark {
  display: block;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.site-nav a {
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--ink);
}

@media (max-width: 560px) {
  .site-nav a {
    font-size: 13px;
  }

  .site-nav ul {
    gap: 4px 16px;
  }

  .brand__logo {
    height: 24px;
  }
}

/* =========================================================
   ヒーロー
   ========================================================= */

.hero {
  position: relative;
  padding-block: clamp(56px, 11vw, 104px) clamp(56px, 9vw, 88px);
  overflow: hidden;
}

/* 右上の放射グラデ(ページ内で1か所だけ) */
.hero::before {
  content: "";
  position: absolute;
  top: -34%;
  right: -22%;
  width: min(760px, 115vw);
  aspect-ratio: 1;
  background:
    radial-gradient(circle at 30% 30%, var(--purple-soft) 0%, transparent 58%),
    radial-gradient(circle at 70% 42%, var(--cyan) 0%, transparent 55%),
    radial-gradient(circle at 52% 74%, var(--pink) 0%, transparent 58%);
  opacity: .12;
  filter: blur(48px);
  pointer-events: none;
  z-index: 0;
}

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

.hero h1 {
  margin-bottom: 24px;
}

/* 初期状態で可視。動きは控えめなフェードのみ */
.fade-in {
  animation: fade-in .7s ease both;
}

@keyframes fade-in {
  from {
    opacity: .001;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    animation: none;
  }
}

/* =========================================================
   事業内容
   ========================================================= */

.business-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0 40px;
}

.business-list > li {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.business-list h3 {
  margin-bottom: 12px;
}

.business-list p {
  font-size: 15px;
  line-height: 1.85;
}

.business-list .num {
  display: block;
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--muted);
  margin-bottom: 6px;
}

@media (max-width: 820px) {
  .business-list {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* =========================================================
   サービス
   ========================================================= */

.service-grid {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 40px 56px;
  align-items: start;
}

.service-logo {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-logo img {
  max-width: 320px;
  width: 100%;
}

.service-body > * + * {
  margin-top: 24px;
}

.service-body .lead {
  max-width: var(--measure);
}

.feature-list {
  display: grid;
  gap: 12px;
  max-width: var(--measure);
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.8;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  background: var(--purple);
}

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

  .service-logo {
    justify-content: flex-start;
    padding: 24px;
  }
}

/* =========================================================
   会社概要
   ========================================================= */

.company-dl {
  border-top: 1px solid var(--line);
  max-width: 860px;
}

.company-row {
  display: grid;
  grid-template-columns: 10em minmax(0, 1fr);
  gap: 4px 24px;
  border-bottom: 1px solid var(--line);
  padding-block: 18px;
}

.company-dl dt {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
}

.company-dl dd {
  font-size: 15px;
}

.company-dl dd p {
  margin: 0;
}

@media (max-width: 640px) {
  .company-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

/* =========================================================
   お問い合わせ
   ========================================================= */

.contact-mail {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 15px;
  color: var(--muted);
  margin-top: 20px;
}

.contact-mail a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: .22em;
  text-decoration-color: var(--line);
}

/* =========================================================
   フッター
   ========================================================= */

.site-footer {
  margin-inline: calc(clamp(16px, 5vw, 40px) * -1);
  padding-inline: clamp(16px, 5vw, 40px);
}

.site-footer__inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-block: 40px 32px;
}

.site-footer__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 40px;
}

.site-footer .brand {
  margin-bottom: 10px;
}

.site-footer .brand__logo {
  height: 22px;
}

.site-footer__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  margin-bottom: 4px;
}

.site-footer__addr {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.8;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: flex-start;
}

.site-footer__links a {
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}

.site-footer__links a:hover {
  color: var(--ink);
}

.copyright {
  font-family: var(--font-en);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: .06em;
  color: var(--muted);
  margin-top: 40px;
}

/* =========================================================
   下層ページ(プライバシーポリシー)
   ========================================================= */

.page-head {
  padding-block: clamp(48px, 8vw, 72px) clamp(28px, 4vw, 40px);
}

.legal {
  max-width: var(--measure);
  padding-bottom: clamp(56px, 9vw, 88px);
}

.legal > section {
  border-top: 1px solid var(--line);
  padding-block: 28px;
}

.legal h2 {
  font-size: 20px;
  margin-bottom: 12px;
}

.legal p,
.legal li {
  font-size: 15px;
  line-height: 1.9;
}

.legal p + p {
  margin-top: 12px;
}

.legal ol,
.legal ul {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.legal ol {
  list-style: decimal;
  padding-left: 1.5em;
}

.legal ul li {
  position: relative;
  padding-left: 18px;
}

.legal ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 6px;
  height: 6px;
  background: var(--purple);
}

.legal-meta {
  margin-top: 32px;
  font-size: 14px;
  color: var(--muted);
}

.legal-contact {
  font-size: 15px;
  line-height: 1.9;
  margin-top: 12px;
}
