/* =============================================================
   全体レイアウト設定
============================================================= */
body {
    margin: 0px;
    padding: 0px;
    color: #FFFFFF;
    font-family:"ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;	/*フォント種類*/
    font-size: 15px;
    line-height: 1.5;
    background: #FFFFFF;
}

h1, h2, h3, h4, h5, p, ul, ol, li, dl, dt, dd, form, figure {margin: 0px; padding: 0px; font-size: 100%;}
ul {list-style-type: none;}
img {border: none; max-width: 100%; height: auto; vertical-align: middle;}
table {border-collapse: collapse; font-size: 100%; border-spacing: 0;}

/* =============================================================
   ヘッダー（ロゴエリア）
============================================================= */
header {
    background: #FFFFFF;        /* 背景色を白に変更（黒にする場合は #000 ） */
    padding: 10px 0;            /* 上下の余白 */
    border-bottom: 1px solid #E0E0E0;
}

.header-inner {
    max-width: 1200px;          /* コンテンツ幅に合わせる（1400pxなどに変更可） */
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between; /* ロゴを左、テキストを右端に配置 */
    align-items: center;        /* 上下中央揃え */
    box-sizing: border-box;
}

/* ロゴのサイズ固定と左寄せ設定 */
.logo img {
    height: 45px;               /* ロゴの高さを指定（35px〜50px程度がおすすめ） */
    width: auto;                /* 縦横比を維持 */
    display: block;
}

/* 右側の補足テキスト（必要な場合） */
.header-text {
    font-size: 11px;
    color: #666666;
    text-align: right;
}

/*トップメニュー
---------------------------------------------------------------------------*/
/*トップブロック*/
#topmenubar {
	clear: both;
    overflow: hidden;
	background: #191919;	/*背景色（古いブラウザ用）*/
	background: linear-gradient(#5e5e5e, #3c3c3c 49%, #191919 50%);		/*グラデーション*/
}
/*メニュー１個あたりの設定*/
#topmenubar li {
	float: left;	/*左に回り込み*/
	width: 25.00%;	/*メニュー幅（100÷6個=16.66%） もし４個にするなら100÷4=25%になる。*/
}
#topmenubar li a {
	display: block;
    text-decoration: none;
	text-align: center;	/*文字をセンタリング*/
	font-weight: bold;	/*太字に*/
	border-right: 1px solid #000;	/*メニューの右側の線の幅、線種、色*/
	line-height: 1.6;	/*行間を少し狭く*/
	padding: 14px 0;	/*上下、左右へのメニュー内への余白*/
	text-shadow: 1px 1px 0px rgba(0,0,0,0.6);	/*テキストの影。右に、下に、広げる幅、0,0,0は黒の事で0.6は色が60%ついた状態。*/
	color: #fff;	/*文字色*/
}
/*１つ目のメニューへの追加設定*/
#topmenubar li:first-child a {
	border-left: 1px solid #000;	/*メニューの線の幅、線種、色*/
}
/*装飾文字（英語表記）の設定*/
#topmenubar li a span {
	text-shadow: none;
    display: block;
	font-size: 9px;			/*文字サイズ*/
	font-weight: normal;	/*文字を太字でなく標準に戻す設定*/
	letter-spacing: 0.2em;	/*文字間隔を少しあける設定*/
	opacity: 0.5;			/*透明度50％*/
}
/*マウスオン時メニューの設定*/
#topmenubar li a:hover {
	background: #333;	/*背景色*/
	color: #fff; /*文字色*/
}
/*現在表示中(current)メニューの設定*/
#topmenubar li.current a {
	background: linear-gradient(#5e5e5e, #3c3c3c 49%, #191919 50%);		/*背景色*/
	color: #fff;
	text-shadow: none;
}
/*スマホ用メニューを表示させない*/
#topmenubar-s {display: none;}
/*３本バーアイコンを表示させない*/
#topmenubar_hdr {display: none;}

/* =============================================================
   トップイメージ
============================================================= */
.top-image {
    width: 100%;
    height: 200px;
    background: url('/"../image/logo/logo.png"') no-repeat center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    margin-top: 0;
}


/* =============================================================
   メインコンテンツとサブメニュー
============================================================= */
.container {
    display: flex;
    justify-content: flex-start; /* 左詰めで配置 */
    align-items: flex-start;
    width: 95%;                  /* 画面幅に合わせて伸縮 */
    max-width: 1400px;           /* 最大幅を1200px→1400pxに拡張（好みに応じて変更） */
    margin: 20px auto 0;
    padding: 0;                  /* 余計な左右パディングを削除 */
    gap: 30px;                   /* サブとメインの間の固定隙間 */
    box-sizing: border-box;
}

#sub, #side {
    width: 280px;                /* サブメニューの幅を固定 */
    flex-shrink: 0;              /* メインが広がっても縮まないように固定 */
    background: #FFFFFF;
    padding: 10px;
    border-radius: 10px;
    color: #333;
    box-shadow: none;
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

#main {
    flex: 1;                     /* 残りの画面幅をすべてメインエリアが使用 */
    width: 100%;
    padding: 0;                  /* パディングを削除して最大まで広げる */
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

#sub ul li {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    border-bottom: 1px solid #444;
}

#sub ul li img {
    width: 30px;
    height: 30px;
    margin-left: 0px;
    object-fit: cover;
    border-radius: 5px;
}

#sub h3, #side h3 {
    clear: both;
    text-align: center;
    background: #0021AB;
    border-radius: 10px 10px 0 0; /* 左上・右上だけ10px丸くする */
    overflow: hidden;
    margin-bottom: 5px;
    padding: 6px 15px; /* 上下、左右への余白 */
    font-size: 16px; /* 文字サイズ */
    color: #FFFFFF;  /* 見出しの文字色 */
    width: 100%;     /* 幅を親要素に合わせる */
    box-sizing: border-box;
}

#sub h3:hover, #side h3:hover {
    transform: scale(1.05);
}

.btn:hover {
    display: block;
    text-align: center;
    background: #0021AB;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(255, 0, 0, 0.8), rgba(255, 255, 255, 0.5));
    color: white;
    padding: 5px;
    margin: 5px auto;
    text-decoration: none;
    border-radius: 5px;
    width: 100%;
}

/* --- サブメニュー：リストカード配置用の追加スタイル --- */
#sub .list {
    width: 100%;
}

#sub .list a {
    display: flex;             /* 画像とテキストを横並びに */
    align-items: center;       /* 上下中央揃え */
    padding: 12px 0;           /* 上下余白 */
    border-bottom: 1px solid #E0E0E0; /* 灰色の区切り線 */
    text-decoration: none;     /* 下線を消す */
    color: #333333;
}

#sub .list:last-child a {
    border-bottom: none;       /* 一番下の枠線は消す */
}

#sub .list figure {
    flex: 0 0 50px;            /* アイコン枠の幅（固定） */
    margin: 0 10px 0 0;        /* 右側に隙間 */
}

#sub .list figure img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

#sub .list .text {
    flex: 1;                   /* テキストエリアが余白を埋める */
}

#sub .list h4 {
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 3px 0;
    color: #0021AB;            /* メインカラーに合わせた濃い青 */
    line-height: 1.3;
}

#sub .list p {
    font-size: 11px;
    margin: 0;
    color: #666666;
    line-height: 1.3;
}

#main {
    flex: 1;
    max-width: 100%;
    padding: 15px;
    display: flex;
    flex-direction: column;
}
/* =============================================================
   カードレイアウト（1列→2列→3列）
============================================================= */
.card-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.card-row {
    display: grid;
    gap: 20px;
    width: 100%;
}

.one-column { grid-template-columns: 1fr; }
.two-columns { grid-template-columns: repeat(2, 1fr); }
.three-columns { grid-template-columns: repeat(3, 1fr); }

.card {
    background: #1E1E1E;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(255, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out;
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
}

.card:hover {
    transform: scale(1.05);
}

.card .btn {
    display: block;
    text-align: center;
    background: #0021AB;
    color: white;
    padding: 10px;
    margin: 10px auto;
    text-decoration: none;
    border-radius: 5px;
    width: 90%;
}

.card .btn:hover {
    background: #0021AB;
}

/* =============================================================
   カードレイアウト（1列→2列→3列）
============================================================= */
.card2 {
    background: #1E1E1E;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 0px 10px rgba(255, 0, 0, 0.5);
    transition: transform 0.3s ease-in-out;
    width: auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
}

.card2:hover {
    transform: none;
}

.card2 .btn {
    display: block;
    text-align: center;
    background: #0021AB;
    color: white;
    padding: 10px;
    margin: 10px auto;
    text-decoration: none;
    border-radius: 5px;
    width: 90%;
}

.card2 .btn:hover {
    background: #0021AB;
}

/* サムネイル画像コンテナ（アスペクト比固定） */
.card2 img {
    width: 100%;
    aspect-ratio: 21 / 11;   /* ← アスペクト比を固定 */
    object-fit: cover;      /* はみ出し部分をトリミングして中央寄せ */
    border-radius: 8px;
    margin-bottom: 10px;
}

/* =============================================================
   レスポンシブ対応（#main → #sub → #side の順番）
============================================================= */
@media screen and (max-width: 768px) {
    .container {
        flex-direction: column; /* 縦並びに変更 */
        align-items: stretch;    /* 子要素を横幅いっぱいに広げる */
        padding: 15px 10px;      /* スマホ用に外側余白を調整 */
        gap: 20px;               /* 縦に並んだ時の要素間の隙間 */
    }

    #main {
        order: 1;                /* メインを一番上に配置 */
        width: 100%;
        max-width: 100%;
        padding: 0;
        box-sizing: border-box;
    }

    #sub {
        order: 2;                /* サブメニューを2番目に配置 */
        width: 100%;             /* PC側の固定幅(280px等)を打ち消して100%に */
        max-width: 100%;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    #side {
        order: 3;                /* サイドを3番目に配置 */
        width: 100%;             /* PC側の固定幅を打ち消して100%に */
        max-width: 100%;
        display: flex;
        flex-direction: column;
        box-sizing: border-box;
    }

    .card-row {
        grid-template-columns: 1fr;
    }

    .hide-sp {
        display: none;
    }
}
/*テーブル
---------------------------------------------------------------------------*/
th {
  cursor: pointer;
  position: relative;
  padding-right: 20px;
}

th::after {
  content: "\2195";
  position: absolute;
  right: 5px;
  color: #999;
  font-size: 12px;
}

th.sorted-asc::after {
  content: "\2191";
  color: #fff;
}

th.sorted-desc::after {
  content: "\2193";
  color: #fff;
}

.ta1 caption {
	border: 1px solid #ccc;
	border-bottom: none;
	text-align: left;
	background: #DADADA;
	color: #000000;
	font-weight: bold;
	padding: 10px;
}

/*ta1設定*/
.ta1 {
	width: 100%;
	margin: 0px auto 0px;
}
.ta1, .ta1 td, .ta1 th {
	border: 1px solid #ccc;
	padding: 5px 5px;
	color: #000000;
	text-align: left;
	word-break: break-all;
}

.ta1 th {
	width: 140px;
	text-align: left;
	font-weight: normal;
	padding: 1px 10px;
}

/*ta4設定*/
.ta4 {
	width: 100%;
	margin: 0 auto 0px;
	font-size: 14px;
	color: #fff;
}
.ta4, .ta4 th {
	border: 1px solid #ccc;
	padding: 10px 15px;
	text-align: center;
	background: #0033FF;
	word-break: break-all;
}

.ta4 td {
	border: 1px solid #ccc;
	padding: 10px 15px;
	text-align: center;
	background: #FFF;
	word-break: break-all;
	color: #666;
	font-size: 12px;
}

/*ta5設定*/
.ta5 {
	width: 100%;
	margin: 0px;
}
.ta5, .ta5 th {
	border: 0px solid #ccc;
	padding: 10px 15px;
	text-align: center;
	word-break: break-all;
}

.ta5 td {
	border: 0px solid #ccc;
	margin: 0px;
	padding: 10px 15px;
	text-align: center;
	word-break: break-all;
}

.ta5 th {
	width: 140px;
	text-align: center;
	font-weight: normal;
}

/*ta6設定*/
.ta6 {
	width: 100%;
	margin: 0 auto 0px;
	font-size: 15px;
	color: #fff;
}
.ta6, .ta6 th {
	border: 1px solid #ccc;
	padding: 10px 10px;
	text-align: left;
	background: #D7F8FF;
	word-break: break-all;
	color: #666;
	font-size: 14px;
}

.ta6 td {
	border: 1px solid #ccc;
	padding: 10px 10px;
	text-align: left;
	background: #FFF;
	word-break: break-all;
	color: #666;
	font-size: 12px;
}

/*mainコンテンツ（見出し等）
---------------------------------------------------------------------------*/
#main h2 {
	clear: both;
	margin-top: 10px;
	margin-bottom: 0px;
	padding: 10px 15px;
	font-size: 16px;
	background: #191919;
	background: linear-gradient(#5e5e5e, #3c3c3c 49%, #191919 50%);
	border-bottom: 3px solid #0021AB;
	color: #fff;
}

#main h3 {
	clear: both;
	margin-bottom: 10px;
	padding: 4px 15px;
	font-size: 16px;
	border: 1px solid #ccc;
}

#main h3::first-letter {
	border-left: 3px solid #0b24c2;
	padding-left: 15px;
}

#main h5 {
	clear: both;
	margin-bottom: 0px;
	padding: 6px 15px;
	font-size: 16px;
	border: 1px solid #ccc;
}

#main h5::first-letter {
	border-left: 3px solid #0b24c2;
	padding-left: 15px;
}

#main h6 {
	clear: both;
	margin-top: 5px; /* 全角スペース削除 */
	margin-bottom: 0px;
	padding: 6px 15px;
	font-size: 16px;
	border: 1px solid #ccc;
}

#main h6::first-letter {
	border-left: 3px solid #0b24c2;
	padding-left: 15px;
}

#main p {
	padding: 0px 15px 5px;
}
#main h2 + p,
#main h3 + p {
	margin-top: -10px;
}
#main section + section {
	margin-top: 30px;
}

/*カード用*/
.killer-table {
  overflow-x: auto;
  margin-top: 20px;
}

.killer-table table {
  width: 100%;
  border-collapse: collapse;
}

.killer-table th, .killer-table td {
  padding: 10px;
  border: 1px solid #666;
  text-align: center;
}

.killer-table th {
  background-color: #333;
  color: #fff;
}

.killer-table .btn {
  background: crimson;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  text-decoration: none;
}

/*キラータブアイコン用*/
.center-tabs {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 30px 0;
}

.tab-btn {
  background-color: #222;
  border: none;
  border-radius: 30px;
  padding: 10px 20px;
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 0 8px rgba(255, 0, 0, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.tab-btn img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.tab-btn:hover {
  background-color: #0021AB;
}

.tab-item {
  text-align: center;
  cursor: pointer;
  color: #fff;
  transition: transform 0.2s;
  padding: 15px;
  border-radius: 20px;
  background: #1e1e1e;
  box-shadow: 0 0 12px rgba(255, 0, 0, 0.4);
}

.tab-item img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid #0021AB;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

.tab-item span {
  display: block;
  margin-top: 12px;
  font-size: 20px;
  font-weight: bold;
}

.tab-item:hover {
  transform: scale(1.08);
  background: #0021AB;
}

/*キラーアイコン設定用*/
.killer-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

@media screen and (max-width: 600px) {
  .killer-icon {
    width: 30px;
    height: 30px;
  }
}

.killer-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.killer-name {
  font-size: 14px;
  color: white;
}

/*マップランダム指定用*/
.map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.map-card {
  background: #1e1e1e;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 10px #0021AB;
  transition: transform 0.3s;
}

.map-card:hover {
  transform: scale(1.05);
}

.map-card img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.map-card label {
  display: block;
  margin-top: 8px;
  color: white;
}

/*マップアコーディオン用*/
.accordion-content {
  display: none;
  background: #1a1a1a;
  padding: 10px;
}

.accordion-content.open {
  display: block;
}

.accordion-header {
  cursor: pointer;
  background: #2c2c2c;
  color: white;
  padding: 12px;
  font-weight: bold;
  border-bottom: 1px solid #444;
}

.accordion-header:hover {
  background: #444;
}

.group-radio {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.group-radio label {
  color: white;
  background: #2a2a2a;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.group-radio input[type="radio"] {
  margin-right: 5px;
}

.group-radio label:hover {
  background: #444;
}

/*抽選結果と抽選ボタン配置用*/
.draw-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.draw-buttons button {
  padding: 10px 15px;
  border: none;
  background: #0021AB;
  color: white;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
}

.draw-buttons button:hover {
  background: #0021AB;
}

#resultArea {
  text-align: center;
  margin-top: 20px;
}

.reset-controls {
  text-align: center;
  margin-top: 15px;
}

.reset-controls button {
  background: #555;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 5px;
  cursor: pointer;
}

.reset-controls button:hover {
  background: #777;
}

/* キラー・マップ脱出率表グラフラベル */
.bar-graph {
  position: relative;
  background-color: #e0e0e0;
  width: 100px;
  height: 14px;
  border-radius: 7px;
  overflow: hidden;
  margin-top: 4px;
}

.bar {
  height: 100%;
  background-color: #4caf50;
  border-radius: 7px 0 0 7px;
}

.bar-label {
  font-size: 12px;
  color: #333;
  margin-left: 6px;
  display: inline-block;
}

.killer-escape-table, .map-escape-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  font-size: 14px;
}

.killer-escape-table th, .killer-escape-table td,
.map-escape-table th, .map-escape-table td {
  border: 1px solid #ccc;
  padding: 8px 12px;
  text-align: center;
  vertical-align: middle;
}

.killer-cell, .map-cell {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-start;
  white-space: nowrap;
}

.killer-name {
  font-weight: bold;
  font-size: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100px;
}

.map-icon {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}

.bar-container {
  display: flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 600px) {
  .killer-name {
    font-size: 13px;
  }
  .killer-cell {
    gap: 4px;
  }
  .bar-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .bar-graph {
    width: 70px;
    height: 10px;
  }
  .bar-label {
    font-size: 11px;
    margin-left: 0;
  }
  .killer-escape-table td, .map-escape-table td {
    padding: 6px 4px;
  }
  .map-escape-table {
    font-size: 12px;
  }
}

/* カード表示のレスポンシブ設定 */
@media screen and (max-width: 768px) {
  .card-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 480px) {
  .card-row {
    grid-template-columns: 1fr;
  }
}

.card img {
  max-height: 120px;
  object-fit: cover;
}

/* トップページの説明欄*/
.page-desc {
  background: #1E1E1E;
  padding: 8px 8px;
  margin: 8px 0 8px;
  border-left: 6px solid #0021AB;
  color: #ddd;
  font-size: 15px;
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(220, 20, 60, 0.3);
}

.icon-x {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
  display: block;
  margin: 0 auto;
}

/* キャラカード欄*/
.rp-card-with-img {
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #1f1f1f;
  border-radius: 16px;
  padding: 1rem;
  margin: 1.5rem auto;
  color: #fff;
  max-width: 800px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}

.rp-image-box {
  flex-shrink: 0;
}

.rp-image-box img {
  height: 200px;
  width: auto;
  border-radius: 12px;
  margin-right: 1rem;
  display: block;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
}

.rp-info-box {
  flex: 1;
  min-width: 0;
}

.rp-info-box h2 {
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
  line-height: 1.2;
  word-break: keep-all;
}

.rp-info-box p {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .rp-card-with-img {
    flex-direction: column;
    align-items: flex-start;
  }

  .rp-image-box img {
    margin: 0 auto 1rem;
    height: 180px;
  }

  .rp-info-box {
    width: 100%;
    text-align: left;
    padding: 0 1rem;
  }
}

/*パークアイコン*/
.perk-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
}
.ten-columns {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}
@media (max-width: 768px) {
  .ten-columns {
    grid-template-columns: repeat(3, 1fr);
  }
}
.card label {
  display: block;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
  cursor: pointer;
}
.controls {
  margin: 10px 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.controls button {
  padding: 5px 10px;
  font-size: 14px;
  cursor: pointer;
}
.progress-bar-container {
  background-color: #ddd;
  border-radius: 5px;
  overflow: hidden;
  height: 20px;
  margin: 5px 0 15px;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(to right, #e4007f, #ff66b2, #ffaad5);
  transition: width 0.3s;
}

#progressContainer {
  position: sticky;
  top: 0;
  background-color: #fff;
  z-index: 999;
  padding: 10px 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/*画面トップに戻る*/
#scrollTopBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: #0021AB;
  color: white;
  border: none;
  padding: 10px 14px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  display: none;
  transition: background-color 0.3s;
}

#scrollTopBtn:hover {
  background-color: #0021AB;
}

/*ギャラリー拡大用*/
.zoom-img {
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.zoom-img.active {
    position: relative;
    transform: scale(2) translate(0, 0);
    z-index: 999;
}

/* card2のクリックで拡大表示するオーバーレイ全体 */
.img-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* オーバーレイに表示する画像 */
.img-overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
    transform: scale(0.9);
    transition: transform 0.25s ease;
}

/* 表示時に拡大 */
.img-overlay.show img {
    transform: scale(1);
}

/* サムネ側に付けるクラス（カード内の画像） */
.zoomable {
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.zoomable:hover {
    opacity: 0.8;
}

/* =============================================================
   チェックリスト・分岐ツール用 追加設定
============================================================= */
.group-radio select {
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
}

.card.checked {
    opacity: 0.4;
    border: 1px solid #555 !important;
    box-shadow: none !important;
}

.card.danger-card {
    border: 1px solid #FF4444;
    box-shadow: 0px 0px 10px rgba(255, 68, 68, 0.6);
}

.card.danger-card:hover {
    box-shadow: 0px 0px 15px rgba(255, 68, 68, 0.9);
}

/* =============================================================
   更新情報エリア
============================================================= */
.news-area {
    color: #333333;       /* 全体の文字色を濃いグレー（黒）に上書き */
    width: 100%;
}

.news-list {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.news-list li {
    display: flex;               /* 日付とタイトルを横並びに配置 */
    align-items: center;         /* 上下中央揃え */
    padding: 12px 5px;           /* 上下の余白 */
    border-bottom: 1px solid #E0E0E0; /* 各行の下線区切り */
    font-size: 14px;
}

/* 日付エリアの設定 */
.news-list .date {
    width: 130px;                /* 日付部分の幅を固定 */
    flex-shrink: 0;              /* 幅が潰れないように設定 */
    color: #333333;              /* 日付の文字色 */
}

/* リンクタイトル部分の設定 */
.news-list a {
    color: #0021AB;              /* メインカラーの青文字 */
    text-decoration: underline;  /* 下線 */
}

.news-list a:hover {
    color: #001266;
    text-decoration: none;
}

/* 【重要なお知らせ】などの赤文字タグ */
.news-list .tag-red {
    color: #E60000;
    font-weight: bold;
    margin-right: 5px;
    flex-shrink: 0;
}