@charset "utf-8" ;
/* ==============================
Article header
================================= */
.mainImg {
    max-width: 1440px;
    margin: 0 auto;
}

.member {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.4rem;
    margin: 10px;
  }
  
  .member::before,
  .member::after {
    content: '';
    width: 3px;
    height: 25px;
    background-color: #FF7000;
  }
  
  .member::before {
    margin-right: 30px;
    transform: rotate(-35deg);
  }
  
  .member::after {
    margin-left: 30px;
    transform: rotate(35deg);
  }
  
  .five {
    font-size: 2rem;
  }

  .stady {
    padding: var(--contentPadding);
  }

  .member__present {
    margin-bottom: 48px;
    text-align: center;
    font-size: 1.4rem;
    font-weight: 400;
    line-height: 2.5;
  }

  .stady__tool {
    text-align: center;
    font-family: "Kiwi Maru";
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    margin-bottom: 10px;
  }

  .txt {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 2;
  }

  .txt__work {
    padding: 20px 0;
    color: #FF7000;
    font-size: 1.4rem;
    text-align: center;
    font-weight: 700;
    line-height: 2;
  }

  .workbox {
    background-color: rgba(188, 188, 188, 0.34);
    padding: var(--contentPadding);
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
  }

  .work__item {
    display: flex;
    width: 136px;
    padding: 23px 0px 0px 0px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 40px;
    flex-shrink: 0;
  }

  .member__face {
    width: 90%;
    height: auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
  }

  .name {
    text-align: center;
    font-family: "Kiwi Maru";
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 2;
    width: 90%;
    margin-top: 10px ;
  }

  .mini {
    font-size: 1.4rem;
  }

  @media screen and (min-width: 769px) {
    
    .member {
      font-size: 3.5rem;
      letter-spacing: 0.4em;
    }

    .member::before,
    .member::after {
      width: 5px;
      height: 50px;
      background-color: #FF7000;
    }

    .five {
      font-size: 4.8rem;
    }

    .member__present {
      font-size: 2rem;
    }

    .stady__tool {
      font-size: 3.5rem;
    }

    .txt {
      font-size: 2rem;
    }

    .txt__work {
      font-size: 2.4rem;
    }

    .wrap {
      justify-content: space-between;
    }

    .work__item {
      width: 200px;
    }

  }
/* pc 769px */

/* ==============================
work group
================================= */
/* 共通スタイル */
.section--present,
.section--work {
  padding: var(--contentPadding);
}

.group {
  display: flex;
  flex-direction: column;
  margin: 10px;
  border-radius: 8px;
}

.photo__item {
  width: 80%;
  height: auto;
  margin: 24px 0;
}

.group--nagomi,
.group--aizawa,
.group--ff {
  background-color: rgba(172, 255, 151, 0.27);
  align-items: center;
}

.group--yoake,
.group--87 {
  background-color: #FFF9C4;
  align-items: center;
}

.task {
  font-family: "Kiwi Maru";
  font-size: 1.4rem;
  font-weight: 500;
  margin-top: 8px;
  }

.pcBr {
  display: none;
}


@media screen and (min-width: 769px) {
  .container__work {
    display: flex; 
    flex-direction: row; 
    justify-content: space-around;
  }

  .member__face {
    pointer-events: none;
    }
    
    .photo__item {
      cursor: pointer;
    }

    .photo__item:hover {
      opacity: 0.5;
    }

  .group {
    width: 220px;
  }

  .pcBr {
    display: block;
  }

  .task {
    font-size: 1.8rem;
  }

  .task-2 {
    visibility: hidden;
  }
  
}
/* pc 769px */

/* モーダル */
.modal,
.close{
  display: none; 
} 

@media screen and (min-width: 769px) {
  .modal {
    display: block;
  }
.modal__item {
  z-index: -10;
  opacity: 0;
  transition: 1s;
  width: 0;
  padding: 8px;
  background-color: var(--primary-yellow);
  box-shadow:2px 4px 12px 4px rgba(0, 0, 0, 0.1) ;
  position: fixed;
  top:50%;
  left:50%;
  transform: translate(-50%, -50%);
}

.modal__item.open {
  /* display: block; */
  z-index: 10;
  opacity: 1;
  width: 80%;
  max-width: 768px;
  max-height: 80vh; 
  overflow-y: auto; 
  padding: 16px; 
}

/* 背景のグリーン */
.container::after {
  display: none;
  content: '';
  background-color: rgba(199, 249, 187, 0.942);
  width: 100%;
  height: 100vh;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.container.open::after {
  display: block;
}

/* 閉じるボタン */
.close {
  display: none;
  width: 24px;
  height: 24px;
  position: fixed;
  right: 3%;
  top: 3%;
  z-index: 100;
}

.close.open {
  display: block;
}

.close img {
  width: 100%;
}

}/* pc 769px */

/* scrollTop */
.topBtn {
  display: none;
  padding: 18px;
  border-radius: 50%;
  background-color: var(--primary-darkGreen);
  color: var(--primary-white);
  font-size: 1.2rem;
  box-shadow: 2px 2px 4px 2px rgba(29, 101, 101, 0.2);

  position: fixed;
  bottom: 1.4%;
  right: 1.4%;
  opacity: 0.8;
}

@media screen and (min-width: 769px) {
  .topBtn {
    display: none;
  }
}