/* ------------------------------
  リセット・ベース
------------------------------ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Serif JP', serif;
  background-color: #0e0b08;
  color: #f5f5f5;
  line-height: 1.6;
}

/* ------------------------------
  コンテナ
------------------------------ */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ------------------------------
  ヘッダー
------------------------------ */
.site-header {
  padding: 1rem 0;
  background: rgba(14,11,8,0.85);
  backdrop-filter: blur(4px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ロゴ＋学校名＋タグライン */
.logo-text {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.logo {
  width: 60px;
  height: auto;
  filter: grayscale(100%);
}

.school-info {
  display: flex;
  flex-direction: column;
}

.school-name {
  font-size: 1.8rem;
  font-weight: 700;
}

.tagline {
  font-size: 0.9rem;
  color: #cfcfcf;
}

/* ナビゲーション */
.main-nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.main-nav a {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  color: #f5f5f5;
  transition: 0.3s;
}

.main-nav a:hover {
  background: rgba(212,197,169,0.15);
}

/* ------------------------------
  Heroセクション
------------------------------ */
.hero {
  text-align: center;
}

.hero-image {
  display: block;
  width: 70%;
  height: auto;
  object-fit: cover;
  max-height: 80vh; /* 高さ制限 */
  margin: 0 auto;
}

/* Heroテキストを画像下に配置 */
.hero-text {
  position: static; /* 画像下に表示 */
  margin: 2rem auto 4rem auto;
  width: 90%;
  max-width: 780px;
}

.hero-text .card {
  background: rgba(20,16,12,0.5);
  padding: 2rem;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.05);
}

.hero-text .kicker {
  font-size: 0.9rem;
  color: #d4c5a9;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.hero-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.hero-text p {
  margin-bottom: 1.5rem;
}

.hero-buttons .btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  margin-right: 0.5rem;
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.3s;
}

.btn-primary {
  background: #d4c5a9;
  color: #0e0b08;
}

.btn-primary:hover {
  background: #c0b294;
}

.btn-outline {
  border: 1px solid #d4c5a9;
  color: #f5f5f5;
}

.btn-outline:hover {
  background: rgba(212,197,169,0.2);
}

/* ------------------------------
  レスポンシブ対応
------------------------------ */
@media screen and (max-width: 768px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .main-nav ul {
    flex-direction: column;
    width: 100%;
  }

  .hero-text .card {
    padding: 1.5rem;
  }
}
