@charset "utf-8";
/*----------------------------
このCSSファイルに、スタイル指定を記述していきます。
----------------------------*/

@import "common.css";
@import "animation.css";

/* 全体のスタイル調整 */
* {
  box-sizing: border-box;
}

/* bodyの初期スタイル調整 */
body {
  font-size: 16px;
  line-height: 1.5;
  font-family: 'Noto Sans JP', 'Open Sans', sans-serif;
  font-weight: 400;
  color: #333;

  background-color: #81d0724a;

  font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif !important;

}

/* 初期スタイル調整 */
h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-align: center;
}

h3 {
  color: #85a7cc;
  font-size: 14px;
  margin-bottom: 20px;
}

h4 {
  font-size: 18px;
}

h5 {
  font-size: 16px;
}

p {
  margin-top: 0;
  margin-bottom: 1.5em;
  text-align: justify;
}

address {
  font-style: normal;
}

a {
  color: #666;
  text-decoration: none;
}

a:hover,
a:focus {
  color: #000;
  text-decoration: none;
}

.main p a {
  color: #666;
  text-decoration: underline;
}

.main p a:hover {
  color: #000;
  text-decoration: none;
}

ul {
  margin: 1em 0;
  padding: 0;
  list-style: none;
}

img {
  width: 100%;
  height: auto;
}

section {
  padding: 60px 0;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 初期スタイル調整 ここまで */

/* 共通スタイル調整 ここから */

/*h2関連*/
.h2-title {
  position: relative;
  text-transform: uppercase;
  z-index: 100;
  margin: 1.5em 1em;
}

.h2-title::before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  background: #92d284;
  position: absolute;
  left: 50%;
  margin-left: -20px;
  transform: rotate(45deg);
  z-index: -100;
}

/*テキスト関連*/
.txt-center {
  text-align: center;
}

.txt-lead {
  font-weight: 700;
}

.mincho {
  font-family: "Times New Roman", "游明朝", "Yu Mincho", "游明朝体", "YuMincho", "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif !important;
}

.vertical {
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}

/*ボタン関連*/
.btn {
  display: block;
  padding: 20px 35px;
  border-radius: 8px;
  margin: 0 auto;
  border: none;
}

.btn:hover,
.btn:focus {
  background: rgba(0, 0, 0, 0.7);
  cursor: pointer;
}

/*Web予約ボタン*/
.btn-reserve {
  color: #fff;
  background: #6699ff;
}

/*レイアウト関連*/
.inner {
  padding: 40px 20px 20px;
  width: 100%;
  background: #fff;
}

@media screen and (min-width:768px) {
  .inner {
    width: 980px;
    margin: 0 auto;
  }
}

.sp-only {
  display: block;
}

.pc-only {
  display: none;
}

@media screen and (min-width:768px) {
  .sp-only {
    display: none;
  }

  .pc-only {
    display: block;
  }
}



/* 共通スタイル調整 ここまで */

/* ヘッダーブロック ここから */
.header {
  position: fixed;
  top: 0px;
  width: 100%;
  padding: 10px;
  background: #fff;
  z-index: 200;
  box-shadow: 0 6px 4px -5px rgb(0 0 0 / 5%);
  border-bottom: 1px solid #eee;
}

.header-logo-menu {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 95vw;
  margin: 0 auto;
  padding: 0;
}

/*ロゴ*/
.logo-area {
  width: 240px;
  margin: 0;
  text-align: left;
}

.logo-area-image {
  width: 50px;
}

@media screen and (min-width:768px) {
  .logo-area {
    width: auto;
    font-size: 1.8em;
    letter-spacing: 0.2em;
    color: #000;
    font-weight: bold;
  }
}

/*ハンバーガーメニュー*/
.gnav-toggle {
  position: relative;
  margin-top: 12px;
}


/*チェックボックス等は非表示に*/
.gnav-hidden {
  display: none;
}

/*アイコンのスペース*/
#gnav-open {
  display: inline-block;
  width: 30px;
  height: 22px;
  vertical-align: middle;
}

/*ハンバーガーの形をCSSで表現*/
#gnav-open span,
#gnav-open span::before,
#gnav-open span::after {
  content: '';
  position: absolute;
  height: 3px;
  /*線の太さ*/
  width: 25px;
  /*長さ*/
  border-radius: 3px;
  background: #555;
  display: block;
  cursor: pointer;
}

#gnav-open span::before {
  bottom: -8px;
}

#gnav-open span::after {
  bottom: -16px;
}

/*閉じる用の薄黒箇所*/
#gnav-close {
  display: none;
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  opacity: 0;
  transition: 0.3s ease-in-out;
}

/*チェックがついたら表示させる*/
#gnav-input:checked~#gnav-close {
  display: block;
  opacity: 0.5;
}

#gnav-input:checked~#gnav-content {
  transform: translateX(0%);
  box-shadow: 6px 0 25px rgba(0, 0, 0, 0.15);
}

/*メニューの中身*/
#gnav-content {
  overflow: auto;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 300;
  width: 70%;
  max-width: 300px;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  transition: 0.3s ease-in-out;
  transform: translateX(-105%);
}

.gnav-menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 50px;
  text-transform: uppercase;
}


.gnav-item {
  border-bottom: 2px dotted #eee;
  margin: 10px;
  padding-bottom: 20px;
}

.gnav-item a {
  color: #fff;
  font-size: 12px;
  display: block;
  width: 200px;
  text-align: center;
}

.gnav-item a::first-line {
  font-size: 16px;
  font-weight: bold;

}

.gnav-item a span {
  color: #277c28ba;
}

@media screen and (min-width:768px) {
  .gnav-menu {
    flex-direction: row;
    padding-top: 15px;
    margin: 0;
  }

  .gnav-item {
    border-bottom: none;
    margin: 0;
    padding-bottom: 0;
  }

  .gnav-item a {
    color: #333;
    width: 120px;
  }

  .gnav-item a:hover {
    color: #277c28;
  }
}


/*-------------------------------------------
　メインビジュアル
-------------------------------------------*/
.mv-area {
  width: 100vw;
  height: 100vh;
  background-image: url(../images/hero.jpg);
  background-size: contain;
  background-position: center center;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  flex-direction: column;
  background-repeat: no-repeat;
}

.sub .mv-area {
  background-image: url(../images/hero2.jpg);
  background-size: cover;
  background-position: center -170px;
}

.mv-title {
  color: #fff;
  text-shadow: 0px 0px 3px #573117;
  margin-top: 70px;
  font-size: 1.1em;
  line-height: 1.5;
  text-align: left;
  width: 100%;
  max-width: 570px;
  padding: 30px;
  background: rgba(1, 77, 55, 0.88);
  ;
}

.mv-title-big {
  display: block;
  font-size: 2em;
  margin-left: 30px;
}

.mv-title-text {
  display: block;
  padding-top: 20px;
}

@media screen and (min-width:768px) {
  .mv-area {
    width: 980px;
    height: 500px;
    margin: 0 auto;
    padding-bottom: 30px;
  }

  .sub .mv-area {
    height: 300px;
  }

  .mv-title {
    background: #a9958cb5;
    /* transform: translateX(6vw); */
  }
}

/*-------------------------------------------
  こだわりの仕事
-------------------------------------------*/


.about-table {
  margin: 2em auto;
}

.about-table th,
.about-table td {
  text-align: left;
  font-weight: normal;
  vertical-align: top;
  padding: 5px 10px;
}

@media screen and (min-width:768px) {
  #about p {
    text-align: center;
  }
}

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

  .about-table th,
  .about-table td {
    display: block;
    width: 100%;
  }

  .about-table td {
    padding: 0 10px 15px;
  }

}

/*-------------------------------------------
  沿革
-------------------------------------------*/

.timeline th,
.timeline td {
  vertical-align: top;
  text-align: left;
  position: relative;
}

.timeline th {
  font-weight: normal;
  color: #21671a;
}

.timeline img {
  padding: 5px;
  border: 1px solid #ddd;
}

@media (min-width : 640px) {
  .timeline {
    width: 600px;
    margin: 0px auto;
    font-size: 18px;
  }

  .timeline th {
    width: 200px;
    text-align: right;
    padding: 10px 20px 10px 0;
  }

  .timeline td {
    border-left: 3px #d9eabe solid;
    padding: 10px 0 10px 30px;
  }

  .timeline td:before {
    content: '';
    width: 16px;
    height: 16px;
    background: #ffad42;
    position: absolute;
    left: -12px;
    top: 14px;
    border-radius: 100%;
    border: 2px solid #fff;
  }
}

@media (max-width : 640px) {
  .timeline {
    width: 100%;
    margin: 40px 20px;
    font-size: 16px;
  }

  .timeline th {
    border-left: 3px #d9eabe solid;
    display: block;
    width: 100%;
    padding: 10px 0 0 20px;
  }

  .timeline th:before {
    content: '';
    width: 16px;
    height: 16px;
    background: #ffad42;
    position: absolute;
    left: -12px;
    top: 13px;
    border-radius: 100%;
    border: 2px solid #fff;
  }

  .timeline td {
    border-left: 3px #d9eabe solid;
    display: block;
    width: 100%;
    padding: 0 0 10px 30px;
  }
}


/*-------------------------------------------
  施工実績
-------------------------------------------*/

#works-page h4 {
  text-align: center;
}

#works-page h5 {
  display: inline-block;
  color: #fff;
  background: #19701a;
  padding: .3em 1em;
}

@media screen and (min-width:768px) {

  #works-page h5,
  #works-page p {
    margin: 0 40px 1em;
  }
}

.works-list {
  margin: 0;
  padding: 0;
}

.works-list li {
  background: #fff;
  box-shadow: 1px 1px 4px #aaa;
  margin: 0 0 20px;
  padding: 15px;
}

.works-list li h4 {
  text-align: center;
}

.works-list li a {
  display: block;
  text-align: center;
  padding: 10px;
  color: #068347;
  background: #fff;
  border: 2px solid #068347;
}

.works-list li a:hover {
  color: #fff;
  background: #068347;
}

@media screen and (min-width:768px) {
  .works-list {
    display: table;
    border-collapse: separate;
    border-spacing: 20px 10px;
    margin: 0;
    padding: 0;
  }

  .works-list li {
    display: table-cell;
    margin: 0;
  }
}

/*-------------------------------------------
  アクセス
-------------------------------------------*/

.ggmap {
  position: relative;
  padding-bottom: 40%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.ggmap iframe,
.ggmap object,
.ggmap embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}



/*-------------------------------------------
　ページトップ
-------------------------------------------*/
.pagetop {
  text-align: right;
  padding: 15px;
  background-color: #f0f0f0;
  margin: 50px 0 0;
}

.pagetop a::after {
  content: "";
  background: url(../images/list-marker.svg) no-repeat;
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 3px 10px;
  transform: rotate(-90deg);
}




@media screen and (max-width:770px) {
  .mv-title {
    background: rgb(1 77 55 / 61%);
    padding: 30px 50px;
    font-size: 1.3rem;
  }

  .sub .mv-area {
    height: 40vh;
    display: block;
    padding: 30% 0 0;
    background-position: left center;
    position: relative;
  }

  #mv+section {
    padding-top: 0;
  }

  #historybody .timeline {
    width: 90%;
  }

  .logo-area {
    width: 100%;
    text-align: center;
  }

  .foot-area {
    text-align: center;
  }

  .foot-area p {
    text-align: center;
  }

  .text-phone,
  .text-phone a {
    font-size: 1.5rem;
  }

  .mv-title {
    max-width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    margin-bottom: 0;
  }

  .logo-area-image {
    width: 30px;
  }
}

@media screen and (min-width:750px) {
  .header-logo-menu {
    display: block;
  }

  .mv-title {
    padding: 30px 50px;
    font-size: 1.5rem;
    letter-spacing: .2em;
  }
}

@media screen and (min-width: 900px) {

  .header-logo-menu {
    display: flex;
  }

  #home .foot-logo {
    text-align: left;
  }
}