@charset "utf-8";
/* レイアウトのためのCSS */

html {
    font-size: 20px;
}

body{
    background:#fff;
    font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", 
    "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
	color: #222;
	font-size:1rem;
    font-feature-settings: "palt";
    font-weight: 500;
    text-transform: none;
}

b, strong, .bold {
	font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI semibold", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic", "Segoe UI", Verdana, Meiryo, sans-serif;
}


@keyframes bggradient{
	0% {
		background-position: 0% 50%;
	}
	50% {
		background-position: 100% 50%;
	}
	100% {
		background-position: 0% 50%;
	}
}


*{box-sizing: border-box;}

ul{
	margin:0;
	padding: 0;
	list-style: none;
}

a{
	color: #000;
	text-decoration: none; 
    outline: none;
}

img{
    max-width: 100%;
    height: auto;
}




/* heading */

h2{
    font-size: 1.6rem;
    margin: 2% 5%;
    text-transform: none;
}

/* header */

#box-h {
    display: flex;
    flex-flow: column;
    margin: 0px;
    padding: 18px;
/*    background: #E60000;*/
}

#header{
    background:#fff;
    box-shadow: 10px 10px 15px -10px;
    position: absolute;
    margin-top: 0px;
}


#header h1 a{
    color: #000;
}

#header img {
    height: 55px;
    width: auto;
}

#header h1 {
    text-transform: none;
    font-size: 1.2rem;
    padding: 0 0 0 2%; 
    line-height: 1;
    white-space: nowrap;
    margin-bottom: 3px;
}

#headbox {
 display: block;
    height: 3px;
    margin: 2px;
    padding: 0;
}



@media screen and (max-width:768px) {

    #header {
height: 45px;
box-shadow: 1px 1px 1px -1px;
    }

#header h1 {
    position: relative;
      top:2px; 
      left:2px;
      margin: 0.1rem;
      padding: 0;
}


#box-h {
    margin: auto;
    padding-top: 1px;
    text-align: center;
}

#header img {
    height: 45px;
    width: auto;
}

    #headbox {
    display: block; 
    margin: 2px;
    padding: 0;
}



.scrolldown1 span {
    transform: rotate(-90deg);
    text-transform:none;
    left: -23px;
    top: -31px;
}



}







/* footer */

.foot-wrap {
    background-color: #fff;
    color: #000;
    text-align: center;
}

.foot-wrap .menu-left, .menu-center, .menu-right {
    display: inline-block;
    width: 30%;
    margin: 50px auto;
}

.foot-wrap ul {
    list-style: none;
    padding: 0;
    line-height:40px;
}

.foot-wrap h3 {
/*    border-bottom: 1px solid;*/
    padding: 10px;
}

.foot-wrap a {
    text-decoration: none;
    color: #000;
}

.foot-wrap a:hover {
    color: deeppink;
}

.foot-wrap .cmark {
    display: block;
    padding: 10px;
    border-top: 1px solid gray;
    width: 80%;
    margin: 0 auto;
    color: gray;
}


@media screen and (max-width: 900px) {
    .foot-wrap .menu-left, .menu-center, .menu-right {
        display: flex;
        flex-direction: column;
        width: 50%;
    }
    .foot-wrap .cpr {
        display: inline;
    }
}

