/* 旧 /note/some/meal/css/cal.css.php (食事レポート) の移植 */
img.meal-graph{ background: transparent url('/img/thum/meal-thum.gif') no-repeat 0px -91px; width: 17px; height: 14px; }
img.meal-list{ background: transparent url('/img/thum/meal-thum.gif') no-repeat 0px -125px; width: 14px; height: 14px; }
img.meal-popup{ background: transparent url('/img/thum/meal-thum.gif') no-repeat 0px -248px; width: 17px; height: 15px; }
a.meal-jpg-btn-cal-on{ background: transparent url('/img/thum/meal-jpg-thum.jpg') no-repeat 0px -20px; width: 107px; height: 32px; line-height: 32px; display: block; color: #FFFFFF; }
a.meal-jpg-btn-cal{ background: transparent url('/img/thum/meal-jpg-thum.jpg') no-repeat 0px -72px; width: 107px; height: 32px; line-height: 32px; display: block; color: #376FA6; }
a.meal-jpg-btn-cal:hover{ color: #FFFFFF; background-position: 0px -20px; }
a.meal-jpg-btn-radar-on{ background: transparent url('/img/thum/meal-jpg-thum.jpg') no-repeat 0px -220px; width: 107px; height: 32px; line-height: 32px; display: block; color: #FFFFFF; }
a.meal-jpg-btn-radar{ background: transparent url('/img/thum/meal-jpg-thum.jpg') no-repeat 0px -168px; width: 107px; height: 32px; line-height: 32px; display: block; color: #376FA6; }
a.meal-jpg-btn-radar:hover{ color: #FFFFFF; background-position: 0px -220px; }
a.meal-jpg-btn-time-on{ background: transparent url('/img/thum/meal-jpg-thum.jpg') no-repeat 0px -324px; width: 107px; height: 32px; line-height: 32px; display: block; color: #FFFFFF; }
a.meal-jpg-btn-time{ background: transparent url('/img/thum/meal-jpg-thum.jpg') no-repeat 0px -376px; width: 107px; height: 32px; line-height: 32px; display: block; color: #376FA6; }
a.meal-jpg-btn-time:hover{ color: #FFFFFF; background-position: 0px -324px; }
img.meal-jpg-btn-radar-s{ background: transparent url('/img/thum/meal-jpg-thum.jpg') no-repeat 0px -124px; width: 28px; height: 24px; }

table.meal-tbl { margin-top: 8px; font-size: 12px; clear: both; }
table.meal-tbl th { padding: 7px; border: 1px solid #CCCCCC; font-weight: normal; text-align: left; background-image: url('/img/thum/meal-title-bg.jpg'); background-repeat: repeat-x; }
table.meal-tbl td { font-size: 12px; padding: 8px; border-bottom: 1px dotted #CCCCCC; border-right: 1px solid #EEEEEE; line-height: 20px; }
table.meal-tbl td.syk-0 { background-color: #FFDDDD; }
table.meal-tbl td.syk-6 { background-color: #E8E8FF; }
table.meal-tbl td.val { text-align: right; padding-right: 0px; font-size: 14px; border-right: none; }
table.meal-tbl td.unit { padding-left: 5px; font-size: 11px; color: #666666; border-right: none; }
table.meal-tbl td.img { text-align: center; border-right: none; }
table.meal-tbl td.nodata { text-align: right; font-size: 12px; border-right: none; }

div.advice-area { text-align: left; width: 70%; line-height: 26px; padding: 4px 16px 16px 16px; background-image: url('/img/frm-back.gif'); }
div.advice-area h3 { font-size: 13px; }
div.advice-area div { padding: 6px 30px 15px 30px; font-size: 12px; background-image: none; background-color: #FFFFFF; }
div.advice-area div strong { font-size: 13px; }
div.advice-area div div.com { padding: 0px; font-size: 13px; line-height: 18px; margin-bottom: 12px; }
div.advice-area div span.val { font-size: 14px; }
div.advice-area div span.unit { font-size: 11px; color: #666666; }
div.advice-area div.btn-area { padding: 0px; width: 360px; margin-top: 12px; }
div.advice-area div.btn-area a { text-align: left; float: left; margin-left: 3px; margin-right: 3px; text-decoration: none; }
div.advice-area div.btn-area a span { margin-left: 28px; }

div.change-eiyou { font-size: 12px; font-weight: normal; }
div.change-eiyou select { margin-right: 12px; }

div#gzone { width: 90%; max-width: 640px; height: 260px; margin-top: 6px; position: relative; }
@media (max-width: 768px) {
  div.advice-area { width: auto; padding: 1px; }
  div.advice-area div { padding: 6px 8px 10px 8px; }
  div.advice-area div.btn-area { width: auto; }
  table.meal-tbl td { padding: 6px 3px; }
}

/* 栄養バランス (レーダーチャート) */
div.radar { width: 100%; max-width: 250px; margin: 0 auto; }
div.radar canvas { width: 100%; max-width: 250px; border: none; }
table.m-eno td.eti { cursor: pointer; background: #FFFFFF url(/note/img/kcal/off.jpg) no-repeat 5px; font-size: 12px; vertical-align: top; padding: 4px 4px 4px 26px; }
table.m-eno td.eti.checked { background: #FFFFFF url(/note/img/kcal/on.jpg) no-repeat 5px; font-weight: bold; }
table.m-eno td.eti label { cursor: pointer; margin-left: 6px; }
table.m-eno td.ecom { vertical-align: top; padding: 4px 6px 8px 0; }
table.m-eno td.ecom span { line-height: 18px; font-size: 12px; color: #666666; }
table.m-eno td.ecom div { margin-bottom: 6px; font-size: 12px; }
table.m-eno td.ecom div.jud- { color: #000000; }
table.m-eno td.ecom div.jud-min, table.m-eno td.ecom div.jud-nor { color: #669900; }
table.m-eno td.ecom div.jud-max { color: #993333; }
img.meal-plus { background: transparent url('/img/thum/meal-thum.gif') no-repeat 0px -221px; width: 7px; height: 7px; }
img.meal-minus { background: transparent url('/img/thum/meal-thum.gif') no-repeat 0px -159px; width: 7px; height: 7px; }
@media (max-width: 768px) {
  td.meald table, td.meald table > tbody, td.meald table > tbody > tr, td.meald table > tbody > tr > td { display: block; width: auto; }
  table.m-eno { float: none !important; }
}

/* 日別の食事レポート */
img.meal-radar{ background: transparent url('/img/thum/meal-thum.gif') no-repeat 0px -283px; width: 17px; height: 16px; }
img.meal-return{ background: transparent url('/img/thum/meal-thum.gif') no-repeat 0px -319px; width: 13px; height: 12px; }
a.meal-jpg-btn-return{ background: transparent url('/img/thum/meal-jpg-thum.jpg') no-repeat 0px -272px; width: 107px; height: 32px; line-height: 32px; display: block; font-size: 12px; color: #000099; }
a.meal-jpg-btn-return:hover{ color: #CC0000; }
table.meal-tbl2 { margin-top: 8px; font-size: 12px; }
table.meal-tbl2 th { padding: 7px; font-weight: normal; text-align: left; background-image: url('/img/thum/meal-title-bg.jpg'); background-repeat: repeat-x; border-top: 1px solid #CCCCCC; border-bottom: 1px solid #CCCCCC; }
table.meal-tbl2 th.l { border-left: 1px solid #CCCCCC; }
table.meal-tbl2 th.r { border-right: 1px solid #CCCCCC; }
table.meal-tbl2 td { font-size: 12px; padding: 8px; border-bottom: 1px dotted #CCCCCC; line-height: 20px; }
table.meal-tbl2 td.val { text-align: right; padding-right: 0px; font-size: 14px; }
table.meal-tbl2 td.unit { padding-left: 5px; font-size: 11px; color: #666666; }

/* 食事の詳細 */
h3.det-ti { font-size: 13px; font-weight: bold; color: #006600; border-bottom: 1px solid #000000; padding: 5px; margin-bottom: 10px; }
h3.det-ti span { margin-left: 10px; font-size: 12px; font-weight: normal; color: #000000; }
div.con { width: 100%; }
div.con div.con-l { float: left; width: 80%; }
div.con div.con-r { float: right; width: 20%; text-align: center; }
table.fds-tbl { font-size: 12px; }
table.fds-tbl th { border-bottom: 1px dotted #CCCCCC; font-weight: normal; text-align: left; }
table.fds-tbl th strong { color: #CC0000; margin-right: 3px; }
table.fds-tbl td { border-bottom: 1px dotted #CCCCCC; font-size: 12px; }
table.fds-tbl td.val { font-size: 14px; text-align: right; width: 60px; padding-right: 0px; }
table.fds-tbl td.unit { font-size: 11px; color: #666666; width: 20px; padding-left: 5px; vertical-align: bottom; }
table.eiyou-li { font-size: 12px; }
table.eiyou-li th { border-bottom: 1px dotted #CCCCCC; font-weight: normal; text-align: left; width: 120px; }
table.eiyou-li th strong { color: #FF9900; margin-right: 3px; }
table.eiyou-li td { border-bottom: 1px dotted #CCCCCC; font-size: 12px; }
table.eiyou-li td.val { font-size: 14px; text-align: right; padding-right: 0px; }
table.eiyou-li td.unit { width: 20px; font-size: 11px; color: #666666; padding-left: 5px; }
div.graph div.g-null { height: 20px; width: 190px; background: url('/note/my/meal/img/g-back.gif') no-repeat; color: #666666; float: left; }
div.graph div.g-back { height: 20px; width: 190px; background: url('/note/my/meal/img/g-back.gif') no-repeat; float: left; }
div.graph div.g-back div.g-val { color: #333333; height: 18px; line-height: 16px; font-size: 12px; margin-top: 2px; margin-left: 2px; padding: 1px 1px 1px 4px; background: url('/note/my/meal/img/g-val.gif') repeat-x; }
div.graph div.g-over { height: 20px; width: 190px; background: url('/note/my/meal/img/g-over.gif') no-repeat; color: #FFFFFF; float: left; }
div.graph div.g-com { height: 20px; line-height: 20px; float: left; margin-left: 5px; }
div.g-caution { color: #666666; font-size: 11px; }
@media (max-width: 768px) {
  div.con div.con-l, div.con div.con-r, div.con-an div.con-l, div.con-an div.con-r { float: none; width: auto; margin-left: 0; }
}

/* 栄養素の内訳 (円グラフと一覧表) */
.g-area:after { content: ''; display: block; clear: both; }
ul.cir-det { padding: 0px; margin: 15px 0 0 10px; }
ul.cir-det li { line-height: 22px; font-size: 13px; list-style-type: none; }
ul.cir-det li span { margin-right: 3px; }
div.con-an div.con-l { width: 45%; }
div.con-an div.con-r { margin-left: 25px; float: left; width: 45%; text-align: left; }
div.det-com { margin-left: 10px; line-height: 20px; }
div.det-com strong { color: #335599; }
table.food-det { margin-left: 10px; }
table.food-det td { font-size: 13px; border-bottom: 1px dotted #CCCCCC; }
table.food-det td span { margin-right: 3px; }
table.food-det td.val { font-size: 14px; text-align: right; width: 60px; padding-right: 0px; }
table.food-det td.unit { font-size: 11px; color: #666666; width: 20px; padding-left: 5px; vertical-align: bottom; }
span.cir-0 { color: #336699; }
span.cir-1 { color: #CC0000; }
span.cir-2 { color: #FF9900; }
span.cir-3 { color: #006600; }
span.cir-4 { color: #9999CC; }
span.cir-e { color: #CCCCCC; }
