/* 
Template Name: Mediumish 
Copyright: Sal, WowThemes.net, https://www.wowthemes.net 
License: https://www.wowthemes.net/freebies-license/ 
*/
@media screen and (min-width: 1500px) {
  html {
    font-size: 18px;
  } /* Increase the font size on higher resolutions */
  .container {
    max-width: 80%;
  }
}
.mainheading {
  padding: 1rem 0rem;
}

/* ベーススタイル */
html {
  font-size: 16px;
}

body {
  font-family: var(--base-font);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  color: var(--primary-color);
  transition: var(--transition-base);
  text-decoration: none;

  &:hover {
    color: darken(var(--primary-color), 10%);
  }
}

pre {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  border: #e3edf3 1px solid;
  width: 100%;
  padding: 7px;
  font-family: monospace, sans-serif;
  font-size: 0.9rem;
  white-space: pre;
  overflow: auto;
  background: #fff;
  border-radius: 0px;
  line-height: 1.6;
  color: #333;
  margin-bottom: -rem;
}

.mediumnavigation {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 2px 2px -2px rgba(0, 0, 0, 0.15);
  transition: top 0.2s ease-in-out;
}

.main-content {
  min-height: 300px;
}

.site-content {
  min-height: 60vh;
  padding-top: 1.5rem;
  margin-top: 57px;
}

section {
  margin-bottom: 20px;
}

section.recent-posts {
  margin-bottom: 0;
}

.section-title h2 {
  border-bottom: 1px solid rgba(0, 0, 0, 0.125);
  margin-bottom: 25px;
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 27px;
}

.section-title span {
  border-bottom: 1px solid rgba(0, 0, 0, 0.44);
  display: inline-block;
  padding-bottom: 20px;
  margin-bottom: -1px;
}

.article-post ol,
.article-post ul {
  margin-bottom: 1.5rem;
}

.article-post ol ol,
.article-post ul ul {
  list-style: disc;
  margin-bottom: 0rem;
}

@media (min-width: 576px) {
  .card-columns.listfeaturedtag {
    column-count: 2;
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.8rem;
    padding-left: 0.8rem;
  }
}

.listfeaturedtag {
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  height: 100%;
  overflow: hidden;

  &:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
}

.listfeaturedtag .wrapthumbnail {
  height: 100%;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.listfeaturedtag .thumbnail {
  background-size: cover;
  height: 100%;
  display: block;
  background-position: center center;
  background-origin: border-box;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
  border-right: 0;
}

/* ギャップをなくすためのスタイル */
.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.listfeaturedtag .card {
  border-left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.listfeaturedtag .card-block {
  padding-left: 0;
}

.listfeaturedtag h2.card-title,
.listrecent h2.card-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  color: rgba(0, 0, 0, 0.8);
}

.listfeaturedtag h4.card-text,
.listrecent h4.card-text {
  color: rgba(0, 0, 0, 0.8);
  font-size: 0.95rem;
  line-height: 1.6;
  font-weight: 400;
}

.featured-box-thumb {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.featured-box-img-cover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  margin: 0;
  padding: 0;
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.wrapthumbnail {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.wrapthumbnail a {
  display: block;
  height: 100%;
  margin: 0;
  padding: 0;
}

@media (max-width: 991px) {
  .featured-box-img-cover {
    height: auto;
    width: 100%;
  }
}

.wrapfooter {
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.author-thumb {
  width: 40px;
  height: 40px;
  margin-right: 13px;
  border-radius: 100%;
}

.post-top-meta {
  margin-bottom: 2rem;
}

.post-top-meta .author-thumb {
  width: 72px;
  height: 72px;
}

.post-top-meta.authorpage .author-thumb {
  margin-top: 40px;
}

.post-top-meta span {
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.44);
  display: inline-block;
}

.post-top-meta .author-description {
  margin-bottom: 5px;
  margin-top: 5px;
  font-size: 0.95rem;
}

.toc ul {
  list-style: decimal;
  font-weight: 400;
}

.author-meta {
  flex: 1 1 auto;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  overflow: hidden !important;
}

span.post-name,
span.post-date,
span.author-meta {
  display: inline-block;
}

span.post-date,
span.post-read {
  color: rgba(0, 0, 0, 0.44);
}

span.post-read-more {
  align-items: center;
  display: inline-block;
  float: right;
  margin-top: 8px;
}

span.post-read-more a {
  color: rgba(0, 0, 0, 0.44);
}

span.post-name a,
span.post-read-more a:hover {
  color: rgba(0, 0, 0, 0.8);
}

.dot:after {
  content: "·";
  margin-left: 3px;
  margin-right: 3px;
}

.mediumnavigation .form-control {
  font-size: 0.8rem;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.09);
  min-width: 180px;
}

.mediumnavigation .form-inline {
  margin-left: 15px;
}

.mediumnavigation .form-inline .btn {
  margin-left: -50px;
  border: 0;
  border-radius: 30px;
  cursor: pointer;
}

.mediumnavigation .form-inline .btn:hover,
.mediumnavigation .form-inline .btn:active {
  background: transparent;
  color: green;
}

.mediumnavigation .navbar-brand {
  font-weight: 500;
}

.mediumnavigation .dropdown-menu {
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin: 0.5rem 0 0;
}

.mediumnavigation .nav-item,
.dropdown-menu {
  font-size: 0.9rem;
}

.mediumnavigation .search-icon {
  margin-left: -40px;
  display: inline-block;
  margin-top: 3px;
  cursor: pointer;
}

.mediumnavigation .navbar-brand img {
  max-height: 30px;
  margin-right: 5px;
}

.mainheading h1.sitetitle {
  font-family: Righteous;
}

.mainheading h1.posttitle {
  font-weight: 700;
  margin-bottom: 1rem;
}

.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
  padding-top: 15px;
  padding-bottom: 12px;
  font-size: 0.8rem;
  color: rgba(0, 0, 0, 0.44);
  margin-top: 50px;
  margin-bottom: 62px;
  position: relative;
  background: #fff;
}

.link-dark {
  color: rgba(0, 0, 0, 0.8);
}

.article-post {
  word-break: break-word;
  overflow-wrap: break-word;
  font-size: 1.1rem;
  line-height: 1.8;
}

blockquote {
  border-left: 4px solid #00ab6b;
  padding: 0 20px;
  font-style: italic;
  color: rgba(0, 0, 0, 0.5);
}

.article-post p,
.article-post blockquote {
  margin: 0 0 1.5rem 0;
}

.featured-image {
  display: block;
  margin-bottom: 1.5rem;
}

.share {
  text-align: center;
}

.share p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.share ul li {
  display: inline-block;
  margin-bottom: 9px;
}

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

.share ul li i.fa {
  border: 1px solid #ddd;
  width: 30px;
  height: 30px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
}

.svgIcon {
  vertical-align: middle;
}

.sticky-top-offset {
  top: 100px;
}

@media (min-width: 1024px) {
  .share ul li {
    display: block;
  }
}

@media (max-width: 999px) {
  .featured-box-img-cover {
    height: 359px;
  }

  .alertbar {
    position: relative !important;
    margin-bottom: 20px;
    margin-top: 20px;
    box-shadow: none !important;
    padding-right: 14px !important;
  }

  #comments {
    margin-right: 15px;
  }

  .jumbotron.fortags {
    margin-bottom: 0 !important;
  }

  .alertbar form {
    margin-top: 20px;
  }

  .alertbar span,
  .alertbar form {
    display: block;
  }

  .alertbar input[type="submit"] {
    border-radius: 3px !important;
  }

  .alertbar input[type="email"] {
    margin-right: 0px !important;
    display: block;
    border-right: 1px solid #ddd !important;
    margin-bottom: 10px;
  }

  .jumbotron {
    margin-bottom: 0;
    border-radius: 0;
  }

  .listfeaturedtag .card {
    height: auto;
  }

  .listfeaturedtag .wrapfooter {
    position: relative;
    margin-top: 30px;
  }

  .listfeaturedtag .card-block {
    padding: 20px;
  }

  .footer {
    margin-top: 0px;
    margin-bottom: 0px;
  }
}

@media (max-width: 1024px) {
  .post-top-meta .col-md-10 {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .post-top-meta.authorpage {
    text-align: center;
  }
}

.share,
.share a {
  color: rgba(0, 0, 0, 0.44);
  fill: rgba(0, 0, 0, 0.44);
}

.graybg {
  background-color: #fafafa;
  padding: 40px 0 46px;
  position: relative;
}

.listrelated .card {
  box-shadow: 0 1px 7px rgba(0, 0, 0, 0.05);
  border: 0;
}

ul.tags {
  list-style: none;
  padding-left: 0;
  margin: 0 0 3rem 0;
}

ul.tags li {
  display: inline-block;
  font-size: 0.9rem;
}

ul.tags li a {
  background: rgba(0, 0, 0, 0.05);
  color: rgba(0, 0, 0, 0.6);
  border-radius: 3px;
  padding: 5px 10px;
}

ul.tags li a:hover {
  background: rgba(0, 0, 0, 0.07);
  text-decoration: none;
}

.margtop3rem {
  margin-top: 3rem;
}

.sep {
  height: 1px;
  width: 20px;
  background: #999;
  margin: 0px auto;
  margin-bottom: 1.2rem;
}

.btn.follow {
  border-color: #02b875;
  color: #1c9963;
  padding: 3px 10px;
  text-align: center;
  border-radius: 999em;
  font-size: 0.85rem;
  display: inline-block;
}

.btn.subscribe {
  background-color: #1c9963;
  border-color: #1c9963;
  color: rgba(255, 255, 255, 1);
  fill: rgba(255, 255, 255, 1);
  border-radius: 30px;
  font-size: 0.85rem;
  margin-left: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.post-top-meta .btn.follow {
  margin-left: 5px;
  margin-top: -4px;
}

.alertbar {
  box-shadow: 0 -3px 10px 0 rgba(0, 0, 0, 0.0785);
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: #fff;
  width: 100%;
  padding: 14px 0;
  z-index: 1;
  display: none;
}

.alertbar form {
  display: inline-block;
}

.alertbar input[type="email"] {
  font-size: 0.85rem;
  padding: 3px 5px 3px 10px;
  border-top-left-radius: 3px;
  border-bottom-left-radius: 3px;
  border: 1px solid #ddd;
  border-right: 0;
  margin-right: -10px;
  height: 34px;
  letter-spacing: 0.5px;
  margin-left: 5px;
}

.alertbar input[type="submit"] {
  background-color: #1c9963;
  border: 1px solid #1c9963;
  color: rgba(255, 255, 255, 1);
  fill: rgba(255, 255, 255, 1);
  font-size: 0.85rem;
  border-radius: 0;
  padding: 4px 10px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  font-weight: 600;
  height: 34px;
  letter-spacing: 0.5px;
  cursor: pointer;
}

.form-control::-webkit-input-placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.form-control:-moz-placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.form-control::-moz-placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.form-control:-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.form-control::-ms-input-placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.authorpage h1 {
  font-weight: 700;
  font-size: 30px;
}

.post-top-meta.authorpage .author-thumb {
  float: none;
}

.authorpage .author-description {
  font-size: 1rem;
  color: rgba(0, 0, 0, 0.6);
}

.post-top-meta.authorpage .btn.follow {
  padding: 7px 20px;
  margin-top: 10px;
  margin-left: 0;
  font-size: 0.9rem;
}

.graybg.authorpage {
  border-top: 1px solid #f0f0f0;
}

.authorpostbox {
  width: 760px;
  margin: 0px auto;
  margin-bottom: 1.5rem;
  max-width: 100%;
}

.authorpostbox .img-thumb {
  width: 100%;
}

.sociallinks {
  margin: 1rem 0;
}

.sociallinks a {
  background: #666;
  color: #fff;
  width: 22px;
  height: 22px;
  display: inline-block;
  text-align: center;
  line-height: 22px;
  border-radius: 50%;
  font-size: 12px;
}

#comments {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

.article-post .h1,
.article-post .h2,
.article-post .h3,
.article-post .h4,
.article-post .h5,
.article-post .h6,
.article-post h1,
.article-post h2,
.article-post h3,
.article-post h4,
.article-post h5,
.article-post h6 {
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.article-post img.shadow {
  -webkit-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);
}

.layout-page .article-post {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
}

.layout-page .article-post p {
  margin-bottom: 1rem;
}

img {
  max-width: 100%;
}

.bottompagination span.navigation {
  display: block;
  font-size: 1.5rem;
  padding: 15px 0 0 0;
  text-align: center;
  margin-bottom: 0rem;
  color: #999;
  border-top: 1px solid #ddd;
}

.pointerup {
  margin-bottom: -17px;
  margin-left: 49%;
  font-size: 30px;
}

.pointerup i.fa {
  color: #eaeaea;
}

.bottompagination span.navigation i {
  display: inline-block;
}

span.navigation {
  display: inline-block;
  font-size: 0.93rem;
  font-weight: 700;
  text-align: center;
}

.pagination {
  display: block;
}

iframe {
  max-width: 100%;
}

.transpdark {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
}

@media (min-width: 768px) {
  .jumbotron.fortags {
    margin-bottom: -50px;
    margin-top: 3rem;
    padding: 0;
    height: 350px;
    border-radius: 0;
    background-image: url(../images/jumbotron.jpg);
    background-size: cover;
  }

  .jumbotron.fortags .col-md-4 {
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
  }
}

.jumbotron.fortags {
  margin-top: 3rem;
  padding: 0;
  border-radius: 0;
  background-image: url(../images/jumbotron.jpg);
  background-size: cover;
}

.jumbotron.fortags a {
  padding: 5px 10px 7px;
  background: #222;
  border-radius: 30px;
  color: #fff;
  font-weight: 500;
  text-transform: lowercase;
  font-size: 0.8rem;
  display: inline-block;
}

.layout-page .jumbotron.fortags {
  display: none;
}

.mb-30px {
  margin-bottom: 30px;
}

.flex-first {
  -webkit-box-ordinal-group: 0;
  -webkit-order: -1;
  -ms-flex-order: -1;
  order: -1;
}

@media (min-width: 768px) {
  .flex-md-unordered {
    order: 1;
  }

  .flex-first {
    -webkit-box-ordinal-group: 0;
    -webkit-order: 1;
    -ms-flex-order: 1;
    order: 1;
  }
}

@media (max-width: 768px) {
  .share {
    margin-top: 30px;
  }

  .postbox-container {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .article-post {
    font-size: 1rem;
    line-height: 1.7;
  }

  .article-post img {
    max-width: 100%;
    height: auto;
  }

  .article-post pre {
    overflow-x: auto;
    font-size: 0.85rem;
    padding: 5px;
  }

  .article-post table {
    display: block;
    overflow-x: auto;
    width: 100%;
  }

  .article-post blockquote {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }

  .toc-container {
    padding: 0.75rem;
    margin-bottom: 1.5rem;
  }

  .mainheading h1.posttitle {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-top: 0.5rem;
  }
}

.card .img-fluid {
  width: 100%;
}

.sticky-top-80 {
  top: 80px;
}

.spoiler {
  color: transparent;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  position: relative;
}

.spoiler:after {
  position: absolute;
  opacity: 0;
  content: "Click to reveal spoiler";
  top: 45%;
  left: calc(50% - 100px);
  text-shadow: none;
  background: #222;
  color: #fff;
  display: inline-block;
  font-size: 13px;
  line-height: 1;
  padding: 2px 3px;
  width: 150px;
  font-family: Arial;
  text-align: center;
  border-radius: 3px;
  /* transition: all 0.4s; */
}

.spoiler:hover:after {
  opacity: 1;
}

/** Lazy img **/
.lazyimg {
  display: block;
  border: 0 none;
  opacity: 1;
  transition: opacity 0.25s;
  background: #f2f2f2;
  outline: 0 none;
}

.lazyimg[data-src],
.lazyimg[data-srcset] {
  opacity: 0;
  transition: opacity 0.25s;
}

/* タグフィルター用スタイル */
.tag-filter {
  margin-top: 1rem;
  padding: 10px 0;
}
.tag-filter a {
  margin: 0 5px 5px 0;
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.9rem;
  background: #f0f0f0;
  color: #333;
  display: inline-block;
  /* transition: all 0.3s ease; */
}
.tag-filter a:hover {
  background: #00ab6b;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

.filter-buttons {
  margin: 25px 0;
  position: relative;
  padding-bottom: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.filter-btn {
  margin: 5px;
  padding: 10px 20px;
  border: 2px solid #e0e0e0;
  border-radius: 30px;
  background: #fff;
  color: #444;
  cursor: pointer;
  /* transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); */
  font-size: 0.9rem;
  white-space: nowrap;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.filter-btn::before {
  content: "✓";
  opacity: 0;
  margin-right: 8px;
  transition: opacity 0.2s ease;
}

.filter-btn.active::before {
  opacity: 1;
}

.filter-btn.active {
  background: #00ab6b;
  color: white;
  border-color: #00ab6b;
  padding-left: 15px;
  padding-right: 25px;
  box-shadow: 0 4px 6px rgba(0, 171, 107, 0.2);
  transform: translateY(-2px);
}

.filter-btn:hover {
  border-color: #00ab6b;
  color: #00ab6b;
  background: #f0faf6;
  transform: translateY(-2px);
}

.filter-btn:hover::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  background: #00ab6b;
  border-radius: 50%;
}

/* スクロールバーのスタイリング */
.filter-buttons::-webkit-scrollbar {
  height: 6px;
}

.filter-buttons::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.filter-buttons::-webkit-scrollbar-thumb {
  background: #00ab6b;
  border-radius: 4px;
}

.lunrsearchresult .title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.lunrsearchresult .url {
  font-size: 0.9rem;
  margin-bottom: 8px;
  display: block;
}

.lunrsearchresult a:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
  border-color: #00ab6b;
}

.lunrsearchresult a {
  display: block;
  color: #777;
  border: 1px solid #eee;
  padding: 15px;
  margin: 10px;
  border-radius: 4px;
  /* transition: all 0.3s ease; */
}

.lunrsearchresult ul {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: -10px;
}

.lunrsearchresult li {
  flex: 1 1 300px;
  max-width: calc(33.33% - 20px);
  margin: 10px;
  list-style: none;
}

.row_all {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.row.listrecent {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.postbox-container {
  flex: 0 0 33.333%;
  max-width: 33.333%;
  padding: 15px;
}

.postbox-container .card {
  height: 100%;
  margin: 0;
}

.postbox-container .card-body {
  display: flex;
  flex-direction: column;
}

.postbox-container .card-footer {
  margin-top: auto;
}

@media (max-width: 991px) {
  .postbox-container {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  .postbox-container {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* パスワード保護エリアのスタイル */
#password-protection {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  max-width: 500px;
  margin: 40px auto;
}

#password-protection p {
  color: #495057;
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-weight: 500;
}

#page-password {
  width: 100%;
  max-width: 300px;
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  /* transition: all 0.3s ease; */
  margin-bottom: 15px;
}

#page-password:focus {
  border-color: #00ab6b;
  box-shadow: 0 0 0 3px rgba(0, 171, 107, 0.1);
  outline: none;
}

#password-protection button {
  background: #00ab6b;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  /* transition: all 0.3s ease; */
}

#password-protection button:hover {
  background: #008f59;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 171, 107, 0.2);
}

#password-protection button:active {
  transform: translateY(0);
}

.post-read-more {
  display: none !important;
}

.project-card {
  /* transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* .animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-smooth); */

/* &.visible {
    opacity: 1;
    transform: translateY(0);
  } */
/* } */

.timeline-item {
  border-left: 2px solid;
  border-image: linear-gradient(to bottom, #00ab6b, #4caf50);
  border-image-slice: 1;
}

.section-title {
  background: linear-gradient(45deg, #00ab6b, #4caf50);
  -webkit-background-clip: text;
}

.nav-link {
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00ab6b;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #00ab6b;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

:root {
  /* カラー */
  --primary-color: #00ab6b;
  --secondary-color: #4caf50;
  --text-color: rgba(0, 0, 0, 0.8);
  --border-color: #eee;
  --background-color: #f8f9fa;

  /* フォント */
  --base-font: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --content-font: Merriweather, serif;

  /* アニメーション */
  --transition-base: all 0.3s ease;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* スペーシング */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
}

/* コンポーネント：ボタン */
.btn {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: var(--transition-base);

  &.btn-primary {
    background: var(--primary-color);
    color: white;

    &:hover {
      background: darken(var(--primary-color), 10%);
    }
  }
}

.code-container {
  position: relative;
  margin-bottom: 1.5rem;
}
.copy-button {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #00ab6b;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 12px;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
}
.copy-button:hover {
  opacity: 1;
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* ページネーションの矢印アイコンを大きく */
.pagination .page-link i.fa {
  font-size: 3rem;
}

/* レスポンシブ対応のための追加スタイル */
.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.embed-responsive::before {
  content: "";
  display: block;
  padding-top: 56.25%; /* 16:9 アスペクト比 */
}

.embed-responsive iframe,
.embed-responsive embed,
.embed-responsive object,
.embed-responsive video {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* コードブロックのレスポンシブ対応 */
.highlight {
  margin-bottom: 1.5rem;
  overflow-x: auto;
  border-radius: 4px;
}

.highlight pre {
  margin-bottom: 0;
  padding: 1rem;
}

@media (max-width: 576px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .article-post h1 {
    font-size: 1.75rem;
  }

  .article-post h2 {
    font-size: 1.5rem;
  }

  .article-post h3 {
    font-size: 1.25rem;
  }

  .article-post li {
    margin-bottom: 0.5rem;
  }

  .featured-image {
    margin-bottom: 1rem;
  }
}

/* ナビゲーションのレスポンシブ対応改善 */
@media (max-width: 767px) {
  .PageNavigation {
    flex-direction: column;
  }

  .PageNavigation .prev,
  .PageNavigation .next {
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .bottompagination span.navigation {
    padding: 0.5rem 0;
  }

  .after-post-tags,
  .after-post-cats {
    text-align: center;
  }

  .after-post-tags ul.tags,
  .after-post-cats ul.tags {
    justify-content: center;
  }
}

/* 関連記事のレスポンシブ対応 */
@media (max-width: 991px) {
  .listrelated .card {
    margin-bottom: 1.5rem;
  }

  .listrelated .maxthumb {
    height: auto;
    padding-bottom: 56.25%;
  }
}

/* モバイルでの目次の表示改善 */
@media (max-width: 576px) {
  .toc-container ul {
    padding-left: 1rem;
  }

  .toc-container li {
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
  }
}

/* WIPバッジのスタイル */
.wip-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 193, 7, 0.9) 0%,
    rgba(255, 152, 0, 0.9) 100%
  );
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.3rem 0.7rem;
  border-radius: 0 0 0 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  z-index: 2;
  transform-origin: top right;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.slim-card {
  position: relative;
  overflow: hidden;
}

.wip-badge::before {
  content: "✏️";
  margin-right: 4px;
  font-size: 0.85rem;
}

/* WIPリボンスタイル（代替デザイン） */
.wip-ribbon {
  width: 120px;
  height: 120px;
  overflow: hidden;
  position: absolute;
  top: -10px;
  right: -10px;
  z-index: 1;
  pointer-events: none;
}

.wip-ribbon-content {
  position: absolute;
  transform: rotate(45deg);
  top: 26px;
  right: -25px;
  width: 150px;
  background: linear-gradient(135deg, #ff9800 0%, #ff5722 100%);
  color: white;
  text-align: center;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 5px 0;
  box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 0.5);
}

/* WIPバッジとリボンのモバイル対応 */
@media (max-width: 767px) {
  .wip-badge {
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
  }

  .wip-ribbon {
    width: 100px;
    height: 100px;
  }

  .wip-ribbon-content {
    top: 20px;
    right: -25px;
    width: 120px;
    font-size: 0.7rem;
  }
}

.maxthumb {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 66.67%;
  overflow: hidden;
}

.post-thumb {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  transition: var(--transition-smooth);
  /* 
  &:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  } */

  .card-body {
    flex: 1;
  }
}

.card-body {
  flex: 1;
}

/* ギャップをなくすためのスタイル */
.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}

.card-footer {
  border: 0;
}

.listfeaturedtag .card {
  border-left: 0;
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}
