@charset "UTF-8";

/* =========================================
   content.css
   本文 / 記事UI共通
========================================= */

/* --- Breadcrumb --- */
.aioseo-breadcrumbs {
  color: var(--color-text-sub);
  font-size: 1.2rem;
  white-space: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.aioseo-breadcrumbs::-webkit-scrollbar {
  display: none;
}

.aioseo-breadcrumbs a {
  color: var(--color-link);
  text-decoration: none;
}

.aioseo-breadcrumbs a:hover {
  text-decoration: underline;
}

/* --- Archive --- */
.archive-content {
  padding: 2rem;
}

.archive-content header {
  margin: 0 0 2.5rem;
  text-align: center;
}

.archive-content h1 {
  margin: 2rem 2rem 0;
  font-size: 2rem;
  font-family: var(--font-heading);
  font-weight: normal;
}

.archive-content header > p {
  margin: 0.5rem 0;
  color: var(--color-text-muted);
  font-family: var(--font-heading);
  opacity: 0.7;
}

.archive-content a {
  text-decoration: none;
}

.archive-content a dl {
  display: table;
  width: 100%;
  padding: 1rem 0;
  color: #383838;
  border-bottom: 1px solid #f6f6f6;
}

.archive-content dt {
  display: table-cell;
  width: 9.8rem;
  vertical-align: middle;
}

.archive-content dd {
  display: table-cell;
  padding: 1rem;
  vertical-align: middle;
}

.archive-content a:hover dd {
  color: var(--color-link);
  text-decoration: underline;
}

/* --- Title Frame --- */
.title-frame,
.archive-content h1.title-frame,
div.title-frame {
  display: flex;
  align-items: center;
  margin: 0;
  color: #333333;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: normal;
  text-align: center;
}

.title-frame::before,
.title-frame::after {
  content: "";
  flex-grow: 1;
  border-top: 1px solid currentColor;
}

.title-frame::before {
  margin-right: 1em;
}

.title-frame::after {
  margin-left: 1em;
}

/* --- Entry --- */
.entry-content .title-frame {
  margin: 0 2rem;
}

.entry-content h1 {
  margin: 2rem 1.5rem;
  font-size: 2.4rem;
  font-family: var(--font-heading);
  font-weight: normal;
}

.entry-content h1 span {
  display: inline-block;
}

.entry-content h2 {
  position: relative;
  margin: 2em 0 1em;
  padding: 0.2em 0;
  clear: both;
  font-size: 2.1rem;
  border-bottom: 2px solid #eeeeee;
}

.entry-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 3em;
  height: 2px;
  background: #333333;
}

.entry-content h2.w2::before { width: 2em; }
.entry-content h2.w3::before { width: 3em; }
.entry-content h2.w4::before { width: 4em; }
.entry-content h2.w5::before { width: 5em; }
.entry-content h2.w6::before { width: 6em; }
.entry-content h2.w7::before { width: 7em; }
.entry-content h2.w8::before { width: 8em; }
.entry-content h2.w9::before { width: 9em; }

.entry-content h3 {
  margin: 2em 0 1em;
  padding: 2px 0 5px 10px;
  font-size: 2rem;
  border-left: 3px solid #333333;
}

.entry-content h4 {
  margin: 1rem 0 0.5rem;
  clear: both;
  font-size: 1.7rem;
}

.entry-content p {
  margin: 0 0 1em;
  font-size: 1.6rem;
  line-height: 1.7;
}

.entry-content p a {
  text-decoration: underline;
}

.entry-content p a:hover {
  text-decoration: none;
}

.entry-content p a.under-none {
  text-decoration: none;
}

.entry-content li {
  font-size: 1.4rem;
  line-height: 1.6;
}

.entry-content blockquote {
  margin: 2rem 1rem;
  padding: 1rem;
  font-size: 1.4rem;
  background: #f7f7f7;
  border-top: 1px solid #cccccc;
  border-bottom: 1px solid #cccccc;
}

/* --- Related List --- */
.list-kanren li {
  margin: 0 0 3px;
  padding-left: 1em;
  font-size: 1.6rem;
  text-indent: -1em;
}

.list-kanren li a {
  text-decoration: none;
}

/* --- Reference Book --- */
.sanko-book {
  display: table;
  width: 100%;
  border-bottom: 1px solid #eeeeee;
}

.sanko-book dt {
  display: table-cell;
  width: 8rem;
  padding: 1rem;
  vertical-align: top;
}

.sanko-book dd {
  display: table-cell;
  padding: 1rem 0;
  font-size: 1.5rem;
  text-align: left;
  vertical-align: middle;
}

.sanko-book dd a {
  font-size: 1.7rem;
  font-weight: 700;
}

/* --- Post Meta --- */
.post-meta {
  margin: 1em 0 0.5em;
  text-align: center;
}

.post-meta a {
  display: inline-block;
  margin: 0 0.5em 0.5em 0;
  padding: 0.5em;
  color: #666666;
  font-size: 1.3rem;
  line-height: 1;
  text-decoration: none;
  background: #ffffff;
  border: 1px solid #666666;
  border-radius: 0.4em;
  transition: 0.2s;
}

.post-meta a:hover {
  color: #ffffff;
  background: #666666;
}

/* --- Share --- */
.link-share {
  margin: 6rem 0 3rem;
  padding: 1.5rem;
  border-top: 1px solid #eeeeee;
  border-bottom: 1px solid #eeeeee;
}

.link-share ul {
  margin: 0;
  padding: 0;
}

.link-share li {
  display: inline-block;
  font-size: 2rem;
  color: #cccccc;
}

.link-share li a {
  margin: 0 1rem;
  text-decoration: none;
}

.link-share li a:hover {
  opacity: 0.7;
}

/* --- Copy Button --- */
.copy-button {
  display: block;
  margin: 1rem 0 0;
  padding: 1rem 1em;
  color: #ffffff;
  font-size: 1.4rem;
  text-align: center;
  background: #999999;
  border-radius: 6px;
  cursor: pointer;
}

.copy-button:hover {
  background: #aaaaaa;
  box-shadow: 2px 2px 4px #cccccc;
}

.copy-button.success { background: green; }
.copy-button.error   { background: red; }

/* --- Prev Next --- */
.link-post {
  display: table;
  table-layout: fixed;
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
}

.link-post a {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  color: #666666;
  font-size: 1.3rem;
  text-decoration: none;
  box-shadow: 0 0 1px #cccccc;
}

.link-post a:hover {
  box-shadow: 2px 2px 4px #cccccc;
}

.link-prev {
  padding: 0 1rem 0 2rem;
}

.link-next {
  padding: 0 2rem 0 1rem;
  text-align: right;
}

.link-home {
  padding: 2rem;
  text-align: center;
}

.link-prev::before,
.link-next::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 15px;
  height: 100%;
  background: #333333;
}

.link-next::before {
  left: auto;
  right: 0;
}

.link-post a div {
  display: table;
  width: 100%;
}

.link-post a div span {
  display: table-cell;
  padding: 1rem 0.5rem;
  vertical-align: middle;
}

/* --- Search Form --- */
.searchform {
  position: relative;
  max-width: 24rem;
  margin: 2rem auto 0;
}

.searchform input[type="text"] {
  width: 100%;
  height: 4rem;
  padding: 0 1rem;
  font-size: 1.2rem;
  background: #fbfbfb;
  border: 1px solid #999999;
}

.searchform button[type="submit"] {
  position: absolute;
  top: 0;
  right: 0;
  width: 4rem;
  height: 4rem;
  color: #ffffff;
  font-size: 1.8rem;
  background: #555555;
  border: 0;
  cursor: pointer;
}

.searchform button[type="submit"]:hover {
  background: #888888;
}

/* --- CF7 --- */
.wpcf7 .wpcf7-list-item {
  display: block;
}

.wpcf7 input[type="submit"] {
  width: 27rem;
  margin: 1em auto 0;
  padding: 1rem 4rem;
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
  text-decoration: none;
  background: #49a9d4;
  border: 0;
  border-radius: 5px;
}

.wpcf7 input[type="submit"]:hover {
  opacity: 0.7;
}

/* --- Pagination --- */
.pagination {
  margin: 3rem 0;
}

.nav-links {
  display: flex;
  justify-content: center;
}

.nav-links a {
  text-decoration: none;
  transition: 0.2s;
}

.nav-links a:hover {
  color: #ffffff;
  background: #69a4db;
}

.pagination .page-numbers {
  display: inline-block;
  margin-right: 1rem;
  padding: 0.5rem 1rem;
  color: #69a4db;
  background: #ffffff;
  box-shadow: 0 0 1px #999999;
}

.pagination .current {
  color: #ffffff;
  background: #69a4db;
}

.pagination .prev,
.pagination .next,
.pagination .dots {
  background: transparent;
  box-shadow: none;
}

/* --- TOC --- */
.toc {
  margin: 1.5rem 0;
  padding: 1em 0;
  font-size: 0.9em;
  border: 3px double #dddddd;
}

.toc p {
  text-align: center;
}

.toc li {
  padding: 2px 0 2px 1em;
  text-indent: -1em;
  border-bottom: 1px dashed #eeeeee;
  list-style: none;
}

.toc li::before {
  content: "・";
}

.toc a {
  color: #999999;
  text-decoration: none;
}

.toc a:hover {
  text-decoration: underline;
}

/* --- Memo --- */
.memo {
  margin: 2em 0;
  padding: 2em 1em;
  font-size: 1.4rem;
  background: #f7f7f7;
  border: 1px solid #dddddd;
}

@media screen and (max-width: 767px) {
  .link-post a {
    display: block;
  }
}
