﻿@charset "UTF-8";
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}
.page-title{
	line-height:0;}
html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
  display: block;
}

/********************************************/
/*	設定値									*/
/********************************************/
/********************************************/
/*	基本設定									*/
/********************************************/
body {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック","MS PGothic",sans-serif;
  line-height: 1.5;
  font-size: 12px;
  color: #fff;
  background-color: #000;
}

input[type='text'],
textarea,
select {
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro","メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック","MS PGothic",sans-serif;
  line-height: 1.5;
  font-size: 12px;
}

#wrapper {
  width: 885px;
  margin: 0 auto;
}
#wrapper img {
  float: left;
}

/********************************************/
/*	入力画面／確認画面						*/
/********************************************/
.form {
  clear: both;
  overflow: hidden;
  position: relative;
  background: url("../images/back_top.png") no-repeat, url("../images/back_bottom.png") bottom no-repeat, url("../images/back_main.png");
  padding-top: 50px;
  padding-bottom: 40px;
}

table {
  width: 800px;
  margin: 0 auto;
}
table caption {
  box-sizing: border-box;
  margin: 20px 0;
  padding: 10px;
  border-bottom: 1px solid #C8B377;
  color: #C8B377;
  font-size: 18px;
}
table tbody tr.required th:after {
  content: "必須";
  background-color: #e30;
}
table tbody tr:first-child th, table tbody tr:first-child td {
  border-top: none;
}
table tbody th, table tbody td {
  box-sizing: border-box;
  border-top: 1px solid #222;
  padding: 10px;
  position: relative;
}
table tbody th {
  width: 200px;
  vertical-align: middle;
}
table tbody th.noname {
  width: 70px;
}
table tbody th:not(.static):after {
  float: right;
  padding: 2px 5px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  color: #fff;
  font-size: 11px;
  content: "任意";
  background-color: #03e;
}

input[type='text'],
textarea,
select {
  padding: 6px;
  box-sizing: border-box;
  border: 1px solid #bbb;
  -moz-border-radius: 3px;
  -webkit-border-radius: 3px;
  border-radius: 3px;
  background-color: #ccc;
  -moz-transition-property: background-color;
  -o-transition-property: background-color;
  -webkit-transition-property: background-color;
  transition-property: background-color;
  -moz-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
input[type='text']:focus,
textarea:focus,
select:focus {
  background-color: #fff;
}
input[type='text'].error,
textarea.error,
select.error {
  border: 2px solid #f00;
  padding: 5px;
}
input[type='text'].complete,
textarea.complete,
select.complete {
  background-color: #fff;
}
input[type='text'].short,
textarea.short,
select.short {
  width: 100px;
}
input[type='text'].medium,
textarea.medium,
select.medium {
  width: 195px;
}
input[type='text'].semilong,
textarea.semilong,
select.semilong {
  width: 290px;
}
input[type='text'].long,
textarea.long,
select.long {
  width: 385px;
}
input[type='text'].biglong,
textarea.biglong,
select.biglong {
  width: 555px;
}

label a {
  color: #C8B377;
}
label input[type='checkbox'] {
  margin-right: 5px;
  vertical-align: bottom;
}

input[type='text'].half {
  ime-mode: disabled;
}

textarea {
  height: 200px;
  width: 500px;
}

.example {
  color: #eee;
  font-size: 11px;
}

span.example {
  margin-left: 5px;
}

p.example {
  margin-top: 5px;
}

p.explain {
  margin-top: 5px;
  color: #ccc;
  font-size: 10px;
}

p.error {
  margin-top: 5px;
  color: #c30;
  font-weight: bold;
  font-size: 11px;
}

.action {
  margin-top: 15px;
  text-align: center;
}
.action input[type='submit'] {
  padding: 27px 20px;
  width: 390px;
  background-color: #080;
  border: none;
  vertical-align: top;
  color: #fff;
  font-size: 16px;
  text-decoration: underline;
  cursor: pointer;
  -moz-transition-property: background-color;
  -o-transition-property: background-color;
  -webkit-transition-property: background-color;
  transition-property: background-color;
  -moz-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
.action input[type='submit']:hover {
  background-color: #090;
}
.action a.yet {
  display: inline-block;
  padding: 15px 20px;
  background-color: #f00;
  color: #fff;
  font-size: 14px;
  -moz-transition-property: background-color;
  -o-transition-property: background-color;
  -webkit-transition-property: background-color;
  transition-property: background-color;
  -moz-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
.action a.yet:hover {
  background-color: #ff0a0a;
}
.action a.back {
  display: inline-block;
  padding: 5px 20px;
  background-color: #999;
  color: #fff;
  font-size: 14px;
  -moz-transition-property: background-color;
  -o-transition-property: background-color;
  -webkit-transition-property: background-color;
  transition-property: background-color;
  -moz-transition-duration: 0.5s;
  -o-transition-duration: 0.5s;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
}
.action a.back:hover {
  background-color: #aaa;
}

/********************************************/
/*	バリデーション							*/
/********************************************/
.valid-counter {
  z-index: 10;
  position: absolute;
  top: 55px;
  right: 5%;
  background: url("../images/back_edit.png") no-repeat right #f00;
  -moz-box-shadow: 5px 5px 10px rgba(64, 64, 64, 0.4);
  -webkit-box-shadow: 5px 5px 10px rgba(64, 64, 64, 0.4);
  box-shadow: 5px 5px 10px rgba(64, 64, 64, 0.4);
  padding: 10px;
  opacity: 0.9;
}
.valid-counter.complete {
  background-color: #008000;
}
.valid-counter p {
  white-space: nowrap;
}
.valid-counter p span {
  font-weight: bold;
}

.valid {
  z-index: 10;
  position: absolute;
  top: -25px;
  display: inline-block;
}
.valid .valid-inner {
  position: relative;
  padding: 5px 8px;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 2px;
  background-color: rgba(255, 0, 0, 0.8);
  cursor: pointer;
}
.valid .valid-inner:after {
  content: '';
  position: absolute;
  border-top: 10px solid #f00;
  border-right: 5px solid transparent;
  border-left: 5px solid transparent;
  bottom: -9px;
  left: 15px;
  opacity: 0.8;
}
.valid .valid-inner span {
  margin-left: 4px;
  vertical-align: top;
  font-size: 8px;
  line-height: 1;
}

/********************************************/
/*	確認画面									*/
/********************************************/
.form.confirm table tbody th::after {
  content: none;
}

.form.confirm table tbody th,
.form.confirm table tbody td {
  padding-top: 14px;
  padding-bottom: 14px;
}

/********************************************/
/*	完了画面									*/
/********************************************/
.form.complete {
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 50px;
}
.form.complete h2 {
  box-sizing: border-box;
  margin: 20px 0;
  padding: 10px;
  border-bottom: 1px solid #C8B377;
  color: #C8B377;
  font-size: 18px;
}
.form.complete p {
  margin-top: 20px;
  line-height: 16px;
}

@media screen and (max-width: 800px) {
  #wrapper {
    width: auto;
  }

  .form {
    box-sizing: border-box;
    padding-left: 5%;
    padding-right: 5%;
    background-size: 100%;
  }

  .form.confirm table tbody th {
    padding-bottom: 5px;
  }

  .form.confirm table tbody td {
    padding-top: 0;
  }

  table {
    width: 100%;
  }
  table tbody tr {
    display: block;
  }
  table tbody th, table tbody td {
    display: block;
    width: auto;
  }
  table tbody th:after {
    float: none;
    margin-left: 5px;
  }
  table tbody td {
    border-top: none;
    padding-top: 0;
  }

  input[type="text"].long, textarea.long, select.long {
    width: 100%;
  }
  input[type="text"].biglong, textarea.biglong, select.biglong {
    width: 100%;
  }

  textarea {
    width: 100%;
  }

  span.example {
    margin-top: 5px;
    margin-left: 0;
    display: block;
  }

  .action input[type='submit'] {
    width: 100%;
  }
  .action a.yet {
    padding: 15px 10px;
    font-size: 12px;
  }

  .valid {
    top: -37px;
  }
}
