@charset "utf-8";

/***************************************************
page-company　会社概要 .company-outline
***************************************************/
#page-company section {
    padding: 70px 0;
}



.for-sustainamake .Box {
    width: 94vw;
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    gap: 50px;
    grid-template-columns: 1fr 2fr;
}

.for-sustainamake .Box .inner-logo img {
    width: 100%;
}

.for-sustainamake .Box .inner-txt h2 {
    color: var(--brown);
}

.for-sustainamake .Box .inner-txt span {
    display: block;
    font-size: 60%;
    line-height: 1.8em;
}

.for-sustainamake .Box .inner-txt p {
    line-height: 2em;
}

/*---------------- 会社概要 -----------------------*/
.company-frame {
    margin: 0 auto;
    width: 96%;
    max-width: 960px;
}

.company-outline {
    border: none;
    margin: 0 auto;
    width: 100%;
    border-collapse: collapse;
    background-color: #f7f7f7;
}

.company-outline dl {
    display: flex;
    border-top: 0.5px solid #333;
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    height: 5em;
}

.company-outline dt {
    padding: 15px 10px;
    width: 18em;
    text-align: center;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--brown);
}

.company-outline dd {
    padding: 15px 10px 15px 30px;
    background-color: #fff;
    width: calc(100% - 18em);
    margin: 0;
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    justify-content: center;
    height: 100%;
}

.company-outline dl:last-child {
    border-bottom: 0.5px solid #333;
}

/*---------------- ACCESS -----------------------*/
.addressBox {
    display: flex;
    flex-wrap: wrap;
    /* gap: 40px; */
    margin: 0 auto;
    width: 96%;
    max-width: 960px;
    justify-content: space-between;
}

.addressBox .inner-map {
    width: calc(100% - 320px);
}

.Google-map {
    position: relative;
    width: 100%;
    padding-bottom: 40%;
    /* 56.25%が16:9 の比率 */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    /* 角丸必要なら */
}

.Google-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media screen and (max-width: 767.98px) {
    #page-company section {
        padding: 40px 0;
    }

    .for-sustainamake .Box {
        gap: 50px;
        grid-template-columns: 1fr;
    }

    .for-sustainamake .Box .inner-logo {
        padding: 30px;
    }

    .company-outline dl {
        height: 100%;
        border: none;
    }

    .company-outline dl:last-child {
        border-bottom: none;
    }

    .company-outline dt,
    .company-outline dd {
        width: 100%;
    }

    .company-outline dd {
        padding: 15px;
        justify-content: center;
    }
}

/***************************************************
page-service　事業内容
***************************************************/
section.service-introduction,
section#service-frame {
    padding: 70px 0;
    width: 94vw;
    margin: 0 auto;
    max-width: 1200px;
}

#service-frame {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    
}

.serviceBox {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 15px;
}

.serviceBox .inner-img {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
}

.serviceBox .inner-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.serviceBox h2 {
    border-left: 4px solid var(--accent);
    padding-left: 0.4em;
    margin-bottom: 0.5em;
    line-height: 1.8em;
}


.subsidy-simple{
  width: min(1000px, 92vw);
  margin: 0 auto;
  padding: 28px 0;
}

.subsidy-simple__title{
  margin: 0 0 8px;
  font-size: 20px;
}

.subsidy-simple__lead{
  margin: 0 0 14px;
  line-height: 1.8;
  color: rgba(0,0,0,.75);
  font-size: 14px;
}

.subsidy-simple__list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.subsidy-simple__item{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 12px;
}

.subsidy-simple__name{
  margin: 0;
  font-weight: 700;
}

.subsidy-simple__desc{
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(0,0,0,.70);
}

.subsidy-simple__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,.15);
  background: #111;
  color: #fff;
  font-size: 13px;
  white-space: nowrap;
}

.subsidy-simple__note{
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(0,0,0,.55);
}

@media (max-width: 640px){
  .subsidy-simple__item{
    grid-template-columns: 1fr;
    align-items: start;
  }
  .subsidy-simple__btn{
    width: 100%;
  }
}

@media screen and (max-width:767.98px) {
    #service-frame {
        width: 90%;
        margin: 0 auto;
        grid-template-columns: 1fr;
    }
}

.other-koji {
    padding: 70px 0;
    width: 94vw;
    max-width:1200px;
    margin: 0 auto;
}

.other-koji ul {
    padding-left: 0;
    width: 100%;
}

.other-koji ul li {
    padding: 5px 0;
    display: grid;
    grid-template-columns: 19em 1fr;
    gap: 20px;
    align-items: flex-start;
    width: 100%;
    flex-wrap: wrap;
}

.other-koji .koji-title {
    padding: 3px 7px;
    border: 0.5px solid var(--brown);
    text-align: center;
}


/***************************************************
page-works　施工事例
***************************************************/
#page-works-list section {
    padding: 70px 0;
}

.galleryBox {
    width: 94vw;
    max-width: 960px;
    margin: 0 auto;
}




/***************************************************
page-contact　お問い合わせ
***************************************************/
.contact-form {
    width: 92%;
    max-width: 960px;
    margin: 0 auto 200px auto;
}

.contact-attention {
    margin: 0px auto 70px auto;
}