:root {
  --font-main: 'Noto Sans JP', sans-serif;
  --color-main: #f7fdfc;
  --color-text: #2c3e50;
  --color-accent: #2a9d8f;
  --color-muted: #95a5a6;
  --color-card-bg: #ffffff;
  --color-card-shadow: rgba(0, 0, 0, 0.1);
  --border-radius: 12px;
}

/* 全体フォントとベース */
body {
  font-family: var(--font-main);
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.7;
  background-color: var(--color-main);
  margin: 0;
  padding: 0;
}

/* ヘッダー系調整 */
#header-section {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* カードデザイン (※未使用の可能性が高いですが、他のページで共通利用されている可能性を考慮しコメントアウトで残します) */
/*
.card {
  background-color: var(--color-card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px var(--color-card-shadow);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
*/

/* ボタン調整 */
button, .btn {
  border-radius: var(--border-radius);
  background-color: var(--color-accent);
  color: #fff;
  border: none;
  padding: 0.5em 1.2em;
  font-size: 1em;
  transition: background-color 0.3s ease;
}
button:hover, .btn:hover {
  background-color: #21867a;
}

/* フェードイン */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* レスポンシブ調整 (※.cardのスタイルは未使用の可能性) */
@media (max-width: 768px) {
  body {
    font-size: 15px;
  }
  /*
  .card {
    padding: 1.2rem;
  }
  */
}

#contents {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
  box-sizing: border-box;
}

/* ▼▼▼ タブと表のデザイン ▼▼▼ */

/* タブ全体のコンテナ（強力なセレクタに変更） */
h2#theme-list-area.list-head {
  display: flex; 
  flex-wrap: wrap; 
  gap: 8px; 
  margin-bottom: 10px; 
  margin-top: 30px;
}

/* 各タブの基本スタイル */
.list-head > span {
  display: inline-flex; 
  align-items: center; 
  background-color: #4a4a4a; 
  color: #ffffff; 
  padding: 8px 16px; 
  border-radius: 6px; 
  font-size: 16px;
  font-weight: bold;
  gap: 8px; 
  cursor: pointer;
  transition: background-color 0.2s; 
}

/* タブのホバー（マウスを乗せた時）のスタイル */
.list-head > span:hover {
  background-color: #6a6a6a;
}

/* アイコンの画像スタイル */
.list-head > span img.img-responsive {
  width: auto; 
  height: 1.1em; 
  max-width: none; 
  display: inline-block; 
}

/* 表を角丸の四角で囲むためのスタイル */
.accordionList-wrap {
    background-color: #ffffff; 
    border: 1px solid #ddd; 
    border-radius: 12px;
    padding: 8px;             
    overflow: hidden;         
	box-shadow: 0 2px 5px rgba(0,0,0,0.05); 
	margin-bottom:2em;
}
.accordionList-wrap .table {
    margin-bottom: 0; 
}

/* ▼▼▼ 見出しとセクションの新しいデザイン ▼▼▼ */
.content-section {
	background-color: #ffffff;
	border: 1px solid #e0e6ed;
	border-radius: 12px;
	padding: 2rem;
	margin-top: 2rem;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.section-title {
	font-size: 1.5rem;
	font-weight: 700;
	margin: -2rem -2rem 1.5rem -2rem;
	padding: 1rem 2rem;
	border-bottom: 1px solid #e0e6ed;
	background-color: #f8fafc;
	border-radius: 12px 12px 0 0;
}

/* 主催セクションのレイアウト */
.sponsor-wrapper {
	/* PC表示ではFlexboxで横並びにする */
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start; /* 上揃え */
	gap: 2rem;
}
.sponsor-text {
	flex: 2;
	min-width: 300px;
}
.sponsor-text p {
	font-weight: 300;
	color: #555;
	line-height: 1.8;
}
.sponsor-profile {
	flex: 1;
	min-width: 220px;
	text-align: center;
}
.sponsor-image img {
	max-width: 180px;
	border-radius: 8px;
	margin: 0 auto; /* 中央揃え */
}
@media (min-width: 768px) {
  .sponsor-image img {
    max-width: 240px;
  }
}
.sponsor-link {
	margin-top: 1.5rem;
}


/* 運営メンバーのレイアウト */
.member-group {
	margin-bottom: 2rem;
}
.member-group:last-child {
	margin-bottom: 0;
}
.member-group h3 {
	font-size: 1.1rem;
	font-weight: 700;
	color: #00796b;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
}
.member-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 1.5rem;
}
.member-card {
	display: flex;
	align-items: center;
	gap: 1rem;
}
.member-card img {
	width: 90px;
	height: 90px;
	border-radius: 50%;
	object-fit: cover;
	background-color: #f0f0f0;
	object-position: 50% 10%;
}
.member-info .name {
	font-weight: 700;
}
.member-info .affiliation {
	font-size: 0.9em;
	color: #555;
	line-height: 1.4;
}

/* スマホ用のレイアウト調整 */
@media (max-width: 768px) {
	.content-section {
		padding: 1.5rem;
	}
	.section-title {
		font-size: 1.25rem;
		margin: -1.5rem -1.5rem 1.5rem -1.5rem;
		padding: 0.8rem 1.5rem;
	}
	/* スマホではFlexboxを解除して縦並びにする */
	.sponsor-wrapper {
		display: block;
	}
	.sponsor-profile {
		margin-top: 2rem; /* テキストとプロフィールの間に余白を追加 */
	}
}

.cta-button {
	display: inline-flex;
	align-items: center;
	flex-direction: column;
	gap: 5px;
	background-color: transparent;
	color: var(--color-accent);
	padding: 5px 10px;
	border-radius: 5px;
	text-decoration: none;
	font-size: 0.9em;
	font-weight: 400;
	transition: all 0.2s ease-in-out;
	border: 1px solid var(--color-accent);
	box-shadow: none;
}
.cta-button:hover {
	background-color: #e0f2f1;
	color: var(--color-accent);
	text-decoration: none;
	transform: none;
	box-shadow: none;
	border-color: #00796b;
}
.cta-button i {
	font-size: 0.8em;
}

.site-notice {
	font-size: 13px;      /* ★全体をさらに小さく */
	font-weight: 300;     /* ★全体を細く */
	color: #666;
	line-height: 1.6;
	background-color: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 8px;
	padding: 1rem 1.5rem;
	margin-top: 2rem;
}
.site-notice p {
	margin: 0 0 0.5em 0;
	padding: 0;
}
.site-notice p:last-child {
	margin-bottom: 0;
}
.site-notice a {
	/* 親要素のfont-weightを継承して細字に */
	text-decoration: underline;
}
.site-notice .site-notice-subtext {
	font-size: 12px;
	/* text-align: center; を削除して左揃えに */
	margin-top: 0.8em;
	opacity: 0.8;
}

/* ログインフォーム_start */
form#loginform_new {
  max-width: 420px;
  margin: 1em auto 2em;
  padding: 1em 2em;
  background: #fff;
  border-radius: 5px;
}
form#loginform_new h1 {
  text-align: center;
  font-size: 22px;
  margin-top: 0;
  margin-bottom: 2em;
  font-weight: 700;
}
form#loginform_new h1 small {
  line-height: 1.6;
  margin-top: 0.5em;
  display: block;
}
.group {
  position: relative;
  margin-bottom: 18px;
}
form#loginform_new input:-internal-autofill-selected {
  background-color: #fff !important;
}
form#loginform_new input {
  font-size: 16px;
  padding: 10px;
  -webkit-appearance: none;
  display: block;
  color: #636363;
  width: 100%;
  border: 1px solid #b6b6b6;
  border-radius: 5px;
}
form#loginform_new input:focus {
  border-color: #0ca800;
  outline: 0;
  box-shadow: 0 0 1px #0ca800;
}
form#loginform_new input::placeholder {
  color: #a1a1a1;
}
form#loginform_new input:focus::placeholder {
  color: #cacaca;
}
#webcustomer_status {
  color: #f3332e;
  margin-bottom: 18px;
  font-size: 14px;
}
.passTxt {
  text-align: center;
  -webkit-font-smoothing: subpixel-antialiased;
  font-size: 14px;
}
.buttonLogin {
  position: relative;
  display: inline-block;
  padding: 12px 24px;
  margin: 0;
  width: 100%;
  vertical-align: middle;
  color: #fff;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  letter-spacing: 1px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid #0d8301;
  cursor: pointer;
  transition: all 0.15s ease;
  border-radius: 5px;
  background: #0ca800;
  text-shadow: 1px 1px 0 rgb(13 131 1);
  transition: all 0.15s ease;
  font-weight: 700;
}
.buttonLogin:hover {
  background: #0a9400;
  transition: all 0.15s ease;
}
.buttonLogin:active {
  background: #087d00;
}
.buttonLogin:focus {
  outline: 0;
}
.login-line {
  border-bottom: 1px solid #dadde1;
  margin: 58px 0 24px;
  position: relative;
}
.login-line span {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 0 10px;
  background: #fff;
  color: #777;
  font-size: 14px;
  white-space: nowrap;
}
.signUp {
  text-align: center;
}
.signUp a {
  border: 1px solid;
  padding: 6px 20px;
  border-radius: 5px;
  display: inline-block;
  transition: all 0.15s ease;
  color: #018000;
  font-size: 14px;
}
.signUp a:hover {
  background: #ebf7ea;
  text-decoration: none;
}
.modal-header {
  border-bottom: none;
}
/* ログインフォーム_end */
/* ホーム画面へ追加_start */
.add-home-style {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5em;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: clamp(12px, 3vw, 15px);
  display: none;
}
.add-home-style .glyphicon-remove-circle,
.add-home-style .text-primary {
  cursor: pointer;
}
.add-home-style .glyphicon-remove-circle:hover,
.add-home-style .text-primary:hover {
  opacity: 0.6;
}
.add-home-style small {
  font-size: x-small;
}
.add-home-style .img-hitsuji {
  max-height: 50px;
  border: 1px solid #b3b5b6;
  border-radius: 10px;
}
.add-home-style .install-message img {
  height: 10px;
}
/* ホーム画面へ追加_end */

.table.table-striped tbody tr[data-href] {
   cursor: pointer;
}
.table.table-striped tbody tr[data-href]:hover td{
	background-color: #f5fff5 !important;
}

.newicon{width:27px;}
.newicon img{width:20px;}

.classification{border-radius:3px;padding:5px 1em;font-size:12px;color:white;}
span.organ{background-color:#333;}
span.dificulty{background-color:#009999;}
.caseno{font-size:14px;font-weight:bold;}
.movieupdate{font-size:11px;text-align:right;}
.midashi{position:relative;top:-2px;left:5px;}

.dificulty_checkbox{margin-left:1em;}

.play_active{color:blue;}
.play_notactive{color:gray;}
.thumbnail_movie{padding:1px;}

p.complement{padding:1em;}


#theme-list-area .notselected{background-color:silver;}



/*おすすめ書籍*/
.department .series-box {
	max-width: 100%;
}

.series-box {
  margin-top: 3em;
  border: #73c29a 3px solid;
  font-weight: bold;
  border-radius: 5px;
  background: #fff;
  max-width: 860px;
  margin-inline: auto;
	position: relative;
	margin-bottom:3em;
}

.series-container::before {
  content: attr(data-text) "";
  position: relative;
  top: 0px;
  left: 0;
  background: #73c29a;
  padding: 7px 14px 9px;
  font-size: 1.5rem;
  font-weight: 400;
  border-radius: 0 0 5px;
  color: #fff;
  line-height: 1.4;
  text-align: center;
  font-weight: 500;
}
.series-inner {
  display: grid;
  justify-content: center;
  grid-template-columns: repeat(4, 120px);
  gap: 25px;
  padding: 40px 20px 30px;
}
.series-inner a {
  color: inherit;
}
.series-inner p {
  font-size: 12px;
  line-height: 1.4;
  margin-top: 8px;
  margin-bottom: 0;
  font-weight: 400;
  font-family: var(--font-notosans);
  text-indent: 0;
}

.series-box.subscription .series-inner {
  grid-template-columns: auto;
  padding: 10px 20px 30px;
}
.series-box.subscription .series-inner p {
  margin: 0 0 15px;
  font-weight: 700;
  font-size: max(12px, min(1.5vw, 14px));
  text-align: center;
  color: #666;
}
.series-box.subscription .series-inner img {
  max-width: 310px;
}

@media (max-width: 640px) {
  .series-container::before {
    display: block;
    border-radius: 0;
    top: 0px;
  }
  .series-container::before {
    padding: 4px 14px 7px;
  }

  .series-inner {
    padding: 30px 15px 30px;
    grid-template-columns: repeat(2, 120px);
    gap: 20px;
  }
}

.login-here{cursor:pointer;}