@charset "UTF-8";
/* page.css */

/*--------------------
1:coomon
--------------------*/
.page-head {
  background: #29ac90;
  color: #fff;
}
h1 {
  font-size: 20px;
  letter-spacing: 0.1em;
  line-height: 1;
  text-align: center;
}
h1:before {
  font-family: FontAwesome;
  font-weight: normal;
  margin-right: 0.5em;
}
h1.tree:before {
  content: '\f1bb';
}
h1.home:before {
  content: '\f015';
}
h1.pen:before {
  content: '\f040';
}
h1.company:before {
  content: '\f1ad';
}
h1.mail:before {
  content: '\f0e0';
}
h1.file:before {
  content: '\f15c';
}
section h2 {
  position: relative;
  color: #121212;
  font-size: 18px;
  line-height: 1.3;
  margin-bottom: 38px;
}
section h2:after {
  position: absolute;
  bottom: -20px;
  left: 0;
  background: #29ac90;
  border-radius: 2px;
  content: '';
  display: block;
  height: 4px;
  width: 24px;
}
.txt-link { color: #29ac90;}
.txt-link:hover { text-decoration: underline;}
input[type=text],
textarea {
  border: none;
  border-bottom: 1px solid #cfe6e1;
  border-radius: 0;
  font-family: inherit;
  font-size: 15px;
  line-height: 1;
  outline: none;
  padding: 16px;
  resize: none;
  width: 100%;
  transition: border-color .5s ease;
}
input[type=text]:focus,
textarea:focus {
  border-color: #29ac90;
}
input[type=text].err,
textarea.err {
  border-color: #ab2945;
}
span.err {
  color: #ab2945;
}

.txt-small-gray {
  color: #676767;
  font-size: 13px;
}
.section-box-ttl {
  color: #121212;
  font-size: 16px;
  padding: 16px 0;
  text-align: center;
}
.section-box-pic {
  position: relative;
  overflow: hidden;
}
.section-box-pic a {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.25);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  width: 100%;
}
.section-box-pic a span {
  position: relative;
  background: rgba(0,0,0,0.1);
  border: 1px solid #fff;
  display: block;
  font-weight: bold;
  text-align: center;
  padding: 8px;
  width: 80%;
}
.section-box-pic a span:after {
  position: absolute;
  top: 50%;
  right: 16px;
  content: '\f101';
  font-weight: normal;
  font-family: FontAwesome;
  transform: translateY(-50%);
}

/*--------------------
2:renovation
--------------------*/
#renovation h3 {
  /*border-bottom: 1px solid #29ac90;*/
  font-size: 16px;
  margin-bottom: 0.15em;
  padding-left: 0.5em;
  padding-bottom: 0.25em;
}
#renovation h3:before {
  color: #29ac90;
  content: '\f0ad';
  font-family: FontAwesome;
  font-weight: normal;
  margin-right: 0.4em;
}

/*--------------------
3:contact
--------------------*/
.page-nav-box {
  position: relative;
}
.page-nav-box a {
  position: absolute;
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  font-size: 18px;
  justify-content: center;
  letter-spacing: 0.05em;
  height: 100%;
  text-shadow: 0px 0px 10px rgba(0,0,0,0.4);
  transition: background-color .5s ease;
  width: 100%;
}
.page-nav-box a span {
  color: #fff;
  font-weight: bold;
}
.page-nav-box a span i {
  font-weight: normal;
}

/*--------------------
4:policy
--------------------*/
#policy > p:first-child {
  margin-bottom: 40px;
}
#policy dl + dl {
  margin-top: 24px;
}
#policy ul {
  margin-top: 20px;
  margin-left: 2em;
}

@media screen and (max-width:640px) {
  .page-head {
    padding-top: calc(32px + 6vw);
  }
  .page-head .container {
    padding: 24px 0;
  }
  .main-block { padding: 32px 0 48px;}
  .main-block section + section { margin-top: 40px;}
  .section-txt {
    margin-bottom: 20px;
  }
  .section-txt p + p,
  p + h3 {
    margin-top: 1em;
  }
  .section-pic div + div {
    margin-top: 16px;
  }
  section + .btn {
    margin: 32px auto 0;
    width: 92vw;
  }
  .section-box-col-3 + .section-box-col-3 { margin-top: 32px;}

  /* #company */
  #company table,
  #company table tbody,
  #company table tr,
  #company table th,
  #company table td {
    display: block;
  }
  #company table th {
    text-align: left;
  }
  #company table tr {
    border-bottom: 1px solid #cfe6e1;
    padding-bottom: 1.2em;
  }
  #company table tr + tr {
    margin-top: 1.2em;
  }
  #map {
    height: 35vh;
  }

  /* #contact-page */
  form {
    margin-top: 24px;
  }
  input, textarea {
    font-size: 16px;
  }
  input {
    line-height: 16px;
  }
  ::-webkit-input-placeholder {
    font-size: 12px;
  }
  .page-nav-box {
    height: 25vw;
    width: 100%;
  }
  .page-nav-box a {
    font-size: 15px;
  }
  .page-nav-pic {
    height: 100%;
    width: 100%;
  }
  .page-nav-pic img {
    height: 100%;
    width: 100%;
    object-fit: cover;
  }

  /* #policy */
  #policy dt {
    border-bottom: 1px solid #cfe6e1;
    margin-bottom: 0.5em;
    padding-bottom: 0.5em;
  }

}

@media screen and (min-width:641px), print {

  /* common */
  header.color {
    top: 0;
    box-shadow: none;
  }
  header.color nav .current a {
    background: #29ac90;
    color: #fff;
  }
  .page-head {
    padding-top: 64px;
  }
  .page-head .container {
    padding: 64px 0;
  }
  h1 {
    font-size: 32px;
  }
  .main-block { padding: 72px 0 88px;}
  .main-block section + section { margin-top: 64px;}
  .section-flex, .section-flex-rev,
  .section-flex-rev-center,
  .section-flex-top,
  .section-flex-top-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .section-flex-rev {
    flex-direction: row-reverse;
  }
  .section-flex-top,
  .section-flex-top-wrap {
    align-items: flex-start;
  }
  .section-flex-top-wrap {
    flex-wrap: wrap;
  }
  .section-flex-rev-center {
    flex-direction: row-reverse;
    justify-content: space-around;
  }
  section h2 {
    font-size: 24px;
    line-height: 1;
    margin-bottom: 56px;
  }
  section h2:after {
    bottom: -28px;
    width: 32px;
  }
  .section-txt {
    line-height: 2;
    width: 576px;
  }
  .section-pic {
    width: 480px;
  }
  .section-pic div + div {
    margin-top: 32px;
  }
  .section-pic-1 {
    width: 360px;
  }
  .sec-pic-right {
    text-align: right;
  }
  section + .btn {
    margin: 64px auto 0;
    width: 800px;
  }
  p + p {
    margin-top: 24px;
  }
  .check:before {
    font-family: FontAwesome;
    color: #29ac90;
    content: '\f046';
    margin-right: 0.4em;
  }
  h2 + .section-flex {
    padding-top: 16px;
  }
  .section-box-col-2 {
    width: 48.5%;
  }
  .section-box-col-3 {
    width: 336px;
  }
  .section-flex-top-wrap > .section-box-col-2:nth-child(2) ~ .section-box-col-2,
  .section-flex-top-wrap > .section-box-col-3:nth-child(3) ~ .section-box-col-3 {
    margin-top: 32px;
  }
  .section-box-pic img {
    transition: .5s ease;
  }
  .section-box-pic a {
    opacity: 0;
    transition: opacity .5s ease;
  }
  .section-box-pic:hover img {
    transform: scale(1.2,1.2);
  }
  .section-box-pic:hover a {
    opacity: 1;
  }

  /* renovation */
  #renovation h3 {
    font-size: 18px;
  }
  #renovation h3 + p {
    border-bottom: 1px solid #cfe6e1;
    padding-left: 48px;
    padding-bottom: 16px;
  }
  #renovation p + h3 {
    margin-top: 16px;
  }

  /* #company */
  #company table th,
  #company table td {
    border-bottom: 1px solid #cfe6e1;
    padding: 24px;
    vertical-align: middle;
  }
  #company table th {
    border-right: 1px solid #cfe6e1;
    font-weight: normal;
    white-space: nowrap;
  }
  #company table tr:last-child th,
  #company table tr:last-child td {
    border-bottom: none;
  }
  #map {
    height: 400px;
  }

  /* #contact-page */
  #contact-page form {
    margin-top: 40px;
  }
  #contact-page .section-flex-top-wrap > div:last-child {
    margin-top: 32px;
    width: 100%;
  }
  textarea {
    height: 51px;
  }
  .page-nav-box {
    width: 25%;
  }
  .page-nav-pic {
    height: 20vw;
  }
  .page-nav-pic img {
    width: 100%;
    height: 20vw;
    object-fit: cover;
    font-family: 'object-fit: cover;'
  }
  .page-nav-box a span {
    display: block;
    padding: 8px 16px;
    transition: background-color .5s ease;
  }
  .page-nav-box a:hover {
    background-color: rgba(0,0,0,0);
    text-shadow: none;
  }
  .page-nav-box a:hover span {
    background-color: #29ac90;
  }
  #thanks-page {
    min-height: calc(100vh - (367px + 20vw));
  }

  /* #policy */
  #policy dl {
    display: flex;
  }
  #policy dt {
    width: 240px;
  }
  #policy dd {
    width: 880px;
  }
}
