a {
    word-break: break-all;
}

.ad-wrap {
    max-width: 970px;
    margin: 0 auto;
    overflow: hidden;
}

.adslot-header {
    display: block;
    width: 100%;
    max-width: 970px;
    height: 90px;
    margin: 0 auto;
}

.s-okada_card-wrap {
    width: 100%;
    min-height: 130px;
    border: 1px solid #E0E0E0;
    border-radius: 3px;
    margin: 10px 0;
    padding: 15px;
    line-height: 1.4;
    text-align: left;
    background: #FFFFFF;
}

.s-okada_card-wrap .s-okada_thumbnail {
    float: right;
    width: 100px;
    padding: 0 0 0 10px;
    margin: 0 0 5px 5px;
}

.s-okada_card-wrap .s-okada_thumbnail img {
    width: 100%;
    height: auto;
    max-height: 100px;
    min-width: 0;
    border: 0 none;
    margin: 0;
}

.s-okada_card-wrap .s-okada_title {
    font-size: 112.5%;
    font-weight: 700;
    color: #333333;
    margin: 0 0 5px 0;
}

.s-okada_card-wrap .s-okada_description {
    font-size: 87.5%;
    font-weight: 400;
    color: #666666;
}

/* ナビゲーション */
.hidden {
    display: none;
}

.navbar-nav-wrap {
    display: flex;
    flex-wrap: wrap;
    flex-basis: 100%;
    align-items: center
}

.navbar-nav-wrap .navbar-toggler {
    margin-left: auto;
}

.navbar-toggler {
    height: 37.5px;
}

.navbar-light .navbar-toggler {
    color: #677788;
    border-color: rgba(33, 50, 91, .1)
}

.navbar-nav li {
    padding: 10px;
}

@media (min-width: 992px) {

    .navbar-expand-lg.navbar-end .navbar-absolute-top-scroller,
    .navbar-expand-lg.navbar-end .navbar-sticky-top-scroller {
        margin-left: auto;
    }

    .navbar-nav li {
        padding: 0 10px;
    }
}

/* ページネーションの汎用スタイル */
.nav-links ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.nav-links li>* {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    height: 45px;
}

.nav-links li>*:not(.dots) {
    width: 45px;
    border-radius: 50%;
    color: #000000;
    background: #efefef;
    transition: color 0.3s ease, background 0.3s ease;
}

.nav-links li>.current,
.nav-links li>a:hover {
    color: #ffffff;
    background: #000000;
}

/* プロファイル用のスタイル */
.author_bio_section {
    background-color: #F5F5F5;
    padding: 15px;
    border: 1px solid #ccc;
}

.author_name {
    font-size: 16px;
    font-weight: bold;
}

.author_details img {
    border: 1px solid #D8D8D8;
    border-radius: 50%;
    float: left;
    margin: 0 10px 10px 0;
}

.s-okada_menu {
    list-style: none;
}

footer.author_bio_section {
    margin-top: 30px;
}

.okada-hero {
    border-bottom: 1px solid rgba(0, 0, 0, .08);
    background: linear-gradient(180deg, rgba(13, 110, 253, .08), rgba(255, 255, 255, 0));
}

.okada-hero .custom-logo {
    height: 40px;
    width: auto;
}

.okada-hero .custom-logo-link {
    display: inline-block;
}

/* HERO全体 */
.post-hero {
    background: #f8f9fa;
    /* Bootstrapの薄いグレー相当 */
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

/* ブランド画像は「ロゴ扱い」に縮小 */
.post-hero__brand {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 10px;
}

/* 右側メディア枠：巨大化防止 + 見栄え安定 */
.post-hero__media {
    max-width: 520px;
    /* PCで大きくなりすぎないよう制御 */
    margin-left: auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

/* 画像：固定比率で整える（縦横比がバラバラでも破綻しない） */
.post-hero__img {
    width: 100%;
    height: 320px;
    /* 好みで 260〜380px くらい */
    object-fit: cover;
    display: block;
}

/* 画像がない場合の枠 */
.post-hero__media--placeholder {
    height: 320px;
    display: grid;
    place-items: center;
    background: #ffffff;
    border: 1px dashed rgba(0, 0, 0, .15);
}

/* スマホでは高さを少し下げる */
@media (max-width: 575.98px) {

    .post-hero__img,
    .post-hero__media--placeholder {
        height: 220px;
    }
}

/* Archive HERO */
.archive-hero {
    background: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.archive-hero__brand {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 10px;
}

/* Archive Card */
.archive-card {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 14px;
    overflow: hidden;
}

.archive-card__thumb {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.archive-card__img {
    width: 100%;
    height: 140px;
    /* 一覧は高さを固定して揃える */
    object-fit: cover;
    display: block;
}

@media (min-width: 992px) {
    .archive-card__img {
        height: 160px;
    }
}


/* singular: article content width */
.blog-post .content-txt {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.blog-post .content-txt img,
.blog-post .content-txt iframe,
.blog-post .content-txt video {
    max-width: 100%;
    height: auto;
}

/* cross box */
.box17 {
    margin: 2em 0;
    position: relative;
    padding: 0.5em 1.5em;
    border-top: solid 2px black;
    border-bottom: solid 2px black;
}

.box17:before,
.box17:after {
    content: '';
    position: absolute;
    top: -10px;
    width: 2px;
    height: -webkit-calc(100% + 20px);
    height: calc(100% + 20px);
    background-color: black;
}

.box17:before {
    left: 10px;
}

.box17:after {
    right: 10px;
}

.box17 p {
    margin: 0;
    padding: 0;
}

/* taitle + text box */
.box26 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #95ccff;
    border-radius: 8px;
}

.box26 .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    font-weight: bold;
}

.box27 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #FFC107;
    border-radius: 8px;
}

.box27 .box-title {
    position: absolute;
    display: inline-block;
    top: -13px;
    left: 10px;
    padding: 0 9px;
    line-height: 1;
    font-size: 19px;
    background: #FFF;
    font-weight: bold;
}

.box28 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #95ccff;
}

.box28 .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #95ccff;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}

.box29 {
    position: relative;
    margin: 2em 0;
    padding: 0.5em 1em;
    border: solid 3px #FFC107;
}

.box29 .box-title {
    position: absolute;
    display: inline-block;
    top: -27px;
    left: -3px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #FFC107;
    color: #ffffff;
    font-weight: bold;
    border-radius: 5px 5px 0 0;
}

.box26 p,
.box27 p,
.box28 p,
.box29 p {
    margin: 0;
    padding: 0;
}