@charset "utf-8";

/* @group Reset */

*{ margin: 0;padding: 0}

body {
	background-color: #ccd5cc;
  }
  a { text-decoration : none}
ul, ol { list-style : none}
img { vertical-align : middle}

/* image link */
a img		{border:none;margin:0px;padding:0px;}
a:hover img	{filter:alpha(opacity=80);-moz-opacity:0.80;opacity:0.80;}

/* @end */


/* @group Fluid-img */

img { max-width : 100%}

/* @end */


/* @group HTML */

html {
font-family : verdana, sans-serif;
font-size : 75%; /*レスポンシブタイプセッティングの指定*/
line-height : 1.5}

/* @end */


/* @group Heading */

h1 {
font-size : 3em; /* 48px */
font-size : 1em; /* 16px */
line-height : 1; /* 48px */
margin-bottom : 0.5em }

h2 {
font-size : 2.25em; /* 36px */
line-height : 1.3333; /* 48px */
margin-bottom : 0.6667em }

h3 {
font-size : 1.5em; /* 24px */
line-height : 1; /* 24px */
margin-bottom : 1em }

h4 {
font-size : 1em; /* 16px */
line-height : 1.5; /* 24px */
color : #7D4934;
margin-bottom : 1em }

hgroup h2,h5,h6 {
font-size : 1em; /* 16px */
line-height : 1.5; /* 24px */
margin-bottom : 1.5em }

/* @end */

/* @group Header */

header {
text-align : center;
padding-top : 0.5em;
background : #b4d4b4;

}

header h1 {
text-align : left;
margin-bottom : 0.5em;
margin-left : 1.5em;
color : #3b3b3b
}
header h2 { color : #fff}

/* @end */

/* @group Nav */

nav {
text-align : center;
margin-bottom : 1.5em;
background-color: #7D4934;
background: -moz-linear-gradient(top, rgba(125,73,52,1) 0%, rgba(43,21,18,1) 88%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(125,73,52,1)), color-stop(88%,rgba(43,21,18,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(125,73,52,1) 0%,rgba(43,21,18,1) 88%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(125,73,52,1) 0%,rgba(43,21,18,1) 88%); /* Opera 11.10+ */
background: linear-gradient(to bottom, rgba(125,73,52,1) 0%,rgba(43,21,18,1) 88%); /* W3C */
}

nav ul { overflow : hidden}
nav ul li { width : 25%;
		float : left}
nav ul li a {
display : block;
color : #d8c2a4;
padding : 0.75em 0}

nav ul li a:hover {
color : white;
background-color : #7d4934}

/* @end */

nav2 {
text-align : center;
margin-bottom : 1.5em;
background-color: #7D4934;
background: -moz-linear-gradient(top, rgba(125,73,52,1) 0%, rgba(43,21,18,1) 88%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(125,73,52,1)), color-stop(88%,rgba(43,21,18,1))); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, rgba(125,73,52,1) 0%,rgba(43,21,18,1) 88%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, rgba(125,73,52,1) 0%,rgba(43,21,18,1) 88%); /* Opera 11.10+ */
background: linear-gradient(to bottom, rgba(125,73,52,1) 0%,rgba(43,21,18,1) 88%); /* W3C */
}

nav2 ul { overflow : hidden}
nav2 ul li { width : 25%;
		float : left}
nav2 ul li a {
display : block;
color : #d8c2a4;
padding : 0.75em 0}

nav2 ul li a:hover {
color : white;
background-color : #7d4934}

/* @group Contents */

#contents {
width : 90%;
margin : 0 auto;
text-align : center}

#contents p {
margin-bottom : 1.5em;
text-align : left}
#contents img {
margin-bottom : 1.5em;
box-shadow : 0 0 5px #2f1f1f}

#flexdiv{
	display: -webkit-box;
  	display: -webkit-flex;
  	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
  	-webkit-justify-content: space-around;
  	-ms-flex-pack: justify;
	justify-content: space-around;
	flex-wrap: wrap;
}
#flexdiv2 {
padding : 0em 0em;
width: calc(45% - 10px);
}

#typeA {
padding : 1.5em 1.5em;
margin-right : 1.5em;
margin-bottom : 1.5em;
background-color : #f9f9f9;
box-shadow : 0 0 1px #2f1f1f
}


#typeB {
padding : 1.5em 3em;
margin-left : 1.5em;
margin-bottom : 1.5em;
background-color : #211f1f
}

    #typeB h3 {
    color : #ffffff
    }
    #typeB h4 {
    color : #d8c2a4
    }
    #typeB p {
    color : #ffffff
    }

#typeC {
padding : 1.5em 1.5em;
margin-bottom : 1.5em;
background-color : #f9f9f9
}


/* @end */

/* @group Footer */

footer {
padding : 1.5em 0;
color : white;
text-align : center;
background-color : #b4d4b4;
}
/* @end */

/*768px*/
@media screen and (min-width : 768px){

html{ font-size : 87.5%} /*レスポンシブタイプセッティングの指定*/
#contents { text-align : left}

}

/*1024px*/
@media screen and (min-width : 1024px) {

html{ font-size : 100%} /*レスポンシブタイプセッティングの指定*/

header {
margin : 0 auto;
/*1024px以上では幅を固定*/
	width : 960px
}


/* @group Nav */

nav ul {
width : 93.75%;/* 960/1024 */
margin : 0 auto;
/*1024px以上では幅を固定*/
	width : 960px
}

/* @end */

/* @group Contents */

#contents {
overflow : hidden;
/*float : left;*/
width : 93.75%;
	/*1024px以上では幅を固定*/
	width : 960px
}

#contents #main,
#contents #sub {
/*float : left;*/
margin : 0 1.0416667% }

/*
#contents #main { width : 64.5833333%}
#contents #sub { width : 31.25%}
*/

/* @end */




/* @group Footer */

footer {
/*float : left;*/
width : 91.796875%; /*940/1024*/
/*1024px以上では幅を固定*/
	width : 960px;
margin : 0 auto}

/* @end */

}



#scroll-to-top-btn{
	position: fixed;
	top: 0px;
	right: 0px;
	/* height: 155px; */
	width: 100%;
	/* width: 355px; */
	/* color: #FFF; */
	/* font-size: 32px; */
	background-color: #7D4934;
	border: none;
	/* border-radius: 50%; */
	outline: none;
	/* transform: rotate(-90deg); */
	text-align : center;
	opacity: 0;
	transition-duration: 0.5s;

	/* position: fixed;
	bottom: 20px;
	right: 20px;
	height: 155px;
	width: 55px;
	color: #FFF;
	font-size: 32px;
	background-color: #7D4934;
	border: none;
	border-radius: 50%;
	outline: none;
	transform: rotate(-90deg);
	text-align : center;
	opacity: 0;
	transition-duration: 0.5s; */
}
