@charset "UTF-8";
/*
    Template: swell
    Theme Name: AX-ONE（SWELL CHILD）
    Description: AX-ONE のサイト。SWELL の子テーマだが、AX-ONE の画面では SWELL の CSS/JS を読み込まず、
                 assets/css の top.css（トップ・一覧・固定ページ）と course.css（講座詳細）で見た目をつくる。
    Version: 1.1.0
    Author: MODE-1 Inc.
*/

/* ============================================================
   🔴 見た目の本体は assets/css/top.css と assets/css/course.css。
      このファイルには、WordPress で出すときだけ必要な差分を書く。
   ============================================================ */

/* ログイン中の管理バーの下にヘッダーが潜らないようにする */
.admin-bar .top { top: calc(32px + env(safe-area-inset-top, 0px)); }
@media screen and (max-width: 782px) { .admin-bar .top { top: calc(46px + env(safe-area-inset-top, 0px)); } }

/* ロゴの最後の点（四角ではなく赤い丸） */
.dot { display: inline-block; width: .24em; height: .24em; border-radius: 50%; background: var(--red); margin-left: .06em; }

/* 講座カードの絞り込み：JS が hidden を付け外しする */
.course[hidden] { display: none !important; }

/* 固定ページ（プライバシーポリシーなど）の本文 */
.ax-page { padding-block: 64px 24px; }
.ax-page h1 { font-size: clamp(24px, 3.2vw, 36px); line-height: 1.5; margin: 18px 0 40px; font-weight: 700; letter-spacing: .02em; }
.ax-page_body { border-top: 1px solid var(--line); padding-top: 40px; font-weight: 400; line-height: 2; color: var(--text); font-size: 14px; max-width: 46em; }
.ax-page_body h2 { font-size: 20px; margin: 2.4em 0 .8em; line-height: 1.6; color: var(--ink); font-weight: 700; }
.ax-page_body h3 { font-size: 16px; margin: 1.8em 0 .5em; color: var(--ink); font-weight: 700; }
.ax-page_body a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.ax-page_body > :first-child { margin-top: 0; }

/* フッター */
.ax-footer { border-top: 1px solid var(--line); padding-block: 36px 40px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: var(--text); display: flex; gap: 14px 28px; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.ax-footer_logo { font-size: 16px; color: var(--ink); letter-spacing: .04em; }
.ax-footer_links { display: flex; flex-wrap: wrap; gap: 8px; }
.ax-footer_links span { color: var(--line); }
.ax-footer_links a { transition: color .25s; }
.ax-footer_links a:hover { color: var(--ink); }
.ax-footer small { font-size: 10px; width: 100%; color: var(--mute); }

/* 講座一覧（/course/） */
.ax-list { padding-block: 64px 24px; }
.ax-list_ttl { font-size: clamp(22px, 2.8vw, 34px); line-height: 1.5; margin: 0; font-weight: 700; letter-spacing: .02em; }
.tabs_a { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; border: 0; border-bottom: 1px solid transparent; margin-bottom: -1px; padding: 10px 0 14px; color: var(--text); transition: color .25s, border-color .25s; }
.tabs_a:hover { color: var(--ink); }
.tabs_a span { opacity: .6; margin-left: 8px; }
.tabs_a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }

/* 講座詳細の「講座一覧に戻る」 */
.ax-back { margin: 56px 0 0; }
