/* MAINVISUAL */
.main-visual {
  background: url(../img/top/img-mainvisual.webp) no-repeat center right;
  background-size: cover;
  padding: 120px 24px;
  height: 100vh;
  display: flex;
  align-items: center;
}

.main-visual-container {
  max-width: 1024px;
  margin: 0 auto;
  width: 100%;
}

@media (max-width: 375px) {
  .main-visual {
    background: url(../img/top/img-mainvisual-sp.webp) no-repeat center center;
    background-size: cover;
    padding: 80px 0;
  }

  .main-visual-container {
    padding: 0 20px;
  }
}

.main-visual-content {
  text-align: left;
}

.scrollbar {
  background-color: #D0D0D0;
  position: absolute;
  right: 20.72%;
  bottom: 0;
  z-index: 10;
}

@media (max-width: 768px) {
  .scrollbar {
  right: 17.72%;
  }
}

.scroll-track {
  display: inline-block;
  position: absolute;
  bottom: 0;
  padding: 10px 10px 160px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 16px;
  line-height: 56px;
  color: #747474;
  font-weight: 400;
  transform: translateX(-50%);
  margin-bottom: 6px;
}

.scroll-dot {
  position: absolute;
  transform: translateX(-50%);
  bottom: 1px;
}

.scroll-dot::before  {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 1.5px;
  height: 154px;
  background: #D0D0D0;
}

.scroll-dot::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -3.5px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #76A7BE;
  animation: circlemove 3s ease-in-out infinite,
    cirlemovehide 3s ease-out infinite;
}

@keyframes circlemove {
  0% {
    bottom: 154px;
  }
  100% {
    bottom: 0px;
  }
}

@keyframes cirlemovehide {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  80% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}

.main-visual-title-jp {
  font-size: 26px;
  font-weight: 200;
  line-height: 45px;
  color: #535456;
  margin-bottom: 38px;
}

@media (max-width: 768px) {
  .main-visual-title-jp {
    font-size: 20px;
    margin-bottom: 54px;
  }

  .main-visual-title-en {
    font-size: 14px;
    line-height: 40px;
	  margin-bottom: 80px;
  }
}

.main-visual-news {
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 630px;
  padding: 16px;
  text-decoration: none;
  color: #535456;
  background: #FDFEFF;
  box-shadow: 0 6.237px 53.014px 0 #E4E4E4;
}

@media (max-width: 768px) {
  .main-visual-news {
    flex-wrap: wrap;
    max-width: 243px;
  }
}

.main-visual-news:hover {
  color: #76A7BE;
}

.main-visual-news .news-date {
  font-weight: 300;
  font-size: 12px;
  line-height: 20px;
  min-width: max-content;
}

.main-visual-news .news-category {
  background-color: #F2FAFD;
  padding: 2px 16px;
  font-size: 10px;
  line-height: 18px;
  font-weight: 300;
}

.main-visual-news .news-title {
  font-weight: 300;
  font-size: 12px;
  line-height: 20px;
}

@media (max-width: 768px) {
  .main-visual-news .news-title {
    flex: 0 0 100%;
  }
}

/* BAICIPとは */
.about-section {
  background-color: #fff;
  color: #535456;
  padding: 80px 24px 108px;
}

@media (max-width: 768px) {
  .about-section {
    padding: 80px 20px 130px;
  }
}

.about-container {
  max-width: 1024px;
  margin: 0 auto;
}

.about-header {
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .about-header {
    margin-bottom: 32px;
  }
}

.about-content {
  display: flex;
  justify-content: space-between;
  gap: 74px;
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    gap: 32px;
  }
}

.about-description {
  flex: 1;
}

@media (max-width: 768px) {
  .about-description {
    width: 100%;
  }
}

.about-description p {
  font-size: 14px;
  line-height: 24px;
  font-weight: 300;
}

.about-img {
  flex: 1;
}

@media (max-width: 768px) {
  .about-img {
    order: -1;
  }
}

.about-img img {
  display: block;
}

@media (max-width: 768px) {
  .about-img img {
    width: 100%;
    height: auto;
  }
}

/* PROJECTS */
.projects-section {
  background-color: #fff;
  color: #535456;
  padding: 0px 24px;
}

@media (max-width: 768px) {
  .projects-section {
    padding: 0px 20px;
  }
}

.projects-container {
  max-width: 1024px;
  margin: 0 auto;
}

.projects-header {
  margin-bottom: 100px;
}

@media (max-width: 768px) {
  .projects-header {
    margin-bottom: 52px;
  }
}

.project-img img {
  width: 100%;
  object-fit: cover;
}

.projects-content {
  display: flex;
  gap: 24px;
  margin-bottom: 80px;
}

@media (max-width: 768px) {
  .projects-content {
    flex-direction: column;
    margin-bottom: 92px;
  }
}

.project-card {
  flex: 1;
  border: 0.4px solid #747474;
  background: #fff;
}

.project-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.project-link:hover {
  opacity: 0.6;
}

.project-text {
  padding: 20px 36px;
}

@media (max-width: 768px) {
  .project-text {
    padding: 20px 20px 40px;
  }
}

.project-text h3 {
  font-size: 18px;
  font-weight: 300;
  line-height: 30px;
  margin-bottom: 12px;
}

.project-text p {
  font-size: 13px;
  line-height: 22px;
  letter-spacing: -0.02em;
}

@media (max-width: 768px) {
  .project-text p {
  font-size: 14px;
  }
}

/* NEWS */
.news-section {
  background-color: #fff;
  color: #535456;
  padding: 130px 24px;
}

@media (max-width: 768px) {
  .news-section {
  padding: 115px 20px;
  }
}

.news-container {
  max-width: 1024px;
  margin: 0 auto;
}

.news-header {
  margin-bottom: 42px;
}

@media (max-width: 768px) {
  .news-header {
  margin-bottom: 56px;
  }
}

@media (max-width: 768px) {
  .news-list {
  margin-bottom: 60px;
  }
}

.news-list .news-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border-bottom: 0.5px solid #747474;
  transition: all 0.3s ease;
  text-decoration: none;
  color: #535456;
}

@media (max-width: 768px) {
  .news-list .news-item {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/*.news-list .news-item:hover {
  color: #76A7BE;
  cursor: pointer;
}*/

.news-list .news-date,
.news-list .news-category,
.news-list .news-title {
  font-size: 12px;
  line-height: 20px;
  font-weight: 300;
}

.news-list .news-date {
  min-width: 80px;
  flex-shrink: 0;
}

.news-list .news-category {
  background-color: #F2FAFD;
  padding: 0px 4px;
  min-width: 80px;
  text-align: center;
}

.news-list .news-title {
  flex: 1;
}

@media (max-width: 768px) {
  .news-list .news-date,
  .news-list .news-category {
    flex: 0 0 auto;
  }

  .news-list .news-date {
    min-width: auto;
  }

  .news-list .news-category {
    font-size: 12px;
    line-height: 20px;
    padding: 0px 2px;
    font-weight: 200;
    text-align: center;
    min-width: 90px;
    max-width: 90px;
  }

  .news-list .news-title {
    flex: 0 0 100%;
    font-size: 12px;
    line-height: 20px;
    width: 100%;
    font-weight: 300;
  }
}

/* MEMBERS */
.members-section {
  padding: 0px 24px;
}

.members-container {
  max-width: 1024px;
  margin: 0 auto;
}

.members-header {
  margin-bottom: 60px;
}

.members-list {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.member-item {
  text-align: center;
}

.member-logo {
  border: 1px solid #999DA0;
  display: inline-block;
}

.member-logo img {
  display: block;
}

.member-name {
  margin-top: 14px;
  font-size: 16px;
  color: #535456;
}


@media (max-width: 768px) {
  .members-list {
    flex-direction: column;
    align-items: center;
    padding: 0 44px;
  }

  .member-item {
    width: 45%;
  }
}

@media (max-width: 600px) {
  .member-item {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .members-section {
    padding: 0px 20px;
  }
}

/* ACCESS */
.access-section {
  padding: 130px 24px;
}

.access-container {
  max-width: 1024px;
  margin: 0 auto;
}

.access-header {
  margin-bottom: 64px;
}

.access-info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.access-item {
  display: flex;
  align-items: stretch
}

.access-label {
  min-width: 100px;
  font-size: 16px;
  font-weight: 500;
  position: relative;
  padding-right: 20px;
}

.access-text {
  font-size: 16px;
  border-left: 1px solid #535456;
  padding-left: 62px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 768px) {
  .access-section {
    padding: 70px 20px;
  }

  .access-item {
    gap: 10px;
  }
}