/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

body {
    margin: 0;
    background: #ffea00 url("/assets/bg-a35f3157.png") repeat left top;
    position: relative;
    font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 1rem;
    font-weight: normal;
    line-height: 1.5;
    color: #333;
    min-height: 100vh
}

body .active {
    background: #464646;
}

ol, ul {
  padding: 0;
}

section {
  margin: 0 !important;
}

body>footer, body>header, body>main {
  padding-block: unset !important;
}

.tb {
  width: 100%;
  height: 100%;
  display: table;
}

.tb .tbc {
  display: table-cell;
  vertical-align: middle;
}

.h1 {
  font-size: 2rem;
}

.switch {
  position: absolute;
  left: 0;
  top: 0;
  width: 64px;
  height: 80px;
  font-size: 2rem;
  z-index: 3;
}

.border .line {
    background: #fff;
    border: 1px solid #fff;
    border-radius: 8px;
    margin: 2px auto;
    width: 24px;
    height: 1px;
}

.navi {
  width: 30%;
  height: 100%;
  float: none;
  margin-top: 0;
  background: rgba(119, 119, 119, 0.7);
  position: fixed;
  top: 70px;
  left: 0;
  display: none;
  z-index: 100;
  box-shadow: 0px 0px 1px 0px #464646;
}

.lists {
  list-style: none;
  overflow: hidden;
}

.lists .list {
  white-space: nowrap;
   display: block;
}

.lists .list a {
  display: block;
  border-bottom: 1px solid #464646;
  -webkit-box-shadow: 0px 1px 0px 0px #e5e1f0;
  box-shadow: 0px 1px 0px 0px #e5e1f0;
  padding: 24px 24px;
  text-align: left;
  color: #e5e1f0;
}

.open {
  display: block !important;
}

#overlay {
  width: 100%;
  height: 100%;
  background: #464646;
  position: absolute;
  top: 0;
  z-index: 3;
  opacity: 0.5;
  display: none;
}

.box{
  overflow: hidden;
  margin: 0 auto;
}

.header {
  width: 100%;
  z-index: 1; 
  zoom:1;
}

.logo {
  position: absolute;
  background: url("/assets/logo120-86ca7986.png") no-repeat 0 0;
  text-indent: -9999px;
  margin: 0;
  top: 16px;
  right: 8px;
  width: 130px;
  height: 60px;
  z-index: 10;
}

.logo a {
  width: 100%;
  height: 100%;
  display: block;
}

.about{
  padding: 0;
  text-align: center;
  background-image: url("/assets/DSC00259-435ca680.jpg");
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  font-family: 'Montserrat Alternates', sans-serif;
  position: relative;
}

.about h1{
  color: #fff;
}

.works .header{
  height: 80px;
}

.works .contents {
  margin: 0 auto;
  padding-bottom: 40px;
  width: 95%;
}

.works .h1 {
  margin: 0 auto;
  width: 95%;
}

.works .pLists {
  width: 95%;
  margin: 0 auto;
  padding: 0 0 32px;
  text-align: center;
}

.works .pList {
  list-style-type:none;
  position: relative;
  margin: 8px 0;
  float: left;
  width: 33.3333%;
}

.works img {
  width: 100%;
}

.works .img-caption {
  color: #464646;
}

.works .foot {
  /* position: static; */
}

.contacts .header {
  padding-bottom: 80px;
  }

.contacts .contents {
  margin: 0 auto 40px;
  width: 95%;
}

.contacts .lead {
  font-size: 1.25rem;
}

.contacts .contact_form {
  overflow: hidden;
}

.contacts .contact_form .dd {
  margin: 0;
}

.foot{
  color: white;
  padding: 16px 0 8px;
  width: 100%;
  z-index: 1;
  position: fixed;
  bottom: 0;
}

.foot .copyright {
  margin: 0;
  padding: 8px 0;
  text-align: center;
  width: 100%;
  color: white;
}

@media all and (max-width:768px) {

  .navi {
    width: 50%;
  }

  .about{
    width: 100%;
    height: 100%;
  }

  .about .h1 {
    font-size: 1.2rem;
  }

  .works .contents {
    height: 100% !important;
  }

  .works .pLists .pList {
    float: none;
    width: 100%;
  }

  .contact {
    padding-bottom: 140px;
    text-align: center;
  }

  .contact form{
    margin: 0 auto;
    width: 85%;
  }

  .contact form input,
  .contact form select,
  .contact form textarea {
    width: 100%;
  }

}
