@charset "UTF-8";

:root {
  --main-color: #414141;
  --accent-color: #1c3944;
  --text-brighy-color: #fff;
  --icon-color: #ddd;
  --gray-color: #ddd;
  --large-width: 1000px;
  --middle-width: 800px;
}

body {
  margin: 0;
  background-color:rgb(0, 0, 0);
  font-family: 'Libre Baskerville', serif;
}

/* ヘッダー */
header {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.8)), url(../img/wood.jpg);
  font-family: 'Libre Baskerville', serif;
  color: rgb(192, 142, 5);
}

.nohero header {
  position: static;
  border-bottom: solid 1px rgb(70, 70, 70);
  border-bottom: solid 1px var(--gray-color)
}

/* アレンジ：ヘッダーを画面上部に固定 */
.head-fixed,
.nohero .head-fixed {
  position: fixed;
}

.nohero .head-fixed + * {
  margin-top: 70px;
}

/* ヘッダーA：サイト名 */
.headA {
  display: inline-block;
  line-height: 70px;
  padding-left: 20px;
  padding-right: 20px;
  background-color: rgb();
  color: rgb(192, 142, 5);
  font-size: 24px;
  text-decoration: none;
  font-family: 'Libre Baskerville', serif;
}
/* ヘッダーB：ナビゲーションメニュー */
@media (min-width:768px) {
  .headB ul {
     display: flex;
  }
  header .container {
     display: flex;
     align-items: center;
     justify-content: space-between;
     max-width: 1000px;
     max-width: var(--large-width);
     margin-left: auto;
     margin-right: auto;
  }
}

.headB ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.headB a {
  display: block;
  padding: 15px;
  color: inherit;
  font-size: 12px;
  text-decoration: none;
}

.headB a:hover {
  background-color: rgba(0, 0, 0,0.3);
}

/* ヘッダーC：トグルボタン  */
@media (min-width:768px) {
  /* 大きい画面用の設定 */
.headC {
  display: none;
   }
}

@media (max-width:767px) {
  /* 小さい画面用の設定 */
  header .container-small{
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fa-bars {
  color: rgb(192, 142, 5);
}

.headC {
  margin-right: 10px;
  padding: 0;
  border: none;
  outline: none;
  background: none;
  font-size: 28px;
  opacity: 1;
  cursor: pointer;
}

.headC:hover{
  opacity: 0.4;
}

.headB {
  display: none;
}
}

/* index 本文*/
.conA h2 {
  position: absolute;
  top:70%;
  left: center;
  color:#ffffff;
  font-size: 5vw;
  text-align: center;
  width: 100%;
}

.conA p{
  position: absolute;
  top:80%;
  left: center;
  color: #ffffff;
  font-size: 18px;
  text-align: center;
  width: 100%;
}

.conA {
  position: relative;
}

.rogo1{
  position: absolute;
  top:35%;
  left: 42%;
}

.rogo2 {
  position: absolute;
  top:25%;
  left: 40%;
  max-width: 100%;
  height: auto;

}

/* bgswitcher */
.bg-slider {
  width: 100vw;
  height: 100vh;
  background-position:center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bg-slider-title{
  color: #fff;
  font-size: 32px;
  font-weight: bold;
}
/* ここまでbgswitcher */

@media (min-width:768px) {
  .conA h2{
    font-size: 28px;
    background-size: 25% auto;
    background-position-x: 335px ;
  }

  .conA p {
    font-size: 22px;
  }
}

@media (min-width:768px) {
  .rogo1{
    display: flex;
   flex-wrap: wrap;
  max-width: 1000px;
  max-width: var(--large-width);
  margin-left: auto;
  margin-right: auto;
   }
    
.rogo2 {
  display: flex;
   flex-wrap: wrap;
  max-width: 100%;
  max-width: var(--large-width);
  margin-left: auto;
  margin-right: auto;
 }
}

/* フッター */
footer{
  background-image: linear-gradient(rgba(0,0,0,0.5),rgba(0,0,0,0.8)), url(../img/wood.jpg);
  padding: 10px 0px 10px 0px;
  color: rgb(192, 142, 5);
}

footer .container {
  padding: 40px 20px;
}

.footer h4 {
  margin-top: 0;
  margin-bottom: 10px;
  font-family: 'Libre Baskerville', serif;
  font-size: 28px;
  letter-spacing: 0.2em;
}

@media (min-width:768px) {
  footer .container{
    display: flex;
    flex-wrap: wrap;
    max-width: 1000px;
    max-width: var(--large-width);
    margin-left: auto;
    margin-right: auto;
  }
}

.footA {
  flex: 0 0 40%;
}

.footB {
  flex: 0 0 60%;
}

.footC {
  flex: 0 0 100%;
}

/* フッターA：サイト情報 */
.footA {
  margin-bottom: 30px;
}

.footA p {
  font-size: 14px;
}

/* フッターB：フッターメニュー */
.footB div{
  margin-bottom: 20px;
}

.footB h5 {
  margin-top: 0;
  margin-bottom: 10px;
  border-bottom: solid 1px currentColor;
  font-size: 14px;
}

.footB ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footB a {
  display: block;
  padding: 5px;
  color: inherit;
  font-size: 12px;
  text-decoration: none;
}

.footB a:hover {
  background-color: rgba(0, 0, 0,0.3);
}

/* フッターC：コピーライト */
.footC {
  font-size: 8px;
  text-align: center;
  font-family: 'Libre Baskerville', serif;
}

/* フッターD：SNSメニュー */
.footD {
  margin-top: 20px;
}

.footD a {
display: block;
margin-right: 8px;
padding: 0px;
color: rgb(192, 142, 5);
font-size: 16px;
text-decoration: none;
border: solid 1px currentColor;
width: 2em;
line-height: 2em;
border-radius: 50%;
text-align: center;
}

.footD a:hover {
background-color: rgba(0, 0, 0,0.3);
}

@media (min-width:768px) {
  .footB{
    display: flex;
  }
  .footB div{
    flex: 1;
  }
  .footB div:not(:first-child){
    margin-left: 40px;
  }
  .footC {
    font-size: 12px;
  text-align: center;
  }
  }


/* ABOUT */
.post1 .container {
  padding: 35px 20px;
  max-width: 800px;
  max-width: var(--middle-width);
  margin-left: auto;
  margin-right: auto;
}

.post1 h1 {
  margin-top: 60px;
  color: rgb(192, 142, 5);
  font-size: 2rem;
  text-align: center;
}

.post1 h2 {
  margin-top: 50px;
  color: rgb(192, 142, 5);
  margin-left: auto;
  margin-right: auto;
  padding-left: 0.5rem;
  border-left: solid 0.75rem #1c3944;
  font-size: 1.5rem;
  padding: 15px;
}

.about1 {
  margin-left: auto;
  margin-right: auto;
}

.post1 p {
  margin-left: 20px;
  font-size: 1rem;
  line-height: 2;
  color: #fff;
}

.post1 img {
  max-width: 100%;
}

.ABOUT {
  background-color: #1c3944;
  color: #fff;
  color: var(--text-brighy-color);
}

.ABOUT h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #fff;
}

.ABOUT .text {
  margin-bottom: 10px;
  flex: 2;
  padding: 50px;
}

.ABOUT .photo5 {
  min-height: 400px;
  background-image: url(../img/torii.jpg);
  background-position: center;
  background-size: cover;
  flex: 3;
}

.ABOUT table {
  border-collapse: collapse;
  border-top: solid 1px #ddd;
  border-top: solid 1px var(--gray-color);
  font-size: 0.875rem;
  padding-top: 1.8rem;
  padding-bottom: 1.8rem;
}

@media (min-width:768px) {
  .ABOUT .container{
    display: flex;
    max-width: 1000px;
    max-width: var(--large-width);
    margin-left: auto;
    margin-right: auto;
  }
}

.face {
  border-radius: 50%;
}

.name {
  font-size: 24px;
}


/* FLOW */

.flowA {
  padding: 35px 20px;
  max-width: 800px;
  max-width: var(--middle-width);
  margin-left: auto;
  margin-right: auto;
  color: rgb(255, 255, 255);
}

.flowA h1{
  color: rgb(192, 142, 5);
  text-align: center;
  margin-left: 50px;
  width: 600px;
  font-size: 2rem;
}

.flowA h2 {
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 50px;
  color: rgb(192, 142, 5);
  font-size: 1.5rem;
  padding: 15px;
  padding-left: 0.5rem;
  border-left: solid 0.75rem #1c3944;
}

.flowA_p {
  text-align: left;
  margin-left: 50px;
  width: 600px;
}

.flow1_p1 {
  color: red;
}

table.flow1 {
  width: 650px;
  border-collapse: collapse;
  border: 1px solid rgb(192, 142, 5);
  margin-left: 50px;
  margin-bottom: 30px;
  flex: 3;
}

table.flow1 th, table.flow1 td {
  padding: 10px 20px;
  border: 1px solid rgb(192, 142, 5);
  vertical-align: middle;
}

table.flow1 th {
  background-color: #1c3944;
  text-align: left;
  width: 200px;
}

table.flow1 td {
  text-align: left;
  width: 450px;
}

.flowA .photo6 {
  min-height: 700px;
  background-image: url(../img/planner.jpg);
  background-position: center;
  background-size: cover;
  flex: 2;
}

@media (max-width:768px) {
.flowA .container2 {
  display: flex;
  max-width: 1000px;
}

.flowA h1 {
  text-align: center;
  margin-left: 20px;
  width: 450px;
}

.flowA_p {
  text-align: left;
  margin-left: 20px;
  width: 450px;
}

table.flow1 {
  width: 450px;
  margin: 10px 20px 10px 20px;
}
}

/* WORKS */
.works {
  padding: 35px 20px;
  max-width: 800px;
  max-width: var(--middle-width);
  margin-left: auto;
  margin-right: auto;
}
.worksA h1{
  color: rgb(192, 142, 5);
  text-align: center;
  font-size: 2rem;
}

.worksA h2 {
  margin-top: 20px;
  margin-bottom: 20px;
  font-family: 'Sawarabi Mincho', sans-serif;
  color: rgb(192, 142, 5);
  font-size: 1.2rem;
  padding: 15px;
  padding-left: 0.5rem;
  border-left: solid 0.75rem #1c3944
}

.listA .container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 30px auto;
}

.listA .article {
  flex: 1 1 300px;
  display: flex;
}

.listA a {
  flex: 1;
  margin: 10px;
  display: block;
  border: solid 1px #1c3944;
  color: inherit;
  text-decoration: none;
}

.listA a:hover {
  opacity: 0.8;
}

.listA .photo {
  min-height: 150px;
  background-position: center;
  background-size: cover;
}

.listA .text {
  margin: 10px;
}

.listA h2 {
  font-size: 18px;
  color: #fff;
}

.listA p {
  font-size: 14px;
  opacity: 0.8;
  color: #fff;
}



/*お問い合わせ*/
.post .container {
  padding: 35px 20px;
  max-width: 800px;
  max-width: var(--middle-width);
  margin-left: auto;
  margin-right: auto;
}

.post h1 {
  text-align: center;
  font-size: 2rem;
  color: rgb(192, 142, 5);
  font-family: 'Libre Baskerville', serif;
}

.post p {
  font-size: 1rem;
  line-height: 2;
  color: #fff;
  font-family: 'Sawarabi Mincho', sans-serif;
}

.post img {
  max-width: 100%;
}
.contact {
  margin-top: 20px;
  margin-bottom: 20px;
  padding: 20px;
  border: solid 1px #1c3944;
  text-align: center;
}

.contact span {
  display: inline-block;
  margin-bottom: 20px;
  font-size: 2.2rem;
  width: 2em;
  line-height: 2em;
  border-radius: 50%;
  text-align: center;
  background-color: #1c3944;
  color: #fff;
}

.contact1 {
  color: rgb(255, 255, 255); 
}


.contact1 h2 {
  margin-top: 20px;
  margin-bottom: 20px;
  font-family: 'Sawarabi Mincho', sans-serif;
  color: rgb(192, 142, 5);
  font-size: 1.2rem;
  padding: 15px;
  padding-left: 0.5rem;
  border-left: solid 0.75rem #1c3944;
}

.contact h3 {
  margin-top: 0;
  font-family: 'Libre Baskerville', serif;
  color: rgb(192, 142, 5);
  font-size: 1.2rem;
}

.contact1 p {
  font-family: 'Sawarabi Mincho', sans-serif;
}

.contact a {
  font-size: 1.4rem;
  color: #fff;
  text-decoration: none;
  font-family: 'Sawarabi Mincho', sans-serif;
}

.photo2 {
  min-height: 500px;
  background-image: url(../img/niwa7.jpg);
  background-position: center;
  background-size: cover;
}

@media (min-width:768px) {
  .contact-wrap{
    display: flex;
  }
  .contact {
    flex: 1;
  }
  .contact:first-child{
    margin-right: 20px;
  }
  }

  
/* CAMPANY */
.campanyA .container3 {
  padding: 35px 20px;
  max-width: 800px;
  max-width: var(--middle-width);
  margin-left: auto;
  margin-right: auto;
}

.companyA {
  padding: 35px 20px;
  max-width: 800px;
  max-width: var(--middle-width);
  margin-left: auto;
  margin-right: auto;
  color: rgb(255, 255, 255);
}

.companyA h1{
  color: rgb(192, 142, 5);
  text-align: center;
  margin-left: 50px;
  width: 600px;
  font-size: 2rem;
}

.companyA h2 {
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 50px;
  color: rgb(192, 142, 5);
  font-size: 1.5rem;
  padding: 15px;
  padding-left: 0.5rem;
  border-left: solid 0.75rem #1c3944;
}

.companyA_p {
  text-align: left;
  margin-left: 50px;
  width: 600px;
}

table.company1 {
  width: 650px;
  border-collapse: collapse;
  border: 1px solid rgb(192, 142, 5);
  margin-left: 50px;
  margin-bottom: 30px;
  flex: 3;
}

table.company1 th, table.company1 td {
  padding: 10px 20px;
  border: 1px solid rgb(192, 142, 5);
  vertical-align: middle;
}

table.company1 th {
  background-color: #1c3944;
  text-align: left;
  width: 200px;
}

table.company1 td {
  text-align: left;
  width: 450px;
}

/*会社概要ページ　地図*/
.location iframe {
  width: 100%;
  height: 300px;
  vertical-align: bottom;
}


.companyA .photo7 {
  min-height: 700px;
  background-image: url(../img/7.jpg);
  background-position: center;
  background-size: cover;
  flex: 2;
}

@media (max-width:768px) {
.companyA .container3 {
  display: flex;
  max-width: 1000px;
}

.companyA h1 {
  text-align: center;
  margin-left: 20px;
  width: 450px;
}

.companyA_p {
  text-align: left;
  margin-left: 20px;
  width: 450px;
}

table.company1 {
  width: 450px;
  margin: 10px 20px 10px 20px;
}
}


/* works カルーセル */
.slider{
  margin: 100px auto;
  width: 80%;
}
.slider img{
  height: auto;
  width: 100%;
}
/*slick setting*/
.slick-prev:before,
.slick-next:before {
  color: rgb(116, 116, 116);
}