html, 
body{
  background-color: #FFF9CA;
  height:100%;
}
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;
}
ul{
  list-style-type: none;
  padding: 0;
  margin: 0;
}
h1 {font-size:1.8rem;}
h2 {font-size:1.5rem;}
h3 {font-size:1.2rem;}
h4 {font-size:1.12rem;}
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;

    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 h1 {
  margin-top: 2rem;
  margin-left: 10rem;
}
.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 0 1rem;
  box-shadow: 1px 7px 7px #ddc44a;
  padding-bottom: 0;
}
.starIcon-wrapper {
  width:100%;
}
.starIcon-wrapper > img {
  width:15rem;
  height:1.6rem;
  margin-top: 1.2rem;
}
.social-wrapper{
  width:92%;
}
.social-wrapper li{
  padding: 0 0.2rem;
}
.video-space {
  width: 40rem;
  height: 22.5rem;
  margin: 2rem 0;
}
.video-container {
  position:relative;
  display: block;
  padding-bottom: 56.25%;
  height:0;
  overflow: hidden;
}
.video-container iframe{
  position:absolute;
  top: 0;
  left: 0;
  width:100%;
  height:100%;
}
.manga{
  margin: 0.4rem 0;
  width: 26rem;
  height: auto;
}
.ooQuiz{
  width: 24rem;
}
.quizBtn{
  border-radius: 1rem;
  margin: 1rem 2rem;
  box-shadow: 0px 4px 6px #ddc44a;
}
.comment-wrapper {
  width: 85%;
  margin: 1.2rem 0;
}
.commnet-top{
  margin-top: 3rem
}
.commentImg, .commentImg img {
  width: 3rem;
}
.commentImg img {
  margin-top: 0;
}
.comment {
  width: 82%;
  margin-left: 1rem;
  line-height: 1.6;
  font-size: 1rem;
  font-family: "メイリオ","ヒラギノ丸ゴ Pro W3","MS PGothic","MS UI Gothic",sans-serif;
}
.commeLink {
  font-weight: bold;
  color: #68BD4F;
  cursor: pointer;
}
.commeLink :active,
.commeLink :focus,
.commeLink :hover{
  color: #F32AC5;
}
.cards {
  width:45rem;
  margin: 2rem 0 1rem 0;
}
.btn {
  cursor: pointer;
}
.btn :active,
.btn :focus,
.btn :hover {
  -webkit-transform: scale( 1.1);
  transform: scale( 1.1);
  transition: 0.1s ease-in-out;
}
.card{
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-align-items:center;
       -ms-flex-align:center;
          align-items:center;
  -webkit-justify-content:space-between;
            -ms-flex-pack:justify;
          justify-content:space-between;
-ms-flex-line-pack: justify;
        -webkit-align-content: space-between;
        align-content: space-between;
  background-color: #68bd4f;
  border-radius: 0.75rem;
  box-shadow: 1px 4px 6px #ddc44a;
  margin: 0.5rem 0.4rem;
  width: 8rem;
}
.cardImg{
  padding-top: 0.5rem;
  height: 5rem;
}
.card .title{
  font-size: 3rem;
  font-weight: bold;
  padding: 0.5rem;
  color: #FFF;
  text-shadow: 2px 2px 4px #696969;
}
.card .middle{
  font-size: 2.5rem;
}
.card .small{
  font-size: 2rem;
}
.card .ex-small{
  font-size: 1.8rem;
}
.card .xx-small{
  font-size: 1.6rem;
}
.translation{
  font-weight: bold;
  padding-bottom: 0.5rem;
  color: #FFF;
}
.small-font {
  font-size: 0.7rem;
}
.mame{
  width: 100%;
  background-color: #ebffd7;
  padding-bottom: 1.5rem;
}
.mame-chishiki{
  padding: 1rem 0;
  color:#4e8414;
  text-decoration: underline;
  font-weight: normal;
}
.mame ul {
  width: 80%;
  padding: 0.5rem 0;
}
.mame li {
  width: 100%;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  font-size: 1rem;
  font-family: "メイリオ","ヒラギノ丸ゴ Pro W3","MS PGothic","MS UI Gothic",sans-serif;
  list-style-type: square;
  line-height: 1.7;
}
.mame li span {
  font-weight: bold;
}
.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;
}
.hatuon-big{
  font-size: 2rem;
  padding: 0.2rem 1rem 0.2rem 0.5rem;
  box-shadow: 0 2px 2px #ddc44a;
  margin: 0.5rem 0.5rem;
}
.sample-words { 
  line-height: 2.2;
}
.manga-top{
  margin-top: 2rem;
}
.homo {
  width: 280px;
  height: 160px;
  margin: 0.5rem 0.3rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 2px #ddc44a;
}
.breadcrumb{
  padding: 2rem 0 1rem 2rem;
  width:100%;
}
.breadcrumb li+li:before {
    padding: 0.5rem;
    color: black;
    content: "/\00a0";
}
.breadcrumb li a {
   font-weight: bold;
   color: #68BD4F;
}
.breadcrumb li a:hover {
   color: #F32AC5;
   text-decoration: underline;
}
.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;
}
.full-width{
  width:100%;
}
.subtitle1-wrapper {
  background-color: gold;
  width:100%;
}
.subtitle1{
  color: #FFF;
  font-weight: bold;
  margin:0;
  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;
}
.osusumeLast {
  padding: 0.5rem 0;
  width: 19rem;
}
.osusume p,
.osusumeLast p {
  width: 12rem;
  font-size: 0.9rem;
  margin-left: 1rem;
}
.osusumeLast .short-osusume,
.osusume .short-osusume{
  width: 8rem;
}

.topbtn{
  border-radius: 0.5rem;
  height: 5rem;
  margin: 0.5rem 0 0.5rem 1rem;
  border-style:solid;
  box-shadow: 0 3.5px 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; 
}
.omake {
  width:19rem;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  margin-bottom: 1rem;
}
.omakeLink{
  background-color: #ED4B4E;
  border-radius: 0.5rem;
  box-shadow: 0 3px 2px #ddc44a;
  text-shadow: 0px 1px 1px #696969;
  color: #fff;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 0.5rem 1rem;
  margin: 1rem 0 1rem 1rem; 
}
.omakeP {
  font-size: 0.9rem;
  width:18rem;
  margin: 0 0 1.2rem 1rem;
}
.omake-line {
  border-bottom-style: solid;
  border-width: 1px;
  border-color: #ddc44a;
}
.characters {
  width: 19rem;
  -webkit-justify-content: flex-start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  margin-bottom: 1.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;
}
.dictionary {
  width:95;
}
.dictionary p{
  font-size: 0.9rem;
  margin: 1rem;
  line-height: 1.5;
}
.mini{
  font-size: 1rem;
}
form {
  margin: 1rem 0;
  box-shadow: 0 3px 2px #ddc44a;
}
.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;
  }
  .dictionary {
    width:70%
  }
}
@media all and (max-width: 900px){
  header h1 {
    margin-left: 8rem;
  }
}
@media all and (max-width: 725px){
  .main {
    width: 100%;
  }
  .side-bar {
    width:100%;
  }
  .osusume, .osusumeLast, .characters {
    width:100%;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  .mat {
    margin: 0.3rem;
  }
  .video-space{
    width: 36rem;
    height: 20.25rem;
  }
  .cards{
    width: 95%;
  }
  header h1 {
    margin-left: 5rem;
    font-size: 1.8rem;
  }
  .pagetop {
    display: none;
    position: fixed;
    bottom: 7rem;
    right: 1rem;
  }
}
@media all and (max-width: 600px){
  
  .video-space{
    width: 30rem;
    height: 16.875rem;
   }
   .manga {
    margin: 0.3rem 0;
    width: 24rem;
    height: 18rem;
  }
  .manga-top{
    margin-top: 1.5rem;
  }
  .mat p, .mame ul {
    width: 80%;
    margin: 0.8rem 0 0 0;
    line-height: 1.6;
    font-size: 1rem;
  }
    header h1 {
    margin-top: 2rem;
    font-size: 1.2rem;
  }
    .social-icon {
  width: 2rem;
  margin: 0 0.35rem;
}
   .quizBtn{
  
  border-radius: 1rem;
  margin: 0.5rem 0.5rem;
  box-shadow: 0px 4px 6px #ddc44a;
}
 .ooQuiz{
  width: 17rem;
 }
}
@media all and (max-width: 480px){
  header h1 {
    margin-left: 1rem;
  }
 .video-space{
  width: 17rem;
  height: 9.5625rem;
 }
  .manga{
  margin: 0.2rem 0;
  width: 17rem;
  height:12.75rem;
 }
 .manga-top{
    margin-top: 1.5rem;
  }
}
@media all and (max-width: 450px){
  header h1 {
    margin-top: 0;
    margin-left: 3rem;
  }
  .mame li {
    line-height: 1.8;
  }
  .breadcrumb{
  padding: 1rem 0 1.5rem 0.8rem;
  width:100%;
}
  .breadcrumb li{
    font-size: 0.8rem;
  }
}
@media all and (max-width: 360px){
  .logo-home{
    padding:0 1rem 0 3rem;
   width: 8rem;
   margin-top: 0.25rem;
  }

}
