html, 
body{
  background-color: #FFF9CA;
}
html {
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: Arial, sans-serif;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    height: 100%;
}
ul{
  list-style-type: none;
  padding: 0;
  margin: 0;
}
h1 {font-size:3rem;}
h2 {font-size:2.5rem;}
h3 {font-size:1.8rem;}
h4 {font-size:1.4rem;}
h5 {font-size:1rem;}
h6 {font-size:0.8rem;}

strong {
    font-weight: bold;
}
a,
button {
    color: inherit;
    transition: 0.2s ease-in-out;
}
a {
    text-decoration: none;
}
button {
    overflow: visible;
    border: 0;
    font: inherit;
    -webkit-font-smoothing: inherit;
    letter-spacing: inherit;
    background: none;
    cursor: pointer;
}
::-moz-focus-inner {
    padding: 0;
    border: 0;
}
:focus {
    outline: 0;
}
::-moz-selection {
  background-color: gold;
}
::selection {
  background-color: gold;
}
::-moz-selection {
  background-color: gold;
}
/* ------------- End of reset ------------- */
.container {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-flow: row wrap;
      -ms-flex-flow: row wrap;
          flex-flow: row wrap;
}
.flex-start{
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
      justify-content: flex-start;
}
.flex-center{
 -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}
.flex-end {
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
      justify-content: flex-end;
}
.space-between {
  -ms-flex-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}
.pagetop {
    display: none;
    position: fixed;
    bottom: 4.5rem;
    right: 1rem;
}
.pagetop a {
    display: block;
    background-color: gold;
    text-align: center;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    padding: 0.5rem;
    border-radius: 0.5rem;
  filter:alpha(opacity=80);
    -moz-opacity: 0.8;
    opacity: 0.8;
}
.pagetop a:hover {
    display: block;
    background-color: #F9962C;
    text-align: center;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    padding:0.5rem;
    border-radius: 0.5rem;
}
header {
  width: 100%;
  border-bottom-style: solid;
  border-width: 1px;
  border-color: #ddc44a;
}
header h3 {
  margin-top: 1.2rem;
  margin-left: 8rem;
}
.logo {
  width: 10rem;
  margin-left: 1.5rem;
  margin-bottom: 0.6rem;
}
/* Bounce In */
.hvr-bounce-in {
  display: inline-block;
  vertical-align: middle;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  transition-duration: 0.5s;
}
.hvr-bounce-in:hover, .hvr-bounce-in:focus, .hvr-bounce-in:active {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  transition-timing-function: cubic-bezier(0.47, 2.02, 0.31, -0.36);
}
.main {
  width: 66rem;
}
.mat {
  width: 45rem;
  background-color: ivory;
  border-radius: 1rem;
  margin: 0.5rem 1rem;
  box-shadow: 1px 7px 7px #ddc44a;
  padding-bottom: 2rem;
}
.social-wrapper{
  width:92%;
}
.social-wrapper li{
  padding: 0 0.2rem;
}
.padding-top-space {
  padding-top: 2rem;
}
.whatis-img {
  margin: 0.2rem;
  width: 26rem;
}
.first-img {
  margin-top: 1rem;
}
.last-img{
  width: 20rem;
  border-radius: 3rem;
  border-style:solid;
  border-width: 0.5rem;
  border-color: #ED4B4E; 
  box-shadow: 0px 5px 3px #ddc44a;
  margin-top: 1rem;
}
.mat h1 {
  padding: 1.5rem 1rem 5rem 1rem;
}
.mat p {
  width: 33rem;
  margin: 1.2rem 0;
  line-height: 1.6;
  font-size: 1rem;
  font-family: "メイリオ","ヒラギノ丸ゴ Pro W3","MS PGothic","MS UI Gothic",sans-serif;
}
#soreha {
  padding: 1rem 0rem 0 10rem;
}
.answer {
  margin: 4rem 0;
  width: 32rem;
}
.answer-btn {
  margin: 0.5rem;
  border-radius: 1rem;
  border-style:solid;
  border-width: 6px;
  border-color: #F32AC5;
  box-shadow: 0 4px 3px #ddc44a;
  width: 12rem;
}
.btn :active,
.btn :focus,
.btn :hover {
  -webkit-transform: scale( 1.1);
  transform: scale( 1.1);
  transition: 0.1s ease-in-out;
}
.hatuon{
  font-weight: bold;
  color: #fff;
  text-shadow: 1px 1px 1px #a4a4a4;
  background-color: #68bd4f;
  padding: 0.2rem 0.3rem;
  margin: 0 0.2rem;
  cursor: pointer;
  border-radius: 0.25rem;
  box-shadow: 0 1px 1px #ddc44a;
}
.hatuon :active,
.hatuon :focus,
.hatuon :hover {
  color: #2d4f23;
  text-shadow: none;
}
.pageLink {
    color: #68BD4F;
}
.pageLink :active,
.pageLink :focus,
.pageLink :hover{
    color: #F32AC5;
}

.side-bar {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 19rem;
  background-color: ivory;
  margin-top: 0.5rem;
  border-bottom-style: solid;
  border-width: 1px;
  border-color: #ddc44a;
}
.subtitle1-wrapper {
  background-color: gold;
  width:100%;
}
.subtitle1{
  color: #FFF;
  font-weight: bold;
  font-size: 1.5rem;
  padding: 0.5rem 0;
  text-shadow: 3px 3px 3px #b89f23;
}
.osusume {
  border-bottom-style: solid;
  border-width: 1px;
  border-color: #ddc44a;
  padding: 0.5rem 0;
  width: 19rem;
}
.osusume p {
  width: 11rem;
  font-size: 0.9rem;
  margin-left: 1rem;
}
.osusume p .long{
  width: 16rem;
}
.topbtn{
  border-radius: 0.5rem;
  height: 5rem;
  margin: 0.5rem 0 0.5rem 1rem;
  border-style:solid;
  box-shadow: 0 3px 2px #ddc44a;
}
.btn-A{ 
  border-color: #ED4B4E; 
}
.btn-I{
  border-color: #FB8E09; 
}
.btn-U{
  border-color: #5FB130; 
}
.btn-Y{
  border-color: #46C1D0; 
}
.btn-E{
  border-color: #BD79FF; 
}
.btn-O{
  border-color: #426FF4; 
}
.btn :active,
.btn :focus,
.btn :hover {
  -webkit-transform: scale( 1.1);
  transform: scale( 1.1);
  transition: 0.1s ease-in-out;
}
.characters {
  width: 19rem;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  margin-bottom: 2rem;
}
.chara-wrapper {
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
}
.chara-side{
  width: 3rem;
  border-radius: 1rem;
  padding: 0.8rem;
}
.shokai {
  width: 10rem;
  font-size: 0.9rem;
}
.bigger :active,
.bigger :focus,
.bigger :hover {
  -webkit-transform: scale( 1.2);
  transform: scale( 1.2);
  transition: 0.2s ease-in-out;
  }
footer {
  margin-top: 1.5rem;
  width:98%;
  border-top-style: solid;
  border-width: 1px;
  border-color: #ddc44a;
  padding: 1.5rem 0;
}
.social-buttons{
  margin: -1rem 0 0.5rem 1rem;
}
.social-icon {
  width: 2.5rem;
  margin: 0 0.25rem;
  box-shadow: 1px 4px 2px #ddc44a;
  border-radius: 5px;
}
.copyright {
  color: #cda327;
  font-size: 0.75rem;
}
.logo-home{
 width: 8rem;
 margin-top: -1rem;
}
/*medium&tablet -----------------2*/
@media all and (max-width: 1070px){
  .main {
    width: 46rem;
  }
  .side-bar, .characters{
    width:46rem;
    -webkit-flex-flow: row wrap;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
}
@media all and (max-width: 900px){
  header h3 {
    margin-left: 4rem;
  }
}
@media all and (max-width: 725px){
  .main {
    width: 100%;
  }
  .side-bar{
    width: 100%;
  }
  .characters {
    width:100%;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .mat {
    width: 96%;
  }
  header h3 {
    margin-left: 3rem;
  }
  .answer {
    width: 65%;
  }
  .answer-btn {
    width: 10rem;
  }
   .why {
    width: 100%;
  }
  .pagetop {
    display: none;
    position: fixed;
    bottom: 7rem;
    right: 1rem;
  }
}
@media all and (max-width: 600px){
  .why {
    width: 100%;
  }
  .whatis-img {
    margin: 0.2rem;
    width: 24rem;
    height: 18rem;
  }
  .first-img {
    margin-top: 1rem;
  }
  .last-img {
    border-radius: 2rem;
    width: 15rem;
  }
  .answer {
    width: 80%;
  }
  .answer-btn {
    width: 9rem;
    border-radius: 0.5rem;
    border-style:solid;
    border-width: 3px;
  }
  .mat p {
    width: 80%;
    margin: 0.8rem 0 0 0;
    line-height: 1.6;
    font-size: 1rem;
  }
  .mat h1 {
    font-size: 2rem;
    margin-bottom: 0;
    padding: 0.5rem 1rem 4rem 1rem;
  }
  #soreha {
    margin-left: -2rem;
  }
    header h3 {
    margin-top: 2rem;
    font-size: 1.2rem;  
  }
  .social-icon {
  width: 2rem;
  margin: 0 0.35rem;
}
}
@media all and (max-width: 480px){
  header h3 {
    margin-top: 0;
    margin-left: 3rem;
  }
 .whatis-img{
  width: 18rem;
  height: 13.5rem;
 }
}
@media all and (max-width: 360px){
  .logo-home{
    padding:0 1rem 0 3rem;
   width: 8rem;
   margin-top: 0.25rem;
  }
}