/*
 Theme Name: csr-kentei
 Theme URL: https://csr-kentei.alterna.co.jp
 Description: CSR検定用のテーマ
 Author: Thunder-create
 Version: 1
 Tags:
 License:
 License URI:
 */
 :root {
   /* color */
   --main-color: #9c213d;
   --main-color2: #A67006;
   --main-color3: #CE8C08;
   --form-required: #87263F;
   --header-bg-start: #f9f1e1;
   --header-bg-end: #f9f1e1;
   --other-bg-gray: #c0bcbc;
   --other-bg-darkGray: #616161;
   --other-bg-blue: #132a50;
   --other-bg-yellow: #ce8c08;
   --button-bg01: #132a50;
   --button-bg02: #dea83d;
   --footer-bg-gray: #D1D1D1;
   --footer-bg-green: #616161;
   --contents-bg01: #f9f6f4;
   --font-accent-color: #1f040a;
   /* width */
   --breakpoint01: 1200px;
   --breakpoint02: 900px;
   --breakpoint03: 768px;
   font-family: 'Noto Sans JP', sans-serif;
 }

/* body */
.sectionH1 {
  text-align: center;
}
.sectionH1 h1 {
  margin-top: 48px;
  margin-bottom: 0;
  font-size: 24px;
  line-height: 33.6px;
  color: var(--main-color);
  font-weight: 700;
}
.section {
  width: 100%;
  margin-bottom: 50px;
  margin-top: 38px;
}
.section .sectionHeader {
  width: 100%;
  height: 28px;
  border-left: 8px solid var(--main-color);
  padding-left: 10px;
  margin-bottom: 25px;
  box-sizing: border-box;
}
.section .sectionHeader h2 {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}
.section:last-child {
  margin-bottom: 0;
}
.section .sectionCommonField h2 {
  width: 100%;
  height: 28px;
  border-left: 8px solid var(--main-color);
  padding-left: 10px;
  margin-bottom: 25px;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}
.commonButtonFiled .commonButtonMain {
  margin-top: 35px;
  margin-left: auto;
  margin-right: auto;
  width: 300px;
  border-radius: 8px;
  border: 2px solid var(--main-color);
  background: white;
  box-sizing: border-box;
  text-align: center;
}
.commonButtonFiled .commonButtonMain a.linkButton {
  padding: 11px 0;
  color: var(--main-color);
  font-weight: 900;
  letter-spacing: 0.05em;
  display: block;
}
.commonButtonFiled .commonButtonMain:not(:first-of-type) {
  margin-top: 20px;
}
.sectionForPagination {
  margin: 50px 0;
}
.sectionForPagination .pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.sectionForPagination .pagination .paginationComponent {
  width: 40px;
  border: 2px solid var(--main-color);
}
.sectionForPagination .pagination .paginationComponent:not(:first-of-type) {
  border-left: none;
}
.sectionForPagination .pagination .paginationComponent span, .sectionForPagination .pagination .paginationComponent a {
  color: var(--main-color);
  padding: 12px 0;
  display: block;
  width: auto;
  display: block;
  background-color: white;
  text-decoration: none;
  text-align: center;
  line-height: 16px;
  /* ページ番号 */
}
.sectionForPagination .pagination .paginationComponent .pager, .sectionForPagination .pagination .paginationComponent .next, .sectionForPagination .pagination .paginationComponent .prev, .sectionForPagination .pagination .paginationComponent .first, .sectionForPagination .pagination .paginationComponent .last {
  width: 100%;
  /* ホバー時 & 現在のページ */
}
.sectionForPagination .pagination .paginationComponent a:hover, .sectionForPagination .pagination .paginationComponent .current {
  color: #fff;
  border-color: var(--main-color);
  background-color: var(--main-color);
}
.sectionForPost h2 {
  width: 100%;
  height: 28px;
  border-left: 8px solid var(--main-color);
  padding-left: 10px;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  box-sizing: border-box;
}
.sectionForPost h2:not(:first-of-type) {
  margin-top: 50px;
}
.sectionForPost #toc_container {
  background-color: var(--contents-bg01);
  padding: 30px;
  width: 100%;
  margin-bottom: 50px;
  box-sizing: border-box;
  border: none !important;
}
.sectionForPost #toc_container ul.toc_list {
  margin: 0;
  padding: 0;
  list-style-type: none;
}
.sectionForPost #toc_container ul.toc_list li {
  margin-bottom: 8px;
}
.sectionForPost #toc_container ul.toc_list li:last-child {
  margin-bottom: 0px;
}
.sectionForPost #toc_container ul.toc_list li a {
  color: inherit;
}
.sectionForPost a {
  color: var(--main-color);
}
.sectionForPost figure.wp-block-table.table_v {
  margin: 30px 0 0;
}
.sectionForPost figure.wp-block-table.table_v table {
  border-collapse: collapse;
  width: 100%;
}
.sectionForPost figure.wp-block-table.table_v table tr td {
  border: 1px solid var(--other-bg-gray);
  padding: 10px 8px;
}
.sectionForPost figure.wp-block-table.table_v table tr td:first-child {
  width: 125px;
  background-color: var(--contents-bg01);
  text-align: center;
}
.sectionForPost figure.wp-block-table.table_h {
  margin: 30px 0 0;
}
.sectionForPost figure.wp-block-table.table_h table {
  border-collapse: collapse;
  width: 100%;
}
.sectionForPost figure.wp-block-table.table_h table tr td {
  border: 1px solid var(--other-bg-gray);
  padding: 10px 8px;
}
.sectionForPost figure.wp-block-table.table_h table tr td:first-child {
  width: 180px;
}
.sectionForPost figure.wp-block-table.table_h table tr td:not(:first-child) {
  text-align: center;
}
.sectionForPost figure.wp-block-table.table_h table tr:first-child td {
  background-color: var(--contents-bg01);
  text-align: center;
}
.sectionForPost figure.wp-block-media-text__media {
  text-align: center;
}
.sectionForPost figure.wp-block-media-text__media img {
  width: inherit;
}
.sectionForPost .wp-block-columns {
  display: flex;
}
.sectionForPost p {
  line-height: 1.75;
}
.sectionForPost p.postButton_center, .sectionForPost p.postButton_left {
  margin-top: 35px;
  width: 300px;
  border-radius: 8px;
  border: 2px solid var(--main-color);
  background: white;
  box-sizing: border-box;
  text-align: center;
}
.sectionForPost p.postButton_center a, .sectionForPost p.postButton_left a {
  padding: 11px 0;
  color: var(--main-color);
  font-weight: 900;
  letter-spacing: 0.05em;
  display: block;
  text-decoration: none;
}
.sectionForPost p.postButton_center {
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 768px) {
  .sectionH1 h1 {
    margin-top: 24px;
  }
  .sectionForPost figure.wp-block-media-text__media {
    text-align: center;
  }
  .sectionForPost figure.wp-block-media-text__media img {
    width: inherit;
  }
  .sectionForPost .wp-block-media-text__content {
    padding: 0 !important;
  }
}
.sectionForNews .sectionNewsField .sectionNewsComponent .sectionNewsInfo {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.sectionForNews .sectionNewsField .sectionNewsComponent .sectionNewsInfo .sectionNewsTag {
  width: 160px;
  text-align: center;
}
.sectionForNews .sectionNewsField .sectionNewsComponent .sectionNewsInfo .sectionNewsTag a {
  padding: 5px 0;
  display: block;
  color: white;
  text-decoration: none;
}
.sectionForNews .sectionNewsField .sectionNewsComponent .sectionNewsInfo .sectionNewsTag:not(:first-of-type) {
  margin-left: 16px;
}
.sectionForNews .sectionNewsField .sectionNewsComponent .sectionNewsInfo .tag-zenkoku, .sectionForNews .sectionNewsField .sectionNewsComponent .sectionNewsInfo .tag-lv1, .sectionForNews .sectionNewsField .sectionNewsComponent .sectionNewsInfo .tag-lv2, .sectionForNews .sectionNewsField .sectionNewsComponent .sectionNewsInfo .tag-lv3, .sectionForNews .sectionNewsField .sectionNewsComponent .sectionNewsInfo .tag-lv4, .sectionForNews .sectionNewsField .sectionNewsComponent .sectionNewsInfo .tag-lv2-3 {
  background-color: var(--main-color2);
}
.sectionForNews .sectionNewsField .sectionNewsComponent .sectionNewsInfo .tag-about-exam {
  background-color: var(--footer-bg-green);
}
.sectionForNews .sectionNewsField .sectionNewsComponent .sectionNewsInfo .tag-other {
  background-color: var(--other-bg-gray);
}
.sectionForNews .sectionNewsField .sectionNewsComponent .sectionNewsInfo .sectionNewsDate {
  margin-left: 16px;
  color: var(--main-color2);
}
.sectionForNews .sectionNewsField .sectionNewsComponent .sectionNewsTitle {
  margin-top: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sectionForNews .sectionNewsField .sectionNewsComponent .sectionNewsTitle a {
  text-decoration: none;
  color: inherit;
}
.sectionForNews .sectionNewsField .sectionNewsComponent .sectionNewsTitle a:hover {
  text-decoration: underline;
}
.sectionForNews .sectionNewsField .sectionNewsComponent:not(:first-of-type) {
  margin-top: 24px;
}
.sectionForNews .sectionNewsField .sectionForNewsTags {
  margin: 13px 0 0 -12px;
  display: flex;
  justify-content: flex-start;
}
.sectionForNews .sectionNewsField .sectionForNewsTags .tagButton {
  margin: 12px 0 0 12px;
}
.sectionForNews .sectionNewsField .sectionForNewsTags .tagButton a {
  display: block;
  padding: 10px 15px;
  border: 2px solid var(--main-color2);
  border-radius: 4px;
  background-color: white;
  color: var(--main-color2);
  text-decoration: none;
}
.sectionForNews .sectionNewsField .sectionForNewsTags .tagButton a:hover {
  color: white;
  background-color: var(--main-color2);
}
.sectionForNewsOnly .updateDate {
  margin-top: 35px;
}
@media screen and (max-width: 768px) {
  .sectionForNews .sectionNewsField .sectionNewsComponent .sectionNewsInfo .sectionNewsTag {
    width: 100px;
  }
  .sectionForNews .sectionNewsField .sectionNewsComponent .sectionNewsTitle {
    margin-top: 8px;
    white-space: normal;
    overflow: auto;
    text-overflow: clip;
  }
  .sectionForNews .sectionNewsField .sectionForNewsTags {
    flex-wrap: wrap;
  }
  .sectionForNews .sectionNewsField .sectionForNewsTags .tagButton a {
    font-size: 12px;
    font-weight: bold;
    padding: 9px 15px;
  }
}
