/* Auralis 公式サイト  開発・運営 Nexus DEV / Developer @yjpuk */

:root {
  --paper: #eef1f7;
  --surface: #ffffff;
  --ink: #161a2e;
  --ink-2: #4a5170;
  --ink-3: #737a96;
  --line: #cfd5e4;
  --blue: #3352e8;
  --blue-ink: #2440c8;
  --violet: #7a46ea;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --sans: "IBM Plex Sans JP", "Hiragino Sans", "Noto Sans JP", system-ui, sans-serif;
  --display: "Dela Gothic One", "IBM Plex Sans JP", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #12152a; --surface: #1a1e36; --ink: #e9ecf7; --ink-2: #b4bad3; --ink-3: #8a90ab; --line: #2b3152;
    --blue-ink: #8ea2ff; --violet: #b394ff; color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.8 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue-ink); text-underline-offset: 3px; }
code { font-family: var(--mono); font-size: .9em; padding: .05em .35em; border-radius: 5px; background: color-mix(in srgb, var(--ink) 7%, transparent); }
h1, h2, h3 { margin: 0; font-weight: 700; }
h2 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.4vw, 38px); line-height: 1.3; letter-spacing: .02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 8px 14px; background: var(--ink); color: var(--paper); border-radius: 8px; }
.skip:focus { top: 12px; }

/* ボタン */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap; border: 1.5px solid transparent; transition: background .15s, color .15s, transform .1s; }
.btn:active { transform: translateY(1px); }
.btn-s { height: 38px; padding: 0 16px; font-size: 14px; }
.btn-white { background: #fff; color: var(--blue-ink); }
.btn-white:hover { background: #e7ebff; }
.btn-clear { color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-clear:hover { background: rgba(255, 255, 255, .12); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--blue); color: #fff; }

/* ヘッダー */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-size: 21px; letter-spacing: .02em; }
.brand img { border-radius: 8px; }
.menu { display: flex; gap: 22px; margin-left: auto; }
.menu a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.menu a:hover { color: var(--ink); text-decoration: underline; }
.menu-btn { display: none; margin-left: auto; height: 38px; padding: 0 14px; border-radius: 9px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 700 14px var(--sans); }

/* 最初の画面 */
.hero { background: var(--blue); color: #fff; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; align-items: center; padding: 88px 0 96px; }
.hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 6.2vw, 80px); line-height: 1.12; letter-spacing: .03em; }
.lead { margin-top: 26px; font-size: 17px; line-height: 1.9; max-width: 32em; }
.lead code { background: rgba(255, 255, 255, .18); color: #fff; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 18px; font-size: 13.5px; color: rgba(255, 255, 255, .78); max-width: 34em; }
.hero-card { margin: 0; }
.cardview { position: relative; filter: drop-shadow(0 28px 34px rgba(12, 22, 90, .45)); transform: rotate(-1.5deg); }
.cardview img { width: 100%; animation: swap .35s ease; }
@keyframes swap { from { opacity: .3; } }
.hero-card figcaption { display: grid; gap: 12px; margin-top: 30px; font-size: 14px; color: rgba(255, 255, 255, .88); }
.styles { display: flex; flex-wrap: wrap; gap: 6px; }
.styles button { height: 34px; padding: 0 14px; border-radius: 99px; border: 1.5px solid rgba(255, 255, 255, .55); background: transparent; color: #fff; font: 500 13.5px var(--sans); cursor: pointer; }
.styles button:hover { background: rgba(255, 255, 255, .12); }
.styles button[aria-pressed="true"] { background: #fff; color: var(--blue-ink); border-color: #fff; font-weight: 700; }
.hero-card small { font-size: 12.5px; color: rgba(255, 255, 255, .7); }

/* 区切りごとの共通 */
.block { padding: 96px 0; border-top: 1px solid var(--line); }
.hero + .block { border-top: 0; }
.two { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 56px; align-items: start; }
.side-head { position: sticky; top: 100px; }
.side-head p { margin-top: 12px; color: var(--ink-2); font-size: 15px; }

/* できること */
.feature-groups { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 56px; }
.fg h3 { font-size: 15px; color: var(--blue-ink); padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 16px; }
.fg dl { margin: 0; }
.fg dt { font-weight: 700; font-size: 16px; }
.fg dd { margin: 2px 0 18px; color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.fg dd:last-child { margin-bottom: 0; }

/* ダッシュボード */
.block-shot { background: var(--surface); }
.block-shot .wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.shot-head p { margin-top: 16px; color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 26px; font-weight: 500; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }
.shots { position: relative; padding: 0 0 48px; }
.shot-pc { border-radius: 12px; box-shadow: 0 30px 60px -30px rgba(16, 24, 64, .55), 0 0 0 1px rgba(16, 24, 64, .12); }
.shot-phone { position: absolute; right: -14px; bottom: 0; width: 23%; border-radius: 22px; border: 5px solid #0c0e18; box-shadow: 0 24px 40px -18px rgba(16, 24, 64, .6); }

/* 使い方 */
#start h2 { margin-bottom: 40px; }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: block; font-family: var(--display); font-size: 44px; line-height: 1; color: var(--blue); margin-bottom: 14px; }
.steps b { font-size: 17px; }
.steps p { margin-top: 6px; color: var(--ink-2); font-size: 15px; }

/* プラン */
.plans-head { max-width: 640px; }
.plans-head p { margin-top: 12px; color: var(--ink-2); }
.plan-prices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 36px 0 20px; }
.plan-prices div { display: grid; gap: 2px; padding: 18px 20px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.plan-prices b { font-size: 15px; }
.plan-prices span { font-family: var(--display); font-size: 28px; line-height: 1.3; }
.plan-prices small { color: var(--ink-3); font-size: 13px; }
.plan-prices .p-s b { color: var(--blue-ink); }
.plan-prices .p-u { border-color: color-mix(in srgb, var(--violet) 55%, var(--line)); }
.plan-prices .p-u b { color: var(--violet); }
.table-scroll { overflow-x: auto; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.plans { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 640px; }
.plans th, .plans td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.plans tbody tr:last-child th, .plans tbody tr:last-child td { border-bottom: 0; }
.plans thead th { font-size: 13.5px; background: color-mix(in srgb, var(--paper) 60%, var(--surface)); }
.plans thead th:nth-child(3) { color: var(--blue-ink); }
.plans thead th:nth-child(4) { color: var(--violet); }
.plans tbody th { font-weight: 500; }
.plans td { width: 16%; white-space: nowrap; }
.plans td.no { color: var(--ink-3); }
.plans-foot { margin-top: 18px; font-size: 14px; color: var(--ink-2); max-width: 760px; }

/* コマンド */
.cmd-head { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 12px 40px; align-items: end; margin-bottom: 36px; }
.cmd-head h2 { grid-column: 1 / -1; }
.cmd-head p { color: var(--ink-2); font-size: 15px; }
.cmd-search input { width: 100%; height: 44px; padding: 0 14px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); font: 400 15px var(--sans); }
.cmd-search input:focus { outline: none; border-color: var(--blue); }
.cmd-groups { columns: 2; column-gap: 56px; }
.cg { break-inside: avoid; margin-bottom: 40px; }
.cg h3 { font-size: 15px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.cg-s h3 { color: var(--blue-ink); }
.cg-u h3 { color: var(--violet); }
.cmd { display: grid; gap: 1px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cmd code { justify-self: start; background: none; padding: 0; font-size: 14px; font-weight: 500; color: var(--ink); }
.cmd code i { font-style: normal; color: var(--ink-3); }
.cmd span { font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.cmd-empty { color: var(--ink-2); }

/* よくある質問 */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; position: relative; padding: 18px 40px 18px 0; font-weight: 700; font-size: 16px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { padding: 0 0 20px; color: var(--ink-2); font-size: 15px; max-width: 40em; }

/* 更新履歴 */
.log { list-style: none; margin: 0; padding: 0; }
.log li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.log li:first-child { border-top: 1px solid var(--line); }
.log b { font-family: var(--mono); font-weight: 500; font-size: 15px; }
.log span { color: var(--ink-2); font-size: 15px; }

/* フッター */
.foot { background: #161a2e; color: #d9ddec; padding: 64px 0 28px; }
.foot .brand { color: #fff; }
.foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-brand p { margin-top: 10px; font-size: 14px; color: #a6acc6; }
.foot nav { display: grid; gap: 8px; align-content: start; }
.foot nav a { color: #d9ddec; text-decoration: none; font-size: 14px; }
.foot nav a:hover { color: #fff; text-decoration: underline; }
.foot-team img { width: 150px; }
.foot-team p { margin-top: 8px; font-size: 13px; color: #a6acc6; line-height: 1.6; }
.copy { margin-top: 48px; padding-top: 20px; border-top: 1px solid #2c3150; font-size: 12.5px; color: #8a90ab; }

/* 規約などのページ */
.doc { width: min(780px, 100% - 48px); margin: 0 auto; padding: 56px 0 96px; }
.doc h1 { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 4vw, 38px); line-height: 1.3; }
.doc .meta { margin: 10px 0 32px; color: var(--ink-3); font-size: 14px; }
.doc h2 { font-family: var(--sans); font-weight: 700; font-size: 19px; margin: 40px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--ink); }
.doc p, .doc li { color: var(--ink-2); font-size: 15.5px; }
.doc p + p { margin-top: 12px; }
.doc ul { padding-left: 1.3em; }
.doc li + li { margin-top: 6px; }
.doc table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 14.5px; background: var(--surface); border: 1px solid var(--line); }
.doc th, .doc td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.doc th { width: 26%; font-weight: 700; background: color-mix(in srgb, var(--paper) 60%, var(--surface)); }
.doc td { color: var(--ink-2); }
.back { margin-left: auto; }

/* 画面がせまいとき */
@media (max-width: 980px) {
  .hero-in { grid-template-columns: 1fr; gap: 48px; padding: 64px 0 72px; }
  .two { grid-template-columns: 1fr; gap: 28px; }
  .side-head { position: static; }
  .block-shot .wrap { grid-template-columns: 1fr; gap: 40px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .menu { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; gap: 0; padding: 8px 24px 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
  .menu.open { display: flex; }
  .menu a { padding: 12px 0; font-size: 16px; border-bottom: 1px solid var(--line); }
  .menu a:last-child { border-bottom: 0; }
  .menu-btn { display: inline-flex; align-items: center; }
  .add-top { display: none; }
  .block { padding: 72px 0; }
  .feature-groups { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .cmd-head { grid-template-columns: 1fr; }
  .cmd-groups { columns: 1; }
}
@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  .doc { width: calc(100% - 32px); padding-top: 40px; }
  .hero-in { padding: 48px 0 56px; }
  .lead { font-size: 16px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .plan-prices { grid-template-columns: 1fr; }
  .plan-prices div { grid-template-columns: 1fr auto; align-items: baseline; }
  .plan-prices small { grid-column: 1 / -1; }
  .plans th:first-child { position: sticky; left: 0; z-index: 1; background: var(--surface); min-width: 150px; white-space: normal; }
  .plans thead th:first-child { background: color-mix(in srgb, var(--paper) 60%, var(--surface)); }
  .shot-phone { width: 30%; right: -6px; }
  .log li { grid-template-columns: 1fr; gap: 4px; }
  .foot-in { grid-template-columns: 1fr; }
  .doc th, .doc td { display: block; width: auto; }
  .doc th { border-bottom: 0; padding-bottom: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}
.doc-h3 { font-size: 16px; margin: 24px 0 8px; }
.doc table th:first-child { width: 22%; }
@media (max-width: 560px) {
  .doc tr:has(> th:nth-child(3)) { display: none; }
  .doc tr:has(> td:nth-child(3)) td { border-bottom: 0; padding-top: 2px; padding-bottom: 2px; }
  .doc tr:has(> td:nth-child(3)) td:first-child { padding-top: 14px; font-weight: 700; color: var(--ink); }
  .doc tr:has(> td:nth-child(3)) td:last-child { padding-bottom: 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; }
  .doc tr:has(> td:nth-child(3)) td:last-child::before { content: "保存期間: "; font-weight: 700; }
}

/* 重要なお知らせ */
.notice { background: #161a2e; color: #eef1f7; }
.notice-in { display: flex; align-items: center; gap: 20px; padding: 14px 0; }
.notice p { font-size: 14.5px; line-height: 1.7; }
.notice b { display: inline-block; margin-right: 10px; padding: 1px 9px; border-radius: 6px; background: #ffcf4a; color: #161a2e; font-size: 13px; }
.notice time { font-weight: 700; color: #fff; }
.notice .btn { flex: none; }
@media (max-width: 720px) {
  .notice-in { flex-direction: column; align-items: stretch; gap: 12px; }
  .notice .btn { width: 100%; }
}
