.character {
  width: 100px;
  height: 100px;
}

.talk1 {
  display: flex;
}

.talk2 {
  display: flex;
  flex-direction: row-reverse;
}

.ballon {
  width: 550px;
}

.ballon2 {
  width: 450px;
}

.story {
  width: 1000px;
  margin: 0 auto;
}

.under1 {
  border-bottom: solid 2px #9DC838;
}

.under2 {
  border-bottom: solid 2px #E286A7;
}

.under3 {
  border-bottom: solid 2px #87CEFA;
}

ul.topnav {
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style-type: none;
  background-color: #1b2538;
}

ul.topnav li {
  float: left;
}

ul.topnav li a {
  display: block;
  padding: 14px 16px;
  text-align: center;
  text-decoration: none;
  color: white;
}

ul.topnav li a:hover:not(.active) {
  background-color: #a9bce2;
}

ul.topnav li a.active {
  background-color: #da3c41;
}

ul.topnav li.right {
  float: right;
}

@media screen and (max-width: 480px) {
  ul.topnav li.right, ul.topnav li {
    float: none;
  }
}

.example {
  text-align: center;
}

.title {
  padding: 0.5em;
  /*文字周りの余白*/
  color: #494949;
  /*文字色*/
  background: #fffaf4;
  /*背景色*/
  border-left: solid 5px #ffaf58;
  /*左線（実線 太さ 色）*/
}

.introduce {
  color: #1e366a;
  border: dotted #1e366a 2px;
  /*ドット 色 太さ*/
  padding: 0.5em 2em 0.5em 2em;
  width: 800px;
  margin: 0 auto;
  font-size: 20px;
}

.head1 {
  padding: 0.25em 0.5em;
  /*上下 左右の余白*/
  color: #494949;
  /*文字色*/
  background: transparent;
  /*背景透明に*/
  border-left: solid 5px #7db4e6;
  /*左線*/
}

.head2 {
  position: relative;
  display: inline-block;
  padding: 0 55px;
  color: #494949;
}

.head2:before, .head2:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: #494949;
}

.head2:before {
  left: 0;
}

.head2:after {
  right: 0;
}

.figure {
  width: 1000px;
}

.source1 {
  color: #505050;
  /*文字色*/
  padding: 0.5em;
  /*文字周りの余白*/
  display: inline-block;
  /*おまじない*/
  line-height: 1.3;
  /*行高*/
  background: #dbebf8;
  /*背景色*/
  vertical-align: middle;
  /*上下中央*/
  border-radius: 25px 0px 0px 25px;
  /*左側の角を丸く*/
}

.source1:before {
  content: '●';
  color: white;
  margin-right: 8px;
}

ul.source2, ol {
  background: #DADADA;
  /*灰色に*/
  border-radius: 8px;
  padding: 0.5em 0.5em 0.5em 2em;
}

ul.source2 li, ol li {
  line-height: 1.5;
  padding: 0.5em 0;
}

ul.howto, ol {
  color: #1e366a;
  border-top: solid #1e366a 1px;
  /*上のボーダー*/
  border-bottom: solid #1e366a 1px;
  /*下のボーダー*/
  padding: 0.5em 0 0.5em 1.5em;
}

ul.howto li, ol li {
  line-height: 1.5;
  padding: 0.5em 0;
}

.under {
  color: red;
  text-decoration: underline;
}

.q {
  font-size: 20px;
}

.hidden_box {
  margin: 2em 0;
  /*前後の余白*/
  padding: 0;
}

/*ボタン装飾*/
.hidden_box label {
  padding: 15px;
  font-weight: bold;
  cursor: pointer;
}

/*チェックは見えなくする*/
.hidden_box input {
  display: none;
}

/*中身を非表示にしておく*/
.hidden_box .hidden_show {
  height: 0;
  padding: 0;
  overflow: hidden;
  opacity: 0;
  transition: 0.8s;
}

/*クリックで中身表示*/
.hidden_box input:checked~.hidden_show {
  padding: 10px 0;
  height: auto;
  opacity: 1;
}

.square_btn {
  display: inline-block;
  padding: 0.5em 1em;
  text-decoration: none;
  background: #668ad8;
  /*ボタン色*/
  color: #FFF;
  border-bottom: solid 4px #627295;
  border-radius: 3px;
}

.square_btn:active {
  /*ボタンを押したとき*/
  -ms-transform: translateY(4px);
  -webkit-transform: translateY(4px);
  transform: translateY(4px);
  /*下に動く*/
  border-bottom: none;
  /*線を消す*/
}

.ButtonValue {
  text-align: center
}

.box {
  padding: 0.5em 1em;
  margin: 2em 0;
  color: #5d627b;
  background: white;
  border-top: solid 10px #5d627b;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.22);
  margin: 0 auto;
  width: 900px;
}

.box p {
  margin: 0;
  padding: 0;
}

.index {
  flex-flow: row wrap;
  margin: 0 auto;
  text-align: center;
}

.table {
  opacity: 1;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
}

.table:hover {
  opacity: .5;
}

.body{
  margin: 0;
  font-family: 'Avenir','Calibri','游ゴシック','ヒラギノ角ゴ ProN',sans-serif;
}

.top{
  width: 100%;
}

.translate{
  display: inline-block;
  background-color: #26a69b;/*背景色*/
  color: #FFF;/*文字色*/
  font-size: 1.5em;/*文字サイズ*/
  line-height: 1;
  text-decoration: none;
  letter-spacing: 0.05em;/*字間*/
  padding: 0.5em 1em;/*ボタン内の余白*/
  border-radius: 3px;/*角の丸み*/
    cursor: pointer;
  box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14), 0 1px 5px 0 rgba(0,0,0,0.12), 0 3px 1px -2px rgba(0,0,0,0.2);/*影*/
  -webkit-tap-highlight-color: transparent;
  transition: .3s ease-out;/*変化を緩やかに*/
  position: fixed;
    top: 10px;
    right: 10px;
}

.translate:hover{
    box-shadow: 0 3px 3px 0 rgba(0,0,0,0.14), 0 1px 7px 0 rgba(0,0,0,0.12), 0 3px 1px -1px rgba(0,0,0,0.2);/*浮き上がるように*/
}

ul.topnav2 {
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style-type: none;
  background-color: #1b2538;
}

ul.topnav2 li {
  float: left;
}

ul.topnav2 li a {
  display: block;
  padding: 14px 12px;
  text-align: center;
  text-decoration: none;
  color: white;
}

ul.topnav2 li a:hover:not(.active) {
  background-color: #a9bce2;
}

ul.topnav2 li a.active {
  background-color: #da3c41;
}

ul.topnav2 li.right {
  float: right;
}

@media screen and (max-width: 480px) {
  ul.topnav li.right, ul.topnav li {
    float: none;
  }
}
