@charset "utf-8";
/*
 * commons css 
 * pc width 980px fixed
 */

/* ---------------------------------------- common */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;800&display=swap');

:root {
	--base-color: #333;
	--site-font: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

body { 
	color: var( --base-color );
	font-family: var(--site-font);
	font-weight: 500;
}

header,
footer,
.site-footer,
.site-drawer,
.site-mega {
	font-family: var(--site-font);
}

/* ---------------------------------------- font */

h2 { margin: 0 0 1.75em; }
h3 { margin: 0 0 1.25em; }
h4 { margin: 0 0 1em; }
h2, h3, h4 { line-height: 1.6; }

@media (max-width: 599px) {
	#wrapper { font-size: 1.2rem; }
	h1 { display: none; }
}

@media (min-width: 600px) and (max-width:768px) {
	#wrapper { font-size: 1.35rem; }
	h1 { font-size: 1.2rem; }
}

@media (min-width: 769px) and (max-width:959px) {
	#wrapper { font-size: 1.45rem; }
	h1 { font-size: 1.2rem; }
}

@media (min-width: 960px) {
	#wrapper { font-size: 1.6rem; }
	h1 { font-size: 1.2rem; }
}

.inner {
	max-width: 1200px;
	padding: 0 1.5em;
	margin: 0 auto;
	-webkit-box-sizing: content-box;
	box-sizing: content-box;
}

@media (max-width: 599px) {
	.inner { padding: 0 1em; }
}

/* ---------------------------------------- common */

main article + article { margin: 5em 0 0; }
main .field + .field { margin: 3em 0 0; }

hr {
    display: block;
    height: 1px;
    border: 0;   
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

ul.disc {
	list-style: outside disc;
	text-align: left;
	margin: 0 0 0 1.5em;
}

ol {
	list-style: outside decimal;
	text-align: left;
	margin: 0 0 0 1.5em;
}

ol.parentheses li {
	list-style-type: none;
	counter-increment: parentcnt;
	position: relative;
}
ol.parentheses li:before {
	content: "(" counter(parentcnt) ")";
	display: inline-block;
	margin-left: -3.5em;
	width: 3em;
	text-align: right;
	position: absolute;
	top: 0;
	left: 0;
}

ol.alpha li {
	list-style-type: none;
	counter-increment: alphacnt;
	position: relative;
}
ol.alpha li:before {
	content: counter(alphacnt, lower-alpha) ")";
	display: inline-block;
	margin-left: -3.5em;
	width: 3em;
	text-align: right;
	position: absolute;
	top: 0;
	left: 0;
}

p + p {
	margin: 1em 0 0;
}

/* ---------------------------------------- common flex selectors */

@media (max-width: 599px) {

	.flexs {
		/* no setting */
	}

} /* end -599 */

@media (min-width: 600px) {

	.flexs {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
	}

	.flexs.wrap {
		-ms-flex-wrap: wrap;
		flex-wrap: wrap;
	}
	
	.flexs.nowrap {
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
	}
	
	.flexs.justify {
		-webkit-box-pack: justify;
		-ms-flex-pack: justify;
		justify-content: space-between;
	}
	
	.flexs.justify-center {
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
	}
	
	.flexs.align-center {
		-webkit-align-items: center;
		-ms-align-items: center;
		align-items: center;
	}
	
	.flexs.row {
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction:row;
	}
	
	.flexs.row-reverse {
		-webkit-flex-direction: row-reverse;
		-ms-flex-direction: row-reverse;
		flex-direction:row-reverse;
	}
	
	.flexs.column {
		-webkit-flex-direction: column;
		-ms-flex-direction: column;
		flex-direction: column;
	}
	
	.flexs.column-reverse {
		-webkit-flex-direction: column-reverse;
		-ms-flex-direction: column-reverse;
		flex-direction: column-reverse;
	}

} /* over 600 */

/* ---------------------------------------- breadcrumbs */

@media (max-width: 800px) {

	#breadcrumbs { padding: 0 0 4em; }
	#breadcrumbs .inner { display: none; }

} /* end -599 */

@media (min-width: 801px) {

	#breadcrumbs { padding: 2em 0 4em; }
	#breadcrumbs .inner {
		letter-spacing: -0.4em;
	}
	#breadcrumbs li {
		display: inline-block;
		letter-spacing: normal;
	}
	.bread_crumb li:not(:last-child):after {
		font-family: 'FontAwesome';
		content : '\f105';
		/* color: #6cbc18; */
		padding-left:10px;
		margin-right:10px;
	}

} /* end 600- */

@media (min-width: 801px) and (max-width:1040px) {

	#breadcrumbs .inner {
		font-size: 1.3rem;
		margin: 0 20px;
	}

} /* 960- */

@media (min-width: 1041px) {

	#breadcrumbs .inner {
		width: 100%;
		max-width: 1200px;
		font-size: 1.5rem;
		margin: 0 auto;
	}

} /* 960- */

/* ---------------------------------------- table */
/* if any row, wrap class "multiplex" and "multiplex-wrap" */

:root {
	--th-base-color: #f5efe5;
	--th-base-size: 30%;
	--cell-border-color: #d5bfa0;
	--multiplex-table-size: 980px;
}

table { width: 100%; }
th { 
	background: var(--th-base-color); 
	text-align: left; 
}
td { text-align: left; }
th, td {
	border: 1px var(--cell-border-color) solid;
	line-height: 1.6;
	padding: 1em;
}

@media (max-width: 767px) {

	table { border-top: 1px #ccc solid; }
	th, td {
		display: block;
		border-top: none;
		border-left: 1px var(--cell-border-color) solid;
		border-right: 1px var(--cell-border-color) solid;
		border-bottom: 1px var(--cell-border-color) solid;
		padding: 1em;
	}
	th { text-align: center; }

	.multiplex {
		width: 100%;
		padding: 32px 0;
		position: relative;
	}
	.multiplex .multiplex-wrap {
		overflow-x: scroll;
		position: relative;
	}
	.multiplex::before,
	.multiplex::after {
		display: block;
		width: 32px;
		height: 24px;
		color: #000;
		font-size: 24px;
		font-family: 'FontAwesome';
		content: "\f07e";
		position: absolute;
		z-index: 2;
	}
	.multiplex::before {
		top: -.25em;
		left: 50%;
	}
	.multiplex::after {
		bottom: .5em;
		left: 50%;
	}
	.multiplex .multiplex-wrap table { width: var(--multiplex-table-size); }
	.multiplex .multiplex-wrap table th, 
	.multiplex .multiplex-wrap table td {
		display: table-cell;
		border: 1px var(--cell-border-color) solid;
	}
	.multiplex .multiplex-wrap table th { text-align: left; }

}

@media (min-width: 768px) {
	th { width: var(--th-base-size); }
}

table.no-border,
table.no-border th,
table.no-border td { border: none; }
table.no-border th { background: none; }


/* ---------------------------------------- members */

#members-login p {
    text-align: center;
}
#members-login ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
#members-login li {
    margin: 0 .5em;
}
#members-login li a {
    display: inline-block;
    min-width: 8em;
    border: 1px #333 solid;
    text-align: center;
    line-height: 1.4;
    padding: 1em;
}

/*@media (min-width: 768px) {
	#contents {
		width: 75%;
	}
}*/

@media (max-width: 767px) {
	#contents {
		margin: 0 0 3em;
	}
}


/* サムネ、カテゴリの表示 */
div ul.archiveline .post-item {
	display: flex;
	gap: 0.5rem;
	padding: 0.5rem 0;
}
div ul.archiveline .post-img {
	width: 300px;
	height: 158px;
	flex-shrink: 0;
}
div ul.archiveline .post-item img {
	/* border-radius: 8px; */
	width: 100%;
	height: 100%;
	object-fit: cover;
}
div ul.archiveline .post-item .post-img a {
	padding: 0 !important;
}
div ul.archiveline .post-info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	flex: 1;
}
div ul.archiveline .post-info .cat-name {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	width: auto !important;
	font-size: 1.3rem;
	font-weight: bold;
	background-color: transparent;
	padding: 0 !important;
	color: #555;
}
div ul.archiveline .post-info .cat-name::before {
	content: "●";
	font-size: 0.8rem;
	color: #FEBF00;
}
div ul.archiveline .post-info .date {
	font-size: 1.3rem;
}
div ul.archiveline .post-item .post-info h3 {
	font-size: 1.6rem !important;
	font-weight: bold !important;
}
