@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;
	line-height:1.5;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%; 
	word-wrap: break-word;
}

*{box-sizing: border-box;}

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;
}



/*実験*/

#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;
}


.zenkakoi {
    width: 100%;
    padding: 70px 0 0 0; 
    background: #fff;
    z-index: -100;
}

}


/*実験*/


.book {
    width: 1000px;
    padding: 70px 120px 30px 120px;
    margin: auto;
    box-shadow: 0px 0px 0px;
    font-size: 0.9rem;
  /*  border-radius: 15px;*/
}

.book p {
       margin-bottom: 15px;
       padding: 0 0px;
       /*max-width: 680px;*/
        font-size: 0.9rem;
}


.book h1 {
 font-size: 1.5em;
 text-align: center;
 border-bottom: solid 3px #aaa; 
 margin-bottom: 0.5em; 
}

.book h2 {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 800px;  
  padding: 0 55px;
  margin: 5px auto;
  text-align: center;
  font-size: 1.5em;
}


/*横線のh2装飾
.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;
}*/


/*ちょっとおしゃれに２色のh3装飾*/
.book h3 {
  border-bottom: solid 2px rgba(24,205,196,1);
  max-width: 800px;
  position: relative;
  font-size: 1.2em;
}

.book h3:after {
  position: absolute;
  content: " ";
  display: block;
  border-bottom: solid 2px rgba(20,171,182,1);
  bottom: -2px;
  width: 25%;
}


/*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: 2px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  background-color: black;
  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;
    font-size: 0.8rem;
    }
    .book p {
    font-size: 0.8rem;
       padding: 0;
    }
    .book h2:before, h2:after {
  display: block;
  width: 0px;
  height: 0px;
  background-color: none;
}

.book h2:before {
  left: 0px;
}
.book h2:after {
  right: 0px;
}

    
}

/* 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;
     padding-bottom: 30px;
    ｝


}


