.hidden{
  visibility: hidden;
}

.community-top-contents {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1.57fr 1fr;
  grid-template-columns: 1.57fr 1fr;
  -ms-grid-rows: calc(100vw * 168 / 1310) auto auto calc(100vw * 168 / 1310);
  grid-template-rows: calc(100vw * 168 / 1310) auto calc(100% - 100vw * 618 / 1310) calc(100vw * 168 / 1310);
  height: auto;
}

.community-top-contents .img-wrap {
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  grid-row: 1 / 3;
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
  grid-column: 1 / 2;
  border-top: none;
  height: calc(100vw * 450 / 1310);
}

.community-sub-title {
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  grid-column: 2 / 3;
  -ms-grid-row: 1;
  -ms-grid-row-span: 1;
  grid-row: 1 / 2;
  font-size: 1.5rem;
  line-height: 1.87;
  font-weight: 500;
  height: calc(100vw * 168 / 1310);
}

.community-letter {
  display: block;
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  grid-column: 2 / 3;
  -ms-grid-row: 2;
  -ms-grid-row-span: 3;
  grid-row: 2 / 5;
  font-size: 1.5rem;
  line-height: 1.94;
  /* height: calc(100vw * 959 / 1310); */
  padding: 4.58rem 3.42rem 0 2.58rem;
}

.community-letter p{
  margin-bottom : 20px;
}

.community-letter p:last-child{
  margin-bottom: none;
}

.c-line-space {
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
  grid-column: 1 / 2;
  -ms-grid-row: 3;
  -ms-grid-row-span: 1;
  grid-row: 3 / 4;
  box-sizing: border-box;
  margin: 0 !important;
}

.c-line-space .bo-r {
  width: 50%;
  height: 100%;
  box-sizing: border-box;
}

.community-num {
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
  grid-column: 1 / 2;
  -ms-grid-row: 4;
  -ms-grid-row-span: 1;
  grid-row: 4 / 5;
  height: calc(100vw * 168 / 1310);
}

.community-num p {
  width: 50%;
  height: calc(100vw * 84 / 1310);
  line-height: calc(100vw * 84 / 1310);
  box-sizing: border-box;
  margin: 0;
  font-size: 1.2rem;
}

.community-num span:first-child {
  font-size: 5rem;
}

.interview-title-wrap {
  grid-template-columns: 1fr 1.57fr;
  -ms-grid-columns: 1fr 1.57fr
}

.community-bottom .to-detail-wrap {
  width: 50%;
  box-sizing: border-box;
}

.community-bottom .to-detail {
 border-left: none;
 display: -ms-grid;
 display: grid;
 -ms-grid-columns: 1fr 11%;
 grid-template-columns: 1fr 11%;
 min-height: calc(100vw * 55 / 1310);
}

@media all and (-ms-high-contrast: none) {
  /* .community-bottom .to-detail-wrap .to-detail p{
   height: 100%;
  } */
}

@supports (-ms-ime-align:auto) {
  .community-bottom .to-detail-wrap .to-detail p{
   height: 100%;
  }
}

.community-bottom .to-detail p {
  display: block;
  line-height: calc(100vw * 55 / 1310);
  font-size: 1.2rem;
  box-sizing: border-box;
  padding: 0 3.33rem 0 2.75rem;
  white-space: nowrap;
}

.community-bottom .to-detail-dummy {
  height: calc(100vw * 55 / 1310);
  min-height: calc(100vw * 55 / 1310);
}

.community-bottom .to-detail p span {
  display: inline-block;
}

.community-bottom .to-detail p span:first-child {
  width: 75%;
}

.community-bottom .to-detail p span:last-child {
  width: 25%;
  font-weight: 500;
}

.margin-space {
  height: calc(100vw * 168 / 1310);
  float: left;
}

.community-detail-top .big-title-wrap {
  -ms-grid-columns: 1fr 1.57fr;
  grid-template-columns: 1fr 1.57fr;
}

.community-detail-top .big-title-wrap div:last-child {
  font-size: 1.5rem;
  box-sizing: border-box;
  padding-left: 2.75rem;
  display: flex;
  align-items: center;
}

.community-detail-contents {
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr 1.57fr;
  grid-template-columns: 1fr 1.57fr;
  -ms-grid-rows: auto auto auto;
  grid-template-rows: auto auto auto;
}


.community-detail-contents .img-wrap {
  -ms-grid-column: 1;
  -ms-grid-column-span: 1;
  grid-column: 1 / 2;
  -ms-grid-row: 1;
  -ms-grid-row-span: 2;
  grid-row: 1 / 3;
  border-top: none;
  height: calc(100vw * 612 / 1310);
}

.community-detail-contents .img-wrap img {
  height: auto;
}

.com-detail-title {
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  grid-column: 2 / 3;
  -ms-grid-row: 1;
  -ms-grid-row-span: 1;
  grid-row: 1 / 2;
  font-size: 2.5rem;
  line-height: 1.87;
  display: flex;
  align-items: center;
  padding: 0 2.75rem;
  height: calc(100vw * 251 / 1310);
}

.com-detail-letter {
  -ms-grid-column: 2;
  -ms-grid-column-span: 1;
  grid-column: 2 / 3;
  -ms-grid-row: 2;
  -ms-grid-row-span: 2;
  grid-row: 2 / 4;
  font-size: 1.2rem;
  line-height: 1.87;
  min-height: calc(100vw * 616 / 1310);
  padding-bottom: 9rem;
}

@media screen and (max-width: 1250px) {
  .community-top-contents {
    height: auto;
  }
}


@media screen and (max-width: 1120px) {
  .community-letter {
    line-height: 1.6;
  }

  /* .community-detail-contents {
    -ms-grid-rows: 255fr 301fr 476fr;
    grid-template-rows: 255fr 301fr 476fr;
    height: calc(100vw * 1032 / 1310);
  } */

  .community-detail-contents .img-wrap {
    height: calc(100vw * 580 / 1310);
  }

}


@media screen and (max-width: 768px) {
  .community-bottom .to-detail-wrap {
    float: none;
    width: 100%;
  }
  .community-bottom .to-detail-wrap:first-child {
    border-right: none;
  }
  .community-bottom .to-detail {
    -ms-grid-columns: 1fr 7%;
    grid-template-columns: 1fr 7%;
  }

  .community-bottom .to-detail-wrap p {
    padding: 0 5rem;
  }

  .community-bottom .to-detail-dummy {
    display:none;
  }

  .com-detail-letter {
    font-size: 1rem;
    line-height: 1.6;
  }
}

@media screen and (max-width: 720px) {

  /* .community-detail-contents {
    -ms-grid-rows: 255fr 271fr 728fr;
    grid-template-rows: 255fr 271fr 728fr;
    height: calc(100vw * 1254 / 1310);
  } */
  .community-detail-contents .img-wrap {
    height: calc(100vw * 540 / 1310);
  }
}

@media screen and (max-width: 640px)  {
  .community-letter {
    font-size: 1rem;
    line-height: 1.4;
    padding: 1rem 1rem 0 1rem;
  }

  /* .community-detail-contents {
    -ms-grid-rows: 255fr 241fr 812fr;
    grid-template-rows: 255fr 241fr 812fr;
    height: calc(100vw * 1308 / 1310);
  } */
  .community-detail-contents .img-wrap {
    height: calc(100vw * 500 / 1310);
  }

  .com-detail-letter {
    line-height: 1.4;
  }
}


@media screen and (max-width: 560px) {
  .community-top-contents {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 3.08fr 1fr;
    grid-template-columns: 3.08fr 1fr;
    -ms-grid-rows: auto 168px 112px auto;
    grid-template-rows: auto 168px 112px auto;
    height: auto;
  }

  .community-top-contents .img-wrap {
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1 / 2;
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-column: 1 / 3;
    border-top: none;
    border-right: none;
    height: 100%;
  }

  .community-sub-title {
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-column: 1 / 3;
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    grid-row: 3 / 4;
    font-size: 1.25rem;
    line-height: 1.87;
    border-top: 1px solid #000;
    display: flex;
    align-items: center;
    padding: 0 1.67rem;
    height: auto;
  }

  .community-letter {
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-column: 1 / 3;
    -ms-grid-row: 4;
    -ms-grid-row-span: 1;
    grid-row: 4 / 5;
    font-size: 1.25rem;
    line-height: 1.87;
    padding: 4.58rem 1.67rem 10rem 1.67rem;
    height: auto;
  }

  .community-num {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1 / 2;
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2 / 3;
    border-right: none;
  }

  .community-num p {
    width: 100%;
    height: 56px;
    line-height: 56px;
    font-size: 1.25rem;
    text-align: left;
    padding-left: 1.67rem;
    box-sizing: border-box;
  }

  .interview-title-wrap  {
    -ms-grid-columns: 3.08fr 1fr;
    grid-template-columns: 3.08fr 1fr;
    -ms-grid-column: 3.08fr 1fr;
  }

  .community-num span:first-child {
    font-size: 3.8rem;
    padding-left: 4rem;
    font-weight: lighter;
    letter-spacing: 0.3rem;
    margin-right: -10px;
  }

  .community-bottom .to-detail-wrap {
    width: 100%;
  }

  .community-bottom ul {
    padding-top: 112px;
  }

  .community-bottom .to-detail {
   -ms-grid-columns: 1fr 60px;
   grid-template-columns: 1fr 60px;
   min-height: 56px;
  }

  .community-bottom .to-detail-dummy {
    -ms-grid-columns: 1fr 60px;
    grid-template-columns: 1fr 60px;
    height: 56px;
  }

  .community-bottom .to-detail-wrap:first-child {
   border-top: 1px solid #000;
  }

  .community-bottom .to-detail p {
    line-height: 1.5rem;
    font-size: 1.25rem;
    box-sizing: border-box;
    padding: 0 0 0 1.5rem;
    white-space: unset;
  }

  .community-bottom .to-detail p span:first-child {
    font-size: 1rem;
    width: 67%;
  }

  .community-bottom .to-detail p span:last-child {
    width: 33%;
    font-size: 1.25rem;
  }
  
  .community-bottom .to-detail p span{
    height: auto;
    transform: translateY(-50%);
    top: 50%;
    position: relative;
  }

  .community-bottom .to-detail .two-line {
    line-height: 1.2;
    padding-top: 10px;
  }

  .margin-space {
    height: 112px;
  }


  .community-detail-top {
    height: auto;
    margin-top: 55px;
  }

  .community-detail-top .big-title-wrap {
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
  }

  .community-detail-top .big-title {
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-column: 1 / 3;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1 / 2;
    border: none;
    border-top: 1px solid #000;
  }

  .community-detail-top .big-title-wrap div:nth-child(2) {
    border-left: none;
  }

  .community-detail-top .big-title-wrap div:last-child {
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-column: 1 / 3;
    -ms-grid-row: 2;
    -ms-grid-row-span: 1;
    grid-row: 2 / 3;
    line-height: 56px;
    font-size: 1rem;
    padding-left: 1.67rem;
    border-left: none;
  }

  .community-detail-contents {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr;
    grid-template-columns: 1fr;
    -ms-grid-rows: 138vw 56px 112px auto;
    grid-template-rows: 138vw 56px 112px auto;
    height: auto;
  }

  .community-detail-contents .img-wrap {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1 / 2;
    -ms-grid-row: 1;
    -ms-grid-row-span: 1;
    grid-row: 1 / 2;
    height: auto;
  }

  .com-detail-title {
    -ms-grid-column: 1;
    -ms-grid-column-span: 1;
    grid-column: 1 / 2;
    -ms-grid-row: 3;
    -ms-grid-row-span: 1;
    grid-row: 3 / 4;
    font-size: 1.5rem;
    line-height: 1.87;
    display: flex;
    align-items: center;
    padding: 0 1.67rem;
    border-left: none;
    border-top: 1px solid #000;
    height: auto;
  }

  .com-detail-letter {
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    grid-column: 1 / 3;
    -ms-grid-row: 4;
    -ms-grid-row-span: 1;
    grid-row: 4 / 5;
    font-size: 1.25rem;
    line-height: 1.87;
    padding: 4.58rem 1.67rem 10rem 1.67rem;
    border-left: none;
    height: auto;
  }

  .community-top-contents .img-wrap figure{
    padding-top: 75%;
  }

}
