@charset "utf-8";


/*
theme Name: WordPressレスポンシブテーマ作成byPlusers
Author: Plusers
Description: original theme
version： 2.0.0
*/
/*cssのリセット*/
html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p,
blockquote, pre, abbr, address, cite, code, del, dfn, em, img,
ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd,
ol, ul, li, fieldset, form, label, legend, table, caption,
tbody, tfoot, thead, tr, th, td, article, aside, canvas, details,
figcaption, figure, footer, header, hgroup, menu, nav, section,
summary, time, mark, audio, video {
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  outline: 0;
  background: transparent;
}

body {
  line-height: 1;
  background-color:#f5f5f5;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

nav ul {
  list-style: none;
  height: 100%;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

a {
  font-size: 100%;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  background: transparent;
}

ins {
  text-decoration: none;
  color: #000;
  background-color: #ff9;
}

mark {
  font-weight: bold;
  font-style: italic;
  color: #000;
  background-color: #ff9;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  cursor: help;
  border-bottom: 1px dotted;
}

table {
  border-spacing: 0;
  border-collapse: collapse;
}

hr {
  display: block;
  height: 1px;
  margin: 1em 0;
  padding: 0;
  border: 0;
  border-top: 1px solid #ccc;
}

/*サイト全体の基準となるCSSを記述*/
html {
  font-size: 16px;
}

body {
  /*フォントの指定*/
  font-family: 'メイリオ', 'Meiryo', 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'Noto Sans Japanese', Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
  /*行間の指定*/
  line-height: 1.4;
  margin: 0;
  padding: 0;
  /*サイトのデフォルトとなる文字の色を指定*/
  color: #333;
  /*safariの文字調整機能を無効にする。*/
  -webkit-text-size-adjust: 100%;
}

/*見出しを全て太字で表示 + 文字色を黒に*/
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  color: #000;
}

/*
img {
  max-width: 100%;
  height: auto;
}
*/
title{
  display: block !important;
}

.footer-inner {
  box-sizing: border-box;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding: 1.25rem;
}

.container {
  padding: 2rem 0;
  max-width: 1200px;
  margin: auto;
  /*サイドバーのメニュー固定のために実装*/
  display: flex;
}

.container:after {
  display: block;
  clear: both;
  content: '';
}

.contents {
  float: left;
  width: 70%;
  margin: 0 0.4rem;
  /*flex-wrap: wrap;はみ出す場合は２段にする。article-contentsを足して横並び不要になったため削除*/
  /*display: flex;子要素のdivを横並びにする。article-contentsを足して横並び不要になったため削除*/
}
/*------------------------------------------------------
記事
------------------------------------------------------*/
.article-container{
  flex-wrap: wrap;/*はみ出す場合は２段にする。*/
  display: flex;/*子要素のdivを横並びにする*/
  max-width: 700px;
  margin: auto;
  background-color: white;
  border-radius: 15px;
}
.article-container title{
  border-radius: 15px;
  background-color: white;
  width: 100%;
  font-size: x-large;
  font-weight: 600;
  color: gray;
}
.article-container .title-wrapper{
  margin: auto;
  margin-top: 1rem;
}
.article-wrapper{
  display: flex;
  margin: 1em 0;
}
.article-link-prev {
  width: 50%;
}
.article-link-next{
  width: 50%;
  text-align: end;
}

/*---------------------------パンクズリストを表示-------------------*/
.pann-list{
  width: 100%;
  margin-left: 1rem;
  margin-top: 1.1rem;
  /*ホームが左側に来るように*/
  display: inherit;
}
/*パンクズリストのリンクがない部分*/
.pann-list span {
  color: gray;
}
/*パンクズリストのリンクがある部分*/
.pann-list span a{
  text-decoration: none;
  color: gray;
}
.pan-list span::before{
  font-family: 'Font Awesome 5 Free';
  content: '\f02b';
}

.sidebar {
  float: left;
  width: 28%;
  /*  画面いっぱいに広げるため、削除
  height: 100%;
  */

}

/*---------------------------------------------------------
ヘッダー
---------------------------------------------------------*/
.site-title-wrap {
  text-align: left;
  height: 100px;
  /*子要素を横並びにする*/
  display: flex;
  /*真ん中に寄せる*/
  margin: 0 4%;
}

/*タイトルを画像にする場合*/
/*
.site-title a {
  font-weight: bold;
  line-height: 1;
  display: inline-block;
  text-decoration: none;
}
*/

.site-title a img {
  display: inline-block;
  /*
  width: auto;
  height: 100px;
  margin-left: 22%;
  */
}

/*タイトルを文字列にする場合*/
/* .site-title a {
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1;
  display: inline-block;
  text-decoration: none;
  color: #000;
} */

.header-inner {
  position: relative;
  background-color: white;
  border-bottom: 3px solid deepskyblue;
  box-shadow: 0px 8px 5px -5px rgb(0 0 0 / 50%);
}
.header-inner img{
  width: auto;
  height: 100px;
  /*メニューバーをfloat:rightで流すために*/
  position: absolute;

}
.navbutton {
  display: none;
}

/*ヘッダーの親要素*/
.header-nav-wrap {
  margin-left: auto;

}
/*ヘッダーの子要素（header-nav-wrapの一つ下）*/
.header-nav {
  font-size: 0;
  text-align: right;
  width: auto;
  height: 100%;
}

.header-nav li {
  font-size: 1rem;
  display: inline-block;
  margin-right: 1rem;
  height: 100%;
}
/*headerの文字*/
.header-nav li a {
  font-weight: bold;
  font-size: large;
  display: block;
  text-decoration: none;
  color: #000;
  height: 100%;
  /*文字を真ん中にする*/
  display: flex;
  justify-content: center;
  align-items: center;
}

.header-nav li a:hover {
  /*opacity: .6;*/
  color: deepskyblue;
  transition:0.5s;
}

.wp-block-image img{
  box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%), 0 3px 1px -2px rgb(0 0 0 / 20%);
}

/*----------------------目次-----------------------------*/

#toc_container{
  margin: 2rem auto !important;
}


/*---------------------------------------------------------
フッター
---------------------------------------------------------*/
.footer {
  background-color: white;
}

.footer-nav,
.copyright {
  text-align: center;
}

.footer-nav {
  font-size: 0;
  margin-bottom: 3rem;
}
.footer-nav-wrap{
  opacity: 0;
  visibility: hidden;
  position:fixed;
  transform: translateX(175%);/*スマホの右端に配置*/
  z-index:1000;/*高さの指定、他の要素と被らないように*/

}

.footer-nav li {
  font-size: 1rem;
  display: inline-block;
  margin-right: 1.5rem;
}

.footer-nav li a {
  text-decoration: none;
  color: #fff;
}

.footer-nav li a:hover {
  opacity: .6;
}

.copyright p {
  font-size: 1rem;
  color: black;
}

/*---------------------------------------------------------
サイドバー
---------------------------------------------------------*/
.sidebar-inner{
  padding: 2%;
  height: 100%;

}
.sidebar-wrapper {
  margin-bottom: 2rem;
  background-color: white;
  box-shadow: 1px 1px 4px grey;
}


.sidebar-title {
  font-size: 1.5rem;
  box-sizing: border-box;
  margin: 0 0 1.2rem;
  padding: 0.5rem;
  background-color: deepskyblue;
  color: aliceblue;
  box-shadow: 0px 0px 2px grey;
}
/*開発環境はtoc-widget-2*/
div#toc-widget-4 {
  position: sticky;
  top: 100px;
  position: -webkit-sticky;
  padding: 1em;
}
div#toc-widget-4 ul ul{
  margin-left: 1em;
}
/*----------------------*/

/*デフォルトウィジェット*/
.widget_recent_entries ul,
.widget_meta ul,
.widget_recent_comments ul,
.widget_pages ul,
.widget_meta ul,
.widget_categories ul,
.widget_archive ul,
.widget_nav_menu ul,
.calendar_wrap,
.tagcloud {
  list-style: none;
}

.widget_recent_entries li,
.widget_meta li,
.widget_recent_comments li,
.widget_pages li,
.widget_meta li,
.widget_archive li,
.widget_nav_menu li {
  position: relative;
  margin-bottom: .5rem;
}

.widget_recent_entries a,
.widget_meta a,
.widget_recent_comments a,
.widget_pages a,
.widget_meta a,
.widget_categories a,
.widget_archive a,
.widget_nav_menu a {
  text-decoration: none;
  color: #333;
}

.sidebar-wrapper a:hover {
  opacity: .6;
}
.wp-block-search__label {
  text-align: center;
}

/*カテゴリウィジェット*/
.widget_categories li {
  display: block;
  margin-bottom: .5rem;
}

.widget_categories li a {
  font-size: .95rem;
  position: relative;
  display: block;
  padding: .9rem .6rem .9rem 2rem;
  color: #fff;
  background-color: #03162f;
}

.widget_categories li a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: .6rem;
  content: '\f02b';
  transform: translateY(-50%);
  color: #fff;
}

.widget_categories .children {
  margin-bottom: .5rem;
  padding: 0;
  padding-left: 1rem;
  background-color: #415671;
}

.widget_categories .children li {
  margin-bottom: 0;
}

.widget_categories .children li a {
  font-size: .9rem;
  background-color: transparent;
}

.widget_categories .children li a::before {
  position: absolute;
  top: 50%;
  left: .6rem;
  content: '∟';
  transform: translateY(-50%);
  color: #fff;
}

/*カテゴリウィジェットとアーカイブウィジェットのドロップダウン表示*/
.widget_categories .screen-reader-text {
  display: none;
}

.widget_archive .screen-reader-text {
  position: relative;
  display: block;
  height: 0;
  text-indent: -9999999px;
}

.widget_categories form {
  position: relative;
}

.widget_categories form::after {
  position: absolute;
  top: 50%;
  right: 1rem;
  content: '▼';
  transform: translateY(-50%);
  pointer-events: none;
}

.widget_categories .postform,
.widget_archive select {
  font-size: .95rem;
  width: 100%;
  padding: 4px 10px;
  cursor: pointer;
  border: 1px solid #e0e3ef;
  border-radius: 0;
  background-color: #f4f5f9;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.widget_archive label::after {
  position: absolute;
  top: .5rem;
  right: 1rem;
  content: '▼';
  text-indent: 0;
  pointer-events: none;
}

/*タグウィジェット*/
.tagcloud a {
  font-size: .9rem !important;
  line-height: 1;
  position: relative;
  display: inline-block;
  margin-bottom: .5rem;
  padding: .2rem .5rem;
  text-decoration: none;
  color: #03162f;
  border: 1px solid #000;
  background-color: #fff;
}

.widget_tag_cloud{
  /*
  height: 100%;
  */
}
/*
font-size を px で指定しないほうが良いと言われる理由のひとつに
「font-size を px で指定するとブラウザの文字調節機能が作動しない」というものがあります。
Chrome だと「設定 → デザイン → フォントサイズ」の項目ですね。
→もしかしたらsafariで文字調整機能を使っていたのかも。だからレイアウトが崩れた？
*/


/*タグの大きさ*/
.widget_tag_cloud p{
  /*このfontsizeがsafariとchromeで規格が違う、remにすると治る*/
  font-size: 0.55rem;
  padding: 5px;
}


/*タグの左側に余白を開ける*/
.tag-cloud-link{
  /*背景画像の左側に余白*/
  background-position: 3px;
  background-size: 33%;
  background-repeat:no-repeat;

  color: black;
}
a.tag-cloud-link{
  padding: 1.5ch 1ch 1.5ch 5ch;
}


a.tag-cloud-link.tag-link-151.tag-link-position-1 {
  padding: 1.5ch 1ch 1.5ch 5ch;
  background-image: url(./images/EC2.png);
}
/*メニューウィジェット*/
.widget_nav_menu li a {
  font-size: 1rem;
  font-weight: bold;
  position: relative;
  padding-left: 1.3rem;
  color: #333;
}

.widget_nav_menu li a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  top: 50%;
  left: 0;
  content: '\f0d7';
  transform: translateY(-50%);
  color: #03162f;
  padding: 0.3em;
}
.profile-wrapper{
  width: auto;
  background-color: white;
  padding: 1em;
  position: sticky;
}
.profile-img-wrapper{
  width: 100%;
  text-align: center;
}
.text-wrapper{
  margin-bottom: 1.5rem;
}
#profile-text-title{
  text-align: left;
  border-bottom: solid 2px deepskyblue;
}
#text-left{
  text-align: left;
}
#text-center{
  text-align: center;
}
.profile-img{
  margin: auto;
  width: 60%;
}
/*AWSデジタル認定バッジ*/
.badge-wrapper{
  display: flexbox;
  margin-top: 1.5em;
}
/*google広告*/
#google-center-div {
  background-color: whitesmoke;
}
/*----------------------サイドメニュー----------------------*/

/*-----------------アコーディオンメニュー-----------------*/
/*親要素*/
.bellows-item-level-0{
  background-color: white !important;
}
.bellows-item-level-0 > a{
  color: black !important; 
  /*border-bottom: solid 2px deepskyblue !important;*/
  border-left: solid 20px deepskyblue !important;
  box-shadow: 0px 0px 2px grey;
}

/*子要素*/
.bellows-item-level-1{
  background-color: white !important;
}
.bellows-item-level-1 > a{
  color: black !important;
}





/*最近の投稿*/
.widget_recent_entries li {
  padding-bottom: .5rem;
  border-bottom: 1px solid #ddd;
}

.widget_recent_entries li a:before {
  font-family: 'Font Awesome 5 Free';
  font-weight: bold;
  font-weight: 900;
  position: absolute;
  left: 5px;
  content: '\f303';
  color: #000;
}

.widget_recent_entries li a {
  display: block;
  margin-bottom: .3rem;
  padding-left: 1.6rem;
}

.widget_recent_entries .post-date {
  font-size: .8rem;
  display: block;
}

/*カレンダーウィジェット*/


.calendar_wrap {
  padding: 1rem;
  border: 1px solid #ddd;
}

.calendar_wrap table {
  width: 100%;
}

.calendar_wrap tbody {
  text-align: center;
}

.calendar_wrap caption {
  font-weight: bold;
  margin-bottom: 1rem;
}

.calendar_wrap td {
  padding: .3rem 0;
}

.calendar_wrap tfoot td {
  padding-top: .7rem;
}

.calendar_wrap tfoot td:last-child {
  text-align: right;
}

/*カレンダーの文字のところのwrap*/
.wp-calendar-table caption{
  padding: 3px;
}

.wp-calendar-table tbody td{
  border: 0;
}
.wp-block-calendar table th{
  /*優先度をあげて、一番上の行を青色に表示する。*/
  background: none !important;
  /*一番上の枠線をなくす*/
  border-top: 0 none !important;
  border-right: 0 none !important;
  border-left: 0 none !important;
  /*一番下の枠線の色*/
  border-bottom: 3px solid deepskyblue;
}
.wp-block-calendar td{
  /*枠線をなくす*/
  border: 0 none !important;
}

/*カレンダーのwrap*/
.wp-block-calendar{
  padding: 0 10%;
  box-shadow: 1px 1px 4px grey;
}

/*検索フォーム*/

	
.searchform {
  font-size: 14px;
  width: 75%;
  margin-top: 10px;
  margin-right: 3px;
  border-radius: 3px;
  position: relative;
  margin: auto;
}

.search-wrap input{
  border-radius: 3px;
}


 
.searchfield {
  font-size: 14px;
  width: 90%;
  margin: 3px;
  padding: 10px;
  border: solid 1px #bbb;
  border-radius: 4px;
  background-color: white;
  margin-bottom: 2em;
}
 
.searchsubmit {
  font-family: FontAwesome;
  font-size: 1.4em;
  position: absolute;
  top: 0;
  right: 8%;
  margin-top: 10px;
  padding: 0;
  cursor: pointer;
  color: #6297f5;
  border: none;
  background: transparent;
  
}
 
.searchsubmit:hover {
  opacity: .6;
}
/*---------------------------------------------------------
記事一覧
---------------------------------------------------------*/



/*記事一つ*/
.article-list {
  margin-bottom: 1rem;
  margin: 1rem;
  border: 1px solid #ddd;
  width:100%;
  height: 15em;
  box-sizing: border-box;/*親要素のwidthで幅を調整してくれる。（paddingやmarginをシカト）*/
  text-align: center;
  padding: 1em;
  box-shadow: 2px 2px 4px grey;
  display: flex;
  transition: .3s;
}

.article-list:hover {
  background-color: #eee;
  box-shadow: 0 15px 30px -5px rgba(0,0,0,.15), 0 0 5px rgba(0,0,0,.1);
	transform: translateY(-4px);
}

.article-list a {
  display: block;
  text-decoration: none;
  color: #333;
  width: 100%;
}
.article-list h1:hover{
  color: #6297f5;
}

.article-list a:after {
  display: block;
  clear: both;
  content: '';
}

.article-list .img-wrap {
  position: relative;
  float: left;
  line-height: 1;
  width: 95%;
  height: 100%;
}

.article-list .img-wrap img {
  object-fit: cover;
  width: 100%;
  height: 100%
}

.article-list .img-wrap .cat-data {
  font-size: .75rem;
  position: absolute;
  top: 0;
  right: 0;
  padding: .3rem .5rem;
  color: #fff;
  background-color: dodgerblue;

}

.article-list .text h2 {
  font-size: 1.15rem;
  margin-bottom: .5rem;
}

.article-list .text .article-date,
.article-list .text .article-author {
  font-size: .75rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: .5rem;
  color: #888;
}

.article-list .text .article-date {
  margin-right: .5rem;
}

.article-list .text .article-author i {
  margin-right: .3rem;
}

.article-list .text p {
  font-size: .8125rem;
  line-height: 1.7;
  text-align: left;
  margin-top: 0.7rem;
}
.article-list img {
  height: 100%;
  box-shadow: 0.1px 0.1px 4px grey;
}
.text {
  width: 100%;
}
.article-img-wrapper{
  width: 100%;
  height: 100%;
}
.rticle-text-wrapper{
  width: 100%;
  height: 100%;
}

/*ページネーション*/
.pagination {
  margin: 2rem 0;
  text-align: center;
}

.pagination ul {
  font-size: 0;
}

.pagination ul li {
  font-size: 1rem;
  display: inline-block;
  margin-right: .5rem;
}

.pagination ul li:last-child {
  border: 0;
}

.pagination ul li a,
.pagination .current {
  display: block;
  padding: .5rem .8rem;
  border: 1px solid #ccc;
}

.pagination ul li .prev,
.pagination ul li .next {
  border: 0;
}

.pagination ul li a {
  text-decoration: none;
  color: #333;
}

.pagination ul li a:hover {
  opacity: .6;
}

.pagination .current {
  color: #fff;
  background-color: #03162f;
}


/*---------------------------------------------------------
投稿・固定ページ
---------------------------------------------------------*/
.article-content {
  margin-bottom: 2rem;
  box-shadow: 0 2px 2px 0 rgb(0 0 0 / 14%), 0 1px 5px 0 rgb(0 0 0 / 12%), 0 3px 1px -2px rgb(0 0 0 / 20%);
  background: white;
  padding: 3em;
}

.article-content .article-info {
  margin-bottom: .5rem;
}

.article-content .cat-data a {
  font-size: .8rem;
  margin-right: .5rem;
  padding: .1rem .5rem;
  text-decoration: none;
  color: #fff;
  background-color: #03162f;
}

.article-content .article-info .article-date,
.article-content .article-info .article-author {
  font-size: .8rem;
  display: inline-block;
  margin-right: .5rem;
  color: #888;
}

.article-content .article-info .article-author i {
  margin-right: .3rem;
}

.article-content p,
.article-content b,
.article-content table,
.article-content ul,
.article-content ol {
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 1px;
}

.article-content p,
.article-content img,
.article-content table,
.article-content ul,
.article-content ol {
  margin-bottom: 2rem;
}

.article-content h1 {
  font-size: 1.9rem;
  letter-spacing: 1px;
}

.article-content h2 {
  font-size: 1.7rem;
  margin: 3rem 0 2rem;
  padding: .4rem 0;
  letter-spacing: 1px;
  border-bottom: solid 5px deepskyblue;
}

.article-content h3 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1.8rem;
  padding: 0 1rem;
  letter-spacing: 1px;
  border-left: solid 7px #415671;
  background: transparent;
}

.article-content h4 {
  font-size: 1.3rem;
  margin: 2rem 0 1rem;
  letter-spacing: 1px;
}

.article-content h5 {
  font-size: 1.1rem;
  margin: 0 0 .3rem;
  letter-spacing: 1px;
}

.article-content .article-img {
  margin-bottom: 2rem;
}

.article-content .article-img img {
  display: block;
  margin: 1.5em auto;
}

.article-content ul {
  margin-left: 2rem;
  list-style: disc;
}

.article-content ol {
  margin-left: 2rem;
  list-style: decimal;
}

.article-content table {
  border-collapse: collapse;
}

.article-content th,
.article-content td {
  padding: .6rem;
  vertical-align: middle;
  border: 1px solid #ddd;
}

.article-content figure {
  max-width: 100%;
}

.article-tag {
  text-align: right;
}

.article-tag ul {
  font-size: 0;
  margin-bottom: 0;
}

.article-tag ul li {
  font-size: .9rem;
  display: inline-block;
  margin-right: .5rem;
  vertical-align: middle;
}

.article-tag ul li:last-child {
  margin-right: 0;
}

.article-tag ul li a {
  padding: .2rem .5rem;
  text-decoration: none;
  color: #000;
  border: 1px solid #000;
}

.article-tag ul li a:hover {
  opacity: .6;
}

/*------------------------記事-----------------------------------*/
.mokuji-wrapper {
  padding: 2em;
  list-style: none;
  margin: 1em 0;
}

.mokuji-wrapper h1{
  font-family: monospace;
  text-align: center;
}

.mokuji-wrapper h1 {
  position: relative;/*相対位置*/
  line-height: 1.4;/*行高*/
  color: dodgerblue;
}
.mokuji-wrapper h2 {
  font-size: 70% !important;
}

.mokuji-wrapper li {
  font-weight: bolder;/*文字を太くする*/
}

.mokuji-wrapper a{
  text-decoration: none;
  color: black;
}
.mokuji-wrapper a:hover{
  text-decoration:underline;
}
.mokuji-content-wrapper{
  border-bottom: solid 5px dodgerblue;
  border-top: solid 5px dodgerblue;
  padding-top: 2rem;
}

.intro {
  background-color: aliceblue;
}

.intro p:before{
  white-space: pre;
  content: "こんな人におすすめ\A";
  font-size: x-large;
  font-weight: 700;
  margin: 1rem;
}
.intro p{
  padding: 0.7rem 1rem;
  font-size: smaller;
  border: solid 1px deepskyblue;
  overflow-x: auto;
}

/*------------------codeを親要素に持つpタグを編集----------------------*/
p:has(code){
  background-color: #333;
  padding: 1rem;
  overflow-x: auto;

}
code{
  color: white;
  overflow-x: auto;
  white-space: nowrap;
}

/*参照*/
blockquote {
	position: relative;
	width: auto;
	margin: 1rem 0 0;
	padding: 1rem 3rem;
	border-radius: 2px;
	background-color: #eee;
	font-family: Sans-Serif;
  font-size: 80%;
}
blockquote::before,
blockquote::after {
	position: absolute;
	color: #aaa;
	font-size: 6.25rem;
	line-height: 1.0;
}
blockquote::before {
	content: "“";
	top: -.3rem;
	left: 0;
}
blockquote::after {
	content: "”";
	bottom: -3.7rem;
	right: 0;
}

ol {
	counter-reset: li; /*olのリストの数字をリセット*/
}

ol > li {
	list-style: none; /*元のスタイルを非表示にする*/
}

ol > li:before {
	counter-increment: li; /*リストの数字を1つ進める。IE7以下、未対応*/
	content: counter(li) "  |"; /*リストを連番にする&”｜”を付け足す*/
	margin-right: 1em; /*要素が重なるから右へ移動*/
	line-height: 1.6; /*文字が重なるのを防止*/
  color: cornflowerblue;/*文字の色をつける*/
}
li.text-indent::before{
  margin-right: 2em;
}

/*---------------------スマホメニュー用-----------------------------*/

#rmp_menu_trigger-2156{
  display: none !important;
}

.menu-phone-menu-container{
  position: fixed;
  left: 0;
  top: 100px;
  transform: translateX(-105%);/*左端に隠す*/
  transition: all 1s;
  z-index: 900;
  height: 100%;
}


/*最大幅800px以内
ちなみに、下記のような書き方もできる。
@media screen and (min-width:767px) and (max-width:1024px){}
*/
@media(max-width: 800px) {
  .contents,
  .sidebar {
    float: none;
    width: 100%;
    margin-right: 0;
  }



  /*---------------------------------------------------------
  ヘッダー
  ---------------------------------------------------------*/
  .site-title-wrap a img {
    height: 80px;
  }
  /*-------------------スマホボタンメニュー---------------------*/
  .button-wrapper{
    background-color: #6297f5;
    height: 50px;
    width: 1.7em;
    color: white;
    margin-top: 5px;
  }


  .navbutton span {
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 9px; 
    border-radius: 3px;
    height: 5px;
    width: 34px;
    background: white;
  }
  .navbutton span:nth-of-type(1){
    top: 0.5em;
  }
  .navbutton span:nth-of-type(2){
    top:28px;
  }
  .navbutton span:nth-of-type(3){
    top:41px;
  }
  .navbutton.open span:nth-of-type(1){
    top: 21px;
    /*left: 18px;*/
    transform: translateY(6px) rotate(-45deg);
    width: 70%;
  }
  .navbutton.open span:nth-of-type(2){
    opacity: 0;
  }
  .navbutton.open span:nth-of-type(3){
    top: 33px;
    /*left: 18px;*/
    transform: translateY(-6px) rotate(45deg);
    width: 70%;
  }
  .navbutton {
    font-size: 2rem;
    position: fixed;
    z-index: 999;
    top: 10%;
    right: 1.25rem;
    display: block;
    cursor: pointer;
    transform: translateY(-50%);
    border: 0;
    background-color: transparent;
    padding: 0px;/*iphone実機とのずれをなくす*/
  }
  .navbutton.open > i:nth-child(1){
    transform: translateY(10px) rotate(-45deg);
  }

  .navbutton:focus {
    outline: 0;
  }

  .menu-phone-menu-container{
    position: fixed;
    left: 0;
    top: 40px;
    transform: translateX(-105%);
    transition: all 1s;
    z-index: 900;
    height: 100%;
  }
  .menu-phone-menu-container.open{
    transform: translateX(0);
    background-color: dodgerblue;
    transition: all 1s;
  }
  
  .header-nav-wrap {
    display: none;
  }
  
  .header-nav li {
    display: block;
    margin-right: 0;
  }


  .header-nav li a {
    position: relative;
    padding: .8rem 1.25rem;
    color: #fff;
    border-bottom: 1px solid #888;
    background-color: gray;
  }

  .header-nav li a:after {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    right: 1.25rem;
    display: block;
    content: '\f105';
    transform: translateX(250px);
  }
 
  /*---------------------------------------------------------
  フッター
  ---------------------------------------------------------*/
  .footer-nav {
    margin-bottom: 1.5rem;
  }

  .footer-nav ul {
    text-align: left;
  }

  .footer-nav li {
    width: 48%;
    margin-right: 4%;
    margin-bottom: 1rem;
  }

  .footer-nav li:nth-of-type(2n) {
    margin-right: 0;
  }
  /*スマホメニュー用
  #rmp_menu_trigger-2156{
    background-color: aliceblue !important;
    display: block !important;
  }
  #rmp_menu_trigger-2156{
    top: -10px !important;
  }
  */
}

@media(max-width: 600px) {
  html {
    font-size: 15px;
  }

  .header-inner,
  .container,
  .footer-inner {
    padding: .8rem;
  }

  .contents {
    margin-bottom: 1rem;
  }
  .container{
    display: contents;
  }
  /*---------------------------------------------------------
  サイドバー
  ---------------------------------------------------------*/
  /*
  .sidebar{
    display: none;
  }
  */

  /*---------------------------------------------------------
  ヘッダー
  ---------------------------------------------------------*/
  .site-title a {
    font-size: 2rem;
  }

  .site-title-wrap a img {
    height: 80px;
  }

  .navbutton {
    right: .8rem;
  }
  .header-inner{
    height: 80px;
  }
  /*ホームの投稿記事一覧レイアウト*/

  .text > h1 {
    font-size: small;
  }
  .excerpt_content{
    display: none;
  }
  

  .header-nav li a {
    padding: .8rem;
  }

  .header-nav li a:after {
    right: .8rem;
  }
  /*スマホメニュー用
  #rmp_menu_trigger-2156{
    background-color: aliceblue !important;
    display: block !important;
  }
  #rmp_menu_trigger-2156{
    top: -10px !important;
  }
  */
  /*スマホメニュー*/
  li.menu-item {
    padding: 1rem 0.7rem;
    color: white;
    font-size: medium;
    font-weight: bolder;
  }
  li.menu-item > a {
    color: white;
    text-decoration: none;
  }
  .div#toc-widget-2{
    display: none;
  }
  
  /*---------------------------------------------------------
  記事一覧
  ---------------------------------------------------------*/
  .article-list {
    padding: .5rem;
    width: 100%;
    height: 100%;
  }

  .article-list .img-wrap img {
    width: 132px;
    height: 110px;
  }

  .article-list .img-wrap .cat-data {
    font-size: .6rem;
  }

  .article-list .text {
    padding: 0;
  }

  .article-list .text h2 {
    font-size: 1rem;
    margin-bottom: 0;
  }


  .article-list .text .article-date,
  .article-list .text .article-author {
    font-size: .625rem;
    margin-bottom: 0;
  }

  .article-list .text .article-date {
    margin-right: .2rem;
  }
  
  .article-img img{
    width: 100%;
    height: 100%;
  }


  /*---------------------------------------------------------
  投稿・固定ページ
  ---------------------------------------------------------*/
  .article-content{
    padding: 1em;
  }
  
  .article-content h1 {
    font-size: 1.3rem;
  }

  .article-content h2 {
    font-size: 1.4rem;
  }

  .article-content h3 {
    font-size: 1.3rem;
  }

  .article-content h4 {
    font-size: 1.2rem;
  }
  .intro p:before{
    font-size: large;
  }
}
