@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap");

/*------------------------------- 色 */

:root {
  --color-primary: #a30000;
  --color-secondary: #878686;
  --TKP-Text: #243047;
}
/*------------------------------- 上書き */
.site-header {
  background: #fff;
}
.container {
  text-align: left;
  font-family: "Noto Sans JP", sans-serif;
}
b,
strong {
  color: inherit;
}
.--large-text .vk_button_link_txt {
  font-size: 34px;
}
.breadcrumb-list {
  .fa-home {
    display: none;
  }
}
.site-footer-copyright {
  p:nth-child(2) {
    display: none;
  }
}
.wp-block-columns-is-layout-flex {
  height: 100%;
  overflow: hidden;
}
/*------------------------------- 汎用 */
.--bg-grey {
  background-color: #f7f7f7 !important;
}
h2.wp-block-heading {
  /* border: none; */
  font-weight: bold;
  padding: inherit;
}
h3.wp-block-heading {
  font-size: inherit;
  padding: inherit;
  margin: inherit;
  font-weight: bold;
}
h4.wp-block-heading {
  color: inherit;
  font-weight: bold;
}
.--drop-shadow {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
a.--external::after {
  content: "\f35d";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  display: inline-block;
  margin-left: 0.3em;
  font-size: 0.8em;
  vertical-align: middle;
  color: var(--color-primary);
}

.--icon-triangle-down::before {
  display: inline-block;
  color: var(--color-primary);
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  content: "\f0dd"; /* sort-down */
  font-size: 1em;
  vertical-align: text-bottom;
}

/* NEWラベルのスタイル */
.c-new-label {
  display: inline-block;
  background: none;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  font-size: 13px;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 0.5em;
  vertical-align: middle;
  letter-spacing: 0.5px;
}
.c-cta-01 {
  width: 100%;
  background-image: url(../images/img/cta_01_bg.jpg);
  background-size: cover;
  padding: clamp(16px, 5vw, 40px);
  background-position: center center;
  .c-cta-01__inner {
    max-width: 1110px;
    margin: auto;
    background-color: white;
    padding: clamp(16px, 4vw, 40px) clamp(16px, 7vw, 108px);
  }
  .c-cta-01__title {
    color: var(--TKP-Red, #a30000);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: clamp(20px, 2.2vw, 24px);
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 1.2px;
    border: none;
    padding: 0;
  }
  .c-cta-01__text {
    color: #000;
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 180%; /* 25.2px */
    letter-spacing: 0.7px;
    margin-top: 32px;
  }
  .c-cta-01__contents {
    display: flex;
    gap: 24px;
    margin-top: 32px;
    justify-content: space-between;
    @media (max-width: 991.98px) {
      flex-direction: column;
      gap: 16px;
    }
  }
  .c-cta-01__links {
    width: 100%;
    @media (min-width: 992px) {
      flex: 1 1 544px;
      max-width: 544px;
      min-width: 0;
    }
  }
  .c-cta-01__links-title {
    color: var(--TKP-Text, #243047);
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.8px;
    text-align: center;
  }
  .c-cta-01__buttons {
    display: flex;
    gap: 24px;
    margin-top: 16px;
    @media (max-width: 767.98px) {
      flex-direction: column;
      gap: 16px;
      margin-left: 1em;
      margin-right: 1em;
    }
  }
  .c-cta-01__button {
    display: flex;
    height: 70px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: var(--spacing--half, 4px);
    background: var(--TKP-Red, #a30000);
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.1);
    color: var(--TKP-White, #fff);
    font-family: "Noto Sans JP";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.9px;
    width: 100%;
  }
  .c-cta-01__tel {
    width: 100%;
    display: flex;
    gap: 4px;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2, 16px) var(--spacing-3, 24px);
    flex-direction: column;
    align-items: center;
    border-radius: var(--spacing--half, 4px);
    background: #ffecec;
    p {
      margin: 0;
    }
    @media (min-width: 992px) {
      flex: 1 1 317px;
      max-width: 317px;
      min-width: 0;
    }
  }
  .c-cta-01__tel-title {
    color: var(--TKP-Red, #a30000);
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.8px;
    text-align: center;
  }
  .c-cta-01__tel-num {
    color: var(--TKP-Text, #243047);
    font-family: "Noto Sans JP";
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 34px */
    letter-spacing: 1.7px;
    @media (min-width: 992px) and (max-width: 1199.98px) {
      font-size: clamp(16px, 3vw, 28px);
    }
    &::before {
      content: "\f095";
      font-family: "Font Awesome 5 Free";
      font-weight: 900;
      margin-right: 0.3em;
      font-size: 0.5em;
      vertical-align: middle;
    }
  }
  .c-cta-01__tel-time {
    color: var(--TKP-Text, #243047);
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.7px;
  }
}
/* CTA-02 */
.c-cta-02 {
  max-width: 900px;
  margin: 0 auto;
  p {
    strong {
      font-size: clamp(18px, 2vw, 22px);
    }
  }
  .vk_button_link_txt {
    font-weight: 700;
    font-size: clamp(30px, 3vw, 38px);
  }
}

.c-head-box__head {
  font-size: clamp(16px, 2vw, 20px) !important;
}
.c-head-box {
  .wp-block-heading {
    font-size: clamp(20px, 2vw, 24px) !important;
  }
  strong {
    font-size: clamp(18px, 2vw, 20px) !important;
  }
  p {
    font-size: clamp(16px, 2vw, 18px) !important;
  }
  .wp-block-vk-blocks-button {
    .vk_button_link_caption {
      font-weight: 700;
    }
    @media (max-width: 767.98px) {
      text-align: center !important;
    }
  }
  .wp-block-columns {
    @media (max-width: 767.98px) {
      padding: 16px !important;
    }
  }
}
.c-jirei {
  h3.wp-block-heading {
    font-size: clamp(16px, 2vw, 18px) !important;
  }
  p {
    font-size: clamp(14px, 2vw, 16px) !important;
  }
  .wp-block-image {
    width: 100% !important;
    height: 100% !important;
    img {
      width: 100% !important;
      height: 100% !important;
      object-fit: cover;
      object-position: left bottom;
      display: block;
    }
  }
}

/* ユーティリティ */
/* smのときにだけ左寄せ */
.u-sm-left {
  @media (max-width: 767.98px) {
    text-align: left !important;
  }
}

/*------------------------------- ヘッダ */
.site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}
body {
  padding-top: 76px !important; /* ヘッダーの高さに合わせて調整 */
}

@media (min-width: 992px) {
  body {
    padding-top: 146px !important; /* ヘッダーの高さに合わせて調整 */
  }
  /* ヘッダのコンテナ */
  #site-header-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    padding: 18px 0;
    .site-header-logo {
      grid-column: 1;
      grid-row: 1;
      margin: 0;
      padding: 0;
      display: flex;
      align-items: center;
    }
    /* グローバルナビ */
    .global-nav *,
    .global-nav--layout--float-right {
      all: unset;
    }
    .global-nav {
      grid-column: 1;
      grid-row: 2 / 3;
      align-self: center;
      a {
        cursor: pointer;
      }
      .global-nav-list {
        display: flex;
        flex-direction: row;
        gap: 70px;
        margin: 0;
        padding: 0 7px;
        list-style: none;
        justify-content: flex-start;
        align-items: center;
      }
      .menu-item {
        color: #243047;
        font-family: "Noto Sans JP";
        font-size: clamp(14px, 1.25vw, 18px);
        font-style: normal;
        font-weight: 700;
        line-height: normal;
      }
    }

    /* ウィジェット　右側の２つの要素を包含 */
    .widget.widget_block {
      grid-column: 2;
      grid-row: 1 / 3;
      display: flex;
      flex-direction: column;
      align-items: flex-end;
    }
    .widget {
      margin: 0;
      padding: 0;
    }

    /* 電話と問い合わせボタン */
    .c-header-inquiry {
      border-radius: 4px;
      background: #f1f1f1;
      display: flex;
      padding: 8px 16px;
      align-items: center;
      gap: 16px;
      .c-header-inquiry__tel {
        display: flex;
        flex-direction: column;
        gap: 4px;
      }
      /* 電話番号 */
      .tel-num {
        color: #243047;
        font-family: "Noto Sans JP";
        font-size: 18px;
        font-style: normal;
        font-weight: 500;
        line-height: 1;
        letter-spacing: 0.9px;
        display: flex;
        align-items: center;
      }
      .tel-num i {
        font-size: 12px;
        margin-right: 4px;
        margin-top: 3px;
      }
      /* 電話のキャプション */
      .tel-caption {
        color: #666;
        font-family: "Noto Sans JP";
        font-size: 11px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
      }
      /* 問い合わせボタン */
      .c-header-inquiry__link {
        display: flex;
        padding: 14px 16px;
        justify-content: center;
        align-items: center;
        gap: 8px;
        border-radius: 6px;
        background: var(--color-primary);
        color: #fff;
        font-family: "Noto Sans JP";
        font-size: 14px;
        font-style: normal;
        font-weight: 500;
        line-height: 1;
      }
      .c-header-inquiry__link i {
        font-size: 16px;
        color: #fff;
        margin: 0;
      }
    }
    .c-header-search {
      margin-top: 16px;
      width: 100%;
      max-width: 390px;
    }
    .c-header-search__form {
      display: flex;
      align-items: center;
      justify-content: flex-start;
    }
    .c-header-search__input {
      font-family: "Noto Sans JP";
      font-size: 14px;
      font-style: normal;
      font-weight: 500;
      line-height: 1;
      border-radius: 4px 0 0 4px;
      border-top: 1px solid #666;
      border-bottom: 1px solid #666;
      border-left: 1px solid #666;
      margin: 0;
      padding: 7px;
      height: 34px;
    }
    .c-header-search__button {
      display: flex;
      height: 34px;
      padding: 0 13px;
      align-items: center;
      gap: 10px;
      border-radius: 0 4px 4px 0;
      background: #666;
    }
    .c-header-search__button i {
      color: #fff;
      font-size: 16px;
      margin: 0;
    }
  }
}

/*------------------------------- フッタ */

.site-footer {
  background: #e0e0e0;
  padding: 40px 0;
  color: #666;
  font-family: "Noto Sans JP";
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 1.5;
}
.site-footer-content {
  display: flex;
  flex-direction: row;
  @media (max-width: 991.98px) {
    flex-direction: column;
    align-items: flex-start;
  }
  .widget.widget_block .footer-logo {
    max-width: 270px;
  }
  .row {
    display: flex;
    text-align: left;
    margin-left: 60px;
    width: calc(100% - 270px);
    flex-direction: row;
    @media (max-width: 991.98px) {
      flex-direction: column;
      align-items: flex-start;
    }
    @media (max-width: 767.98px) {
      margin-left: 0;
      width: 100%;
      flex-direction: column;
    }
    > div:not(:nth-child(3)) {
      flex: 1 1 0;
      width: 100%;
      max-width: 100%;
    }
    > div:nth-child(3) {
      width: auto;
      max-width: fit-content;
      flex: 0 0 auto;
    }
    /* １つ目のウィジェットのスタイル */
    > div:nth-child(1) {
      .menu-item {
        a {
          border: none;
          color: #243047;
          font-family: "Noto Sans JP";
          font-size: 16px;
          font-style: normal;
          font-weight: 500;
          line-height: 140%; /* 22.4px */
          letter-spacing: 0.8px;
          padding-top: 0;
          padding-bottom: 0.6em;
          padding-left: 0;
        }
        li > a {
          padding-left: 1em;
        }
        a::before {
          content: "\f0da";
          font-family: "Font Awesome 5 Free";
          font-weight: 900;
          color: var(--color-primary);
          margin-right: 0.5em;
          display: inline-block;
        }
      }
    }
    /* ２つ目のウィジェットのスタイル */
    > div:nth-child(2) .widget.widget_block {
      color: #272727;
      font-family: "Noto Sans JP";
      font-size: 14px;
      font-style: normal;
      font-weight: 400;
      line-height: 180%; /* 25.2px */
      margin-bottom: 24px;
    }
    /* ３つめのウィジェットのスタイル */
    > div:nth-child(3) {
      .social-icons {
        display: flex;
        gap: 20px;
        a {
          display: flex;
          align-items: center;
          justify-content: center;
        }
      }
      .social-link {
        z-index: 2;
        position: relative;
        i {
          margin: 0;
        }
      }
      .social-link.youtube {
        font-size: 32px;
        color: #ff3d00;
      }
      .social-link.line {
        font-size: 30px;
        color: #00c300;
      }
      .social-link::before {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background-color: white;
        border-radius: 50%;
        z-index: -1;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
      }
      .social-link.youtube::before {
        width: 30px;
        height: 20px;
      }
      .social-link.line::before {
        width: 30px;
        height: 30px;
      }
    }
  }
}
/* フッターグローバルメニュー */
.widget.widget_nav_menu {
  .menu-footer-global-container a {
    border: none;
    color: inherit;
  }
  .menu-footer-global-container {
    .menu {
      display: flex;
      flex-direction: row;
      justify-content: space-around;
      .menu-item {
        color: #272727;
        font-family: "Noto Sans JP";
        font-size: clamp(12px, 1.2vw, 16px);
        font-style: normal;
        font-weight: 400;
        line-height: normal;
        a {
          padding: 0;
        }
      }
      @media (max-width: 991.98px) {
        flex-direction: column;
        gap: 0;
        .menu-item {
          font-size: 14px;
          a {
            padding: 4px 0 4px 16px;
          }
        }
      }
    }
  }
}

/*------------------------------- 
page
archive 
single
*/

.page,
.archive,
.single,
.search {
  p {
    font-size: 16px;
  }
  .site-body ol {
    list-style-type: decimal;
  }
  .site-body ul {
    list-style: disc;
  }
  &:not(.home) {
    background: #f6f6f6;
  }
  .breadcrumb .container {
    padding-top: 1.2em;
  }
  .site-body {
    padding-top: 1em;
    @media (max-width: 767.98px) {
      margin: auto 16px;
    }
  }
  .site-body-container {
    background-color: #fff;
    padding: clamp(16px, 3vw, 32px);
  }
  .entry-body {
    background-color: #fff;
  }
  .page-header-inner.container {
    padding: 0;
    margin: 0;
  }
  .page-header {
    padding: 0;
    min-height: initial;
    margin-bottom: clamp(12px, 2vw, 36px);
  }
  .page-header-title {
    position: relative;
    padding: 10px;
    margin-bottom: 1em;
    font-size: clamp(20px, 4vw, 32px);
    &::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: -8px;
      transform: translateX(-50%);
      width: 100%;
      height: 4px;
      background: linear-gradient(
        to right,
        var(--color-primary) 0px,
        var(--color-primary) 40px,
        var(--color-secondary) 40px,
        var(--color-secondary) 100%
      );
      border-radius: 2px;
      z-index: 1;
    }
  }
  h2.wp-block-heading {
    font-size: clamp(18px, 2vw, 28px) !important;
  }
  h3.wp-block-heading {
    font-size: clamp(18px, 1.5vw, 24px) !important;
  }
  h4.wp-block-heading {
    font-size: clamp(16px, 1.5vw, 20px) !important;
  }
  .c-buttons-contact {
    padding: 0 clamp(0, 3vw, 70px);
    gap: 40px;
  }
  .c-button-contact a.vk_button_link.is-style-outline {
    display: flex;
    width: 100%;
    height: 100px;
    padding: var(--spacing-3, 24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-1, 8px);
    border-radius: 6px;
    border: 2px solid #ccc;
    background: linear-gradient(180deg, #fff 0%, #f6f6f6 100%);
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.1);
    i,
    &:hover i {
      color: var(--color-primary);
    }
    &:hover .vk_button_link_txt {
      color: var(--TKP-Text);
    }
  }
  .c-button-contact a.vk_button_link.btn {
    @media (max-width: 767.98px) {
      padding: 16px;
      height: 100%;
      min-height: 50px;
    }
  }
  .c-button-contact a.vk_button_link.is-style-outline .vk_button_link_txt {
    font-weight: 700;
    font-size: clamp(16px, 2vw, 18px);
    @media (max-width: 767.98px) {
      text-align: left;
    }
  }

  .c-border-box {
    border-width: 1px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    height: 100%;
    strong {
      color: var(--color-primary);
    }
    > *:nth-child(2) {
      @media (min-width: 768px) {
        flex: 1 1 auto;
      }
    }
    .vk_borderBox_title_container {
      text-align: center;
      font-size: 20px;
      padding: clamp(4px, 1.2vw, 16px) clamp(8px, 2vw, 24px);
      border-radius: 4px 4px 0 0;
    }
    .wp-block-list {
      list-style-type: disc;
    }
    &.vk_borderBox .vk_borderBox_title_container .vk_borderBox_title {
      font-size: clamp(16px, 2vw, 20px);
    }
    .vk_borderBox_body {
      padding: clamp(8px, 2vw, 16px);
    }
    .vk_borderBox_body {
      border-radius: 0 0 4px 4px;
    }
  }

  /*-------------------------------  会社概要 */
  .c-greeting-body {
    color: #000;
    font-family: "Noto Serif JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 180%; /* 28.8px */
    letter-spacing: 0.8px;
  }
  .c-greeting-signature {
    color: #000;
    font-family: "Noto Serif JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 180%; /* 28.8px */
    letter-spacing: 0.8px;
    width: fit-content;
    margin: 0 0 0 auto;
  }
  .c-greeting-image {
    margin: 0;
    img {
      width: 100%;
    }
  }
  .c-company-table {
    margin: 0;
    th {
      color: #fff;
      font-family: "Noto Sans JP";
      font-size: clamp(16px, 2vw, 18px);
      font-style: normal;
      font-weight: 500;
      line-height: 28.8px; /* 160% */
      letter-spacing: 0.9px;
      background-color: #717070;
      &:first-child {
        width: 15em;
        min-width: 15em;
        max-width: 15em;
      }
    }
    td {
      color: #717070;
      font-family: "Noto Sans JP";
      font-size: clamp(14px, 2vw, 16px);
      font-style: normal;
      font-weight: 400;
      line-height: 180%; /* 28.8px */
      letter-spacing: 0.8px;
      border-bottom: 1px solid #b6b6b6 !important;
      &:first-child {
        width: 15em;
        min-width: 15em;
        max-width: 15em;
      }
      &:nth-child(2) {
        color: #313131;
      }
      a:not([href^="tel:"]):not([href^="fax:"]) {
        &::before {
          content: "\f0da";
          font-family: "Font Awesome 5 Free";
          font-weight: 900;
          color: #a30000;
          margin-right: 0.5em;
          display: inline-block;
        }
      }
      a[target="_blank"]:not(.social-link)::after {
        content: "\f35d";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        display: inline-block;
        margin-left: 0.3em;
        font-size: 0.8em;
        vertical-align: middle;
        color: var(--color-primary);
      }
    }
    @media (max-width: 767.98px) {
      thead {
        border-bottom: none;
      }
      th,
      td,
      th:first-child,
      td:first-child {
        display: block;
        width: 100%;
        box-sizing: border-box;
        max-width: none;
        border: none !important;
      }
      td:first-child {
        background-color: #efeeee;
      }
      th + th {
        background: none;
        color: inherit;
        color: #717070;
        font-family: "Noto Sans JP";
        font-size: clamp(14px, 2vw, 16px);
        font-style: normal;
        font-weight: 400;
        line-height: 180%; /* 28.8px */
        letter-spacing: 0.8px;
      }
    }

    td:nth-child(2) {
      border-left: 1px solid #fff;
    }
  }
  .c-company-table-image {
    img {
      max-width: 640px;
    }
  }
  .c-company-figure {
    img {
      max-width: 548px;
    }
  }

  /* Google Maps レスポンシブ対応 */
  .c-google-map {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* 800:600の比率 (600/800 = 0.75) */
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }
  .c-google-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

  @media (max-width: 768px) {
    .c-google-map {
      margin: 16px 0;
      border-radius: 6px;
    }
  }

  .c-company-address-list {
    color: var(--TKP-Text, #243047);
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 180%; /* 28.8px */
    letter-spacing: 0.8px;
    list-style-type: disc;
  }
  /* h4.wp-block-heading {
    border-bottom: 0;
  } */

  /*-------------------------------  法人版遺言書 */
  .c-yuigon-results-list {
    > div div {
      height: 100%;
      @media (max-width: 767.98px) {
        height: auto;
      }
    }
  }
  .c-faq-list {
    summary {
      list-style: none;
      position: relative;
      cursor: pointer;
      padding-right: 2em;
    }
    details {
      cursor: pointer;
      @media (max-width: 767.98px) {
        padding: 12px 8px;
      }
    }
    summary::after {
      content: "\f067"; /* Font Awesome plus icon */
      font-family: "Font Awesome 5 Free";
      font-weight: 900;
      font-size: 1.3em;
      color: #717070;
      position: absolute;
      right: 0.5em;
      top: 50%;
      transform: translateY(-50%);
    }
    details[open] > summary::after {
      content: "\f068"; /* Font Awesome minus icon */
    }
  }
  /*-------------------------------  マイスター講座 */
  .c-meister-kouza-koushi {
    .wp-block-column > .wp-block-columns {
      min-height: calc(100% - 40px);
    }
  }
}

/*-------------------------------  ニュース一覧 */

.c-news {
  list-style: none;
  margin: 0;
  padding: 0;
}
.c-news__item {
  border-bottom: 1px solid #ddd;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  @media (max-width: 767.98px) {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}
.c-news__item:first-child {
  border-top: 1px solid #ddd;
}
.c-news__date {
  color: var(---Text, #333);
  font-family: "Noto Sans JP";
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%; /* 22.4px */
  letter-spacing: 0.7px;
  min-width: 160px;
  .c-new-label {
    padding: 2px;
    display: inline-flex;
    align-items: center;
    height: auto;
    line-height: 1;
  }
}
.c-news__title {
  color: var(---Text, #333);
  font-family: "Noto Sans JP";
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: 160%; /* 25.6px */
  letter-spacing: 0.8px;
}
.c-news__title:hover {
  color: var(--color-primary, #a30000);
  text-decoration: underline;
}
.c-news__top-button {
  a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    font-family: Noto Sans JP;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    padding: 10px 16px;
    border-radius: 4px;
    border: 1px solid #b6b6b6;
    margin: 4em auto;
  }
}
.single-news {
  h2.wp-block-heading {
    padding: 0;
  }
}

/* ページング */
.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin: 32px 0 0 0;
  padding: 0;
  list-style: none;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 16px;
  font-weight: 500;
}
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 4px;
  color: #243047;
  background: #fff;
  border: 1px solid #ddd;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.nav-links .page-numbers.current,
.nav-links .page-numbers:hover {
  background: var(--color-primary, #a30000);
  color: #fff;
  border-color: var(--color-primary, #a30000);
}
.nav-links .page-numbers.dots {
  background: none;
  border: none;
  color: #878686;
  pointer-events: none;
}

/*------------------------------- 相談 */
.c-soudan-thum.wp-block-image {
  height: 100%;
}
.c-soudan-thum.wp-block-image > img:not([style*="object-fit"]) {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
}

/* 相談のナビゲーション */
.c-consultation__nav-list {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 24px;
  margin: 40px 0 0 0;
  padding: 0;
  width: 100%;
  > li {
    flex: 1 1 0;
    min-width: 0;
    max-width: 100%;
    display: flex;
  }
}

.c-consultation__nav-item a {
  display: flex;
  gap: 16px;
  flex-direction: column;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 16px;
  div {
    color: var(--TKP-Text, #243047);
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 100%; /* 14px */
  }
}

.c-consultation__nav-item--prev {
  justify-content: flex-start;
  text-align: left;
}
.c-consultation__nav-item--next {
  justify-content: flex-end;
  text-align: right;
}
.c-consultation__nav-item i {
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 1.2em;
  color: var(--color-primary, #a30000);
}
.c-consultation__nav-item--prev i {
  margin-right: 12px;
}
.c-consultation__nav-item--next i {
  margin-left: 12px;
}
.c-consultation__nav-item--back {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--TKP-Text, #243047);
  text-align: center;
  border-bottom: 1px solid #e0e0e0;
  width: fit-content;
  margin: 0 auto;
  span {
    font-family: "Noto Sans JP";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 38.4px; /* 213.333% */
    letter-spacing: 0.9px;
  }
}

.c-consultation__nav-item--back::before {
  content: "\f359";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 1.2em;
  color: var(--color-secondary);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
}

@media (max-width: 767.98px) {
  .c-consultation__nav {
    flex-direction: column;
    gap: 16px;
  }
  .c-consultation__nav-item {
    max-width: 100%;
    justify-content: center;
    text-align: center;
    padding: 16px 12px;
    font-size: 15px;
  }
}

/*------------------------------- セミナー（イベント） */

.post-type-archive-event {
  .site-body-container {
    background: none;
    padding-left: 0;
    padding-right: 0;
    @media (max-width: 991.98px) {
      padding-left: 16px;
      padding-right: 16px;
    }
  }
  .c-seminar__title {
    color: #000;
    font-family: "Noto Sans JP";
    font-size: 22px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 1.1px;
    padding: 0 1em;
    margin-bottom: 1em;
  }
  .c-seminar__caption {
    color: #000;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 180%; /* 28.8px */
    letter-spacing: 0.8px;
    padding: 0 1em;
  }
}

.semibox {
  width: 100%;
  max-width: 100%;

  border-radius: var(--spacing--half, 4px);
  border: none;
  background: #fff;

  /* card */
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);

  &.sate01,
  &.sate02 {
    border: none;
  }

  --color-seminar-red: #ab5353;
  --color-seminar-blue: #5c7ca8;
  --color-seminar-green: #6b8e62;
  --color-seminar-orange: #b86b36;
  &.--color-red .head,
  &.sate01 .head,
  &.sate02 .head {
    background-color: var(--color-seminar-red);
  }
  &.--color-blue .head {
    background-color: var(--color-seminar-blue);
  }

  &.--color-green .head {
    background-color: var(--color-seminar-green);
  }
  &.--color-orange .head {
    background-color: var(--color-seminar-orange);
  }

  /* &.--color-red.sate02 .head,
  &.sate02 .head {
    background-color: rgba(171, 83, 83, 0.7);
  }
  &.--color-blue.sate02 .head {
    background-color: rgba(92, 124, 168, 0.7);
  }
  &.--color-green.sate02 .head {
    background-color: rgba(107, 142, 98, 0.7);
  }
  &.--color-orange.sate02 .head {
    background-color: rgba(184, 107, 54, 0.7);
  } */

  .head {
    all: unset;
    color: white;
    background-color: #ab5353;
    display: flex;
    padding: var(--spacing-1, 8px) var(--spacing-3, 24px);
    align-items: center;
    border-radius: var(--spacing--half, 4px) var(--spacing--half, 4px) 0 0;

    @media (max-width: 991.98px) {
      padding: 4px 8px;
    }

    &::after {
      all: unset;
      content: "\f101";
      font-family: "Font Awesome 5 Free";
      font-weight: 900;
      font-size: 1.2em;
      color: #fff;
      margin-left: auto;
      margin-right: 0;
      display: inline-block;
      vertical-align: middle;
    }

    .state_box {
      display: flex;
      width: clamp(80px, 20vw, 213px);
      padding: var(--spacing--half, 4px);
      justify-content: center;
      align-items: center;
      gap: 10px;
      color: var(--TKP-White, #fff);
      font-family: "Noto Sans JP";
      font-size: clamp(14px, 2vw, 16px);
      font-style: normal;
      font-weight: 700;
      line-height: 25.2px; /* 157.5% */
      margin-right: 1em;
    }
    .c-seminar__date {
      color: var(--TKP-White, #fff);
      font-family: "Noto Sans JP";
      font-size: clamp(14px, 2vw, 18px);
      font-style: normal;
      font-weight: 700;
      line-height: 25.2px; /* 140% */
    }
  }
  .content {
    border: none;
    display: flex;
    padding: clamp(16px, 3vw, 24px);
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
    .semi_ttl {
      color: var(--TKP-Text, #243047);
      font-family: "Noto Sans JP";
      font-size: clamp(16px, 2vw, 20px);
      font-style: normal;
      font-weight: 700;
      line-height: 160%; /* 32px */
      .web {
        display: flex;
        padding: var(--spacing--half, 4px) var(--spacing-2, 16px);
        justify-content: center;
        align-items: center;
        gap: var(--spacing-2, 16px);
        border-radius: 26px;
        background: var(--TKP-Right-Gray, #f0f0f0);
        color: var(--2, #717070);
        font-family: "Noto Sans JP";
        font-size: clamp(12px, 2vw, 14px);
        font-style: normal;
        font-weight: 700;
        line-height: 140%; /* 22.4px */
        letter-spacing: 0.8px;
        width: fit-content;
        margin-bottom: 0.5em;
      }
    }
    .semi_flex_box {
      gap: 32px;
      @media (max-width: 767.98px) {
        flex-direction: column;
        gap: 16px;
      }
    }
    .img.colL {
      width: 213px;
      overflow: hidden;
      margin: 0;
      img {
        aspect-ratio: 213 / 160;
        width: 100%;
        height: auto;
        object-fit: cover;
        display: block;
        object-position: center;
      }
    }
    .semi_cat_box {
      .semi_cat {
        display: flex;
        height: 34px;
        padding: var(--spacing--half, 4px) 24px;
        justify-content: center;
        align-items: center;
        gap: 10px;
        border-radius: var(--spacing--half, 4px);
        border: 2px solid #0084c2;
        background: #fff;
        color: #0084c2;
        font-family: "Noto Sans JP";
        font-size: clamp(14px, 2vw, 18px);
        font-style: normal;
        font-weight: 700;
        line-height: 19.6px; /* 108.889% */
        width: fit-content;
      }
    }
    .semi_info {
      margin: 0;
      margin-top: 1em;
      padding: 0;
      list-style-type: none;
      li + li {
        margin-top: 8px;
      }
      dl,
      li {
        margin: 0;
        padding: 0;
      }
      dt {
        color: var(--2, #717070);
        font-family: "Noto Sans JP";
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: 19.6px; /* 122.5% */
        margin: 0;
        padding: 0;
      }
      dd {
        color: #000;
        font-family: "Noto Sans JP";
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: 19.6px; /* 122.5% */
        letter-spacing: 0.8px;
        margin: 0;
        padding: 0;
        padding-left: 1em;
      }
    }
  }
}
.widget {
  .c-event-yearly-archives__title,
  .c-event-category-archives__title {
    position: relative;
    padding: 10px;
    &::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: -8px;
      transform: translateX(-50%);
      width: 100%;
      height: 4px;
      background: linear-gradient(
        to right,
        var(--color-primary) 0px,
        var(--color-primary) 40px,
        var(--color-secondary) 40px,
        var(--color-secondary) 100%
      );
      border-radius: 2px;
      z-index: 1;
    }
  }
  .c-event-yearly-archives__list,
  .c-event-category-archives__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    li {
      align-items: center;
      gap: 10px;
      align-self: stretch;
      border-bottom: 1px solid var(--TKP-Line, #b6b6b6);
      margin: 0;
      a {
        display: block;
        padding: var(--spacing-2, 16px);
        color: #000;
        font-family: "Noto Sans JP";
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
      }
    }
  }
}
.c-seminar__top-link {
  display: flex;
  align-items: center;
  color: #717070;
  a {
    color: var(--TKP-Text, #243047);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: clamp(14px, 2vw, 18px);
    font-style: normal;
    font-weight: 500;
    line-height: 38.4px; /* 213.333% */
    letter-spacing: 0.9px;
    padding: 4px 0;
    border-bottom: 1px solid #717070;
  }
}
.c-seminar__past-link {
  color: #717070;
  text-align: center;
  a {
    color: var(--TKP-Text, #243047);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: 18px;
    font-style: normal;
    font-weight: 500;
    line-height: 38.4px; /* 213.333% */
    letter-spacing: 0.9px;
    padding: 4px 0;
    border-bottom: 1px solid #717070;
  }
}
.c-seminar__cancel-policy-link {
  text-align: center;
  margin-top: 2em;
  .fa {
    color: var(--color-primary, #a30000);
  }
  a {
    color: var(--TKP-Text, #243047);
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 22.4px */
    letter-spacing: 0.8px;
  }
}
.c-seminar__pagenation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin: 32px 0 0 0;
  padding: 0;
  flex-direction: column;
}

/* セミナー詳細 */
#single-semi {
  .entry-header .head {
    width: 100%;
    display: flex;
  }
  .entry-header .head .state_box {
    width: clamp(80px, 20vw, 124px);
    height: clamp(80px, 20vw, 124px);
    display: flex;
    font-size: 1em;
  }
  .rec_semi_ttl span,
  .semi_ttl {
    color: var(--TKP-Text, #243047);
    font-family: "Noto Sans JP";
    font-size: clamp(16px, 2vw, 20px);
    font-style: normal;
    font-weight: 700;
    line-height: 160%; /* 32px */
    position: relative;
    width: 100%;

    @media (max-width: 991.98px) {
      padding-bottom: 1em;
    }

    .web {
      color: var(--2, #717070);
      font-family: "Noto Sans JP";
      font-size: 16px;
      font-style: normal;
      font-weight: 700;
      line-height: 140%; /* 22.4px */
      letter-spacing: 0.8px;
      display: flex;
      padding: var(--spacing--half, 4px) var(--spacing-2, 16px);
      justify-content: center;
      align-items: center;
      gap: var(--spacing-2, 16px);
      border-radius: 26px;
      background: var(--TKP-Right-Gray, #f0f0f0);
      width: fit-content;
      margin-bottom: 0.5em;
    }
    &::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: 0;
      transform: translateX(-50%);
      width: 100%;
      height: 4px;
      background: linear-gradient(
        to right,
        var(--color-primary) 0px,
        var(--color-primary) 40px,
        var(--color-secondary) 40px,
        var(--color-secondary) 100%
      );
      border-radius: 2px;
      z-index: 1;
    }
  }
  .entry-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }
  h1 {
    margin: 0;
  }
  .semi_cat {
    display: flex;
    height: 34px;
    padding: var(--spacing--half, 4px) 24px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    border-radius: var(--spacing--half, 4px);
    border: 2px solid #0084c2;
    background: #fff;
    color: #0084c2;
    font-family: "Noto Sans JP";
    font-size: 18px;
    font-style: normal;
    font-weight: 700;
    line-height: 19.6px; /* 108.889% */
    width: fit-content;
  }
  .semi_flex_box {
    @media (max-width: 991.98px) {
      flex-direction: column;
      gap: 16px;
      .colL {
        width: 100% !important;
        height: auto !important;
      }
    }
  }
  .colR {
    width: auto;
    padding-left: 1em;
  }
  .semi_info {
    margin: 0;
    margin-top: 1em;
    padding: 0;
    list-style-type: none;
    li,
    dl,
    dt,
    dd {
      margin: 0;
      padding: 0;
    }
    li + li {
      margin-top: 8px;
    }
    dt {
      color: var(--2, #717070);
      font-family: "Noto Sans JP";
      font-size: 16px;
      font-style: normal;
      font-weight: 700;
      line-height: 19.6px; /* 122.5% */
    }
    dd {
      color: #000;
      font-family: "Noto Sans JP";
      font-size: 16px;
      font-style: normal;
      font-weight: 500;
      line-height: 19.6px; /* 122.5% */
      letter-spacing: 0.8px;
    }
  }
  .semi_form_link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 2em;
    a {
      display: flex;
      width: 440px;
      padding: var(--spacing-3, 24px);
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: var(--spacing-1, 8px);
      border-radius: 6px;
      background: var(--TKP-Red, #a30000);

      /* button */
      box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.1);
    }
    .btm_m.red {
      border: none;
    }
    i {
      color: var(--color-primary, #a30000);
      font-family: "Font Awesome 5 Free";
      font-weight: 900;
      font-size: 1.2em;
    }
  }
  .semi_inst {
    .semi_inst_ttl {
      color: var(--TKP-Text, #243047);
      font-family: "Noto Sans JP";
      font-size: 28px;
      font-style: normal;
      font-weight: 500;
      line-height: normal;
      display: flex;
      padding: var(--spacing-2, 16px);
      align-items: center;
      gap: 10px;
      align-self: stretch;
      background: #f6e5e5;
    }
  }
  .reccomend .reccomend_ttl.utc {
    display: flex;
    padding: var(--spacing-1, 8px) var(--spacing-2, 16px);
    align-items: center;
    gap: 10px;
    align-self: stretch;
    background: #717070;
    margin-bottom: 2em;
  }
  .semi_txt {
    h2,
    h3,
    h4 {
      background: none;
      border-bottom: 2px solid var(--color-primary);
    }
  }
}

#single-semi .reccomend {
  max-width: 780px;
  margin: auto;
  .semibox {
    width: 100%;
    padding: 0;
    .semi_ttl::after {
      content: none;
    }
    .content {
      justify-content: center;
      padding: 1em;
    }
    .semi_flex_box {
      gap: 1em;
      .img.colL {
        width: 213px;
        height: auto;
      }
    }
  }
  .utc {
    margin: 0 0 0 auto;
  }
  .c-seminar__category-link-btn {
    color: var(--TKP-Text, #243047);
    text-align: center;
    font-family: "Noto Sans JP";
    font-size: clamp(14px, 2vw, 18px);
    font-style: normal;
    font-weight: 500;
    line-height: 38.4px; /* 213.333% */
    letter-spacing: 0.9px;
    padding: 4px 0;
    border-bottom: 1px solid #717070;
  }
}

/*------------------------------- Blog */

/*------------------------------- sitemap */

.c-sitemap-column {
  a {
    text-decoration: none;
    color: var(--TKP-Text, #243047);
    display: flex;
    align-items: center;
    gap: 8px;
    &::before {
      content: "\f0a9";
      font-family: "Font Awesome 5 Free";
      font-weight: 900;
      display: inline-block;
      width: 1em;
      height: 1em;
      line-height: 1em;
      text-align: center;
      color: var(--color-primary);
      font-size: 1em;
      vertical-align: middle;
    }
  }
}

/*------------------------------- HOME */
/* HOMEを固定ページで作成しているので、pageというclassがつき、pageに当てたスタイルが重複してしまう。
そのため、必ずpageよりも下にスタイルを記述すること。 */
.c-home-button a {
  border: 1px solid #666;
}
.page.home .main-section {
  margin-bottom: 0;
}
.home.page .site-body {
  padding-bottom: 0 !important;
  font-size: inherit;
  color: inherit;
  padding: 0;
  .site-body-container {
    padding: 0;
  }
}

.home {
  h2.wp-block-heading {
    position: relative;
    font-size: clamp(20px, 3vw, 28px) !important;
    &::before {
      content: "";
      display: block;
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      bottom: -8px;
      width: 60px;
      height: 4px;
      border-radius: 2px;
      background: linear-gradient(to right, #a30000 0 50%, #878686 50% 100%);
      z-index: 1;
    }
    @media (max-width: 768px) {
      margin-bottom: 36px !important;
      &::before {
        width: 40px;
      }
    }
  }
  .wp-block-query ul {
    list-style-type: none;
  }
  .c-news,
  .c-blog {
    h3.wp-block-heading {
      font-size: clamp(20px, 2vw, 24px) !important;
    }
  }
}

/* イベント */
.c-event__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  @media (max-width: 767.98px) {
    flex-direction: column;
    gap: 16px;
  }
}
.c-event__item {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border: 1px solid #ddd;
  width: calc((100% - 24px) / 2);
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  @media (max-width: 767.98px) {
    width: 100%;
  }
}
.c-event__link {
  position: relative;
  text-decoration: none;
  height: 100%;
  background: #fff;
}
.c-event__categories {
  position: absolute;
  top: 16px;
  padding: 4px 24px;
  background: #717070;
  color: white;
  font-size: 16px;
  z-index: 1;
}
.c-event__thumbnail {
  aspect-ratio: 530 / 260;
  width: 100%;
  height: auto;
  object-fit: cover;
}
.c-event__info {
  padding: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.c-event__title {
  color: #333;
  font-family: "Noto Sans JP";
  font-size: clamp(18px, 3vw, 22px);
  font-style: normal;
  font-weight: 500;
  line-height: 160%; /* 35.2px */
  border: none;
  margin: 0;
}
.c-event__meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  dt {
    width: 6em;
    color: #243047;
    font-family: "Noto Sans JP";
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 14px */
    display: flex;
    width: 80px;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    background: #f5f3f3;
    margin: 0;
  }
  dd {
    width: calc(100% - 6em - 16px);
    color: #333;
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 28.8px; /* 180% */
    margin: 0;
  }
}

/*------------------------------- モバイル諸々 */

/* SPモードで非表示にする処理 */
.c-mobile-mail {
  display: none;
}
@media (max-width: 991.98px) {
  .site-header-container {
    padding: 4px;
    .widget.widget_block,
    .global-nav {
      margin: 0;
      .c-header-search,
      .c-header-inquiry {
        display: none;
      }
      .c-mobile-mail {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        position: absolute;
        top: 16px;
        right: 65px;
        i {
          margin: 0;
        }
        a {
          width: fit-content;
          font-size: 20px;
          padding: 6px;
          color: var(--color-primary);
          border: 1px solid var(--color-primary);
          border-radius: 4px;
          display: flex;
          align-items: center;
          justify-content: center;
        }
      }
      .c-mobile-mail__caption {
        font-size: 10px;
        scale: 0.9;
        color: var(--color-primary);
        line-height: 1;
      }
    }
    .site-header-logo {
      max-width: 200px;
      img {
        width: auto;
      }
    }
  }
  .site-header {
    padding: 12px 0;
    background: #fff;
  }
}

/* ハンバーガーボタン */
#vk-mobile-nav-menu-btn {
  width: 34px;
  height: 34px;
  border-radius: 4px;
  top: 16px;
  right: 16px;
  left: initial;
  background-image: url(../images/img/mobile_menu_open.svg);
  background-position: center 50%;
  background-repeat: no-repeat;
  background-color: var(--color-primary);
  background-size: 24px 24px;
  border: none;
  overflow: visible;
  &.menu-open {
    background-image: url(../images/img/mobile_menu_close.svg);
  }
  &::after {
    content: "メニュー";
    display: block;
    width: 4em;
    height: 1em;
    position: absolute;
    bottom: -11px;
    left: -3px;
    color: var(--color-primary);
    text-indent: 0%;
    font-size: 10px;
    scale: 0.9;
  }
}
/* ハンバーガーメニュー */
#vk-mobile-nav {
  padding-bottom: 0;
  padding-left: 0;
  padding-right: 0;
  padding-top: 24px;
  .menu-item {
    a {
      padding: 1em;
      border-bottom: 1px solid var(--color-primary);
      color: var(--TKP-Text, #243047);
      font-family: "Noto Sans JP";
      font-size: 18px;
      font-style: normal;
      font-weight: 700;
      line-height: normal;
    }
  }
  nav > ul {
    padding-left: 8px;
    padding-right: 8px;
  }
  li {
    .menu-item {
      a {
        padding-left: 2em;
        border-bottom: 1px solid #b6b6b6;
        color: var(--TKP-Text, #243047);
        font-family: "Noto Sans JP";
        font-size: 16px;
        font-style: normal;
        font-weight: 400;
        line-height: 140%; /* 22.4px */
        letter-spacing: 0.8px;
      }
    }
    &:first-child {
      a {
        border-top: 1px solid var(--color-primary);
      }
    }
  }
  .acc-btn {
    border: none;
    top: 16px;
    background-image: url(../images/img/toggle.svg);
    background-position: center 50%;
    background-repeat: no-repeat;
    background-size: 24px 24px;
    transform: rotate(180deg);
    &.acc-btn-close {
      transform: rotate(0deg);
      transition: 0.5s;
    }
  }
  .wp-block-search__inside-wrapper {
    border-radius: 6px;
    .wp-block-search__input {
      border: none;
    }
    .wp-block-search__button {
      width: 46px;
      height: 46px;
      margin-left: 0;
      background-color: #666666;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 0 4px 4px 0;
    }
  }
  .c-mobile__tel {
    width: 100%;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-2, 16px) var(--spacing-3, 24px);
    flex-direction: column;
    align-items: center;
    border-radius: var(--spacing--half, 4px);
    background: #f1f1f1;
    p {
      margin: 0;
    }
    @media (min-width: 992px) {
      flex: 1 1 317px;
      max-width: 317px;
      min-width: 0;
    }
  }
  .c-mobile__tel-title {
    color: var(--TKP-Red, #a30000);
    font-family: "Noto Sans JP";
    font-size: 22px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    letter-spacing: 0.8px;
    text-align: center;
  }
  .c-mobile__tel-num {
    color: var(--TKP-Text, #243047);
    font-family: "Noto Sans JP";
    font-size: 30px;
    font-style: normal;
    font-weight: 500;
    line-height: 100%; /* 34px */
    letter-spacing: 1.7px;
    @media (min-width: 992px) and (max-width: 1199.98px) {
      font-size: clamp(16px, 3vw, 28px);
    }
    &::before {
      content: "\f095";
      font-family: "Font Awesome 5 Free";
      font-weight: 900;
      margin-right: 0.3em;
      font-size: 1em;
      vertical-align: middle;
      color: #717070;
    }
  }
  .c-mobile__tel-time {
    color: var(--TKP-Text, #243047);
    font-family: "Noto Sans JP";
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 0.7px;
    margin-top: 24px;
  }
  .c-mobile__button {
    display: flex;
    height: 70px;
    justify-content: center;
    align-items: center;
    gap: 4px;
    border-radius: 12px;
    background: var(--TKP-Red, #a30000);
    box-shadow: 2px 2px 4px 0 rgba(0, 0, 0, 0.1);
    color: var(--TKP-White, #fff);
    font-family: "Noto Sans JP";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.9px;
    width: 100%;
    margin-top: 8px;
  }
  .c-mobile-search {
    padding: 0 24px;
  }

  /* モバイルナビにロゴを追加 */
  .vk-mobile-nav-widget {
    .wp-block-image {
      img {
        max-width: 200px;
        height: auto;
        margin-left: 15px;
      }
    }
  }
}

.c-event-category-archives__title {
  margin-top: 0 !important;
}

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

.gap-0 {
  gap: 0 !important;
}

.border-bottom-gray {
  @media (min-width: 782px) {
    border-bottom: 2px solid rgb(113, 112, 112) !important;
  }
}

.c-border-box.fix-height {
  height: initial !important;
  @media (min-width: 782px) {
    height: 100% !important;
  }
}

.fs-14px {
  font-size: 14px !important;
}

.fs-20px,
h2.wp-block-heading.fs-20px {
  font-size: 20px !important;
}

h4.wp-block-heading.fs-20px {
  font-size: 20px !important;
}

.text-333 {
  color: #333 !important;
}

/* ターゲット要素の上でスクロールが止まるように設定 */
[id] {
  scroll-margin-top: 76px;
  @media (min-width: 782px) {
    scroll-margin-top: 146px;
  }
}

.tax-blog_category .page-header-title {
  width: 100%;
  text-align: left;
}

.mw-755px img {
  max-width: 755px !important;
}

.site-footer-copyright {
  text-align: center;
}

@media screen and (max-width: 781px) {
  .h-100-max-781 {
    height: 100%;
  }
}

/* archive-blog.phpとtaxonomy.phpで非表示にしたショートコードを完全に非表示（blog_category_archivesは除く） */
.archive.post-type-archive-blog .c-event-yearly-archives__title,
.archive.post-type-archive-blog .c-event-yearly-archives__list,
.tax .c-event-yearly-archives__title,
.tax .c-event-yearly-archives__list {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  visibility: hidden !important;
}

/* archive-blog.phpとtaxonomy.phpで特定のウィジェットブロックを非表示 */
body.archive.post-type-archive-blog #block-24,
body.archive.post-type-archive-blog #block-25,
body.tax-blog_category #block-24,
body.tax-blog_category #block-25,
body.archive.tax-blog_category #block-24,
body.archive.tax-blog_category #block-25,
.archive.post-type-archive-blog #block-24,
.archive.post-type-archive-blog #block-25,
.tax-blog_category #block-24,
.tax-blog_category #block-25,
body.archive.post-type-archive-blog #block-24.widget.widget_block,
body.archive.post-type-archive-blog #block-25.widget.widget_block,
body.tax-blog_category #block-24.widget.widget_block,
body.tax-blog_category #block-25.widget.widget_block,
body.archive.tax-blog_category #block-24.widget.widget_block,
body.archive.tax-blog_category #block-25.widget.widget_block {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  visibility: hidden !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
  overflow: hidden !important;
}

/* さらに具体的なセレクターで確実に非表示 */
body.archive.post-type-archive-blog .sub-section--col--two #block-24,
body.archive.post-type-archive-blog .sub-section--col--two #block-25,
body.tax-blog_category .sub-section--col--two #block-24,
body.tax-blog_category .sub-section--col--two #block-25,
body.archive.tax-blog_category .sub-section--col--two #block-24,
body.archive.tax-blog_category .sub-section--col--two #block-25,
body.archive.post-type-archive-blog .site-body .sub-section--col--two #block-24,
body.archive.post-type-archive-blog .site-body .sub-section--col--two #block-25,
body.tax-blog_category .site-body .sub-section--col--two #block-24,
body.tax-blog_category .site-body .sub-section--col--two #block-25,
body.archive.tax-blog_category .site-body .sub-section--col--two #block-24,
body.archive.tax-blog_category .site-body .sub-section--col--two #block-25 {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  position: absolute !important;
  left: -9999px !important;
}

/* archive-blog.phpとtaxonomy.phpでblock-26の空白を除去し上付きに */
.archive.post-type-archive-blog #block-26,
.tax #block-26 {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.archive.post-type-archive-blog #block-26 p:first-child,
.tax-blog_category #block-26 p:first-child,
.archive.tax-blog_category #block-26 p:first-child {
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  display: none !important;
}

.archive.post-type-archive-blog .sub-section--col--two,
.tax-blog_category .sub-section--col--two,
.archive.tax-blog_category .sub-section--col--two {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* taxonomy.phpのblock-26位置調整に特化 */
body.tax-blog_category #block-26,
body.archive.tax-blog_category #block-26 {
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.tax-blog_category #block-26 p:first-child,
body.archive.tax-blog_category #block-26 p:first-child {
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  display: none !important;
}

body.tax-blog_category #block-26 p:last-child,
body.archive.tax-blog_category #block-26 p:last-child {
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  display: none !important;
}

.mb-8px {
  margin-bottom: 8px !important;
}

.mb-12px {
  margin-bottom: 12px !important;
}

.vk_button_link_caption .vk_button_link_txt {
  font-weight: 700;
}

.vk-mobile-nav .c-mobile__tel .c-mobile__button {
  font-size: 20px !important;
  font-weight: 700 !important;
}

.company-table td a {
  color: #243047 !important;
}

/*------------------------------- radio.gif画像を含む要素の非表示化 */
/* radio.gifを含む画像と親要素を非表示 */
img[src*="radio.gif"] {
  display: none !important;
}

/* /audio/リンク内のradio.gif画像を含むp要素全体を非表示 */
p:has(a[href="/audio/"] img[src*="radio.gif"]) {
  display: none !important;
}

/*------------------------------- iOS自動リンク化防止 */
/* iOS Safariでの電話番号・FAX番号の自動リンク化を防ぐ */

/* 全体的な電話番号リンク化を無効化 */
a[href^="tel:"] {
  pointer-events: none !important;
  color: inherit !important;
  text-decoration: none !important;
  cursor: default !important;
}

/* 特定の電話番号クラスでの自動リンク化防止 */
.tel-num,
.c-cta-01__tel-num,
.c-mobile__tel-num {
  -webkit-touch-callout: none !important;
  -webkit-user-select: none !important;
  -khtml-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  pointer-events: none !important;
  color: inherit !important;
  text-decoration: none !important;
}

/* 電話番号を含むテキストの自動リンク化を防ぐ */
.tel-num a,
.c-cta-01__tel-num a,
.c-mobile__tel-num a,
a[href^="tel:"] {
  pointer-events: none !important;
  color: inherit !important;
  text-decoration: none !important;
  cursor: default !important;
}

/* iOSでの自動検出を無効にする追加スタイル */
[data-tel],
[data-phone] {
  -webkit-touch-callout: none !important;
  pointer-events: none !important;
}

/* FAX番号の自動リンク化も防ぐ */
a[href^="fax:"],
.fax-num {
  pointer-events: none !important;
  color: inherit !important;
  text-decoration: none !important;
  cursor: default !important;
}

.tax-event-category .site-body-container {
  background-color: transparent;
}

.d-flex {
  display: flex;
}

.justify-content-center {
  justify-content: center;
}
.align-items-center {
  align-items: center;
}

.w-100 {
  width: 100%;
}

.single-event .semi_noimage {
  aspect-ratio: 530 / 260;
}

/* セミナー画像（thumbSinigle）のobject-fit適用 */
.single-event .img.colL img.attachment-thumbSinigle {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
