html,
body {
  width: 100%;
  font-size: 62.5%;
}

@media (min-width: 768px) {
  html {
    scroll-padding-top: 120px;
  }
}

main {
  font-size: 14px;
  line-height: 2;
  padding-bottom: 80px;
}

main h1 {
  line-height: 1.4;
}

main h2,
main h3,
main h4,
main h5,
main h6,
#sub h2,
#sub_none h2 {
  line-height: 1.8;
}

main a {
  text-decoration: underline;
}

main a:hover {
  text-decoration: none;
  opacity: 0.6;
}

main .col .d-block {
  text-decoration: none;
}

main .col .d-block:hover {
  text-decoration: underline;
}

main h1 {
  font-size: 30px;
  margin-bottom: 30px;
}

main h2,
#sub h2,
#sub_none h2 {
  border-left: solid 10px #220000;
  padding-left: 12px;
  margin-top: 50px;
  margin-bottom: 30px;
}

main h3 {
  font-size: 18px;
  margin-top: 50px;
  margin-bottom: 15px;
}

main h4 {
  font-size: 16px;
  border-bottom: solid 2px #220000;
  padding-bottom: 15px;
  margin-top: 30px;
  margin-bottom: 15px;
}

main h5 {
  font-size: 16px;
  line-height: 26px;
  margin-top: 30px;
}

main h6 {
  font-size: 16px;
  margin-top: 30px;
  margin-bottom: 15px;
}

#sub h6,
#sub_none h6 {
  font-size: 1.6rem;
  margin-bottom: 1.3rem;
  margin-top: 2.1rem;
}

main a {
  color: #707070;
}

main img {
  max-width: 100%;
  height: auto;
  vertical-align: baseline;
}

.container.clearfix {
  --bs-gutter-x: 0;
}

@media screen and (max-width: 767px) {
  .pc {
    display: none !important;
  }
}

/* OLD-bootstrap */
.mr-1 {
  margin-right: .25rem !important;
}

.mr-2 {
  margin-right: .5rem !important;
}

.mr-3 {
  margin-right: 1rem !important;
}

.mr-4 {
  margin-right: 1.5rem !important;
}

.mr-5 {
  margin-right: 3rem !important;
}

.ml-1 {
  margin-left: .25rem !important;
}

.ml-2 {
  margin-left: .5rem !important;
}

.ml-3 {
  margin-left: 1rem !important;
}

.ml-4 {
  margin-left: 1.5rem !important;
}

.ml-5 {
  margin-left: 3rem !important;
}

.pr-1 {
  padding-right: .25rem !important;
}

.pr-2 {
  padding-right: .5rem !important;
}

.pr-3 {
  padding-right: 1rem !important;
}

.pr-4 {
  padding-right: 1.5rem !important;
}

.pr-5 {
  padding-right: 3rem !important;
}

.pl-1 {
  padding-left: .25rem !important;
}

.pl-2 {
  padding-left: .5rem !important;
}

.pl-3 {
  padding-left: 1rem !important;
}

.pl-4 {
  padding-left: 1.5rem !important;
}

.pl-5 {
  padding-left: 3rem !important;
}

.text-right {
  text-align: right !important;
}

.text-left {
  text-align: left !important;
}


/* layout */
@media (min-width: 768px) {
  .float-md-right {
    float: right;
  }
}

/* パンくず */
ol.bread {
  padding-left: 0;
}

ol.bread li {
  list-style: none;
}

/* アンカーリンク */
main .col-sm h5 {
  font-size: 16px;
  margin-bottom: 12px;
  margin-top: 12px;
}

/* テキストマーカー */
.underline-b {
  background: linear-gradient(transparent 60%, #cce5ff 60%);
}

/* リストスタイル */
main ul,
main ol {
  margin-bottom: 15px !important;
  margin-top: 15px !important;
  padding-left: 14px;
}

main ul li {
  list-style: none;
  position: relative;
}

main ul li:before {
  background-color: #ccc;
  border-radius: 50%;
  content: "";
  width: 6px;
  height: 6px;
  font-size: 0.8rem;
  position: absolute;
  top: 12px;
  left: -12px;
}

.caret-list li {
  list-style: none;
  position: relative;
  padding-left: 7px;
}

.caret-list li:before {
  content: "\f0da";
  background-color: transparent;
  font-size: 14px;
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #870002;
  width: auto;
  height: auto;
  position: absolute;
  top: 0px;
  left: -12px;
}

.circle-number-list {
  counter-reset: list;
  list-style-type: none;
  padding-left: 3.3rem;
}

.circle-number-list li {
  position: relative;
  list-style-type: none;
  line-height: 30px;
}

.circle-number-list>li:before {
  background-color: transparent;
  counter-increment: list;
  content: counter(list);
  position: absolute;
  left: -35px;
  width: 25px;
  height: 25px;
  line-height: 25px;
  background: #565D63;
  text-align: center;
  color: #fff;
  top: 1.2rem;
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  border-radius: 50%;
}

.check-list li:before {
  background-color: transparent;
  content: "\f00c";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  left: -12px;
  color: #870002;
  width: auto;
  height: auto;
  top: 8px;
}

.reset-list {
  padding-left: 0;
}

.reset-list li:before {
  content: none;
}

.list-style-type-none {
  list-style-type: none;
}

.list-style-type-none li {
  padding-left: 18px;
}

.list-style-type-none li:before {
  content: none;
}

/* 表組み */
table th {
  background: #e2e6e9;
  padding: 10px 20px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  font-weight: normal;
  vertical-align: top;
}

table td {
  background: #f2f4f6;
  padding: 10px 20px;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  vertical-align: top;
}

table.colorless * {
  border: none;
  background-color: transparent;
}

table {
  margin-top: 3rem;
  margin-bottom: 3rem;
}

table {
  width: auto;
  border-collapse: collapse;
}

th,
td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

@media screen and (max-width: 768px) {
  .table-responsive table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }

  .table-responsive table td {
    display: revert;
  }

  .table-responsive table tr td:first-child {
    background: #f2f4f6;
  }
}

/* リンクボタン */
.btn-danger a {
  text-decoration: none;
}

/* リンクアイコン */
.icon_pdf,
.icon_external,
.icon_xlsl,
.icon_xlsx,
.icon_docx {
  padding-right: 20px;
}

.icon_pdf {
  background: url(/lib/img/icon/icon-pdf.gif) no-repeat right center;
}

.icon_external {
  background: url(/lib/img/icon/icon-external.gif) no-repeat right center;
}

.icon_xlsl,
.icon_xlsx {
  background: url(/lib/img/icon/icon-xls.gif) no-repeat right center;
}

.icon_docx {
  background: url(/lib/img/icon/icon-doc.gif) no-repeat right center;
}

/* 動画ポップアップ */
.movie-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

.movie-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Q＆A */
.acd-check {
  display: none;
}

.acd-label {
  display: block;
  margin-bottom: 1px;
  transition: .3s;
}

.acd-label:hover {
  color: #ff0000;
  cursor: pointer;
}

.acd-content {
  background: #f5f5f5;
  height: 0;
  opacity: 0;
  padding: 0 10px;
  transition: .3s;
  visibility: hidden;
}

.acd-content::after {
  content: "";
  display: block;
  clear: both;
}

.acd-check:checked+.acd-content {
  height: auto;
  opacity: 1;
  padding: 10px;
  visibility: visible;
}

/* ニュース */
#sub {
  font-size: 1.4rem;
  max-width: calc(100% - 261px);
  float: left;
  color: #333;
  padding-bottom: 120px;
  width: 959px;
  padding: 0 20px 120px 0;
  border-right: 1px solid #ccc;
  margin-bottom: 20px;
}

#news_list .article {
  overflow: hidden;
}

#news_list .article:not(:last-child) {
  padding-bottom: 30px;
  border-bottom: dotted 1px #ccc;
  margin-bottom: 20px;
}

#sub a {
  color: #707070;
  text-decoration: underline;
}

#sub table th {
  background: #E2E6E9;
  padding: 10px 20px;
  border-top: 1px solid #dee2e6;
  border-bottom: 2px solid #fff;
  border-right: 2px solid #fff;
  font-weight: normal;
  vertical-align: top;
  white-space: nowrap;
}

.archivedate {
  display: inline-block;
  vertical-align: middle;
}

.archivetag {
  display: inline-block;
  width: 48px;
  margin-left: 0.5rem;
  padding: 5px 0;
  background-color: #9A0000;
  text-align: center;
  font-size: 10px;
  line-height: 1;
  color: #fff;
}

.archivetag.kic {
  background-color: #D04465;
}

.archivetag.suzaku {
  background-color: #ED7020;
}

.archivetag.bkc {
  background-color: #2180C1;
}

.archivetag.oic {
  background-color: #6BAA31;
}

.archivetag.share {
  background-color: #666;
}

.sub_menu {
  float: right;
  /* width: 220px; */
  /* width: calc(20% - 20px); */
  width: 260px;
  font-size: 1.6rem;
  padding-top: 42px;
  padding-left: 20px;
}

.sub_menu .main_ttl {
  background: #E2E6E9;
  color: #000;
  width: 100%;
  display: block;
  font-size: 1.6rem;
  font-weight: normal;
}

.sub_menu .main_ttl span {
  padding: 10px 10px 10px 20px;
  display: inline-block;
}

.sub_menu .fas {
  color: #9a0000;
  font-weight: normal;
  padding-right: 10px;
}

.sub_menu .news-archive--list {
  padding-left: 0;
}

.sub_menu li.menu_ttl {
  font-size: 14px;
  line-height: 1.2;
  border-bottom: 2px solid #fff;
  list-style: none;
}

.sub_menu ul .menu_ttl a {
  background: #F2F4F6;
  padding: 10px 20px;
  width: 100%;
  display: block;
}

@media screen and (max-width: 992px) {
  #sub {
    font-size: 1.4rem;
    max-width: 100%;
    float: left;
    margin-right: 0;
    border-right: none;
    margin-bottom: 0;
    word-wrap: break-word;
  }

  .sub_menu {
    max-width: none;
    width: 100%;
    margin-bottom: 30px;
    padding-top: 0;
    padding-right: 15px;
    padding-left: 15px;
  }
}

/* 第2階層ページレイアウト */
@media screen and (min-width: 768px) {
  .flag-spmode {
    display: none;
  }
}
@media screen and (max-width: 768px) {
  .flag-pcmode {
    display: none;
  }
}
.keyviual-img_title {
  position: relative;
  width: 100%;
  height: 100%;
  margin-top: -50px;
  margin-bottom: 50px;
}
.keyviual-img_title .inner {
  z-index: 2;
  position: absolute;
  display: table;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translatey(-50%);
}
.keyviual-img_title .pagetitle-group {
  padding: 0 15px;
  display: table-cell;
  box-sizing: border-box;
  font-weight: normal;
  text-align: center;
  vertical-align: middle;
}
.keyviual-img_title .title {
  margin: 0;
  border: 0;
  color: #fff;
  font-size: 34px;
  font-weight: normal;
  line-height: 1.0;
}
.keyviual-img_title .img {
  z-index: 1;
  width: 100%;
  height: 100%;
}
.keyviual-img_title .img img {
  width: 100%;
  min-width: 100%;
}
body:has(.keyviual-img_title) {
  overflow-x:clip;
}
.keyviual-img_title .img {
    width: 100svw;
    margin: 0 calc(50% - 50svw);
}
@media screen and (max-width: 768px) {
  .keyviual-img_title {
    margin-top: -30px;
}
}
.row.second-front>*{
      padding-right: calc(var(--bs-gutter-x)* 1.5);
    padding-left: calc(var(--bs-gutter-x)* 1.5);
}
.second-front .card {
  margin-bottom: 50px;
}
.second-front .card-body {
  padding: 0 !important;
}
.second-front .card-title {
  margin-top: 0px;
  border-bottom: 1px solid #333;
  line-height: 62px;
}
.second-front .card-title a {
  color: #220000;
  text-decoration: none;
}

/* topics */
  main .contents .topics .topicsSlider {
    padding: 0 40px;
    margin-right: 0;
  }
  main .contents .topics .slick-slide {
    margin-left: 10px;
    margin-right: 10px;
  }
  .topics .slick-arrow {
    width: 25px;
    background-color: #efefef;
  }
  .slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus {
    background-color: #efefef !important;
  }
  .topics .slick-arrow.slick-prev {
    left: 15px;
  }
  .topics .slick-arrow.slick-next {
    right: 15px;
  }
  .topics .dots-class li::before {
    display: none;
  }
@media screen and (max-width: 768px) {
  main .contents .topics .topicsSlider {
    padding: 0 15px;
  }
  .topics .slick-arrow.slick-prev {
    left: 0px;
  }
  .topics .slick-arrow.slick-next {
    right: 0px;
  }
}
main .contents .topics .slick-slide p {
  margin-top: 10px;
  font-weight: 700;
}
main .contents .topics .topicsSlider a {
  text-decoration: none;
  color: #333;
}

/* news */
.news .newsList dt {
  width: 16.5rem;
}
.news .newsList dt .date {
  width: 10.5rem;
}
.news .newsList dd {
  width: calc(100% - 16.5rem);
}
.news .newsList dt .tag {
  margin-top: 0.5rem;
}
@media screen and (max-width: 768px) {
  .news .newsList dt {
    width: 100%;
  }
  .news .newsList dt .date {
    width: 11rem;
  }
  .news .newsList dd {
    width: 100%;
  }
}

