/* Aiharasoft TOP ページ — 青系モダンデザイン */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  color: #e8f0fe;
  background: linear-gradient(160deg, #0a1628 0%, #0d2847 40%, #1a4a7a 100%);
  line-height: 1.6;
}

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

/* ヘッダー */
.site-header {
  text-align: center;
  padding: 3.5rem 1.5rem 2rem;
}

.site-logo {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  background: linear-gradient(135deg, #ffffff 0%, #7eb8ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0 0 0.75rem;
}

.site-tagline {
  margin: 0;
  font-size: 1rem;
  color: #94b8e0;
  font-weight: 400;
}

/* メインコンテンツ */
.main-content {
  width: 100%;
  max-width: min(1040px, 94vw);
  margin: 0 auto;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem) 4rem;
  overflow-x: hidden;
}

.section-title {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #5a9fd4;
  margin: 0 0 2rem;
}

/* プロジェクトカード — 縦並び・ワイド */
.project-grid {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 2.5rem;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.project-card {
  width: 100%;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(126, 184, 255, 0.2);
  backdrop-filter: blur(8px);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.project-card:hover {
  transform: translateY(-2px);
  border-color: rgba(126, 184, 255, 0.45);
  box-shadow: 0 12px 40px rgba(0, 20, 50, 0.35);
}

.project-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  /* カード全体の高さを揃える */
}

.project-media {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: min(52vh, 540px);
  overflow: hidden;
  background: #000;
}

.project-card video,
.project-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* 枠いっぱいに綺麗に収める（全体を表示したい場合は contain に指定） */
}

.project-label {
  padding: 1.5rem 1.75rem;
  background: rgba(10, 30, 60, 0.7);
}

.project-label h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 600;
  color: #ffffff;
}

.project-label p {
  margin: 0;
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  line-height: 1.55;
  color: #9ec5f0;
}

/* フッター */
.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.8rem;
  color: #5a8ab0;
  border-top: 1px solid rgba(126, 184, 255, 0.15);
}