/* =========================
   📌 サイドバーを削除
   ========================= */
.side-nav {
    display: none;
}

/* =========================
   📌 トップナビを表示
   ========================= */
.single-top-nav {
  height: 95px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: white;
  z-index: 1000;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
}

.single-top-nav__menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

.single-top-nav__menu ul {
  list-style: none;
  display: flex;
  gap: 20px;
  padding: 0;
  margin: 0;
  align-items: center;
}

.single-top-nav__menu ul li a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 10px 15px;
  transition: color 0.3s;
}

.single-top-nav__menu ul li a:hover {
  color: #ff0000;
}

#gloval-nav {
  display: none;
  transition: all 0.3s ease;
}
body.open #gloval-nav {
  display: block;
}

.pc-only {
  display: block;
}
@media screen and (max-width: 900px) {
  .pc-only {
    display: none;
  }
}

/* ハンバーガー開閉制御 */
#gloval-nav {
  display: none;
}
body.open #gloval-nav {
  display: block;
}

/* =========================
   📌 投稿ページ全体レイアウト
   ========================= */
.post-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 20px;
  margin: 120px auto auto;
}

@media screen and (max-width: 900px) {
.post-content-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 13px;
  margin: 80px auto auto;
}
}

.recommended-link {
  width: 100%;
  display: flex;
  align-items: center;
}

/* 📌 記事メイン部分 */
.post-main-content {
  width: 100%;
  max-width: 770px;
  background: white;
  padding: 40px 30px;
  border-radius: 7px;
  margin-bottom: 100px;
}

/* 📌 タイトルとメタ情報 */
.post-title {
  font-size: 28px;
  font-weight: bold;
  margin-bottom: 10px;
}

.post-meta {
  font-size: 14px;
  color: #777;
  margin-bottom: 20px;
}

/* 📌 記事コンテンツ */
.post-body {
  font-size: 16px;
  line-height: 1.75;
}

/* =========================
   📌 サイドバー全体のスタイル
   ========================= */
.blog-box-left {
  width: 100%;
  max-width: 350px;
}

.blog-side-nav-content img {
  width: 100%;
  border-radius: 7px;
}

/* =========================
   📌 記事リスト共通のスタイル
   ========================= */
.recommended-articles,
.popular-articles {
  background: #fff;
  padding: 20px;
  border-radius: 7px;
  margin-bottom: 20px;
}

.recommended-articles h3,
.popular-articles h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  border-bottom: 2px solid #E4EAED;
  padding-bottom: 10px;
}

.recommended-item,
.popular-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.recommended-link,
.popular-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #333;
}

/* 📌 サムネイル画像 */
.recommended-thumbnail,
.popular-thumbnail {
  width: 120px;
  height: 67px; /* 16:9 の比率 */
  overflow: hidden;
  border-radius: 5px;
  flex-shrink: 0;
}

.recommended-thumbnail img,
.popular-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 📌 記事タイトル */
.recommended-text,
.popular-text {
  font-size: 14px;
  line-height: 1.4;
  flex-grow: 1;
  padding-left:10px;
}

/* =========================
   📌 PC表示時のレイアウト調整
   ========================= */
@media (min-width: 1024px) {
  .post-content-wrapper {
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
  }

  .post-main-content {
    width: 60%;
  }

  .blog-box-left {
    width: 40%;
    max-width: 350px;
    margin-left: 30px;
  }
}

/* =========================
   📌 SP表示時のレイアウト調整
   ========================= */
@media screen and (max-width: 480px) {
  .post-main-content {
    max-width: 100%;
    width: 100%;
    padding: 20px 15px;
    margin-bottom: 40px;
  }

  .blog-box-left {
    max-width: 100%;
    flex: 0 0 100%;
    margin-top: 20px;
  }
}

/* =========================
   📌 サイドバー img
   ========================= */

.blog-side-nav-content {
    margin-bottom: 20px;
}

/* =========================
   📌 サイドバー カテゴリー一覧
   ========================= */

.sidebar-category {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
}

.sidebar-category-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.sidebar-category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-category-item {
    border-top: 1px dashed #ddd;
    padding: 12px 0;
    display: flex;
    align-items: center;
}

.sidebar-category-item:first-child {
    border-top: none;
}

.sidebar-category-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.sidebar-category-item a:hover {
    color: #d33c5b;
}

/* カテゴリーアイコン */
.category-icon {
    display: inline-block;
    background: #d33c5b;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    font-size: 12px;
    margin-right: 20px;
    padding-left: 3px;
}


/* =========================
 * 
   📌 投稿装飾

   ========================= */

/* インスタグラム収益化ブログ用CSS - 疑似要素をクラスに置き換えた版 */
.instagram-blog-container {
  /* コンテナクラスをベースにスタイルを適用 */
  font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
  line-height: 1.8;
  color: #333333;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

/* コンテンツの共通スタイル */
.instagram-blog-p {
  margin-bottom: 20px;
  line-height: 1.9;
}

/* ヘッダー部分 */
.instagram-blog-header {
  text-align: center;
  padding: 40px 0;
  margin-bottom: 30px;
}

.instagram-blog-title-p {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ff8d00;
  margin: 0 0 20px 0;
  line-height: 1.3;
  text-align: center;
}

.instagram-blog-meta-p {
  font-size: 0.9rem;
  color: #666666;
  margin-bottom: 30px;
  text-align: center;
}

.instagram-blog-category {
  background-color: #ff8d00;
  color: white;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.8rem;
  margin-left: 10px;
}

.instagram-blog-featured-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 30px;
}

.instagram-blog-intro-p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: center;
}

/* コンテンツ部分 */
.instagram-blog-content {
  margin-bottom: 60px;
}

/* 注意書きボックス */
.instagram-blog-notice-box {
  background-color: #f5f5f5;
  padding: 20px;
  margin: 20px 0 40px;
  border-radius: 8px;
}

.instagram-blog-notice-p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 10px;
}

.instagram-blog-notice-p:last-child {
  margin-bottom: 0;
}

/* H2見出し風Pクラス */
.instagram-blog-h2-p {
  color: #6f4e4e;
  background-color: #fff;
  font-size: 22px;
  padding: 20px;
  display: block;
  border: 2px solid #ff8d00;
  box-shadow: 5px 8px 0 #ff8d00;
  margin-top: 50px;
  margin-bottom: 25px;
  font-weight: bold;
}

/* H3見出し風Pクラス */
.instagram-blog-h3-wrapper {
  position: relative;
  margin-top: 40px;
  margin-bottom: 20px;
}

.instagram-blog-h3-border {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: #ff8d00;
}

.instagram-blog-h3-inner-border {
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: #fbe5b2;
}

.instagram-blog-h3-p {
  color: #6f4e4e;
  font-size: 20px;
  padding: 12px 20px;
  display: block;
  margin: 0;
  font-weight: bold;
  border-left: 12px solid transparent; /* H3のボーダー分の余白 */
}

/* H4見出し風Pクラス - before疑似要素をクラスに置き換え */
.instagram-blog-h4-wrapper {
  /* position: relative; */
  margin-top: 30px;
  margin-bottom: 20px;
  padding-left: 0px; /* アイコン分の余白 */
}

.instagram-blog-h4-icon {
  font-family: "Font Awesome 5 Free", FontAwesome;
  font-weight: 900;
  font-size: 30px;
  color: #ff8d00;
  /* position: absolute; */
  left: 0;
  top: 10px;
}

.instagram-blog-h4-p {
  color: #6f4e4e;
  font-size: 18px;
  display: block;
  padding: 12px 0;
  margin: 0;
  font-weight: bold;
}

/* テーブルスタイル */
.instagram-blog-table-container {
  margin: 30px 0 40px;
  overflow-x: auto;
}

.instagram-blog-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5em;
}

.instagram-blog-table th, 
.instagram-blog-table td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #dddddd;
}

.instagram-blog-table th {
  background-color: #fbe5b2;
  color: #6f4e4e;
  font-weight: 700;
}

.instagram-blog-table tr:nth-child(even) {
  background-color: #f8f8f8;
}

.instagram-blog-table-caption-p {
  margin-top: 10px;
  text-align: center;
  font-size: 0.9rem;
  color: #666;
}

/* 強調スタイル */
.instagram-blog-content strong, 
.instagram-blog-content b {
  font-weight: 700;
  color: #ff8d00;
}

/* CTA（Call to Action）エリア */
.instagram-blog-cta {
  background-color: #fbe5b2;
  padding: 30px;
  border-radius: 8px;
  margin: 50px 0;
  text-align: center;
  border: 2px solid #ff8d00;
}

.instagram-blog-cta-title-p {
  font-size: 1.4rem;
  text-align: center;
  padding: 0;
  margin: 0 0 15px 0;
  color: #6f4e4e;
  font-weight: bold;
}

.instagram-blog-cta-p {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.instagram-blog-btn {
  display: inline-block;
  background-color: #ff8d00;
  color: white;
  padding: 12px 25px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.2s;
  margin-top: 15px;
}

.instagram-blog-btn:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* フッタースタイル */
.instagram-blog-footer {
  text-align: center;
  padding: 30px 0;
  margin-top: 60px;
  border-top: 1px solid #dddddd;
  color: #666666;
  font-size: 0.9rem;
}

/* 背景色付きスタイル */
.instagram-blog-bg-yellow {
  background-color: #fff59d;
  padding: 2px 6px;
}

/* チェックリスト用スタイル - アイコンをクラスに変更 */
.instagram-blog-checklist {
  list-style: none;
  padding-left: 0;
  margin: 25px 0 30px;
}

.instagram-blog-checklist-item-box {
    padding: 20px 0px;
}

.instagram-blog-checklist-item {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.instagram-blog-check-icon {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: #ff8d00;
  font-size: 1.1em;
}

/* 注意リスト用スタイル - アイコンをクラスに変更 */
.instagram-blog-attention-list {
  list-style: none;
  padding-left: 0;
  margin: 25px 0 30px;
}

.instagram-blog-attention-item {
  position: relative;
  padding-left: 35px;
  margin-bottom: 15px;
  line-height: 1.6;
}

.instagram-blog-attention-icon {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 0;
  color: #e74c3c;
  font-size: 1.1em;
}

/* ステップリスト用スタイル - 疑似要素をクラスに変更 */
.instagram-blog-step-list {
  list-style: none;
  padding-left: 0;
  margin: 30px 0 40px;
}

.instagram-blog-step-item {
  position: relative;
  padding-left: 40px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.instagram-blog-step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #ff8d00;
  color: white;
  text-align: center;
  line-height: 28px;
  font-size: 14px;
  font-weight: bold;
}

.instagram-blog-note {
  background-color: #f0f0f0;
  padding: 20px;
  border-radius: 6px;
  margin: 30px 0;
  border-left: 4px solid #ff8d00;
}

.instagram-blog-note-p {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.instagram-blog-note-p:last-child {
  margin-bottom: 0;
}

.instagram-blog-highlight-box {
  background-color: rgba(255, 141, 0, 0.1);
  border: 1px solid #ff8d00;
  border-radius: 6px;
  padding: 20px 25px;
  margin: 30px 0 40px;
}

.instagram-blog-highlight-title-p {
  font-size: 18px;
  color: #6f4e4e;
  margin-bottom: 15px;
  font-weight: bold;
}

/* セクション間の余白 */
.instagram-blog-section {
  margin-bottom: 50px;
}

/* コンテンツタイプごとの装飾 */
.instagram-blog-strong-point-p {
  border-left: 4px solid #ff8d00;
  padding-left: 15px;
  font-weight: bold;
  margin: 25px 0;
}

.instagram-blog-summary-p {
  background-color: #f8f8f8;
  padding: 15px;
  border-radius: 6px;
  margin: 30px 0;
}

/* リスト内の段落 */
.instagram-blog-list-item-p {
  margin-bottom: 5px;
  line-height: 1.6;
}

/* レスポンシブデザイン */
@media (max-width: 768px) {
  .instagram-blog-container {
    padding: 15px;
  }
  
  .instagram-blog-header {
    padding: 25px 0;
  }
  
  .instagram-blog-title-p {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .instagram-blog-h2-p {
    font-size: 18px;
    padding: 15px;
    box-shadow: 4px 6px 0 #ff8d00;
    margin-top: 35px;
    margin-bottom: 20px;
  }
  
  .instagram-blog-h3-p {
    font-size: 16px;
    padding: 10px 15px;
  }
  
  .instagram-blog-h3-wrapper {
    margin-top: 30px;
  }
  
  .instagram-blog-h4-p {
    font-size: 18px;
    padding: 8px 0;
    padding-left: 5px;
  }
  
  .instagram-blog-h4-wrapper {
    display: flex;
    margin-top: 25px;
  }
  
  .instagram-blog-h4-icon {
    font-size: 15px;
    display: flex;
    align-items: center;
  }
  
  .instagram-blog-table {
    font-size: 0.9rem;
  }
  
  .instagram-blog-table th, 
  .instagram-blog-table td {
    padding: 8px;
  }
  
  .instagram-blog-cta {
    padding: 20px;
    margin: 30px 0;
  }
}

/* インスタグラム収益化ブログ用コンパクトCSS */
.ig-container {
  max-width: 800px;
  margin: 0 auto;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.8;
  color: #333;
  padding: 20px;
}

/* 見出しスタイル */
.ig-h2 {
  color: #6f4e4e;
  background: #fff;
  font-size: 20px;
  padding: 20px;
  border: 2px solid #ff8d00;
  box-shadow: 5px 8px 0 #ff8d00;
  margin: 40px 0 25px;
  font-weight: bold;
}

.ig-h3-wrap {
  position: relative;
  margin: 35px 0 20px;
}

.ig-h3-border {
  width: 12px;
  background: linear-gradient(to right, #ff8d00 50%, #fbe5b2 50%);
  display: table-cell;
}

.ig-h3 {
  padding: 12px 20px;
  color: #6f4e4e;
  font-size: 18px;
  font-weight: bold;
  display: table-cell;
}

.ig-h4-wrap {
  display: table;
  margin: 25px 0 15px;
  width: 100%;
}

.ig-h4-icon {
  color: #ff8d00;
  font-size: 24px;
  display: table-cell;
  width: 35px;
  vertical-align: middle;
}

.ig-h4 {
  color: #6f4e4e;
  font-size: 16px;
  font-weight: bold;
  display: table-cell;
  vertical-align: middle;
}

/* 段落とコンテンツ */
.ig-p {
  margin-bottom: 20px;
  line-height: 1.8;
}

.ig-strong {
  font-weight: 700;
  color: #ff8d00;
}

.ig-bg-yellow {
  background-color: #fff59d;
  padding: 2px 6px;
}

.ig-img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 25px;
}

/* テーブル関連 */
.ig-table-wrap {
  margin: 25px 0;
  overflow-x: auto;
}

.ig-table {
  width: 100%;
  border-collapse: collapse;
}

.ig-th {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
  background: #fbe5b2;
  color: #6f4e4e;
  font-weight: 700;
}

.ig-td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #ddd;
}

.ig-tr-even {
  background: #f8f8f8;
}

/* リスト関連 */
.ig-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ff8d00;
  color: white;
  text-align: center;
  line-height: 28px;
  font-size: 14px;
  font-weight: bold;
  display: table-cell;
}

.ig-step-content {
  padding-left: 15px;
  padding-bottom: 20px;
  display: table-cell;
}

.ig-icon-wrap {
  display: table;
  margin-bottom: 12px;
  width: 100%;
}

.ig-icon {
  width: 30px;
  display: table-cell;
  vertical-align: top;
}

.ig-icon-content {
  display: table-cell;
  padding-bottom: 5px;
}

.ig-check {
  color: #ff8d00;
}

.ig-warning {
  color: #e74c3c;
}

/* ボックス */
.ig-notice-box {
  background: #f5f5f5;
  padding: 20px;
  margin: 20px 0 30px;
  border-radius: 8px;
  font-size: 0.9rem;
}

.ig-highlight-box {
  background: rgba(255,141,0,0.1);
  border: 1px solid #ff8d00;
  border-radius: 6px;
  padding: 20px;
  margin: 25px 0 30px;
}

.ig-cta-box {
  background: #fbe5b2;
  padding: 25px;
  border-radius: 8px;
  margin: 40px 0;
  text-align: center;
  border: 2px solid #ff8d00;
}

.ig-cta-title {
  font-size: 1.3rem;
  color: #6f4e4e;
  font-weight: bold;
  margin-bottom: 15px;
}

.ig-btn {
  display: inline-block;
  background: #ff8d00;
  color: white;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 10px;
}

/* セクション分け */
.ig-section {
  margin-bottom: 40px;
}

/* ヘッダーとフッター */
.ig-header {
  text-align: center;
  padding: 30px 0;
  margin-bottom: 30px;
}

.ig-title {
  font-size: 2rem;
  font-weight: 700;
  color: #ff8d00;
  margin-bottom: 15px;
  line-height: 1.3;
}

.ig-meta {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 25px;
}


.ig-footer {
  text-align: center;
  padding: 20px 0;
  margin-top: 50px;
  border-top: 1px solid #ddd;
  color: #666;
  font-size: 0.9rem;
}
}