@charset "UTF-8";

html.ua-desktop #menu .menu_home,
html.ua-desktop #menu1 .menu_home {
  display: none;
}

/* カスタム分ログアウトボタン非表示 */
#submenu > .logout_ja {
	display:none;
}

/* PCのみに適用したいスタイル記述 */
@media not screen and (max-width: 600px) {

html:not(.ua-desktop) #menu .menu_home,
html:not(.ua-desktop) #menu1 .menu_home {
  display: none;
}

/* ログアウトボタン メニュー内のエントリを絶対座標移動 */
#menu ul li#menu_logout,
#menu1 ul li#menu_logout {
	display: block !important;
	position: absolute;
	top: 3px;
	right: 0;
	left: 680px;
	width: 116px;
	height: 23px;
	margin: auto;
	padding: 0;
	background: url(../image/logout.gif) no-repeat 0px 0px;
	& > .menu_item {
		color: transparent;
	}
}

/* ホバー時に黄色文字 */
#menu ul li#menu_logout:hover,
#menu1 ul li#menu_logout:hover {
	background: url(../image/logout.gif) no-repeat 0px -23px;
}

/* ログアウトボタン分の余白を空ける */
#submenu > .subnavi {
	margin-top: 20px;
	width: 525px;
	float:none;
}

/* これより上部に記述する事 */
}

/* スマートフォンのみに適用したいスタイル記述 */
/* 職員はPCのみなので、全てのセレクタに html:not(.ua-desktop) を付加する事 */
@media only screen and (max-width: 600px) {

/* タブレット・スマホ共通 */
html:not(.ua-desktop) #breadcrumb {
    display: none;
}
html:not(.ua-desktop) div#header {
    height: auto;
}

html:not(.ua-desktop) div#header  #layout {
    width: 100%;
}

html:not(.ua-desktop) div#header  #layout #logo {
    width: 170px;
}

html:not(.ua-desktop) div#header  #layout #submenu {
    float: right;
    width: auto;
    margin-right: 45px;
}

html:not(.ua-desktop) div#header  #layout #submenu .subnavi {
    display: none;
}
html:not(.ua-desktop) div#footer {
    width: 100%;
}
/* タブレット・スマホ共通 */

html:not(.ua-desktop) #menu,
html:not(.ua-desktop) #menu1 {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100%;
    z-index: 100;
}

html:not(.ua-desktop) #menu .main_menu,
html:not(.ua-desktop) #menu1 .main_menu {
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", YuGothic, "ヒラギノ角ゴ ProN W3", Hiragino Kaku Gothic ProN, Arial, "メイリオ", Meiryo, sans-serif;
}

html:not(.ua-desktop) .menu_home {
    position: absolute;
    height: 45px;
    cursor: pointer;
    z-index: 210;
}

html:not(.ua-desktop) .menu_home.hide_menu {
    display: none;
}

html:not(.ua-desktop) #menu .menu_home span,
html:not(.ua-desktop) #menu1 .menu_home span {
    margin-top: 10px;
    background: url("../image/mdImages/ico_home.gif") no-repeat left center;
    background-size: 16px 14px;
    display: inline-block;
    margin-left: 10px;
    padding-left: 20px;
    color: #FFF;
    font-weight: bold;
}

html:not(.ua-desktop) .menu_button {
    position: absolute;
    right: 0px;
    width: 45px;
    height: 45px;
    background: url("../image/mdImages/btn_menu_close.png") no-repeat left center;
    background-size: 45px;
    text-align: right;
    cursor: pointer;
    z-index: 210;
}
html:not(.ua-desktop) .menu_button.close_menu {
    background: url("../image/mdImages/btn_menu_open.png") no-repeat left center;
    background-size: 45px;
    z-index: 210;
}


html:not(.ua-desktop) #uv_menu.hide_menu {
    display: none;
}

html:not(.ua-desktop) #uv_menu {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 100%;
    padding: 45px 1px;
    background: url("");
    background-color: rgb(8, 67, 150);
    z-index: 200;
}

html:not(.ua-desktop) #uv_menu #main_menu_list {
    width: auto;
    height: auto;
    z-index: 100;
}

html:not(.ua-desktop) #menu ul li.home,
html:not(.ua-desktop) #menu1 ul li.home  {
    display: none;
}

html:not(.ua-desktop) #menu ul li.main_menu,
html:not(.ua-desktop) #menu1 ul li.main_menu {
    border: medium none;
    margin-bottom: 1px;
    margin-right: 0.3%;
    width: 49.6%;
    height: 45px;
    float: left;
    background-color: #CC9C00;
    background-image: url("");
    font-size: 14px;
    font-weight: bold;
    list-style: outside none none;
}

html:not(.ua-desktop) #menu ul li .menu_item,
html:not(.ua-desktop) #menu1 ul li .menu_item {
    text-align: left;
    width: 100%;
    display: table;
    height: 45px;
    line-height: 14px;
}

html:not(.ua-desktop) #menu ul li .menu_item > div,
html:not(.ua-desktop) #menu1 ul li .menu_item > div {
    display: table-cell;
    vertical-align: middle;
    color: #fff;
    padding: 0px 10px;
}

html:not(.ua-desktop) .icon {
    padding-left: 35px;
    background-size: auto 18px;
    background-repeat: no-repeat;

}

/* 以下メニューにアイコンを出すためのCSSだが、テーブルへのせってうが出来ないので有効ではない */
html:not(.ua-desktop) #main_menu_list .class {
    background-image: url("../image/mdImages/ico_class.gif");
}

html:not(.ua-desktop) #main_menu_list .faq {
    background-image: url("../image/mdImages/ico_faq.gif");
}

html:not(.ua-desktop) #main_menu_list .link {
    background-image: url("../image/mdImages/ico_link.gif");
}

html:not(.ua-desktop) #main_menu_list .profile {
    background-image: url("../image/mdImages/ico_profile.gif");
}

html:not(.ua-desktop) #main_menu_list .star {
    background-image: url("../image/mdImages/ico_star.gif");
}

html:not(.ua-desktop) #main_menu_list .student {
    background-image: url("../image/mdImages/ico_student.gif");
}

html:not(.ua-desktop) #main_menu_list .survey {
    background-image: url("../image/mdImages/ico_survey.gif");
}

/* 2025/9/11 add */

html:not(.ua-desktop) #uv_menu {
    background-color: rgba(0, 0, 0, .7);
    padding: 45px 1px 0px 1px;
}

/* 見た目だけのログアウトボタン
html:not(.ua-desktop) #menu_bar:after {
    content: "ログアウト";
    font-weight: 700;
    display:block;
    background-color: #a33;
    height: 45px;
    color: white;
    line-height: 45px;
    opacity: 1;
    transition: opacity .15s linear;
    margin: 1px 2px 0px 0px;
}
*/

/*
html:not(.ua-desktop) #uv_menu.hide_menu #menu_bar:after {
    content: " ";
    opacity: 0;
}
*/

html:not(.ua-desktop) #uv_menu #menu_bar #menu_logout {
	width: 100%;
    display:block;
    background-color: #a33;
    height: 45px;
    color: white;
    line-height: 45px;
    opacity: 1;
    transition: opacity .15s linear;
    margin: 1px 2px 0px 0px;
	.menu_item {
		text-align: center;
	}
}

html:not(.ua-desktop) #uv_menu.hide_menu #menu_bar #menu_logout {
    opacity: 0;
}

html:not(.ua-desktop) #uv_menu {
    opacity: 1;
}
html:not(.ua-desktop) #uv_menu.hide_menu {
    display: block;
    opacity: 0;
    animation: hide 0s linear .15s forwards;
}

@keyframes hide {
	to {
		visibility: hidden;
	}
}

/* menu_label ですでに padding:10pxがあるのに子divで10px追加しているので多い
   子divのpadding:10pxを解除 */
html:not(.ua-desktop) #menu ul li .menu_item > div,
html:not(.ua-desktop) #menu1 ul li .menu_item > div {
    padding: 0;
}

/* 東北福祉版でline-heightが14pxになっているのでマルチと合わせる */
html:not(.ua-desktop) #menu ul li .menu_item,
html:not(.ua-desktop) #menu1 ul li .menu_item {
    line-height: 21px;
}

/* ホームへ戻るリンクのlinee-heightがあってないので合わせる */
.menu_home > span {
    line-height: 21px;
}

html:not(.ua-desktop) #menu ul li .main_menu_label,
html:not(.ua-desktop) #menu1 ul li .main_menu_label {
    text-align: left;
    width: 100%;
    display: table;
    height: 45px;
    line-height: 21px;
}

html:not(.ua-desktop) #menu ul li .main_menu_label > div,
html:not(.ua-desktop) #menu1 ul li .main_menu_label > div {
    display: table-cell;
    vertical-align: middle;
    color: #fff;
    padding: 0;
}

/* 開発(見た目調整)のため、常にメニューを表示する */
/* 開発終了したら、当然、削除が必要 */
/*
.sub_menu_list {
    display:block !important;
}
*/

#menu .sub_menu_list,
#menu1 .sub_menu_list {
	all: unset;
	position: fixed;
	left: 0;
	padding-top: 15px;
	padding-bottom: 15px;
	background-color: rgba(0, 0, 0, .75);
	width: 100%;
	z-index: 110;
}

#menu .sub_menu_list .sub_menu,
#menu1 .sub_menu_list .sub_menu {
    background-color: #EEC591;
    width: 49.6%;
	float: left;
	margin-bottom: 1px;
	margin-right: .3%;
	/* pkg-pt で曽しているborderをキャンセル */
	border-bottom: none;
}

#menu .sub_menu_list .sub_menu_label,
#menu1 .sub_menu_list .sub_menu_label {
    background-color: transparent;
}

html:not(.ua-desktop) {
	#menu, #menu1 {
		ul li .menu_item {
			line-height: 45px;
			& > span {
				color: white;
				padding : 0 10px;
				/* pkg-ptキャンセル */
				margin-left: 0;
			}
		}
	}
}

/* メニューアニメーション対応 */

/* htmlのstyleを削除したうえで初期非表示の設定 */
#menu .sub_menu_list,
#menu1 .sub_menu_list {
	display: block !important;
    transition: opacity .15s linear;
}

#menu .sub_menu_list:not(.menu_show),
#menu1 .sub_menu_list:not(.menu_show) {
    opacity: 0;
    animation: hide 0s linear .15s forwards;
}

#menu .menu_show,
#menu1 .menu_show {
    opacity: 1;
}

/* メニューは画面右上に固定(スクロールで動かないようにする) */
html:not(.ua-desktop) {
	#menu, #menu1 {
		position: fixed;
	}
}

/* これより上部に記述する事 */
}
