:root {
    --bg-dark: #000;
    --text-light: #fff;
    --accent: #097b28;
    --transition: 0.5s ease;
  }
  
  #loadingScreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: opacity 1s ease; /* ← フェード用 */
    opacity: 1; /* 最初は完全に見えている */
  }
  
  #loadingScreen.fade-out {
    opacity: 0; /* フェードアウト */
    pointer-events: none; /* クリック無効化 */
  }
  
  /* --- 全体共通リセット --- */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    background: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
  }
  
  /* --- ヘッダー --- */
  header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
  }
  
  .logo {
    font-family: 'Parisienne', cursive;
    font-size: 2rem;
    color: var(--text-light);
    text-decoration: none; /* アンダーラインを非表示 */
  }
  
  nav a {
    color: var(--text-light);
    text-decoration: none;
    margin-left: 2rem;
    font-weight: 600;
    transition: color var(--transition);
  }
  
  nav a:hover {
    color: var(--accent);
  }
  
  /* --- ハンバーガーメニュー --- */
  .hamburger {
    display: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    z-index: 1000;
    position: absolute;
    top: 20px;
    right: 20px;
  }
  
  /* --- モバイルメニュー --- */
  .mobile-menu {
    opacity: 0;
    transform: translateY(-20px);
    pointer-events: none;
    visibility: hidden;
  
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 999;
  
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 40px 20px;
  
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  
  .mobile-menu a {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
  }
  
  .mobile-menu a:hover {
    color: var(--accent);
  }
  
  .mobile-menu.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility: visible;
  }
  
  /* --- レスポンシブ：モバイル時のナビ切替 --- */
  @media (max-width: 768px) {
    .desktop-nav {
      display: none;
    }
  
    .hamburger {
      display: block;
    }
  }
  
  /* --- ヒーローセクション --- */
  .hero {
    position: relative;
    width: 90%;
    height: 80vh;
    margin: 5vh auto;
    margin-top: 80px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-radius: 36px;
    text-align: center;
    background: none; /* グラデーション消す */
    animation: none;  /* グラデーションアニメーション止める */
  }
  
  .hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: blur(2px);
    transform: scale(1.1); /* ぼかしによる端の透明化を防ぐため少し拡大 */
  }
  
  .hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4); /* ほんのり暗くする */
    z-index: 1;
  }
  
  .hero-content {
    position: relative;
    z-index: 2;
  }
  
  
  .hero-content h1 {
    font-family: 'Parisienne', cursive;
    font-size: clamp(3rem, 7vw, 5rem);
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeIn 1s forwards;
  }
  
  .hero-content p {
    font-size: 1.2rem;
    opacity: 0;
    animation: fadeIn 1s 0.5s forwards;
  }
  
  @keyframes fadeIn {
    to {
      opacity: 1;
    }
  }
  
  /* --- 共通セクションレイアウト --- */
  section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    position: relative;
  }
  
  h2::after {
    content: '';
    width: 60px;
    height: 3px;
    background: var(--accent);
    position: absolute;
    bottom: -0.5rem;
    left: 0;
  }
  
  /* --- Works セクション --- */
  .works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
    padding-top: 50px;
  }
  
  .work-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
    text-decoration: none;
    color: var(--text-light);
    display: block;
  }
  
  .work-card img {
    width: 100%;
    height: auto;
    transition: transform var(--transition);
    display: block;
    border-radius: 50px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
  
  .work-card:hover img {
    transform: scale(1.1);
  }
  
  .work-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .work-card:hover .work-overlay {
    opacity: 1;
  }
  
  .work-overlay span {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 600;
  }
  
  /* --- Profile セクション --- */
  .profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 50px;
  }
  
  .profile img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    margin-bottom: 1.5rem;
    object-fit: cover;
    border: 4px solid var(--accent);
  }
  
  /* --- Profile セクション --- */
.profile p {
  font-size: 1.1rem;
  line-height: 2;
  max-width: 800px;
  color: #ddd;
  font-family: 'Noto Serif JP', serif;
}

  
  .profile p .jp {
    display: block;
    font-weight: 500;
    margin-bottom: 1rem;
    color: var(--text-light);
  }
  
  .profile p .en {
    display: block;
    font-size: 0.95rem;
    font-style: italic;
    color: #aaa;
  }
  
  @media (max-width: 768px) {
    .profile p {
      font-size: 1rem;
      line-height: 1.8;
      padding: 0 1rem;
    }
  
    .profile p .en {
      font-size: 0.9rem;
    }
  }
  
  
  /* --- Contact セクション --- */
  .contact {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding-top: 50px;
  }
  
  .contact a {
    color: var(--text-light);
    font-size: 1.5rem;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: 600;
    transition: color var(--transition);
  }
  
  .contact a[href^="mailto"]:hover {
    color: #04ad01; /* 薄緑色 */
  }
  
  .contact a[href*="twitter"]:hover {
    color: #1DA1F2; /* X（旧Twitter）の水色 */
  }
  
  .contact a[href*="instagram"]:hover {
    color: #E1306C; /* Instagramのピンク */
  }
  
  
  
  /* --- フッター --- */
  footer {
    text-align: center;
    padding: 2rem 0;
    font-size: 0.9rem;
    color: #777;
  }
  