@charset "UTF-8";

/* =========================================================
   AtelieNEA — Design System
   ダーク基調・余白重視・アニメーション前提
   ========================================================= */

:root {
  color-scheme: dark;

  /* Surface */
  --bg:        #09090b;
  --bg-2:      #0e0e11;
  --surface:   #131317;
  --surface-2: #17171c;

  /* Ink — 読みやすさ優先でコントラストを上げている */
  --ink:       #f4f2ee;
  --ink-2:     #bcb9b2;
  --ink-3:     #86837d;

  /* Line */
  --line:      rgba(240, 237, 231, .10);
  --line-2:    rgba(240, 237, 231, .055);

  /* Accent — brass。面ではなく線と小さな記号にだけ使う */
  --accent:    #c0a06b;
  --accent-2:  #e2cb9c;
  --accent-dim: rgba(192, 160, 107, .16);

  /* Type */
  --font-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
               "Yu Gothic Medium", "Yu Gothic", Meiryo, system-ui, -apple-system,
               "Segoe UI", sans-serif;
  --font-serif: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP",
                "Times New Roman", serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas,
               "Courier New", monospace;

  /* Layout */
  --maxw: 1180px;
  --gutter: clamp(22px, 5vw, 64px);
  --radius: 16px;
  --radius-lg: 26px;

  /* Motion */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);

  --shadow: 0 30px 80px -20px rgba(0, 0, 0, .8), 0 8px 24px rgba(0, 0, 0, .5);
}

/* =========================================================
   Base
   ========================================================= */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 2;
  font-feature-settings: "palt" 1;
  letter-spacing: .035em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

/* きめの細かいノイズ。質感のためだけの装飾 */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: .032;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a { color: inherit; text-underline-offset: 4px; }

:where(a, button, input, textarea, summary):focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
  border-radius: 3px;
}

/* 見出しは太いゴシック。日本語は字面が大きいので字間はやや詰める。 */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 800;
  line-height: 1.5;
  letter-spacing: .01em;
  margin: 0;
}

/* 絵文字。テキストのフォントに巻き込まれないよう専用スタックを当てる。 */
.emoji {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
  font-style: normal;
  font-weight: 400;
  display: inline-block;
  line-height: 1;
}

p { margin: 0 0 1.3em; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }

::selection { background: var(--accent); color: #0b0b0d; }

/* =========================================================
   Layout
   ========================================================= */

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 760px; }

.section { padding-block: clamp(88px, 13vw, 176px); }
.section--tight { padding-block: clamp(60px, 9vw, 104px); }
.section--alt { background: var(--bg-2); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--ink);
  color: var(--bg);
  padding: 14px 22px;
  font-size: 14px;
}
.skip-link:focus { left: 0; }

/* 読みやすさのために本文の一行を短く保つ */
.measure { max-width: 32em; }

/* =========================================================
   Type
   ========================================================= */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 26px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: .55;
  flex-shrink: 0;
}

.display {
  font-size: clamp(32px, 5.2vw, 62px);
  font-weight: 800;
  line-height: 1.44;
  letter-spacing: 0;
  margin: 0;
}

.title {
  font-size: clamp(25px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.5;
  margin: 0 0 26px;
}

.lead {
  color: var(--ink-2);
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 500;
  line-height: 1.95;
  max-width: 32em;
  margin: 0;
}

.accent { color: var(--accent); }

.rule {
  height: 1px;
  background: var(--line);
  border: 0;
  margin: 0;
}

/* =========================================================
   Motion
   ========================================================= */

.js [data-r] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 1s var(--ease),
    transform 1.15s var(--ease),
    clip-path 1.3s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}

/* 見出し用：下から立ち上がるように現れる。
   clip-path で隠すと交差領域が空になり IntersectionObserver が発火しないため、
   親を overflow:hidden にして中の span を動かす。 */
.js [data-r="mask"] {
  opacity: 1;
  transform: none;
  overflow: hidden;
}
.js [data-r="mask"] > span {
  display: block;
  transform: translateY(115%);
  transition: transform 1.25s var(--ease);
  transition-delay: var(--d, 0ms);
}
.js [data-r="mask"].in > span { transform: none; }

/* 罫線用：左から引かれる */
.js [data-r="line"] {
  opacity: 1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 1.4s var(--ease);
  transition-delay: var(--d, 0ms);
}

/* 画像用：わずかに引きながら現れる */
.js [data-r="img"] {
  opacity: 0;
  transform: scale(1.05) translateY(22px);
  transition:
    opacity 1.3s var(--ease),
    transform 1.5s var(--ease);
  transition-delay: var(--d, 0ms);
}

.js [data-r].in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-r],
  .js [data-r].in,
  .js [data-r="mask"] > span {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* =========================================================
   Header
   ========================================================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  transition: background-color .5s var(--ease), backdrop-filter .5s var(--ease),
              border-color .5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: rgba(9, 9, 11, .72);
  backdrop-filter: saturate(150%) blur(18px);
  -webkit-backdrop-filter: saturate(150%) blur(18px);
  border-bottom-color: var(--line-2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  transition: min-height .5s var(--ease);
}
.site-header.is-stuck .header-inner { min-height: 66px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand-mark { width: 28px; height: 28px; flex-shrink: 0; }
.brand-name {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: .1em;
}

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

.nav-list { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-list a {
  position: relative;
  font-size: 13px;
  letter-spacing: .1em;
  text-decoration: none;
  color: var(--ink-2);
  padding-block: 8px;
  transition: color .4s var(--ease);
}
.nav-list a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform .5s var(--ease);
}
.nav-list a:hover { color: var(--ink); }
.nav-list a:hover::after,
.nav-list a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left center; }
.nav-list a[aria-current="page"] { color: var(--ink); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 16px; height: 1px;
  margin: 4px auto;
  background: currentColor;
  transition: transform .45s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  /* 全画面のメニューがロゴと閉じるボタンを覆わないようにする */
  .brand, .nav-toggle { position: relative; z-index: 2; }
  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    background: var(--bg);
    padding: 90px var(--gutter) 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .55s var(--ease), visibility .55s;
    overflow-y: auto;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a {
    display: block;
    padding: 22px 0;
    font-size: 21px;
    font-weight: 800;
    letter-spacing: .02em;
    border-bottom: 1px solid var(--line-2);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
  }
  .site-nav.is-open .nav-list a { opacity: 1; transform: none; }
  .site-nav.is-open .nav-list li:nth-child(1) a { transition-delay: .08s; }
  .site-nav.is-open .nav-list li:nth-child(2) a { transition-delay: .14s; }
  .site-nav.is-open .nav-list li:nth-child(3) a { transition-delay: .2s; }
  .site-nav.is-open .nav-list li:nth-child(4) a { transition-delay: .26s; }
  .nav-list a::after { display: none; }
  .site-nav .btn { margin-top: 34px; width: 100%; }
}

/* =========================================================
   Buttons
   ========================================================= */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .7em;
  padding: 17px 34px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  letter-spacing: .12em;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease);
  white-space: nowrap;
}
/* ホバーで下から塗りが立ち上がる */
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: translateY(0); }

.btn--fill { background: var(--ink); color: var(--bg); }
.btn--fill::before { background: var(--accent); }
.btn--fill:hover { color: #0b0b0d; border-color: var(--accent); }

.btn--quiet { border-color: var(--line); color: var(--ink-2); }
.btn--quiet:hover { color: var(--bg); border-color: var(--ink); }

.btn--sm { padding: 12px 24px; font-size: 12px; }

.btn-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }

/* テキストリンク */
.link {
  display: inline-flex;
  align-items: center;
  gap: .8em;
  font-size: 13px;
  letter-spacing: .12em;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: 10px;
  position: relative;
  transition: gap .5s var(--ease);
}
.link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--line);
}
.link::before {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .6s var(--ease);
  z-index: 1;
}
.link:hover { gap: 1.3em; }
.link:hover::before { transform: scaleX(1); }
.link svg { width: 15px; height: 15px; }

/* =========================================================
   Hero
   ========================================================= */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-block: 140px 90px;
  overflow: hidden;
}

/* 奥行きを出すためのごく淡い光 */
.hero::before {
  content: "";
  position: absolute;
  top: 8%;
  right: -8%;
  width: min(760px, 90vw);
  aspect-ratio: 1;
  background: radial-gradient(circle at 50% 50%,
              rgba(120, 140, 220, .13), rgba(192, 160, 107, .05) 42%, transparent 68%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  width: 100%;
}

.hero .display { margin-bottom: 34px; }
.hero .lead { margin-bottom: 46px; }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  margin: 60px 0 0;
  padding-top: 32px;
  border-top: 1px solid var(--line-2);
}
.hero-meta dt {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.hero-meta dd {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .02em;
}

/* 下部のスクロール示唆 */
.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.scroll-cue i {
  display: block;
  width: 46px;
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: cue 2.6s var(--ease-io) infinite;
}
@keyframes cue {
  0%   { transform: translateX(-100%); }
  55%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

@media (max-width: 940px) {
  .hero { min-height: 0; padding-block: 128px 80px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 260px; margin-inline: auto; }
  .hero-meta { gap: 32px; }
  .scroll-cue { display: none; }
}

/* =========================================================
   Device frame
   ========================================================= */

.device {
  width: min(310px, 100%);
  margin-inline: auto;
  padding: 9px;
  background: linear-gradient(155deg, #45454f 0%, #16161a 20%, #101014 50%, #16161a 80%, #45454f 100%);
  border-radius: 46px;
  box-shadow: var(--shadow);
  transform: rotate(-2.2deg);
  transition: transform 1.1s var(--ease);
}
.device:hover { transform: rotate(0deg) translateY(-10px); }
.device img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 38px;
  background: #0f1c2e;
}
.device--flat { transform: none; }
.device--flat:hover { transform: translateY(-10px); }

/* スクロールに合わせてわずかに浮く（JS が --py を更新する） */
.hero-visual { transform: translate3d(0, var(--py, 0px), 0); }

/* =========================================================
   Values / cards
   ========================================================= */

.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-2);
}
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }

.value {
  position: relative;
  padding: 46px 34px 46px 0;
  border-bottom: 1px solid var(--line-2);
}
.values .value + .value { padding-left: 34px; border-left: 1px solid var(--line-2); }
@media (max-width: 860px) {
  .value { padding: 34px 0; }
  .values .value + .value { padding-left: 0; border-left: 0; }
}

/* 4項目を 2×2 に。1列目に罫線が出ないよう「＋」ルールを打ち消す。 */
.values--2 { grid-template-columns: repeat(2, 1fr); }
.values--2 .value + .value { padding-left: 0; border-left: 0; }
.values--2 .value:nth-child(even) { padding-left: 34px; border-left: 1px solid var(--line-2); }
@media (max-width: 860px) {
  .values--2 { grid-template-columns: 1fr; }
  .values--2 .value:nth-child(even) { padding-left: 0; border-left: 0; }
}
.value-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .24em;
  color: var(--accent);
  margin-bottom: 20px;
}
.value h3 {
  font-size: 21px;
  font-weight: 800;
  margin: 0 0 12px;
}
.value p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--ink-2);
}

/* 値カードの絵文字 */
.value .emoji {
  font-size: 38px;
  display: block;
  margin-bottom: 18px;
}

/* =========================================================
   3ステップ
   ========================================================= */

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.2vw, 24px);
  counter-reset: step;
}
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 3.6vw, 40px) clamp(24px, 3vw, 32px);
  text-align: center;
  transition: transform .5s var(--ease), border-color .5s var(--ease);
}
.step:hover { transform: translateY(-6px); border-color: var(--accent-dim); }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent);
  color: #0b0b0d;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 22px;
}
.step .emoji { font-size: 46px; display: block; margin-bottom: 20px; }
.step h3 { font-size: 19px; margin: 0 0 10px; }
.step p { margin: 0; font-size: 14.5px; font-weight: 500; color: var(--ink-2); line-height: 1.9; }

/* =========================================================
   こんな人におすすめ（チェックリスト）
   ========================================================= */

.checks { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-2); }
.checks li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 18px;
  align-items: center;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line-2);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: .01em;
}
.checks .ck {
  color: var(--accent);
  font-size: 19px;
  line-height: 1;
}
@media (max-width: 560px) {
  .checks li { font-size: 15.5px; gap: 14px; grid-template-columns: 26px 1fr; }
}

/* 見出しに添える絵文字 */
.title .emoji { font-size: .9em; margin-right: .35em; }

/* シンプルなリスト（事業内容など） */
.list { list-style: none; border-top: 1px solid var(--line-2); }
.list li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-2);
}
.list .n {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  color: var(--accent);
}
.list h3 { font-size: 17.5px; margin: 0; font-weight: 700; letter-spacing: .01em; }
@media (max-width: 560px) {
  .list li { grid-template-columns: 1fr; gap: 8px; }
}

/* =========================================================
   Product
   ========================================================= */

.product {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}
@media (max-width: 940px) {
  .product { grid-template-columns: 1fr; }
  .product-visual { max-width: 250px; margin-inline: auto; }
}
.product--solo { grid-template-columns: 1fr; max-width: 780px; }

.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  padding: 7px 16px;
  margin-bottom: 24px;
}

.specs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 48px;
  margin: 38px 0 42px;
  border-top: 1px solid var(--line-2);
}
.specs li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line-2);
  font-size: 14px;
}
.specs .k {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.specs .v { color: var(--ink-2); }
@media (max-width: 700px) { .specs { grid-template-columns: 1fr; } }

/* App Store バッジ */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 13px 26px 13px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  text-decoration: none;
  transition: border-color .5s var(--ease), background-color .5s var(--ease);
}
.appstore:hover { border-color: var(--ink); background: rgba(240, 237, 231, .04); }
.appstore svg { width: 24px; height: 24px; flex-shrink: 0; }
.appstore small {
  display: block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.appstore strong { display: block; font-size: 16px; letter-spacing: .01em; font-weight: 800; }

/* =========================================================
   Page head（下層ページ）
   ========================================================= */

.page-head {
  position: relative;
  padding-block: clamp(140px, 18vw, 210px) clamp(46px, 7vw, 76px);
  overflow: hidden;
}
.page-head::before {
  content: "";
  position: absolute;
  top: -40%; left: 50%;
  transform: translateX(-50%);
  width: min(900px, 120vw);
  aspect-ratio: 2 / 1;
  background: radial-gradient(ellipse at 50% 50%, rgba(192, 160, 107, .07), transparent 65%);
  pointer-events: none;
}
.page-head > * { position: relative; }
.page-head h1 { font-size: clamp(29px, 5.2vw, 56px); font-weight: 800; margin: 0 0 22px; }

.breadcrumb {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 28px;
}
.breadcrumb a { text-decoration: none; color: var(--ink-3); transition: color .4s var(--ease); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb li + li::before { content: "/"; margin-right: 12px; opacity: .45; }

/* =========================================================
   Tables
   ========================================================= */

.info {
  width: 100%;
  border-collapse: collapse;
  border-top: 1px solid var(--line-2);
  font-size: 15px;
}
.info th, .info td {
  text-align: left;
  vertical-align: top;
  padding: 24px 8px;
  border-bottom: 1px solid var(--line-2);
}
.info th {
  width: 200px;
  font-weight: 500;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-3);
  white-space: nowrap;
  padding-top: 28px;
}
.info td { color: var(--ink-2); }
.info a { color: var(--ink); text-decoration-color: var(--accent); }
@media (max-width: 660px) {
  .info, .info tbody, .info tr, .info th, .info td { display: block; width: auto; }
  .info tr { padding: 20px 0; border-bottom: 1px solid var(--line-2); }
  .info th { padding: 0 0 8px; }
  .info td { padding: 0; border-bottom: 0; }
}

/* =========================================================
   Prose（規約・ポリシー）
   ========================================================= */

.prose { font-size: 15px; line-height: 2.1; color: var(--ink-2); }
.prose h2 {
  font-size: 20px;
  color: var(--ink);
  margin: 64px 0 20px;
  padding-top: 30px;
  border-top: 1px solid var(--line-2);
  letter-spacing: .06em;
}
.prose h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose h3 { font-size: 16px; color: var(--ink); margin: 34px 0 12px; font-weight: 700; letter-spacing: .01em; }
.prose ul, .prose ol { margin: 0 0 1.3em; padding-left: 1.6em; }
.prose li { margin-bottom: .7em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--accent); }
.prose strong { color: var(--ink); }
.prose .updated {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--ink-3);
}

/* =========================================================
   FAQ
   ========================================================= */

.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 28px 2px;
  cursor: pointer;
  list-style: none;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: .01em;
  color: var(--ink);
  transition: color .4s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 11px; height: 11px;
  margin-top: 12px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform .5s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq-body {
  padding: 0 2px 32px;
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
  line-height: 2;
  max-width: 40em;
}
.faq details[open] .faq-body { animation: faqIn .6s var(--ease) both; }
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: none; }
}

/* =========================================================
   Contact
   ========================================================= */

.mail-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-2);
}
@media (max-width: 700px) { .mail-menu { grid-template-columns: 1fr; } }

.mail-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 32px 28px 32px 4px;
  border-bottom: 1px solid var(--line-2);
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
  transition: padding-left .6s var(--ease);
}
.mail-menu .mail-item:nth-child(even) { padding-left: 34px; border-left: 1px solid var(--line-2); }
@media (max-width: 700px) {
  .mail-menu .mail-item:nth-child(even) { padding-left: 4px; border-left: 0; }
}
.mail-item::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 100%; height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .7s var(--ease);
}
.mail-item:hover::before { transform: scaleX(1); }
.mail-item:hover { padding-left: 18px; }
@media (max-width: 700px) { .mail-item:hover { padding-left: 12px; } }

.mail-item .ico {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--accent);
  transition: border-color .5s var(--ease), background-color .5s var(--ease);
}
.mail-item:hover .ico { border-color: var(--accent-dim); background: var(--accent-dim); }
.mail-item .ico svg { width: 17px; height: 17px; }
.mail-item .ico.emoji { font-size: 19px; }
.mail-item b { display: block; font-size: 17px; letter-spacing: .01em; font-weight: 800; }
.mail-item span { display: block; font-size: 12.5px; color: var(--ink-3); margin-top: 5px; letter-spacing: .06em; }

.mail-box { text-align: center; }
.mail-address {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 28px 0 0;
}
.mail-address a {
  font-family: var(--font-mono);
  font-size: clamp(16px, 3.6vw, 26px);
  letter-spacing: .01em;
  color: var(--ink);
  text-decoration: none;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--accent-dim);
  word-break: break-all;
  transition: border-color .5s var(--ease), color .5s var(--ease);
}
.mail-address a:hover { color: var(--accent); border-color: var(--accent); }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
  transition: color .4s var(--ease), border-color .4s var(--ease), background-color .4s var(--ease);
  white-space: nowrap;
}
.copy-btn:hover { color: var(--ink); border-color: var(--ink); }
.copy-btn svg { width: 13px; height: 13px; }
.copy-btn.is-copied { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); }

.note {
  border-left: 1px solid var(--accent-dim);
  padding: 4px 0 4px 24px;
  font-size: 13.5px;
  line-height: 1.95;
  color: var(--ink-2);
  max-width: 40em;
}
.note strong { color: var(--ink); display: block; margin-bottom: 6px; letter-spacing: .06em; }
.note a { color: var(--accent); }

/* =========================================================
   CTA
   ========================================================= */

.cta {
  position: relative;
  text-align: center;
  padding-block: clamp(72px, 11vw, 130px);
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 130vw);
  aspect-ratio: 2 / 1;
  background: radial-gradient(ellipse at 50% 50%, rgba(192, 160, 107, .10), transparent 62%);
  pointer-events: none;
}
.cta > * { position: relative; }
.cta .title { margin-bottom: 22px; }
.cta .lead { margin-inline: auto; }
.cta .btn-row { justify-content: center; margin-top: 42px; }

/* =========================================================
   Footer
   ========================================================= */

.site-footer {
  border-top: 1px solid var(--line-2);
  padding-block: clamp(56px, 8vw, 88px) 36px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(34px, 6vw, 70px);
  padding-bottom: 52px;
}
@media (max-width: 760px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
.footer-brand p {
  font-size: 13px;
  color: var(--ink-3);
  max-width: 26em;
  margin: 20px 0 0;
  line-height: 1.95;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin: 0 0 20px;
}
.footer-col ul { list-style: none; display: grid; gap: 14px; }
.footer-col a {
  font-size: 13.5px;
  text-decoration: none;
  color: var(--ink-2);
  transition: color .4s var(--ease);
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 30px;
  border-top: 1px solid var(--line-2);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .16em;
  color: var(--ink-3);
}

/* =========================================================
   404
   ========================================================= */

.error-page {
  min-height: 72svh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 140px 90px;
}
.error-code {
  font-weight: 800;
  font-family: var(--font-mono);
  font-size: clamp(64px, 15vw, 150px);
  line-height: 1;
  letter-spacing: .08em;
  color: var(--accent);
  margin-bottom: 30px;
}

/* =========================================================
   Utilities
   ========================================================= */

.mt-64 { margin-top: clamp(40px, 6vw, 64px); }
.mt-40 { margin-top: 40px; }
.mt-24 { margin-top: 24px; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
