* {
  margin: 0;
  padding: 0;
}

:root {
  --padding: 1.5rem;
  --color-black: #000;
  --color-white: #fff;
  --color-grey: #eee;
  --color-plain: #ecebe5;
  --color-aqua: #d3e2fa;
  --color-light: #efefef;
  --color-text: var(--color-black);
  --color-text-grey: var(--color-grey);
  --color-background: var(--color-white);
  --color-code-light-grey:  #cacbd1;
  --color-code-comment:     #a9aaad;
  --color-code-white:       #c5c9c6;
  --color-code-red:         #d16464;
  --color-code-orange:      #de935f;
  --color-code-yellow:      #f0c674;
  --color-code-green:       #a7bd68;
  --color-code-aqua:        #8abeb7;
  --color-code-blue:        #7e9abf;
  --color-code-purple:      #b294bb;
  --font-family-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  --font-family-mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}


/*
 :::  Page-Structure
-------------------------------------------------- */


html {
  min-height: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
img {
  width: 100%;
}
body {
  margin: 0;
  padding: 0;
  color: #000;
  background-color: #ecebe5;
  font-family: 'Open Sans', Helvetica, sans-serif;
  line-height: 1;
  font-size: 1.1rem;
}
main {
  margin: 4rem 0;
  clear: both;
  line-height: 1.8;
}

#box {
  margin: 0 auto;
  max-width: 800px;
}

.reset {
  margin: 0;
  padding: 0;
  clear: both;
}

/*
 :::  Headings
-------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-weight: normal;
  line-height: 1.3;
}
h1 {
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
  font-weight: 400;
}
h2 {
  font-size: 1.4rem;
  margin-bottom: 0.2rem;
  padding-bottom: 0.2rem; 

}
h3 {
  font-size: 1.4rem;
  margin-bottom: .2rem;
  font-weight: 400;
}
h4 {
  font-size: 1.2rem;
  margin-bottom: .5rem;
  font-weight: 500;
}
h5 {
  font-size: 0.9rem;
  margin-bottom: .5rem;
  font-weight: 700;
}
h6 {
  font-size: 0.8rem;
  margin-bottom: .5rem;
  font-weight: 500;
}


/*
 :::  Links
-------------------------------------------------- */
a:link,
a:visited {
  color: #766b89;
  text-decoration: none;
}
a:hover,
a:active {
  color: #FFF;
}


/*
 :::  Lists
-------------------------------------------------- */
li {
  list-style: none;
}

/*
 :::  Site-Header
-------------------------------------------------- */

.site-header {
	margin: auto;
	padding: 2rem 0;
}
.site-header a {
	color: #000;
	font-weight: 600;
	font-size: 1.2rem;
}
.site-header a:hover {
	color: #FFF;
}
.logo {
	float: left;
}
.nav-menu {
	float: right;
}

/*
 :::  ARTICLE
-------------------------------------------------- */

.note-header {
  padding: 2rem 0;
}
.note-date {
	padding: 1rem 0;
	border-bottom: 1px solid;
	color: #000;
	font-size: 110%;
	font-weight: bold;
}
.note-title {
	padding: 0;
	font-size: 2.5rem;
	font-weight: bold;
}

.note-subheading {
  color: #666;
}

.note-tags {
  display: flex;
  margin-bottom: 1.5rem;
  font-size: 85%;
}
.note-tags li {
  margin-right: .5rem;
}
.note-tags a {
  padding: .3rem .5rem;
  border: 1px solid #000;
  display: block;
  background: var(--color-black);
  color: var(--color-plain);
  border-radius: 5px;
  box-sizing:  border-box; 
}
.note-tags a:hover {
  background: var(--color-plain);
  color: var(--color-black);
  border: 1px solid #000;
}
.note-footer {
  margin-bottom: 1rem;
  padding: 2rem 0;
}

/*
  :::  Text
-------------------------------------------------- */

.text {
	line-height: 1.8rem;
}
.text p {
	margin-bottom: 1.4rem;
}

/*
 :::  Blockquotes
-------------------------------------------------- */
blockquote {
  margin: 1.5rem 0;
  padding: 1.5rem;
  font-style: italic;
  border: 1px solid #666;
  border-left: 1rem solid #666;
  background: #f4f4f4;
}
  blockquote p:last-of-type {
    margin-bottom: 0;
  }

/*
 :::  Code
-------------------------------------------------- */
.text pre {
  margin: 1rem 0 1.5rem;
  padding: 1rem 2rem;
  background: #fff;
  overflow: auto;
}
.text code {
  margin: 2rem 0;
  font-family: 'Menlo', Courier, monospace;
}
.text p code {
}

/*
 :::  Unordered Lists
-------------------------------------------------- */
.text ul {
  margin-bottom: 1.5em;
  list-style: disc inside;
}
  .text ul ul,
  .text ul ol {
    margin-bottom: 0;
    margin-left: 1.5em;
  }

/*
 :::  Ordered Lists
-------------------------------------------------- */
.text ol {
  margin-bottom: 1.5em;
  list-style: decimal inside;
}
  .text ol ul,
  .text ol ol {
    margin-bottom: 0;
    margin-left: 1.5em;
  }

/*
 :::  Description Lists [Markdown extra feature]
-------------------------------------------------- */
.text dl {
  margin-bottom: 1.5em;
}
  .text dt {
    margin-top: 1em;
    font-weight: 700;
    font-size: 1.1em;
  }
  .text dd {
    margin-left: 2em;
  }
/*
  :::  Tables [Markdown extra feature]
-------------------------------------------------- */
.text table {
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 2rem;
}
  .text table th,
  .text table td {
    padding: .5rem 1rem;
    background-color: #eee;
    border: 2px solid #fff;
  }
  .text table th {
    background-color: #ddd;
  }

/*
 :::  Media
-------------------------------------------------- */
.video,
.img {
  position: relative;
  display: block;
  --w: 1;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  background: var(--color-black);
  margin: 2rem 0 0;
}
.img img,
.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.img[data-contain] img {
  object-fit: contain;
}
.img-caption,
.video-caption {
  padding: 0.2rem 0 2em;
  line-height: 1.5em;
}

/*
 :::  Fluid video ratio via Kirbytext
-------------------------------------------------- */
.map {
  --w: 2;
  --h: 1;
  padding-bottom: calc(100% / var(--w) * var(--h));
  position: relative;
  overflow: hidden;
  background: var(--color-black);
}
.map iframe {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.margin-s {
  margin-bottom: .75rem;
}
.margin-m {
  margin-bottom: 1.5rem;
}
.margin-l {
  margin-bottom: 3rem;
}
.margin-xl {
  margin-bottom: 4.5rem;
}
.margin-xxl {
  margin-bottom: 6rem;
}

/*
 :::  Pagination
-------------------------------------------------- */
.pagination {
  display: flex;
  padding-top: 6rem;
}
.pagination > span {
  color: var(--color-text-grey);
}
.pagination > * {
  padding: .5rem;
  width: 3rem;
  text-align: center;
  border: 2px solid currentColor;
  margin-right: 1.5rem;
}
.pagination > a:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}


/*
 :::  home.php
-------------------------------------------------- */


.lists li {
    padding-bottom: 0.8rem;
    border-top: 2px dotted #000;
}

.lists h1 {
    margin-top: 1rem;
    font-weight: 400;
}
.lists a {
    margin-left: 0.3rem;
}
.blog-link {
	padding: 0.5em;
	text-align: right;
	border-top: 2px dotted #000;
	font-size: 1.1em;
}
/*
 :::  note.php
-------------------------------------------------- */
.lists h5
 {
	margin: 0.8rem 0 0;
	color: #999;
}

/*
 :::  Buttons
-------------------------------------------------- */

/*
 :::  一覧リスト
-------------------------------------------------- */


/*
 :::  Menu
-------------------------------------------------- */


/*
 :::  Site footer
-------------------------------------------------- */



/*
 :::  InputForm
-------------------------------------------------- */



