@import "./components/diary.css";
@import "./components/pagination.css?v2";

/* 共通 */
.top-control {
  display: flex;
  margin-bottom: 3rem;
  gap: 0.625rem;
  justify-content: center;
}
.tabs {
  display: flex;
  justify-content: center;
  gap: 2.8125rem;
}
.btn-neon {
  padding: 0.6875rem 0;
  width: 9rem;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contents {
  margin-top: 3.125rem;
  &.column-single .text-title {
    display: block;
  }
}

/* 日記詳細の前後に遷移するコントロール */
.bottom-control {
  display: flex;
  justify-content: center;
  margin-bottom: 3rem;
  column-gap: 1.25rem;
  .btn-arrow-left {
    padding-left: 3.875rem;
    border-top-left-radius: 2.5rem;
    border-bottom-left-radius: 2.5rem;
    &::before,
    &::after {
      left: 2.5rem;
    }
  }
  .btn-arrow-right {
    padding-right: 3.875rem;
    border-top-right-radius: 2.5rem;
    border-bottom-right-radius: 2.5rem;
    &::before,
    &::after {
      right: 2.5rem;
    }
  }
}

/* 写メ日記一覧各TOP */
.contents.grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1.875rem;
  margin-bottom: 3.75rem;
}
.pc-container .contents.grid {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
}

/* 女性個別ページ一覧 */
.contents.column-single {
  .row {
    padding: 1.8rem;
    border-radius: 7px;
    box-shadow: var(--box-shadow);
    margin-bottom: 3.125rem;
    .border-bottom-dashed {
      border-bottom: 1px dashed #707070;
      padding-bottom: 1.5rem;
      margin-top: 0.9375rem;
    }
    .img-main {
      width: 15.75rem;
      margin: 1.25rem auto 3rem;
      display: block;
    }
  }
}

/* 女性ページ一覧・詳細の女性アイコン */
.outer-container > .bottom-info {
  margin: 5.25rem auto;
  display: flex;
  gap: 1.4375rem;
  align-items: center;
  justify-content: center;
  .left {
    height: 13rem;
    width: 13rem;
    img {
      object-fit: cover;
      width: 100%;
      border-radius: 50%;
      height: 100%;
    }
  }
  .right {
    .text-main {
      margin-bottom: 0.875rem;
      margin-top: 0.875rem;
    }
    .text-bottom {
      margin-bottom: 0.875rem;
    }
  }
}
@media screen and (min-width: 1024px) {
  .contents.column-single {
    .row {
      max-width: 1000px;
      margin-right: auto;
      margin-left: auto;
      padding-left: 100px;
      padding-right: 100px;
      .img-main {
        width: 50%;
      }
    }
  }
}
