:root {
    --white: #fff;
    --light-gray: #f5f5f5;
    --onajime-primary: #ED4223;
    --onajime-secondary: #FCF4D3;
    --line-primary: #07B53B;
    --line-secondary: #FF6969;
}

#main-inner>.entry>.entry-inner>.entry-content.is-hidden {
 /* height: auto !important; */
}

/*--- 定型文：バナー(PC/SP切替機能付き) ---*/
.entry-content .onajime-lp-pc a,
.entry-content .onajime-lp-sp a,
.entry-content .onajime-lp-pc a img,
.entry-content .onajime-lp-sp a img {
    display: block;
}
.entry-content .onajime-lp-sp{
    display: none;
}
@media (max-width: 649px){
    .entry-content .onajime-lp-pc{
        display: none;
    }
    .entry-content .onajime-lp-sp{
        display: block;
    }
}


/* --------------- */
/* バナー */
/* --------------- */

/* 記事のpタグに対する設定をリセット */
#main-inner>.entry>.entry-inner>.entry-content .ad-banner p {
    font-size: initial;
    line-height: normal;
    margin-bottom: 0;
}
  
/* 共通 */
.ad-banner {
    margin: 24px auto;
    border-radius: 8px;
    transition: all 1s;
    overflow: hidden; /* 画像角丸対策 */
}
@media (min-width: 480px) {
    .ad-banner .br-sp {
        display: none;
    }
}
.ad-banner .ad-banner-link {
    position: relative;
    overflow: hidden;
    transition: .5;
}
.ad-banner .ad-banner-link:hover::after{
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 10%;
    height: 150%;
    background: #fff;
    transform: rotate(45deg);
    animation: reflect 1s ease-in-out;
}
/*** 光のアニメーション ***/
@keyframes reflect{
    0%{
        transform: rotate(45deg) scale(0);
        opacity: .7;
    }
    100%{
        transform: rotate(45deg) scale(100);
        opacity: 0;
    }
}
.ad-banner .ad-banner-box {
    display: flex;
    align-items: center;
    gap: 4px;
    text-align: center;
    justify-content: space-around;
    transition: all .5s;
}
@media (min-width: 480px) {
    .ad-banner .ad-banner-box {
        flex-direction: column;
    }
}
.ad-banner .ad-banner-link:hover .ad-banner-box {
    opacity: .7;
}
.ad-banner-inner .text {
    font-size: 14px!important;
    font-weight: 700;
    flex: 1;
}
@media (min-width: 480px) {
    .ad-banner-inner .text {
        font-size: 20px!important;
    }
}
.ad-banner-inner .text span {
     display: block;
     font-size: 10px;
}
@media (min-width: 480px) {
    .ad-banner-inner .text span {
        font-size: 12px;
    }
}
.ad-banner-inner .button {
    border-radius: 100px;
    padding: 4px 8px;
    text-align: center;
    font-weight: 700;
    font-size: 10px!important;
    display: flex;
    align-items: center;
    background: var(--onajime-primary);
    color: var(--white);
}
@media (min-width: 480px) {
    .ad-banner-inner .button {
        font-size: 12px!important;
        padding: 4px 16px;
    }
}
.ad-banner-inner .button:after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--white);
    border-right: 2px solid var(--white);
    flex: 0 0 auto;
    transform: rotate(45deg);
}
@media (min-width: 480px) {
    .ad-banner-inner .button:after {
          width: 8px;
          height: 8px;
    }
}
/* テキストバナー共通 */
@media (min-width: 480px) {
    .ad-banner-text .ad-banner-box {
      max-width: 80%;
      margin: auto;
    }
}
.ad-banner-text .ad-banner-link {
    position: relative;
    z-index: 1;
    padding: 16px 8px;
    display: block;
}
  
/* 画像バナー共通 */
.ad-banner-image .ad-banner-box {
    padding: 8px;
}
@media (min-width: 480px) {
    .ad-banner-image .ad-banner-inner {
      display: flex;
    }
}
.ad-banner-image .ad-banner-companyimage {
    flex: 1;
}
.ad-banner-image .ad-banner-companyimage img {
    height: 100%;
    object-fit: cover;
}
.ad-banner-image .ad-banner-box {
    padding: 16px 8px;
}
@media (min-width: 480px) {
    .ad-banner-image .ad-banner-box {
      width: 300px;
    }
}
.ad-banner-image .ad-banner-inner .text {
    color: var(--white);
}
  
/* おなじみ ver テキストバナー */
.ad-banner-text.ad-banner-onajime {
    position: relative;
    border: 1px solid var(--onajime-primary);
    background: var(--onajime-secondary) url("https://cdn.blog.st-hatena.com/files/26006613715570657/6801883189051422832") no-repeat right bottom;
    background-size: contain;
}
@media (min-width: 480px) {
    .ad-banner-text.ad-banner-onajime .ad-banner-link {
      background: url("https://cdn.blog.st-hatena.com/files/26006613715570657/6801883189051422828") no-repeat left top;
      background-size: contain;
    }
}
.ad-banner-text.ad-banner-onajime .ad-banner-inner .text {
    color: var(--onajime-primary);
}
  
  
/* おなじみ ver 画像バナー */
.ad-banner-image.ad-banner-onajime {
    background: var(--onajime-primary);
}
.ad-banner-image.ad-banner-onajime .ad-banner-inner .button {
    background: var(--white);
    color: var(--onajime-primary);
}
.ad-banner-image.ad-banner-onajime .ad-banner-inner .button:after {
      border-top: 2px solid var(--onajime-primary);
      border-right: 2px solid var(--onajime-primary);
}
  
/* LINE ver テキストバナー */
.ad-banner-text.ad-banner-line {
    position: relative;
    background: var(--line-primary) url("https://cdn.blog.st-hatena.com/files/26006613715570657/6801883189051501517") no-repeat  right top;
}
@media (min-width: 480px) {
    .ad-banner-text.ad-banner-line {
      background-size: 30%;
    }
}
@media (min-width: 480px) {
    .ad-banner-text.ad-banner-line .ad-banner-link {
      padding: 16px 24px;
    }
}
.ad-banner-text.ad-banner-line .ad-banner-box {
    align-items: flex-end;
}
@media (min-width: 480px) {
    .ad-banner-text.ad-banner-line .ad-banner-box {
      flex-direction: row;
      justify-content: flex-start;
      margin: 0;
      text-align: left;
      gap: 16px;
    }
}
.ad-banner-text.ad-banner-line .ad-banner-inner .text {
    color: var(--white);
}
@media (min-width: 480px) {
    .ad-banner-text.ad-banner-line .ad-banner-inner .text {
      flex: 0 0 auto;
      max-width: 280px;
    }
}
.ad-banner-text.ad-banner-line .ad-banner-inner .button {
    background-color: var(--line-secondary);
}
  
/* LINE ver 画像バナー */
.ad-banner-image.ad-banner-line {
    background: var(--line-primary);
}
.ad-banner-image.ad-banner-line .ad-banner-inner .button {
    background-color: var(--line-secondary);
}

/* カテゴリーページ説明文用デザイン */
.category-店舗運営 #main-inner .archive-header-category .archive-heading,
.category-接客方法 #main-inner .archive-header-category .archive-heading,
.category-集客方法 #main-inner .archive-header-category .archive-heading,
.category-LINE活用 #main-inner .archive-header-category .archive-heading{
    font-size: 24px;
    line-height: 36px;
}
#related-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1em;
    font-weight: bold;
    font-size: 20px;
    text-align: center;
}
#related-link::after,
#related-link::before  {
    content: "";
    display: block;
    width: 4px;
    height: 1em;
    border-radius: 4px;
    background-color: #EFC71F;
}
#related-link::before  {
    transform: rotate(150deg);
    margin-right: 20px;
}
#related-link::after  {
    transform: rotate(30deg);
    margin-left: 20px;
}
#main-inner>.entry>.entry-inner>.entry-content #related-link-ul {
    margin: 0 0 1em 1em;
}

/* Xアイコン調整 */
.side-bar-about__follow-icon-wrapper .twitter-icon,.share-icon-item .X{
    width: 32px;
}
.btn-disabled {
    pointer-events: none;
}

/* テーブル */
.table-box thead th {
    background: var(--light-gray);
    text-align: center;
    vertical-align: middle;
}
.table-box td {
    vertical-align: middle;
}
.table-box .tool-name {
    font-weight: bold;
    color: var(--main);
    display: block;
}
.table-box .status {
    display: block;
    text-align: center;
    font-weight: bold;
}
.table-box .caption {
    display: block;
    font-size: 11px;
}
.table-box * + .caption {
    margin-top: 8px;
}
.table-box th,
.table-box td {
    word-break: keep-all;
}
#main-inner>.entry>.entry-inner>.entry-content .js-scrollable table {
    overflow:unset;
}

/* サイドバーカテゴリー装飾 */
#box2-inner>.hatena-module-recent-entries.category-事例 .hatena-module-title {
    background: transparent url(https://pages.linebiz.com/files/onajime/image/side-bar-standard-background.svg) no-repeat;
}

#box2-inner>.hatena-module-recent-entries.category-定番ハウツー .hatena-module-title {
    background: transparent url(https://cdn.blog.st-hatena.com/files/13574176438033125608/6802340630902082451) no-repeat left center;
    background-size: cover;
}

/* JS無効化時の表示 */
.hatena-module-body noscript {
    display: block;
    width: fit-content;
    min-width: 360px;
    max-width: calc(100% - 32px);
    margin: auto;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    line-height: 1.4;
    background: #f8e6eb;
    border: 2px solid #ff0073;
    @media (width <= 480px) {
        font-size: 14px;
        padding: 16px 8px;
    }
}
