@charset "utf-8";

/* *-------------------------------------------------------------------
html,body,wrapper,PAGE
---------------------------------------------------------------------------- */
html, body, [canvas=container], [off-canvas] {
    width:100%;    height:100%;
    -webkit-overflow-scrolling: touch;
    overflow-scrolling: touch;
/*Webフォント対策*/
    text-rendering: optimizeLegibility;
    font-kerning: normal;
    font-variant-ligatures: common-ligatures contextual;
    font-feature-settings: "kern", "liga", "clig", "calt";
}
html,
body{
	width:100%;
	height:100%;
  overflow-scrolling: touch;
}

#wrapper{
	width:100%;
	height:100%;

	height: auto !important;
	min-height: 100%;
}
#PAGE{
	width: 100%;
}
#PAGE:before,#PAGE:after {    content:"";    display:table;}
#PAGE:after {    clear:both;}


/* *-------------------------------------------------------------------
 BODY、main
-------------------------------------------------------------------* */
body{

}
main{
	display: block;/*	IE対策*/
	width:100%;
    margin-bottom: 80px;
}

/* *-------------------------------------------------------------------
コンテンツの横サイズ（px）
---------------------------------------------------------------------------- */
header,
footer,
article,
section{
    width: 100%;
}

nav#GNAV ul{
	width:1200px;
	margin-left:auto;
	margin-right:auto;
}



/*プロジェクトによって変更*/
.widthXS{width: 960px;margin-left: auto;margin-right: auto;}
.w1000,.section,.widthS{width: 1000px;margin-left: auto;margin-right: auto;}
.w1100,.widthM{width: 1100px;margin-left: auto;margin-right: auto;}
.w1200,.widthL{width: 1200px;margin-left: auto;margin-right: auto;}
.w1366,.widthXL{width: 1366px;margin-left: auto;margin-right: auto;}

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


.section,
.widthXS,
.widthS,
.widthM,
.widthL,
.widthXL{
	width:90%;
}

.w1000,
.w1100,
.w1200,
.w1366{
	width:100%;
}

}

/* *-------------------------------------------------------------------
 header（header.cssに移動）
-------------------------------------------------------------------* */
header{}
header:before,header:after {    content:"";    display:table;}
header:after {    clear:both;}




/* *-------------------------------------------------------------------
 footer（footer.cssに移動）
-------------------------------------------------------------------* */
footer {}
footer:before,footer:after {    content:"";    display:table;}
footer:after {    clear:both;}
/* *-------------------------------------------------------------------
CONTENTS,article,section
------------------------------------------------------------------- */
#CONTENTS{}
#CONTENTS:before,#CONTENTS:after {    content:"";    display:table;}
#CONTENTS:after {    clear:both;}

/*
 article,section
-------------------------------------------------------------------* */
article{	margin: 0;}
section{

}



section + section{
	margin-top: 80px;
}

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

section{

}

section + section{
	margin-top: 40px;
}

}

/*
 MAIN
-------------------------------------------------------------------* */
#MAIN{
    background: #e8ff9b;
    float:left;
    width:670px;
    margin:0;
}
@media only screen and (max-width: 768px) {

#MAIN{
    float:none;
    width:100%;
    margin:0;
}

}
/*
 SIDE
-------------------------------------------------------------------* */
#SIDE{
    background: #b85703;
    float:right;
    width:260px;
    margin:0;
}
@media only screen and (max-width: 768px) {

#SIDE{
    float:none;
    width:100%;
    margin:0;
}

}

/*
 aside
------------------* */
aside{

}


/* *-------------------------------------------------------------------
 nav
-------------------------------------------------------------------* */
nav{margin: 0;padding: 0;}
nav:before,nav:after {    content:"";    display:table;}
nav:after {    clear:both;}




/* *-------------------------------------------------------------------
 パンくずナビ
--------------------------------------------------------------- */
#BREADNAV{
	width: 100%;
	min-width: 960px;
	background: #f66924;
	padding: 5px 0;
}
#BREADNAV p#breadcrumbs{
	max-width: 960px;
	margin: 0 auto;
	text-align: left;
	color: #ffffff;
}
#BREADNAV p#breadcrumbs a{
	color: #ffffff;
	text-decoration: underline;
}
#BREADNAV p#breadcrumbs a:hover{
	    filter: alpha(opacity=50);
    -moz-opacity:0.5;
    opacity:0.5;
}

@media only screen and (max-width: 480px) {
#BREADNAV{
	width: 100%;
	min-width: 100%;
}
#BREADNAV p#breadcrumbs{
	padding: 0.5em;
	font-size: 0.75em;
}

}



/*
 検索
-------------------------------------------------------------------* */


/* google検索 */
#cse-search-box {}

#cse-search-box td {
    padding: 0 !important;
}
#cse-search-box input[type="text"] {
    width: 210px;
    height: 30px;
    margin: 0;
    padding: 10px;

    border:1px;
    border-radius: 5px 0px 0px 5px;
    -moz-border-radius: 5px 0px 0px 5px;
    -webkit-border-radius: 5px 0px 0px 5px;
    background-color: #f5f5f5;
    float: left;
}
#cse-search-box input[type="submit"] {
    background-image: url(../images/cse-search-box.svg);
    background-repeat: no-repeat;
    background-position: center center;
    float: left;
    border: 0 none;
    height: 30px;
    margin:0 0 0 0;
    overflow: hidden;
    text-indent: -9999px;
    display: block;
    width: 50px;
    -webkit-appearance: none;
        cursor:pointer;cursor:hand;
    border-radius: 0 5px 5px 0px;
    -moz-border-radius: 0 5px 5px 0px;
    -webkit-border-radius: 0 5px 5px 0px;
}

/*
@media only screen and (max-width: 768px) {
#cse-search-box {
    width: 100px !important;
}
#cse-search-box input[type="text"] {
    width: 75px !important;
}
#cse-search-box input[type="submit"] {
    height: 25px;
    margin:-25px 0 0 90px;
}

}
*/

/* *-------------------------------------------------------------------
 FLEXレイアウト
-------------------------------------------------------------------* */
.boxD{
	background-color: #ff0000;
	color: #ffffff;
	text-align: center;
	padding: 20px 0;
}
/*
 折り返しなし
------------------------------------------------------------------- */
/*均等割　マージンpx;*/
.rowXS,
.rowS,
.rowM,
.rowL,
.rowXL{
  display : -webkit-box;     /* old Android */
  display : -webkit-flex;    /* Safari etc. */
  display : -ms-flexbox;     /* IE10        */
  display : flex;

    justify-content: space-between;
    flex-wrap: wrap;
}

/* ----- 折り返す（右から左） ----- */
.wrap-reverse {
  -webkit-flex-wrap: wrap-reverse;  /* Safari etc. */
  -ms-flex-wrap    : wrap-reverse;  /* IE10        */
  flex-wrap        : wrap-reverse;
}


/*プロジェクトによってマージン変更*/
.rowXS .item {	margin-left: 10px;	width: 100%;}
.rowS .item {	margin-left: 20px;	width: 100%;}
.rowM .item {	margin-left: 30px;	width: 100%;}
.rowL .item {	margin-left: 40px;	width: 100%;}
.rowXL .item {	margin-left: 50px;	width: 100%;}

.rowXS .item:first-child,
.rowS .item:first-child,
.rowM .item:first-child,
.rowL .item:first-child,
.rowXL .item:first-child{	margin-left:0;}

@media screen and (max-width: 768px) {
.rowXS,
.rowS,
.rowM,
.rowL,
.rowXL {
	-ms-flex-wrap : wrap;
	-webkit-flex-wrap : wrap;
	flex-wrap: wrap;
}

.rowXS .item{	margin-top: 10px;	margin-left:auto;}
.rowS .item{	margin-top: 20px;	margin-left:auto;}
.rowM .item{	margin-top: 30px;	margin-left:auto;}
.rowL .item{	margin-top: 40px;	margin-left:auto;}
.rowXL .item{	margin-top: 50px;	margin-left:auto;}
/*

*/
}

/*
 折り返しあり　マージンはプロジェクトによって変更
IE10はマージンは1%
------------------------------------------------------------------- */
div.list8,
div.list7,
div.list6,
div.list5,
div.list4,
div.list3,
div.list2 {
    display : -webkit-box;
    display : -webkit-flex;
    display : -ms-flexbox;
    display : flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap    : wrap;
    flex-wrap        : wrap;
    -webkit-justify-content: space-between;
    -ms-justify-content: space-between;
    justify-content: space-between;
    margin-bottom: -10px;
}

div.list8 .item,
div.list7 .item,
div.list6 .item,
div.list5 .item,
div.list4 .item,
div.list3 .item,
div.list2 .item{
    overflow:hidden;
    margin-right: 5px;
    margin-left: 5px;
    margin-bottom: 10px;
}
div.list2 .item{
	width: -webkit-calc((100% / 2) - 10px );
	width: calc((100% / 2) - 10px );

}
*::-ms-backdrop, div.list2 .item {  width: 49.5%;}

div.list3 .item{
	width: -webkit-calc(((100% - .01px) / 3) - 10px );
	width: calc(((100% - .01px) / 3) - 10px );
}
*::-ms-backdrop, div.list3 .item {	width:32.66% ;}

div.list4 .item{
	width: -webkit-calc((100% / 4) - 10px );
	width: calc((100% / 4) - 10px );
}
*::-ms-backdrop, div.list4 .item {	width:24.25% ;}

div.list5 .item{
	width: -webkit-calc((100% / 5) - 10px );
	width: calc((100% / 5) - 10px );
}
*::-ms-backdrop, div.list6 .item {  width: 19.2%;}

div.list6 .item{
	width: -webkit-calc(((100% - .01px) / 6) - 10px );
	width: calc(((100% - .01px) / 6) - 10px );
}
*::-ms-backdrop, div.list6 .item {  width: 15.83%;}

div.list7 .item{
	width: -webkit-calc(((100% - .01px) / 7) - 10px );
	width: calc(((100% - .01px) / 7) - 10px );
}
*::-ms-backdrop, div.list7 .item {  width: 13.42%;}

div.list8 .item{
	width: -webkit-calc(((100% - .01px) / 8) - 10px );
	width: calc(((100% - .01px) / 8) - 10px );
}
*::-ms-backdrop, div.list8 .item {  width: 11.6%;}


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

div.list8,
div.list7,
div.list6,
div.list5,
div.list4,
div.list3,
div.list2 {
    width: 100%;
    -webkit-flex-direction: column;
    -ms-flex-direction    : column;
    flex-direction       : column;
}

div.list8 .item,
div.list7 .item,
div.list6 .item,
div.list5 .item,
div.list4 .item,
div.list3 .item,
div.list2 .item{
	width: 100%;
	margin-bottom: 10px;
    margin-left: auto;
    margin-right: auto;
}


}








