html {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /* font-size: 62.5%; */
  font-size: 1.125em;
  letter-spacing: 0.1px;
}

/* 共通 */
.container{
  width: 980px;
  margin: 0 auto;
}
p {
    font-weight: 500;
    line-height: 1.75;
  }
/* 

メインビジュアルエリア 

*/
.pd160{
    padding-top: 160px;
}
.project{
    text-align: left;
    background-color: #fff;
    z-index: 11;
    padding: 75px 0 0;
    border-radius: 30px;
    border: 1px solid #fff;
    position: relative;
}
.project h1{
    font-size: 2.027rem;
    margin-bottom: 1em;
    font-weight: 700;
    line-height: 1.5;
}
.project h2{
    font-size: 1.802rem;
    font-weight: bold;
}
.width{
    padding: 0 100px;
}
.pb75{
    padding-bottom: 75px;
}
.vertical_area{
    margin-top: 0;
}
.vertical_area2{
    margin-top: 40px;
}
.vertical_text{
    font-size: 1rem;
    margin: 1em 0;
    line-height: 1.75;
}
.vertical_bold{
    font-size: 20px;
    margin: 30px 0;
    font-weight: bold;
}
.vertical_bolds{
    margin: 2em 0 1em;
    font-weight: bold;
}
.vertical_bold a {
    color: #DC6F2B;
        font-size: 20px;
    font-weight: bold;
}
.mt10{
    margin: 10px 0;
}
.imgw{
    width: 250px;
    height: auto;
}
.imgh{
    width: 250px;
    height: 166px;
    object-fit:cover;
}
.imgh1{
    width: 250px;
    height: 167px;
    object-fit:cover;
}
.mainimg{
    width: 100%;
    margin: 0 auto 1em;
}

/* gallery */
.popup-img{
  background-color: #fff;
  color: #222;
  display: inline-block;
  margin: 0 5px;
  width: 100px;
}
.gallery-arrow{
  position: absolute;
  top: 50%;
  margin-top: -15px;
  background-color: #fff;
  display: block;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
}
.gallery-arrow-left{
  left: 30px;
}
.gallery-arrow-left:before{
  content:'<';
  color: #000;
}
.gallery-arrow-right{
  right: 30px;
}
.gallery-arrow-right:before{
  content:'>';
  color: #000;
}



/*レスポンシブ*/

/* ハンバーガーメニュー */

@media (max-width:767px) {
    main {
        width: 100%;
        overflow: hidden;
    }

    .mainVisual {
        text-align: end;
        margin-bottom: 100px;
        margin-top: 120px;
    }
    h1.vertical {
    top: 170px;
    left: 24px;
    z-index: 4;
    background-color: #fff;
    font-size: 25px;
    width: 90px;
    }
    .verticals{
      top: 90px;
      left: 24px;
      line-height: inherit;
      background-color: #fff;
    }
    .mainVisual img {
        width: 350px;
    }
    .container {
        width: auto;
        margin: 0 1rem;
        padding-top: 3em;
    }

    .mainVisual-contents p{
        width: auto;
        margin-left: 24px;
        margin-right: 24px;
    }

    .project{
        margin-top: 50px;
    }

    .width{
        padding: 0 20px;
    }

    .project h3{
        font-size: 25px;
    }

    video {
        width: 100%;
    }
    img{
    width: 100%;
}
}


/* 20240912 追加 */
.wrapper {
    max-width: 800px;
}
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
gap: 1em 1em;
}
.grid.--col1 {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1em;
}
.grid img {
    width: 100%;
    margin-bottom: 0.3em;
}
.grid .flex {
    gap: 1em;
}
figure {
    display: table;
  }
  figcaption {
    /* display: table-caption; */
    caption-side: bottom;
    padding: 0 0 0 1.2em;
    position: relative;
    font-size: 0.9em;
    line-height: 1.5;
}
figcaption:before {
    position: absolute;
    content: "\025b2";
    top: 0;
    left: 0;

}

.u-txt-mid {
    font-size: 1.266rem;
    font-weight: bold;
    line-height: 1.8;
}
dl {
    margin: 2em 0;
}
dl dd {
    font-size: 1rem;
    margin-bottom: 1em;
}

@media (max-width:767px) {
    .grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 1em;
    }
    .grid .flex {
        display: flex !important;
        flex-direction: column;
        gap: 1em;
    }
    figcaption {
        font-size: 0.8em;
    }
    .project h1{
        font-size: 1.602rem;
    }
    .project h2 {
        font-size: 1.424rem;
    }
    .u-txt-mid {
        font-size: 1.125rem;
    }
    .width {
        padding: 0 1rem;
    }
    .vertical_text{
        text-align: justify;
        letter-spacing: initial;
    }
}

/*

事例集ダウンロードページとトップページへのリンク

*/
section#pageLinkBtn {
    flex-direction: column;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 0;
    gap: 4rem;
}
section#pageLinkBtn button {
    font-size: 18px;
}
section#pageLinkBtn button a {
    color: #fff;
    background-color: #eb6100;
    font-size: 18px;
    font-weight: 700;
    display: inline-block;
    padding: 2rem 4rem;
    transition: all 0.3s;
    letter-spacing: 0.1em;
    border-radius: 0.5rem;
}
@media (max-width:767px) {
    section#pageLinkBtn button a {
        padding: 1.5rem;
    }
}