/* 家族新聞の仮UI用CSS（前提:new.css） */
@font-face {
	font-family: 'myMincho';
	src: url(/font/NotoSerifJP-Medium.otf);
}
@font-face {
	font-family: 'myGothic';
	src: url(/font/NotoSansJP-Bold.otf);
}
body {
	font-family: 'myMincho';
	font-size: 16px;		//Safariでの自動ズーム回避＝16px以上
	padding: 1rem;
	padding-bottom: 0;
}
h1 { font-size: 30px; text-align: center; margin-bottom: 1em;}
h2 { font-size: 24px; }
h3 { font-size: 20px; }
h4 { font-size: 16px; }
a {
	text-decoration: none;
}
a:hover {
	text-decoration: underline;
}
button {
	margin-bottom: 5px;
	width: 120px;
	font-size: 16px;
}
.article {
	min-width:320px;
//	padding: 10px;
	margin-bottom: 10px;
}
.article input, button, select, textarea {
	font-family: inherit;
	box-sizing: border-box;
}
.article input, select, textarea {
	font-size: 16px;
}
.article input, select, textarea {
	width: 100%;
	margin: 0;
}
.article textarea {
	line-height:1.5;
	resize: none;
	padding-top: 8px;
	padding-buttom: 8px;
	overflow: hidden;
}
.article label {
	margin-top: 1em;
	font-weight: bold;
	display: block;
	margin-top: 1.5em;
}
.article input[type="file"] {
	display: none;
}
.article img {
	background: var(--nc-bg-3);
	border-style: none;
}
.modal_wrap{
	position: fixed;
	top:0;
	right:0;
	bottom:0;
	left:0;
	background: rgba(0, 0, 0, 0.6);
	z-index: 100;
	display: none;
}
.modal_inner{
	background: var(--nc-bg-3);
	width: 320px;
	margin:0 auto;
	text-align: center;
	padding:10px;
	border-radius: 4px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	-webkit-transform: translateY(-50%) translateX(-50%);
	-ms-transform: translateY(-50%) translateX(-50%);
}
.close_icon{
	position: relative;
	cursor: pointer;
}
.close_icon i{
	position: absolute;
	right: 0;
}
#crop, #I_Sample, #C_Concat {
	margin-top: 20px;
}
#preview {
	display: none;
}
#pdf_viewer {
	width:100%;
	left:0;
	margin:auto;
	margin-bottom:20px;
}
#canvas_container {
	width:100%;
	height:66vh;
	max-height:75vh;
	overflow: auto;
	background: var(--nc-bg-3);
	text-align: center;
	padding-top: 5px;
}
.alertArea {
	border: 2px solid red;
}
.alertMessage, .textLength {
}
.alertMessage {
	color: red;
}
#myheader {
	z-index: 90;
	position:-webkit-sticky;
	position:sticky;
	top:0;
	line-height:1.15em;
	background: var(--nc-bg-1);
	box-shadow:0 0 5px;
	padding-top: 10px;
	padding-bottom: 10px;
}
#myheader .container {
	display: flex;
	justify-content:space-between;
	align-items:flex-end;
}
#myheader .item {
	display: block;
}
#menuBar {
	font-family: 'myGothic', suns;
	position:fixed;
	box-sizing: border-box;
	left:0;
	width:100%;
	bottom: 0;
	margin:0 auto;
	padding: 0;
	padding-bottom: 15px;
	text-align:center;
	background: var(--nc-bg-1);
	box-shadow:0 0 5px;
}
#menuBar button {
	text-decoration: none;
	display: inline-block;
	color: var(--nc-tx-1);
	background: var(--nc-bg-1);
	margin: 0;
	padding: 10px 0;
	width: 80px;
	font-size: 12px;
	border-radius: 0;
}
#menuBar button i {
	font-size: 24px;
	margin-bottom: 5px;
}
#menuBar button:hover {
	background: var(--nc-bg-3);
}
#menuBar button:disabled {
	color: var(--nc-bg-3);
}
.flex_container {
	display: flex;
	justify-content:space-between;
	align-items:flex-end;
}
.help_icon {
	color: var(--nc-lk-1);
	padding-left: 5px;
	vertical-align: super;
	font-size:small;
	cursor: pointer;
}
.help_icon:hover {
	color: var(--nc-lk-2);
}
#confirm_text, #alert_text {
	text-align: left;
	margin: 15px;
}
.modal_inner button {
	border: 2px solid var(--nc-lk-1);
	margin: 5px;
}
.modal_inner h3 {
	text-align: center;
}
button.cancel_button {
	color: var(--nc-lk-1);
	background: var(--nc-bg-1);
	border: 2px solid var(--nc-lk-1);
}
button.cancel_button:hover {
	background: var(--nc-bg-3);
}
.remark {
	font-size: small;
	padding-left:1em;
	text-indent:-1em;
}
.lineCount {
	margin: 0;
	padding: 0;
	line-break: strict;
	font-size: 16px;
	line-height: 100%;
	padding-right: 1em;
	overflow-y: hidden;
	background: var(--nc-bg-3);
	border-style: none;
	display:none;
}
#terms_content {font-size: 9pt;padding: 10px;}
#terms_content h1 {font-size: 14pt;}
#terms_content h2 {font-size: 11pt;}
#terms_content ol {padding-left: 1em;}
#terms_of_use {display: none;}
#menuBar a {padding: 5px;	display: inline-block;width: 80px;}

.gallery {
	display: flex;
	-webkit-overflow-scrolling: touch;
	list-style: none;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 0;
	background: var(--nc-bg-3);
}
.gallery > li {
	width: 96px;
	height: 135px;
	flex: none;
	margin:5px;
}
.gallery img {
	margin: 0;
	border: 1px solid var(--nc-bg-3);
}
#I_LastSaved {
	border: 1px solid var(--nc-bg-3);
}
#select_template p {
	font-size: 14px;
}
#select_template img:hover {
	border: 1px solid var(--nc-lk-1);
}
@media screen and (min-width: 768px) {
	.gallery {
		overflow-x: hidden;
		display: block;
	}
	.gallery > li {
		display: inline-block;
		width: 160px;
		height: 225px;
	}
}
#questionnaire_container {
	border: 1px solid var(--nc-bg-3);
	background:var(--nc-bg-2);
	padding: 5px;
	margin: 10px 0;
	font-size:12px;
}
#top_footer {
	font-family: 'myGothic';
	background: #ED8A47;
	margin: 0rem calc(0px - (50vw - 50%));
	padding: 1rem calc(50vw - 50%);
}
#top_footer .container {
	text-align: center;
}
#top_footer a {
	color: #fff;
	margin:0 10px;
	height: 45px;
}
.center {
	text-align: center;
}
#breadcrumbs {
	font-family: 'myGothic';
	margin-bottom: 16px;
}
#breadcrumbs .pad {
	margin-left: 16px;
	margin-right: 16px;
}
