@charset "utf-8";
/* レイアウトのためのCSS */

html {
    font-size: 20px;
}



body{
    background:#fff;
    z-index: -1;
    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;
	line-height:1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;
}

*{box-sizing: border-box;}

b, strong, .bold {
	font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI semibold", "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic", "Segoe UI", Verdana, Meiryo, sans-serif;
}

ul{
	margin:0;
	padding: 0;
	list-style: none;
}

a{
	color: #000;
	text-decoration: none;
    outline: none;
}


a.disabled{
    pointer-events: none;
}

img{
    max-width: 100%;
    height: auto;
}



/* font-family */

h1,
h2,
#service .service-area section h3,
#g-nav,
#footer-link,
.scrolldown1 span,
#vidual-area dt,
.footer-logo{
    font-family: -apple-system, BlinkMacSystemFont, Roboto, "Segoe UI", 
    "Helvetica Neue", HelveticaNeue, YuGothic, "Yu Gothic Medium", "Yu Gothic", Verdana, Meiryo, sans-serif;
    letter-spacing: 0.2em;
}

/* heading */

h2{
    font-size: 2rem;
    margin: 2% 5%;
    text-transform: uppercase;
}

/* header */

#box-h {
    display: flex;
    flex-flow: column;
    margin: 0px;
    padding-top: 20px;
}

#header{
    background:#fff;
    box-shadow: 10px 10px 15px -10px  silver;
    position: absolute;
}


#header h1 a{
    color: #000;
}

#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; 
    margin: 2px;
    padding: 0;
}


@media screen and (max-width:960px){
        
 #header h1{
    position: relative;
    /*  top:2px; */
      left:2px;
      margin: 0.1rem;
      padding: 0;
    }
    
    #box-h {
    margin: 0px;
    padding-top: 2px;
}

    #headbox {
   display: block; 
    margin: 2px;
    padding: 0;
}
}

.scrolldown1 span {
    transform: rotate(-90deg);
    text-transform:uppercase;
    left: -23px;
    top: -31px;
}


.book {
    width: 1000px;
    padding: 30px 120px 30px 120px;
    background-color: #fff;
    margin: auto;
  /*  box-shadow: 0px 0px 10px;
    border-radius: 15px;*/
}

.book p {
       margin-top: 0.6em;
       padding: 10px 0px;
       /*max-width: 680px;*/
}

.book p a {
	color:#2222fa;	
/*	background:rgba(20,20,20,0.5);*/
}

.book img {
    width: 100%;

}


.book p a:hover{
	color:#fa2222;	
/*	background:rgba(20,20,20,0.5);*/
}


.book h1 {
  max-width: 100%;
  font-size: 1.3em;
  text-align: center;
  margin-bottom: 1em;
/*  border-bottom: solid 3px #aaa;*/
}


.book h2 {
  border-bottom: solid 3px #000;
  max-width: 650px;
  font-size: 1.2em;
  margin-bottom: 7px;
}




/*
.book h2 {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 600px;  
  padding: 0 55px;
  margin: 5px auto;
  text-align: center;
  font-size: 1.5em;
}

.book h2:before, h2:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 95px;
  height: 2px;
  background-color: black;
}

.book h2:before {
  left: 50px;
}
.book h2:after {
  right: 50px;
}*/

.aka {
color: #c20008;
}



/*ちょっとおしゃれに２色のh3装飾*/
.book h3 {
  max-width: 650px;
  position: relative;
  font-size: 1.2em;
/*  border-bottom: solid 3px #3F372F;*/
  padding: 1em 0 0em 0;
}

.book h3:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 3px #c20008;
  bottom: -3px;
  width: 10%;
}


/*h3装飾、真ん中の下に黒いやつ*/
.book h5 {
  position: relative;
  display: inline-block;
  max-width: 400px;
    text-align: center;
    margin: auto;
    margin-bottom: 1em;
    font-size: 1em;
}

.book h5:before {
  content: '';
  position: absolute;
  bottom: -15px;
  display: inline-block;
  width: 60px;
  height: 3px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: #c20008;
  border-radius: 2px;
}


@media screen and (max-width:960px){
  .book{
    width: 100%;
    padding: 110px 10px 10px 30px;
          box-shadow: 0px 0px 0px;
    }
    .book p {
       padding: 0 10px;
    }
    
}

@media screen and (max-width:768px){
  .book{
    width: 100%;
    padding: 20px 12px 0px 12px;
    margin: 0;
    }
    
    .book h1 {
  max-width: 100%;
  font-size: 1.2em;
  text-align: left;
  margin-bottom: 1em;
  border-bottom: solid 3px #aaa;
}
    
    .book p {
       padding: 10px;
    }
    
}

/* footer */

.foot-wrap {
    background-color: #333;
    color: #fff;
    text-align: center;
}

.foot-wrap .menu-left, .menu-center, .menu-right {
    display: inline-block;
    width: 20%;
    margin: 50px auto;
}

.foot-wrap ul {
    list-style: none;
    padding: 0;
    line-height:40px;
}

.foot-wrap h3 {
    border-bottom: 3px solid #2ac5b3;
    padding: 10px;
}

.foot-wrap a {
    text-decoration: none;
    color: #fff;
}

.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;
    }

    .foot-wrap {
     margin-top: 0;
     margin-bottom: 40px;
    ｝


}


