/* 全体のスタイル */
body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color: #333;
}

/* メインコンテンツ */
.content {
    max-width: 800px;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 画像と文字のレイアウト */
.image-with-text {
    position: relative;
    text-align: center;
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.image-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-family: 'ヒラギノ角ゴ StdN W8';
    font-size: 4vw;
    font-weight: bold;
    margin: 0;
}

.article-toc ul {
    list-style: none; padding: 0; margin: 0; 
}

@media (max-width: 768px) {
    .article-toc { 
    } 
    .article-toc li {
         display: block; margin-bottom: 10px; 
        } 
}

/* 記事内容 */
.toc {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.toc li {
    margin: 10px 0;
}

.toc li a {
    color: #36799d;
    text-decoration: none;
    font-weight: bold;
}

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

h3 {
    font-size: 20px;
    color: #36799d;
    margin-top: 20px;
}

p {
    line-height: 1.6;
    margin: 10px 0;
}

.pr {
    width: 100%;
    max-width: -moz-max-content;
    max-width: max-content;
    margin: 32px auto 0;
    padding: 20px 32px;
    border: 2px solid #1e468d;
}

.pr_header {
    font-weight: bold;
    text-align: center;
    color: #1e468d;
    text-shadow:
    0 1px #bbb,
    0 2px #aaa;
}

nav p {
    color: #333;
    padding: 14px 20px;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s, transform 0.3s;
}

.pr_button {
    display: inline-block;
    width: 250px;
    text-align: center;
    text-decoration: none;
    line-height: 60px;
    outline: none;
    color: #FFFFFF;
    background: linear-gradient(to right, #1B85FB, #FB4D8A);
    background-position: 0% 50%;
    background-size: 200% auto;
    transition: all 0.3s ease-out;
  }
  .pr_button:hover {
    color: #fff;
    background-position: 100% 51%;
  }


  
  @media (min-width: 1000px) {
    .image-title {
        font-size: 40px;
    }
  }