/* =========================== 共通設定 ======================================== */

@charset "utf-8";
/* CSS Document */

body,p,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,form,table,th,td,input,textarea,select,button{
	font-family: Lato, "Noto Sans JP", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
	font-size: 100%;
}

details summary{
	margin: 10px 0;
}

.page_width{
	max-width: 1100px;
	margin: 0px auto;
}

#main_area{
	padding: 20px 2vw;
}
#main_area h4{
	padding: 1em 0;
}

#main_2column_left{
	float: left;
	width: 25%;
	padding: 0 0.5em 20px 0;
	height: auto;
}
@media only screen and (max-width: 768px){
	#main_2column_left{
		float: none;
		width: 100%;
		padding: 0;
	}
}

#main_2column_right{
	float: right;
	width: 75%;
	margin-bottom: 25px;
	padding: 0px 0 20px 1em;
}
@media only screen and (max-width: 768px){
	#main_2column_right{
		float: none;
		width: 100%;
		padding: 0;
	}
}

.pc_contents {
	display: block;
}
@media only screen and (max-width: 768px){
	.pc_contents {
		display: none;
	}
}

.sp_contents {
	display: none;
}
@media only screen and (max-width: 768px){
	.sp_contents {
		display: block;
	}
}

/* =========================== ヘッダー ======================================== */

#page_header{
	width: 100%;
	margin: 0 auto;
	display: block;
	padding: 25px 15px;
	background-color: #fff;
	color: #000;
	font-size: 150%;
	font-weight: bold;
	text-align: left;
}
#page_header a{
	color: #000;
}

#login_message_main{
	float: right;
	margin: 5px 0px 8px;
	padding-top: 3px;
	font-size: 70%;
	font-weight: bold;
}
#login_message_main span{
	margin: 0px 8px;
	
}
#login_message_main small{
	font-weight: normal;
}
#login_message_main a{
	text-decoration: underline;
}

#header_bg{
	width: 100vw;
}

#breadcrumb{
	display: block;
	margin: 0 0 10px;
	font-size: 85%;
}
#breadcrumb span{
	margin: 0 6px;
}
#breadcrumb a{
	color: #000;
	text-decoration: underline;
}
@media only screen and (max-width: 768px){
	#breadcrumb{
		display: none;
	}
}

/* =========================== フッター ======================================== */

#page_footer hr{
	margin-bottom: 8px;
}
#page_footer li{
	list-style: none;
	display: inline-block;
	padding: 0 20px;
	font-size: 90%;
}
@media only screen and (max-width: 768px){
	#page_footer li{
		display: block;
	}
}
#page_footer a{
	color: #000;
}

#copyright{
	text-align: right;
	font-size: 80%;
}

/* =========================== ログイン画面 ======================================== */

.login_box{
	width: 90%;
	max-width: 400px;
	margin: 35px auto;
	padding: 20px 10px;
	box-shadow: 2px 2px 4px 0 rgba(96, 96, 96, .5);
	background-color: #eee;
	text-align: center;
}
.login_box div{
	margin: 3px 0;
}
.login_box input{
	margin: 0 auto 5px;
	max-width: 300px;
	background: #fff;
	text-align: center;
}

.login_button{
    background-color: var(--color1);
    border: none;
	border-radius: 5px;
	font-size: 100%;
	font-weight: bold;
    color: #FFF;
    width: 70%;
	max-width: 200px;
    padding: 8px 0 10px;
	margin: 5px 0 15px;
	cursor: pointer !important;
}
.login_button:hover{
	color: var(--color1);
	background-color:#eee;
	border:none;
}

/* =========================== サブページ共通 ======================================== */

.page_message{
	margin: 20px 0;
	text-align: center;
	font-size: 115%;
	line-height: 1.2;
}

.error_red{
	background-color: #ffc0cb;
	padding: 5px;
	color: red;
}

.error_white{
	margin: 7px 0;
	border: 1px solid #f00;
	background-color: #fff;
	padding: 5px;
	color: red;
}

.page_title{
	margin: 8px auto 25px;
	font-size: 140%;
	color: #000;
	font-weight: bold;
}

.category_header {
	text-align: left;
	margin: 25px 2px 5px;
	padding-bottom: 3px;
	font-size: 110%;
	border-bottom: 1px solid var(--color1);
	color: var(--color1);
	font-weight: bold;
}

.button_layout_contents_box_parent{
	position: relative;
	margin-bottom: 70px;
	text-align: center;
}

.button_layout_contents_box_child_right{
	position: absolute;
	right: 10px;
}
.button_layout_contents_box_child_right button{
	width: 150px;
    background: var(--color1);
	border-radius: 4px;
	font-weight: normal;
    color: #fff;
    padding: 8px 0px 9px 12px;
	margin: 6px 0px;
	cursor: pointer !important;
	font-weight: bold;
}
.button_layout_contents_box_child_right button:hover{
	background:#888;
}
.button_layout_contents_box_child_right button::after{
	font-family: "Font Awesome 7 Free";
	font-weight: 900;
	content: "\f054";
	float: right;
	margin: 4px 12px 3px 0px;
}

.button_layout_contents_box_child_left{
	position: absolute;
	left: 10px;
}
.button_layout_contents_box_child_left button{
	width: 150px;
    background: linear-gradient(#e0e0e0,#d0d0d0);
    background: -moz-linear-gradient(top,#e0e0e0 0%,#d0d0d0);
    background: -webkit-gradient(linear, left top, left bottom, from(#e0e0e0), to(#d0d0d0));
	border-radius: 4px;
	font-weight: normal;
    color: #000;
    padding: 8px 12px 9px 0px;
	margin: 6px 0px;
	cursor: pointer !important;
}
.button_layout_contents_box_child_left button:hover{
	color: #555;
	background: #fff;
}
.button_layout_contents_box_child_left button::after{
	font-family: "Font Awesome 7 Free";
	font-weight: 900;
	content: "\f053";
	float: left;
	margin: 4px 0px 3px 12px;
}

/* =========================== 検索ページ共通 ======================================== */

.search_key_table{
	margin: 10px auto;
	border: none;
	font-size: 90%;
}
.search_key_table th{
	padding: 0px;
}
.search_key_table td{
	text-align: center;
	vertical-align: bottom;
	background-color: #fff;
}
.search_key_table select{
	margin-bottom: 0px;
}
.search_key_table input{
	margin-bottom: 0px;
}
.search_key_table button{
	width: 60px;
	margin-bottom: 5px;
}

.search_result_table{
	width: 100%;
	margin-bottom: 0px;
	table-layout: fixed;
}
.search_result_table th{
	height: 32px;
	padding: 4px;
	text-align: center;
	word-wrap: break-word;
	background-color: #eee;
}
.search_result_table td{
	text-align: center;
	word-wrap: break-word;
	background-color: rgba(0,0,0,0);
	padding: 3px;
}
.search_result_table button{
	margin: 2px;
	width: 75px;
	padding: 4px 3px 5px 3px;
	background-color: var(--color2);
	color: #000;
}
.search_result_table button:hover{
	background-color: var(--color1);
	border: none;
	color: #fff;
}

.search_result_paging{
	margin-top: 15px;
	text-align: center;
}
.search_result_paging .lr{
	display: inline-block;
}
.search_result_paging .lr div{
	padding: 0 10px;
	font-size: 80%;
}
.search_result_paging .lr div a{
	color: #000;
	font-size: 130%;
	text-decoration: underline;
}
.search_result_paging .center{
	display: inline-block;
	margin: 20px 10px 0px;
}
@media only screen and (max-width: 768px){
	.search_result_paging .center{
		margin: 10px 4px 0px;
	}
}
.search_result_paging .center div{
	display: inline-block;
}
.search_result_paging .center div a{
	background-color: rgba(0,0,0,0);
	color: #000;
	text-decoration: underline;
}

/* =========================== TOPページ ======================================== */

.top_message{
	margin: 0px 5px 20px;
	font-size:110%;
	line-height:1.2;
}

.top_whats_new{
	padding: 3px 6px;
	line-height: 1.5;
}
.top_whats_new .content{
	margin-bottom: 25px;
}
.top_whats_new .content .date{
	display: inline-block;
	margin-right: 20px;
}
.top_whats_new .content .text{
	display: inline-block;
	line-break: anywhere;
}

/* =========================== QUESTION画面 ======================================== */

#question-confirm_page{
	text-align: left;
}

.qtxt{
	background: #F0F0F0;
	padding: 5px;
	margin-bottom: 5px;
	line-height: 125%;
	clear: both;}

.mandatory {
	display: inline-block;
	width: auto;
	vertical-align: top;
	font-size: 70%;
	padding: 1px 2px 0px;
	margin: -1px 1px -2px;
}

.ans_item{
	margin: 0px 8px 15px;
}

.ans_item ul{
	margin-bottom: 15px;
}

.ans_item select{
	margin-bottom: 0px;
}

.ans_item ul li{
	list-style: none;
	display: inline-block;
	margin-right: 15px;
}

.con_box{
	height:180px;
	margin-bottom:15px;
	padding: 3px 4px;
	border: solid 1px #ccc;
	line-height: 1.1;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}
.con_box p{
margin-bottom: 5px;
font-size: 85%;
line-height: 1.3;
}

/* =========================== CONFIRM画面 ======================================== */

.confirm_table{
	border: none;
	width: 100%;
	table-layout: fixed;
	border-collapse: collapse;
}

.confirm_table th{
	border: none;
	border-bottom:1px solid #aaa;
	background-color: var(--color3);
}

.confirm_table td{
	word-break: break-all;
	border-bottom:1px solid #e0e0e0;
}

/* =========================== 管理システム ======================================== */

.admin_sidemenu_area {
	position: fixed;
	left: 0;
	width: 16vw;
	height: 100vh;
	background-color: #888;
	color: #fff;
	text-align: center;
	font-weight: bold;
	font-size:90%;
}

.admin_sidemenu_button {
	width: 85%;
	margin: 2px;
	padding: 1px;
	border: #eee 1px solid;
	color: #fff;
	font-size: 90%;
	background-color: rgba(0, 0, 0, 0);
}
.admin_sidemenu_button:hover{
	background-color: #aaa;
}

#login_message_admin{
	position: fixed;
	top: 10px;
	right: 10px;
}

#admin_main_area {
	position: fixed;
	height: 100%;
	overflow-y: scroll;
	left: 16vw;
	width: 84vw;
	padding: 5px 15px 50px;
	font-size: 90%;
}

#admin_page_title{
	font-size: 150%;
	font-weight: bold;
	margin: 5px 5px 20px;
}
#admin_page_title a{
	color: #000;
}

.item_table{
	width: 100%;
	table-layout: fixed;
}
.item_table th{
	background: #eee;
}
.item_table td{
	text-align: left;
	word-break: break-all;
}
.item_table input,
.item_table select,
.item_table textarea{
	display: inline-block;
	font-size: 100%;
	margin: 0;
}
.item_table button{
	width: auto;
	background: var(--color1);
	border-radius: 4px;
	margin: 0 auto;
	padding: 6px 12px 7px;
}
.item_table tr:hover td{
	background-color: #ffdfff;
}
.item_table ul{
	display: -webkit-flex;
	display: flex;
	align-items: stretch;
	margin: 0;
}
.item_table ul li{
	list-style: none;
	flex: 1;
	margin: 0 5px;
}

.create_button{
	display: block;
	height: 2.6em;
	width: auto;
	margin-top: 20px;
	background: var(--color1);
	border-radius: 4px;
	padding: 0px 18px;
}
.create_button:hover{
}

.admin_sub-tab_button{
	margin: 5px 3px 0px 0px;
	width: 130px;
	height: 35px;
	padding: 6px 0px 5px 0px;
	background-color: #ddd;
	color: #000;
	font-size: 95%;
	font-weight: bold;
	text-align: center;
}
.admin_sub-tab_button:hover{
	background-color: #ddd;
	border: none;
	color: #000;
}

.admin_sub-area{
	width: auto;
	margin: 0px 5px;
	text-align: left;
	font-size: 95%;
}

.admin_sub-tab{
	margin: 5px 3px 0px 0px;
	width: 140px;
	height: 35px;
	padding: 4px 0px 3px 0px;
	background-color: #ddd;
	color: #000;
	font-weight: bold;
	text-align: center;
}
.admin_sub-tab:hover{
	background-color: #ddd;
	border: none;
	color: #000;
}

.admin_sub-tab_area {
	position: relative;
	width: auto;
	margin-bottom: 20px;
	padding: 5px;
	border-top: 8px solid #8db97d;
	box-shadow: 1px 2px 1px 1px #ddd;
	text-align: center;
}

.admin_toggle{
	font-size: 100%;
	line-height: 1.0;
	text-align: left;
}
.admin_toggle img{
	position: relative;
	height: 18px;
}

.admin_change_history_toggle{
	margin: -40px 0px 12px 30px; 
	font-size: 100%;
	line-height: 1.0;
	text-align: left;
	font-weight: bold;
}
.admin_change_history_toggle img{
	position: relative;
	height: 16px;
	margin-top: -2px;
 }

.admin_change_history_box{
	margin: 2px -8px 8px 20px;
	border-left: 1px solid #888;
}

/* ラジオボタン横並び用スタイル */
.radio-group label {
	display: inline-block;
	margin-right: 15px;
	font-size: 100%;
}