﻿.article-root {
    font-family: 'Noto Sans Japanese', 'serif';
}

#article-content {
    padding-left: 26px;
    overflow-wrap: break-word;
}

#article-content p:empty {
    display: block;
    height: 1em; /* または margin で調整 */
}


/*各位*/
.article-root .article-salutation {
    letter-spacing: 0.5em;
    padding-left: 26px;
}
/* 著者名 */
.article-root .article-author {
    font-weight: bold;
    color: #333;
}

/* 会社名・代表者名、コード番号、問合せ先 */
.article-root .company-info {
    margin-left: auto;
    width: 40%;
    margin-bottom: 40px;
}
/* 外枠を右寄せ */
.info-wrapper {
    display: flex;
    justify-content: flex-end; /* ← 右に寄せる */
    margin-bottom: 40px;
}

.info-list {
    display: flex;
    flex-direction: column;
    /*line-height: 1.8;*/
    /*width: fit-content; /* 必要な分だけの横幅にする */
}

.row {
    display: grid;
    grid-template-columns: 5em 7em 1fr;
    gap: 1.5em;
}

.row-2col {
    grid-template-columns: 9em 1fr;
}

.item {
    /* font-weight: bold; */
    /* color: #333; */
    text-align: justify;
    text-align-last: justify;
}

/* 投稿・更新日時 */
.article-root .article-datetime {
    text-align: right;
    /*color: #4b4b4b;
    margin: 0;*/
    font-size: 0.9rem;
}

.article-root h1 {
    color: #444;
    line-height: 1.2;
    font-weight: 400;
    font-size: 2.5rem;
    margin: 0;
    text-align: center;
}

.article-root h2 {
    color: #444;
    line-height: 1.2;
    font-weight: 400;
    font-size: 1.5rem;
    border-bottom: solid 2px #ddd;
    padding: 1rem 0px;
    margin: 0 0 0.5rem;
}

.article-root h3 {
    color: #444;
    line-height: 1.2;
    font-weight: 400;
    font-size: 1.2rem;
    border-left: solid 3px #999;
    padding: .75rem 1rem;
    margin: 0 0 0.5rem;
}

.article-root ul li::marker {
    font-size: 1.5rem;
    color: #969696;
}

.article-root ol li::marker {
    color: #666;
    font-weight: bold;
}

.article-root a {
    color: #316dcc;
    text-decoration: none;
}

    .article-root a:hover {
        text-decoration: underline;
    }

.article-root table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border-top: 1px solid #aaa;
    border-left: 1px solid #aaa;
    background-color: #fff;
}

.article-root th {
    background-color: #555;
    vertical-align: middle;
    padding: 1.2em 1.3em 1.1em;
    border-right: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    font-weight: normal;
    color: ghostwhite;
}

.article-root td {
    vertical-align: middle;
    padding: 1.2em 1.3em 1.1em;
    border-right: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    font-weight: normal;
}

/*.article-root hr {
    height: 1px;
    border: 0;
    border-top: 1px solid #ddd;
    margin: 1em 0;
}*/

.article-root img {
    max-width: 95%;
}

/*20250328 追記*/
.article-root code {
    background-color: #f5f5f5;
    padding: 0.2em;
    border-radius: 3px;
    color: #333;
}


.btn_lists {
    padding: 16px 16px 14px;
    background-color: #0c479d;
    color: #ffffff !important;
    text-decoration: none;
}

/* 画像クラス */
.img-left {
    float: left;
    margin-right: 1em;
}

.img-center {
    display: block;
    margin: 0 auto;
}

.img-right {
    float: right;
    margin-left: 1em;
}

.clear-both {
    clear: both;
}

.custom-block {
    clear: both;
}

video {
    width: 100%;
}