/* -------------------------------- 

Primary style

-------------------------------- */

html * {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

*, *:after, *:before {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

body {
	font-size: 100%;
	font-family: "ＭＳ Ｐ明朝", "MS PMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", serif;
	color: #535362;
	background-color: white;
}

body, html {
	/* important */
	height: 100%;
}

a {
	color: #004793;
	text-decoration: none;
}

a:hover{
	color: #004793;
	text-decoration: underline;
}

/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */

.cd-container {
	/* this class is used to give a max-width to the element it is applied to, and center it horizontally when it reaches that max-width */
	width: 90%;
	max-width: 1020px;
	margin-top: 0em;
	margin-right: auto;
	margin-bottom: 0em;
	margin-left: auto;
}
.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}

/* ------------------------------- 
HEADER
-------------------------------- */

.cd-header {
	width: 100%;
	min-width: 1180px;
	position: fixed;
	top: 0;
	left: 0;
	height: 90px;
	margin: 0px;
	padding: 0px;
	position: fixed;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
	z-index: 999;
	background-color: rgba(255,255,255,0.80);
	/*overflow-x:scroll;*/
  }

.cd-header #cd-logo {
	float: left;
	margin: 0px;
}

.cd-header:after {
  content: "";
  display: table;
  clear: both;
}

@media only screen and (min-width:1px) and (max-width:768px){
	
.cd-header {
	height: 70px;
	min-width: 100%;
	
}
.cd-header #cd-logo img{
	height: 70px;
}

}



/* -------------------------------- 
NAV
-------------------------------- */

.cd-main-nav {
	float: right;
	width: auto;
	height: auto;
	background: none;
	cursor: auto;
	margin-top: 0px;
	margin-right: 0%;
}
.cd-main-nav ul {
  position: static;
  width: auto;
  /*
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
  */
}
.cd-main-nav li {
	/*display: inline-block;*/
	margin-left: 0px;
	float: left;
  }
.cd-main-nav li.lp {
	margin-left: 0px;
  }
.cd-main-nav li.sns {
	margin-right: 15px;
	width: 24px;
	margin-left: 15px;
	margin-top: 15px;
  }
 
/* global_sp_nav
===================================*/

#global_sp_nav{
	display: none;
}

@media only screen and (min-width:1px) and (max-width:768px){
	
.cd-main-nav {
	float: right;
	margin-right: 0%;
	width: 70px;
	height: 100%;
	background: url("../images/cd-icon-menu.png") no-repeat center center;
	background-size: 70px 70px;
	cursor: pointer;
	margin-top: 0px;
}

.cd-main-nav ul {
	position: absolute;
	top: 0;
	left: 0;
	-webkit-transform: translateY(-100%);
	-moz-transform: translateY(-100%);
	-ms-transform: translateY(-100%);
	-o-transform: translateY(-100%);
	transform: translateY(-100%);
	width: 100%;
}

.cd-main-nav ul.is-visible {
  -webkit-transform: translateY(70px);
  -moz-transform: translateY(70px);
  -ms-transform: translateY(70px);
  -o-transform: translateY(70px);
  transform: translateY(70px);
}

.cd-main-nav li {
	float: none;
	width: 100%;
	margin: 0px;
	text-align: center;
  }
.cd-main-nav a {
	display: block;
	/*height: 50px;
  line-height: 50px;
  padding-left: 5%;*/
	background: #FFF;
	border-top-width: 1px;
	border-top-style: solid;
	border-top-color: #CCCCCC;
}
.no-touch .cd-main-nav a:hover {
	color: #99A478;
  }
  
/* global_sp_nav
===================================*/

#global_sp_nav {
	display: block;
}

/*背景固定*/
.fixed {
  position: fixed;
  width: 100%;
  height: 100%;
}

#global_sp_nav .hb-nav {
	position: fixed;
	top: 0px;
	right: 0px;
	width: 70px;
	height: 70px;
	z-index: 2000;
}

#global_sp_nav .hb-nav .button {
	display: block;
	width: 100%;
	height: 100%;
	background: transparent url(../images/cd-icon-menu.png) left top no-repeat;
	background-size: contain;
	cursor: pointer;
	}

#global_sp_nav .hb-nav .button.open {
	background: transparent url(../images/cd-icon-close.png) left top no-repeat;
	background-size: contain;
	}

#global_sp_nav .op-nav {
	position: fixed;
	z-index: 2000;
	top: 70px;
	width: 100%;
	/*scroll*/
	height: 100%;
	overflow-y: scroll;
	-webkit-overflow-scrolling:touch;
}

#global_sp_nav .op-nav.hidden {
display: none;
}

#global_sp_nav #spnav {
position: static;
width: 100%;
margin: 0;
padding: 0;
}

#global_sp_nav #spnav li {
	width: auto;
	margin: 0;
	background-color: rgba(255, 255, 255, 0.8);
	border-top: solid 1px #CCC;
	text-align: center;
	color: #FFF;
	font-size: 14px;
	padding-top: 4px;
	padding-right: 0;
	padding-bottom: 4px;
	padding-left: 0;
	}
	
#global_sp_nav #spnav li a{
	display: block;
	color: #FFF;
	text-decoration: none;
	}

#global_sp_nav #spnav li li{
	/*width: 100%;*/
	margin: 0;
	padding: 5px 0 5px 30px;
	background-size: 5px;
	color: #FFF;
	text-align: left;
	font-size: 12px;
	background-color: #5a8a6b;
	/*background-image: url(../images/icon_spnv.png);
	background-repeat: no-repeat;
	background-position: 15px center;
	*/
	}
	
#global_sp_nav #spnav li li a{
	padding-left: 0;
	display: block;
	color: #FFF;
	}
	
#global_sp_nav #global_sp_nav p{
	padding: 25px 0;
	display: block;
	background-color: #FFFFFF;
	text-align: center;
	}

#global_sp_nav #spnav li.soon{
	padding-left: 15px;
	opacity: 0.7;
	}

#global_sp_nav #spnav li li.soon{
	padding-left: 30px;
	opacity: 0.7;
	}

#global_sp_nav #spnav h2 {
	width: auto;
	margin: 0;
	background-color: rgba(5, 0, 87, 0.8);
	border-top: solid 1px #CCC;
	text-align: center;
	color: #FFF;
	font-size: 14px;
	padding-top: 4px;
	padding-right: 0;
	padding-bottom: 4px;
	padding-left: 0;
	}

#global_sp_nav #spnav h2.sns {
	width: auto;
	margin: 0;
	background-color: rgba(0, 0, 0, 0.8);
	border-top: solid 1px #CCC;
	text-align: center;
	color: #FFF;
	font-size: 14px;
	padding-top: 4px;
	padding-right: 0;
	padding-bottom: 4px;
	padding-left: 0;
	}

}



/* -------------------------------- 
MAIN
-------------------------------- */


.cd-main-content {
	/* you need to assign a min-height to the main content so that the children can inherit it*/
	height: 100%;
	position: relative;
	z-index: 2;
}

.cd-fixed-bg {
	position: relative;
	min-height: 40%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	z-index: 20;
}
.cd-fixed-bg h2 {
	font-family: 'Droid Serif', "Times New Roman", Times, serif;
	position: absolute;
	left: 50%;
	top: 50%;
	bottom: auto;
	right: auto;
	-webkit-transform: translateX(-50%) translateY(-50%);
	-moz-transform: translateX(-50%) translateY(-50%);
	-ms-transform: translateX(-50%) translateY(-50%);
	-o-transform: translateX(-50%) translateY(-50%);
	transform: translateX(-50%) translateY(-50%);
	width: 100%;
	max-width: 1170px;
	text-align: center;
	font-size: 20px;
	/*font-size: 1.6rem;*/
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
	color: #FFF;
	font-weight: 400;
	/*letter-spacing: 0.1em;*/
}
.cd-fixed-bg.cd-bg-0 {
  background-image: url("../images/bg_contents.jpg");
}
.cd-fixed-bg.cd-bg-1 {
  background-image: url("../images/bg_contents_2.jpg");
}
.cd-fixed-bg.cd-bg-2 {
  background-image: url("../images/bg_contents_3.jpg");
}
.cd-fixed-bg.cd-bg-3 {
  background-image: url("../images/bg_contents_4.jpg");
}
.cd-fixed-bg.cd-bg-4 {
  background-image: url("../images/bg_contents_5.jpg");
}
.cd-fixed-bg.cd-bg-5 {
  background-image: url("../images/bg_contents_6.jpg");
}

@media only screen and (min-width: 768px) {
	
  .cd-fixed-bg h2 {
    font-size: 36px;
  }
  
  .cd-fixed-bg {
    background-attachment: fixed;
  }
  
   .cd-fixed-bg h2 {
	font-size: 24px;
	font-weight: 400;
	font-family: 'Droid Serif', "Times New Roman", Times, serif;
  }
  
}

.cd-scrolling-bg {
	position: relative;
	min-height: 50%;
	line-height: 1.8;
	box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
	z-index: 30;
	padding-top: 4em;
	padding-right: 0;
	padding-bottom: 4em;
	padding-left: 0;
}

.cd-scrolling-bg  h2{
	text-align: center;
	font-size: 1.4rem;
	font-weight: bold;
	color: #FFF;
	margin-bottom: 1em;
	line-height: 1em;
	letter-spacing: 0.2em;

	
}

.cd-scrolling-bg.cd-color-0 {
  background-color: #3d3536;
  color: #00529F;
}

.cd-scrolling-bg.cd-color-1 {
	background-color: #FEFEFE;
	background-image: url(../images/bg_concept.png);
	background-repeat: no-repeat;
	background-position: right 50px;
}

.cd-scrolling-bg.cd-color-2 {
	background-color: #FFF;
	padding-top: 4em;
	padding-bottom: 4em;
}
.cd-scrolling-bg.cd-color-3 {
	background-color: #FFFFFF;
	color: #3d3536;
}

.cd-scrolling-bg.cd-color-4 {
  background-color: #FFFFFF;
  color: #3d3536;
}

.cd-scrolling-bg.cd-color-5 {
	background-color: #060055;
	color: #FFFFFF		
}

.cd-scrolling-bg.cd-color-6 {
	background-color: #EDEDED;
	min-height: auto;
}

.cd-scrolling-bg.cd-color-map {
	background-color: #000000;
	color: #FFFFFF;
	text-align: center;
		
}

.cd-color-cr {
	position: relative;
	min-height: 10%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	z-index: 20;
	background-color: #060055;
	color: #FFFFFF;
	text-align: center;
	padding-top: 2em;
	padding-bottom: 2em;
	font-family: "Droid Serif", "Times New Roman", Times, serif;
	font-size: 12px;
}
.cd-scrolling-bg.cd-color-5 p {
	
	text-align: center;
}


@media screen and (max-width: 640px), screen and (orientation: landscape) and (max-width: 738px) {
	
.cd-scrolling-bg  h2{
	text-align: center;
	font-size: 1.2rem;
	font-weight: bold;
	color: #FFF;
	margin-bottom: 1em;
	line-height: 1em;
	letter-spacing: 0.2em;

	
}	
  .cd-scrolling-bg {
	font-size: 18px;
	font-size: 0.9rem;
	line-height: 1.8;
	font-weight: 200;
	padding-top: 4em;
	padding-right: 0;
	padding-bottom: 4em;
	padding-left: 0;
  }
  
}
