#article,
.article-sidenav {
    padding-left: 0.5em;
    padding-right: 0.5em;
}
#article .article-header .article-title { text-align: left; }
#article .article-name { text-align: right; }

#article .article-sub-title {
    border-bottom: 1px solid #999;
    margin-bottom: 30px;
    padding-bottom: 10px;
    font-size: 1.75em;
    font-weight: bold;
    text-align: justify;
}
.pane-main:not([class*="col-"]) #article {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.article-detail-contents * {
    white-space: normal;
}
/* ----------------------------------------
    右メニュー
---------------------------------------- */
.article-sidenav li .article-series {
    font-size: 14px;
}
.article-sidenav li .article-category {
    margin: 0 0 .25em;
}
[data-browse-mode="P"] .article-sidenav .no-article-list {
    margin: 0 0 20px;
}
[data-browse-mode="S"] .article-sidenav .no-article-list {
    padding: 0 10px 20px;
}
/* ----------------------------------------
    タグ
---------------------------------------- */
.article-tag {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.article-tag .tag-link {
    background-color: var(--common-green-color);
    color: white;
    display: inline-block;
    padding: 3px 15px;
    border-radius: 100em;
}

/* ----------------------------------------
    ajax商品一覧
---------------------------------------- */
.article-item-lists .item-list-wrap {
    background: var(--common-gray-color);
    padding: 2em;
}
.article-item-lists .item-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.article-item-lists .item {
    background-color: white;
}
.article-item-lists .item .item-detail {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}
.article-item-lists .item:not(:first-child:last-child) {
    padding: 1em;
    display: flex;
    height: 100%;
    flex-direction: column;
    gap: 20px;
}
.article-item-lists .item:first-child:last-child {
    display: flex;
    gap: 20px;
    background-color: white;
    padding: 2em;
}
.article-item-lists .item:first-child:last-child .img-block-wrap {
    width: 50%;
}
.article-item-lists .item:first-child:last-child .item-detail {
    width: 50%;
}
.article-item-lists .article-detail-btn {
    /* margin-top: auto; */
}
.article-detail-btn .block-add-cart--btn {
    width: 100%;
    font-size: 16px;
}
.article-item-lists .img-block {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.article-item-lists .img-block img {
  max-width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  margin: auto;
}
.article-item-lists .item .item-detail .name {
    font-weight: bold;
    font-size: 16px;
}
.article-item-lists .item:first-child:last-child .name {
    font-size: 20px;
}
.article-item-lists .item .item-detail .price {
    text-align: right;
    font-size: 20px;
    margin-top: auto;
}
.article-item-lists .item .item-detail .comment {
    font-size: 16px;
}
.article-detail-btn + .link-btn-wrap {
    margin-top: 10px;
}
.article-detail-btn + .link-btn-wrap .link-btn {
    max-width: none;
    font-size: 16px;
}
/* スマホ */
[data-browse-mode="S"] .article-item-lists .item:first-child:last-child {
    flex-direction: column;
}
[data-browse-mode="S"] .article-item-lists .item:first-child:last-child .img-block-wrap,
[data-browse-mode="S"] .article-item-lists .item:first-child:last-child .item-detail {
    width: auto;
}
[data-browse-mode="S"] .article-item-lists {
    margin: 30px 0 0;
}
[data-browse-mode="S"] .article-item-lists .item:not(:first-child:last-child) .item-detail .price {
    font-size: 14px;
}
[data-browse-mode="S"] .article-detail-btn+.link-btn-wrap {
    margin-top: 0;
}
[data-browse-mode="S"] .article-detail-btn .block-add-cart--btn {
    margin: 0;
    font-size: clamp(12px,3.1vw,16px);
}
[data-browse-mode="S"] .article-item-lists .item .item-detail .comment {
    font-size: 14px;
}
[data-browse-mode="S"] .item:first-child:last-child .article-detail-btn .block-add-cart--btn {
    font-size: 14px;
}
[data-browse-mode="S"] .article-detail-btn + .link-btn-wrap .link-btn {
  font-size: 14px;
}
[data-browse-mode="S"] .article-item-lists .item-list-wrap {padding: 1.5em 0.8em;}
[data-browse-mode="S"] .article-item-lists .item-list {grid-template-columns: repeat(auto-fit, minmax(calc((100% - 20px) / 2), 1fr));}

/* ----------------------------------------
    イベント：詳細テーブル
---------------------------------------- */
table.event-detail-info {
    border: 1px solid #888;
    width: calc(100% - 60px);
    margin: 0 auto 80px;
    table-layout: fixed;
}
table.event-detail-info .caption,
table.event-detail-info .data {
    padding: 10px;
}
table.event-detail-info .caption {
    background-color: #f0f0f0;
    width: 20%;
    font-weight: bold;
    text-align: justify;
}
table.event-detail-info .data {
    width: 80%;
    white-space: normal;
    word-break: break-all;
}
table.event-detail-info tr + tr {
    border-top: 1px solid #888;
}
@media (max-width: 768px) {
    table.event-detail-info .caption {
        width: 38%;
    }
    table.event-detail-info .data {
        width: 72%;
    }
    table.event-detail-info {
        width: auto;
    }
}