* {
  font-family: 'Lucida Grande','Hiragino Kaku Gothic ProN',Meiryo,sans-serif;
}

/*body*/
body {
  margin: 0px;
  padding: 0px;
}

header, main, footer {
  margin: 0px;
  padding: 0px;
}

a:link, a:hover, a:visited, a:active {
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0px;
  padding: 0px;
}

p {
  margin: 0px;
  padding: 0px;
}

img {
  vertical-align: bottom;
  width: 100%;
}

.noscript {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.9);
  text-align: center;
  padding-top: 100px;
  color: #ffffff;
  z-index: 100;
}

/*header*/
header .header {
  display: -webkit-flex;
  display: flex;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: auto;
}
header .header div {
  width: 50%;
}

/*main*/
/*section*/
.top img {
  width: 100vw;
}

.title img {
  width: 100vw;
}

.contents {
  margin: auto;
  width: 70%;
}

.subcontents {
  border-right: 3px solid #E70E1E;
  border-left: 3px solid #E70E1E;
  border-bottom: 3px solid #E70E1E;
}

.cell50 {
  width: 50%;
  display: table-cell;
}

/*form*/
#contact{
	margin-top: 60px;
}


.input_table {
  display: table;
  border-collapse: collapse;
  width: 100%;
  margin-top: 30px;
}
.input_table .row {
  display: table-row;
}
.input_table .row .name {
  display: table-cell;
  vertical-align: middle;
  width: 20em;
  padding: 0px 0px 10px 0px;
}
.input_table .row .input {
  display: table-cell;
  padding: 0px 0px 10px 0px;
}
.input_table .row .input input, .input_table .row .input textarea {
  border: 1px solid #aaaaaa;
  border-radius: 3px;
  padding: 0.5em 1em;
  width: 95%;
}
.input_table .row .input input:focus, .input_table .row .input textarea:focus {
  background-color: #E2E1F7;
}
.input_table .row .input textarea {
  height: 8em;
}

.error {
  padding: 10px 0px 0px 0px;
  margin: 0px;
  color: #ff0000;
}

.privacy_policy {
  overflow-y: auto;
  height: 100px;
  width: 95%;
  font-size: 90%;
  border: solid 1px #cccccc;
  border-collapse: collapse;
  padding: 1em;
  border-radius: 3px;
}
.privacy_policy .right {
  text-align: right;
  margin: 0px;
  padding: 0px;
}
.privacy_policy ul, .privacy_policy ol {
  padding-left: 1.5em;
  padding-right: 1.5em;
}
.privacy_policy ul li, .privacy_policy ol li {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}
.privacy_policy table, .privacy_policy tr, .privacy_policy th, .privacy_policy td {
  border: solid 1px #cccccc;
  border-collapse: collapse;
}
.privacy_policy th, .privacy_policy td {
  padding: 1em;
}
.privacy_policy th {
  background-color: #dddddd;
}

.button {
  text-align: center;
  padding-top: 50px;
  padding-bottom: 50px;
}
.button button {
  padding: 0.5em 2em;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.8em;
  border: solid 1px white;
  box-shadow: 0 0 0 1px #F39F1A;
  background: #ffd700;
  background: -moz-linear-gradient(top, #ffd700 0%, #f5a422 100%);
  background: -webkit-linear-gradient(top, #ffd700 0%, #f5a422 100%);
  background: linear-gradient(to bottom, #ffd700 0%, #f5a422 100%);
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffd700', endColorstr='#f5a422',GradientType=0 );
}

.alert {
  position: fixed;
  visibility: hidden;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  cursor: pointer;
  padding-top: 100px;
  z-index: 100;
}
.alert > div {
  margin: 0 auto;
  background-color: #ffffff;
  width: 60%;
  padding-top: 20px;
  padding-right: 20px;
  padding-bottom: 50px;
  padding-left: 20px;
  border-radius: 5px;
}

/*footer*/
footer .copyright {
  background-color: #2B882E;
  color: white;
  padding-top: 5px;
  padding-bottom: 5px;
  text-align: center;
}
footer .company {
  margin: auto;
  width: 70%;
}
footer .company .info {
  display: table;
  border-collapse: collapse;
  width: 100%;
  margin-top: 20px;
  margin-right: 20px;
  margin-bottom: 40px;
  margin-left: 20px;
}
footer .company .info .row {
  display: table-row;
}
footer .company .info .row div {
  display: table-cell;
  padding: 5px;
}

/*menu*/
.return {
  position: fixed;
  right: 0px;
  bottom: 20px;
  cursor: pointer;
}
.return img {
  width: 65px;
  height: 65px;
  opacity: 0.7;
}

/*SP*/
@media screen and (max-width: 768px) {
  header .header div {
    width: auto;
  }

  .contents {
    margin: auto;
    width: 90%;
  }

  .input_table {
    display: block;
  }
  .input_table .row {
    display: block;
  }
  .input_table .row .name {
    display: block;
  }
  .input_table .row .input {
    display: block;
  }
  .input_table .row .input textarea {
    height: 10em;
  }

  footer .company {
    margin: auto;
    width: 90%;
  }
}
