﻿@charset "utf-8";

/* 基本設定 */
body {
  /*font-family: "メイリオ", Meiryo, sans-serif;*/
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  background: #f7f8f5;
}

.conts_gen {
font-family: "メイリオ", Meiryo, sans-serif;
      width: 720px;
      background-color: #fff;
      /*box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);*/
	  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
      border-radius: 8px;
      /*overflow: hidden;*/
	  color: #666;
	  font-size: 14px;
	  padding: 2px 0 10px;
    }

/*.container {
  width: 720px;
  margin: 0 auto;
  padding: 20px;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}*/

/* ヘッダー */
.page-header h1 {
  font-size: 24px;
  color: #4a6b7c;
  border-bottom: 3px solid #999933;
  padding-bottom: 8px;
}

.lead {
  margin-top: 10px;
  padding: 10px 0 0 10px;
  color: #666;
}

/* セクション */
/* アクセント用 */
:root {
  --accent-red: #c94a4a;
}

.section_mem {
  margin-top: 40px;
  margin-left: 10px;
  margin-right: 10px;
}

h2.katsudo {
  font-size: 18px;
  color: #3f6f5f;
  border-left: 8px solid #c94a4a; /* 赤味アクセント */
  padding-left: 12px;
  margin: 15px 0 15px 10px;
}

h2.katsudo_2 {
  font-size: 18px;
  color: #3f6f5f;
  border-left: 8px solid #c94a4a; /* 赤味アクセント */
  padding-left: 12px;
  margin: 5px 0 15px 0;
}

/* メリット 
.merit {
  background: #f1f6f4;
  padding: 20px;
  border-radius: 6px;
}*/

/* メリット(図を入れた場合) */

.other {
  position: relative;
  overflow: hidden;
  /*background-color: #f1f6f4;*/
  padding: 20px;
  border: solid 1px #a1c3b5;
  border-radius: 6px;
}

.other_2 {
  position: relative;
  overflow: hidden;
  background-color: #f1f6f4;
  padding: 20px;
  border-radius: 6px;
}

.merit {
  position: relative;
  overflow: hidden;
  background-color: #f1f6f4;
  padding: 20px;
  border-radius: 6px;
}

.merit::before {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 320px;
  height: 320px;
  background-image: url("images/merit-bg.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: /*0.08*/ 0.2; /* ← ここが最重要 */
  pointer-events: none;
}

.merit_2 {
  position: relative;
  overflow: hidden;
  /*background-color: #f1f6f4;*/
  padding: 20px;
  border: solid 1px #a1c3b5;
  border-radius: 6px;
}

.merit_2::before {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 320px;
  height: 320px;
  background-image: url("images/merit_2-bg.png");
  background-repeat: no-repeat;
  background-size: contain;
  opacity: /*0.08*/ 0.2; /* ← ここが最重要 */
  pointer-events: none;
}

/*.merit > * {
  position: relative;
  z-index: 1;
}*/

 /*@media screen and (max-width: 640px) {
 .merit::before {
    display: none;
  }
  .merit_2::before {
    display: none;
  }
}
*/

 /* スマホ表示時、図を弱める */
@media screen and (max-width: 640px) {
  .merit::before {
    opacity: /*0.04*/ 0.2;
    width: /*220px*/ 280px;
    height: /*220px*/ 280px;
  }
}

/**** */

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

.merit-list li {
  padding-left: 26px;
  margin-bottom: 8px;
  position: relative;
}

.merit-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #c94a4a; /* 赤味アクセント */
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0.6em;
}

/* 活動カード */
.activity-link {
  display: block;
  padding: 10px 12px;
  background: #ffffff;
  border: 1px solid #bbb;
  color: #2f4f6f;
  text-decoration: none;
  font-size: 15px; /* ← 少し大きく */
  line-height: 1.4;
}

.activity-link:hover {
  background: #f2f6f8;
  border-color: #c94a4a;
  color: #c94a4a;
}

.activity-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.activity-card {
  width: 100%;
  background: /*#f9faf7*/ #f7f7f7;
  border-radius: 6px;
  padding: 20px;
  border: 1px solid #ddd;
  margin-bottom: 25px;
  min-height: 220px; /* 将来説明が増えても安定 */
}

/* 共通アイコン枠 */
.activity-card {
  position: relative;
}

/*.card-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  opacity: /*0.18 0.8; 
}
/*

.card-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.pattern-vertical { color: /*#4f7c8a #c94a4a; }
.pattern-horizontal { color: #6b7fa8; }
.pattern-diagonal { color: #6f6aa8; }
.pattern-dots { color: #7a6a9e; }

 各活動背景パターン 
.activity-card.pattern-bukai {
  background-color: #f9faf7;
  background-image:
    linear-gradient(
      to bottom,
      rgba(79, 124, 138, 0.08),
      rgba(79, 124, 138, 0.08)
    ),
    url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='40' height='40'>\
<defs>\
<pattern id='v' width='6' height='6' patternUnits='userSpaceOnUse'>\
<line x1='0' y1='0' x2='0' y2='6' stroke='rgba(79,124,138,0.6)' stroke-width='1'/>\
</pattern>\
</defs>\
<rect width='40' height='40' fill='url(%23v)'/>\
</svg>");
  background-repeat: repeat;
  background-size: auto;
  background-position: top right;
}
/***** */




.card-lead {
  /*margin: 8px 0 5px;*/
  padding: 5px;
  color: #555;
  /*font-size: 13px;*/
}

.activity-card.wide {
  width: 100%;
}

.activity-card h3 {
  font-size: 16px;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 4px;
}


/* === スプレッドシート埋め込み（activity-cardの雰囲気に合わせる） === */
.sheet-block{
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #cfcfcf; /* 説明と表の区切り */
}

.sheet-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.sheet-title{
  margin: 0;
  font-size: 15px;
  /*color: #444; */
  font-weight: 600;
  letter-spacing: .02em;
}

/*.sheet-open{
  display: inline-block;
  font-size: 12px;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #cfcfcf;
  background: #fff;
  color: #2f5b4c;
}

.sheet-open:hover{
  opacity: .85;
}
*/

.bukai {
color: #4f7c8a;
}
.kenkyu {
color: #6f6aa8;
}
.sig {
color: /*#85c4d1*/ #419bad;
}

.sheet-open{
  display: inline-block;
  font-size: 12px;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid /*#b8cfd6*/ #cfcfcf;
  background: #ffffff;
  /*color: #2f5b4c;*/
  transition: background .2s ease, color .2s ease;
}

.sheet-open:hover{
  background: #f3f7f9;
}

/* 研究部会 「別タブで開く」*/
.sheet-block.is-kenkyu .sheet-open{
  border-color: #6f6aa8;
  color: #5a568e;
}

.sheet-block.is-kenkyu .sheet-open:hover{
  background: #f0eef8;
}


/* SIG 「別タブで開く」*/
.sheet-block.is-sig .sheet-open{
  border-color: #85c4d1;
  color: #2f6f7a;
}

.sheet-block.is-sig .sheet-open:hover{
  background: #dff2f6;
}


/* 埋め込み枠：カードのトーンに合わせて“中にもう1枚カード”感 */
.sheet-embed{
  width: 100%;
  border: 1px solid #d6d6d6;
  border-radius: 6px;     /* cardと同じ角丸 */
  overflow: hidden;
  background: #fff;
}

/* iframe本体（高さはCSSで管理するのが安定） */
.sheet-embed iframe{
  display: block;
  width: 100%;
  height: 520px;  /* PC標準：必要に応じて調整 */
  border: 0;
}

/* 注釈 */
.sheet-note{
  margin: 8px 0 0;
  font-size: 12px;
  color: #666;
}

/* スマホ表示 */
@media screen and (max-width: 640px){
  .sheet-head{
    align-items: flex-start;
    flex-direction: column;
  }

  .sheet-open{
    width: /*100%*/ 98%;
    text-align: center;
  }

  .sheet-embed iframe{
    height: 680px; /* スマホは縦を長めに */
  }
}

/* 各会員活動リスト（箱）※新タイプ */

.activity-links{
  margin: 10px 0 12px;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #ffffff;
}

.activity-links__ttl{
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 600;
  color: #444;
  letter-spacing: .02em;
}

/* 3列（部会など） */
.activity-chips{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

/* 2列（SIGなど） */
.activity-chips.is-sig{
  grid-template-columns: repeat(2, 1fr);
}

.chip-link{
  display: block;
  text-decoration: none;
  color: #2f5b4c;              /* 落ち着いたリンク色 */
  background: #f7f7f7;         /* activity-card と同系 */
  border: 1px solid #d6d6d6;
  border-radius: 999px;        /* チップ感 */
  padding: 7px 10px;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;         /* 高さを増やさない */
  overflow: hidden;
  text-overflow: ellipsis;     /* 長い名称は…にする */
}

.chip-link:hover{
  background: #e6f0f3;         /* 既存の type-bukai 系と相性◎ */
  border-color: #b8cfd6;
  text-decoration: none;       /* 既存hoverの下線を避ける */
}

/* スマホ：1列 
@media screen and (max-width: 640px){
  .activity-chips,
  .activity-chips.is-sig{
    grid-template-columns: 1fr;
  }

  .chip-link{
    text-align: left;
  }
}*/

/* === 列数制御（PC） === */
.activity-chips.is-3col{
  grid-template-columns: repeat(3, 1fr);
}

.activity-chips.is-2col{
  grid-template-columns: repeat(2, 1fr);
}

/* === スマホ列数 === */
@media screen and (max-width: 640px){
  .activity-chips.sp-2col{
    grid-template-columns: repeat(2, 1fr);
  }
  .activity-chips.sp-1col{
    grid-template-columns: 1fr;
  }
}

/* === hover色（テーマカラー反映・控えめ） === */

/* 部会（既存bukaiトーン） */
.activity-links.is-bukai .chip-link:hover{
  background: #e6f0f3;
  border-color: #4f7c8a;
}

/* 研究部会 */
.activity-links.is-kenkyu .chip-link:hover{
  background: #f0eef8;   /* type-kenkyu背景 */
  border-color: #6f6aa8;
}

/* SIG */
.activity-links.is-sig .chip-link:hover{
  background: #dff2f6;   /* type-sig背景 */
  border-color: #85c4d1;
}

/* === 研究部会：説明用チップ（余白活用） === */
.activity-links.is-kenkyu .chip-note{
  grid-column: 2 / 4;   /* 2列目〜3列目を使用（横2枠） */
  display: flex;
  align-items: center;
}

.chip-note__text{
  margin: 0;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  color: #4a4a4a;
  background: #f0eef8;          /* 研究部会のテーマ色 */
  border: 1px dashed #6f6aa8;
  border-radius: 10px;
}

/* スマホでは通常の1行として表示 */
@media screen and (max-width: 640px){
  .activity-links.is-kenkyu .chip-note{
    grid-column: auto;
    grid-row: auto;
  }
}


/* 各会員活動リスト（箱）※旧タイプ */
.activity-list-grid {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.activity-list-grid.sig-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media screen and (max-width: 640px) {
  .activity-list-grid,
  .activity-list-grid.sig-grid {
    grid-template-columns: 1fr;
  }
}

.type-bukai {
  background: #e6f0f3;
  border-left: 6px solid #4f7c8a;
}

.type-koryu {
  background: #eef0f8;
  border-left: 6px solid #6b7fa8;
}

.type-kenkyu {
  background: #f0eef8;
  border-left: 6px solid #6f6aa8;
}

.type-sig {
  background: /*#f3eef08;*/ #dff2f6;
  border-left: 6px solid /*#7a6a9e*/ #85c4d1;
}

.activity-sub {
  display: block;
  margin-top: 4px;
  font-size: 0.9rem;
  font-weight: 400;
  color: /*#c94a4a*/ #3f6f5f;
  letter-spacing: 0.02em;
}

@media screen and (max-width: 640px) {
  .activity-heading {
    font-size: 1.25rem;
  }

  .activity-sub {
    font-size: 0.85rem;
    line-height: 1.4;
  }
}

.activity-card ul {
  padding-left: 18px;
}

.activity-card a {
  color: #336699;
  text-decoration: none;
}

.activity-card a:hover {
  text-decoration: underline;
}

.sig-desc {
  margin-bottom: 10px;
  color: #555;
}

.sig-list .note {
  list-style: none;
  color: #777;
  font-size: 13px;
}

/* スマホ対応 */
@media screen and (max-width: 640px) {

  .conts_gen {
    width: auto;
    padding: 15px;
  }

  .activity-card {
    width: 100%;
  }

}

.label {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 6px;
  font-size: 11px;
  border-radius: 3px;
  vertical-align: middle;
}

.label.recruit {
  background: #c94a4a;
  color: #fff;
}

/*元のページに戻る*/
.back-activity {
  display: inline-block;
  margin-bottom: /*24px*/ 12px;
  padding: 8px 14px;
  border: 1px solid #ccc;
  background-color: #f7f7f7;
  color: #333!important;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 4px;
}

.back-activity:hover {
  background-color: #eee;
  border-color: #999;
}

/*Youtube等へのリンク*/
.movie-box {
  margin: 24px 0;
  padding: 16px;
  border: 1px solid /*#ddd*/ #c94a4a;
  background: #fafafa;
}

.movie-note {
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #555;
}

/*ZOOMへのリンク 外枠*/

.zoom-video-box {
  font-family: "メイリオ", Meiryo, sans-serif;
  margin: /*24px*/10px 0 /*40px*/ 15px;
  padding: 20px;
  border: 3px solid;
  border-radius: 8px;
  background: #fafafa;
}

.zoom-video-box_2 {
  font-family: "メイリオ", Meiryo, sans-serif;
  margin: /*24px*/10px 0 /*40px*/ 15px;
  padding: 20px;
  border: 3px solid;
  border-radius: 8px;
  background: #fafafa;
  width: 80%;
}

/*ZOOMへのリンク 地域名＋ZOOM*/

zoom-video-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.region-label {
  font-size: 1.3rem;
  font-weight: 700;
}

.zoom-badge {
  padding: 4px 10px;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 4px;
  background: #2d8cff;
  color: #fff;
}

/*ZOOMへのリンク 説明文*/

.zoom-video-desc {
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: #444;
}

/*ZOOMリンクボタン*/

.zoom-video-link {
  display: inline-block;
  padding: 12px 18px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #fff!important;
  text-decoration: none;
  border-radius: 6px;
}

.zoom-video-link:hover {
  opacity: 0.9;
}

/*ZOOM 部会別カラー設定*/

.zoom-video-box.reikai {
  border-color: #335f8c;
}
.zoom-video-box.reikai .region-label {
  color: #335f8c;
}
.zoom-video-box.reikai .zoom-video-link {
  background: #335f8c;
}

.zoom-video-box_2.p2m {
  border-color: #3a90b1;
}
.zoom-video-box_2.p2m .region-label {
  color: #3a90b1;
}
.zoom-video-box_2.p2m .zoom-video-link {
  background: #3a90b1;
}

.zoom-video-box.sympo {
  border-color: /*#32637a*/ #2c75ba;
}
.zoom-video-box.sympo .region-label {
  color: #2c75ba;
}
.zoom-video-box.sympo .zoom-video-link {
  background: #2c75ba;
}

.zoom-video-box.pmp {
  border-color: #d27240;
}
.zoom-video-box.pmp .region-label {
  color: #d27240;
}
.zoom-video-box.pmp .zoom-video-link {
  background: #d27240;
}

.zoom-video-box.apc {
  border-color: #328f3f;
}
.zoom-video-box.apc .region-label {
  color: #328f3f;
}
.zoom-video-box.apc .zoom-video-link {
  background: #328f3f;
}

.zoom-video-box_2.club {
  border-color: #924488;
}
.zoom-video-box_2.club .region-label {
  color: #924488;
}
.zoom-video-box_2.club .zoom-video-link {
  background: #924488;
}

/*ZOOM 部会別カラー設定*/

.zoom-video-box.s_agi {
  border-color: #5375fa;
}
.zoom-video-box.s_agi .region-label {
  color: #5375fa;
}
.zoom-video-box.s_agi .zoom-video-link {
  background: #5375fa;
}


/*ZOOM 地域別カラー設定*/

.zoom-video-box.hokkaido {
  border-color: #3a7bd5;
}
.zoom-video-box.hokkaido .region-label {
  color: #3a7bd5;
}
.zoom-video-box.hokkaido .zoom-video-link {
  background: #3a7bd5;
}

@media screen and (max-width: 640px) {
  .region-label {
    font-size: 1.15rem;
  }

  .zoom-video-link {
    width: 90%;
    text-align: center;
  }
  
  .zoom-video-box {
  width: 85%;
  margin: auto;
  }
  
  .zoom-video-box_2 {
  width: 85%;
  margin: auto;
  }
}


/* 会員活動ページへのCTAボタン */
.cta-activity{
  display: inline-block;
  margin: 20px 0;
  padding: 14px 26px;
  font-family:'メイリオ', 'Meiryo','ＭＳ ゴシック','Hiragino Kaku Gothic ProN','ヒラギノ角ゴ ProN W3',sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: #2f5b4c;
  background: linear-gradient(
    to bottom,
    #f0f7f5,
    #e6f0f3
  );
  border: 2px solid #4f7c8a;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: .08em;
  transition: 
    transform .15s ease,
    box-shadow .15s ease,
    background .15s ease;
}

/* hover */
.cta-activity:hover{
  background: #e6f0f3;
  box-shadow: 0 6px 14px rgba(0,0,0,.12);
  transform: translateY(-2px);
  text-decoration: none;
}

/* サブコピー */
.cta-sub{
  display: block;
  font-size: 11px;
  font-weight: 400;
  opacity: .85;
  margin-top: 4px;
}

/* スマホ */
@media screen and (max-width: 640px){
  .cta-activity{
    display: block;
    width: 90%;
	margin: 10px auto;
    text-align: center;
    padding: 16px 20px;
    font-size: 14px;
  }
}