@charset "utf-8";
/*=====================================================================/
/リセット/クリア/単独設定
/=====================================================================*/
body, form, h1, h2, h3, h4, h5, h6, p, dl, dd, dt {
	margin: 0px;
	padding: 0px;
	font-size: 100%;
}
html,body {
	height: 100%;
	margin: 0;
	padding: 0;
	color: #4d4d4d;
	font-family: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
}
body {
	background-attachment: fixed;
}
iframe {
	border: 1px #cccccc solid;
}
a, img {border: 0; outline: none;}

/* 名前とメニューをまとめる親要素 */
.user-dropdown-group {
  position: relative; /* 子要素の基準位置にする */
  cursor: pointer;    /* クリックできる感触を出す */
  margin-right: 15px; /* ハンバーガーメニューとの間隔 */
}

.user-name {
  display: inline-block;
  padding: 5px;
}

/* --- ドロップダウンメニュー本体 --- */
.dropdown-menu {
  display: none; /* 最初は隠す */
  position: absolute;
  top: 100%; /* 名前の真下に配置 */
  right: 0;  /* 右揃え */
  width: 160px; /* メニューの幅 */
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* 影をつけて浮かせる */
  border-radius: 4px;
  border: 1px solid #ddd;
  padding: 10px 0;
  z-index: 200; /* 最前面に表示 */
}

/* 表示用のクラス（JSで付け外しする） */
.dropdown-menu.show {
  display: block;
}

/* メニュー内のリンクスタイル */
.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  color: #333; /* 添付画像の文字色に近い濃いグレー */
  text-decoration: none;
  font-size: 14px;
  transition: background 0.2s;
}

/* 添付画像のような青っぽい文字色にしたい場合 */
.dropdown-menu a {
  color: #2b7bb9; 
}

/* ホバー時の背景色 */
.dropdown-menu a:hover {
  background-color: #f5f5f5;
}

/*clearfix*/
.clearfix:after {
	clear:both;
	content:".";
	display:block;
	font-size:0.1em;
	height:0.1px;
	line-height:0;
	visibility:hidden;
}
.clearfix {
	min-height:1px;
	zoom:1;
}
.sampchart {
	width:100%;
	height: 400px;
}
.sampchartD {
	width:49%;
	height: 500px;
}
.sampchartL {
	width:100%;
	height: 600px;
}

* html .clearfix {height:1px;}
.clear {clear:both;}
a {color: #258fb8; text-decoration: none;}
a:hover {text-decoration: none;}
/*フォトカラー*/
.fc_red {color: #f00;}
.fc_pink {color: #ff5a95;}
/*フォントサイズ*/
.fs_10 {font-size: 10px !important;}
.fs_11 {font-size: 11px !important;}
.fs_12 {font-size: 12px !important;}
.fs_13 {font-size: 13px !important;}
.fs_14 {font-size: 14px !important;}
.fs_15 {font-size: 15px !important;}
.fs_16 {font-size: 16px !important;}
.fs_18 {font-size: 18px !important;}
.fs_20 {font-size: 20px !important;}
.fs_30 {font-size: 30px !important;}
/*行間*/
.lh_1 {line-height: 1 !important;}
.lh_11 {line-height: 1.1 !important;}
.lh_12 {line-height: 1.2 !important;}
.lh_13 {line-height: 1.3 !important;}
.lh_14 {line-height: 1.4 !important;}
.lh_15 {line-height: 1.5 !important;}
/*フォント太さ*/
.fw_normal {font-weight: normal !important;}
.fw_bold {font-weight: bold !important;}
/*テキスト縦位置*/
.ver_top {vertical-align: top !important;}
.ver_middle {vertical-align: middle !important;}
.ver_bottom {vertical-align: bottom !important;}
/*テキスト横位置*/
.al_left {text-align: left !important;}
.al_center {text-align: center !important;}
.al_right {text-align: right !important;}
/*左右振り分け*/
.fl_left {float: left;}
.fl_right {float: right;}
/*境界線*/
hr {
	height: 1px;
	margin: 1em 0;
	padding: 0;
	display: block;
	border: 0;
	border-top: 1px solid #ccc;
}
/*リスト共通ボックス*/
.free_box {
	height: auto;
	overflow: hidden;
}
.justhide {
	display: none
}
/*画像角丸*/
.img_corner {
	border-radius: 7px;
}
/*右端マージンクリア*/
.right {margin-right: 0 !important;}
/*コンテンツ左右余共通設定*/
.base_inner {
	padding: 0 10px;
}
/*余白【上】*/
.pt10 {padding-top: 10px !important;}
.pt15 {padding-top: 15px !important;}
.pt20 {padding-top: 20px !important;}
/*余白【下】*/
.pb10 {padding-bottom: 10px !important;}
.pb15 {padding-bottom: 15px !important;}
.pb20 {padding-bottom: 20px !important;}
/*余白【左】*/
.pl10 {padding-left: 10px !important;}
.pl15 {padding-left: 15px !important;}
.pl20 {padding-left: 20px !important;}
/*余白【右】*/
.pr10 {padding-right: 10px !important;}
.pr15 {padding-right: 15px !important;}
.pr20 {padding-right: 20px !important;}
/*リンク領域拡大*/
.box_link {
	cursor: pointer;
	-webkit-transition: background .25s;
	-moz-transition: background .25s;
	-o-transition: background .25s;
	-ms-transition: background .25s;
	transition: background .25s;
}
.box_link:hover {
	background: #cdf1ff;
}
.box_link:hover a {
	text-decoration: none;
}
.ordbt > th > a {
	color: #fff;
	font-size: 0.8em;
}
/*=====================================================================/
/ヘッダ
/=====================================================================*/
.head {
	border-top: 5px solid #e5e600;
}
.head_content {
	width: 945px;
	height: 80px;
	margin: auto;
	position: relative;
}
/*ロゴ*/
.head_content h1 {
	position: absolute;
	top: 13px;
	left: 10px;
}
/*ヘッダ右上バナー*/
.head_banner {
	position: absolute;
	top: 10px;
	right: 0;
}
.head_banner ul {
	margin: 0;
	padding: 0;
	list-style: none;
}
.head_banner li {
	margin-left: 10px;
	display: inline;
}
/*=====================================================================/
/フッタ
/=====================================================================*/
.foot {
	clear: both;
	background: #eee;
}
.foot_inner {
	width: 945px;
	margin: auto;
	padding: 20px 0;
}
/*=====================================================================/
/コンテンツ共通
/=====================================================================*/
.container {
	width: 945px;
	min-height: 100%;
	margin: auto;
}
/*=====================================================================/
/ホーム
/=====================================================================*/
/*ログイン*/
.login_content {
	width: 945px;
	height: 410px;
	margin: 0 auto 10px;
	background: url(../images/home/home_image.jpg) no-repeat 0 0;
	position: relative;
}
/*フォーム*/
.login_form_content {
	width: 199px;
	height: 236px;
	font-size: 12px;
	position: absolute;
	top: 90px;
	left: 555px;
}
.login_form_content form {
	margin: 0;
	padding: 0;
}
.login_form {
	margin: 0;
	padding: 0;
	list-style: none;
}
.login_text {
	margin-bottom: 10px;
	line-height: 1.3;
}
.login_text input {
	padding: 2px;
	border: 1px solid #dfdfdf;
}
.login_check {
}
.reminder {
	margin-bottom: 10px;
	font-size: 10px;
}
.login_button {
	text-align: center;
}
	padding: 5px;
	font-size: 14px;
	line-height: 1.3;
	border: 1px solid #999;
	border-top: none;
}
/*=====================================================================/
/ waste add start here
/=====================================================================*/
/* menu frame border */
.menufrmtop {
	border-color:#cccccc;
	border-width:1px;
	border-style:solid;
}

.menufrmleft {
	border-color:#cccccc;
	border-width:1px;
	border-style:solid;
}

.pagetit {
	font-size: 16pt;
	font-weight: bold;
}

.basetbl {
	margin: 8px;
	padding: 10px;
	border-collapse: collapse;
	border: 1px solid #666666;
	vertical-align: baseline;
}

.basetbl th {
	padding: 3px 5px 3px 5px;
	background-color: #cccccc;
	border: 1px solid #666666;
	vertical-align: baseline;
	font-size: 12pt;
}

.basetbl td {
	padding: 3px 5px 3px 5px;
	border: 1px solid #666666;
	vertical-align: baseline;
	font-size: 12pt;
}

.basetbl-checkbox {
	padding: 1px 1px 1px 1px;
	border: 1px solid #666666;
	text-align: center;
	width: 30px;
}

.okbtn {
	font-weight: bold;
	width: 80px;
}

.listtbl {
	border-collapse: collapse;
	border: 1px solid #666666;
	vertical-align: middle;
}

.listtbl th {
	padding: 1px 3px 1px 3px;
	background-color: #dddddd;
	border: 1px solid #666666;
	vertical-align: middle;
	font-size: 10pt;
}

.listtbl td {
	padding: 2px 3px 2px 3px;
	border: 1px solid #666666;
	vertical-align: middle;
	font-size: 10pt;
}
.logo {
  font-size: 1.2em;
}

/* 履歴システム　 */
table {
    border:none;
    padding: 0;
    border-spacing: 0;
}
.pagetop1 {
	font-size: 1.4em;
	line-height: 160%;
	color: #FFFFFF;
	padding-left: 10px;
	padding-right: 10px;
}
.pagetop2 {
	font-size: 0.8em;
	line-height: 160%;
	color: #FFFFFF;
	padding-left: 10px;
	padding-right: 60px;
}
.pagetop3 {
	font-size: 1.2em;
	line-height: 160%;
	color: #FFFFFF;
	padding-left: 10px;
	padding-right: 10px;
}
.left_menu {
	position: sticky;
	top: 0px;
	font-size: 1.2em;
	line-height: 160%;
	color: #FFFFFF;
	min-height: 100vh;
	padding-left: 10px;
	padding-right: 10px;
}
.left_menu a:link { color: #FFFFFF; }
.left_menu a:visited { color: #FFFFFF; }
.left_menu a:hover { color: #FFFFFF; }
.left_menu a:active { color: #FFFFFF; }
.admin_color {
	background-color: #203864;
	vertical-align: top;
}
/* コンテンツが入るTD */
.contentd {
	vertical-align: top;
	padding-top: 10px;
	padding-left: 10px;
}
/* コンテンツタイトル */
.contenttitle {
	font-size: 1.2em;
	line-height: 200%;
	color: #555555;
}
/* コンテンツテーブル */
.contenttbl {
	border-collapse: collapse;
	border: 1px solid #666666;
}
.contenttbl td {
	border-collapse: collapse;
	border: 1px solid #666666;
}
.contentitem {
	background-color: #dddddd;
	padding: 2px 10px 2px 10px;
}
.contentparts {
	background-color: #ffffff;
	padding: 2px 10px 2px 10px;
}
/* パスワード変更画面 */
.passwd {
	width: 250px;
}
/* QR詳細・登録画面 */
#simulator_name, #memo, #googleform_url {
	width: 400px;
}
#simulator_code {
	width: 200px;
}
.minreq {
	font-size: 0.6em;
	color: red;
}
/* ボタン */
.contbtn {
	padding: 2px 10px 2px 10px;
}
.btnarea {
	width: 420px;
	text-align: right;
	background-color: #ffffff;
}
/* 階層リンク */
.treelink {
	font-size: 0.8em;
	color: #FFFFFF;
}
.treelink a:link { color: #FFFFFF; }
.treelink a:visited { color: #FFFFFF; }
.treelink a:hover { color: #FFFFFF; }
.treelink a:active { color: #FFFFFF; }
/* M E N U */
/*メニュー部分*/
#ham-menu {
    background-color: #fff; /*メニュー背景色*/
    box-sizing: border-box;
    line-height: 250%;
    font-size: 1.0em;
    height: 100%;
    padding: 10px 20px; /*メニュー内部上下左右余白*/
    position: fixed;
    right: -140px; /*メニュー横幅①と合わせる*/
    top: 0;
    transition: transform 0.3s linear 0s; /*0.3s は変化するのにかかる時間*/
    width: 140px; /*メニュー横幅①*/
    z-index: 1000;
}
.menuul {
	padding-left: 1px;
}
.menuli {
	padding-left: 1px;
	list-style-type: none;
}
/*メニューアイコン部分は疑似要素で*/
#ham-menu::before {
    background-color: #fff; /*ボタン部分背景色*/
    border-radius: 0 0 0 10px; /*左下角丸*/
    color: #333; /*アイコン（フォント）色*/
    content: "≡"; /*メニューアイコン*/
    display: block;
    font-size: 30px; /*アイコン（フォント）サイズ*/
    height: 30px;
    line-height: 30px; /*縦位置中央化*/
    position: absolute;
    right: 100%;
    text-align: center;
    top: 0;
    width: 30px;
}

/*透過背景部分*/
#menu-background {
    background-color: #333; /*黒背景部分背景色*/
    display: block;
    height: 100%;
    opacity: 0;
    position: fixed;
    right: 0;
    top: 0;
    transition: all 0.3s linear 0s; /*0.3s は変化するのにかかる時間*/
    width: 100%;
    z-index: -1;
}

/*hover 時の処理*/
#ham-menu:hover {
    transform: translate(-140px); /*メニュー横幅①と合わせる*/
}

#ham-menu:hover + #menu-background {
    opacity: 0.5; /*黒背景部分透過度*/
    z-index: 999;
}
/* judgement data list (left menu)  */
.datalist{
	width: 100%;
}
/* judgement result header  */
#resultheadertbl {
  display: inline-block; 
  _display: inline;
}
#resultheaderbtn {
    float: right;
  display: inline-block; 
  _display: inline;
}
#selectedDataBotno{
	background-color: #eeeeee;
	width: 45px;
	text-align: center;
	font-weight: bold;
	border-radius:3px;
}
#selectedDataInspectionDate{
	background-color: #eeeeee;
	width: 210px;
	text-align: center;
	font-weight: bold;
	border-radius:3px;
}
#selectedDataMethod{
	background-color: #eeeeee;
	width: 110px;
	text-align: center;
	font-weight: bold;
	border-radius:3px;
}
#selectedDataStatus{
	background-color: #eeeeee;
	width: 70px;
	text-align: center;
	font-weight: bold;
	border-radius:3px;
}
/* judgement result table  */
#resulttbl {
	margin-top: 10px;
/*	margin-left: 20px;*/
}
#resulttbl th{
	background-color: #eeeeee;
}
#resulttbl td{
	font-size: 0.8em;
	vertical-align: top;
}
#resulttbl td:hover{
	cursor: pointer;
}
#resulttbl td,#resulttbl th{
	border: 1px solid #666666;
	width: 50px;
	text-align: center;
}
#resulttbl table{
	border-collapse: collapse;
}
#resulttbl .resNeg{
	color: green;
}
#resulttbl .resPos{
	color: red;
}
#resulttbl .resRe{
	color: orange;
}
#resulttbl .resNA{
	color: #2B6A9E;
}
.titlarge {
  font-size: 1.2em;
  font-weight: bold;
}

/* judgement result description  */
#resultdesc {
	vertical-align: top;
	margin-top: 10px;
	margin-left: 15px;
	width: 230px;
	height: 245px;
}
#resultdesc th{
	background-color: #eeeeee;
	width: 70px;
	font-size: 0.8em;
	line-height: 200%;
}
#resultdesc td{
	font-size: 0.8em;
	width: 134px;
}
#resultdesc td,#resultdesc th{
	border: 1px solid #666666;
	text-align: center;
}
#resultdesc table{
	border-collapse: collapse;
	margin-top:10px;
}
#descsavebtn {
	margin-top:10px;
}
/* modal dialog */
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
height: 100%;
width: 100%;
overflow: auto;
background-color: rgba(0,0,0,0.5);
}

.nodisp {
	display: none;
}

.modal-content{
color: white;
width: 100%;
margin: 20% auto;
text-align: center;
}
/* 左メニュー　追加分 */
/* プレートビュー、検体ビューボタン */
.btn-plate {
	font-size: 0.9em;
	font-weight: bold;
}
.btn-square {
	width:130px;
	text-align:center;
  display: inline-block;
  padding: 0.2em 0.6em;
  text-decoration: none;
  background: #668ad8;/*ボタン色*/
  color: #FFF;
  border-bottom: solid 4px #627295;
  border-radius: 3px;
}
.btn-square:active {
  /*ボタンを押したとき*/
  -webkit-transform: translateY(4px);
  transform: translateY(2px);/*下に動く*/
  border-bottom: none;/*線を消す*/
}
/* 検体ビュー */
.wellviewtitle {
	font-size: 1.4em;
	font-weight: bold;
	text-align:center;
}
#wellview table{
	border-collapse: collapse;
	margin-top:10px;
	width: 99%;
}
#wellview th {
	padding: 1px 3px 1px 3px;
	background-color: #203864;
	color: #ffffff;
	border: 1px solid #666666;
	vertical-align: middle;
	font-size: 10pt;
	line-height: 2.6em;
}
#wellviewtr1 td {
	padding: 10px 3px 10px 3px;
	border: 0;
	vertical-align: middle;
	text-align:center;
	font-size: 11pt;
	background-color: #ffffff;
}
#wellviewtr2 td {
	padding: 10px 3px 10px 3px;
	border: 0;
	vertical-align: middle;
	text-align:center;
	font-size: 11pt;
	background-color: #e0e0e0;
}
.wellviewtrhist1 td {
	padding: 0px 3px 10px 3px;
	border: 0;
	vertical-align: middle;
	font-size: 11pt;
	background-color: #ffffff;
}
.wellviewtrhist2 td {
	padding: 0px 3px 10px 3px;
	border: 0;
	vertical-align: middle;
	font-size: 11pt;
	background-color: #e0e0e0;
}
.wellviewtdhist {
	text-align:center;
}
.wellviewhistarrwrote {
	cursor: pointer;
	font-weight: bold;
}
.wellviewhistarrwnone {
	transform: rotate(0deg);
}
.wellhisttit {
	font-size: 9pt;
	padding-left: 55px;
}
.judgecolor1{
	color: #1DB123;
}
.judgecolor2{
	color: #B51700;
}
.judgecolor3{
	color: #FF9300;
}
/* 送信ボタン */
.btn-square-pop {
  display       : inline-block;
  border-radius : 10%;         /* 角丸       */
  font-size     : 12pt;        /* 文字サイズ */
  text-align    : center;      /* 文字位置   */
  cursor        : pointer;     /* カーソル   */
  padding       : 4px 8px 2px 8px;   /* 余白       */
  background    : #DE5199;     /* 背景色     */
  color         : #ffffff;     /* 文字色     */
  line-height   : 1em;         /* 1行の高さ  */
  transition    : .3s;         /* なめらか変化 */
  box-shadow    : 2px 2px 1px #666666;  /* 影の設定 */
  border        : 2px solid #DE5199;    /* 枠の指定 */}

a.btn-square-pop:hover {
  box-shadow    : none;        /* カーソル時の影消去 */
  color         : #DE5199;     /* 文字色     */
  background    : #ffffff;     /* 背景色     */
}
/* 移動ボタン */
.btn-square-mov {
  display       : inline-block;
  border-radius : 10%;         /* 角丸       */
  font-size     : 12pt;        /* 文字サイズ */
  text-align    : center;      /* 文字位置   */
  cursor        : pointer;     /* カーソル   */
  padding       : 4px 8px 2px 8px;   /* 余白       */
  background    : #0F83C6;     /* 背景色     */
  color         : #ffffff;     /* 文字色     */
  line-height   : 1em;         /* 1行の高さ  */
  transition    : .3s;         /* なめらか変化 */
  box-shadow    : 2px 2px 1px #666666;  /* 影の設定 */
  border        : 2px solid #0F83C6;    /* 枠の指定 */}

a.btn-square-mov:hover {
  box-shadow    : none;        /* カーソル時の影消去 */
  color         : #0F83C6;     /* 文字色     */
  background    : #ffffff;     /* 背景色     */
}
/* 更新ボタン */
.btn-square-renew {
  display       : inline-block;
  border-radius : 10%;         /* 角丸       */
  font-size     : 12pt;        /* 文字サイズ */
  text-align    : center;      /* 文字位置   */
  cursor        : pointer;     /* カーソル   */
  padding       : 4px 8px 2px 8px;   /* 余白       */
  background    : #999999;     /* 背景色     */
  color         : #ffffff;     /* 文字色     */
  line-height   : 1em;         /* 1行の高さ  */
  transition    : .3s;         /* なめらか変化 */
  box-shadow    : 2px 2px 1px #666666;  /* 影の設定 */
  border        : 2px solid #999999;    /* 枠の指定 */}

a.btn-square-renew:hover {
  box-shadow    : none;        /* カーソル時の影消去 */
  color         : #999999;     /* 文字色     */
  background    : #ffffff;     /* 背景色     */
}
.chkdisp {
	display: none;
}
/*--------------------------------------------------------
 * add 2022.1.25
 --------------------------------------------------------*/
.ui-datepicker-calendar .day-sunday > a,
.ui-datepicker-calendar .day-holiday > a {
  background: #ffc0c0;
}
.ui-datepicker-calendar .day-saturday > a {
  background: #c0d0ff;
}
.tbl1 {
  border-spacing: 0 !important;
}
.tbl1 th {
  background-color: #ABAABC;
  border: 1px solid #999;
}
.tbl1 td {
  border: 1px solid #999;
  padding-left: 10px !important;
}
/* =======================================================
  レスポンシブ設定
======================================================= */
@media screen and (max-width: 568px) {

}

/*******************************************************/
/* --- ベース（PC向け）設定 --- */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: "Meiryo", sans-serif;
}

.layout-container {
  display: grid;
  height: 100vh;
  /* PC: 左220px、右残り全部 */
  grid-template-columns: 180px 1fr;
  grid-template-rows: 50px 1fr;
  grid-template-areas:
    "header header"
    "sidebar main";
}

/* ヘッダー */
.header-area {
  grid-area: header;
  background-color: #233555;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 20; /* スマホ時にサイドバーより手前に来ないように調整 */
  position: relative;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 15px;
}

.tbl1 td {
	height: 2.2em;
}
.tbl td {
	height: 2.2em;
}
.tbl1 td a {
	font-size: 1.2em;
}
.tbl td a {
	font-size: 1.2em;
}
.addbutton {
  padding:6px 10px;
  border:none;
  border-radius:6px;
  background:#2f80ed;
  color:#fff;
  cursor:pointer;
}

/* ハンバーガーアイコンのデザイン */
.menu-icon {
  background: transparent;
  border: 2px solid #fff;
  cursor: pointer;
  padding: 5px;
  border-radius: 4px;
  display: flex; /* Flexで中身を整列 */
  flex-direction: column;
  justify-content: space-around;
  width: 45px;
  height: 45px;
}
/* PCでは常にメニューが出ているので、アイコンは隠しても良いですが、
   要望の画像にある通り「≡」を表示する場合は display:flex のままにします。
   ここではクリック機能を持たせるのはスマホのみにします（JSで制御）。 */

.menu-icon .bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
}

/* サイドバー */
.sidebar-area {
  grid-area: sidebar;
  background-color: #233555;
  color: #fff;
  overflow-y: auto;
  border-top: 1px solid #4f5f7a;
  border-right: 1px solid #4f5f7a;
  transition: transform 0.3s ease; /* アニメーション用 */
}

.sidebar-area ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-area li a {
  display: block;
  padding: 15px 20px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid #364969;
}

/* スマホ用「閉じる」ボタン（PCでは非表示） */
.close-btn-area {
  display: none; 
  padding: 20px;
  text-align: center;
}
#menuCloseBtn {
  padding: 5px 20px;
  background: #4f5f7a;
  color: #fff;
  border: none;
  cursor: pointer;
}

/* メインコンテンツ */
.main-area {
  grid-area: main;
  background-color: #fff;
  overflow-y: auto;
  padding: 20px;
}

/* オーバーレイ（PCでは非表示） */
#menuToggleBtn {
  display: none;
}

.menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 90; /* サイドバー(100)の下、ヘッダーの上 */
  opacity: 0;
  transition: opacity 0.3s;
}

/* --- スマホ・タブレット向け (768px以下) --- */
@media (max-width: 768px) {
  
  .layout-container {
    /* サイドバーの列をなくし、1カラムにする */
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "main";
  }

  /* サイドバーをポップアップ化 */
  .sidebar-area {
    position: fixed; /* 画面に対して固定 */
    top: 0;
    left: 0;
    width: 250px; /* メニューの幅 */
    height: 100%;
    z-index: 100; /* 最前面 */
    transform: translateX(-100%); /* 画面左外へ隠す */
    border-top: none;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
  }

  /* クラスactiveがついた時だけ表示（JSで付与） */
  .sidebar-area.active {
    transform: translateX(0); /* 画面内へスライド */
  }

  /* 閉じるボタンを表示 */
  .close-btn-area {
    display: block;
  }

  /* オーバーレイの表示制御 */
  #menuToggleBtn {
    display: inherit;
  }
  .menu-overlay {
    display: block; /* 要素としては存在させる */
    pointer-events: none; /* 透明な時はクリック不可 */
  }
  .menu-overlay.active {
    opacity: 1;
    pointer-events: auto; /* クリック可能に */
  }
}
/*******************************************************/
/* ヘッダー左（ボタン＋タイトル） */
.header-left{
  display:flex;
  align-items:center;
  gap:12px;
}

/* PC用の≡ボタンも表示したいので display:none にはしない */
.menu-icon--pc{
  display:flex; /* 既存 .menu-icon のデザインを流用 */
}

/* ===== PC 折りたたみ（bodyにクラス付与） ===== */
@media (min-width: 769px) {
  body.sidebar-collapsed .layout-container {
    grid-template-columns: 56px 1fr !important;
  }

  body.sidebar-collapsed .sidebar-area {
    overflow: hidden;
  }

  /* メニュー文字を消す（spanで包んでいる前提） */
  body.sidebar-collapsed .sidebar-label {
    display: none !important;
  }

  body.sidebar-collapsed .sidebar-area li a {
    padding: 15px 0 !important;
    text-align: center;
  }
}

/* ===== PC: 左メニュー完全折りたたみ ===== */
@media (min-width: 769px) {
  body.sidebar-collapsed .layout-container {
    grid-template-columns: 0px 1fr !important;
  }

  body.sidebar-collapsed .sidebar-area {
    width: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    visibility: hidden; /* フォーカスも消える */
  }
}
