*{
  padding: 0;
  margin: 0;
}
body{
  background-color:#fffaf0;
  font-family: 'Noto Sans JP', sans-serif;
}

header{
  background-image: url(img/header.jpg);
  background-size: cover;
  height:1000px;
  font-size:24px;
}
header img{
  position:relative;
  bottom:200px;
  margin:0 0 0 100px;
}

.first{
  font-size:30px;
  text-align:center;
  position:relative;
  top:550px;
}
.second{
  position:relative;
  left:500px;
  top:150px;
  width:550px;
  animation: come-down-anim 2s linear ;
}

@keyframes come-down-anim {
	0% {
    transform: translateY(-100%);
	}
	100% {
    transform: translateY(4px);
	}
}

.third{
  color:red;
  position:relative;
  left:300px;
  top:200px;
  width:900px;
}

nav{
  position:fixed;
  width:100%;
  z-index:1;
  font-family: 'Material Icons';
  content: 'e5e1';
}
header ul{
  background-color:#008f3b;
  text-align:center;
}
ul li{
  display:inline-block;
  position:relative;
}
ul li a{
  display:block;
  padding:10px;
  color:#fff;
  font-size:18px;
  text-decoration:none;
}

h2{
  border-left:20px solid #55f;
  border-bottom:2px solid #55f;
  padding-left:10px;
}
#first {
  font-size:20px;
  padding: 30px 30px ;
}
#first img{
  float: right;
  padding-left: 30px;
  margin-top: 10px;
  margin-bottom: 10px;
}
#first a{
  position:relative;
  left:900px;
}
#first a:hover{
  color:red;
}
#first a img{
  width:300px;
}

#second{
  font-size:20px;
  padding: 30px 30px ;
}
.explain{
  display:flex;
  margin:30px;
  background-color:white;
  position:relative;
  padding:20px;
  border-radius: 30px;
}
.word{
  font-size:20px;
  margin-left:30px ;
  margin-top:-20px;
}
.gaikoku{
  font-weight:bold;
  font-size:30px;
}
.nihonn{
  font-weight:bold;
  font-size:30px;
}
.red{
  color:red;
}
.blue{
  color:blue;
}
.little{
  font-size:15px;
}
 
#third{
  font-size:20px;
  padding: 30px 30px ;
}

.easy{
  font-size: 20px;
  border-radius: 30px;
  background-color:white;
  padding:20px;
  margin:30px;
}

.about{
  padding: 0;
  font: 14px/1.6 'arial narrow', sans-serif;
  list-style: none;
  background-color:white;
}
ul.about li{
  position: relative;
  padding: 0.5em 1em 0.5em 2.3em;
  margin-bottom:5px;
  color:black;
  font-size: 20px;
  font-weight: bold;
  border-bottom: 1px solid rgba(129,194,250, 0.5);
}
ul.about li:after,
ul.about li:before{
  content: "";
  position: absolute;
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}
ul.about li:before{
  top: 0.7em;
  left: 0.2em;
  width: 12px;
  height: 12px;
  border:2px solid rgba(129,194,250,0.5);
}
ul.about li:after{
  top: 0.9em;
  left: 0.7em;
  width: 14px;
  height: 14px;
  background: rgba(129,194,250,0.3);
  -webkit-transform: rotate(60deg);
  -moz-transform: rotate(60deg);
  -o-transform: rotate(60deg);
  -ms-transform: rotate(60deg);
  transform: rotate(60deg);
}

.easy a:hover{
  color:white;
  background-color:black;
  border-radius: 10px;
}

a.btn-border {
  border: 2px solid #000;
  border-radius: 0;
  background: #fff;
  position:relative;
  left:300px;
  margin-top:10px;
}
a.btn-border:hover {
  color: #fff;
  background: #000;
}

#fourth{
  font-size:20px;
  padding: 30px 30px;
  padding-bottom:50px ;
}
.order{
  text-align:center ;
}
#fourth .left{
  float: right;
  position:relative;
  right:30px;
}
#fourth h3 {
  font-size:2em;
  margin:1em;
  position: relative;
  padding: 1.5rem 2rem;
  border-bottom: 3px solid #000;
  border-left: 3px solid #000;
  border-radius: 0 0 0 20px;
}

#fourth h3:before {
  position: absolute;
  right: 50px;
  bottom: -21px;
  width: 0;
  height: 0;
  content: '';
  border-width: 21px 21px 0 0;
  border-style: solid;
  border-color: #000 transparent transparent transparent;
}

#fourth h3:after {
  position: absolute;
  right: 54px;
  bottom: -14px;
  width: 0;
  height: 0;
  content: '';
  border-width: 14px 14px 0 0;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}

html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;
}

.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
}
a.btn--circle {
  width: 140px;
  height: 140px;
  padding: 20px 0 0;
  border-radius: 50%;
  color: #fff;
  background: #eb6877;
  -webkit-box-shadow: 0 7px 0 #e53b4e;
  box-shadow: 0 7px 0 #e53b4e;
}
a.btn--circle i {
  font-size: 150%;
}
.fa-position-bottom {
  position: absolute;
  bottom: 1rem;
  left: calc(50% - 0.5rem);
}
a.btn--circle:hover {
  transform: translate(0, 4px);
  color: #fff;
  -webkit-box-shadow: 0 3px 0 #e53b4e;
  box-shadow: 0 3px 0 #e53b4e;
}

.footer ul{
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer a {
  color: #999;
  text-decoration: none;
}
.footer a:hover {
  color: #000;
}
.footer .flex {
  display: flex;
}
.footer hr {
  height: 1px;
  border: 0;
  border-top: 1px solid #e5e7eb;
}
.footer {
  padding: 2rem;
  font-size: 15px;
  color: #999;
  background: #fff;
}
.footer__navi {
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.footer__navi li {
  display: inline-block;
}
.footer__navi li:not(:last-child) {
  margin-right: 16px;
}
.footer__logo {
  display: inline-block;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .md-flex {
    display: flex;
  }
  .md-justify-between {
    justify-content: space-between;
  }
  .copyright {
    text-align: left;
  }
}