@charset "UTF-8";

/*-------------------------------------------*/
/*	PC
/*-------------------------------------------*/

@media screen and (min-width:900px) {

  /* =====================
    fv_page
  ===================== */

  #fv_page {
    padding-bottom: 50px;
  }

  /* =====================
    who
  ===================== */

  .who_text {
    font-weight: 500;
    font-size: 24px;
    letter-spacing: 0.05em;
    margin-bottom: 80px;
  }

  #who_project_pc {
    margin-bottom: 80px;
    height: 408px;
  }
  
  .who_ttl {
    font-size: min(4vw,40px);
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.1em;
  }

  /* =====================
    member
  ===================== */

  /*  member_list
  ------------------------*/
  
  .member_list {
    margin-top: 60px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px 0;
  }
  
  .member_item {
    max-width: 420px;
    width: 48%;
    padding: 60px 60px 52px;
    border: 1px solid var(--color-black);
    flex-direction: column;
    cursor: pointer;
    background: #fff;
  }

  .member_name {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.7;
    margin-bottom: 25px;
  }

  .member_name span {
    display: block;
    font-size: 18px;
    font-weight: 500;
  }

  .member_text {
    font-size: 16px;
  }

  .member_list .member_text {
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    line-clamp: 7;
    -webkit-line-clamp: 7;
    margin-bottom: 40px;
  }

  .member_item .btn_more {
    margin-top: auto;
  }

  /*  modal
  ------------------------*/
   
  body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
  
  .modal_bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999;
  }
  
  .modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000; 
    pointer-events: auto;
  }
  
  .modal-content {
    width: 900px;
    max-width: 100%;
    margin: 0 auto;
    padding: 60px 80px;
    position: relative;
  }
  
  .modal-content .close {
    display: block;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    padding-top: 30px;
    position: absolute;
    top: 25px;
    right: 27px;
    cursor: pointer;
  }
  
  .modal-content .close span {
    display: block;
    background-color: var(--color-black);
    width: 30px;
    height: 2px;
    position: absolute;
    top: 12px;
    left: 50%;
    margin-top: -1px;
  }
  
  .modal-content .close span:first-child {
    transform: translateX(-50%) rotate(45deg);
  }
  
  .modal-content .close span:nth-child(2) {
    transform: translateX(-50%) rotate(-45deg);
  }

  /* =====================
    access
  ===================== */

  .access_address {
    font-weight: 700;
    margin-bottom: 8px;
  }

  .access_text {
    font-size: 16px;
    line-height: 1.8;
    letter-spacing: 0.05em;
    margin-bottom: 30px;
  }

  .access_gmap {
    width: 100%;
    height: 0;
    padding-bottom: 49.223%;
    position: relative;
    margin-bottom: 16px;
  }

  .access_gmap iframe {
    width: 100%;
    height: 100%;
    display: block;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    position: absolute;
    top: 0;
    left: 0;
  }

  .access_gmap_link {
    font-size: 16px;
    text-align: left;
  }

  .access_gmap_link a {
    text-decoration: underline;
  }
    
}

/*-------------------------------------------*/
/*	SP
/*-------------------------------------------*/

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

  /* =====================
    fv_page
  ===================== */

  /* =====================
    who
  ===================== */

  .who_text {
    font-weight: 500;
    font-size: 16px;
    letter-spacing: 0.05em;
    margin-bottom: 35px;
  }

  #who_project_sp {
    width: 100vw;
    height: 1052px;
    margin: 0 calc( 50% - 50vw ) 30px;
  }

  #who_project_sp svg {
    max-width: 400px;
    margin: 0 auto;
  }
  
  .who_ttl {
    font-size: 24px;
    text-align: center;
    font-weight: 700;
    letter-spacing: 0.1em;
  }

  /*  member_list
  ------------------------*/
  
  .member_list {
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px 0;
  }
  
  .member_item {
    padding:40px 30px;
    border: 1px solid var(--color-black);
    flex-direction: column;
    cursor: pointer;
    background: #fff;
  }

  .member_name {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.7;
    margin-bottom: 25px;
  }

  .member_name span {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
  }

  .member_text {
    font-size: 14px;
  }

  .member_list .member_text {
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    line-clamp: 6;
    -webkit-line-clamp: 6;
    margin-bottom: 33px;
  }

  .member_item .btn_more {
    margin-top: auto;
  }

  /*  modal
  ------------------------*/
   
  body.modal-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }
  
  .modal_bg {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999;
  }
  
  .modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000; 
    pointer-events: auto;
  }
  
  .modal-content {
    max-width: 500px;
    width: 92vw;
    max-height: 84vh;
    overflow-y: auto;
    margin: 0 auto;
    padding: 40px 30px;
    position: relative;
  }
  
  .modal-content .close {
    display: block;
    font-family: "Oswald", sans-serif;
    font-weight: 700;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    padding-top: 30px;
    position: absolute;
    top: 20px;
    right: 15px;
    cursor: pointer;
  }
  
  .modal-content .close span {
    display: block;
    background-color: var(--color-black);
    width: 30px;
    height: 2px;
    position: absolute;
    top: 12px;
    left: 50%;
    margin-top: -1px;
  }
  
  .modal-content .close span:first-child {
    transform: translateX(-50%) rotate(45deg);
  }
  
  .modal-content .close span:nth-child(2) {
    transform: translateX(-50%) rotate(-45deg);
  }

  /* =====================
    access
  ===================== */

  .access_address {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 16px;
  }

  .access_text {
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
  }

  .access_gmap {
    width: 100%;
    height: 0;
    padding-bottom: 100%;
    position: relative;
    margin-bottom: 16px;
  }

  .access_gmap iframe {
    width: 100%;
    height: 100%;
    display: block;
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    -ms-filter: grayscale(100%);
    -o-filter: grayscale(100%);
    filter: grayscale(100%);
    position: absolute;
    top: 0;
    left: 0;
  }

  .access_gmap_link {
    font-size: 14px;
    text-align: left;
  }

  .access_gmap_link a {
    text-decoration: underline;
  }
  
}