/*
Theme Name: Dan custom
Author:
Author URI:
Description: [Yochi] https://yochix2.com/ の「Dan」というテーマをカスタマイズしたものです。
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Links
# Clearings
# Accessibility
# Alignments
# Layout
# Header
# Navigation
# Footer
# Content
  ## Posts and pages
  ## Comments
  ## Post Formats
# Widgets
# Infinite scroll
# Media
  ## Captions
  ## Galleries
# Customizer
# Print
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/

/*! normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
  -webkit-box-sizing: content-box;
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 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: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  -webkit-text-decoration: underline dotted;
  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: 1em; /* 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;
}

/* Embedded content
   ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */

button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */

button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */

legend {
  -webkit-box-sizing: border-box;
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * 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;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */

[type="checkbox"],
[type="radio"] {
  -webkit-box-sizing: border-box;
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * 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;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */

[type="search"] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * 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. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* 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;
}

/* Misc
   ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */

template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */

[hidden] {
  display: none;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
body,
button,
input,
select,
optgroup,
textarea {
  color: #424242;
  font-family: "Helvetica Neue", "Helvetica", "Hiragino Kaku Gothic ProN", Meiryo, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.4;
  clear: both;
}

h1 {
  font-size: 24px;
}

h2 {
  font-size: 20px;
}

h3 {
  font-size: 18px;
}

h4 {
  font-size: 16px;
}

h5 {
  font-size: 15px;
}

h6 {
  font-size: 14px;
}

@media screen and (min-width: 768px) {
  body,
  button,
  input,
  select,
  optgroup,
  textarea {
    font-size: 16px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 24px;
  }

  h4 {
    font-size: 20px;
  }

  h5 {
    font-size: 18px;
  }

  h6 {
    font-size: 16px;
  }
}

p {
  margin-bottom: 20px;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote:before,
blockquote:after {
  content: "";
}

blockquote {
  quotes: "" "";
}

q::before {
  content: open-quote;
}

q::after{
  content: close-quote;
}

blockquote {
  margin-right: 5px;
  margin-left: 5px;
  margin-bottom: 20px;
  padding: 10px 20px;
  background-color: #f5f5f5;
  border-radius: 3px;
  color: #616161;
  line-height: 1.5;
}

blockquote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
}

address {
  margin: 0 0 20px;
}

pre {
  margin-bottom: 20px;
  padding: 20px;
  max-width: 100%;
  background-color: #eee;
  border-radius: 3px;
  font-family: "Courier 10 Pitch", Courier, monospace;
  font-size: 15px;
  line-height: 1.5;
  overflow: auto;
}

code,
kbd,
tt,
var {
  font-family: Monaco, Consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 15px;
}

abbr,
acronym {
  cursor: help;
}

mark{
  background-color: #e0e0e0;
}

ins {
  text-decoration: underline;
}

big {
  font-size: 125%;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

*,
*::before,
*::after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

body {
  background-color: #fafafa; /* Fallback for when there is no custom background color defined. */
}

#page {
  position: relative;
  word-wrap: break-word;
}

hr {
  margin-bottom: 20px;
  background-color: #e0e0e0;
  border: 0;
  height: 1px;
}

/* Lists */

ul,
ol {
  margin: 0 0 20px;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 20px;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 20px 20px;
}

/* Images */

img {
  height: auto; /* Make sure images are scaled correctly. */
  max-width: 100%; /* Adhere to container width. */
}

figure {
  margin: 15px 0; /* Extra wide images within figure tags don't overflow the content area. */
}

/* Tables */

table {
  border-spacing: 0;
  border-collapse: collapse;
  margin: 0 0 20px;
  width: 100%;
}

thead th {
  background-color: #eee;
  border-bottom: solid 2px #e0e0e0;
}

tbody th {
  background-color: #f5f5f5;
}

th,
td {
  padding: 10px;
  vertical-align: top;
  border: solid 1px #e0e0e0;
}

table p {
  margin-top: 0;
}

table p:last-child {
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Forms
--------------------------------------------------------------*/
.added_to_cart,
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  display: inline-block;
  padding: 15px 20px;
  background-color: #e0e0e0;
  border: 0;
  border-radius: 3px;
  color: #424242;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: none;
  line-height: 1;
  cursor: pointer;
}

.added_to_cart:hover,
.button:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(33, 33, 33, 0.1)), to(rgba(33, 33, 33, 0.1)));
  background-image: linear-gradient(rgba(33, 33, 33, 0.1), rgba(33, 33, 33, 0.1));
}

.added_to_cart:focus,
.button:focus,
button:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
.added_to_cart:active,
.button:active,
button:active,
input[type="button"]:active,
input[type="reset"]:active,
input[type="submit"]:active {
  outline: none;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(33, 33, 33, 0.08)), to(rgba(33, 33, 33, 0.08)));
  background-image: linear-gradient(rgba(33, 33, 33, 0.08), rgba(33, 33, 33, 0.08));
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  padding: 5px 10px;
  border: solid 1px #e0e0e0;
  border-radius: 3px;
  color: #616161;
  width: 100%;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  border-color: #bdbdbd;
  color: #424242;
}

input[type="radio"],
input[type="checkbox"] {
  margin-right: 10px;
}

label {
  display: block;
  margin-bottom: 10px;
  color: #616161;
  font-size: 13px;
}

select {
  padding: 5px;
  border: solid 1px #e0e0e0;
  border-radius: 3px;
  color: #616161;
}

.mw_wp_form_confirm .hide_confirm {
  display: none;
}

/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/
a {
  color: #1565c0;
}

a:hover,
a:focus,
a:active {
  color: #4527a0;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

/*--------------------------------------------------------------
# Clearings
--------------------------------------------------------------*/
.clear::after,
.entry-content::after,
.entry-footer::after,
.entry-summary::after,
.comment-content::after,
.site-content::after,
.nav-links::after,
.pagination::after,
.comment-author::after,
.footer-widget::after,
.widget::after,
.comment-meta::after,
.wrap::after {
  content: "";
  clear: both;
  display: block;
}

/*--------------------------------------------------------------
# Accessibility
--------------------------------------------------------------*/
/* Text meant only for screen readers. */
.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  -webkit-box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000; /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
  outline: 0;
}

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/

.aligncenter,
.alignleft,
.alignright{
  display: block;
  margin-left: auto;
  margin-right: auto;
  clear: both;
}

@media screen and (min-width: 768px) {
  .alignleft {
    display: inline;
    float: left;
    margin-right: 20px;
  }

  .alignright {
    display: inline;
    float: right;
    margin-left: 20px;
  }
}

/*--------------------------------------------------------------
# Layout
--------------------------------------------------------------*/

#page {
  display: -ms-grid;
  -ms-grid-columns: 10px 1fr 10px;
  -ms-grid-rows: auto 40px auto 30px auto 30px auto;
  display: grid;
    grid-template-columns: 10px 1fr 10px;
    grid-template-rows: auto 40px auto 30px auto 30px auto;
  min-width: 0;
}

@media screen and (min-width: 768px) {
  #page {
    -ms-grid-columns: 10px 1fr 40px 200px 10px;
    -ms-grid-rows: auto 60px auto 40px auto;
    display: grid;
    grid-template-columns: minmax(10px, 1fr) minmax(auto, 720px) 40px 200px minmax(10px, 1fr);
    grid-template-rows: auto 60px auto 40px auto;
  }
}

@media screen and (min-width: 980px) {
  #page {
    -ms-grid-columns: 1fr 720px 40px 200px 1fr;
    -ms-grid-rows: auto 60px auto 40px auto;
  }
}

/* Header */

.site-header {
  -ms-grid-column: 1;
  -ms-grid-column-span: 3;
  -ms-grid-row: 1;
  grid-column-start: 1;
  grid-column-end: -1;
  grid-row-start: 1;
  min-width: 0;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: inherit;
  -ms-grid-rows: auto 1fr;
    grid-template-columns: inherit;
    grid-template-rows: auto 1fr;
}

@media screen and (min-width: 768px) {
  .site-header {
    -ms-grid-column-span: 5;
  }
}

.site-branding {
  -ms-grid-column: 2;
  -ms-grid-row: 1;
  -ms-grid-row-align: center;
  grid-column-start: 2;
  grid-row-start: 1;
  -ms-flex-item-align: center;
  align-self: center;
}

.main-navigation {
  -ms-grid-column: 1;
  -ms-grid-column-span: 3;
  -ms-grid-row: 2;
  -ms-grid-row-align: start;
  grid-column-start: 1;
  grid-column-end: -1;
  grid-row-start: 2;
  -ms-flex-item-align: start;
  align-self: start;
}

@media screen and (min-width: 768px) {
  .main-navigation {
    -ms-grid-column: 2;
    -ms-grid-column-span: 3;
    -ms-grid-row: 1;
    -ms-grid-column-align: end;
    -ms-grid-row-align: center;
    grid-column-start: 2;
    grid-column-end: -2;
    grid-row-start: 1;
    justify-self: end;
    -ms-flex-item-align: center;
    align-self: center;
  }
}

.menu-toggle {
  -ms-grid-column: 2;
  -ms-grid-row: 1;
  -ms-grid-column-align: end;
  -ms-grid-row-align: center;
  grid-column-start: 2;
  grid-row-start: 1;
  justify-self: end;
  -ms-flex-item-align: center;
  align-self: center;
}

/* Custom header */

.wp-custom-header {
  -ms-grid-column: 1;
  -ms-grid-column-span: 3;
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  grid-column-start: 1;
  grid-column-end: -1;
  grid-row-start: 1;
  grid-row-end: -1;
  min-width: 0;
}

@media screen and (min-width: 768px) {
  .wp-custom-header {
    -ms-grid-column-span: 5;
  }
}

.site-description {
  -ms-grid-column: 2;
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  -ms-grid-row-align: center;
  -ms-grid-column-align: center;
  grid-column-start: 2;
  grid-column-end: -2;
  grid-row-start: 1;
  grid-row-end: -1;
  min-width: 0;
  justify-self: center;
  -ms-flex-item-align: center;
  align-self: center;
}

@media screen and (min-width: 768px) {
  .site-description {
    -ms-grid-column-span: 3;
  }
}

/* Posts and pages */

#primary {
  -ms-grid-column: 2;
  -ms-grid-row: 3;
  grid-column-start: 2;
  grid-row-start: 3;
  min-width: 0;
}

#secondary {
  -ms-grid-column: 2;
  -ms-grid-row: 5;
  grid-column-start: 2;
  grid-row-start: 5;
  min-width: 0;
}

@media screen and (min-width: 768px) {
  .dan-front-page #primary,
  .page-template-full-width-page #primary {
    -ms-grid-column-span: 3;
    grid-column-end: -2;
  }

  #secondary {
    -ms-grid-column: 4;
    -ms-grid-row: 3;
    grid-column-start: 4;
    grid-row-start: 3;
  }
}


/* Footer */

.site-footer {
  -ms-grid-column: 1;
  -ms-grid-column-span: 3;
  -ms-grid-row: 7;
  grid-column-start: 1;
  grid-column-end: -1;
  grid-row-start: 7;
  min-width: 0;
  display: -ms-grid;
  -ms-grid-columns: inherit;
  -ms-grid-rows: auto auto;
  display: grid;
    grid-template-columns: inherit;
    grid-template-rows: auto auto;
}

@media screen and (min-width: 768px) {
  .site-footer {
    -ms-grid-column-span: 5;
    -ms-grid-row: 5;
    grid-row-start: 5;
  }
}

.footer-widget {
  -ms-grid-column: 2;
  -ms-grid-row: 1;
  grid-column-start: 2;
  grid-column-end: -2;
  grid-row-start: 1;
  min-width: 0;
}

@media screen and (min-width: 768px) {
  .footer-widget {
    display: -ms-grid;
    -ms-grid-column-span: 3;
    -ms-grid-columns: 1fr 40px 200px;
    -ms-grid-rows: auto;
    display: grid;
    grid-template-columns: 1fr 40px 200px;
    grid-template-rows: auto;
  }

  .footer-widget-1 {
    -ms-grid-column: 1;
    -ms-grid-row: 1;
    grid-column-start: 1;
    grid-row-start: 1;
    min-width: 0;
  }

  .footer-widget-2 {
    -ms-grid-column: 3;
    -ms-grid-row: 1;
    grid-column-start: 3;
    grid-row-start: 1;
    min-width: 0;
  }
}

.site-info {
  -ms-grid-column: 2;
  -ms-grid-column-span: 3;
  -ms-grid-row: 2;
  grid-column-start: 2;
  grid-column-end: -2;
  grid-row-start: 2;
  min-width: 0;
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.site-header {
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: #424242;
}

/* Site branding */

.site-branding {
  position: relative; /* IE11 ~ Apply z-index on CSS grid */
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  z-index: 10;
}

.site-branding a {
  text-decoration: none;
}

.site-title {
  margin: 0;
  padding: 0;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.site-title,
.site-title a {
  color: #fafafa;
  opacity: 1; /* Prevent opacity from changing during selective refreshes in the customize preview */
}

/* Custom logo */

.custom-logo-link {
  display: block;
  margin-right: 5px;
  vertical-align: middle;
  width: auto;
}

.custom-logo-link img {
  display: block;
  max-height: 42px;
  width: auto;
}

@media screen and (min-width: 768px) {
  .custom-logo-link {
    margin-right: 10px;
  }

  .custom-logo-link img {
    max-height: 64px;
  }
}

/* Custom header */

.wp-custom-header {
  position: relative;
  width: 100%;
  height: 280px;
  margin-top: -10px; /* Site header padding top*/
  margin-bottom: -10px; /* Site header padding bottom*/
  background-color: #424242;
  overflow: hidden;
}

.wp-custom-header::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: block;
  height: 100%;
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(33, 33, 33, 0.1)), to(rgba(33, 33, 33, 0.1)));
  background: linear-gradient(rgba(33, 33, 33, 0.1), rgba(33, 33, 33, 0.1));
  z-index: 2;
}

.dan-front-page .wp-custom-header {
  height: 100vh;
  min-height: 280px;
  overflow: hidden;
}

.site-description {
  position: relative;
  margin-top: 0;
  margin-bottom: 0;
  color: #e0e0e0;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.4;
  z-index: 3;
}

@media screen and (min-width: 768px) {
  .site-description {
    font-size: 2.2vw;
  }

  .dan-front-page .site-description {
    font-size: 2.8vw;
  }
}

.has-header-image .wp-custom-header img,
.has-header-video .wp-custom-header video,
.has-header-video .wp-custom-header iframe {
  position: absolute;
  top: 50%;
    left: 50%;
  height: auto;
  width: auto;
  max-width: 1000%;
  min-height: 100%;
  min-width: 100%;
  min-width: 100vw;
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  z-index: 1;
}

@supports ((-o-object-fit: cover) or (object-fit: cover)) {
    .has-header-image .wp-custom-header img,
  .has-header-video .wp-custom-header video,
  .has-header-video .wp-custom-header iframe {
        position: static;
    top: 0;
    left: 0;
        height: 100%;
        width: 100%;
        -o-object-fit: cover;
        object-fit: cover;
        -webkit-transform: none;
        transform: none;
    }
}

.wp-custom-header .wp-custom-header-video-button {
  position: absolute;
  bottom: 16px;
  left: 16px;
  padding: 8px 15px;
  background-color: rgba(33, 33, 33, 0.5);
  border: solid 1px rgba(250, 250, 250, 0.6);
  color: rgba(250, 250, 250, 0.6);
  overflow: hidden;
  z-index: 999;
}

.wp-custom-header .wp-custom-header-video-button:hover,
.wp-custom-header .wp-custom-header-video-button:focus {
  background-color: rgba(33, 33, 33, 0.8);
  border-color: rgba(250, 250, 250, 0.8);
  color: rgba(250, 250, 250, 0.8);
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/

.main-navigation {
  position: relative; /* IE11 ~ Apply z-index on CSS grid */
  display: none;
  z-index: 1000;
}

.main-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation li {
  position: relative;
}

.main-navigation a {
  display: block;
  padding: 10px 15px;
  color: #fafafa;
  font-size: 14px;
  text-decoration: none;
}

.main-navigation .menu-item-has-children > a {
  margin-right: 42px;
}

.main-navigation a:hover,
.main-navigation a:focus {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.1)), to(rgba(255, 255, 255, 0.1)));
  background-image: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
}

.main-navigation #primary-menu > .current_page_item::after,
.main-navigation #primary-menu > .current-menu-item::after,
.main-navigation #primary-menu > .current_page_ancestor::after,
.main-navigation #primary-menu > .current-menu-ancestor::after {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.1)), to(rgba(255, 255, 255, 0.1)));
  background-image: linear-gradient(rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.1));
}

/* Dropdown toggle */

.dropdown-toggle {
  position: absolute;
  top: 0;
  right: 0;
  content: "";
  padding: 0;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  color: #fafafa;
  font-size: 24px;
  width: 42px;
  height: 42px;
}

.dropdown-toggle::after {
  position: relative;
  top: 0;
  left: 0;
  display: inline-block;
  width: 42px;
  border: solid 0 rgba(66, 66, 66, 0.1);
  border-left-width: 1px;
  content: "\f107";
  font-family: 'Font Awesome 5 Free';
  font-size: 24px;
  font-weight: 900;
  text-align: center;
  line-height: 1;
  vertical-align: top;
}

.dropdown-toggle:hover,
.dropdown-toggle:focus {
  background-color: transparent;
  color: #eee;
}

.dropdown-toggle:focus {
  outline: thin dotted;
}

.dropdown-toggle.toggled-on::after {
  content: "\f106";
}

/* Menu toggle */

.menu-toggle {
  position: relative; /* IE11 ~ Apply z-index on CSS grid */
  display: block;
  padding: 3px;
  border: 0;
  background-color: transparent;
  color: #fafafa;
  font-size: 12px;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
  z-index: 9999;
}

.menu-toggle:hover,
.menu-toggle:focus {
  background-color: transparent;
  color: #eee;
}

.menu-toggle:focus {
  outline: thin dotted;
}

.menu-toggle:active {
  background-color: transparent;
  opacity: 0.6;
}

.menu-toggle .fas {
  display: block;
  margin-bottom: 2px;
  font-size: 24px;
}

@media screen and (max-width: 767px) {
  .main-navigation {
    top: 10px;
    left: 0;
    width: 100%;
    height: auto;
    padding: 10px;
    background-color: rgba(66, 66, 66, 0.9);
  }

  .main-navigation.toggled-on {
    display: block;
  }

  .main-navigation li + li {
    border-top: solid 1px rgba(99, 99, 99, 0.9);
  }

  .main-navigation ul ul {
    display: none;
    margin-left: 15px;
  }

  .main-navigation ul .toggled-on {
    display: block;
  }
}

@media screen and (min-width: 768px) {
  .menu-toggle,
  .dropdown-toggle {
    display: none;
  }

  .main-navigation {
    display: block;
  }

  .main-navigation #primary-menu {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .main-navigation #primary-menu > .current_page_item::after,
  .main-navigation #primary-menu > .current-menu-item::after,
  .main-navigation #primary-menu > .current_page_ancestor::after,
  .main-navigation #primary-menu > .current-menu-ancestor::after {
    content: "";
    position: absolute;
    right: 15px;
    bottom: 2px;
    left: 15px;
    border-bottom: solid 3px #eee;
  }

  .main-navigation a {
    border-radius: 3px;
    font-size: 16px;
  }

  .main-navigation ul ul a:hover,
  .main-navigation ul ul a:focus {
    background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(250, 250, 250, 0.1)), to(rgba(250, 250, 250, 0.1)));
    background-image: linear-gradient(rgba(250, 250, 250, 0.1), rgba(250, 250, 250, 0.1));
  }

  .main-navigation .menu-item-has-children > a::after {
    position: absolute;
    top: 10px;
    right: 8px;
    display: inline-block;
    width: 24px;
    content: "\f107";
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    text-align: center;
    vertical-align: middle;
  }

  .main-navigation ul ul .menu-item-has-children > a::after {
    content: "\f105";
  }

  .main-navigation .menu-item-has-children > a {
    margin: 0;
    padding-right: 40px;
  }

  .main-navigation ul ul {
    position: absolute;
    top: 100%;
    left: -999em;
    z-index: 99999;
    background-color: #616161;
    border-radius: 3px;
    color: #fafafa;
    -webkit-box-shadow: 0 2px 3px 0 rgba(33, 33, 33, 0.3);
    box-shadow: 0 2px 3px 0 rgba(33, 33, 33, 0.3);
  }

  .main-navigation ul ul ul {
    left: -999em;
    top: 0;
  }

  .main-navigation ul ul a {
    color: #fafafa;
    width: 200px;
  }

  .main-navigation ul li:hover > ul,
  .main-navigation ul li.focus > ul {
    left: auto;
  }

  .main-navigation ul ul li:hover > ul,
  .main-navigation ul ul li.focus > ul {
    left: 100%;
  }
}

/* Social Navigation */
.social-navigation {
  margin-top: 10px;
  margin-bottom: 10px;
}

.social-navigation ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-navigation li {
  margin-bottom: 10px;
}

.social-navigation li + li {
  margin-left: 10px;
}

.social-navigation a {
  display: block;
  background-color: #424242;
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  text-align: center;
  width: 35px;
  height: 35px;
  line-height: 35px;
}

.site-info .social-navigation a {
  color: #fff;
}

.social-navigation a:before {
  content: "\f0c1";
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 16px;
  line-height: 1;
  text-align: center;
}

.social-navigation a[href*="behance.net"]:before {
  content: "\f1b4";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="codepen.io"]:before {
  content: "\f1cb";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="deviantart.com"]:before {
  content: "\f1bd";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="digg.com"]:before {
  content: "\f1a6";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="docker.com"]:before {
  content: "\f395";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="dribbble.com"]:before {
  content: "\f17d";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="dropbox.com"]:before {
  content: "\f16b";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="facebook.com"]:before {
  content: "\f39e";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="flickr.com"]:before {
  content: "\f16e";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="foursquare.com"]:before {
  content: "\f180";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="plus.google.com"]:before {
  content: "\f0d5";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="github.com"]:before {
  content: "\f09b";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="instagram.com"]:before {
  content: "\f16d";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="line.me"]:before {
  content: "\f3c0";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="linkedin.com"]:before {
  content: "\f08c";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="medium.com"]:before {
  content: "\f23a";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="pinterest.com"]:before {
  content: "\f0d2";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="pscp.tv"]:before {
  content: "\f3da";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="getpocket.com"]:before {
  content: "\f265";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="reddit.com"]:before {
  content: "\f1a1";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="skype.com"]:before {
  content: "\f17e";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="slideshare.net"]:before {
  content: "\f1e7";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="snapchat.com"]:before {
  content: "\f2ac";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="soundcloud.com"]:before {
  content: "\f1be";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="spotify.com"]:before {
  content: "\f1bc";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="stumbleupon.com"]:before {
  content: "\f1a4";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="tumblr.com"]:before {
  content: "\f173";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="twitch.tv"]:before {
  content: "\f1e8";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="twitter.com"]:before {
  content: "\f099";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="vimeo.com"]:before {
  content: "\f40a";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="vine.co"]:before {
  content: "\f1ca";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="vk.com"]:before {
  content: "\f189";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="wordpress.com"]:before,
.social-navigation a[href*="wordpress.org"]:before {
  content: "\f19a";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="yelp.com"]:before {
  content: "\f1e9";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href*="youtube.com"]:before {
  content: "\f167";
  font-family: 'Font Awesome 5 Brands';
  font-weight: 400;
}

.social-navigation a[href^="mailto:"]:before {
  content: "\f0e0";
}

.social-navigation a[href$="/feed/"]:before {
  content: "\f143";
}

/* Pagination */

.pagination,
.comments-pagination {
  margin: 30px 0;
  text-align: center;
}

.page-numbers {
  display: none;
  padding: 5px 10px;
  border-radius: 3px;
  color: inherit;
  text-decoration: none;
}

.page-numbers.current {
  position: relative;
  display: inline-block;
  color: #616161;
}

.page-numbers.current::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 0;
  left: 5px;
  border-bottom: solid 3px #bdbdbd;
}

.page-numbers.dots {
  padding: 5px 0;
}

.page-numbers:hover,
.page-numbers:focus {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(66, 66, 66, 0.1)), to(rgba(66, 66, 66, 0.1)));
  background-image: linear-gradient(rgba(66, 66, 66, 0.1), rgba(66, 66, 66, 0.1));
  color: inherit;
}

.page-numbers.current:hover,
.page-numbers.current:focus,
.page-numbers.dots:hover,
.page-numbers.dots:focus {
  background-image: none;
}

.prev.page-numbers,
.next.page-numbers {
  display: inline-block;
}

.prev.page-numbers {
  float: left;
}

.next.page-numbers {
  float: right;
}

@media screen and (min-width: 768px) {
  .page-numbers {
    display: inline-block;
  }
}

.site-main .post-navigation {
  margin: 30px 0;
  overflow: hidden;
}

.nav-previous {
  float: left;
  width: 45%;
}

.nav-next {
  float: right;
  text-align: right;
  width: 45%;
}

.nav-previous a,
.nav-next a {
  color: inherit;
  text-decoration: none;
}

.nav-previous a:hover,
.nav-previous a:focus,
.nav-next a:hover,
.nav-next a:focus {
  opacity: 0.8;
}

.nav-previous .fas {
  margin-right: 5px;
}

.nav-next .fas {
  margin-left: 5px;
}

.nav-subtitle {
  display: block;
  margin-bottom: 5px;
  color: #616161;
  font-size: 12px;
}

/* Post */

.page-links {
  clear: both;
  margin: 0 0 20px;
  font-size: 14px;
}

.page-links .page-number {
  position: relative;
  display: inline-block;
  padding: 5px 10px;
}

.page-links .page-number::after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 0;
  left: 5px;
  border-bottom: solid 3px #bdbdbd;
}

.page-links a {
  display: inline-block;
  border-radius: 3px;
  color: inherit;
  text-decoration: none;
}

.page-links a:hover,
.page-links a:focus {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(66, 66, 66, 0.1)), to(rgba(66, 66, 66, 0.1)));
  background-image: linear-gradient(rgba(66, 66, 66, 0.1), rgba(66, 66, 66, 0.1));
}

.page-links a .page-number::after {
  border-bottom: none;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.site-footer {
  background-color: #eee;
  border-top: solid 1px #eee;
}

/* Site info */

.site-info {
  padding-top: 10px;
  padding-bottom: 10px;
  color: #616161;
  font-size: 14px;
}

.site-info a {
  color: currentColor;
  text-decoration: none;
}

.site-info a:hover,
.site-info a:focus {
  opacity: 0.8;
}

.site-info span[role=separator] {
  padding: 0 4px;
}

.site-info span[role=separator]::before {
  content: '\002f';
}

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/

.hentry {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: solid 1px #eee;
}

/*--------------------------------------------------------------
## Posts and pages
--------------------------------------------------------------*/

/* Sticky post */

.sticky {
  display: block;
}

.sticky-post {
  display: inline-block;
  margin-bottom: 20px;
  padding: 5px;
  background-color: #424242;
  border-radius: 3px;
  color: #f5f5f5;
  font-size: 13px;
  line-height: 1;
}

.sticky-post .fas {
  margin-right: 5px;
}

/* Entry header */

.entry-header {
  margin-bottom: 20px;
}

.entry-header .entry-title {
  margin-top: 0;
  margin-bottom: 10px;
}

.entry-title a {
  color: inherit;
  text-decoration: none;
}

.entry-title a:hover,
.entry-title a:focus {
  opacity: 0.8;
}

.entry-meta {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 5px;
  color: #616161;
  font-size: 13px;
}

.entry-meta a {
  color: #616161;
  text-decoration: none;
}

.entry-meta a:hover,
.entry-meta a:focus {
  opacity: 0.8;
}

.entry-meta .posted-on {
  display: inline-block;
}

.entry-meta .byline {
  display: inline-block;
  margin-left: 10px;
}

/* Entry footer */

.entry-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-top: 10px;
  color: #616161;
  font-size: 13px;
}

.entry-footer .entry-format,
.entry-footer .cat-links,
.entry-footer .tags-links,
.entry-footer .comments-link {
  display: inline-block;
  font-size: 13px;
}

.entry-footer .cat-links,
.entry-footer .tags-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.entry-footer a {
  color: #616161;
  text-decoration: none;
}

.entry-footer a:hover,
.entry-footer a:focus {
  opacity: 0.8;
}

.entry-footer .edit-link {
  display: inline-block;
  padding: 5px;
  border: solid 1px rgba(66, 66, 66, 0.3);
  border-radius: 3px;
  color: #616161;
  font-size: 13px;
  line-height: 1;
}

.entry-footer .edit-link a {
  color: #616161;
  text-decoration: none;
}

.entry-footer > span:not(:last-child) {
  margin-right: 10px;
}

.entry-footer .fas {
  margin-right: 4px;
  margin-left: 0;
}

.entry-footer .cat-links a + a,
.entry-footer .tags-links a + a {
  margin-left: 5px;
}

/* More link */

.more-link {
  display: block;
  width: 140px;
  max-width: 200px;
    margin: 20px 0 10px auto;
    padding: 10px 15px;
    background-color: #616161;
    border-radius: 3px;
    color: #fafafa;
    font-size: 13px;
  text-align: center;
  text-decoration: none;
}

.more-link:hover {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(66, 66, 66, 0.2)), to(rgba(62, 62, 62, 0.2)));
  background-image: linear-gradient(rgba(66, 66, 66, 0.2), rgba(62, 62, 62, 0.2));
    color: #f5f5f5;
}

.more-link:focus {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(66, 66, 66, 0.2)), to(rgba(62, 62, 62, 0.2)));
  background-image: linear-gradient(rgba(66, 66, 66, 0.2), rgba(62, 62, 62, 0.2));
    color: #f5f5f5;
}

/* Entry thumbnail */

.entry-thumbnail {
  display: block;
  margin-bottom: 30px;
}

.entry-thumbnail img {
  display: block;
  margin: 0 auto;
}

.byline,
.updated:not(.published) {
  display: none;
}

.single .byline,
.group-blog .byline {
  display: inline-block;
}

/* Entry content */

.entry-content h2 {
  padding-bottom: 10px;
  border-bottom: solid 1px #e0e0e0;
}

.entry-content h3 {
  padding-left: 10px;
    border-left: 5px solid #e0e0e0;
}

/* Pages */

.page-header {
  margin-bottom: 40px;
}

.page-title {
  margin-top: 0;
}

/* 404 page */

.error404 .page-content {
  margin-bottom: 40px;
}

.error404 .page-content .search-form,
.search .page-content .search-form {
  margin-bottom: 40px;
}

/* Front page */

.dan-front-page .entry-header h2.entry-title {
  margin-bottom: 20px;
}

.dan-front-page .recent-posts .hentry:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}

/*--------------------------------------------------------------
## Comments
--------------------------------------------------------------*/
#comments {
  padding-top: 30px;
  padding-bottom: 30px;
}

.comments-title,
.comment-reply-title {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 20px;
}

.comment-list,
.comment-list .children{
  margin: 0;
  padding: 0;
  list-style: none;
}

.comment-list article,
.comment-list .pingback,
.comment-list .trackback {
  margin-bottom: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
  border-bottom: solid 1px #eee;
}

.comment-list .children > li {
  padding-left: 10px;
}

.comment-author {
  margin-bottom: 5px;
  color: #616161;
  z-index: 2;
}

.comment-author a {
  color: #424242;
  text-decoration: none;
}

.comment-author a:hover,
.comment-author a:focus {
  opacity: 0.8;
}

.comment-author .avatar {
  position: relative;
  float: left;
  margin-right: 10px;
  width: 30px;
  height: 30px;
}

.comment-author .says {
  display: none;
}

.comment-metadata {
  color: #616161;
  font-size: 13px;
}

.comment-metadata a {
  color: #616161;
  text-decoration: none;
}

.comment-metadata a:hover,
.comment-metadata a:focus {
  opacity: 0.8;
}

.comment-metadata a.comment-edit-link {
  display: inline-block;
  margin-left: 20px;
    padding: 5px;
    border: solid 1px rgba(66, 66, 66, 0.3);
    border-radius: 3px;
    color: #616161;
    font-size: 13px;
    line-height: 1;
}

.comment-reply-link {
  display: inline-block;
  margin-top: 30px;
  padding: 5px;
  border: solid 1px rgba(66, 66, 66, 0.3);
  border-radius: 3px;
  color: #616161;
  font-size: 13px;
  text-decoration: none;
  line-height: 1;
}

.comment-notes,
.comment-awaiting-moderation,
.logged-in-as,
.form-allowed-tags {
  color: #616161;
  font-size: 13px;
  margin-bottom: 30px;
}

.no-comments {
  padding-top: 20px;
  font-size: 14px;
  font-style: italic;
}

.form-allowed-tags code {
  font-family: Inconsolata, monospace;
}

.form-submit {
  margin-bottom: 0;
  text-align: right;
}

.comment-form #wp-comment-cookies-consent {
  margin: 0 10px 0 0;
  vertical-align: middle;
}

.comment-form .comment-form-cookies-consent label {
  display: inline;
  vertical-align: middle;
}

.required {
  color: #f44336;
}

.comment-content ul,
.comment-content ol {
  margin: 0 0 20px 10px;
}

.comment-content li > ul,
.comment-content li > ol {
  margin-bottom: 0;
}

.comment-content a {
  word-wrap: break-word;
}

.bypostauthor {
  display: block;
}

/*--------------------------------------------------------------
## Post Formats
--------------------------------------------------------------*/
.blog .format-status .entry-title,
.archive .format-status .entry-title,
.blog .format-aside .entry-title,
.archive .format-aside .entry-title {
  display: none;
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widget {
  margin-bottom: 40px;
  margin-left: 4px;
}

.widget:last-child {
  margin-bottom: 0;
}

.widget .widget-title {
  margin-top: 0;
  margin-left: -4px;
  font-size: 20px;
  line-height: 1.4;
}

.widget-title a {
  color: inherit;
}

/* Make sure select elements fit in widgets. */
.widget select {
  max-width: 100%;
}

/* widget lists */

.widget ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.widget ul li,
.widget ol li {
  margin-top: 10px;
  margin-bottom: 10px;
}

.widget li > ul,
.widget li > ol {
  margin: 0;
  padding: 0;
  position: relative;
}

.widget ul li li {
  padding-left: 20px;
}

.widget li a {
  color: inherit;
  text-decoration: none;
}

.widget li a:hover,
.widget li a:focus {
  opacity: 0.8;
}

/* widget markup */

.widget .post-date,
.widget .rss-date {
  display: block;
  color: #616161;
  font-size: 13px;
}

.widget_archive li {
  color: #616161;
}

.widget_archive li a {
  color: #424242;
}

/* Text widget */

.widget_text {
  word-wrap: break-word;
}

.widget_text ul,
.widget_text ol {
  margin: 0 0 20px;
  padding-left: 40px;
}

.widget_text ul {
  list-style: disc;
}

.widget_text ol {
  list-style: decimal;
}

.widget_text ul li,
.widget_text ol li {
  padding: 0;
}

.widget_text li > ul,
.widget_text li > ol {
  margin-bottom: 0;
  padding-left: 40px;
}

.widget_text ul li li {
  padding-left: 0;
}

/* RSS Widget */
.widget_rss ul li {
  padding: 10px 0;
}

.widget_rss ul li:first-child {
  border-top: none;
  padding-top: 0;
}

.widget_rss li .rsswidget {
  font-size: 16px;
  line-height: 1.4;
}

.widget_rss .rss-date,
.widget_rss li cite {
  display: block;
  color: #616161;
  font-size: 12px;
  font-style: normal;
  line-height: 1.5;
}

.widget_rss .rss-date {
  margin: 10px 0;
  padding: 0;
}

.widget_rss .rssSummary {
  margin-bottom: 10px;
  font-size: 14px;
}

/* Recent Posts widget */

.widget_recent_entries .post-date {
  display: block;
}

/* Search */

.search-form {
  position: relative;
}

.search-form label {
  margin-bottom: 0;
}

input[type="search"].search-field {
  width: calc(100% - 3rem);
  padding: 5px;
  min-height: 2rem;
  font-size: 14px;
}

.search-form .search-submit {
  position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    padding: 0;
    width: 2.5rem;
  min-height: 2rem;
  font-size: 14px;
}

/* Tag cloud widget */
.tagcloud ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.tagcloud ul li {
  margin: 0 5px 10px 0;
  padding: 0;
}

.widget .tagcloud a,
.widget.widget_tag_cloud a,
.wp_widget_tag_cloud a {
  display: block;
  padding: 5px;
  border: solid 1px rgba(66, 66, 66, 0.3);
  border-radius: 3px;
  color: inherit;
  text-decoration: none;
  word-wrap: break-word;
}

.widget .tagcloud a:hover,
.widget .tagcloud a:focus,
.widget.widget_tag_cloud a:hover,
.widget.widget_tag_cloud a:focus,
.wp_widget_tag_cloud a:hover,
.wp_widget_tag_cloud a:focus {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(66, 66, 66, 0.1)), to(rgba(66, 66, 66, 0.1)));
  background-image: linear-gradient(rgba(66, 66, 66, 0.1), rgba(66, 66, 66, 0.1));
  opacity: 1;
}

/* Calendar widget */

.widget_calendar th,
.widget_calendar td {
  padding: 0;
  line-height: 2.5;
  text-align: center;
}

.widget_calendar caption {
  font-weight: 700;
  margin-bottom: 20px;
}

.widget_calendar tbody a {
  font-weight: 700;
}

.widget_calendar tfoot td {
  border: 0;
  line-height: 3;
}

/* Footer widgets */

.footer-widget {
  margin-top: 40px;
  margin-bottom: 30px;
  font-size: 14px;
}

@media screen and (max-width: 767px) {
  .footer-widget-1 {
    margin-bottom: 40px;
  }
}

.footer-widget .widget_calendar thead th,
.footer-widget .widget_calendar th,
.footer-widget .widget_calendar td {
  border-color: #bdbdbd;
}

/*--------------------------------------------------------------
# Infinite scroll
--------------------------------------------------------------*/
/* Globally hidden elements when Infinite Scroll is supported and in use. */
.infinite-scroll .pagination,
.infinite-scroll .posts-navigation, /* Older / Newer Posts Navigation (always hidden) */
.infinite-scroll.neverending .site-footer { /* Theme Footer (when set to scrolling) */
  display: none;
}

/* When Infinite Scroll has reached its end we need to re-display elements that were hidden (via .neverending) before. */
.infinity-end.neverending .site-footer {
  display: block;
}

/*--------------------------------------------------------------
# Media
--------------------------------------------------------------*/
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  border: none;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  margin-bottom: 20px;
  max-width: 100%;
}

/*--------------------------------------------------------------
## Captions
--------------------------------------------------------------*/
.wp-caption {
  margin-bottom: 20px;
  max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption .wp-caption-text {
  padding-top: 5px;
  color: #616161;
  font-size: 13px;
}

.wp-caption-text {
  text-align: center;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
  margin-bottom: 20px;
}

.gallery-caption {
  display: block;
  padding-top: 5px;
  color: #616161;
  font-size: 13px;
}

.gallery-item {
  display: inline-block;
  margin: 0 0 20px;
  padding: 0 10px 0 0;
  text-align: center;
  vertical-align: top;
  width: 50%;
}

.gallery-columns-1 .gallery-item {
  max-width: 100%;
}

.gallery-columns-2 .gallery-item {
  max-width: 50%;
}

.gallery-columns-3 .gallery-item {
  max-width: 33.33%;
}

@media screen and (min-width: 768px) {
  .gallery-columns-4 .gallery-item {
    max-width: 25%;
  }

  .gallery-columns-5 .gallery-item {
    max-width: 20%;
  }

  .gallery-columns-6 .gallery-item {
    max-width: 16.66%;
  }

  .gallery-columns-7 .gallery-item {
    max-width: 14.28%;
  }

  .gallery-columns-8 .gallery-item {
    max-width: 12.5%;
  }

  .gallery-columns-9 .gallery-item {
    max-width: 11.11%;
  }

  .gallery-columns-6 .gallery-caption,
  .gallery-columns-7 .gallery-caption,
  .gallery-columns-8 .gallery-caption,
  .gallery-columns-9 .gallery-caption {
    display: none;
  }
}

/*--------------------------------------------------------------
# Customizer
--------------------------------------------------------------*/

/* Used for placeholder text */
.dan-customizer.dan-front-page .dan-panel .dan-panel-title {
  display: block;
  margin-bottom: 20px;
  padding: 40px;
  border: dashed 2px #bdbdbd;
  font-weight: 700;
}

/*--------------------------------------------------------------
# Print
--------------------------------------------------------------*/

@media print {

  /* Hide elements */
  form,
  button,
  input,
  select,
  textarea,
  .navigation,
  .main-navigation,
  #secondary,
  .header-image,
  .page-links,
  .edit-link,
  .pagination,
  .post-navigation,
  .comment-respond,
  .comment-edit-link,
  .comment-reply-link,
  .comment-metadata .edit-link,
  .pingback .edit-link,
  .footer-widget {
    display: none !important;
  }

  /* Colors */
  body,
  .site {
    background: none !important; /* Brute force since user agents all print differently. */
  }

  body,
  a,
  .site-title a {
    color: #424242 !important; /* Make sure color schemes don't affect to print */
  }

  a,
  .site-title a {
    text-decoration: none;
  }

}

/*--------------------------------------------------------------
# ニュースマスターズ用追加
--------------------------------------------------------------*/
.boxColumnWrap {
  margin: 40px 0;
}

.boxEntryColumn {
  margin: 10px 0 20px;
  padding: 15px;
  border: 1px solid #ccc;
}

.list-masters {
  margin-bottom: 30px;
  padding: 20px;
  border: 1px solid #ccc;
  background: #fff;
}


