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

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box
}
html {
    font-size: 100%;
    overflow-x : hidden;
    -webkit-overflow-scrolling: touch;
}  
body {
  color: #262626;
  font-family: Segoe UI, Segoe UI Midlevel, Segoe WP, Arial, Sans-Serif;
  background-color: #ffffff;
  font-size: 1rem;
  line-height: 2.2;
}
a{
  text-decoration: none;
}
img{
  max-width: 100%;
}
li{
  list-style: none;
  font-size: 1rem;
}
p {
  font-size: 1rem;
  text-align: justify;
}
@media screen and (max-width: 768px) {
  body {
    font-size: 0.875rem;
  }
  p {
    font-size: 15px;
    text-align: justify;
  }
  
}

.wrapper{
 max-width: 1300px;
 margin: 0 auto 130px auto;
 font-size: 0.9rem;
 padding: 0 6%;
}
.button {
  position: relative;
  display: inline-block;
  padding: 0.6em 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;
}


@media screen and (max-width:600px) {

.marquee {
 display: none;
}
.button {
 width: 300px;
 margin: 5px;
 font-size: 16px;
 text-align: center;
}
.wrapper{
  padding: 0 4%;
}
}
h1 {
  padding: 15px 0;
  font-size: clamp(18px, 8vw, 30px);
  word-break: keep-all;
  text-align: center;
}


strong {
  color: #E30021;
  font-size: 17px;
}
 
.sp {
  display: none;
} 
@media screen and (max-width:600px) {
h1 {
  font-size: 27px;
  text-align: left;
}
h1 span {
  display: inline-block;
}
   

}
@media screen and (max-width:375px) {
.wrapper{
    padding: 0 8px;
}
 

}

  


/*---------------------------------
トップ
---------------------------------*/
#top .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#top .box {
    margin: 10px;
    padding: 0.5em 1em;
    border: solid 1px #373737;
    width: 400px;
    height: 500px;
}
#top h2 {
  font-size: 20px;
}
#top .box p {
    margin: 0; 
    padding: 0;
    font-size: 0.9rem;
}
#top .top_button {
    text-align: right;
}
@media screen and (max-width:600px) {
  #top .flex {
    flex-direction: column;
  }
  
#top .box {
    margin: 0px;
    padding: 0;
    border: none;
    width: 100%;
    height: auto;
}

#top .top_button {
    text-align: center;
    margin-bottom: 80px;
}
}

#top .box .book_photo {
  text-align: center;
}
   
/*---------------------------------
  トップへもどるボタン
---------------------------------*/
  
.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:600px) {
 
.go-top{
 position: fixed;
 z-index: 9999;
 bottom: 10px;
 left: 10px;

}
}
