@charset "UTF-8";

/* 基本色 */
:root {
	--main-color: #5D9AB2;
	--accent-color: #f89174; /*#BF6A7A;*/
	--dark-accent-color: #2B5566;
	--dark-main-color: #2B5566;
	--text-bright-color: #fff;
	--icon-color: #fff;
	--icon-bk-color: #ddd;
	--large-width: 1000px;
	--middle-width: 800px;
}

/* 基本設定： フォントサイズ */
@media (max-width: 599px) {
	:root {
		font-size: 14px;
	}
}

@media (min-width: 600px) and (max-width: 799px) {
	:root {
		font-size: 16px;
	}
}

@media (min-width: 800px) {
	:root {
		font-size: 18px;
	}
}

body {font-size: 16px;}


/* 基本設定： ページ全体 */
body {
	margin: 0;
	font-family: 'メイリオ',
		'Hiragino Kaku Gothic Pro',
		sans-serif;
}
#strong-color {
  color: var(--accent-color);
  font-weight: bold;
}

/* ヘッダー */
header {
	position: absolute;
	top: 10;
	left: 0;
	z-index: 0;
	width: 100%;
	background-color: rgba(255,255,255,0.9);
}

.nohero header {
	position: static;
	border-bottom: solid 1px #ddd;
	border-bottom: solid 1px var(--gray-color);
}


/* ヘッダーA: サイト名 */
.head-lang {
	/*display: inline-block;*/
	line-height: 5px;
	padding-left: 0px;
	padding-right:0px;
	/*background-color: #5D9AB2;*/
	/*background-color: var(--main-color);*/
	/*color: #fff;*/
	/*color: var(--text-bright-color);*/
	font-family: 'Montserrat', sans-serif;
	text-decoration: none;
	font-size: 12px;
}
.head-lang ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
}
.head-lang a {
	display: block;
	padding: 5px;
	color: inherit;
	font-size: 12px;
	text-decoration: none;
}

.headA {
	/*display: inline-block;*/
	/*line-height: 100px;*/
	padding-left: 20px;
	padding-right: 20px;
	/*background-color: #5D9AB2;*/
	background-color: var(--main-color);
	/*color: #fff;*/
	color: var(--text-bright-color);
	font-family: 'Montserrat', sans-serif;
	text-decoration: none;
	font-size: 12px;
}
.headA ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
}
.headA a {
	display: block;
	padding: 15px;
	color: inherit;
	font-size: 12px;
	text-decoration: none;
}

.headA img{
	width: 40%;
	color: var(--text-bright-color);
}


/* ヘッダーB： ナビゲーションメニュー */
.headB ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.headB a {
	display: block;
	padding: 15px;
	color: inherit;
	font-size: 12px;
	text-decoration: none;
}

.headB a:hover {
	background-color: rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
	header .container {
		display: flex;
		align-items: center;
		justify-content: space-between;
		max-width: 1000px;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
	}

	.headB ul {
		display: flex;
	}
}


/* ヘッダーC： トグルボタン */

@media (max-width: 767px) {
	/* 小さい画面用の設定 */
	header .container-small {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.headC {
		margin-right: 10px;
		padding: 0;
		border: none;
		outline: none;
		background: none;
		font-size: 28px;
		opacity: 0.5;
		cursor: pointer;
	}

	.headC:hover {
		opacity: 0.3;
	}

	.headB {
		display: none;
	}
}

@media (min-width: 768px) {
	/* 大きい画面用の設定 */
	.headC {
		display: none;
	}

	.headB {
		display: block !important;
	}
}


/* コンテンツA： ヒーローイメージ */
.conA {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 60vh;
	min-height: 150px;
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.6)), url("img/tsukuba_mount.jpeg");
	background-position: center;
	background-size: cover;
	/*color: #fff;*/
	color: var(--text-bright-color);
	text-align: center;
}

.conA.compact {
	height: 30vh;
	min-height: 0;
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.6)), url("img/research-topics.jpeg");
}

.conA.compactAUS {
	height: 30vh;
	min-height: 0;
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.6)), url("img/AboutUs.jpeg");
}

.conA.compactReq {
	height: 30vh;
	min-height: 0;
	background-image: linear-gradient(rgba(0,0,0,0.1), rgba(0,0,0,0.6)), url("img/Reqruit_photo.jpeg");
}

.conA h1 {
	margin-top: 0;
	margin-bottom: 10px;
	/*font-family: 'Montserrat', sans-serif;*/
	font-size: 6vw;
	letter-spacing: 0.2em;
	margin-left: 0.2em;
}

.conA p {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 3.2vw;
	font-weight: bold;
}

.conA img{
	width: 40%;
	color: var(--text-bright-color);
}

@media (min-width: 768px) {
	.conA h1 {
		font-size: 60px;
	}

	.conA p {
		font-size: 24px;
	}
}

/* コンテンツB： 概要（アイコン＋テキスト） */
.conB .container {
	padding-top: 50px;
	padding-bottom: 10px;
}

.conB .text {
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 10px;
	text-align: center;
}

.conB h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 15px;
}

.conB p {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.8;
    text-align: left;
}

.conB a {
	color: #5D9AB2;
	color: var(--main-color);
	text-decoration: none;
}

.conB a:hover	{
	text-decoration: underline;
}

.conB .icon	{
	display: inline-block;
	margin-bottom: 20px;
	font-size: 40px;
	width: 2em;
	line-height: 2em;
	border-radius: 50%;
	text-align: center;
	background-color: #ddd;
	/* background-color: var(--icon-bk-color);*/
	color: #fff;
	/* color: var(--icon-color);*/
}

@media (min-width: 768px) {
	.conB .container {
		display: flex;
		/*max-width: 1000px;*/
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
	}

	.conB .text	{
		flex: 1;
	}
}

/* コンテンツC： 概要（画像＋テキスト） */
.conC {
	/* background-color: #5D9AB2; */
	background-color: var(--main-color);
	/*color: #fff;*/
	color: var(--text-bright-color);
}

.conC .container {
	padding-top: 2px;
}

.conC .text {
	padding: 20px;
}

.conC h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 20px;
}

.conC p {
	margin-top: 0;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.8;
	opacity: 0.8;
}
.conC a {
	/*color: #5D9AB2;*/
	/*color: green;*/
	color: var(--dark-accent-color);
	/*text-decoration: none;*/
	font-weight: bold;
	text-decoration-line: none;
}
.conC .photo {
	min-height: 250px;
	background:no-repeat;
	background-image: url("img/igarashi.png");
	background-position: center;
    background-size:cover;
}

.conC .infos {
  overflow-y: scroll;
  /*縦方向はスクロール可*/
  overflow-x: auto;
  /*横方向はスクロール不可*/
  height:300px;
  width :auto;
}

@media (min-width: 768px) {
	.conC .container {
		display: flex;
		/*flex-direction: row-reverse;*/
		/*max-width: 1000px;*/
		max-width: var(--large-width);
		min-width: inherit;
		margin-left: auto;
		margin-right: auto;
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.conC .photo {
		flex: 0 0 300px;
	}

	.conC .text {
		flex: 1;
		padding: 30px;
	}
}


/* フッター */
footer {
	color: #fff;
	color: var(--text-bright-color);
	background-color: #2B5566;
	background-color: var(--dark-main-color);
}

footer .container {
	padding: 20px 20px;
}


@media (min-width: 768px) {
	footer .container {
		display: flex;
		flex-wrap: wrap;
		max-width: 1000px;
		max-width: var(--large-width);
		margin-left: auto;
		margin-right: auto;
	}

	.footA {
		flex: 0 0 40%;
	}

	.footB {
		flex: 0 0 60%;
	}

	.footC {
		flex: 0 0 100%;
	}
}

/* フッターA： サイト情報 */
.footA {
	margin-bottom: 5px;
}

.footA img{
	width: 40%;
	/*color: var(--text-bright-color);*/
	min-width: 5%;
}

.footA h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-family: 'Montserrat', sans-serif;
	font-size: 30px;
	letter-spacing: 0.2em;
}

.footA p {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 14px;
}

.footA a {
	color: inherit;
	text-decoration: none;
}


/* フッターB： フッターメニュー */
.footB div {
	margin-bottom: 20px;
}

.footB h3 {
	margin-top: 0;
	margin-bottom: 10px;
	border-bottom: solid 1px currentColor;
	font-size: 14px;
}

.footB ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footB a {
	display: block;
	padding: 5px;
	color: inherit;
	font-size: 12px;
	text-decoration: none;
}

.footB a:hover {
	background-color: rgba(0,0,0,0.3);
}


@media (min-width: 768px) {
	.footB {
		display: flex;
	}

	.footB div {
		flex: 1;
	}

	.footB div:not(:first-child) {
		margin-left: 20px;
	}
}


/* フッターC： コピーライト */
.footC {
	font-size: 12px;
	text-align: center;
	font-family: 'Montserrat', sans-serif;
}



/* コンテンツページ: 記事 */
.post .container {
	max-width: 800px;
	max-width: var(--middle-width);
	margin-left: auto;
	margin-right: auto;
	padding: 30px 10px;
}

.post h1 {
	padding-left: 0.5rem;
	border-left: solid 0.75rem #BF6A7A;
	border-left: solid 0.75rem var(--accent-color);
	font-size: 2rem;
}

.post p {
	font-size: 1rem;
	line-height: 2;
}

.post img {
	max-width: 100%;
}




/* コンテンツページ: パンくずリスト */
.bread ol {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bread a {
	display: block;
	padding: 5px;
	color: inherit;
	font-size: 0.875rem;
	text-decoration: none;
}

.bread a::after {
	margin-left: 10px;
	content: '\f054';
	font-family: 'FontAwesome';
	opacity: 0.3;
}

.bread a:hover {
	background-color: rgba(0,0,0,0.3);
}



/* お問い合わせページ: 問い合わせ先 */
.contact {
	margin-top: 20px;
	margin-bottom: 20px;
	padding: 20px;
	border: solid 1px #ddd;
	border: solid 1px var(--gray-color);
	text-align: center;
}

.contact span	{
	display: inline-block;
	margin-bottom: 20px;
	font-size: 2.2rem;
	width: 2em;
	line-height: 2em;
	border-radius: 50%;
	text-align: center;
	background-color: #5D9AB2;
	background-color: var(--main-color);
	color: #fff;
	color: var(--icon-color);
}

.contact h2 {
	margin-top: 0;
	font-size: 1.2rem;
}

.contact a {
	font-size: 1.4rem;
	color: inherit;
	text-decoration: none;
}


@media (min-width: 768px) {
	.contact-wrap {
		display: flex;
	}

	.contact {
		flex: 1;
	}

	.contact:first-child {
		margin-right: 20px;
	}
}


/* お問い合わせページ： 地図 */
.location iframe {
	width:100%;
	height: 400px;
	vertical-align: bottom;
}

.location h2 {
	margin: 0;
	padding-top: 20px;
	padding-bottom: 20px;
	background-color: #5D9AB2;
	background-color: var(--main-color);
	color: #fff;
	color: var(--text-bright-color);
	font-size: 1.5rem;
	text-align: center;
}


/* 記事一覧C */
.listC h1 {
	text-align: center;
}

.listC h2 {
	margin: 0;
	font-size: 18px;
	text-align: center;
}

.listC .container {
	display: flex;
	flex-wrap: wrap;
	max-width: 1000px;
	max-width: var(--large-width);
	margin: 7px auto;
}

.listC article {
	flex: 1 1 250px;
	display: flex;
}

.listC a._span {
	position: relative;
	flex: 1;
	margin: 8px;
	display: block;
	border: solid 1px #ddd;
	border: solid 1px var(--gray-color);
	background-color: currentColor;
	color: inherit;
	text-decoration: none;
}

.listC a._1 {
	/*color: #5D9AB2;*/
	/*color: green;*/
	/*color: var(--dark-accent-color);*/
	/*text-decoration: none;*/
	font-weight: bold;
	text-decoration-line: none;
}

.listC a:hover {
	opacity: 0.8;
}


.listC .photo {
	/*max-width: 100%;*/
	min-height: 290px;
	background-position: center;
	background-size: cover;
	/*opacity: 0.6;*/
}

.listC .text {
	position: absolute;
	bottom: 0;
	left: 0;
	margin: 8px;
	color: #fff;
	color: var(--text-bright-color);
}



.listC p {
	text-align: center;
	margin: 0;
	font-size: 1.2vw;
	/*font-size: 14px;*/
	opacity: 0.8;
}

@media (min-width: 1000px) {
	.listC article {
		flex: 1 1 33%;
	}
}
