/*------------------------------------
  構成
-------------------------------------*/
main:not(#front-page):not(#page-service) {
  margin-top: 8rem;
}

main section + section {
  margin-top: 4rem;
}

main:not(#front-page):not(#page-service) + footer {
  margin-top: 6rem;
}

.secInner {
  width: 80%;
  max-width: 1200px;
  margin: 0 auto;
}


@media screen and (max-width: 1024px) {
  .secInner {
    width: 90%;
  }
}


@media screen and (max-width: 599px) {
  .secInner {
    width: 95%;
  }
}



/*------------------------------------
  PC・スマホの切り替え
-------------------------------------*/
.forPC {
  display: block;
}

.forSP {
  display: none;
}


@media screen and (max-width: 599px) {
  .forPC {
    display: none;
  }
  
  .forSP {
    display: block;
  }
}





/*------------------------------------
  ページタイトル
-------------------------------------*/
.pageTitle {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  margin: 8rem auto 4rem;
  width: fit-content;
  text-align: center;
}

#titleText {
  color: var(--darkPink);
  text-align: center;
}

#titleText h1 {
  font-family: var(--PH);
  letter-spacing: 0.2em;  
}

.pageTitle img {
  width: 30vw;
  max-width: 240px;
}



@media screen and (max-width: 599px) {
  .pageTitle {
    flex-direction: column;
    margin-top: 6rem;
  }

  .pageTitle img {
    width: 80vw;
    max-width: 320px;
    margin: 1rem 0;
  }
}



/*------------------------------------
  コンテンツタイトル
-------------------------------------*/
.contentTitle {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contentTitle > img {
  width: 4rem;
  height: auto;
}

.contentTitle .contentTitleBottom {
  transform: scaleY(-1);
}

.contentTitle > h3 {
  color: var(--White);
  font-family: var(--PH);
  white-space: nowrap;
}



/*------------------------------------
  記事一覧
-------------------------------------*/
ul#postsList {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
}

ul#postsList li.post .postThumbnail {
  position: relative;
  width: 100%;
}

ul#postsList li.post .postThumbnail::before {
  content: "";
  display: block;
  padding-top: calc( 9 / 16 * 100%);
}

ul#postsList li.post .postThumbnail img {
  position: absolute;
  top: 0;
  left: 0;
}

.categoryAndDate small + small {
  margin-left: 1rem;
}

small.postCategory i,
small.postDate i {
  margin-right: 8px;
  color: var(--Pink);
}

ul#postsList > h5 {
  width: 100%;
  text-align: center;
}




/*------------------------------------
  スクロールバー
-------------------------------------*/
#categoryList,
#js-messages,
#praivacypolicyBox {
  scrollbar-width: thin;
  scrollbar-color: var(--darkPink) transparent;
}
#categoryList {
  overflow-x: scroll;
}
#js-messages,
#praivacypolicyBox {
  overflow-y: scroll;
}

#categoryList::-webkit-scrollbar {
  width: 0;
  height: 4px;
}
#js-messages::-webkit-scrollbar,
#praivacypolicyBox::-webkit-scrollbar {
  width: 4px;
  height: 0;
}

#categoryList::-webkit-scrollbar-thumb,
#js-messages::-webkit-scrollbar-thumb,
#praivacypolicyBox::-webkit-scrollbar-thumb {
  background: var(--darkPink);
  border-radius: 6px;
}





/*------------------------------------
  ページネーション
-------------------------------------*/
#pagination {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: fit-content;
  margin: 3rem auto 0;
}

#pagination .pager {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  color: var(--darkPink);
  text-align: center;
  line-height: 1.5;
}

#pagination .pager.num {
  border: 1px solid var(--darkPink);
}

#pagination .pager + .pager {
  margin-left: 0.5rem;
}

#pagination .pager.current {
  color: var(--White);
  background: var(--darkPink);
}


/*------------------------------------
  ボタン
-------------------------------------*/
.movePageBtn {
  position: relative;
  display: inline-block;
  margin-top: 3rem;
  padding-bottom: 6px;
  padding-left: 2rem;
  border-bottom: 1px solid var(--Pink);
}
.movePageBtn::before,
.movePageBtn::after {
  content: "";
  position: absolute;
  display: block;
  width: 1px;
  height: 1.5rem;
  background: var(--Pink);
}
.movePageBtn::before {
  left: 0;
  bottom: -1px;
  transform-origin: right bottom;
  transform: rotate(45deg);
}
.movePageBtn::after {
  left: 1rem;
  bottom: -0.5rem;
}