/* style.css */
/* ヘッダー固定＆隠す・出す */
.site-header {
	position: fixed;
  align-items: center;
  justify-content: space-between;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	transition: transform 0.3s ease;
  gap: 1rem;
  padding: 0 1rem;
}
.site-header .menu-toggle {
  margin-left: auto;
}
.site-header .logo {
  margin-right: auto;
}

.site-header.hide {
	transform: translateY(-100%);
}

/* PCでは常に表示 */
@media (min-width: 768px) {
	.site-header {
		transform: none !important;
	}
}

/* リセット＋ベース */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
body {
  margin-top: 90px; /* ヘッダーの高さ分だけ余白を作る */
	font-family: sans-serif;
	line-height: 1.6;
  background: #f0f0f0;
  color: #333;
	color: #333;
	background: #fff;
  font-size: 1rem;
}
a {
	color: #333;
	text-decoration: none;
}
ul {
	list-style: none;
}

/* ヘッダー */
.site-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.5rem 1rem;
	background: #ffd600;
}

.logo img {
	height: 70px;
}

.sns-nav {
  padding-top: 10px;
}
.sns-nav ul {
	display: flex;
}
.sns-nav img {
	width: 35px;
	height: 35px;
	margin-left: 0.5rem;
	transition: transform 0.2s;
	background: #000;
	border-radius: 50%;
	padding: 1px;
}
.sns-nav li + li {
	margin-left: 0.5rem;
}

.menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 24px;
	height: 18px;
	background: none;
	border: none;
	cursor: pointer;
}

/*
.menu-toggle span {
	display: block;
	height: 3px;
	background: #333;
}
*/

/* スマホのハンバーガーを「メニュー」テキストに変更 */
@media (max-width: 767px) {
  .menu-toggle {
    width: auto;
    height: auto;
    padding: .5rem 1rem;
  }
  /* 元の3本線を非表示 */
  .menu-toggle span {
    display: none;
  }
  /* ボタンに「メニュー」ラベルを挿入 */
  .menu-toggle::after {
    content: "Menu";
    font-weight: bold;
    font-size: 0.8rem;
    color: #333;
    border: 1px solid #333;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    line-height: 1.6;
  }
}

/* レイアウト */
.layout {
	display: flex;
}
.sidebar {
	width: fit-content;
	background: #f0f0f0;
	border-right: 1px solid #ccc;
	padding: 1rem;
	overflow-y: auto;
	position: fixed;
	top: 90px;
	bottom: 0;
	font-weight: bold;
	font-size: 1rem;
}

.content {
	flex: 1;
	margin-left: 300px;
	padding: 1rem 2rem;
}

/* セクション枠 */
.section-box {
	background: #fff;
	padding: 1rem;
  padding-bottom: 2rem;
	margin-bottom: 1.5rem;
	border-radius: 4px;
  max-width: 900px;
}
.section-box h1 {
	margin-bottom: 0.5rem;
	border-bottom: 1px solid #e74c3c;
  border-left: 10px solid #e74c3c;
  padding-left: 0.5rem;
  font-size: 1.6rem;
}
.section-box h2 {
  margin-top: 3rem;
  margin-bottom: 0.5rem;
  padding-left: 0.5rem;
  font-size: 1.3rem;
}

/* 目次ナビ */
.toc > ul > li + li {
	margin-top: 0.5rem;
}
.toc a {
	display: block;
	padding: 0.25rem 0.5rem;
	color: #333;
}
.toc a.active {
	background: #ffd600;
	color: #333;
	font-weight: bold;
}
.has-submenu > a::after {
	content: "▷";
	float: right;
	transition: transform 0.2s;
}
.has-submenu.open > a::after {
	transform: rotate(90deg);
}
.submenu {
	display: none;
	margin-top: 0.25rem;
	margin-left: 1rem;
}
.has-submenu.open > .submenu {
	display: block;
}

/* テーブルスタイル */
table {
  width: 100%;
	border-collapse: collapse;
	margin-top: 0.5rem;
  font-size: 1rem;
}
table th,
table td {
	border-bottom: 1px dotted #ccc;
	padding-left: 0.5rem;
  padding-bottom: 1.6rem;
  padding-top: 2.4rem;
  margin-left: 1rem;
	text-align: left;
}

/* 費用テーブル */
.fee-table {
  width: 100%;
	border-collapse: collapse;
	margin-top: 0.5rem;
  font-size: 1rem;
}

.fee-table th,
.fee-table td {
	border:#ccc 1px solid;
	padding-left: 1rem;
  padding-bottom: 1.6rem;
  padding-top: 2.4rem;
  margin: 0.5rem;
	text-align: left;
}


/* ボタン */
.btn {
  color: #fff;
}
.btn a {
	display: inline-block;
  padding: 0.5rem 1rem;
	background: #e74c3c; /* 赤 */
	color: #fff;
  border: 1px solid #e74c3c;
	border-radius: 4px;
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.6;
}
.btn a:hover {
  background: #fff;
  color: #e74c3c;
  border: 1px solid #e74c3c;
}


.btn2 {
  margin: 0.5rem 0;
}

/* 実際のボタンは a に当てる */
.btn2 {
  margin: 0.5rem 0;
}

/* 実際のボタンは a に当てる */
.btn2 a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #ffd600;
  border: 1px solid #000;
  color: #000;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  width:275px;
  transition: background-color .2s, color .2s;
}

/* ホバー時 */
.btn2 a:hover {
  background: #e74c3c !important;
  color: #fff !important;
}

.btn3 {
  margin: 0.5rem 0;
}

/* 実際のボタンは a に当てる */
.btn3 a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #f0f0f0;
  color: #000;
  border: 1px solid #000;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  margin-left: 1rem;
  transition: background-color .2s, color .2s;
}

/* ホバー時 */
.btn3 a:hover {
  background: #333;
  color: #fff;
}

.btn4 {
  margin: 0.5rem 0;
}

/* 実際のボタンは a に当てる */
.btn4 a {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: #fff;
  color: #000;
  border: 1px solid #000;
  border-radius: 4px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color .2s, color .2s;
  width:275px;
}

/* ホバー時 */
.btn4 a:hover {
  background: #333;
  color: #fff !important;
}


/* 注釈 */
.note {
	font-size: 0.9rem;
	color: #666;
	margin:  1rem;
  padding-left: 1rem;
  line-height: 2.5;
}
.note2 {
	font-size: 0.9rem;
	color: #666;
  margin: 0.5rem;
	margin-left:  1rem;
  padding-left: 1rem;
  line-height: 2;
}

/* レスポンシブ */
@media (max-width: 767px) {
	.menu-toggle {
		display: flex;
	}
	.sidebar {
		position: fixed;
		top: 75px;
    bottom: 0;
		left: -100%;
		transition: left 0.3s;
		z-index: 100;
	}
	.sidebar.open {
		left: 0;
	}
	.content {
		margin-left: 0;
		padding: 1rem;
	}
  table {
    width: 100%;
  }
  .logo img {
    margin-top: 7px;
    height: 50px;
  }
  .sns-nav ul {
    display: flex;
  }
  .btn a{
    font-size: 0.8rem !important;
  }
  body {
    margin-top: 70px; /* ヘッダーの高さ分だけ余白を作る */
  }  
  html {
    scroll-padding-top: 70px;
  }  
}

.sidebar a:hover {
  background-color:#333 ;
  color:#ffd600;
  font-weight: bold;
}



html {
  scroll-padding-top: 110px;
}

.mkt {
border: 1px solid #e74c3c !important; /* 赤 */
font-weight: bold;

}

.fee1{
  font-weight: bold;
}

.fee2 {
text-align: right !important;
font-size: 1rem;
font-weight: bold;
padding-right: 1rem;
width: 180px;
font-size:1.2rem;
}

/* スマホ時：参加費用テーブルを１カラム化 */
@media (max-width: 767px) {
  .fee-table,
  .fee-table thead,
  .fee-table tbody,
  .fee-table tr,
  .fee-table td {
    display: block;
    width: 100%;
  }

  /* 各行ごとに余白を */
  .fee-table tr {
    padding-bottom: 0.5rem;
  }

  /* 内容セルは少しインデント */
  .fee-table td {
    padding: 1rem 0.5rem 1.5rem 1rem;
    text-align: left;
    margin:0;
    margin-top: -1px;
  }

  .fee1 {
    font-weight: bold;
    background: #eee;
    padding-top: 1.5rem !important;
    padding-bottom: 1rem !important;
  }

  .fee2 {
    text-align: left !important;
  }

  
    /* スマホ時：開催概要のテーブルを縦並び化 */
    .info-table,
    .info-table tbody,
    .info-table tr,
    .info-table th,
    .info-table td {
      display: block;
      width: 100%;
      margin-left: 0;
      border: none;
    }
    .info-table tr {
      margin-bottom: 1rem;
      border: 1px solid #ccc;
      padding-bottom: 0;
    }
  
    .info-table th {
      font-weight: bold;
      border:#ccc 1px solid;
      background: #f0f0f0;
      margin: -1px;
      padding: 0.5rem 0.5rem 0.25rem ;
    }
  
    .info-table td {
      padding: 0.5rem 1rem 1rem 1rem;
    }
    .site-footer {
      background: #f0f0f0;
      padding: 1rem 2rem;
      text-align: center !important;
      color: #666;
      font-size: 0.8rem;
      margin-left: 0px !important;
      padding-left: 0rem !important;
      padding-top: 3rem;
    }

  .copy{
    width:100% !important;
    filter: drop-shadow(0 0 2px #ccc);
  }
  .demo-image {
    width:100% !important;
  }
  .rebako-image {
    width: 90% !important;
    margin: 0.5rem !important;
  }
}

/* ヘッダー内の申込みボタン */
.header-btn {
  font-size: 1rem;
  font-weight: bold;
}

.yellow {
  color: #ffd600;
}
.red {
  color: #e74c3c;
}

.card{
  border: 2px solid #e74c3c;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.card2{
  border: 2px solid #ffd600;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.card-col1{
  border: 2px solid #ffd600;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.card-col1 dt {
  font-weight: bold;
}

.card-col1 dd{
  margin-left: 1rem;
}

.card-col1-red{
  border: 2px solid #e74c3c;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  border-radius: 4px;
}

.card-col1-red dt {
  font-weight: bold;
}

.card-col1-red dd{
  margin-left: 1rem;
}

.t1{
  width: 240px;
}

.space-image{
  height: 250px;
  filter: drop-shadow(0 0 2px #ccc);
  margin-left: 1rem;
  margin-top:  0.5rem;
}

.space-table {
  border: 1px solid #ccc;
}
.space-table th,
.space-table td {
  border: 1px solid #ccc;
  padding: 0.5rem;
  text-align: left;
}

.cicon {
  text-align: center;
}

.cicon img {
  width: 40px;
  margin: 0 auto;
}

.ml-2rem {
  margin-left: 2rem;
}
.ml-3rem {
  margin-left: 3rem;
}
.mb-1rem {
  margin-bottom: 1rem;
}
.mt-2rem {
  margin-top: 2rem;
}
.fss{
  font-size: 0.8rem;
}

.rebako-image {
  margin-left:1rem;
  width: 300px;
}

.ullink a{
  text-decoration: underline;
}

.ullink a:hover {
  text-decoration: none;
}
.copy{
  width:80%;
  filter: drop-shadow(0 0 2px #ccc);
}

.logo2 {
  width: 60%;
  margin-bottom: 1rem;
}

/* フッタースタイル */
.site-footer {
  background: #f0f0f0;
  padding: 1rem 2rem;
  text-align: left;
  color: #666;
  font-size: 0.8rem;
  margin-left: 300px;
  padding-left: 5rem;
  padding-top: 3rem;
}
.site-footer .footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
}
.site-footer .footer-nav a {
  color: #333;
  text-decoration: none;
}
.site-footer .footer-nav a:hover {
  text-decoration: underline;
}
.footer-logo {
  margin: 0.5rem 0;
  width: 150px;
}
.setumei {
  text-align: center;
}

.demo-image {
  width:600px;
}
.mkt2 {
border: 1px solid #000 !important; /* 赤 */
background:#e74c3c !important;
font-weight: bold;
}
.clw {
  color:#fff !important;
}

/* フィルター全体 */
.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 1rem 0;
}
.filter-group {
  border: 1px solid #ddd;
  background-color:#f0f0f0 ;
  padding: 0.5rem;
  border-radius: 4px;
}
.filter-group h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}
.filter-group label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0. ninerem;
}

/* セクション全体の余白 */
.section-box {
  padding: 1rem;
}

/* フィルターコンテナ */
.filter-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1rem 0;
  max-width:100%;
}

/* 各フィルターグループ */
.filter-group {
  border: 1px solid #ddd;
  padding: 0.5rem;
  border-radius: 4px;
}
.filter-group h4 {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
}

/* フィルターボタン */
.filter-group button {
  margin: 0.2rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid #888;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.7rem;
}
.filter-group button.active {
  background: #888;
  color: #fff;
  border-color: #666;
}

/* テーブル全体 */
#circle-list table {
  width: 100%;
  table-layout: fixed;
  font-family: "メイリオ", sans-serif;
  font-size: 0.8rem;
  border-collapse: collapse;
}
#circle-list th,
#circle-list td {
  padding: 0.5rem;
  border: 1px solid #666;
  word-wrap: break-word;
}
#circle-list th {
  background-color:#333;
  color:#fff;
}

/* テーブルの偶数行・奇数行で背景色を交互に設定 */
#circle-list table tbody tr:nth-child(odd) {
  background-color: #fff; /* 奇数行 */
}
#circle-list table tbody tr:nth-child(even) {
  background-color: #f0f0f0; /* 偶数行 */
}

/* マウスオーバー時にハイライトしたい場合（任意） */
#circle-list table tbody tr:hover {
  background-color: #ffd600;
}

/* 1列目（ヘッダー＆データ）の背景色を淡いグレーに */
#circle-list th:nth-child(1),
#circle-list td:nth-child(1) {
  font-weight: bold;
  font-size: 0.9rem;
}

/* 2列目は文字色を青に */
#circle-list th:nth-child(2),
#circle-list td:nth-child(2) {
  width:40%;
  font-size:0.8rem;
}

/* 3列目は幅を固定 */
#circle-list th:nth-child(3),
#circle-list td:nth-child(3) {
  display:none;
}

/* 4列目以降も同様に続けられます */
#circle-list th:nth-child(5),
#circle-list td:nth-child(5) {
  display:none;
}

#circle-list th:nth-child(4),
#circle-list td:nth-child(4) {
  font-size:0.7rem;
}
#circle-list th:nth-child(6),
#circle-list td:nth-child(6) {
  font-size:0.7rem;
}

.count {
  font-size:0.8rem;
  font-weight:bold;
}
/* スマホ向けレスポンシブ */
@media screen and (max-width: 768px) {
  /* フィルターを縦並びに */
  .filter-container {
    flex-direction: column;
    gap: 1rem;
  }
  .filter-group,
  .filter-group1,
  .filter-group2 {
    width: 100%;
    max-width:100%;
  }

  /* フォント・パディングを若干縮小 */
  #circle-list th,
  #circle-list td {
    padding: 0.3rem;
    font-size: 0.85rem;
  }
  #circle-list th:nth-child(6),
  #circle-list td:nth-child(6) {
  display:none;
  }
  #circle-list th:nth-child(4),
  #circle-list td:nth-child(4) {
  display:none;
  }
  #circle-list th:nth-child(3),
  #circle-list td:nth-child(3) {
  display:none;
  }
  #circle-list th:nth-child(5),
  #circle-list td:nth-child(5) {
  display:none;
  }
  #circle-list th:nth-child(2),
  #circle-list td:nth-child(2) {
  width:60%;
  }

}
.xss {
  font-size:xx-small;
  margin-bottom:1rem !important;
}