@import url(/ligaturesymbols/style.css);
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Mono&display=swap');

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-padding: 130px;
}

body {
  background-color: #fafafa;
  display: flex;
  flex-direction: column;
  font-family: 'Noto Sans JP','Helvetica Neue',Arial,'Hiragino Sans','Hiragino Kaku Gothic ProN','BIZ UDPGothic',Meiryo,sans-serif;
;
  font-size: 1.1rem;
  line-height: 1.7;
  padding: 0;
  margin: 0;
  min-height: 100vh;
}

header {
  background-color: #fafafa;
  border-bottom: 2px solid #ec95ae;
  margin-bottom: 2rem;
  padding-top: 10px;
  position: sticky;
  top: 0;
  z-index: 10;
}

footer {
  border-top: 2px solid #ec95ae;
  background-color: #e4e4e4;
  padding: 1em 0;
  margin-top: auto;
  text-align: center;
}

main.post {
  margin: 0 auto;
  width: 900px;
  max-width: 100%;
}

/* link 
============================================================================================ */
a {
	outline: none;
}
a:link, a:visited {
	color: #000;
}
a:hover, a:active {
	color: #c62f5a;
	text-decoration: underline;
}

/* headline 
============================================================================================ */
h1,h2,h3,h4,h5,h6 {
  margin: 0;
  line-height: 1.4;
}

/* table 
============================================================================================ */
table {
  border-collapse: collapse;
  border-spacing: 0;
  margin-top: .5rem;
  width: auto;
 }
 caption {
  font-size: 120%;
  font-weight: bold;
  text-align: left;
 }
 th, td {
 border: 1px #a7a7a7 solid;
 padding: 3px .5em;
 }
 th {
  background: #e2e2e2;
  font-weight: normal;
 }
 table ul,
 table dl {
  margin: 0;
 }
 
.table-fit table {
  width: auto;
}
.table-small table {
  font-size: 1rem;
}
th, td {
  word-wrap: break-word;
}


 /* images 
============================================================================================ */
 .imgFL {
  border: none;
  float: left;
  margin-right: 10px;
 }
 
 /* List 
============================================================================================ */
ul {
	padding-left: 1.5rem;
}
ol {
  padding-left: 1.5rem;
  line-height: 2rem;
}
/* dl 
============================================================================================ */
dt {
  font-weight: bold;
 }
dd {
  margin-left: 2rem;
} 
 /* text
============================================================================================ */
em {
  font-style: normal;
  font-weight: bold;
 }
strong {
  background: linear-gradient(transparent 55%, #ffeaea 55%);
}
 
blockquote {
  background-color: #ebebeb;
  border-left: 5px #525252 solid;
  font-style: italic;
  padding: .5rem 1rem;
  margin: 2rem 1rem;
}
blockquote p {
  margin: 0;
}

code {
  background: #e5e5e5;
  border-radius: 5px;
  display: inline-block;
  font-family: "Noto Sans Mono", monospace;
  font-size: .95rem;
  padding: 0 .2em;
  letter-spacing: 1px;
}
pre code {
  background-color: #000;
  border-radius: 5px;
  color: #fff;
  display: block;
  padding: 0;
}
pre {
  background-color: #000;
  border-radius: 5px;
  white-space: pre;
  padding: 1.5rem 1rem;
  margin: 0.5rem 0 1rem;
  overflow-x: auto;
}

.code-box {
  border: 3px #ccc solid;
  height: 30em;
  overflow: auto;
  padding: 0 0 0 1em;
  margin-bottom: 2em;
}
.code-box code {
  background: none;
  display: inline;
  color: #333;
  padding: 0;
}
 
.flow {
  font-weight: bold;
}

.attention {
  background: #fff;
  border: 4px dotted #ff5f5f;
  padding: .5em;
}

.info {
  background: #fff;
  border: 4px dotted #15b5ff;
  padding: .5em;
}
kbd {
  background-color: #f1f1f1;
  background-image: -webkit-linear-gradient(bottom, #fefefe, #f1f1f1);
  background-image: linear-gradient(to top, #fefefe, #f1f1f1);
  border: 1px #bdbdbd solid;
  border-radius: 6px;
  box-shadow: 0 1px 0 #c7c7c7;
  font-family: Consols, Cascadia Mono;
  font-size: 1rem;
  margin: 0 0.2rem;
  padding: 0 0.5em;
}
samp {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}
 
.music-list_Box img {
  margin: 0;
}
ul.music-list {
  margin: 0px;
  padding: 0;
}
ul.music-list li {
  list-style: none;
}
 
.music-title { font-size: 110%; }
.music-album { font-size: 80%; }
.music-artist { font-size: 90%; }
.music-release { font-size: 90%; }
.music-audio { margin-top: 5px; }
 
.music-list_Box {
  display: flex;
  display: -ms-flexbox;
  flex: 1;
  -ms-flex: 1;
  margin-top: 1rem;
}
div.music-image {
  width: 250px;
}
 
hr {
  border: none;
  border-top: 1px #bbb dashed;
  border-bottom: 1px #fff dashed;
  margin: 2em 0;
}

cite {
  font-style: normal;
  font-weight: bold;
}

/* pagination
============================================================================================ */

/* Pagination (Listpage) */
.pagination {
	box-shadow: 0 -10px 10px -10px #ccc;
	-webkit-box-shadow: 0 -10px 10px -10px #ccc;
  padding: 10px;
  text-align: center;
  margin: 50px auto;
  width: 100%;
}
.page-item {
  display: inline-block;
  list-style: none;
  margin: 0;
}
.page-item a.page-link:hover,
.page-item a.page-link:active {
	background: #c62f5a;
	border-color: #fefefe;
	color: #ffffff;
}
.pagination .active a,
.pagination .active a:hover {
  border: #e5e5e5 1px solid;
	background: #e5e5e5;
	color: #000;
  font-weight: bold;
}

.pagination .disabled a,
.pagination .disabled a:hover {
  border: #e5e5e5 1px solid;
	background: none;
	color: #aaa;
}

.page-item a.page-link {
  border: #e5e5e5 1px solid;
  display: block;
  text-decoration: none;
  padding: 5px 0;
  width: 2.5em;
}

 /* #metadata style
============================================================================================ */
#metadata-list {
  color: #3c3c3c;
  display: flex;
  flex-wrap: wrap;
  font-size: .9rem;
  padding: 0;
  margin: 0;
}
#metadata-list a {
  text-decoration: none;
}

#metadata-list li {
  display: block;
  margin-right: 1rem;
  list-style: none;
}


 /* Table Of Contents
============================================================================================ */
#toc {
  background-color: #fefefe;
  border: #e7e7e7 solid 2px;
  font-size: 1rem;
  margin: 0 auto;
  position: relative;
}
#toc li {
  list-style: square;
}

nav#TableOfContents {
  padding: 0 1rem;
  line-height: 2rem;
  margin-top: -1rem;
  height: auto;
}
nav#TableOfContents a {
  display: inline-block;
  text-decoration: none;
  vertical-align: top;
}
nav#TableOfContents a:hover,
nav#TableOfContents a:active {
  text-decoration: underline;
}
nav#TableOfContents ul ul {
  border-left: 1px solid #aaa;
  padding-left: 2em;
  margin-left: 0;
}

.toggle{
    display: none;
}
.toc-label {
  cursor :pointer;
  display: block;
  padding: .5rem 0;
  padding-left: 1rem;
}
.toc-label::before {
  content: "dropdown";
  display: inline-block;
  margin-right: .5rem;
  transform: rotate(-90deg);
}
.accordion {
  overflow: hidden;
  height: 0;
}
.toggle:checked + .toc-label + .accordion { 
  height: auto;
}
.toggle + .toc-label::before { 
  transform: rotate(-90deg);
}
.toggle:checked + .toc-label::before { 
  transform: rotate(0deg);
}

/*
===============================================================================================
.google-search style
===============================================================================================
*/
.google-search {
  margin-top: 5px;
  width: 300px;
}
.google-search table,
.google-search th,
.google-search td {
	border: none;
	padding: 0;
	margin: 0;
}
.gsc-control-cse {
	background: none;
	border: none;
  padding: 5px !important;
}

/*
===============================================================================================
header style
===============================================================================================
*/
.site-header {
  width: 900px;
  margin: 0 auto;
}
.site-header h1 {
  float: left;
}

/* hamburger menu  ==========================================  */
.menu-check-btn {
  display: none;
}

.nav_content {
  font-size: 1rem;
  float: right;
}
.nav_content .google-search {
  margin: 0 0  0 auto;
}

.nav_list {
  display: flex;
  justify-content: flex-end;
  padding: 0;
}
.nav_list li {
  list-style: none;
}
.nav_list a {
  display: block;
  padding: .5em 1em;
  text-decoration: none;
}
.nav_list a:hover,
.nav_list a:hover:active {
    background-color: #ebebeb;
    border-radius: 5px;
}

/*
===============================================================================================
Post List style
===============================================================================================
*/
section {
  margin: 1rem 0 1rem;
  padding: .5rem;
}
section h2 {
  font-size: 1.5rem;
  margin: 0;
}
section p {
  color: #555;
  font-size: 1rem;
  margin: .5rem 0;
}
section .post-date {
  color: #555;
  font-size: .9rem;
  margin: 0;
}


/*
===============================================================================================
Term List style
===============================================================================================
*/

.term-list {
  column-count: 2;
  column-gap: 1em;
}

.term-list li {
  list-style: none;
  margin-bottom: .5em;
}

/*
===============================================================================================
Post style
===============================================================================================
*/
article .header {
  margin-bottom: 2rem;
}

article .post-date {
  font-size: .9rem;
}

article .tag-list  {
  justify-content: flex-end;
}

article {
  margin-bottom: 5rem;
}

article h1,
  .term-title {
/*  background-color: #ebebeb;*/
  font-size: 2rem;
  margin-bottom: .5rem;
  padding: 1rem;
  padding-left: 0;
}

article h2 {
/*  border-bottom: 5px solid #f4cbcb;*/
  background: #f7dcdc;
  border-radius: 5px;
  font-size: 1.6rem;
  padding: .5em;
  margin-top: 2em;
}
article h3 {
  border-bottom: 5px solid #f4cbcb;
  padding: 1em 0 .5rem 0;
  font-size: 1.4rem;
  margin-top: 1em;
}
article h4 {
  font-size: 1.2rem;
  margin-top: 2rem;
}

article a {
  text-decoration: underline;
}
article .link span {
  background-color: #d9d9d9;
  border-radius: 3px;
  display: inline-block;
  font-size: 0.8rem;
  font-weight: bold;
  padding: .2em;
  margin-right: .5em;
}

article img {
  border: 3px #ccc solid;
  display: block;
  margin-top: .5rem;
  margin-bottom: 2rem;
  max-width: 100%;
}
article img.nb {
  border: none;  
}

article table {
  background: #fefefe;
}
article table img {
  border: none;
  display: inline;
  margin: 0;
  vertical-align: middle;
}


/* Post-moreLink
============================================================================================ */
a.post-morelink {
  font-weight: bold;
  text-decoration: none;
}


/* Post-pagenavi
============================================================================================ */
.post-pagenavi {
  box-shadow: 0 -10px 10px -10px #ccc;
  -webkit-box-shadow: 0 -10px 10px -10px #ccc;
  font-size: 90%;
  list-style: none;
  margin: 40px 0 50px;
  padding: 10px 0 0;
}
.post-pagenavi .post-prev {
  text-align: right;
}

/* Post-share
============================================================================================ */
ul.post-share {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(auto-fit, minmax(8em, 1fr));
}
ul.post-share li {
	list-style: none;
}
ul.post-share a {
	border-radius: 6px;
	color: #fff;
	display: inline-block;
	padding: 5px;
	text-decoration: none;
	text-align: center;
	width: 8em;
}
ul.post-share a.twitter {
	background-color: #55acee;
}
ul.post-share a.facebook {
	background-color: #315096;
}
ul.post-share a.hatena {
	background-color: #008fde;
}
ul.post-share a.pocket {
	background-color: #ee4257;
}

/* G-ad
============================================================================================ */
.g-ad {
	box-shadow: 0 -10px 10px -10px #ccc;
	-webkit-box-shadow: 0 -10px 10px -10px #ccc;
  margin-bottom: 3em;
}

/*
===============================================================================================
Ligaturesymbols/style.css
===============================================================================================
*/
#menu .arrow::before {
  content: "dropdown";
  margin-right: 5px;
}

h1.categories:before,
  li.categories:before {
  content: "folder";
  margin-right: .2rem;
}
h1.tags:before,
  li.tags:before {
  content: "tag";
  margin-right: .2rem;
}
h1.categories:before,
h1.tags:before {
  margin-right: .5rem;
}

.post-share h3:before {
	content: "sns";
	margin-right: 10px;
}

.post-related h3:before {
	content: "list";
	margin-right: 10px;
}


/*
===============================================================================================
footer style
===============================================================================================
*/
ul.page-link {
  background: #fefefe;
  border: 1px #e5e5e5 solid;
  border-radius: 10px;
  padding: 0;
  position: fixed;
  right: 0;
  top:50%;
}
.page-link li {
  list-style: none;
  font-size: 1.5rem;
}
.page-link li a {
  display: block;
  text-decoration: none;
  padding: 0 15px;
}

/*
===============================================================================================
Display size
===============================================================================================
*/

@media screen and (max-width:900px) { /*800px以下*/
  html {
    scroll-padding: 80px;
    font-size: 15px;
  }
  section {
    margin: 1rem 1rem;
  }
  .term-title {
    margin: 0 2rem;
  }
  article {
    padding: 0 2rem;
  }
  aside.article {
    padding: 0 1rem;
  }
  .site-header {
    display: flex;
    justify-content: space-between;
    width: 100%;
  }
  .site-header h1 {
    float: none;
  }
/* hamburger menu  ==========================================  */
  .menu-open {
    align-items: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    position: relative;
    height: 60px;
    width: 60px;
    z-index: 100;
  }

  .menu-open span,
  .menu-open span:before,
  .menu-open span:after {
    content: '';
    display: block;
    border-radius: 3px;
    background: #000;
    transition: 0.5s;
    position: absolute;
    height: 3px;
    width: 25px;
  }
  .menu-open span:before {
    bottom: 8px;
  }
  .menu-open span:after {
    top: 8px;
  }

  #menu_btn:checked ~ .menu-open span {
    background: rgba(255, 255, 255, 0);
  }
  #menu_btn:checked ~ .menu-open span::before {
    bottom: 0;
    transform: rotate(45deg);
  }
  #menu_btn:checked ~ .menu-open span::after {
    top: 0;
    transform: rotate(-45deg);
  }
    
  .nav_content {
    background: #fff;
    border-radius: 15px;
    font-size: 1.1rem;
    transition: .5s;
    padding: 1rem;
    position: fixed;
    top: 75px;
    right: -100%; /* menu hidden */
    width: 60%;
    height: auto;
    z-index: 99;
  }
  .nav_content .google-search {
    margin: 0;
    width: 95%;
  }
  .nav_list {
    display: block;
  }
  .nav_list li {
    margin: 1rem 0;
  }

  #menu_btn:checked ~ .nav_content {
    right: 0;/* menu insert */
  }

  ul.page-link {
    position: fixed;
    right: 0;
    top: 70%;
  }
}
