@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:wght@400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Crimson+Text:wght@400;600&display=swap");

a,
abbr,
acronym,
address,
applet,
article,
aside,
audio,
b,
big,
blockquote,
body,
canvas,
caption,
center,
cite,
code,
dd,
del,
details,
dfn,
div,
dl,
dt,
em,
embed,
fieldset,
figcaption,
figure,
footer,
form,
h1,
h2,
h3,
h4,
h5,
h6,
header,
hgroup,
html,
i,
iframe,
img,
ins,
kbd,
label,
legend,
li,
mark,
menu,
nav,
object,
ol,
output,
p,
pre,
q,
ruby,
s,
samp,
section,
small,
span,
strike,
strong,
sub,
summary,
sup,
table,
tbody,
td,
tfoot,
th,
thead,
time,
tr,
tt,
u,
ul,
var,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
}

blockquote,
q {
  quotes: none;
}

blockquote:after,
blockquote:before,
q:after,
q:before {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

html:lang(en) body {
  font-family: "Crimson Text", serif;
  -webkit-font-smoothing: unset;
}

html:lang(en) body .article h1,
html:lang(en) body .article h2,
html:lang(en) body .article h3,
html:lang(en) body .article h4,
html:lang(en) body .article p,
html:lang(en) body .article ul,
html:lang(en) body .article ol,
html:lang(en) body .article pre,
html:lang(en) body .article p.pre {
  line-height: 1.4;
}

html:lang(en) body .article h1,
html:lang(en) body .article h2,
html:lang(en) body .article h3,
html:lang(en) body .article h4 {
  font-family: georgia, serif;
}

@media all and (max-width: 480px) {
  html:lang(en) body .article h2 {
    font-size: 20px;
  }
}

html:lang(en) body .article h3 {
  font-size: 22px;
}

@media all and (max-width: 480px) {
  html:lang(en) body .article h3 {
    font-size: 18px;
  }
}

@media all and (min-width: 480px) and (max-width: 4000px) {
  html:lang(en) body .article h4 {
    font-size: 19px;
  }
}

@media all and (max-width: 480px) {
  html:lang(en) body .article h4 {
    font-size: 16px;
  }
}

html:lang(en) body .article p,
html:lang(en) body .article ul,
html:lang(en) body .article ol,
html:lang(en) body .article pre,
html:lang(en) body .article p.pre,
html:lang(en) body .article time,
html:lang(en) body .article table {
  margin-top: 15px;
  margin-bottom: 22px;
}

@media all and (min-width: 480px) and (max-width: 4000px) {

  html:lang(en) body .article p,
  html:lang(en) body .article ul,
  html:lang(en) body .article ol,
  html:lang(en) body .article pre,
  html:lang(en) body .article p.pre,
  html:lang(en) body .article time,
  html:lang(en) body .article table {
    font-size: 20px;
  }
}

@media all and (max-width: 480px) {

  html:lang(en) body .article p,
  html:lang(en) body .article ul,
  html:lang(en) body .article ol,
  html:lang(en) body .article pre,
  html:lang(en) body .article p.pre,
  html:lang(en) body .article time,
  html:lang(en) body .article table {
    font-size: 17px;
  }
}

@media all and (max-width: 480px) {
  html:lang(en) body .article td {
    font-size: 15px;
  }
}

body {
  max-width: 980px;
  margin: auto;
  overflow-x: hidden;
  font-family: Noto, Hiragino Sans, Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  background: transparent;
  -webkit-font-smoothing: antialiased;
  line-height: 2;
  color: rgb(51, 51, 51);
}

.content {
  max-width: 680px;
  margin: auto;
  margin-top: 45px;
}

@media all and (max-width: 480px) {
  .content {
    margin: 0 5%;
  }
}

b {
  font-weight: 600;
}

i {
  font-style: italic;
}

a {
  color: #337ab7;
  text-decoration: none;
}

img,
iframe {
  max-width: 75%;
  display: block;
  margin: auto;
}

@media all and (max-width: 480px) {
  iframe {
    max-width: 100%;
    height: 200px;
  }
}

.flex {
  display: flex;
}

.push {
  margin-left: auto;
}

ul.inline {
  list-style: none;
}

ul.inline li {
  display: inline;
}

@media all and (max-width: 480px) {
  .sp_none {
    display: none;
  }
}

img.small {
  max-width: 45%;
}

@media all and (max-width: 480px) {
  img.small {
    max-width: 55%;
  }
}

@media all and (max-width: 480px) {
  img.big {
    max-width: 95%;
  }
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
pre,
p.pre {
  margin-top: 25px;
  margin-bottom: 15px;
  line-height: 1.7;
}

h1,
h2,
h3,
h4 {
  margin-top: 40px;
}

h1 {
  font-size: 29px;
}

@media all and (max-width: 480px) {
  h1 {
    font-size: 20px;
  }
}

h2 {
  font-size: 24px;
}

@media all and (max-width: 480px) {
  h2 {
    font-size: 19px;
  }
}

h2:before,
h3:before,
h4:before {
  font-size: 90%;
}

h3 {
  font-size: 21px;
}

@media all and (max-width: 480px) {
  h3 {
    font-size: 17px;
  }
}

h4 {
  font-size: 18px;
}

@media all and (max-width: 480px) {
  h4 {
    font-size: 16px;
  }
}

p,
ul,
ol,
pre,
p.pre,
time,
table {
  font-size: 16.5px;
  margin-top: 20px;
  margin-bottom: 35px;
}

@media all and (max-width: 480px) {

  p,
  ul,
  ol,
  pre,
  p.pre,
  time,
  table {
    font-size: 15px;
    margin-top: 15px;
  }
}

table {
  font-size: 15px;
}

@media all and (max-width: 480px) {

  ul,
  ol,
  pre,
  p.pre,
  time {
    font-size: 14.7px;
  }
}

@media all and (max-width: 480px) {
  td {
    font-size: 13px;
  }
}

@media all and (min-width: 480px) and (max-width: 4000px) {
  p.pre {
    font-size: 99%;
  }
}

.nav ul {
  font-size: 15px;
}

@media all and (max-width: 480px) {
  .nav ul {
    font-size: 12px;
  }
}

header {
  margin-top: 25px;
}

@media all and (max-width: 480px) {
  .flex {
    display: block;
  }
}

.logo img {
  max-width: 150px;
}

@media all and (max-width: 480px) {
  .logo img {
    max-width: 110px;
    margin-left: 20px;
  }
}

.nav ul {
  margin-top: 5px;
}

@media all and (max-width: 480px) {
  .nav ul {
    margin-top: 13px;
    margin-left: 5px;
  }
}

.nav ul li a {
  color: #767676;
  margin-left: 15px;
}

ul.top {
  margin-bottom: 20px;
}

ul.top li time,
ul.top li a {
  font-size: 16px;
}

@media all and (max-width: 480px) {

  ul.top li time,
  ul.top li a {
    font-size: 14px;
  }
}

ul.top li a {
  margin-left: 20px;
}

@media all and (max-width: 480px) {
  ul.top li a {
    margin-left: 0;
  }
}

.article time {
  margin-bottom: 20px;
  display: block;
}

@media all and (max-width: 480px) {
  .article time {
    margin-bottom: 10px;
    font-size: 12px;
  }
}

.article h1 {
  margin-top: 0;
  margin-bottom: 20px;
}

.article h1,
.article h2,
.article h3,
.article h4 {
  font-weight: 600;
}

.article h4 {
  margin-bottom: -5px;
}

.article h2:before,
.article h3:before,
.article h4:before {
  font-family: system-ui;
  font-size: 100%;
}

.article h2:before {
  content: "■";
}

.article h3:before {
  content: "□ ";
}

.article h4:before {
  content: "✓ ";
}

.article img {
  margin-bottom: 25px;
}

.article ul,
.article ol,
.article p.pre,
.article pre {
  background-color: rgba(250, 250, 250, 0.48);
  outline: 1px solid rgba(228, 228, 228, 0.8705882353);
  padding: 20px 10px 20px 30px;
  overflow: auto;
}

.article ul li,
.article ol li,
.article p.pre li,
.article pre li {
  line-height: 2;
}

.article p.pre {
  padding: 17px 10px;
}


.article ul.long_list li {
  margin-bottom: 20px;
  line-height: 1.7;
}

.article ul.long_list li:last-child {
  margin-bottom: 0px;
}

.article ul.tc a {
  text-decoration: none;
}

.article a {
  text-decoration: underline;
}

.article table {
  width: 100%;
}

.article table td {
  background-color: #fafafa;
  padding: 12px;
  border: 1px solid #ddd;
  vertical-align: middle;
}

.article table td:nth-child(2) {
  background-color: #fff;
}

.article blockquote {
  padding-left: 20px;
  border-left: 2.5px solid rgba(86, 86, 86, 0.85);
  font-style: italic;
}

.article blockquote p:before {
  content: "» ";
}

.article code {
  padding: 2px 4px;
  font-size: 98%;
  color: #c7254e;
  background-color: #f9f2f4;
  border-radius: 4px;
}

.article .twitter-tweet {
  margin: auto;
  max-width: 590px !important;
  margin-bottom: 35px !important;
}

.category {
  margin-top: 25px;
}

.category hr {
  margin-top: 0px;
  margin-bottom: 15px;
}

.category time {
  display: inline;
}

.category h2 {
  margin-top: 30px;
}

.category h2:before {
  content: "";
}

.category ul {
  margin-top: 0;
  margin-bottom: 15px;
  outline: none;
  padding: 0;
}

@media all and (max-width: 480px) {
  .category ul {
    margin-bottom: 15px;
  }
}

.category ul li {
  margin-right: 17px;
}

@media all and (max-width: 480px) {
  .category ul li {
    margin-right: 0;
  }
}

.category ul li a {
  text-decoration: none;
}

@media all and (max-width: 480px) {
  .category ul.name li {
    display: block;
  }
}

hr {
  background-color: rgba(0, 0, 0, 0.1019607843);
  height: 1px;
  border: 0;
  margin: 30px 0;
}
/* ============================================================
   以下、アーカイブ用の追記（old.mblog.com本体のCSSはここより上・原文のまま）
   mblog.com.old2 由来の記事（health-log等）が使うクラス
   ============================================================ */

/* FAQ (how-to-meditate) */
.article .faq-q { margin-bottom: 5px; }
.article .faq-a { margin-top: 0; }

/* 改行制御 (old2記事) */
.pc-br { display: inline; }
.sp-br { display: none; }
@media all and (max-width: 480px) {
  .pc-br { display: none; }
  .sp-br { display: block; margin-bottom: 15px; }
}

/* Health Log (old2) */
.jp-font {
  font-family: Noto, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 14px; line-height: 28px; -webkit-font-smoothing: antialiased;
}
.health-section {
  font-family: Noto, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 14px; line-height: 1.8; color: #333; -webkit-font-smoothing: antialiased;
}
.health-section pre {
  font-family: Menlo, Monaco, Consolas, monospace; font-size: 13.5px; line-height: 1.6;
  padding: 15px !important; border: 1px solid rgba(228,228,228,0.87) !important;
  border-radius: 0; color: #333; white-space: pre-wrap;
}
.health-section pre a { color: #1a73e8 !important; text-decoration: underline; }
.health-section pre a:hover { color: #174ea6 !important; }
.hs-box { border-radius: 8px; padding: 20px; margin: 20px 0; }
.hs-gray { background: #f8f8f8; border: 1px solid #e0e0e0; }
.hs-blue { background: #f0f7ff; border: 1px solid #c8ddf5; }
.hs-notice { border-radius: 8px; padding: 12px 16px; margin-bottom: 16px; background: #f0f7ff; border: 1px solid #c8ddf5; font-size: 13px; font-style: italic; color: #4a6a8a; line-height: 1.6; }
.hs-box p, .hs-box span, .hs-box li { font-size: 14px; line-height: 1.7; margin-top: 0; margin-bottom: 10px; }
.hs-title { font-weight: bold; font-size: 16px; margin-bottom: 12px; }
.hs-desc { color: #555; margin-bottom: 12px; }
.hs-subdesc { font-size: 13px; color: #666; margin-bottom: 12px; }
.hs-prompt { font-size: 12px; line-height: 1.5; max-height: 200px; overflow-y: auto; background: #fff; cursor: text; }
.hs-result { margin-top: 16px; padding: 16px; background: #fff; border: 1px solid #e0e0e0; border-radius: 6px; font-size: 14px; line-height: 1.8; white-space: pre-wrap; word-wrap: break-word; }
.hs-textarea { width: 100%; box-sizing: border-box; padding: 12px; font-size: 14px; font-family: Noto, 'Hiragino Sans', 'Yu Gothic', Meiryo, sans-serif; border: 1px solid #ccc; border-radius: 6px; resize: vertical; line-height: 1.6; background: #fff; color: #333; }
.hs-btn { padding: 10px 24px; background: #111; color: #fff; border: none; border-radius: 6px; font-size: 14px; cursor: pointer; }
.hs-copy-btn { display: inline-block; margin-top: 10px; padding: 8px 20px; background: #111; color: #fff; border-radius: 6px; text-decoration: none; cursor: pointer; font-size: 14px; }
.body-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0 24px; }
.body-comparison .bc-card { border: 1px solid rgba(228,228,228,0.87); overflow: hidden; background: rgba(250,250,250,0.48); }
.body-comparison .bc-photo { width: 100%; aspect-ratio: 3/4; overflow: hidden; }
.body-comparison .bc-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; max-width: 100%; margin: 0; }
.body-comparison .bc-body { padding: 10px 12px 12px; }
.body-comparison .bc-label { font-size: 11px; font-weight: 700 !important; color: #666; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 4px; }
.body-comparison .bc-goal .bc-label { color: #2d4a3e; }
.body-comparison .bc-date { font-size: 13px; font-weight: 600; color: #333; margin-bottom: 8px; }
.body-comparison .bc-goal .bc-date { color: #2d4a3e; }
.body-comparison .bc-stats { list-style: none; padding: 0; margin: 0; outline: none; background: none; font-size: 11.5px; line-height: 1; color: #666; }
.body-comparison .bc-stats li { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(0,0,0,0.04); padding: 4px 0; }
.body-comparison .bc-stats li:last-child { border-bottom: none; }
.body-comparison .bc-stats .bc-val { font-weight: 600; color: #333; }

/* 英語ページのフォント: Bitter（Google Fonts）
   旧mblog.comで使っていた adelle (Adobe Fonts、解約済み) の無料代替。同系統のスラブセリフ。
   読めない場合は Crimson Text / georgia にフォールバック */
html:lang(en) body {
  font-family: "Bitter", "Crimson Text", serif;
}
html:lang(en) body .article h1,
html:lang(en) body .article h2,
html:lang(en) body .article h3,
html:lang(en) body .article h4 {
  font-family: "Bitter", georgia, serif;
}

/* 一覧の日付セルを折り返させない（長いタイトルの行で日付が2行になるのを防ぐ） */
ul.top li:first-child,
.category ul.flex li:first-child {
  flex: 0 0 auto;
}
ul.top li time,
.category ul.flex li time {
  white-space: nowrap;
}
