/* ==========================================
   アクセサリーページ専用CSS
   ========================================== */

/* ヒーローバナー */
.hero-banner {
    position: relative;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* お知らせセクション */
.news-section {
    background-color: #f9f9f9;
    padding: 48px 0;
    width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
}

.news-section-inner {
    max-width: 1216px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.news-section-title {
    font-family: var(--font-family-bold);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    line-height: 1.5;
    letter-spacing: 0.64px;
    color: #222222;
    flex-shrink: 0;
}

.news-section-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-section-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.news-section-date {
    font-family: var(--font-family-regular);
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    letter-spacing: 0.56px;
    color: #666666;
    flex-shrink: 0;
}

.news-section-text {
    font-family: var(--font-family-regular);
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    letter-spacing: 0.56px;
    color: #222222;
    flex: 1;
    text-decoration: none;
}

.news-section-text:hover {
    text-decoration: underline;
}

/* PC版: 1024px以上 */
@media (min-width: 1024px) {
    .news-section-inner {
        padding: 0 112px;
        flex-direction: row;
        gap: 32px;
    }

    .news-section-title {
        width: 175.99px;
    }

    .news-section-item {
        flex-direction: row;
        gap: 32px;
        align-items: center;
    }

    .news-section-date {
        font-size: 16px;
        letter-spacing: 0.64px;
        color: #222222;
    }

    .news-section-text {
        font-size: 16px;
        letter-spacing: 0.64px;
    }
}

/* セクション見出し */
.section-heading {
    font-family: var(--font-family-bold);
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    line-height: 1.5;
    letter-spacing: 0.96px;
    color: #222222;
}

/* PC版: 1024px以上 */
@media (min-width: 1024px) {
    .section-heading {
        font-size: 32px;
        letter-spacing: 1.28px;
    }
}

/* カラムレイアウト - タイトル（大） */
.c-columnsdop-ttl-lg {
    font-family: var(--font-family-bold);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    line-height: 1.5;
    letter-spacing: 0.48px;
    color: #222222;
    margin-bottom: 0;
}

/* カラムレイアウト - タイトル（通常） */
.c-columnsdop-ttl {
    font-family: var(--font-family-bold);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    line-height: 1.5;
    letter-spacing: 0.64px;
    color: #222222;
    margin-bottom: 16px;
}

/* カラムレイアウト - 画像↔バッジ間のgapを16pxに（gap:8px + margin-top:8px） */
.c-columnsdop-item .product-card-badge {
    margin-top: 8px;
}

/* カラムレイアウト - タイトル（通常）個別調整 */
.column-ttl-lgsub {
    margin-top: -8px !important;
}

/* プレゼンテーションエリア - メインタイトル */
.c-presentationdop-ttl {
    font-family: var(--font-family-bold);
    font-size: 24px;
    font-weight: var(--font-weight-bold);
    line-height: 1.5;
    letter-spacing: 0.96px;
    color: #222222;
    margin-bottom: 16px;
}

/* PC版: 1024px以上 */
@media (min-width: 1024px) {
    .c-presentationdop-ttl {
        font-size: 32px;
        letter-spacing: 1.28px;
    }
}

/* プレゼンテーションエリア - テキスト */
.c-presentationdop-txt {
    font-family: var(--font-family-regular);
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    letter-spacing: 0.56px;
    color: #222222;
    margin-bottom: 16px;
}

/* PC版: 1024px以上 */
@media (min-width: 1024px) {
    .c-presentationdop-txt {
        font-size: 16px;
        letter-spacing: 0.64px;
    }
}

/* プレゼンテーションエリア - 注釈ラッパー */
.c-presentationdop-note-wrapper {
    display: flex;
    margin-bottom: 16px;
}

/* プレゼンテーションエリア - 注釈 */
.c-presentationdop-note {
    font-family: var(--font-family-regular);
    font-size: 10px;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    letter-spacing: 0.4px;
    color: #666666;
    flex: 1;
}

/* PC版: 1024px以上 */
@media (min-width: 1024px) {
    .c-presentationdop-note {
        font-size: 12px;
        letter-spacing: 0.48px;
    }
}

/* ソフトウェアボックス */
.software-box {
    background-color: #ffffff;
    border: 1px solid #000000;
    padding: 25px;
}

.software-box a {
    text-decoration: none !important;
}

.software-box a:hover {
    text-decoration: none !important;
}

.software-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    text-decoration: none !important;
    color: inherit;
}

.software-item:hover {
    text-decoration: none !important;
    background-color: #f4f4f4;
}

.software-item:not(:last-child) {
    border-bottom: 1px solid #e0e0e0;
}

.software-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.software-item-title {
    font-family: var(--font-family-bold);
    font-size: 20px;
    font-weight: var(--font-weight-bold);
    line-height: 1.5;
    letter-spacing: 0.8px;
    color: #000000;
}

.software-item-text {
    font-family: var(--font-family-regular);
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    letter-spacing: 0.56px;
    color: #222222;
}

.software-item-icon {
    width: 8.4px;
    height: 14px;
    flex-shrink: 0;
}

/* ソフトウェア説明文 */
.software-description {
    font-family: var(--font-family-regular);
    font-size: 14px;
    font-weight: var(--font-weight-regular);
    line-height: 1.5;
    letter-spacing: 0.56px;
    color: #222222;
    margin-bottom: 16px;
}

/* PC版: 1024px以上 */
@media (min-width: 1024px) {
    .software-description {
        font-size: 16px;
        letter-spacing: 0.64px;
    }
}

/* 取扱説明書セクションの下マージン */
.software-box:has(.software-description) {
    margin-bottom: 96px;
}

/* シンプルなソフトウェアアイテム */
.software-item.-simple {
    padding: 16px 0;
}

.software-item.-simple:not(:last-child) {
    border-bottom: none;
}

.software-item.-simple .software-item-content {
    gap: 0;
}

.software-item.-simple .software-item-icon {
    width: 14px;
    height: 14px;
}

/* 「用品適合検索へ」リンク アイコンとのgap */
.c-carcolumnsdop-link.-no-after {
    gap: 8px;
}

/* 「車種を選ぶ」リンク フォントサイズ上書き */
.c-carcolumnsdop-link {
    font-size: 16px;
    letter-spacing: 0.64px;
}

.c-carcolumnsdop-link::after {
    transform: translateY(-2px);
}

/* 関連メニュー - カードラベル（グレー小テキスト） */
.c-related-label {
    font-family: var(--font-family-bold);
    font-size: 12px;
    font-weight: var(--font-weight-bold);
    line-height: 1.5;
    letter-spacing: 0.48px;
    color: #666666;
}

/* 関連メニュー - カードタイトル */
.c-related-title {
    font-family: var(--font-family-bold);
    font-size: 16px;
    font-weight: var(--font-weight-bold);
    line-height: 1.5;
    letter-spacing: 0.64px;
    color: #222222;
    margin-top: -4px;
}

/* SP版: 1023px以下 */
@media (max-width: 1023px) {
    /* KV: 左右余白なし */
    .hero-banner.c-contentbasedop {
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }
}
