/* blog.css */
body {
    font-family: Arial, sans-serif;
}

h1 {
    text-align: center;
}

ul {
    list-style-type: none;
    padding: 0;
}

li {
    margin: 10px 0;
}

.post-title {
    margin-left: 10px;
    font-weight: bold;
}

header img {
    height: 40px;
}

footer {
    text-align: center;
    margin-top: 20px;
}

.scroll-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: none;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 24px;
    cursor: pointer;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1000;
}

.scroll-top {
    bottom: 80px;
}

.scroll-button.show {
    display: flex;
}

.tag {
    background-color: #f0f8ff;
    color: #007bff;
    padding: 10px 15px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    border-radius: 20px;
    display: inline-block;
    margin: 5px 5px 0 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.tag-icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-image: url('icon-url.png');
    background-size: cover;
    margin-right: 10px;
}

.advertisement {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.advertisement p {
    color: #333;
    font-weight: bold;
    margin: 10px 0;
}

.advertisement a img {
    max-width: 100%;
    height: auto;
    margin: 10px 0;
}

.citation-link {
    display: inline-block;
    padding: 10px 20px;
    background-color: #f0f8ff;
    color: #007bff;
    border-radius: 25px;
    text-decoration: none;
    font-size: 14px;
    margin-top: 20px;
}

.citation-link:hover {
    background-color: #e6f0ff;
}

.small-text {
    font-size: 12px;
    font-weight: normal;
    line-height: 1.5;
    margin-top: -10px;
    text-align: center;
}

.box {
    background-color: #FFF7E5;
    border: 2px solid #FFA500;
    padding: 20px;
    border-radius: 10px;
    position: relative;
    margin: 20px 0;
}

.box h2 {
    color: #FF8C00;
    font-size: 1.2em;
    margin-top: 0;
}

.box ol {
    padding-left: 20px;
    margin: 0;
}

.box ol li {
    margin-bottom: 10px;
    font-size: 1em;
}

.accordion-content {
    display: none;
    padding: 10px;
    background-color: #f1f1f1;
    border: 1px solid #ccc;
}

.accordion-header {
    cursor: pointer;
    padding: 10px;
    background-color: #FFA500;
    color: white;
    border: none;
    text-align: left;
    outline: none;
    font-size: 1.1em;
}

.parallax-disabled-mobile {
    background-image: url('/static/images/xicon.avif');
    background-attachment: fixed;
}

@media only screen and (max-width: 768px) {
    .parallax-disabled-mobile {
        background-attachment: scroll;
        background-size: cover;
    }
}

.parallax-with-overlay {
    background-image: url('/static/images/xicon.avif');
    position: relative;
    background-attachment: fixed;
}

.parallax-with-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.parallax-with-overlay .content {
    position: relative;
    z-index: 2;
}

.parallax-hidden-mobile {
    background-image: url('/static/images/xicon.avif');
    background-attachment: fixed;
}

@media only screen and (max-width: 768px) {
    .parallax-hidden-mobile {
        display: none;
    }
}

.text-emphasis-mobile {
    background-image: url('/static/images/xicon.avif');
    background-attachment: fixed;
    color: #ffffff;
}

@media only screen and (max-width: 768px) {
    .text-emphasis-mobile .content p {
        color: #ffffff;
        font-size: 1.2em;
    }
}
.new-label {
    color: red;
    font-weight: bold;
    font-size: 1em; /* サイズは普通にする */
    margin-left: 10px; /* タイトルとの間にスペースを追加 */
}

/*** 記事内の日付について ***/
.entry-date { /** 日付全体 **/
    font-weight: bold; /* 太字にする */
    font-size: 13.5px; /* 文字サイズ */
    letter-spacing: 0.08em; /* 文字間隔 */
    margin-bottom: 10px; /* 下の余白 */
  }
  
  .entry-date a { /** 投稿日 **/
    color: #555; /* 文字色 */
  }
     
  .entry-date a:before { /** 投稿日前のアイコンフォント **/
    font-family: "blogicon";
    font-weight: normal;
  }
     
  .date-last-updated { /** 更新日 **/
    position: relative;
    color: #555; /* 文字色 */
  }
  
  .date-last-updated:before { /*更新日前のアイコンフォント*/
    font-family: "blogicon";
    font-weight: normal;
    position: absolute;
    top: -5px; /* 位置の調整 */
    left: 0; /* 位置の調整 */
  }

  .related-articles a {
    text-decoration: none; /* デフォルトのリンクのスタイル（色や下線）を無効化 */
    color: black; /* リンクのテキスト色を黒に設定 */
    border-bottom: 1px solid black; /* 下線を黒で表示 */
}

.related-articles a:hover {
    color: black; /* ホバー時のテキスト色 */
    border-bottom: 1px solid gray; /* ホバー時の下線を薄い灰色に変更 */
}


/* パンくずリストの基本設定 */
.breadcrumb {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    margin-right: 5px;
}

/* リスト間の矢印や区切り文字を追加 */
.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    margin-right: 5px;
}

/* モバイルや小画面の調整 */
@media (max-width: 768px) {
    .breadcrumb {
        flex-direction: column; /* 縦並びに変更 */
        align-items: flex-start; /* 左寄せにする */
    }

    .breadcrumb-item {
        margin-bottom: 5px; /* リスト間の余白を調整 */
    }

    .breadcrumb-item + .breadcrumb-item::before {
        content: "";
        margin-right: 0;
    }
}

.right-aligned {
    float: right;
    text-align: right;
    width: 30%; /* 幅を調整、必要に応じて変更 */
    margin-right: 10px; /* 右側に余白を追加 */
}

/* モバイルや小さな画面の場合 */
@media only screen and (max-width: 768px) {
    .right-aligned {
        float: none;
        text-align: left; /* 中央揃えや左寄せに変更 */
        width: 100%; /* 幅を100%にしてフル幅表示 */
        margin: 0; /* 余白を消す */
    }
}