@charset "utf-8";

/* 標準のフォントと文字サイズ */
* {
	font-family: 'M PLUS 1p', sans-serif;
	font-size: 1.16rem;
}

/* グローバルリンククリックで表示された箇所がヘッダーに隠されないための対応 */
html {
  scroll-padding-top: 14vw;
}

/* アクセシビリティ対応。キーボードフォーカスは目立つ色で囲む */
*:focus {
	outline: 3px solid deeppink !important;
}

/* 囲んでいる枠の大きさに収まるのような画像用クラス（Bootstrap4の真似） */
.img-fluid {
	max-width: 100%;
	height: auto;
}

/* 中央寄せ（Bootstrap4の真似） */
.text-center {
	text-align: center !important;
}


/* #header ここから ------------------------------------------------- */
#header {
	position: sticky;
	position: -webkit-sticky;
	top: 0;
	z-index: 100;		/* bxSliderが飛び出るので対策として */
}

.background-image {
	background: url("images/siteimage.png") center center no-repeat;
	background-size: cover;
	padding: 3vw 0 2vw 2vw;		/* この余白でwrap-sitenameの場所を決めている */
}

.wrap-sitename {
	width: 60vw;
	max-width: 600px;
}

/* メインメニュー ここから ------------------ */
nav a,
nav a:visited,
nav a:hover {
	color: #525252;
}
nav > ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
}
nav > ul > li {
	background-color: #E8FEFF;
	border: 1px solid white;
	color: white;
	font-size: 1.8vw;
	flex: 0 1 calc(100% / 5);
	flex: auto;
}
/* リンクの装飾 */
nav > ul > li > a {
	padding: 0.5vw;
	display: block;		/* リンク文字ではない領域にカーソルを置いてもリンクとして反応させる */
	text-align: center;
}
/* メインメニュー ここまで ------------------ */

/* #header ここまで ------------------------------------------------- */

.wrap-main {
	margin: 3vw 6vw;
}

/* ようこそ枠 ここから ---------------------------------------*/
.wrap-introduction {
	width: 100%;
	display: flex;
	margin-bottom: 4vw;
}
.wrap-intro-slider {
	width: 50%;
	background-color: #FFFBD8;
}
/* bxSlider設定ここから ----------------------- */
/* 外枠を無しにする（強制的にCSS反映するために!important） */
.bx-wrapper {
	margin: 0 !important;
	box-shadow: none !important;
	border: none !important;
	background: none !important;
}
/* アクセシビリティ対応。一時停止ボタンやpagerをTabキーフォーカスが逆順にならないように移動 */
.bx-wrapper .bx-controls.bx-has-controls-auto.bx-has-pager .bx-controls-auto {
	left: 0 !important;
	z-index: 1;						/* これでクリックできなくなるのを回避 */
	position: relative;		/* これでクリックできなくなるのを回避 */
}
.bx-pager.bx-default-pager {
	text-align: center !important;
	width: 100% !important;
}
/* bxSliderの各種ボタンの「テキスト飛ばし」をブラウザに優しい方法に書き換え */
.bx-wrapper .bx-controls-direction a {
	z-index: auto;			/* これでクリックできなくなるのを回避 */
	text-indent: 100%;
	overflow: hidden;
}
.bx-wrapper .bx-controls-auto .bx-start,
.bx-wrapper .bx-controls-auto .bx-stop {
	text-indent: 100%;
	overflow: hidden;
}
.bx-wrapper .bx-pager.bx-default-pager a {
	text-indent: 100%;
	overflow: hidden;
}
.bx-wrapper .bx-pager, .bx-wrapper .bx-controls-auto {
	bottom: 15px !important;
}
/* bxSlider設定ここまで ----------------------- */

/* ようこそメッセージ */
.wrap-intro-message {
	width: 50%;
	padding: 2vw 2vw;
	background-color: #E8FEFF;
	text-align: justify;
}
.wrap-intro-message .welcome-title {
	font-size: 4.5vw;
	font-weight: 800;
	line-height: 110%;
	text-align: center;
	color: #0066FF;
	text-shadow: 2px 2px 2px #bbbbbb;
	margin-bottom: 2vw;
	white-space: nowrap;
}
/* ようこそ枠 ここまで ---------------------------------------*/

/**/
.information {
	/* margin: 2.5rem; */
	margin: 2.5rem 0;
	padding: 1rem;
	border: 2px dotted #E8FEFF;
}
.information .info-title {
	font-weight: bold;
	font-size: 1.4rem;
	color: #E8FEFF;
}
.information dl.info-detail {
	display: flex;
	margin-bottom: 0;
}
.information dl.info-detail dt {
	margin-right: 1rem;
	font-weight: normal;
}

h2 {
	background-color: #E8FEFF;
	font-size: 1.9rem;
	font-weight: bold;
	text-align: center;
	color: #535353;
	border-bottom: solid 5px #BBF0F2;
	letter-spacing: 0.3rem;
	margin-bottom: 1rem;
}

.maintext {
	padding: 0 3vw 3vw;
}

/* h3の装飾 ここから -------------------- */
h3 {
	font-size: 1.6rem;
	font-weight: bold;
	text-align: center;
	color: #E8FEFF;
	margin-bottom: 1rem;

	display: flex;
	align-items: center;
}
h3:before, h3:after {
	content: '';
	flex-grow: 1;
	height: 2px;
	background-color: #E8FEFF;
	display: block;
}
h3:before {
	margin-right: 1.6rem;
}
h3:after {
	margin-left: 1.6rem;
}
/* h3の装飾 ここまで -------------------- */

/* 主な活動 ここから -------------------- */
.wrap-action {
	display: flex;
	margin-bottom: 2rem;
}
.action-image {
	width: 40%;
}
.action-text {
	width: 60%;
	padding-left: 4vw;
}
/* 主な活動 ここまで -------------------- */

.peersupport-text {
	padding: 2rem;
	border: solid 4px #E8FEFF;
	margin: 2rem 0;
}

/*お問い合わせ ここから ----------------- */
.inquiry {
	width: 60vw;
	margin: 0 auto 5rem auto;
}
.inquiry label {
	margin-bottom: 0;
}
.inquiry .required {
	color: red;
	font-weight: bold;
}
.inquiry #your-name, #mailaddress, #tel, #question {
	padding: 6px 10px;
	width: 100%;
	margin-bottom: 1rem;
}
.inquiry textarea {
	height: 7rem;
}
.inquiry .SendButton {
	background-color: #E8FEFF;
	color: #525252;
	border: solid 1px;
	padding: 0.2rem 0.8rem;
}
/*お問い合わせ ここまで ----------------- */


/* footer ここから ------------------------------------------------- */
footer {
	background-color: #E8FEFF;
	margin-bottom: 0;
	text-align: center;
	color: #525252;
	padding: 1rem 0;
}

footer p, address {
	margin-bottom: 0;
}



/* #footer ここまで ------------------------------------------------- */

@media screen and (max-width: 544px){
}

@media screen and (max-width: 992px){

	#header {
		position: initial;
	}
	
	nav > ul > li {
		font-size: 3vw;
		font-weight: bold;
		width: 8.5rem;
		flex: auto;
	}

	nav > ul > li > a {
		padding: 1vw;
	}	

	.wrap-introduction {
		width: 100%;
		display: block;
	}
	
	.wrap-intro-slider {
		width: 100%;
	}
	
	.wrap-intro-message {
		width: 100%;
		padding: 5vw;
	}

	.wrap-intro-message .welcome-title {
		font-size: 8vw;
	}

	h3 {
		margin-bottom: 0;
	}

	.information {
		/* margin: 2.5rem; */
		margin: 2.5rem 0;
		padding: 1rem;
		border: 2px dotted #E8FEFF;
	}
	.information .info-title {
		font-weight: bold;
		font-size: 1.4rem;
		color: #E8FEFF;
	}
	.information dl.info-detail {
		/* display: flex; */
		margin-bottom: 0;
	}
	.information dl.info-detail dt {
		margin-right: 1rem;
		font-weight: normal;
	}	

	.wrap-action {
		display: block;
	}
	.action-image {
		width: 100%;
	}
	.action-text {
		width: 100%;
		padding: 0;
	}
	
	.inquiry {
		width: 100%;
	}
}

@media screen and (min-width: 1200px){
}
