:root {
  --primary-color: #309C5C;
  /* 深い緑色 – セクション見出しやボタンに使用 */
  --nav-bg: #085a32;
  /* ヘッダー背景色 – より濃い緑 */
  --cta-bg: #d6c352;

  --cta-text: #ffffff;

  --section-bg: #ffffff;

  --text-color: #222222;
  /* 標準テキスト色 */
  --border-color: #cceecc;
  /* セクション区切り線の色 */
  --link-color: #6495ed;
  --more-color: #191970;
  --more-color2: #4a4a4a;

}

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

body {
  font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic Pro', 'Meiryo', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #ffffff;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 0 0 20px;
}

/* ヘッダー */
.site-header {
  /*background-color: var(--nav-bg);*/
  background-color: rgba(5, 90, 40, 0.9);
  /* ★ 半透明の背景色 (元の色: #085a32) */
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  /* 影を付けて立体感を出す */
  color: #ffffff;
  height: 70px;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  margin-left: 10px;
  flex-shrink: 0;
}

.logo a {
  text-decoration: none;
  color: white;
}

.logo:hover {
  opacity: 0.7;
}

/* ナビゲーション */
.site-nav {
  flex: 1;
  display: flex;
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0 auto;
  align-items: center;
}

.nav-links li {
  position: relative;
  padding: 0 10px;
}

.otoiawase-pos {
  margin-left: auto;
  margin-right: 0px;
  background-color: var(--cta-bg);
  height: 70px;
  /* ヘッダーの高さに合わせる */
  display: flex;
  align-items: center;
  /* 文字を垂直方向に中央揃え */
  padding: 0 15px;
  /* 横の余白だけを指定 */
  color: #333333;
  text-decoration: none;
  transition: opacity 0.3s;
}

.otoiawase-pos:hover {
  opacity: 0.7;
  /* 少し透明にする */
}

/* 区切り線 */
.nav-links li:not(:first-child)::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background-color: rgba(255, 255, 255, 0.5);
}

.nav-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1rem;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.7;
}

/* お問合せリンク */
.header-contact-link {
  background-color: var(--cta-bg);
  color: white;
  padding: 6px 18px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: opacity 0.3s;
  margin: 0 0 0 5rem;
}

.header-contact-link:hover {
  opacity: 0.7;
}


/* ヒーローセクション */
.hero {
  background-color: var(--section-bg);
  padding: 50px 0 30px;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.hero h1 {
  flex: 1;
  font-size: 2.6rem;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 span {
  display: block;
}

.hero h1 .line1,
.hero h1 .line2 {
  color: var(--primary-color);
}

.hero h1 .line3 {
  color: #000000;
}

.title-image {
  display: block;
  max-width: 48%;
  height: auto;
  min-width: 280px;
  margin-top: 20px;
}

.hero-image {
  flex: 1;
  max-width: 100%;
  height: auto;
  min-width: 280px;
  margin-top: 60px;
}

/* セクション共通 */
.section-block {
  border-top: 1px solid var(--border-color);
  padding: 50px 0;
}

.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 24px;
  margin-right: 10px;
}

.section-header .icon {
  width: 32px;
  height: 32px;
  margin-right: 12px;
}

.section-header h2 {
  color: var(--primary-color);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.4;
  
}

/* お知らせリスト */
.announcement-list {
  list-style: none;
}

.announcement-list li {
  display: flex;
  align-items: flex-start;
  border-bottom: 1px solid #cccccc;
  padding: 10px 0;
}

.announcement-list li:last-child {
  border-bottom: none;
}

.announcement-list .date {
  width: 90px;
  font-size: 88%;
  color: var(--primary-color);
  font-weight: 600;
  flex-shrink: 0;
}

.announcement-list a {
  color: var(--link-color);
  text-decoration: none;
  transition: color 0.5s;
}

.announcement-list a:hover {
  text-decoration: underline;
}

/* 会員企業・団体セクション */
.members-content {
  display: flex;
  align-items: center;
  justify-content: wrap;
}

.member-list {
  list-style: none;
  margin-bottom: 10px;
  flex: 1;
}

.member-list li {
  padding: 4px 0;
}

.table-layout {
  width: 70%;
  font-size: 1rem;
  line-height: 1.4;
  text-align: left;
}

.table-layout td {
  vertical-align: top;
}

/* コンソーシアム紹介 */
.about-content {
  max-width: 700px;
}

.about-content p {
  margin-bottom: 20px;
  line-height: 1.8;
}

/* 「もっと見る」ボタン */
.more-button {
  display: inline-flex;
  align-items: center;
  color: var(--more-color2);
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--more-color2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: background-color 0.5s, color 0.5s;
}

.more-button::after {
  content: '\2192';
  /* → */
  margin-left: 8px;
  transition: transform 0.4s;
}

.more-button:hover {
  background-color: var(--more-color2);
  border: 2px solid var(--more-color2);
  color: #ffffff;
}

.more-button:hover::after {
  transform: translateX(5px);
}

/* フッター */
.site-footer {
  background-color: var(--nav-bg);
  color: #ffffff;
  padding: 25px 0 10px;
  font-size: 0.9rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  font-weight: 700;
  line-height: 1.2;
}

.footer-nav .nav-links {
  gap: 10px;
}

.footer-nav .nav-links a {
  font-size: 0.75rem;
}

.copyright {
  text-align: center;
  opacity: 0.7;
  font-size: 0.9rem;
}


/* 2カラムレイアウトのベース設定 */
.two-column {
  display: flex;
  gap: 40px;
}

.two-column .left-block {
  flex: 1 1 25%;
  max-width: 30%;
}

.two-column .right-block {
  flex: 3 1 70%;
}

/* style.css の末尾に追加 */

/* 会員ページ リスト全体 */
.member-list-wrapper {
  width: 80%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* 2つの列を均等な幅で作成 */
  gap: 20px 10px;
  /* 行と列の間隔を指定 (縦 横) */
}

/* 各カテゴリの見出し */
.member-category-group h3 {
  font-size: 1.1rem;
  color: var(--primary-color);
  padding-left: 1rem;
  padding-bottom: 8px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--border-color);
  /* 薄いグレーの区切り線 */
}

/* 各カテゴリのリスト */
.member-category-list {
  list-style: none;
  /* ・を削除 */
  padding: 0 0 0 2rem;
  margin: 0;
}

.member-category-list li {
  padding: 4px 0;
  /* 各項目に少し余白を追加 */
  line-height: 1.6;
}


/* お問い合わせページ */
.contact-info-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  /* 2列レイアウト */
  gap: 40px;
  margin-top: 50px;
  margin-bottom: 150px;
}

.contact-info-card {
  background-color: #f7f7f7;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 30px 30px;
}

.contact-info-card h4 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.contact-info-card p {
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.contact-info-card strong {
  font-weight: 600;
}

/* 会員限定ページ レイアウト */
.member-page-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  /* 2:1の比率で2列に */
  gap: 50px;
  align-items: flex-start;
}

/* 資料アーカイブセクション */
.archive-section h3,
.member-announcements h3 {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.archive-section h4 {
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
  margin-top: 25px;
  margin-bottom: 10px;
}

.archive-list {
  list-style: none;
  padding: 0;
}

.archive-list li {
  margin-bottom: 8px;
}

.archive-list a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--link-color);
  transition: color 0.3s;
}

.archive-list a:hover {
  text-decoration: underline;
}

/* ファイル種類アイコン */
.file-link::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 22px;
  margin-right: 8px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.file-link.pdf::before {
  background-image: url('img/pdf_icon.png');
}

.file-link.pptx::before {
  background-image: url('img/pp_icon.png');
}

.file-link.xlsx::before {
  background-image: url('img/excel_icon.png');
}

.file-link.xlsx::before {
  background-image: url('img/word_icon.png');
}

/* 会員へのお知らせセクション */
.member-announcements {
  background-color: #f7f7f7;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px 30px;
}

.member-announce-list {
  list-style-position: inside;
  padding-left: 5px;
}

.member-announce-list li {
  margin-bottom: 10px;
  line-height: 1.7;
}


/* 目的・活動内容ページ（文章コンテンツ） */
.prose-content {
  max-width: 900px;
  /* 文章の幅を制限して読みやすくする */
  margin: 20px auto 0;
  /* 中央に配置 */
}

.prose-content h3 {
  font-size: 1.5rem;
  color: var(--primary-color);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 10px;
  margin-top: 40px;
  margin-bottom: 25px;
}

.prose-content p,
.prose-content ul {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 25px;
}

.prose-content ul {
  list-style-position: inside;
  list-style: none;
  padding-left: 10px;
}

.prose-content ul li::before {
  content: '∙';
  /* 表示したい絵文字や記号を記述 */
  margin-right: 8px;
  /* マーカーとテキストの間の余白を調整 */
}


.contact-info-card a {
  text-decoration: none;
}

.contact-info-card a:hover {
  text-decoration: none;
  color: var(--link-color);
  opacity: 0.7;
  transition: color 0.3s;
}

.image_fitscreen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: auto;
  margin-top: 0px;

}

.image_fitscreen img {
  max-width: 100%;
  width: auto;
  height: 100vh;
  object-fit: contain;

}

.image_fitscreen a {
  color: var(--link-color);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;

}





/* レスポンシブデザイン */
@media (max-width: 768px) {

  .site-header {
    height: auto;
    padding: 15px 0;
  }

  .site-header .container {
    flex-direction: column;
    justify-content: center;
    gap: 15px;
  }

  .two-column {
    display: block;
  }

  .site-nav {
    display: flex;
    flex-direction: row;
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }

  .nav-links {
    margin: 0 auto;
    /* PC用の 'margin: 0 auto' を上書きして解除 */

  }

  .nav-links ul {
    align-items: center;

  }

  .nav-links a {
    font-size: 0.8rem;
  }

  .logo {
    text-align: center;
    font-size: 0.9rem;
    margin: 5px 0 0 0;
  }

  .otoiawase-pos {
    margin: 0;
    font-size: 0.7rem;
    height: auto;
    /* PC用の高さをリセット */
    padding: 8px 12px;
    /* スマホ用に適切な余白を再設定 */
  }

  .nav-links li:not(:first-child)::before {
    display: none;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero h1 {
    font-size: 2.1rem;
  }

  .hero-image {
    margin-top: 30px;
  }

  .members-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .more-button {
    margin-top: 10px;
  }

  .section-header h2 {
    font-size: 1.3rem;
  }

  /* 2カラムレイアウトを縦並びに変更 */
  .two-column {
    display: block;
    gap: 20px;
  }

  .two-column .left-block,
  .two-column .right-block {
    width: 100%;
    max-width: none;
    margin-bottom: 20px;
  }

  /* フッターのレスポンシブ対応 */
  .site-footer {
    padding: 20px 10px;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-logo {
    margin-bottom: 20px;
  }

  .footer-nav .nav-links {
    flex-direction: row;
    gap: 1px;
    flex-wrap: wrap;
    line-height: 1.2;
  }

  .footer-nav .nav-links a {
    font-size: 0.7rem;
  }

  .table-layout {
    width: 90%;
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: left;
  }

  .about-content p {
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.8;
  }

  .announcement-list {
    font-size: 0.9rem;
  }

  .member-list-wrapper {
    grid-template-columns: 1fr;
    /* スマホでは1列にする */
  }

  .contact-info-wrapper {
    grid-template-columns: 1fr;
    /* スマホでは1列にする */
  }

  .member-page-grid {
    grid-template-columns: 1fr;
    /* スマホでは1列にする */
  }


}