@charset "UTF-8";
html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  line-height: 1.5;
  font-family: heisei-kaku-gothic-std, sans-serif;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.1em;
  background-color: #f8f6f6;
  color: #252525;
}

h1 {
  color: #fff;
  font-size: 9rem;
  letter-spacing: 0.15em;
}

h2 {
  font-size: 5rem;
  letter-spacing: 0.2em;
  font-family: nimbus-sans, sans-serif;
}

h3 {
  font-size: 3rem;
  font-weight: 700;
}

br.sp {
  display: none;
}

br.ssp {
  display: none;
}

/***　～ヘッダースタイル～　***/
.header {
  position: sticky;
  top: 0;
  background-color: #f8f6f6;
  width: 100%;
  z-index: 999;
}

.nav {
  display: flex;
  justify-content: flex-end;
  list-style-type: none;
  padding: 8px 0;
  height: 40px;
  font-family: nimbus-sans, sans-serif;;
}

.nav li {
  margin: 0 0.8rem;
  letter-spacing: 0.1em;
}

.nav li a {
  display: block;
  padding: 0 0.8rem;
  text-decoration: none;
  color: #252525;
  font-weight: bold;
}

/***　～メインコンテンツ～　***/
main {
  position: sticky;
  min-height: 100vh;
  bottom:0;
  text-align: center;
}

section {
  margin: 3.2rem auto;
  padding: 3.2rem 0;
  text-align: center;
}

section h2 {
  padding: 0 3.2rem;
}

/***　～トップページ全幅画像スライド～　***/
.topimg {
  position: relative;
  width: 100%;
  top: 40px;
  height: calc(100vh - 40px);
}

.topimg .img {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  animation: image-switch-animation 36s infinite;
  }
  
.src1 {
  background-image: url(../images/top01.png);
}
  
.src2 {
  background-image: url(../images/top02.png);
}
  
.src3 {
  background-image: url(../images/top03.png);
}
  
.src4 {
  background-image: url(../images/top04.png);
}
  
.src5 {
  background-image: url(../images/top05.png);
}
  
.src6 {
  background-image: url(../images/top06.png);
}
  
.img:nth-of-type(1) {
  animation-delay: 0s;
}
  
.img:nth-of-type(2) {
  animation-delay: 6s;
}
  
.img:nth-of-type(3) {
  animation-delay: 12s;
}
  
.img:nth-of-type(4) {
  animation-delay: 18s;
}
  
.img:nth-of-type(5) {
  animation-delay: 24s;
}
  
.img:nth-of-type(6) {
  animation-delay: 30s;
}
  
@keyframes image-switch-animation {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  25% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

/***　～トップページ全幅画像内テキスト～　***/
.first-view {
  position: relative;
  height: 100vh;
}

.topcontents {
  position: absolute;
  top: 45%;
	left: 50%;
	transform: translate(-50%, -55%);
	text-shadow: 0px 1px 3px #23430C;
  -webkit-text-stroke: 1px rgb(0, 0, 0, 30%);
  font-family: nimbus-sans, sans-serif;
}

.topcontents ul {
  display: flex;
  list-style-type: none;
}

.topcontents li {
  margin: 0 3.2rem;
  letter-spacing: 0.1em;
  font-size: 3.3rem;
  font-weight: bold;
}

.topcontents li:nth-child(1) {
  margin-right: 3.2rem;
  margin-left: 1.6rem;
}

.topcontents li:nth-child(3) {
  margin-left: 3.2rem;
  margin-right: 1.6rem;
}

.topcontents li a {
  padding: 0.8rem 1.6rem;
  color: #fff;
  text-decoration: none;
  text-shadow: 0px 1px 2px #23430C;
    -webkit-text-stroke: 1px rgb(0, 0, 0, 35%);
}

/***　～トップページスクロール可視化アイコン～　***/
.scroll {
  width: 2px;
  height: 60px;
  position: absolute;
  bottom: 30px;
  right: 2.4em;
  overflow: hidden;
  z-index: 50;
}

.scroll-line {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(to bottom, white 50%, rgba(255, 255, 255, 0) 50%);
  background-position: 0 -60px;
  background-size: 100% 200%;
  animation: scrolldown 2.2s cubic-bezier(0.76, 0, 0.3, 1) forwards infinite;
}

.topimg p {
  position: absolute;
  bottom: 8px;
  right: 16px;
  color: #fff;
}

@keyframes scrolldown {
  0% {
    background-position: 0 -60px;
  }
  75% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 60px;
  }
}

/***　～トップページ新着情報エリア～　***/
.news {
  display: inline-block;
  max-width: 700px;
  width: 90%;
  margin: 0 auto 0;
  padding: 0.8rem;
  text-align: center;
}

.news div {
  display: inline-block;
  margin: 0 auto;
}

.news p {
  margin: 0;
  text-align: left;
}

.news p:not(:last-of-type) {
  margin-bottom: 0.4rem;
}

/***　～トップページキャッチフレーズ～　***/
.catch {
  margin: 0 auto 4rem;
  padding: 1.6rem 0 0.8rem;
}

.catchtxt {
  transform: rotate(-5deg);
  font-size: 3rem;
}

.catchtxt span {
  margin: 0.15em 0;
  text-shadow: 0 0 5px #fff;
  display: inline-block;
  opacity: 0;
  position: relative;
  font-size: 3.6rem;
  color: #009a45;
  font-weight: bold;
}

/***　～トップページサービスエリア～　***/
.service {
  background-color: #fbfbfb;
  padding-bottom: 6.4rem;
  overflow-x: hidden;
  margin-top: 0;
  margin-bottom: 0;
}

.service h2 {
  letter-spacing: 0.1em;
  margin-bottom: 3.2rem;
}

.service .clmbox {
  display: flex;
  flex-direction: column;
}

.clmbox .bigservice {
  margin: 0 auto;
  display: inline-block;
  width: 100%;
  position: relative;
}

.bigservice:not(:first-of-type) {
  margin-top: 6.4rem;
}

.bigservice img {
  width: 740px;
  margin-bottom: 1.6rem;
}

.big_s_text {
  width: 740px;
  max-width: 96%;
  margin: 0 auto;
  text-align: left;
}

.bigservice .servicetitle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-width: 230px;
  padding: 1.6rem 3.2rem;
  background-color: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-right-color: rgba(255, 255, 255, 0.2);
  border-bottom-color: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.servicetitle h3 {
  color: #000;
  text-shadow: 1px 1px 5px #fff;
}

.flxbox {
  display: flex;
  justify-content: center;
}

.flxbox {
  margin-top: 6.4rem;
}

.flxbox:last-of-type {
  margin-bottom: 6.4rem;
}

.flxbox .smallservice {
  text-align: left;
  width: 400px;
}

.flxbox .smallservice img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.smallservice:first-of-type {
  margin-right: 6.4rem;
}

/***　～各ページ共通～　***/
section.page-title {
  padding-top: 40px;
}

.page-title h2.title-sub {
  position: relative;
  margin: 6.4rem 0 0;
  z-index: 1;
  letter-spacing: 0.3em;
}

.title-sub::before {
  position: absolute;
  content: attr(data-en);
  color: #ececec;
  font-size: 7rem;
  font-weight: bold;
  bottom: 0.5rem;
  left: 0;
  right: 0;
  z-index: -1;
  width: 100%;
  overflow: hidden;
}

/***　～会社概要～　***/
.profile table {
  margin: 0 auto;
  letter-spacing: 0.15em;
}

.profile th, .profile td {
  border-bottom: 1px solid #dedede;
  text-align: left;
  padding: 0.8rem 0.4rem;
  line-height: 1.7;
}

.profile th {
  font-weight: normal;
  width: 1em;
  white-space: nowrap;
  text-align-last: justify;
  vertical-align: top;
  padding-right: 2rem;
}

.profile td {
  padding-left: 2rem;
}

/*** ～会社概要Googlemap～　***/
section.map {
  background-color: #fbfbfb;
}

div.g-maps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.g-maps .brnc {
  margin: 3.2rem;
  text-align: center;
}

.g-maps .brnc p {
  text-align: left;
}

iframe {
  max-width: 100%;
}
p.brnc-name {
  margin-bottom: 0.8rem;
  position: relative;
  font-weight: bold;
}

p.brnc-name::after {
  position: absolute;
  content: '';
  width: 120px;
  height: 1px;
  background-color: #dedede;
  top: 0.6em;
  margin-left: 0.8rem;
}

p.brnc-address {
  position: relative;
  margin-top: 1.6rem;
  max-width: 96%;
}

p.brnc-address::after {
  position: absolute;
  content: '';
  width: 100%;
  height: 1px;
  background-color: #ececec;
  left: 0;
  top: -1rem;
}

p.brnc-address::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 1px;
  background-color: #ececec;
  left: 0;
  bottom: -0.8rem;
}

/***　～施工実績～　***/
.workslist {
  display: flex;
  flex-direction: column;
  gap: 6.4rem;
}

.worksbox {
  display: flex;
  justify-content: center;
}

.worksbox .workscontents:first-of-type {
  margin-right: 6.4rem;
}

.workscontents {
  width: 400px;
}

.workscontents a {
  text-decoration: none;
  color: #252525;
}

.workscontents a img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.workscontents p {
  margin: 0 auto;
  padding: 0.8rem 0;
  border-bottom: 1px solid #dedede;
  width: 360px;
  max-width: 100%;
}

/***　～施工実績詳細～　***/
.photo {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.achievement {
  width: 550px;
  max-width: 96%;
  height: 380px;
}

.achievement:not(:last-of-type) {
  margin-bottom: 4.8rem;
}

.achievement img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.comment div {
  width: 550px;
  max-width: 96%;
  margin: 0 auto;
  text-align: left;
}

.comment p {
  line-height: 1.7;
  padding: 1.6rem 0.8rem;
  border-top: 1px solid #dedede;
  border-bottom: 1px solid #dedede;
}

/***　～問い合わせフォーム～　***/
form {
  width: 700px;
  max-width: 96%;
  margin: 0 auto;
}

.form-group {
  display: flex;
  align-items: center;
  padding: 1.6rem 0.8rem;
  border-bottom: 1px solid #ececec;
}

.form-group:last-child {
  border-bottom: none;
}

.form-label {
  display: flex;
  align-items: center;
  width: 180px;
  position: relative;
  padding-left: 1.6rem;
}

.requiredform span::after {
  margin-left: 0.4rem;
  position: absolute;
  content: '';
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: #d80303;
  top: -0.2rem;
}

input,
textarea {
  background-color: #fbfbfb;
  border: none;
  padding: 0.8rem;
  font-size: 1.6rem;
  color: #333;
  flex-grow: 1;
  border: 1px solid #ececec;
}

button {
  cursor: pointer;
  margin: 3.2rem auto 0;
  padding: 0.8rem 3.2rem;
  border: none;
  font-weight: bold;
  font-weight: normal;
  background-color: #333;
  color: #ececec;
}


/***　～フッター～　***/
footer {
  margin: 0;
  position: relative;
  background-color: #333;
  text-align: right;
  padding: 3.2rem;
  font-family: nimbus-sans, sans-serif;
}

.btn {
  position: relative;
  top: -1.6rem;
  left: 0px;
  margin-bottom: 0.8rem;
  text-align: right;
  height: 3.2rem;
  font-weight: 300;
  font-size: small;
}

.btn a {
  color: #fbfbfb;
  text-decoration: none;
  letter-spacing: 0.2em;
  padding: 0.8rem 0;
}

.footernav {
  line-height: 2;
  letter-spacing: 0.2em;
}

.footernav ul {
  display: inline-block;
  margin-right: 0;
}

.footernav li {
  list-style-type: none;
  text-align: left;
}

.footernav a {
  color: #fbfbfb;
  text-decoration: none;
}

@media screen and (min-width: 1401px) {
  body {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 900px) {
  h1 {
    font-size: 6rem;
  }

  h2 {
    font-size: 3.6rem;
  }

  h3 {
    font-size: 2.6rem;
  }

  /***　～トップページ全幅画像無内メニュー～　***/
  .topcontents li {
    font-size: 3rem;
  }

  /***　～トップページサービスエリア～　***/
  .clmbox .bigservice img {
    max-width: 96%;
  }

  .bigservice .servicetitle {
    padding: 0.8rem 1.6rem;
  }

  .big_s_text {
    margin-bottom: 0.8rem;
  }

  .flxbox {
    flex-direction: column;
    align-items: center;
  }

  .flxbox .smallservice:first-of-type {
    margin-right: 0;
    margin-bottom: 6.4rem;
  }

  .flxbox .smallservice {
    max-width: 100%;
    text-align: center;
  }

  .smallservice img {
    max-width: 96%;
    margin: 0 auto;
  }

  .smallservice h3, .smallservice p {
    max-width: 96%;
    margin: 0 auto;
    text-align: left;
  }

  .title-sub::before {
    font-size: 6rem;
    bottom: 0;
  }

  /***　～会社概要Googlemap～　***/
  .g-maps .brnc {
    margin: 3.2rem 0.8rem;
  }

  /***　～施工実績詳細ページ～　***/
  .workslist {
    gap: 0;
  }

  .worksbox {
    flex-direction: column;
    align-items: center;
  }

  .worksbox .workscontents:first-of-type {
    margin-right: 0;
  }

  .worksbox>div {
    margin-bottom: 4.8rem;
  }

  .workscontents {
    max-width: 96%;
  }

  .workscontents img {
    max-width: 100%;
  }
}

@media screen and (max-width: 700px) {
  h1 {
    font-size: 5.5rem;
  }

  h2 {
    font-size: 2.4rem;
  }

  h3 {
    font-size: 2.2rem;
  }

  body {
    font-size: 1.4rem;
  }

  br.sp {
    display: block;
  }

  br.pc {
    display: none;
  }

  img.pc {
    display: none;
  }

  img.sp {
    display: block;
  }

  /***　～トップページキャッチフレーズ～　***/
  .catch {
    padding: 0;
    margin-bottom: 1.6rem;
  }

  .catchtxt {
    font-size: 2.8rem;
  }

  /***　～トップページ全幅画像内テキスト～　***/
  .topcontents ul {
    flex-direction: column;
    justify-content: center;
  }

  .topcontents ul li {
    margin: 0.8rem;
    font-size: 2.8rem;
  }

  .topcontents li:nth-child(1) {
    margin: 0.8rem;
  }

  .topcontents li:nth-child(3) {
    margin: 0.8rem;
  }

  /***　～トップページサービスエリア～　***/
  .service .clmbox .bigservice {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .title-sub::before {
    font-size: 3.6rem;
  }

  /***　～お問い合わせフォーム～　***/
  .form-group {
    flex-direction: column;
    margin: 0 auto;
    width: 500px;
    max-width: 96%;
    align-items: flex-start;
    padding: 0.8rem 0;
  }

  .form-label {
    padding-left: 0;
    margin-bottom: 0.8rem;
  }

  input, textarea {
    width: 100%;
  }
}

@media screen and (max-width: 500px) {
  br.ssp {
    display: block;
  }

  /***　～ナビメニュー～　***/
  .nav {
    justify-content: center;
  }

  .nav li {
    margin: 0 0.4rem;
    letter-spacing: 0.05em;
    font-size: 1.2rem;
  }

  .nav li::first-letter {
    font-size: 1.4rem;
    letter-spacing: 0.05em;
  }

  /***　～トップページキャッチフレーズ～　***/
  .catchtxt {
    font-size: 2.4rem;
  }

  .catchtxt span {
    font-size: 3rem;
  }

  /***　～施工実績詳細ページ～　***/
  .achievement {
    height: 300px;
  }

  .achievement img {
    height: 300px;
  }

  /***　～会社概要～　***/
  .profile th,
  .profile td {
    display: block;
  }

  .profile th {
    width: auto;
    text-align-last: left;
    border-bottom: none;
  }
}