@import url("./add_topimg.css");

/* ---------------------------------------- */
/* common */
.none {
	display: none !important;
}
.font_blod {
	font-weight: bold;
}
.text_center {
	text-align: center;
}
.text_right {
	text-align: right;
}
.display_flex {
	display:flex;
}
.header_text {
	font-size: 1.4rem;
	text-align: center;
	padding: 0.25rem 0;
	margin: 0.5rem auto;
	font-weight: 600;
}
.font_large {
	font-size: 1.4rem;
}
.font_small {
	font-size: 0.85rem;
}
.word_break_keep_all {
	word-break: keep-all;
}
.max_w40rem {
	max-width: 40rem;
	padding: 1rem;
}
.max_w60rem {
	max-width: 60rem;
	padding: 1rem;
}
.margin1rem {
	margin: 1rem;
}
.margin_center {
	margin-left: auto;
	margin-right: auto;
}
.borderline {
	border: none;
	border-top: 0.125rem solid #ffffff;
	margin: 1.5rem 2rem;
}
.anc_normal {
	text-decoration: underline;
	color:orange;
	cursor: pointer;
	text-shadow: 1px 1px rgb(128 168 255);
}
.borderspan {
	display: inline-block;
	border: 0.125rem solid #FFF;
	padding: 0.25rem 0.5rem;
	border-radius: 0.5rem;
}

.img_fit {
	object-fit: contain;
	vertical-align: top;
	width: 100%;
	height: 100%;
}

.cursor_pointer {
	cursor: pointer;
}

sup {/* リセット回避 */
	vertical-align: text-top;
	font-size: 60%;
}

.position_relative {
	position: relative;
}
.position_absolute {
	position: absolute;
}

.bgcolor-ddd {
    background-color: #ddd;
}

/* bar */
.divider3 {
	position: relative;
	background-color: #EFECE3;
	width: 100%;
	height: 2rem;
	margin-bottom: -1rem;
}
.divider3::before {
	content: "";
	position: absolute;
	width: 100%;
	height: 1.5rem;
	background-color: #ffffff;
	top: 0.5rem;
	border-radius: 1.5rem 1.5rem 0 0;
}

/* レスポンシブ対応 */
@media screen and (max-width: 480px) {
	.max_w40rem,
	.max_w60rem {
		padding: 1rem 0rem;
	}
}


/* ---------------------------------------- */
/* form */

/* input */
.input_text ,
.select_text {
	background-color: #fff;
	/*height: 100%;*/
	border: none;
	font-size: 1.2rem;
}
.input_text {
	width: 100%;
	padding: 0.60rem 1.5rem;
	border-radius: 100vh;
}
.select_text {
	width: auto;
	padding: 0.60rem 1rem;
	border-radius: 0.25rem;
}
.input_text::placeholder {
	color: #a9ceff;
	font-weight: 600;
}
.input_text.mini {
	border-radius: 0;
	padding: 0.25rem;
	width: 10rem;
	field-sizing: content;
	/*
	background-color: #2d94f614;
	border-radius: 0.25rem;
	*/
}
textarea::placeholder {
	color: #a9ceff;
	font-weight: 600;
}

.select_text.gray {
	background-color: #eee;
}
@keyframes desecnt_color {
	0% { background-color: #bef; }
	60% { background-color: #bef; }
	100% { background-color: #eee; }
}
.ok_color {
	animation: desecnt_color 0.8s;
}


/* check */
.input_checkbox {
	position: relative;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	vertical-align: middle;
	margin: 0 0.5rem;
}
.input_checkbox::before {
	content: "";
	position: absolute;
	border: 0.2rem solid #fff;
	border-radius: 0.2rem;
	background-color: #4d92ef;
	width: 1.25rem;
	height: 1.25rem;

}
.input_checkbox::after {
	content: "";
	position: absolute;
	left: -0.2rem;
	top: -0.5rem;
	background-image: none;
	background-repeat: no-repeat;
	background-size: 100%;
	width: 1.75rem;
	height: 1.75rem;

}
.input_checkbox:checked::before {
	background-color: #fff;
}
.input_checkbox:checked::after {
	background-image: url("img/check_icon.png");
}
.checkbox_label {
	font-size: 1.2rem;
}
.checkbox_label.large {
	font-size: 1.5rem;
}
.checkbox_label span {
	vertical-align: middle;
}

/* button */
.btn_type1 {
	border: none;
	padding: 0.25rem 1.5rem;
	font-size: 1.5rem;
	border-radius: 100vh;
	color: #2280ff;
	background-color: #fff;
	cursor: pointer;
	position: relative;
	bottom: 0;
}
.btn_type1:hover, .btn_type1:active {
	bottom: -0.1rem;
}
.btn_type1:active {
	opacity: 0.6;
}
.btn_type1.large {
	font-size: 2rem;
}
.btn_type1.orange {
	color: #fff;
	background-color: #ffa814;
}
.btn_type1:disabled, 
.btn_type1:disabled:hover, 
.btn_type1:disabled:active {
	bottom: 0rem;
	background-color: #ccc;
	color: #fff;
	cursor: default;
	opacity: 1;
}

/* search */
.searchbase {
	margin: 1.5rem 0;
}
.searchbtns {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}
.btn_type1.mini {
	padding: 0.25rem 0.5rem;
	margin: 0 0.15rem;
	font-size: 1rem;
}
.searchbtns .btn_type1.mini {
	height: 100%;
}
.searchbtns .btn_type1.mini.on {
	color: #fff;
	background-color: transparent;
	border: 2px solid #fff;
}
.searchdiv1 {
	margin: 0 0.25rem;
}
@media screen and (max-width: 480px) {
	.searchdiv0 { order: 1; }
	.searchdiv1 { order: 0; width: 100%; margin-bottom: 1rem; }
	.searchdiv2 { order: 2; }

	.btn_type1 {
		padding: 0.2rem 1rem;
		font-size: 1.2rem;
	}
	.btn_type1.large {
		font-size: 1.6rem;
	}
	.btn_type1.mini {
		padding: 0.2rem 0.5rem;
	}
}


/* ---------------------------------------- */
/* mypage */

.div_mypage {
	padding-top: 11rem;
	padding-bottom: 6rem;
}

/* mypageコンテンツボタン調整 */
.mypage_contents_menu {}
.mypage_contents_menu img {
	filter: grayscale(100%) contrast(200%) brightness(200%) drop-shadow(1px 1px 1px #888);
}
.mypage_contents_menu .box-text-wrapper {
	color: #fff;
	filter: drop-shadow(1px 1px 1px #888);
}
.mypage_contents_menu .bgcolor_0 { background-color: #fe958f; }
.mypage_contents_menu .bgcolor_1 { background-color: #abe79f; }
.mypage_contents_menu .bgcolor_2 { background-color: #feb187; }
.mypage_contents_menu .bgcolor_3 { background-color: #88daf2; }
.mypage_contents_menu .bgcolor_4 { background-color: #fbd478; }
.mypage_contents_menu .bgcolor_5 { background-color: #fe98bd; }
.mypage_contents_menu .bgcolor_6 { background-color: #87c5fe; }

.mypage_contents_menu2 {}
.mypage_contents_menu2 a:active {
	bottom: -0.1rem;
}
.mypage_contents_menu2 a:hover, .mypage_contents_menu2 a:active {
	opacity: 0.6;
}
.mypage_contents_menu2 img {
	width: 100%;
	height: auto;
}


/* user icon */
.ellipse-b.ellipse-common {
	width: 3rem;
	height: 3rem;
}
.ellipse-b img.usericon {
	object-fit: fill;
	vertical-align: top;
	border-radius: 50%;
	/*border: 3px solid #fff;*/
	background-color: #fff;
	width: 100%;
	height: 100%;
}

/* レスポンシブ対応 */
@media screen and (max-width: 480px) {
	.div_mypage {
		padding-top: 9rem;
		padding-bottom: 5rem;
	}
	.ellipse-b.ellipse-common {
		width: 2.4rem;
		height: 2.4rem;
	}

}


/* ---------------------------------------- */
/* video list */
.list_icons {
	border-radius: 1vw;
	background-color: #fff;
	padding: 1rem;
	color: #4d92ef;
}
.list_icons p {
	font-weight: bold;
	font-size: 1.25rem;
}
.list_icons ul {
}
.list_icons li {
	display: inline-block;
	width: 16.5rem;
	vertical-align: top;
	margin: 0.5rem;
}
.list_icons li a {
	cursor: pointer;
}
.list_icons li img {
	width: 100%;
	height: auto;
}
.list_icons li .title {
	font-size: 1rem;
	text-align: center;
}


/* ---------------------------------------- */
/* 健康記録系調整 */
.symptom-frame.check-box:has(input:checked) {
	background-color: #007bff;
	color: white;
}
.memo-frame textarea {
	width: 100%;
	height: 4rem;
	min-height: 2rem;
	max-height: 10rem;
	border: 0;
	resize: vertical;
	font-size: 1.2rem;
	padding: 0.25rem;
}
.memo-frame.large textarea {
	height: 8rem;
	max-height: 15rem;
}

/* 症状一覧 */
.symptom-list.enabled {
	display: block;
	width: 20rem;
}
.symptom-list.enabled div.symptom-frame {
	width: 6rem;
	line-height: 2rem;
	display: inline-block;
    margin: 0.2rem;
}
/* navbar調整 */
.navbar {
	background-color: transparent;
}
/*
.navbar .navbar__item {
	padding: 0 1.5rem;
	cursor: pointer;
}
*/
.navbar .navbar__item:hover ,
.navbar .navbar__item:active {
	color: #fff;
}
.navbar .navbar__item.selected::after {
	width: 100%;
}
.navbar .navicon {
	display: inline-block;
	width: 1.5rem;
	height: 1.5rem;
}
.navbar .navicon {
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}
.navbar .navicon.mode0 {
	background-image: url(img/icon_heart.png);
}
.navbar .navicon.mode1 {
	background-image: url(img/icon_running.png);
}
.navbar .navicon.mode2 {
	background-image: url(img/icon_food.png);
}
.navbar .navicon.mode3 {
	background-image: url(img/icon_kensa.png);
}

/* 健康記録 - 食事 */
.info_bar {
	padding: 0.5rem;
	background-color: #EFECE3;
}
.meal-record {
	display: block;
	background-color: #EFECE3;
}
.meal-record__image-section {
	display: inline-block;
}
.meal-record__image-section img {
	vertical-align: bottom;
	line-height: 1.0em;
}
.meal-record__details {
	display: inline-block;
	width: auto;
	vertical-align: top;
	background-color: transparent;
}
/* 画像なし */
.meal-record.no-image {
	text-align: center;
}
.meal-record.no-image .meal-record__image-section {
	display: none;
}
.meal-record.no-image .meal-record__details {
	max-width: 70%;
}

/* 検査入力フォーム */
.status-autoframe.right-large .status-frame .status-autoframe-right-pad {
	width: 4.5rem;
}
.status-autoframe.right-large:not(.no-underline)::after {
	width: calc(100% - 7.5rem);
}
.status-autoframe.right-none:not(.no-underline)::after {
	width: calc(100% - 3rem);
}
.status-text-common .standard-value {
	display: block;
	font-size: 0.85rem;
	font-weight: normal;
}

/* タブ固定*/
.log_tab_locking {
	padding-top: 13.5rem;
}
.log_tab_locking .log_tab {
	position: fixed;
	top: 10rem;
	z-index: 8;
	background-color: #4d92ef;
	max-width: 40rem;
	width: 100%;
	margin: auto;
	left: 0;
	right: 0;
	padding: 1rem 0 0.25rem 0;
}

@media screen and (max-width: 480px) {
	.status-autoframe.right-large input.mini {
		width: 6rem;
	}
	.status-autoframe.right-large .status-frame .status-autoframe-right-pad {
		width: 3.5rem;
	}
	.margin-container:not(.add_parts) .status-autoframe.right-large:not(.no-underline)::after {
		width: calc(100% - 6rem);
	}
	.status-text-common .standard-value,
	.log_mode3_info {
		font-size: 0.75rem;
	}
	/* タブ */
	.log_tab_locking {
		padding-top: 12rem !important;
	}
	.log_tab_locking .log_tab {
		top: 8.5rem;
	}
}

/* ---------------------------------------- */
/* カレンダー調整 */
.date-navigation__a {
	padding: 0 0.5rem;
	margin: 0 0.25rem;
	cursor: pointer;
}

/* ---------------------------------------- */
/* alert */

.alert_dlg {
	margin: 0;
	padding: 0;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	position: fixed;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 500;
}
.alert_dlg_body {
	width: 75%;
	max-width: 35rem;
	margin: auto;
	padding: 1rem;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	height: auto;
	display: flex;
	flex-flow: column;
	background-color: #4d92ef;
	border-radius: 0.8rem;
	border: 0.125rem solid #fff;
	color: #fff;
}
.alert_dlg_body .header_text {
	width: 80%;
}
.alert_dlg_body .text_area {
	width: 80%;
	margin: 0.5rem auto 1.5rem auto;
}

/* scroll対応 */
.alert_dlg div.round-base {
	/* max-height: 95vh; */
	max-height: 92vh;
	overflow: auto;
}

/* 調整 */
.alert_dlg > div.max_w40rem {
	padding: 3vh 0;
}

@media screen and (max-width: 480px) {
	.alert_dlg span.title {
		font-size: 1.5rem;
	}
}

/* ------------------------------ */
/* start_info */
.alert_dlg.start_info {
	background-color: #4d92ef;
	display: flex;
	align-items: center;
	justify-content: center;
}
.alert_dlg.start_info .start_info_div {
	max-width: 35rem;
	height: auto;
	max-height: 100vh;
	overflow: auto;
	margin: auto;
	padding: 0.5rem 0;
}
.alert_dlg.start_info .start_info_div img {
	width: 80%;
	height: auto;
}


/* ------------------------------ */
/* 入力フォーム ボタン配置 */
.alert_dlg .close-icon,
#ml_cmntform .close-icon,
#ml_profform .close-icon,
#ml_logform .close-icon {
	left: 5%;
	right: auto;
	cursor: pointer;
}
.alert_dlg .complete-icon,
#ml_cmntform .complete-icon ,
#ml_profform .complete-icon ,
#ml_logform .complete-icon {
	right: 5%;
	left: auto;
	cursor: pointer;
}
#ml_cmntform .delete-icon ,
#ml_profform .delete-icon ,
#ml_logform .delete-icon {
	right: 15%;
	left: auto;
	cursor: pointer;
}
.comment.delete-icon ,
.comment.etc-icon {
	position: unset;
	cursor: pointer;
	height: 2.5rem;
	margin: 0 0.25rem;
}
.comment.delete-icon .imgbase ,
.comment.etc-icon .imgbase ,
#ml_cmntform .delete-icon .imgbase ,
#ml_profform .delete-icon .imgbase ,
#ml_logform .delete-icon .imgbase {
	width: clamp(2rem, 7vw, 2.5rem);
	height: clamp(2rem, 7vw, 2.5rem);
/*
	width: 40px;
	height: 40px;
*/
	border-radius: 50%;
	background-color: #2d93f7;
}
.comment.etc-icon .imgbase {
	display: flex;
	justify-content: center;
	align-items: center;
}

.comment.delete-icon img ,
#ml_cmntform .delete-icon img ,
#ml_profform .delete-icon img ,
#ml_logform .delete-icon img {
	filter: invert(100%);
}
.comment.etc-icon img {
	padding: 15%;
	filter: brightness(0) saturate(100%) invert(100%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(102%) contrast(102%);
}


/* ------------------------------ */
/* video */
#ml_video {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 100%;
}
.alert_dlg_video {
	width: 100%;
	max-width: 40rem;
}
.alert_dlg_video .video_base {
	width: 100%;
	aspect-ratio: 16 / 9;
}
.alert_dlg_video .video_base iframe {
	width: 100%;
	height: 100%;
}

/* ------------------------------ */
/* ダイアリー */
/* 共有ボタン */
.div_mypage .profile-header__share-button {
	padding: 2px 0.85rem;
}
.div_mypage .profile-header__share-button span {
	white-space: nowrap;
	font-size: 0.75rem;
}
.profile-header__share-button {
	cursor: pointer;
}
.profile-header__share-button.on {
	background-color: #0099ff;
	color: #fff;
}
.profile-header__share-button.on span {
	/*font-size:0;*/
}
.profile-header__share-button.on span:before {
	content:"共有を解除";
	font-size: 0.75rem;
}
.profile-header__share-button.on.follow span:before {
	content:"フォロー中";
}
.profile-header__share-button.on.follow img {
	filter: grayscale(100%) contrast(200%) brightness(200%) drop-shadow(1px 1px 1px #888);
}
.profile-header__share-button.on.block {
	background-color: #333;
	color: #fff;
	border: 1px solid #333;
}
.profile-header__share-button.on.block span:before {
	content:"ブロック中";
}
.profile-header__share-button.on.block img {
	filter: grayscale(100%) contrast(200%) brightness(200%) drop-shadow(1px 1px 1px #888);
}

/* 写真 */
.profile-container .photo {
	max-width: 20rem;
	height: 15rem;
	/*max-height: 15rem;*/
	margin: 0 auto;
}
.profile-container .photo img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
/* プロフィール回り */
.profile-header.mod .profile-header__user {
	align-items: flex-start;
	width: 100%;
}
.profile-header.mod .profile-header__info {
	width: inherit;
}
.profile-header.mod .profile-header__user.addbtn {
	width: calc(100% - 45px);
}
.profile-header.mod .profile-header__name {
	width: calc(100% - 5rem);
}
.profile-header.mod .profile-text {
	font-weight: normal;
	font-size: var(--flex_unit_font);
}
/* プロフィール フォロー枠 */
.profile-container .buttons {
	position: absolute;
	color: #4d92ef;
	top: 1.0rem;
	right: 0.5rem;
}
/* いいね・コメント */
.profile-footer_base {
	width: 100%;
	display: flex;
	justify-content: space-between;
	padding: 0.75rem;

}
.profile-footer_table {
	display:table;
	table-layout: fixed;
	width: 100%;
}
.profile-footer_table > div {
	display:table-cell;
}
.profile-footer_table_icon {
	width: 2.8rem;
	text-align: center;
	display: inline-block;
	vertical-align: middle;
}
.profile-footer_table_icon.on {
	filter: brightness(0) saturate(100%) invert(71%) sepia(12%) saturate(4212%) hue-rotate(352deg) brightness(97%) contrast(89%);
}
.profile-footer_table_icon img {
	display: block;
	margin: 0 auto -0.5rem auto;
}
.profile-footer_base .etc {
	vertical-align: middle;
}

/* コメントボタン枠 */
.comment_btns {
	position: absolute;
	width: 20%;
	height: 2.5rem;
	right: 2.5%;
	top: 0;
	display: flex;
	justify-content: flex-end;
	align-items: flex-start;
}

/* ブロック・報告メニュー */
.etcmenu_base {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgb(0 0 0 / 0.25);
	text-align: right;
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
}
.etcmenu_base.comment {
	border-radius: 1.5rem 1.5rem 0 0;
	top: -0.5rem;
	align-items: flex-start;
}
.etcmenu_list {
	display: inline-block;
	margin: 0 0.5rem 3rem 0;
	padding: 0.5rem;
	text-align: left;
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 2px 2px 2px rgb(0 0 0 / 0.25);
}
.etcmenu_list p {
	font-weight: bold;
	margin: 0.75rem 0.5rem;
}

.etcmenu_list.comment {
	margin: 0 0.5rem 0 0;
	padding: 0.25rem;
}
.etcmenu_list.comment p {
	font-size: 90%;
	margin: 0.5rem 0.25rem;
}

@media screen and (max-width: 480px) {
	.profile-header.mod .profile-header__name {
		width: 10rem;
	}
	.profile-container .photo {
		max-width: 18rem;
		height: 10rem;
	}
	.profile-footer_base {
		padding: 0.5rem;
	}
	.profile-footer__counter {
		font-size: 0.8rem;
		margin-left: -0.25rem;
	}
	.comment_btns {
		width: 20rem;
	}
	/* タブ */
	.div_mypage .navbar__item.all_tab {
		font-size: 12px;
		transform-origin: center center;
		transform: scaleY(1.3);
	}
}


/* ------------------------------ */
/* 時間アイコン */
.timeicon {
	display: inline-block;
	width: 1.5rem;
	height: 1.5rem;
	background-size: 90%;
	background-position: center;
	background-repeat: no-repeat;
	vertical-align: sub;
}
.timeicon.square {
	border-radius: 0.25rem;
}
.timeicon.gray {
	background-color: #ddd !important;
}
/* 起床時 */
.medicine-outer-container.color_0 .medicine-container__header .timeicon ,
.timeicon.kisyou {
	background-image: url(img/kisyouji.png);
}
/* 朝 */
.medicine-outer-container.color_1 .medicine-container__header .timeicon ,
.timeicon.asa {
	background-image: url(img/asa.png);
}
/* 昼 */
.medicine-outer-container.color_2 .medicine-container__header .timeicon ,
.timeicon.hiru {
	background-image: url(img/hiru.png);
}
/* 夜 */
.medicine-outer-container.color_3 .medicine-container__header .timeicon ,
.timeicon.yoru {
	background-image: url(img/yoru.png);
}
/* 就寝前 */
.medicine-outer-container.color_4 .medicine-container__header .timeicon ,
.timeicon.nerumae {
	background-image: url(img/nerumae.png);
}

/* 起床時 */
.medicine-outer-container.color_0 .medicine-container__header ,
.medicine-outer-container.color_0 .medicine-container__left-footer ,
.medicine-outer-container.taken.color_0 .medicine-container__toggleBtn ,
.timeicon.kisyou.square {
	background-color: #f3b440;
}
.medicine-outer-container.color_0 .medicine-container__left-container {
	outline: 4px solid #f3b440;
}
/* 朝 */
.medicine-outer-container.color_1 .medicine-container__header ,
.medicine-outer-container.color_1 .medicine-container__left-footer ,
.medicine-outer-container.taken.color_1 .medicine-container__toggleBtn ,
.timeicon.asa.square {
	background-color: #f19a75;
}
.medicine-outer-container.color_1 .medicine-container__left-container {
	outline: 4px solid #f19a75;
}
/* 昼 */
.medicine-outer-container.color_2 .medicine-container__header ,
.medicine-outer-container.color_2 .medicine-container__left-footer ,
.medicine-outer-container.taken.color_2 .medicine-container__toggleBtn ,
.timeicon.hiru.square {
	background-color: #abd497;
}
.medicine-outer-container.color_2 .medicine-container__left-container {
	outline: 4px solid #abd497;
}
/* 夜 */
.medicine-outer-container.color_3 .medicine-container__header ,
.medicine-outer-container.color_3 .medicine-container__left-footer ,
.medicine-outer-container.taken.color_3 .medicine-container__toggleBtn ,
.timeicon.yoru.square {
	background-color: #7dcef3;
}
.medicine-outer-container.color_3 .medicine-container__left-container {
	outline: 4px solid #7dcef3;
}
/* 就寝前 */
.medicine-outer-container.color_4 .medicine-container__header ,
.medicine-outer-container.color_4 .medicine-container__left-footer ,
.medicine-outer-container.taken.color_4 .medicine-container__toggleBtn ,
.timeicon.nerumae.square {
	background-color: #8e81bb;
}
.medicine-outer-container.color_4 .medicine-container__left-container {
	outline: 4px solid #8e81bb;
}


/* ------------------------------ */
/* 処方箋 */
.medicine-container__left-container {
	min-width: 35%;
}
button.medicine-container__toggleArea {
	border: none;
	font-size: 1.25rem;
	line-height: 2.5rem;
	color: #fff;
}
.medicine-container__toggleArea {
	font-weight: 600;
	cursor: pointer;
}
._medicine-container__toggleBtn:not(.done) ,
.medicine-outer-container:not(.taken) .medicine-container__toggleBtn {
	font-size:0 ;
	top: 6%;
	left: 4%;
}
._medicine-container__toggleBtn:not(.done):before ,
.medicine-outer-container:not(.taken) .medicine-container__toggleBtn:before {
	content:"未";
	width: 100%;
	height: 100%;
	background-color: #F02626;
	border-radius: 8px;
	font-size: 1.25rem;
	line-height: 2.5rem;
}

.medicine-detail-img_add_parts {
	aspect-ratio: 1 / 1;
	width: 100%;
	object-fit: contain;
	vertical-align: top;
}

.add_parts .medicine-container {
	border-radius: 10px;
	box-shadow: 0px 3px #ddd;
}
.add_parts .medicine-outer-container.locked::after {
	clip-path: inset(0px round 10px);
}


/* ------------------------------ */
/* カレンダー */
.div_calendar {
	width: 100%;
}

.div_calendar .th ,
.div_calendar .td {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}

.div_calendar .th ,
.div_calendar .td .today {
	background-color: #2d93f7;
	color: white;
	font-weight: 600;
}
.div_calendar .td {
	color: #2d93f7;
	font-weight: 600;
}

.div_calendar .th .saturday {
	position: relative;
	color: #5fd0f8;
}
.div_calendar .th .sunday {
	position: relative;
	color: #f44336;
}
.div_calendar .th .saturday::before,
.div_calendar .th .sunday::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 1.8rem;
	height: 1.8rem;
	background-color: white;
	border-radius: 50%;
	z-index: 0;
}
.div_calendar .th .saturday span,
.div_calendar .th .sunday span {
	position: relative;
	z-index: 1;
}

.div_calendar .th > div,
.div_calendar .td > div {
	width: 13.5%;
	text-align: center;
	padding: 0.6rem 0;
	margin: 0 0.05rem;
}
.div_calendar .td > div {
	min-height: 5rem;
}
.div_calendar .td > div .date a {
	display: inline-block;
	width: 100%;
	color: inherit;
}

/* 1day */
.div_calendar.day {
	overflow: hidden;
}
.div_calendar.day .hour {
	width: 100%;
	height: 3rem;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #2d93f7;
	font-weight: 600;
	border-bottom: 1px solid #f0ece3;
}
.div_calendar.day .hour:first-of-type {
	border-top: 1px solid #f0ece3;
}
.div_calendar.day .hour .time {
	max-width: 6rem;
	width: 20%;
	height: 100%;
	text-align:center;
	line-height: 3rem;
}
.div_calendar.day .hour .icons {
	max-width: 9rem;
	width: 25%;
	height: 100%;
	background-color: #f0ece3;
}
.div_calendar.day .hour .icons img {
	width: 1.2rem;
	height: 1.2rem;
}
.div_calendar.day .hour .memo {
	flex-grow: 1;
	height: 100%;
	position: relative;
}
.div_calendar.day .hour .memo .event {
	position: absolute;
	width: 100%;
	text-align: left;
	border-radius: 0.5rem;
	padding: 0.5rem;
	color: #fff;

	background-color: #a5d6a7;
}
/* 指定日の予定 */
.cal_day_list {
}
.cal_day_list li {
	margin: 0.5rem;
	display: flex;
	flex-direction: row;
	align-items: center;
}
.cal_day_list li div:nth-of-type(1) {
	width: 3.5rem;
	text-align: right;
}
.cal_day_list li div:nth-of-type(2) {
	margin: 0 0.5rem;
	width: 0.75rem;
	height: 3rem;
}
.cal_day_list li div:nth-of-type(3) {
	font-weight: bold;
	font-size: 1.2rem;
	/*margin-right: 2rem;*/
	width: fit-content;
}


/* 入力・予定 */
.add_calendar_form .checkbox_label {
	margin: 0 0.1rem;
}
.add_calendar_form .input_checkbox::before {
	border-radius: 50%;
	width: 1.4rem;
	height: 1.4rem;
}
.div_calendar .bgcolor0 ,
.add_calendar_form .input_checkbox.color0::before {
	background-color: #4d92ef !important;
}
.div_calendar .bgcolor1 ,
.add_calendar_form .input_checkbox.color1::before {
	background-color: #ea9d19 !important;
}
.div_calendar .bgcolor2 ,
.add_calendar_form .input_checkbox.color2::before {
	background-color: #f39b77 !important;
}
.div_calendar .bgcolor3 ,
.add_calendar_form .input_checkbox.color3::before {
	background-color: #acd697 !important;
}
.div_calendar .bgcolor4 ,
.add_calendar_form .input_checkbox.color4::before {
	background-color: #7ecdf4 !important;
}
.div_calendar .bgcolor5 ,
.add_calendar_form .input_checkbox.color5::before {
	background-color: #9082bd !important;
}
.div_calendar .bgcolor6 ,
.add_calendar_form .input_checkbox.color6::before {
	background: radial-gradient(circle at center, rgba(214, 237, 255, 0.8) 0%, rgba(255, 255, 255, 0) 90%), conic-gradient(from 210deg, #ff0099, #ff33cc, #9966ff, #00ccff, #00ffaa, #66ff33, #ffee00, #ff9900, #ff3333, #ff0099);
}
.add_calendar_form .input_checkbox:checked::after {
	background-image: url(img/check_preview-icon.png);
	width: 0.8rem;
	height: 0.8rem;
	top: 0;
	left: 0;
}
.div_calendar .F00_test-item {
	justify-content: start;
}
.div_calendar .F00_test-item .hidetext {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}


/* ------------------------------ */
/* 医療費 */
.add_expenses_alert div.status-autoframe-right-pad {
	width: 1rem;
}
.add_expenses_alert div.status-autoframe:not(.no-underline)::after {
	width: calc(100% - 4rem);
}
.add_expenses .medical-fee-container__header {
	display: flex;
	justify-content: space-between;
}
.add_expenses .medical-fee-container__header .medical-fee__text-right {
	font-size: 1.25rem;
	line-hight: 2rem;
	margin-right: 3rem;
}
.add_expenses .medical-fee-container__header .medical-fee__text-right a {
	margin-top: -0.1rem;
	margin-left: 0.6rem;
	border-radius: 50%;
	background-color: #fff;
}
.add_expenses .medical-fee-container__header .medical-fee__text-right a img {
	width: 1.75rem;
	margin: 0.125rem;
}
/* 領収書 */
.add_expenses .medical-fee-container__frame .medical-fee__text.image a {
	color: #2d93f7;
}
.add_expenses .medical-fee-container__frame .medical-fee__text.image a img {
	width: 1.5rem;
	height: 1.5rem;
	object-fit: contain;
	vertical-align: text-bottom;
}


/* ------------------------------ */
/* グラフ */
.graph_timeline {
	margin-bottom: 0.5rem;
}
.graph_timeline label {
	margin: 0.5rem;
	width: 5rem;
	display: inline-block;
}

@media screen and (max-width: 480px) {
	.graph_timeline label {
		margin: 0.25rem;
		width: 3.5rem;
		display: inline-block;
	}
}


/* ------------------------------ */
/* wait */
#ml_wait .alert_dlg_body {
	display: inline-block;
	width: auto;
	height: auto;
	background-color: #fff;
	border: 0.125rem solid #4d92ef;
	color: #4d92ef;
}
#ml_wait .alert_dlg_body .loader_msg {
	font-size: 0.85rem;
}

/* waitマーク */
.wait0 {
	margin-top: 2rem;
	text-align: center;
}
.wait0 > div {
	width: 1rem;
	height: 1rem;
	background-color: #fff;
	border-radius: 100%;
	display: inline-block;
	margin: 0 0.5rem;
	animation: kf_wait0 1.6s infinite ease-in-out both;
}
.wait0 .wait_dot1 {
	animation-delay: 0.20s;
}
.wait0 .wait_dot2 {
	animation-delay: 0.40s;
}

@keyframes kf_wait0 {
	0%, 80%, 100% { 
		transform: scale(0.0);
	} 40% { 
		transform: scale(1.0);
	}
}
/* wait用 */
.alert_dlg_body .wait0 > div {
	background-color: #4d92ef;
}


/* ------------------------------ */
/* Google Map iframe */
#ml_googlemap {
	/*aspect-ratio: 4 / 3;*/
	aspect-ratio: 4 / 5;
	width: 100%;
	height: auto;
}
