/*
theme Name:atflash fire
Author:Tadaaki Kobayashi
Description:theme
Version:1.0.1
Theme URI:https://www.wp-atflash.com/
*/
/*
Copyright (C) 2020 Tadaaki Kobayashi
 */
@charset "utf-8";

/*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;
  border: 0;
  outline: 0;
}

body {
  line-height: 1;
}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
}

ins {
  text-decoration: none;
  color: #000;
}

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;
}

/*サイト全体の基準*/
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;
}

/*見出し*/
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  color: #000;
}

img {
  max-width: 100%;
  height: auto;
}

/*コンテンツのサイズ指定*/
.header-inner,
.container,
.footer-inner {
  box-sizing: border-box;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
  padding: 0.5rem;

  width:100%;
  overflow-wrap:break-word;
}

.container {
  padding: 0.5rem 1.25rem;
}

.container:after {
  display: block;
  clear: both;
  content: '';
}

.contents {
  float: left;
  width: 70%;
  margin-right: 3%;
}

.sidebar {
  float: left;
  width: 27%;
}

/* コンテイナーのリンクの色 */
.container a {
  color: #0000ff
}

/* スクロールスムース */
html {
  scroll-behavior: smooth;
}


.category-description{
	padding:10px 10px;
}



/*********************************
パソコン
*********************************/

/********** ヘッダー *****/
.site-title-wrap {
    text-align: left;
    padding: 1rem;
    border: 1px solid #fff;
}

/*タイトルを画像にする場合*/
#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: 44px;
}

/*タイトルを文字列にする場合*/
#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;
  padding: 0 0.5rem
}

#site-title{
  margin:0 0 1rem 0;
}

.navbutton {
  display: none;
}

#header-nav{
  margin:0;
}

#navi {
  background-color: #FFF;
  width: 100%;
}

#nav-button{
display: none;
}

#menu-navibtn{
display: none;
}

/* ハンバーガー */
#navi #navibtn {
  display:none;
}

.search-form-sumaho{
  display: none;
}

/* メニュー */

nav {
  box-sizing: border-box;
  max-width: 1200px;
  margin-right: auto;
  margin-left: auto;
}
nav .menu-container ul {
  list-style: none;
  background-color: #000;
}
nav .menu-container > ul {
  margin-left: auto;
  margin-right: auto;
  /*width: 600px;*/
  padding: 0;
  border: 1px solid #fff;
}
nav > .menu-container > ul > li {
  float: left;
  width: calc(100% / 6);
  position: relative;
  text-align: center;
  box-sizing: border-box;
  border-bottom: 1px solid #fff;
}
nav > .menu-container > ul > li > a{
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
}
nav .menu-container > ul > li:first-child > a{
  /*border-left: 1px solid #fff;*/
}
nav .menu-container ul li a{
  display: block;
  line-height: 3em;
  color: #fff;
  text-decoration: none;
}
nav > .menu-container > ul:after {
  content: ".";
  display: block;
  visibility: hidden;
  line-height: 0;
  clear: both;
}
nav > .menu-container > ul li ul {
  list-style: none;
  position: absolute;
  z-index: 9999;
  top: 3em;
  left: 0;
  margin: 0;
  padding: 0;
  width: 100%;
}
nav .menu-container > ul li ul li {
  overflow: hidden;
  width: 100%;
  height: 0;
  transition: all 0.2s ease;
  box-sizing: border-box;
}
nav ul li:hover ul li {
  overflow: visible;
  height: 3em;
  box-sizing: border-box;
  background: #333;
}

/* breadcrumb パンくずリスト */
#breadcrumb ul {
  margin: 0.5rem 0;
  padding: 0;
  list-style: none;
  line-height:2rem;
}

#breadcrumb ul li {
  display: inline;
  /*横に並ぶように*/
  list-style: none;
  font-weight: bold;
  /*太字*/
}

#breadcrumb ul li a:after {
  content: ">";
  padding: 0 0.4rem;
}

#breadcrumb ul li a {
  text-decoration: none;
}

/* ウィジェット */

.widget_text{
  margin-bottom: 1rem;
}

/**********　サイドバー **********/
#sidebar ul {
  list-style: none;
}

#sidebar ul li {
  margin: 10px;
}

.sidebar-wrapper {
  margin-bottom: 2rem;
}

.sidebar-title {
  font-size: 1.1rem;
  box-sizing: border-box;
  margin: 0 0 1.2rem;
  padding: .5rem;
  color: #000;
  border-bottom: 4px solid #03162f;
}

/* サイドバー のタグクラウド */
.tagcloud a {
  display: inline-block;
  margin: 0.3rem;
  padding: 0.3rem;
  border: 1px solid #999;
  text-decoration: none;
  font-size: 1rem;
}

/* カレンダー */
#wp-calendar {
  width: 300px;
}

#wp-calendar td {
  text-align: center;
  padding: 0.5rem;
}

.wp-calendar-nav{
  background:#999
}

/* RSSウィジェット */
.rsswidget {
  margin: 0.4rem;
}


/***** フッター *****/
.footer {
  background-color: #333;
}

.footer a{
  color:#fff;
}

.footer-container,
.copyright {
  text-align: center;
}

.footer-container {
  font-size: 0;
  margin-bottom: 1rem;
}

.footer-container li {
  font-size: 1rem;
  display: inline-block;
  margin-right: 1.5rem;
}

.footer-container li a {
  text-decoration: none;
  color: #fff;
}

.footer-container li a:hover {
  opacity: .6;
}

.footer-widget{
  color:#fff;
}

.fotter-left-widget-title,.fotter-middle-widget-title,.fotter-right-widget-title{
  color:#fff;
}

.footer-widget {
    /* boxレイアウトの指定 */
    display: box;           /* 標準 */
    display: -webkit-box;   /* Webkit系(Chrome・Safariなど) */
    display: flex;          /* Firefox・IE11 */
    display: -o-box;        /* Opera */

    /* 配置したボックスを左右中央寄せにする */
    box-align: center;          /* 標準 */
    -webkit-box-pack: center;   /* Webkit系(Chrome・Safariなど) */
    justify-content: center;    /* Firefox・IE11 */
    -o-box-pack: center;        /* Opera */
}

.footer-widget > div {
    width: auto;
    margin: 10px;
}

.footer-widget li{
  list-style-type: none
}

.footer-widget li a{
  text-decoration: none;
  color: #fff;
}

.copyright {
  font-size: 1rem;
  color: #fff;
}

/**********　記事　**********/
.article-list {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #ddd;
}

.article-list:hover {
  background-color: #eee;
}

.article-list a {
  display: block;
  text-decoration: none;
  color: #333;
}

.article-list a:after {
  display: block;
  clear: both;
  content: '';
}

.article-list .img-wrap {
  position: relative;
  float: left;
  line-height: 1;
}

.article-list .img-wrap img {
  width: 240px;
  height: 160px;
  object-fit: cover;
}

.article-list .cat-data {
  font-size: .75rem;
  padding: .3rem .5rem;
  margin-right: .5rem;
  color: #fff;
  background-color: #03162f;
}

.article-list .text {
  margin-left: 260px;
}

.article-list .text h2 {
  font-size: 1.15rem;
  margin-bottom: .5rem;
}

.article-list .text .article-date,
.article-list .text .article-update,
.article-list .text .article-author {
  font-size: .75rem;
  font-weight: bold;
  display: inline-block;
  margin-bottom: .5rem;
  /*color: #000;*/
}

.article-date:before {
  font-family: "icomoon";
  /*content: "\e94f";*/
  content: "\e904";
  padding-right:1px;
}

.article-update:before {
  font-family: "icomoon";
  /*content: "\e94d";*/
  content: "\e905";
  padding-right:1px;
}

.article-author:before {
  font-family: "icomoon";
  /*content: "\e971";*/
	content: "\e903";
  padding-right:1px;
}

.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;
}

.article-content {
  margin-bottom: 2rem;
}

.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-update,
.article-content .article-info .article-author {
  font-size: .8rem;
  display: inline-block;
  margin-right: .5rem;
  /*color: #000;*/
}

.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: 1rem;
}

.article-content h1 {
  font-size: 1.9rem;
  margin: 0 0 2rem;
  letter-spacing: 1px;
}

.article-content h2 {
  font-size: 1.7rem;
  margin: 3rem 0 2rem;
  padding: .4rem 0;
  letter-spacing: 1px;
  border-bottom: solid 5px #03162f;
}

.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: 0 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;
  border: 1px solid #999;
}

.article-tag ul li a:hover {
  opacity: .6;
}

/* 投稿埋め込みをレスポンシブに */
iframe.wp-embedded-content {
 width:100%;
 max-width:500px;
}

/*　引用　*/

blockquote {
position: relative;
margin: 2em 0;
padding: 2em;
font-size: .9em;
border: 1px solid #CCC;
border-radius: 6px;
}
blockquote:before,
blockquote:after{
position: absolute;
font-size: 4em;
color:#444;
}
blockquote:before{
top: -10px;
left: 5px;
content: '“';
}
blockquote:after{
bottom: -40px;
right: 5px;
content: '”';
}

/* 目次 */

#toc {
  border: 1px solid #000;
  margin: 10px 0;
}

#toc label {
  display: block;
  background: #415671;
  color: #fefefe;
  padding: 0.5rem 0.5rem;
}

#toc input {
  display: none;
}

#toc ol{
  margin-top: 1rem;
  margin-bottom: 1rem;
}

#toc ol li{
    margin-top: 1rem;
    margin-bottom: 1rem;
    margin-right: 0.5rem;
}


#toc .toc_showhide {
    display: block;  /*blockにすると最初に表示される。noneで最初は非表示*/
    padding: 0;
}

#toc input:checked + .toc_showhide {
    display: none;  /*noneで目次の内容が非表示になる。blockで目次の内容を表示する。上の.toc_showhideの逆にすること*/
    padding: 0;
}


/*コメント*/
#comments {
  border-top: solid 1px;
  padding-top: 1rem;
}

#respond label {
  display: block;
}

#respond input,
#respond textarea {
  width: 100%;
}

#respond input[type="submit"] {
  width: auto;
}

.says {
  display: none;
}

.comment-author,
.comment-meta {
  /*display:inline-block;*/
}

.comment {
  margin-top: 2rem;
}

.comment .comment {
  padding-left: 5%;
}

.comment-body {
  position: relative;
}

.comment-content {
  padding-left: 4rem;
  padding-bottom: 0.5rem;
}

.comment-meta {
  padding-bottom: 0.5rem;
}

.comment-metadata {
  padding-left: 4rem;
}

.comment-meta .avatar {
  left: -8rem;
}

.reply {
  display: inline-block;
  padding: 2px 10px;
  width: 60px
  text-align:center;
  background-color: #cd2653;
}

.reply a{
  color:#FFF;
}

.comment-reply-link {
  color: #fff;
  padding: 0.7rem;
  text-decoration: none;
}

#reply-title {
  margin-top: 1rem;
}

#comments input[type="submit"] {
  background-color: #cd2653;
  padding: 1.0em 1.3em;
  color: #fff;
  font-weight: bold;
  font-size: 0.9rem;
}

/********** ホーム **********/

.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;
}

/********** ホーム **********/

.home-top .article-top .img-wrap img {
  width: 600px;
  height: 400px;
}

.home-top .article-top .text {
  margin-left: 630px;
}

.home-top .article-top .new-post {
  font-weight: bold;
  display: block;
  margin-bottom: .5rem;
  color: #f00;
}

.home-top .article-top .text h2 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.home-top .article-top .text .article-date,
.home-top .article-top .text .cat-data {
  margin-bottom: 1rem;
}

/**********　アーカイブ **********/

.archive-top h1 {
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
}

.archive-top p {
  font-size: .875rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}


/**********　SNS **********/

/* シェアボタン */
.snsShareArea:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  visibility: hidden;
}

.snsShareArea a {
  box-sizing: border-box;
  display: block;
  float: left;
  width: 31.3%;
  margin: 1%;
  padding: .7em 0;
  border-radius: 3px;
  color: white;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
}

.btn--twitter {
  background: #55acee;
}

.btn--twitter:before {
  font-family: "icomoon";
  content: "\ea96";
  padding-right:1px;
  font-size: 1.2em;
  line-height: 0.75em;
  vertical-align: -15%;
}

.btn--x {
  background: #000;
}

.btn--x:before {
  font-family: "icomoon";
  content: "\e900";
  padding-right:1px;
  font-size: 1.2em;
  line-height: 0.75em;
  vertical-align: -15%;
}

.btn--facebook {
  background: #3b5998;
}

.btn--facebook:before {
  font-family: "icomoon";
  content: "\ea90";
  padding-right:1px;
  font-size: 1.2em;
  line-height: 0.75em;
  vertical-align: -15%;
}

.btn--line {
  background: #54bc4d;
}

.btn--line:before {
  font-family: "icomoon";
  content: "\e901";
  padding-right:1px;
  font-size: 1.0em;
  line-height: 0.75em;
  vertical-align: -15%;
}

.btn--hatena {
  background: #008FDE;
}

.btn--pocket {
  background: #ee4056;
}

.btn--pocket:before {
  font-family: "icomoon";
  content: "\e90b";
  padding-right:1px;
  font-size: 1.2em;
  line-height: 0.75em;
  vertical-align: -15%;
}

.btn--pinterest {
  background: #c60120;
}

.btn--pinterest:before {
  font-family: "icomoon";
  /*content: "\ead1";*/
  content: "\e906";
  padding-right:1px;
  font-size: 1.2em;
  line-height: 0.75em;
  vertical-align: -15%;
}

.btn--instgram {
  background: #C13584;
}

.btn--instgram:before {
  font-family: "icomoon";
  content: "\ea92";
  padding-right:1px;
  font-size: 1.2em;
  line-height: 0.75em;
  vertical-align: -15%;
}

.btn--youtube {
  background: #ff0000;
}

.btn--youtube:before {
  font-family: "icomoon";
  content: "\e90c";
  padding-right:1px;
  font-size: 1.2em;
  line-height: 0.75em;
  vertical-align: -15%;
}

.btn--github {
  background: #333;
}

.btn--github:before {
  font-family: "icomoon";
  content: "\eab0";
  padding-right:1px;
  font-size: 1.2em;
  line-height: 0.75em;
  vertical-align: -15%;
}

.btn--feedly {
  background: #2bb24c;
}

.btn--feedly:before {
  font-family: "icomoon";
  content: "\e908";
  padding-right:1px;
  font-size: 1.2em;
  line-height: 0.75em;
  vertical-align: -15%;
}

.snsFollowArea {
  margin: auto;
}

.snsFollowArea:after {
  content: ".";
  visibility: hidden;
}

.snsFollowArea a {
  display: inline-block;
  width: 85px;
  margin: 1%;
  padding: .5em 0.5em;
  border-radius: 3px;
  color: white;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
}

.snsFollowArea img {
  margin-bottom: 0;
  width: auto;
  height: auto;
  vertical-align: middle;
}

/* 関連記事 */
.related-post-cell {}

.related-post-thumbnail {
  display: inline-block;
}

.related-post-thumbnail img {
  margin-bottom: 0.5rem;
  width: auto;
}

.related-post-title {
  display: inline-block;
  height: 100px;
  vertical-align: top;
  padding-left: 0.5rem;
}

/* トップに戻る */
#pagetop {
    position: fixed;
    bottom: 90px;
    right: 10px;
    padding: 10px 10px;
    color: #fff;
    font-size: 10px;
    text-decoration: none;
    background: #000;
    opacity: 0.6;
}

/* 記事下　ページネーション */
#nav-prev-next{
width:100%;
overflow: hidden;
height: auto;
text-align: center;
}

.nav-prev-article{
display: inline-block;
width:45%;
padding: 5px;
text-align: left;
vertical-align: top;

}

.nav-next-article{
display: inline-block;
width:45%;
padding: 5px;
text-align: right;
vertical-align: top;
}


/*********************************
タブレット
*********************************/

@media(max-width: 800px) {

  .contents,
  .sidebar {
    float: none;
    width: 100%;
    margin-right: 0;
  }

  .contents {
    margin-bottom: 1.5rem;
  }

/**********　ヘッダー **********/
  #site-title a img {
    height: 50px;
    width: auto;
  }

  .navbutton {
    font-size: 2rem;
    position: absolute;
    z-index: 999;
    top: 50%;
    right: 1.25rem;
    display: block;
    cursor: pointer;
    transform: translateY(-50%);
    border: 0;
    background-color: transparent;
  }

  .navbutton:focus {
    outline: 0;
  }

  .header-nav-wrap {
    z-index: 999;
    top: 86px;
    /*ヘッダーの高さと合わせる*/
    right: auto;
    left: 0;
    display: none;
    width: 100%;
    margin-left: 0;
    transform: none;
    background-color: #03162f;
  }

  .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;
  }

  .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: translateY(-50%);
  }

  .footer-container {
    margin-bottom: 1rem;
  }

  .footer-container ul {
    text-align: left;
  }

  .footer-containerli {
    width: 48%;
    margin-right: 4%;
    margin-bottom: 1rem;
  }

  .footer-container li:nth-of-type(2n) {
    margin-right: 0;
  }

  .home-top .article-top .img-wrap {
    float: none;
  }

  .home-top .article-top .img-wrap img {
    width: 100%;
    height: 60vw;
  }

  .home-top .article-top .text {
    margin-left: 0;
  }

  .home-top .article-top .new-post,
  .home-top .article-top .text h2,
  .home-top .article-top .text .article-date,
  .home-top .article-top .text .cat-data {
    margin-bottom: 0;
  }
}

/*********************************
スマホ
*********************************/

@media(max-width: 600px) {
  html {
    font-size: 15px;
  }

  .contents {
    margin-bottom: 1rem;
  }

/**********　ヘッダー **********/

  #site-title {
    margin: 0 1.8rem 1rem 0;
  }

  #site-title a {
    font-size: 2rem;
  }

  #site-title a img {
    height: 32px;
  }

  .navbutton {
    right: .8rem;
  }

  .header-nav-wrap {
    top: 62px;
  }

  .header-nav li a {
    padding: .8rem;
  }

  .header-nav li a:after {
    right: .8rem;
  }

#navbutton{
  width: 40px;
  height:40px;
  position: absolute;
  z-index: 999;
  top: 40px;
  right: 1.25rem;
  display: block;
  border: 0;
  background-color: #000;
}

/* ハンバーガーボタン */

  #navi #navibtn {
    display:block;
  }

  #header-nav{
      display: none;
      margin:3px 0;
  }

  #menu-navibtn:checked ~ * #header-nav {
      display: block;
  }

  #menu-navibtn:checked ~ * .search-form-sumaho{
    display: block;
  }

  .search-form-sumaho{
    background-color: #000;
    margin:10px 0 0 0;
  }

  input.search-field-sumaho {
    width:80%;
    box-sizing: border-box;
    margin:10px;
  }

  #navi #navibtn {
    display: block;
    position: absolute;
    top: 20px;
    right: 15px;
  }
  #navibtn span {
    display: block;
    width: 40px;
    height: 40px;
    background-color: #333;
  }
  #navibtn span span {
    display: block;
    overflow: hidden;
    width: 1px;
    height: 1px;
  }
  #navibtn span span::before,
  #navibtn span span::after,
  #navibtn span::after {
    position: absolute;
    left:10px;
    content:"";
    width: 20px;
    height: 3px;
    background-color: #FFF;
  }
  /* 上の棒 */
  #navibtn span span::before {
    top:10px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn span span::before {
    top:19px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
  }
  /* 下の棒 */
  #navibtn span::after {
    bottom:10px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn > span::after {
    bottom:18px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
  }
  /* 中の棒 */
  #navibtn span span::after {
    top:18px;
  }
  #menu-navibtn:checked ~ #navi label#navibtn span span::after {
    display: none;
  }


  #navi {
    /*display: none;*/
    box-sizing: border-box;
    max-width: auto;
    margin-right: auto;
    margin-left: auto;
    background-color: #23282d;
  }

  nav .menu-container > ul {

    background-color: #000;
}

  nav .menu-container ul {
    list-style: none;
  }
  nav .menu-container > ul {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    padding: 0;
  }
  nav > .menu-container > ul > li {
    position: relative;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
  }
  nav > .menu-container > ul > li > a{
    border-right: 0px solid #fff;
    border-bottom: 1px solid #fff;
  }
  nav .menu-container > ul > li:first-child > a{
    border-left: 0px solid #fff;
    border-bottom: 1px solid #fff;
  }


  .article-list {
    padding: .5rem;
  }

  .article-list .img-wrap img {
    width: 132px;
    height: 88px;
  }

  .article-list .img-wrap .cat-data {
    font-size: .6rem;
  }

  .article-list .text {
    margin-left: 140px;
    padding: 0;
  }

  .article-list .text h2 {
    font-size: 1rem;
    margin-bottom: 0;
  }

  .article-list .text p {
    display: none;
  }

  .article-list .text .article-date,
  .article-list .text .article-update,
  .article-list .text .article-author {
    font-size: .625rem;
    margin-bottom: 0;
  }

  .article-list .text .article-date {
    margin-right: .2rem;
  }

  .article-content h1 {
    font-size: 1.6rem;
  }

  .article-content h2 {
    font-size: 1.4rem;
  }

  .article-content h3 {
    font-size: 1.3rem;
  }

  .article-content h4 {
    font-size: 1.2rem;
  }

  .archive-top h1 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .archive-top p {
    font-size: .8125rem;
    margin-bottom: 1rem;
  }

  .footer-container ul li{
    /* 縦に並べる */
    display: block;
  }

  .footer-widget {
    /* 縦に並べる */
      display: inline-block;
  }


}　　
/* スマホここまで */

/*********************************
ダークモード
*********************************/

@media (prefers-color-scheme: dark) {

  body{
    background: #000 !important;
    color: #fff;
  }

  a {color: #fff;}
  a:visited{color: #999;}

  .container a {
    color: #fff;
  }

  .article-list:hover {
    background-color: #606060;
  }

  h1,h2,h3,h4,h5,h6 {
    color: #fff;
  }

  #site-title a {
    color: #fff;
  }

  #breadcrumb ul li a {
    color: #fff;
  }

  #breadcrumb ul li a:visited {
    color: #999;
  }

  .article-content .cat-data a {
    color: #000;
    background-color: #fff;
  }
  .article-content .article-info .article-date {
    color: #fff;
  }

  .article-content .article-info .article-update {
    color: #fff;
  }

  .article-content .article-info .article-author {
    color: #fff;
  }

  #toc {
    border: 1px solid #FFF;
  }
	
	#toc_container{
		background:#000;
	}

  .sidebar-title {
    border-bottom: 4px solid #FFF;
    color:#fff
  }

  blockquote:before,
  blockquote:after{
  position: absolute;
  font-size: 4em;
  color:#fff;
  }

}

/* 切り替えボタン */
#js-switch-mode {
  background-color: #000;
  color:#FFF;
  opacity:0.6;
  position: fixed;
  bottom: 130px;
  right: 10px;
  z-index: 99999;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
}

.dark-mode {
  background-color: #000 !important;
  color: #fff;
}

.dark-mode a {
  color: #fff;
}

.dark-mode a:visited {
  color: #999;
}

.dark-mode .snsShareArea a:visited {
    color: #fff;
}

.dark-mode .snsFollowArea a:visited {
    color: #fff;
}

.dark-mode .article-list:hover {
  background-color: #606060;
}

.dark-mode h1 {
  color: #fff ;
}

.dark-mode h2 {
  color: #fff ;
}

.dark-mode h3 {
  color: #fff;
}

.dark-mode h4 {
  color: #fff;
}

.dark-mode h5 {
  color: #fff;
}

.dark-mode h6 {
  color: #fff;
}

.dark-mode #site-title a {
  color: #fff;
}

.dark-mode #breadcrumb ul li a {
  color: #fff;
}

.dark-mode #breadcrumb ul li a:visited {
  color: #999;
}

.dark-mode .article-content .cat-data a {
  color: #000;
  background-color: #fff;
}

.dark-mode .article-content .article-info .article-date {
  color: #fff;
}

.dark-mode .article-content .article-info .article-update {
  color: #fff;
}

.dark-mode .article-content .article-info .article-author {
  color: #fff;
}

.dark-mode #toc {
  border: 1px solid #FFF;
}

.dark-mode .sidebar-title {
  border-bottom: 4px solid #FFF;
}


