@charset "UTF-8";
/*
clearfix
------------------------------*/
.clearfix:after {/*for modern browser*/
   content: "";
   display: block;
   clear: both;
}

.clearfix { *zoom:1; } /*for IE6,IE7*/

/*--------------------------

　レイアウト

---------------------------*/
abbr, address, article, aside, audio, b, blockquote, body, canvas, caption, cite, code, dd, del, details, dfn, div, dl, dt, em, fieldset, figcaption, figure, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, html, i, iframe, img, ins, kbd, label, legend, li, mark, menu, nav, object, ol, p, pre, q, samp, section, small, span, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, time, tr, ul, var, video {
    font-family: ヒラギノ角ゴ Pro W3,Hiragino Kaku Gothic Pro,Hiragino Sans,メイリオ,Meiryo,ＭＳ Ｐゴシック,MS PGothic,sans-serif;
    font-size: 100%;
    font-style: normal;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
}



img {
    border: 0;
    vertical-align: bottom;
}



/*--------------------------

ヘッダー

---------------------------*/
.ichizukeheader{
    height:60px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background-color: #fff;
    border-bottom: 1px solid #888;
}


.ichizukeheader-logo {
 top: 14px;
 left: 30px;
 width: 180px;
 position: absolute;
}


.ichizukeheader-logo img{
   max-width: 100%;
    height: auto;
    vertical-align: bottom;
}


.gnavi__lists {
   display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
}

ol, ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

span.searchlist{
    color:#fff;
    font-weight: 700;
    font-size:14px;
    color: #000;
}

.gnavi__list a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: #1b4059;
    font-size: 14px;
    letter-spacing: 0.05em;
    transition: all .3s;
}

.gnavi__list {
   margin-right: 30px;
    font-size: 14px;
}

.gnavi__wrap {
    position: absolute;
    left: 515px;
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
    line-height: 1;
}


/* スクロール後のヘッダー状態 */
.ichizukeheader.scrolled {
    background: #fff;
    border-bottom: 1px solid #888;
    transition: background 0.3s, border-color 0.3s;
}

/* ロゴ内の文字 or 画像が白だった場合の対策（必要なら調整） */
.ichizukeheader.scrolled .ichizukeheader-logo img {
    filter: invert(0); /* ロゴが黒でも白でも問題ない場合は不要 */
}

/* メニュー文字を黒へ */
.ichizukeheader.scrolled .gnavi__list a span.searchlist {
    color: #000;
}

/* aタグ自体の色も変更（念のため） */
.ichizukeheader.scrolled .gnavi__list a {
    color: #000;
}


/* ▼追加：ロゴ＋キャッチコピーブロック */
.ichizukeheader-brand {
    position: absolute;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ichizukeheader-brand img {
    width: 100px;    
    height: auto;
    display: block;
}

.ichizukeheader-catch {
    color: #000;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.2;
}

/* スクロール後の色変更にも対応 */
.ichizukeheader.scrolled .ichizukeheader-catch {
    color: #000;
}




/*--------------------------

コラムゾーン

---------------------------*/
ol, ul {
    list-style: none;
}




.clearfix:after {
    content: ".";
    display: block;
    clear: both;
    height: 0;
    visibility: hidden;
}

.clearfix {
    min-height: 1px;
}


.time {
    display: inline-block;
    float: left;
    color: #999;
    font-size: 16px;
    line-height: 24px;
    font-weight: 700;
}

#article .timeandtags ul {
    float: right;
    text-align: right;
    letter-spacing: normal;
}





#article .timeandtags ul li {
    display: inline-block;
    margin-left: 10px;
    color: #999;
    font-size: 11px;
    text-decoration: underline;
}

#article .timeandtags ul li a {
    color: #999;
}




.side_keyword .tag a, .side_keyword .tag span, .keywords_area .tag a, .keywords_area .tag span, .toptag .tag a, .toptag .tag span, .footertag .tag a, .footertag .tag span, .genre_tags .tag a, .genre_tags .tag span {
    display: inline-block;
    line-height: 22px;
    padding: 0 7px 0 7px;
    font-size: 12px;
}


h2, h3 {
  scroll-margin-top: 60px;
}

/*--------------------------

記事内のデザインブラッシュアップ

---------------------------*/
.preparation ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    border: 1px solid #ccc;
    margin: 32px 0;
    padding: 16px 24px;
}

.preparation ul li:before {
    background: url(https://nailjoshi.com/wp/wp-content/themes/nailjoshi/images/reten.jpg);
    background-size: contain;
    content: '';
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin: 0 8px 0 0;
}

.preparation ul li{
    font-weight: 400;
    color: #222;
    font-size: 16px;
    line-height: 150%;
    display: flex;
}
.preparation ul li:not(:first-child) {
    margin: 10px 0 0;
}


.howto ol {
    counter-reset:num;
  list-style-type: none!important;
    margin: 0;
    padding: 0;
    border: 1px solid #ccc;
    margin: 32px 0;
    padding: 16px 24px;
}

.howto ol li {
  position: relative;
  padding-left: 30px;
  line-height: 1.5em;
  padding: 0.5em 0.5em 0.5em 30px;
  font-weight: 400;
  color: #222;
  font-size: 16px;
}

.howto ol li:before {
  position: absolute;
  counter-increment: num;
  content: counter(num);
  display:inline-block;
  background: #fff100;
  color: #000;
  font-family: 'Arial',sans-serif;
  font-weight:bold;
  font-size: 14px;
  border-radius: 50%;
  left: 0;
  width: 22px;
  height: 22px;
  line-height: 22px;
  text-align: center;
  top: 10px;
}

.entry-content h3 {
    font-size: 18px;
    line-height: 1.4;
    padding-left: 14px;
    position: relative;
    margin-top: 2em;
    margin-bottom: 1em;
    color: #1a1a1a;
    font-weight: 900;
}


.entry-content h3:before {
    background-color: #000;
    bottom: 2px;
    content: "";
    left: 0;
    position: absolute;
    top: 3px;
    width: 2px;
}


h3.ttl_bar_bold5 {
    font-size: 20px;
    line-height: 1.4;
    padding-left: 14px;
    position: relative;
    margin-top: 2em;
    margin-bottom: 1em;
    color: #1a1a1a;
    font-weight: 900;
}


h3.ttl_bar_bold5:before {
    background-color: #fff100;
    bottom: 2px;
    content: "";
    left: 0;
    position: absolute;
    top: 0px;
    width: 8px;
}

.entry-content h4 {
    font-size: 18px;
    line-height: 1.4;
    margin-top: 2em;
    margin-bottom: 0.5em;
    color: #1a1a1a;
    font-weight: bold;
}

.entry-content h5 {
    font-size: 16px;
    line-height: 1.4;
    color: #1a1a1a;
    font-weight: bold;
}



 .product-block {
    background-color: #f3f3f3;
     margin: 1.5em auto;
    padding: 1.5em;
    font-size: 16px;
    color:#333; 
}


 .product-block2 {
    background-color: #f3f3f3;
     margin: 1.5em auto;
    padding: 25px 15px 1px 15px;
    font-size: 16px;
    color:#333; 
}

/*--------------------------

関連記事

---------------------------*/
.kanrenkijidesu{
padding-bottom: 6px;
border-bottom: 1px solid #eee;
margin-top: 20px!important;
margin-bottom: 10px;
letter-spacing: -.4em;
min-height: 1px;
}

.kanrenkijinocorner{
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3em;
    letter-spacing: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



.related-post li{
    display: table;
    table-layout: fixed;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px dotted #e7e7e7;
    vertical-align: top;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}


.related-post img{
    float: left;
    margin: 0 12px 0 0;
    height: 65px;
    width: 65px;
}


.kanrenkijititle{
    padding: 0 0 2px;
    font-size: 16px;
    line-height: 1.3em;
}

.bassuitxt{
font-size: 12px;
color: #333;
}


.entrycat{
display: inline-block;
    color: #999;
    font-size: 11px;
    letter-spacing: normal;
}

.entryauthor{
display: inline-block;
    color: #999;
    font-size: 11px;
    letter-spacing: normal;
}


.kanrenkw {
    letter-spacing: -.4em;
    min-height: 1px;
}


.kanrenkw {
    margin-top: 20px!important;
    margin-bottom: 10px;
}


.kanrenkw.is-border {
    padding-bottom: 6px;
    border-bottom: 1px solid #eee;
}

.kanrenkw-title {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3em;
    letter-spacing: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


.kanrenkw-annotation {
    float: right;
    margin-top: 2px;
    color: #999;
    font-size: 11px;
    letter-spacing: normal;
}



.footertag {
    margin-bottom: 10px;
    letter-spacing: -.4em;
}


.footertag li {
    margin: 6px 6px 0 0;
    letter-spacing: normal;
}

.footertag li a {
    color: #999;
}







.writerzone_content {
    display: table;
    table-layout: fixed;
    width: 100%;
    padding: 6px 0;
    border-bottom: 1px dotted #eee;
    vertical-align: top;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}



.article_author {
    margin-bottom: 40px;
    border: 0!important;
}


.writerzone_thumb {
    display: table-cell;
    *float: left;
    width: 75px;
    vertical-align: top;
}



.after_article_author .writerzone_thumb {
    width: 80px!important;
}


.writerzone_info {
    display: table-cell;
    width: 100%;
    *width: auto;
    vertical-align: middle;
}

.writerzone_name {
    padding-top: 2px;
    font-size: 14px;
    letter-spacing: -.4em;
}

.after_article_author .writerzone_name {
    font-size: 16px;
    line-height: 19px;
}


.writerzone_name a {
    display: inline-block;
    vertical-align: middle;
    letter-spacing: normal;
    color: #000;
    text-decoration: none;
}




.writerzone_desc {
    margin-top: 3px;
    color: #999;
    font-size: 11px;
    line-height: 1.3em;
}


.after_article_author .writerzone_desc {
    margin-top: 8px;
    font-size: 12px;
}







/*--------------------------

タイトル以下

---------------------------*/

.page-title {
margin-bottom: 30px;
    font-size: 28px;
    line-height: 1.6em;
    font-weight: 700;
    border-bottom: 2px solid rgb(0, 0, 0);
    padding-bottom: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



.entry-content {
    color: #777;
    font-size: 14px;
    margin-bottom: 18px;
    width: 690px;
    border-bottom: none;
}

.entry-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #000;
    margin-bottom: 30px;
}


.entry-content img {
    margin-bottom: -20px;
}

.starttext{
    font-size: 12px !important;
    line-height: 1.6em !important;
    margin-bottom: 10px !important;
}



.mokujizone{
    background-color: #fafafb;
    margin: 40px 0;
    padding: 24px;
    border-left: 4px solid #fff100;
   font-size:14px;
}


.mokuji-entry {
    font-size: 16px;
    margin-bottom: 24px;
    color: #333;
    margin-top:20px;
    padding-left: 32px;
    font-weight: bold;
}


.mokujizone li {
    font-size:16px;
    margin-top: 8px;
    text-decoration: underline;
    padding-left: 32px;
}



/* 最初の5項目は常に表示、残りは非表示 */
.mokujizone ul li:nth-child(n+6) {
    display: none;
}

/* 目次を折りたたむボタン */
.toggle-button {
    background-color: #fff100;
    color: #000;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    text-align: left;
}

/* 目次が表示されたときのスタイル */
.mokujizone ul.show li {
    display: block;
}

.mokujizone li {
    list-style-type: none;
}

.mokujizone li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 8px 0;
}





.ttl_bar_bold3, .ttl_bar_bold_condense h2 {
    margin-bottom: -10px;
    padding-bottom: 3px;
    border-bottom: 2px solid #000;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.4em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color:#000;
    margin-bottom:30px; 
}


.ttl_bar_bold4, .ttl_bar_bold_condense h2 {
    font-size: 20px;
    font-weight: 700;
    color:#000;
    margin-bottom:20px;
}


.quote{
margin-top: -10px!important;
color: #999;
font-size: 11px!important;
}

.quote img{
margin-top: -10px!important;
color: #999;
font-size: 11px!important;
}


.tableBase03 {
    border-collapse: collapse;
    text-align: left;
    line-height: 1.5;
}

.tableBase03 tr td {
    padding: 10px;
    border: 1px solid #333;
        color: #000000;
        font-size: 13px;
}



/*--------------------------

ヘッダー以下

---------------------------*/


article, aside, details, figcaption, figure, footer, header, main, menu, nav, section, summary {
    display: block;
}


.Section {
    white-space: normal;
    position: relative; /* 親要素に relative を追加 */
    overflow: visible;
}


.Container {
    margin: 0 auto;
    max-width: 1070px;
    display: flex;
    gap: 40px;
    padding-top: 30px;
}



.kabuzone {
    width: 690px;
}


.kabuzone::after {
  content: "";
  display: block;
  height: 142px;
}

.migi {
  width: 300px;
  margin-top: 18px;
  box-sizing: border-box;
}




/*--------------------------

　右固定目次

---------------------------*/


/* --- サイドバー目次 --- */
.toc-sidebar {
  background: #fff;
  padding: 1em;
  font-size: 14px;
  border: none;
}

.toc-title {
  font-weight: bold;
  margin-bottom: 0.8em;
  font-size: 14px;
}
#toc ul {
  list-style: none;
  padding-left: 0;
}
#toc li {
  margin: 0.5em 0;
}
#toc li a {
  color: #444;
  text-decoration: none;
}
#toc li a.is-active-link {
  color: #000;
  font-weight: bold;
}
#toc ul ul {
  padding-left: 1em;
}

.sidebar-column {
  position: sticky;
  top: 100px;
  z-index: 10;
}


.toc-sidebar {
  background: #fff;
  border: 1px solid #ccc;
  padding: 1em;
  font-size: 14px;
}



/* tocbotのデフォルトの縦線を消す */
.toc-list .toc-link::before {
  display: none;
}

/* ○マーカーを文頭に整列させる */
.toc-link {
  position: relative;
  padding-left: 20px;
  display: block;
}

/* 非アクティブな○（グレーの白抜き） */
.toc-link::after {
  content: "○";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #cccccc; 
  font-size: 12px;
  transition: color 0.3s;
}

/* アクティブな○（#0f2350で塗りつぶし） */
.is-active-link::after {
  content: "●";
  color: #fff100;
}








[data-space~="right:10"] {
    margin-right: 10px;
}



ol, ul {
    list-style: none;
    margin: 0;
    padding: 0;
}



.tableBase03 {
    border-collapse: collapse;
    text-align: left;
    line-height: 1.5;
    margin-bottom: 30px;
}

.tableBase03 tr td {
    padding: 10px;
    border: 1px solid #333;
        color: #000000;
        font-size: 14px;
}

.tableBase01 {
    border-collapse: collapse;
    text-align: left;
    line-height: 1.5;
    margin:75px 0;
    float:left;
    width:265px;
}


.tableBase01 tr td {
    padding:6px 10px;
    border:1px solid #e7e7e7;
        color: #333;
        font-size: 11px;
}







/*--------------------------

メインゾーン右側
---------------------------*/
.container .sidezone {
    width: 300px;
}

.sidezone > :first-child.link-list {
    margin: 0px 0px 40px;
}

.sidezone .link-list > ul li a {
    transition: opacity 0.3s;
}

.sidezone .tag-list {
    margin-bottom: 80px;
}

.sidezone section > h2 {
    position: relative;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    padding-bottom: 16.5px;
    font-size: 20px;
    font-weight: 700;
}

.sidezone section > h2::after {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 40px;
    height: 1px;
    background-color: rgb(136, 136, 136);
    margin: auto;
}


.sidezone .tag-list > ul {
    margin-top: 20px;
}


.sidezone .tag-list > ul li {
    display: inline-block;
    font-size: 13px;
    line-height: 1.3;
    margin: 10px 10px 0px 0px;
    background: rgb(255, 255, 255);
    border-radius: 14px;
}


.sidezone .tag-list > ul li a {
    padding: 8px 11px 9px 10px;
    border-radius: 20px;
}


.sidezone .tag-list > ul li a {
    display: block;
    padding: 4px 8px 5px 6px;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(229, 229, 229);
    border-image: initial;
    transition: 0.3s;
    color: #000;
    text-decoration: none;
}

.sidezone .tag-list > ul li a span {
    position: relative;
    padding-left: 9px;
}

.sidezone .tag-list > ul li a span, .sidezone .tag-list > ul li a span::before {
    display: flex;
    -webkit-box-align: center;
    align-items: center;
}

.sidezone .tag-list > ul li a span::before {
    content: "#";
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    color: rgb(255, 241, 0);
    margin: auto;
    transition: color 0.3s;
}


.sidezone .tag-list__link {
    margin-top: 14.5px;
    display: flex;
    -webkit-box-pack: end;
    justify-content: flex-end;
}





/* タグクラウドのデザイン調整 */


/* タグクラウド全体 */
.sidezone .wp-block-tag-cloud {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;       /* 横並び＋折り返し */
    gap: 10px;             /* タグ間の隙間 */
}

/* 各タグリンク */
.sidezone .wp-block-tag-cloud a.tag-cloud-link {
    display: inline-block;
    padding: 6px 12px;
    background-color: #fff;      /* 白背景 */
    border-radius: 20px;         /* 丸角 */
    border: 1px solid #e5e5e5;   /* 薄い枠線 */
    color: #000;
    text-decoration: none;
    font-size: 13px !important;  /* WordPress自動サイズを上書き */
    position: relative;
    transition: all 0.3s ease;
    line-height: 1.3;
}

/* #マークを疑似要素で追加 */
.sidezone .wp-block-tag-cloud a.tag-cloud-link::before {
    content: "#";
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #fff100; /* 元デザインの黄色 */
}

/* 内側文字の左余白を確保 */
.sidezone .wp-block-tag-cloud a.tag-cloud-link {
    padding-left: 18px; /* #マーク分のスペース */
}

/* ホバー時 */
.sidezone .wp-block-tag-cloud a.tag-cloud-link:hover {
    background-color: #fff100; /* ホバー背景を黄色に */
    color: #000;               /* 文字色は黒のまま */
    border-color: #fff100;     /* 枠線も黄色に */
}

/* ホバー時の # マークを黒に */
.sidezone .wp-block-tag-cloud a.tag-cloud-link:hover::before {
    color: #000; /* # を黒に */
}




/* サイドバー VIEW MORE：幅120px仕様（黄スライド + 黒矢印） */
.sidezone .tag-list__link a {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;               /* ★サイドバー向け 幅120px */
    padding: 9px 15px;
    font-size: 14px;            /* ★120px幅でも崩れにくい少し小さめ */
    font-weight: 700;
    border-bottom: 2px solid #000;
    overflow: hidden;
    box-sizing: border-box;
    cursor: pointer;
    color: #000;
    text-decoration: none;
}

/* ===== 左の矢印 ===== */
.sidezone .tag-list__link a span {
    position: relative;
    display: inline-block;
    padding-left: calc(1em + 12px);  /* ★120px幅に合わせて微調整 */
}

/* 横線部分 */
.sidezone .tag-list__link a span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 3px;
    bottom: 0;
    margin: auto;
    width: 14px;       /* ★少しだけ短く */
    height: 1px;
    background: #000;
    transition: 0.3s ease-in-out;
}

/* 矢印（三角） */
.sidezone .tag-list__link a span::after {
    content: "";
    position: absolute;
    left: 7px;         /* ★位置調整 */
    top: 3px;
    bottom: 0;
    margin: auto;
    width: 5px;        /* ★少し縮小 */
    height: 5px;
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    transform: rotate(45deg);
    transition: 0.3s ease-in-out;
}

/* ===== 黄色のスライド背景 ===== */
.sidezone .tag-list__link a::before {
    content: "";
    position: absolute;
    left: -100%;        /* 初期は左に隠す */
    top: 0;
    width: 100%;
    height: 100%;
    background: #FFF100;
    z-index: -1;
    transition: transform 0.45s ease;
    transform: translateX(0);
}

/* ホバーで黄色が右へ流れる */
.sidezone .tag-list__link a:hover::before {
    transform: translateX(100%);
}



.rankingzone{
    margin-bottom: 80px;
}




/* --------------------------
   ポピュラーポスト（ランキング）
--------------------------- */

.popular-posts ul.wpp-list li {
    display: grid;
    grid-template-columns: 100px 1fr;
    column-gap: 10px;
    padding: 20px 0;
    border-bottom: 1px solid #e5e5e5;
}

/* サムネリンク（左） */
.popular-posts ul.wpp-list li > a:first-child {
    grid-row: 1 / 3;
}

/* サムネ画像 */
.popular-posts .wpp-thumbnail {
    width: 100%;
    height: auto;
    display: block;
}

/* タイトル（右上） */
.popular-posts .wpp-post-title {
    grid-column: 2;
    grid-row: 1;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 6px;
    color: #000;
    text-decoration: none;
}

/* 日付（右下） */
.popular-posts .wpp-meta {
    grid-column: 2;
    grid-row: 2;
}

.popular-posts .wpp-date {
    font-size: 11px;
    color: #888;
}

/* ホバー */
.popular-posts ul.wpp-list li a:hover {
    opacity: 0.7;
}



/* アクセスランキング 見出し（参考サイト完全再現） */
.sidezone .popular-posts > h2 {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 16.5px;
    font-size: 20px;
    font-weight: 700;
}

/* 見出し下のセンターライン */
.sidezone .popular-posts > h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 40px;
    height: 1px;
    background-color: rgb(136, 136, 136);
    margin: auto;
}

/* ==========================
   人気ランキング：順位バッジ（確定版）
========================== */

/* カウンター初期化 */
.popular-posts ul.wpp-list {
    counter-reset: rank;
}

/* li 共通 */
.popular-posts ul.wpp-list li {
    counter-increment: rank;
    position: relative;
}

/* 共通バッジスタイル */
.popular-posts ul.wpp-list li::before {
    position: absolute;
    top: 15px;
    left: 0;
    width: 25px;
    height: 31px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    content: counter(rank);
}

/* 1位 */
.popular-posts ul.wpp-list li:nth-child(1)::before {
    background: url("http://localhost/wordpress3/wp-content/themes/ichizuke/images/ranking1.png") no-repeat center / contain;
}

/* 2位 */
.popular-posts ul.wpp-list li:nth-child(2)::before {
    background: url("http://localhost/wordpress3/wp-content/themes/ichizuke/images/ranking2.png") no-repeat center / contain;
}

/* 3位 */
.popular-posts ul.wpp-list li:nth-child(3)::before {
    background: url("http://localhost/wordpress3/wp-content/themes/ichizuke/images/ranking3.png") no-repeat center / contain;
}

/* 4位以降（同じ画像） */
.popular-posts ul.wpp-list li:nth-child(n+4)::before {
    background: url("http://localhost/wordpress3/wp-content/themes/ichizuke/images/ranking4.png") no-repeat center / contain;
}


/*--------------------------

フッター上

---------------------------*/
.footernoue {
    background: #fff100;
    color: #000;
    font-weight: 700;
    text-align: center;
    padding: 26px 20px;
    margin-top: 64px;
    display: flex;
    flex-direction: row;        /* 横並び */
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.footernoue-text {
    margin-bottom: 0;
    font-size: 24px;
    text-align: left;
}

.footer-button {
    display: inline-flex;
    align-items: center;
    margin-left: 32px;          /* ボタンとテキストのスペース */
}

.footer-button a {
    padding: 12px 28px;
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    text-decoration: none;
    color: #000;
    background-color: #fff;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
}

.footer-button a svg {
    margin-left: 8px;
    display: inline-block;
}

/* スマホで縦並び */
@media (max-width: 767px) {
    .footernoue {
        flex-direction: column;
        align-items: center;
    }
    .footer-button {
        margin-left: 0;
        margin-top: 16px;
    }
    .footernoue-text {
        text-align: center;
    }
}


/*--------------------------

フッター

---------------------------*/

#footer {
  background: #fff; /* フッター背景色 */
  color: #000;
  padding: 30px 20px;
  font-size: 14px;
  position: relative; 
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer-left .footer-logo {
  max-height: 50px;
  margin-right: 30px;
}

.footer-nav{
    margin-top:15px;
}

.footer-nav a {
  color: #000;
  text-decoration: none;
}

.footer-separator {
  margin: 0 10px;
  color: #ccc;
}

.footer-bottom {
  display: flex;
  justify-content: flex-end;
  margin-top: 20px;
}

.footer-copy {
  color: #000;
  font-size: 12px;
  position: absolute;
  right: 20px;  
  bottom: 20px; 
}



/*--------------------------

パンクズ

---------------------------*/


.breadcrumbs {
    margin: 0 auto;
    width: 1070px;
    font-size:12px;
    padding:95px 0 0 0;
}

.breadcrumbs a:link{
text-decoration:none;
color: #000;
}


.breadcrumbs a:hover{
text-decoration:underline;
color: #000;
}


.breadcrumbs a:visited{
text-decoration:none;
color: #000;
}





/*--------------------------

ＳＮＳボタン

---------------------------*/

.snszone {
    text-align: right;
	    margin-top: 30px;
}


[data-status=active].SnsBtn {
    visibility: visible;
}


.SnsBtn li {
    display: inline-block;
}



.snsbutton li {
    margin: 0 16px 0 0;
    width: 30px;
}


.officialaccounts{
    display: inline-block;
    padding: 16px 0 0;
    color: #999;
    font-size: 11px;
    letter-spacing: normal;
    margin-left:25px;
}


input{
    -webkit-appearance: none;
    border-radius: 0;
}






/*--------------------------

グレーの囲い

---------------------------*/
.graybox{
    box-sizing: border-box;
    background: #fff;
    margin: 30px auto;
    padding: 15px;
    border: 1px solid #ccc;
    color:#333;
}





/*--------------------------

　TOPにもどるボタン

---------------------------*/


#pagetop {
    display: block;
    position: fixed;
    right: 35px;
    bottom: 25px;
    z-index: 990;
    text-indent: -9999px;
    overflow: hidden;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.3);
    opacity: 1;
    width: 48px;
    height: 48px;
}



#pagetop>i {
    margin: auto;
    transform: translateY(150%) rotate(45deg);
    left: 0;
    display: block;
    width: 13px;
    height: 13px;
    position: relative;
}


#pagetop i:before,#pagetop>i:after {
  position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    border-radius: 2px;
    content: "";
    transition: all .6s ease-out;
    vertical-align: sub;
}



#pagetop i:before {
    width: 100%;
    height: 3px;
}

#pagetop i:after {
    width: 3px;
    height: 100%;
}

select::-ms-expand {
    display: none;
}





.lbl_container {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-box;
    display: -webkit-flexbox;
    display: -moz-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex
;
    -webkit-flex-wrap: wrap;
    -moz-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    justify-content: space-between;
    -webkit-justify-content: space-between;
}

.mb20 {
	padding-top: 20px !important;
}

.lblset .lbl_label {
    flex: 0 0 100px;
    height: auto;
    padding: 4px 0 1px 0;
    border: solid 2px #FF443D;
    border-radius: 3px;
    color: #000;
    text-align: center;
    margin-right: 20px;
	font-size:16px;
}


p.lbl_txt{
	margin-bottom:0px;
	padding-top: 5px;
}

p.lbl_txt2{
	padding-top: 5px;
}

.lblset {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-box;
    display: -webkit-flexbox;
    display: -moz-flexbox;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: flex;
    justify-content: flex-start;
    -webkit-justify-content: flex-start;
    align-items: start;
    -webkit-box-align: start;
    -ms-flex-align: start;
    flex: 1 0 50%;
    margin-bottom: 8px;
}

.comment p{
	font-weight:bold;
	font-size:16px;
	color:#85CA8C;
	
}

.comment{
	margin-top:50px;
}

.h2mae span{
	display: inline-block;
    color: #fff;
    background-color: #FF443D;
    padding: 3px 5px;
    margin-bottom: 10px;
	font-size:14px;
	font-weight:bold;
	margin-top:30px;
}




/* ==========================
   共通タグデザイン
========================== */

/* 共通UL */
.footertag,
.wp-block-tag-cloud {
    margin-top: 20px;
}

/* 共通LI */
.footertag li.tag {
    display: inline-block;
    margin: 10px 10px 0 0;
}

/* 共通リンク */
.footertag li.tag a,
.wp-block-tag-cloud a {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px 6px 8px;
    font-size: 13px;
    line-height: 1.3;
    color: #000;
    text-decoration: none;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    background: #fff;
    transition: background-color 0.3s, color 0.3s;
    position: relative;
}

/* # 記号 */
.footertag li.tag a::before,
.wp-block-tag-cloud a::before {
    content: "#";
    margin-right: 4px;
    color: #fff100;
    transition: color 0.3s;
}


/* hover 反転 */
.footertag li.tag a:hover,
.wp-block-tag-cloud a:hover {
    background: #fff100;
    color: #000;
    border-color: #fff100;
}

/* # の色も反転 */
.footertag li.tag a:hover::before,
.wp-block-tag-cloud a:hover::before {
    color: #000;
}


.clearfix::after {
    content: "";
    display: block;
    clear: both;
}
