
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  background-color: #fff;
  color: #252020;
  overflow-x: clip;
}

body a{
  color: #252020;
  text-decoration: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

header h1 {
  font-size: 24px;
  letter-spacing: 2px;
}

header nav a {
  color: #000;
  text-decoration: none;
  margin-left: 20px;
  font-weight: bold;
}

section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 80px 20px;
  transition: opacity 1s ease, transform 1s ease;
  flex-direction: column;
}

.hero {
  background-image: url("../img/hero_main.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  background-color: rgba(255, 255, 255, 0.8); /* 半透明白 */
  padding: 40px 60px;
  border-radius: 16px;
  max-width: 80%;
  text-align: center;
  animation: slideIn 1s ease-out forwards;
  transform: translateX(-100%);
  opacity: 0;
}

@keyframes slideIn {
  to {
    transform: translateX(0);
    opacity: 1;
  }
}


.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.2s;
}

.hero p {
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.5s;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

.section-light {
  background-color: #A3C7DB;
  color: #000;
}

.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s ease;
}

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

.member-section {
  background-color: #F0B2C5;
  align-items: center;
  width: 100%;
}

.member-section > h2 {
  max-width: 920px;
  width: 100%;
  text-align: left;
  margin-bottom: 30px;
  font-size: 40px;
}

.generation {
  max-width: 920px;
  width: 100%;
  margin-bottom: 40px;
  text-align: left;
  padding-left: 0;
}

.generation h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.members {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 20px;
}

.member-card {
  width: 150px;
  padding: 10px;
  background: #fff;
  border: 2px solid #F0B2C5;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
  position: relative;
}

.member-card:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.member-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: transform 0.5s ease;
}

.member-card:hover img {
  transform: scale(1.05);
}

.member-card span {
  display: block;
  font-weight: bold;
  position: relative;
  z-index: 1;
}


.member-card a {
  color: inherit;
  text-decoration: none;
}

.member-card a:hover {
  color: #252020;
}



.contact-section {
  background-color: #A3C7DB;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.contact-info a {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #000;
  color: #000;
  background-color: transparent;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.contact-info a:hover {
  background-color: #000;
  color: #fff;
}

.info-section {
  background-color: #F9EADA;
}

.info-note {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.info-note a {
  display: inline-block;
  border: 2px solid #000;
  color: #000;
  background-color: transparent;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.info-note a:hover {
  background-color: #000;
  color: #fff;
}


.policy-section {
  background-color: #F9EADA;
  padding: 80px 20px 40px; /* 上にヘッダー分の余白、左右・下にも余白 */
}

.policy-note {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  text-align: left;
  padding: 0 16px; /* 左右に余白を追加 */
  box-sizing: border-box;
}


.policy-note a {
  display: inline-block;
  border: 2px solid #000;
  color: #000;
  background-color: transparent;
  font-weight: bold;
  border-radius: 6px;
  padding: 10px 16px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  margin-top: 20px;
  width: fit-content;
}

.policy-note a:hover {
  background-color: #000;
  color: #fff;
}

.about-t {
  max-width: 1000px;
  width: 100%;
  text-align: left;
}

.about-t h2{
  margin-bottom: 20px;
  font-size: 40px;
}

.news-section {
  background-color: #DDCED8; /* ← 好きな色に変えてOK */
  color: #000;
}

.news-title {
  max-width: 920px;
  width: 100%;
  text-align: left;
  margin-bottom: 30px;
  font-size: 40px;
}

.latest-posts-box {
  max-width: 920px;
  width: 100%;
  height: 30vh;
  padding: 16px;
  border-radius: 8px;
  box-sizing: border-box;
  overflow-y: auto;
  color: #252020;
}

#latest-posts ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
  text-align: left;
}

#latest-posts li {
  margin-bottom: 8px;
}

#latest-posts a {
  color: #252020;
  text-decoration: underline;
}

.news-button {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #252020;
  border-radius: 12px;
  color: #252020;
  background-color: transparent;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.news-button:hover {
  background-color: #D3DDED;
  color: #252020; /* ← ホバー時は黒文字に */
}


.site-footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  font-size: 12px;
  padding: 10px 0;
}
