/* HTMLマニュアル ナビゲーションメニュー スタイルファイル */

/* 全体 */
.side-nav {
    font-size: 1rem;
    line-height: 1.5;
    width: 320px;
    padding-top: 50px;
    padding-right: 25px;
    padding-bottom: 30px;
    padding-left: 25px;
    overflow-y: auto;
    transition-duration: 0.1s;
}

/* メニュー非表示時のメニュー全体 */
body.menu-close .side-nav {
    display: none;
}

/* タイトル */
.nav-menu a {
    color: #2b383f;
    text-decoration: none;
    display: block;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 7px;
    padding-right: 30px;
}

/* L1タイトル */
.nav-menu li.L1 > a {
    font-weight: 500;
}

/* L2タイトル */
.nav-menu li.L2 > a {
    margin-left: 1rem;
    margin-right: 8px;
    margin-top: 4px;
    margin-bottom: 4px;
    padding-top: 6px;
    padding-bottom: 6px;
    border-radius: 3px;
}

/* L3タイトル */
.nav-menu li.L3 > a {
    margin-left: 2rem;
    margin-right: 0.5rem;
    margin-top: 4px;
    margin-bottom: 4px;
    padding-top: 6px;
    padding-bottom: 6px;
    border-radius: 3px;
}

/* L1タイトル（配下含む） */
.nav-menu li.L1 {
    border-bottom: 1px solid #e0e0e0;
}

.nav-menu li.L1:first-child {
    border-top: 1px solid #e0e0e0;
}

/* 展開可能なタイトル */
.nav-menu a.menu-parent {
    position: relative;
}

/* 展開したタイトル（配下含む） */
.nav-menu li.is-active {
    background-color: #f5f5f5;
}

/* 展開したL1タイトル */
.nav-menu li.L1.is-active > a {
    color: var(--honda-red-color);
}

/* コンテンツ表示中のタイトル */
.nav-menu a.hit {
    color: white !important;
    background-color: var(--honda-red-color) !important;
}

/* ホバー中のタイトル */
.nav-menu a:hover {
    color: var(--honda-red-color);
    background-color: #f5f5f5;
}

/* 子タイトル */
.nav-menu ul.menu-children {
    display: none;
}

/* 矢印アイコン */
.nav-menu a.menu-parent::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 18px;
    margin: auto;
    vertical-align: middle;
    width: 8px;
    height: 8px;
    border-top: 1px solid gray;
    border-right: 1px solid gray;
    transform: rotate(45deg);
    transition: 0.25s ease-in-out;
}

/* L2,L3タイトルの矢印アイコン */
.nav-menu .L2 a.menu-parent::after {
    right: 10px;
}

/* 展開した矢印アイコン */
.nav-menu li.is-active > a.menu-parent::after {
    transform: rotate(135deg);
}

/* コンテンツ表示中の矢印アイコン */
.nav-menu a.menu-parent.hit::after {
    border-color: #fff;
}

/*============================
表紙の目次
============================*/
div[tcd="JA001003"] .inner_res h1 {
    font-size: 1rem;
    border: none;
}

.totalTOC .L1 {
    margin-top: 0.5rem;
}

.totalTOC .L3 {
    padding-left: 1.7rem;
}

.totalTOC a[href] {
    color: #3865e0;
}

.totalTOC a[href]:hover {
    text-decoration: underline;
}
