@charset "utf-8";

/* ----------------------------
  common settings
------------------------------- */

* {
    margin: 0;
    -webkit-text-size-adjust: 100%;
}

html {
    font-size: 14px;
    font-family: source-han-sans-japanese, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    height: 100%;
}

html[lang="en"] {
    font-size: 16px;
    font-family: myriad-pro, helvetica, Arial, meiryo, sans-serif;
}

body {
    height: 100%;
}

html[lang="en"] #contents p,
html[lang="en"] #contents li {
    line-height: 1.3em;
    word-break: break-word;
}

html[lang="en"] #contents .framed_outer p,
html[lang="en"] #contents .framed_outer ol li,
html[lang="en"] #contents .framed_outer ul li {
    word-break: initial;
}


/* ----------------------------
  frame
------------------------------- */

#main_contents {
    display: flex;
    height: 100%;
}

#contents {
    padding: 0.25rem 0.5rem;
    overflow-y: auto;
    flex-grow: 1;
    max-width: -webkit-fill-available;
}

.mnl-layout-container.of-main #contents {
    overflow-y: initial;
}

#topic_list_nav {
    min-width: 280px;
    width: 280px;
    max-width: 40%;
    overflow-y: auto;
    position: relative;
    border-left: solid 1px #A0A0A0;
    flex-shrink: 0;
}

#topic_list_nav.close {
    min-width: 1.0em;
    width: auto !important;
    padding: 0.5em;
}

#topic_list_title {
    display: block;
    font-size: calc(1.0rem + 4px);
    margin: 1.0em;
    font-weight: bold;
    padding-left: 2.0em;
    border-bottom: solid 1px #A0A0A0;
}

.topic_list_nav_button {
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer;
    position: relative;
    top: 1.5rem;
    left: 1.5rem;
    float: left;
}

html[lang="en"] .topic_list_nav_button {
    width: 1.3rem;
    height: 1.3rem;
    top: 1.3rem;
    left: 1.5rem;
}

.topic_list_nav_button.menu,
html[lang="en"] .topic_list_nav_button.menu {
    margin: 0;
    left: 0;
    top: 0;
    float: right;
}

#topic_list {
    padding: 0 2.0em 0 0;
}

#topic_list li {
    list-style: none;
    margin: 0;
    background: none;
    border: none;
    border-radius: 0;
}

#topic_list li span {
    cursor: pointer;
    text-decoration: none;
    color: #000;
    width: 100%;
    display: block;
    padding: 5px 1.0em;
}

#topic_list li span:hover {
    text-decoration: underline;
    background-color: rgba(160, 160, 160, 0.3);
}

#topic_list li span.current {
    font-weight: bold;
    background-color: #A0A0A0;
}

#topic_list li.level1 {
    margin-left: 0;
}

#topic_list li.level2 {
    margin-left: 1.0em;
}

#topic_list li.level3 {
    margin-left: 2.0em;
}


/* ----------------------------
  header
------------------------------- */

.chapter_title {
    font-size: calc(1.0rem + 12px);
    font-weight: bold;
    padding: 0.5rem;
    border-left: solid 1.0rem #00B005;
    color: #404040;
}

.chapter_num {
    font-size: 100%;
    font-weight: bold;
}

.header_level1 {
    padding: 0.25rem 1.0rem;
    margin: 2.5rem 0 0.5rem;
    border-radius: 0.5rem;
    font-size: calc(1.0rem + 10px);
    font-weight: bold;
    background: #00B005;
    color: #fff;
}

.header_level2,
.header_level2_H2 {
    padding: 0.25rem 1.0rem;
    margin: 2.0rem 0 0.5rem;
    font-size: calc(1.0rem + 8px);
    font-weight: bold;
    background: #D9D9D9;
    color: #404040;
}

.header_level3,
.header_level3_cmd,
.header_level3_fold {
    padding: 0.25rem 0.25rem 0.25rem 0.75rem;
    margin: 2.0rem 0 0.5rem;
    font-weight: bold;
    border-left: solid 0.5em #00B005;
    color: #404040;
}

.header_level3,
.header_level3_cmd,
.header_level3_fold,
.header_level3_fold .toggle_button_label,
.header_level3_fold .toggle_button::before {
    font-size: calc(1.0rem + 6px);
}

.header_level4,
.header_level4_fold,
.header_level4_fold .toggle_button_label,
.header_level4::before,
.header_level4_fold .toggle_button::before {
    font-size: calc(1.0rem + 4px);
}

.header_level4::before,
.header_level4_fold .toggle_button::before {
    content: "";
    background: #00B005;
    width: 1rem;
    height: 1rem;
}

html[lang="en"] .header_level4::before,
html[lang="en"] .header_level4_fold .toggle_button::before {
    font-size: 1.4em;
    display: inline-block;
}

.header_level4,
.header_level4_fold {
    margin: 1.5rem 0 0.25rem 0.75rem;
    font-weight: bold;
    color: #404040;
}

.header_level5,
.header_level5_ind,
.header_level5_fold,
.header_level5_fold .toggle_button_label,
.header_level5_ind_fold,
.header_level5_ind_fold .toggle_button_label,
.header_level5::before,
.header_level5_ind::before,
.header_level5_fold .toggle_button::before,
.header_level5_ind_fold .toggle_button::before {
    font-size: calc(1.0rem + 2px);
}

.header_level5::before,
.header_level5_ind::before,
.header_level5_fold .toggle_button::before,
.header_level5_ind_fold .toggle_button::before {
    content: "";
    background: #00B005;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
}

html[lang="en"] .header_level5::before,
html[lang="en"] .header_level5_ind::before,
html[lang="en"] .header_level5_fold .toggle_button::before,
html[lang="en"] .header_level5_ind_fold .toggle_button::before {
    font-size: 1.4em;
    display: inline-block;
}

.header_level5,
.header_level5_fold {
    margin: 1.5rem 0 0.25rem 1.35rem;
    font-weight: bold;
    color: #404040;
}

.header_level5_ind,
.header_level5_ind_fold {
    margin: 1.5rem 0 0.25rem 1.35rem;
    font-weight: bold;
    color: #404040;
}

.header_level3_fold .toggle_button,
.header_level4_fold .toggle_button,
.header_level5_fold .toggle_button,
.header_level5_ind_fold .toggle_button {
    font-weight: bold;
}

.header_level6,
.header_level6_ind {
    font-size: calc(1.0rem + 2px);
}

.header_level6_ind {
    margin: 0.5rem 0 0.25rem 2.5rem;
    font-weight: bold;
    color: #404040;
}


/* ----------------------------
  body
------------------------------- */

.body,
.body_bold {
    margin-left: 2.5rem;
}

.body_ind,
.body_ind_bold {
    margin-left: 4.35rem;
}

.body_ind2 {
    margin-left: 7.2rem;
}

li .body_ind2 {
    margin-left: 0;
}

.body_bold,
.body_ind_bold {
    font-weight: bold;
}

.table_head_c {
    text-align: center;
    font-weight: bold;
}

.table_head_left {
    text-align: left;
    font-weight: bold;
}

.table_body {
    margin-left: 0rem;
}

.table_body_ind,
.table_body_ind2 {
    margin-left: 1.85rem;
}

.table_body_center {
    text-align: center;
}

.table_body_bold,
.table_body_ind_bold {
    font-weight: bold;
}

.break {
    font-size: 6px !important;
}

.dl_link {
    font-size: 16px;
    margin: 1.0rem 1.0rem 1.0rem 2.5rem;
}

.dl_link+.dl_link {
    margin-top: 2.0rem;
}

.dl_link a {
    border: solid 2px #BCBCBC;
    border-radius: 0.5rem;
    padding: 0.5rem 1.0rem;
}

.dl_link a,
.dl_link a:hover,
.dl_link a:visited {
    text-decoration: none;
    font-weight: bold;
    color: #404040;
}

.dl_link img {
    height: 1.5em;
    margin: 0 0.25rem 0 0;
    vertical-align: top;
}


/* ----------------------------
  toggle
------------------------------- */

.toggle_button {
    cursor: pointer;
}

.toggle_button_icon svg {
    height: 1.5rem;
    width: 1.5rem;
    position: relative;
    top: 0.4rem;
}


/* ----------------------------
  list
------------------------------- */

#contents ol ul {
    margin-left: -2.5rem;
}

#contents ul ul {
    margin-left: -4.0rem;
}

#contents ul ul {
    list-style-type: disc !important;
}

#contents table ul {
    margin-left: -1.0rem;
}

li.body,
li.body_bold {
    margin-left: 1.5rem;
}

li.body_bold {
    font-weight: bold;
}

ol .body_ind {
    margin-left: 1.5rem;
}

li.table_note {
    list-style: "*";
}

ol li.item-num {
    list-style: none;
    margin-left: -1.0em;
    margin-top: 1.5rem;
}

li.item-num::before {
    content: "(" attr(value) ")";
    width: 2.5em;
    display: inline-block;
}


/* ----------------------------
  step
------------------------------- */

.step {
    margin-left: -0.4rem;
    margin-top: 1.5rem;
    font-size: calc(1.0rem + 2px);
    color: #404040;
    font-weight: bold;
}

.step_sub {}


/* ----------------------------
  table
------------------------------- */

#contents table {
    border-collapse: collapse;
    width: 100%;
    margin: 0.5em 0;
}

#contents td {
    border: solid 1px #00B005;
    padding: 0.25rem 0.5rem;
    vertical-align: top;
}

.table_symbol {
    border: solid 1px #000;
}

.cell_symbol_icon {
    width: 71px;
}

.cell_header {
    background-color: rgba(0, 176, 80, 0.2);
    text-align: center;
    font-weight: bold;
    border-top: solid 2px #00B005;
    border-bottom: solid 2px #00B005;
}

.cell_main {}

.cell_symbol_main {}

.table_noborder {
    border: none;
}

#contents .framed_outer {
    margin: 0.5em 0 0.5em 2.5rem;
}

#contents .framed_outer .framed_outer {
    margin: 0.5em 0;
}

#contents .framed_outer>table {
    margin: 0;
}

#contents .framed_outer.scrollable {
    overflow-x: auto;
    white-space: nowrap;
}

#contents .framed_outer table table {
    width: 100%;
    margin: 0;
}

@media (max-width: 1024px) {
    #contents .framed_outer {
        overflow-x: auto;
    }
    #contents .framed_outer>table {
        width: 100%;
    }
}

@media (max-width: 768px) {
    #contents .framed_outer {
        overflow-x: auto;
    }
    #topic_list_nav {
        border-left: none;
        position: absolute;
        float: right;
        right: 0;
        width: 100%;
        height: 100%;
        max-width: 100%;
    }
    #topic_list_nav.close {
        height: 2.0rem;
        border: solid 2px #A0A0A0;
        border-radius: 20%;
        width: 2.0rem !important;
        background: white;
        margin: 1.0rem 2.0rem;
        overflow: hidden;
        padding: 0;
    }
    html[lang="en"] #topic_list_nav.close {
        height: 1.8rem;
        width: 1.8rem !important;
        margin: 0.8rem 1.8rem;
    }
    .topic_list_nav_button.menu {
        margin: 0 !important;
        left: 0 !important;
        top: 0 !important;
        float: left;
        padding: 0.25rem 0.5rem 0.25rem 0.0rem;
    }
}


/* ----------------------------
  illust
------------------------------- */

.image img,
.image_center img {
    margin: 1.0rem 0 1.0rem 2.5rem;
    display: inline-block;
    max-width: calc(100% - 2.5rem);
}

.image_ind img {
    margin-left: 4.35rem;
    display: inline-block;
    max-width: calc(100% - 4.35rem);
}

td .image img,
td .image_ind img,
td .image_center img {
    margin: 0;
    display: inline-block;
    max-width: initial;
}

.image_center img[src*="NOTICE"],
.image_center img[src*="CAUTION"],
.image_center img[src*="DANGER"],
.image_center img[src*="WARNING"],
.image_center img[src*="Point"],
.image_center img[src*="Important"],
.image_center img[src*="Reference"] {
    margin: 0;
}


/* ----------------------------
  char
------------------------------- */

.char_symbol {
    font-family: symbol;
}

.char_TimesNewRoman {
    font-family: 'Times New Roman';
}

.char_Arial {
    font-family: Arial;
}

.char_upper {
    font-size: 60%;
    vertical-align: super;
}

.char_Wingdings {
    display: inline-block;
    height: 1.0rem;
    width: 1.0rem;
}

span[class^="b-color"] {
    padding: 0 0.25rem;
}

.b-color_green {
    background-color: rgb(140, 202, 153);
}

.b-color_gray {
    background-color: lightgray;
}

.b-color_blue {
    background-color: rgb(55, 195, 241);
}

.b-color_lightblue {
    background-color: lightblue;
}

.b-color_purple {
    background-color: mediumpurple;
}

.b-color_red {
    background-color: red;
}

.b-color_pink {
    background-color: pink;
}

.b-color_orange {
    background-color: orange;
}

.b-color_yellow {
    background-color: yellow;
}


/* ----------------------------
  Go to Top
------------------------------- */

#go_to_top {
    text-align: right;
    position: sticky;
    bottom: 2.5rem;
    z-index: 1;
}

#go_to_top span {
    background: rgb(249, 222, 222);
    border: solid 1px red;
    border-radius: 0.5rem;
    padding: 0.25rem 0.5rem;
    display: inline-block;
}

#go_to_top a,
#go_to_top a:visited,
#go_to_top a:hover {
    text-decoration: none;
    color: #404040;
    font-size: 1.0rem;
}

#go_to_top.fadeout {
    opacity: 0;
    z-index: -1;
    animation: fadeOut 0.8s linear 0s 1 normal;
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        z-index: 1;
    }
    100% {
        opacity: 0;
        z-index: -1;
    }
}

#go_to_top.float {
    position: fixed;
    right: 1.0rem;
}


/* ----------------------------
  other
------------------------------- */

#contents p a[id] {
    scroll-margin-top: 0.5rem;
}

.hidden {
    display: none !important;
}


/* ----------------------------
  movies
------------------------------- */

#movies {
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    padding: 1.0rem;
    justify-content: center;
}

.movie {
    width: 35%;
    font-size: calc(1.0rem + 2px);
    font-weight: bold;
    margin: 0.5rem;
    padding: 1.0rem;
    flex-grow: 1;
    min-width: 325px;
    max-width: 50%;
}

.movie img {
    min-height: 50px;
    display: block;
    width: 100%;
}

.movie a,
.movie a:visited,
.movie a:hover {
    text-decoration: none;
    color: #000;
}


/* ----------------------------
  print settings
------------------------------- */

@media print {
    * {
        -webkit-print-color-adjust: exact;
        color-adjust: exact;
    }
    #go_to_top,
    .toggle_button_icon,
    #topic_list_nav {
        display: none;
    }
    #main_contents {
        display: block;
    }
    #contents {
        padding: 0.25rem 0.5rem;
        overflow-y: initial;
    }
    #contents .framed_outer,
    #contents .framed_outer.scrollable {
        overflow-x: initial;
        white-space: normal;
    }
    #contents .framed_outer>table {
        white-space: normal;
    }
    #contents .toggle_body {
        display: block !important;
    }
    #contents img {
        max-width: initial;
    }
}