:root {
  --text-color: #85202D;
  --link-color: #803566;
  --link-color-hover: #DF9CBF;

  --font: 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', Osaka, メイリオ, Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', 'ＭＳ ゴシック' , 'MS Gothic', 'Noto Sans CJK JP', TakaoPGothic, sans-serif;
  --heading-font: var(--font);
  --font-size: 12px;

  --border: 2px solid #711F25;

  --cursor: url("../images/cursor2.png") 4 4, auto;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  cursor: var(--cursor);
}

body {
  margin: 0;
  padding: 12px 26px 22px;
  background: transparent;
  color: var(--text-color);
  font-family: var(--font);
  font-size: var(--font-size);
  line-height: 1.5;
  cursor: var(--cursor);
}

a, button {
  cursor: var(--cursor);
}

::selection {
  background: rgba(0, 0, 0, 0.2);
}

mark {
  text-shadow: 1px 1px 4px var(--link-color);
  background-color: inherit;
  color: var(--text-color);
}

a {
  text-decoration: underline;
}

a,
a:visited {
  color: var(--link-color);
}

a:hover,
a:focus {
  color: var(--link-color-hover);
  text-decoration: none;
  text-decoration-style: wavy;
}

p,
.image,
.full-width-image,
.two-columns {
  margin: 0.75em 0;
}

ol,
ul {
  margin: 0.5em 0;
  padding-left: 1.5em;
}

ol li,
ul li {
  margin-bottom: 0.2em;
  line-height: 1.3;
}

ol {
  padding-left: 2em;
}

blockquote {
  background: rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin: 1em 0;
  border-radius: 10px;
}

pre {
  margin: 1em 0 1.5em;
}

code {
  text-transform: none;
}

center {
  margin: 1em 0;
  padding: 0 1em;
}

hr {
  border: 0;
  border-top: var(--border);
  margin: 1.5em 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  margin-bottom: 0;
  line-height: 1.5;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
  margin-top: 0;
}

h1 { font-size: 1.5em; }
h2 { font-size: 1.4em; }
h3 { font-size: 1.3em; }
h4 { font-size: 1.2em; }
h5 { font-size: 1.1em; }
h6 { font-size: 1em; }

.two-columns {
  display: flex;
}

.two-columns > * {
  flex: 1 1 0;
  margin: 0;
}

.two-columns > *:first-child {
  padding-right: 0.75em;
}

.two-columns > *:last-child {
  padding-left: 0.75em;
}

.image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.full-width-image {
  display: block;
  width: 100%;
  height: auto;
}

.images {
  display: flex;
  width: calc(100% + 5px + 5px);
  margin-left: -5px;
  margin-right: -5px;
}

.images img {
  width: 100%;
  height: auto;
  padding: 5px;
  margin: 0;
  overflow: hidden;
}

@media (max-width: 800px) {
  body {
    font-size: 14px;
    padding: 10px 15px 15px;
  }

  .images {
    flex-wrap: wrap;
  }

  .images img {
    width: 100%;
  }
}
