:root {
    --bg-image: url("/assets/dark-sea-dawn.png");
    --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
                "Hiragino Sans", "Noto Sans JP", sans-serif;

    --color-text-main: rgba(245, 248, 252, 0.96);  /* ロゴ */
    --color-text-sub:  rgba(235, 240, 248, 0.84);  /* サブコピー */
    --color-link:      rgba(230, 238, 248, 0.80);  /* リンク（サブコピーより少し弱め） */
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: #f7f9fc;
    background-color: #020817;
    min-height: 100vh;
    overflow-x: hidden;
}

.page {
    min-height: 100vh;
    position: relative;
    color: #f7f9fc;
}

/* 背景：Gemini / 中央基準 / 雲半分想定 */
.page::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center center; /* 中央基準 */
    background-repeat: no-repeat;
    z-index: -1;
    transform: translateZ(0);
}

/* 上部ナビ（リンク） */
.site-header {
    position: fixed;
    top: 2rem; /* 僅かに下げる余地：1.5〜2rem 程度で調整 */
    left: 0;
    right: 0;
    padding: 0 1.5rem;
    display: flex;
    justify-content: flex-end;
    z-index: 10;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.nav-links a {
    color: var(--color-link);
    text-decoration: none;
    letter-spacing: 0.03em; /* 僅かに広め */
    transition: opacity 0.2s ease, text-decoration-color 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .nav-links a:hover {
    opacity: 0.95; /* PC で触れたときの“気配” */
    text-decoration: underline;
    text-decoration-color: rgba(230, 238, 248, 0.9);
    }
}

/* ヒーロー領域 */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14vh 1.5rem 10vh; /* ロゴを藍色の中に少し上げる */
}

.hero-inner {
    max-width: 720px;
    margin: 0 auto;
}

.logo {
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    color: var(--color-text-main);
    margin-bottom: 1.6rem;
}

.subtitle {
    font-size: 1.05rem;
    font-weight: 400;
    color: var(--color-text-sub);
    line-height: 1.45; /* 行間を僅かに広げる */
    margin-bottom: 3.5rem; /* 余白は現状維持想定 */
}

.hero-note {
    font-size: 0.85rem;
    color: rgba(230, 238, 248, 0.78);
    line-height: 1.6;
    max-width: 640px;
    margin: 0 auto;
}

/* スクロール後のコンテンツ用のダミー（実装時に差し替え） */
.content {
    padding: 4rem 1.5rem 6rem;
    max-width: 800px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
    background: linear-gradient(
    to bottom,
    rgba(2, 8, 23, 0.65),
    rgba(2, 8, 23, 0.85)
    );
    border-radius: 16px;
    margin-bottom: 6rem;
}

.content h2 {
    font-size: 1rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(230, 238, 248, 0.86);
    margin-bottom: 1.5rem;
}

.content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(235, 240, 248, 0.9);
    margin-bottom: 1.2rem;
}

.works-section {
  margin-top: 2.4rem;
}

.works-heading {
  font-size: 1rem;
  letter-spacing: 0.06em;
  color: rgba(230, 238, 248, 0.80);
  margin-bottom: 1.2rem;
}

.work-card {
  background: rgba(2, 8, 23, 0.55);
  backdrop-filter: blur(8px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.4rem 1.6rem;
  margin-bottom: 1.6rem;
  color: rgba(240, 245, 250, 0.9);
}

.work-title {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 0.6rem;
}

.work-desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(235, 240, 248, 0.85);
  margin-bottom: 1rem;
}

.work-link {
  font-size: 0.85rem;
  color: rgba(230, 238, 248, 0.88);
  text-decoration: none;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(230, 238, 248, 0.4);
  padding-bottom: 2px;
}

.work-link:hover {
  opacity: 0.95;
  border-bottom-color: rgba(230, 238, 248, 0.8);
}

@media (max-width: 768px) {
    .hero {
    padding-top: 16vh; /* スマホでの見え方に応じて微調整 */
    }
    .logo {
    font-size: 2rem;
    }
    .subtitle {
    font-size: 0.98rem;
    }
    .nav-links {
    gap: 1.1rem;
    font-size: 0.85rem;
    }
}
