/* 細かいカスタム用 */

/* アメブロ OGPカード */
.ogpCard-root img {
    margin: 0
}
.ogpCard-root img {
    margin: 0
}

:root {
  --color-bg: #fafafa;
  --color-header-fg: #333;
  --color-header-bg: #fff;
  --color-header-bd: #ccc;
  --color-footer-fg: #333;
  --color-footer-bg: #e0e0e0;
  --color-footer-bd: #d0d0d0;
  --color-post-h2-fg: #fff;
  --color-post-h2-bg: #303e66;
  --color-post-h2-bd: #303e66;
  --color-post-h3-fg: #333;
  --color-post-h3-bg: #e0e0e0;
  --color-post-h3-bd: #303e66;
}

.header-title-link {
  display: block;
  width: 255px;
  height: 42px;
  text-indent: -9999px;
  overflow: hidden;
  background-image: url(../images/logo.png);
  background-size: 255px 42px;
}

.footer-links {
  margin: 2em 0;
  font-size: 0.8125rem;
  letter-spacing: 0;
  text-align: center;
}
.footer-links a {
  padding: 0 5px;
  color: #888;
  border-left: 1px dotted #999;
}
.footer-links a:first-of-type {
  border-left: none;
}
.footer-links a:hover {
  color: #f30;
}
.footer {
  margin-top: 0;
}


/* EC紹介用ボタン */
.post-body {
  .ec-buttons-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 10px;
    margin: 2em 0 1em 0;
  }

  .ec-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    min-width: 330px;
    max-width: 360px;
    padding: 12px 0 13px;
    margin: 0 0 1em 0;
    line-height: 1.5;
    border: 1px solid #ccc;
  }

  .ec-buttons dt {
    width: 100%;
    margin-bottom: 0.75em;
    font-size: 87.5%;
    text-align: center;
  }

  .ec-buttons dd {
    margin: 0;
  }

  .ec-buttons a {
    display: block;
    width: 103px;
    height: 38px;
    background: transparent center / 103px 36px no-repeat;
  }

  .ec-buttons dd.ec-button-image {
    width: 100%;
    margin-bottom: 15px;
    text-align: center;
  }

  .ec-buttons dd.ec-button-image a {
    width: 100%;
    height: 150px;
  }

  .ec-buttons dd.ec-button-image img {
    width: auto;
    height: 100%;
  }

  .ec-buttons a:hover {
    opacity: 0.8;
  }

  .ec-buttons .ec-button-amazon a {
    background-image: url(/uploads/2026/04/ec-button-amazon.png);
  }

  .ec-buttons .ec-button-rakuten a {
    background-image: url(/uploads/2026/04/ec-button-rakuten.png);
  }

  .ec-buttons .ec-button-yahoo a {
    background-image: url(/uploads/2026/04/ec-button-yahoo.png);
  }

  .ec-buttons a span {
    display: none;
  }
}
