@charset "UTF-8";

.areaBtn {
	padding-bottom: 30px;
}

.areaSticky {
	position: sticky;
	top: 100vh;
}

/* 注意文言（赤字） */
.fontAttention {
	color: #c00;
}

/* 必須ラベル用 */
.requiredLabel {
	color: #f00;
}

/* ヘッダーアイコン表示制御時、emptyが効かない場合 */
.mw24 {
	min-width: 24px !important;
}

.subText {
	color: var(--text-color-secondary);
	margin-bottom: 0.6rem;
	white-space: pre-wrap;
}

.form-login .form-floating:focus-within {
	z-index: 2;
}

/* フッターメニュー */
.footerMenuItem .svg-icon-community {
	transform: scale(1.2);
}

.selectedFtMenu {
	color: #007aff;
}

.selectedFtMenu .svg-icon-home path,
.selectedFtMenu .svg-icon-my-page path {
	fill: #007aff;
	stroke: #007aff;
}

.selectedFtMenu .svg-icon-community path {
	fill: #fff;
}

.selectedFtMenu .svg-icon-community path:nth-child(1),
.selectedFtMenu .svg-icon-community path:nth-child(2),
.selectedFtMenu .svg-icon-community path:nth-child(3) {
	fill: #007aff;
}

.selectedFtMenu .svg-icon-community path:nth-child(2) {
	stroke: #007aff;
}

.imgSelection {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 300px;
	border: 2px dashed #666;
	background: rgba(34, 34, 34, 0.2);
}

.scrollBox {
	overflow-x: auto;
}

.scrollBox .scrollThmub {
	position: relative;
	display: inline-block;
	margin-right: 4px;
}

.scrollBox .scrollThmub label,
.scrollBox .scrollThmub .notLabel {
	display: inline-block;
	height: 32px;
	padding: 5px 12px;
	border-radius: 16px;
	cursor: pointer;
	text-align: center;
	background: #fff;
	font-size: var(--font-size-s);
}

.scrollBox .scrollThmub svg {
	position: relative;
	bottom: 2px;
}

.scrollBox .scrollThmub svg path:nth-child(2) {
	fill: #000;
}

.scrollBox .scrollThmub input[type='checkbox']:checked + label {
	color: var(--text-color-tertiary);
	background-color: #333;
}

.scrollBox .scrollThmub input[type='checkbox']:checked + label svg path {
	fill: #fff;
}

.iconShadow {
	filter: drop-shadow(0px 4px 6px #fff);
}

.areaDetailContCount {
	font-size: var(--font-size-m);
}

.detailContCount,
.detailCommentCount {
	text-align: center;
	background: #fff;
	padding: 4px 16px;
	border: 1px solid #000;
	border-radius: 100px;
}

.detailContCount {
	min-width: 96px;
}

.detailCommentCount {
	min-width: 70px;
}

.detailContCount svg,
.detailCommentCount svg {
	width: 20px;
	height: 20px;
	margin-right: 4px;
}

.detailContCount svg path,
.detailCommentCount svg path {
	fill: #000;
}

.detailContCount svg.svg-icon-bookmark path:nth-child(1),
.detailCommentCount svg.svg-icon-bookmark path:nth-child(1) {
	fill: none;
}

.detailContCount.btnSaved svg.svg-icon-bookmark path:nth-child(1),
.detailCommentCount.btnSaved svg.svg-icon-bookmark path:nth-child(1) {
	fill: #000;
}

.detailContent h1 {
	font-size: var(--font-size-main);
	font-weight: 700;
}

.detailContent .detail,
.formAltArea {
	border-style: solid;
	border-width: 1px 0 0 0;
	border-image: linear-gradient(to right, #89f7fe, #66a6ff) 1;
	margin-top: 20px;
	padding-top: 20px;
}

.draftList:not(:first-of-type) {
	margin-top: 20px;
}

.draftList h1 {
	font-size: var(--font-size-main);
	color: var(--text-color-secondary);
	margin-bottom: 5px;
}

/* 投稿者 */
.poster {
	background: #fff;
	width: fit-content;
	min-width: 80px;
	max-width: 80vw;
	padding: 4px 15px 4px 10px;
	border-radius: 25px;
	font-size: var(--font-size-s);
	font-weight: 700;
	color: var(--text-color-primary);
}

.poster .imgUserIcon, .myPageLink .imgUserIcon {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: #eee;
	border: solid 2px #f2f2f2;
	margin-right: 6px;
}

.posterCareer {
	font-size: 0.7rem;
	color: var(--text-color-secondary);
	font-weight: 400;
}

/* タイムライン、画像ありの場合のユーザー情報表示 */
.areaTimeLine .existImg {
	position: relative;
}

.areaTimeLine .existImg + .substance {
	padding-top: 30px;
}

.areaTimeLine .existImg svg {
	position: absolute;
	top: 8px;
	right: 8px;
}

.areaTimeLine .existImg .poster {
	position: absolute;
	bottom: -20px;
	left: 8px;
}

.areaTimeLine .existImg .iconPr {
	position: absolute;
	bottom: 8px;
	left: 15px;
}

/* タイムライン、画像なしの場合のユーザー情報表示 */
.areaTimeLine .existNoImg {
	display: flex;
	justify-content: space-between;
	margin-top: 5px;
}

.areaTimeLine .existNoImg + .substance {
	padding-top: 15px;
}

/* 投稿内容詳細、画像ありの場合のユーザー情報表示 */
.postHeader {
	display: flex;
	flex-direction: column;
}

.postHeader .existImg {
	position: relative;
}

.postHeader .existImg .poster {
	position: absolute;
	bottom: -20px;
	left: 20px;
}

/* チェックボックス、ラジオボタン、スイッチ共通 */
.form-check-input:checked {
	background-color: #000 !important;
	border-color: #000;
}

/* スイッチ */
.input-checkbox-switch {
	width: 50px !important;
	height: 30px !important;
}

/* ラジオ */
.input-radio {
	width: 1.2rem;
	height: 1.2rem;
}

/* チェックボックス */
.input-checkbox {
}

/* ラジオ、チェックボックスのグリッドレイアウト用 */
.formDispGrid {
	display: grid;
	grid-template-areas: "A B"
		". C";
	justify-content: left;
}

.formDispGrid .form-check-input {
	grid-area: A;
}

.formDispGrid label {
	grid-area: B;
	margin-top: 2px;
}

.formDispGrid .div-invalid-feedback {
	grid-area: C;
}

.formDispGrid .invalid-feedback:empty {
    margin: 0;
}

/* OGPプレビュー */
.ogpPreview {
	background: rgba(255, 255, 255, 0.5);
	border-radius: 14px;
	border: solid 1px #999;
	word-break: break-all;
}

.ogpPreview .prevContent {
	width: 120px;
	height: 120px;
	flex-shrink: 0;
}

.ogpPreview .prevImg {
	background-size: cover;
	background-position: center center;
	border-radius: 14px 0 0 14px;
}

.ogpPreview .prevMovie {
}

.ogpPreview .prevMovie iframe {
	border-radius: 14px 0 0 14px;
}

.ogpPreview .prevText {
	padding: 4px 0 4px 6px;
	margin-right: 6px;
	font-size: var(--font-size-ss);
	height: 120px;
	overflow-y: auto;
	scrollbar-width: thin;
	scrollbar-color: #999 transparent; /* Safariは無効 */
}

.ogpPreview .prevText .prevUrl {
	color: var(--text-color-secondary);
}

.ogpPreview .prevText .prevTitle {
	font-weight: 700;
}

/* ボタン接頭辞（＋） */
.contentBeforePlus:before {
	content: '＋';
	margin-right: 8px;
}

.fontNew {
	color: #f00;
}

.iconColorPrimary path {
	fill: #000;
}

.iconColorSecondary path {
	fill: #999;
}

.maxWidth50 {
	max-width: 50%;
}

.areaInputCmnt {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 10px 15px 20px 15px;
	background-color: rgb(0, 0, 0, 0.1);
	backdrop-filter: blur(5px);
	border-top: solid 1px #aaa;
}

.areaInputCmnt svg path,
.areaHnsnCmnt svg path {
	fill: #333;
}

.areaInputCmnt .svg-icon-send,
.areaHnsnCmnt .svg-icon-send {
	opacity: 0.25;
}

.areaInputCmnt .cmntTextarea.is-valid+.svg-icon-send,
.areaHnsnCmnt .cmntTextarea.is-valid+.svg-icon-send {
	opacity: 1;
}

.areaInputCmnt .fileImage {
	position: absolute;
	bottom: 80px;
	right: 20px;
}

.areaReaction {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 10px 50px 15px 50px;
	border-top: solid 1px #d6d6d6;
	text-align: center;
	background: rgb(255, 255, 255, 0.7);
	backdrop-filter: blur(5px);
}

.areaReaction div {
	zoom: 1.6;
}

.areaReaction svg {
	opacity: 0.3;
}
.areaReaction svg.selected {
	opacity: 1;
}

.form-control.autoResize5 {
	field-sizing: content; /* 未対応ブラウザあり */
	min-height:5lh;
}

.form-control.autoResize10 {
	field-sizing: content; /* 未対応ブラウザあり */
	min-height:10lh;
}

/* 任意・必須 */
.labelReqOpt {
	position: absolute;
	top:0;
	right:0;
	font-size:var(--font-size-m);
}

/* 任意・必須（ラベルなし） */
.labelReqOptNoLabel {
	display: block;
	text-align: right;
	font-size:var(--font-size-m);
	margin-bottom: 4px;
}

/* 画像のデフォルト背景色 */
.contentThumb {
	background: #eee;
}

/* サムネイル画像cover表示 */
.pictThumbCover {
	object-fit: cover;
}

/* 水平線 */
.hrImage {
	border-image: linear-gradient(to right, #89f7fe, #66a6ff) 1;
}

/* xCloseAltアイコン位置調整（対象コンテンツ） */
.boxXCloseAlt {
	position: absolute;
	top: -6px;
	right: -6px;
}

/* 未読件数表示（PWA） */
.unreadCount {
	display: inline-block;
	background: #f00;
	color: #fff;
	border-radius: 50%;
	height: 1.2rem;
	min-width: 1.2rem;
	font-size: 0.8rem;
	text-align: center;
	padding: 0 0.3rem;
	box-sizing: border-box;
	position: absolute;
	top: -4px;
	right: -8px;
}

/* 割合バー（カスタムタグ: div-ratio-bar） */
.div-ratio-bar {
	display: flex;
	align-items: center;
	height: 30px;
	width: 100%;
}

.div-ratio-bar .bar-container {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	height: 100%;
	width: 100%;
	background-color: #fff; /* デフォルト値（data-bar-bgcolorで上書き可能） */
	
}

.div-ratio-bar .bar-container .bar-fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0%;
	background-color: #ccc; /* デフォルト値（data-bar-colorで上書き可能） */
}

.div-ratio-bar .bar-container .bar-text {
	color: white;
	mix-blend-mode: difference;
	/* white-space: nowrap; */
	font-size: 0.7rem;
	overflow: hidden;
	text-overflow: ellipsis;
	padding-left: 5px;
	width: 100%;
	text-align: left;
}

.div-ratio-bar .bar-label {
	margin-left: 5px;
	width: 40px; /* "100%"が表示できる幅を確保 */
	text-align: right;
	white-space: nowrap;
}

/* レンジスライダー（input-range）*/
.input-range-container .range-label {
	display: flex;
	justify-content: space-between;
}

.input-range-container .input-range {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
}

.input-range-container .input-range + datalist {
	display: flex;
	margin-top: -4px;
	
	option {
		display: inline-block;
		width: calc((100% - 12px) / (var(--list-length) - 1));
		text-align: center;
	}
	option:first-child {
		width: calc((100% - 12px) / ((var(--list-length) - 1) * 2) + 6px);
		text-align: left;
	}
	option:last-child {
		width: calc((100% - 12px) / ((var(--list-length) - 1) * 2) + 6px);
		text-align: right;
	}
}

/* 非表示カード（管理者） */
.nonDispMsg {
	background: #ffdcdc;
	display: inline-block;
	padding: 5px 10px;
	border-radius: 8px;
	color: var(--bs-danger);
}

.nonDispPost .postTitle,
.nonDispPost .postContent,
.nonDispPost .postContent a,
.nonDispCmnt .postCmnt,
.nonDispCmnt .postCmnt a {
	color: var(--bs-danger);
}

/* 非表示カード（ユーザー） */
.nonDispPostUser .nonDispMsg,
.nonDispCmntUser .nonDispMsg {
	background: #eee;
	display: inline-block;
	padding: 5px 10px;
	border-radius: 8px;
	color: var(--text-color-secondary);
}

/* 連携アイコン */
.div-linkage {
	width: 4rem;
	text-align: center;
	padding: 2px 2px;
	border-radius: 60px;
	font-size: 0.75rem;
}

.linkageON {
	color: #fff;
	background: #000;
	border: solid 1px #000;
}

.linkageOFF {
	color: #999;
	background: #fff;
	border: solid 1px #999;
}

/* 投稿追加ボタン */
.plusBtnArea {
	position: fixed;
	bottom: 70px;
	right: 5px;
	opacity: 0.7;
	z-index: 1;
}

/* マイナンバーカードで本人確認ボタン */
.digiIdentificationBtn {
	background: #00118f !important;
	border: #00118f;
}

.digiIdentificationBtn::before {
	content: '';
	display: inline-block;
	width: 1.8rem;
	height: 1.8rem;
	background-image: url(../../../../../portal/img/img_appicon.png);
	background-size: contain;
	vertical-align: middle;
	margin-right: 4px;
}

/* インフォメーションアイコン */
.svg-icon-information path {
	fill: var(--color-uniparx);
}

/* タグ */
.tagStyle {
	background: #f2f2f2;
	border-radius: 8px;
	line-height: 1.7;
	color: #007aff;
}

/* リンク接尾辞（>） */
.linkSuffix::after {
	content: ' >'
}

/* ニックネームアイコン */
.svg-icon-anonymous path {

}

/* インプットテキスト（含検索アイコン） */
.input-search.inclSearchIcon {
	padding-left: 35px;
}