@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: #000;
	font-size:1rem;
    font-feature-settings: "palt";
    font-weight: 500;
/*    letter-spacing: 0.02em;
	line-height:1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;*/

/*    width: 100%;
	background:linear-gradient(70deg,#dd3000,#AC2024,#ff1111);/*グラデーションを定義
	background-size: 180% 220%;サイズを大きくひきのばす
	animation: bggradient 5s ease infinite;*/
}

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;
}



/* font-family 

h1,
#service .service-area section h3,
#g-nav,
#footer-link,
.scrolldown1 span,
#vidual-area dt,
.footer-logo{
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.1em;
}

h2 {
    font-family: 'Oswald', sans-serif;
    letter-spacing: 0.1em;
}*/


/* heading */

h2{
    font-size: 1.6rem;
    margin: 2% 5%;
    text-transform: uppercase;
}

/* 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: uppercase;
    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:uppercase;
    left: -23px;
    top: -31px;
}


.zenkakoi {
    width: 100%;
    padding: 70px 0 0 0; 
    background: #fff;
    z-index: -100;
}

}

.book {
    width: 100%;
    max-width: 1200px;
    padding-top: 110px;
    margin: auto;
/*    box-shadow: 0px 0px 10px;*/
    border: solid 0px;
    border-radius: 10px;
    background: #fff;
}

.book p {
       margin-bottom: 15px;
       padding: 0 10px;
}

.book a {
 color: #00f;
}

.home {
    width: 720px;
    padding-top: 110px;
    margin: auto;
    box-shadow: 0px 0px 10px;
}

.home p {
       margin-bottom: 15px;
       padding: 0 10px;
}




@media screen and (max-width:960px){
  .book{
    width: 100%;
    }
    
    .book p {
       padding: 0 20px;
    }
    
  .home {
    width: 100%;
    }
    .home p {
       padding: 0 20px;
    }
    
    
    
}

@media screen and (max-width:960px){
  .book{
    width: 100%;
    }
    .book p {
       padding: 0 5px;
    }
    
}

/* news */
/*
.news-img-wrapper{
    position:relative;
    z-index: 1;
    overflow: hidden;
    width:90%;
    height: 60vh;
}


.news-img{
    height: 60vh;
    background:url("../img/02.jpg") no-repeat center;
    background-size: cover;
}

.news-img::after{
     content:'';
    position: absolute;
    bottom:0;
    left:0;
    width:70%;
    height: 10vh;
    background:#000;
    z-index:2;
}　*/

#news{
    padding: 0 0 5% 5%;
}

#news .area li{
    padding: 20px 0;
}

#news .area time{
    display: block;
    color: #fff;
}

#news .tab{
    position: relative;
    top:1px;
}

#news .tab-choice-area{
    border-top:1px solid #aaa;
    border-left:1px solid #aaa;
}

@media only screen and (max-width: 1110px) {
    .tab-area{
        width:100%;
    }
    
}

@media only screen and (max-width: 768px) {
#news {
    padding: 0 0 5% 30px;
}

}

/* 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;
    }
}

