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

*{
  padding: 0;
  margin: 0;
}

.js-fadeinup-trigger,
.js-fadein-trigger {
  opacity: 0;
} 
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;
  line-height: 2;
}
/* 横揺れ防止 */
html, body {
  overflow-x: hidden;
  width: 100%;
}

p {
  font-size: 16px;
  text-align: justify;
}
a{
 text-decoration: none;
     word-break: break-all;
  /*改行しなければテキストがコンテンツボックスからあふれる場合に、
  ブラウザーが改行を挿入するかどうかを指定します。*/

}
img{
 max-width: 100%;
   height: auto;

}

li{
 list-style: none;
 font-size: 1.2rem;
}

.wrapper{
max-width: 1000px;
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: pink;/*色*/
  border: solid 1px pink;/*線色*/
  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 #03A9F4;
  box-shadow: none;
  text-shadow: none;
  
}
.button:hover{
  opacity: 0.8;
}



/*---------------------------------
メイン
---------------------------------*/

h1 {
  text-align: center;
  margin-top: 100px;
  padding: 30px;
  font-size: 24px;
} 
   
#top .flex {
  display: flex;
  padding-left: 30px;
  padding-right: 30px;
}
#top img {
  padding: 10px;
  width: 200px;
  height: auto;
}

#top h2 {
  font-size: 20px;  
  margin-top: 30px;
  padding: 10px;
  margin-left: 20px;

}
#top h2 span {
  display:inline-block;
}
#top .title-2 {
  margin-top: 80px;
}
#top p {
  font-size: 17px;
}
#top .top_p {
  margin-top: 20px;
}
#top .box {
  padding: 10px;
  max-width: 500px; 
  
}
#top h3 {
  text-align: right;
}
#top h4 {
  font-size: 18px;
  margin: 20px;
}
#top .sentence {
  width: 750px;
  margin-left: 45px;
  
}
#top strong {
  color: #E94E66;
}
.link-1 {
  text-align: center;
  margin-bottom: 50px;
}
.button-one {
  position: relative;
  display: inline-block;
  padding: 0.8em 4.5em;
  text-decoration: none;
  color: black;
  background: rgb(252, 179, 230);/*色*/
  border: solid 1px rgb(252, 179, 230);/*線色*/
  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: 16px;
}

.button-one:active {
  /*押したとき*/
  border: solid 1px #03A9F4;
  box-shadow: none;
  text-shadow: none;
  
}
.button-one:hover{
  opacity: 0.8;
}
.button-two {
  position: relative;
  display: inline-block;
  padding: 0.8em 2em;
  text-decoration: none;
  color: black;
  background: rgb(205, 250, 205);/*色*/
  border: solid 1px rgb(205, 250, 205);/*線色*/
  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: 16px;
  
}

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

.button {
  position: relative;
  display: inline-block;
  padding: 0.8em 2em;
  text-decoration: none;
  color: black;
  background: rgb(205, 250, 205);/*色*/
  border: solid 1px rgb(205, 250, 205);/*線色*/
  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 #03A9F4;
  box-shadow: none;
  text-shadow: none;
  
}
.button:hover{
  opacity: 0.8;
}


.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;
}
.top_button {
  margin-top: 50px;
}
@media screen and (max-width:600px) {
#top .button {
  margin-top: 80px;
  
}
#top .flex {
  flex-direction:column;
  padding: 10px 4px;
}

h1 {
  margin-top:68px;
} 
#top h1 span {
  display: inline-block;
}
#top h2 {
  text-align: left;
  padding:4px;
  margin-top: 0;
  margin-left: 0;

  
}
#top h2 span {
  display: inline-block;

}
#top h3 {
  text-align: center;
}
#top .box {
  padding: 10px;
  width: 100%;
  margin: 0; 
  
}
#top .box img {
  width: 100%;
  height: auto;
}
#top .box:nth-child(1) {
  order: 2;
}
#top .box:nth-child(2) {
  order: 1;
}
#top .button {
  margin: 15px;
}
#top .sentence {
  margin: 0 10px 0;
  width: 100%;
  height: auto;
  
}

#top a {
  margin: 20px;
  
}
#top .sentence p {
  margin-right: 15px;
}

#top .title-2 {
  text-align: center;
}
.top_button {
  text-align: center;
}
}



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

.go-top{
  position: fixed;
  bottom: 100px;
  left: 30px;
  z-index: 9999;
  
}
.go-top a{
  
  width: 50px;
  height: 50px;
  display: inline-block;
  background: #E94E66;
  border-radius: 50px;
  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: relative;
      left: 0;
      bottom: 0;
    }
  

  }
  