@charset "UTF-8";

/* ==========================================================================
   AcsiomA Global Style [ common.css ]
   ========================================================================== */

/* --- 1. グローバル変数（土台） --- */
:root {
    --bg-base: #111A24;         /* 深い知的なネイビー */
    --text-main: #E2E8F0;       /* メインテキストの乳白色 */
    --text-muted: #A0AAB2;      /* 控えめなグレイッシュトーン */
    --border-light: rgba(255, 255, 255, 0.1); /* 透過された品格のある境界線 */
}

html {
    scroll-behavior: smooth;
}

/* --- 2. 全体リセット ＆ ボックスモデルの統一 --- */
*, *::before, *::after {
    box-sizing: border-box;
}

body, html {
    margin: 0; padding: 0; width: 100%; min-height: 100%;
    background-color: var(--bg-base);
    color: var(--text-main);
    overflow-x: hidden;
}

/* --- 3. 共通フォント環境の定義 --- */
@font-face {
    font-family: 'Kyokasho Set';
    src: local('UDデジタル教科書体 ProN'),
         local('UD デジタル 教科書体 N'),
         local('UD Digi Kyokasho N'),
         local('UD デジタル 教科書体 N-R'),
         local('UD Digi Kyokasho N-R'),
         local('UDDigiKyokashoProN-Regular'),
         local('游教科書体 横用'),
         local('YuKyokasho Yoko'),
         local('YuKyo_Yoko-Medium'),
         local('游教科書体'),
         local('YuKyokasho');
}

/* 優先順位：1.UDデジタル教科書体 -> 2.Klee One -> 3.明朝体 */
body, html, input, textarea, select {
    font-family: 'Kyokasho Set', 'Klee One', serif;
    font-weight: 500;
}

h1, h2, h3, h4 {
    font-family: 'Poiret One', 'Kyokasho Set', 'Klee One', serif;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- 4. 共通数式ロゴ (e^Live Agile) --- */
.e-live-agile {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    /* font-weight: normal;
    color: #fff; */
    font-weight: 500;
    color: inherit;
}

.e-live-agile sup {
    font-family: 'Poiret One', 'Kyokasho Set', 'Klee One', serif;
    font-style: normal;
    /* font-weight: 400;
    font-size: 0.65em;
    top: -0.45em;
    letter-spacing: 0.5px;
    margin-left: 1px;
    color: #82A08D; */ /* 控えめなライトグリーンを標準色に設定 */
    font-weight: 600;       /* ★400から600（セミボルド）に引き上げ、細微な文字をクッキリ化 */
    font-size: 0.82em;      /* ★0.65emから0.82emへ拡大。縮小されても潰れない限界サイズ */

    position: relative;
    top: -0.35em;           /* ★文字が大きくなった分、浮き上がりすぎないよう位置を微調整 */
    letter-spacing: 0.8px;  /* ★文字同士の間隔をわずかに広げ、低視力時でも1文字ずつ識別可能に */
    margin-left: 2px;
}

/* ==========================================================================
   e-Live Agile Brand Logo Style [ ベースライン統一＋下付きe（Intel風）版 ]
   ========================================================================== */

/* 全体のコンテナ（主役である「Live Agile」が通常の文字サイズでベースラインに乗る） */
.e-live-agile-intel {
    font-family: 'Poiret One', 'Kyokasho Set', 'Klee One', serif;
    font-weight: 600;
    font-size: 1.05rem;     /* 周囲のテキストよりほんのわずかに引き立たせる */
    color: inherit;
    display: inline-block;
    vertical-align: baseline;
}

/* 左下に可愛く沈み込む「e」の定義（昔のIntel insideロゴのような親しみやすさとテック感） */
.e-live-agile-intel sub {
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-weight: bold;
    font-size: 1.1em;        /* 通常の下付き文字より一回り大きくして存在感を確保 */
    vertical-align: baseline; /* ブラウザ既定の下付き位置をリセットして手動でミリ単位制御 */

    position: relative;
    top: 0.12em;             /* ★ベースラインより少し下に「カクッ」と沈め込んで配置 */
    margin-right: 4px;       /* 右側の「Live Agile」の文字と衝突しないように余白をキープ */
    color: var(--color-tech);/* 技術のテーマカラー（琥珀色やエメラルド）を割り当てる */
}
/* --- 5. 共通ヘッダー構造 --- */
header {
    position: fixed; top: 0; width: 100%; z-index: 1000;
    background: rgba(17, 26, 36, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

.nav-container {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1000px; margin: 0 auto; padding: 15px 20px;
}

.nav-logo {
    display: flex; align-items: center;
}

.nav-logo img {
    height: 35px; vertical-align: middle; transition: opacity 0.3s;
}

.nav-logo img:hover {
    opacity: 0.8;
}

.nav-links {
    display: flex; gap: 25px; font-family: 'Poiret One', 'Kyokasho Set', 'Klee One', serif; font-size: 0.95rem;
}

.nav-links a {
    transition: color 0.3s ease;
}

.back-link {
    font-family: 'Poiret One', 'Kyokasho Set', 'Klee One', serif; font-size: 0.85rem;
    color: var(--text-muted); transition: color 0.3s; margin-right: 40px;
}

.back-link:hover {
    color: #fff;
}

/* --- 6. 共通グローバルフッター構造 --- */
footer {
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid var(--border-light);
    margin-top: 80px;
}

.footer-links {
    display: flex; justify-content: center; gap: 30px;
    margin-bottom: 25px; font-size: 0.9rem; color: var(--text-muted);
}

.footer-links a {
    transition: color 0.3s ease;
    text-decoration: none;
}

.footer-links a:hover {
    color: #fff;
}

.footer-links span {
    opacity: 0.3;
}

footer p {
    margin: 0; opacity: 0.4; font-size: 0.8rem; letter-spacing: 1px; color: #fff;
}

/* ==========================================================================
   Responsive (全ページ共通のスマホレイアウト)
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* ナビゲーションをスマホ版で隠す（必要に応じて個別制御） */
    .nav-links { display: none; }
    
    /* フッターリンクを縦並びにして、不要な「｜」を隠す */
    .footer-links { flex-direction: column; gap: 15px; align-items: center; }
    .footer-links span { display: none; }
}
