/* CSS Document */

@media screen and (max-width:640px) {
body {
    font-size: 14px;
}
body, #mainvisual .inner, header, footer {
    min-width: 100%;
}
	
.pc{
	display: none;
}

.sp{
	display: block;
}

/*============================================================================

	header

============================================================================*/

header {
    display: none;
}
/*============================================================================

	nav

============================================================================*/

.fixed {
    position: fixed;
    width: 100%;
}
.fixed li a {
}
.fixed li {
    display: block;
}

.bg_color1 {
	background-color: #03F;
}

.bg_color2 {
	background-color: #66F9A8;	
}

.bg_color3 {
	background-color: #66CCCC;	
}


.sp_navi_btn_area {
	position: absolute;
	width: calc(100% - 66px);
	z-index: 1;
	margin-left: 4px;
	/*3ボタンの隙間の色・罫線*/
	background-color: #FFF;
}



.sp_navi_btn_area li {
    display: block;
    width: calc(100% / 3 ) !important;
    float: left;
    text-align: center;
}



.sp_navi_btn_area li a {
    display: block;
    color: #FFF;/*--->10/26変更　*/
    height: 40px;/*--->10/26変更　54*/
    line-height: 34px;/*--->10/26変更　42*/
    margin: 4px;
	margin-top:22px;/*--->10/26追加　*/
    border-radius: 3px;
    font-family: 'Noto Sans JP',sans-serif !important;
    font-size: 4vw;
	background-color:#0C9;/*--->10/26追加　*/
	
    /*---------------------------------------------------------------------------------------------------
	******** ボタンの背景色を設定
	---------------------------------------------------------------------------------------------------*/
    background: #0033CC;
	
    font-weight: 400;
}




.sp_navi_btn_area li svg {
    position: relative;
    font-size: 1.1em !important;
    top: 0px;
    left: -5px;
    color: #fff;
}
.sp_navi_btn_area li i {
    margin-right: 5px;
}
.sp_navi_btn_area li:nth-child(2) i {
    font-size: 1.2em !important;
}



nav {
    display: none;
}

.sp_navi {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /*height: 100%;*/
    font-size: 18px;
    font-weight: bold;
    z-index: 9998;
    height: 100px;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
    overflow-x: hidden;
	padding-bottom: 50px;
    margin-bottom: 30px;
}

.sp_navi_fixed_area {
    z-index: 999;
}




.sp_navi .header_logo {
	position: relative;
	top: 0;
	display: block;
	text-align: left;
	background: #fff;
}

.sp_navi .header_logo span, .sp_navi .header_logo img {
    display: block;
    margin: auto;
    padding-top: 0px;
}

.sp_navi .header_logo img {
    width: 100%;
    /*height: 68px;*/
    z-index: 9999;
    position: relative;
}


.sp_navi dl {
	/*ボタンの背景色を帰変えるのはここ。ここを指定しないとハンバーガーメニューボタンの左の色が異なる*/
    background-color: #FFF;
}

.sp_navi dl dt {
    position: relative;
    height: 62px;
    font-weight: bold;
    padding: 0 4%;
    font-size: 18px;
    display: block;
    color: #fff;
    line-height: 2;
}
.sp_navi dl dt i {
    position: relative;
    top: 20px;
    font-size: 9px;
    font-style: normal;
    margin-right: 2%;
}
.sp_navi.blog dt a i {
    position: relative;
    top: 35px;
    font-size: 9px;
    font-style: normal;
    color: #FFF;
    font-weight: 600;
}
.sp_navi_list {
    display: none;
}
.sp_navi ul {
    display: flex;
    display: -webkit-flex;
    display: -ms-flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: flex-start;

}
.sp_navi_list li {
    display: block;
    width: 100%;
    line-height: 1.4;
    font-size: 15px;
    font-weight: normal;
    text-align: center;
}
.sp_navi_list li i {
    margin-right: 4%;
    color: #ba9275;
    font-size: 11px;
    vertical-align: middle;
    position: relative;
    top: -1px;
    left: -6px;
}
.sp_navi_list i.fa-facebook-square, .sp_navi ul li i.fa-home {
    font-size: 16px;
}
.sp_navi_list li a, .sp_navi_parent > div {
    display: block;
    position: relative;
    vertical-align: middle;
    width: 100%;
    height: 40px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
	
    /*---------------------------------------------------------------------------------------------------
	開いたメニューの背景色を設定
	---------------------------------------------------------------------------------------------------*/
    background:#0033CC;
	
    border-bottom: solid 1px #FFF;
    font-family: 'Noto Sans JP',sans-serif;
    font-weight: 500;
    line-height: 40px;
}
.sp_navi_children li a{
	
    /*---------------------------------------------------------------------------------------------------
	子メニューの色を設定
	---------------------------------------------------------------------------------------------------*/
     background-color: #0033CC;
	  
}
.sp_navi_parent > div::after {
    position: absolute;
    right: 17px;
    font-family: 'FontAwesome';
    font-weight: bold;
    content: "\f067";
    font-size: 0.9em;
}
.sp_navi_parent_active > div::after {
    position: absolute;
    right: 17px;
    font-family: 'FontAwesome';
    content: "\f068" !important;
    font-weight: bold;
    font-size: 1.0em;
}
.sp_navi_list li a::after {
    position: absolute;
    right: 20px;
    content: ">";
}



.sp_navi dt a {
    display: block;
    width: 62px;
    height: 62px;
    position: absolute;
    /*top:5px;*/
    right: -5px;
    z-index: 9999999;
    text-align: center;
	border-radius: 6px;
	
    /*---------------------------------------------------------------------------------------------------
	メニューボタンの背景色を設定
	---------------------------------------------------------------------------------------------------*/
    background-color: #0033CC;
	
}

.sp_navi dt a i {
    position: relative;
    top: 25px;
    font-size: 9px;
    font-style: normal;
    color: #FFF;
    font-weight: 600;
}

.sp_navi dt a span {
    display: block;
    background: #FFF;
    width: 33px;
    height: 2px;
    position: absolute;
    left: 12px;
    transition: all 0.4s;
    -webkit-transition: all 0.4s;
    -moz-transition: all 0.4s;
}

.sp_navi dt a span:nth-child(1) {
    top: 14px;
}

.sp_navi dt a span:nth-child(2) {
    margin-top: -8px;
    top: 50%;
}

.sp_navi dt a span:nth-child(3) {
    bottom: 29px;
}

.sp_navi dt a i {
    position: relative;
    left: -2px;
    bottom: 6px;
}

.sp_navi dt a.active {
	
    /*---------------------------------------------------------------------------------------------------
	メニューボタンを押した時の×印の背景色を設定
	---------------------------------------------------------------------------------------------------*/	
    background: #0033CC;

}

.sp_navi dt a.active i {
    
	/*メニューボタンを押した時のテキスト「MENU」の色を設定*/
	color: #ffffff;
	
}

.sp_navi dt a.active span {
	
	/*メニューボタンを押した時の「×」の色を設定*/
    background: #ffffff;
	
}

.sp_navi dt a.active span:nth-child(1) {
    -webkit-transform: translateY(8px) rotate(225deg);
    -moz-transform: translateY(8px) rotate(225deg);
    -ms-transform: translateY(8px) rotate(225deg);
    transform: translateY(8px) rotate(225deg);
}

.sp_navi dt a.active span:nth-child(2) {
    opacity: 0;
}

.sp_navi dt a.active span:nth-child(3) {
    -webkit-transform: translateY(-8px) rotate(-225deg);
    -moz-transform: translateY(-8px) rotate(-225deg);
    -ms-transform: translateY(-8px) rotate(-225deg);
    transform: translateY(-8px) rotate(-225deg);
}


/*============================================================================

	#mainvisual

============================================================================*/

#mainvisual {
	background-position: center;
	background-attachment: fixed;
	height: 30px;
	margin-top: 124px;
	background-color: #FFF;
}
#mainvisual div:first-of-type {
    background-position: top center !important;
	background-size: cover !important;
}
#mainvisual .inner {
    width: auto !important;
    /*height: inherit;*/
}
