@charset "utf-8";

/* ============================
   固定ページ
============================= */
.page {}

.breadcrumb {
  font-size: clamp(12px, 1.3vw, 14px);
  padding: 0;
}
.breadcrumb a {
  text-decoration: underline;
}
.breadcrumb-item + .breadcrumb-item::before {
  content: "ー";
}
.breadcrumb-item.active {
  color: #000066;
}

#PageSideMenu {}
#PageSideMenu .card {
  border: none;
}
#PageSideMenu .card-header {
  border-radius: 0;
}
#PageSideMenu .card-header h5 {
  font-weight: 500;
}
#PageSideMenu .card-body {
  padding: 0.5rem 1rem 1rem;
}
#PageSideMenu .list-group-item {
  background-color: inherit;
  line-height: 1.3;
  padding: 1.3rem 0.7rem;
}
#PageSideMenu .list-group-item-action {
  color: inherit;
}
#PageSideMenu .menutitle {
  font-weight: 500;
}
#PageSideMenu #archiveAccordion a.bg-cream2:hover, a.bg-cream2:focus, button.bg-cream2:hover, button.bg-cream2:focus{
    background-color: transparent!important;
}
#PageSideMenu .btn.focus, .btn:focus {
    outline: 0;
    box-shadow: 0 0 0 0;
}

/* ============================
   フォーム部品（Contact Form 7）
============================= */
.MailForm input[type="checkbox"],
.MailForm input[type="radio"] {
  transform: scale(1.5);
  margin-right: 0.5em;
  vertical-align: middle;
  accent-color: #5c1e1e;
}
.wpcf7 .wpcf7-spinner {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
}
.MailForm .wpcf7-submit {
  position: relative;
}
.MailForm .input-price-wrapper {
  position: relative;
}
.MailForm .input-price-wrapper input {
  padding-right: 2.5em;
}
.MailForm .input-price-wrapper::after {
  content: '円';
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-size: 0.9em;
}
.MailForm .input-price-wrapper.last::after {
  right: 22px;
}
.MailForm .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* 確認画面用（Confirm Plus Contact Form 7） */
.only-confirm { display: none; }
#wpcf7cpcnf .only-confirm { display: block; }
#wpcf7cpcnf table {
  width: 100%;
  max-width: 760px;
  margin: 2rem auto;
  border-collapse: collapse;
  font-size: 1rem;
  background-color: #fff;
  border: 1px solid #ccc;
}
#wpcf7cpcnf th,
#wpcf7cpcnf td {
  border: 1px solid #ccc;
  padding: 1rem;
  vertical-align: top;
}
#wpcf7cpcnf th {
  background-color: #f9f9f9;
  font-weight: bold;
  text-align: left;
  width: 35%;
  min-width: 160px;
}
#wpcf7cpcnf td {
  width: 65%;
  color: #333;
  word-break: break-word;
  line-height: 1.5;
}
#wpcf7cpcnf td p,
#wpcf7cpcnf th p {
  margin: 0;
}
#wpcf7cpcnf .wpcf7cp-btns {
  text-align: center;
  margin-top: 2rem;
}
#wpcf7cpcnf .wpcf7cp-btns button {
  display: inline-block;
  background-color: #000066;
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0.5rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: 0.3s ease;
}
#wpcf7cpcnf .wpcf7cp-btns button:hover {
  opacity: 0.9;
  cursor: pointer;
}
#wpcf7cpcnf::before {
  content: "確認画面";
  display: block;
  font-size: 1.5rem;
  font-weight: bold;
  color: #000066;
  margin-bottom: 1.5rem;
  text-align: center;
  border-bottom: 2px solid #000066;
  padding-bottom: 0.5rem;
}

/* 確認画面レスポンシブ対応 */
@media screen and (max-width: 768px) {
  #wpcf7cpcnf table,
  #wpcf7cpcnf tbody,
  #wpcf7cpcnf tr,
  #wpcf7cpcnf th,
  #wpcf7cpcnf td {
    display: block;
    width: 100%;
  }
  #wpcf7cpcnf tr { border-bottom: 1px solid #ccc; }
  #wpcf7cpcnf th {
    background-color: transparent;
    padding-bottom: 0.25rem;
    border: none;
  }
  #wpcf7cpcnf td {
    border: none;
    padding-top: 0;
    padding-bottom: 1rem;
  }
  #wpcf7cpcnf td:empty { display: none; }
}

/* ============================
   アーカイブページ
============================= */




/* ============================
   投稿ページ
============================= */
.topics-box .contents a,
.topics-box .contents a .text-success{
    color: #5caf2c!important;
}
.topics-box .contents a:hover,
.topics-box .contents a:hover .text-success{
    color: #009bbf!important;
}
.topics-box .contents a:visited,
.topics-box .contents a:visited .text-success{
    color: #915c8b!important;
}
.topics-box .content{
    line-height: 2.0;
}
/* ページネーション全体 */
.pagination-custom {
  gap: 6px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding-left: 0;
  list-style: none;
}

/* ページリンク共通 */
.pagination-custom .page-link {
  border: none;
  border-radius: 0;
  padding: 10px 16px;
  font-weight: bold;
  text-align: center;
  display: inline-block;
  min-width: 40px;
  line-height: 1.5;
}

/* アクティブページ（現在のページ） */
.pagination-custom .page-current {
  background-color: #000066!important;
  color: #ffffff!important;
}

/* 通常ページ */
.pagination-custom .page-other {
  background-color:#D2DFEB ;
  color: #000066;
}

/* 前へ・次へ ボタン */
.pagination-custom .page-nav {
  background-color: transparent;
  color: #000066;
  padding: 10px 12px;
}

/* 省略記号（…） */
.pagination-custom .page-dots {
  background-color: #fff;
  color: #000066;
  padding: 10px 16px;
  cursor: default;
}
.pagination-custom .page-item:first-child .page-link,
.pagination-custom .page-item:last-child .page-link {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
