@charset "utf-8";

@media screen and (min-width: 750px) {
  .left-column {
    float:left;
    width: 690px;
    padding-right: 10px;
  }
  .right-column {
    float:left;
    width: 200px;
  }
}

article .article-title {
  text-decoration: underline;
  font-style: italic;
}

article h3 {
  font-style: italic;
  border-bottom: 1px solid #cccccc;
  margin-top: 40px;
}

article p {
  line-height: 1.6;
}

article span.pre {
  border: 1px solid gray;
  border-radius: 3px;
  background-color: #f8f8f8;
  font-family: monospace;
  padding: 0px 4px;
  margin: 0px 3px;
}

article pre {
  border: 1px solid gray;
  background-color: #eeeeee;
  padding: 5px;
  white-space:pre;
  overflow:auto;
}
article figure {
  margin: 0px;
  text-align: center;
}
article figure img {
  box-shadow: 3px 3px 5px rgba(0,0,0,0.3);
}

article .image-list {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
}
article .image-list figure {
  text-align: center;
}

article hr {
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 1px dashed #bbbbbb;
}

article .top-margin-medium {
  margin-top: 40px;
}

article table {
  border-collapse:collapse;
  border: 2px solid #333;
  margin: 20px auto;
}
article table th {
  padding: 12px;
  border: 1px solid #aaaaaa;
  background-color: #f0f0f0;
}
article table td {
  padding: 10px;
  border: 1px solid #aaaaaa;
}

article blockquote {
  border: 2px dotted gray;
  padding: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.article-item {
  border-bottom: 1px dotted black;
}
.article-item .article-title {
  font-size: 120%;
}

.right-column p {
  line-height: 150%
}
.right-column ul {
  list-style-type: none;
  margin-left: 0px;
  padding-left: 0px;
}
.right-column li {
  margin-bottom: 5px;
}

.right-column p.head {
  font-weight: bold;
  border-bottom: 1px dashed gray;
}

.archive-year-btn {
  cursor: pointer;
}
.archive-year-btn::before {
  content: "▼";
  color: gray;
}
.archive-year-btn.closed::before {
  content: "▶";
}
ul.archive-month-list {
  margin-left: 20px;
  margin-top: 5px;
}
.archive-year-btn.closed ~ ul.archive-month-list {
  display: none;
}

.article-ad {
  border: 2px dotted gray;
  background-color: #eeeeee;
  padding: 10px;
  margin-top: 40px;
}

/* 関連記事 */
.related-articles {
  border-left: 4px solid #4CAF50;
  background-color: #f9f9f9;
  padding: 15px;
  margin: 30px 0;
  border-radius: 3px;
}

.related-articles .section-title {
  font-weight: bold;
  color: #333;
  margin: 0 0 10px 0;
  font-size: 16px;
}

.related-articles p {
  margin: 5px 0;
}

.related-articles ul {
  list-style: none;
  padding: 0;
  margin: 10px 0;
}

.related-articles li {
  margin-bottom: 15px;
  padding: 10px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  background-color: white;
}

.related-articles li:last-child {
  margin-bottom: 0;
}

.related-articles a {
  font-weight: bold;
  color: #2196F3;
  text-decoration: none;
}

.related-articles a:hover {
  text-decoration: underline;
}

/* タグクラウド */
.right-column .tag-cloud p:has(a) {
  line-height: 1.6;
  word-spacing: 2px;
}

.right-column .tag-cloud a {
  display: inline-block;
  background: #f0f8ff;
  color: #2c5aa0;
  padding: 3px 6px;
  margin: 2px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  border: 1px solid #d4e8fc;
  transition: all 0.2s ease;
  white-space: nowrap;
  vertical-align: top;
}

.right-column .tag-cloud a:hover {
  background: #2c5aa0;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(44, 90, 160, 0.3);
}
