@charset "UTF-8";
/* 全体 */
*,
*::before,
*::after{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "fot-tsukuardgothic-std", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  width: 100%;
  display: block;
}

@media (min-width: 768px) {
  .pc_size_invisible {
    display: none;
  }
}
@media (max-width: 767px) {
  .sp_size_invisible {
    display: none;
  }
}
header {
  background-color: #2a2a2b;
  padding: 30px 90px 20px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  z-index: 1000;
}
header .header_left {
  display: flex;
  width: 50%;
  align-items: end;
}
header .header_left .logo {
  width: 190px;
}
header .header_left p {
  color: #969595;
  font-size: 12px;
  line-height: 1.4;
  margin-left: 20px;
}
header .header_right {
  width: 50%;
}

.for_sp_menu{
  display: none;
}
header .header_right .icon_wrap {
  display: flex;
  justify-content: end;
  gap: 10px;
}
header .header_right .icon_wrap .icon {
  width: 30px;
}
header .header_right .site-navigation .nav-menu {
  display: grid;
  gap: 40px;
  grid-auto-flow: column;
  justify-content: end;
}

header .header_right .site-navigation .nav-menu{
  display: flex;
  gap: 20px;
  list-style: none;
}

header .header_right .site-navigation .nav-menu li {
  color: white;
  font-size: 14px;
}
header .header_right .site-navigation .nav-menu .current-menu-item {
  color: #9e5618;
  pointer-events: none;
  cursor: default;
}

.dummy {
  height: 72px;
  background-color: transparent;
  display: block;
}

footer #sec1 {
  background-image: url(../img/footer.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  width: 100%;
  aspect-ratio: 8/3;
  position: relative;
}

footer #sec1 .white_mask{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  aspect-ratio: 8/3;
  background-color: white;
  opacity: 0.5;
  z-index: 0;
}

footer #sec1 .inquiry_box {
  display: flex;
  width: 60%;
  opacity: 0;
  transition: opacity 0.6s ease;
  justify-content: center;
}

footer #sec1 .inquiry_box.visible {
  opacity: 1;
}

footer #sec1 .inquiry_box.fixed {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
}

footer #sec1 .inquiry_box.absolute {
  position: absolute;
  z-index: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

footer #sec1 .inquiry_box .btn {
  width: 25%;
}

footer #sec2 {
  padding: 60px 0 20px;
  background-color: #2a2a2b;
}
footer #sec2 .logo {
  width: 255px;
  margin: 0 auto 20px;
}

footer #sec2 h5, footer #sec2 address, footer #sec2 p {
  color: white;
  text-align: center;
}
footer #sec2 h5 {
  font-size: 16px;
  margin-bottom: 20px;
}
footer #sec2 address {
  font-style: normal;
  font-weight: 600;
  font-size: 14px;
}
footer #sec2 address span {
  font-size: 24px;
}

.section_title {
  color: #9e5618;
  text-align: center;
  font-size: 36px;
}

.section_title_en {
  color: #0064b6;
  text-align: center;
  font-size: 14px;
  line-height: 0;
}
@media(max-width:767px){
  .section_title {
  font-size: 28px;
}

.section_title_en {
  font-size: 10px;
}
}

/* ハンバーガーメニュー PCサイズ非表示 */
.burger{
  display: none;
}

@media(max-width:767px){
.burger{
    --opacity: 1; /*追加*/
    --rotate: 0; /*追加*/
    --translate: 0.5rem; /*追加*/
    display: grid;
    place-items: center;
    width: 44px;
    aspect-ratio: 1;
    border: none;
    background-color: transparent;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    z-index: 1001;
}

header.is-active .burger{
    --opacity: 0;
    --rotate: 135deg;
    --translate: 0;
}

.burger:hover{
    background-color: #eee;
}

.burger span{
    display: block;
    width: 70%;
    height: 2px;
    background-color: white;
    grid-area: 1/1/-1/-1;
    transition: all 0.4s ease; /*追加*/
}

header.is-active .burger span{
  background-color: black;
}
.burger span:nth-child(1){
    opacity: var(--opacity);
}

.burger span:nth-child(2){
    translate: 0 calc(var(--translate) * -1);
    rotate: var(--rotate);
}

.burger span:nth-child(3){
    translate: 0 var(--translate);
    rotate: calc(var(--rotate) * -1);
}

/* header */
header {
  padding: 20px;
  display: block;
}
  header .header_left {
    width: 100%;
  }

  header .header_left .logo {
  width: 120px;
}
header .header_left p {
  font-size: 8px;
  margin-left: 10px;
  line-height: 1;
  transform: translateY(0);
}
  header .header_right{
    display: block;
    width: 100%;
    height: 100dvh;
    position: absolute;
    left: 0;
    top: 0;
    transform: translateY(-100%);
    transition: all 0.4s ease;
    background-color: white;
  }

  
  header.is-active .header_right{
    transform: translateY(0);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  header .header_right .icon_wrap {
    justify-content: center;
  }
  header .header_right .site-navigation .nav-menu {
  display: block;
  margin-top: 30px;
}
  header .header_right .site-navigation .nav-menu ul{
  display: flex;
  flex-direction: column;
  }
header .header_right .site-navigation .nav-menu li {
  color: black;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  line-height: 2;
}
.dummy {
  height: 66px;
}

.for_sp_menu{
  display: block;
}

.for_sp_menu .logo{
  width: 120px;
  margin: 0 auto 20px;
}

.for_sp_menu p{
  line-height: 1.4;
  padding: 0 20px;
  font-size: 14px;
  margin-bottom: 30px;
}

/* footer */

footer #sec1,footer #sec1 .white_mask {
  aspect-ratio: 2/1;
}

footer #sec1 .inquiry_box {
  width: 360px;
}

footer #sec2 .logo {
  width: 150px;
  margin-bottom: 10px;
}

footer #sec2 h5 {
  font-size: 14px;
  margin-bottom: 10px;
}
footer #sec2 address {
  font-size: 14px;
}
footer #sec2 address span {
  font-size: 16px;
}
small{
  font-size: 10px;
}

footer #sec1 .inquiry_box {
  width: 100%;
}

footer #sec1 .inquiry_box .btn {
  width: 33.33%;
}

footer #sec1 .inquiry_box.fixed {
  bottom: 0;
}
}

/* fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}


/* カスタム投稿タイプ「施工事例」のサムネイル表示 */
.works_wrap {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.works_wrap .work_img {
  position: relative;
  display: block;
  margin-bottom: 10px;
}

.works_wrap .work_img img{
  height: auto !important;
}
.works_wrap .work_img .area {
  position: absolute;
  bottom: 0;
  left: 0;
  background-color: #9e5618;
  color: white;
  font-size: 12px;
  font-weight: 300;
  padding: 3px 10px;
}
.works_wrap p {
  font-weight: 600;
  line-height: 1.2;
}
.works_wrap .with_subsidy {
  color: #0064b6;
  font-size: 12px;
  margin-bottom: 4px;
}

.works_wrap .with_subsidy.empty {
  visibility: hidden; 
}

.works_wrap .tags {
  margin-top: 4px;
}
.works_wrap .tags .tag {
  display: inline-block;
  width: fit-content;
  color: white;
  background-color: #2a2a2b;
  padding: 5px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 300;
  margin-right: 4px;
}

@media(max-width:767px){
  .works_wrap {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 20px;
}
}