@import url("https://fonts.googleapis.com/css?family=Noto+Sans+JP:400&display=swap");

/* 共通設定　はじまり */
*:focus { outline: none !important; }
* { z-index: 1; }
* { box-sizing: border-box; }
body {
	font-family: 'Noto Sans JP';
	-webkit-font-smoothing: antialiased;
	font-size: 7px;
	line-height: 1.5;
}
/* 共通設定　おわり */

/* 文字サイズ等のデザイン　はじまり */
a, p, li { font-size: 8px; color: #1F1F1F; }
h1 a {
	font-size: 2.5em;
	font-weight: normal;
	color: #FAFAFA;
	line-height: 1.0;
}
h2 {
	font-size: 15px;
	font-weight: normal;
	color: black;
	margin-top: 10px;
}
.headline h2 {
	line-height: 2;
	color: #1F1F1F;
	background-color: #DEDEDE;
	border-left: 6px solid darkorange;
	border-bottom: 2px solid darkorange;
	padding-left: 8px;
	margin-bottom: 10px;
}
h3 {
	font-size: 13px;
	font-weight: normal;
	color: black;
	margin-top: 10px;
}
.headline h3 {
	color: #333333;
	background-color: #F2F2F2;
	border-left: 4px solid #255A7A;
	border-bottom: 1px solid #255A7A;
	margin-left: 5px;
	margin-bottom: 5px;
	padding-left: 5px;
}
h4 {
	font-size: 10px;
	font-weight: normal;
	color: black;
	margin-top: 10px;
}
.headline h4 {
	color: #333333;
	border-left: 2px solid skyblue;
	border-bottom: 1px solid skyblue;
	margin-left: 10px;
	margin-bottom: 5px;
	padding-left: 5px;
}
h5 {
	font-size: 9px;
	color: #333333;
	background-color: lightgray;
	margin: 5px 0 0 10px;
	padding-left: 5px;
}
a { text-decoration: none; color: #1F1F1F; }
.headline p {
	color: #1F1F1F;
	margin-left: 16px;
	text-align: left;
}
.beforeC, .beforeD {
	width: 95%;
	margin: 0 auto;
	padding-left: 18px;
}
.beforeC li, .beforeD li {
	list-style-type: circle;
	margin-right: 5px;
	text-align: left;
	position: relative;
}
.beforeD li { list-style-type: disc; }
.beforeC p, .beforeD p {
	width: 100%;
	margin: 0;
	padding-left: 0;
}
.marker { background-image: linear-gradient(transparent 90%, orange 50%); }
@media screen and (min-width: 400px){
	.beforeC li { list-style-type: none; }
	.beforeC li::before {
		content: "・";
		font-size: 5px;
		position: absolute;
		margin-top: -6.5px;
		top: 50%;
		left: -9px;
	}
}
.indent { text-indent: 1em; }
a.a-hover { border-bottom: 1px solid lightgray; }
p.align-right { text-align: right; padding-right: 5px; }
@media screen and (min-width: 768px){
	* { font-size: 12px; }
	a, p, li { font-size: 16px; }
	h2 { font-size: 22px; }
	.headline h2 { padding-left: 10px; margin-bottom: 20px; line-height: 2.5; }
	h3 { font-size: 20px; line-height:2; }
	.headline h3 { margin-left: 10px; padding-left: 10px; margin-top: 20px; }
	h4 { font-size: 18px; }
	.headline h4 { margin-left: 18px; padding-left: 10px; }
	h5 { font-size: 18px; margin: 5px auto 0 23px; padding-left: 10px; }
	.headline p { padding-left: 10px; width:98%; }
	.beforeC, .beforeD { padding-left: 30px; }
	.beforeC li, .beforeD li { width: 90%; max-width: 750px; margin-top: 5px; }
	.beforeC p, .beforeD p { margin: 0; padding-left: 0; width:100%; }
	.beforeC li::before { content: "○"; left: -14px; }
	p.align-right{ padding-right: 10px;}
}
@media screen and (min-width: 768px){ 
	a.a-hover { transition: background-color 0.5s; }
	a.a-hover:hover { background-color: #9DBEF6; }
}
/* 文字サイズ等のデザイン　おわり */


/* TOPのデザイン　はじまり */
.head {
	width: 100%;
	height: 50px;
	background-color: darkgray;
}
.header {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	flex-direction: row;
	height: 100%;
}
.header img, .header h1 { margin-left: 10px; }
/* TOPのデザイン　おわり */


/* グローバルナビゲーションの設定　はじまり */
.globalNav {
	width: 95%;
	height: 20px;
	margin: 10px 10px 0;
	display: flex;
	justify-content: space-around;
}
.globalNav div {
	flex: 1 1 auto;
	display: flex;
	justify-content: center;
	align-items: center;
	border-left: 1.5px solid black;
	position: relative;
}
.globalNav div:last-of-type { border-right: 1.5px solid black; }
.navItem a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}
.navItem p {
	position: relative;
	z-index: 10;
	font-size: 1.5em;
}
a.d-hover:hover { transition: background-color 0.5s; background-color: #B7D7F7; }
@media screen and (min-width: 768px){ .globalNav { height: 40px; } }
@media screen and (min-width: 950px){
	.globalNav { max-width: 950px; margin: 10px auto 0; }
	.globalNav div { padding: 0 30px; }
}
/* グローバルナビゲーションの設定　おわり */

/* メインコンテンツの設定　はじまり */
section {
	display: block;
	width: 90%;
	height: auto;
	margin: 20px auto;
}
.photo {
	display: flex;
	width: 90%;
	height: auto;
	align-items: center;
	justify-content: center;
	margin: 10px auto;
}
.photos {
	display: flex;
	width: 90%;
	height: auto;
	align-items: center;
	justify-content: space-around;
	margin: 10px auto;
}
.photo img, .photos img {
	height: auto;
	border: 1px solid lightgray;
	margin-top: 10px;
}
.photo img { width: 100%; max-width: 300px; }
.photos img { width: 45%; }
@media screen and (min-width: 768px){ .photo img { max-width: 500px; } }
@media screen and (min-width: 900px){ section { width: 880px; margin: 30px auto; } }
/* メインコンテンツの設定　おわり */

/* 過去ログの収納ボタン　はじまり */
#j-section { width: 100%; margin: 0; }
#j-section div { width: 100%; position: relative; }
.log-toggle { display: none; }
.past { display: none; }
.log-toggle:checked ~ .past { display: block; width: 100%; }
.his-button {
	position: absolute;
	top: 0;
	right: 10px;
	width: 15px;
	height: 15px;
	background: url("../images/openlog.png") right center / 15px 15px no-repeat;
	cursor: pointer;
	background-color: lightgray;
}
.log-toggle:checked ~ .his-button {
	background: url("../images/closelog.png") right center / 15px 15px no-repeat;
	background-color: lightgray;
}
@media screen and (min-width: 768px){
	.his-button {
		width: 27px;
		height: 27px;
		background: url("../images/openlog.png") right center / 27px 27px no-repeat;
		background-color: lightgray;
	}
	.log-toggle:checked ~ .his-button {
		width: 27px;
		height: 27px;
		background: url("../images/closelog.png") right center / 27px 27px no-repeat;
		background-color: lightgray;
	}
}
/* 過去ログの収納ボタン　おわり */

/* 青少年サポーターの引用　はじまり */
.quote {
	width: 90%;
	height: auto;
	margin: 10px auto;
	padding: 12px;
	border: 1px solid lightgreen;
	border-radius: 5px;
	position: relative;
}
.quote span {
	font-size: 8px;
	position: absolute;
	top: -7px;
	left: 10px;
	background-color: white;
	z-index: 10;
}
.quote p { font-size: 6px; }
@media screen and (min-width: 768px){
	.quote { margin: 20px auto; padding: 15px; }
	.quote span { font-size: 16px; top:-10px;}
	.quote p {font-size: 14px; }
}
/* 青少年サポーターの引用　おわり */

/* 機関誌のデザイン　はじまり */
.backnumber {
	width: 95%;
	height: auto;
	margin: 10px auto 20px;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-around;
	align-items: center;
}
.backnumber div {
	width: 33%;
	margin-bottom: 10px;
	border: 0.5px solid lightgray;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: relative;
}
.backnumber img {
	width: 40%;
	height: auto;
	border: 1px solid lightgray;
	margin-top: 10px;
}
.backnumber p {
	text-align: center;
	margin: 10px auto 10px;
	padding: 0;
}
.backnumber a {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 10;
}
@media screen and (min-width: 768px){
	.backnumber div { width: 30%; margin-bottom: 20px; }
	a.k-hover:hover { background-color: skyblue; opacity: 0.4; }
}
/* 機関誌のデザイン　おわり */

/* 会員・賛助会員名簿　はじまり */
.liststyle {
	width: 100%;
	height: auto;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: left;
	align-items: center;
	margin-left: 10px;
}
.liststyle li {
	list-style-type: none;
	background-color: whitesmoke;
	display: flex;
	width: 45%;
	height: 35px;
	margin: 5px 5px;
	padding: 0 5px;
	justify-content: center;
	align-items: center;
	text-align: center;
}
@media screen and (min-width: 768px){ .liststyle li { width: 30%; height: 50px; } }
/* 会員・賛助会員名簿　おわり */

/* footerのデザイン　はじまり */
footer {
	width: 100%;
	height: auto;
	background-color: darkgray;
	display: flex;
	flex-direction: column;
	align-items: center;
}
#address p {
	color: white;
	font-size: 1.5em;
	text-align: center;
	margin-top: 10px;
}
#address a { color: white; font-size: 1em; }
div.address {
	color: white;
	font-size: 2em;
	text-align: center;
	margin-top: 10px;
}
.small {
	color: white;
	text-align: center;
	margin-top: 20px;
	margin-bottom: 10px;
}
@media screen and (min-width: 768px){ .invalidLink { pointer-events: none; } }
/* footerのデザイン　おわり */

/* ハンバーガーボタンとメニュー　はじまり */
.nav-toggle { display: none; }
.menu-button {
	position: fixed;
	top: 3px;
	right: 20px;
	z-index: 100;
	display: block;
	width: 50px;
	height: 50px;
	padding: 0;
	background: url("../images/open.png") center center / 50px 50px no-repeat;
	cursor: pointer;
}
.nav-toggle:checked ~ .menu-button { background: url("../images/close.png") center center / 50px 50px no-repeat; }
.humMenu {
	display: block;
	width: 100%;
	height: 100%;
	position: fixed;
	top: 0;
	right: -120%;
	z-index: 50;
	background-color: rgba(16, 46, 77, 0.95);
	transition: all 0.5s;
	padding-top: 10px;
	padding-left: 40px;
}
.nav-toggle:checked ~ .humMenu { right: 0; left: auto; }
.humMenu h2 { color: #FAFAFA; font-size: 15px; }
.humMenu div { padding-left: 20px; }
.humMenu .item {
	list-style-type: circle;
	color: #FAFAFA;
	margin-left: 25px;
	margin-top: 3px;
}
.item a { color: #FAFAFA; font-size: 12px; }
.C9F4D2 a { border-bottom: 1px solid #C9F4D2; }
.FA7271 a { border-bottom: 1px solid #FA7271; }
.FAC6E8 a { border-bottom: 1px solid #FAC6E8; }
.FAA06E a { border-bottom: 1px solid #FAA06E; }
.F5EE9F a { border-bottom: 1px solid #F5EE9F; }
.CAD0F3 a { border-bottom: 1px solid #CAD0F3; }

@media screen and (min-width: 768px){
	.humMenu {
		width: 80%;
		display: flex;
		flex-wrap: wrap;
		max-width: 800px;
		align-content: flex-start;
	}
	.humMenu div {
		width: 50%;
		padding-left: 0;
		height: 180px;
	}
	.humMenu h2 { font-size: 18px; }
}
@media screen and (min-width: 912px){ .humMenu a { font-size: 14px; } }
@media screen and (max-width: 375px){
	.humMenu { padding-top: 5px; padding-left: 10px; }
	.humMenu h2 { margin-top: 5px; }
	.item a { white-space: nowrap; }
}
/* ハンバーガーボタンとメニュー　おわり */