/*! Theme Name: design-clip Theme URI: http://underscores.me/ Author: jieyi_n Author URI: http://underscores.me/ Description: Description Version: 1.0.0 License: GNU General Public License v2 or later License URI: LICENSE Text Domain: design-clip Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned. design-clip is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc. Underscores is distributed under the terms of the GNU GPL v2 or later. Normalizing styles have been helped along thanks to the fine work of Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/ */ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
}
.wrapper {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}
h1 {
  font-size: 2em;
  margin: 0.67em 0;
  font-weight: 300;
}
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}
pre {
  font-family: monospace, monospace;
  font-size: 1em;
}
a {
  background-color: transparent;
  text-decoration: none;
}
abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}
b,
strong {
  font-weight: bolder;
}
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub {
  bottom: -0.25em;
}
sup {
  top: -0.5em;
}
img {
  border-style: none;
}
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  max-width: 100%;
}
button,
input {
  overflow: visible;
}
button,
select {
  text-transform: none;
}
button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}
fieldset {
  padding: 0.35em 0.75em 0.625em;
}
legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}
progress {
  vertical-align: baseline;
}
textarea {
  overflow: auto;
}
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
details {
  display: block;
}
summary {
  display: list-item;
}
template {
  display: none;
}
[hidden] {
  display: none;
}
body,
button,
input,
select,
optgroup,
textarea {
  color: #100303;
  font-family: "M PLUS Rounded 1c", -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
    sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}
p {
  margin-bottom: 1.5em;
}
dfn,
cite,
em,
i {
  font-style: italic;
}
blockquote {
  margin: 0 1.5em;
}
address {
  margin: 0 0 1.5em;
}
pre {
  background: #100303;
  font-family: "Courier 10 Pitch", courier, monospace;
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}
code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
  font-size: 0.9375rem;
  color: #fff;
}
abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}
mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}
big {
  font-size: 125%;
}
*,
*::before,
*::after {
  box-sizing: inherit;
}
html {
  box-sizing: border-box;
}
body {
  background: #f7f7f7;
  font-size: 14px;
}
hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}
ul,
ol {
  margin-bottom: 1.5em;
}
ul {
  list-style: none;
}
ol {
  list-style: decimal;
}
li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}
dt {
  font-weight: 700;
}
dd {
  margin: 0 1.5em 1.5em;
}
img {
  height: auto;
  max-width: 100%;
}
figure {
  margin: 1em 0;
}
table {
  margin: 0 0 1.5em;
  width: 100%;
}
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  font-size: 0.75rem;
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}
button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}
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 {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}
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 {
  color: #111;
}
select {
  border: 1px solid #ccc;
}
textarea {
  width: 100%;
}
input[type="submit"] {
  border: 2px solid #43d8c9;
  border-radius: 4px;
  margin: 0.5rem 0;
  font-size: 0.8rem;
  color: #100303;
  background: #f7f7f7;
}
input[type="submit"]:hover {
  border-color: #43d8c9;
  color: #f7f7f7;
  background: #43d8c9;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
}
@media screen and (max-width: 896px) {
  input[type="text"] {
    width: 250px;
  }
}
a {
  color: #100303;
}
a:visited {
  color: #100303;
}
a:hover,
a:focus,
a:active {
  color: #43d8c9;
}
a:focus {
  outline: thin dotted;
}
a:hover,
a:active {
  outline: 0;
}
.main-navigation {
  display: flex;
  align-items: center;
}
.main-navigation ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding-left: 0;
}
.main-navigation ul ul {
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
  float: left;
  position: absolute;
  top: 100%;
  left: -999em;
  z-index: 99999;
}
.main-navigation ul ul ul {
  left: -999em;
  top: 0;
}
.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
  display: block;
  left: auto;
}
.main-navigation ul ul a {
  width: 200px;
}
.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
  left: auto;
}
.main-navigation li {
  position: relative;
  margin: 0 1rem;
  padding: 1rem;
}
.main-navigation a {
  display: block;
  text-decoration: none;
}
#drawer-checkbox,
#drawer-checkbox2 {
  display: none;
}
@media screen and (max-width: 896px) {
  .main-navigation {
    display: none;
  }
}
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #43d8c9;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
#primary[tabindex="-1"]:focus {
  outline: 0;
}
.alignleft {
  float: left;
  margin-right: 1.5em;
  margin-bottom: 1.5em;
}
.alignright {
  float: right;
  margin-left: 1.5em;
  margin-bottom: 1.5em;
}
.aligncenter {
  clear: both;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.5em;
}
.widget {
  margin: 0 0 1.5em;
}
.widget select {
  max-width: 100%;
}
@media screen and (max-width: 500px) {
  .entry-title,
  .archive article.code_clip .entry-title {
    font-size: 16px;
    font-weight: 600;
  }
  .entry-content {
    font-size: 16px;
  }
}
.sticky {
  display: block;
}
.post,
.page {
  margin: 0 0 1.5em;
}
.updated:not(.published) {
  display: none;
}
.page-content,
.entry-content,
.entry-summary {
  margin: 1.5em 0 0;
}
.page-links {
  clear: both;
  margin: 0 0 1.5em;
}
.comment-content a {
  word-wrap: break-word;
}
.bypostauthor {
  display: block;
}
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
  display: none;
}
.infinity-end.neverending .site-footer {
  display: block;
}
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
  border: none;
  margin-bottom: 0;
  margin-top: 0;
  padding: 0;
}
embed,
iframe,
object {
  max-width: 100%;
}
.custom-logo-link {
  display: inline-block;
}
.wp-caption {
  margin-bottom: 1.5em;
  max-width: 100%;
}
.wp-caption img[class*="wp-image-"] {
  display: block;
  margin-left: auto;
  margin-right: auto;
}
.wp-caption .wp-caption-text {
  margin: 0.8075em 0;
}
.wp-caption-text {
  text-align: center;
}
.gallery {
  margin-bottom: 1.5em;
  display: grid;
  grid-gap: 1.5em;
}
.gallery-item {
  display: inline-block;
  text-align: center;
  width: 100%;
}
.gallery-columns-2 {
  grid-template-columns: repeat(2, 1fr);
}
.gallery-columns-3 {
  grid-template-columns: repeat(3, 1fr);
}
.gallery-columns-4 {
  grid-template-columns: repeat(4, 1fr);
}
.gallery-columns-5 {
  grid-template-columns: repeat(5, 1fr);
}
.gallery-columns-6 {
  grid-template-columns: repeat(6, 1fr);
}
.gallery-columns-7 {
  grid-template-columns: repeat(7, 1fr);
}
.gallery-columns-8 {
  grid-template-columns: repeat(8, 1fr);
}
.gallery-columns-9 {
  grid-template-columns: repeat(9, 1fr);
}
.gallery-caption {
  display: block;
}
.wrap {
  width: 95%;
  margin: 0 auto;
  max-width: 1625px;
  min-width: 260px;
}
@media screen and (max-width: 1024px) and (min-width: 897px) {
  .wrap {
    width: calc(100% - 200px);
  }
}
.page-id-651 .wrap,
.post-type-archive .wrap,
.tax-cat_code_clip .wrap,
.tax-tag_code_clip .wrap,
.single .wrap {
  max-width: 1024px;
}
header#masthead {
  display: flex;
  position: fixed;
  left: 0;
  height: 75px;
  background: linear-gradient(to bottom, #fff, rgba(247, 247, 247, 0.7));
  background: -moz-linear-gradient(top, #fff, rgba(247, 247, 247, 0.7));
  background: -webkit-linear-gradient(top, #fff, rgba(247, 247, 247, 0.7));
  width: 100%;
  top: 0;
  -webkit-box-shadow: -3px 0 5px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 5px 10px 10px 0 rgba(0, 0, 0, 0.2);
  justify-content: center;
  z-index: 999;
}
@media screen and (max-width: 896px) {
  header#masthead {
    justify-content: center;
  }
}
h1.site-title img,
p.site-title img {
  width: 200px;
  margin: 0 0.67em;
}

@media screen and (max-width: 500px) {
  h1.site-title img,
  p.site-title img {
    height: 30px;
    margin: 0 0.67em;
  }
}

.site-branding {
  display: inline-block;
}
header.page-header {
  width: 100%;
}
#sample {
  background: -moz-linear-gradient(top, #ffc778, rgba(255, 0, 0, 0.1));
  background: -webkit-linear-gradient(top, #ffc778, rgba(255, 0, 0, 0.1));
  background: linear-gradient(to bottom, #ffc778, rgba(255, 0, 0, 0.1));
}
.sub-menu {
  font-weight: 100;
  background: linear-gradient(to right, #fff, rgba(247, 247, 247, 0.7));
  background: -moz-linear-gradient(left, #fff, rgba(247, 247, 247, 0.7));
  background: -webkit-linear-gradient(left, #fff, rgba(247, 247, 247, 0.7));
  width: 350px;
  height: calc(100% - 75px);
  padding-right: 70px;
  position: fixed;
  z-index: 100;
  left: -275px;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  color: #100303;
  top: 75px;
  -webkit-box-shadow: 5px 10px 10px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 5px 10px 10px 0 rgba(0, 0, 0, 0.2);
}
@media screen and (max-width: 1024px) and (min-width: 897px) {
  .sub-menu {
    width: 325px;
  }
}
.sub-menu:hover,
.sub-menu:focus {
  transform: translate3d(275px, 0, 0);
  animation-timing-function: 1s ease-in;
}
.sub-menu .title {
  top: 50%;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  transform: rotate(90deg);
  right: -35px;
  font-size: 15px;
}
@media screen and (max-width: 1024px) and (min-width: 897px) {
  .sub-menu .title {
    right: -40px;
  }
}
.sub-menu .nav {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  font-weight: 100;
  height: 95%;
  width: calc(100% - 75px);
  margin: 0 auto;
  overflow-y: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.sub-menu .nav::-webkit-scrollbar {
  display: none;
}
.sub-menu ul {
  margin-left: 0;
  padding-left: 20px;
}
.sub-menu .nav li {
  list-style-type: none;
}
.sub-menu .nav li a {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s;
  -webkit-transition: all 0.3s;
  font-weight: 300;
}
.sub-menu .nav li a:hover {
  color: #95389e;
}
.overflow p {
  margin-bottom: 0;
  font-weight: 300;
}
.sub-menu2 {
  background: linear-gradient(to left, #fff, rgba(247, 247, 247, 0.7));
  background: -moz-linear-gradient(right, #fff, rgba(247, 247, 247, 0.7));
  background: -webkit-linear-gradient(right, #fff, rgba(247, 247, 247, 0.7));
  padding-left: 55px;
  right: -275px;
  left: auto;
  -webkit-box-shadow: 5px 10px 10px 0 rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 10px 5px rgba(0, 0, 0, 0.2);
}
.sub-menu2:hover,
.sub-menu2:focus {
  transform: translate3d(-275px, 0, 0);
}
.sub-menu2 .title {
  transform: rotate(270deg);
  left: -15px;
  right: auto;
}
.sub-navigation .sp-icon {
  display: none;
}
@media screen and (max-width: 1024px) and (min-width: 897px) {
  .sub-menu2 .title {
    left: -20px;
  }
}
@media screen and (max-width: 896px) {
  .sub-menu {
    left: auto;
  }
  #drawer-icon,
  #drawer-icon2 {
    display: inline-block;
    height: 50px;
    position: fixed;
    bottom: 0;
    right: 1px;
    width: 50px;
    z-index: 999;
    background: #43d8c9;
  }
  #drawer-icon2 {
    bottom: 50px;
    right: 1px;
    background: #f7f7f7;
    color: #43d8c9;
    border: 2px solid #43d8c9;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #drawer-icon span {
    background: #f7f7f7;
    border-radius: 4px;
    display: block;
    height: 2px;
    left: 50%;
    margin: 0 0 0 -25%;
    position: absolute;
    top: 50%;
    transition: all 0.3s ease-in-out;
    width: 25px;
  }
  #drawer-icon2 i {
    transition: all 0.3s ease-in-out;
  }
  #drawer-icon span::before,
  #drawer-icon span::after {
    -webkit-transform: rotate(0);
    background: #f7f7f7;
    border-radius: 4px;
    content: "";
    display: block;
    height: 100%;
    left: 50%;
    margin: 0 0 0 -50%;
    position: absolute;
    top: 50%;
    transform: rotate(0);
    transition: all 0.3s ease-in-out;
    width: 100%;
  }
  #drawer-icon span::before {
    margin-top: -35%;
  }
  #drawer-icon span::after {
    margin-top: 25%;
  }
  #drawer-checkbox:checked ~ #drawer-icon span {
    background: rgba(51, 51, 51, 0);
  }
  #drawer-checkbox2:checked ~ #drawer-icon2 {
    background: rgba(51, 51, 51, 0);
  }
  #drawer-checkbox:checked ~ #drawer-icon span::before,
  #drawer-checkbox:checked ~ #drawer-icon span::after {
    content: "";
    display: block;
    height: 100%;
    left: 53%;
    margin: -8% 0 0 -50%;
    position: absolute;
    top: 50%;
    width: 100%;
  }
  #drawer-checkbox:checked ~ #drawer-icon span::before {
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }
  #drawer-checkbox:checked ~ #drawer-icon span::after {
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  #drawer-content,
  #drawer-content2 {
    overflow: auto;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 40;
    width: 300px;
    height: 100%;
    padding: 50px 25px 50px 0;
    background: #fff;
    transition: all 0.3s ease-in-out 0s;
    transform: translateX(100%);
    overflow-y: scroll;
  }
  #drawer-checkbox:checked ~ #drawer-content,
  #drawer-checkbox2:checked ~ #drawer-content2 {
    transform: translateX(0);
    box-shadow: 6px 0 25px rgba(0, 0, 0, 0.16);
  }
  #drawer-close,
  #drawer-close2 {
    display: none;
    position: fixed;
    z-index: 39;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    transition: all 0.3s ease-in-out 0s;
  }
  #drawer-checkbox:checked ~ #drawer-close,
  #drawer-checkbox2:checked ~ #drawer-close2 {
    display: block;
    opacity: 0.3;
  }
  .sub-menu .title {
    display: none;
  }
  .sub-navigation .sp-icon {
    display: block;
  }
  #drawer-icon .sp-icon {
    display: inline-block;
    height: 0;
    left: 0;
    margin: 0;
    top: 10%;
    width: 100%;
    color: #fff;
  }
  .sub-menu .nav {
    width: calc(100% - 50px);
  }
  .sub-menu .nav li ul li {
    margin-bottom: 7px;
  }
  .sub-menu .nav li ul li a {
    display: block;
    padding: 10px 0;
  }
  .sub-menu .nav li ul li p {
    margin: 0;
  }
}
.wrap {
  margin-top: 75px;
}
.navigation {
  width: 100%;
  margin-top: 2rem;
}
.nav-links {
  display: flex;
  justify-content: space-between;
}
.nav-links a {
  font-size: 14px;
  margin: 1rem 0;
  padding: 1rem 2rem;
  border: 1px solid;
  transition: 0.3s ease;
}
.nav-links .nav-previous,
.nav-links .nav-next {
  flex: 0 1 50%;
}
.nav-links .nav-next {
  text-align: right;
}
.site-footer {
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.site-footer span {
  font-size: 0.8rem;
}
article.post,
.search .type-site_module,
.search .type-site_temp,
.search .type-code_clip,
.tax-cat_module .type-site_module,
.tax-cat_width .type-site_module,
.tax-cat_width .type-site_temp,
.tax-tag_original .type-site_module,
.tax-tag_original .type-site_temp {
  flex: 0 1 19%;
  margin: 0 0.5%;
  min-width: 260px;
}
article.post a,
.type-code_clip a {
  text-decoration: none;
}
article.post img,
.single .entry-content img,
.tax-cat_module .type-site_module img,
.tax-cat_width .type-site_temp img,
.tax-tag_original .type-site_module img,
.tax-tag_original .type-site_temp img {
  border: 1px solid #ccc;
}
.single article {
  flex: 0 1 100%;
  margin: 0%;
  margin-bottom: 2rem;
}
.archive article.code_clip .entry-title {
  font-size: 1.17em;
  font-weight: 700;
}
@media screen and (max-width: 896px) {
  article.post,
  .search .type-site_module,
  .search .type-site_temp,
  .search .type-code_clip,
  .tax-cat_module .type-site_module,
  .tax-cat_width .type-site_temp,
  .tax-tag_original .type-site_module,
  .tax-tag_original .type-site_temp {
    flex: 0 1 100%;
    margin: 1rem;
    min-width: 230px;
  }
  .wrap {
    justify-content: center;
  }
}
.type-code_clip,
.type-site_module,
.type-site_temp {
  width: 100%;
  margin-bottom: 2rem;
}
.entry-meta ul {
  margin-top: 1rem;
  margin-left: 0;
  margin-right: 0.5rem;
  padding-left: 0;
  display: flex;
  list-style: none;
}
.entry-meta ul li {
  margin: 0;
  margin-right: 0.5rem;
  padding: 0.1rem 0.3rem;
  border: 1px solid #100303;
  border-radius: 3px;
}
img.attachment-.size-.wp-post-image:hover {
  filter: contrast(80%);
}
form.searchandfilter ul {
  padding: 0;
  margin-left: 0;
}
.post-type-archive .type-code_clip,
.tax-cat_code_clip .type-code_clip,
.tax-tag_code_clip .type-code_clip {
  flex: 0 1 48%;
  margin: 0 1%;
}
.post-type-archive .entry-content,
.tax-cat_code_clip .entry-content,
.tax-tag_code_clip .entry-content {
  padding: 1rem 2rem;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 3px;
  height: 450px;
  position: relative;
}
.post-type-archive .entry-title,
.tax-cat_code_clip .entry-title,
.tax-tag_code_clip .entry-title {
  margin: 0.5rem 0;
}
.btn {
  text-align: right;
  position: absolute;
  bottom: 1rem;
  right: 1rem;
}
.btn a {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border: 1px solid #100303;
  margin-top: 0.5rem;
}
@media screen and (max-width: 896px) {
  .post-type-archive .type-code_clip,
  .tax-cat_code_clip .type-code_clip,
  .tax-tag_code_clip .type-code_clip {
    flex: 0 1 100%;
    margin: 1rem 0;
  }
  .post-type-archive .entry-content,
  .tax-cat_code_clip .entry-content,
  .tax-tag_code_clip .entry-content {
    height: 100%;
    position: static;
  }
  .btn {
    text-align: center;
    position: static;
  }
  .btn a {
    margin-top: 2rem;
    width: 70%;
    max-width: 500px;
    min-width: 200px;
  }
}
.related {
  width: 100%;
  margin-top: 72px;
}
.related-list {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  margin-top: 0;
  margin-left: 0;
  padding-left: 0;
}
.related-list li {
  flex: 0 1 24%;
  margin: 0 0.5%;
  min-width: 245px;
}
@media screen and (max-width: 500px) {
  .related-list li {
    flex: 0 1 49%;
    margin: 0;
    min-width: 150px;
  }
  .related-list li:nth-child(even) {
    margin-left: 2%;
  }
}
.page-id-651 .item {
  width: 100%;
}
.page-id-651 .item .nav {
  display: flex;
  padding-left: 0;
}
.page-id-651 .nav_item {
  flex: 0 1 25%;
  padding-right: 5%;
}
.page-id-651 .item .nav li ul {
  margin-left: 0;
}
@media screen and (max-width: 500px) {
  .page-id-651 .item .nav {
    flex-direction: column;
    justify-content: center;
  }
}
