@charset "utf-8";

body {
    background-color: #f2f2f2;
}
.oonote_header {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 9999;
    width: 100%;
    background-color: var(--color-white, #fff);
}
.oonote_header_inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    margin: 0 auto;
    padding: 20px 40px;
}
.oonote_header_logo {
    width: 180px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-decoration: none;
}
.oonote_header_logo_main {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1;
    color: var(--color-black, #202020);
}
.oonote_header_logo_sub {
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: .04em;
    line-height: 1;
    color: #8a8a8a;
}
.oonote_header_nav {
    display: flex;
    align-items: center;
    gap: 32px;
}
.oonote_header_nav_main,
.oonote_header_nav_sub {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}
.oonote_header_nav_main .oonote_header_nav_item a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--color-black, #202020);
    white-space: nowrap;
    border-radius: 2px;
    transition: all .2s;
}
/* アイコンは縦横比がばらばら（0.99〜1.96）なので、幅ではなく高さで揃える。
   common.css の img { height: auto } を上書きする必要がある */
.oonote_header_nav_icon {
    display: block;
    height: 24px;
}
.oonote_header_nav_icon img {
    display: block;
    width: auto;
    height: 100%;
}
.oonote_header_nav_main .oonote_header_nav_item a:hover,
.oonote_header_nav_main .oonote_header_nav_item._current a {
    color: var(--color-orange, #e63200);
}
/* ナビ右側のボタン2つ。アイコンは付けず、どちらもオレンジの塗りで揃える */
.oonote_header_nav_sub .oonote_header_nav_item a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 20px;
    font-size: 1.4rem;
    font-weight: 700;
    white-space: nowrap;
    color: var(--color-white, #fff);
    background-color: var(--color-orange, #e63200);
    border-radius: 4px;
    transition: all .2s;
}
.oonote_header_nav_sub .oonote_header_nav_item a:hover {
    opacity: .8;
}
.oonote_header_hamburger {
    display: none;
}
.oonote_header_overlay {
    display: none;
}
/* ノートPC幅の詰め。メニューが7項目あり、ロゴ＋ナビ＋CTAボタン2つを
   1100px に収めるには通常サイズでは足りないため、文字とアイコンを一段小さくする。
   common.css のメインヘッダー（1100〜1399px）と同じ考え方。 */
@media screen and (max-width: 1399px) and (min-width: 1100px) {
    .oonote_header_inner {
        gap: 16px;
        padding: 20px 24px;
    }
    .oonote_header_logo {
        width: 150px;
    }
    .oonote_header_logo_main {
        font-size: 2rem;
    }
    .oonote_header_nav {
        gap: 16px;
    }
    .oonote_header_nav_main,
    .oonote_header_nav_sub {
        gap: 2px;
    }
    .oonote_header_nav_main .oonote_header_nav_item a {
        gap: 5px;
        padding: 6px;
        font-size: 1.2rem;
    }
    .oonote_header_nav_icon {
        height: 20px;
    }
    .oonote_header_nav_sub .oonote_header_nav_item a {
        height: 38px;
        padding: 0 10px;
        font-size: 1.2rem;
    }
}
@media screen and (max-width: 1099px) {
    .oonote_header_inner {
        padding: 16px 20px;
    }
    .oonote_header_logo {
        width: 140px;
    }
    .oonote_header_hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        width: 44px;
        height: 44px;
        padding: 0;
        border: none;
        cursor: pointer;
    }
    .oonote_header_hamburger .header_hamburger_bar {
        display: block;
        width: 24px;
        height: 2px;
        margin: 0 auto;
        background-color: #fff;
        transition: all .2s;
    }
    .oonote_header_nav_container {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 10000;
        width: min(320px, 86vw);
        height: 100vh;
        padding: 88px 24px 32px;
        overflow-y: auto;
        background-color: var(--color-white, #fff);
        transform: translateX(100%);
        transition: transform .3s;
    }
    .oonote_header_nav_container.is-open {
        transform: translateX(0);
    }
    .oonote_header_nav {
        flex-direction: column;
        align-items: stretch;
        gap: 24px;
    }
    .oonote_header_nav_main,
    .oonote_header_nav_sub {
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .oonote_header_nav_sub {
        margin-top: 20px;
    }
    /* ドロワーは横幅いっぱいの縦リストなので、アイコンは上ではなく左に置く */
    .oonote_header_nav_main .oonote_header_nav_item a {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        padding: 12px;
    }
    .oonote_header_nav_icon {
        height: 20px;
        min-width: 40px;
        text-align: center;
        display: flex;
        justify-content: center;
    }
    .oonote_header_nav_sub .oonote_header_nav_item a {
        justify-content: center;
    }
    .oonote_header_overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 9999;
        background-color: rgba(0, 0, 0, .4);
        opacity: 0;
        visibility: hidden;
        transition: all .3s;
    }
    .oonote_header_overlay.is-open {
        opacity: 1;
        visibility: visible;
    }
}
@media screen and (max-width: 640px) {
    .oonote_header_logo_main {
        font-size: 2rem;
    }
}
.oonote_fv_slider {
    --oonote-slide-w: 620px;
    --oonote-slide-gap: 50px;
    --oonote-pad: 40px;
    position: relative;
    padding-top: 60px;
    overflow: hidden;
}
.oonote_fv_slider::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 340px;
    bottom: 0;
    z-index: 0;
    background-color: var(--color-orange);
    width: calc(100% - 200px);
}
.oonote_fv_slider_thumbs {
    position: relative;
    z-index: 1;
    padding-left: var(--oonote-pad);
}
.oonote_fv_slider_thumbs .slick-slide {
    margin-right: var(--oonote-slide-gap);
}
.oonote_fv_slider_slide {
    position: relative;
    width: var(--oonote-slide-w);
}
.oonote_fv_slider_thumb_link {
    display: block;
}
.oonote_fv_slider_thumb {
    aspect-ratio: 16 / 9;
    background-color: #eee;
    overflow: hidden;
    border: solid 16px #fff;
}
.oonote_fv_slider_thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.oonote_fv_slider_thumb_link:hover .oonote_fv_slider_thumb img {
    transform: scale(1.04);
}
.oonote_fv_slider_panel {
    position: relative;
    z-index: 1;
    padding-bottom: 72px;
    color: #fff;
}
.oonote_fv_slider_texts {
    position: relative;
    z-index: 2;
    width: min(560px, calc(100% - var(--oonote-pad) * 2));
    margin-top: -30px;
    margin-left: calc(var(--oonote-pad) + var(--oonote-slide-w) * 0.15);
    padding: 34px 30px;
    background-color: #fff;
    box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
}
.oonote_fv_slider_text_inner {
    display: block;
}
.oonote_fv_slider_cat {
    display: inline-block;
    margin-bottom: 16px;
    padding: 4px 18px;
    font-size: 1.2rem;
    font-weight: 500;
    color: #fff;
    background-color: var(--color-orange);
}
.oonote_fv_slider_title {
    margin-bottom: 14px;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--color-black, #202020);
}
.oonote_fv_slider_excerpt {
    font-size: 1.4rem;
    line-height: 1.9;
    color: #555;
}
.oonote_fv_slider_progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 56px;
    position: absolute;
    top: 70px;
    left: 800px;
}
.oonote_fv_slider_progress_current,
.oonote_fv_slider_progress_total {
    font-size: 1.8rem;
    line-height: 1;
    color: #fff;
}
.oonote_fv_slider_progress_bar {
    display: block;
    position: relative;
    width: 220px;
    height: 1px;
    background-color: rgba(255, 255, 255, .4);
}
.oonote_fv_slider_progress_bar_fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: #fff;
    transition: width .6s ease;
}
.oonote_fv_slider .slick-prev,
.oonote_fv_slider .slick-next {
    position: absolute;
    top: 165px;
    z-index: 3;
    width: 48px;
    height: 48px;
    padding: 0;
    font-size: 0;
    background-color: var(--color-orange);
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .2);
    transform: translateY(-50%);
    cursor: pointer;
}
.oonote_fv_slider .slick-prev {
    left: 24px;
}
.oonote_fv_slider .slick-next {
    left: calc(var(--oonote-pad) + var(--oonote-slide-w) - 24px);
}
.oonote_fv_slider .slick-prev::before,
.oonote_fv_slider .slick-next::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 auto;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}
.oonote_fv_slider .slick-prev::before {
    transform: translateX(2px) rotate(-135deg);
}
.oonote_fv_slider .slick-next::before {
    transform: translateX(-2px) rotate(45deg);
}
@media screen and (max-width: 1399px) and (min-width: 1100px) {
    .oonote_fv_slider {
        --oonote-slide-w: 400px;
        --oonote-slide-gap: 20px;
        --oonote-pad: 20px;
        position: relative;
        padding-top: 30px;
        overflow: hidden;
    }
    .oonote_fv_slider_title {
        font-size: 1.5rem;
    }
    .oonote_fv_slider_texts {
        width: 420px;
        padding: 20px;
    }
    .oonote_fv_slider_excerpt {
        font-size: 1.1rem;
    }
    .oonote_fv_slider_cat {
        font-size: 1rem;
    }
    .oonote_fv_slider_progress_current, .oonote_fv_slider_progress_total {
        font-size: 1.4rem;
    }
    .oonote_fv_slider_progress_bar {
        width: 130px;
    }
}
@media screen and (max-width: 1099px) {
    .oonote_fv_slider {
        --oonote-slide-w: 68vw;
        --oonote-slide-gap: 24px;
        --oonote-pad: 20px;
    }
    .oonote_fv_slider::before {
        top: 46vw;
    }
    .oonote_fv_slider_texts {
        margin-left: calc(var(--oonote-pad) + var(--oonote-slide-w) * 0.35);
    }
    .oonote_fv_slider .slick-prev,
    .oonote_fv_slider .slick-next {
        top: 22vw;
        width: 40px;
        height: 40px;
    }
}
@media screen and (max-width: 640px) {
    .oonote_fv_slider {
        --oonote-slide-w: 100%;
        --oonote-slide-gap: 0px;
        padding-top: 40px;
    }
    .oonote_fv_slider::before {
        top: 320px;
        width: 100%;
    }
    .oonote_fv_slider_thumbs {
        padding-left: 0;
    }
    .oonote_fv_slider_panel {
        padding-bottom: 0;
    }
    .oonote_fv_slider_texts {
        width: calc(100% - 40px);
        margin-left: 20px;
        margin-top: 10px;
        padding: 20px;
    }
    .oonote_fv_slider_title {
        font-size: 1.6rem;
    }
    .oonote_fv_slider_excerpt {
        font-size: 1.2rem;
    }
    .oonote_fv_slider_progress_bar {
        width: 120px;
    }
    .oonote_fv_slider .slick-prev,
    .oonote_fv_slider .slick-next {
        top: 28vw;
    }
    .oonote_fv_slider .slick-prev {
        left: 12px;
    }
    .oonote_fv_slider .slick-next {
        left: auto;
        right: 12px;
    }
}

.oonote_fv_latest {
    padding: 0 0 80px;
    position: relative;
}
.oonote_fv_latest::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 0;
    background-color: var(--color-orange);
    width: calc(100% - 200px);
    height: 240px;
}
.oonote_fv_latest .inner {
    position: relative;
    z-index: 2;
}
.oonote_fv_latest_list {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}
.oonote_fv_latest_item {
    position: relative;
    width: calc( (100% - 50px) / 3 );
    display: block;
    background-color: #fff;
    padding: 20px;
}
.oonote_fv_latest_thumb {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background-color: #eee;
}
.oonote_fv_latest_rank {
    position: absolute;
    top: -16px;
    left: -16px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: var(--color-black);
    transform: rotate(45deg);
}
.oonote_fv_latest_rank._rank-1 {
    background-color: #c9a227;
}
.oonote_fv_latest_rank._rank-2 {
    background-color: #9fa0a0;
}
.oonote_fv_latest_rank._rank-3 {
    background-color: #a5673f;
}
.oonote_fv_latest_rank_num {
    transform: rotate(-45deg);
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}
.oonote_fv_latest_thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.oonote_fv_latest_item:hover .oonote_fv_latest_thumb img {
    transform: scale(1.05);
}
.oonote_fv_latest_body {
    padding-top: 16px;
}
.oonote_fv_latest_meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.oonote_fv_latest_date {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1;
    color: #8a8a8a;
}
.oonote_fv_latest_cat {
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1;
    padding: 5px 12px;
    color: #fff;
    background-color: var(--color-orange);
}
.oonote_fv_latest_title {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.6;
    color: var(--color-black, #202020);
}
@media screen and (max-width: 1099px) {
    .oonote_fv_latest_list {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }
}
@media screen and (max-width: 640px) {
    .oonote_fv_latest {
        padding: 48px 0;
    }
    .oonote_fv_latest::before {
        width: 100%;
        top: -1px;
    }
    .oonote_fv_latest_list {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .oonote_fv_latest_title {
        font-size: 1.5rem;
    }
}

.up_section_title {
    text-align: center;
    margin-bottom: 60px;
}
.up_section_title .up_section_title_en {
    color: #fff;
    font-size: 4.8rem;
    font-weight: 600;
}
.up_section_title .up_section_title_jp {
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
}
@media screen and (max-width: 640px) {
    .up_section_title {
        margin-bottom: 20px;
    }
    .up_section_title .up_section_title_en {
        font-size: 2.8rem;
    }
    .up_section_title .up_section_title_jp {
        font-size: 1.4rem;
    }
    .oonote_fv_latest::before {
        width: 100%;
        top: -1px;
    }
    .oonote_fv_latest_list {
        flex-direction: column;
        gap: 15px;
    }
    .oonote_fv_latest_item {
        width: 100%;
    }
    .oonote_fv_latest_title {
        font-size: 1.5rem;
    }
}

.oonote_top_ranking {
    --rank-card-w: 380px;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}
.oonote_top_ranking::before {
    content: "";
    width: 100%;
    height: 420px;
    background-color: var(--color-orange);
    position: absolute;
    top: 0;
    left: 0;
    display: block;
}
.oonote_top_ranking_slider .slick-list {
    overflow: inherit;
}
.inner {
    position: relative;
    z-index: 1;
}
.oonote_top_ranking_slider {
    position: relative;
}
.oonote_top_ranking_slider .slick-slide {
    margin-right: 25px;
}
.oonote_top_ranking_slide {
    width: var(--rank-card-w);
}
.oonote_top_ranking_slide .oonote_fv_latest_item {
    width: 100%;
}
.oonote_top_ranking_slider_asset {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 40px;
}
.oonote_top_ranking_progress {
    order: 2;
    display: flex;
    align-items: center;
    gap: 20px;
}
.oonote_top_ranking_progress_current,
.oonote_top_ranking_progress_total {
    font-size: 1.8rem;
    line-height: 1;
    color: var(--color-black, #202020);
}
.oonote_top_ranking_progress_bar {
    display: block;
    position: relative;
    width: 220px;
    height: 1px;
    background-color: rgba(0, 0, 0, .15);
}
.oonote_top_ranking_progress_bar_fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background-color: var(--color-black, #202020);
    transition: width .6s ease;
}
.oonote_top_ranking_slider_asset .slick-prev,
.oonote_top_ranking_slider_asset .slick-next {
    position: static;
    width: 48px;
    height: 48px;
    padding: 0;
    font-size: 0;
    background-color: var(--color-orange);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transform: none;
    flex-shrink: 0;
}
.oonote_top_ranking_slider_asset .slick-prev {
    order: 1;
}
.oonote_top_ranking_slider_asset .slick-next {
    order: 3;
}
.oonote_top_ranking_slider_asset .slick-prev::before,
.oonote_top_ranking_slider_asset .slick-next::before {
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    margin: 0 auto;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
}
.oonote_top_ranking_slider_asset .slick-prev::before {
    transform: translateX(2px) rotate(-135deg);
}
.oonote_top_ranking_slider_asset .slick-next::before {
    transform: translateX(-2px) rotate(45deg);
}
.oonote_top_ranking_slider_asset .slick-disabled {
    opacity: .3;
    pointer-events: none;
}
@media screen and (max-width: 1099px) {
    .oonote_top_ranking {
        --rank-card-w: 46vw;
    }
}
@media screen and (max-width: 640px) {
    .oonote_top_ranking {
        padding: 48px 0;
    }
    .oonote_top_ranking::before {
        height: 240px;
    }
    .oonote_top_ranking_slider .slick-slide {
        margin-right: 16px;
    }
    .oonote_top_ranking_slider_asset {
        gap: 16px;
        margin-top: 28px;
    }
    .oonote_top_ranking_progress_bar {
        width: 120px;
    }
}
.oonote_top_category {
    padding: 0 0 80px;
}
.oonote_top_category .up_section_title .up_section_title_en {
    color: var(--color-black);
}
.oonote_top_category .up_section_title .up_section_title_jp {
    color: var(--color-black);
}
.top_category_list {
    display: flex;
    gap: 30px;
    list-style: none;
}
/* ヘッダーのメニューに合わせて4カテゴリを1行に並べる */
.top_category_list .top_category_item {
    width: calc( ( 100% - 90px ) / 4);
}
.top_category_link {
    display: block;
    height: 100%;
    padding: 30px;
    background-color: #fff;
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
}
.top_category_link::after {
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-family: "icomoon";
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    content: "\e902";
    display: block;
    color: var(--color-orange);
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    font-size: .6em;
}
.top_category_link:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, .1);
}
.top_category_en {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1;
    color: #555555;
}
.top_category_name {
    margin-top: 5px;
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.4;
    color: var(--color-orange);
}
.top_category_desc {
    margin-top: 16px;
    font-size: 1.4rem;
    line-height: 1.9;
    color: var(--color-black);
}
/* タブレットは2列×2行。4列のままだと1枚あたりが狭くなりすぎる */
@media screen and (max-width: 1099px) {
    .top_category_list {
        flex-wrap: wrap;
        gap: 20px;
    }
    .top_category_list .top_category_item {
        width: calc( ( 100% - 20px ) / 2);
    }
}
@media screen and (max-width: 640px) {
    .top_category_list {
        flex-direction: column;
        gap: 15px;
    }
    .top_category_list .top_category_item {
        width: 100%;
    }
    .top_category_desc {
        font-size: 1.25rem;
    }
    .oonote_top_category {
        padding: 48px 0;
    }
    .top_category_link {
        padding: 28px 24px;
    }
}

.oonote_archive {
    padding: 80px 0;
}
.oonote_archive_head {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}
.oonote_archive_head .oonote_archive_head_en {
    font-size: 4.8rem;
    font-weight: 600;
}
.oonote_archive_head .oonote_archive_head_jp {
    font-size: 1.6rem;
}
@media screen and (max-width: 640px) {
    .oonote_archive {
        padding: 40px 0;
    }
    .oonote_archive_head {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 40px;
    }
    .oonote_archive_head .oonote_archive_head_en {
        font-size: 3rem;
    }
    .oonote_archive_head .oonote_archive_head_jp {
        font-size: 1.4rem;
    }
}.oonote_single {
    padding-bottom: 100px;
}
/* 本文（最大840px）＋サイドバー（320px）の2カラム。
   1099px以下でサイドバーが本文の下へ回り込む */
.oonote_single_layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}
.oonote_single_container {
    /* min-width:0 が無いと、本文中の長いURLやテーブルでカラムが押し広げられる */
    flex: 1;
    min-width: 0;
    max-width: 840px;
    margin: 0;
    padding: 40px 0 0;
}
.oonote_single_thumb {
    overflow: hidden;
    background-color: #eee;
    border: solid 20px #fff;
}
.oonote_single_thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.oonote_single_head {
    padding: 32px 0 24px;
}
.oonote_single_meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}
.oonote_single_date {
    font-size: 1.3rem;
    font-weight: 500;
    line-height: 1;
    color: #8a8a8a;
}
.oonote_single_cat {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1;
    padding: 6px 14px;
    color: #fff;
    background-color: var(--color-orange);
    transition: opacity .2s;
}
.oonote_single_cat:hover {
    opacity: .8;
}
.oonote_single_title {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--color-black, #202020);
}
.oonote_single_content {
    background-color: #fff;
    padding: 40px;
    font-size: 1.5rem;
    line-height: 2;
    color: #333;
    margin-top: 20px;
}
.oonote_single_content p {
    margin-bottom: 1.8em;
}
.oonote_single_content p strong {
    font-weight: bold;
}
.oonote_single_content p em {
    font-style: italic;
}
.oonote_single_content h2 {
    margin: 2em 0 .8em;
    padding: 20px 15px;
    font-size: 2.2rem;
    font-weight: 700;
    line-height: 1.5;
    color: var(--color-black, #202020);
    background-color: #eff2f3;
    border-left: solid 8px var(--color-orange);
}
.oonote_single_content h3 {
    background-color: var(--color-orange);
    margin: 1.8em 0 .6em;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.5;
    color: #fff;
    padding: 10px 14px;
    border-radius: 4px;
}
.oonote_single_content img {
    height: auto;
    margin: 1em 0;
}
.oonote_single_content a {
    color: var(--color-orange);
    text-decoration: underline;
}
.oonote_single_content a.wp-element-button {
    background: rgb(230, 50, 0);
    color: rgb(255, 255, 255);
    display: block;
    width: fit-content;
    line-height: 1.4;
    padding: 10px 40px;
    font-weight: 700;
    margin: 20px auto;
}
.oonote_single_content ul,
.oonote_single_content ol {
    margin: 0 0 1.8em 1.5em;
}
.oonote_single_content li {
    margin-bottom: .5em;
    list-style: revert;
}

.liquid-speech-balloon-text p {
    margin-bottom: 0;
}

.kakomi1,
.kakomi2 {
  border-radius: 10px;
  padding: 25px 35px;
  margin-bottom: 2rem;
}
@media screen and (max-width: 1439px) {
  .kakomi1,
.kakomi2 {
    border-radius: calc(10 / 1440 * 100vw);
    padding: calc(25 / 1440 * 100vw) calc(35 / 1440 * 100vw);
  }
}
@media screen and (max-width: 767px) {
   .kakomi1,
.kakomi2 {
    border-radius: calc(10 / 375 * 100vw);
    padding: calc(30 / 375 * 100vw);
  }
}
.kakomi1 *,
.kakomi2 * {
  margin-top: 0;
}
.oonote_single_content .kakomi2 ul, .oonote_single_content .kakomi2 ul {
    margin: 0;
}
.oonote_single_content .kakomi2 p {
    margin: 0;
}
.kakomi1 {
  background-color: #F2F2F2;
}
.kakomi2 {
  border: 1px solid #e63200;
}
.kakomi2 b {
  font-weight: 700;
}
.kakomi2 strong {
  color: #e63200;
}
/* 本文直下のリストはオレンジ枠のカードにする。
   子セレクタなので目次（#toc_container 内）やテーブルのセル内リストには効かない */
.oonote_single_content > ul,
.oonote_single_content > ol {
    margin: 2em 0;
    padding: 28px 36px;
    list-style: none;
    background-color: var(--color-white, #fff);
    border: 2px solid var(--color-orange, #e63200);
    border-radius: 10px;
}
.oonote_single_content > ol {
    counter-reset: oonote_ol;
}
.oonote_single_content > ul > li,
.oonote_single_content > ol > li {
    position: relative;
    margin-bottom: 0;
    padding-left: 22px;
    font-size: 1.5rem;
    line-height: 1.8;
    color: var(--color-black, #202020);
    list-style: none;
}
.oonote_single_content > ol > li {
    padding-left: 28px;
}
.oonote_single_content > ul > li + li,
.oonote_single_content > ol > li + li {
    margin-top: 20px;
}
.oonote_single_content > ul > li::before {
    content: "";
    position: absolute;
    top: .65em;
    left: 2px;
    width: 7px;
    height: 7px;
    background-color: var(--color-orange, #e63200);
    border-radius: 50%;
}
.oonote_single_content > ol > li::before {
    counter-increment: oonote_ol;
    content: counter(oonote_ol) ".";
    position: absolute;
    top: 0;
    left: 0;
    font-weight: 700;
    line-height: 1.8;
    color: var(--color-orange, #e63200);
}
/* 入れ子は枠を持たせず、通常のマーカーで字下げのみ */
.oonote_single_content > ul ul,
.oonote_single_content > ul ol,
.oonote_single_content > ol ul,
.oonote_single_content > ol ol {
    margin: 10px 0 0;
    padding: 0 0 0 20px;
    font-size: 1.4rem;
    background: none;
    border: none;
    border-radius: 0;
}
@media screen and (max-width: 640px) {
    .oonote_single_content > ul,
    .oonote_single_content > ol {
        margin: 1.6em 0;
        padding: 20px 18px;
    }
    .oonote_single_content > ul > li,
    .oonote_single_content > ol > li {
        padding-left: 18px;
        font-size: 1.4rem;
    }
    .oonote_single_content > ol > li {
        padding-left: 24px;
    }
    .oonote_single_content > ul > li + li,
    .oonote_single_content > ol > li + li {
        margin-top: 14px;
    }
    .oonote_single_content > ul > li::before {
        top: .6em;
        left: 0;
        width: 6px;
        height: 6px;
    }
}
/* テーブル（wp-block-table / 素の table 両対応）
   横に収まらない場合は figure 側で横スクロールさせる */
.oonote_single_content .wp-block-table {
    margin: 2em 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.oonote_single_content table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    font-size: 1.4rem;
    line-height: 1.8;
    color: #333;
}
.oonote_single_content th,
.oonote_single_content td {
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
    border: 1px solid #dfe4e6;
    word-break: break-word;
}
.oonote_single_content th {
    font-weight: 700;
    color: var(--color-black, #202020);
    background-color: #eff2f3;
    white-space: nowrap;
}
.oonote_single_content thead th {
    border-bottom: 2px solid var(--color-orange, #e63200);
}
.oonote_single_content tbody tr:nth-child(even) {
    background-color: #fafafa;
}
/* セル内のリストは余白を詰める */
.oonote_single_content td > ul,
.oonote_single_content td > ol,
.oonote_single_content th > ul,
.oonote_single_content th > ol {
    margin: 0 0 0 1.2em;
    line-height: 1.7;
}
.oonote_single_content td li,
.oonote_single_content th li {
    margin-bottom: .3em;
}
.oonote_single_content td li:last-child,
.oonote_single_content th li:last-child {
    margin-bottom: 0;
}
.oonote_single_content td > p:last-child,
.oonote_single_content th > p:last-child {
    margin-bottom: 0;
}
.oonote_single_content .wp-block-table figcaption {
    margin-top: 10px;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #8a8a8a;
    text-align: center;
}
@media screen and (max-width: 640px) {
    .oonote_single_content .wp-block-table {
        margin: 1.6em 0;
    }
    .oonote_single_content table {
        min-width: 560px;
        font-size: 1.3rem;
    }
    .oonote_single_content th,
    .oonote_single_content td {
        padding: 10px 12px;
    }
}
.oonote_single_related {
    margin-top: 80px;
}
.oonote_single_related_title {
    margin-bottom: 32px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-black, #202020);
    text-align: center;
}
.oonote_single_related_title .oonote_single_related_title_en {
    font-size: 3.2rem;
}
.oonote_single_related_title .oonote_single_related_title_jp {
    font-size: 1.5rem;
}
@media screen and (max-width: 640px) {
    .oonote_single {
        padding-bottom: 60px;
    }
    .oonote_single_container {
        padding-top: 24px;
    }
    .oonote_single_title {
        font-size: 2rem;
    }
    .oonote_single_content {
        padding: 20px;
        padding-top: 40px;
        font-size: 1.4rem;
    }
    .oonote_single_content h2 {
        margin: 1.6em 0 .8em;
        padding: 14px 12px;
        font-size: 1.8rem;
        border-left-width: 5px;
    }
    .oonote_single_content h3 {
        font-size: 1.6rem;
        font-weight: 600;
        line-height: 1.5;
        color: #fff;
        padding: 10px;
        border-radius: 4px;
    }
    .oonote_single_related {
        margin-top: 56px;
    }
}
/* Table of Contents Plus
   プラグイン側は #toc_container（詳細度1,0,0）で当ててくるため、
   .oonote_single_content で包んで上書きする。
   幅と display は front.js がインラインで書き換えるので !important が必要。 */
.oonote_single_content #toc_container {
    box-sizing: border-box;
    display: block !important;
    width: 80% !important;
    max-width: 100%;
    margin: 32px auto 48px;
    padding: 32px 40px 36px;
    font-size: 1.5rem;
    background-color: var(--color-white, #fff);
    border: 2px solid var(--color-orange, #e63200);
    border-radius: 8px;
}
.oonote_single_content #toc_container .toc_title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0 0 24px;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: .04em;
    color: var(--color-black, #202020);
    border-bottom: 1px solid #ececec;
}
.oonote_single_content #toc_container .toc_title::before {
    content: "";
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background-color: var(--color-orange, #e63200);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='4.5' cy='6' r='1.7' fill='%23fff'/%3E%3Ccircle cx='4.5' cy='12' r='1.7' fill='%23fff'/%3E%3Ccircle cx='4.5' cy='18' r='1.7' fill='%23fff'/%3E%3Crect x='9' y='5' width='11.5' height='2' rx='1' fill='%23fff'/%3E%3Crect x='9' y='11' width='11.5' height='2' rx='1' fill='%23fff'/%3E%3Crect x='9' y='17' width='11.5' height='2' rx='1' fill='%23fff'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 19px auto;
    border-radius: 50%;
}
/* 開閉トグル（[非表示] / [表示]） */
.oonote_single_content #toc_container span.toc_toggle {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-orange, #e63200);
}
.oonote_single_content #toc_container span.toc_toggle a {
    color: var(--color-orange, #e63200);
    text-decoration: none;
    transition: opacity .2s;
}
.oonote_single_content #toc_container span.toc_toggle a:hover {
    opacity: .7;
    text-decoration: none;
}
.oonote_single_content #toc_container .toc_toggle_icon a {
    width: 1.6em;
    height: 1.6em;
    border-color: var(--color-orange, #e63200);
    border-radius: 4px;
}
/* 折りたたみ時は仕切り線を消す */
.oonote_single_content #toc_container.contracted .toc_title {
    padding-bottom: 0;
    border-bottom: none;
}
.oonote_single_content #toc_container .toc_title + ul.toc_list {
    margin-top: 24px;
}
.oonote_single_content #toc_container ul,
.oonote_single_content #toc_container li {
    margin: 0;
    padding: 0;
    list-style: none;
}
.oonote_single_content #toc_container ul.toc_list {
    counter-reset: oonote_toc;
}
.oonote_single_content #toc_container .toc_list > li + li {
    margin-top: 14px;
}
.oonote_single_content #toc_container .toc_list > li > a {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.6;
    color: var(--color-black, #202020);
    text-decoration: none;
    transition: color .2s;
}
/* 画像に合わせた 01, 02 … のゼロ埋め番号。
   プラグインの「1.」表記は .toc_number ごと非表示にして差し替える。 */
.oonote_single_content #toc_container .toc_list > li > a::before {
    counter-increment: oonote_toc;
    content: counter(oonote_toc, decimal-leading-zero);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    min-width: 32px;
    height: 26px;
    padding: 0 8px;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-white, #fff);
    background-color: var(--color-orange, #e63200);
    border-radius: 999px;
    margin-right: 16px;
}
.oonote_single_content #toc_container .toc_number.toc_depth_1 {
    display: none;
}
.oonote_single_content #toc_container .toc_list > li > a:hover {
    color: var(--color-orange, #e63200);
    text-decoration: none;
}
/* 第2階層 */
.oonote_single_content #toc_container .toc_list ul {
    margin: 12px 0 0 48px;
}
.oonote_single_content #toc_container .toc_list ul li + li {
    margin-top: 8px;
}
.oonote_single_content #toc_container .toc_list ul a {
    display: flex;
    align-items: baseline;
    gap: 8px;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.6;
    color: #555;
    text-decoration: none;
    transition: color .2s;
}
.oonote_single_content #toc_container .toc_list ul a:hover {
    color: var(--color-orange, #e63200);
    text-decoration: none;
}
.oonote_single_content #toc_container .toc_number.toc_depth_2 {
    flex-shrink: 0;
    font-weight: 700;
    color: var(--color-orange, #e63200);
}
/* 見出しへのジャンプ時にヘッダー下へ潜らせない */
.oonote_single_content h2,
.oonote_single_content h3 {
    scroll-margin-top: 100px;
}
@media screen and (max-width: 640px) {
    .oonote_single_content #toc_container {
        width: 100% !important;
        margin: 24px auto 32px;
        padding: 24px 20px 26px;
    }
    .oonote_single_content #toc_container .toc_title {
        flex-wrap: wrap;
        gap: 8px;
        padding-bottom: 18px;
        font-size: 1.7rem;
    }
    .oonote_single_content #toc_container .toc_title::before {
        width: 30px;
        height: 30px;
        background-size: 16px auto;
    }
    .oonote_single_content #toc_container span.toc_toggle {
        font-size: 1.2rem;
    }
    .oonote_single_content #toc_container .toc_title + ul.toc_list {
        margin-top: 18px;
    }
    .oonote_single_content #toc_container .toc_list > li + li {
        margin-top: 12px;
    }
    .oonote_single_content #toc_container .toc_list > li > a {
        align-items: flex-start;
        font-size: 1.4rem;
    }
    .oonote_single_content #toc_container .toc_list > li > a::before {
        min-width: 28px;
        height: 22px;
        margin-top: 1px;
        padding: 0 6px;
        font-size: 1.1rem;
        margin-right: 6px;
    }
    .oonote_single_content #toc_container .toc_list ul {
        margin-left: 38px;
    }
    .oonote_single_content #toc_container .toc_list ul a {
        font-size: 1.3rem;
    }
}

.oonote_single_content > .box {
    margin-bottom: 2rem;
    overflow: hidden;
}
.oonote_single_content > .box .inner {
    padding: 1em !important;
}
.oonote_single_content > .box b {
    font-weight: 700;
}

.oonote_single .breadcrumb {
    padding: 24px 40px;
}
.oonote_single .breadcrumb_list {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: center;
    font-size: 1.3rem;
    line-height: 1.4;
    list-style: none;
}
.oonote_single .breadcrumb_item {
    display: flex;
    align-items: center;
}
.oonote_single .breadcrumb_item:not(:first-child)::before {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--color-orange);
    margin: 0 12px;
    flex-shrink: 0;
}
.oonote_single .breadcrumb_item a {
    color: #858585;
}
.oonote_single .breadcrumb_item a:hover {
    text-decoration: underline;
}
.oonote_single .breadcrumb_item[aria-current="page"] {
    min-width: 0;
}
.oonote_single .breadcrumb_item[aria-current="page"] span {
    display: block;
    max-width: 40ch;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-black, #202020);
}
@media screen and (max-width: 640px) {
    .oonote_single .breadcrumb {
        padding: 20px 5%;
    }
    .oonote_single .breadcrumb_list {
        justify-content: flex-start;
        font-size: 1.2rem;
    }
    .oonote_single .breadcrumb_item[aria-current="page"] span {
        max-width: 55vw;
    }
}

/* ---------- 追従バナー（SOLVIA NOTE 全体） ----------
   PCは右下に固定、SPは画面下部に幅いっぱい（左右10pxずつ余白）。
   画像そのものの出し分けは template-parts/oonote-float-banner.php の <picture> 側。
   z-index はヘッダー(9999)とドロワー(10000)より下にして、
   メニューを開いたときにバナーが上に乗らないようにする */
.oonote_float_bnr {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9990;
    width: 300px;
    line-height: 0;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, .25));
}
/* JS が hidden 属性で閉じる。display を明示しているので打ち消しが必要 */
.oonote_float_bnr[hidden] {
    display: none;
}
.oonote_float_bnr_link {
    display: block;
    transition: opacity .2s;
}
.oonote_float_bnr_link:hover {
    opacity: .85;
}
.oonote_float_bnr picture {
    display: block;
}
.oonote_float_bnr img {
    display: block;
    width: 100%;
}
/* 閉じるボタン。バナーの角に少しはみ出させて、画像と重ならないようにする */
.oonote_float_bnr_close {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 1;
    width: 28px;
    height: 28px;
    padding: 0;
    background-color: #fff;
    border: none;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
    cursor: pointer;
    transition: background-color .2s;
}
.oonote_float_bnr_close:hover {
    background-color: #f0f0f0;
}
/* ×印は2本の線を回転して作る（アイコンフォント非依存） */
.oonote_float_bnr_close::before,
.oonote_float_bnr_close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background-color: var(--color-black, #202020);
    border-radius: 1px;
}
.oonote_float_bnr_close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.oonote_float_bnr_close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
@media screen and (max-width: 640px) {
    .oonote_float_bnr {
        right: 10px;
        left: 10px;
        bottom: 10px;
        width: auto;
        filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .22));
    }
    /* SPは左右10pxしか余白が無いので、はみ出させず内側に収める */
    .oonote_float_bnr_close {
        top: -8px;
        right: -8px;
        width: 26px;
        height: 26px;
    }
}

/* ---------- 記事ページのサイドバー ---------- */
.oonote_sidebar {
    flex-shrink: 0;
    width: 320px;
    padding-top: 40px;
}
.oonote_sidebar_block + .oonote_sidebar_block {
    margin-top: 24px;
}
.oonote_sidebar_block._panel {
    padding: 24px 20px;
    background-color: #fff;
}
/* バナー2種。画像は assets/images/common/oonote_side_bnr_{seminar,event}.png */
.oonote_sidebar_bnr {
    display: block;
    line-height: 0;
    transition: opacity .2s;
}
.oonote_sidebar_bnr:hover {
    opacity: .85;
}
.oonote_sidebar_bnr img {
    display: block;
    width: 100%;
}
/* 見出し。左のオレンジ棒はサイト共通のアクセント意匠に合わせたもの */
.oonote_sidebar_title {
    position: relative;
    margin-bottom: 18px;
    padding-left: 14px;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-black, #202020);
}
.oonote_sidebar_title::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 4px;
    height: 1em;
    background-color: var(--color-orange, #e63200);
    transform: translateY(-50%);
}
/* 人気記事 */
.oonote_sidebar_ranking {
    list-style: none;
}
.oonote_sidebar_ranking_item + .oonote_sidebar_ranking_item {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #ececec;
}
.oonote_sidebar_ranking_item a {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 12px;
    align-items: start;
    position: relative;
}
.oonote_sidebar_ranking_num {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    font-size: 1.1rem;
    line-height: 1;
    color: #fff;
    background-color: var(--color-black, #202020);
}
.oonote_sidebar_ranking_num._rank-1 {
    background-color: #c9a227;
}
.oonote_sidebar_ranking_num._rank-2 {
    background-color: #9fa0a0;
}
.oonote_sidebar_ranking_num._rank-3 {
    background-color: #a5673f;
}
.oonote_sidebar_ranking_thumb {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #eee;
}
.oonote_sidebar_ranking_thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.oonote_sidebar_ranking_item a:hover .oonote_sidebar_ranking_thumb img {
    transform: scale(1.05);
}
.oonote_sidebar_ranking_title {
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.6;
    color: var(--color-black, #202020);
    /* 3行を超えたら省略。カードの高さを揃えるため */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    transition: color .2s;
}
.oonote_sidebar_ranking_item a:hover .oonote_sidebar_ranking_title {
    color: var(--color-orange, #e63200);
}
.oonote_sidebar_more {
    display: block;
    margin-top: 18px;
    padding-top: 14px;
    font-size: 1.3rem;
    font-weight: 700;
    text-align: center;
    color: var(--color-orange, #e63200);
    border-top: 1px solid #ececec;
    transition: opacity .2s;
}
.oonote_sidebar_more:hover {
    opacity: .7;
}
/* カテゴリから探す */
.oonote_sidebar_cats {
    list-style: none;
}
.oonote_sidebar_cat_item + .oonote_sidebar_cat_item {
    border-top: 1px solid #ececec;
}
.oonote_sidebar_cat_item a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 20px 12px 16px;
    position: relative;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-black, #202020);
    transition: color .2s;
}
.oonote_sidebar_cat_item a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 6px;
    height: 6px;
    background-color: var(--color-orange, #e63200);
    border-radius: 50%;
    transform: translateY(-50%);
}
.oonote_sidebar_cat_item a::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 4px;
    width: 6px;
    height: 6px;
    border-top: 2px solid var(--color-orange, #e63200);
    border-right: 2px solid var(--color-orange, #e63200);
    transform: translateY(-50%) rotate(45deg);
}
.oonote_sidebar_cat_item a:hover {
    color: var(--color-orange, #e63200);
}
.oonote_sidebar_cat_count {
    flex-shrink: 0;
    margin-right: 8px;
    font-size: 1.2rem;
    color: #8a8a8a;
}
.single-oonote #main {
    margin-top: 0;
}
@media screen and (max-width: 1099px) {
    /* サイドバーを本文の下へ。幅は本文と揃える */
    .oonote_single_layout {
        flex-direction: column;
        align-items: center;
    }
    .oonote_single_container {
        width: 100%;
    }
    .oonote_sidebar {
        width: 100%;
        max-width: 840px;
        padding-top: 48px;
    }
    /* バナーはPCのサイドバー幅(320px)前提で作るため、
       ここで840pxまで引き伸ばさず480pxで止めて中央に置く */
    .oonote_sidebar_bnr {
        max-width: 480px;
        margin: 0 auto;
    }
}

/* ---------------------------------------------------------
   ヘッダーの記事検索（template-parts/oonote-searchform.php）
   ナビの右、CTAボタン2つの手前に置く。
   PCは幅を固定し、ドロワー（1099px以下）では横幅いっぱいにする。
   --------------------------------------------------------- */
.oonote_search {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 200px;
    height: 44px;
    background-color: var(--color-white, #fff);
    border: 1px solid #d5d5d5;
    border-radius: 4px;
    transition: border-color .2s;
}
.oonote_search:focus-within {
    border-color: var(--color-orange, #e63200);
}
.oonote_search_input {
    flex: 1;
    min-width: 0;
    height: 100%;
    padding: 0 0 0 12px;
    font-family: inherit;
    font-size: 1.3rem;
    color: var(--color-black, #202020);
    background-color: transparent;
    border: none;
}
.oonote_search_input::placeholder {
    color: #a5a5a5;
}
.oonote_search_input:focus {
    outline: none;
}
/* iOSのSafariが input[type=search] に付ける装飾を消す */
.oonote_search_input::-webkit-search-decoration,
.oonote_search_input::-webkit-search-cancel-button {
    -webkit-appearance: none;
}
.oonote_search_submit {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 100%;
    padding: 0;
    color: #6b6b6b;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: color .2s;
}
.oonote_search_submit:hover {
    color: var(--color-orange, #e63200);
}
.oonote_search_submit svg {
    display: block;
}

/* 検索結果の件数と、結果が無いときの文言。
   記事一覧・カテゴリ別一覧の「記事がまだありません。」も同じクラス */
.oonote_archive_count {
    font-size: 1.4rem;
    color: #6b6b6b;
    margin-bottom: 20px;
}
.oonote_archive_empty {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #6b6b6b;
}

/* ノートPC幅はナビ全体を詰めているので、検索窓も一段小さくする */
@media screen and (max-width: 1399px) and (min-width: 1100px) {
    .oonote_search {
        width: 150px;
        height: 38px;
    }
    .oonote_search_input {
        padding-left: 10px;
        font-size: 1.2rem;
    }
    .oonote_search_submit {
        width: 34px;
    }
}
@media screen and (max-width: 1099px) {
    .oonote_search {
        width: 100%;
        height: 48px;
    }
    .oonote_search_input {
        font-size: 1.4rem;
    }
}
@media screen and (max-width: 640px) {
    .oonote_archive_count {
        font-size: 1.3rem;
        margin-bottom: 16px;
    }
    .oonote_archive_empty {
        font-size: 1.4rem;
    }
}