@charset "UTF-8";

* {
	box-sizing: border-box; /* サイズの設定方法を設定 */
}

:root {
	scroll-padding: 45px;
}

/* ============================================================ */
/*											 タイトルなどの装飾											 */
/* ============================================================ */
h1 {
	font-size: 20px;
	float: none;
  padding: 0.85em;/*文字周りの余白*/
  color: #010101;/*文字色*/
  background: #71d2ff;/*背景色*/
  border-bottom: solid 3px #516ab6;/*下線*/
	background-repeat: no-repeat;
	text-align: center;
	line-height: 0;
	margin-bottom: 10px;

}

div.doodles-toptitle {
	text-align: center;
}

/*---------------------------------------------------------*/
/*										フッターエリアを装飾										*/
/*---------------------------------------------------------*/

.footer {
	border-top: 1px #000000 solid;	/*上枠線_(太さ、色、スタイル)*/
	padding-top: 10px;
	padding-bottom: 10px;
/*	background: url(../../images/bg_footer.png) repeat-x 0 1px;*/
	color: #000000;
}

.footer a {
	color: #0000ff;
	text-decoration: none;
}

.footer a:hover {
	color: #ff0000;
	text-decoration: underline;
}










/*---------------------------------------------------------*/
/*										リストエリアを装飾										 */
/*---------------------------------------------------------*/

.name-index-area {
	max-width: 1100px;
	margin: 0 auto;
	text-align: center;
	background: palegreen;/* #fcd4d4;*/
	padding: 5px;
	border: solid 2px mediumseagreen;
/*
	position:fixed;
	top:0;
	left:0;
	right:0;
	top:90px;
*/
	z-index: 10;
}

.name-index-area a {
	text-decoration: none;
}

.name-index {
	display: flex;
	margin: 0 auto;
  justify-content: center;
	list-style: none;
	flex-wrap: wrap;
}

.name-index li {
	list-style: none;
	display: inline;
/*	float:left;*/

}

.name-index li +li {
	margin-left: 5px;
}


.button-border {
	border: 1px solid palegreen;
/*  padding: 0 0.01em;*/
	position: relative;
	display: inline-block;
/*  color: #3498db;*/
	text-decoration: none;
/*  background-color:#f5f5f5;*/
}

/* 擬似要素の共通スタイル */
.button-border::after,
.button-border::before,
.button-border span::after,
.button-border span::before {
	background-color: #3498db;
	content: '';
	display: block;
	position: absolute;
	z-index: 10;
	transition: all .15s ease;
	-webkit-transition: all .15s ease;
/*  background-color:#f5f5f5;*/
}

/* 左上へ配置 */
.button-border::after {
	width: 0px;
	height: 2px;
	top: -1px;
	left: -5px;
}

/* 右下へ配置 */
.button-border::before {
	width: 0px;
	height: 2px;
	right: -5px;
	bottom: -1px;
}

/* 左下へ配置 */
.button-border span::after {
	width: 2px;
	height: 0px;
	left: -5px;
	bottom: -1px;
}

/* 右上へ配置 */
.button-border span::before {
	width: 2px;
	height: 0px;
	top: -1px;
	right: -5px;
}

/* hover */
.button-border:hover {
	color: deeppink;
	font-weight: bold;
}

.button-border:hover::after,
.button-border:hover::before {
	width: 100%;
	width: calc(100% + 10px);
}

.button-border:hover span::after,
.button-border:hover span::before {
	height: 100%;
	height: calc(100% + 1px);
}




.contry-list {
	display: table;
	max-width: 1100px;
	padding: 0;
	margin: 0 auto;
}

.contry-table {
	margin-top: 5px;
}

.list-row {
/*	display: table-row;*/
/*	align-items: center;*/
	display: table;
	width: 100%;
	background: whitesmoke;
	margin: 0 auto;
}

.contry-index {
/*	display: block;*/
	border: solid 1px #999;
	width: 100%;
	padding: 0 10px;
	margin: 0;
	background: lightblue;
	font-weight :bold;
/*	margin-top: 5px;*/
/*	position: absolute;*/
}

.contry {
/*	width: 100%;*/
	display: table-cell;
	padding: 10px 5px;
	margin: 0;
	vertical-align: middle;
	border-left: solid 1px #999999;
	border-bottom: solid 1px #999999;
	position: relative;
/*	grid-template-columns: 350px 150px 600px;*/
}

.contry:nth-child(1) {
	width: 330px;
/*	position: absolute;*/
	position: relative;
}

.contry:nth-child(2) {
	width: 150px;
/*	position: absolute;*/
}

.contry:nth-child(3) {
	width: 620px;
	border-right: solid 1px #999999;
/*	position: absolute;*/
}
/*
.contry.com p {
	color: #0000ff;
	font-weight: bold;
}
*/
.contry-link {
/*width: 1000px;*/
	display: block;
	text-decoration: none;
	color: #000000;
	transition: 0.2s;
	position: relative;
}

.contry-link:hover {
	background:#ffc1e0;
	opacity: 1;

}

.contry:nth-child(1) img {
	width: 40px;
	vertical-align: middle;
	margin-right: 10px;
	border: none;
	float: left;
	align-items: center;
}

.contry:nth-child(1) p {
	overflow: hidden;
/*	zoom: 1;*/
	
	position: absolute;
	left: 55px;
  top: 50%;
  transform: translateY(-50%);
	line-height: 1.2;
}



/*
.contry .name {
	position: absolute;
	left: 60px;
	top : 0;
	float: left;
}
*/


#name-index-area.fixed {
	visibility: visible;
	left: 0; 
	right: 0;
}


/* 幅が1100px以下の場合ハンバーガーメニューを表示 */
@media screen and (max-width: 1100px) {
	.name-index-area {
		max-width: 100%;
		margin: 0 10px;
	}

	.contry-list  {
		width: 100%;
		margin: 0 auto;
	}

	.contry-table
	{
		margin: 10px;
	}

	.contry {
/*	width: 100%;*/
		display: flex;
		flex-direction: column;
		padding: 5px;
		margin: 0;
		vertical-align: middle;
		border-left: solid 1px #999999;
		border-bottom: solid 1px #999999;
		position: relative;
/*	grid-template-columns: 350px 150px 600px;*/
}


	.contry:nth-child(1) {
		width: 100%;
/*	display: flex;*/
/*	position: absolute;*/
		position: relative;
		border-right: solid 1px #999999;
	}

	.contry:nth-child(2) {
		width: 100%;
		border-right: solid 1px #999999;
/*	position: absolute;*/
	}

	.contry:nth-child(3) {
		width: 100%;
		border-right: solid 1px #999999;
/*	position: absolute;*/
	}

	.contry img {
		float: left;
	}

	.contry:nth-child(1) p {
		overflow: hidden;
		zoom: 1;
		position: absolute;
/*top:50%;*/
		left: 50px;
		vertical-align: middle;
	}

	.list-row:nth-child(n+3) {
		border-top: solid 1px blue;
	}
}



