.main-content {
  font-size: 0.875rem;
}
.main-content img {
  margin-bottom: 20px;
  max-width: 100%;
}

.main-content h1, h2, h3 ,h4, h5, h6 {
  position: relative;
  color: rgb(51, 51, 51);
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 1.8;
  font-style: normal;
  letter-spacing: 0.05em;
  margin: 2em 0 1em;
  font-weight: 600;
}

.main-content h1 {
  font-size: 1.6rem;
  font-weight: bold;
  margin-top: 0;
}

.main-content h2 {
  font-size: 1.35rem;
  padding-bottom: 15px;

  position: relative;
  font-weight: bold;
}


.main-content h2:before {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 3px;
  display: block;
  content: "";
  background: #333;
  background: linear-gradient(
    90deg, 
    rgb(49 165 206) 0% 3%, 
    rgb(38 113 169) 5% 7%, 
    rgb(104 52 124) 9% 11%, 
    rgb(228 34 33) 13% 15%, 
    rgb(236 122 42) 17% 19%, 
    rgb(244 186 44) 21% 23%, 
    rgba(201, 201, 201, 1) 25% 97%, 
    rgba(0, 0, 0, 0) 97% 97.5%, 
    rgb(247 189 43) 97.5% 98%, 
    rgba(0, 0, 0, 0) 98% 98.5%, 
    rgb(169 181 64) 98.5% 99%, 
    rgba(0, 0, 0, 0) 99% 99.5%, 
    rgb(124 180 65) 99.5% 100%
  );
} 

.main-content h3 {
  font-size: 1.25rem;

  padding-bottom: 5px;
  border-bottom: 1px solid #999;
}

/*.main-content h3:after {
  position: absolute;
  bottom: -1px;
  right: 0;
  width: 1em;
  height: 1px;
  display: block;
  content: "";
  background: #333;
  transform-origin: right bottom;
  transform: rotate(30deg);
}*/

.main-content h4 {
  font-size: 1.2rem;
  padding: 2px 0 3px 10px;
  line-height: 1;
  border-left: 3px solid #999;
}

.main-content h5 {
  font-size: 1.1rem;
}

.main-content h6 {
  font-size: 1rem;
}

.main-content p {
  color: rgb(68, 68, 68);
  line-height: 180%;
  font-weight: 300;
  text-align: justify;
  margin-bottom: 20px;
}
/*
.main-content a {
  text-decoration: none;
  font-weight: 400;
  text-underline-offset: 7px;
  color: rgb(38 112 168);
  display: inline-block;
  position: relative;
  transform: 0.3s;
}
.main-content a:hover {
  color: rgb(168, 38, 38);
  text-decoration: none;
}
.main-content a::after{
  content: '';
  display: block;
  height: 1px;
  width: 80%;
  background: rgb(38 112 168);
  position: absolute;
  bottom: 0;
  left: 0;
  transform: scale(0, 1);
  transition: .3s;
  width: 100%;
  padding-bottom: 0;
  bottom: -5px;
}
*/

.main-content a {
  color: rgb(38 112 168);
  font-weight: 400;
  text-decoration: none;
  background: linear-gradient(90deg, rgba(0,0,0,1) 0% 50%, rgba(51,51,51,0) 50% 100%);
  background-position: 100% 50%;
  background-size: 200% 100%;
  position: relative;
  overflow: hidden;
  transition: 0.3s;
}
.main-content a:hover {
  background-position: 0 50%;
  color: white
}

.main-content a:hover::after{
/*  transform: scale(1, 1);*/
}
.main-content strong,
.main-content b {
  font-weight: 600;
  color: #333333;
}

.main-content em,
.main-content i {
  font-style: italic;
  color: #555555;
  font-weight: 400;
}
.main-content blockquote {
  margin: 1em 0;
  padding: 1em;
  border-left: 4px solid #aaa;
  background: #f9f9f9;
  color: #666;
  font-style: italic;
}

.main-content code {
  background: #f5f5f5;
  padding: 0.2em 0.4em;
  font-family: "Courier New", monospace;
  border-radius: 3px;
  color: #c7254e;
}

.main-content pre {
  background: #f5f5f5;
  padding: 1em;
  color: #333;
  margin-bottom: 20px;
  white-space: pre;
  word-wrap: break-word;
  overflow-x: auto;
}

.main-content table {
  max-width: 100%;
  border-collapse: collapse;
  margin-bottom: 1em;
}
.main-content table td, 
.main-content table th {
  text-align: left;
}

.wp-block-table {
  white-space: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: calc(100vw - 40px);
}

.main-content th,.main-content td {
  border: 1px solid #999;
  padding: 8px 12px;
  text-align: center;
  white-space: nowrap;
}

.main-content th {
  background: #666;
  color: white;
  font-weight: inherit
}

.main-content .container {
  max-width: 800px;
}

.main-content ul {
  margin-left: 0.5em;
  margin-bottom: 30px;
  padding-left: 1em;
  list-style-type: disc;
  color: rgb(68, 68, 68);
  line-height: 180%;
  font-weight: 300;
  text-align: justify;
}

.main-content ol {
  margin-left: 0.5em;
  margin-bottom: 30px;
  padding-left: 1em;
  list-style-type: decimal;
  color: rgb(68, 68, 68);
  line-height: 180%;
  font-weight: 300;
  text-align: justify;
}

.main-content ul li,
.main-content ol li {
  margin-bottom: 10px;
  font-weight: 500;
}

.main-content ol li::marker {
  font-weight: 500;
  color: #333;
}



.main-content dl{
  display:flex;
  justify-content: flex-start;
  border-bottom: 1px solid #ccc;
}
.main-content dl dt {
  width: 200px;
  padding: 5px;
  text-align: center;
}
.main-content dl dd {
  padding: 5px;
  width: calc(100% - 200px / 2);
  border-left: 1px solid #ccc;
  text-align: center;
}
.main-content dl:nth-child(even){
  background: #f2f2f2;
}
.main-content dl:first-child{
  border-top: 1px solid #ccc;
}

.main-content hr {
  border: none;
  border-top: 1px solid #ccc;
  margin: 1em 0;
}