/* HTMLマニュアル 全体スタイルファイル */

/* CSS変数 */
:root {
    --honda-red-color: #CC0000;
}

/*============================
全体
============================*/
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    overflow-y: hidden;
    font-weight: 400;

    /* lang.cssの影響をリセット */
    font-size: 1rem;
    line-height: 1;
}

.main {
    display: flex;
    max-width: 1500px;
    margin: 0 auto;
}

.side-nav, .content {
    height: 100vh;
}

.content {
    background-color: white;
    overflow-y: auto;
    font-size: 1rem;
    line-height: 1.6;
    flex: 1;
    padding-top: 50px;
    padding-left: 3rem;
    padding-right: 3rem;
    padding-bottom: 1rem;
}

/*============================
ナビのメニュー以外の項目
============================*/
/* ロゴ */
.head-icon-logo {
    margin-bottom: 35px;
}

.logo-image {
    height: 37px;
    background-image: url("image/logo.svg");
    background-repeat: no-repeat;
    background-position: center center;
}

/* 検索フォーム */
#search-keyword {
    margin-bottom: 2rem;
}

#search-keyword input {
    width: 100%;
    height: 2.5em;
    border-radius: 3px;
    border: 1px solid #bdbdbd;
    padding: 0 5px;
    font-size: 14px;
}

#search-keyword input::placeholder {
    color: #9e9e9e;
}

#search-keyword > input:focus {
    outline: none;
    border-color: var(--honda-red-color)
}

#search-keyword > input:focus::placeholder {
	color: transparent; /* フォーカスしたときプレースホルダーを透明にして見えなくする */
}

/* 資料管理No */
#doc-control-no {
    font-size: 0.8rem;
    color: rgb(102, 118, 128);
    margin-top: 0.5rem;
    text-align-last: right;
}

/*============================
フッター
============================*/
footer {
    display: none;
}

/*============================
コンテンツ領域のヘッダー、フッター
============================*/
/* ドキュメントタイトル */
#content-header:not(.hidden) {
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    display: inline-block;
    position: fixed;
    top: 0;
    left: calc(320px + (100vw - 320px)/2);
    transform: translateX(-50%);
    max-width: calc(100vW - 320px - 40px);
    padding: 5px;
    z-index: 910;
}

#content-header.hidden {
    display: none;
}

/* コピーライト */
#copyright {
    font-size: 0.8rem;
    color: rgb(102, 118, 128);
    margin-top: 1rem;
    text-align-last: center;
}

/*============================
パンくず、前へ、次へ：非表示
============================*/
.breadcrumb,
.page-jump {
    display: none;
}

/*============================
ページトップボタン
============================*/
#page-top {
    position: fixed;
    bottom: 15px;
    right: 30px;
    z-index: 910;
    display: none;
}

#page-top a {
    display: block;
    text-align-last: center;
    padding-top: 10px;
    text-decoration: none;
    color: #fff;
    background-color: var(--honda-red-color);
    border-radius: 3px;
    width: 45px;
    height: 45px;
}

/*============================
印刷時のスタイル
============================*/
@media print {
    .content {
        height: 100% !important;
    }

    .side-nav,
    #page-top,
    #searchPopup {
        display: none !important;
    }
}
