

@charset "UTF-8";

/* ベーススタイル */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
  background-color: #0a0a0a;
  color: #e5e5e5;
  line-height: 1.8;
  overflow-x: hidden;
}

/* アニメーション定義 */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.scroll-fade {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ヒーローエリア */
.hero {
  min-height: 85vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  background: radial-gradient(circle at center, #1f1f1f 0%, #0a0a0a 100%);
  border-bottom: 1px solid #222;
}

.hero-sub {
  font-size: 13px;
  letter-spacing: 0.3em;
  color: #888;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 38px;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 24px;
  line-height: 1.4;
}

.hero-desc {
  max-width: 600px;
  font-size: 15px;
  color: #a0a0a0;
  margin: 0 auto 40px;
}

/* ボタン */
.btn {
  display: inline-block;
  padding: 16px 42px;
  background-color: #ffffff;
  color: #0a0a0a;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  border-radius: 2px;
  border: 1px solid #ffffff;
  transition: all 0.4s ease;
}

.btn:hover {
  background-color: transparent;
  color: #ffffff;
}

/* セクション */
.section {
  padding: 100px 20px;
  max-width: 1050px;
  margin: 0 auto;
}

.heading {
  text-align: center;
  font-size: 24px;
  font-weight: 300;
  letter-spacing: 0.2em;
  color: #ffffff;
  margin-bottom: 60px;
}

/* グリッドカード */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.card {
  background-color: #121212;
  border: 1px solid #222;
  padding: 40px 30px;
  border-radius: 4px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #444;
}

.card-num {
  font-size: 12px;
  color: #666;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

.card-title {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 16px;
  font-weight: 400;
}

.card-text {
  font-size: 14px;
  color: #999;
}

/* コンタクト */
.contact {
  text-align: center;
  background-color: #111;
  border-top: 1px solid #222;
  padding: 80px 20px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .hero-title { font-size: 26px; }
  .section { padding: 60px 20px; }
}
