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;
}
@media screen and (max-width: 767px) {
    .container {
        padding-top: 115px;
    }
}
@media screen and (min-width: 768px) {
    .container {
        padding-top: 160px;
    }
}
p {
    font-weight: 500;
    line-height: 1.75;
  }
/* 

メインビジュアルエリア 

*/
.pd160{
    padding-top: 160px;
}
.project{
    text-align: left;
    background-color: #fff;
    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 90px;
}
.pb75{
    padding-bottom: 75px;
}
.vertical_area{
    margin-top: 0;
}
.vertical_area2{
    margin-top: 40px;
}
.vertical_text{
    font-size: 1rem;
    margin-bottom: 1em;
    line-height: 1.75;
}
.vertical_bold{
    font-size: 20px;
    margin: 30px 0;
    font-weight: bold;
}
.vertical_bolds{
    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;
    }

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


    .width{
        padding: 0 20px;
    }

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

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

main > .wrapper {
   padding-bottom: 75px;
}
.wrapper {
    max-width: 800px;
}
.grid-container {
    justify-content: center;
    display: grid;
    row-gap: 22px;
}
.image-grid {
    display: grid;
    column-gap: 22px;
    
}
@media screen and (max-width: 767px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
}
@media screen and (min-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr 1fr;
    }
}
figure .image-grid-caption {
    display: grid;
}
@media screen and (max-width: 767px) {
    figure .image-grid-caption {
        row-gap: 26px;
    }
}
@media screen and (min-width: 768px) {
    figure .image-grid-caption {
        grid-template-columns: 1fr 1fr;
        column-gap: 20px;
    }
}
figure .image-grid-caption a {
    display: block;
}
.image-grid-caption figcaption {
    grid-column: 1 / -1;
    margin-top: 6.5px;
}
.image-grid-nocaption {
    display: grid;
    row-gap: 26px;
}
@media screen and (max-width: 767px) {
    .image-grid-nocaption {
        grid-template-columns: 1fr;
    }
} 
@media screen and (min-width: 768px) {
    .image-grid-nocaption {
        grid-template-columns: 1fr 1fr;
        column-gap: 22px;    
    }
}
.image-wrap {
    margin: 0 auto;
}
.title-wrap {
    margin: 65px 0 32px;
}
.title-wrap-flex {
    display: flex;
    align-items: baseline;
}
.title-annotation {
    font-size: 1rem;
}
.text-left {
    display: flex;
    justify-content: end;
    max-width: 720px;
    margin: 0 auto 22px;
    font-size: 0.9em;
    font-feature-settings: "palt";
}
.block {
    margin-top: 50px;
}
.second-part {
    margin-top: 60px;
}
.catch-copy-wrap {
    margin-bottom: 0.85em;
}
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;
    }
}
.awards-list-wrap {
    margin-bottom: 4rem;
}
.awards-list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
}
.awards-item a {
    transition: 0.3s ease-in-out;
    text-decoration: underline;

    &:hover {
        color: #DC6F2B;
        text-decoration: none;
        
    }
}

.second-part {
    margin-bottom: 36px;
}
.second-part--top {
    margin-bottom: 1em;
}
.last-part .image-wrap {
    margin-bottom: 1em;
}