html {
  border-top: 8px solid #FFCFD3;
  box-sizing: border-box;
  -ms-overflow-style: scrollbar;
}

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

img {
  border: none;
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
}

ol,
ul {
  list-style: none;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
img,
p {
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
p,
li,
dt,
dd {
  font-family: "Nunito", "Open Sans", "Helvetica Neue", Helvetica, Arial, "Nimbus L", sans-serif;
}

@font-face {
  font-family: Caveat;
  src: url("/assets/fonts/Caveat-VariableFont_wght.ttf");
}

@font-face {
  font-family: Nunito;
  src: url("/assets/fonts/Nunito-VariableFont_wght.ttf");
}

hr {
  border: none;
  height: 1px;
  background: #f1eded;
  margin: 2em auto;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
p {
  line-height: 1.6em;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.flex {
  display: -webkit-box;
  display: flex;
}

.wrap {
  flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
}

@media (min-width: 768px) {
  .wrap {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
  }
}

@media (min-width: 768px) and (max-width: 1029px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 1030px) {
  .container {
    max-width: 960px;
  }
}

body {
  background: #ffffff;
  color: #242424;
  margin: 0;
  padding: 0;
  font-size: 15px;
  font-family: "Nunito", "Open Sans", "Helvetica Neue", Helvetica, Arial, "Nimbus L", sans-serif;
}

.comment {
  font-weight: 300;
  line-height: 30px;
  font-size: 18px;
  color: black;
}

.container {
  background: white;
  padding-top: 30px;
  padding-bottom: 30px;
}

h1 {
  color: #151515;
  font-family: "Caveat", "Merriweather", "Open Sans", "Helvetica Neue", Helvetica, Arial, "Nimbus L", sans-serif;
  font-size: 36px;
  font-weight: 400;
  line-height: 42px;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

a {
  color: #242424;
  text-decoration: underline;
  -webkit-transition: color .3s;
  transition: color .3s;
}

a:focus,
a:visited,
a:active {
  color: #242424;
}

a:hover {
  color: #3498db;
}

p {
  margin: 1.5em 0;
}

/* HEADER */

header {
  margin: 30px auto;
}

header p {
  text-align: center;
  font-size: 1.1em;
  font-weight: 300;
  line-height: 30px;
}

header h1 {
  text-align: center;
  font-size: 48px;
  line-height: 52px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 10px auto;
}

header h1 a {
  text-decoration: none;
}

/* Navigation and Pagination */

nav {
  border-bottom: 1px solid #ecf0f1;
  border-top: 1px solid #ecf0f1;
  margin-bottom: 2em;
  text-align: center;
  margin: 20px auto 2em auto;
  max-width: 600px;
}

nav ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  width: 100%;
  overflow: hidden;
  text-align: center;
}

nav ul li {
  display: inline-block;
  font-size: 20px;
  font-weight: 700;
  margin: 0;
  padding: 0 .5em;
  text-align: center;
}

nav ul li a {
  display: block;
  padding: .5em 0;
  text-decoration: none;
}

nav.menu {
  margin-bottom: 2.5em;
}

nav.menu li {
  margin: 0 .5em;
  padding: 0;
}

@media only screen and (min-width: 320px) and (max-width: 662px) {
  nav.menu li {
    display: inline-block;
  }
}

/*header ul#menu {
  display: block;
  margin: 0 auto;
}

header ul#menu li {
  padding: 0;
}

header ul#menu li:before {
  display: none;
}

header ul#menu li a {
  display: block;
  color: #000000;
  text-decoration: none;
  -webkit-transition: all .3s;
  transition: all .3s;
  border: none;
  background: transparent;
  border-radius: 4px;
  padding: 5px 10px;
}

header ul#menu li a:hover {
  background: transparent;
}*/

section {
  margin: 50px auto;
  max-width: 600px;
}

section.flexbox {
  display: -webkit-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
}

section.flexbox div.flexbox_inner {
  margin-bottom: 20px;
  -webkit-box-flex: 1;
  flex: 1;
}

ul li {
  padding-left: 25px;
  position: relative;
  margin-bottom: .5rem;
}

/*ul li:before {
  content: '';
  width: 12px;
  height: 3px;
  display: block;
  background: #000000;
  position: absolute;
  margin: auto;
  top: .6em;
  left: 0;
}*/

strong.marker {
  background-size: auto auto;
  background-color: #ffffff;
  /* â€»ãƒžãƒ¼ã‚«ãƒ¼ä»˜ãå¼·èª¿ã®ã‚·ãƒžã‚·ãƒžã®ãƒ™ãƒ¼ã‚¹ã‚«ãƒ©ãƒ¼ */
  background-image: repeating-linear-gradient(45deg, transparent, transparent 3px, #ffef33 2px, #ffef33 5px);
  /* â€»ãƒžãƒ¼ã‚«ãƒ¼ä»˜ãå¼·èª¿ã®ã‚·ãƒžã‚·ãƒžã‚«ãƒ©ãƒ¼ */
}

/* IMAGES */

.embeddedimage {
  width: 100%;
  object-fit: cover;
}

.embeddedimage:hover {
  opacity: 0.5;
}

.embeddedimage.square {
  width: 50%;
  height: 50%;
}

.embeddedimage.landscape {
  width: 50%;
  /* 100% */
  height: auto;
  /* auto */
}

.embeddedimage.portrait {
  width: 50%;
  /* 40% */
  height: 300px;
  /* auto */
}

.embeddedimage.tall {
  width: 50%;
  /* 30% */
  height: 300px;
  /* auto */
}

/* Additional styles for images that don't fit the standard categories */
.embeddedimage.other {
  width: 60%;
  height: auto;
}


@media all and (max-width: 500px) {

  .embeddedimage.portrait {
    width: 50%;
    height: 200px;
  }

  .embeddedimage.landscape {
    width: 100%;
    height: auto;
  }

}

a.bigcard {
  display: -webkit-box;
  display: flex;
  text-decoration: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  margin-bottom: 20px;
  -webkit-transition: background .3s;
  transition: background .3s;
}

a.bigcard:hover {
  background: #f7f6f3;
  /* â€»ãƒªãƒ³ã‚¯ã‚«ãƒ¼ãƒ‰ã‚’ãƒ›ãƒãƒ¼ã—ãŸã¨ãã®èƒŒæ™¯è‰² */
  color: inherit;
}

a.bigcard h5 {
  font-size: 20px;
  margin: 10px 0 0;
}

a.bigcard .memo {
  font-size: 13px;
  margin-top: 0;
  color: #aba9a5;
}

a.bigcard figure {
  margin: 0;
  width: 100%;
  height: 150px;
  overflow: hidden;
}

a.bigcard figure img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

a.btn,
a.btn01,
a.btn02 {
  display: block;
  background: #fbe125;
  text-decoration: none;
  text-align: center;
  padding: 8px;
  border-radius: 4px;
  box-shadow: 0 3px #e7ac07;
  margin: 2em 0;
  -webkit-transition: box-shadow .3s, -webkit-transform .3s;
  transition: box-shadow .3s, -webkit-transform .3s;
  transition: transform .3s, box-shadow .3s;
  transition: transform .3s, box-shadow .3s, -webkit-transform .3s;
}

a.btn01 {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 8px 20px;
}

a.btn02 {
  font-size: 20px;
  font-weight: bold;
}

a.btn:hover,
a.btn01:hover,
a.btn02:hover {
  -webkit-transform: translateY(3px);
  transform: translateY(3px);
  color: inherit;
  box-shadow: 0 0 #e7ac07;
}

.box01 {
  background: #ffef33;
  padding: 10px;
  border-radius: 4px;
  margin: 1em 0;
}

.box01 *:first-child {
  margin-top: 0;
}

.box01 *:last-child {
  margin-bottom: 0;
}

.box02 {
  border: 1px solid #fbe125;
  padding: 10px;
  border-radius: 4px;
  margin: 1em 0;
}

.box02 *:first-child {
  margin-top: 0;
}

.box02 *:last-child {
  margin-bottom: 0;
}

dl.flex {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  width: 95%;
  margin: 30px auto;
  font-size: 13px;
  border: 1px solid #e5e4e4;
  border-radius: 4px;
  padding: 15px 20px;
}

dl.flex dt {
  width: 100px;
  font-weight: bold;
}

dl.flex dd {
  width: calc(100% - 120px);
  margin-left: 0;
}

dl.flex dt,
dl.flex dd {
  padding: 5px 0;
}

dl.flex dt:not(:first-of-type),
dl.flex dd:not(:first-of-type) {
  border-top: 1px dashed #e5e4e4;
}

ul.illust {
  display: -webkit-box;
  display: flex;
  flex-wrap: wrap;
  margin: 20px auto;
}

ul.illust li {
  position: relative;
  height: 70px;
  width: 70px;
  margin-bottom: 3px;
  padding: 0;
}

ul.illust li:before {
  display: none;
}

ul.illust li:not(:last-of-type) {
  margin-right: 3px;
}

ul.illust li a {
  display: block;
  -webkit-transition: .3s;
  transition: .3s;
}

ul.illust li a:hover {
  opacity: .7;
}

ul.illust li a img {
  border-radius: 3px;
  height: 70px;
  width: 70px;
  -o-object-fit: cover;
  object-fit: cover;
}

table,
table td,
table th {
  border: 1px solid #dfdfdf;
  border-collapse: collapse;
}

table th {
  word-break: keep-all;
  text-align: left;
  vertical-align: baseline;
}

table td,
table th {
  padding: 7px 10px;
}

.top {
  text-align: center;
  display: block;
  font-size: 12px;
  color: #cccccc;
  margin-top: 50px;
}

form.mailform {
  text-align: center;
  max-width: 800px;
  margin: 30px auto;
}

form.mailform textarea {
  margin: 0 0 15px;
  font-size: 14px;
  line-height: 1.6em;
  border: none;
  padding: 10px;
  width: 100%;
  height: 300px;
  border-radius: 5px;
  vertical-align: bottom;
  border: 1px solid #e5e4e4;
  background: #fcfcfc;
  -webkit-transition: 0.3s;
  transition: 0.3s;
}

form.mailform textarea:focus {
  outline: none;
  background: #ffffff;
}

form.mailform input {
  margin: 0 0 15px;
  font-size: 16px;
  border: none;
  padding: 10px;
  width: 100%;
  border-radius: 5px;
  border: 1px solid #e5e4e4;
  background: #fcfcfc;
  -webkit-transition: background 0.3s;
  transition: background 0.3s;
}

form.mailform input:focus {
  outline: none;
  background: #ffffff;
}

form.mailform input[type="submit"] {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 20px;
  padding: 10px 20px;
  background: #fbe125;
  border: none;
}

form.mailform input[type="submit"]:focus,
form.mailform input[type="submit"]:hover {
  background: #fdef89;
  cursor: pointer;
}

/* footer section {
  margin: 50px auto 0;
}*/

footer {
  /*margin: 50px auto 0;*/
  background: url(../../assets/images/blog-footer.png) repeat-x center top;
  padding: 200px 2em 1em 2em;
  margin: 0 0;
  color: white;
  text-shadow: #000000 1px 0 10px, #000000 1px 0 10px;
}

footer p {
  margin: 0;
  font-family: "Nunito", "Open Sans", "Helvetica Neue", Helvetica, Arial, "Nimbus L", sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin: 0 auto;
  max-width: 600px;
  text-align: center;
}

footer a, footer a:hover, footer a:visited {
  color: white;
  text-decoration: underline;
}

/*footer a {
  font-size: 11px;
  text-align: right;
  display: block;
  text-decoration: none;
  color: #fbe125;
}*/

@media only screen and (min-width: 768px) {
  header {
    margin: 50px auto;
  }

  header ul#menu {
    display: -webkit-box;
    display: flex;
    margin: 0 auto;
    -webkit-box-pack: center;
    justify-content: center;
  }

  header ul#menu li {
    padding: 0;
  }

  header ul#menu li:before {
    display: none;
  }

  header ul#menu li a {
    display: block;
    color: #242424;
    -webkit-transition: color .3s;
    transition: color .3s;
    padding: 0px 15px;
    background: transparent;
    border-left: 1px solid #000000;
    border-radius: 0;
  }

  header ul#menu li a:hover {
    background: transparent;
    color: #000000;
  }

  header ul#menu li:last-of-type a {
    border-right: 1px solid #000000;
  }

  section.flexbox {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
  }

  section.flexbox div.flexbox_inner:first-of-type {
    padding-right: 15px;
  }

  section.flexbox div.flexbox_inner:nth-of-type(2) {
    padding-left: 15px;
  }

  a.bigcard {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    flex-direction: row;
    align-self: stretch;
    -webkit-transition: all .3s;
    transition: all .3s;
  }

  a.bigcard h5 {
    font-size: 20px;
    margin: 0;
  }

  a.bigcard p {
    margin: 0.8em 0;
  }

  a.bigcard .memo {
    font-size: 13px;
    margin-top: 0;
    color: #aba9a5;
  }

  a.bigcard figure {
    display: block;
    width: auto;
    -webkit-box-flex: 1;
    flex: 1;
    height: auto;
    min-height: 150px;
    margin-right: 10px;
  }

  a.bigcard figure img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
  }

  a.bigcard .text {
    -webkit-box-flex: 2;
    flex: 2;
    padding: 5px;
  }

  ul.illust li {
    height: 97px;
    width: 97px;
  }

  ul.illust li a img {
    width: 97px;
    height: 97px;
  }
}