/*
Theme Name: janms
Theme URI: 
Author: 日本関節神経学的治療研究会
Author URI: 
Description: 日本関節神経学的治療研究会
Version: 1.0
Template: twentytwentyfive
*/

/* reset */

/* .has-global-padding {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
} */

:where(.wp-site-blocks *:focus) {
    outline: none !important;
}

/* =============================================
サイトのスタイルで、Bootstrap上書き 
============================================== */
:root {
    --bs-body-color: #0F41C1;
    --bs-body-color-rgb: 15, 65, 193;
    --bs-heading-color: #0F41C1;
    --bs-link-color: #0F41C1;
    --bs-link-color-rgb: 15, 65, 193;
    --bs-link-hover-color: #2DA65C;
    --bs-link-hover-color-rgb: 45, 166, 92;
    --bs-link-decoration: underline;
    --bs-transition-base: all 0.2s ease-in-out;
}

.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0F41C1;
    --bs-btn-border-color: #0F41C1;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #2DA65C;
    --bs-btn-hover-border-color: #2DA65C;
    --bs-btn-focus-shadow-rgb: 15, 65, 193;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #0D3CB1;
    --bs-btn-active-border-color: #0D3CB1;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0F41C1;
    --bs-btn-disabled-border-color: #0F41C1;
}

/* =============================================
Cloudflare Turnstile バッジ
============================================== */
.cf-turnstile {
    display: flex;
    justify-content: center;
}

.cf-turnstile div {
    padding-bottom: 20px;
    display: flex;
    justify-content: center;
}


/* =============================================
header
============================================== */

header svg {
    fill: #0F41C1;
}

header.wp-block-template-part {
    position: sticky;
    top: 0;
    z-index: 999;
    background: #fff;
}

/* スムーススクロール */
html {
    scroll-behavior: smooth;
}

/* アンカーリンク用のオフセット */
section[id] {
    scroll-margin-top: 80px; /* ヘッダーの高さ分のオフセット */
}

.site-header__logo {
    height: 36px;
    width: auto;
    display: flex;
}

.site-header__logo a {
    height: 36px;
    width: 100%;
    display: block;
}

.site-header__logo a svg {
    height: 36px;
    width: auto;
}

@media screen and (max-width: 380px) {
  .site-header__logo,
  .site-header__logo a,
  .site-header__logo a svg{
    height: 32px;
  }
}




/* =============================================
footer
============================================== */
footer {
    padding: 0 20px;
}
@media screen and (max-width: 760px) {
    footer {
        padding: 0 10px;
        padding-top: 5px;
    }
}

footer svg {
    fill: #fff;
}

footer .site-footer {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}
@media screen and (max-width: 700px) {
    footer .site-footer {
        padding-top: 40px !important;
        padding-bottom: 10px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

.site-footer__logo {
    height: 36px;
    width: auto;
    display: flex;
}

.site-footer__logo a {
    height: 36px;
    width: 100%;
    display: block;
}

.site-footer__logo a svg {
    height: 36px;
    width: auto;
}

@media screen and (max-width: 380px) {
  .site-footer__logo,
  .site-footer__logo a,
  .site-footer__logo a svg{
    height: 32px;
  }
}

.site-footer__law {
    opacity: .5;
}

.site-footer__law .wp-block-navigation .wp-block-navigation-item:not(:last-child)::after {
    content: "|";
    font-size: 1em;
    line-height: 1em;
    display: flex;
    padding-left: 10px;
    color: #ddd;
}

.site-footer__nav li.wp-block-navigation-item a {
    opacity: .9;
    font-size: 15px;
}

.site-footer__nav li.wp-block-navigation-item a:hover{
    text-decoration: none !important;
    opacity: 1;
}

@media screen and (max-width: 1058px) {
    .site-footer__nav {
        padding-top: 20px;
    }
}

@media screen and (max-width: 700px) {
    .site-footer__nav {
        padding-top: 20px;
        gap: 0;
        width: 100%;
    }
     .site-footer__nav {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .site-footer__nav li a{
        padding: 10px 0;
        display: block;
    }

    .site-footer__law {
        justify-content: center;
        gap: 10px;
    }
}

@media screen and (max-width: 700px) {
    .footer__poricy {
        font-size: 10px!important;
    }
}

/* =============================================
main
============================================== */

main.has-global-padding {
    margin-top: 0 !important;
    min-height: calc(100vh - 300px);
    min-height: calc(100svh - 300px);
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}



main,
.site-main {
    overflow: hidden!important;
}


/* =============================================
button
============================================== */
:root :where(.wp-element-button, .wp-block-button__link){
    transition: all 0.2s ease-in-out;
}

:root :where(.wp-element-button:hover, .wp-block-button__link:hover) {
    background-color: var(--bs-link-hover-color)!important;
}

/* =============================================
home
============================================== */
.home main.has-global-padding {
    min-height: 100vh;
    min-height: 100svh;
}

.home header.wp-block-template-part {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: transparent;
}

.home .home-hero {
    position: fixed;
    top: 0;
    width: 100%;

    min-height: 100svh!important;
}

@media screen and (max-width: 767px) {
  .home .hero-cover-content {
    min-height: 95svh !important;
  }
}

.home main.has-global-padding {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.home header svg {
    fill: #fff;
}

.home.is-scrolled header svg {
    fill: var(--bs-body-color);
}
.home.is-scrolled header {
  transition:
    background-color 0.6s ease-in-out,
    backdrop-filter 0.6s ease-in-out,
    -webkit-backdrop-filter 0.6s ease-in-out;

  background-color: oklch(99% 0.02 250 / 0.6);
  backdrop-filter: blur(14px) saturate(180%) brightness(115%);
  -webkit-backdrop-filter: blur(14px) saturate(180%) brightness(115%);

  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
}

.has-modal-open .home.is-scrolled header {
    transition: none;
    background-color: transparent;
    backdrop-filter: inherit;
    box-shadow: none;
}

.home .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
    color: #fff;
    transition: all 0.2s ease-in-out;
}

.home .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover,
.home .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:active {
    color: var(--bs-link-hover-color);
}

.home.is-scrolled .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
    color: var(--bs-body-color);
    transition: all 0.2s ease-in-out;
}

.home.is-scrolled .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover,
.home.is-scrolled .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:active {
    color: var(--bs-link-hover-color);
}

.home.is-scrolled .site-footer .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content {
    color: #fff;
}


.home .wp-block-navigation__responsive-container.is-menu-open.is-menu-open .wp-block-navigation-item__content.wp-block-navigation-item__content {
    color: var(--bs-btn-active-border-color);
}


.home .has-background-dim {
    mix-blend-mode: multiply;
}

@media (max-width: 760px) {
    .home-feat-about {
        padding-left: 10px!important;
        padding-right: 10px!important;
    }
}

/* =============================================
category
============================================== */
.category main {
    min-height: 80vh;
}

.category-info .wp-block-post-date {
    flex-shrink: 0;
}

/* =============================================
画面の先頭に戻る
============================================== */
.site-scroll-top {
    display: flex;
    justify-content: flex-end;
    padding-bottom: 20px;
}

.site-scroll-top a{
    color: #fff;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: .9;
}

.site-scroll-top a:hover{
    opacity: 1;
}

.site-scroll-top i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #fff;
  color: var(--bs-body-color);
  font-size: 14px;
}


/* =============================================
スマホ__ドロワーメニュー
============================================== */
/* ドロワーメニュー__スクリブ */
.wp-block-navigation__responsive-container.is-menu-open.is-menu-open{
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.4)!important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* ドロワーメニュー__ボディ */
.wp-block-navigation__responsive-container.is-menu-open.is-menu-open .wp-block-navigation__responsive-close {
    background-color: #fff;
    height: 100vh;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 24px;
    max-width: 368px;
    position: relative;
}

/* ハンバガーメニュー__アイコン */
.wp-block-navigation__responsive-container-open.is-menu-open {
  width: calc(100% - 40px);
  margin: 0 auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}


.site-logo-drawer {
    display: none;
}

.has-modal-open .site-logo-drawer {
    display: block;
    margin-bottom: 24px;
}

.wp-block-site-logo.is-default-size img {
    width: 220px;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    padding-top: 0;
}

.has-modal-open .wp-block-navigation__responsive-close {
    margin-right: 0;
}





/* =============================================
お問い合わせ
============================================== */

.section-inquiry {
    padding-top: 60px;
}

/* 初期状態（非表示） */
#form-alert {
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

/* 表示状態 */
#form-alert.show {
  opacity: 1;
  pointer-events: auto;
}

#form-alert {
    padding: 0!important;
    background-color: #fff0f1!important;
    border-color: #f1aeb5!important;
}

.bg-danger {
    background-color: transparent !important;
    color: #dc3545;
    border: 1px solid #e0828b;
    font-weight: normal;
    border-radius: 14px;
    padding: 3px 6px;
    margin-left: 10px;
    font-size: 12px;
}

.alert__text {
    padding: 15px;
    margin-bottom: 0;
    color: #dc3545;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.alert__text .bi.bi-exclamation-triangle-fill {
    font-size: 16px;
    margin-right: 8px;
}

.wpcf7-not-valid-tip {
    color: #dc3232;
    font-size: 14px;
    line-height: 16px;
    font-weight: normal;
    display: block;
    padding-top: 8px;
    font-weight: 500;
}



.form-control.wpcf7-not-valid {
    border-color: #e0828b;
}

.cf7-step__confirm {
    background-color: #fafafa;
    border-radius: 20px;
    padding: 20px;
}

.fm-grid {
  display: grid;
  grid-template-columns: 1fr 2fr; /* ラベル列 / 値列 */
  gap: 0.5rem 1rem;
  align-items: start;

}

.fm-col .form-label {
    margin-bottom: 0;
}
.fm-col p{
    margin-bottom: 0;
}

.fm-col .form-control-plaintext {
    padding: 0;
}

.form-label {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.form-control-plaintext {
  margin: 0;
  white-space: pre-wrap; /* 改行保持 */
  word-break: break-word;
}



.cf7-step .btn-row p{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cf7-step .btn-row p br,
.cf7-step .btn-row p .wpcf7-spinner{
    display: none;
}

@media (max-width: 600px) {
  .fm-grid {
    grid-template-columns: 1fr; /* スマホでは1列 */
    gap: 0;
  }

  .fm-col {
    margin-bottom: 1rem;
  }
  .fm-col.-label {
    margin-bottom: 0;
  }
  .fm-col.-label .form-label {
    font-size: 13px;
    line-height: 1.2;
    opacity: .8;
  }
}

.wpcf7 form.sent .wpcf7-response-output {
    display: none;
}

.cf7-step__complate {
    min-height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fafafa;
    border-radius: 20px;
    padding: 20px;
}

.cf7-step__complate p {
    margin-bottom: 0;
}


.feat-media-text .wp-block-media-text__media{
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 600px) {
    .feat-media-text {
        gap: 40px;
    }
}

.feat-media-text .wp-block-media-text__media img {
    border-radius: 60px;
    width: 300px;
}

.site-header__nav__item {
    font-size: 15px !important;
}

.site-header__nav__item a:hover,
.site-header__nav__item a:active {
    text-decoration: none;
    color: var(--bs-link-hover-color);
}

.site-header__nav__item .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover,
.site-header__nav__item .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:active {
    color: var(--bs-link-hover-color);
}

/* =============================================
ヘッダー　お問い合わせボタン
============================================== */

.site-header__nav__item-inq a:hover,
.site-header__nav__item-inq a:active {
    text-decoration: none;
}

.wp-block-navigation ul li.site-header__nav__item-inq {
    padding: 8px 18px;
    background-color: var(--bs-body-color);
    border-radius: 18px;
    transition: all 0.2s ease-in-out;
    font-size: 14px !important;
}

.wp-block-navigation ul li.site-header__nav__item-inq:hover,
.wp-block-navigation ul li.site-header__nav__item-inq:active {
    background-color: var(--bs-link-hover-color);
}

.wp-block-navigation ul li.site-header__nav__item-inq a{
    display: flex;
    align-items: center;
}

.wp-block-navigation ul li.site-header__nav__item-inq a .wp-block-navigation-item__label {
    line-height: 1;
    position: relative;
    top: -1px;
}

.wp-block-navigation ul li.site-header__nav__item-inq > a::after {
  content: "\F138";
  font-family: 'bootstrap-icons';
  margin-left: 5px;
  display: inline-block;
  font-style: normal;
  font-weight: normal;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background-color: #fff;
  color: var(--bs-body-color);
  font-size: 12px;
  line-height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.has-modal-open .wp-block-navigation ul li.site-header__nav__item-inq > a::after {
    display: none;
}

.wp-block-navigation ul li.site-header__nav__item-inq a{
    color: #fff!important;
}


.has-modal-open .wp-block-navigation ul li.site-header__nav__item-inq {
        padding: 0;
        background-color: transparent;
        border-radius: 0;
}

.has-modal-open .wp-block-navigation ul li.site-header__nav__item-inq a{
        color: var(--bs-body-color) !important;
}

.home .wp-block-navigation__responsive-container-close svg{
    fill: var(--bs-body-color);
}




/* =============================================
見出し
============================================== */
.section-tit-deco::before {
  content: "";
  display: block;
  position: relative;
  top: -30px;
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, #1a4acc 50%, #6bd48c 50%);
}


@media (max-width: 1100px) {
    .home-feat-about__content {
        padding: 60px 30px;
    }
}

@media (max-width: 760px) {
    .home-feat-about__content {
        padding: 60px 20px!important;
    }
}

.home-feat-about__img .wp-block-image.size-full {
max-width: 360px;
border-radius: 15px;
overflow: hidden;
}



.home-feat-about__tit-col{
    width: 100%;
}
@media (max-width: 1100px) {
    .home-feat-about__tit-col{
        display: flex;
        justify-content: center;
    }
}


.home-feat-about__tit {
    margin-bottom: 20px!important;
}

.home-feat-about__desc {
    padding-top: 40px;
}

/* モバイル時は縦並び */
.home-feat-about__content__row {
    display: block;
}

@media (min-width: 1100px) {
  .home-feat-about__content__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 2rem;
    width: 100%;
  }

  .home-feat-about__img {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .home-feat-about__tit {
    grid-column: 2;
    grid-row: 1;
    justify-self: start;
    text-align: left;
    margin-left: 0!important;
    margin-right: 0!important;
    margin-bottom: 0!important;
  }

  .home-feat-about__desc {
    grid-column: 2;
    grid-row: 2;
    padding-top: 0;
  }
}

@media (max-width: 1100px) {
    .home-feat-about__content__row {
        max-width: 85%;
    }
}

@media (max-width: 760px) {
    .home-feat-about__content__row {
        max-width: 100%;
    }
}

@media (max-width: 1100px) {

    .wp-block-navigation__responsive-container-open:not(.always-shown) {
         display: flex !important;
    }
    .site-header__drawer {
        width: 24px;
        height: 24px;
    }
    .has-modal-open .site-header__drawer{
        width: 100%;
        height: auto;
    }
}


@media (max-width: 1100px) {
    .wp-block-navigation__responsive-container .wp-block-navigation__responsive-container-content {
        display: none;
    }
    .wp-block-navigation__responsive-container-open {
        display: flex;
    }
}


.deco-under-line {
    padding-left: .25em;
    padding-right: .25em;
    position: relative;
}

.deco-under-line:after {
    content: "";
    width: 90%;
    height: 12px;
    display: block;
    position: absolute;
    left: 5%;
    bottom: -10px;
}

@media (max-width: 680px) {
    .deco-under-line:after {
        height: 8px;
        bottom: -6px;
    }
}

.deco-under-line.-line-blue:after {
    background-image: url(line-blue.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.deco-under-line.-line-green:after {
    background-image: url(line-green.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.home-hero__scroll-down-wrap {
    max-width: 1340px;
}

.home-hero__scroll-down {
  writing-mode: vertical-rl;
  position: absolute;
  left: 0;
  bottom: -16px;
  transform: rotate(0deg);
  transform-origin: left top;
  white-space: nowrap;
  font-size: 0.75rem;
  padding: 0.5em;
  padding: 0!important;
}

@media (max-width: 680px) {
    .home-hero__scroll-down {
        font-size: 0.75rem!important;
    }
}

.home-hero__scroll-down:after {
    content: '';
    display: inline-block;
    color: #73D38D;
    width: 20px;
    height: 20px;
    background-image: url(arrow-down.svg);
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: 5px;
}
@media (max-width: 680px) {
    .home-hero__scroll-down:after {
        width: 18px;
        height: 18px;
    }
}

#home-hero-catch,
#home-hero-catch-sub {
  opacity: 0;
  transform: translateY(20px);
}


/* =============================================
固定ページ__メンバー一覧 表組
============================================== */
.wp-block-table.tb-member {
    max-width: 960px;
}

.wp-block-table.tb-member table {
    table-layout: fixed !important;
    width: 100%;
}

.wp-block-table.tb-member td,
.wp-block-table.tb-member th{
    border-left: 0 !important;
    border-right: 0 !important;
}

.wp-block-table.tb-member th {
    font-size: .875rem;
    opacity: .75;
}

.wp-block-table.tb-member table[style*=border-width] td{
    border-style: solid;
    border-top-width: 1px;
    border-top-color: #0f41c12e;
}

.wp-block-table.tb-member table tbody tr:nth-of-type(3) td:nth-of-type(1),
.wp-block-table.tb-member table tbody tr:nth-of-type(4) td:nth-of-type(1),
.wp-block-table.tb-member table tbody tr:nth-of-type(5) td:nth-of-type(1){
    border-top-width: 0px !important;
    visibility: hidden;
}

.wp-block-table.tb-member table thead tr th:nth-of-type(1),
.wp-block-table.tb-member table tbody tr td:nth-of-type(1) {
    width: 15% !important;
}
.wp-block-table.tb-member table thead tr th:nth-of-type(2),
.wp-block-table.tb-member table tbody tr td:nth-of-type(2) {
    width: 20% !important;
}
.wp-block-table.tb-member table thead tr th:nth-of-type(3),
.wp-block-table.tb-member table tbody tr td:nth-of-type(3) {
    width: 65% !important;
}

.wp-block-table.tb-member table tbody tr td:nth-of-type(3) a {
    text-decoration: none;
    opacity: .85;
}

.wp-block-table.tb-member table tbody tr td:nth-of-type(3) a::after {
    font-family: "bootstrap-icons";
    content: "\F1C5";
    padding-left: .5em;
    opacity: .65;
}

@media (max-width: 680px) {
    .wp-block-table.tb-member table,
    .wp-block-table.tb-member table thead,
    .wp-block-table.tb-member table tbody,
    .wp-block-table.tb-member table thead tr,
    .wp-block-table.tb-member table tbody tr,
    .wp-block-table.tb-member table thead tr th,
    .wp-block-table.tb-member table tbody tr th,
    .wp-block-table.tb-member table thead tr td,
    .wp-block-table.tb-member table tbody tr td{
        display: block;
        width: 100%!important;
    }
    .wp-block-table.tb-member table thead tr th {
        display: none;
    }
    .wp-block-table.tb-member table tbody {
        width: 100%;
    }
    .wp-block-table.tb-member table tbody tr td:nth-of-type(1)::before{
        content: "役員区分";
        font-size: 12px;
        display: block;
        opacity: .65;
    }
    .wp-block-table.tb-member table tbody tr td:nth-of-type(2)::before{
        content: "氏名";
        font-size: 12px;
        display: block;
        opacity: .65;
    }
    .wp-block-table.tb-member table tbody tr td:nth-of-type(3)::before{
        content: "所属";
        font-size: 12px;
        display: block;
        opacity: .65;
    }
    .wp-block-table.tb-member table tbody tr td:nth-of-type(2),
    .wp-block-table.tb-member table tbody tr td:nth-of-type(3){
        border-top: 0!important;
    }
    .wp-block-table.tb-member table tbody tr td:nth-of-type(1){
        padding-top: 12px!important;
        padding-bottom: 4px!important;
    }
    .wp-block-table.tb-member table tbody tr td:nth-of-type(2){
        border-top: 0!important;
        padding-top: 4px!important;
        padding-bottom: 4px!important;
    }
    .wp-block-table.tb-member table tbody tr td:nth-of-type(3){
        border-top: 0!important;
        padding-top: 4px!important;
        padding-bottom: 12px!important;
    }
    .wp-block-table.tb-member table thead tr th:nth-of-type(1),
    .wp-block-table.tb-member table tbody tr td:nth-of-type(1) {
        width: 100% !important;
    }
    .wp-block-table.tb-member table thead tr th:nth-of-type(2),
    .wp-block-table.tb-member table tbody tr td:nth-of-type(2) {
        width: 100% !important;
    }
    .wp-block-table.tb-member table thead tr th:nth-of-type(3),
    .wp-block-table.tb-member table tbody tr td:nth-of-type(3) {
        width: 100% !important;
    }
    .wp-block-table.tb-member table tbody tr:nth-of-type(3) td:nth-of-type(1),
    .wp-block-table.tb-member table tbody tr:nth-of-type(4) td:nth-of-type(1),
    .wp-block-table.tb-member table tbody tr:nth-of-type(5) td:nth-of-type(1){
        visibility: visible;
    }
}




/* =============================================
固定ページ__見出し
============================================== */
.page-ttl {
    padding-bottom: 4px!important;
}

@media (max-width: 680px) {
    .page-ttl{
        font-size: 32px!important;
    }
}

@media (max-width: 680px) {
    .post-topic-ttl {
        font-size: 24px !important;
    }
}

/* =============================================
固定ページ__背景色
============================================== */
.page-slug-about_anm,
.page-slug-member-list {
    background-color: #0f41c10d;
}




/* =============================================
最新情報・お知らせ__投稿
============================================== */
/* カテゴリーリンクタグ */
.cat-tag a:not(:last-child){
    margin-bottom: 4px;
}

@media (max-width: 680px) {
    .cat-tag a:not(:last-child){
        margin-bottom: 0;
    }   
}

:root :where(.cat-tag a:where(:not(.wp-element-button))) {
    padding: 3px 12px;
    line-height: 1.2;
    background-color: #0f41c112;
    display: inline-block;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s ease-in-out;
}

:root :where(.cat-tag a:where(:not(.wp-element-button))):hover,
:root :where(.cat-tag a:where(:not(.wp-element-button))):active {
    background-color: #2da65c47;
}

.cat-tag-meta a {
    padding: 3px 12px;
    line-height: 1.2;
    background-color: #0f41c112;
    display: inline-block;
    text-decoration: none;
    font-size: 12px;
    transition: all 0.2s ease-in-out;
}

.cat-tag-meta a:hover,
.cat-tag-meta a:active {
    background-color: #2da65c47;
}


.wp-block-categories-dropdown select,
.wp-block-archives-dropdown select{

    display: block;
    width: 100%;
    padding: .375rem 2.25rem .375rem .75rem;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 16px 12px;
    border: var(--bs-border-width) solid var(--bs-border-color);
    border-radius: var(--bs-border-radius);
    transition: border-color .15s 
ease-in-out, box-shadow .15s 
ease-in-out;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #0f41c112;
}


/* セレクトボックス__カテゴリー__年月 */
.wp-block-categories-dropdown select,
.wp-block-archives-dropdown select{
    background-image: url(./chevron-down.svg);
}

.wp-block-categories-dropdown {
    margin-right: 0!important;
}


.post-list-item{
    flex-wrap: wrap;
}

@media (max-width: 680px) {
    .post-list-item{
        flex-direction: column-reverse;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
}

.post-list-item__meta {
    width: 205px;
}
@media (max-width: 680px) {
    .post-list-item__meta {
        width: 100%;
        gap: 10px !important;
    }
}

.post-list-item__meta .wp-block-post-date {
    width: 104px;
}

.post-list-item__ttl {
    width: calc(100% - 205px);
}
@media (max-width: 680px) {
    .post-list-item__ttl {
        width: 100%;
        padding-bottom: 8px;
    }
}

.post-list-item-info {
    flex-wrap: wrap;
    gap: 0;
}
@media (max-width: 680px) {
    .post-list-item-info{
        flex-direction: column-reverse;
        padding-top: 20px !important;
        padding-bottom: 20px !important;
    }
}
.post-list-item-info__date{
    width: 120px;
}
@media (max-width: 680px) {
    .post-list-item-info__date {
        width: 100%;
        gap: 10px !important;
    }
}
.post-list-item-info__ttl {
    width: calc(100% - 120px);
}
@media (max-width: 680px) {
    .post-list-item-info__ttl {
        width: 100%;
        padding-bottom: 8px;
    }
}

/* ボタン__最新情報一覧 */
.btn-topic-list .wp-element-button,
.btn-topic-list .wp-block-button__link {
  background-color: #0f41c1;
  border-width: 0;
  color: var(--wp--preset--color--base);
  font-family: var(--wp--preset--font-family--noto-sans-jp);
  line-height: inherit;
  padding: 8px 24px;
  text-decoration: none;

  transition: all 0.2s ease-in-out;
  font-size: 15px !important;
}
.btn-topic-list .wp-element-button:hover,
.btn-topic-list .wp-block-button__link:hover {
  background-color: var(--bs-link-hover-color);
  border-color: transparent;
  color: var(--wp--preset--color--base);
}


/* ページャー */
:root :where(.wp-block-post-navigation-link) {
    font-size: 15px;
}

.wp-block-query-pagination-numbers {
    display: flex;
}

.page-numbers{
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 15px!important;
}

a.page-numbers {
    text-decoration: none;
}

.page-numbers.current {
    opacity: .65;
}



/* 最新情報・お知らせ__投稿一覧__クリッカブルエリア調整 */
.wp-block-post {
    position: relative;
    overflow: hidden;
}

.wp-block-post .post-list-item-info__ttl a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.post-list-item {
    position: relative;
}

.post-list-item__ttl a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.post-list-item .taxonomy-category a {
    position: relative;
    z-index: 2;
}




@media (max-width: 760px) {
    .home-membership,
    .home-member,
    .home-feat-amn {
        padding: 5px 10px!important;
    }
}

.home-membership__content,
.home-member__content,
.home-feat-amn__content {
    display: flex;
    justify-content: center;
}

.home-member__content{
    background-color: #eef5fd!important;
}

@media (max-width: 500px) {
    .home-membership__content,
    .home-member__content,
    .home-feat-amn__content {
        padding-left: 20px!important;
        padding-right: 20px!important;
    }   
}

.home-membership__row,
.home-member__row,
.home-feat-amn__row {
    display: flex;
    flex-wrap: wrap;
    max-width: 1340px;
    width: 100%;
    justify-content: center;
}

@media (max-width: 1100px) {
    .home-membership__row,
    .home-member__row,
    .home-feat-amn__row {
        flex-direction: column !important;
    }
}

.home-membership__row .col__tit,
.home-member__row .col__tit,
.home-feat-amn__row .col__tit{
    width: 35%;
}

@media (max-width: 1100px) {
    .home-membership__row .col__tit,
    .home-member__row .col__tit,
    .home-feat-amn__row .col__tit{
        width: 100%;
        justify-content: center;
        display: flex;
    }   
}

.home-membership__row .col__content,
.home-member__row .col__content,
.home-feat-amn__row .col__content{
    width: 65%;
}

@media (max-width: 1100px) {
    .home-membership__row .col__content,
    .home-member__row .col__content,
    .home-feat-amn__row .col__content{
        width: 85%;
    }   
}

@media (max-width: 760px) {
    .home-membership__row .col__content,
    .home-member__row .col__content,
    .home-feat-amn__row .col__content{
        width: 100%;
    }   
}

.-has-icon a{
    display: flex;
    align-items: center;
}
.-ic-pdf a::after{
    font-family: "bootstrap-icons";
    content: "\F63E";
    padding-left: .5em;
    opacity: .75;
}


.yt-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    margin-top: 0!important;
    background-color: #fafafa;
    border-radius: 10px;
    overflow: hidden;
}

#ytPlayer {
    position: absolute;
    inset: 0;
    aspect-ratio: 16/9;
    width: 100%;
    height: 100%;
}

.yt-shield{
  position:absolute; inset:0;
  background:#000;
  z-index: 30;
  pointer-events:none;
}

.yt-end {
    z-index: 40;
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, .6);
    background-image: url(./ytb-cover.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.is-hidden {
    display: none;
}


.btn-replay{
    border: none;
    cursor: pointer;
    padding: 10px 24px;
    background-color: var(--bs-body-color);
    border-radius: 18px;
    transition: all 0.2s ease-in-out;
    font-size: 14px;
    line-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: #0D3CB1;
    transition: all 0.2s ease-in-out;
    font-family: var(--wp--preset--font-family--noto-sans-jp);
}

.btn-replay:hover,
.btn-replay:active{
    background-color: var(--bs-link-hover-color);
}

.btn-replay__text:after{
    content: "\F4F3";
    font-family: 'bootstrap-icons';
    margin-left: 6px;
    /* display: inline-block; */
    font-style: normal;
    font-weight: normal;
    vertical-align: middle;
    /* width: 18px;
    height: 18px; */
    line-height: 18px;
    font-size: 18px;
}

.ytb-caption{
    color: rgba(0,0,0,.5);
    font-size: .8125rem;
}
@media (max-width: 760px) {
    .ytb-caption{
        font-size: .75rem;
    }   
}