/*
Theme Name: Twenty Seventeen Child
Template: twentyseventeen
*/

@media screen and (min-width: 30em) {

	/* Typography */

	h3 {
		font-size: 20px;
	}
}
body,
button,
input,
select,
textarea {
	color: #000;
	font-size: 16px;
}
@media screen and (min-width: 48em) {
	body,
	button,
	input,
	select,
	textarea {
		font-size: 18px;
	}
}
p {
	margin: 0 0 3em;
}
th,
td,
th:first-child,
td:first-child {
	padding-left: .5em;
}
table {
	font-size: 16px;
}
ul,
ol {
	padding-left: 30px;
}
.has-header-image.twentyseventeen-front-page .site-branding,
.has-header-video.twentyseventeen-front-page .site-branding,
.has-header-image.home.blog .site-branding,
.has-header-video.home.blog .site-branding {
	vertical-align: middle;
}
body.has-header-image .site-description,
body.has-header-video .site-description {
	opacity: 1;
}
.has-header-image .site-branding-text {
	display: inline-block;
	padding: 1.2em 2em;
	background: rgba(255, 255, 255, 0.85);
	border-radius: 6px;
}
.has-header-image .site-branding-text .site-title a,
.has-header-image .site-branding-text .site-description {
	color: #000;
}
.has-header-image .site-branding-text .site-title {
	font-size: 20px;
}
.has-header-image .site-branding-text .site-description {
	font-size: 14px;
}
.has-text-align-center {
 text-align:center;
}
.wp-block-table td,
.wp-block-table th {
 border:1px solid;
 padding:.5em
}
.wp-block-image .aligncenter,
.wp-block-image .alignleft,
.wp-block-image .alignright,
.wp-block-image.aligncenter,
.wp-block-image.alignleft,
.wp-block-image.alignright {
 display:table;
}
.wp-block-image .aligncenter {
 margin-left:auto;
 margin-right:auto
}
figure.aligncenter {
 text-align:center;
}
#masthead .wrap {
	position: relative;
	text-align: center;
}
	.has-sidebar:not(.error404) #primary {
		float: none;
        width: 100%;
	}

	.has-sidebar #secondary {
		float: none;
		padding-top: 0;
		width: 100%;
	}

	body:not(.has-sidebar):not(.page-one-column) .page-header,
	body.has-sidebar.error404 #primary .page-header,
	body.page-two-column:not(.archive) #primary .entry-header,
	body.page-two-column.archive:not(.has-sidebar) #primary .page-header {
		float: none;
		width: 100%;
	}

	.blog:not(.has-sidebar) #primary article,
	.archive:not(.page-one-column):not(.has-sidebar) #primary article,
	.search:not(.has-sidebar) #primary article,
	.error404:not(.has-sidebar) #primary .page-content,
	.error404.has-sidebar #primary .page-content,
	body.page-two-column:not(.archive) #primary .entry-content,
	body.page-two-column #comments {
		float: none;
		width: 100%;
	}
.has-header-image.twentyseventeen-front-page .custom-header,
.has-header-video.twentyseventeen-front-page .custom-header,
.has-header-image.home.blog .custom-header,
.has-header-video.home.blog .custom-header {
	display: table;
	height: 300px;
	width: 100%;
}
.has-header-image .custom-header-media img,
.has-header-video .custom-header-media video,
.has-header-video .custom-header-media iframe {
	height: 300px;
	min-height: 75vh;
}
.home.has-header-image .custom-header-media img {
	object-position: center bottom;
}
/* スマホではヘッダー領域に合わせて画像（2-2601-mv-sp.jpg）を表示 */
@media screen and (max-width: 47.99em) {
	.has-header-image .custom-header-media img {
		position: absolute;
		height: 100%;
		min-height: 0;
		object-position: center bottom;
	}
	.has-header-image .custom-header-media:before {
		display: none;
	}
}
.site-description {
	font-size: 16px;
}
.page .panel-content .entry-title,
.page-title,
body.page:not(.twentyseventeen-front-page) .entry-title {
	color: #222;
	font-size: 20px;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
    text-align: center;
}
	.single-post .entry-title,
	.page .entry-title {
	font-size: 20px;
    text-align: center;
    margin-bottom: 30px;
	}
@media screen and (min-width: 48em) {
	.page .panel-content .entry-title,
	.page-title,
	body.page:not(.twentyseventeen-front-page) .entry-title,
	.single-post .entry-title,
	.page .entry-title {
		font-size: 28px;
	}
}

.site-info {
    float: none;
    padding: 0.7em 0 0;
    width: 100%;
    text-align: center;
}

h2{
	border-bottom: 1px solid #ccc;
	margin-bottom:40px;
}
h2 span {
  color: #3fb1db;
}


/* メニューアイコン */
.menu-home a{
  background-image: url("../img/01home.png");
  background-repeat: no-repeat;
background-position: 0 46%;
background-size: 18px auto;
padding-left: 30px;
}
.menu-outline a{
  background-image: url(../img/02gaiyo.png);
  background-repeat: no-repeat;
background-position: 0 46%;
background-size: 16px auto;
padding-left: 30px;
}
.menu-research-content a{
  background-image: url(../img/03kenkyunaiyo.png);
  background-repeat: no-repeat;
background-position: 0 46%;
background-size: 22px auto;
padding-left: 30px;
}
.menu-member a{
  background-image: url(../img/04member.png);
  background-repeat: no-repeat;
background-position: 0 46%;
background-size: 24px auto;
padding-left: 30px;
}
.menu-debriefing a{
  background-image: url(../img/05hokokukai.png);
  background-repeat: no-repeat;
background-position: 0 42%;
background-size: 18px auto;
padding-left: 30px;
}
.menu-results a{
  background-image: url(../img/06kenkyuseika.png);
  background-repeat: no-repeat;
background-position: 0 46%;
background-size: 20px auto;
padding-left: 30px;
}
.menu-link a{
  background-image: url(../img/07link.png);
  background-repeat: no-repeat;
background-position: 0 50%;
background-size: 20px auto;
padding-left: 30px;
}


/* 見出しアイコン */
#post-16 .entry-title{
  background-image: url(../img/02gaiyo.png);
  background-repeat: no-repeat;
 background-position: calc(50% - 2em) 1px;
  background-size:26px auto;
}
#post-19 .entry-title{
  background-image: url(../img/03kenkyunaiyo.png);
  background-repeat: no-repeat;
 background-position: calc(50% - 3em) 5px;
  background-size:30px auto;
}
#post-28 .entry-title{
  background-image: url(../img/04member.png);
  background-repeat: no-repeat;
 background-position: calc(50% - 3.2em) 5px;
  background-size:40px auto;
}
#post-33 .entry-title{
  background-image: url(../img/05hokokukai.png);
  background-repeat: no-repeat;
 background-position: calc(50% - 3.6em) 1px;
  background-size:30px auto;
}
#post-35 .entry-title{
  background-image: url(../img/06kenkyuseika.png);
  background-repeat: no-repeat;
 background-position: calc(50% - 3em) 5px;
  background-size:30px auto;
}
#post-39 .entry-title{
  background-image: url(../img/07link.png);
  background-repeat: no-repeat;
 background-position: calc(50% - 2.4em) 6px;
  background-size:30px auto;
}
@media screen and (max-width: 47.99em) {
	#post-16 .entry-title { background-position-x: calc(50% - 41px); }
	#post-19 .entry-title { background-position-x: calc(50% - 63px); }
	#post-28 .entry-title { background-position-x: calc(50% - 68px); }
	#post-33 .entry-title { background-position-x: calc(50% - 73px); }
	#post-35 .entry-title { background-position-x: calc(50% - 63px); }
	#post-39 .entry-title { background-position-x: calc(50% - 53px); }
}
.gainenzu{
  padding: 0 0 0 40px;
  background-image: url(../img/08gainenzu.png);
  background-repeat: no-repeat;
  background-position: 0 3px;
  background-size:30px auto;
}
.kenkyunaiyo{
  padding: 0 0 0 40px;
  background-image: url(../img/03kenkyunaiyo.png);
  background-repeat: no-repeat;
  background-position: 0 3px;
  background-size:30px auto;
}
#post-19 .kenkyunaiyo{
  margin-top: 3em;
}
.link{
  padding: 0 0 0 40px;
  background-image: url(../img/07link.png);
  background-repeat: no-repeat;
  background-position: 0 3px;
  background-size:30px auto;
}
.subtheme{
  padding: 0 0 0 30px;
  background-image: url(../img/09subtheme.png);
  background-repeat: no-repeat;
  background-position: 0 1px;
  background-size:16px auto;
}
.new{
  padding: 0 0 0 40px;
  background-image: url(../img/0news.png);
  background-repeat: no-repeat;
  background-position: 0 1px;
  background-size:30px auto;
}
.indent-8 ul {
    padding: 0;
}
.indent-8 li {
    list-style: none;
}
.indent-8 li:before,
.indent-8 li:before {
    content: "●";
	font-size: 10px;
	padding-right: .5em;
}
.indent-8{ 
	padding-left: 8em;
	text-indent: -7.7em; /* 先頭の1文字のみ 1em 左に */ 
}
.table-member{
	margin-bottom: 30px;
}
.table-member table th:nth-child(1) {	width: 20%;}
.table-member table th:nth-child(2) {	width: 40%;}
.table-member table th:nth-child(3) {	width: 40%;}
.table-member th {
	color: #fff;
    background-color: #3fb1db;
	border: 1px solid #000;
}
.table-member tr:nth-child(odd) {
    background-color: #eee;   /* 奇数行の背景色 */
}

.link-list li{
    margin-bottom: 10px;
}
.results-table table{
	border: 1px solid #eee;
}
.results-table th{
	background-color: #eee;
}
.results-table th:nth-child(1){ width:14%;}
.results-table td:nth-child(2){ width:10%;}
.results-table td:last-child{ width:76%; padding: 20px;}


.results-table th:first-child,
.results-table td:first-child {
	padding-left: 0.5em;
}

@media screen and (min-width: 48em) {
.admin-bar.twentyseventeen-front-page.has-header-image .custom-header-media,
.admin-bar.twentyseventeen-front-page.has-header-video .custom-header-media,
.admin-bar.home.blog.has-header-image .custom-header-media,
.admin-bar.home.blog.has-header-video .custom-header-media {
		height: 320px;
}
.twentyseventeen-front-page.has-header-image .custom-header-media:before,
.twentyseventeen-front-page.has-header-video .custom-header-media:before,
.home.blog.has-header-image .custom-header-media:before,
.home.blog.has-header-video .custom-header-media:before {
		display: none;
	}
	.twentyseventeen-front-page.has-header-image .custom-header-media,
	.twentyseventeen-front-page.has-header-video .custom-header-media,
	.home.blog.has-header-image .custom-header-media,
	.home.blog.has-header-video .custom-header-media {
		height: 320px;
		max-height: none;
		overflow: hidden;
	}
	/* navigation-top の高さ分、画像の下に余白を確保 */
	.twentyseventeen-front-page.has-header-image .custom-header,
	.twentyseventeen-front-page.has-header-video .custom-header,
	.home.blog.has-header-image .custom-header,
	.home.blog.has-header-video .custom-header {
		padding-bottom: 71px;
	}
	.has-header-image:not(.twentyseventeen-front-page) .custom-header-media:before {
		display: none;
	}
	.has-header-image:not(.twentyseventeen-front-page) .custom-header {
		height: 228px;
	}
	.has-header-image:not(.twentyseventeen-front-page) .custom-header-media img {
		height: 228px;
		min-height: 228px;
		object-position: center bottom;
	}
	/* ヘッダー画像（高さ228px）の中でタイトルを縦中央に配置 */
	.has-header-image:not(.twentyseventeen-front-page) .site-branding {
		height: 228px;
		padding-top: 0;
		padding-bottom: 0;
		display: flex;
		align-items: center;
	}
	.has-header-image:not(.twentyseventeen-front-page) .site-branding .wrap {
		width: 100%;
	}
.has-header-image .custom-header-media img,
.has-header-video .custom-header-media video,
.has-header-video .custom-header-media iframe {
	height: 320px;
	min-height: 320px;
}
/* ヘッダー画像（高さ320px）の中でタイトルを縦中央に配置 */
.has-header-image.twentyseventeen-front-page .site-branding,
.has-header-video.twentyseventeen-front-page .site-branding,
.has-header-image.home.blog .site-branding,
.has-header-video.home.blog .site-branding {
	top: 0;
	bottom: auto;
	height: 320px;
	padding-top: 0;
	padding-bottom: 0;
	display: flex;
	align-items: center;
}
.has-header-image.twentyseventeen-front-page .site-branding .wrap,
.has-header-video.twentyseventeen-front-page .site-branding .wrap,
.has-header-image.home.blog .site-branding .wrap,
.has-header-video.home.blog .site-branding .wrap {
	width: 100%;
}
.main-navigation li {
  border: 0;
  display: inline-block;
  width: 120px;
  text-align: center;
}
/* メニューアイコン */
.menu-home a{
  background-image: url(../img/01home.png);
  background-repeat: no-repeat;
background-position: 14% 46%;
background-size: 18px auto;
padding-left: 1.25em;
}
.menu-outline a{
  background-image: url(../img/02gaiyo.png);
  background-repeat: no-repeat;
background-position: 22% 46%;
background-size: 16px auto;
padding-left: 1.25em;
}
.menu-research-content a{
  background-image: url(../img/03kenkyunaiyo.png);
  background-repeat: no-repeat;
background-position: 6% 46%;
background-size: 22px auto;
padding-left: 1.25em;
}
.menu-member a{
  background-image: url(../img/04member.png);
  background-repeat: no-repeat;
background-position: 4% 46%;
background-size: 24px auto;
padding-left: 1.25em;
}
.menu-debriefing a{
  background-image: url(../img/05hokokukai.png);
  background-repeat: no-repeat;
background-position: 2% 42%;
background-size: 18px auto;
padding-left: 1.25em;
}
.menu-results a{
  background-image: url(../img/06kenkyuseika.png);
  background-repeat: no-repeat;
background-position: 6% 46%;
background-size: 20px auto;
padding-left: 1.25em;
}
.menu-link a{
  background-image: url(../img/07link.png);
  background-repeat: no-repeat;
background-position: 16% 50%;
background-size: 20px auto;
padding-left: 1.25em;
}
.site-description {
	font-size: 20px;
}	
.has-header-image .site-branding-text .site-title {
	font-size: 32px;
}
.has-header-image .site-branding-text .site-description {
	font-size: 18px;
}
	
}

/* タブレット：メニューを1行に収め、タイトルをヘッダー内に収める */
@media screen and (min-width: 48em) and (max-width: 63.99em) {
	#top-menu {
		display: flex;
		justify-content: space-between;
	}
	#top-menu li {
		width: auto;
	}
	#top-menu li a {
		padding-left: 34px;
		padding-right: 6px;
		background-position-x: 6px;
	}
	.has-header-image .site-branding-text {
		padding: 1em 1.5em;
	}
	.has-header-image .site-branding-text .site-title {
		font-size: 24px;
	}
	.has-header-image .site-branding-text .site-description {
		font-size: 16px;
	}
}

.lead {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 2em;
}
.lead > * {
	margin: 0;
}
.lead-text {
	flex-basis: 66.66%;
}
.lead-figure {
	flex-basis: 33.33%;
}
@media screen and (max-width: 47.99em) {
	.lead {
		flex-direction: column;
		gap: 1.5em;
		margin-bottom: 3em;
	}
	.lead-text p:last-child {
		margin-bottom: 0;
	}
	.lead-text,
	.lead-figure {
		flex-basis: auto;
		width: 100%;
	}
}
