﻿@charset "utf-8";

/*---------------------------------------------
	Browser Default Initialization
  ---------------------------------------------*/

html {
	overflow-y: scroll;
}

body, div, dl, dt, dd, ul, ul li, h1, h2, h3, h4, h5, h6,
pre, form, fieldset, input, textarea, p, blockquote, th, td,
section, nav, article, aside, hgroup, header, address,
figure, figcaption {
	margin: 0;
	padding: 0;
	line-height: 160%;
}
address, caption, cite, code, dfn, em, strong, th, var {
	font-style: normal;
	font-weight: normal;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
caption, th {
	text-align: left;
}
q:before ,q:after {
	content: '';
}
object, embed {
	vertical-align: top;
}
hr, legend {
	display: none;
}

img, abbr, acronym, fieldset {
	border: 0;
}
img {
	vertical-align: top;
	-ms-interpolation-mode: bicubic;
}
ul li {
	/*list-style-type: none;*/
}
h1, h2, h3 {
	/*text-align: center;*/
}
h2 {
	margin: 20px 0 10p;
	font-size: 150%;
}
h3 {
	font-size: 125%;
	margin-top: 30px;
	margin-bottom: 10px;
}
h4 {
	font-size: 110%;
}
h5 {
	font-size: 100%;
}
h6 {
	font-size: 80%;
	font-weight: 700;
}
dt {
	display: block;
	font-size: 100%; 
	font-weight: 700;
}
dd {
	display: inline;
	margin-left: 5px;
	margin-right: 5px;
}
p {
	margin: 5px 0;
	/*text-align: left;*/
}
.bit-small {
	font-size: 80%;
}
/* ------ Body ------ */

body {
	font-family: 'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
	color: #333;
	font-size: 16px;
	line-height: 200%;
	text-align: center;
	letter-spacing: -0.001em;		/* iOS4でのテキストの隙間への対応 */
	-webkit-text-size-adjust: 100%;		/* 文字サイズの自動調整機能のキャンセル */
}
.win body {
	font-family: 'メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
}


/* ------ Anchor ------ */

a {
	outline: none;
}

a:link {
	text-decoration: none;
	color: #38bdbb;
}
a:visited {
	text-decoration: none;
	color: #38bdbb;
}
a:hover {
	text-decoration: none;
	color: #38bdbb;
		opacity: 0.7;
}
a:active {
	text-decoration: none;
	color: #38bdbb;
}



/*-----------------------------------------------------	*/
/*	for all						*/
/*-----------------------------------------------------	*/

/* ------ General Settings ------ */

/* フルードイメージ対応 */
img {
	max-width: 100%;
	height: auto;
}
.ie8 img {
	width: auto;
}

p {
	font-size: 100%;
}

.img {
	text-align: center;
}

.text-center {
	text-align: center;
}

body {
	background-color: #fff;
}

#container {
	position: relative;			/* 親要素をposition:relativeとする */
	width: 100%;
	max-width: 960px;
	margin: 0 auto;
}

#contents {
	background: #f5f5f5;
  	/*background: #74ebd5;  /* fallback for old browsers */
	/*background: -webkit-linear-gradient(to right, #ACB6E5, #74ebd5);  /* Chrome 10-25, Safari 5.1-6 */
	/*background: linear-gradient(to right, #ACB6E5, #74ebd5); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
	width: 100%;
	-webkit-box-shadow: 0 0 20px rgba(0,0,0,0.1);
	box-shadow: 0 0 20px rgba(0,0,0,0.1);
}


/* ------ Column ------ */

.row {
	/*max-width: 930px;*/
	margin: 0 auto;
}
.row:after {
	content: "";
	display: block;
	clear: both;
}

/* 各カラムを横並びにし、左マージンを設定 */
.col {
	float: left;
	margin-left: 3.2258064515%;
}

/* 左端のカラムの左マージンを削除 */
.col:first-child,
.col.left {margin-left: 0;}

/* カラムの左右を入れ替えるための設定 */
.col.right {
	float: right;
	margin-left: 3.2258064515%;
}

/* 各カラムの幅を％で設定 */
.one-second {width: 48.3870967741%;}
.one-third {width: 31.1827956988%;}
.two-third {width: 65.5913978494%;}


/* ------ Header ------ */

header {
	width: 100%;
}

header .row {
	position: relative;
}

#title-holder {
	position: relative;
	background-color: #ffffff;
	background-image: url(../img/top_bnr720bg.jpg);
	background-repeat: no-repeat;
	background-position:bottom right;
	-moz-background-size:contain;
	background-size:contain;
}
header h1 {
	padding: 0 18% 18% 18%;
}
header h1 img {
	width: 100%;
}
header p {
	padding: 3%;
}
header p img {
	width: 80%;
}


/* ------ Navigation -----*/
nav {
	display:block;

}
nav ul{

}
nav li {
	display:inline;
	border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	padding: 0 5px;
}
nav li a {
	display:inline-block;
	width: 150px;
	background-color:#38bdbb;
	color: #fff;
	border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	-moz-border-radius: 0.5em;
	/*padding: 5px 10px;*/

	text-decoration:none;
}
nav li a:link {
	color: #fff;

}
nav li a:visited {
	color: #fff;
}
nav li a:hover {
	color: #fff;
	opacity: 0.7;
}
nav li a:active {
	color: #fff;
}

#pageTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
}
 
#pageTop a {
  display: block;
  z-index: 999;
  padding: 8px 0 0 4px;
  border-radius: 30px;
  width: 45px;
  height: 45px;
  line-height:1;
  background-color: #38bdbb;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
}
 
#pageTop a:hover {
  text-decoration: none;
  opacity: 0.7;
} 
.scroll-down {
	display: inline-block;
	position: absolute;
	/*bottom: 20px;*/
	left: 50%;
	z-index: 2;
	-webkit-transform: translate(-50%, 0);
	transform: translate(-50%, 0); 
	text-decoration: none;
}
.scroll-down {
	padding-top: 80px;
	font-weight: 700;
	font-size: 120%
}
.scroll-down span {
	position: absolute;
	top: 0;
	left: 50%;
	width: 24px;
	height: 24px;
	margin-left: -12px;
	border-left: 2px solid #38bdbb;
	border-bottom: 2px solid #38bdbb;
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	-webkit-animation: sdb 2s infinite;
	animation: sdb 2s infinite;
	opacity: 0;
	box-sizing: border-box;
}
.scroll-down span:nth-of-type(1) {
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
}
.scroll-down span:nth-of-type(2) {
	top: 16px;
	-webkit-animation-delay: .15s;
	animation-delay: .15s;
}
.scroll-down span:nth-of-type(3) {
	top: 32px;
	-webkit-animation-delay: .3s;
	animation-delay: .3s;
}
@-webkit-keyframes sdb {
	0% {
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}
@keyframes sdb {
	0% {
		opacity: 0;
	}
	50% {
		opacity: 1;
	}
	100% {
		opacity: 0;
	}
}
/* ------ Article ------ */

article {	
	padding-bottom: 50px;
}
section {
	margin-top: 0;
}
.section-title {
	padding: 10px 0;
}
#introduction, #overview {
	width: 90%;
	padding-top: 20px;
	margin-left: auto;
	margin-right: auto;
}
#overview  p {
	text-align: center;
}
.event-date,.event-venue {
	margin-top: 10px;
}
.event-date span {
	font-size: 80%;
}
#access {
	margin-top: 30px;
}
#access p {
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}
#notice {
	margin-top: 30px;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
}

/* ------ Event ------ */
#event {
	width: 100%;
	padding-top: 20px;
	margin-left: auto;
	margin-right: auto;
}
.event-showcase {
	border-bottom: 1px #555 solid;
}
#lab-experience {
	/*border-top: 1px #555 solid;*/
}
.event-info {
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 30px;
	text-align: left;
	padding: 15px;
	background-color: #fff;
	box-shadow: 0 0 5px 3px rgba(0, 0, 0, 0.2);
	overflow: hidden;
}
span.egg_number{
 	position: absolute;
 	top:16px;
 	left:22px;
 	transform: translate(-50%);
 	-moz-transform: translate(-50%);
	-webkit-transform: translate(-50%);
	font-size: 18px;
	font-weight: 700;
	color: blue;
 	}
h4.event-name {
	background: url(../img/egg_small.gif) no-repeat;
	position:relative;
	padding: 16px 0 16px 60px;
}
.event-list {
	list-style: inside disc;
}
.event-type {
	padding-bottom: 20px;
}
img.m-icon {
	display: inline;
	margin-right: 10px;
	vertical-align: bottom;

}
.time, .place {
	display: block;
	padding: 0;
}
.fa-blue {
	color:blue;
}
.event-photo img{
	margin-top:10px;
	border-radius: 0.5em;
	-webkit-border-radius: 0.5em;
	-moz-border-radius: 0.5em;
}
.pendant-width {
	width: 67%;
	
}
.trim-circle {
	overflow: hidden;
	width:200px; 
	height:200px;
	border-radius: 50% ;
	-webkit-border-radius: 50%;
	position: relative;
	margin-left:auto;
	margin-right:auto;
}
.trim-circle img {
	object-fit: cover;
	width: 200px;
	height:200px;
}

/* ------Loop slider -------- */
#loopslider {
    margin: 20px auto;
    width: 100%;
    height: 240px;
    text-align: left;
    position: relative;
    overflow: hidden;
}
 
#loopslider ul {
    height: 240px;
    float: left;
    display: inline;
    overflow: hidden;
}
 
#loopslider ul li {
    height: 240px;
    float: left;
    display: inline;
    overflow: hidden;
}

/* =======================================
    ClearFixElements
======================================= */
#loopslider ul:after {
    content: ".";
    height: 0;
    clear: both;
    display: block;
    visibility: hidden;
}
 
#loopslider ul {
    display: inline-block;
    overflow: hidden;
}



/* ------ Footer ------ */

footer {
	overflow: hidden;
	background-color: #ffffff;
}
#copyright {
	margin-bottom: 35px;
}

#copyright p {
	font-size: 62%;
	color: #bbb;
}

footer .logo {
	text-align: left;
	float: left;
	margin-top:20px;
	margin-left: 20px;
}
footer .contact {
	text-align: left;
	float: left;
	margin-left: 20px;
}
.hojin {
	font-size: 70%;
	line-height: 1.2;
}

/*-----------------------------------------------------	*/
/*	for 640px - 979px				*/
/*-----------------------------------------------------	*/

@media screen and (min-width: 640px) and (max-width: 979px) {

	/* ------ Column ------ */

	/* 左右に25pxの余白を設定 */
	.row {
		padding: 0 25px;
	}

}



/*-----------------------------------------------------	*/
/*	for - 639px					*/
/*-----------------------------------------------------	*/

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

	/* ------ Column ------ */

	/* 各カラムの横並びを解除し、縦１列に並べる */
	.col,
	.col.left,
	.col.right {
		float: none;
		width: auto;
		margin-left: 0;
	}
	

	/* ------ Header ------ */
	
	header h1 {
		padding: 0 3% 33% 3%;
	}
	header p {
		padding:3%;
	}
	header h1 img, header p img{
		width: 100%;
	}


	header {
		padding-top: 0;
	}
	header .row:before {
		display: none;
	}

	header .col:first-child {
		height: 90px;
	}

	header .logo {
		margin: 0 auto;
		padding-top: 15px;
	}
	header h1 {
		font-size:28px;
	}
	#title-holder {
		background-size:130% auto;
	}
	.scroll-down {
		display: none;
	}

	/* ------ Article ------ */
	section {
		margin-top: 20px;
		padding: 0;
	}
	#introduction, #overview, #event {
		width: 90%;
		margin-left: auto;
		margin-right: auto;
	}
	.event-date,.event-venue {
	font-size: 100%;
	}
	.time, .place {
		display: inline;
	}
	dd {
		display: block;
		margin-left: 5px;
		margin-right: 5px;
	}
	.pendant-width {
		width: 100%;
	}
	/* ------ Footer ------ */

	footer {
		border-top: solid 1px #fff;
	}

	footer nav {
		margin-top: 15px;
	}

	footer nav ul {
		padding: 0 15px;
		text-align: center;
	}

	#copyright {
		margin-bottom: 0;
		padding: 0 15px;
		text-align: center;
	}

	footer .logo {
		padding: 20px 0 30px;
		text-align: center;
	}

}
