/* 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: 1px solid #ccc;
	padding-left: 1rem;
  padding-bottom: 1rem;
  padding-top: 1rem;
  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-bottom: 1rem;
  padding-left:1rem;
  padding-top: 1rem;
  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 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;
  transition: background-color .2s, color .2s;
  width:fit-content;
}

/* ホバー時 */
.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;
}

.copy{
  width:80%;
  filter: drop-shadow(0 0 2px #ccc);
}

/* レスポンシブ */
@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;
}

.redb {
  color: #e74c3c;
  font-weight: bold;
}

.f-10 {
  font-size: 10px !important;
  line-height: 1.6 !important;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
}

.f-10 br {
  line-height: 0.9 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.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;
  margin-top:1rem;
}

.card-col1 dd{
  margin-left: 1rem;
  margin-bottom: 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;
}


.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;
  padding: 0.5rem;
  border-radius: 4px;
  max-width: 200px;
}
.filter-group h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}
.filter-group label {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 0. ninerem;
}
.sml {
  font-size:small;
}

.event{
  width:300px;
  filter: drop-shadow(0 0 2px #ccc);
  margin:0.5rem;
  margin-bottom:0;
}
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ■ モバイル（幅768px未満）は縦並び＋左インデント
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.event-table {
  display: block;
  margin-left: 2rem;
  width: calc(100% - 2rem);
  margin-bottom: 1rem !important;
}

.event-table th,
.event-table td {
  width: 340px;
  padding: 0.5rem !important;
}

.event-txt {
  font-weight: bold;
  padding-left: 1rem !important;
}

@media screen and (min-width: 768px) {
  .event-table {
    display: inline-block;      /* インラインブロックに変更 */
    vertical-align: top;        /* 上揃え */
    padding-left: 2rem;         /* PC でも左に2remインデントを残したい場合 */
    width: calc(50% - 8px);     /* ２列で左右に余白を残す例 */
    margin: 0 8px 16px 0;       /* 上:0 / 右:8px / 下:16px / 左:0 */
  }

  /* 偶数番目（＝２列目）の右マージンをゼロにして詰める */
  .event-table:nth-of-type(2n) {
    margin-right: 0;
  }
}
.kaisetu {
  width:400px;
  margin-top:1rem; 
  max-width:100%;
}