/*
 * エディタ編集コンテンツ用の調整CSS （100周年）
#f28c8e 高校
#2e4e99　学園
#009694　中学
#003A8D　100周年
*/

.single_body p {
line-height:1.5;
margin-bottom:2em;
}



.single_body h2 {
padding:0 .4em .2em;
border-bottom: 3px solid #003A8D;
background-color: #ffffff;
}


.single_body h3 {
padding: .2em .5em;
border-left: 5px solid #003A8D;
}


.single_body h4 {
    display: flex;
    align-items: center;
    padding: .5em .7em;
    background-color: #f2f2f2;
    color: #333333;
}

.single_body h4::before {
    display: inline-block;
    width: 5px;
    height: 1.5em;
    margin-right: .5em;
    background-color: #003A8D;
    content: '';
}

/* リスト（・）------------------------------------------ */

.single_body ul {
    list-style-type: disc;
}

.single_body ul li {
    padding: .3em .3em .3em 0;
}

.single_body ul li::marker {
    color: #003A8D;
    font-size: 1.1em;
}


/* リスト（数字）--------------------------------------- */

.single_body ol {
    counter-reset: li;
}

.single_body ol li {
    display: flex;
    align-items: center;
    padding: .3em;
}

.single_body ol li::before {
    display: inline-block;
    min-width: 1.7em;
    margin-right: 5px;
    border-radius: 50%;
    background-color: #003A8D;
    color: #fff;
    font-weight: bold;
    font-size: .75em;
    line-height: 1.7em;
    text-align: center;
    content: counter(li);
    counter-increment: li;
}


/* テーブル------------------------------------------ */
.single_body td,th { border-width: 1px; padding: 0.75rem; }


/* お知らせの添付ファイル見出し-----------------------
上記見出し③を使用

お知らせの添付ファイル-----------------------------
<button class="dl_button">テキスト</button> */
.dl_button {
  border: none;
  padding: 0 20px;
  height: 40px;
  line-height: 1;
  background: #e0ecf9;
  color: #fff;
  border: 2px solid #003A8D;
  font-size: 1em;
  border-radius: 5px;
  cursor: pointer;
}
.dl_button:before{
  content: "";
  display: inline-block;
  background: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 256 256"><path fill="%232e4e99" d="M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"></path></svg>') no-repeat center center;
  background-size: 2rem 1.75rem;
  width: 2rem;
  height: 1.75rem;
  margin-right: 5px;
}
/*
.dl_button:before{
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  font-family: "Font Awesome 5 Free"; 
  font-weight: 400;
  content: '\f56d';
  margin-right: 5px;
}
*/

/* メインイメージ------------------------------------------ */
.single_body .post .eyecatch.double {
  display: flex;
}
.single_body .post .eyecatch.double figure {
  width: 50%;
}
#archive_single .single_body .post .eyecatch.double figure img {
  object-fit: cover;
  height: 100% !important;
}


/* 添付ファイル------------------------------------------ */
.single_body .post .other_title {
  margin-top: 4rem;
}
.single_body .post .files {
  padding: 2rem;
  background-color: #EFEFEF;
}
.single_body .post .files a {
  position: relative;
  display: inline-block;
  padding: 0.5rem 1rem 0.5rem 4rem;
  margin-bottom: 1.25rem;
  text-decoration: none !important;
  border: solid 1px #555;
  border-radius: 0.25rem;
}
.single_body .post .files a:last-child {
  margin-bottom: 0;
}

.single_body .post .files a:before{
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  content: "";
  display: inline-block;
  background: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 256 256"><path fill="%23000000" d="M224,144v64a8,8,0,0,1-8,8H40a8,8,0,0,1-8-8V144a8,8,0,0,1,16,0v56H208V144a8,8,0,0,1,16,0Zm-101.66,5.66a8,8,0,0,0,11.32,0l40-40a8,8,0,0,0-11.32-11.32L136,124.69V32a8,8,0,0,0-16,0v92.69L93.66,98.34a8,8,0,0,0-11.32,11.32Z"></path></svg>') no-repeat center center;
  background-size: 2.5rem 2rem;
  width: 2rem;
  height: 1.5rem;
}
.single_body .post .files a small {
  font-size: 1.25rem;
  vertical-align: baseline;
}

@media screen and (max-width: 767px){
  .single_body .post .files a {
    width: 100%;
  }
}

@media screen and (min-width: 768px){
  .single_body .post .files a {
    margin-right: 1.5rem;
  }
  .single_body .post .files a:last-child {
    margin-bottom: 1.25rem;
  }
  .single_body .post .files a:before{
    top: 0.75rem;
  }
}


/* 画像幅の調整 */
#archive_single .single_body .post .wp-caption {
  width: 100% !important;
}

@media screen and (max-width: 767px){
  #archive_single .single_body .post img {
    width: 100%;
  }
}
#archive_single .single_body .post .wp-caption.alignleft::before,
#archive_single .single_body .post .wp-caption.alignleft::after,
#archive_single .single_body .post .wp-caption.aligncenter::before,
#archive_single .single_body .post .wp-caption.aligncenter::after,
#archive_single .single_body .post .wp-caption.alignright::before,
#archive_single .single_body .post .wp-caption.alignright::after {
  content:"";
  display:table
}
#archive_single .single_body .post .wp-caption.alignleft::after,
#archive_single .single_body .post .wp-caption.aligncenter::after,
#archive_single .single_body .post .wp-caption.alignright::after {
  clear: both;
}
#archive_single .single_body .post .wp-caption.alignleft img {
  float: left;
  margin: 5px 16px 0 0;
  /* margin: 0.3125rem 1rem 0 0; */
}
#archive_single .single_body .post .wp-caption.aligncenter img {
  display: block;
  margin-left: auto;
  margin-right: auto;}
#archive_single .single_body .post .wp-caption.alignright img {
  float:right;
  margin:5px 0 0 10px;
  /* margin:0.3125rem 0 0 0.625rem; */
}

