/*
Theme Name: GroundWorks
Description: GroundWorks オリジナルテーマ
Version: 1.0.0
Text Domain: groundworks
*/

/* ===== 基本設定 ===== */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background-color: #1040c5;
  color: #ffffff;
  font-family: Arial, sans-serif;
}

/* ===== 仮トップページ ===== */

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
}

h1 {
  font-size: clamp(36px, 6vw, 80px);
  margin: 0 0 20px;
}

p {
  font-size: 18px;
}



/* ===== 左側ナビゲーション ===== */

.side-nav {
  position: fixed;
  top: 50%;
  left: 30px;
  transform: translateY(-50%);
  width: 150px;
  padding: 30px 20px;
  background: #ffffff;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  z-index: 100;
}

.side-nav a {
  color: #1040c5;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  transition: opacity 0.2s;
}

.side-nav a:hover {
  opacity: 0.5;
}

/* ===== トップページ ===== */

.home-main {
  margin-left: 200px;
}


/* ===== トップページ・メインビジュアル ===== */

.home-main {
  margin-left: 200px;
  padding: 0 40px;
  min-height: 100vh;
}

.home-hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.home-character {
  position: absolute;
  width: 55%;
  height: 55%;
  top: 8%;
  right: 3%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed rgba(255,255,255,0.35);
  border-radius: 30px;
}

.home-character span {
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  letter-spacing: 0.2em;
}

.home-logo {
  position: absolute;
  width: 60%;
  right: 2%;
  bottom: 18%;
}

.home-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.home-news {
  position: absolute;
  bottom: 7%;
  left: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.home-news-label {
  background: #ffffff;
  color: #1040c5;
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: bold;
}

/* ===== 仮のスマホ対応 ===== */

@media (max-width: 767px) {
  .home-main {
    margin-left: 0;
    padding: 100px 20px 30px;
  }

  .home-hero {
    min-height: 650px;
  }

  .home-character {
    width: 90%;
    height: 45%;
    top: 5%;
    right: 5%;
  }

  .home-logo {
    width: 90%;
    right: 5%;
    bottom: 25%;
  }

  .home-news {
    bottom: 8%;
    left: 0;
    font-size: 12px;
  }
}



/* ===== 宇宙飛行士アニメーション ===== */

.home-character {
  overflow: hidden;
  border: none;
  border-radius: 0;
}

.home-animation {
  display: block;
  width: 1024px;
  height: 768px;
  border: none;
  background: transparent;
  transform: scale(0.65);
  transform-origin: center center;
  flex-shrink: 0;
  pointer-events: none;
}
