@charset "utf-8";

/*---------------------------------
リセットｃｓｓ
---------------------------------*/

*{
  padding: 0;
  margin: 0;
}

html{
  font-size: 100%;
  box-sizing: border-box;
}

body{
  color: #24292e;
  font-family: Segoe UI, Segoe UI Midlevel, Segoe WP, Arial, Sans-Serif;
  overflow-x : hidden;
  -webkit-overflow-scrolling: touch;
  background-color: #ffffff

}

a{
  text-decoration: none;
}

p{
  font-size: 1rem;
  text-align: justify;
}

img{
  max-width: 100%;
}

li{
  list-style: none;
  font-size: 1rem;
}
  
.wrapper{
  max-width: 1200px;
  margin: 0 auto 130px auto;
  font-size: 0.9rem;
  padding: 0 4%;
}
  
.button {
position: relative;
display: inline-block;
padding: 0.8em 2em;
text-decoration: none;
color: black;
background: #ef6475;/*色*/
border: solid 1px #ef6475;/*線色*/
border-radius: 25px;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.2);
text-shadow: 0 1px 0 rgba(0,0,0,0.2);
margin: 5px;
font-size: 16px;
}

.button:active {
  /*押したとき*/
  border: solid 1px #ef6475;
  box-shadow: none;
  text-shadow: none;
  
}
.button:hover{
  opacity: 0.8;
}

main .flex {
  display: flex;
  justify-content: space-between;
} 
@media screen and (max-width:600px) {

 body{
  font-weight: 400;
   
 
 }
  
.wrapper{
  margin-left: 0px;
} 
.marquee{
   width: auto;
   font-size:10px;
   padding:1px 0px 1px 0px;
   color:#ffffff;
   background-color:#efd8e2;
   background: rgb(161,6,2); 
   text-align: center;
}

main .flex {
  flex-direction: column;

} 
}
               

h1 {
  padding: 15px 0;
  line-height: 2;
  text-align: center;
}

#contents h2{
  font-size: 1.5rem;
  padding-top:  0px;
  font-size: 1.5rem;
  border-left: solid 10px #F1B0B2;
  padding: 0.25em 0.5em;
}
@media screen and (max-width:600px) {
.breadcrumbs {
  margin-top: 80px;
}
.breadcrumbs span{
  display: inline-block;
}
h1 {
  font-size: 22px;
}
h1 span {
  display: inline-block;
}
}
  

#contents .flex{
display: flex;
}
#contents .box{
  padding: 10px;
}
#contents h2 {
  margin-top: 50px;
}
#contents .title_b {
  margin-top: 0;
}
#contents h3 {
  margin-top: 80px;
}
.contents_button {
  margin-top: 80px;
  margin-bottom: 50px;
}
@media screen and (max-width:600px) {

#contents .box .contents_illust {
  width: 800px;
  height: auto;
}
.exp {
  display: none;
}
.contents_button {
  text-align: center;
}

#contents h2 {
  font-size: 20px;
}
}
#book {
  background-color: rgb(234, 253, 247);
}
#book .flex{
  display: flex;
  margin-top: 80px;
  justify-content: center;
}
#book .box {
  margin: 20px;
}
#book .box img{
  width: 300px;
  height: auto;
}
#book h2{
  position: relative;
  background: #FFCC80;
  box-shadow: 0 0 0 0.35rem #FFCC80;
  border: dashed 2px #FFF;
  padding: 0.2em 0.5em;
  color: #000;
  display: inline-block;
  margin-bottom: 10px;
}
#book h3 {
  padding: 20px 0px;
}
#book ul {
  padding-top: 30px;
}
@media screen and (max-width:600px) {

#book .flex{
  flex-direction: column;

}
#book {
  margin-top: 50px;
}

#book h2{
  margin-left: 20px;
}
#book .box img{
  width: 200px;
  height: auto;
  margin: 0 auto;
}
}




/*---------------------------------
トップへもどるボタン
---------------------------------*/

.go-top{
    position: fixed;
    bottom: 10px;
    right: 20px;
    z-index: 9999;
  }
.go-top a{
    width: 50px;
    height: 50px;
    display: inline-block;
    background: #E94E66;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    color: black;
    text-decoration: none;
  }

 .go-top a:hover{
      opacity: 0.8;
    }

  