*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box
}

:where([hidden]:not([hidden='until-found'])) {
  display: none !important
}

:where(html) {
  -webkit-text-size-adjust: none;
  color-scheme: dark light
}

@supports not (min-block-size:100dvb) {
  :where(html) {
    block-size: 100%
  }
}

@media (prefers-reduced-motion:no-preference) {
  :where(html:focus-within) {
    scroll-behavior: smooth
  }
}

:where(body) {
  block-size: 100%;
  block-size: 100dvb;
  line-height: 1.5;
  font-family: system-ui, sans-serif;
  -webkit-font-smoothing: antialiased
}

:where(input, button, textarea, select) {
  font: inherit;
  color: inherit
}

:where(textarea) {
  resize: vertical;
  resize: block
}

:where(button, label, select, summary, [role='button'], [role='option']) {
  cursor: pointer
}

:where(:disabled) {
  cursor: not-allowed
}

:where(label:has(>input:disabled), label:has(+input:disabled)) {
  cursor: not-allowed
}

:where(button) {
  border-style: solid
}

/*:where(a) {
  text-underline-offset: .2ex
}*/

:where(ul, ol) {
  list-style: none
}

:where(img, svg, video, canvas, audio, iframe, embed, object) {
  display: block
}

:where(img, picture, svg) {
  max-inline-size: 100%;
  block-size: auto
}

:where(p, h1, h2, h3, h4, h5, h6) {
  overflow-wrap: break-word
}

:where(h1, h2, h3) {
  line-height: calc(1em + 0.5rem)
}

:where(hr) {
  border: none;
  border-block-start: 1px solid;
  color: inherit;
  block-size: 0;
  overflow: visible
}

:where(:focus-visible) {
  outline: 2px solid var(--focus-color, Highlight);
  outline-offset: 2px
}

:where(.visually-hidden:not(:focus, :active, :focus-within, .not-visually-hidden)) {
  clip-path: inset(50%) !important;
  height: 1px !important;
  width: 1px !important;
  overflow: hidden !important;
  position: absolute !important;
  white-space: nowrap !important;
  border: 0 !important
}

/**/

html {
  overflow: auto;
  overflow-y: scroll;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body * {
  box-sizing: border-box;
}

body {
  font-size: 16px;
  font-family: "Noto Sans JP", "Helvetica Neue", Helvetica, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", Arial, Meiryo, sans-serif;
  font-weight: normal;
  line-height: 1.625;
  letter-spacing: 0.01px;
  background-color: #eee;
  color: #333;
  overflow-wrap: anywhere;
  word-break: normal;
  line-break: strict;
}

ul,
ol,
li {
  list-style: none;
}

h1 {
  font-size: 28px;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

strong {
  font-weight: 900;
}

.color-dummy {
  color: #c06; /**/
  color: #cc6600;
  color: #66cc00; /**/
  color: #00cc66;
  color: #0066cc; /**/
}

a {
  text-decoration: none;
  color: #c06;
}

a:hover {
  color: #c06;
}

div.clear {
  float: none;
  clear: both;
}

/*****************************************
 * ヘッダーエリア
 *****************************************/
#header {
  position: relative;
  display: table;
  width: 980px;
  margin-inline: auto;
  background-color: #fff;
  padding-inline: 5px;
}

#header .logo {
  padding-top: 10px;
  font-weight: bold;
  line-height: 16px;
}

#header .logo img {
  display: inline-block;
  width: calc(620px * 0.4);
  height: calc(120px * 0.4);
  object-fit: contain;
}

/*****************************************
 * メインエリア
 *****************************************/
#page-wrap {
  max-width: 980px;
  margin-inline: auto;
  background-color: #fff;
}

#page {
  width: 980px;
  margin-inline: auto;
}

#main {
  width: 670px;
  float: left;
  padding-inline: 5px;
  margin-bottom: 64px;
}

/* カテゴリ */
.meta .category a,
.text .category span {
  display: inline-block;
  font-size: 12px;
  padding: 1px 4px 0px 4px;
  color: #c06;
  border: 1px solid #c06;
  margin-right: 3px;
}

.meta .category a:hover {
  background: #c06;
  color: #fff;
}

/* タグ */
.meta .tag a {
  display: inline-block;
  font-size: 12px;
  padding: 1px 4px 0px 4px;
  background: #06c;
  color: #fff;
  border: 1px dotted #06c;
  margin-right: 3px;
}

.meta .tag a:hover {
  background: #fff;
  color: #06c;
}

/* 更新日 */
.published {
  font-size: 12px;
}


/*****************************************
 * サイドバー
 *****************************************/
#side {
  width: 280px;
  margin: 0 30px 64px 0;
  padding-inline: 5px;
  float: right;
}

/* 見出し */
#side h3 {
	border-bottom: dotted 2px #c06;
	padding-bottom: 2px;
  margin-bottom: 24px;
}
#side h3:first-letter { 
	color: #c06;
  font-size: 24px;
}

/* タグクラウド */
.wp-tag-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.wp-tag-cloud li {
  padding: 0px 2px 0px 2px;
  flex-basis: auto;
  flex-grow: 1;
}

a.tag-cloud-link {
  text-decoration: none;
  color: #333;
  display: inline-block;
  padding: 2px 6px;
  margin-bottom: 4px;
  border: 1px dotted #333;
  width: 100%;
}

a.tag-cloud-link:hover {
  background: #06c;
  border: 1px solid #06c;
  color: #fff;
}

a.tag-cloud-link:before {
  content: "#";
}


/*****************************************
 * フッターエリア
 *****************************************/
#footer {
  background-color: #000;
  width: 980px;
  margin-inline: auto;
  padding-top: 16px;
  padding-bottom: 64px;
}

/* フッターウィジェット */
#footer .widget,
#footer nav,
#footer .logo {
  margin-bottom: 16px;
  margin-inline: 30px;
  color: #9b9b9b;
  font-size: 14px;
}

#footer .widget a,
#footer nav a {
  color: #9b9b9b;
  text-decoration: none;
}

#footer .widget a:hover,
#footer nav a:hover {
  color: #c06;
}

#footer nav ul {
  display: flex;
}

#footer nav ul li {
  margin-right: 16px;
}

#footer .widget li {
  margin: 0;
}

#footer .logo img {
  width: 155px;
  height: 30px;
  object-fit: contain;
}

/* コピーライト */
#footer div.copyrights {
  margin-top: 32px;
}

#footer div.copyrights p {
  text-align: center;
  font-size: 12px;
  color: #9b9b9b;
}

/*****************************************
 * 投稿・固定ページ
 *****************************************/

#single,
#notfound,
#related-article {
  margin-inline: 30px;
}

#single .meta {
  margin-bottom: 12px;
  text-align: right;
}

#single .eyecatch {
  margin-bottom: 24px;
}

/* SNSアイコン */
.sns img {
  display: inline-block;
  width: 24px;
  height: auto;
  object-fit: contain;
  vertical-align: bottom;
}

/* 記事タイトル */
#single h1 {
  margin-bottom: 16px;
}

#single h1 a {
  color: #c06;
}

/* 記事見出し(H2) */
#single h2,
#related-article h2,
#notfound h2 {
	border-bottom: solid 2px #c06;
  padding-top: 48px;              /*アンカーリンク位置調整*/
	padding-bottom: 2px;
  margin-top: calc(16px - 48px);  /*アンカーリンク位置調整*/
  margin-bottom: 24px;
}

#single h2:first-letter,
#related-article h2:first-letter,
#notfound h2:first-letter {
	color: #c06;
  font-size: 28px;
}

/* 記事見出し(H3) */
#single h3,
#notfound h3 {
	border-bottom: dotted 2px #c06;
  padding-top: 48px;              /*アンカーリンク位置調整*/
	padding-bottom: 2px;
  margin-left: 16px;
  margin-top: calc(16px - 48px);  /*アンカーリンク位置調整*/
  margin-bottom: 24px;
}

#single h3:first-letter,
#notfound h3:first-letter {
	color: #c06;
  font-size: 24px;
}

#single h4 {
  margin-left: 16px;
}

#single p,
#notfound p {
  text-align: justify;
  margin-left: 32px;
  margin-bottom: 24px;
}

#single p.notice{
  font-size: 12px;
  background-color: #eee;
  padding: 8px 16px;
}

#single div.sponsoredimg {
  display: grid;
  place-content: center;
  margin-bottom: 24px;
}

#single p.icon img{
  display: inline;
  vertical-align: middle;
}

/* リスト */
#single ul {
  margin: 0 0 24px 46px;
}

#single li {
  list-style: disc;
}

/* テーブル */
#single table{
  min-width: 600px;
  width: 600px !important;
  overflow-x: auto;
}

#single thead {
  border-bottom: 1px solid #ccc;
}
#single th {
  text-align: center;
  background-color: #ddd;
}

#single td,
#single th {
  font-size: 14px;
  padding: 8px 8px;
  border: 1px solid #ccc;
}

#single td:nth-of-type(1) {
  background-color: #ddd;
}
.scroll {
  overflow: auto;
  white-space: nowrap;
}

#single .has-text-align-right{
  text-align: right;
}

/*****************************************
 * 記事一覧
 *****************************************/

/* カテゴリ見出し */
#main h1.category{
  margin: 24px 30px 24px 30px;
  padding-bottom: 8px;
  border-bottom: 2px solid #c06;
}

#main h2.category{
  margin: 24px 30px 8px 30px;
  padding-bottom: 8px;
  border-bottom: 2px dotted #c06;
}

#main h1.category a,
#main h2.category a {
  color: #c06;
}

/* カテゴリ別記事一覧 */
ul.list {
  margin: 0 0 12px 0;
}

ul.list .item {
  margin: 0;
  background-color: #fff;
  padding: 5px 0 5px 0;
  border-bottom: #f2f2f2 5px solid;
}

ul.list .body {
  display: table;
  width: 100%;
}

ul.list .body>div {
  display: table-cell;
  vertical-align: top;
}

ul.list .tumb {
  float: left;
  margin-right: 20px;
  width: 100px;
  overflow: hidden;
  text-align: center;
}

ul.list .tumb p {
  margin: 0;
}

ul.list .tumb img {
  max-width: 100px;
  max-height:100px;
}

ul.list .text {
  padding-right: 15px;
  width: 100%;
  margin-top: 14px;
  overflow: hidden;
  position: relative;
}

ul.list .category {
  margin: 3px 0 6px;
  font-size: 12px;
}

ul.list .title {
  margin: 0 0 5px;
  font-weight: bold;
  line-height: 20px;
  font-size: 18px;
  clear: both;
}

ul.list .title a {
  color: #333;
  text-decoration: none;
}

ul.list .title a:hover {
  color: #c06;
}

ul.list .published {
  margin: 0 0 5px;
  display: block;
  float: right;
  font-size: 12px;
  line-height: 16px;
  position: relative;
}

.noposts{
  margin: 32px 0 32px 32px;
}

/*****************************************
 * グローバルメニュー
 *****************************************/

/* ナビゲーション */
nav.header-menu {
  background: #000;
  color: #fff;
  text-align: center;
  width: 285px;
  margin-left: auto;
  margin-right: 30px;
  position: absolute;
  z-index: 9999;
  right: 5px;
  top: 64px;
  display: none;
}

nav.header-menu.active {
  display: block;
}

nav.header-menu ul {
  position: relative;
  list-style: none;
  /*display: flex;*/
  display: block;
  justify-content: center;
}

nav.header-menu li.main-menu-item {
  position: relative;
  
  a { text-decoration: none; }

  [data-toggle="dropdown"] {
    display: block;

    &:before {
      position: absolute;
      display: block;
      content: '\25BC';
      font-size: 0.7em;
      color: #fff;
      top: 13px;
      right: 10px;
      transform:rotate(0deg);
      transition:transform .6s;
    }
  }

  & > .sub-menu {
    max-height: 0;
    overflow: hidden;

    li {
      padding: 0;

      a {
        display: block;
      }
    }
  }
  
  & > input[type="checkbox"] {
    opacity: 0;
    z-index: 2;
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
  
    &:checked ~ .sub-menu {
      max-height: 9999px;
      display: block;
      transform:scaleY(1);
      /*transition: max-height 2s ease-in-out;*/
    }
    
    &:checked + a[data-toggle="dropdown"] {
      &:before {
        transform:rotate(-180deg);
        transition: transform .6s;
      }
    }
  }
}

nav.header-menu li.main-menu-item a {
  position: relative;
  display: block;
  text-align: left;
  text-decoration: none;
  color: #fff;
  padding: 10px 30px;
  border-bottom: 1px solid #ccc;
}

/* 2層目 */
nav.header-menu ul.sub-menu {
  display: block;
  height: auto;
  z-index: 2;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  background: #06c;
  width: 100%;
}

nav.header-menu li.sub-menu-item {
  flex: 0 0 25%;
  width: 100%;
  text-align: left;
}

nav.header-menu li.sub-menu-item a {
  padding: 0;
  color: #fff;
}

nav.header-menu li.sub-menu-item a:hover,
nav.header-menu li.sub-menu-item a:active {
  color: #fff;
  background: #c06;
}

nav.header-menu li.sub-menu-item dl {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav.header-menu li.sub-menu-item dt {
  overflow: hidden;
  width: 32px;
  height: auto;
  margin: 0 8px;
}

nav.header-menu li.sub-menu-item dd {
  width: auto;
  flex: 1;
}

nav.header-menu li.sub-menu-item img.icon {
  max-width: 100%;
  width: 48px;
  height: 48px;
  margin: auto;
  vertical-align: bottom;
}

/* ボタン */
.openbtn {
  position: relative;
  z-index: 9999;
  background: #c06;
  cursor: pointer;
  width: 48px;
  height: 48px;
  border-radius: 5px;
  float: right;
  top: -50px;
  right: 30px;
}

.openbtn span {
  display: inline-block;
  transition: all .4s;
  position: absolute;
  left: 12px;
  height: 2px;
  border-radius: 2px;
  background-color: #fff;
  width: 50%;
}

/* ボタン（ハンバーガー） */
.openbtn span:nth-of-type(1) { top: 15px; }
.openbtn span:nth-of-type(2) { top: 23px; }
.openbtn span:nth-of-type(3) { top: 31px; }

.openbtn > input[type="checkbox"] {
  opacity: 0;
  z-index: 2;
  display: block;
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;

  /*ハンバーガーアイコンクリック時*/
  /*閉じるボタン*/
  &:checked ~ span:nth-of-type(1) {
    top: 17px;
    left: 13px;
    transform: translateY(6px) rotate(-45deg);
    width: 50%;
  }
  
  &:checked ~ span:nth-of-type(2) {
    opacity: 0;
  }
  
  &:checked ~ span:nth-of-type(3) {
    top: 29px;
    left: 13px;
    transform: translateY(-6px) rotate(45deg);
    width: 50%;
  }
}

/*****************************************
 * ページネーション
 *****************************************/
.pagination-last,
.pagination-first,
.pagination-next,
.pagination-prev,
.pagination-item a,
.pagination-item-current {
  box-sizing: border-box;
  display: block;
  color: #c06;
  text-decoration: none;
  text-align: center;
  background-color: #fff;
  border-right: 1px solid #c06;
  min-width: 3em;
  transition: all 0.2s;
  margin: 0;
  padding: 1em;
}

.pagination-last:hover,
.pagination-first:hover,
.pagination-next:hover,
.pagination-prev:hover,
.pagination-item a:hover,
.pagination-item-current:hover {
  color: #fff;
  background-color: #c06;
}

.pagination {
  background-color: #fff;
  width: fit-content;
  display: flex;
  justify-content: center;
  line-height: 1;
  margin-inline: auto;
  margin-block: 16px;
  padding: 0 1em;
}

.pagination-list {
  display: none;
}

.pagination-pos {
  order: 2;
  color: #c06;
  border-right: 1px solid #c06;
  margin: 0;
  padding: 1em;
}

.pagination-prev {
  order: 1;
}

.pagination-next {
  order: 3;
  border: none;
}

.pagination-first {
  display: none;
}

.pagination-last {
  display: none;
}

/* 520px以上（980px未満） */
@media (min-width: 520px) {
  .pagination-list {
    order: 2;
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .pagination-item {
    margin: 0;
  }

  .pagination-item-current {
    background-color: #c06;
    color: #fff;
    font-weight: bold;
  }

  .pagination-pos {
    display: none;
  }
}

/* 980px以上 */
@media (min-width: 980px) {
  .pagination .pagination-list {
    order: 3;
  }

  .pagination .pagination-prev {
    order: 2;
  }

  .pagination .pagination-next {
    order: 4;
    border-right: 0;
  }

  .pagination .pagination-first {
    order: 1;
    display: block;
  }

  .pagination .pagination-last {
    order: 5;
    display: block;
    border: none;
  }
}

/*****************************************
 * 記事内改ページ
 *****************************************/
a.post-page-numbers{
  box-sizing: border-box;
  display: block;
  color: #c06;
  text-decoration: none;
  text-align: center;
  background-color: #fff;
  border: 1px solid #c06;
  width: 150px;
  margin: 0;
  padding: 16px;
}

a.post-page-numbers:hover{
  background-color: #c06;
  color: #fff;
}

/*****************************************
 * ブログカード
 *****************************************/
.blogcard {
  border: 2px dotted #ccc;
  border-radius: 8px;
  margin: 0 0 24px 32px;
}

.blogcard:hover {
  border: 2px dotted #c06;
}

.blogcard a {
  text-decoration: none;
  color: #333;
}

.blogcard a:hover {
  color: inherit;
}

.blogcard-content {
  overflow: hidden;
  padding: 12px;
}

/* OGP画像 */
.blogcard-image {
  float: left;
  margin-right: 8px;
}

.blogcard-image img {
  height: auto;
  width: 100px;
  object-fit: cover;
}

/* 記事タイトル */
.blogcard-title {
  font-size: 18px;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 12px;
}

/* 抜粋・記事内容 */
.blogcard-excerpt {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 12px;
}

/* フッター */
.blogcard-footer {
  font-size: 14px;
	text-align: right;
}

.blogcard-footer img {
  margin-right: 5px;
  vertical-align: middle;
  border-radius: 2px;
  padding: 0;
  display: inline;
}

/*****************************************
 * ページトップボタン
 *****************************************/

#page-top a {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  border: 2px solid #ccc;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  color: #333;
  text-align: center;
  font-size: 10px;
}

/*****************************************
 * パンくずリスト
 *****************************************/
ul.breadcrumb {
  list-style: none;
  font-size: 14px;
  margin-block: 8px;
}

ul.breadcrumb li {
  display: inline;
  vertical-align: middle;
}

ul.breadcrumb li a {
  color: inherit;
  text-decoration: none;
  vertical-align: middle;
}

ul.breadcrumb li a:hover {
  color: #c06;
}

ul.breadcrumb li+li:before {
  content: " >";
  margin-right: 5px;
  vertical-align: middle;
}

ul.breadcrumb .icon {
  display: inline;
  vertical-align: middle;
  margin-right: 2px;
  width: 24px;
  height: auto;
  object-fit: contain;
}

/*****************************************
 * 目次
 *****************************************/
#toc {
  color: #333;
  line-height: 1.25;
  border: 2px dotted #ccc;
  border-radius: 8px;
  padding: 16px 16px 4px 16px;
  margin-bottom: 24px;
}

/* 目次タイトル */
#toc .toc-title {
  margin-left: 0;
  margin-bottom: 16px;
  padding-left: 36px;
  font-size: 18px;
  font-weight: bold;
  position: relative;
}

#toc .toc-title:before {
  content: '';
  display: block;
  width: 32px;
  height: 32px;
  background-image: url(../images/icon/list_alt.svg);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: -7px;
  left: 0;
}

/* 目次閉じる */
#toc .toc-toggle {
  display:none;
}

#toc ul {
  list-style: none;
  margin: 0;
}

/* 目次一覧 */

#toc li {
  font-size: 18px;
  font-weight: bold;
  list-style: none;
  margin-bottom: 12px;
  text-indent: -20px;
  padding-left: 20px;
}

#toc ul li ul {
  margin-top: 12px
}

#toc ul li ul li {
  margin-left: 0;
  font-size: 16px;
  font-weight: normal;
}

#toc ul li a {
  color: #333;
  position: relative;
  padding-left: 28px;
}

#toc ul a:hover {
  color: #c06;
}

#toc ul a:before {
  content: '';
  display: block;
  width: 24px;
  height: 24px;
  background-image: url(../images/icon/double_arrow.svg);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: -3px;
  left: 0;
}

/*****************************************
 * レスポンシブ（モバイルデバイス用）
 *****************************************/
/* 980px未満 */
@media (max-width: 979px) {
  /* ヘッダーエリア */
  #header {
    width: 670px;
  }

  #header .logo img {
    width: calc(310px * 0.6);
    height: calc(60px * 0.6);
    max-width: calc(100% - 60px);
  }

  /* ボタン */
  .openbtn {
    top: -40px;
    right: 5px;
  }

  /* ナビゲーション */
  nav.header-menu {
    margin-left: auto;
    margin-right: 0;
  }

  /* メインエリア */
  #page-wrap,
  #page,
  #main {
    width: 670px;
  }

  /* サイドバーエリア */
  #side {
    width: 605px;
    margin-inline: 30px;
  }

  /* フッターエリア */
  #footer {
    width: 670px;
  }

}
@media (max-width: 669px) {

  /* ヘッダーエリア */
  #header {
    width: 100%;
  }

  /* ナビゲーション */
  nav.header-menu {
    width: calc(100% - 10px);
  }

  /* メインエリア */
  #page-wrap,
  #page,
  #main {
    width: 100%;
  }

  /* 記事一覧タイトル */
  ul.list .title {
    font-size: 16px;
  }

  #single,
  #related-article {
    margin-inline: 5px;
  }

  /* 記事見出し(H3) */
  #single h3,
  #notfound h3 {
    margin-left: 0;
  }

  #single h4 {
    margin-left: 0;
  }

  #single p,
  #notfound p {
    margin-left: 16px;
  }

  .blogcard {
    margin: 0 0 24px 16px;
  }

  /* サイドバーエリア */
  #side {
    width: 100%;
    margin-inline: 0;
  }

  /* フッターエリア */
  #footer {
    width: 100%;
  }

  /* フッターウィジェット */
  #footer .widget,
  #footer nav,
  #footer .logo {
    margin-inline: 5px;
  }
}