@charset "utf-8";
/* --------------------------------------------------------------------------------
用紙設定
-------------------------------------------------------------------------------- */
@page {
    size: A4;
    margin: 10mm;
}  

/* --------------------------------------------------------------------------------
共通
-------------------------------------------------------------------------------- */
body {
    width: 100% !important;
    height: auto;
    margin: 0 !important;
    color: #000;
	background-color: #FFF;
    overflow: visible !important;
}

#wrapper {
    box-shadow: none;
}

.content_block {
    margin-bottom: 2em;
}

ul.check li,
ul.disc li,
ul.times li,
ul.jump li {
    margin-bottom: 0;
}

.papers .writing dd {
    margin-bottom: 5px;
}

/* ---------- ナビゲーション非表示 ---------- */
#nav_pagetop,
#l_nav,
#global_nav,
#foot_nav,
footer {
    display: none !important;
}

/* ---------- 改ページ指定 ---------- */
.page_break {
    page-break-before: always;  /* 強制的に改ページ */
}

section,
.l-container {
    page-break-inside: avoid;   /* 要素内で改ページしない */
}

/* --------------------------------------------------------------------------------
ヘボン式ローマ字
-------------------------------------------------------------------------------- */
#hepburn section {
    page-break-inside: auto;    /* 要素内で自動的に改ページ */
}

#hepburn #case1,
#hepburn #case2,
#hepburn #case3 {
    page-break-inside: avoid;   /* 要素内で改ページしない */
}