@charset "UTF-8";

body {
  font-family:Georgia, 'Times New Roman', Times, serif;
  line-height: 1.5;
  /* background-color: rgba(218, 218, 206, 0.808); */
  background-color: rgba(240, 191, 117, 0.363);
}

.container {
  padding: 10px;
  max-width: 980px;
  margin: auto;
}

img {
  width: 100%;
}

a {
  text-decoration: none;
  font-weight: bold;
  transition: .3s;
}

a:hover {
  text-decoration: none;
  opacity: .7;
  display: block;
  transform: scale(1.1);
  transition: .3s;
}

/* ==========================================
header
==========================================*/
.header-contents {
  display: flex;
  justify-content: space-between;
}

.header-left img{
  width: 40px;
  height: 40px;
}
.header-title {
  padding-top: 5px;
  font-size: 32px;
  font-weight: bold;
}

.header-right-menus {
  display: flex;
  font-size: 20px;
  line-height: 48px;
}

.header-right-menu {
  margin-right: 30px;
}

.header-right-menu>a{
  color: black
}


/* ==========================================
top
==========================================*/
.top {
  /* background: url(../img/welcome-3363654_960_720.jpg) no-repeat center center/cover; */
  /* background: url(../img/road-2508733_1280.jpg) no-repeat center center/cover; */
  /* background: url(../img/forest-3804001_1280.jpg) no-repeat center center/cover; */
  background: url(../img/railway-2818748_1280.jpg) no-repeat center center/cover;
  background-attachment: fixed;
  text-align: center;
  height: 650px;
}

.top-mainTitle {
  display: inline-block;
  padding-top: 200px;
  font-size:100px;
  font-weight: bold;
  color: rgb(255, 255, 255);
  text-decoration:underline 4px;
  text-shadow: -2px -2px rgba(255, 255, 255, .44), 2px 2px rgba(0, 0, 0, .38);
}

.top-subTitle {
  font-size: 24px;
  font-weight:bold;
  color: rgb(255, 255, 255);
  text-shadow: -1px -1px rgba(255, 255, 255, .44), 1px 1px rgba(0, 0, 0, .38);
}

/* ==========================================
section共通クラス
==========================================*/
.section {
  text-align: center;
  padding: 40px;
}

.section>h2 {
  padding-bottom: 10px;
  font-size: 32px;
  font-weight: bold;
}

/* ==========================================
about
==========================================*/
.about {
  height: 830px;
}

.about-contents {
  display: flex;
  justify-content: space-between;
}

.about-left {
  text-align: center;
  width: 48%;
}

.about-left img {
  border: 2px solid lightgray;
  width: 100%;
  height: 400px
}

.about-left-name {
  font-size: 28px;
  font-weight: bold;
  padding-top: 10px;
}

.about-right {
  text-align: left;
  width: 48%;
}

.about-right>p {
  margin-bottom: 20px;
  padding: 10px;
  border-bottom: 1px solid lightgray;
}

.about-right-title {
  font-weight: bold;
  padding-bottom: 5px;
}

/* ==========================================
service
==========================================*/
.service {
  background-color: #eeeeeea9;
  height: 650px;
}

.service-contents {
  display: flex;
  justify-content: space-between;
}

.service-content {
  width: 30%;
}

.service-content img {
  width: 60%;
  text-align: center;
}

.service-content>h3 {
  padding: 20px 0;
  text-align: center;
  font-size: 18px;
  font-weight: bold;
}

.service-content>p {
  text-align: left;
}
/* ==========================================
work
==========================================*/
.work {
  height: 700px;
}

.work-contents {
  display: flex;
  justify-content: space-around;
}


.work-contents h3 {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.work-contents  p {
  padding-top: 10px;
  text-align: left;
}

.work-content1, .work-content2 {
  padding: 22px;
  border: 1px solid lightgray;
  width: 30%;
  background: #eeeeeea9;
}
.work-content1 img, .work-content2 img  {
  height: auto;
  padding-bottom: 4px;
}
/* ==========================================
contact
==========================================*/
.contact {
  background-color: #eeeeeea9;
  height: 880px;
  margin-bottom: 0px;
}

.contact-form {
  display: flex;
}

.detail {
  padding-left: 20px;
}

.btn {
  box-shadow: 0 2px 2px rgba(0, 0, 0, .29);
  text-shadow: -1px -1px rgba(255, 255, 255, .44), 1px 1px rgba(0, 0, 0, .38);
  border-bottom: 3px solid #0000005d;

  &:active {
    transform: translateY(4px);
    box-shadow: 0 0 2px rgba(0, 0, 0, .2);
    border-bottom: none;
  }
}

.sns>p {
  margin: 10px;
}

.sns img {
  width: 80px;
  height: 80px;
  transition: .3s;
  margin-bottom: 20px;

}
.sns img:hover {
  opacity: .7;
  transition: .3s;
  transform: scale(1.1);
}


/* ==========================================
footer
==========================================*/
footer {
  background-color: #222;
  color: white;
  padding: 10px;
  text-align: center;
}

/* ==========================================
ページトップへ
==========================================*/
#page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  font-size: 24px;
  line-height: 1;
  z-index: 50;
}
#page-top a {
  background: #414747;
  text-decoration: none;
  color: #fff;
  width: 45px;
  padding: 10px 5px;
  text-align: center;
  display: block;
  border-radius: 999px;
  opacity: 0.9;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#page-top a:hover {
  text-decoration: none;
  opacity: 0.5;
}

/* ==========================================
スマホ用
==========================================*/
@media screen and (max-width: 767px) {

  .container {
    width: 100%;
  }
  /* ==========================================
  header
  ==========================================*/
  header {
    text-align: center;
  }

  .header-contents {
    flex-direction: column;
  }

  .header-right-menus {
    justify-content: space-around;
    padding-left: 19px;
  }

  .header-right-menu {
    font-size: 11px;
  }

  /* ==========================================
  top
  ==========================================*/
.top {
  /* background-image: url(../img/welcome-3363654_960_720.jpg); */
  width: auto;
  height: 350px;
  background-position:center;
  background-attachment:unset;
}

.top-mainTitle {
  padding-top: 110px;
  width: 100%;
  font-size: 50px;
}


.top-subTitle {
  font-size: 14px;
}

  /* ==========================================
  section共通クラス
  ==========================================*/
  .section {
    padding: 0;
    padding-top: 30px;
    height: auto;
    margin-bottom: 20px;
  }
  /* ==========================================
  about
  ==========================================*/
  .about-title {
    margin-top: 80px;
  }
  .about-contents {
    flex-wrap: wrap;
  }

  .about-left {
    width: 100%;
  }

  .about-right {
    width: 100%;
    padding: 60px 0;
  }

  /* ==========================================
  service
  ==========================================*/
  .service-contents {
    flex-wrap: wrap;
  }

  .service-content {
    width: 100%;
    padding: 20px 0;
  }


  /* ==========================================
  work
  ==========================================*/
  .work {
    margin-bottom: 30px;
  }

  .work-contents {
    flex-wrap: wrap;
    text-align: center;
  }
  .work-content1 {
    width: 90%;
    margin-bottom: 40px;
  }

  .work-content2 {
    width: 90%;
    padding: 20px;
  }

  /* ==========================================
  contact
  ==========================================*/
  .contact {
    height: 1570px;
    margin-bottom: 0px;
  }

  .detail textarea{
    width: 95%;
  }


  /* ==========================================
  footer
  ==========================================*/
  footer {
    padding: 20px;
    text-align: center;
  }
}