/**
Theme Name: osb - pink
Author: TK
Author URI: https://assethp.com
Version: 1.1.0
Text Domain: osb-blue
Template: astra
*/

.site-content h1{

margin:1rem 0 2rem;
line-height:1.3;
letter-spacing:-0.01em;
border-bottom: 4px solid #cccccc;
padding-bottom: .5rem;
position: relative;
}

.site-content h1::after{
  position: absolute;
  bottom: -4px;
  left: 0;
  z-index: 2;
  content: '';
  width: 20%;
  height: 4px;
  background-color: #B8A698;
}

.elementor-widget-theme-post-content h2, .elementor-widget-heading h2.elementor-heading-title, .entry-content h2{
    padding: .8rem .5rem;
    background: #ccc;
    margin: 0 0 2rem;
    border-radius: 3px;
    background: #B8A698;
    color: #ffffff;
    position: relative;
    font-weight: bold;
}
.elementor-widget-theme-post-content h2::after, .entry-content h2::after{
    content: '';
    position: absolute;
    border-top: 13px solid #B8A698;
    border-right: 9px solid transparent;
    border-left: 9px solid transparent;
    bottom: -11px;
    left: 5%;
}
.elementor-widget-theme-post-content h3, .elementor-widget-heading h3.elementor-heading-title, .entry-content h3{
    border-top: 3px solid #B8A698;
    border-bottom: 3px solid #B8A698;
    padding: .5rem 0 .5rem .2rem;
    font-weight: bold;
    margin: 2rem 0 2rem;
}
.elementor-widget-theme-post-content h4, .elementor-widget-heading h4.elementor-heading-title, .entry-content h4{
border-left:7px solid #B8A698;
padding:0 0 0 5px;
margin:1.5em 0 1.5em 0;
font-weight:bold;
}


/* bullet */
.elementor-widget-theme-post-content ul, .elementor-widget-theme-post-content ol{
    list-style: none;
    overflow: hidden;
}


.elementor-widget-theme-post-content ul li,.elementor-widget-theme-post-content ol li{
    list-style-type:none;
    position: relative;
    margin:0 0 1rem 1rem;
    font-weight:600;
}

.elementor-widget-theme-post-content ul:not(.yyi-rinker-links) li::after {
    border-left: 12px solid transparent;
    border-top: 12px solid #B8A698;
    content: "";
    display: block;
    height: 0;
    margin: -3px 0 0;
    position: absolute;
    left: -1.4rem;
    top: .7rem;
    transform: rotate(45deg);
    width: 0;
}

.elementor-widget-theme-post-content ol{
    counter-reset: list_count;
}


.elementor-widget-theme-post-content ol li::before {
    counter-increment: list_count;
    content: counter(list_count)".";
    display: block;

    color: #5ba9f7;
    font-weight: 700;
    font-size: 1rem;
      position: absolute;
      left: -1.4rem;
    top: 0rem;
}

.elementor-widget-theme-post-content dl dt{
    list-style-type:none;
    position: relative;
    font-weight: bold;
    margin-left:1rem;
    margin-bottom: 1rem;
}
.elementor-widget-theme-post-content dl dt::after{
    border-left: 8px solid transparent;
    border-top: 8px solid #284094;
    content: "";
    display: block;
    height: 0;
    margin: -3px 0 0;
    position: absolute;
    left: -1.5rem;
    top: 1.2rem;
    transform: rotate(45deg);
    width: 0;
}

.elementor-widget-theme-post-content dl dd{
    margin-bottom:1rem;
}

/*コンテンツbulletの枠と背景色*/
.site-main .elementor-widget-container ul:not(.yyi-rinker-links), .site-main .elementor-widget-container ol,  .site-main .elementor-widget-container dl{
border:1px solid #DAE1E8;
padding:2rem 1.5rem 0.5rem;
background: #f4f4f4;
margin:0 auto 1.5rem;
}

/*rinker*/
div.yyi-rinker-contents{
    border:2px solid #ccc;
    box-shadow: none;
}

div.yyi-rinker-contents ul, div.yyi-rinker-contents ol, div.yyi-rinker-contents dl {
    background: none;
}


/*太文字*/
strong{
    background: linear-gradient(transparent 60%,#ff3 0);
}
/*Add RichText Toolbar Button*/

span.button-orange a{
    color:#fff;
}
span.button-orange:hover{
    background-color:#EB9C0A;
}
span.button-blue a{
    color:#fff;
}
span.button-blue:hover{
      background-color: #298FF5;  
}

span.button-green a{
    color:#fff;
}
span.button-green:hover{
      background-color: #496926;  
}

/*関連記事*/
.kanlink{
    position: relative;
    max-width: unset;
    border-color: #f4f4f5;
max-width: unset;
    width: 100%;
    margin: 1em 0 1.5em;
    padding: 10px;
    border: solid 2px #eaedf2;
    border-radius: 3px;
    background: #fff;
    color: #555;
    font-weight: bold;
    text-decoration: none !important;
    display:table;
}

.kanlink:hover{
    background: #f4f4f5;
}

.kanlink:hover img{
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

.kanlink .kanlinkimg{
    width:100%;
    display: table-cell;
    vertical-align: middle;
width: 100px;
}



.kanlink .kanlinktxt{
padding: 30px 75px 0px 14px;
    vertical-align: top;
    font-size: .9em;
    position: relative;
    font-weight: 500;
        line-height: 1.5;
    text-align: left;
    display: table-cell;
}

.kanlink::after{
    position: absolute;
    display: flex;
    height: 100%;
    padding: 0px 15px;
    content: "\f138";
    font-family: "Font Awesome 5 Free";
    top: 0px;
    right: 0px;
    font-size: 2.8em;
    color: #fff;
    background: #f4f4f5;
    align-items: center;
}

.kanlink .kanlinktxt::before{
    position: absolute;
    content: "あわせて読みたい";
    top: 0;
    display: inline-block;
    background: #ff9a91;
    line-height: 26px;
    color: white;
    padding: 0 8px;
    border-radius: 3px;
    font-weight: 500;align-content
}

/*文字装飾fix*/
blockquote {
    margin: 1.5em 1em 1.5em 2em;
    padding: 1em;
    font-size: 0.95em;
    font-style: normal;
}

blockquote p{
    margin-bottom:1em;
}

blockquote cite{
    color:#ccc;
}

.wp-block-image figcaption {
    font-size:0.8em;
}

/*Elementor toc調整*/
 .elementor-toc__body ol li::before {
    margin-right: 0em;
    content: "";
    display: none;
}

/*TOC plus調整*/
#toc_container ul, #toc_container ol{
border:none;
}

/*テーブルth*/
th{
    background:#f2f2f2;
	text-align:center;
	vertical-align:center;
}

/*ボタンカスタマイズ*/
.button-green, .button-blue, .button-orange{
    width:70%;
        margin:0 auto;
    color:#fff !important;
}

.button-green::hover, .button-blue::hover, .button-orange::hover{
    color:#ccc !important;
}

/*コンテンツbulletの枠と背景色 - 固定ページ用 - elementor編集画面調整板*/
.site-main .entry-content ul:not(.elementor-editor-element-settings), .site-main .entry-content ol:not(.elementor-editor-element-settings), .site-main .entry-content dl:not(.elementor-editor-element-settings){
border:1px solid #DAE1E8;
padding:2rem 1.5rem 0.5rem;
background: #f4f4f4;
margin:0 auto 1.5rem;
}

.site-main .entry-content ul:not(.elementor-editor-element-settings), .site-main .entry-content ol:not(.elementor-editor-element-settings){
    list-style: none;
    overflow: hidden;
}

.site-main .entry-content ul li:not(.elementor-editor-element-setting), .site-main .entry-content ol li:not(.elementor-editor-element-setting){
    list-style-type:none;
    position: relative;
    margin:0 0 1rem 1rem;
    font-weight:600;
}

.site-main .entry-content ul:not(.elementor-editor-element-settings) li::after {
    border-left: 12px solid transparent;
    border-top: 12px solid #5ba9f7;
    content: "";
    display: block;
    height: 0;
    margin: -3px 0 0;
    position: absolute;
    left: -1.4rem;
    top: .7rem;
    transform: rotate(45deg);
    width: 0;
}

.site-main .entry-content ol:not(.elementor-editor-element-settings){
    counter-reset: list_count;
}

.site-main .entry-content ol:not(.elementor-editor-element-settings) li{
    margin-left:0;
    margin:0 0 1rem 1rem;
}

.site-main .entry-content ol:not(.elementor-editor-element-settings) li::before {
    counter-increment: list_count;
    content: counter(list_count)".";
    display: block;
    color: #5ba9f7;
    font-weight: 700;
    font-size: 1rem;
      position: absolute;
      left: -1.4rem;
    top: 0rem;
}

/*スクロールテーブル*/
.scroll-table table {
  display: block;
  overflow-x: scroll;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}

