@charset "UTF-8";
/* ==========================================================================
Movable Type 投稿記事エリア（#post）スタイル（タイトル強調＆格子線ありテーブル）
========================================================================== */
#post {
  color: #333333;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  word-wrap: break-word;
}
#post p, #post ul, #post ol, #post dl, #post table, #post blockquote, #post figure, #post .mt-be-columns, #post iframe {
  margin-top: 0;
  margin-bottom: 24px;
}
#post p {
  font-size: 15px !important;
  line-height: 1.8 !important;
  margin-bottom: 24px !important;
}
#post p:last-child {
  margin-bottom: 0 !important;
}
#post h2 {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
  font-size: 28px !important;
  font-weight: bold !important;
  color: #791336 !important;
  line-height: 1.4 !important;
  padding-bottom: 12px !important;
  margin-top: 48px !important;
  margin-bottom: 24px !important;
  border-bottom: 2px solid #791336 !important;
  letter-spacing: 0.05em !important;
  text-align: left !important;
}
#post h2::before, #post h2::after {
  display: none !important;
  content: none !important;
}
#post h2:first-child {
  margin-top: 0 !important;
}
@media screen and (max-width: 768px) {
  #post h2 {
    font-size: 22px !important;
    margin-top: 36px !important;
  }
}
#post h3 {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
  font-size: 20px !important;
  font-weight: bold !important;
  color: #1a1a1a !important;
  line-height: 1.4 !important;
  padding: 0 0 0 14px !important;
  margin-top: 40px !important;
  margin-bottom: 20px !important;
  border-left: 4px solid #791336 !important;
  border-bottom: none !important;
  letter-spacing: 0.05em !important;
  text-align: left !important;
}
#post h3::before, #post h3::after {
  display: none !important;
  content: none !important;
}
@media screen and (max-width: 768px) {
  #post h3 {
    font-size: 18px !important;
    margin-top: 32px !important;
  }
}
#post h4 {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
  font-size: 18px !important;
  font-weight: bold !important;
  color: #1a1a1a !important;
  line-height: 1.4 !important;
  padding-bottom: 8px !important;
  margin-top: 32px !important;
  margin-bottom: 16px !important;
  border-bottom: 1px dashed #cccccc !important;
  border-left: none !important;
  letter-spacing: 0.05em !important;
  text-align: left !important;
}
#post h4::before, #post h4::after {
  display: none !important;
  content: none !important;
}
@media screen and (max-width: 768px) {
  #post h4 {
    font-size: 16px !important;
  }
}
#post h5 {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif !important;
  font-size: 16px !important;
  font-weight: bold !important;
  color: #1a1a1a !important;
  line-height: 1.4 !important;
  margin-top: 24px !important;
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  border: none !important;
}
#post h5::before {
  content: "" !important;
  display: inline-block !important;
  width: 6px !important;
  height: 6px !important;
  background-color: #791336 !important;
  margin-right: 8px !important;
  transform: none !important;
  flex-shrink: 0 !important;
}
#post h5::after {
  display: none !important;
  content: none !important;
}
#post strong {
  font-weight: bold;
  background: linear-gradient(transparent 70%, rgba(121, 19, 54, 0.1) 70%);
}
#post em {
  font-style: italic;
}
#post u {
  text-decoration: underline;
  text-underline-offset: 4px;
}
#post s {
  text-decoration: line-through;
  color: #888888;
}
#post ul {
  list-style: none !important;
  padding-left: 20px !important;
  margin-bottom: 24px !important;
}
#post ul li {
  position: relative !important;
  padding-left: 15px !important;
  margin-bottom: 8px !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}
#post ul li:last-child {
  margin-bottom: 0 !important;
}
#post ul li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.65em !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background-color: #791336 !important;
}
#post ol {
  list-style: none !important;
  counter-reset: item !important;
  padding-left: 20px !important;
  margin-bottom: 24px !important;
}
#post ol li {
  position: relative !important;
  padding-left: 24px !important;
  margin-bottom: 8px !important;
  font-size: 15px !important;
  line-height: 1.6 !important;
}
#post ol li:last-child {
  margin-bottom: 0 !important;
}
#post ol li::before {
  counter-increment: item !important;
  content: counter(item) "." !important;
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  font-weight: bold !important;
  color: #791336 !important;
  background: none !important;
  width: auto !important;
  height: auto !important;
}
#post blockquote {
  position: relative;
  padding: 24px !important;
  background-color: #fcfaf7 !important;
  border-left: 4px solid #791336 !important;
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px !important;
}
#post blockquote p:last-child {
  margin-bottom: 0 !important;
}
#post a {
  color: #791336 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  transition: opacity 0.3s, color 0.3s;
}
#post a:hover {
  text-decoration: none !important;
  color: #aa853e !important;
}
#post a[target="_blank"]::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23791336' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/><polyline points='15 3 21 3 21 9'/><line x1='10' y1='14' x2='21' y2='3'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  vertical-align: middle;
}
#post figure, #post .mt-figure {
  max-width: 100%;
  margin-bottom: 24px;
}
#post figure img, #post .mt-figure img {
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
#post figure figcaption, #post .mt-figure figcaption {
  font-size: 13px !important;
  color: #666666 !important;
  margin-top: 8px !important;
  text-align: center !important;
  line-height: 1.5 !important;
}
#post .mt-be-columns {
  gap: 24px;
  margin-bottom: 24px;
}
#post .mt-be-columns .mt-be-column {
  flex: 1;
  min-width: 0;
}
#post .mt-be-columns .mt-be-column p:last-child {
  margin-bottom: 0 !important;
}
@media screen and (max-width: 768px) {
  #post .mt-be-columns {
    flex-direction: column !important;
    gap: 16px;
  }
}
#post table {
  width: 100% !important;
  border-collapse: collapse !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
  margin-bottom: 24px !important;
  overflow-x: auto;
  display: block;
  border: 1px solid #dcd3ca !important;
}
@media screen and (min-width: 769px) {
  #post table {
    display: table !important;
  }
}
#post table tr {
  border-bottom: 1px solid #dcd3ca !important;
}
#post table tr:nth-child(even) {
  background-color: #faf8f6 !important;
}
#post table td, #post table th {
  border: 1px solid #dcd3ca !important;
  padding: 12px 16px !important;
  text-align: left !important;
  vertical-align: middle !important;
  background-color: transparent !important;
}
#post table td p, #post table th p {
  margin-bottom: 0 !important;
}
#post table td p:last-child, #post table th p:last-child {
  margin-bottom: 0 !important;
}
#post table th {
  background-color: #f4eff1 !important;
  font-weight: bold !important;
}
#post hr {
  border: 0 !important;
  height: 1px !important;
  background: radial-gradient(circle, #cccccc 0%, rgba(255, 255, 255, 0) 100%) !important;
  margin: 40px 0 !important;
}
#post iframe {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  height: auto !important;
  border-radius: 8px !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  border: none !important;
}
