.postid-7 p:empty{display: none;}

body#single-news .post img,
body.single-work .post img,
body.single-column .post img {
  margin-bottom: 50px;
  width: 100%;
  display: block;
}

.postid-7 .post img {
    margin-bottom: auto;
    width: auto;
    display: inherit;
  }


@media (max-width: 780px)  {
    .br-pc {
        display: none;
    }
}

.page-content {
    padding-top: 6rem; }
    @media (min-width: 1400px) {
      .page-content {
        margin: auto;
        max-width: 1280px; } }
    @media (max-width: 1399px) and (min-width: 768px) {
      .page-content {
        margin: auto;
        max-width: 91.4vw; } }

     @media (max-width: 767px) {
        .page-content {
            max-width: 89.9vw;
            margin: auto;
            padding-top: 4.1rem; }
        }        
.hero {
    position: relative; }
    .hero-img {
      border-radius: 6.7rem;
      overflow: hidden; }
     .hero-title {
      position: absolute;
      top: 9.6rem;
      left: 5.8rem; }
  
.hero-title h1 {
  padding: 0 1rem;
  background-color: #ffffff;
  color: #2A0906;
  font-size: 3.8rem;
  line-height: 2;
  width: fit-content;
  letter-spacing: 0.15em; }

  @media (max-width: 780px)  {
    .hero-title h1 {
      font-size: 2.5rem!important; }
      }

@media (max-width: 767px) {
    .hero-title {
        top: 5.2rem;
        left: 0.9rem;
    }
    .hero-img {
        border-radius: 1.5rem;
    }
  }        

    
.about {
    margin-bottom: 13rem;
    margin-top: 5rem;
    font-size: 3rem;
    text-align: center;
    line-height: 4.5rem;
}
.about p {
    margin-bottom: 3rem;
}

.about-02 {
    margin-bottom: 16rem;
}
.about-02__tit {
    margin-bottom: 5rem;
    font-size: 5rem;
    position: relative;
    text-align: center;
    font-weight: bold;
    line-height: 1.3;
}
.about-02__tit::before,
.about-02__tit::after {
    position: relative;
    display: inline-block;
    content: "";
    background: #FFFF00;
    width: 2px;
    height: 1.5em;
    margin-top: -.2em;
    vertical-align: middle;
}
.about-02__tit::before {
    margin-right: 4rem;
    transform: rotate(-35deg);
}
.about-02__tit::after {
    margin-left: 4rem;
    transform: rotate(35deg);
}
@media (max-width: 780px)  {
    .about-02__tit {
        font-size: 3rem;
    }
    .about-02__tit::before {
        margin-right: 2rem;
    }
    .about-02__tit::after {
        margin-left: 2rem;
    }
    
}

.about02-item {
    margin-bottom: 3rem;
    padding: 2rem 1rem 5rem;
    background: #fff;
    font-size: 1.6rem;
    line-height: 3rem;
    border-radius: 20px;
}
.about02-item__no {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
    text-align: center;
}
.about02-item__tit {
    margin-bottom: 2rem;
    font-size: 3rem;
    text-align: center;
}

.service-list .about02-item {
    padding-top: 5rem;
}
.service-text {
    margin-top: 5rem;
    font-size: 1.8rem;
    text-align: center;
}

@media (min-width: 781px)  {
    .about02-list {
        display: flex;
        justify-content: space-between;
    }
    .about02-item {
        width: 30%;
    }

    .service-list {
        justify-content: center;
        flex-wrap: wrap;
    } 
    
    .service-list .about02-item {
        margin-right: 1rem;
        margin-left: 1rem;
    }
}

@media (max-width: 780px)  {
    .about {
        font-size: 2rem;
        line-height: 3rem;
    }
    .about02-item {
        padding: 2rem 2rem 5rem;
    }
    
}


/*=============会社概要============*/
.company-table {
    width: 100%;
    margin-bottom: 10rem;
    font-size: 2rem;
}
.company-table th {
    padding: 2rem 0;
    border-bottom: 1px solid #2A0906;
}
.company-table td {
    padding: 2rem 0;
    border-bottom: 1px solid #2A0906;
}

@media (min-width: 781px)  {
    .company-table {
        width: 80%;
        margin: 0 auto 16rem;
    }
    
    .company-table th {
        width: 20%;
    }
}

@media (max-width: 780px)  {
    .company-table th,
    .company-table td {
        width: 100%;
        display: block;
        text-align: left;
    }
}

/*=============お問い合わせフォーム============*/
.formWrap {
    margin-bottom: 10rem;
}
.formWrap dl {
    width: 100%;
    margin: 0 auto;
    padding: 15px 0;
    font-size: 2rem;
}

@media (min-width: 781px)  {
    .formWrap dl {
        width: 80%;
        display: flex;
        align-items: flex-start;
        gap: 10px;
    }
    }


.formWrap dt {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 10px 0;
    font-weight: 600;
}
.formWrap dt.req::after {
    content: "必須";
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin: 0;
    padding: 4px 10px;
    color: #00935F;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    background-color: #FFFFFF;
    border: #00935F 1px solid;
    border-radius: 9999px;
}
.formWrap dd {
    flex: 1;
    margin: 0;
    padding: 0;
}
.formWrap dd .wrap {
    width: 100%;
    margin: 0;
    padding: 0;
}

.formWrap input[type='text'], .formWrap input[type='tel'], .formWrap input[type='email'], .formWrap input[type='file'], .formWrap textarea, .formWrap select {
    margin: 0 5px;
    padding: 10px;
    font-size: 16px;
    font-weight: 400;
    border-radius: 10px;
    border: none;
    border: #D9D9D9 1px solid;
    border-radius: 5px;
    line-height: 150%;
    box-sizing: border-box;
}
.formWrap input[type='text'], .formWrap input[type='tel'], .formWrap input[type='email'], .formWrap input[type='file'], .formWrap textarea {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

@media (min-width: 781px)  {
    .formWrap dt {
        width: 18em;
        padding: 10px 4em 10px 0;
    }

    .formWrap dd .wrap {
        display: flex;
        align-items: center;
    }
    
}


@media (max-width: 780px)  {
    .formWrap input[type='text'], .formWrap input[type='tel'], .formWrap input[type='email'], .formWrap input[type='file'], .formWrap textarea {
        width: 100%;
    }
    .formWrap dt.req::after {
        right: 11%;
    }
    
}

textarea {
    width: 100%;
}
.buttonBase {
    position: relative;
    display: block;
    width: 640px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
    padding: 30px;
    text-align: center;
    color: #00935F;
    font-size: 18px;
    font-weight: 500;
    background-color: #FFFFFF;
    border: none;
    border-radius: 9999px;
}
.buttonBase.green {
    margin-top: 3rem;
    color: #FFFFFF;
    background-color: #00935F;
}

.pp  {
    margin-top: 2rem;
    margin-bottom: 5rem;
    font-size: 2rem;
    text-align: center;
}

/*=============プライバシーポリシー============*/
.policy p {
    margin: 0 0 2.8rem;
    font-size: 1.8rem;
    line-height: 3rem;
    word-break: break-all;
}
.policy-tit {
    margin-bottom: 3rem;
    padding-left: 10px;
    font-size: 2.4em;
    line-height: 1.2173913043;
    border-left: #00935F 5px solid;
}

/*=============導入実績、コラム============*/
.blog-wrap-inner {
    margin-top: 10rem;
    margin-bottom: 10rem;
    font-size: 2rem;
}
.blog-item__img {
    width: 100%;
    height: 20rem;
    margin-bottom: 1.5rem;
    -o-object-fit: cover;
    object-fit: cover;
}
@media screen and (min-width: 781px) {
    .blog-wrap-inner {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 6rem;
    }
}

@media (max-width: 780px)  {
    .blog-wrap-inner {
        margin-top: 6rem;
    }
    
    .blog-item {
        width: 100%;
    }
    
}
