/***** Webフォント読み込み *****/
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;700&display=swap');

/***** 変数定義 *****/
:root {
  --doc_max_width: 800px;
  --layout_change_width: 600px;
  --max_article_width: 600px;
  --min_img_width: 300px;
}

/***** タグ毎の共通設定 *****/
body {
    font-family: Verdana, "Noto Sans JP", "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, Verdana, Roboto, "Droid Sans", sans-serif;
    line-height: 1.7em;
    scroll-behavior: smooth;
    overflow-x: hidden;
}
ul {
    margin: 0 0 20px 1em;
    list-style-type: disc;
    line-height: 1.5em;
}
ol {
    margin: 0 0 20px 1em;
    line-height: 1.5em;
}
li {
    margin-left: 1em;
}
dl {
    margin: 0 0 20px 0;
    line-height: 1.5em;
}
dt {
    font-weight: bold;
}
dd {
    margin: 0 0 0.6em 1em;
}

/***** 全体レイアウト *****/
#outer-body {
/*    position: relative;
    width: 100%;*/
}
#inner-body {
    position: absolute;
    left: 0;
    right: 0;
    width: auto;
    max-width: var(--doc_max_width);
    height: auto !important;
    margin: 0 auto;
}

/***** 固定ヘッダー部 *****/
#header {
    position: fixed;
    z-index: 10;
    top: 0;
    left: calc( ( 100vw - min(100vw, var(--doc_max_width)) ) / 2);
    right: calc( ( 100vw - min(100vw, var(--doc_max_width)) ) / 2);

}
#thin-header {
    position: relative;
    float: left;
    width: auto;
    margin-left: 10px;
    font-size: 12px;
    line-height: 1.2em;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 3px 3px rgba(255, 255, 255, 0.7);
}
@media screen and (max-width: 600px) {
    #thin-header {
        margin: 5px 0 0 10px;
    }
}
#menu-button-box {
    position: relative;
    float: right;
    width: 40px;
    height: 40px;
    margin: 10px;
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 0 5px 5px rgba(255, 255, 255, 0.7);
}
#menu-button {
    width: auto;
    height: auto;
    cursor: pointer;
}
#menu-button .bar {
    margin: 0 0 5px 0;
    border: solid 3px #333;
}
#menu-button .text {
    text-align: center;
    font-size: 12px;
    line-height: 1em;
}

/* メニューの中身 */
.popup-container {
    display: none;
    position: fixed;
    z-index: 10;
    top: 0px;
    right: 0px;
    right: calc( ( 100vw - min(100vw, var(--doc_max_width)) ) / 2);
    width: 100%;
    height: 100%;
    background: rgba(63,63,63,0.5);
}
#menu-box {
    position: relative;
    right: 0px;
    max-width: 20em;
    margin: 15px 15px 15px auto;
    padding: 15px;
    background: #fff;
    border: none;
}
#menu-outer {
    height: auto;
    max-height: calc(100vh - 150px);
    overflow: scroll;
    -ms-overflow-style: none;    /* IE、Edge用 */
    scrollbar-width: none;    /* Firefox用 */
}
#menu-outer::-webkit-scrollbar {    /* Chrome、Safari用 */
  display:none;
}
#menu-inner {
    height: auto;
}
#menu-close-btn {
    position: absolute;
    top: 0px;
    right: 0px;
    width: auto;
    height: auto;
    padding: 10px;
    font-size: 20px;
    cursor: pointer;
}
#menu-title {
    margin: 30px 0 10px;
    font-weight: bold;
    font-size: 0.8em;
    text-align: center;
}
#menu {
    list-style: none;    
    margin-left: 0;
    padding: 0px 10px 30px;
}
#menu>li {
    margin-left: 0;
}
#menu .item,
#menu .group-title {
    line-height: 2em;
    border-top: solid 1px #999;
    cursor: pointer;
}
#menu .last-item {/* ラスト */
    border-bottom: solid 1px #999;
}
#menu .group-list {
    display: none;
    margin-left: 0;
}
#menu .list-item {/* リスト */
    margin-left: 1.5em;
    line-height: 2em;
}
#menu a {
    display: inline-block;
    width: 100%;
    text-decoration: none;
    color: inherit;
}
#menu .group-title .text {
    float: left;
}
#menu .group-title .mark {
    float: right;
    padding-right: 10px;
}
#menu .group-title .open:before {
    display: inline-block;
    position: relative;
    top: 0.2em;
    content: "︾";
    font-weight: bold;
}
#menu .group-title .close:before {
    display: inline-block;
    position: relative;
    top: -0.2em;
    content: "︽";
    font-weight: bold;
}

/***** 本文 *****/
#main-box {
    position: relative;
    width: 100%;
/*    height: 100vh;*/
    height: auto;
}
#main {
    width: 100%;
    height: auto;
    padding-bottom: 30px;
}
.article h1 {
    width: auto;
    margin: 0 10px 20px;
    padding: 35px 0px 5px 0px;
    font-size: 24px;
    border-bottom: solid 2px #333;
}
.article .section {
    float: left;
    width: calc( min(100vw, var(--doc_max_width)) - var(--min_img_width));
    max-width: var(--max_article_width);
    margin: 0 0 30px;
    padding: 0 10px;
}
.article .section.wide {
    float: none;
    display: inline-block;
    width: auto;
    max-width: 500px;
}
.article .section h2 {
    margin: 0 0 15px;
    padding-left: 0.5em;
    font-size: 1.2em;
    font-weight: bold;
    line-height: 1.7em;
    border-left: solid 5px #333;
}
.article .section h2.plain {
    margin-bottom: 10px;
    padding-left: 0;
    border-left: none;
}
.article .section div.anchor {
    height: 20px;
}
.article .section h3 {
    margin: 0 0 10px;
    line-height: 1.5em;
    font-size: 1em;
    font-weight: bold;
}
.article .section p {
    margin: 0 0 1.5em;
    line-height: inherit;
}
.article .section .inner-img {
/*    width: auto;*/
    width: 100%;
    margin: 0 0 20px;
    border: none;
}
.article .section .inner-img.no-margin {
    margin: 0;
}
.article .img-container {
    float: right;
    width: auto;
    max-width: calc( min(100vw, var(--doc_max_width)) - var(--max_article_width));
    min-width: var(--min_img_width);
    margin: 0 0 20px;
    padding-right: 10px;
}
.article .img-container img {
    width: 100%;
    height: 300px;
    margin-left: 0;
    margin-right: 0;
    object-fit:cover;
    border: none;
}
.article .img-container.wide,
.article .img-container.full {
    width: auto;
    min-width: 0;
    max-width: 100%;
    height: auto;
    margin-left: 10px;
    margin-right: 10px;
    padding-right: 0px;
}
.article .img-container.wide img {
    width: 100%;
}
.article .img-container.full img {
    width: 100%;
    height: auto;
}

@media screen and (max-width: 600px) {
    .article h1 {
        margin: 0 2px 20px;
        padding-left: 5px;
        padding-right: 50px;
    }
    .article .img-container {
        clear: both;
        width: auto;
        min-width: 0px;
        max-width: 600px;
/*        margin: 0 0 20px;*/
        padding: 0;
    }
    .article .img-container img {
        height: auto;
    }
    .article .section {
        clear: both;
        width: auto;
        min-width: 0px;
        max-width: 600px;
    }
    .article .img-container.wide,
    .article .img-container.full {
        float: none;
    }
}
.article p.impression {
    margin: 0px 0px 30px 0px;
    border-bottom: 1px dotted #CCC;
}
.article p.impression .person {
    display: block;
    margin: 10px 15px 0 0;
    text-align: right;
    font-size: 90%;
}

.video_box {
    width: 100%;
    margin: 10px 0 25px;
    border: solid #ccc;
    border-width: 1px 0 1px 0;
    box-sizing: border-box;
}
.video_player {
    width: 100%;
    cursor: pointer;
}

.foot_navi {
    margin: 30px 0 20px;
    text-align: center;
}

table.simple {
    border: solid 1px #333;
    margin: 10px 0 20px;
}
table.simple caption{
    line-height: 1.6em;
}
table.simple th,
table.simple td{
    border: solid 1px #333;
    padding: 5px 5px;
}
table.simple tr{
    line-height: 1.4em;
}
table.simple th{
    text-align: left;
}
table.simple td{
    text-align: left;
}
table.noborder {
    border: none;
    margin: 10px 0 20px;
}
table.noborder caption{
    line-height: 1.6em;
}
table.noborder th,
table.noborder td{
    border: none;
    padding: 5px 5px;
}
table.noborder tr{
    line-height: 1.4em;
}
table.noborder th{
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
}
table.noborder td{
    text-align: left;
}
table.plain th {
    font-weight: normal;
}
table.narrow th,
table.narrow td {
    padding-top: 2px;
    padding-bottom: 2px;
}
ol.kanji-number {
    list-style-type: cjk-ideographic;
}
ul.tite {
    line-height: 1.3em;
}
ul.tite li {
    margin-bottom: 0.2em;
}
ul.loose {
    line-height: 2em;
}
ul.loose li {
/*    margin-bottom: 0.2em;*/
}
ul.no-mark {
    list-style-type: none;
}
ul.no-indent {
    margin-left: 1.5em;
}
ul.no-indent li {
    margin-left: 0;
}
ul.no-mark,.no-indent li {
    margin-left: 0;
}
dl.no-indent dd {
    margin-left: 0;
}
dl.natural {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
}
dl.natural dt {
}
dl.natural dd {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}
dl.convertible {
    margin: 10px 0 20px;
}
dl.convertible dt {
    display: block;
    width: 5em;
    font-weight: bold;
    line-height: 1.6em;
}
dl.convertible dd {
    display: block;
    line-height: 1.6em;
}
@media screen and (max-width: 600px) {
    dl.convertible dt {
        display: inline-block;
        line-height: 1.4em;
    }
    dl.convertible dd {
        display: inline-block;
    }
}

/* 調整class */

p.pre {
    white-space: pre-wrap;
}
.hidden {
    display: none;
}
.annotation {
    font-size: 90%;
    line-height: 1.4em;
    margin-top: 15px; 
}
.clearfix:after{
    content: "";
    clear: both;
    display: block;
}
.clearfix-before {
    clear: both;
}
.caution {
    color: #ff3300;
    font-size: 80%;
}
span.nobreak {
    display: inline-block;
}




