@charset "utf-8";
/* 「すぐ使えるCMS」記事ページテンプレート CSS */
/* Sugutsukaeru CMS Article pages CSS (Please see the admin CSS file for English explanation) */
/*
■スタイルの分類

「すぐ使えるCMS」の記事ページで使っているスタイル定義は、以下の2つに分類できます。

A. Pure
pure-* というクラス名のスタイル定義は、フレームワーク pure を使用しているものです。レスポンシブWebの仕組みの実装に利用しています。
Pure のレスポンシブWebデザインの設定の仕組みについては、管理画面側のCSSファイル内にコメントで説明があります。

B. 「すぐ使えるCMS」で定義したスタイル
sugu-* というクラス名のスタイル定義は、「すぐ使えるCMS」で定義し表示調整に使用しています。

これらのスタイルは不要であれば削除、変更して使って下さい。

*/
/* 
■フレームワーク pure をベースにした、表示調整のためのスタイル  Pure-based layout adjustment */
.pure-g > div {
  /* マージンまで含んだ幅がボックスのサイズ */
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
/* 
■背景色と基本の枠組み  Background and container */
body,.pure-g [class *="pure-u"]{
    font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", Meiryo, "メイリオ", sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 2;
    letter-spacing: .05rem;
    color: #1c1c1c;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}
/* ページ全体の枠 */
.sugu-window {
  width: min(78%,1800px);
  margin: 0 auto;
}
.sugu-container{
    width: 76%;
    margin: 0 0 0 auto;
}
/* 
■右寄せ・左寄せ・中央  Alignment and Centering */
.sugu-clearfix:before,
.sugu-clearfix:after {
  content: " ";
  display: table;
}
.sugu-clearfix:after {
  clear: both;
}
.sugu-center-block {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.sugu-pull-right {
  float: right;
}
.sugu-pull-left {
  float: left;
}
.sugu-text-center {
  text-align: center;
}
.sugu-text-right {
  text-align: right;
}
/* 
■ページネーション  Pagination */
/* （※管理画面と同じクラス名ですが、定義が異なります） */
ul.sugu-pagination {
  margin: 1em 0;
  padding: 0;
}
ul.sugu-pagination li {
  list-style: none;
  display: inline-block;
  min-height: 0.8;
}
ul.sugu-pagination li a {
  padding: 4px 10px 4px 10px;
  vertical-align: middle;
  border: #cbcbcb 1px solid;
  margin-left: -1px;
  text-decoration: none;
  color: gray;
}
ul.sugu-pagination li a:active,
ul.sugu-pagination li a:hover {
  background-color: #dfdfdf;
  color: black;
}
ul.sugu-pagination li:first-child a {
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
}
ul.sugu-pagination li:last-child a {
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}
ul.sugu-pagination .sugu-active a,
ul.sugu-pagination .pagethis a {
  font-weight: bold;
  color: black;
}
/* 
■前後リンク  Pager link */
ul.sugu-pager {
  margin: 2em 0 0.3em 0;
  padding: 0;
  height: 3em;
}
ul.sugu-pager li {
  list-style: none;
  display: inline-block;
}
ul.sugu-pager li a {
  padding: 0.4em 1em;
  vertical-align: middle;
  height: 2em;
  border: #cbcbcb 1px solid;
  border-radius: 1.2em;
  /* height + padding の 50% */
  text-decoration: none;
  color: gray;
}
ul.sugu-pager li a:active,
ul.sugu-pager li a:hover {
}
/* 
■全一覧のスタイル  Article list classes */
.sugu-article-list .sugu-entry{
    border-bottom: #E4DEE8 solid 1px;
    width: 100%;
    position: relative;
}
.sugu-article-list .sugu-entry::before{
    content: '';
    position: absolute;
    right: 0;
    bottom: -1px;
    background: #E4DEE8;
    height: 12px;
    width: 12px;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.sugu-article-list .sugu-entry a{
    width: 100%;
    display: block;
    padding: 3rem;
    transition: 0.35s;
}
.sugu-article-list .sugu-entry a:hover{
    opacity: 0.6;
}
.sugu-article-list .sugu-entry:first-child {
  border-top: #E4DEE8 solid 1px;
}
.sugu-article-list .sugu-entry .sugu-entry-left{
    width: 100%;
    display: flex;
    align-items: center;
}
.sugu-article-list .sugu-entry .sugu-entry-left .date{
    line-height: 1;
    font-size: 13px;
    display: inline-block;
    width: 15%;
}
.sugu-article-list .sugu-entry .sugu-entry-left h3{
    width: 85%;
    font-size: 16px;
    line-height: 1.7;
}
.article_list .sugu-pager{
    margin-top: 5rem;
    display: flex;
    justify-content: flex-end;
    gap: 20px;
}
.article_list .sugu-pager a{
    transition: 0.35s ease;
    font-size: 14px;
    border-bottom: solid 1px #313131;
    padding-bottom: 2px;
}
.article_list .sugu-pager a:hover{
    opacity: 0.6;
}
.sugu-article-list .sugu-entry h3,
.sugu-article-list .sugu-entry h2 {
  margin-top: 0;
  line-height: 1em;
  font-weight: normal;
}
.sugu-article-list .sugu-entry p {
  margin: 0.8em auto;
}
.sugu-article-list .sugu-entry p:last-child {
  margin-bottom: 0;
}
/* 
■短い一覧のスタイル  Short list classes */
/* 罫線 */
ul.sugu-ruled-list {
  list-style: none outside none;
  padding-left: 0;
  margin-top: 0;
  margin-left: 0;
}
.sugu-ruled-list li {
  border-bottom: #dfdfdf solid 1px;
  /* 太さ、線種、色 */
  padding: 0.3em 0.5em;
}
.sugu-ruled-list li:first-child {
  border-top: #dfdfdf solid 1px;
  /* 太さ、線種、色 */
}
/* 文字色・スタイル */
.sugu-listdate {
  color: gray;
  padding-right: 1em;
}
.sugu-listlink a,
.sugu-listlink a:link {
  color: #389ABE;
  text-decoration: none;
}
.sugu-listlink a:hover,
.sugu-listlink a:active {
  text-decoration: underline;
}
.sugu-listlink a:visited {
  color: #9A38BE;
}
/* 文字色・スタイル ここまで */
/* マウスオーバーでの背景色の設定 ここから */
.sugu-interactive-list li:hover {
  background-color: #f0f0f0;
}
/* マウスオーバーで背景色を変更する時は、リンク文字の変更を止めておく
   （この措置が不要なら設定を削除して下さい。） */
.sugu-interactive-list .sugu-listlink a:hover,
.sugu-interactive-list .sugu-listlink a:active {
  text-decoration: none;
}
/* マウスオーバーでの背景色の設定 ここまで */
/* 
■記事ページ設定  Article page classes */
.wrapper.article .article_title{
    border-top: solid 1px #E4DEE8;
    border-bottom: solid 1px #E4DEE8;
    padding: 3.5rem;
}
/* 記事部分 */
.wrapper.article .article_date{
    font-size: 14px;
    padding-bottom: 10px;
    line-height: 1.6;
}
.wrapper.article h3{
    font-size: 20px;
    line-height: 1.7;
}
.sugu-article .sugu-article-left {
    width: 100%;
    padding: 0 3rem 7rem;
    border-bottom: solid 1px #E4DEE8;
}
.sugu-article .sugu-article-right {
    width: 100%;
}
.article_img_wrap{
    margin-top: 5rem;
}
.article_img_flex{
    display: flex;
    flex-wrap: wrap;
    gap: 2%;
}
.article_img_flex>div{
    width: calc(25% - 1.5%);
    max-height: 180px;
    padding-top: 2rem;
}
.article_img_flex>div a {
    display: block;
    overflow: hidden;
    width: 100%;
    height: 100%;
}
.sugu-article img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
}
.article_main_text{
    font-size: 16px;
    padding-top: 3rem;
}
.article_main_text p{
    padding-bottom: 15px;
}
.article_main_text p a{
    border-bottom: solid 1px #313131;
    padding-bottom: 1px;
    transition: 0.3s ease;
}
.article_main_text p a:hover{
    opacity: 0.7;
}
/* 記事ページのフッタリンク調整 */
.sugu-page-link {
  margin: 2em 0;
}
.sugu-page-link a {
  margin-right: 0.8em;
  margin-bottom: 0.8em;
}
.button_to_index{
    padding-top: 4rem;
}
.sugu-t-to_index{
    display: block;
    font-size: 15px;
    line-height: 1;
    padding: 20px 25px;
    border: solid 1px #E4DEE8;
    border-radius: 8px;
    width: 240px;
    position: relative;
    transition: 0.35s ease;
    margin: 0 auto;
    background: #fff;
    text-align: left;
}
.sugu-t-to_index:hover{
    background: rgba(228,222,232,0.8);
}
.sugu-t-to_index>span:first-child {
    display: inline-block;
    padding-right: 50px;
}
.sugu-t-to_index .arrow {
    width: 18px;
    height: 8px;
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 25px;
}
.sugu-t-to_index .arrow span{
    overflow: hidden;
    width: 18px;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    transition: 0.35s ease;
}
.sugu-t-to_index:hover .arrow span{
    width: 28px;
}
.sugu-t-to_index .arrow img{
    position: absolute;
    width: 32px;
    height: auto;
    top: 0;
    right: 0;
}
/* 
■ファイル一覧の形式（ul） Files */
.sugu-file-list {
  list-style-position: outside;
    padding-top: 10px;
}
.sugu-file-list li {
  line-height: 1.4;
    margin-bottom: 10px;
}
/* ファイルをアップロードしたときのアイコン表示  Icons for uploaded files */
.filelink {
    display: inline-block;
    color: #222;
    padding: 15px 20px 15px 40px;
    background-repeat: no-repeat;
    background-position: 10px 50%;
    background-image: url(../../icons/general.gif);
    letter-spacing: 0.05em;
    box-sizing: border-box;
    background-color: #F6F4F7;
    border-radius: 4px;
    transition: opacity .4s;
}
.filelink:hover{
    opacity: .7;
}
.doc {
  background-image: url(../../icons/word.svg);
  background-size: 20px;
}
.pdf {
  background-image: url(../../icons/pdf.svg);
  background-size: 20px;
}
.ppt {
  background-image: url(../../icons/ppt.gif);
}
.img {
  background-image: url(../../icons/img.svg);
  background-size: 20px;
}
.txt {
  background-image: url(../../icons/txt.gif);
}
.xls {
  background-image: url("../../icons/xlsx.svg");
    background-size: 20px;
}
.zip {
  background-image: url("../../icons/zip.svg");
    background-size: 20px;
}
.pankuzu.article .inner{
    display: flex;
    align-items: center;
}
.pankuzu.article .current{
    font-size: 12px;
    display: inline-block;
    max-width: 220px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
}
h1{
    margin: 0;
}


@media print, screen and (max-width: 1200px){
    .sugu-container{
        width: 100%;
    }
}


@media print, screen and (max-width: 760px){
    .sugu-window{
        width: 100%;
        padding: 0 6rem;
    }
    .wrapper.article .article_title{
        padding: 6rem 0;
    }
    .wrapper.article h3{
        font-size: 18px;
    }
    .sugu-article .sugu-article-left{
        padding: 0 0 10rem;
    }
    .article_img_wrap{
        margin-top: 6rem;
    }
    .article_main_text{
        padding-top: 5rem;
    }
    .sugu-article-list .sugu-entry a{
        padding: 6rem 0;
    }
    .sugu-article-list .sugu-entry .sugu-entry-left{
        display: block;
    }
    .sugu-article-list .sugu-entry .sugu-entry-left .date{
        display: block;
        width: 100%;
        padding-bottom: 10px;
        font-size: 14px;
    }
    .sugu-article-list .sugu-entry .sugu-entry-left h3{
        width: 100%;
        font-size: 15px;
    }
    .article_list .sugu-pager{
        margin-top: 8rem;
        gap: 15px;
    }    
    
}