html{
	width: 100%;
	height: 100%;
}
body{
	width: 100%;
	width: calc(100% - 1rem);
	height: 100%;
	margin: auto;
}
.logon{
	display: none;
}
#self_img{
	display: none;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}
img.icon_img{
	width: 32px;
	height: 32px;
	border-radius: 50%;
	object-fit: cover;
}
.click_item:hover{
	cursor: pointer;
}

#head_block{
	width: 100%;
	height: 6rem;
}
#navi_block{
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: x-large;
	padding-top: 0.5rem;
}
#navi_block span{
	padding: 0 0.5rem;
}
#navi_block #c_edit_icon{
	font-size: large;
}
#navi_block .left_side, #navi_block .right_side{
	display: flex;
	align-items: center;
}
#navi_block .left_side > span:not(#self_icon) > img, #navi_block .right_side > span > img{
	width: 2rem;
	height: 2rem;
}
#info_block{
	font-size: large;
	font-weight: bold;
}
#info_block span{
	margin-left: 0.5rem
}
#info_block span.click_item{
	margin-left: 1rem;
	padding: 0 1rem;
}
#info_block span.click_item:hover{
	background: #eee;
}
#info_block span.click_item.selected{
	background: wheat;
}
#info_block #c_edit_icon{
	margin-left: 3rem
}

#contents .content_box:hover{
	cursor: pointer;
	background: #ffe;
}
#contents .a_user span:hover, #contents .c_user span:hover{
	cursor: pointer;
	background: #fef;
}
#contents .content_head:hover, #contents .content_text:hover{
	cursor: pointer;
	background: aliceblue;
}

#contents{
	height: calc(100% - 9em - 200px);
	height: calc(100% - 100px);
	overflow: hidden;
	overflow-y: auto;
}
.content_box{
	padding: 1rem 0.5rem;;
	border-bottom: 1px solid;
	box-sizing: border-box;
	margin-bottom: 0.5rem;
}
.content_box .content_head{
	display: flex;
	justify-content: space-between;
	/* border-bottom: 1px solid #eee; */
	/* margin-bottom: 0.5rem; */
}
.content_box .a_title, .content_box .c_title, .content_box .title{
	font-size: 1.5rem;
	font-weight: bold;
}
.content_box .addr_map{
	display: flex;
	justify-content: right;
}
.content_box .map_link:hover{
	cursor: pointer;
	text-decoration: underline;
	color: #f00;
}
.content_box .map_link .addr_txt{
	font-size: 0.5rem;
	font-size: small;
}
.content_box .map_link i{
	font-size: 1.5rem;
}

.content_box .content_images{
	display: grid;
	grid: 50% 50% / 50% 50%;
	height: 400px;
	margin-bottom: 0.5rem;
}
.content_box .a_user, .content_box .c_user, .content_box .user{
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.8rem;
	/* margin-bottom: 0.5rem; */
}
.content_box .a_user span, .content_box .c_user span, .content_box .user span{
	display: flex;
	align-items: center;
}
.content_box .a_user img, .content_box .c_user img, .content_box .user img{
	width: 1.5rem;
	height: 1.5rem;
}
.content_box .a_user p, .content_box .c_user p, .content_box .user p{
	margin: 0;
	margin-left: 0.5rem;
	line-height: 1rem;
}
.content_box .edit_btn:hover{
	cursor: pointer;
	color: #08f;
}
.content_box .edit_btn i{
	font-size: 1.5rem;
}

img.grid{
	width: 100%;
	height: 100%;
	object-fit: cover;
	border: 1px solid #fff;
}
.video_wrap video{
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.grid.l1_1{
	grid-row: 1 / span 2;
	grid-column: 1 / span 2;
}
.grid.l2_1{
	grid-row: 1 / span 2;
	grid-column: 1 / span 1;
}
.grid.l2_2{
	grid-row: 1 / span 2;
	grid-column: 2 / span 1;
}
.grid.l3_1{
	grid-row: 1 / span 2;
	grid-column: 1 / span 1;
}
div.video_wrap{
	position: relative;
	border: 1px solid #fff;
}
div.video_wrap i{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 3rem;
	color: deeppink;
	background: white;
	padding: 0.5rem;
	border-radius: 0.5rem;
}

/* img modal view */
#img_modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	max-width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.3);
	background: rgba(255,255,255,0.9);
	z-index: 100;
}
#img_modal img {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	max-width: 95%;
	max-height: 95%;
	min-width: 80%;
	object-fit: contain;
	background: #fff;
	padding: 10px;
	box-shadow: #000 5px 5px 10px;
}
#img_modal #img_txt {
	position: absolute;
	bottom: 2rem;
	left: 50%;
	transform: translateX(-50%);
	padding: 0.5rem 1rem;
	background: rgba(255,255,255,0.7);
}

/* video modal view */
#video_modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	max-width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.3);
	background: rgba(255,255,255,0.9);
	z-index: 100;
}
#video_modal video {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	margin: auto;
	max-width: 95%;
	max-height: 95%;
	min-width: 80%;
	object-fit: contain;
	background: #fff;
	padding: 10px;
	box-shadow: #000 5px 5px 10px;
}
#video_close {
	position: absolute;
	top: 1rem;
	left: 1rem;
	font-size: 2rem;
	background: rgba(255,255,255,0.9);
	padding: 0 0.5rem;
	border-radius: 0.5rem;
	z-index: 1;
}
#video_close:hover {
	cursor: pointer;
	background: #ddd;
}

/* map modal */
#map_block {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: rgba(0,0,0,0.6);
	z-index: 1;
}
#map_wrap {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 70%;
	height: 70%;
	padding: 5rem;
	background: white;
}
#map {
	width: 100%;
	height: 100%;
}
#centerIcon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 20px;
	z-index: 1;
}
#centerIcon::before, #centerIcon::after {
	content: "";
	display: block;
	width: 100%;
	height: 2px;
	background: #F00;
}
#centerIcon::after {
	transform: translateY(-50%) rotate(90deg);
}
#map_close:hover {
	cursor: pointer;
}
#map_close {
	position: absolute;
	top: 0;
	right: 0;
	font-size: 2rem;
	padding: 1rem;
}
#location_search {
	display: none;
}

/* login modal */
#login_block {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: rgba(0,0,0,0.3);
}
div#login_wrap{
	/*
	width: 80%;
	max-width: 500px;
	*/
	position: absolute;
	top: 10%;
	left: 50%;
	transform: translateX(-50%);
	background: #fff;
	padding: 2rem;
	border-radius: 1rem;
}
#login_wrap #login_close_btn{
	font-size: x-large;
}
#login_wrap #login_btn{
	padding: 0.5rem 3rem;
	border-radius: 2rem;
	color: white;
	background: black;
}
#login_wrap #login_btn:hover{
	cursor: pointer;
	background: #555;
}
#login_id, #login_pass{
	border: 1px solid #aaa;
	padding: 0.5rem;
}

#view_block, #post_block{
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: #fff;
	z-index: 1;
}

#view_block #article{
	width: calc(100% - 1rem);
	height: calc(100% - 2rem);
	margin: 1rem auto;
	overflow: auto;
}
#view_block #view_close:hover{
	cursor: pointer;
	background: #eee;
}
#view_block #view_close{
	font-size: x-large;
	padding: 0 0.5rem;
	border-radius: 0.5rem;
}
#view_block .content_box{
	border-bottom: unset;
}
/*
#view_block .content_box > div{
	margin-bottom: 0.5rem;
}
*/
#view_block .content_box .tags span{
	display: inline-block;
	padding-right: 0.5rem;
	color: #5af;
}
#view_block #near_courses{
	margin-top: 1rem;
}

#sending_block {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	background: rgba(0,0,0,0.1);
}
#sending_wrap {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	color: red;
	background: white;
	font-size: 2rem;
	font-weight: bold;
	border-radius: 0.5rem;
	padding: 0.5rem 1rem;
}

.input_toggle{
	position: relative;
	width: 64px;
	height: 26px;
	margin: 2px auto 0;
	border-radius: 5px;
	overflow: hidden;
	cursor: pointer;
	display: inline-block;
	vertical-align: middle;
}
.input_toggle:before{
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: block;
	background: #f45e55;
	transition: 0.2s ease-out;
}
.input_toggle.checked:before{
	background: #08f;
}
.input_toggle:after{
	content: "No";
	position: absolute;
	top: 1px;
	left: 1px;
	width: 30px;
	height: 24px;
	display: block;
	border-radius: 5px;
	background: #fff;
	transition: 0.2s ease-out;
	text-align: center;
	padding-top: 3px;
	font-size: 12px;
	font-weight: bold;
	color: #df4c43;
	letter-spacing: 1px;
	box-sizing: border-box;
}
.input_toggle.checked:after{
	content: "Yes";
	left: unset;
	right: 1px;
	color: #08f;
}
.input_toggle input[type="checkbox"]{
	display: none;
}

.blue_style_btn{
	color: #fff !important;
	background: #1877f2 !important;
	cursor: pointer;
}
.blue_style_btn > span{
	font-size: large;
}
.red_style_btn{
	color: #fff !important;
	background: red !important;
	cursor: pointer;
}
.red_style_btn > span{
	font-size: large;
}

svg{
	fill: currentColor;
	width: 2rem;
	height: 2rem;
}

/* 下書き */
/*
.title.draft:before, .a_title.draft:before, .c_title.draft:before{
	content: '非公開';
	color: white;
	background: red;
	margin-right: 0.5rem;
	padding: 0 0.5rem;
	border-radius: 0.5rem;
	font-size: 70%;
	vertical-align: middle;
}
*/
.draft:before{
	content: '非公開';
	color: white;
	background: red;
	margin-right: 0.5rem;
	padding: 0 0.5rem;
	border-radius: 0.5rem;
	font-weight: bold;
	vertical-align: middle;
}
.title.draft:before, .a_title.draft:before, .c_title.draft:before{
	font-size: 70%;
}

.sp_mode{
	display: none;
}
