@charset "utf-8";

* {
  margin: 0px;
  padding: 0px;
}

body {

}
.inline{
  display: inline-block;
}
#wrapper {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
}

.main {
  margin: 2% 0%;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  width: 100%;
}

h1 {
  background: #3E3A39;
  width: 100%;
  text-align: center;
  color: #fff;
}


h2 {
  text-align: center;
  color: #fff;
  display: block;
  width: 15em;
  border: solid 1px;
}

h3 {
  color: #fff;
  width: 20em;
  text-align: center;
  font-size: 37px;
  letter-spacing: 0.15em;
  margin-bottom: 6%;
}

h4{
  font-size: 20px;
  font-weight: normal;
  margin: 2% auto -1%;
}

h1, h2 {
  letter-spacing: 0.2em;
}

p {
  color: #000;
  text-align: left;
  margin: 3em;
  line-height: 2em;
  letter-spacing: 0.05em;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

.white_box {
  display: flex;
  background: #fff;
  width: 100%;
  flex-direction: column;
  align-items: center;
}

.white_box p {
  color: #000;
  margin: 3% 3%;
}

.white_box img {
  width: 50%;
}

.red {
  color: red;
  font-weight: bold;
  font-size: 1.3em;
}

.page_btn {
  display: block;
  width: 100%;
  background: #E60012;
}

.page_btn p {
  color: #fff;
  text-align: center;
  font-weight: bold;
  letter-spacing: 0.2em;
  font-size: 1.3em;
}
.redfont{
    color: #E60012;
}

@media screen and (max-width:900px) {
  h1 {
    font-size: 1.3em;
    width: 95%;
  }

  h2 {
    font-size: 1em;
    width: 95%;
  }

    h3 {
    font-size: 1.5em;
}

h4{
    font-size: 1em;
}

  p {
    color: #000;
    font-size: 0.8em;
    text-align: left;
    margin: 2em 2em;
    line-height: 2em;
    letter-spacing: 0.05em;
  }

  .white_box img {
    width: 80%;
  }

  .red {
    font-size: 1em;
  }

  .page_btn p {
    font-size: 1em;
  }
}
