@charset "utf-8";
article {
    padding: 50px 40px 100px 40px;
}
/*見出し*/
header h1 {
    font-size: 2.5rem;
    text-align: left;
    margin-bottom: 30px;
}
article header:not(.noborder)::after {
    content: none;
}
section h2 {
    font-size: 2.2rem;
    border-bottom: solid 3px #6BA4D3;
    position: relative;
}
section h2:after {
    position: absolute;
    content: " ";
    display: block;
    border-bottom: solid 3px #377eb8;
    bottom: -3px;
    width: 20%;
}
section h3 {
    font-size: 1.8rem;
    padding: 0.25em 0.5em;
    color: #494949;
    background: transparent;
    border-left: solid 5px #377eb8;
}
section h3:not(.noborder)::before {
    content: none;
}

/* 本文 */
article p {
	margin-bottom: 2em;
}
/* main header img {
    max-width: 70%;
} */

/*表*/
table.list {
    margin: 5px 0px 10px 0px;
    border: 1px solid #D4D4D4;
    /* white-space: nowrap; */
}
table.list thead th,table.list tbody th,table.list tbody td {
    padding: 5px 10px;
    border: 0.5px solid #D4D4D4;
}
table.list thead th {
    text-align: center;
}
/* table.list tbody td {
    line-height: 120%;
} */

/* 文字装飾 */
.marker {
    font-weight: bold;
    background-color: #ff9;
}
.futo {
    font-weight: bold;
}
.aka {
    font-weight: bold;
	color: red;
}

/*リスト*/
article ul {
	margin-left: 20px;
}
article li {
	list-style-type: disc;
	font-size: 1.1em;
}

/*2カラム*/
.container {
	display: flex;
	flex-wrap: wrap;
}
.column {
	width: 50%;
}

/* インデックス風見出しボックス */
.index-box-b .box-contents, .index-box-r .box-contents, .index-box-g .box-contents {
	padding: 10px;
    max-width: 80%;
}
.index-box-b .box-title, .index-box-r .box-title, .index-box-g .box-title {
	color: #fff;
	/* font-weight: bold; */
	display:inline-block;
	padding: .3em .5em;
	border-radius: 10px 10px 0 0;
}
.index-box-b .box-contents {
	border: solid 3px #377eb8;
	border-radius: 0 10px 10px 10px;
}
.index-box-b .box-title {
	background-color: #377eb8;
}
.index-box-r .box-contents {
	border: solid 3px #FFB2AE;
	border-radius: 0 10px 10px 10px;
}
.index-box-r .box-title {
	background-color: #FFB2AE;
}
.index-box-g .box-contents {
	border: solid 3px #8CD790;
	border-radius: 0 10px 10px 10px;
}
.index-box-g .box-title {
	background-color: #8CD790;
}

/*見出しボックス*/
.heading-box {
	position: relative;
	margin: 10px 0px;
	border: solid 3px #377eb8;
	border-radius: 10px;
	padding: 15px 5px 10px 10px;
    max-width: 80%;
  }
.heading-box .box-title {
	position: absolute;
	display: inline-block;
	top: -8px;
	left: 13px;
	line-height: 1;
	font-size: 1.0em;
	background-color: #fff;
	color: #377eb8;
	font-weight: bold;
	padding: 0 5px;
  }
.heading-box .box-contents {
	padding: 10px;
}

/* 背景ボックス */
.background-box {
    padding: 1em 1em;
    margin: 0 0.5em;
    background: #eee;/*背景色*/
    box-shadow: 0 3px 4px #d7d7d7;/*影*/
    max-width: 80%;
}
.background-box p {
	margin-bottom: 0;
}

/* 引用 */
blockquote {
    position: relative;
    padding: 30px 15px 8px 15px;
    box-sizing: border-box;
    font-style: italic;
    background: #eee;
    color: #555;
    max-width: 80%;
}
blockquote:before{
    display: inline-block;
    position: absolute;
    top: 13px;
    left: 15px;
    content: "\f10d";
    font-family: 'Font Awesome 5 Free';
    color: #cfcfcf;
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
}
blockquote p {
    padding: 10px 0 0 0;
    margin: 10px 0;
}
blockquote cite {
    display: block;
    text-align: left;
    color: #888;
    font-size: 0.9rem;
}

/*タイムライン*/
.timeline {
	padding: 0.5em 1em;
    margin: 2em 0;
    background: #eee;
    border-bottom: solid 6px #d7d7d7;
    border-radius: 9px;
    max-width: 80%;
}
.timeline-title {
	font-size: 1.2em;
	font-weight: bold;
	text-align: center;
	padding: 1em 0em;
}
.timeline li {
    overflow: hidden;
    margin: 0;
    position: relative;
  }
.timeline-date {
    width: 110px;
    float: left;
    margin-top: 20px!important;
  }
.timeline-content {
    width: 75%;
    float: left;
    border-left: 3px #6BA4D3 solid;
    padding-left: 30px;
	padding-top: 20px;
  }
.timeline-content:before {
    content: '';
    width: 12px;
    height: 12px;
    background: #377eb8;
    position: absolute;
    left: 106px;
    top: 24px;
    border-radius: 100%;
  }
/* トップの記事一覧 */
.row-article-card {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    margin-left: -20px;
    margin-right: -20px;
}
.row-article-card > * {
    position: relative;
    flex: 1;
    margin-left: 20px;
    margin-right: 20px;
    margin-top: 0;
}
@media screen and (max-width: 1024px) {
    article {
        padding: 50px 20px;
    }
    /*見出しボックス*/
    .heading-box {
        max-width: 100%;
    }
    .background-box {
        max-width: 100%;
    }
    /* 引用 */
    blockquote {
        max-width: 100%;
    }
        /*タイムライン*/
    .timeline {
        max-width: 100%;
    }
    /* インデックス風見出しボックス */
    .index-box-b .box-contents, .index-box-r .box-contents, .index-box-g .box-contents {
        max-width: 100%;
    }
    table.list thead th,table.list tbody td {
        display: table-cell;
        border-left: 1px solid #D4D4D4;
    }
    /* トップの記事一覧 */
    .row-article-card {
        display: flex;
        margin-bottom: -20px;
    }
    .row-article-card > * {
        width: 46%!important;
        flex: none;
        margin-bottom: 20px;
        margin-left: 2%;
        margin-right: 2%;
    }
}
@media screen and  (max-width:539px) {
    main header img {
        max-width: 100%;        
    }
    /*表*/
    .scroll-table table.list {
        white-space: nowrap;
    }
    .scroll-table {
        overflow-x: scroll;
    }
    	/* タイムライン */
	.timeline {
		list-style: none;
	  }
	.timeline-date {
		margin-top: 10px;
		margin-bottom: 10px;
	  }	
	.timeline-content {
		width: 85%;
		padding-left: 10px;
		padding-top: 0px;
		margin-left: 20px;
	}
	.timeline-content:before {
		position: initial;
	}
	/* 2カラム */
	.column {
		width: 100%;
	}
}