main {
  background-color: #e7f6ff;
}

div.blog-content {
  padding: 50px 0px;
  background-color: #fff;
  border-radius: 25px;
  filter: drop-shadow(0px 0px 16px rgba(60, 60, 60, 0.6));
  margin-right: 50px;
}
img {
  image-rendering: auto;
}

.catch {
  margin: 50px auto;
  width: 90%;
}

.catch img {
  width: -webkit-fill-available;
}

.title-box h2.blog-title {
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  padding: 0px 20px;
}

.title-box .media-date {
  font-size: 25px;
  font-weight: bold;
  text-align: center;
}

.blog-container {
  width: 90%;
  margin: 50px auto 100px auto;
}

.blog-container:last-child {
  margin-bottom: 100px;
}

.blog-container h1 {
  border-left: solid 3px #90c2df;
  padding-left: 10px;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
  margin-top: 50px;
}

.blog-container h2 {
  border-left: solid 3px #90c2df;
  padding-left: 10px;
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 30px;
  margin-top: 50px;
}

.blog-container h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 50px;
}

.blog-container h4 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  margin-top: 50px;
}

/* 関連記事 */
.articles-box {
  width: 90%;
  margin: auto;
  margin-bottom: 50px;
  box-sizing: border-box;
}

.articles-box ul {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.articles-box li {
  flex: 1 1 calc(33.333% - 10px);
  box-sizing: border-box;
  padding: 10px;
  min-width: 150px;
  max-width: 240px;
}

.articles-box li a {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.25s;
}

.articles-box li a:hover {
  opacity: 0.5;
}

.articles-box img {
  width: 100%;
  max-height: 128px;
  margin-bottom: 10px;
  border-radius: 5px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
  max-width: 240px;
  object-fit: contain;
}

.articles-box h3 {
  border-left: solid 3px #90c2df;
  padding-left: 10px;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 30px;
}

@media screen and (max-width: 820px) {
  .articles-box li {
    flex: 1 1 calc(50% - 10px);
    padding: 0px;
    max-width: calc(50% - 10px);
    min-width: 30px;
  }
  .articles-box img {
    margin-bottom: 5px;
    max-height: 83px;
  }
}

@media screen and (max-width: 820px) {
  div.blog-content {
    margin-right: 0px;
  }

  .title-box h2.blog-title {
    font-size: 24px;
  }

  .catch {
    margin: 20px auto;
  }

  .blog-container {
    margin-bottom: 30px;
  }

  .blog-container h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .blog-container p {
    font-size: 16px;
  }

  .title-box .media-date {
    font-size: 20px;
  }
  .articles-box img {
    margin-bottom: 0px;
  }
  .articles-box h4 {
    font-size: 12px;
  }
}

/* aタグ */
.blog-content a {
  color: #0073aa;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

.blog-content a:hover {
  color: #005580;
  text-decoration: underline;
}

/* pタグ */
.blog-content p {
  font-size: 16px;
  margin-bottom: 1.5em;
  color: #333;
}

/* hrタグ */
.blog-content hr {
  border: none;
  border-top: 2px solid #ddd;
  margin: 30px 0;
}

/* ul, liタグ */
.blog-content ul {
  list-style-type: disc;
  padding-left: 40px;
  margin-bottom: 1.5em;
}

.blog-content ol {
  list-style-type: decimal;
  padding-left: 40px;
  margin-bottom: 1.5em;
}

.blog-container ol li {
  margin-bottom: 10px;
}

.blog-content ul li {
  margin-bottom: 10px;
}

/* tableタグ */
.blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
  background-color: #fff;
}

.blog-content table th,
.blog-content table td {
  border: 1px solid #ccc;
  padding: 10px;
  text-align: left;
}

.blog-content table th {
  background-color: #f7f7f7;
  font-weight: bold;
}

.articles-list li {
  list-style: none;
}

/* 太字（strongタグ） */
.blog-content strong {
  font-weight: bold;
  color: #222;
  padding: 2px 4px;
  border-radius: 3px;
}
