html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* ← 横だけ非表示にして、縦スクロールはOKに */
}

body {
  font-family: "Yu Gothic", sans-serif;
  text-align: center;
  cursor: default;
  background: linear-gradient(to bottom, #e6f0ff, #ffffff);
  color: #000066;
  position: relative;
  min-height: 100vh;
}

h1,
h2,
h3,
p,
li {
  color: #000066;
}

h1 {
  font-size: 32px;
  margin-bottom: 10px;
  font-family: "Zen Antique Soft", serif;
  font-weight: 400;
  font-style: normal;
}

h2 {
  font-size: 24px;
  margin-top: 40px;
}

section {
  margin: 40px auto;
  max-width: 800px;
}

ul {
  list-style: none;
  padding: 0;
}

ul li {
  margin: 10px 0;
}

.header-bar {
  background-color: #000066;
  height: 60px;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  position: relative;
  z-index: 999;
}

.header-logo {
  height: 200px;
  width: auto;
}

.section-title {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 24px;
  color: #000066;
  margin-top: 40px;
  text-align: center;
}

.icon-img {
  width: 24px;
  height: 24px;
  vertical-align: middle; 
}

footer > p {
  background-color: #000066;
  color: white;
  text-align: center;
  padding: 20px 0;
  font-size: 12px;
  width: 100%;
  position: relative;
  z-index: 10;
}

.divider {
  border: none;
  border-top: 1px solid rgba(0, 0, 102, 0.2);
  margin: 40px auto;
  width: 60%;
  height: 20px;
  cursor: pointer;
}

.custom-font {
  font-size: 32px;
  font-family: "Zen Antique Soft", serif;
  font-weight: 400;
  font-style: normal;
}

.subtitle {
  font-size: 14px;
  color: #000066;
  font-weight: normal;
  display: block;
  margin-top: 5px;
}

.university-img {
  width: 600px;
  height: 400px;
  margin: 20px auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.voices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.voice-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.voice-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 15px;
}

.voice-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
}

.voice-card p {
  font-size: 14px;
}

.footer-fixed {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #000066;
  color: white;
  padding: 10px 0;
  text-align: center;
  font-size: 12px;
  z-index: 1000;
}

.falling {
  position: absolute;
}

#fall-layer {
  position: fixed; 
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100vh;
  z-index: 999;
  overflow: visible;
}
