/* ==========================================================================
   常総市商工会女性部 HP 共通スタイルシート
   ========================================================================== */

/* --- 1. 変数定義・デザインシステム --- */
:root {
  /* カラーシステム */
  --color-bg-white: #ffffff;
  --color-bg-pink-light: #fff5f6;
  --color-bg-pink-medium: #ffe3e7;
  --color-bg-beige-light: #fdfaf7;
  --color-bg-beige-medium: #f5ede4;
  --color-bg-gray-light: #fafafa;
  --color-bg-gray-medium: #f0f0f0;
  
  --color-primary: #7c4b8b; /* 上品な紫 */
  --color-primary-hover: #60356c;
  --color-primary-light: #f5eff7;
  
  --color-accent-pink: #ff6b8b; /* 華やかピンク */
  
  --color-text-main: #3d3539; /* 柔らかいダークグレー */
  --color-text-sub: #70656a;  /* サブテキスト */
  --color-text-muted: #9c8e94; /* ミュートテキスト */
  --color-border: #ebdce2;
  
  /* フォントファミリー */
  --font-heading: 'Zen Maru Gothic', sans-serif;
  --font-body: 'Noto Sans JP', sans-serif;
  
  /* シャドウ */
  --shadow-soft: 0 8px 30px rgba(124, 75, 139, 0.04);
  --shadow-medium: 0 12px 40px rgba(124, 75, 139, 0.08);
  --shadow-hover: 0 20px 48px rgba(124, 75, 139, 0.15);
  
  /* トランジション */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  /* コンテナ幅 */
  --container-max-width: 1200px;

  /* テストサイトから採用したセクション用のカラー・共通変数 */
  --color-bg-pink: #fff2f4;
  --color-bg-beige: #faf6f0;
  --color-accent-purple: #6b4e71;
  --color-accent-purple-dark: #4e3552;
  --color-accent-purple-light: #f2edf5;
  --color-accent-pink-dark: #d66f81;
  --font-family-title: 'Zen Maru Gothic', sans-serif;
  --font-family-body: 'Noto Sans JP', sans-serif;
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 32px;
  --box-shadow-sm: 0 4px 6px rgba(107, 78, 113, 0.05);
  --box-shadow-md: 0 10px 20px rgba(107, 78, 113, 0.08);
  --transition-speed: 0.3s;
}

/* --- 2. リセット & ベーススタイル --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-white);
  color: var(--color-text-main);
  line-height: 1.8;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

/* --- 3. タイポグラフィ・見出し --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.4;
}

.section-title-container {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.2rem;
  color: var(--color-primary);
  display: inline-block;
  position: relative;
  padding-bottom: 1.2rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent-pink));
  border-radius: 2px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--color-accent-pink);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

/* --- 4. レイアウト構造 --- */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

section {
  padding: 6rem 0;
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
  .section-title {
    font-size: 1.8rem;
  }
}

/* --- 5. ヘッダー (Header) --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(124, 75, 139, 0.05);
  transition: var(--transition-smooth);
}

.header.scrolled {
  height: 70px;
  background-color: rgba(255, 255, 255, 0.95);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo-link {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--color-primary);
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.logo-sub {
  font-size: 0.75rem;
  color: var(--color-text-sub);
  font-weight: 500;
}

/* ナビゲーション */
.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-main);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-primary);
}

.nav-link:hover::after {
  width: 100%;
}

/* お問い合わせ・入部ボタン付きヘッダー */
.header-btn {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 15px rgba(124, 75, 139, 0.2);
  transition: var(--transition-fast);
}

.header-btn:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 75, 139, 0.3);
}

/* モバイルメニューボタン */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  z-index: 1100;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

@media (max-width: 1024px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: -10px 0 30px rgba(124, 75, 139, 0.1);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transition: var(--transition-smooth);
    z-index: 1050;
  }

  .nav-menu.active {
    right: 0;
  }

  .menu-toggle {
    display: flex;
  }

  /* ハンバーガーメニューのアニメーション */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}

/* --- 6. ヒーローセクション (Hero Section) --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1);
  background-size: cover;
  background-position: center;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 75% 50%, rgba(255, 240, 242, 0) 0%, rgba(253, 250, 247, 0.3) 85%),
              linear-gradient(to right, rgba(255,255,255,0.75) 30%, rgba(255,255,255,0) 80%);
}

.slide.active {
  opacity: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 80px; /* ヘッダー分 */
}

.hero-text-area {
  max-width: 600px;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  display: inline-block;
  background-color: var(--color-bg-pink-medium);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--color-text-main);
  line-height: 1.3;
  margin-bottom: 2rem;
  font-family: var(--font-heading);
}

.hero-title span {
  display: block;
}

.hero-title .highlight {
  color: var(--color-primary);
  background: linear-gradient(transparent 70%, var(--color-bg-pink-medium) 70%);
  display: inline;
}

.hero-buttons {
  display: flex;
  gap: 1.2rem;
}

@media (max-width: 768px) {
  .slide::before {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.95) 100%);
  }
  .hero-title {
    font-size: 2.3rem;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 1rem;
  }
  .hero-text-area {
    text-align: center;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- 7. ボタンコンポーネント (Buttons) --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 1.1rem 2.5rem;
  border-radius: 50px;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  box-shadow: 0 8px 25px rgba(124, 75, 139, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(124, 75, 139, 0.35);
}

.btn-secondary {
  background-color: var(--color-bg-pink-light);
  color: var(--color-primary);
  border: 2px solid var(--color-bg-pink-medium);
}

.btn-secondary:hover {
  background-color: var(--color-bg-pink-medium);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 107, 139, 0.15);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary-light);
  transform: translateY(-3px);
}

/* --- 8. お知らせ (News Section) --- */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-card {
  background-color: var(--color-bg-white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  border: 1px solid var(--color-bg-pink-light);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-bg-pink-medium);
}

.news-card-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-meta {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 1rem;
}

.news-date {
  font-size: 0.85rem;
  color: var(--color-text-sub);
}

.news-category {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  padding: 0.2rem 0.8rem;
  border-radius: 50px;
}

.news-card-title {
  font-size: 1.1rem;
  line-height: 1.5;
  color: var(--color-text-main);
  font-weight: 700;
  margin-bottom: 1rem;
}

.news-card-link {
  margin-top: auto;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.news-card-link::after {
  content: '→';
  transition: var(--transition-fast);
}

.news-card:hover .news-card-link::after {
  transform: translateX(5px);
}

@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* --- 9. イベント紹介 (Event Section) --- */
.event {
  background-color: var(--color-bg-beige-light);
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.event-card {
  background-color: var(--color-bg-white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.event-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.event-img-wrapper {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.event-img-wrapper img {
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
}

.event-card:hover .event-img-wrapper img {
  transform: scale(1.08);
}

.event-date-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.event-content {
  padding: 2.5rem;
}

.event-title {
  font-size: 1.3rem;
  color: var(--color-text-main);
  margin-bottom: 1rem;
}

.event-description {
  color: var(--color-text-sub);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 992px) {
  .event-grid {
    grid-template-columns: 1fr;
  }
}

/* --- 10. 女性部長挨拶 (Greeting Section) --- */
.greeting-container {
  display: grid;
  grid-template-columns: 4.5fr 7.5fr;
  gap: 4rem;
  align-items: center;
}

.greeting-img-wrapper {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 6px solid var(--color-bg-pink-light);
  transform: rotate(-2deg);
}

.greeting-text-area {
  padding-left: 1rem;
}

.greeting-title {
  font-size: 1.8rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  display: inline-block;
  border-bottom: 2px solid var(--color-bg-pink-medium);
  padding-bottom: 0.5rem;
}

.greeting-message {
  color: var(--color-text-main);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.greeting-author {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: right;
  margin-top: 2rem;
}

.greeting-author span {
  font-size: 0.9rem;
  color: var(--color-text-sub);
  display: block;
}

/* アコーディオン（続きを読む） */
.greeting-more-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.greeting-more-checkbox {
  display: none;
}

.greeting-more-label {
  display: inline-flex;
  align-items: center;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-weight: 700;
  cursor: pointer;
  margin-top: 1rem;
}

.greeting-more-label::after {
  content: '▼';
  font-size: 0.75rem;
  margin-left: 0.5rem;
  transition: var(--transition-fast);
}

.greeting-more-checkbox:checked ~ .greeting-more-content {
  max-height: 800px;
  transition: max-height 0.8s ease-in;
}

.greeting-more-checkbox:checked ~ .greeting-more-label::after {
  transform: rotate(180deg);
}

.greeting-more-checkbox:checked ~ .greeting-more-label span {
  display: none; /* 「続きを読む」を非表示 */
}

.greeting-more-checkbox:checked ~ .greeting-more-label::before {
  content: '閉じる';
}

@media (max-width: 992px) {
  .greeting-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .greeting-img-wrapper {
    max-width: 400px;
    margin: 0 auto;
    transform: none;
  }
}

/* --- 11. 女性部とは・活動内容 (About / Features) --- */
.about {
  background-color: var(--color-bg-pink-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background-color: var(--color-bg-white);
  border-radius: 24px;
  padding: 2.5rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
  border: 1px solid var(--color-bg-pink-light);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-bg-pink-medium);
}

.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: var(--color-primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  color: var(--color-primary);
}

.feature-card:hover .feature-icon-wrapper {
  background-color: var(--color-primary);
  color: var(--color-bg-white);
  transform: rotate(10deg);
  transition: var(--transition-smooth);
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-text-main);
  margin-bottom: 0.8rem;
}

.feature-description {
  font-size: 0.85rem;
  color: var(--color-text-sub);
  line-height: 1.6;
}

@media (max-width: 1200px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --- 12. 活動紹介（ギャラリー横スクロール） --- */
.gallery-scroll-container {
  overflow-x: auto;
  display: flex;
  gap: 1.5rem;
  padding: 2rem 0;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) var(--color-bg-pink-light);
  scroll-snap-type: x mandatory;
}

.gallery-scroll-container::-webkit-scrollbar {
  height: 6px;
}

.gallery-scroll-container::-webkit-scrollbar-track {
  background: var(--color-bg-pink-light);
  border-radius: 10px;
}

.gallery-scroll-container::-webkit-scrollbar-thumb {
  background-color: var(--color-primary);
  border-radius: 10px;
}

.gallery-item {
  flex: 0 0 450px;
  height: 300px;
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  box-shadow: var(--shadow-medium);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  transition: var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(124, 75, 139, 0.85));
  color: var(--color-bg-white);
}

.gallery-item-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.gallery-item-desc {
  font-size: 0.85rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .gallery-item {
    flex: 0 0 280px;
    height: 200px;
  }
  .gallery-item-title {
    font-size: 1rem;
  }
}

/* --- 13. 部員紹介 (Members) --- */
.members {
  background-color: var(--color-bg-beige-light);
}



/* --- 14. 入部のメリット (Benefits) --- */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  align-items: center;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  gap: 1.5rem;
  background-color: var(--color-bg-pink-light);
  padding: 1.8rem;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition-smooth);
}

.benefit-item:hover {
  transform: scale(1.02);
  background-color: var(--color-bg-pink-medium);
}

.benefit-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.benefit-content-wrapper {
  display: flex;
  flex-direction: column;
}

.benefit-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.benefit-desc {
  font-size: 0.9rem;
  color: var(--color-text-sub);
  line-height: 1.6;
}

.benefits-visual {
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
  border: 8px solid var(--color-bg-beige-medium);
  height: 500px;
}

.benefits-visual img {
  width: 100%;
  height: 100%;
}

@media (max-width: 992px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .benefits-visual {
    height: 300px;
    order: -1;
  }
}

/* --- 15. CTA セクション (CTA Section) --- */
.cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-hover));
  color: var(--color-bg-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -30%;
  width: 80%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 107, 139, 0.15) 0%, transparent 60%);
  z-index: 1;
  pointer-events: none;
}

.cta-container {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
}

.cta-text {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.cta-btn-join {
  background-color: var(--color-bg-white);
  color: var(--color-primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.cta-btn-join:hover {
  background-color: var(--color-bg-pink-light);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.cta-btn-contact {
  background-color: transparent;
  color: var(--color-bg-white);
  border: 2px solid var(--color-bg-white);
}

.cta-btn-contact:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 2rem;
  }
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  .cta-buttons .btn {
    width: 100%;
    max-width: 320px;
  }
}

/* --- 16. フッター (Footer) --- */
.footer {
  background-color: var(--color-text-main);
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 0 2rem 0;
  font-size: 0.9rem;
  border-top: 4px solid var(--color-bg-pink-medium);
}

.footer-top {
  display: grid;
  grid-template-columns: 4.5fr 4.5fr 3fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-logo-area {
  display: flex;
  flex-direction: column;
}

.footer-logo-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-bg-white);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.footer-logo-sub {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 1.5rem;
}

.footer-address {
  font-style: normal;
  line-height: 1.6;
}

.footer-links-title {
  font-family: var(--font-heading);
  color: var(--color-bg-white);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-links-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-bg-pink-medium);
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links-list a:hover {
  color: var(--color-bg-pink-medium);
  padding-left: 5px;
}

.footer-sns-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-sns-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg-white);
  font-size: 1.2rem;
  transition: var(--transition-fast);
}

.footer-sns-icon:hover {
  background-color: var(--color-primary);
  transform: translateY(-3px);
}

.footer-map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  height: 180px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.footer-map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
  opacity: 0.6;
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* --- 17. スクロールアニメーション用クラス --- */
.reveal {
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* --- 18. 下層ページ用スタイル (Subpage Specifics) --- */
.subpage-hero {
  background: linear-gradient(135deg, var(--color-bg-pink-light), var(--color-bg-beige-light));
  padding: 8rem 0 4rem 0;
  text-align: center;
  position: relative;
  border-bottom: 1px solid var(--color-border);
}

.subpage-hero-title {
  font-size: 2.5rem;
  color: var(--color-primary);
  font-family: var(--font-heading);
  margin-bottom: 1rem;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-text-sub);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb span {
  color: var(--color-text-muted);
}

/* 下層コンテンツ汎用 */
.subpage-content {
  padding: 6rem 0;
}

.subpage-main-layout {
  max-width: 800px;
  margin: 0 auto;
}

/* 役員・組織テーブル */
.table-styled {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
}

.table-styled th, .table-styled td {
  padding: 1.2rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
}

.table-styled th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--color-primary);
  width: 30%;
  background-color: var(--color-bg-pink-light);
  border-radius: 8px 0 0 8px;
}

.table-styled td {
  color: var(--color-text-main);
}

/* 入部・お問い合わせフォーム */
.form-group {
  margin-bottom: 1.8rem;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text-main);
  margin-bottom: 0.6rem;
}

.form-label span.required {
  background-color: var(--color-accent-pink);
  color: var(--color-bg-white);
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  background-color: var(--color-bg-gray-light);
  color: var(--color-text-main);
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  background-color: var(--color-bg-white);
  box-shadow: 0 0 0 4px var(--color-primary-light);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.form-checkbox-group {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  cursor: pointer;
}

.form-checkbox {
  width: 18px;
  height: 18px;
  accent-color: var(--color-primary);
}

.form-submit-container {
  text-align: center;
  margin-top: 3rem;
}

/* --- 19. テストサイト採用セクションの追加スタイル (Adopted Sections from Test Site) --- */

.section-padding {
  padding: 5rem 0;
}

@media (max-width: 768px) {
  .section-padding {
    padding: 3.5rem 0;
  }
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title {
  font-size: 2.25rem;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
  color: var(--color-accent-purple);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background-color: var(--color-accent-pink);
  border-radius: 2px;
}

.section-subtitle {
  font-family: var(--font-family-body);
  font-size: 0.9rem;
  color: var(--color-accent-pink-dark);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.75rem;
  }
}

/* カード共通スタイル (お知らせ & イベント) */
.news-grid, .event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.card {
  background-color: var(--color-bg-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
  transition: all var(--transition-speed) ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(107, 78, 113, 0.05);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-md);
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background-color: var(--color-bg-pink);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.card-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--color-accent-purple);
  color: var(--color-bg-white);
  padding: 0.3rem 0.8rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 10;
}

.card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-date {
  font-size: 0.85rem;
  color: var(--color-text-sub);
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.15rem;
  color: var(--color-accent-purple);
  margin-bottom: 1rem;
  line-height: 1.45;
}

.card-text {
  font-size: 0.95rem;
  color: var(--color-text-sub);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-more {
  font-family: var(--font-family-title);
  font-weight: 700;
  color: var(--color-accent-pink-dark);
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: auto;
}

.card-more:hover {
  color: var(--color-accent-purple);
}

/* 女性部長挨拶 */
.greeting-section {
  background-color: var(--color-bg-pink);
}

.greeting-box {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: center;
}

.greeting-img-wrap {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-md);
  border: 6px solid var(--color-bg-white);
}

.greeting-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.greeting-content h3 {
  font-size: 1.8rem;
  color: var(--color-accent-purple);
  margin-bottom: 0.5rem;
}

.greeting-title {
  font-size: 0.9rem;
  color: var(--color-accent-pink-dark);
  font-weight: 700;
  margin-bottom: 1.5rem;
  display: block;
}

.greeting-text p {
  color: var(--color-text-sub);
  font-size: 1rem;
  margin-bottom: 1.2rem;
}

@media (max-width: 900px) {
  .greeting-box {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .greeting-img-wrap {
    max-width: 450px;
    margin: 0 auto;
  }
}

/* 女性部とは (活動内容) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.feature-item {
  background-color: var(--color-bg-white);
  padding: 2.5rem 1.5rem;
  border-radius: var(--border-radius-md);
  text-align: center;
  box-shadow: var(--box-shadow-sm);
  transition: all var(--transition-speed) ease;
  border: 1px solid rgba(107, 78, 113, 0.03);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-md);
  background-color: var(--color-bg-pink);
}

.feature-icon-wrap {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--color-bg-pink);
  color: var(--color-accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  font-size: 1.8rem;
  transition: all var(--transition-speed) ease;
}

.feature-item:hover .feature-icon-wrap {
  background-color: var(--color-accent-purple);
  color: var(--color-bg-white);
}

.feature-title {
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
  color: var(--color-accent-purple);
}

.feature-text {
  font-size: 0.9rem;
  color: var(--color-text-sub);
  line-height: 1.6;
  margin-bottom: 0;
}

/* 活動紹介 (横スクロールカルーセル) */
.activity-carousel-section {
  background-color: var(--color-bg-beige);
  position: relative;
  overflow: hidden;
}

.carousel-container {
  position: relative;
}

.activity-carousel-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 1.5rem 0;
  scrollbar-width: none; /* Firefox用 */
}

.activity-carousel-track::-webkit-scrollbar {
  display: none; /* Chrome/Safari用 */
}

.activity-carousel-item {
  flex: 0 0 320px;
  scroll-snap-align: start;
  background-color: var(--color-bg-white);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
  transition: all var(--transition-speed) ease;
}

.activity-carousel-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-md);
}

.activity-carousel-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.activity-carousel-caption {
  padding: 1.2rem;
}

.activity-carousel-caption h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--color-accent-purple);
}

.activity-carousel-caption p {
  font-size: 0.85rem;
  color: var(--color-text-sub);
  margin-bottom: 0;
  line-height: 1.5;
}

.carousel-btn-wrap {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.carousel-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--color-bg-white);
  border: 1px solid rgba(107, 78, 113, 0.1);
  color: var(--color-accent-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--box-shadow-sm);
  transition: all var(--transition-speed) ease;
  font-size: 1.2rem;
}

.carousel-btn:hover {
  background-color: var(--color-accent-purple);
  color: var(--color-bg-white);
}

/* 部員紹介 (TOP) */
.member-cards-wrap {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.member-card {
  display: flex;
  background-color: var(--color-bg-pink);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--box-shadow-sm);
}

.member-card:nth-child(even) {
  flex-direction: row-reverse;
  background-color: var(--color-bg-beige);
}

.member-img-wrap {
  flex: 0 0 40%;
  height: 350px;
  background-color: var(--color-bg-pink);
}

.member-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info {
  flex: 1;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.member-profession {
  font-size: 0.85rem;
  color: var(--color-accent-pink-dark);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 0.15em;
}

.member-name {
  font-size: 1.6rem;
  color: var(--color-accent-purple);
  margin-bottom: 1.5rem;
}

.member-comment {
  font-size: 0.95rem;
  color: var(--color-text-sub);
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--color-accent-pink);
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .member-card, .member-card:nth-child(even) {
    flex-direction: column;
  }
  .member-img-wrap {
    flex: 0 0 auto;
    height: 250px;
  }
  .member-info {
    padding: 2rem 1.5rem;
  }
}

/* 入部のメリット */
.benefits-section {
  background-color: var(--color-bg-pink);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
}

.benefit-card {
  background-color: var(--color-bg-white);
  border-radius: var(--border-radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--box-shadow-sm);
  display: flex;
  gap: 1.5rem;
  transition: all var(--transition-speed) ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-md);
}

.benefit-num {
  font-family: var(--font-family-title);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-accent-pink);
  line-height: 1;
}

.benefit-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  color: var(--color-accent-purple);
}

.benefit-content p {
  font-size: 0.9rem;
  color: var(--color-text-sub);
  margin-bottom: 0;
  line-height: 1.7;
}

/* アニメーション用トランジション変数フォールバック */
:root {
  --transition-speed: 0.3s;
}

/* スクロールアニメーション用クラスフェードイン */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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