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

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: "Roboto", sans-serif;
  color: #3d3536;
  background-color: white;
}

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

a {
  color: #336699;
  text-decoration: none;
}
a:hover {
	color: #FF6600;
}


html{
 overflow: hidden; /*IEで背景をちらつかせないようにする*/
 height: 100%;
}
body{
 overflow: auto;
 height: 100%;
}

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

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: 80%;
	max-width: 950px;
	margin-right: auto;
	margin-bottom: 130px;
	margin-left: auto;
}


.cd-container2 {
	/* 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: 80%;
	max-width: 950px;
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}



.cd-container::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}





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

Main components 

-------------------------------- */
.cd-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 2;
}
.cd-header:after {
  content: "";
  display: table;
  clear: both;
}
.cd-header #cd-logo {
	float: left;
	margin-top: 0px;
	margin-right: 0px;
	margin-left: 5%;
	position: relative;
}
.cd-header #cd-logo img {
  display: block;
}
@media only screen and (min-width: 768px) {
  .cd-header {
    height: 70px;
  }
  .cd-header #cd-logo {
    margin: 23px 0 0 5%;
  }
}

.cd-main-nav {
  float: right;
  margin-right: 5%;
  width: 44px;
  height: 100%;
  background: url("../images/cd-icon-menu.svg") no-repeat center center;
  background-size: 44px 44px;
  cursor: pointer;
}
.cd-main-nav ul {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-transform: translateY(-100%);
  -moz-transform: translateY(-100%);
  -ms-transform: translateY(-100%);
  -o-transform: translateY(-100%);
  transform: translateY(-100%);
}
.cd-main-nav ul.is-visible {
  -webkit-transform: translateY(50px);
  -moz-transform: translateY(50px);
  -ms-transform: translateY(50px);
  -o-transform: translateY(50px);
  transform: translateY(50px);
}
.cd-main-nav a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding-left: 5%;
  background: #2f292a;
  border-top: 1px solid #453c3d;
  color: #8e7d7f;
}
@media only screen and (min-width: 768px) {
  .cd-main-nav {
    width: auto;
    height: auto;
    background: none;
    cursor: auto;
  }
  .cd-main-nav ul {
    position: static;
    width: auto;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    line-height: 70px;
  }
  .cd-main-nav ul.is-visible {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
  }
  .cd-main-nav li {
    display: inline-block;
    margin-left: 1em;
  }
  .cd-main-nav a {
    display: inline-block;
    height: auto;
    line-height: normal;
    background: transparent;
    padding: .6em 1em;
    border-top: none;
    color: #3d3536;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
    font-size: 0.875rem;
  }
  .no-touch .cd-main-nav a:hover {
    color: #99a478;
  }
}

.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: 1;
}

.cd-fixed-bg {
  position: relative;
  min-height: 70%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  z-index: 1;
}


.cd-fixed-bg h1 {
  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: 90%;
  max-width: 1170px;
  text-align: center;
  font-size: 30px;
  font-size: 1.875rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  color: white;
}

.cd-fixed-bg h2 {

  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: 90%;
  max-width: 1170px;
  text-align: center;
  font-size: 30px;
  font-size: 1.875rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  color: white;
}

/**************************************
各コンテンツ背景設定
***************************************/
.cd-fixed-bg.cd-bg-1 {
  background-image: url("../images/cd-background-1.jpg");
}
.cd-fixed-bg.cd-bg-2 {
  background-image: url("../images/cd-background-2.jpg");
}
.cd-fixed-bg.cd-bg-3 {
  background-image: url("../images/cd-background-3.jpg");
}
.cd-fixed-bg.cd-bg-4 {
  background-image: url("../images/cd-background-4.jpg");
}
@media only screen and (min-width: 768px) {
  .cd-fixed-bg h1, .cd-fixed-bg h2 {
    font-size: 36px;
  }
}
@media only screen and (min-width: 1170px) {
  .cd-fixed-bg {
    background-attachment: fixed;
  }
  .cd-fixed-bg h1, .cd-fixed-bg h2 {
    font-size: 48px;
    font-weight: 300;
  }
}




/******************************
テキストコンテンツ
******************************/
.cd-scrolling-bg {
  position: relative;
  min-height: 100%;
  padding: 3em 0;
  line-height: 1.5;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
  z-index: 2;
}


/******************************
テキストコンテンツ背景・文字色
******************************/
.cd-scrolling-bg.cd-color-1 {
  background-color: #FFF4E8;
  color: #3d3536;
}
.cd-scrolling-bg.cd-color-2 {
  background-color: #EAF4F3;
  color: #3d3536;
}
.cd-scrolling-bg.cd-color-3 {
  background-color: #FFF1E3;
  color: #3d3536;
}

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





@media only screen and (min-width: 768px) {
  .cd-scrolling-bg {
    padding: 3em 0;
    font-size: 20px;
    font-size: 1.25rem;
    line-height: 2;
    font-weight: 300;
  }
}


/******************************
見出し
******************************/
.title {
	font-size: 30px;
	font-weight: bold;
	text-align: center;
	width: 100%;
}




/******************************
テーブル　線・背景
******************************/
.cd-container table {
	font-size: 70%;
	border-collapse: collapse; /* 枠線の表示方法 */ 
border: 1px #3d3536 solid; /* テーブル全体の枠線（太さ・色・スタイル） */ 
}


table td { 
border: 1px #3d3536 solid; /* セルの枠線（太さ・色・スタイル） */ 
} 

.td_bg01 {
	background-color: #FFF5E6;
}
.td_bg02 {
	background-color: #FFF;
}

.sub_title {
	font-weight: bold;
	font-size: 20px;
}


/******************************
ギャラリー
******************************/

.cd-containerphoto {
	/* 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: 80%;
	margin-right: auto;
	margin-bottom: 50px;
	margin-left: auto;
	text-align: center;
}
.cd-containerphoto img {
	margin-right: 1%;
	margin-left: 1%;
	width: 19%;
}


.cd-containerphoto img:first-child {
  margin-left: 0;　
  }
.cd-containerphoto-t {

	/* 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: 80%;
	margin-right: auto;
	margin-bottom: 50px;
	margin-left: auto;
	text-align: center;
}



/******************************
google map
******************************/
iframe {
	max-width: 100%;
	width: 320px;
	height: 320px;
}

/******************************
コピーライト
******************************/
#footer #foot_tx {
	font-size: 0.8em;
	color: #999999;
	text-align: center;
}



/******************************
2016-11-1　料金改定追加分枠
******************************/

#box_20161101 {
	padding: 15px;
	border: 3px solid #FE9900;
	margin-top: 15px;
	margin-left: 5px;
}
