@charset "utf-8";
/*---------------------------------
リセットｃｓｓ
---------------------------------*/

*{
  padding: 0;
  margin: 0;
  }
html{
  font-size: 100%;
  box-sizing: border-box;
}
  
body{
  color: #262626;
  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;
}

img{
  max-width: 100%;
}
p {
  font-size: 16px;
  text-align: justify;
}

li{
  list-style: none;
  font-size: 1.2rem;
}
 
.wrapper{
  max-width: 1400px;
  margin: 0 auto 130px auto;
  font-size: 0.9rem;
  padding: 0 5%;
}
  
.button {
  position: relative;
  display: inline-block;
  padding: 0.8em 2em;
  text-decoration: none;
  color:white;
  background: #CB5266;/*色*/
  border: solid 1px #CB5266;/*線色*/  
  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;
}

.marquee{
  width: auto;
  padding:1px 0px 1px 0px;
 color:black;
 background-color:#F1B0B2;
}
.marquee p{
  font-size: 10px;
  text-align: center;
}

main .flex {
  display: flex;
}
h1 {
  margin-top: 50px;
}

h1 span {
  display: inline-block;
}
h2 {
  padding: 20px 0;
  margin-top: 10px;
}


strong {
  background-color: #ffff7f;
}
.contents_4 {
  margin-top: 50px;
}
@media screen and (max-width:600px) {

h1 {
  padding: 4px;
  
}
h1 p{
  font-size: 23px;

}
h2 {
  font-size: 19px;
} 
.breadcrumbs {
  font-size: 13px;
}
 
.wrapper{
  width: 100%;
}
.contents_4 {
  margin-top: 30px;
}

main .flex {
  flex-direction: column;
}  

}
#hero .flex {
  display: flex;
}


#hero .box img {
  width: 500px;
  height: auto;
  padding: 20px;
}
#hero .title_3 {
  margin-top: 50px;
  margin-bottom: 30px;
  background-color: white;
  padding: 0;
}
#hero .box .hero_p {
    margin-top: 20px;
}
#hero .box .hero_illust {
    width: 800px;
    height: auto;
}

#contents h3{
  font-size: 1.2rem;
  border-bottom: 1px solid #000;
  margin: 20px;
  padding-top: 20px;
}
              
#contents .flex{
  display: flex;
  background: white;
}
#contents .box img {
  width: 600px;
  height: auto;
}
#contents .box {
  padding: 10px;
}
.contents_illust {
  width: 300px;
  height: auto;
} 
.category_button {
  position: relative;
  display: inline-block;
  padding: 0 4px;
  text-decoration: none;
  color: white;
  background: #CB5266;/*色*/
  border: solid 1px #CB5266;/*線色*/
  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);
  font-size: 0.7rem;
}

.category_btn {
  position: relative;
  display: inline-block;
  padding: 0 4px;
  text-decoration: none;
  color: white;
  background: #52adcb;/*色*/
  border: solid 1px #52adcb;/*線色*/
  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);
  font-size: 0.7rem;
  margin-bottom: 10px;
}
.contents_p {
  margin-top: 15px;
}
.staff_p {
  margin-top: 50px;
  padding: 10px;
  border: solid 1px rgb(68, 68, 68);
  margin-bottom: 100px;
}
.staff_p p {
  font-size: 14px;
}
@media screen and (max-width:600px) {
#contents .flex{
  padding: 4px;
  flex-direction: column;
}
#contents .box:nth-child(1){
  order: 2;
}
#contents .box:nth-child(2){
  order: 1;
}

#contents .box {
  padding: 0;
}  

#contents .box img {
  width: 100%;
  height: auto;
}
#contents h2{
  margin-left: 0;
  display: inline-block;
  text-align: center;
  font-size: 19px;            
}
  
#contents h3{
  padding: 10px;
  margin-left: 0;    
  text-align: center;
}

.contents_illust {
  width: 100%;
  height: auto;
}  
}

 
main .button{
  padding: 10px 50px;
  background: #CB5266;
  color: white;
  display: inline-block;
  text-decoration: none;
  border-radius: 30px;
  margin: 30px;
}

main .button:hover{
  opacity: 0.8;
}


.book-wrapper{
  line-height:20px;
  color:#4A4A4A;
  text-align:left;
  width:300px;
  margin-bottom: 30px;
  margin-right: 50px;
}
.book-img {
  width: 100%;
}
.category_wrapper {
     margin: 20px 0;
}
@media screen and (max-width:600px) {
  .box1 {
    width: 100%;
  }
  
.book-wrapper {
  width: 100%;
  padding: 0 20px;
  margin-bottom: 100px;
}
 
main .button{
  padding: 10px 20px;
  margin: 0; 
}
}

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

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

/*---------------------------------
レスポンシブ
---------------------------------*/



@media screen and (max-width: 1024px){
}
@media screen and (max-width: 768px){
  main h1{
    font-size: 25px;
  }
}
@media screen and (max-width: 480px){
  main h1{
    font-size: 20px;
  }
}
