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 ------------- */
.jp-font{
  font-family: "メイリオ","ヒラギノ丸ゴ Pro W3","MS PGothic","MS UI Gothic",sans-serif;
}
.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: 7rem;
    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.8rem;
  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: 1.5rem;
}
.social-wrapper{
  width:92%;
}
.social-wrapper li{
  padding: 0 0.2rem;
}
.about-img {
  margin: 1.2rem;
  width: 26rem;
  height: auto;
}
.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;
}
.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;
}
.kuraiur{
  font-weight: bold;
  color: #68BD4F;
  cursor: pointer;
}
.kuraiur :active,
.kuraiur :focus,
.kuraiur :hover {
  color: #F32AC5;
}
.mat ol {
  width: 33rem;
  margin: 1.9rem 0;
  line-height: 1.9;
}
#kugiri{
  text-align: center
}
.eggplant {
  background-color: #e5c2f0;
}
.small-font {
  font-size: 0.75rem;
}
caption {
    caption-side: bottom;
}
a.tooltip span{
    z-index:10;
    display:none; 
    padding:0.5rem 1rem;
    margin-top: 2.5rem; 
    margin-left: -9rem;
    width: 16rem; 
    line-height:1.2;
    font-weight: normal;
    border-radius:1rem;
    box-shadow: 2px 5px 8px #ddc44a;
}
a.tooltip:hover span {
    display:inline; 
    position:absolute; 
    color:#333333;
    border:1px solid #DCA; 
    background: #ffffff;
    text-align: center;
  }
.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;
}
.mini{
  font-size: 1rem;
}
.osusume {
  padding: 0.5rem 0;
  width: 19rem;
}
.osusume > p {
  width: 90%;
  font-size: 0.8rem;
}
.osusume > p > span {
  text-decoration: underline;
}
.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;
  margin-bottom: 1rem;
}
.chara-side{
  width: 2.5rem;
  border-radius: 1rem;
  padding: 1rem;
}
.f-side{
  margin-top:-1rem;
}
.Sf-side{
  margin-top:-8rem;
}
.shokai {
  width: 13rem;
  font-size: 0.9rem;
}
.shokai > span {
  font-weight: bold;
}
.commeLink {
  font-weight: bold;
  color: #68BD4F;
  cursor: pointer;
}
.commeLink :active,
.commeLink :focus,
.commeLink :hover{
  color: #F32AC5;
}
.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;
  }
  .osusume {
    width: 70%;
  }
}
@media all and (max-width: 900px){
  header h3 {
    margin-left: 1rem;
  }
}
@media all and (max-width: 775px){
  a.tooltip span{
    margin-left: -18rem;
  }
}
@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 {
    margin: 0.5rem;
  }
  header h3 {
    margin-left: 0;
    font-size: 1.2rem;
  }
  .pagetop {
    display: none;
    position: fixed;
    bottom: 7rem;
    right: 1rem;
  }
}
@media all and (max-width: 600px){

  .about-img {
    margin: 0.8rem;
    width: 24rem;
    height: 18rem;
  }
  .mat p {
    width: 80%;
    margin: 0.8rem 0;
    line-height: 1.6;
    font-size: 1rem;
  }
  .mat ol{
    width:80%;
    margin: 1.9rem 0;
    line-height: 1.9;
  }
    header h3 {
    font-size: 1rem;   
  }
   .social-icon {
  width: 2rem;
  margin: 0 0.35rem;
}
}
@media all and (max-width: 480px){
  header h3 {
    margin-top: 0;
    margin-left: 3rem;
  }
 .about-img{
  width: 17rem;
  height:12.75rem;
 }
}
@media all and (max-width: 360px){
  .logo-home{
    padding:0 1rem 0 3rem;
   width: 8rem;
   margin-top: 0.25rem;
  }
}