/* ==== 全体設定 ==== */
body {
  margin: 0;
  padding-top: 120px;
  /* 固定ヘッダー分の余白 */
  font-family: 'Montserrat', 'Segoe UI', Tahoma, sans-serif;
  color: #333;
  background: #fff;
  overflow-x: hidden;
}

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

/* ==== ヘッダー全体 ==== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(90deg, #025738, #2ECC71, #025738);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: background 0.4s ease, padding 0.3s ease;
}



/* ==== 上段：ロゴ + SNS ==== */
.header-top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 10px 24px;
}

.logo {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

.sns-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.sns-links a svg {
  width: 30px;
  height: 30px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sns-links a svg:hover {
  transform: scale(1.2) rotate(8deg);
  opacity: 0.9;
}

/* ==== 下段：ナビゲーション ==== */
.header-bottom {
  display: flex;
  justify-content: space-between;
  background: linear-gradient(90deg, #025738, #2ECC71, #025738);
  padding: 10px 40px;
}

.header-bottom ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-bottom ul li {
  position: relative;
  flex: 1;
  text-align: center;
}

.header-bottom ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 18px;
  background: rgba(255, 255, 255, 0.5);
  transition: background 0.4s ease;
}

.header-bottom ul li:hover::after {
  background: linear-gradient(180deg, #2ECC71, #a8e063);
}

.header-bottom ul li a {
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
  transition: opacity 0.3s ease;
}

.header-bottom ul li a:hover {
  opacity: 0.8;
}

.header-bottom ul li a::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  bottom: -4px;
  left: 0;
  background: #fff;
  transition: width 0.3s ease, background 0.3s ease;
}

.header-bottom ul li a:hover::after {
  width: 100%;
  background: linear-gradient(90deg, #00ff8c, #ffffff);
}

/* ===========================
   スタッフ紹介ページ（staff.css）
   =========================== */




/* ページタイトル */
.page-title {
  text-align: center;
  font-size: 2.4rem;
  margin: 40px 0 20px;
  font-weight: 700;
  color: #222;
}

.member-card {
  width: 90%;
  max-width: 1000px;
  margin: 40px auto;
  display: flex;
  gap: 25px;
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  /* カードクリック可能 */
  transition: transform .3s, box-shadow .3s;
}

.member-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.12);
}

.member-photo {
  width: 160px;
  height: 200px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  background-color: #f0f0f0;
}

.member-content {
  flex: 1;
}

.member-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.member-message {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
  color: #444;
}

.member-career {
  display: none;
  margin-top: 15px;
}

.member-card.active .member-career {
  display: block;
}

.member-career h4 {
  font-size: 1.1rem;
  margin: 15px 0 8px;
  font-weight: 700;
  color: #1a1a1a;
  border-left: 4px solid #0066cc;
  padding-left: 10px;
}

.member-career ul {
  margin: 0;
  padding-left: 1.2rem;
}

.member-career li {
  margin-bottom: 6px;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* スマホ対応 */
@media (max-width: 780px) {
  .member-card {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .member-photo {
    margin: 0 auto 20px;
    width: 200px;
    height: 200px;
  }

  .member-message {
    text-align: left;
  }

  .member-career ul {
    text-align: left;
  }
}

/* セクション全体を中央寄せ */
.first-grade {
  text-align: center;
  margin: 40px auto;
  padding: 0 20px;
}

.first-grade-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* 画像を大きめに表示 */
.grade-image-wrap img {
  max-width: 1000px;
  /* ← 800px → 1000px に拡大 */
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 2px solid #ddd;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}