body {
  background-color: #fff;
  color: #333;
  font-family: "Noto Sans JP", sans-serif !important;
}
body a {
  color: #333;
  text-decoration: none;
}
body a:hover {
  color: #333;
  opacity: 0.7;
}
.h1, h1 {
  font-weight: 700 !important;
}
body .h2, body .h3, body .h4, body .h5, body .h6,
body h1, body h2, body h3, body h4, body h5, body h6 {
  font-weight: 500 !important;
  color: #220000;
}
body h2 {
  font-size: 24px;
}
main .container {
  --bs-gutter-x: 0;
}
.container {
  max-width: 1230px !important;
}
@media screen and (min-width: 769px) {
  header > div.container,
  .gmenu > div.container,
  div.container:first-of-type {
      padding-right: 15px !important;
      padding-left: 15px !important;
  }
}
.row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(1.5rem/ 2);
  padding-left: calc(1.5rem/ 2);
  margin-top: 0;
}

/* header */
header {
  padding: 20px 0 10px;
  width: 100%;
  overflow: visible;
}
header .row {
  position: relative;
  justify-content: space-between;
}
header .logo-block {
  width: 50% !important;
}
header .logo {
  line-height: 1.2;
}
header .logo img {
  height: 64px;
}
header .nav_toggle {
  display: none;
}
@media screen and (max-width: 768px) {
  header {
    padding: 20px 0 0 !important;
    overflow: hidden;
  }
  header .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  header .logo {
    margin: -5px 0 8px -5px;
  }
  header .logo img {
    height: 48px;
  }
  header .nav_toggle {
    display: inline-block;
    position: absolute;
    top: 3px;
    right: 20px;
    width: 28px;
    height: 24px;
    cursor: pointer;
    transition: all 0.5s;
    box-sizing: border-box;
  }
  header .nav_toggle span {
    display: inline-block;
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #666;
    border-radius: 4px;
    transition: all 0.5s;
  }
  header .nav_toggle span:nth-of-type(1) {
    top: 0;
  }
  header .nav_toggle span:nth-of-type(2) {
    top: 10px;
  }
  header .nav_toggle span:nth-of-type(3) {
    bottom: 0;
  }
  header .nav_toggle.show {
    transform: rotate(90deg);
  }
}

/* nav-block */
.nav-block {
  width: 50% !important;
}
.nav-block .nav {
  flex-wrap: nowrap;
  justify-content: flex-end;
}
.nav-block .nav a,
.nav-block .nav span {
  display: block;
  margin: 8px 10px;
  font-size: 12px;
  text-align: center;
  color: #220000;
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}
.nav-block .nav a i,
.nav-block .nav span i {
  display: block;
  margin-bottom: 6px;
  font-size: 30px;
}
.nav-block .nav a:hover {
  color: #9a0000;
}
@media screen and (max-width: 768px) {
  .nav-block {
    display: block;
    width: calc(100% + 24px) !important;
    max-width: calc(100% + 24px) !important;
    margin: 0 -12px;
    opacity: 0;
    transition: all .5s ease;
    height: 0px;
  }
  .nav-block.show {
    opacity: 1;
    height: 73px;
    background-color: #220000;
  }
  .nav-block .nav {
    justify-content: center;
  }
  .nav-block .nav a,
  .nav-block .nav a:hover,
  .nav-block .nav span {
    color: #fff;
  }
}

/* web_search_block */
.web_search_block {
  display: none;
  width: 100%;
}
.web_search_block div {
  padding-top: 15px;
  padding-bottom: 15px;
  background-color: #EFEFEF;
  text-align: center;
  line-height: 1;
  font-size: 16px;
  margin-top: 2px;
}
.web_search_block div button {
  background-color: #9A0000;
  border-color: #9A0000;
  font-weight: 700;
  margin-top: -3px;
  font-size: 16px;
  padding: 6px 12px;
  border-radius: 6px;
}
.web_search_block div .form-control {
  display: inline-block;
  width: 60%;
  font-size: 16px;
  padding: 6px 12px;
  border: var(--bs-border-width) solid var(--bs-border-color);
}
.web_search_block div .form-control:focus {
  border-color: #9A0000;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(154, 0, 0, 0.25);
}
@media screen and (max-width: 768px) {
  .web_search_block {
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: calc(100% + 24px) !important;
    max-width: calc(100% + 24px) !important;
    margin: 0 -12px;
  }
  .web_search_block div {
    margin-top: 0;
  }
}

/* gmenu */
.gmenu {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 1020;
  background: #220000;
}
.gmenu div.container:first-of-type {
  padding-left: 0px;
  padding-right: 0px;
}
.gmenu.fixed {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}
.gmenu span {
  cursor: pointer;
}
.gmenu .nav-item {
  position :static;
  display: flex;
  align-items: center;
}
.gmenu .nav-item::after {
  position :static;
  display: flex;
  align-items: center;
  content: "";
  width: 1px;
  height: 32px;
  background-color: #ccc;
}
.gmenu .nav-item:nth-of-type(6)::after {
  display: none;
}
.gmenu .nav-link {
  font-size: 16px;
  color: #fff;
  padding: 11px 2px;
  transition: all 0.4s;
}
.gmenu .nav-link:hover,
.gmenu .nav-link.active {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.14);
  opacity: 0.8;
}
.gmenu .dropdown-menu {
  display: none;
  width: 100%;
  border: none;
  border-radius: 0;
  background-color: rgba(37, 0, 0, 0.86);
  position: absolute;
  top: 100%;
  left: 0;
  padding: 15px 0;
}
.gmenu .dropdown-menu_detail {
  max-width: 1230px;
  width: 100%;
  display: grid;
  grid-template-columns: 16.6% 16.7% 16.7% 20%;
  margin-inline: auto;
  padding-left: 15px;
  padding-right: 15px;
}
.gmenu .dropdown:nth-of-type(3) .dropdown-menu_detail {
  grid-template-columns: 16.5% 25% 31% 21%;
}
.gmenu .dropdown:nth-of-type(5) .dropdown-menu_detail {
  grid-template-columns: 16.5% 28% 18% 26%;
}
.gmenu .dropdown:nth-of-type(6) .dropdown-menu_detail {
  grid-template-columns: 16.5% 18% 32% 16.5%;
}
.gmenu .dropdown-item {
  color: #fff;
  white-space: normal;
  font-size: 16px;
  padding: 0.7rem;
  position: relative;
  display: flex;
  align-items: center;
}
.gmenu .dropdown-item::before {
  position: absolute;
  content: "";
  width: 1px;
  left: 0;
  height: 50%;
  background-color: #ccc;
  display: inline-block;
}
.gmenu .dropdown-item:hover {
  color: #fff;
  background-color: unset;
}
.gmenu .dropdown-submenu {
  pointer-events: none;
}
.gmenu .dropdown-submenu > .dropdown-item {
  justify-content: center;
}
.gmenu .dropdown-submenu > .dropdown-item::before {
  display: none;
}
.gmenu .dropdown-submenu > .dropdown-item:after {
  content: " ";
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #fff;
  position: absolute;
  left: 90%;
  top: 50%;
  transform: translateY(-50%);
}
.gmenu .btn-close {
  width: 20px;
  height: 20px;
  background-size: 20px;
  margin-right: 2%;
}
@media screen and (max-width:1160px) {
  .gmenu .nav-item {
    flex-basis: unset;
  }
  .gmenu .nav-item::after {
    top: 8px;
    right: 0;
  }
  .gmenu .nav-link,
  .gmenu .dropdown-item {
    font-size: 13px;
    padding-top: 11px;
    padding-bottom: 11px;
  }
  .gmenu .dropdown-menu_detail {
    grid-template-columns: 16.5% 24% 24% 26%;
  }
  .gmenu .dropdown:nth-of-type(6) .dropdown-menu_detail {
    grid-template-columns: 22% 22% 29% 22%;
  }
}
@media screen and (max-width: 768px) {
  .gmenu {
    display: none;
  }
  .gmenu .container {
    padding-left: 0;
    padding-right: 0;
  }
  .gmenu .nav,
  .gmenu .nav-item {
    display: block;
  }
  .gmenu .nav-item::after {
    display: none;
  }
  .gmenu .nav-link {
    background-color: #220000;
    border-top: 1px solid #ccc;
    padding: 15px 16px;
    text-align: left;
    font-size: 16px;
  }
  .gmenu .nav-link:hover {
    opacity: 1;
  }
  .gmenu .nav-link:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #fff;
    margin-top: 5px;
    margin-right: -10px;
  }
  .gmenu .nav-link.active:after {
    border-color: transparent;
    border-width: 5px 5px 0 5px;
    border-top-color: #fff;
    margin-top: 10px;
    margin-right: -11px;
  }
  .gmenu .dropdown-menu {
    display: none;
    position: relative;
    background-color: #fff;
    padding-top: 10px;
  }
  .gmenu .dropdown-menu_detail {
    display: block;
    padding: 0;
  }
  .gmenu .dropdown-item {
    font-size: 14px;
    color: #000;
  }
  .gmenu .dropdown-item::before {
    display: none;
  }
  .gmenu .btn-close,
  .gmenu .dropdown-submenu {
    display: none;
  }
}

/* main */
@media screen and (max-width: 768px) {
  div.container:first-of-type {
    padding-left: 15px;
    padding-right: 15px;
    word-break: break-word;
  }
 /* 最初の .container の子要素にはスタイルを適用しない */
  .container:not(:first-of-type) .container {
    padding-left: 0px;
    padding-right: 0px;
  }
}

/* topics */
.topics .topicsSlider p {
  font-size: inherit;
  font-weight: 500;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0;
}
.topics .slick-slide img {
  width: 100%;
}
.topics .slick-arrow {
  z-index: 11;
  background-color: rgba(255, 255, 255, 0.75);
  border-radius: 50%;
  width: 25px;
  height: 25px;
}
.topics .slick-arrow.slick-prev {
  left: 10px;
}
.topics .slick-arrow.slick-next {
  right: 10px;
}
.topics .slick-arrow::before {
  font-family: inherit;
  color: #9A0000;
  opacity: 1;
  display: block;
  content: "▲";
  transform: rotate(-90deg);
  font-size: 14px;
}
.topics .slick-arrow.slick-next::before {
  transform: rotate(90deg);
}
.dots-class button {
  display: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  padding: 0;
  border: none;
  background-color: transparent;
}
.dots-class {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  padding-left: 0;
}
.dots-class li {
  list-style: none;
  width: 13%;
  height: 5px;
  background-color: #ccc;
  cursor: pointer;
  position: relative;
  border-radius: 5px;
  margin: 0px 3px;
}
.dots-class li.slick-active {
  background-color: #9a0000;
}
.slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus {
  background-color: rgba(255, 255, 255, 0.75) !important;
}
@media screen and (max-width:768px) {
  .topics .slick-arrow {
    margin-top: -20px;
  }
}

/* news */
#newsTabContent {
  padding-top: 70px;
}
.news {
  position: relative;
}
.news .nav {
  width: 60%;
  border: 1px solid #c4c4c4;
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
}
.news .nav-item {
  position: relative;
  width: 25%;
  text-align: center;
}
.news .nav-item::after {
  position: absolute;
  top: 8px;
  right: 0;
  content: "";
  width: 1px;
  height: 24px;
  background-color: #ccc;
}
.news .nav-item::before {
  display: none;
}
.news .nav-item:nth-of-type(1) span.active {
  border-radius: 0.25rem 0 0 0.25rem;
}
.news .nav-item:nth-of-type(4) span.active {
  border-radius: 0 0.25rem 0.25rem 0;
  margin-right: 0;
}
.news .nav-item:last-of-type::after {
  display: none;
}
.news .nav-link {
  cursor: pointer;
  background-color: unset;
}
.news .nav-pills .nav-link.active {
  background-color: #efefef;
  border-radius: 0;
}
.news .listLink {
  position: absolute;
  top: 90px;
  right: 0;
  list-style: none;
  text-align: left;
}
.news .listLink a {
  font-size: 14px;
}
.news .listLink a i {
  margin-left: 5px;
  font-size: 18px;
  color: #9A0000;
}
.news .newsList {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}
.news .newsList dt {
  display: flex;
  width: 12.5rem;
  font-weight: normal;
  font-size: 14px;
}
.news .newsList dt .date {
  width: 7.5rem;
}
.news .newsList dt .tag {
  align-self: flex-start;
  width: 3rem;
  color: #fff;
  background-color: #9A0000;
  text-align: center;
  font-size: 10px;
  line-height: 1;
  margin-top: 0.3rem;
  margin-left: 0.5rem;
  padding: 4px 0;
}
.news .newsList dt .tag.kic {
  background-color: #D04465;
}
.news .newsList dt .tag.suzaku {
  background-color: #ED7020;
}
.news .newsList dt .tag.bkc {
  background-color: #2180C1;
}
.news .newsList dt .tag.oic {
  background-color: #6BAA31;
}
.news .newsList dt .tag.share {
  background-color: #666;
}
.news .newsList dd {
  width: calc(100% - 12.5rem);
  margin-top: 0;
  margin-bottom: inherit;
  font-size: inherit;
}
@media screen and (max-width:768px) {
  #newsTabContent {
    padding-top: 10px;
  }
  .news .nav {
    position: relative;
    width: 100%;
    top: 4px;
  }
  .news .newsList {
    margin-top: 35px;
  }
  .news .newsList dt, .news .newsList dd {
    font-size: 14px;
    width: 100%;
  }
  .news .newsList dt .date {
    font-weight: 700;
  }
  .news .newsList dt .tag {
    margin-top: 0.2rem;
  }
  .news .listLink {
    top: 90px;
  }
}

/* 日めくりカレンダー */
.tear-off {
  margin: 30px 0;
}
.tear-off .to-wrap {
  display: flex;
  justify-content: space-between;
  margin-bottom: 25px;
}
.tear-off .to-wrap:last-of-type {
  margin-bottom: 0;
}
.tear-off .to-wrap .to-date {
  width: 80px;
}
.tear-off .to-wrap .to-date .to-date-wrap {
  margin: 0;
  background-color: #9a0000;
  font-family: "Open Sans", sans-serif;
}
.tear-off .to-wrap .to-date .to-date-wrap .to-day,
.tear-off .to-wrap .to-date .to-date-wrap .to-month,
.tear-off .to-wrap .to-date .to-date-wrap .to-week {
  display: block;
  text-align: center;
  color: #fff;
}
.tear-off .to-wrap .to-date .to-date-wrap .to-day {
  padding: 12px 0 0;
  font-family: "Noto Serif JP", serif;
  font-size: 1.7em;
  line-height: 1;
}
.tear-off .to-wrap .to-date .to-date-wrap .to-month {
  padding: 10px 0 16px;
  font-size: 0.65em;
  line-height: 1;
}
.tear-off .to-wrap .to-date .to-date-wrap .to-week {
  padding: 7px 0 5px;
  background-color: #272c32;
  font-size: 0.7em;
  line-height: 1;
}
.tear-off .to-wrap .to-info {
  width: calc(100% - 80px - 20px);
}
.tear-off .to-wrap .to-info .to-header {
  padding: 5px 0 0;
  margin: -5px 0 15px;
  border: none;
  font-size: 1.3em;
  color: #333;
}

@media screen and (max-width: 768px) {
  .tear-off .to-wrap .to-date {
    width: 70px;
  }
  .tear-off .to-wrap .to-info {
    width: calc(100% - 70px - 15px);
  }
  .tear-off .to-wrap .to-info .to-header {
    padding: 0;
    margin: 0 0 15px;
  }
  .tear-off .to-wrap.to-small .to-date {
    width: 55px;
  }
  .tear-off .to-wrap.to-small .to-date .to-date-wrap .to-day {
    padding: 6px 0 0;
    font-size: 1.2em;
  }
  .tear-off .to-wrap.to-small .to-date .to-date-wrap .to-month,
  .tear-off .to-wrap.to-small .to-date .to-date-wrap .to-week {
    padding: 6px 0 6px;
    font-size: 0.6em;
  }
  .tear-off .to-wrap.to-small .to-info {
    width: calc(100% - 55px - 15px);
  }
}

/* レコメンド */
.recommend {
  margin-top: 3rem;
  margin-bottom: -20px;
  font-size: 16px;
}
@media screen and (min-width: 577px) {
  .recommend {
    margin-top: 10px;
  }
  .recommend .recommendList {
    display: flex;
    flex-wrap: wrap;
    margin-right: -20px;
  }
  .recommend .recommendList .card {
    margin-bottom: 3rem;
    margin-right: 20px;
    width: calc((100% - 40px) / 2);
  }
}
@media screen and (min-width: 769px) {
  .recommend .recommendList .card {
    width: calc((100% - 60px) / 3);
  }
}
.recommend .recommendList .card {
  margin-bottom: 20px;
  border: none;
}
.recommend .recommendList .card img {
  width: 100%;
}
.recommend .recommendList .card a {
  text-decoration: none !important;
}
.recommend .recommendList .card a > div {
  padding-left: 0;
  padding-right: 0;
}
.recommend .recommendList .card .card-body {
  padding: 0 0 0 10px;
}
.recommend .recommendList .card .card-title {
  color: #333 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  margin-bottom: 0.5rem !important;
  margin-top: 0 !important;
}
.recommend .recommendList .card .card-text {
  font-size: 12px;
  line-height: 1.5;
  color: #333 !important;
  margin-bottom: 0 !important;
}

/* sitemap */
.bg-sitemap-subtle,
.sitemap .accordion-item,
.sitemap .accordion-button,
.sitemap .accordion-button:not(.collapsed) {
  font-size: 16px;
  background-color: #e8e5e5;
  color: var(--bs-body-color);
}
.sitemap .accordion-item {
  padding-left: 0;
  padding-right: 0;
}
.sitemap .accordion-button:focus {
  box-shadow: none;
}
.sitemap .accordion-button::after {
  content: '▶';
  font-size: 13px;
  transition: transform 0.3s ease;
  margin-right: 10px;
  background-image: none;
}
.sitemap .accordion-button:not(.collapsed):after {
  transform: rotate(90deg);
  background-image: none;
}
.sitemap .accordion-header {
  border-bottom: 2px solid #fff;
}
.sitemap .accordion-item:last-child .accordion-header {
  border: none;
}
.sitemap .accordion-body {
  font-size: 14px;
}
.sitemap li {
  list-style: none;
}
@media screen and (min-width:992px) {
  .sitemap .accordion-item {
    padding-left: 0.5%;
    padding-right: 0.5%;
  }
  .sitemap .accordion-item:last-child .accordion-header {
    border-bottom: 2px solid #fff;
  }
  .sitemap .accordion-button,
  .sitemap .accordion-body {
    padding: var(--bs-accordion-btn-padding-y) 0.375rem;
  }
  .sitemap .accordion-button::after {
    content: none;
  }
}

/* footer */
footer small {
  display: block;
  text-align: center;
  font-size: 0.875em;
  color: #fff;
  background-color: #272C32;
}

.btn_to_top {
  position: fixed;
  right: 10px;
  bottom: 10px;
  background-color: #565d63;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  border-radius: 4px;
  z-index: 13;
}

.other_link {
  font-size: 0.7rem;
  margin-left: 6px;
}

