@charset "UTF-8";
/*
 Theme Name: SANGO Child
 Theme URI: https://saruwakakun.design
 Author: SARUWAKA
 Author URI: https://saruwakakun.com
 Template: sango-theme
 Version: 4.0
*/
/*こちらはSANGOの子テーマ用CSSです。以下にCSSを記入していきましょう。*/

/*---------------------------------------
  強調フォント
--------------------------------------*/
.futo {
    font-weight: bold;
}

/*--------------------------------------
  スマホMenuバーの上に文字を追加
--------------------------------------*/
#drawer .fa-bars {
    padding: 15px 0 0 12px;
}

#drawer .fa-bars:after {
    content: 'MENU';
    font-size: 10px;
    font-weight: bold;
    display: block;
    margin-top: 3.5px;
}

/*--------------------------------------
  モバイルファーストビューの調整
--------------------------------------*/
@media only screen and (max-width: 480px) {
    .header-info a {
        padding: 5px 10px;
        font-size: 15px;
    }

    #breadcrumb {
        padding: 5px 15px;
        font-size: 15px;
    }

    h1,
    .h1 {
        font-size: 1.1em;
        line-height: 1.5;
    }

    .single-title,
    .page-title,
    .entry-title {
        padding: 20px 15px 5px 15px;
    }

    .entry-meta {
        margin: 0 0 5px;
        font-size: .8em;
    }
}

/*--------------------------------------
  ポイント吹き出し
--------------------------------------*/
.points p {
    margin: 0;
    padding: 0 1em;
}

.points {
    position: relative;
    display: inline-block;
    margin: 1.5em 0 .9em 0;
    padding: 5px 20px;
    min-width: 120px;
    max-width: 100%;
    color: #fff;
    background: #81D4FA;
    border-radius: 15px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
}

.points:before {
    content: "";
    position: absolute;
    top: 100%;
    left: 30%;
    margin-left: -15px;
    border: 10px solid transparent;
    border-top: 10px solid #81D4FA;
}

/*赤系*/
.points.p-red {
    background: #ef9a9a;
}

.points.p-red:before {
    border-top: 10px solid #ef9a9a;
}

/*オレンジ系*/
.points.p-orange {
    background: #FFCC80;
}

.points.p-orange:before {
    border-top: 10px solid #FFCC80;
}

/*緑系*/
.points.p-green {
    background: #80CBC4;
}

.points.p-green:before {
    border-top: 10px solid #80CBC4;
}

/*青系*/
.points.p-blue {
    background: #7986CB;
}

.points.p-blue:before {
    border-top: 10px solid #7986CB;
}

/*カスタマイズ用*/
.points.p-custom {
    background: #7986CB;
    /*吹き出しの色*/
}

.points.p-custom:before {
    border-top: 10px solid #7986CB;
    /*吹き出しの色*/
}

/*--------------------------------------
  関連記事
--------------------------------------*/
.kanren {
    position: relative;
    background-color: #fff;
    border: 2px solid #E0E0E0;
    border-radius: 5px;
    margin: 30px 5px 20px 7px;
    padding: 25px 20px 15px 20px;
}

.kanren:before {
    position: absolute;
    border-radius: 15px;
    background-color: #9E9E9E;
    color: #fff;
    font-family: "FontAwesome", "Helvetica", "Yu Gothic";
    content: '関連する記事';
    font-size: 14px;
    font-weight: bold;
    padding: 5px 20px;
    left: -10px;
    top: -20px;
}

.kanren:after {
    position: absolute;
    border-top: 12px solid #9E9E9E;
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
    content: '';
    top: 10px;
    left: 15px;
}

.kanren ul {
    list-style-type: none;
    border: none;
    margin: 0;
    padding: 0;
}

.kanren ul li {
    list-style-type: none !important;
    position: relative;
    padding: .2em 0 .2em 1.5em;
    line-height: 1.5;
}

.kanren ul li:before {
    position: absolute;
    left: 0;
    display: inline-block;
    font-family: FontAwesome, 'Quicksand', 'Avenir', 'Arial', sans-serif;
    content: '\f05d\ ';
    color: #9E9E9E;
    width: 8px;
    height: 8px;
    margin: 0 16px 20px 0;
}

.fa5 .kanren ul li:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    content: '\f058';
}

/*赤系*/
.kanren.p-red {
    border: 2px solid #ffcdd2;
}

.kanren.p-red:before {
    background-color: #ef9a9a;
}

.kanren.p-red:after {
    border-top: 12px solid #ef9a9a;
}

.kanren.p-red ul li:before {
    color: #ef9a9a;
}

/*オレンジ系*/
.kanren.p-orange {
    border: 2px solid #FFE0B2;
}

.kanren.p-orange:before {
    background-color: #FFCC80;
}

.kanren.p-orange:after {
    border-top: 12px solid #FFCC80;
}

.kanren.p-orange ul li:before {
    color: #FFCC80;
}

/*緑系*/
.kanren.p-green {
    border: 2px solid #B2DFDB;
}

.kanren.p-green:before {
    background-color: #80CBC4;
}

.kanren.p-green:after {
    border-top: 12px solid #80CBC4;
}

.kanren.p-green ul li:before {
    color: #80CBC4;
}

/*青系*/
.kanren.p-blue {
    border: 2px solid #C5CAE9;
}

.kanren.p-blue:before {
    background-color: #7986CB;
}

.kanren.p-blue:after {
    border-top: 12px solid #7986CB;
}

.kanren.p-blue ul li:before {
    color: #7986CB;
}

/*カスタマイズ用*/
.kanren.p-custom {
    border: 2px solid #E1BEE7;
    /*枠線の色*/
}

.kanren.p-custom:before {
    background-color: #CE93D8;
    /*吹き出しの色*/
}

.kanren.p-custom:after {
    border-top: 12px solid #CE93D8;
    /*吹き出しの色*/
}

.kanren.p-custom ul li:before {
    color: #CE93D8;
    /*吹き出しの色*/
}

/*--------------------------------------
  タイトル自由形　関連記事ボックス
--------------------------------------*/
.p-box {
    position: relative;
    background-color: #fff;
    border: 2px solid #CFD8DC;
    border-radius: 5px;
    margin: 30px 5px 20px 7px;
    padding: 25px 20px 15px 20px;
}

.p-box .p-box-title {
    position: absolute;
    left: -10px;
    top: -20px;
    border-radius: 15px;
    background-color: #90A4AE;
    color: #fff;
    font-family: "FontAwesome", "Helvetica", "Yu Gothic";
    font-size: 14px;
    font-weight: bold;
    padding: 5px 20px;
}

.p-box .p-box-title:after {
    position: absolute;
    border-top: 12px solid #90A4AE;
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
    content: '';
    top: 30px;
    left: 25px;
}

.p-box p {
    margin: 0;
    padding: 0;
}

.p-box ul {
    list-style-type: none;
    border: none;
    margin: 0;
    padding: 0;
}

.p-box ul li {
    list-style-type: none !important;
    position: relative;
    padding: .2em 0 .2em 1.5em;
    line-height: 1.5;
}

.p-box ul li:before {
    display: inline-block;
    position: absolute;
    left: 0;
    font-family: FontAwesome, 'Quicksand', 'Avenir', 'Arial', sans-serif;
    content: '\f138\ ';
    color: #90A4AE;
    width: 8px;
    height: 8px;
    margin: 0 16px 20px 0;
}

.fa5 .p-box ul li:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

/*赤系*/
.p-box.p-red {
    border: 2px solid #ffcdd2;
}

div.p-box.p-red .p-box-title {
    background-color: #ef9a9a;
}

div.p-box.p-red .p-box-title:after {
    border-top: 12px solid #ef9a9a;
}

.p-box.p-red ul li:before {
    color: #ef9a9a;
}

/*オレンジ系*/
.p-box.p-orange {
    border: 2px solid #FFE0B2;
}

div.p-box.p-orange .p-box-title {
    background-color: #FFCC80;
}

div.p-box.p-orange .p-box-title:after {
    border-top: 12px solid #FFCC80;
}

.p-box.p-orange ul li:before {
    color: #FFCC80;
}

/*緑系*/
.p-box.p-green {
    border: 2px solid #B2DFDB;
}

div.p-box.p-green .p-box-title {
    background-color: #80CBC4;
}

div.p-box.p-green .p-box-title:after {
    border-top: 12px solid #80CBC4;
}

.p-box.p-green ul li:before {
    color: #80CBC4;
}

/*青系*/
.p-box.p-blue {
    border: 2px solid #C5CAE9;
}

div.p-box.p-blue .p-box-title {
    background-color: #7986CB;
}

div.p-box.p-blue .p-box-title:after {
    border-top: 12px solid #7986CB;
}

.p-box.p-blue ul li:before {
    color: #7986CB;
}

/*カスタマイズ用*/
.p-box.p-custom {
    border: 2px solid #E1BEE7;
    /*枠線の色*/
}

div.p-box.p-custom .p-box-title {
    background-color: #CE93D8;
    /*吹き出しの色*/
}

div.p-box.p-custom .p-box-title:after {
    border-top: 12px solid #CE93D8;
    /*吹き出しの色*/
}

.p-box.p-custom ul li:before {
    color: #CE93D8;
    /*チェックの色*/
}

/*--------------------------------------
 pickup記事バー
--------------------------------------*/
div.osusume-b,
div.shinchaku-b {
    background: white;
    width: 94%;
    text-align: center;
    margin: 0 8% 40px 0;
}

div.osusume-b p,
div.shinchaku-b p {
    display: inline-block;
    height: 44px;
    line-height: 44px;
    vertical-align: middle;
    margin: auto;
    font-weight: bold;
    font-size: 90%;
    color: #a7a7a7;
}

@media screen and (max-width: 1029px) {

    div.osusume-b,
    div.shinchaku-b {
        margin: 0 8% 25px 2%;
    }
}

@media screen and (max-width: 450px) {

    div.osusume-b,
    div.shinchaku-b {
        margin: 0 0 1em 0;
        width: 100%;
    }

    div.osusume-b p,
    div.shinchaku-b p {
        font-size: 14px;
        height: 33px;
        line-height: 33px;
    }
}

@media only screen and (max-width: 480px) {

    /*スマホでも2列横並びに*/
    .cardtype {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: -moz-box;
        display: flex;
        -webkit-flex-direction: row;
        flex-direction: row;
        -webkit-flex-wrap: wrap;
        flex-wrap: wrap;
    }

    div.osusume-card a.cardtype__link {
        padding-bottom: 1px;
    }

    .popular-posts .cardtype__article {
        width: 48%;
    }

    .popular-posts .cardtype__article:nth-child(odd) {
        margin-right: 4%;
    }

    .popular-posts.cardtype h2 {
        margin: 8px 5px;
        font-size: 15px;
    }
}

/*--------------------------------------
  pickup記事バー（線型オプション）
--------------------------------------*/
#new-entry p {
    position: relative;
    display: inline-block;
    margin: 0 0em 1em 0;
    padding: 0 1em;
    text-align: left;
}

#new-entry p:before,
#new-entry p:after {
    position: absolute;
    top: 50%;
    content: '';
    width: 200%;
    height: 2px;
    background-color: #666;
}

#new-entry {
    border-left: none;
    background-color: transparent;
    overflow: hidden;
    text-align: center;
}

#new-entry p:before {
    right: 100%;
}

#new-entry p:after {
    left: 100%;
}

@media only screen and (min-width: 1030px) {
    #new-entry {
        margin: 0 6% 0 0px;
    }
}

/*--------------------------------------
  フッターのロゴとサイト説明
--------------------------------------*/
.site_description {
    /*サイトのディスクリプションを表示*/
    font-size: .75em;
    text-align: center;
    color: #fff;
}

#footerlogo {
    display: table;
    margin: 0;
    padding: 0 0 0 5px;
    width: 100%;
    font-size: 6vmin;
    text-align: center;
    letter-spacing: 1px;
}

#footerlogo:before {
    content: '';
    height: 62px;
    display: block;
    float: left;
}

#footerlogo a {
    display: table-cell;
    line-height: 1.5;
    vertical-align: middle;
}

#footerlogo a:hover {
    opacity: .5;
}

#footerlogo img {
    display: inline-block;
    height: 62px;
    padding: 10px 0 10px 0;
    vertical-align: middle;
}

@media only screen and (min-width: 481px) {
    #footerlogo {
        font-size: 23px;
    }
}

@media only screen and (min-width: 768px) {
    #footerlogo {
        display: inline-block;
        height: 62px;
        line-height: 62px;
        margin: 0 5px 0 0;
        text-align: left;
        width: auto;
    }

    #footerlogo:before {
        content: none;
    }

    #footerlogo a {
        display: inline;
        line-height: inherit;
        vertical-align: baseline;
    }

    #footerlogo img {
        vertical-align: top;
        padding: 6px 6px 6px 0;
    }
}

/*--------------------------------------
  引用blockquote
--------------------------------------*/
.entry-content blockquote {
    font-size: .8em;
    border: solid 2px #BDBDBD;
}

/*--------------------------------------
  コメント欄の調整
--------------------------------------*/
.commentlist {
    font-size: .9em;
}

.comment_content {
    padding: 0 1em;
}

/*--------------------------------------
  アプリーチのCSS調整
--------------------------------------*/
#appreach-box {
    border: double 4px #dbdbdb;
    background: #fff;
    padding: 5px !important;
    margin-bottom: 20px;
}

#appreach-appname {
    font-weight: bold;
    margin: 0 0 .5em 8em;
}

.appreach-links {
    margin-top: 10px;
}

.appreach-footer {
    margin-bottom: 0;
    line-height: 0;
}

#appreach-developer,
#appreach-developerurl,
#appreach-price,
.appreach-powered,
.appreach-powered a {
    color: silver;
    font-size: .5em !important;
}

/*--------------------------------------
  ポチレバの調整CSS
--------------------------------------*/
.pochireba {
    border: double 4px #dbdbdb;
    background: #fff;
    padding: 15px !important;
    margin-bottom: 20px;
}

.pochireba .pochi_img {
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .38), 0 0 2px rgba(0, 0, 0, .15);
    margin-right: 25px !important;
    margin-top: 20px !important;
    margin-left: 10px !important;
}

.pochireba .pochi_info {
    margin-left: 5px;
}

.pochireba .pochi_name {
    text-align: center;
}

.pochireba .pochi_name a {
    display: block;
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    text-align: center;
    margin: 0 10px 10px 0;
    padding: 6px;
    border-radius: 8px;
    line-height: 26px;
    background: #e57373;
    /*ボタンの色を変える*/
    box-shadow: 0 2px 3px rgba(0, 0, 0, .28);
}

.pochireba .pochi_name a::after {
    font-family: FontAwesome;
    content: '\f0da\  AppStore';
    display: block;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
}

.pochireba .pochi_name a:hover {
    box-shadow: 0 12px 15px -5px rgba(0, 0, 0, .25);
}

.pochireba .pochi_price,
.pochireba .pochi_time,
.pochireba .pochi_seller,
.pochireba .pochi_post {
    color: silver;
    font-size: .5em !important;
    margin-bottom: 0;
    float: left;
}

.pochireba .pochi_price {
    margin-left: .5em;
}

.pochireba .pochi_time::after,
.pochireba .pochi_seller::after {
    font-family: FontAwesome;
    content: '/ ';
}

div .pochi_seller a,
div .pochi_post a {
    color: silver;
}

/*--------------------------------------
  要素の非表示ボックスを隠す
--------------------------------------*/
/*全体*/
.hidden_box {
    margin: 2em 0;
    /*前後の余白*/
    padding: 0;
}

/*ボタン装飾*/
.hidden_box label {
    padding: 15px;
    font-weight: bold;
    border: solid 2px black;
    cursor: pointer;
}

/*ボタンホバー時*/
.hidden_box label:hover {
    background: #efefef;
}

/*チェックは見えなくする*/
.hidden_box input {
    display: none;
}

/*中身を非表示にしておく*/
.hidden_box .hidden_show {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}

/*クリックで中身表示*/
.hidden_box input:checked~.hidden_show {
    padding: 10px 0;
    height: auto;
    opacity: 1;
}

/*--------------------------------------
トップページ「pickup」ボタンのデザイン調整
--------------------------------------*/
#main .ninkiid {
    display: inline-block;
    overflow: hidden;
    position: absolute;
    top: 13px;
    left: 13px;
    height: 22px;
    margin: 0;
    padding: 0 10px;
    border-radius: 14px;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    vertical-align: middle;
    line-height: 22px;
}

/*--------------------------------------
wppでランキング順位を表示する
--------------------------------------*/
/* カウンタをリセット */
.my-widget.show_num {
    counter-reset: wpp-ranking;
}

.my-widget.show_num li {
    position: relative;
}

/* 順位ラベルを表示 */
.my-widget.show_num li:before {
    content: counter(wpp-ranking, decimal);
    counter-increment: wpp-ranking;
    display: inline-block;
    position: absolute;
    z-index: 1;
    top: 0;

    left: 0;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    text-align: center;
    line-height: 25px;
}

/* 1位 */
.my-widget.show_num li:nth-child(1):before {
    background: #ffe368;
    /*テーマカラーが適応されるので要らない*/
    color: #fff;
}

/* 2位 */
.my-widget.show_num li:nth-child(2):before {
    background: #ffe368;
    /*テーマカラーが適応されるので要らない*/
    color: #fff;
}

/* 3位 */
.my-widget.show_num li:nth-child(3):before {
    background: #ffe368;
    /*テーマカラーが適応されるので要らない*/
    color: #fff;
}

/* 4位以降の色 */
.my-widget.show_num li:nth-child(n + 4):before {
    background: #f3f3f3;
    color: #9a9a9a;
}

/*--------------------------------------
WPPカテゴリランキングの調整
--------------------------------------*/
p.wpp_cat {
    padding: 0 0 .5em 0;
    margin: 0;
}

/*--------------------------------------
アイキャッチキャプションのデザイン調整
--------------------------------------*/
.caption-spaceasam {
    position: relative;
}

.caption-spaceasam p {
    position: absolute;
    bottom: 1%;
    left: 2%;
    background: #EAEDF2;
    /*枠の色だよ*/
    color: #b0b0b0;
    /*文字の色だよ*/
    font-size: 8px;
    font-weight: bold;
    border-radius: 20px;
    line-height: 1.3;
    letter-spacing: 1px;
    padding: 7px 13px;
    z-index: 1;
}

.caption-spaceasam img {
    width: 100%;
}

a.samune:link {
    color: #b0b0b0;
}

a.samune:visited {
    color: #b0b0b0;
}

a.samune:hover {
    color: #b0b0b0;
}

a.samune:active {
    color: #b0b0b0;
}

/*--------------------------------------
AdSenseタイトルのボタンアイコン
--------------------------------------*/
.ad-name {
    display: inline-block;
    overflow: hidden;
    height: 22px;
    padding: 0 10px;
    border-radius: 14px;
    font-size: 11px;
    font-weight: bold;
    vertical-align: middle;
    line-height: 22px;
}

.adblock {
    margin-top: 10px;
}

/*--------------------------------------
  記事見出しをバイラル風にする
--------------------------------------*/
.viral {
    /* 親div */
    position: relative;
    /* 相対配置 */
    margin: 0;
    background: #000;
    z-index: 0;
}

.v-box {
    text-align: center;
}

.viral p {
    position: absolute;
    color: #a9a9a9;
    /* 文字 */
    top: 6%;
    left: 5%;
    margin: 0;
    padding: 0;
    z-index: 1;
}

.viral h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    margin: 0;
    padding: 0;
    color: white;
    /* 文字は白に */
    font-weight: bold;
    /* 太字に */
    font-size: 1.4em;
    /* 文字サイズ */
    z-index: 1;
}

.viral img {
    width: 100%;
    display: block;
    opacity: .3;
}

@media only screen and (max-width: 480px) {

    /* スマホサイズ */
    .viral p {
        position: absolute;
        color: #a9a9a9;
        /* 文字 */
        top: 5%;
        left: 5%;
        margin: 0;
        padding: 0;
        z-index: 1;
        font-size: .8em;
    }

    .viral h1 {
        position: absolute;
        top: 50%;
        left: 50%;
        -ms-transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        transform: translate(-50%, -50%);
        margin: 0;
        padding: 0;
        color: white;
        /* 文字は白に */
        font-weight: bold;
        /* 太字に */
        z-index: 1;
        font-size: 1.1em;
    }
}

/*--------------------------------------
  postgrid.phpのシェア数カウントデザ調整
--------------------------------------*/
.count-btn {
    position: absolute;
    color: #b5b5b5;
    font-size: 13px;
    font-weight: bold;
    right: 1em;
    bottom: .3em;
    margin: 0;
}

.count-btn:before {
    margin: 0 .4em 0 .6em;
    font-family: FontAwesome;
    content: "\f1e0 ";
}

.fa5 .count-btn:before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

/*--------------------------------------
  ピンバックのデザイン調整
--------------------------------------*/
div.pingback {
    padding: 1em;
    margin-top: 1em;
    background: #f8f9fa;
}

div.pingback a {
    font-style: normal;
}

/*--------------------------------
  ボックス＋アイコン（ショートコード用）
---------------------------------*/
/* Note（灰色背景） */
.memo.note {
    background: #f6f6f6;
}

.memo.note .memo_ttl {
    color: #777777;
}

.memo.note .memo_ttl:before {
    background: #777777;
    font-family: "FontAwesome";
    content: "\f02d";
}

.fa5.memo.note .memo_ttl:before {
    font-family: "Font Awesome 5 free";
    font-weight: 900;
    content: "\f02d";
}

/* Sefe（水色背景） */
.memo.safe {
    background: #e8f4ff;
}

.memo.safe .memo_ttl {
    color: #5dbce8;
}

.memo.safe .memo_ttl:before {
    background: #5dbce8;
    font-family: "FontAwesome";
    content: "\f2b4";
}

.fa5 .memo.safe .memo_ttl:before {
    font-family: "Font Awesome 5 free";
    font-weight: 900;
    content: "\f024";
}

/*--------------------------------------
  コンタクトフォームボタンデザインの調整
--------------------------------------*/
.wpcf7 input[type="submit"],
.pushbutton-wide {
    display: inline-block;
    border: 0;
    font-weight: bold;
    background-color: #BDBDBD;
    border-radius: 3px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, .2), 0 2px 3px -2px rgba(0, 0, 0, .15);
    color: #fff;
    text-decoration: none;
    vertical-align: middle;
    transition: .3s ease-in-out;
}

.wpcf7 input[type="submit"] {
    margin: .5em .5em .5em 1.7em;
    padding: .5em 8em;
}

.pushbutton-wide {
    margin: .5em .5em .5em 0;
    padding: .5em 5em;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 input[type="submit"]:focus,
.pushbutton-wide:hover,
.pushbutton-wide:focus {
    box-shadow: 0 13px 20px -3px rgba(0, 0, 0, .24);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

/*--------------------------------------
  インフィード広告にクラスprを入れる際の調整
--------------------------------------*/
div.pr p {
    margin: 8px 13px 0;
    font-size: 18px;
    line-height: 1.56;
    font-weight: bold;
}

/*--------------------------------------
  カエレバYahooリンク色変更
--------------------------------------*/
.cstmreba .kaerebalink-link1 .shoplinkyahoo,
.booklink-link2 .shoplinkyahoo {
    background: #FF8A65;
}

/*--------------------------------------
  吹き出し下
--------------------------------------*/
.saysprp {
    width: 100%;
    margin: 1.5em 0;
    overflow: hidden;
}

.saysprp .faceicon {
    padding-right: 0;
}

.saysprp .faceicon img {
    width: 100px;
    border-radius: 50%;
}

.saysprp .fuki {
    background-color: #fff;
    border: 2px solid #BDBDBD;
    border-radius: 12px;
    position: relative;
    margin: .5em .5em 1.5em .5em;
    padding: 1em;
    font-size: .95em;
    width: 98%;
}

.saysprp .fuki:before {
    border: 10px solid transparent;
    border-bottom-color: #fff;
    border-top-width: 0;
    top: -8px;
    content: "";
    display: block;
    left: 30px;
    position: absolute;
    width: 0;
    z-index: 1;
}

.saysprp .fuki:after {
    border: 10px solid transparent;
    border-bottom-color: #BDBDBD;
    border-top-width: 0;
    top: -10.5px;
    content: "";
    display: block;
    left: 30px;
    position: absolute;
    width: 0;
}

@media only screen and (min-width: 481px) {
    .saysprp .faceicon {
        width: 110px;
    }
}

@media only screen and (max-width: 480px) {
    .saysprp .faceicon {
        width: 80px;
    }

    .saysprp .fuki {
        margin: 1em 0 1.5em 0;
    }
}

/*--------------------------------------
  アイテムランキング(共通設定)
--------------------------------------*/
.item_ranking_widget .strong.dfont:before,
.item_ranking_widget .widgettitle.dfont:before,
.item_ranking_widget .ft_title:before,
.item_ranking_content .dfont:before,
.item_ranking_content .ads-title:before,
.item_ranking_content .related_title:before {
    padding-right: 4px;
    display: inline-block;
    width: 30px;
    height: 24px;
    background: url('library/images/crown_gold.png');
    background-repeat: no-repeat;
    background-size: 30px 24px;
    background-position: 0 0px;
    content: ' ';
    vertical-align: text-bottom;
}

.item_score i {
    color: #ffb36b;
}

.item_link {
    border-radius: 5px;
    background: #5ba9f7;
    color: #ffffff !important;
    font-size: 13px;
}

.item_link a {
    padding-left: 0 !important;
    color: #ffffff !important;
}

.item_link a:before {
    display: none;
}

.item_link a:after {
    display: inline-block;
    float: right;
    padding-right: 4px;
    font-family: "FontAwesome";
    font-weight: 900;
    content: "\f0da";
    color: #ffffff !important;
}

.fa5 .item_link a:after {
    font-family: "Font Awesome 5 free";
    font-weight: 900;
}

.item_link.blue {
    background: #5ba9f7;
}

.item_link.blue:hover {
    background: #2a8ff4;
}

.item_link.yellow {
    background: #ffb36b;
}

.item_link.yellow:hover {
    background: #ff9734;
}

.item_link.pink {
    background: #f87f80;
}

.item_link.pink:hover {
    background: #f5494b;
}

.item_link.green {
    background: #90d581;
}

.item_link.green:hover {
    background: #6ec85a;
}

.item_link>img {
    position: absolute;
}

.item_image img[width="1"] {
    position: absolute !important;
    z-index: 0 !important;
}

/*--------------------------------------
  アイテムランキング(サイドバー)
--------------------------------------*/
.item_ranking_widget .strong.dfont,
.item_ranking_widget .widgettitle.dfont,
.item_ranking_widget .ft_title {
    margin: 0;
    padding: 7px 13px;
    border: 0;
    background: #303229;
    color: #ffffff;
}

.item_ranking_widget .item_ranking_list {
    padding: 16px !important;
    background: #ffffff;
    list-style: none !important;
}

.item_ranking_widget .item {
    margin: 0 0 16px;
    padding: 16px 0 0;
    border-top: dotted 1px #e8eaf1;
}

.item_ranking_widget .item:first-child {
    padding-top: 0;
    border-top: none;
}

.item_ranking_widget .item .item_detail {
    position: relative;
}

.item_ranking_widget .item .item_detail:before {
    position: absolute;
    top: -10px;
    left: -10px;
    display: block;
    width: 24px;
    height: 24px;
    border-radius: 12px;
    font-size: 12px;
    text-align: center;
    line-height: 24px;
    content: ' ';
}

.item_ranking_widget .item .item_detail.rank1:before {
    z-index: 1;
    background: #fbb03b;
    color: #ffffff;
}

.item_ranking_widget .item .item_detail.rank1.icon:before {
    background-image: url('library/images/crown_white.png');
    background-repeat: no-repeat;
    background-size: 14px 11.2px;
    background-position: 50% 50%;
}

.item_ranking_widget .item .item_detail.rank1.number:before {
    content: '1';
}

.item_ranking_widget .item .item_detail.rank2:before {
    z-index: 1;
    background: #a9bec7;
    color: #ffffff;
}

.item_ranking_widget .item .item_detail.rank2.icon:before {
    background-image: url('library/images/crown_white.png');
    background-repeat: no-repeat;
    background-size: 14px 11.2px;
    background-position: 50% 50%;
}

.item_ranking_widget .item .item_detail.rank2.number:before {
    content: '2';
}

.item_ranking_widget .item .item_detail.rank3:before {
    z-index: 1;
    background: #a17041;
    color: #ffffff;
}

.item_ranking_widget .item .item_detail.rank3.icon:before {
    background-image: url('library/images/crown_white.png');
    background-repeat: no-repeat;
    background-size: 14px 11.2px;
    background-position: 50% 50%;
}

.item_ranking_widget .item .item_detail.rank3.number:before {
    content: '3';
}

.item_ranking_widget .item .item_detail .item_info .item_image {
    float: left;
    margin: 0 0 16px;
    width: 120px;
    height: 100px;
}

.item_ranking_widget .item .item_detail .item_info .item_image a,
.item_ranking_widget .item .item_detail .item_info .item_image img {
    display: inline-block;
    padding: 0;
}

.item_ranking_widget .item .item_detail .item_info .item_image a:before {
    display: none;
}

.item_ranking_widget .item .item_detail .item_info .item_name,
.item_ranking_widget .item .item_detail .item_info .item_score {
    margin: 5px 0 5px 130px;
}

.item_ranking_widget .item .item_detail .item_info .item_name {
    font-size: 14px;
}

.item_ranking_widget .item .item_detail .item_info .item_score {
    font-size: 12px;
}

.item_ranking_widget .item .item_links {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.item_ranking_widget .item .item_links .item_link {
    margin-left: 8px;
    padding: 3px 8px;
    width: 50%;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .15),
        0 3px 3px -2px rgba(0, 0, 0, .15);
    text-align: center;
}

.item_ranking_widget .item .item_links .item_link:first-child {
    margin-left: 0;
}

.item_ranking_widget .item .item_links .item_link a {
    color: #ffffff;
    text-decoration: none;
}

.item_ranking_widget .item .item_links .item_link a:hover {
    background: none;
}

/*--------------------------------------
  アイテムランキング(記事内)
--------------------------------------*/
.item_ranking_content {
    padding: 30px;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .15),
        0 3px 3px -2px rgba(0, 0, 0, .15);
}

.entry-content .item_ranking_content,
.footer-contents .item_ranking_content {
    margin-right: -15px;
    margin-left: -15px;
}

@media only screen and (min-width: 481px) {

    .entry-content .item_ranking_content,
    .footer-contents .item_ranking_content {
        margin-right: -25px;
        margin-left: -25px;
    }
}

@media only screen and (min-width: 1030px) {

    .entry-content .item_ranking_content,
    .footer-contents .item_ranking_content {
        margin-right: -40px;
        margin-left: -40px;
    }
}

.item_ranking_content .strong.dfont,
.item_ranking_content .ads-title,
.item_ranking_content .related_title {
    margin: 0 !important;
    padding: 8px !important;
    background: #303229 !important;
    color: #ffffff !important;
    font-size: 107% !important;
    font-weight: bold !important;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .15),
        0 3px 3px -2px rgba(0, 0, 0, .15);
}

.entry-content .item_ranking_content .item_ranking_list {
    border: none;
}

.item_ranking_content .item_ranking_list .item {
    margin: 0 0 32px;
    padding: 16px 0 0;
    border-top: dotted 1px #e8eaf1;
}

.item_ranking_content .item_ranking_list .item:first-child {
    padding-top: 0;
    border-top: none;
}

.item_ranking_content .item .item_detail .item_info .item_image {
    float: left;
    margin: 0;
    width: 300px;
    height: 250px;
}

.item_ranking_content .item_ranking_list {
    margin-top: 0;
    margin-bottom: 0;
    padding: 10px 20px 20px;
    background: #ffffff;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .15),
        0 3px 3px -2px rgba(0, 0, 0, .15);
    list-style-type: none;
}

.item_ranking_content .item .item_detail .item_name {
    margin: 0;
    padding: 10px 0;
    color: #626262;
    font-weight: 900;
    vertical-align: baseline;
}

.item_ranking_content .item .item_detail.icon .item_name:before {
    display: inline-block;
    margin-top: -10px;
    padding-right: 10px;
    width: 30px;
    height: 24px;
    content: ' ';
    vertical-align: text-bottom;
}

.item_ranking_content .item .item_detail.number .item_name:before {
    display: inline-block;
    margin-top: -10px;
    margin-right: 10px;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    background: #fbb03b;
    color: #ffffff;
    text-align: center;
    line-height: 30px;
}

.item_ranking_content .item .item_detail.rank1.icon .item_name:before {
    background-image: url('library/images/crown_gold.png');
    background-repeat: no-repeat;
    background-size: 30px 24px;
    background-position: 50% 50%;
}

.item_ranking_content .item .item_detail.rank1.number .item_name:before {
    background: #fbb03b;
    content: '1';
}

.item_ranking_content .item .item_detail.rank2.icon .item_name:before {
    background-image: url('library/images/crown_silver.png');
    background-repeat: no-repeat;
    background-size: 30px 24px;
    background-position: 50% 50%;
}

.item_ranking_content .item .item_detail.rank2.number .item_name:before {
    background: #a9bec7;
    content: '2';
}

.item_ranking_content .item .item_detail.rank3.icon .item_name:before {
    background-image: url('library/images/crown_copper.png');
    background-repeat: no-repeat;
    background-size: 30px 24px;
    background-position: 50% 50%;
}

.item_ranking_content .item .item_detail.rank3.number .item_name:before {
    background: #a17041;
    content: '3';
}

.item_ranking_content .item .item_detail .item_image {
    margin: 0 0 16px;
}

.item_ranking_content .item .item_detail .item_image a,
.item_ranking_content .item .item_detail .item_image img {
    display: inline-block;
}

.item_ranking_content .item .item_info {
    margin: 0 0 1.5em;
    font-size: 13px;
}

.item_ranking_content .item .item_detail1 {
    margin-left: 320px;
    margin-bottom: 20px;
}

.item_ranking_content .item .item_detail1 p {
    position: relative;
    margin: 0;
    padding: 8px;
    background: #f5f5f5;
    color: #808080;
    font-weight: 900;
}

.item_ranking_content .item .item_detail1 p:before {
    position: absolute;
    top: 50%;
    left: -24px;
    margin-top: -12px;
    border: 12px solid transparent;
    border-right: 12px solid #f5f5f5;
    content: ' ';
}

.item_ranking_content .item .item_points {
    margin-left: 320px;
    width: auto;
    border-collapse: collapse;
    border: none;
}

@media screen and (min-width: 1030px) {
    .item_ranking_content .item .item_points {
        width: 217px;
        width: calc(100% - 320px);
    }
}

.item_ranking_content .item .item_points th,
.item_ranking_content .item .item_points td {
    padding: 8px;
    border: none;
}

.item_ranking_content .item .item_points tr {
    border: solid 1px #e8eaf1;
    border-style: solid;
}

.item_ranking_content .item .item_points th {
    background: #f5f5f5;
    font-weight: normal;
    text-align: center;
}

.item_ranking_content .item .item_detail2 {
    font-size: 13px;
}

.item_ranking_content .item .item_detail2 p {
    margin: 0 0 1.5em;
	padding-top: 1em;
}

.item_ranking_content .item .item_links {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: flex-start;
}

.item_ranking_content .item .item_links .item_link {
    margin-left: 10px;
    width: 50%;
    box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .15),
        0 3px 3px -2px rgba(0, 0, 0, .15);
    font-weight: 900;
    text-decoration: none;
    text-align: center;
}

.item_ranking_content .item .item_links .item_link a {
    display: inline-block;
    padding: 12px 16px;
    width: 100%;
}

.item_ranking_content .item .item_links .item_link:first-child {
    margin-left: 0;
}

/*btn_anime_action*/
.btn_anime_action {
    position: relative;
    z-index: 2;
    overflow: hidden;
    -webkit-transition: .25s linear;
    -moz-transition: .25s linear;
    transition: .25s linear;
}

.btn_anime_action:before {
    display: block;
    content: ' ';
    position: absolute;
    top: -50%;
    left: -30%;
    z-index: -1;
    width: 70px;
    height: 100px;
    -webkit-transform: rotate(30deg);
    -moz-transform: rotate(30deg);
    transform: rotate(30deg);
    background-image: -webkit-gradient(linear, left bottom, right bottom, color-stop(0%, rgba(255, 255, 255, 0)), color-stop(50%, rgba(255, 255, 255, 1)), color-stop(100%, rgba(255, 255, 255, 0)));
    background-image: -moz-linear-gradient(left, rgba(255, 255, 255, 0) 0%, #ffffff rgba(255, 255, 255, 1), rgba(255, 255, 255, 0) 100%);
    background-image: linear-gradient(left, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 50%, rgba(255, 255, 255, 0) 100%);
    -webkit-animation: action_anime 2s infinite linear;
    -moz-animation: action_anime 2s infinite linear;
    animation: action_anime 2s infinite linear;
}

@keyframes action_anime {
    0% {
        left: -30%;
    }

    20% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

@-webkit-keyframes action_anime {
    0% {
        left: -30%;
    }

    20% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

@-moz-keyframes action_anime {
    0% {
        left: -30%;
    }

    20% {
        left: 120%;
    }

    100% {
        left: 120%;
    }
}

@media only screen and (max-width: 480px) {
    .item_ranking_content .item .item_image {
        margin-bottom: 16px !important;
        float: none !important;
        width: 100% !important;
        height: auto !important;
    }

    .item_ranking_content .item .item_detail1 {
        margin-left: 0;
    }

    .item_ranking_content .item .item_detail1 p:before {
        top: -24px;
        left: 50%;
        margin-top: 0;
        margin-left: -12px;
        border: 12px solid transparent;
        border-bottom: 12px solid #f5f5f5;
    }

    .item_ranking_content .item .item_points {
        margin-left: 0;
        width: 100%;
    }

    .item_ranking_content .item .item_links {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-direction: column;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-flex-wrap: nowrap;
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-align-content: flex-start;
        -ms-flex-line-pack: start;
        align-content: flex-start;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
    }

    .item_ranking_content .item .item_links .item_link {
        margin-top: 10px;
        margin-left: 0;
        width: 80%;
    }

    .item_ranking_content .item .item_links .item_link:first-child {
        margin-top: 0;
    }
}

/*--------------------------------------
  Rinker
--------------------------------------*/
div.yyi-rinker-img-s img.yyi-rinker-main-img,
div.yyi-rinker-img-m img.yyi-rinker-main-img,
div.yyi-rinker-img-l img.yyi-rinker-main-img {
    object-fit: contain;
}

div.yyi-rinker-img-s img.yyi-rinker-main-img {
    width: 56px;
    max-height: 70px;
}

div.yyi-rinker-img-m img.yyi-rinker-main-img {
    width: 120px;
    max-height: 150px;
}

div.yyi-rinker-img-l img.yyi-rinker-main-img {
    width: 200px;
    max-height: 250px;
}


/*--------------------------------------
  poripuランキング変更
--------------------------------------*/

.item_ranking_content .item .item_detail .item_info .item_image {
    height: auto;
}

.item_ranking_content .item .item_info {
    margin: 0 0 2.5em;
}

.header a,
.entry-content a {
    text-decoration: none;
}

/*--------------------------------------
  header
--------------------------------------*/

header {
    background: #fff;
    padding: 0;
    top: 0;
    z-index: 999
}

header #header {
    position: relative;
    display: flex;
    height: 80px;
    justify-content: space-between;
    align-items: center
}

header .logo {
    display: inline-block;
    margin-left: 20px;
    max-width: 350px
}

header .hd-menu {
    display: flex;
    align-items: center
}

header .hd-nav {
    margin-right: 20px
}

header .hd-nav li {
    display: inline-block;
    padding: 10px 5px
}

header .hd-nav a {
    color: #000;
    font-weight: 600;
    font-size: 20px
}

header .hd-contact {
    margin: 10px 20px 0 0
}

header .hd-contact img {
    width: 60px;
    float: left;
    padding: 5px 10px 10px
}

header .hd-contact a {
    display: inline-block;
    vertical-align: middle;
    color: #1966A8;
    font-size: 30px;
    font-family: 'Arial Black';
    line-height: 1
}

header .hd-contact a:hover {
    opacity: .8
}

header .hd-contact span {
    font-size: 12px;
    font-weight: 700;
    display: block
}

header #sp-menu {
    display: block
}

#sp-head .logo {
    max-width: 100px
}

#sp-menu {
    width: 35px;
    height: 30px;
    position: relative;
    top: -3px;
    z-index: 999999;
    margin-right: 10px;
    display: block
}

#sp-menu span {
    position: absolute;
    width: 100%;
    height: 4px;
    border-radius: 10px;
    background: url(/new/wp-content/themes/20240325/css/images/btn_bg01.png);
    background-size: 100% 100%;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    left: 0
}

#sp-menu span.top-border {
    top: 0;
    background: #1966A8
}

#sp-menu span.middle-border {
    top: 12px;
    background: #1966A8
}

#sp-menu span.bottom-border {
    top: 24px;
    background: #1966A8
}

#sp-menu.clicked span.top-border {
    transform: rotate(-45deg);
    top: 10px
}

#sp-menu.clicked span.middle-border {
    width: 0
}

#sp-menu.clicked span.bottom-border {
    transform: rotate(45deg);
    top: 10px
}

nav#g-nav {
    float: none;
    display: block;
    position: fixed;
    width: 90%;
    max-width: 330px !important;
    height: 100%;
    background: #1966A8;
    padding: 0 0 100px;
    box-sizing: border-box;
    margin: 0;
    right: -100%;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    z-index: 9999;
    top: 0;
    padding-top: 40px
}

nav#g-nav.clicked {
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    right: 0;
    display: block;
    box-shadow: 1px 3px 3px rgba(0, 0, 0, .5)
}

nav#g-nav {
    display: block;
    overflow: scroll
}

nav#g-nav ul {
    display: block;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto
}

nav#g-nav ul li {
    display: block;
    vertical-align: middle;
    border-bottom: dashed 1px #eee;
    background: url(/new/wp-content/themes/20240325/css/../images/common/icon-arrow-right.png) no-repeat right 20px center;
    background-size: 10px
}

nav#g-nav ul li a {
    border-right: none;
    padding: 0 0;
    font-size: 14px;
    color: #fff;
    display: block;
    padding: 10px 20px
}

nav#g-nav ul li a:hover {
    color: #efefef
}

nav#g-nav ul li:last-child a {
    border-right: none
}

nav#g-nav ul.child {
    display: block;
    background: #007FBA;
    -webkit-transition: 0.3s ease-in-out;
    -moz-transition: 0.3s ease-in-out;
    -o-transition: 0.3s ease-in-out;
    transition: 0.3s ease-in-out;
    position: absolute;
    top: 0;
    left: 0;
    padding: 0 20px;
    height: 0;
    overflow: hidden;
    opacity: 0;
    letter-spacing: -.40em;
    box-sizing: border-box;
    background: #007FBA
}

nav#g-nav ul.child li {
    border-right: none;
    padding-left: 10px;
    list-style: disc;
    display: none;
    width: 100%;
    box-sizing: border-box;
    letter-spacing: normal;
    line-height: 20px;
    border-bottom: none;
    border-top: dashed 1px #ccc
}

nav#g-nav ul.child li a {
    border-right: none;
    padding: 0 0 0;
    color: #fff;
    font-size: 14px;
    padding: 10px 20px
}

nav#g-nav ul li:hover ul.child {
    display: block;
    position: static;
    top: 0;
    left: 0;
    padding: 0;
    height: auto;
    opacity: 1
}

nav#g-nav ul li:hover ul.child li {
    display: inline-block
}


/*--------------------------------------
  footer
--------------------------------------*/

/* 【タスク1 第13弾】汎用 footer {} ルール削除
   原因: あらゆる <footer> 要素(特に .wp-block-latest-comments__comment-meta)
         に濃い青 bg が適用され、最近のコメントウィジェットが読めなくなっていた。
   対処: catchall footer 背景を削除。onion-web 実フッターは .onion-scope #footer
         の個別指定で透過化済み。
   削除前の内容:
   footer { padding:60px 20px 0; background:#1966A8; color:#fff;
            font-size:14px; line-height:1.8; }  */

footer .cf {
    display: flex
}

footer .ft-left {
    width: calc(50% - 50px);
    padding-right: 50px
}

footer .ft-right {
    width: 50%
}

footer .ft-left dd ul {
    display: flex;
    flex-wrap: wrap
}

footer .ft-left dd ul span {
    font-size: 80%
}

footer .ft-left dd li {
    width: 50%
}

footer .ft-left dd li:nth-child(odd) {
    margin-right: 10px;
    width: calc(50% - 10px)
}

footer .ft-tel {
    display: block;
    margin: 15px 0 30px
}

footer a {
    color: #fff;
    font-weight: 600;
    display: block;
    padding: 3px 0
}

footer dd a:hover {
    text-decoration: underline
}

footer dt {
    border-bottom: 1px solid #fff;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 10px
}

footer .ft-right {
    display: flex
}

footer .ft-right dl {
    margin-bottom: 20px;
    width: 40%
}

footer .ft-logo {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center
}

footer .ft-logo h3 {
    font-size: 28px
}

footer .ft-logo p {
    font-size: 12px
}

footer .ft-logo .tel-box {
    margin-top: 30px;
    align-items: center;
    width: 80%
}

footer #copy {
    border-top: solid 1px #fff;
    padding: 20px 0;
    margin: 60px 0 0;
    text-align: right;
    font-size: 12px;
    color: #fff
}





footer.article-footer {
    background: unset;
}



/*--------------------------------------
  btn
--------------------------------------*/





.top-btn-cta a {
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 0 1.0em;
    font-weight: bold;
    color: #fff !important;
    line-height: 1.6;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-align: center;
    padding: 1.0em 2.5em !important;
    background-color: #1C242B !important;
    border-radius: 25em !important;
    width: 280px !important;
    max-width: 100%;
    height: auto !important;
    font-size: 16px !important;
    margin-right: auto !important;
    margin-left: auto !important;
    transition: background-color 0.4s ease-out;
}

.top-btn-cta a::before,
.top-btn-cta a::after {
    position: absolute;
    top: 0;
    bottom: 0;
    content: '';
    display: block;
    margin: auto;
    transition: 0.4s ease-out;
}

.top-btn-cta a::before {
    right: 1.25em;
    width: 1.25em;
    height: 1.25em;
    background-color: #fff;
    border-radius: 50%;
}

.top-btn-cta a::after {
    right: 1.625em;
    width: 0.5625em;
    height: 0.5625em;
    background-color: #1C242B;
    -webkit-mask-image: url("https://onion-web.com/wp-content/themes/onion-2024/img/icon_arrow.svg");
    -webkit-mask-position: 50% 50%;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-image: url("https://onion-web.com/wp-content/themes/onion-2024/img/icon_arrow.svg");
    mask-position: 50% 50%;
    mask-repeat: no-repeat;
    mask-size: contain;
}

.top-btn-cta a:hover {
    background-color: #0FA2FF !important;
}

.top-btn-cta a:hover::after {
    background-color: #0FA2FF;
}

body #inner-content .main-bc {
    background-color: #f58700;
}





.wpcf7-submit {
    background-color: var(--wp--preset--color--sango-accent) !important;
}




.popular-section__heading {
    font-weight: 700;
    text-align: center;
    margin-right: auto;
    margin-left: auto;
    display: block;
    font-size: 20px;
    margin: 0em 0 1em !important;

}

h1#top-ttl {
    color: #fff;
}



.home h2.popular-section__decorative-title {
    display: flex;
    align-items: center;
    text-align: center;
    gap: 0.8em;
}

.home h2.popular-section__decorative-title::before,
.home h2.popular-section__decorative-title::after {
    content: "";
    display: block;
    flex-grow: 1;
    border-bottom: 1px solid currentColor;
}



header .hd-contact img {
    width: 80px;
    float: left;
    padding: 5px 10px 10px;
}


@media screen and (max-width: 1145px) {
    header .hd-nav {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    header .hd-contact {
        float: right;
        margin: 0 20px 0 0;
        max-width: 38%;
        display: none;
    }
}

@media screen and (max-width: 768px) {
    header.headerheader {
        display: block;
        position: sticky;
        background: #fff;
        padding: 0 20px;
        top: 0;
        z-index: 999;
    }
}



@media screen and (max-width: 768px) {
    header.headerheader {
        display: block;
        position: sticky;
        top: 0px;
        z-index: 999;
        background: rgb(255, 255, 255);
        padding: 0px 20px;
    }
}

@media screen and (max-width: 768px) {
    header #header {
        height: 60px;
    }
}

@media screen and (max-width: 768px) {
    header .logo {
        display: block;
        vertical-align: middle;
        margin-left: 0px;
        width: auto;
        max-width: 200px;
    }
}





/* 

.home footer {
    padding: 60px 20px 0;
    background: #1966A8;
    color: #fff;
    font-size: 14px;
    line-height: 1.8
}

.home footer .cf {
    display: flex
}

.home footer .ft-left {
    width: calc(50% - 50px);
    padding-right: 50px
}

.home footer .ft-right {
    width: 50%
}

.home footer .ft-left dd ul {
    display: flex;
    flex-wrap: wrap
}

.home footer .ft-left dd ul span {
    font-size: 80%
}

.home footer .ft-left dd li {
    width: 50%
}

.home footer .ft-left dd li:nth-child(odd) {
    margin-right: 10px;
    width: calc(50% - 10px)
}

.home footer .ft-tel {
    display: block;
    margin: 15px 0 30px
}

.home footer a {
    color: #fff;
    font-weight: 600;
    display: block;
    padding: 3px 0
}

.home footer dd a:hover {
    text-decoration: underline
}

.home footer dt {
    border-bottom: 1px solid #fff;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    padding-bottom: 10px
}

.home footer .ft-right {
    display: flex
}

.home footer .ft-right dl {
    margin-bottom: 20px;
    width: 40%
}

.home footer .ft-logo {
    width: 60%;
    display: flex;
    flex-direction: column;
    align-items: center
}

.home footer .ft-logo h3 {
    font-size: 28px
}

.home footer .ft-logo p {
    font-size: 12px
}

.home footer .ft-logo .tel-box {
    margin-top: 30px;
    align-items: center;
    width: 80%
}

.home footer #copy {
    border-top: solid 1px #fff;
    padding: 20px 0;
    margin: 60px 0 0;
    text-align: right;
    font-size: 12px;
    color: #fff
} */

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

@media screen and (max-width: 1024px) {
    footer .ft-right dl {
        display: none !important;
    }
}

@media screen and (max-width: 1024px) {
    footer .ft-logo {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    footer .ft-logo {
        width: 100%;
        margin-top: 50px;
    }
}

@media screen and (max-width: 768px) {
    footer .ft-right {
        width: 100%;
    }

    footer .ft-right {
        display: flex;
    }
}

@media screen and (max-width: 768px) {
    footer .ft-left {
        float: none;
        width: 80%;
        padding: 0;
        margin: auto;
    }
}

@media screen and (max-width: 768px) {
    footer .cf {
        flex-direction: column;
    }
}

/*

@media screen and (max-width: 768px) {
    footer .ft-logo {
        width: 100%;
        margin-top: 50px;
    }
}


@media screen and (max-width: 768px) {
    footer .ft-left {
        float: none;
        width: 80%;
        padding: 0;
        margin: 0 auto!important;
    }
	footer .cf {
    display: flex;
    flex-direction: column!important;
}
} */

footer .ft-logo .ft-logo-h3 {
    font-size: 28px;
    font-weight: bold;
    margin-top: 0px;
    margin-bottom: 0px;
}

@media screen and (max-width: 768px) {
    footer .ft-logo .ft-logo-h3 {
        font-size: 22px;
        font-weight: bold;
    }
}

footer .ft-logo p {
    font-size: 12px;
    margin-top: 0px;
    margin-bottom: 0px;
}














/*--------------------------------------
  文中table
--------------------------------------*/

/* 

.p-sticky-table {
  width: 100%;
  overflow-x: auto; 
}


.p-sticky-table table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed; 
  min-width: 860px; 
}


.p-sticky-table .js-scrollable {
  height: 700px;
}


.p-sticky-table th,
.p-sticky-table td {
  text-align: center;
  border: 1px solid #ccc;
  padding: 8px;
  vertical-align: middle;
  word-break: break-word;
}


.p-sticky-table thead th {
  height: 26px;
  font-weight: bold;
  background: #f8f8f8;
}

.p-sticky-table img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
} */

/* 
.p-sticky-table th,
.p-sticky-table td {
  width: calc(100% / 7);
}


 */




.p-sticky-table {
    white-space: nowrap;
    line-height: 1.4;
}

.p-sticky-table table {
    border: none;
    border: 1px solid #dedede;
    border-bottom: none;
    border-collapse: collapse;
    word-break: break-all;
    table-layout: fixed;
    display: block;
    overflow: scroll;
    max-height: 80vh;
	color-scheme: light;
}


.p-sticky-table table img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    border-radius: 4px;
}

.p-sticky-table table {
    font-size: 14px;
}

.p-sticky-table table th {
    line-height: 1.2;
    padding-top: 8px;
    padding-bottom: 6px;
}

.p-sticky-table table .rate-star {
    width: 80px;
}



.p-sticky-table table .grad3 {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 8px;
    background: linear-gradient(45deg, #ffc107 0%, #ff8b5f 100%);
    color: #fff;
}

.entry-content .p-sticky-table table p {
    margin: 0;
}

.p-sticky-table table #inner-content .btn {
    margin: 0;
    display: block;
    max-width: 600px;
    width: 100%;
    text-align: center;
    margin-right: auto !important;
    margin-left: auto !important;
    margin-top: auto !important;
    margin-bottom: auto !important;
    font-weight: bold;
    vertical-align: middle;
}

@media screen and (max-width: 768px) {
    .p-sticky-table table {
        max-height: 70vh;
    }
}

html {
    scroll-padding-top: 64px;
}


.postid-1171 .p-sticky-table table td:nth-child(4) {
    text-align: left !important;
}

table.ranking-table {
    font-size: 13px;
}

.p-sticky-table thead tr {
    z-index: 30;
}







.p-sticky-table thead th {
    position: sticky;
    top: 0;
    z-index: 3;
}

.p-sticky-table thead th::after {
    content: "";
    display: block;
    height: 1px;
    background-color: #e0e0e0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.p-sticky-table th:first-child,
.p-sticky-table td:first-child {
    position: sticky;
    left: 0;
}










.entry-content .p-sticky-table th {
    border-bottom: var(--sgb-table-border-width, 0px) solid #e0e0e0;
    border-right: var(--sgb-table-border-width, 0px) solid #e0e0e0;
}


.entry-content .p-sticky-table tr:not(:last-child) {
    border-bottom: var(--sgb-table-border-width, 1px) solid #e0e0e0;
}

.entry-content td,
.entry-content .wp-block-table td {
    border-right: var(--sgb-table-border-width, 1px) solid #e0e0e0;
}

.entry-content tr:not(:last-child) {
    border-bottom: var(--sgb-table-border-width, 1px) solid #e0e0e0;
}

.p-sticky-table table th::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    border-right: 1px solid #dedede;
    z-index: -1;
}

.p-sticky-table thead th:first-child {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    z-index: 30;
}


.p-sticky-table .maru {
    text-align: center;
    display: block;
    color: #28a745;
    /* 緑 */
    font-size: 1.3em;
}

.p-sticky-table .batsu {
    text-align: center;
    display: block;
    color: #dc3545;
    /* 赤 */
    font-size: 1.3em;
}

.p-sticky-table .sankaku {
    text-align: center;
    display: block;
    color: #2196f3;
    /* Material Designの青 */

    font-size: 1.3em;
}

.p-sticky-table .note {
    text-align: center;
    display: block;
    color: #2196f3;
    /* Material Designの青 */

    font-size: 14px;
    font-weight: bold;
}

.p-sticky-table td {
    text-align: center;
}




/* 【タスク1 第13弾】#sidebar1 div#block-3, #block-6 濃い青ブロック削除
   原因: 特定 block ID (最近の投稿 / カテゴリー) にのみ濃い青 bg +
         白文字 + 0 margin-bottom が当たっていた。
   対処: SANGOカスタマイザー既定の水色バナー + 白ボディに戻す。
         削除により margin-bottom も他ウィジェットと同じ 41.944px へ。
   削除前の内容:
   #sidebar1 div#block-3, #sidebar1 div#block-6 { bg:#1966a8; color:#fff;
     margin-bottom:0; border-radius:4px; }
   ...その p tag / latest-posts__list border-radius / block-6 margin-bottom:24px */

span.toc_brackets {
    display: none;
}


/* toc */

span.toc_brackets {
    display: none;
}

#toc_container {
    background: #f9f9f9;
    border: 0px solid #aaa;
}


#toc_container .toc_title,
.entry-content .ez-toc-title-container {
    display: inline-block !important;
    position: relative !important;
    margin: 0 !important;
    padding: 5px 0 5px 58px !important;
    font-size: 23px !important;
    font-weight: bold !important;
}

#toc_container {
    padding: 24px;
}

.entrycontent p {
    max-width: 100%
}


@media screen and (max-width: 425px) {
    footer .ft-left {
        width: 100%;
    }
}

@media screen and (max-width: 425px) {
    footer .ft-right {
        width: 100%;
    }
}






/* top_fv_dmm */

.article-professional-wrapper {
    position: relative;
    padding: 24px;
    padding-bottom: 8px;
    background-color: #f5faff;
    border-radius: 8px;
    margin-bottom: 24px;
}

.article-professional-bgcontainer {
    padding-bottom: 12px;
}

.article-professional-container,
.article-professional-info {
    z-index: 10;
    position: relative;
}

.article-professional-container {
    gap: 24px;
}

.article-professional-container {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}

.article-professional-title-main {
    font-size: 24px;
    font-weight: bold;
    display: inline-block;
    color: #1966a8;
}

.article-professional-title-sub {
    font-size: 18px;
    font-weight: bold;
}

img.article-pc {
    max-width: 300px;
    width: 100%;
    height: auto;
}

.article-professional-info p {
    margin-bottom: 16px;
    line-height: 2;
}



/* 768px以下のスマホ対応 */
@media screen and (max-width: 768px) {
    img.article-pc {
        max-width: 100%;
    }

    .article-professional-container {
        flex-direction: column-reverse;
    }

    .article-professional-title-main {
        font-size: 20px;
    }

    .article-professional-title-sub {
        font-size: 16px;
    }

    .fv_center_micro {
        font-size: 12px;
    }
}


.highlight {
    background: linear-gradient(to bottom, transparent 60%, #cde3f8 60%);
}
/* ============================================================
 * onion-web ヘッダー・フッター スコープ付き補正CSS
 * ルートテーマ cfj-corp の common.css / layout.css を
 * wp_enqueue で読み込んだ上で、SANGOとの干渉を抑えるための補正。
 * すべてのセレクタは .onion-scope 配下に限定される。
 * style.css の末尾にそのまま追記してください。
 * ============================================================ */

/* ---- リセット（.onion-scope 内のみ） -----------------------
   ルートは destyle.css に依存しているので、スコープ内で
   最低限の相殺を行う */
.onion-scope,
.onion-scope * {
  box-sizing: border-box;
}
.onion-scope h1,
.onion-scope h2,
.onion-scope h3,
.onion-scope h4,
.onion-scope h5,
.onion-scope h6,
.onion-scope p,
.onion-scope ul,
.onion-scope ol,
.onion-scope dl,
.onion-scope dt,
.onion-scope dd,
.onion-scope figure,
.onion-scope address,
.onion-scope nav {
  margin: 0;
  padding: 0;
  font-weight: inherit;
  font-size: inherit;
  font-style: normal;
}
.onion-scope ul,
.onion-scope ol {
  list-style: none;
}
.onion-scope a {
  text-decoration: none;
  color: inherit;
}
.onion-scope img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: bottom;
}

/* ---- SANGO 側のデフォルトを打ち消し ----------------------- */
/* SANGO は a にデフォルトカラーやリンクアンダーラインを当てる */
.onion-scope a:hover {
  opacity: 1;
  color: inherit;
}
/* SANGO の記事用 h1/h2/h3 装飾が入り込まないように */
.onion-scope h1,
.onion-scope h2,
.onion-scope h3,
.onion-scope h4 {
  background: none;
  border: none;
  line-height: 1.4;
  color: inherit;
}
.onion-scope h1::before,
.onion-scope h1::after,
.onion-scope h2::before,
.onion-scope h2::after,
.onion-scope h3::before,
.onion-scope h3::after,
.onion-scope h4::before,
.onion-scope h4::after {
  content: none;
}

/* SANGO の ul/li 装飾（マーカー等）の打ち消し */
.onion-scope ul li,
.onion-scope ol li {
  background: none;
  padding-left: 0;
  list-style: none;
}
.onion-scope ul li::before,
.onion-scope ol li::before {
  content: none;
}

/* SANGO の dl/dt/dd 装飾の打ち消し */
.onion-scope dl,
.onion-scope dt,
.onion-scope dd {
  background: none;
  border: none;
  padding: 0;
}

/* form 要素の打ち消し */
.onion-scope input[type="checkbox"] {
  vertical-align: baseline;
}

/* ---- ヘッダー／フッターの配置補正 ------------------------- */
/* SANGOのコンテナ（#container）は max-width が設定されているが、
   ヘッダー・フッターはフル幅で表示したいため。
   注意:
   - position:relative だと #header の sticky が .onion-scope 100px の
     containing block に閉じ込められる
   - position:static でも、.onion-scope がブロック要素である限り
     #header の containing block は .onion-scope のまま
   → display:contents でスコープの layout box 自体を消去し、#header の
     containing block を #container (ページ全高) に引き上げる。
     onion-scope の CSS スコープ (.onion-scope *) は DOM ノードが残るため
     引き続き有効。 */
#container > .onion-scope {
  display: contents;
}
/* フル幅化は #header / #footer 自身に直接適用。
   body は通常 0 から (viewport - scrollbar) の左寄せ配置なので、
   margin を 0 にして 0〜100vw (viewport right edge) まで覆う。
   calc(50% - 50vw) 方式は body が中央配置のときしか正しく動かず
   SP で右側に 7.5px の隙間が出ていたため廃止。 */
.onion-scope > #header,
.onion-scope > #footer {
  width: 100vw;
  margin-left: 0;
  margin-right: 0;
}

/* SANGO の記事本文スタイルが #header / #footer に干渉しないよう */
.onion-scope #header,
.onion-scope #footer {
  color: inherit;
  font-family: "Urbanist", "Roboto", "Noto Sans JP", sans-serif;
}

/* iframe 等、SANGO が margin を設定する要素の打ち消し */
.onion-scope picture,
.onion-scope picture img {
  display: block;
  margin: 0;
}

/* サブメニューの表示制御（チェックボックス＋CSSで開閉） */
/* ルートの layout.css に依存するので、最低限の fallback のみ */
.onion-scope #head_menu {
  display: none;
}

/* ---- SANGOの mb/mt マージン打ち消し ----------------------- */
.onion-scope .inner,
.onion-scope .head_inner,
.onion-scope .head_logo,
.onion-scope .head_content,
.onion-scope .head_navi,
.onion-scope .foot_contact,
.onion-scope .foot_infomation,
.onion-scope .foot_sitemap,
.onion-scope .foot_bottom {
  margin-top: 0;
  margin-bottom: 0;
}


/* （第2弾の円→四角・dt白・label白ブロックは第3弾に統合済みのため削除） */


/* ============================================================
 * 【第3弾】本番 onion-web.com との完全一致化（Playwright実測比較）
 * 真の干渉源: 既存子テーマ style.css:2237/2281/2292/2551/2562
 *   → 旧 "青 footer / 白テキスト" デザインの遺物。onion-scope 内でのみ中和。
 * （第2弾で当てていた円→四角化・dt白・label白の !important は specificity
 *   の衝突を避けるためブロックごと削除済み。第3弾に一本化。）
 * 本番はいずれも白背景 + 濃墨テキスト + 赤アクセント。
 * ============================================================ */

/* ---- 遺物1: footer 青背景 + 白テキスト を中和 ----
   犯人: style.css:2237 footer { background:#1966A8; color:#fff; padding:60px 20px 0; } */
.onion-scope #footer {
  background: transparent !important;
  padding: 0 !important;
  color: #1C242B !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
}

/* ---- 遺物2: footer a の白強制・block化・padding を中和 ----
   犯人: style.css:2281 と 2551
   注意: CTA ボタン .button__link は onion-web CSS で display:flex が必要なため除外 */
.onion-scope #footer a:not(.button__link) {
  color: inherit !important;
  font-weight: inherit !important;
  display: inline !important;
  padding: 0 !important;
}
/* CTA ボタン .button__link は onion-web 本家の flex レイアウトを復元
   (親の display:flex, justifyContent, alignItems は本家 .button .button__link で指定済み) */
.onion-scope #footer .foot_contact__btn .button__link,
.onion-scope #header .head_button .button__link {
  display: flex !important;
  padding: 1em 2.5em;
}
/* サイトマップ dd a は inline-block + padding:7px 0（本番仕様） */
.onion-scope #footer .foot_sitemap__list dd a {
  display: inline-block !important;
  padding: 7px 0 !important;
  font-weight: 400 !important;
}
/* bottom menu a は inline（横並び） */
.onion-scope #footer .foot_bottom__menu a {
  display: inline !important;
  padding: 0 !important;
  font-weight: 400 !important;
}

/* ---- 遺物3: footer dt の白ボーダー・重フォントを中和 ----
   犯人: style.css:2292 と 2562 footer dt { border-bottom:1px solid #fff; ... } */
.onion-scope #footer .foot_sitemap__list dt,
.onion-scope #footer .foot_sitemap dt {
  border: 0 !important;
  padding-bottom: 0 !important;
  margin-bottom: 20px !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  color: #ABADAC !important;
  letter-spacing: 0.06em;
  line-height: 1;
}
/* 頭文字だけ赤（本番 ::first-letter 仕様） */
.onion-scope #footer .foot_sitemap__list dt::first-letter,
.onion-scope #footer .foot_sitemap dt::first-letter {
  color: #BD182D !important;
}

/* ---- 第2弾の過剰補正を解除（円→四角を本番どおり円に戻す） ---- */
@media screen and (min-width: 980px) {
  .onion-scope #footer .foot_contact .foot_contact__rows .foot_contact__btn .button__link {
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    gap: 1em !important;
    padding: 1.5em !important;
    border-radius: 50% !important;
    aspect-ratio: 1 / 1 !important;
    animation: floating-y 1.8s ease-in-out infinite alternate-reverse !important;
  }
  .onion-scope #footer .foot_contact .foot_contact__rows .foot_contact__btn .button__link::before {
    width: 2em !important;
    height: 1.66em !important;
  }
}

/* ---- 第2弾の .label 白強制 を解除（本番赤に戻す） ---- */
.onion-scope #footer .foot_infomation .callphone .label,
.onion-scope .callphone p .label {
  color: #BD182D !important;
}

/* ---- 本番準拠の明示的色指定（footer color:inherit 化に伴う色流れ対策） ---- */
.onion-scope #footer .foot_contact__txt .thought { color: #1C242B; }
.onion-scope #footer .foot_contact__txt .thought em { color: #BD182D; }
.onion-scope #footer .foot_contact__txt .message { color: #1C242B; }
.onion-scope #footer .foot_infomation address { color: #1C242B; }
.onion-scope #footer .callphone .tel { color: #1C242B; }
.onion-scope #footer .foot_sitemap__list dd a { color: #1C242B; }
.onion-scope #footer .foot_bottom__copy { color: #ABADAC; }
.onion-scope #footer .foot_bottom__menu a { color: #1C242B; }


/* ============================================================
 * 【第4弾】ヘッダー フルワイド化 & sticky 動作修復
 * 症状:
 *   (1) .head_inner が SANGO の .inner.width-large で max-width:1200px に
 *       制限され、本番のフルワイド（max-width:none）と差分発生
 *   (2) #header の position:sticky が .onion-scope の position:relative
 *       (containing block 100px) のため効かない
 * 対処:
 *   (1) .head_inner の max-width を打ち消し、左右40pxパディングのみに
 *   (2) .onion-scope の position:relative 削除は本ファイル上部で完了済み
 *       (calc() 負マージンだけでフル幅化)
 * ============================================================ */

/* ---- (1) .head_inner フルワイド化 ----
   犯人: SANGO .inner.width-large の max-width:1200px
   備考: 本番は padding-left = min(5%, 40px) で responsive、
   padding-right は SP で 0、PC (≥980px) で 40px
   SPで padding-right が 0 の理由: ハンバーガー MENU ボタンを右端に
   くっつける onion-web のデザイン */
.onion-scope #header .head_inner {
  max-width: none !important;
  width: 100% !important;
  padding-left: min(5%, 40px) !important;
  padding-right: min(5%, 40px) !important;
}
@media (max-width: 979px) {
  .onion-scope #header .head_inner {
    padding-right: 0 !important;
  }
}


/* ============================================================
 * 【第5弾】.foot_contact__img 画像オーバーフロー修正
 * 症状: 画像 <img> が natural サイズ (1920×810相当) で表示され、
 *       親 .foot_contact__img (597px) を 213px 下にはみ出し、
 *       .foot_infomation の白背景に festival 画像が重なる
 * 原因1: 第1弾リセット `.onion-scope img { height: auto; }` が
 *        本番 CSS の `height: 100%` を上書き
 * 原因2: 第1弾 `.onion-scope picture { display: block }` + default の
 *        `height: auto` で picture が img の natural 高さに膨張し、
 *        子 img の `height: 100%` が膨張した picture を参照
 * 対処: picture 自身に height: 100% を設定して containing block を
 *       .foot_contact__img (597px) まで伝搬
 * ============================================================ */
.onion-scope #footer .foot_contact .foot_contact__img picture {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}
.onion-scope #footer .foot_contact .foot_contact__img img {
  width: 100% !important;
  height: 100% !important;
}


/* ============================================================
 * 【第6弾】webfont セルフホスト & mail アイコンローカル化
 * 経緯:
 *   - 本番 common.css の @font-face は src: url(../fonts/...) で
 *     onion-web.com を参照するが、ブラウザは cross-origin webfont に
 *     CORS ヘッダー (Access-Control-Allow-Origin) を要求する
 *   - onion-web.com は font ファイル / svg に ACAO を送っていないため
 *     localhost:8080 からは CORS エラーで拒否される
 *   - 絶対URL指定でも同じ。URL 形式でなく origin の違いが拒否理由。
 *     (実測確認済み)
 * 対処: 必要な webfont (Poppins / ZenKakuGothicNew / YakuHanJP ×
 *   400/500/700) と mail/arrow アイコンを child theme にダウンロード
 *   し、local path で @font-face / mask-image を再定義。
 *   後勝ちで本番 CSS の CORS 失敗する @font-face を上書きする。
 * 本番影響: 本番は同一オリジンで common.css の @font-face が成立する
 *   ため、本ブロックは単に重複するだけで実害なし。
 * ============================================================ */

/* Poppins */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Poppins-Regular.woff2") format("woff2");
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/Poppins-Medium.woff2") format("woff2");
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/Poppins-Bold.woff2") format("woff2");
}

/* ZenKakuGothicNew */
@font-face {
  font-family: 'ZenKakuGothicNew';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/ZenKakuGothicNew-Regular.woff2") format("woff2");
}
@font-face {
  font-family: 'ZenKakuGothicNew';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ZenKakuGothicNew-Medium.woff2") format("woff2");
}
@font-face {
  font-family: 'ZenKakuGothicNew';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/ZenKakuGothicNew-Bold.woff2") format("woff2");
}

/* YakuHanJP */
@font-face {
  font-family: 'YakuHanJP';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/YakuHanJP-Regular.woff2") format("woff2");
}
@font-face {
  font-family: 'YakuHanJP';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/YakuHanJP-Medium.woff2") format("woff2");
}
@font-face {
  font-family: 'YakuHanJP';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/YakuHanJP-Bold.woff2") format("woff2");
}

/* メールアイコン (contact_button CTA) ローカル化
   本番は .button.contact_button .button__link::before の mask-image で
   onion-web.com/.../icon_mail.svg を参照しているが CORS で失敗するため、
   child theme 内の img/icon_mail.svg に差し替え */
.onion-scope .button.contact_button .button__link::before {
  mask-image: url("img/icon_mail.svg") !important;
  -webkit-mask-image: url("img/icon_mail.svg") !important;
}
/* 通常ボタンの矢印アイコンも同様に */
.onion-scope .button .button__link::after {
  mask-image: url("img/icon_arrow.svg") !important;
  -webkit-mask-image: url("img/icon_arrow.svg") !important;
}


/* ============================================================
 * 【第7弾】.onion-scope 配下の font-family 継承を本番と揃える
 * 症状: onion-web CSS で font-family 明示指定のない要素(13/18)が
 *       SANGO の body { font-family: Urbanist, Roboto, "Noto Sans JP" }
 *       を継承してしまい、本番と乖離
 * 対処:
 *   (1) .onion-scope ルートに onion-web 本家のデフォルト font-family を
 *       設定し、配下は inherit で拾う
 *   (2) headLogoH1 の em 連動ズレ(10px→10.7px) を px 固定で厳密一致
 * ============================================================ */
.onion-scope {
  font-family: "YakuHanJP", "ZenKakuGothicNew", "YuGothic", "Yu Gothic",
               "Hiragino Sans", "Hiragino Kaku Gothic Pro", "Meiryo", sans-serif;
}
/* #header / #footer ルートは inherit (親=.onion-scope) で受け継ぐ。
   個別の onion-web CSS 指定がある要素 (.head_navi .en, .callphone .label,
   .foot_sitemap dt など) は継承されず本家指定が優先される */
.onion-scope #header,
.onion-scope #footer {
  font-family: inherit;
}

/* headLogoH1: ローカル body { font-size:17.12px } (SANGO) による em連動で
   10.7px に膨張。本番は 10px 固定なので同等に揃える */
.onion-scope #header .head_logo h1 {
  font-size: 10px !important;
  line-height: 16px !important;
  letter-spacing: 0.6px !important;
}


/* ============================================================
 * 【第8弾】本番 margin 値の復元
 * 症状: 第1弾リセット `.onion-scope p/h1-6/ul/ol/dl/dt/dd/address/nav
 *   { margin: 0; }` が、本番 CSS で明示されている margin を打ち消し、
 *   行間/要素間隔が本番より詰まって見える
 * 対処: 差分のあった 4要素に本番値の margin を明示適用
 * 確定源: Playwright 実測値 (1440px 本番)
 * ============================================================ */
.onion-scope #footer .foot_contact__txt .thought {
  margin: 0 0 32px;
}
.onion-scope #footer .foot_contact__txt .message {
  margin: 0 0 24px;
}
.onion-scope #footer .foot_infomation address .address {
  margin: 0 0 24px;
}
/* ヘッダーナビのli間隔 (本番: 34.8936px ≒ 2.5em @ 13.9574px)
   PC (>=980px) のみ適用。SP はハンバーガー展開時の縦並びなので
   右マージンを入れるとリスト右側に無駄な余白が出る */
@media (min-width: 980px) {
  .onion-scope #header .head_navi > ul > li {
    margin: 0 34.8936px 0 0;
  }
  .onion-scope #header .head_navi > ul > li:last-child {
    margin-right: 0;
  }
}


/* ============================================================
 * 【第9弾】ヘッダーサブメニュー矢印アイコンのローカル化
 * 症状: SERVICE/WORKS 等をホバーで展開するサブメニュー項目右端の
 *       赤矢印アイコンが表示されない
 * 原因: 本番 layout.css の
 *         #header .head_navi .sub-menu li a::after
 *         { mask-image: url(../img/icon_arrow.svg); }
 *       が CORS で mask 画像を取得できない
 * 対処: child theme 内の img/icon_arrow.svg に差し替え（第6弾で既に
 *       ダウンロード済）
 * ============================================================ */
.onion-scope #header .head_navi .sub-menu li a::after {
  mask-image: url("img/icon_arrow.svg") !important;
  -webkit-mask-image: url("img/icon_arrow.svg") !important;
}


/* ==========================================================================
   第13弾: WP最新コメントウィジェット内リンクの色修正

   背景: 当初の子テーマCSS削除で block-3/6 の濃い青背景が水色バナーに
   正常化されたが、別の footer a { color: #fff } catchall(line 2281)が
   残存していて .wp-block-latest-comments 内の <footer> 要素のリンクを
   白化していた。透明背景になった結果、白文字リンクが不可視に。
   本ブロックで局所的に継承色に戻す。
   ========================================================================== */
.wp-block-latest-comments__comment-meta a {
  color: inherit !important;
  font-weight: inherit !important;
  display: inline !important;
  padding: 0 !important;
}


/* ==========================================================================
   第14弾: head_logo キャッチコピー h1/div 両対応

   タスク2: SEO適正化のため、トップページ以外は <h1> → <div> に格下げ
   (is_front_page() で header.php 側が条件分岐出力)。
   本番 onion-web CSS は .head_logo h1 に font-size/line-height 等を
   設定しているが、div には継承されないため、共通クラス .head_logo__catch
   で両方に同じスタイルを当てる。
   ========================================================================== */
.onion-scope #header .head_logo .head_logo__catch {
  font-size: 10px !important;
  line-height: 16px !important;
  letter-spacing: 0.6px !important;
  font-weight: 500;
  margin: 0;
  color: inherit;
  font-family: inherit;
}


/* ==========================================================================
   第15弾: ブロックウィジェットの見出しを Paragraph に置換した時の装飾維持

   タスク3 (SEO適正化): WordPress 管理画面 > 外観 > ウィジェットで
   サイドバーの Heading block を Paragraph block に置き換える運用 (手動)。
   Paragraph が <p> を出力するため、H2 と同じ水色バナー装飾が当たるように
   事前定義。

   セレクタ `.sidebar .wp-block-group > p:first-child` は SANGO の
   `.sidebar .wp-block-group h2` と同じスコープで、サイドバー限定。
   記事本文内の <p> (.entry-content p, article p 等) には影響しない。

   既存H2用ルール (SANGO parent theme .sidebar .wp-block-group h2) は残置。
   H2 のままでもスタイル維持、Paragraph 置換後も同じ見た目。

   font-family は親要素から自動継承されるため指定不要 (Playwright実測確認)。
   ========================================================================== */
.sidebar .wp-block-group > p:first-child,
.drawer .wp-block-group > p:first-child {
  /* SANGO .sidebar .wp-block-group h2 ルール相当 */
  margin: 0 !important;
  padding: var(--wp--custom--widget--padding-vertical, 6px)
           var(--wp--custom--widget--padding-horizontal, 18px);
  font-size: 1.2em;
  font-weight: bold;
  line-height: 1.56;
  /* SANGO カスタマイザー inline 相当 (カスタマイザー変更で自動追従) */
  color: var(--sgb-widget-title-color, rgb(0, 158, 243));
  background-color: var(--sgb-widget-title-bg-color, rgb(180, 224, 250));
}

/* サイドバー見出し */
.sidebar .wp-block-group div.wp-block-heading, .drawer .wp-block-group div.wp-block-heading {
    color: #fff;
    background-color: #1c242b;
    padding: 6px 18px;
    margin: 0;
    font-size: 1.2em;
    font-weight: 700;
    line-height: 1.5;
    display: block;
}

/* TOC設定 */

#toc_container .toc_list li a, .ez-toc-list li a {
    line-height: 1.4;
}

#toc_container .toc_list li ul li, .ez-toc-list li ul li {
    margin-bottom: 4px;
}

/* 横幅対応 */
html {
  scrollbar-gutter: stable;
  overflow-x: clip;
}

#header .head_inner .head_logo {
  min-width: 0;
}

/* ランキング：コンテナ幅ベースのレスポンシブ対応（タブレット等の中間幅対応） */
.item_ranking_content {
  container-type: inline-size;
}

@container (max-width: 600px) {
  .item_ranking_content .item .item_image {
    margin-bottom: 16px !important;
    float: none !important;
    width: 100% !important;
    height: auto !important;
  }
  .item_ranking_content .item .item_detail1 {
    margin-left: 0;
  }
  .item_ranking_content .item .item_detail1 p:before {
    top: -24px;
    left: 50%;
    margin-top: 0;
    margin-left: -12px;
    border: 12px solid transparent;
    border-bottom: 12px solid #f5f5f5;
  }
  .item_ranking_content .item .item_points {
    margin-left: 0 !important;
    width: 100% !important;
  }
}