
/* ========================================================================

   ベーススタイル

 ========================================================================== */
body {
	background: #84cfc9;
}
fieldset {
	width: 100%;
	position: relative;
    margin: 0;
    padding-left:0;
    padding-right:0;
}
a {
    color: #4368a0;
}
a:hover {
    color: #126F16;
}
table thead tr {
    border-bottom: 1px solid #4368a0;
}
table tr th {
    border-bottom: 2px solid #4368a0;
}

h2 {
	font-size: 1.4375rem;
}
h3,h4,h5,h6 {
	font-size: 1.125rem;
}

ul{
	list-style: none;
}

/* Utility */
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* プレースホルダ(下記ブラウザ以外) */
input::placeholder {
	color: #CCCCCC;
	font-style: oblique;	/*斜体*/
}
/* IE */
input:-ms-input-placeholder {
	color: #CCCCCC;
	font-style: oblique;
}
/* Edge */
input::-ms-input-placeholder {
	color: #CCCCCC;
	font-style: oblique;
}


@media(min-width: 1024px) {
	.flame_style {
    	padding: 4rem 5rem;
	}
}

/* ========================================================================

   レイアウト

 ========================================================================== */
.ly_wrapper{
	min-height: 100vh;
	position: relative;
}
main {
	width: 100%;
	min-height: 100vh;
}
.container {
	min-height: 100vh;
	padding-bottom: 50px;
	padding-top: 45px;
}
header{
	position: fixed; /* ウィンドウを基準に画面に固定 */
    top: 0; /* 上下の固定位置を上から0pxにする */
    left: 0; /* 左右の固定位置を左から0pxにする */
    width: 100%; /* 幅いっぱいを指定 */
    z-index : 1000;
    height : 45px;
    padding:0;
}
footer {
	height: 40px;
    width: 100%;
	background-color:	#090909;
    /*background-color:	var(--footer-bg-color, #616161);*/
    position: absolute;	/* フッター最下部固定用 */
    /*bottom: 0;*/ 			/* フッター最下部固定用 */
    text-align:		center;
    color:			#DDD;
    line-height: 	35px;	/* コピーライト表記の位置 */
}
#pagetop {
	transition: .4s;
	display: inline-block;
}
#pagetop img{
	position:absolute;
	top: -50px;
	right: 40px;
	max-width: 120px;
}

/* 明細変更不可項目 */
.td_readonly_bnone input[readonly] {
	cursor       : not-allowed;
	border       : none;
	box-shadow   : none;
	background   : #ffffff;
	//font-weight: bold;
}

/* ========================================================================

   エレメントモジュール（モジュールグループ）
	・接頭辞：el_（推奨）
　　・ボタンや見出しなど、部品として最小単位での設定
　　・いたるところで再利用が可能なように設定する

 ========================================================================== */

/* --------------------------------------------------------------------
   見出し
 -------------------------------------------------------------------- */
main h2,
.content h2 {
    color: #4368a0;
    border-bottom: 2px solid #4368a0;
	padding-bottom: 0.5rem;
	margin-bottom: 20px;
}
/* 以下は上記と同じ見た目（見出し番号変更後は使わない） */
.content h4 {
    color: #4368a0;
    border-bottom: 2px solid #4368a0;
}

main h3,
.content h3 {
    color: #222;
    border-left: 10px solid #4368a0;
    border-bottom: none;
    padding-left:20px;
	padding-bottom: 0;
	margin-bottom: 10px;
}

#main-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  z-index: 10; /* main内の要素より上に */
  display: none;
  pointer-events: auto; /* 操作遮断 */
}


/* 以下は上記と同じ見た目（見出し番号変更後は使わない） */
.content h5 {
    border-left: 10px solid #4368a0;
    padding-left:20px;
}

/* 左にアクセント(縦長の長方形)、さらに下に実線 */
.el_h_border {
    color: #222 !important;
	border-bottom: 1px solid #4368a0 !important;
	border-left: 10px solid #4368a0;
	padding: 7px !important;
	padding-left: 20px !important;
	margin-bottom: 10px !important;
}

/* 角丸、左にアクセント(横線)、背景色あり */
.el_h_rad_clr {
	position: relative;
	color: white !important;
	padding:0.5em 0.5em 0.5em 1.4em !important;
	background-color: #9ccc65;
	/*font-size: 1.4em;*/
	margin: 10px auto !important;
	/*margin: 30px auto 10px !important;*/
	border: none !important;
	border-radius: 4px;
}
.el_h_rad_clr::after {
     position: absolute;
     top: 50%;
     left:0;
     transform:translateY(-50%);
     content: '';
     width: 18px;
     height:4px;
     background-color:white;
}

/* 角丸、左にアクセント(横線)、背景色なし枠線のみ */
.el_h_rad_border {
	position: relative;
    color: #222 !important;
	padding:0.5em 0.5em 0.5em 1.4em !important;
	/*padding: .5em .75em !important;*/
	border: 1px solid #4368a0 !important;
	border-radius: 4px;
	margin-bottom: 10px !important;
}
.el_h_rad_border::after {
     position: absolute;
     top: 50%;
     left:0;
     transform:translateY(-50%);
     content: '';
     width: 18px;
     height:4px;
     background-color: #4368a0;
}

/* main h3と同じ見た目だが、h3以外に使いたい場合 */
.el_h_leftline {
    color: #222 !important;
    border-left: 10px solid #4368a0;
    border-bottom: none !important;
    padding-left:20px;
	padding-bottom: 0 !important;
	margin-bottom: 10px !important;
}

/* 見出し-必須(ビューでreqired=false設定時) */
span.requiredCol label{
    color: #4368a0;
	font-weight: bold;
}
span.requiredCol label::after{
    content: ' *';
    color: #FF0000;
}

/* 明細見出し-必須 */
span.th_fprimary {
    color      : #4368a0;
    font-size  : 1em;
	font-weight: bold;
}
span.th_fprimary::after {
    content: ' *';
    color: #FF0000;
}

/* 明細見出し-必須以外 */
span.th_fnormal {
    color      : #4368a0;
	font-size  : 1em;
	font-weight: bold;
}

/* ログイン画面ロゴ位置 */
.login_logo {
	text-align: center;
    margin: 1em auto 0.5em;
	/*margin: 2em 1em;*/
}

.login-admin-title {
    margin: 0 0 20px;
    color: #4368a0;
    text-align: center;
    font-size: 1.4rem;
}

/* --------------------------------------------------------------------
   ボタン
 -------------------------------------------------------------------- */

/* 基本形 */
button, html
input[type="button"],
input[type="reset"],
input[type="submit"],
.form button[type="submit"],
.form button[type="reset"],
.form button[type="submit"],
a.el_link_button_style{
	min-width: 160px;
	max-width: 300px;
	padding: 20px;
	margin: 10px;
	box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
	transition: background-color 500ms ease-out;
	border:none;
	text-align: center;
    border-radius: 0.5rem;
}

/*linkをボタン風に表示*/
a.el_link_button_style {
	color: #fff;
}
/*高さ調節*/
a.el_link_button_style_inline {
	display: inline-block;
}
/*linkボタンクリック時の黒枠表示*/
a.el_link_button_style:focus {
	/*outlinでは　角丸ができない
	　borderで行うとサイズが変わるため
	　角丸の幅0borderを用意し　それに影を落として解決*/
	/*outline: solid 2px #000000;*/
	border-radius: 4px;
	box-shadow: 0 0 0 2px black;
}

/*検索ボタン、一覧へ(進む)ボタン、登録ボタン*/
.el_btn_advance {
    background: #EF5350 !important;
	color: #fff;
}
.el_btn_advance:hover {
	background:#f39045 !important;
}

/*検索フォームのクリアボタン*/
.el_btn_recession {
    background: #90A4AE !important;
	color: #fff;
}
.el_btn_recession:hover {
	background:#bbe6fa !important;
}

/*新規作成ボタン、続けて作成ボタン*/
.el_btn_add {
	background:#9CCC65 !important;
	color: #fff;
}
.el_btn_add:hover {
	background:#126F16 !important;
}

.bl_add a.el_btn_add {
    display: inline-block;
    text-align: center;
    border: none;
    padding: 10px 30px;
    float: left;
    margin-right: 20px;
    min-width: 124px;
    text-decoration: none; /* 下線消す */
    background:#9CCC65 !important;
    color: #fff !important;
    border-radius: 0.5rem;
}

.bl_add a.el_btn_add:hover {
    background:#126F16 !important;
    color: #fff !important; /* ←追加 */
}

.bl_add a.el_btn_back {
    display: inline-block;
    text-align: center;
    border: none;
    padding: 20px 30px;
    float: left;
    margin-right: 20px;
    min-width: 160px;
    text-decoration: none; /* 下線消す */
    background:#f0daa7 !important;
    color: #f4ef8a !important;
    border-radius: 0.5rem;
}

.bl_add a.el_btn_back:hover {
    background:#aae952 !important;
    color: #fff !important; /* ←追加 */
}


/*入力確認ボタン*/
.el_btn_confirm {
    background: #68a4d9 !important;
}
.el_btn_confirm:hover {
	background:#1785e6 !important;
}

/*処理スキップボタン*/
.el_btn_skip {
    background: #FFCC99 !important;
    height: 64px !important;
}
.el_btn_skip:hover {
	background:#FF8856 !important;
}

/*
#edit_submit {
    float: right;
}
*/

/*戻るボタン、一覧へ(戻る)ボタン*/
.el_btn_undo {
    background: #90a4ae !important;
/*
    margin-bottom: 20px;
    float: left;
*/
}
.el_btn_undo:hover {
	background:#586971 !important;
}

/* 明細内ボタン */
.list input[type="button"] {
	min-width  : 60px !important;
	min-height : 30px !important;
	padding    : 5px !important;
	background : #e5e5e5;
}
.list input[type="button"]:hover {
	background : #90a4ae;
}

/* 行追加ボタン */
.btn_row_add {
    overflow: hidden;
    display: block;
}
.btn_row_add button {
	border: none;
    padding: 10px 30px;
    float: left;
    margin-right: 20px;
    min-width: 124px;
}

/* td内の削除ボタン */
.btn_del {
    text-align : center!important;
    overflow: hidden;
    display: block;
    margin :top;
}
.btn_del input[type="button"] {
    min-width     : 100px;
    display       : inline-block;
    font-size     : 11pt;        /* 文字サイズ */
    text-align    : center;      /* 文字位置   */
    cursor        : pointer;     /* カーソル   */
    padding       : 15px 2px;   /* 余白       */
    background    : #999999;     /* 背景色     */
    color         : #000000;     /* 文字色     */
    line-height   : 1em;         /* 1行の高さ  */
    transition    : .3s;         /* なめらか変化 */
}

/* 目立たないボタン */
.transparent_btn button[type="submit"] {
	border          : none!important;
	box-shadow      : none!important;
	background-color: transparent!important;
}

/* --------------------------------------------------------------------
   ツールチップ
 -------------------------------------------------------------------- */

.balloonoya {
  cursor  : pointer;                /* カーソル */
  position: absolute;               /* 指定した分だけ相対的に移動 */
  color   : #4368a0;                /* 文字色 */
}
.balloonoya:hover .balloon {
  display: inline;                  /* インライン要素として表示 */
}
.balloon {
  position   : absolute;            /* 親要素を基準 */
  display    : none;                /* 要素を非表示 */
  padding    : 2px;                 /* テキストの前後の余白 */
  color      : #000;                /* 文字色 */
  background-color: #fcfff9;        /* 背景色（透明度） */
  border     : 1px solid;           /* 枠線 */
  width      : 180px;               /* 吹き出し全体の幅 */
  left       : 30%;                 /* 表示位置 */
  margin-top : 12px;                /* 表示位置 */
  margin-bottom: 35px;              /* 表示位置 */
  font-size  : 75%;                 /* 文字サイズ */
  text-align : left;
  z-index: 1000;
}

/* 共通化前のスタイル(最終的に削除するため使わないでください) */
.new_add {
    overflow: hidden;
    display: block;
}
.new_add input[type="submit"] {
	border: none;
	background:#9CCC65;
	color: #fff;
    padding: 10px 30px;
    float: left;
    margin-right: 20px;
}
.new_add :hover input[type="submit"] {
	background:#126F16;
}
.undo button[type="submit"] {
    margin-bottom: 20px;
    background: #90a4ae;
    float: left;
}
.undo :hover button {
    background: #007095;
}
.regist button[type="submit"]  {
    margin-bottom: 20px;
    background: #ef5350;
    float: right;
}
.regist :hover button {
    background: #007095;
}
.redo button {
    margin-bottom: 20px;
    background: #9CCC65;
    float: left;
}
.redo :hover button {
    background: #126F16;
}
.to_list button {
    margin-bottom: 20px;
    background: #ef5350;
    float: right;
}
.to_list :hover button {
    background: #007095;
}
.btn {
    text-align: right;
}

.login_page .btn {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

#edit_submit {
    float: right;
}
.btn button{
   width: 10rem;
   margin: 0;
   padding: 0.6rem;
   border-radius: 0.5rem; /* ← ここで角を丸くします */
}

/* 右寄せの新規作成ボタン
（親要素のdivに以下クラスを追加してください）*/
.add_right {
    text-align: right;
}
.add_right button{
    margin: 0;
    padding: 10px 30px;
    min-width:initial;
 }

/*進むボタン*/
.advance_btn {
    background: #f5807e;
}
/*戻るボタン*/
.recession_btn {
    background: #90A4AE;
}
.form button[type="submit"] {
    float: none;
}
/*戻るボタン*/
.undo button {
    margin-bottom: 20px;
    background: #90a4ae;
    float: left;
}
/*登録ボタン*/
.regist button {
    margin-bottom: 20px;
    background: #ef5350;
    float: right;
}
/*一覧へボタン*/
.to_list button {
    margin-bottom: 20px;
    background: #ef5350;
    float: right;
}
/*続けて作成ボタン*/
.redo button {
    margin-bottom: 20px;
    background: #9CCC65;
    float: left;
}
/* 共通化前のスタイル(最終的に削除する) */


/* --------------------------------------------------------------------
   アイコン
 -------------------------------------------------------------------- */
/*虫眼鏡アイコン*/
.magnifying_glass::after {
    content: '';
    display: inline-block;
    width: 1.25rem;
    height:  1.25rem;
    margin-left:10px;
    background: url(../img/magnifying_glass.svg) no-repeat;
    background-size: contain;
    vertical-align: middle;
}
/*注意喚起アイコン*/
.surprised_icon::after {
    content: '';
    display: inline-block;
    width: 1rem;
    height:  1rem;
    margin-left:10px;
    background: url(../img/surprised_icon.svg) no-repeat;
    background-size: contain;
    vertical-align: middle;
}
/*プラスアイコン(クリックによる形状変更なし)*/
.plus_icon {
    display: inline-block;
    vertical-align: middle;
    color: white;
    line-height: 1;
    width: 1em;
    height: 0.2em;
    background: currentColor;
    border-radius: 0.1em;
    position: relative;
}
.plus_icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    transform: rotate(90deg);
}

/* --------------------------------------------------------------------
   注意書き
 -------------------------------------------------------------------- */
.note {
    background:#FFF9EA;
    padding: 1rem;
}
.note p {
    font-size: 0.85rem;
}

/* --------------------------------------------------------------------
   テキストエリアTBL内TR
 -------------------------------------------------------------------- */
.tableblockquote  {
  border-left: 4px solid #3b82f6;
  padding-left: 1rem;
  color: #374151;
  background: #f9fafb;
}

.tabletextarea {
  background: #f3f4f6;
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* --------------------------------------------------------------------
   バッジ
 -------------------------------------------------------------------- */
.el_badge {
    display: inline-block;
    vertical-align: top;
}

/* シンプルバッジ */
.el_badge__simple {
    background-image: none!important;
    border-radius: 3px;
    font-size: 12px;
    line-height: 1.05;
    padding: 4px 5px 4px 6px;
    font-style: normal;
    font-weight: 700;
    position: relative;
    top: 1px;
	margin-right: 5px;
}

/* 右側が丸いバッジ*/
.el_badge__roundr {
    background-image: none!important;
    border-radius: 0 10px 10px 0;
    font-size: 12px;
    line-height: 1.05;
    padding: 4px 10px 4px 6px;
    /*padding: 4px 5px 4px 6px;*/
    font-style: normal;
    font-weight: 700;
    position: relative;
    top: 1px;
	margin-right: 5px;
}

/* 左側が丸いバッジ*/
.el_badge__roundl {
    background-image: none!important;
    border-radius: 10px 0 0 10px;
    font-size: 12px;
    line-height: 1.05;
    padding: 4px 6px 4px 10px;
    /*padding: 4px 5px 4px 6px;*/
    font-style: normal;
    font-weight: 700;
    position: relative;
    top: 1px;
	margin-right: 5px;
}

/* リボン風バッジ */
.el_badge__ribbon {
    background-image: none!important;
    border-radius: 3px 0 0 3px;
    font-size: 12px;
    /*font-size: 11px;*/
    line-height: 1.05;
    padding: 4px 5px 4px 6px;
    font-style: normal;
    font-weight: 700;
    position: relative;
    top: 1px;
	margin-right: 10px;
}
.el_badge__ribbon:before,
.el_badge__ribbon:after {
    border-style: dashed;
    border-width: 6px;
    border-color: rgba(255,255,255,0);
    width: 0;
    height: 0;
    font-size: 0;
    line-height: 0;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);

	content: "";
    position: absolute;
    right: -5px;
}
.el_badge__ribbon:before {
    bottom: 0;
	border-bottom-width: 6px;
	border-bottom-style: solid;
    /*border-bottom: 6px solid #3F6998;*/
    border-top-width: 0;
    border-bottom-width: 10px;
}
.el_badge__ribbon:after {
    top: 0;
	border-top-width: 6px;
	border-top-style: solid;
    /*border-top: 6px solid #3F6998;*/
    border-bottom-width: 0;
    border-top-width: 10px;
}

/* バッジ用カラバリ */
.el_badge__color_info {
    color: #fff;
    background-color: #3F6998;
}
.el_badge__color_info:before {
    border-bottom-color: #3F6998;
}
.el_badge__color_info:after {
    border-top-color: #3F6998;
}

.el_badge__color_warn {
    color: #fff;
    background-color: #fdaa4c;
}
.el_badge__color_warn:before {
    border-bottom-color: #fdaa4c;
}
.el_badge__color_warn:after {
    border-top-color: #fdaa4c;
}


/* ========================================================================

   ブロックモジュール（モジュールグループ）
	・接頭辞：bl_（推奨）
　　・複数のエレメントモジュールを一つのかたまり（ブロック）にしたイメージ
　　・ブロック単位で、さまざまなページで再利用できるよう定義する

 ========================================================================== */

/* --------------------------------------------------------------------
   検索フォーム
 -------------------------------------------------------------------- */
.bl_search td {
    width:50%;
    vertical-align: middle;
    padding:2rem 1.5rem;
}
.bl_search td label {
    float: left;
    display:table-cell;
    width:40%;
    height:2.3125rem;
    text-align: center;
    line-height:2.3125rem;
    /*color:#fff;*/
    /*max-width: 10rem;*/
}
.bl_search td input[type="text"],
.bl_search td input[type="number"],
.bl_search td input[type="email"],
.bl_search td input[type="password"]
{
    width: 75%;
}

.bl_search td input[type="date"]
{
    width: 75%;
}

.bl_search td fieldset div {
    display: inline-block;
	width: 49%;		/* 入力欄が横並びに2個 */
	vertical-align: top; /* 上揃え */
}
.bl_search.bl_search__3div td fieldset div {
	width: 33%;		/* 入力欄が横並びに3個 */
}
.bl_search.bl_search__singlediv td fieldset div {
	width: 100%;		/* 入力欄が横並びに1個 */
}

.bl_search td fieldset div label {
    width: 49%;
    /*margin-left:1%;*/	/* フォームのwidthを微調整した場合、表示がずれることがあるため削除 */
	cursor:default;
    background:#26A69A;
    color:#fff;
	font-weight: normal;
}
.bl_search td fieldset div.checkbox {
    display: block;
}
.bl_search td fieldset div.checkbox label {
    display: block;
	cursor:pointer;
	text-align: left;

    background:#fff;
    color:#4d4d4d;
    /*margin-left:1%;*/
    max-width: 12rem;
    width: 12rem;
}
.bl_search td fieldset div.radio {
    display: inline-block;
	width: 100%;
}
.bl_search td fieldset div.radio label {
    display: block;
	cursor:pointer;
	text-align: left;
    background:#fff;
    color:#4d4d4d;
    width: 20%;
}
.bl_search td fieldset input[type="text"],
.bl_search td fieldset input[type="number"],
.bl_search td fieldset input[type="email"],
.bl_search td fieldset input[type="password"],
.bl_search td fieldset input[type="date"],
.bl_search td fieldset select {
	width: 50%;
	margin: 0 0 10px 0;
	color:#4d4d4d;
}
.bl_search td fieldset input[type='checkbox'] {
    position: relative;
    top: 2px;
}
.bl_search .input.radio > label:first-child {
	font-weight: normal;
    color: #4d4d4d;
}
/*
.bl_search td input[type="radio"] label#text{
    color: #4d4d4d;
}
*/
.bl_search p {
    margin-bottom:0;
}
/*検索フォーム用ボタンのレイアウト*/
.bl_search__btn {
    text-align: right;
}
.bl_search__btn button{
   width: 10rem;
   margin: 0;
   padding: 0.6rem;
   border-radius: 0.5rem; /* ← ここで角を丸くします */
}

.bl_input_checkbox_list>div>div>label{
	margin-left:1rem;
}

/* --------------------------------------------------------------------
   入力フォーム
 -------------------------------------------------------------------- */
.input label,
.input.radio > label:first-child {
	font-weight: bold;
	color: #4368a0;
}
.input.checkbox label,
.checkbox label {
	font-weight: normal;
	color: #4d4d4d;
}
.input.radio > label {
	font-weight: normal;
	color: #4d4d4d;
}

/* --------------------------------------------------------------------
   ボタンのレイアウト
 -------------------------------------------------------------------- */
/*新規作成ボタン*/
.bl_add {
    overflow: hidden;
    display: block;
    margin-bottom: 20px; /* ← 縦の余白を追加 */
}
.bl_add input[type="submit"] {
	border: none;
    padding: 10px 30px;
    float: left;
    margin-right: 20px;
    min-width: 124px;
}
/*入力フォーム横のボタン*/
.bl_btn_side {
    height: 2.3125rem;
    margin-top: 1.3125rem;
    padding: 5px 10px;
    background: #e48e3e;
}
.bl_btn_side:hover {
    background: #ce6808 !important;
}

/* --------------------------------------------------------------------
   リンクのレイアウト
 -------------------------------------------------------------------- */
/*削除リンク(要注意版)*/
.bl_link_del {
	color: #e42835;
}
.bl_link_del:hover {
	color: #af000c;
}

/* --------------------------------------------------------------------
テキストエリアの表示
 -------------------------------------------------------------------- */
.notedisp {
  background: #fff;            /* 薄いグレー背景 */
  border-left: 4px solid #3b82f6; /* アクセントカラーのライン */
  padding: 1rem 1.25rem;
 /* border-radius: 0.5rem;          /* 角丸 */
  box-shadow: 0 2px 6px rgba(0,0,0,0.05); /* ほんのり影 */
  margin: 1.5rem 0;
}

.notedisp strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #374151; /* ダークグレー */
  margin-bottom: 0.5rem;
  text-transform: uppercase; /* NOTEを大文字っぽく */
  letter-spacing: 0.05em;
}

.notedisp blockquote {
  margin: 0;
  padding: 0;
  color: #1f2937; /* 本文用ダークグレー */
  line-height: 1.6;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------
   表
 -------------------------------------------------------------------- */
.vertical-table {
    padding:2rem;
    background: #fff;
    margin-bottom: 4rem;
}
.vertical-table th {
	width: 30%;
}
.vertical-table td {
	width: 70%;
}
.vertical-table td,
.vertical-table th {
    text-align: left;
    vertical-align: middle;
}

/* 見出しに下線を引きたい */
.vertical-table__thline th {
    border-bottom: 2px #1798A5 solid;
}
/*
.vertical-table table tr {
    border-bottom: #126F16 2px solid;
}
*/
/*
.vertical-table {
    padding:2rem;
    background: #fff;
    margin-bottom: 4rem;
}
.vertical-table table tr {
    border-bottom: #126F16 2px solid;
}
.vertical-table table th {
    color: #126F16;
	width: 40%;
}
.vertical-table table td {
    text-align: left;
	width: 60%;
}
.vertical-table table td,
.vertical-table table th {
    vertical-align: middle;
}

/* 見出しに下線を引きたい */
/*
.vertical-table__thline th {
    border-bottom: 2px #1798A5 solid;
}

*/

/* 淡色テーブル */
.bl_pale_table tr td, .bl_pale_table tr th {
    border: solid thin lightsteelblue;
}
.bl_pale_table td {
    height: 1.5em;
}
.bl_pale_table th, .bl_pale_table td.highlight {
    /* th要素、もしくは、highlightクラス付与のtd要素で背景を強調色にする */
    background-color:#fffaf0;
}
.bl_pale_table th {
    line-height: initial;
    font-weight: initial;
    color: initial;
}
.bl_pale_table th.red, .bl_pale_table td.red {
    background-color:#ffbfbf !important;
}
.bl_pale_table th.blue, .bl_pale_table td.blue {
    background-color:#e2feff !important;
}

/* 淡色テーブル */
.bl_actview_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  color: #1f2937; /* ダークグレー */
  margin: 1rem 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 0.5rem;
  overflow: hidden; /* 角丸に沿わせる */
}

.bl_actview_table th,
.bl_actview_table td {
  border: 1px solid #cbd5e1; /* lightsteelblue よりモダンな薄いブルー */
  padding: 0.6rem 0.8rem;
  text-align: left;
  vertical-align: middle;
}


/* 見出しセル */
.bl_actview_table th {
  width: 25%; /* 幅を少し狭める */
  background: #eff6ff; /* 淡いブルー背景 */
  font-weight: 600;
  color: #1e40af; /* 深めのブルー */
  white-space: nowrap;
}

/* データセル */
.bl_actview_table td {
  background: #ffffff;
}

/* 強調セル */
.bl_actview_table td.highlight {
  background: #f0f9ff;
}

/* カラーバリエーション */
.bl_actview_table th.red, .bl_actview_table td.red {
  background-color: #fee2e2 !important; /* やさしい赤 */
  color: #b91c1c !important;
}

.bl_actview_table th.blue, .bl_actview_table td.blue {
  background-color: #e0f2fe !important; /* 淡い青 */
  color: #0c4a6e !important;
}


/* 検索結果テーブル */
.bl_actsr_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  color: #1f2937; /* ダークグレー */
  margin: 1rem 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  border-radius: 0.5rem;
  overflow: hidden; /* 角丸に沿わせる */
}

.bl_actsr_table th,
.bl_actsr_table td {
  border: 1px solid #cbd5e1; /* lightsteelblue よりモダンな薄いブルー */
  padding: 0.6rem 0.8rem;
  text-align: left;
  vertical-align: middle;
}


/* 見出しセル */
.bl_actsr_table th {
  width: 25%; /* 幅を少し狭める */
  background: #eff6ff; /* 淡いブルー背景 */
  font-weight: 600;
  color: #545b67; /* 深めのブルー */
  white-space: nowrap;
}

/* データセル */
.bl_actsr_table td {
  background: #ffffff;
}

/* 強調セル */
.bl_actsr_table td.highlight {
  background: #f0f9ff;
}

/* カラーバリエーション */
.bl_actsr_table th.red, .bl_actsr_table td.red {
  background-color: #fee2e2 !important; /* やさしい赤 */
  color: #b91c1c !important;
}

.bl_actsr_table th.blue, .bl_actsr_table td.blue {
  background-color: #e0f2fe !important; /* 淡い青 */
  color: #0c4a6e !important;
}
/* --------------------------------------------------------------------
   トップメニュー
 -------------------------------------------------------------------- */
/* ページ上部のナビゲーションバー */
.top-bar {
	display: flex;
	justify-content: space-between;
}
.top-bar .name h1  {
    margin-left:2rem;
    color: #070707;
	width: 100%;
}
.top-bar .name a  {
    color: #070707;
}

.top-bar.expanded .title-area {
	padding-left: 1em;
    background: #f5f5f5;
    display: flex;
    align-items: center;
}
.top-bar-logo {
    display: flex;
    align-items: center;
    height: 100%;
}
.top-bar-logo__image {
    width: 92px;
    height: auto;
    display: block;
}
.top-bar.expanded, .top-bar,.top-bar-section ul li,.top-bar-section li:not(.has-form) a:not(.button) {
    background: #f5f5f5;
    color: #070707;
}

.top-bar-section ul.right.top-bar-user-nav {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    height: 45px;
    margin: 0 1.5rem 0 0;
}

.top-bar-section .top-bar-user-nav .top-bar-user-nav__item {
    display: flex !important;
    align-items: center;
    float: none;
    margin: 0;
    height: 45px;
}

.top-bar-section li:not(.has-form) .top-bar-user-nav__link:not(.button) {
    display: inline-flex;
    align-items: center;
    height: 45px;
    padding: 0;
    background: #f5f5f5;
    color: #070707;
    font-family: "Noto Sans JP", sans-serif;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
}

.top-bar-section li:not(.has-form) .top-bar-user-nav__link--mypage:not(.button) {
    height: 32px;
    padding: 0 18px;
    border-radius: 999px;
    background: #ffd95a;
    color: #333333;
    box-shadow: 0 2px 0 #d4a935;
}

/*
.top-bar-section li a {
    color: #070707 !important;
}
*/
.top-bar-section li:not(.has-form) .top-bar-user-nav__link--mypage:not(.button):hover {
    background: #ffe680;
    color: #333333;
    transform: translateY(-1px);
}

.top-bar-section li:not(.has-form) .top-bar-user-nav__link:not(.button):not(.top-bar-user-nav__link--mypage):hover,
.top-bar-section li:not(.has-form) a:not(.button):not(.top-bar-user-nav__link--mypage):hover {
    background-color: #f5f5f5;
    background: #f5f5f5;
    color: #070707;
}

@media only screen and (min-width: 40.0625em) {
	.top-bar:before, .top-bar:after {
		content: normal;
		display: normal;
	}
}
.top-bar.expanded .top-notice p{
    color: #0e0e0e;
    font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
    font-size: 1.2rem;
    font-weight: normal;
    text-transform: none;
    line-height: 2.8125rem;
    padding-left: 30rem;
    margin-bottom: 0rem;
}

/* --------------------------------------------------------------------
   マイページ
 -------------------------------------------------------------------- */
.mypage {
    max-width: 1180px;
    margin: 0 auto;
    padding: 24px 20px 56px;
    font-family: "Noto Sans JP", sans-serif;
}

.mypage-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.mypage-header h2 {
    margin: 0;
    border: none;
    color: #333333;
    font-size: 28px;
    font-weight: 700;
}

.mypage-header p {
    margin: 0;
    color: #4368a0;
    font-size: 14px;
    font-weight: 700;
}

.mypage-header-links {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    max-width: 100%;
}

.mypage-employee-navi-link {
    display: block;
    width: 240px;
    max-width: 100%;
}

.mypage-employee-navi-link img {
    display: block;
    width: 100%;
    height: auto;
}

.mypage ruby {
    ruby-align: center;
}

.mypage rt {
    font-size: 0.6em;
    line-height: 1;
    font-weight: 700;
}

.mypage-panel {
    background: rgba(255, 255, 255, 0.76);
    border-radius: 8px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.mypage-panel-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.mypage-panel h3,
.mypage-summary h4 {
    margin: 0 0 16px;
    border: none;
    color: #333333;
    font-weight: 700;
}

.mypage-context {
    margin: 0 0 18px;
    color: #333333;
    font-weight: 700;
}

.mypage-selection-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.mypage-user-selection-list {
    grid-template-columns: 1fr;
}

.mypage-selection-link {
    display: flex;
    align-items: center;
    min-height: 56px;
    padding: 12px 16px;
    border-radius: 8px;
    background: #ffffff;
    color: #333333;
    cursor: pointer;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.14);
}

.mypage-user-card {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    min-height: 190px;
}

.mypage-selection-link:hover {
    background: #fff7c7;
    color: #333333;
}

.mypage-selection-user-name {
    display: block;
    line-height: 1.35;
}

.mypage-summary-legend {
    display: flex;
    gap: 16px;
    margin: -4px 0 16px;
    color: #333333;
    font-size: 13px;
    font-weight: 700;
}

.mypage-summary-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mypage-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mypage-dot-circle {
    background: #4f9d69;
}

.mypage-dot-triangle {
    background: #e5b74b;
}

.mypage-dot-cross {
    background: #d15b5b;
}

.mypage-user-summary {
    display: grid;
    gap: 8px;
}

.mypage-user-summary-row {
    display: grid;
    grid-template-columns: 86px minmax(80px, 1fr) 42px;
    align-items: center;
    gap: 8px;
    color: #333333;
    font-size: 12px;
}

.mypage-user-summary-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mypage-user-summary-bar {
    display: block;
    height: 14px;
    overflow: hidden;
    border-radius: 7px;
    background: #edf2f4;
}

.mypage-user-summary-fill {
    display: flex;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: inherit;
}

.mypage-user-summary-segment {
    display: block;
    height: 100%;
}

.mypage-user-summary-circle {
    background: #4f9d69;
}

.mypage-user-summary-triangle {
    background: #e5b74b;
}

.mypage-user-summary-cross {
    background: #d15b5b;
}

.mypage-user-summary-count,
.mypage-empty-mini {
    color: #666666;
    font-size: 12px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}

.mypage-empty-mini {
    display: block;
    text-align: left;
}

.mypage-user-summary-rates {
    display: flex;
    flex-wrap: wrap;
    grid-column: 2 / 4;
    gap: 10px;
    color: #666666;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.2;
}

.mypage-user-summary-rates span {
    white-space: nowrap;
}

.mypage-back-link {
    flex: 0 0 auto;
    color: #4368a0;
    font-size: 14px;
    font-weight: 700;
    text-decoration: underline;
}

.mypage-tabs {
    display: grid;
    gap: 24px;
}

.mypage-summary {
    overflow: hidden;
}

.mypage-table {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    background: #ffffff;
}

.mypage-table th,
.mypage-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #d8ebe8;
    text-align: center;
    white-space: nowrap;
    line-height: 1.35;
}

.mypage-table th {
    background: #d8f2ee;
    color: #333333;
    font-weight: 700;
}

.mypage-table-chart-cell {
    min-width: 220px;
}

.mypage-history-bar {
    display: block;
    width: 100%;
    height: 18px;
    overflow: hidden;
    border-radius: 7px;
    background: #edf2f4;
}

.mypage-history-fill {
    display: flex;
    height: 100%;
    min-width: 0;
    overflow: hidden;
    border-radius: inherit;
}

.mypage-history-segment {
    display: block;
    height: 100%;
}

.mypage-history-circle {
    background: #4f9d69;
}

.mypage-history-triangle {
    background: #e5b74b;
}

.mypage-history-cross {
    background: #d15b5b;
}

.mypage-empty {
    margin: 0;
    padding: 14px 16px;
    border-radius: 8px;
    background: #ffffff;
    color: #666666;
}

.mypage-header--analytics {
    align-items: flex-start;
}

.mypage-analytics-actions {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.mypage-analytics-actions > * {
    margin: 0;
    align-self: flex-start;
}

.mypage-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: 12px;
    color: #2c4a58;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.15;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.mypage-action-button ruby {
    display: inline-flex;
    flex-direction: column-reverse;
    align-items: center;
    line-height: 1;
    vertical-align: top;
}

.mypage-action-button rt {
    font-size: 0.55em;
    line-height: 1;
}

.mypage-action-button:hover,
.mypage-action-button:focus {
    color: #2c4a58;
    text-decoration: none;
}

.mypage-action-button--language {
    background: #d9efec;
    border-color: #8dc7c0;
}

.mypage-action-button--language:hover,
.mypage-action-button--language:focus {
    background: #cae7e2;
    border-color: #78b8b0;
}

.mypage-action-button--back {
    background: #ffffff;
    border-color: #bddfd8;
}

.mypage-action-button--back:hover,
.mypage-action-button--back:focus {
    background: #f7fcfb;
    border-color: #a7d1c8;
}

.mypage-native-language-dialog {
    width: min(640px, 92vw);
    max-height: min(88vh, 780px);
}

.mypage-native-language-dialog .mm-help-dialog-body {
    padding: 12px 18px 18px;
    max-height: calc(min(88vh, 780px) - 72px);
}

.mypage-native-language-dialog form {
    margin: 0;
}

.mypage-native-language-form {
    display: grid;
    gap: 14px;
}

.mypage-native-language-row {
    display: grid;
    gap: 4px;
}

.mypage-native-language-label {
    color: #48616d;
    font-size: 0.95rem;
    font-weight: 700;
}

.mypage-native-language-value {
    display: block;
    color: #1e3041;
    font-size: 1rem;
    line-height: 1.55;
    padding-bottom: 3px;
}

.mypage-native-language-field {
    display: grid;
    gap: 10px;
}

.mypage-native-language-search,
.mypage-native-language-select {
    width: 100%;
}

.mypage-native-language-select {
    height: 140px;
    min-height: 140px;
    max-height: 140px;
}

.mypage-native-language-empty {
    margin-top: 0;
}

.mypage-native-language-actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    min-height: 74px;
    padding: 0;
    margin-top: -18px;
}

.mypage-native-language-button {
    min-width: 116px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.mypage-native-language-button--primary {
    background: #d9efec;
    border-color: #8dc7c0;
    color: #2c4a58;
}

.mypage-native-language-button--primary:hover,
.mypage-native-language-button--primary:focus {
    background: #cae7e2;
    border-color: #78b8b0;
    color: #2c4a58;
}

.mypage-native-language-button--primary:disabled {
    background: #d7dee2;
    border-color: #c2ccd2;
    color: #7b8790;
    cursor: default;
    box-shadow: none;
}

.mypage-native-language-button--primary:disabled:hover,
.mypage-native-language-button--primary:disabled:focus {
    background: #d7dee2;
    border-color: #c2ccd2;
    color: #7b8790;
}

.mypage-native-language-button--secondary {
    background: #ffffff;
    border-color: #bddfd8;
    color: #4368a0;
}

.mypage-native-language-button--secondary:hover,
.mypage-native-language-button--secondary:focus {
    background: #f7fcfb;
    border-color: #a7d1c8;
    color: #2c4a58;
}

.mypage-analytics-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(260px, 0.7fr);
    gap: 18px;
    align-items: stretch;
}

.mypage-analytics-card {
    min-width: 0;
    padding: 18px 20px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f6fbfb 100%);
    box-shadow: 0 14px 32px rgba(90, 150, 145, 0.12);
}

.mypage-analytics-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}

.mypage-analytics-card__header h3 {
    margin: 0;
    color: #1e3041;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.25;
}

.mypage-heading-with-help {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mypage-term-with-help {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.mm-help-button.mypage-help-button {
    width: 40px;
    min-width: 40px;
    height: 28px;
    min-height: 28px;
    margin: 0;
    padding: 0 !important;
    border: none;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    line-height: 1;
    appearance: none;
    -webkit-appearance: none;
    vertical-align: middle;
    transition: filter 0.18s ease;
}

.mm-help-button.mypage-help-button img {
    width: 40px;
    height: 28px;
    display: block;
    object-fit: contain;
}

.mm-help-button.mypage-help-button:hover,
.mm-help-button.mypage-help-button:focus-visible {
    filter: brightness(0.95);
    outline: none;
}

.mypage-radar-layout {
    display: flex;
    justify-content: center;
}

.mypage-radar-chart {
    width: 100%;
    max-width: 260px;
    height: auto;
}

.mypage-radar-grid {
    fill: none;
    stroke: #d8e7ee;
    stroke-width: 1;
}

.mypage-radar-axis {
    stroke: #e3eef2;
    stroke-width: 1;
}

.mypage-radar-shape {
    fill: rgba(60, 174, 183, 0.2);
    stroke: #2f9e95;
    stroke-width: 3;
}

.mypage-radar-label {
    fill: #37516a;
    font-size: 11px;
    font-weight: 700;
}

.mypage-radar-ruby {
    fill: #5c7485;
    font-size: 8px;
    font-weight: 700;
}

.mypage-radar-value {
    fill: #0f7f77;
    font-size: 18px;
    font-weight: 800;
}

.mypage-level-list {
    display: grid;
    gap: 12px;
    margin: 0;
}

.mypage-level-list__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid #dcebea;
}

.mypage-level-list__row:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.mypage-level-list dt,
.mypage-level-list dd {
    margin: 0;
}

.mypage-level-list dt {
    color: #4a6174;
    font-size: 14px;
    font-weight: 700;
}

.mypage-level-list dd {
    color: #13805d;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.15;
    text-align: right;
}

.mypage-trend-card {
    padding: 20px 24px 18px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbfc 100%);
    box-shadow: 0 14px 32px rgba(90, 150, 145, 0.12);
}

.mypage-line-chart {
    width: 100%;
    height: auto;
}

.mypage-line-chart__grid,
.mypage-line-chart__axis {
    stroke: #e4edf1;
    stroke-width: 1;
}

.mypage-line-chart__axis-label,
.mypage-line-chart__month-label {
    fill: #5c7485;
    font-size: 12px;
    font-weight: 700;
}

.mypage-line-chart__line {
    fill: none;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mypage-line-chart__point {
    stroke: #ffffff;
    stroke-width: 2;
    cursor: pointer;
}

.mypage-chart-tooltip {
    position: absolute;
    z-index: 1000;
    max-width: 220px;
    padding: 8px 10px;
    border-radius: 8px;
    background: rgba(30, 48, 65, 0.92);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.4;
    pointer-events: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
}

.mm-help-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
}

.mm-help-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}

.mm-help-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 31, 38, 0.36);
}

.mm-help-dialog {
    position: relative;
    width: min(560px, 92vw);
    max-height: min(70vh, 560px);
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.22);
    color: #333;
    transform: translateY(10px) scale(0.98);
    transition: transform 0.18s ease;
}

.mm-help-modal.is-open .mm-help-dialog {
    transform: translateY(0) scale(1);
}

.mm-help-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #dce8eb;
    background: #f4f8f9;
}

.mm-help-dialog-header h4 {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
}

.mm-help-close {
    width: 32px;
    min-width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #748a96;
    color: #fff;
    cursor: pointer;
    font-size: 1.3rem;
    line-height: 1;
}

.mm-help-dialog-body {
    padding: 18px;
    overflow-y: auto;
    line-height: 1.7;
    white-space: pre-wrap;
}

.mypage-native-language-dialog .mm-help-dialog-body {
    padding: 12px 18px 18px;
    line-height: 1.5;
    white-space: normal;
}

.mypage-native-language-dialog .mypage-native-language-form {
    gap: 14px;
}

.mypage-native-language-dialog .mypage-native-language-row {
    gap: 4px;
}

.mypage-native-language-dialog .mypage-native-language-value {
    display: block;
    line-height: 1.55;
    padding-bottom: 3px;
}

.mypage-trend-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    margin-top: 8px;
}

.mypage-trend-legend__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #345065;
    font-size: 13px;
    font-weight: 700;
}

.mypage-trend-legend__swatch {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 999px;
}

.mypage-history-tabs {
    display: inline-flex;
    gap: 8px;
    margin-bottom: 18px;
    padding: 4px;
    border-radius: 14px;
    background: #edf6f5;
}

.mypage-history-tab-button {
    min-width: 96px;
    margin: 0;
    padding: 10px 18px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: #5f7684;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: none;
    letter-spacing: 0;
}

.mypage-history-tab-button.is-active {
    background: #ffffff;
    color: #138992;
    box-shadow: 0 6px 16px rgba(94, 140, 142, 0.16);
}

.js-history-panel {
    display: none;
}

.js-history-panel.is-active {
    display: block;
}

.mypage-table--analytics th,
.mypage-table--analytics td {
    font-size: 14px;
}

/* --------------------------------------------------------------------
   サイドメニュー
 -------------------------------------------------------------------- */
.side-nav li a:not(.button) {
    color: #FFF;
}
.side-nav li a:not(.button):hover {
    color: #080808;
}
/*サイドメニュー編集画面用*/
.side-nav-edit * {
    background: #838485;
}
.side-nav-edit li {
    color: #FFF;
}
.side-nav-edit li:hover {
    background: #838485;
}
.sideedit-nav- li {
    font-size: 0.875rem;
    font-weight: normal;
    margin: 0 0 0.4375rem 0;
}
.side-nav-edit li.heading {
    font-size: 0.875rem;
    font-weight: bold;
    /*text-transform: uppercase;*/
}
/*サイドメニューのリストスタイル解除*/
nav ul ul {
    list-style-type: none;
}

/*ハンバーガーメニュー作成*/
 .menu-trigger {
    display: inline-block;
    width: 36px;
    height: 28px;
    cursor: pointer;
    position: relative;
    float: left;
    top:8px;
  }
 .menu-trigger span {
    display: inline-block;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #0c0c0c;
    transition: all .5s;
  }

  .menu-trigger span:nth-of-type(1) {
    top: 0;
  }
  .menu-trigger span:nth-of-type(2) {
    top: 12px;
  }
  .menu-trigger span:nth-of-type(3){
    top: 24px;
  }

  /*ハンバーガーメニューNEW作成*/

.hamburger-grid__dots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 2px;
  width: 100%;
  height: 100%;
}

.hamburger-grid__dot {
  width: 8px;
  height: 8px;
  background-color: #0c0c0c;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.hamburger-grid__dots.active .hamburger-grid__dot {
  background-color: #0c0c0c;
}

.hamburger-grid__dots.active .hamburger-grid__dot:nth-child(1) {
  transform: scale(0);
}
.hamburger-grid__dots.active .hamburger-grid__dot:nth-child(2) {
  transform: translateY(8px);
}
.hamburger-grid__dots.active .hamburger-grid__dot:nth-child(3) {
  transform: scale(0);
}
.hamburger-grid__dots.active .hamburger-grid__dot:nth-child(4) {
  transform: translateX(8px);
}
.hamburger-grid__dots.active .hamburger-grid__dot:nth-child(5) {
  transform: scale(1.2);
}
.hamburger-grid__dots.active .hamburger-grid__dot:nth-child(6) {
  transform: translateX(-8px);
}
.hamburger-grid__dots.active .hamburger-grid__dot:nth-child(7) {
  transform: scale(0);
}
.hamburger-grid__dots.active .hamburger-grid__dot:nth-child(8) {
  transform: translateY(-8px);
}
.hamburger-grid__dots.active .hamburger-grid__dot:nth-child(9) {
  transform: scale(0);
}
/*メニューの開閉による幅変更*/

/* サイドメニュー */

/*
#actions-sidebar{
  padding-bottom:99999px;
  transform:translate(0px);
  background: #838485;
  box-shadow:2px -3px 4px 0px #a5a5a5;
}
*/

/*
#actions-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 300px;
  height: 100vh;
  background: rgba(131,132,133,0.9);
  transform: translateX(0); 
  transition: transform 0.3s ease;
  z-index: 9999;
}
*/

#actions-sidebar {
  position: fixed;
  top: 45px; 
  left: 0;
  width: 300px;
  height: calc(100vh - 45px - 40px); 
  /*background: #838485;*/
  background: rgba(185, 239, 210, 0.7);
  transform:translate(0px);
  transition: transform 0.3s ease;
  z-index: 999; 
}


#actions-sidebar.active{
  padding-bottom:0;
  transform:translate(-700px);
}

/*メニューの開閉による幅変更(サイドメニュー編集画面用)*/
#actions-sidebar-edit {
    transform: translate(0);
}
#actions-sidebar-edit {
    background: #838485;
    /* box-shadow */
    box-shadow:2px 3px 4px 0px #a5a5a5;
}
/** アコーディオンのプラスマイナス **/
.js_accordion_trigger_label {
    display: block;
    position: relative;
}

/* 二本の横棒を作成する */
.js_accordion_trigger_label::before,
.js_accordion_trigger_label::after {
    content: '';
    display: block;
    width: 15px;
    height: 4px;
    border-radius: 5px;
    background: white;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* 2本の横棒のうち一本は縦棒にする */
.js_accordion_trigger_label::after {
    /* 横棒を縦にするために90℃回転させる */
    transform: translateY(-50%) rotate(90deg);
    /* プラスからマイナスへの切り替えをゆっくり行いアニメーションさせる */
    /* transition: 0.5s; */
}

/*
プラスがクリックされたら縦棒を横にしてマイナスにする疑似要素
jQueryで付け外しを行う
*/
.js_accordon_active::after,
.js_acc_active::after {
    transform: rotate(0);
    /* transition: 0.5s; */
    margin-top: -2px;

}

/*
サイドメニュー検索結果ハイライト
*/
.menu_search_hit {
    animation: flash 1.2s linear infinite;
}
@keyframes flash {
    0%,35%,70% {
        background: #9CCC65;
        opacity: 1;
    }
    15%,50% {
        background:#44813e61;
        opacity: 0.5;
        border-radius: 5px;
    }
}

/*
サイドメニュー非表示
*/
.menu_search_hide {
    display: none;
}


.menu-list {
  display: flex;
  gap: 20px;
}

.menu-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #333;
}

.menu-icon {
  width: 64px;
  height: 64px;
}

.menu-label {
  margin-top: 6px;
  font-size: 14px;
}

/* --------------------------------------------------------------------
   パンくずリスト
 -------------------------------------------------------------------- */
.breadcrumbs>*:before {
    content: "";
    margin: 0 0.25rem;
}
.breadcrumbs {
    border-style: none;
    margin-bottom: 1rem;
    padding: 0;
    background: #f3f1f3;

}

/* --------------------------------------------------------------------
   フレーム
 -------------------------------------------------------------------- */
/*検索フォーム背景など*/
/*背景白・角丸・シャドウ*/
.flame_style {
    background: #fff;
    padding: 2rem 1rem;
/*	margin-bottom:4rem;*/
	margin-bottom:2rem;

	/* box-shadow */
	box-shadow:2px 2px 8px 0px #e5e5e5;
	-moz-box-shadow: 2px 2px 8px 0px #e5e5e5; /* Firefox */
	-webkit-box-shadow: 2px 2px 8px 0px #e5e5e5; /* Safari and Chrome */
	/* border-radius */
	border-radius:15px;
	-moz-border-radius: 15px; /*FireFox*/
	-webkit-border-radius: 15px; /* Safari and Chrome */
    --legend-shift: .75rem;
    padding-top: calc(2rem + var(--legend-shift));
}







/* --------------------------------------------------------------------
   ページネーター（ページネーション）
 -------------------------------------------------------------------- */
.paginator p {
    text-align: center;
    margin-bottom: 0;
}
ul.pagination li.active a {
    background-color: #4368a0;
}

/* --------------------------------------------------------------------
   ボックスデザイン（見出し付きカード風）
 -------------------------------------------------------------------- */
.bl_card{
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    margin-bottom: 1.5rem;
    word-wrap: break-word;
    background-clip: border-box;
    border: 1px solid;
    border-radius: .25rem;
    background-color: #fff;
    border-color: #d8dbe0;
}
.bl_card_header:first-child {
    border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
}
.bl_card_header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    border-bottom: 1px solid;
    background-color: #9ccc65;
    border-color: #d8dbe0;
	color: #fff;
}
.bl_card_body {
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    min-height: 1px;
    padding: 1.25rem;
}

.bl_card_body fieldset table tbody tr td div.input.checkbox{
    padding: 1.5rem 0;
}

/* アコーディオン用アイコン */
/* アイコン本体はWEBフォント（FontAwesome）使用、「fas fa-angle-down」の部分 */
.bl_card_header .ul_sortable.active .fa-angle-down {
	transform: rotate(180deg);
	transition: transform 0.3s;
}
.bl_card_header > li {
	line-height: 2;
}

/* --------------------------------------------------------------------
   ボックスデザイン（見出し付き囲み枠）
 -------------------------------------------------------------------- */

.bl_frame {
	position: relative;
	border: 2px solid #4368a0;
	border-radius: 4px;
	margin: 1.8em 1em;
	padding: 30px 0 10px;
	/*padding: 5px 15px;*/
}

.bl_frame .bl_frame_title {
	position: absolute;
	padding: 0 0.5em;
	left: 20px;
	top: -13px;
	color: #222222;
	font-weight: bold;
	/*font-size:0.9em;*/
	background-color: #f5f5f5;
}
.bl_frame > ul {
	margin-left: 0;
	margin-bottom: 10px;
}
.bl_frame .input {
	margin-left: 20px;
}
.bl_card .input {
	margin: 0;
}
.bl_card input[type=text] {
	margin-bottom: 0;
}

/* --------------------------------------------------------------------
   ゴミ箱
 -------------------------------------------------------------------- */
.bl_trash_area {
    border-style: dotted;
    border-color: rgba(5,5,5,0.2);
    border-radius: 12px;
    background-image: url(../img/trash.png);
    background-color: rgba(245,245,245,0.5);
    background-blend-mode:lighten;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 50%;
    width: 200px;
    height: 200px;
}
/* 指定要素のドロップ&ゴミ箱エリアへのホバーで見た目変更 */
.move_trash.bl_trash_area:hover {
    background-image: url(../img/trash_open.png);
    border-color: rgba(5,5,5,0.5);
}

/* ========================================================================

   ヘルパーグループ
	・接頭辞：hp_（推奨）
　　・基本的に1～2つ程度のスタイルのみで、
　　　「ここのスタイルだけ調整したい」という場合に使用

 ========================================================================== */
/*プライマリカラー*/
.primary_clr {
    background:#4368a0 !important;
    color: #fff !important;
}
.primary_font_clr {
    color: #4368a0 !important;
}
.primary_font_clr {
    color: #4368a0 !important;
}
/*セカンダリカラー*/
.secondary_clr {
    background:#9CCC65 !important;
    color: #fff !important;
}
/*サードカラー*/
.third_clr {
    background:#75b3ea !important;
    color: #fff !important;
}


/*ライトグレー*/
.hp_bg_lightgray {
	background:#E0E0E0 !important;
}

.hp_width_10_percent{
	width:10% !important;
}
.hp_width_15_percent{
	width:15% !important;
}
.hp_width_40_percent{
	width:40% !important;
}
.hp_width_10_em{
	width:10em !important;
}
.hp_width_12_em{
	width:12em !important;
}

.hp_padding_none{
	padding:0 !important;
}
.hp_bg_none{
	background-color:transparent !important;
}

.hp_border_none{
	border:none !important;
}

/* --------------------------------------------------------------------
   整列
 -------------------------------------------------------------------- */
/* インライン要素の中央揃え */
.hp_tac {
	text-align: center !important;
}
/* インライン要素の左寄せ */
.hp_tal {
	text-align: left !important;
}
/* インライン要素の右寄せ */
.hp_tar {
	text-align: right !important;
}
/* ブロック要素の中央揃え */
.hp_centering {
	margin-left:  auto !important;
	margin-right: auto !important;
}
/* 両端揃え */
.hp_leftright {
	display: flex;
	justify-content: space-between;	/* 両端から均等に配置 */
	margin-left:  auto !important;
	margin-right: auto !important;
}
/* 右揃え */
.hp_right {
	display: flex;
	justify-content:flex-end;	/* 主軸の終点に配置 */
	margin-left:  auto !important;
	margin-right: auto !important;
}
/* 左揃え */
.hp_left {
	display: flex;
	justify-content:flex-start;	/* 主軸の始点に配置 */
	margin-right: auto !important;
}
/* 中央揃え */
.hp_center {
	display: flex;
	justify-content:center;
	margin-left:  auto !important;
	margin-right: auto !important;
}
/* 上下中央揃え */
.hp_vam {
	vertical-align: middle !important;
}
/* 画面中央寄せ(要素縦並び) */
.hp_screen_center_vertical {
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    align-items: center !important;
}

/* --------------------------------------------------------------------
   幅指定
 -------------------------------------------------------------------- */
.hp_wautop {
	width: auto !important;

}
.hp_w5p {
	width: 5% !important;
}
.hp_w8p {
	width: 8% !important;
}
.hp_w10p {
	width: 10% !important;
}
.hp_w15p {
	width: 15% !important;
}
.hp_w20p {
	width: 20% !important;
}
.hp_w22p {
	width: 22% !important;
}
.hp_w24p {
	width: 24% !important;
}
.hp_w30p {
	width: 30% !important;
}
.hp_w33p {
	width: 33% !important;
}
.hp_w35p {
	width: 35% !important;
}
.hp_w42p {
	width: 42% !important;
}
.hp_w40p {
	width: 40% !important;
}
.hp_w45p {
	width: 45% !important;
}
.hp_w50p {
	width: 50% !important;
}
.hp_w55p {
	width: 55% !important;
}
.hp_w60p {
	width: 60% !important;
}
.hp_w67p {
	width: 67% !important;
}
.hp_w70p {
	width: 70% !important;
}
.hp_w75p {
	width: 75% !important;
}
.hp_w80p {
	width: 80% !important;
}
.hp_w85p {
	width: 85% !important;
}
.hp_w90p {
	width: 90% !important;
}
.hp_w100p {
	width: 100% !important;
}

.hp_w2rem {
	width: 2rem;
}
.hp_w3rem {
	width: 3rem;
}
.hp_w4rem {
	width: 4rem;
}
.hp_w6rem {
	width: 6rem;
}
.hp_w7rem {
	width: 7rem;
}
.hp_w8rem {
	width: 8rem;
}
.hp_w10rem {
	width: 10rem;
}
.hp_w12rem {
	width: 12rem;
}

.hp_w600px {
	width: 600px !important;
}
.hp_w800px {
	width: 800px !important;
}

.hp_display_inline {
	display: inline-block !important;
}
.hp_clear {
	clear:both !important;
}


/* --------------------------------------------------------------------
   マージン
 -------------------------------------------------------------------- */
/* 上下マージン10px */
.hp_margin10 {
	margin: 10px auto !important;
}
/* 上下マージン20px */
.hp_margin20 {
	margin: 20px auto !important;
}
/* 上下マージン30px */
.hp_margin30 {
	margin: 30px auto !important;
}
/* 上下マージン50px */
.hp_margin50 {
	margin: 50px auto !important;
}
/* 上部のみマージン20px */
.hp_margin20_top {
	margin: 20px auto 0 !important;
}
/* 上部のみマージン50px */
.hp_margin50_top {
	margin: 50px auto 0 !important;
}
/* 下部のみマージン10px */
.hp_margin10_btm {
	margin: 0 auto 10px !important;
}
/* 下部のみマージン20px */
.hp_margin20_btm {
	margin: 0 auto 20px !important;
}
/* 下部のみマージン50px */
.hp_margin50_btm {
	margin: 0 auto 50px !important;
}
/* マージンなし */
.hp_margin0 {
	margin: 0 !important;
}
/* 下部マージンなし */
.hp_margin0_btm {
	margin-bottom: 0 !important;
}
/* 左マージン20px */
.hp_margin20_left {
	margin-left: 20px !important;
}
.hp_margin0_left{
	margin-left: 0 !important;
}
.hp_margin0_right{
	margin-right: 0 !important;
}
/* 中央寄せ */
.hp_margin_center{
	margin-left:auto;
	margin-right:auto;
}

/* --------------------------------------------------------------------
   パディング
 -------------------------------------------------------------------- */
/* 上下左右パディング10px */
.hp_pad10 {
	padding: 10px !important;
}
/* 左右パディング10px */
.hp_padlr10 {
	padding: 0 10px !important;
}
/* 上下左右パディングなし */
.hp_pad0 {
	padding: 0 !important;
}
/* 上のみパディング10px */
.hp_pad10_top {
	padding-top: 10px !important;
}
/* 下のみパディング10px */
.hp_pad10_btm {
	padding-bottom: 10px !important;
}
/* 上のみパディング6px */
.hp_pad6_top {
	padding-top: 6px !important;
}
/* 下のみパディング6px */
.hp_pad6_btm {
	padding-bottom: 6px !important;
}
/* 上下左右パディング20px */
.hp_pad20 {
	padding: 20px !important;
}

/* --------------------------------------------------------------------
   float
 -------------------------------------------------------------------- */
.hp_floatl {
	float:left !important;
}
.hp_floatr {
	float:right !important;
}

/* --------------------------------------------------------------------
   displayプロパティ
 -------------------------------------------------------------------- */
.hp_d-flex {
	display: flex !important;
}
.hp_d-iflex {
	display: inline-flex !important;
}
.hp_d-iblock {
	display: inline-block !important;
}
.hp_d-block {
	display: block !important;
}
.hp_d-con {
	display: contents !important;
}
.hp_d-none {
	display: none;
}

/* --------------------------------------------------------------------
   Flexboxプロパティ
 -------------------------------------------------------------------- */
/* 子要素を左から右に配置 */
.hp_f-dir_row {
    flex-direction: row !important;
}
/* 子要素を右から左に配置 */
.hp_f-dir_rowrev {
    flex-direction: row-reverse !important;
}
/* 子要素を上から下に配置 */
.hp_f-dir_col {
    flex-direction: column !important;
}
/* 子要素を下から上に配置 */
.hp_f-dir_colrev {
    flex-direction: column-reverse !important;
}

/* --------------------------------------------------------------------
   フォント設定
 -------------------------------------------------------------------- */
.hp_fnormal {
	font-size           : 1em !important;
	font-weight         : normal !important;
}
.hp_f08em {
	font-size           : 0.8em !important;
}
.hp_f12em {
	font-size           : 1.2em !important;
}
.hp_f12emb {
	font-size           : 1.2em !important;
	font-weight         : bold;
}
.hp_fbold {
	font-weight         : bold;
}
.hp_f075rem {
	font-size			: 0.75rem !important;
}
.hp_f075rem_th th {
	font-size			: 0.75rem !important;
}
/* 等幅フォント＋サイズ縮小しないようにする */
.hp_monosp {
	font-family: monospace, serif;
}
/* 非表示設定 */
.hp_nodisp {
	display: none !important;
}
/* 印刷時のみ表示する */
.hp_print_disp {
	display: none;
}
/* 通常の文字色 */
.hp_txtcolor_normal {
	color: #4d4d4d !important;
}
/* 行の高さ（親要素に指定された値を継承） */
.hp_lineh_inherit {
	line-height: inherit !important;
}

/* --------------------------------------------------------------------
   改行コード使用
 -------------------------------------------------------------------- */
 .hp_ws_break_spaces{
    white-space:break-spaces;
}

/* --------------------------------------------------------------------
   エラーメッセージ
 -------------------------------------------------------------------- */
.error-message,
.error {
	font-weight: bold;
	color: var(--errortxt-color, #d2302f) !important;
	margin: 0 !important;
}
.error-message ul {
	list-style-type: none;
    padding-left: 0;
	margin: 0 !important;
    font-size: 100% !important;
}
.error-message li {
	margin: 0 !important;
    font-size: 100% !important;
}
div.message.error {
	color: #fff !important;
}

/* --------------------------------------------------------------------
   線スタイル
 -------------------------------------------------------------------- */
.border-bottm {
    clear: both;
    display: block;
    border-bottom: 2px solid #4368a0;
}

.border-bottom_none_display {
    clear: both;
    /* display: block; */
    border-bottom: 2px solid #4368a0;
}

/* --------------------------------------------------------------------
   カーソル
 -------------------------------------------------------------------- */
.hp_pointer {
	cursor: pointer;
}



/* --------------------------------------------------------------------
   その他
 -------------------------------------------------------------------- */

/* 仮　要素　ブロック/幅　指定を外す */
.custform_input{
    width:auto !important;
    display:inline !important;
}

div.input.select div.checkbox{
    display:inline;
    margin-right: 1em;
}
div.input.select div.checkbox label{
    width:auto !important;
    display:inline !important;
}

div.input.radio label.custform_input{
    margin-right: 1em;
}

/* --------------------------------------------------------------------
   オートコンプリート機能デザイン
 -------------------------------------------------------------------- */
.ui-menu .ui-menu-item-wrapper {
    position: relative; padding: 3px 1em 3px .4em;
  }
  /* リスト全体の背景 */
  .ui-widget-content {
    border: 1px solid #666!important;
    background: #eee!important;
    color: #666!important;
    font-size: 12px;
  }
  /* リスト hover 時のカラー */
  .ui-state-active {
    border: 1px solid #393!important;
    background: #90a4ae!important;
    font-weight: normal!important;
    color: #ffffff;
  }
 /* ヒット件数多かった時スクロールバー出す */
  .ui-autocomplete {
/*    max-height: 100px;*/
    max-width: 450px;
    overflow-y: auto;
  }

  .ui-autocomplete-input {
    margin: 0;
  }



  /*************************************

ベーススタイル
※共通パーツとして利用できるもの

**************************************/

table tbody tr th {
    border-bottom: 1px solid #d6e9c6;
    line-height: 2.5rem;
}
.primary_border {
    border-bottom: 2px solid #4368a0;
    margin-bottom: 30px;
}

.left-align {
    text-align: left;
    padding: 0;
}
hp_text-center
.hp_paddingbtm {
    padding-bottom: 30px;
}

.ly_back_clr_fff {
    background-color: #fff;
}

.none_sort_th{
    color:#1798A5 !important;
}


/*************************************

Download
ダウンロード

**************************************/

/*************************************

検索フォーム
注意書き有の時

**************************************/
.bl_table_note td {
    width:50%;
    vertical-align: middle;
    padding:2rem 1.5rem;
}

.bl_table_note p {
    margin-bottom:0;
}
.bl_table_note td label {
    float: left;
    display:table-cell;
    width:25%;
    height:2.3125rem;
    text-align: center;
    line-height:2.3125rem;
    color:#fff;
}

.bl_table_note td input[type="text" ]{
    width: 75%;
}

.bl_table_note td fieldset div:nth-child(2),.bl_table_note td fieldset div:nth-child(3) {
    display: inline-block;
    width: 50%;
}

.bl_table_note td fieldset div:nth-child(3) {
    float: right;
}

.bl_table_note td fieldset div:nth-child(2) label ,.bl_table_note td fieldset div:nth-child(3) label {
    width: 50%;
}

.bl_table_note td fieldset div:nth-child(2) input[type="text" ] ,.bl_table_note td fieldset div:nth-child(3) input[type="text" ]{
    width: 49%;
}

.bl_table_note td fieldset div:nth-child(3) label{
    margin-left:1%;
}

/*************************************

ファイルダウンロードマスタ

**************************************/
/* list.ctp */
.uq_mdirectory_table th:nth-child(2){
    width: 20%;
}
/* ディレクトリ権限設定ユーザー */
.btn_group_dir_search {
    background-color: #4169E1;
    color: #fff;
}



/************* デイトピッカー ****************/
.uq_csr_datepicker,
#datepicker,
#datepicker_end {
    width: 200px !important;
    display: inline;
    margin-right: 10px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}
.uq_csr_datepicker span {
    font-size: 3em;
    margin: 10px 30px 0;
    vertical-align: middle;
    font-weight: normal;
}

.uq_csr_datepicer {
    overflow: hidden;
}

.uq_csr_datepicer>div,
.uq_csr_datepicer>div>input {
    float: left;
}

.uq_csr_datepicer>div>img {
    width: 40px;
    margin-left: 10px;
}


.ui-datepicker-prev {
    display: none;
}

.ui-datepicker-next {
    display: none;
}
/* 年プルダウンの変更 */
.uq_mcsr_get_data_div select.ui-datepicker-year {
    margin-top: -2px !important;
    margin-right: 5px !important; /* 「年」との余白設定 */
    width: 70px !important; /* 幅調整 */
}
/* 月プルダウンの変更 */
.uq_mcsr_get_data_div select.ui-datepicker-month {
    margin-left: 5px !important; /* 「年」との余白設定 */
    width: 70px !important; /* 幅調整 */
}
/********** 抽出結果 **********/
.uq_csr_savelist fieldset label {
    float: left;
    display: table-cell;
    width: 22%;
    height: 2.3125rem;
    text-align: center;
    line-height: 2.3125rem;
    color: #fff;
    margin-top: 20px;
}

.uq_csr_savelist fieldset select,
.uq_csr_savelist fieldset input[type="text"] {
    float: left;
    width: 40% !important;
    background-color: #fff;
    margin-top: 20px;
}

.uq_mcsr_get_data_div .primary_border {
    border-bottom: 2px solid #4368a0;
    margin-bottom: 30px;
}
.uq_mcsr_get_data_div .left-align {
    text-align: left;
    padding: 0;
}
.uq_csr_headbtn {
    padding-bottom: 30px;
    display: block;
    overflow: hidden;
}
.uq_csr_headbtn > div {
    text-align: left;
}
.uq_mcsr_get_data_div input[type="radio"],
.uq_mcsr_get_data_div input[type="checkbox"] {
    margin-left: 50px;
}
/*抽出結果*/
/********** 抽出結果 **********/
.uq_csr_checkall {
    float: none !important;
    margin: 0;
    padding: 0.5625rem 0.625rem;
}
.uq_mcsr_get_data_div .uq_csr_accordion1 input[type="checkbox"] {
    margin: 0 10px 0 0;
}
.uq_mcsr_get_data_div .uq_csr_accordion1 table tr {
    border: none;
}
/********** 抽出結果一覧 **********/
.uq_csr_detail fieldset label {
    float: left;
    display: table-cell;
    width: 25%;
    height: 2.3125rem;
    text-align: center;
    line-height: 2.3125rem;
    color: #fff;
}
.uq_csr_detail fieldset select,
.uq_csr_detail fieldset input[type="text"] {
    width: 75%;
    background-color: #fff;
}


/* --------------------------------------------------------------------
タブ切り替え
 -------------------------------------------------------------------- */
.tab {
    border-bottom: 3px solid #fb4343;
}
.tab td {
    color: #333;
    float: left;
    margin: 0 10px -1px 0;
    padding: 10px 20px;
    border: 1px solid #fb4343;
    cursor: pointer;
    list-style: none;
    transition: .3s;
}
.tab td.active {
    color: #fff;
    background: #fb4343;
    cursor: auto;
}

.area tr {
    display: none;
}
.area tr.show {
    display: block;
}




/* 除外メールマスタ、SQL置換文字マスタに戻るボタン */
.uq_back_btn {
    display:inline-block;
    min-width: 160px;
    max-width: 300px;
    padding:0.6rem;
    text-align:center;
    background: #90A4AE;
    color: #fff;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16);
}
.uq_back_btn:hover {
    color: #fff;
    background: #bbd4e0;
    transition: background-color 500ms ease-out;
}
.uq_todo_warp {
  display:flex;
  flex-direction: column;
  justify-content: flex-start;
  flex-wrap:wrap;
  border: 1px solid #999;
  width:100%;
  overflow: scroll;
  resize: both;
}
.uq_todo_warp_item{
  border-bottom:solid 1pt #ebebec;
  border-left:solid 2pt #ebebec;
  width : 48%;
}

.uq_todo_warp_item.uq_todo_warp_item_full{
  width : 100%;
}

.uq_todo_warp_item_key{
  float:left;
  overflow: hidden;
  width:30%;
  text-overflow: ellipsis;
  height:100%;
  color:#1798A5;
  font-weight:bold;
}
.uq_todo_warp_item_full .uq_todo_warp_item_key{
  width:15%;
}
.uq_todo_warp_item_key:after{
  content:":";
}

.uq_todo_warp_item_val{
  color:#222;
  width:70%;
  margin-left:30%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
/*  word-wrap: break-word; */
}
.uq_todo_warp_item_full .uq_todo_warp_item_val{
  width:85%;
  margin-left:15%;
}

pre.uq_pre_not_shadow{
    box-shadow: none;
    margin: 0px;
    padding: 0px;
    font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
}

.text-right {
    text-align : right !important;
}
.text-center {
    text-align : center !important;
}

/** ファイルマネージャ **/
.uq_download_loading{
  background: url("../dist/themes/default/throbber.gif") left center no-repeat;
}

/** 対応履歴 **/
.uq_correspondence_list_edit{
	cursor:pointer;
	transition: background 1s;
}
.uq_correspondence_list_edit:hover{
	background: #26A69A;
}
#correspondence_dlg{
	border:none !important;
	display:none;
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100% !important;
	/*overflow-y: scroll;*/
	overflow-y: auto;
}

.uq_correspondence_subject{
	width:100%;
	border-bottom: solid 2px #4368a0;
	color: #4368a0;
	line-height: 1.4;
	font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
	cursor:pointer;
	margin-bottom: 0;
}
.uq-correspondence-dlg{
	z-index: 10001;
}

button.ui-dialog-titlebar-close{
	min-width : 0 !important;
}
.uq_correspondence_title{
	font-weight: bold;
    color: #4368a0;
    margin-bottom: 0;
    line-height: 1.5;
    cursor: default;

}
#correspondence_hist{
	box-sizing: border-box;
	/*overflow-y: scroll;*/
}

.uq_correspondence_div{
	background-color: #fff;
	border-radius: 0 0 5px 5px;
	padding: 0.5em;
}

.uq_correspondence_div_flex{
	flex: 1;
	/*overflow:auto;*/
	overflow:visible;
	/*height:100%;*/
	background-color: #DDDDDD;
}
.uq_correspondence_hist{
	background-color: #FFF;
	box-sizing: border-box;
	border-radius: 0 0 5px 5px;
	margin-bottom: 0.5em;
	padding: 0.5em;
}
.uq_correspondence_hist_head{
	color:#26A69A;
	border-bottom: solid 1px #26A69A;
	margin-bottom: 0;
}
.uq_correspondence_hist_head.locked{
	color:#ff8080;
}
.uq_correspondence_hist_detail{
	background-color: #fff;
	border-radius: 0 0 5px 5px;
	padding: 0.5em;
	margin-top: 0;
	margin-bottom: 4px;
	box-shadow:none;
	font-size: +14pt;
}

.correspondence-dlg-front{
	z-index:10001 !important;
}

#js_overlay,#js_link_overlay{
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
  height:100%;
  display: none;
  background: rgba(0,0,0,0.6);
}
.js_cv_spinner{
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.js_spinner{
  width: 40px;
  height: 40px;
  border: 4px #ddd solid;
  border-top: 4px #2e93e6 solid;
  border-radius: 50%;
  animation: sp-anime 0.8s infinite linear;
}
@keyframes sp-anime {
  100% {
    transform: rotate(360deg);
  }
}
span.uq_correspondence_hist_edit_icon,span.uq_correspondence_hist_lock_icon,span.uq_correspondence_hist_unlock_icon{
  float:right;margin-top:2px;margin-right:2px;
}
div.ui-widget-header{
  border: 1px solid #9CCC65;
  background: #4368a0;
  color:#fff;
}

.uq_entrance_frame{
  border:solid 1px black;
  background-color:white;
  padding:4px;
  margin-bottom:2em;
}
.uq_entrance_list{
  color: #4368a0;
  text-decoration:underline;
  text-decoration-color:#4368a0;
  font-weight: 600;
  cursor:pointer;
}

.uq_zip_addr_select_detail{
  margin: .5em .1em;
  padding: .2em;
  border-radius: 5px;
  background-color: #ffffff;
  font-size:1.125rem;
  cursor:pointer;
}

/** SMS送信結果画面 **/
#smsInfo_dlg{
	border:none !important;
	display:none;
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100% !important;
}

.smsInfo_subject{
	width:100%;
	border-bottom: solid 2px #4368a0;
	color: #4368a0;
	line-height: 1.4;
	font-family: "Helvetica Neue",Helvetica,Roboto,Arial,sans-serif;
	cursor:pointer;
	margin-bottom: 0;
}

.smsInfo_div{
	background-color: #fff;
	border-radius: 0 0 5px 5px;
	padding: 0.5em;
}

/**/
.uq_customers_ul_sortable{
	/*margin-left:10px !important;*/
	margin-left:0 !important;
	margin-right:0 !important;
}


.uq_misps_post_no_table{
    margin-left:-0.6rem  !important;
    background: #f5f5f5 !important;
    margin-bottom:initial;
}

.uq_misps_post_no_table tr {
    border-color: #f5f5f5 !important;
    padding-bottom: 0px !important;
}

.uq_dtp .ui-datepicker-trigger{
	float: left !important;
}
.uq_dtp .fromTo{
	width: 2em !important;
	float: left !important;
	text-align: center !important;
	margin-top: 0.7em !important;
}
.uq_dtp::after {
    content: " ";
    display: block;
    clear: both;
}

/* カレンダーマスタ */
#uq_calendar_top{
    display: flex;
    justify-content: space-between;
}

#uq_calendar_corpo_name h4{
    color: #535353;
    border: initial;
    font-size: 1.5em;
}

#uq_calendar_year_bar select{
    color: #535353;
    border: 3px solid ;
    border-color: #4368a0;
    padding: 0 1em;
    padding-right: 2em;
    font-size: 1em;
}

#uq_calendar_month_bar{
    background-color: #4368a0;
    display: flex;
    justify-content: space-between;
    padding: 1em 0;
    flex-direction: column;

}

#uq_calendar_month_bar form{
    justify-content: center;
}

#uq_calendar_month_bar button{
    color: white;
    background-color: #4368a0;
    min-width: initial;
    max-width:  initial;
    padding: 0 2em;
    margin: initial;
    box-shadow: initial;
    transition: initial;
    border: none;
    text-align: center;
    font-size: 2em;
}

#uq_calendar_month_bar h4{
    color: white;
    margin: initial;
    padding: initial;
    font-size: 2em;
}

#uq_calendar_day_of_week_space{
    background-color: white;
}

#uq_calendar_day_of_week_space th,
#uq_calendar_day_of_week_space td{
    border: 1px solid #CCCCCC;
}

.uq_calendar_days{
    text-align: center;
    font-size: 1em;
}

.uq_calendar_days h3{
    text-align: center;
    font-size: 1em;
    margin: 1em auto;
    border-left: initial;
    text-align: center;
    padding-left: initial;
}

.uq_calendar_days_empty h3{
    text-align: center;
    font-size: 1em;
    margin: 1em auto;
    border-left: initial;
    text-align: center;
    padding-left: initial;
    cursor: default;
}

.uq_calendar_day_of_week h3{
    margin: 1em auto;
    border-left: initial;
    text-align: center;
    padding-left: initial;
}

.uq_holiday{
    background-color: rgba(128, 128, 128, 0.63);
}

#uq_modal{
    z-index: 1;
    position: absolute;
    width: 25%;
    background-color: rgba(145, 145, 145, 0.507);
    padding: 2%;
    padding-bottom: 2.3%;
    text-align: center;
}

#uq_modal select, #uq_modal input{
    width: 80%;
    margin: 0 auto;
}
#uq_modal p{
    margin: initial;
}
.uq_add_holiday{
    margin: initial;
    margin-top: 20px;
    background-color: rgb(73, 161, 70);
}

.uq_add_holiday:hover{
    background-color: rgb(219, 169, 42);
}

.uq_buttons{
    display: flex;
}
.uq_buttons form{
    width: 100%;
}
.uq_cancel{
    min-width: 50%;
    padding: 20px 7%;
    margin: initial;
    margin-top: 20px;
    margin-left: -1%;
    font-size: 15px;
    background-color: rgb(170, 214, 152);
}
.uq_add_holiday{
    min-width: 39%;
    /* padding: 5px 31%; */
    margin: initial;
    margin-top: 20px;
    margin-left: 1%;
    font-size: 15px;
}

.uq_day_of_week_checked{
    width: 100%;
    padding: 0;
    margin: 0;
}

.uq_day_of_week_checked table{
    margin-bottom: 20px;
}

.uq_someEdit{
    margin-bottom: 20px;
}

.uq_someEdit_button{
    margin: initial !important;
}

.uq_not_check , .uq_submit_DB{
    background-color: rgb(255, 236, 206);
    padding: 30px;
    border: 3px solid rgb(233, 176, 92);
    margin-bottom: 10px;
}
.uq_not_check p , .uq_submit_DB p{
    margin-bottom: initial;
}

#uq_modal label{
    color: black;
    font-weight: unset;
}

#uq_empty_calendar{
    background-color: white;
    text-align: center;
    padding: 5%;
}

.uq_week_checkbox{
    width: 20px;
    height: 20px;
    margin-top: 15px !important;
    margin-right: 0 !important;
}

.uq_calendar_days h3:hover{
    color: #4368a0;
    cursor: pointer;
}

.uq_week_color{
    background-color: rgb(235, 250, 210);
}

.uq_add_cal_table td, .uq_add_cal_table th{
    text-align: center;
}

#uq_add_corpo{
    background-color: #1798A5;
    color: white;
    text-align: left;
}

.uq_select_year{
    -webkit-appearance: auto !important;
    background-image: initial !important;
    /* -moz-appearance: none;
    appearance: none; */
    padding: 0px;
    padding-left: 5px;
    font-size: inherit;
    background-color: #4368a0;
    color: white;
    border: 1px solid;
    border-radius: 3px;
    margin: 0 5px;
    height: 42px;
    width: 130px;
}
.uq_select_year:hover{
    background-color: #98d454;
}

.uq_select_month{
    -webkit-appearance: auto !important;
    background-image: initial !important;
    padding: 0px;
    padding-left: 5px;
    font-size: inherit;
    background-color: #4368a0;
    color: white;
    border: 1px solid;
    border-radius: 3px;
    margin: 0 5px;
    height: 42px;
    width: 100px;
}
.uq_select_month:hover{
    background-color: #98d454;
}

#uq_calendar_year_bar h4{
    border-bottom: initial;
}
#uq_calendar_month_bar div{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.uq_calendar_corpo_view td{
    width: initial;

}

.bl_pale_table .uq_tool_tips {
    text-align: center !important;
}


/*************************************
顧客情報アイコン説明モーダル
**************************************/
.uq_customer_icon_expo {
    padding: 0 30px;
}

.uq_customer_icon_expo span{
    /* margin-top: 1%; */
    color: #db7093;
    padding:0px;
    font-size: 18px;
    font-weight: 600;
    /* height: auto; */
    float: right;
}

.uq_customer_icon_expo span:hover{
    text-decoration:underline;
    text-decoration-color:#db7093;
    cursor: pointer;
    cursor: hand;
}

#uq_icon_expo {
    z-index: 1;
    position: fixed;
    width: 25%;
    background-color: #78caafad;
    padding: 2%;
    padding-bottom: 2.3%;
    border-radius: 10px;
}

#uq_icon_expo_motal {
    z-index: 1;
    position: fixed;
    width: 65%;
    background-color: #78caafad;
    padding: 2%;
    padding-bottom: 2.3%;
    border-radius: 10px;
}

#uq_icon_expo_motal_div {
    background-color: #fff;
    padding: 2%;
    border-radius: 10px;
    border: 1px solid #000000;
}

.uq_icon_position {
    width:30% !important;
    vertical-align: middle !important;  /* 中央揃え */
    text-align: center !important;
}

.uq_customer_reload_icon_rotate{
    transition: 0;
}

.uq_customer_reload_icon_rotate:hover{
    transform: rotate(-180deg);
    transition: 2s;
}

/*顧客情報画面 基本決済変更のボタン*/
.uq_payment_change {
    background: #EF5350;
	color: #fff;
}
.uq_payment_change:hover {
	background:#cc002c;
}

/*顧客情報画面 基本決済変更のボタン*/
.uq_sum_bill_customer_change{
    background: #ff8000;
	color: #fff;
}
.uq_sum_bill_customer_change:hover {
	background:#ee7000;
}

/*顧客情報画面 決済方法の変更ボタン*/
.uq_payment_change_withount_plan {
	background:#9CCC65 !important;
	color: #fff;
}
.uq_payment_change_withount_plan:hover {
	background:#126F16 !important;
}

.uq_customers_prev_next_btn {
	min-width:80px !important;
	padding:2px !important;
	margine:2px !important;
	line-height: 28px;
}


/*************************************
顧客一括登録のファイルアップロード
**************************************/
    /* ファイルアップロード */
    .uq_select_customer_upload_file{
        text-align: center !important;
    }
    .uq_customer_regist_text{
        padding-top: 26px;
        padding-right: 5px;
    }
    .uq_customer_regist_select_file{
        cursor:pointer;
    }

    .uq_customer_regist_margin_0{
        margin-bottom: 0;
    }

    /* 警告用 */
    div .uq_customer_regist_warning {
        border-color:#ffb6c1;
    }
    .uq_customer_regist_title {
        color:red;
        font-size:1rem;
        max-width: 100%;
        height: auto;
        margin-bottom:0;
    }

    .uq_customer_regist_title .message{
        font-size:1rem;
    }

    /* 必須項目一覧 */
    table.uq_customer_regist_brwsr2 {
        margin: 0 auto;
        max-width: 100%;
        height: auto;
        border-top: solid 1px #666;
        border-bottom: solid 1px #666;
        /* border-collapse: separate; */
        border-spacing: 0 10px;
        /* background: #f5f5f5; */
    }

    table.uq_customer_regist_brwsr2 th {
        vertical-align: middle;
        height: 100%;
        width: 110%;
        line-height: 1.0rem;
        border: none;
        border: solid 1px #666;
        /* border-right: solid 1px #666;
        border-bottom: solid 1px #666; */
        margin: 0;
        color: rgb(102, 102, 102);
        background: #f5fffa;
        text-align: center;
        font-size: 12px;
        font-weight: bold;
    }

    table.uq_customer_regist_brwsr2 tr {
        border: none;
        border-right: solid 1px #666;
        /* border: solid 1px #666; */
    }
    /* table.uq_customer_regist_brwsr2 tr:nth-child(2n+1) {
        border-bottom: solid 1px #666 !important;
    } */

    table.uq_customer_regist_brwsr2 td.data {
        padding: 0;
        margin: 0;
        height: 27px;
        width: 100%;
        color: black;
        border-left: solid 1px #666;
        border-right: solid 1px #666;
        border-bottom: solid 1px #666;
        font-size: 10px;
        font-weight: bolder !important;
        text-align: center;
        vertical-align: middle;
        white-space: nowrap;
        overflow: hidden;
    }

    table.uq_customer_regist_brwsr2 td.string {
        padding: 3;
        margin: 0;
        height: 27px;
        width: 100%;
        color: black;
        border-left: solid 1px #666;
        border-right: solid 1px #666;
        border-bottom: solid 1px #666;
        font-size: 10px;
        font-weight: bolder !important;
        text-align: left;
        vertical-align: middle;
        white-space: normal;
        overflow: hidden;
    }

    .mb-3 .img {
      position: absolute;
      width: 26px;
      height: 38px;
      top: 0;
      left: 6px;
    }

    .Imagequestions.index.content {
        max-width: 520px;
        margin: 60px auto;      /* 中央寄せ */
        padding: 32px;
        background: #ffffff;
        border-radius: 16px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    }
    
    .Imagequestions h3 {
        text-align: center;
        margin-bottom: 24px;
        font-size: 1.4rem;
    }

    .Imagequestions .button.float-right {
        float: none;
        display: inline-block;
        margin-bottom: 16px;
    }

    .Imagequestions .button {
        background: #f3f4f6;
        border-radius: 9999px;
    }

    .Imagequestions fieldset {
        border: none;
        padding: 0;
        margin: 24px 0;
        text-align: center;
    }

    .Imagequestions legend {
        font-weight: 600;
        margin-bottom: 12px;
    }

    .Imagequestions label {
        display: inline-flex;
        align-items: center;
        padding: 12px 16px;
        margin-right: 12px;
        border-radius: 12px;
        border: 1px solid #e5e7eb;
        cursor: pointer;
        transition: all 0.2s ease;
    }

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

    .Imagequestions input[type="radio"]:checked + span,
    .Imagequestions label:has(input[type="radio"]:checked) {
        background: #eef2ff;
        border-color: #6366f1;
    }

    .Imagequestions button[type="submit"] {
        width: 100%;
        padding: 14px;
        font-size: 1rem;
        border-radius: 12px;
        background: linear-gradient(135deg, #6366f1, #4f46e5);
        color: #fff;
        border: none;
        cursor: pointer;
        transition: transform .15s ease, box-shadow .15s ease;
        display: block;
        margin: 24px auto 0;
    }

    .Imagequestions button[type="submit"]:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(79,70,229,.35);
    }

    @media (max-width: 480px) {
        .Imagequestions.index.content {
            margin: 20px;
            padding: 24px;
        }
    }

    /* ラベル（ラジオボタン）を横並び */
    .Imagequestions fieldset label {
        display: inline-flex;
        align-items: center;
        margin: 0 8px;
    }

/* ===== ImageQuestions 専用スタイル ===== */

.Imagequestions .btn-mic {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    background: #4f46e5;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    transition: background .2s, transform .1s;
}

.Imagequestions .btn-mic:hover {
    background: #4338ca;
    transform: scale(1.05);
}

.Imagequestions .btn-mic:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

/* カウントダウン表示 */
.Imagequestions .countdown {
    margin-left: 12px;
    font-weight: bold;
}

/* ===== 結果カード ===== */
.Imagequestions2 .result-card {
    max-width: 520px;
    margin: 24px auto 0;
    width: 800px;          /* textarea と同じ */
    max-width: 100%;       /* モバイル対策 */

    padding: 16px 20px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

/* タイトル */
.Imagequestions2 .result-title {
    margin-bottom: 12px;
    font-weight: 700;
    text-align: center;
}

/* テーブル */
.Imagequestions2 .result-table {
    width: 100%;
    border-collapse: collapse;
}

.Imagequestions2 .result-detail-card {
    width: min(1280px, 100%);
}

.Imagequestions2 .result-table-scroll {
    overflow-x: auto;
}

.Imagequestions2 .result-detail-table {
    min-width: 1100px;
}

.Imagequestions2 .result-detail-table th {
    width: auto;
}

.Imagequestions2 .result-detail-table .expected-answer-col {
    min-width: 340px;
    width: 34%;
}

.Imagequestions2 .result-table th {
    width: 32%;
    text-align: left;
    padding: 10px;
    background: #f1f5f9;
    font-weight: 600;
    vertical-align: top;
}

.Imagequestions2 .result-table td {
    padding: 10px;
    background: #ffffff;
    vertical-align: top;
    word-break: break-word;
    white-space: pre-wrap;
}

.Imagequestions2 .result-table td.judge {
    vertical-align: middle;
}

.Imagequestions2 .result-table td.judge,
.Imagequestions2 .result-table td.judge #judge {
    font-size: 28px;
    line-height: 1;
}

/* 行の区切り */
.Imagequestions2 .result-table tr + tr th,
.Imagequestions2 .result-table tr + tr td {
    border-top: 1px solid #e5e7eb;
}

/* */
/* ===== マイク＋タイマー ===== */
.Imagequestions2 .mic-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
}

/* 赤いマイクボタン */
.Imagequestions4 .btn-mic {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background-color: #c21111;
    border: none;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Imagequestions2 .btn-mic {
    min-width: unset !important;
    max-width: unset !important;

    width: 65px;
    height: 65px;

    /*aspect-ratio: 1 / 1;*/

    /* ★ ここが重要 */
    padding: 0;
    line-height: 1;
    box-sizing: border-box;

    border-radius: 50%;
    border: none;

    display: flex;
    align-items: center;
    justify-content: center;

    background-color: #c21111;
    color: #ffffff;

    font-size: 24px;
    cursor: pointer;
}

.Imagequestions2 .btn-mic i {
    line-height: 1;
}

.Imagequestions2 .btn-mic:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

/* 円形タイマー */
.Imagequestions2 .countdown {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    border: 4px solid #296981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
    color: #333;
}

/* ===== 次へボタン ===== */
.Imagequestions2 .next-btn {
    margin: 32px auto 0;
    width: 217px;
    height: 50px;
    background-color: #333333;
    color: #ffffff;
    font-weight: 700;
    border-radius: 8px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.15;
    padding: 0;
}

.Imagequestions2 .next-btn .ruby-button-label {
    position: relative;
    top: 3px;
    transform: none;
}

.Imagequestions2 .next-btn:disabled {
    background-color: #999;
}

.Imagequestions2 .textarea {
  display: flex;
  max-width: 800px;
  margin: 24px auto 0;   /* ← 画像の下に自然配置 */
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  background-color: #ffffff;
  border-radius: 8px;
}

.Imagequestions2 .text-wrapper-7 {
  position: relative;
  flex: 1;
  margin-top: -2.00px;
  font-family: "Noto Sans JP-Regular", Helvetica;
  font-weight: 400;
  color: #000000;
  font-size: 16px;
  letter-spacing: 0;
  line-height: normal;
}

.Imagequestions2 .image-block {
    display: flex;
    flex-direction: column;
    align-items: center;   /* ← 中央寄せ */
}

/* 問題番号 */
.Imagequestions2 .text-wrapper {
    font-family: "Noto Sans JP-Bold", Helvetica;
    font-weight: 700;
    color: #333333;
    font-size: 24px;
    letter-spacing: 0;
    line-height: normal;

    margin-bottom: 12px;   /* ← 画像との間隔 */
}

/* 画像 */
.Imagequestions2 .image-block img {
    max-width: 300px;
    border-radius: 8px;
    display: block;
}

.Imagequestions2 .countdown-circle {
    position: relative;
    width: 64px;
    height: 64px;
}

.Imagequestions2 .countdown-circle svg {
    display: block;
}

.Imagequestions2 .countdown-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
}

.lesson-loading-active {
    overflow: hidden;
}

.lesson-loading-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at center, rgba(169, 223, 216, 0.2) 0%, rgba(24, 47, 70, 0.36) 68%, rgba(24, 47, 70, 0.48) 100%);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 12000;
}

.lesson-loading-overlay.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lesson-loading-overlay__panel {
    width: 124px;
    height: 124px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(145deg, rgba(255,255,255,0.94), rgba(229, 248, 245, 0.96));
    box-shadow:
        0 18px 48px rgba(24, 47, 70, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

.lesson-loading-overlay__ring {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 4px solid rgba(41, 105, 129, 0.18);
    animation: lesson-loading-spin 1.25s linear infinite;
}

.lesson-loading-overlay__dot {
    position: absolute;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: linear-gradient(145deg, #5cbfb5, #296981);
    box-shadow: 0 0 0 4px rgba(92, 191, 181, 0.12);
}

.lesson-loading-overlay__dot--one {
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
}

.lesson-loading-overlay__dot--two {
    right: -7px;
    top: 50%;
    transform: translateY(-50%);
}

.lesson-loading-overlay__dot--three {
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
}

@keyframes lesson-loading-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/* result-card は play 画面と共通 */

.Imagequestions2 .judge.正解 {
    color: #16a34a;
    font-weight: bold;
}

.Imagequestions2 .judge.部分正解 {
    color: #f59e0b;
    font-weight: bold;
}

.Imagequestions2 .judge.不正解 {
    color: #dc2626;
    font-weight: bold;
}

/* 問題別結果テーブル */
.Imagequestions2 .result-table thead th {
    background: #e5e7eb;
    font-weight: 700;
}

.Imagequestions2 .btn-link.next {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 200px;
    height: 48px;

    background-color: #333333;
    color: #ffffff;
    text-decoration: none;

    font-weight: 700;
    border-radius: 8px;
    margin-top: 32px; /* ← ここを追加 or 増やす */
    transition: background-color .2s, transform .1s;
}

.Imagequestions2 .btn-link.next:hover {
    background-color: #111111;
    transform: translateY(-1px);
}

.Imagequestions2 .btn-link.next:active {
    transform: translateY(0);
}

/* ===== 進捗バー ===== */
.Imagequestions2 .quiz-progress {
    width: 800px;
    max-width: 100%;
    margin: 0 auto 24px;
}

.Imagequestions2 .lesson-nav {
    width: 800px;
    max-width: 100%;
    margin: -8px auto 24px;
    text-align: left;
}

.Imagequestions2 .lesson-back-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 42px;
    padding: 6px 14px 2px;
    border-radius: 8px;
    background-color: #eaf4ff;
    color: #333333;
    border: 1px solid #b9d8f5;
    text-decoration: none;
    font-weight: 700;
    line-height: 1.15;
}

.Imagequestions2 .ruby-button-label {
    display: inline-block;
    line-height: 1.15;
}

.Imagequestions2 .ruby-button-label ruby {
    ruby-align: center;
    line-height: 1.15;
}

.Imagequestions2 .ruby-button-label rt {
    font-size: 9px;
    line-height: 1;
    font-weight: 700;
}

.Imagequestions2 .lesson-back-btn:hover {
    background-color: #dcecff;
    color: #333333;
}

.Imagequestions2 .progress-label {
    font-family: "Noto Sans JP-Bold", Helvetica;
    text-align: center;
    font-weight: 700;
    margin-bottom: 8px;
    color: #333;
}

.Imagequestions2 .progress-bar-bg {
    width: 100%;
    height: 10px;
    background: #e5e7eb;
    border-radius: 9999px;
    overflow: hidden;
}

.Imagequestions2 .progress-bar-fill {
    height: 100%;
    background: linear-gradient(
        to right,
        #4f46e5,
        #22c55e
    );
    border-radius: 9999px;
    transition: width .4s ease;
}

/* ===== 音声問題 ===== */

.Imagequestions2 .audio-question {
    width: 800px;
    max-width: 100%;
    margin: 0 auto 16px;
    display: flex;
    justify-content: center;
}

.Imagequestions2 .btn-play-audio {
    min-width: unset !important;
    max-width: unset !important;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    background: #111;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.Imagequestions2 .btn-play-audio:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* --------------------------------------------------------------------
   Responsive layout safeguards
 -------------------------------------------------------------------- */
html,
body {
    max-width: 100%;
    overflow-x: auto;
}

img,
video,
canvas,
svg {
    max-width: 100%;
    height: auto;
}

input,
select,
textarea,
button {
    max-width: 100%;
}

div.message {
    height: auto;
    min-height: 50px;
    line-height: 1.6;
    padding-top: 10px;
    padding-bottom: 10px;
    white-space: pre-line;
}

@media (max-width: 760px) {
    .container {
        padding-right: 12px;
        padding-left: 12px;
    }

    .hp_w600px,
    .hp_w800px {
        width: min(100%, 600px) !important;
    }

    .login_page {
        padding-right: 8px;
        padding-left: 8px;
    }

    header {
        height: auto;
        min-height: 45px;
    }

    .top-bar {
        min-height: 45px;
        flex-wrap: wrap;
    }

    .top-bar.expanded .title-area {
        min-height: 45px;
        padding-left: 8px;
    }

    .top-bar-logo__image {
        width: 76px;
    }

    .top-bar-section {
        max-width: calc(100% - 84px);
    }

    .top-bar-section ul.right.top-bar-user-nav {
        gap: 8px;
        margin-right: 8px;
    }

    .top-bar-section li:not(.has-form) .top-bar-user-nav__link:not(.button) {
        font-size: 13px;
    }

    .top-bar-section li:not(.has-form) .top-bar-user-nav__link:not(.button):not(.top-bar-user-nav__link--mypage) {
        display: block;
        max-width: 132px;
        overflow: hidden;
        line-height: 45px;
        text-overflow: ellipsis;
    }

    .top-bar-section li:not(.has-form) .top-bar-user-nav__link--mypage:not(.button) {
        height: 30px;
        padding: 0 10px;
    }

    .mypage {
        padding: 16px 12px 40px;
    }

    .mypage-header,
    .mypage-panel-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .mypage-panel {
        padding: 16px 12px;
    }

    .mypage-summary {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mypage-analytics-grid {
        grid-template-columns: 1fr;
    }

    .mypage-analytics-card {
        padding: 18px;
    }

    .mypage-analytics-card__header h3 {
        font-size: 22px;
    }

    .mypage-level-list dd {
        font-size: 22px;
    }

    .mypage-trend-card {
        padding: 16px;
        overflow-x: auto;
    }

    .mypage-line-chart {
        min-width: 720px;
    }

    .mypage-history-tabs {
        display: flex;
        width: 100%;
        overflow-x: auto;
    }

    .mypage-history-tab-button {
        flex: 1 0 auto;
    }

    .Imagequestions.index.content {
        width: auto;
        max-width: none;
        margin: 20px 8px;
        padding: 20px 14px;
    }

    .Imagequestions fieldset label,
    .Imagequestions label {
        margin: 4px;
        padding: 10px 12px;
    }

    .Imagequestions2.add.content {
        padding-right: 12px;
        padding-left: 12px;
    }

    .Imagequestions2 .lesson-nav,
    .Imagequestions2 .quiz-progress,
    .Imagequestions2 .audio-question,
    .Imagequestions2 .textarea,
    .Imagequestions2 .result-card {
        width: 100%;
    }

    .Imagequestions2 .textarea,
    .Imagequestions2 .result-card {
        padding: 14px 12px;
    }

    .Imagequestions2 .result-table-scroll {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}
