@charset "UTF-8";
body:not(.home) .promo_frame {
    min-height: 300px;
}

.eyecatch {
    margin-bottom: 15px;
}

.cp_embed_wrapper {
    margin-bottom: 15px;
}

.main_area {
    padding-bottom: 100px;
}

p.pr-text {
    font-size: 14px;
    font-weight: bold;
    border-bottom: 1px solid;
    display: table;
    margin-bottom: 15px;
}


@media (max-width: 750px) {
    p.pr-text {
        font-size: 12px;
        padding-top: 50px;
    }

	.main_area {
        padding-top: 0;
        padding-bottom: 50px;
}

body:not(.home) .promo_frame {
    min-height: 150px;
}

	
	
}/*FINISH*/
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
パンくず
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.breadcrumb {
    padding: 50px 0 10px;
    font-size: 14px;
    display: flex;
}

.breadcrumb > span {
    padding: 0 10px;
}

.breadcrumb .post.post-post.current-item {
    max-width: 520px;
    display: -webkit-box;             
    -webkit-box-orient: vertical;      
    overflow: hidden;                  
    text-overflow: ellipsis;           
    -webkit-line-clamp: 1; 
}


@media (max-width: 750px) {
	
	
	
}/*FINISH*/
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
詳細　＞　汎用
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.single h1 {
    font-size: 28px;
    border-bottom: 3px solid #7C974C;
    line-height: 1.5;
    margin-bottom: 30px;
}

.single .contents_area h2 {
    font-size: 24px;
    background: #A0522D;
    color: #fff;
    padding: 15px 20px;
    margin: 50px 0 30px;
    line-height: 1.5;
} 

.single .contents_area h3 {
    margin: 30px 0;
    border-bottom: 3px solid #A0522D;
    position: relative;
}

.single .contents_area h3::after {
    position: absolute;
    bottom: -3px;
    left: 0;
    z-index: 2;
    content: '';
    width: 30%;
    height: 3px;
    background-color: #7C974C;
}

.single .contents_area h4 {

}

.single .contents_area img {
    margin-bottom: 10px;
}

.single .main_area:not(.no_atag_css) .contents_area a {
    color: #1A0DAB;
    text-decoration: underline;
}

.single .contents_area ul {
    margin-bottom: 20px;
}

.single .contents_area ul:not([class]) li {
    position: relative;
    padding-left: 1em;
}

.single .contents_area ul:not([class]) li::after {
    position: absolute;
    content: "";
    width: .5em;
    height: .5em;
    background: #7C974C;
    top: .6em;
    left: 0;
    border-radius: 100%;
}



/* [.h2a][.h2b]共通のスタイル */
h2[class*="h2"] {

}

h2[class*="h2"]:before {

}

/* [.h2a]のスタイル */
h2[class*="h2a"] {

}

h2[class*="h2b"] {

}


/* [.h3a][.h3b]共通のスタイル */
h3[class*="h3"] {

}

/* [.h3a]のスタイル */
h3[class*="h3a"] {

}

/* [.h3b]のスタイル */
h3[class*="h3b"] {

}


@media (max-width: 750px) {
    .single h1 {
        font-size: 22px; 
        margin-bottom: 20px;
    }

    .single .contents_area h2 {
        font-size: 19px; 
        padding: 12px 15px;
        margin: 40px 0 20px;
    }

    .single .contents_area h3 {
        font-size: 17px;
        margin: 25px 0;
    }
	
	
}/*FINISH*/

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
コード
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* コードブロック全体の枠組み */
pre {
    background-color: #282c34; /* ダークグレー（エンジニアに馴染みのあるAtom/VSCode風） */
    color: #abb2bf;           /* 文字色 */
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;         /* 横スクロール有効 */
    position: relative;
    border: 1px solid #3e4451;
    margin: 2em 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* コードテキスト部分 */
pre code {
    font-family: 'Consolas', 'Monaco', 'Courier New', Courier, monospace; 
    font-size: 14px;
    line-height: 1.6;
    background: transparent;
    padding: 0;
    color: #e5c07b; 
}

/* スクロールバーのカスタマイズ（ブラウザ対応） */
pre::-webkit-scrollbar {
    height: 8px;
}
pre::-webkit-scrollbar-thumb {
    background: #7C974C; /* ここにサイトカラーのオリーブを使用 */
    border-radius: 4px;
}
pre::-webkit-scrollbar-track {
    background: #3e4451;
}

/* 言語名などを表示したい場合（任意） */
pre::before {
    content: "CODE";
    position: absolute;
    top: 0;
    right: 15px;
    font-size: 0.7em;
    color: #61afef;
    font-weight: bold;
    opacity: 0.7;
}

@media (max-width: 750px) {
	
	
	
}/*FINISH*/
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
テーブル
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* 記事本文内のテーブル全体のスタイル */
.single .contents_area table {
    width: 100%;
    margin: 2em 0;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 0.95em;
    line-height: 1.5;
    border: 2px solid #7C974C; /* 外枠をオリーブに */
    border-radius: 8px; /* 角を少し丸く（反映されないブラウザもあります） */
    overflow: hidden;
}

/* ヘッダー部分（一番上の行） */
.single .contents_area table th {
    background-color: #7C974C; /* オリーブ */
    color: #ffffff;
    padding: 12px 15px;
    text-align: center;
    font-weight: bold;
    border: 1px solid #7C974C;
}

/* ボディ部分（データ行） */
.single .contents_area table td {
    padding: 12px 15px;
    border: 1px solid #eee;
    background-color: #fff;
    color: #333;
    vertical-align: middle;
}

/* 縞々（ストライプ）模様にして横一行を追いやすくする */
.single .contents_area table tr:nth-child(even) td {
    background-color: #fcfaf2; /* 薄いベージュ系を交互に配置 */
}

/* ホバー時に色を変えて視認性を上げる */
.single .contents_area table tr:hover td {
    background-color: #f2f5ec; /* サイトカラーに近い極薄の緑 */
}

/* スマホ対応：横に長い場合にスクロールさせる */
@media screen and (max-width: 768px) {
.single .contents_area table {
        display: block;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ページネーション
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* 親コンテナの調整 */
.page_nation_s {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    padding: 20px 0;
}

/* 前の記事・次の記事・一覧ボタン共通 */
.page_nation_s a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 50px; /* 丸みをもたせて柔らかい印象に */
    text-decoration: none !important;
    font-size: 0.9em;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 100px;
}

/* 前の記事・次の記事 (area_a, area_b) */
.single .main_area .page_nation_s .area_a a, 
.single .main_area .page_nation_s .area_b a {
    background-color: #fff;
    color: #7C974C;
    border: 2px solid #7C974C;
}

/* 前へ・次へ のアイコン風装飾 */
.page_nation_s .area_a a::before { content: "← "; }
.page_nation_s .area_b a::after { content: " →"; }

/* 一覧へ！ボタン (btn) */
.page_nation_s .btn {
    margin: 0 10px;
}
.single .main_area .page_nation_s .btn a {
    background-color: #7C974C; /* オリーブ */
    color: #fff;
    border: 2px solid #7C974C;
}

/* ホバーエフェクト */
.single .main_area .page_nation_s a:hover {
    background-color: #C6B18A; /* ホバー時はベージュに */
    border-color: #C6B18A;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* スマホ表示の最適化 */
@media screen and (max-width: 750px) {
    .page_nation_s {
        flex-direction: column;
        gap: 15px 0;
        margin: 0px auto;
    }

    .page_nation_s .area_a, .page_nation_s .area_b, .page_nation_s .btn {
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .page_nation_s a {
        width: 100%;
    }
}
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
目次
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/*TOC+*/
#toc_container {
    margin: 30px auto 20px;
    text-align: center;
}

#toc_container .toc_title {
    text-align: center;
    padding: 5px;
    font-weight: bold;
    position: relative;
    display: inline-block;
    vertical-align: middle;
    border-bottom: 2px solid #333;
    margin-bottom: 5px;
}

#toc_container:not(.contracted) .toc_title {
    margin: 0 auto 10px;
}

#toc_container .toc_title .toc_toggle {
    font-weight: normal;
    font-size: 95%;
}

.post #toc_container ul, .post #toc_container ol {
    list-style: none;
    margin-bottom: 0;
}

.toc_number {
    font-weight: bold;
    margin-right: 5px;
    color: #ccc;
}

#toc_container ul a {
    display: block;
    text-decoration: none;
    padding-bottom: 5px;
    border-bottom: 1px dotted #ccc;
    font-size: 16px;
    color: inherit;
    text-decoration: none;
}

#toc_container ul a:hover {
    opacity: 0.5;
}

#toc_container .toc_list > li> li > a {
    margin-bottom: 10px;
}

#toc_container .toc_list > li > a {
    border-bottom: none;
    color: inherit;
    text-decoration: none;
}

.post #toc_container ul ul {
    padding: 5px 0;
}

.post #toc_container ul ul ul {
    padding-left: 10px;
}

#toc_container li {
    font-weight: bold;
    margin-bottom: 5px;
    list-style-type: none;
    text-align: left;
    text-indent: -0.8em;
    padding-left: 1em;
}

#toc_container li::after {
    content: none;
}

#toc_container > ul > li {
    font-size: 18px;
}


/* 第一階層のみの場合 */
#toc_container.only-toc ul {
    padding: 20px;
}

#toc_container.only-toc li {
    padding: 0;
    font-weight: normal;
}

#toc_container.only-toc li a:before {
    content: none;
}

#toc_container.only-toc li {
    list-style-type: decimal;
    border-bottom: dotted 1px #ccc;
}

#st_toc_container.only-toc:not(.st_toc_contracted) {
    padding: 20px;
}

/* オリジナル */
.post #toc_container ol.st-original-toc > li {
    list-style: decimal;
    text-align: left;
    font-weight: normal;
    padding: 0;
    text-indent: 0;
}

#toc_container ol.st-original-toc > li a:before {
    content: none;
}


@media (max-width: 750px) {
	
	#toc_container .toc_list > li > a {
        font-size: 14px;
    }

    #toc_container ul a {
        font-size: 14px;
    }
	
}/*FINISH*/
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ポップアップ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* ポップアップモーダルの背景（オーバーレイ） */
.popup-modal {
  display: none; /* 初期状態は非表示 */
  position: fixed; /* 画面全体に固定 */
  z-index: 9999; /* 他の要素より前面に表示 */
  padding-top: 50px; /* 画像上の余白 */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* 画像が大きい場合はスクロール */
  background-color: rgba(0, 0, 0, 0.8); /*半透明の黒背景 */
  justify-content: center; /* Flexboxで中央寄せ */
  align-items: center;
}

/* 表示時のスタイル（JSでこのクラスを付与） */
.popup-modal.show {
    display: flex;
}

/* モーダル内の画像スタイル */
.modal-content {
  margin: auto;
  display: block;
  max-width: 90%; /* 画面幅の90%まで */
  max-height: 90vh; /* 画面高さの90%まで */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  border-radius: 4px;
  /* アニメーション（任意） */
  animation-name: zoom;
  animation-duration: 0.3s;
}

/* 閉じるボタンのスタイル */
.close-btn {
  position: absolute;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
  z-index: 10000;
}

.close-btn:hover,
.close-btn:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* 拡大アニメーション（任意） */
@keyframes zoom {
  from {transform:scale(0)}
  to {transform:scale(1)}
}

/* クリック対象の画像に対するカーソル（任意） */
.popup_img img {
    cursor: pointer;
}
#fixed-pr-notice {
  position: fixed;
  bottom: 100px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 6px;
  z-index: 9998;
  box-shadow: 0 2px 6px rgba(0,0,0,.4);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
検索ページ
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.page_header {
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #7C974C; /* オリーブ */
}
.page_title {
    font-size: 24px;
    color: #333;
}
.search_count {
    font-size: 14px;
    color: #666;
}
.no_results {
    padding: 50px 0;
    text-align: center;
}

@media (max-width: 750px) {
	.page_header{
		padding-top: 35px;
	}
}