@charset "UTF-8";
/*
Theme Name: SampleTheme
Author: SampleUser
Author URI: http://XXX.com
Description: サンプルのテーマ
Version: 1.0
*/
/* WordPress Native Styles */
/* editor */
#news-post {
  margin-top: 0;
}

#news-post p {
  display: block;
  font-size: 16px;
  line-height: 34px;
  font-weight: 500;
  width: calc(100% - 80px);
  margin: 15px auto 0;
  text-align: justify;
  text-justify: inter-ideograph;
}
#news-post p + img {
  margin-top: 60px;
}

#news-post ul {
  width: calc(100% - 80px);
  margin-left: auto;
  margin-right: auto;
}

#news-post img {
  display: block;
  max-width: 100%;
  border-radius: 15px;
  border: 1px solid #23af53;
  height: auto !important;
}

#news-post strong {
  font-weight: bold;
}

#news-post em {
  font-style: italic;
}

#news-post h1,
#news-post h2,
#news-post h3,
#news-post h4,
#news-post h5,
#news-post h6 {
  width: calc(100% - 80px);
  margin: 50px auto 0;
  font-size: 20px;
  font-weight: bold;
  line-height: 150%;
}
#news-post h1 + img,
#news-post h2 + img,
#news-post h3 + img,
#news-post h4 + img,
#news-post h5 + img,
#news-post h6 + img {
  margin-top: 60px;
}

#news-post h1 {
  padding: 10px 20px 10px 20px;
  border-left: 4px solid #fff;
  position: relative;
  background-color: #23af53;
  color: #fff;
  border-left: 5px solid #000;
}

#news-post h2 {
  padding: 0 0 10px;
  border-bottom: 2px solid #23af53;
  position: relative;
}
#news-post h2::after {
  content: "";
  width: 100px;
  height: 2px;
  display: block;
  background-color: #000;
  position: absolute;
  bottom: -2px;
  left: 0;
  z-index: 10;
}

#news-post h3 {
  font-size: 18px;
  padding: 10px 20px 10px 20px;
  background-color: #ebebeb;
  border-bottom: 1px solid #23af53;
}

#news-post h4,
#news-post h5,
#news-post h6 {
  margin-top: 30px;
  font-size: 16px;
  padding: 0 0 10px 20px;
  border-bottom: 1px solid #23af53;
  position: relative;
}
#news-post h4::before,
#news-post h5::before,
#news-post h6::before {
  content: "";
  display: block;
  width: 16px;
  height: 16px;
  background-color: #23af53;
  border-radius: 16px;
  position: absolute;
  top: 5px;
  left: 0;
}

#news-post pre {
  display: block;
  padding: 0.6em;
  margin: 0 0 0.8em;
  font-size: 0.8em;
  line-height: 1.4;
  color: #333;
  word-break: break-all;
  word-wrap: break-word;
  background-color: #f5f5f5;
  border: 1px solid #ccc;
  border-radius: 4px;
  white-space: pre-wrap;
}

#news-post pre code {
  padding: 0;
  font-size: inherit;
  color: inherit;
  white-space: pre-wrap;
  background-color: transparent;
  border-radius: 0;
}

#news-post del {
  text-decoration: line-through;
}

#news-post blockquote {
  display: inline-block;
  padding: 1em;
  position: relative;
}

#news-post blockquote::before {
  content: '"';
  position: absolute;
  left: 0;
  top: 0;
}

#news-post blockquote::after {
  content: '"';
  position: absolute;
  right: 0;
  bottom: 0;
}

#news-post ul {
  list-style: disc;
  padding: 0 0 0 1.5em;
}

#news-post ol {
  list-style: decimal;
  padding: 0 0 0 1.5em;
}

#news-post .wp-caption {
  max-width: 100%;
  border: 1px solid #ddd;
  text-align: left;
  background-color: #f3f3f3;
  padding: 5px;
  border-radius: 3px;
}

#news-post .wp-caption img {
  margin: 0;
  padding: 0;
  border: 0 none;
}

#news-post .wp-caption p.wp-caption-text {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  padding: 0;
}

#news-post .aligncenter {
  display: block;
  margin: 0 auto;
}

#news-post .alignright {
  float: right;
  margin: 0 0 10px 20px;
}

#news-post .alignleft {
  float: left;
  margin: 0 20px 10px 0;
}

#news-post img[class*=wp-image-],
#news-post img[class*=attachment-] {
  height: auto;
  max-width: 100%;
}

@media screen and (max-width: 860px) {
  #news-post p {
    display: block;
    font-size: 14px;
    line-height: 190%;
    font-weight: 500;
    width: 100%;
    margin: 15px 0 !important;
    padding-left: 0 !important;
  }
  #news-post p + img {
    margin-top: 35px;
  }
  #news-post p + h1, #news-post p + h2, #news-post p + h3, #news-post p + h4, #news-post p + h5, #news-post p + h6 {
    margin-top: 30px;
  }
  #news-post ul {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  #news-post img {
    display: block;
    max-width: 100%;
    width: 100% !important;
    margin-left: 0 !important;
  }
  #news-post strong {
    font-weight: bold;
  }
  #news-post em {
    font-style: italic;
  }
  #news-post h1,
  #news-post h2,
  #news-post h3,
  #news-post h4,
  #news-post h5,
  #news-post h6 {
    width: 100%;
    font-size: 18px;
    font-weight: bold;
    padding-top: 30px;
    margin-top: 30px;
  }
  #news-post h1 + img,
  #news-post h2 + img,
  #news-post h3 + img,
  #news-post h4 + img,
  #news-post h5 + img,
  #news-post h6 + img {
    margin-top: 40px;
  }
  #news-post h1 {
    padding: 10px 15px 10px 15px;
    border-left: 3px solid #fff;
    position: relative;
    background-color: #23af53;
    color: #fff;
    border-left: 5px solid #000;
  }
  #news-post h2 {
    padding: 0 0 10px;
    border-bottom: 2px solid #23af53;
    position: relative;
  }
  #news-post h2::after {
    content: "";
    width: 100px;
    height: 2px;
    display: block;
    background-color: #000;
    position: absolute;
    bottom: -2px;
    left: 0;
    z-index: 10;
  }
  #news-post h3 {
    font-size: 16px;
    padding: 10px 20px 10px 20px;
    background-color: #ebebeb;
    border-bottom: 1px solid #23af53;
  }
  #news-post h4,
  #news-post h5,
  #news-post h6 {
    margin-top: 20px;
    font-size: 14px;
    padding: 0 0 7px 18px;
    border-bottom: 1px solid #23af53;
    position: relative;
  }
  #news-post h4::before,
  #news-post h5::before,
  #news-post h6::before {
    content: "";
    display: block;
    width: 14px;
    height: 14px;
    background-color: #23af53;
    border-radius: 16px;
    position: absolute;
    top: 3.5px;
    left: 0;
  }
  #news-post img.alignleft,
  #news-post .wp-caption.alignleft {
    float: none;
  }
  #news-post img.alignright,
  #news-post .wp-caption.alignright {
    float: none;
  }
}
#news-post .clearfix {
  overflow: hidden;
  zoom: 1;
}

#news-post .clearfix:after {
  content: "";
  display: block;
  clear: both;
}