@charset "utf-8";

@media screen, print {
  #work-list,
  #work-case,
  #work-pjt {
    display: none;
  }
}

/* ==================== */
/*      work index      */
/* ==================== */
@media screen, print {
  #work-lead {
    margin-bottom: 7rem;
  }

  #work-case {
    margin-bottom: 5rem;
  }

  .work-case-item + .work-case-item {
    margin-top: 5rem;
  }

  .case-headArea {
    margin-bottom: 1rem;
  }

  .case-number {
    line-height: 1;
    margin-bottom: .5rem;
  }

  .case-client {
    font-size: 2rem;
    margin-bottom: .5rem;
  }

  .case-title {
    font-size: 1.8rem;
    font-weight: bold;
  }

  .case-place {
    font-size: 1.8rem;
    font-weight: bold;
  }

  .case-descArea {
    margin-bottom: 1.5rem;
  }

  .case-desc {
    line-height: 2;
  }

  .case-voiceArea {
    background: #f5f5f5;
    border-radius: 1rem;
    padding: 2rem 1.5rem 3rem;
  }

  .voice-heading {
    font-size: 1.7rem;
    margin-bottom: 1rem;
  }

  .voice-heading::before {
    background-color: #fff100;
    background-position: center;
    border-radius: 50%;
    content: '';
    display: inline-block;
    height: 1.4rem;
    margin-right: .3rem;
    transform: translateY(.1rem);
    width: 1.4rem;
  }

  .voice-txt {
    line-height: 1.8;
    margin-bottom: 1.5rem;
  }

  .voice-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .voice-profile-img {
    border-radius: 50%;
    margin-bottom: 1.5rem;
  }

  .voice-profile-txt {
    text-align: center;
  }

  .voice-list {
    list-style-type: disc;
    margin-top: 2rem;
    padding-left: 1.5rem;
    width: fit-content;
  }

  .voice-item + .voice-item {
    margin-top: 1rem;
  }

  .profile-txt-cust {
    margin-bottom: .1rem;
  }

  .profile-txt-com,
  .profile-txt-name,
  .profile-txt-type {
    margin-bottom: .5rem;
  }

  #work-pjt-list {
    align-items: center;
    display: grid;
    gap: 6rem;
    grid-template-columns: 1fr;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    width: min(100%, 50rem);
  }

  .work-catlist-title {
    border-bottom: solid 1px #ddd;
    font-size: 2rem;
    line-height: 2rem;
    margin-bottom: 1.5rem;
    padding-bottom: .5rem;
  }

  .work-catitem + .work-catitem {
    margin-top: 3.5rem;
  }

  .pjt-heading {
    margin-bottom: 4rem; /* override */
  }

  .work-pjt-link {
    text-decoration: none; /* reset */
  }

  .work-pjt-link:hover {
    opacity: .7;
  }

  .work-pjt-img {
    aspect-ratio: 55/34;
    /* background-color: #fafafa; */
    border: .1rem solid #eee;
    height: auto;
    margin-bottom: .5rem;
    width: 100%;
  }

  .work-pjt-name {
    /* font-weight: bold; */
    line-height: 1.4;
    margin-bottom: .5rem;
    text-decoration: underline;
  }

  .work-pjt-task {
    color: #4e4e4e;
  }

  .work-catitem-desc {
    line-height: 2rem;
    margin-bottom: .5rem;
  }

  /* 250120 */
  .work-cases {
  }

  .work-cases + .work-cases {
    margin-top: 8rem;
  }

  .voices-item + .voices-item {
    margin-top: 5rem;
  }

  .voices-fig {
    align-items: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .voices-img {
    border-radius: 50%;
  }

  .voices-figcap {
    text-align: center;
  }

  .voices-com {
    margin-bottom: .5rem;
  }

  .voices-para {
    line-height: 1.8;
  }

  .voices-link {
    display: block;
    margin-top: 1rem;
  }
  /* 250120 */
}


/*** md Tablet ***/
@media screen and (min-width: 768px){
  #work-lead {
  }

  #work-case {
    margin-bottom: 8rem;
  }

  .work-case-item + .work-case-item {
    margin-top: 7rem;
  }
  
  .case-number {
    line-height: 1.6rem;
    margin-bottom: .8rem;
  }

  .case-client {
    font-size: 1.8rem;
    margin-bottom: .1rem;
  }

  .case-title {
    font-size: 1.6rem;
  }

  .case-place {
    font-size: 1.6rem;
  }

  .case-voiceArea {
    padding: 3rem 4rem 3.5rem;
  }

  .voice-heading {
    font-size: 1.6rem;
  }

  .voice-profile {
    flex-direction: row;
    justify-content: center;
  }

  .voice-profile-img {
    margin-bottom: 0; /* reset */
  }

  .voice-profile-txt {
    margin-left: 3rem;
    text-align: left;
  }

  .profile-txt-type {
    padding-left: 4em;
    text-indent: -4em;
  }

  #work-pjt-list {
    gap: 6rem 5rem;
    grid-template-columns: repeat(2, auto);
    width: 100%; /* reset */
  }

  .work-pjt-name {
  }

  .work-catitem-desc {
    font-size: 1.4rem;
    margin-bottom: .2rem;
  }

  /* 250120 */
  .voices-item {
    display: flex;
    flex-direction: row;
    gap: 3rem;
  }

  /* 250120 */

}


/*** lg PC ***/
@media screen and (min-width: 992px){
  #work-lead {
  }

  #work-case {
    margin-bottom: 10rem;
  }

  .case-number {
    line-height: 1.5rem;
    margin-bottom: .8rem;
  }

  .case-num-fig {
    /* font-size: 1.3rem;
    line-height: 1.5rem;
    width: 1.7rem; */
  }

  .case-client {
    font-size: 1.7rem;
    margin-bottom: .5rem;
  }

  .case-title {
    font-size: 1.5rem;
  }

  .case-place {
    font-size: 1.5rem;
  }

  /* 250120 */
  .work-cases + .work-cases {
    margin-top: 10rem;
  }

  .voices-item {
    gap: 5rem;
  }

  .voices-item + .voices-item {
    margin-top: 8rem;
  }
  /* 250120 */

}

/*** extra lg PC ***/
@media screen and (min-width: 1200px) {
  #work-pjt-list {
    gap: 8rem 0;
    grid-template-columns: repeat(2, 52rem);
    justify-content: space-between;
  }


  .work-pjt-item {
    /* width: 55rem; */
  }

  .work-pjt-img {
  }
}



/* ================== */
/*    print setting   */
/* ================== */
@media print {

  #work-case {
      margin-bottom: 50px;
      max-width: none;
      width: 70%;
  }

  .case-voiceArea {
      padding: 20px 30px 25px;
  }

  .voice-profile {
    flex-direction: row;
    justify-content: center;
  }

  .voice-profile-txt {
    margin-left: 30px;
    text-align: left;
  }

  #work-pjt-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 0 70px;
    max-width: inherit;
  }

  .work-pjt-item {
    margin-bottom: 25px;
    width: 48%;
  }

  .work-pjt-item:nth-of-type(2n-1) {
    margin-right: 25px;
  }

  .work-pjt-item + .work-pjt-item {
    margin-top: 0;
  }



}
