/* =Reset default browser CSS.
/* Eric Meyer's Reset CSS v2.0 (http://meyerweb.com/eric/tools/css/reset/)
-------------------------------------------------------------- */
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-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}
body {
  line-height: 1.7;
  font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, Osaka, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  position: relative;
  font-size: 12px;
  display: flex;
  flex-flow: column;
  min-height: 100vh;
}
main {
  flex: 1;
}
ol, ul {
  list-style: none;
}
.clear {
  clear: both;
}
.error{
  color:red;
}

/* リンク設定
----------------------------------*/
a {
  text-decoration: none;
  color: #000000;
}
a:hover {
  opacity: 0.7;
  filter: alpha(opacity=70); /* IE */
  -ms-filter: "alpha(opacity=70)";
  cursor: pointer;
  padding-top: 0px;
  padding-bottom: 0px;
}
/* ヘッダ
----------------------------------*/
header div {
  margin: 0 auto;
  width: 600px;
  margin-top: 15px;
}
header img {
  width: 55px;
  float: left;
  margin-right: 40px;
}
header ul li {
  float: left;
  font-size: 11px;
  margin-right: 33px;
  margin-top: 25px;
  padding: 1px;
}
header ul .active {
  border-bottom: 3px solid #000000;
}
/* フッタ
----------------------------------*/
footer {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  font-size: 11px;
  padding: 13px;
}
/* 上部へ戻るボタン
----------------------------------*/
.pageTop {
  position: absolute;
  right: 30px;
  bottom: 90px;
  height: 0;
}
.pageTop a {
  position: relative;
  display: flex;
  width: 30px;
  height: 30px;
  background: #4d4d4d;
  box-sizing: border-box;
}
.pageTop.inactive a {
  pointer-events: none;
  opacity: 0;
}
.pageTop a:hover {
  opacity: 0.6;
}
.pageTop a:before, .pageTop a:after {
  width: 10px;
  height: 1px;
  background: #fff;
  display: block;
  content: "";
  position: absolute;
  left: 34%;
  top: 34%;
  transform-origin: center;
}
.pageTop a:before {
  transform: rotate(-60deg) translateX(-50%);
}
.pageTop a:after {
  transform: rotate(60deg) translateX(50%);
}
/* TOP
----------------------------------*/
img {
  width: 100%;
  vertical-align: bottom;
}
.top {
  position: relative;
  background-image: url(../img/top_main.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 0%;
}
.top div {
  margin: 50px auto;
  width: 900px;
  color: hsla(0, 0%, 100%, 0.80);
  font-size: 16px;
}
.top div img {
  width: 718px;
  margin-bottom: 20px;
}
/* MESSAGE
----------------------------------*/
.message .main_img {
  position: relative;
  background-image: url("../img/message_main.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center 0%;
  height: 144px;
}
h2 {
  font-size: 32px;
  text-align: center;
  padding-top: 50px;
  color: #FFFFFF;
  letter-spacing: 2px;
}
.message p {
  text-align: center;
  line-height: 2.2;
  margin-top: 60px;
}
/* COMPANY
----------------------------------*/
.company .main_img {
  background-image: url("../img/company_main.jpg");
}
.company h2 {
  color: rgba(0, 0, 0, 0.50);
}
.company table {
  width: 540px;
  margin: 50px auto;
  line-height: 2;
  border-collapse: collapse;
  border-top: 1px solid #B2B2B2;
}
.company table th, .company table td {
  border-bottom: 1px solid #B2B2B2;
  padding: 16px;
  text-align: left;
}
.map {
  background-color: rgba(184, 208, 230, 0.20);
  text-align: center;
}
iframe {
  margin: 40px 0 10px;
}
.company p {
  margin-top: 0;
  padding-bottom: 20px;
}
.keireki {
  background: linear-gradient(to bottom, #fff 0%, #fff 42%, rgba(184, 208, 230, 0.20) 42%, rgba(184, 208, 230, 0.20) 100%);
}
.keireki .container {
  width: 900px;
  height: 511px;
  margin: 40px auto 0;
  padding-left: 95px;
  background-image: url(../img/company_img.png);
  background-repeat: no-repeat;
  background-size: 337px auto;
  background-position: right 0%;
}
.keireki h3 {
  color: #3753C1;
  border: 1px solid #3753C1;
  width: 560px;
  font-size: 15px;
  padding: 5px 10px 2px;
  margin-bottom: 20px;
  margin-top: 25px;
  display: inline-block;
}
.keireki p {
  text-align: left;
}
.keireki p span {
  font-size: 14px;
}
.keireki p span span {
  color: #3753c1;
}
.mb_30px {
  margin-bottom: 30px;
}
/* WORKS
----------------------------------*/
.works .main_img {
  background-image: url("../img/works_main.jpg");
}
.works h2 {
  color: rgba(255,255,255,0.50);
}
.works .container {
  width: 960px;
  margin: 50px auto;
}

.modal-wrapper {
  z-index: 999;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 40px 10px;
  text-align: center;
}
.modal-button {
  cursor: pointer;
  display: block;
  max-width: 310px;
  text-decoration: none;
	float: left;
	margin: 0 15px 47px 0;
}
.modal-button:nth-child(3), .modal-button:nth-child(6) {
	margin-right: 0%;
}
.modal-wrapper:not(:target) {
  opacity: 0;
  visibility: hidden;
}
.modal-wrapper {
  opacity: 1;
}
.modal-wrapper::after {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
  content: ""
}
.modal-wrapper .modal-window {
  box-sizing: border-box;
  display: inline-block;
  z-index: 20;
  position: relative;
  width: 70%;
  vertical-align: middle;
}
#modal-05 .modal-window {
	width: 35%;
}
.modal-overlay {
  z-index: 10;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .8)
}
.modal-overlay:hover {
	opacity: 1;
}
/* RECRUIT
----------------------------------*/
.recruit .main_img {
  background-image: url("../img/recruit_main.jpg");
}
.recruit h2 {
  color: #FFFFFF;
}
.recruit p {
  margin: -20px 0 0px;
  padding-bottom: 10px;
}
.recruit .btn {
  text-align: center;
}
.recruit .btn a {
  -webkit-appearance: none;
  border-style: none;
  background-color: #4D4D4D;
  color: #FFFFFF;
  padding: 7px 60px;
  margin-bottom: 90px;
	font-size: 11px;
}
/* CONTACT
----------------------------------*/
.contact .main_img {
  background-image: url("../img/contact_main.jpg");
}
.contact .container {
  width: 634px;
  margin: 0 auto;
}
.contact .container p {
  text-align: left;
}
.contact table {
  width: 100%;
  margin: 15px auto 30px;
  line-height: 2;
  border-collapse: collapse;
  border-top: 1px solid #B2B2B2;
}
.contact table th, .contact table td {
  border-bottom: 1px solid #B2B2B2;
  padding: 10px 16px;
  text-align: left;
  vertical-align: middle;
}
.contact table th {
  padding: 16px;
  background-color: rgba(184, 208, 230, 0.20);
  vertical-align: top;
}
.contact table th span {
  background-color: #bf0000;
  color: #FFFFFF;
  padding: 1px 8px;
  line-height: 1.5;
  float: right;
  margin-right: 5px;
}
.contact .kojin {
  text-align: center;
}
.contact .doui {
  background-color: #F2F2F2;
  text-align: center;
  padding: 18px;
  width: 534px;
  margin: auto;
  margin-bottom: 30px;
}
.contact .link {
  width: 100%;
  display: inline-block;
  text-decoration: underline;
  margin-bottom: 45px;
}
.contact .btn {
  -webkit-appearance: none;
  border-style: none;
  background-color: #4D4D4D;
  color: #FFFFFF;
  padding: 5px 40px;
  margin-bottom: 90px;
	font-size: 11px;
}
.contact table label {
  float: left;
  margin-right: 20px;
}
.contact input {
  width: 97%;
  padding: 7px;
  border: 1px solid #B2B2B2;
  vertical-align: -2px;
}
.contact input[type="radio"], .contact input[type="checkbox"] {
  width: 15px;
}
button[type="button"]:hover {
  cursor: pointer;
  opacity: 0.7;
}
button[disabled] {
  background-color: #eee !important;
}
.contact textarea {
  margin-top: 5px;
  width: 100%;
  border: 1px solid #B2B2B2;
}
/* PRIVACY POLICY
----------------------------------*/
.privacy_policy .main_img {
  background-color: #000000;
  background-image: none;
}
.privacy_policy .container {
  width: 634px;
  margin: 60px auto;
}
.privacy_policy .container p {
  text-align: left;
  margin-top: 0;
  line-height: 2;
}
.privacy_policy .container p span {
  margin-top: 7px;
  display: inline-block;
}
.privacy_policy .container h3 {
  font-size: 16px;
  margin-top: 30px;
  font-weight: bold;
}
/*▼▼ ローダー用 ▼▼*/
.loader-wrap {
  position: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: #fff;
}
.loader, .loader:before, .loader:after {
  background: #ffffff;
  -webkit-animation: load1 1s infinite ease-in-out;
  animation: load1 1s infinite ease-in-out;
  width: 1em;
  height: 4em;
}
.loader {
  color: #cccccc;
  text-indent: -9999em;
  margin: 88px auto;
  position: relative;
  font-size: 11px;
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}
.loader:before, .loader:after {
  position: absolute;
  top: 0;
  content: '';
}
.loader:before {
  left: -1.5em;
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}
.loader:after {
  left: 1.5em;
}
@-webkit-keyframes load1 {
  0%, 80%, 100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}
@keyframes load1 {
  0%, 80%, 100% {
    box-shadow: 0 0;
    height: 4em;
  }
  40% {
    box-shadow: 0 -2em;
    height: 5em;
  }
}