/*! destyle.css v4.0.0 | MIT License | https://github.com/nicolas-cusan/destyle.css */
/* Reset box-model and set borders */
/* ============================================ */
@import url("https://fonts.googleapis.com/css2?family=Kosugi+Maru&display=swap");
*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
}

/* Document */
/* ============================================ */
/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 * 3. Remove gray overlay on links for iOS.
 */
html {
  line-height: 1.15;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -webkit-tap-highlight-color: transparent;
  /* 3*/
}

/* Sections */
/* ============================================ */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists (enumeration) */
/* ============================================ */
ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Lists (definition) */
/* ============================================ */
dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: inherit;
  /* 2 */
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  text-decoration: underline dotted;
  /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: inherit;
  /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */
/**
 * Prevent vertical alignment issues.
 */
svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */
/**
 * Reset form fields to make them styleable.
 * 1. Make form elements stylable across systems iOS especially.
 * 2. Inherit text-transform from parent.
 */
button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none;
  /* 1 */
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit;
  /* 2 */
}

/**
 * Correct cursors for clickable elements.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
  cursor: default;
}

/**
 * Improve outlines for Firefox and unify style with input elements & buttons.
 */
:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

/**
 * Remove padding
 */
option {
  padding: 0;
}

/**
 * Reset to invisible
 */
fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the outline style in Safari.
 */
[type="search"] {
  outline-offset: -2px;
  /* 1 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Fix font inheritance.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/**
 * Fix appearance for Firefox
 */
[type="number"] {
  -moz-appearance: textfield;
}

/**
 * Clickable labels
 */
label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/*
 * Remove outline for editable content.
 */
[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */
/**
1. Correct table border color inheritance in all Chrome and Safari.
*/
table {
  border-color: inherit;
  /* 1 */
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  -webkit-font-smoothing: antialiased;
}

body, h1, h2, h3, h4, h5, p, ul, ol {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

a:visited, a:hover {
  color: inherit;
}

li {
  list-style: none;
}

body {
  font-family: sans-serif;
}

.header-vertical {
  width: 245px;
  text-align: center;
  position: relative;
}
.header-vertical h1 {
  width: 100%;
  margin-top: 170px;
  text-align: center;
  font-size: 1.5rem;
  letter-spacing: .15rem;
  font-weight: 400;
}
.header-vertical h1 span {
  display: block;
  font-weight: 100;
  letter-spacing: .2rem;
}
.header-vertical h1 span:nth-child(1) {
  font-size: 1.1rem;
  margin-bottom: 3px;
}
.header-vertical h1 span:nth-child(2) {
  font-size: 1rem;
  margin-top: 5px;
}
.header-vertical .text-vertical {
  -webkit-writing-mode: vertical-lr;
  writing-mode: vertical-lr;
  text-orientation: upright;
  margin: 0 auto;
  padding-top: 100px;
}
.header-vertical .text-vertical p {
  font-size: 1.2rem;
  letter-spacing: .5rem;
}
.header-vertical footer {
  width: 180px;
  position: absolute;
  bottom: 13px;
  left: calc((245px - 180px) / 2);
  border-top: 1px solid #888;
}
.header-vertical footer p {
  font-size: 1.05rem;
  text-align: center;
  letter-spacing: .05rem;
  color: #888;
  margin-top: 12px;
}

.article-blog {
  width: 620px;
  margin: 0 auto;
  padding: 100px 0;
}
.article-blog h1 {
  font-size: 2.7rem;
  font-weight: 700;
  line-height: 3.8rem;
  margin-bottom: 10px;
}
.article-blog .eyecatch {
  margin-bottom: 18px;
}
.article-blog .article-info {
  width: 100%;
  text-align: left;
  padding-left: 5px;
  margin-bottom: 20px;
}
.article-blog h2 {
  font-size: 2.7rem;
  font-weight: 600;
  padding-top: 54px;
  margin-bottom: 18px;
}
.article-blog h3 {
  font-size: 2.7rem;
  font-weight: 600;
  padding-top: 54px;
  margin-bottom: 18px;
}
.article-blog p {
  font-size: 1.4rem;
  letter-spacing: .05rem;
  line-height: 2.5rem;
  color: #5a5a5a;
  white-space: pre-line;
  margin-bottom: 18px;
}
.article-blog .diagram img {
  width: 100%;
}
.article-blog .diagram figcaption {
  font-size: 1.2rem;
  font-weight: 300;
  text-align: center;
  margin: 16px 0;
}
.article-blog .bullet-points {
  background-color: #FCFAF2;
}
.article-blog .bullet-points ul {
  padding: 20px 18px 8px 35px;
}
.article-blog .bullet-points ul li {
  font-size: 1.4rem;
  font-weight: 500;
  color: #5a5a5a;
  letter-spacing: .05rem;
  line-height: 2rem;
  vertical-align: middle;
  margin-bottom: 10px;
  position: relative;
}
.article-blog .bullet-points ul li::before {
  content: '';
  background-color: #5a5a5a;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  position: absolute;
  top: 7.3px;
  left: -15px;
}

.tags {
  width: 620px;
  margin: 0 auto;
  margin-bottom: 50px;
}
.tags ul li {
  font-size: 1.3rem;
  line-height: 21px;
  border: 1px solid #8e8e8e;
  border-radius: 4px;
  padding: 4px 10px;
  display: inline-block;
  margin: 0 8px 8px 0;
}

.writer {
  width: 620px;
  margin: 0 auto;
  margin-bottom: 50px;
  display: flex;
}
.writer img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: yellow;
}
.writer .writer-profile {
  width: 524px;
  margin-left: 16px;
}
.writer .writer-profile p:first-child {
  font-size: 1.4rem;
  font-weight: 600;
  margin: 8px 0;
}
.writer .writer-profile p:last-child {
  font-size: 1.2rem;
  font-weight: 200;
  line-height: 2rem;
}

.related-posts {
  width: 620px;
  margin: 0 auto;
  border-top: 1px solid #8e8e8e;
  padding: 16px 0 0 5px;
}
.related-posts h2 {
  font-size: 1.5rem;
  line-height: 28px;
  letter-spacing: .05rem;
  margin-bottom: 16px;
}
.related-posts ul {
  padding-left: 18px;
}
.related-posts ul li {
  height: 28px;
  margin-top: 6px;
  font-size: 1.4rem;
  color: #5a5a5a;
  position: relative;
}
.related-posts ul li::before {
  content: '';
  background-color: #5a5a5a;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  position: absolute;
  top: 7.3px;
  left: -15px;
}

.breadcrumb {
  width: 620px;
  margin: 0 auto;
}
.breadcrumb ol {
  height: 2.8rem;
  margin-bottom: 36px;
  display: flex;
  align-items: center;
}
.breadcrumb ol li {
  list-style: none;
  font-size: 1.4rem;
}
.breadcrumb ol li:nth-child(n+2) {
  margin-left: 8px;
}
.breadcrumb ol li:nth-child(n+2)::before {
  content: '>';
  color: #5e5e5e;
  margin-right: 8px;
}

.breadcrumbs {
  margin-bottom: 36px;
}
.breadcrumbs span a {
  font-size: 1.4rem;
  line-height: 2.8rem;
  vertical-align: middle;
}
.breadcrumbs span:last-child span {
  font-size: 1.4rem;
  line-height: 2.8rem;
  vertical-align: middle;
}
.breadcrumbs span:nth-child(n+2)::before {
  content: '>';
  color: #5e5e5e;
  font-size: 1.4rem;
  line-height: 2.8rem;
  vertical-align: middle;
  margin: 0 8px;
}

.chapter-vertical {
  writing-mode: vertical-lr;
  margin: 0 auto;
}
.chapter-vertical h2 {
  font-size: 2rem;
}
.chapter-vertical p {
  font-size: 1rem;
  letter-spacing: 1rem;
}

.archive-blog {
  width: 620px;
  margin: 0 auto;
  padding: 100px 0;
}
.archive-blog h1 {
  font-size: 1.7rem;
  font-weight: 500;
  letter-spacing: .2rem;
  margin-bottom: 10px;
}
.archive-blog ul li {
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 2.8rem;
}

.sidebar-toc {
  width: 300px;
  padding-top: 100px;
}
.sidebar-toc #ez-toc-container, .sidebar-toc .toc {
  width: 270px;
  margin: 0 auto;
  font-size: 1.2rem;
  letter-spacing: .01rem;
  line-height: 2rem;
  border: none;
  box-shadow: none;
}
.sidebar-toc #ez-toc-container nav ul.ez-toc-list-level-1 li.ez-toc-heading-level-2, .sidebar-toc .toc nav ul.ez-toc-list-level-1 li.ez-toc-heading-level-2 {
  line-height: 2.5rem;
}
.sidebar-toc #ez-toc-container nav ul.ez-toc-list-level-1 li.ez-toc-heading-level-2 a, .sidebar-toc .toc nav ul.ez-toc-list-level-1 li.ez-toc-heading-level-2 a {
  color: #888;
}
.sidebar-toc #ez-toc-container nav ul.ez-toc-list-level-1 li.ez-toc-heading-level-2 a:hover, .sidebar-toc .toc nav ul.ez-toc-list-level-1 li.ez-toc-heading-level-2 a:hover {
  text-decoration: none;
  color: #555;
}
.sidebar-toc #ez-toc-container nav ul.ez-toc-list-level-1 li.ez-toc-heading-level-2 ul.ez-toc-list-level-3, .sidebar-toc .toc nav ul.ez-toc-list-level-1 li.ez-toc-heading-level-2 ul.ez-toc-list-level-3 {
  margin-left: 15px;
}
.sidebar-toc #ez-toc-container nav ul.ez-toc-list-level-1 li.ez-toc-heading-level-2 ul.ez-toc-list-level-3 li.ez-toc-heading-level-3, .sidebar-toc .toc nav ul.ez-toc-list-level-1 li.ez-toc-heading-level-2 ul.ez-toc-list-level-3 li.ez-toc-heading-level-3 {
  line-height: 2.5rem;
}
.sidebar-toc .share {
  margin-top: 50px;
  width: 270px;
  margin: 50px auto 0 auto;
  border-top: 1px solid #888;
}
.sidebar-toc .share ul {
  text-align: right;
  padding: 0 10px;
}
.sidebar-toc .share ul li {
  display: inline-block;
}
.sidebar-toc .share ul li a {
  line-height: 35px;
  margin-left: 10px;
  color: #888;
}

body {
  font-family: 'Noto Sans JP', 'sans-serif';
  color: #3e3e3e;
  width: 100%;
}

.main-block {
  display: flex;
  width: 1356px;
  margin: 0 auto;
  height: 750px;
}

main {
  width: 741px;
  margin: 0 35px;
  height: 750px;
  overflow: scroll;
}
