/*@import "tailwindcss/base";
/*
 * uncomment if adding custom base styles
@import "./custom-base-styles.css";
*/

/*@import "tailwindcss/components";
/*
 * uncomment if adding custom commponents
@import "./custom-components.css";
*/

/*@import "tailwindcss/utilities";
/*
 * uncomment if adding custom utilities
@import "./custom-utilities.css";
*/


/* admin bar fix */
/*
body.admin-bar {
    max-height: calc(100vh - 32px);
}*/

/***************************************************
  wordpress内のCSSカスタム
***************************************************/
.wp-element-caption {
  white-space: pre-wrap;
}

/***************************************************
  全体共通設定
***************************************************/

/*WEB-------------フォント-------------*/
body {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 16px;
  color: #333;
  overflow-x: hidden;
  line-height: 2;
}

/*-- -- カラー変数：共通 --------------------*/
:root {
  --main_color: #007a88;
  --link_text: #dab424;

  /*グレー*/
  --pale_gray: #f3f6f7;
  --light_gray: #e5e7eb;
  --dark_gray: #b1b9b0;
  /* --dark_gray: #5a6363; */

  /*アクセントカラー（補色）*/
  --main_sub_cc1: #59554E;
  --main_sub_cc2: #3A3F44;
  --main_sub_cc3: #FFE0AD;


  /*アクセントカラー（補色）*/
  --main_sub_cc1: #59554E;
  --main_sub_cc2: #3A3F44;
  --main_sub_cc3: #FFE0AD;

  /*--主にプログラム用--*/
  --red: #AB2C2F;
  --blue: #58A9D6;
  --purple: #6D63A1;
  --yellow: #ACA33E;
  --green: #439F88;
  --orange: #D7730B;

  /*--各ROOMカラー--*/
  --room_all: #007a88;
  --room_all_rgba: rgba(0, 122, 136, 0.1);
  --room_a: #007a88;
  --room_a_rgba: rgba(0, 122, 136, 0.1);
  --room_b: #6D63A1;
  --room_b_rgba: rgba(109, 99, 161, 0.1);
  --room_c: #ACA33E;
  --room_c_rgba: rgba(172, 163, 62, 0.1);
  --room_d: #439F88;
  --room_d_rgba: rgba(67, 159, 136, 0.1);
  --room_e: #58A9D6;
  --room_e_rgba: rgba(88, 169, 214, 0.1);
  --room_f: #D7730B;
  --room_f_rgba: rgba(215, 115, 11, 0.1);

  /*--毎年全イベント共通--*/
  /*テクロスカラ-*/
  --tcross: #5E8000;
  --tcross_light: #AACE45;
  /*白*/
  --white: #fff;
}

/*----テキストカラー--------------------*/
.text_main {
  color: var(--main_color);
}

.text_tcross {
  color: var(--tcross);
}

.text_gold {
  color: var(--gold);
}

.text_gray {
  color: var(--dark_gray);
}

.text_navy {
  color: var(--navy);
}

.text_red {
  color: var(--red);
}

/*----リンクカラー--------------------*/
.text_link a {
  color: var(--main_color);
}

.text_link a:hover,
.text_bg_link a:hover {
  color: var(--link_text);
}


/*----背景カラー--------------------*/
.bg_main {
  background: var(--main_color);
  /*--　メインカラー　--*/
}

.bg_main_80 {
  background: rgb(0 122 136 / 80%);
}

.bg_tcross {
  background: var(--tcross);
}

.bg_link a {
  background: #42517e;
}

.bg_link a:hover {
  background: #b32d30;
}

.bg_yellow {
  background: #dab424;
}

.bg_onair {
  background: #df5656;
}

.bg_gold {
  background: #8b6b4e;
}

.bg_gray_main {
  background: var(--pale_gray);
}

.bg_gray_common {
  background-color: #636363;
}

.bg_gray_table {
  background-color: #efefef;
}

.bg_footer {
  background-color: #333;
}

.bg_room_a {
  background: var(--room_a);
}

.bg_room_b {
  background: var(--room_b);
}

.bg_room_c {
  background: var(--room_c);
}

.bg_room_d {
  background: var(--room_d);
}

.bg_room_e {
  background: var(--room_e);
}

.bg_room_f {
  background: var(--room_e);
}

/*----ボーダーカラー--------------------*/

.border_main {
  border-color: var(--main_color);
}

.border_gray_common {
  border-color: #636363;
}

.shd_register_btn {
  background-color: #144766;
}

/*----ボタンのホバー--------------------*/
.register_btn:hover {
  background: #ea3f42;
}

.outline_red_btn:hover {
  background: #b32d30;
}

.tcross_btn:hover {
  background: var(--tcross_light);
}

.login_btn:hover {
  background-color: #efefef;
}

.shd_register_btn:hover {
  background-color: #1F6C9C;
}

/***************************************************
				2カラムレイアウト
***************************************************/
main,
footer {
  margin-left: calc(4.3vw + 200px);
}

header {
  background-color: #fff;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  width: calc(4.3vw + 200px);
}

@media screen and (max-width: 956px),print {

  main{
    margin-left: 0;
    margin-top: 25px;
  }

  footer {
    margin-left: 0;
  }

  header {
    width: 100vw;
    height: auto;
    background: transparent;
    position: relative;
  }
}

/***************************************************
				時限設定のためのCSS
***************************************************/
.before_event,
.during_event,
.after_event {
  display: none;
}

/***************************************************
        header
***************************************************/
@media print {
  header {
    display: none;
  }
}

/* ---------- header -- sp nav------------------ */
@media screen and (max-width: 956px) {

  .header__inner>.header__logo {
    background-color: white;
    height: 64px;
    position: fixed;
    top: 0px;
    left: 0;
    width: 100%;
    z-index: 35;
    border-bottom: 1px solid var(--light_gray);
  }

  .header__inner>.header__logo a {
    background-color: white;
    display: inline-block;
    height: calc(100% - 18px);
    margin-left: 10px;
    margin-top: 10px;
  }

  .header__inner>.header__logo img {
    width: auto;
    height: 100%;
  }

  /* header > button */
  .header__inner>button {
    cursor: pointer;
    display: block;
    height: 63px;
    margin-left: auto;
    position: fixed;
    top: 0px;
    z-index: 40 !important;
    width: 63px;
  }

  .index .header__inner #sp_login,
  .index .header__inner #sp_register {
    display: none;
    visibility: hidden;
  }

  /* hamburger button */
  .hamburger {
    background-color: var(--main_color) !important;
    right: 0px;
  }

  .hamburger.-active .hamburger__line {
    background-color: white;
  }

  .hamburger.-active .hamburger__line::before {
    top: 0;
    transform: rotate(45deg);
  }

  .hamburger.-active .hamburger__line::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .hamburger.-active .hamburger__text::before {
    content: '閉じる';
  }

  .hamburger__line {
    display: block;
    height: 2px;
    position: absolute;
    top: 23px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    background-color: white;
    transition: 0.4s;
  }

  .hamburger__line:before,
  .hamburger__line:after {
    content: "";
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    background-color: white;
    transition: inherit;
  }

  .hamburger__line:before {
    top: -6px;
  }

  .hamburger__line:after {
    top: 6px;
  }

  .hamburger__text {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }

  .hamburger__text::before {
    content: "メニュー";
    text-align: center;
    color: white;
    font-size: 10px;
    font-weight: 900;
  }

  .square_login {
    background-color: white !important;
    border-left: 1px solid var(--light_gray);
    right: 63px;
  }

  .login__icon {
    display: block;
    height: 21px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 21px;
    background-color: white;
    transition: 0.4s;
  }

  .login__icon::before,
  .login__icon::after {
    font-family: "Font Awesome 5 Free";
    font-size: 21px;
    font-weight: 900;
    color: var(--main_color);
    display: block;
    position: absolute;
    text-align: center;
    transition: inherit;
    width: 100%;
  }

  .login__icon::before {
    content: "\f007";
    opacity: 1;
  }

  .login__icon:hover::before,
  .login__icon:active:before {
    opacity: 0;
  }

  .login__icon::after {
    content: "\f26c";
    opacity: 0;
  }

  .login__icon:hover::after,
  .login__icon:active::after {
    opacity: 1;
  }

  .login__text {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }

  .login__text::before {
    content: "ログイン";
    text-align: center;
    color: var(--main_color);
    font-size: 10px;
    font-weight: 900;
  }

  .square_register {
    background-color: white !important;
    border-left: 1px solid var(--light_gray);
    right: 126px;
  }

  .register__icon {
    display: block;
    height: 21px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 21px;
    background-color: white;
    transition: 0.4s;
  }

  .register__icon::before,
  .register__icon::after {
    font-family: "Font Awesome 5 Free";
    font-size: 21px;
    font-weight: 900;
    color: var(--main_color);
    display: block;
    position: absolute;
    text-align: center;
    transition: inherit;
    width: 100%;
  }

  .register__icon::before {
    content: "\f2f6";
    opacity: 1;
  }

  .register__icon:hover::before,
  .register__icon:active::before {
    opacity: 0;
  }

  .register__icon::after {
    content: "\e552";
    opacity: 0;
  }

  .register__icon:hover::after,
  .register__icon:active::after {
    opacity: 1;
  }

  .register__text {
    position: absolute;
    bottom: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
  }

  .register__text::before {
    content: "参加登録する";
    text-align: center;
    color: var(--main_color);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: -0.1em;
    white-space: nowrap;
  }

  /* nav-area ナビ全体の配置固定 */
  .header__nav-area {
    /* background-color: rgba(255, 255, 255, .7); */
    background-color: white;
    border-top: 1px solid rgba(0, 0, 0, .2);
    position: fixed;
    /* left: 0; */
    right: -100%;
    /* bottom: -100%; */
    bottom: 0;
    z-index: 40;
    height: calc(100% - 63px);
    width: 100%;
    visibility: hidden;
    transition: 0.4s;
    overflow-y: scroll;
  }

  .header__nav-area.-active {
    /* bottom: 0; */
    right: 0;
    visibility: visible;
  }

  /* global-navigation グローバルナビ */
  .global-navigation {
    list-style-type: none;
    padding-top: 24px;
    padding-right: 20px;
    padding-bottom: 20px;
    padding-left: 20px;
  }

  .global-navigation__list>li {
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
  }

  .global-navigation__list>li+li {
    margin-top: 15px;
  }

  .global-navigation__list>li a {
    display: block;
  }

  .global-navigation__list>li.nolink>a {
    border-radius: 3px;
    padding-left: 5px;
    padding-right: 5px;
  }

  .global-navigation__list .sub-menu {
    list-style-type: none;
    /* margin-top: 15px; */
  }

  .global-navigation__list .sub-menu li {
    border-bottom: none;
    list-style-type: none !important;
    padding-bottom: 15px;
    border-top: 1px solid #eee;
    /* padding-left: 1.3em; */
  }

  .global-navigation__list .sub-menu li>a {
    padding-top: 15px;
    padding-left: 1rem;
    color: #444444;
  }

  .global-navigation__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color 0.4s;
    font-size: 16px;
  }

  .global-navigation__link.-accordion {
    position: relative;
    background: none;
    border: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    padding: 0;
  }

  .global-navigation__link.-accordion::after {
    content: '';
    display: block;
    height: 12px;
    position: absolute;
    top: 50%;
    right: 5px;
    width: 2px;
    background-color: var(--dark_gray);
    transform: translateY(-50%);
    transition: transform 0.4s;
  }

  .global-navigation__link.-accordion::before {
    content: '';
    display: block;
    height: 2px;
    position: absolute;
    top: 50%;
    right: 0;
    width: 12px;
    background-color: var(--dark_gray);
    transform: translateY(-50%);
  }

  .global-navigation__link.-active::after {
    transform: translateY(-50%) rotate(-90deg);
  }

  .accordion {
    height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: 0.4s;
  }

  .accordion.-active {
    height: auto;
    margin-top: 15px;
    padding-bottom: 20px;
    padding-top: 10px;
    visibility: visible;
  }

  .accordion__list li {
    font-size: 0.9rem;
  }

  .accordion__list li+li {
    margin-top: 15px;
  }

  .accordion__link {
    color: var(--main_sub_cc1);
  }

  #accordion1 {
    background-color: var(--pale_gray);
  }

  #accordion1 li::before {
    content: "\2B1D";
    padding-left: 1.0em;
  }

  #accordion2 {
    background-color: var(--pale_gray);
  }

  #accordion2 li::before {
    content: "\2B1E";
    padding-left: 1.0em;
  }

    /* サブメニューをデフォルトで非表示にしたいときはここのコメントアウトを外す */
  /* .sub-menu {
    display: none;
    list-style: none;
  } */

  /* 親メニューのスタイル */
  .menu-item-has-children {
    padding-bottom: 0px!important;
  }
  
  .menu-item-has-children>a {
    cursor: pointer;
    position: relative;
    padding-bottom: 15px;
  }

  /* 親メニュークリック時の矢印アイコン */
  .menu-item-has-children>a::before,
  .menu-item-has-children>a::after {
    content: " ";
    background-color: var(--dark_gray);
    display: block;
    position: absolute;
  }

  .menu-item-has-children>a::before {
    position:absolute;
    height: 2px;
    width: 16px;
    right: 13px;
    top: 12px;
    transform: rotate(0deg); /* 閉じている状態のデフォルトの回転 */
  }

  .menu-item-has-children>a::after {
    position: absolute;
    height: 16px;
    width: 2px;
    right: 20px;
    top: 6px;
    transform: rotate(0deg); /* 開いている状態のデフォルトの回転 */
  }

  /* アクティブ時（サブメニュー展開時） */
  .menu-item-has-children.active>a::before {
    transform: rotate(180deg);
  }

  .menu-item-has-children.active>a::after {
    transform: rotate(90deg);
  }

  /* bodyに loaded クラスが付くまではtransitionを無効化 */
  /* 他のtransition設定を上書きするようにする */
  body:not(.loaded) .menu-item-has-children > a::before,
  body:not(.loaded) .menu-item-has-children > a::after {
      transition: none !important;
      display: none;
  }

  /* bodyに loaded クラスが付いたらtransitionを有効化 */
  body.loaded .menu-item-has-children > a::before,
  body.loaded .menu-item-has-children > a::after {
      transition: transform 0.3s ease; /* クリック時のアニメーション用 */
  }

  /* サブメニューの初期状態を非表示にする（js-open-on-loadがついていないもの用） */
  .menu-item-has-children > .sub-menu {
      display: none;
  }

  /* .js-open-on-load が付いているaタグの隣接するサブメニューは最初から表示 */
  .menu-item-has-children > a.js-open-on-load + .sub-menu {
      display: block;
  }

  /* JavaScriptでactiveクラスが付いた時に表示 (クリック開閉用) */
  .menu-item-has-children.active > .sub-menu {
      display: block;
  }

  /* SNSアイコン */
  .sns-icon {
    margin-left: 10px;
    margin-right: 10px;
    padding-top: 20px;
    /* padding-bottom: 120px; */
    display: flex;
  }

  .sns-icon a {
    display: block;
    padding: .9em 10px;
  }
}

/* ---------- header -- pc nav ------------------ */
@media screen and (min-width: 957px) {

  /* header scroll */
  header {
    overflow-y: scroll;
  }

  header::-webkit-scrollbar {
    width: 1px;
  }

  header::-webkit-scrollbar-track {
    background-color: #e5e7eb;
  }

  header::-webkit-scrollbar-thumb {
    background-color: #e5e7eb;
  }

  /* header logo pc */
  .header__inner>.header__logo {
    display: flex;
    justify-content: center;
    align-content: stretch;
    height: calc(4.3vw + 50px);
    /* height: calc(4.3vw + 100px); */
    margin: 0;
    /* border-bottom: dotted 1px var(--dark_gray); */
  }

  .header__inner>.header__logo a {
    display: block;
    align-self: auto;
    margin: auto;
    text-align: center;
  }

  .header__inner>.header__logo img {
    width: 50%;
    height: auto;
    /* margin: auto; */
    margin-left: 10px;
    margin-right: 10px;
  }

  /* header nav */
  .header__nav-area {
    padding-bottom: 144px;
  }

  .global-navigation__list li {
    font-size: 14px;
  }

  .global-navigation__list a {
    display: block;
    padding: .9em;
    transition: .3s all;
  }

  .global-navigation__list a:hover {
    background-color: rgb(100 100 100 / 5%);
    color: var(--main_color);
  }

  .global-navigation__list .nolink>a {
    /* カーソルやスタイルをリンクではなく通常のテキストのように見せる */
    pointer-events: none;
    cursor: default;
  }

  .global-navigation__list .sub-menu {
    list-style-type: none !important;
  }

  .global-navigation__list .sub-menu li {
    border-bottom: none;
    list-style-type: none !important;
    /* padding-left: 1.3em; */
  }

  .global-navigation__list .sub-menu li>a {
    padding-left: 1.5rem;
  }

    /* サブメニューをデフォルトで非表示にしたいときはここのコメントアウトを外す */
  /* .sub-menu {
    display: none;
    list-style: none;
  } */

  /* 親メニューのスタイル */
  .menu-item-has-children {
    border-top: dotted 1px var(--dark_gray);
  }
  .menu-item-has-children:last-child {
    border-bottom: dotted 1px var(--dark_gray);
    border-top: dotted 1px var(--dark_gray);
  }

  .menu-item-has-children>a {
    cursor: pointer;
    position: relative;
  }

/* 親メニュークリック時の矢印アイコン */
  .menu-item-has-children>a::before,
  .menu-item-has-children>a::after {
    content: " ";
    background-color: var(--main_sub_cc1);
    display: block;
    position: absolute;
  }

  .menu-item-has-children>a::before {
    height: 2px;
    width: 16px;
    right: 13px;
    top: 22px;
    transform: rotate(0deg); /* 閉じている状態のデフォルトの回転 */
  }

  .menu-item-has-children>a::after {
    height: 16px;
    width: 2px;
    right: 20px;
    top: 15px;
    transform: rotate(0deg); /* 開いている状態のデフォルトの回転 */
  }

  /* アクティブ時（サブメニュー展開時） */
  .menu-item-has-children.active>a::before {
    transform: rotate(180deg);
  }

  .menu-item-has-children.active>a::after {
    transform: rotate(90deg);
  }

  /* bodyに loaded クラスが付くまではtransitionを無効化 */
  /* 他のtransition設定を上書きするようにする */
  body:not(.loaded) .menu-item-has-children > a::before,
  body:not(.loaded) .menu-item-has-children > a::after {
      transition: none !important;
      display: none;
  }

  /* bodyに loaded クラスが付いたらtransitionを有効化 */
  body.loaded .menu-item-has-children > a::before,
  body.loaded .menu-item-has-children > a::after {
      transition: transform 0.3s ease; /* クリック時のアニメーション用 */
  }

  /* サブメニューの初期状態を非表示にする（js-open-on-loadがついていないもの用） */
  .menu-item-has-children > .sub-menu {
      display: none;
  }

  /* .js-open-on-load が付いているaタグの隣接するサブメニューは最初から表示 */
  .menu-item-has-children > a.js-open-on-load + .sub-menu {
      display: block;
  }

  /* JavaScriptでactiveクラスが付いた時に表示 (クリック開閉用) */
  .menu-item-has-children.active > .sub-menu {
      display: block;
  }

  /* SNSアイコン */
  /* .sns-icon {
    margin-left: 20px;
    margin-right: 20px;
    padding-top: 20px;
    display: flex;
  } */

  .sns-icon a {
    display: block;
    padding: .9em 10px;
  }

  .sns-icon a:hover {
    color: var(--main_color);
    transition: .3s all;
  }

  /* ナビ下部の固定ボタン */
  .register_pc {
    position: fixed;
    bottom: 0;
    left: 0;
    width: calc(4.3vw + 200px);
  }

  .register_pc a {
    overflow: hidden;
    position: relative;
    /* transition: ease .2s; */
    z-index: 10;
    font-size: 16px;
    letter-spacing: 0.1rem;
  }

  .register_pc a span {
    position: relative;
    z-index: 18;
  }

  .register_pc a::before {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    z-index: 15;
  }
}


/***************************************************
    共通項目：footer
***************************************************/

.footer_nav ul {
  display: flex;
  flex-wrap: wrap;
  font-size: 0.875rem;
  line-height: 1.75rem;
  white-space: nowrap;
}

/* footer -- メニュー周り ------------------------ */
#new-foot {
  display: flex;
  flex-direction: column;
  /* gap: 2rem; */
}

footer .widgettitle {
  font-weight: bold;
  color: var(--main_color);
  border-bottom: 1px dotted var(--main_color);
  padding-bottom: 4px;
  margin-bottom: 10px;
}

#footer_widget-jbc ul li,
#footer_widget-conf ul li,
#footer_widget-live ul li {
  font-size: 14px;
  line-height: 2.2;
}

#footer_widget-jbc ul li a,
#footer_widget-conf ul li a,
#footer_widget-live ul li a {
  display: block;
  width: 100%;
  height: 100%;
}

#footer_widget-jbc ul li a:hover,
#footer_widget-conf ul li a:hover,
#footer_widget-live ul li a:hover {
  color: var(--link_text);
}

#footer_widget-jbc ul li.nolink a:hover,
#footer_widget-conf ul li.nolink a:hover,
#footer_widget-live ul li.nolink a:hover {
  color: #333;
}

.footer_1, .footer_2, .footer_3 {
  margin-top: 20px;
  margin-bottom: 20px;
}

@media (min-width: 768px) {

  /* 例：md以上の画面サイズ */
  #new-foot {
    flex-direction: row;
  }

  #footer_widget-jbc, #footer_widget-conf, #footer_widget-live {
    width: 30%;
    /* float:left; */
  }

  #footer_widget-jbc, #footer_widget-conf {
    margin-right: 5%;
  }
}

/* footer -- 事務局周り ------------------------ */
address.organizer,
address.handling_office {
  font-style: normal !important;
  line-height: 1.65;
}

.organizer .widget-title,
.handling_office .widget-title {
  display: inline-block;
  font-size: 12px;
  border: 1px solid #333;
  border-radius: 4px;
  padding: 3px 16px;
  margin-bottom: 5px;
}



/***************************************************
    共通項目：ページの全体幅設定
***************************************************/

.page_container {
  max-width: 1024px;
  width: 80%;
  margin-right: auto;
  margin-left: auto;
  margin-top: 5rem;
  margin-bottom: 5rem;
}

.top_container {
  max-width: 1024px;
  width: 80%;
  margin-right: auto;
  margin-left: auto;
}

.top_content {
  margin-top: 20px;
}

.page_content {
  max-width: 1024px;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.footer_container {
  max-width: 1024px;
  width: 80%;
  margin-right: auto;
  margin-left: auto;
  margin-top: 1rem;
  margin-bottom: 2rem;
}


@media screen and (max-width: 956px) {
  .page_container {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
    margin-top: 4rem;
    margin-bottom: 4rem;
  }

  .page_content {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .top_container {
    width: 100%;
  }

  .footer_container {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }
}


/***************************************************
    共通項目：下層ページタイトル
***************************************************/

#page_title {
  position: relative;
  height: 208px;
  overflow: hidden;
}

.title_bg, .title_text {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: -1;
}

.title_bg::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}

.title_text h1 {
  color: var(--main_color);
  width: 100%;
  font-size: 2.25rem;
  line-height: 2.5rem;
  font-weight: bold;
  letter-spacing: 0.1em;
  z-index: 10;
}

.conf .title_text h1 {
  color: white;
}

/*-- newsカテゴリの投稿と404ページのみタイトル表示変更 --*/
.category-news .title_text,
.error404 .title_text {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: left;
}

.category-news .title_text h1,
.error404 .title_text h1 {
  color: var(--main_color);
  width: 70%;
  font-size: 2rem;
  line-height: 2.5rem;
  font-weight: bold;
  z-index: 10;
}

/*-- newsカテゴリの投稿と404ページのみタイトル表示変更 ここまで --*/

@media only screen and (min-width:957px) and (max-width : 1250px) {
  #page_title {
    height: 150px;
  }
}

@media only screen and (min-width:957px) and (max-width : 1250px) {
  #page_title {
    height: 150px;
  }
}

@media only screen and (max-width : 956px) {
  #page_title {
    margin-top: 38px;
    height: 128px;
  }

  .title_text h1 {
    width: 100%;
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .category-news .title_text h1,
  .error404 .title_text h1 {
    font-size: 1.25rem;
    line-height: 1.75rem;
    font-weight: bold;
    z-index: 10;
  }
}

/*-- パンくずリスト --*/
.breadcrumb {
  color: var(--dark_gray);
}

/***************************************************
    共通項目：下層ページテキスト余白調整
***************************************************/
.content>p {
  margin-bottom: 1rem;
}

.content>ul.wp-block-list {
  margin-bottom: 1.5rem;
}

.content>ul.wp-block-list li {
  list-style: disc;
  margin-left: 1rem;
  margin-bottom: 0.5rem;
}

.wp-block-image.alignleft {
  float: left;
  margin-right: 1em;
}

.wp-block-image.alignright {
  float: right;
  margin-left: 1em;
}

/***************************************************
	共通項目：タイトル
***************************************************/

h2.common_title {
  color: var(--main_color);
  position: relative;
  font-size: 1.875rem;
  font-weight: bold;
  line-height: 1.35;
  margin-bottom: 18px;
}

@media screen and (max-width: 956px) {
  h2.common_title {
    font-size: 1.5rem;
  }
}

/***************************************************
	共通項目：ボタン
***************************************************/
.btn_program {
  display: inline-block;
  border: solid 1px #000;
  background-color: #fff;
  text-align: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.btn_program:hover {
  color: #fff;
  background-color: #000;
  transition: 3ms;
}

@media only screen and (max-width : 956px) {
  .btn_program {
    display: block;
    margin-top: 0.5rem;
  }
}

/***************************************************
	共通項目：リストマーク
***************************************************/
.kome::before {
  content: "※";
  margin-left: -1rem;
}

ol.numbers {
  list-style-type: none;
  counter-reset: item;
  margin-left: 0;
}

ol.numbers li:before {
  counter-increment: item;
  content: counter(item)')';
  margin-right: 5px;
}


/***************************************************
	共通項目：時限設定のためのCSS
***************************************************/
.before_event,
.during_event,
.after_event {
  display: none;
}


/***************************************************
	共通項目：パーツ
***************************************************/
/*-----ページトップへ-------------------------*/
/* ページトップ Tailwindだと動作に不具合出る分 */
@media screen and (min-width: 957px) {
  .page_top {
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: opacity .6s, visibility 1s, transform 1s;
    text-shadow: rgba(255, 255, 255, .8) 0px 1px;
  }

  .page_top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0px);
  }

  .page_top:hover {
    opacity: .7;
  }
}


/*----- ボタンアクション -------------------------*/

/* ふわっと影がついて浮き上がる */
.btn_float {
  transition: all .3s;
}

.btn_float:hover,
.btn_float:active {
  box-shadow: 0 7px 10px rgba(0, 0, 0, 0.3);
  border-color: transparent;
  transform: scale(.97);
}

/* 斜めに流れる */
.btn_flow {
  position: relative;
  transition: ease .3s;
  overflow: hidden;
}

.btn_flow::before {
  /*背景が斜めに流れる*/
  content: "";
  /* 絶対配置で位置を指定 */
  position: absolute;
  top: 0;
  left: -130%;
  /* 色や形状 */
  background-color: rgba(255, 255, 255, 0.3);
  width: 120%;
  height: 100%;
  transform: skewX(-25deg);
}

.btn_flow:hover::before,
.btn_flow:active::before {
  animation: skewanime .5s forwards;
}

@keyframes skewanime {
  100% {
    left: -10%;
    /*画面の見えていない左から右へ移動する終了地点*/
  }
}


/***************************************************
    以下トップページ
*/

/* recaptchaバッジを基本非表示 */
body .grecaptcha-badge {
  display: none;
}

/* 問い合わせページだけ表示 postid-58はお問い合わせフォームを記載しているページのID */
body.postid-58 .grecaptcha-badge {
  display: block;
}

/***************************************************
    メインビジュアル
***************************************************/
@media only screen and (min-width: 660px) {
  .main_view {
    aspect-ratio: 8/3;
    background-attachment: fixed;
    background-position: center 56px;
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -10;
    margin-bottom: 16px;
  }
}

@media (min-width: 320px) and (max-width: 954px) {
  .hero_area {
    padding-top: 64px;
  }
}

.main_view .image_fit {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding-top: 10px;
  margin-bottom: 16px;
}

.hero_area {
  padding-bottom: 30px;
  /* z-index: -999; */
}

/*-----Conference-------------------------*/
#bg_conference_title {
  background-image: url(../img/jbc2025_conference_bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right 0% bottom 30%;
}

/*-----Live Demonstration-------------------------*/
#bg_live_title {
  background-image: url(../img/jbc2025_live_bg.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right 0% bottom 30%;
}




/***************************************************
    NEWS 
***************************************************/
/* news -- 新着情報 ------------------ */
/*--スクロールバー --*/
#news_scroll {
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  height: 98px;
}

#news_scroll::-webkit-scrollbar {
  width: 5px;
}

#news_scroll::-webkit-scrollbar-track {
  background-color: #ccc;
}

#news_scroll::-webkit-scrollbar-thumb {
  background-color: var(--main_color);
}

#news_scroll .newslist li a:hover {
  color: var(--main_color);
}

@media screen and (max-width: 660px) {
  #news_scroll {
    height: 146px;
  }
}

/***************************************************
    outline 開催概要
***************************************************/

.outline_table {
  width: 100%;
  border-top: 1px solid var(--light_gray);
  border-bottom: 1px solid var(--light_gray);
}

.outline_table th,
.outline_table td {
  padding: 1.2rem;
  text-align: left;
  vertical-align: top;
  background-color: #fff;
}

.outline_table th {
  width: 200px;
}

@media screen and (min-width: 661px) {

  .outline_table tr:nth-of-type(odd) th,
  .outline_table tr:nth-of-type(odd) td {
    background-color: var(--pale_gray);
  }
}

@media screen and (max-width: 660px) {

  .outline_table th,
  .outline_table td {
    padding: 1rem;
    display: block;
    width: 100%;
  }

  .outline_table th {
    background-color: var(--pale_gray);
  }

  .outline_table td {
    background-color: white;
  }
}

/***************************************************
    timetable タイムテーブル
***************************************************/
/* -- プログラム開閉パネル -- */
.timetable__image label,
.timetable_content {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.6s;
}

.timetable__image label {
  position: relative;
}

.timetable__image label::before,
.timetable__image label::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(50% - 3px);
  width: 16px;
  height: 2px;
  background-color: var(--dark_gray);
}

.timetable__image label::after {
  transform: rotate(-90deg);
  transition: all 0.4s;
}

.timetable_content {
  overflow: hidden;
  transition: 0.2s ease-in 0.1s, padding 0.4s ease-out 0s, opacity 0.8s;
  height: 0;
  opacity: 0;
  padding: 0 0;
  transform: scaleY(0);
  transform-origin: top center;
}

.toggle:checked+label+.timetable_content {
  height: auto;
  opacity: 1;
  padding: 0 0 8px;
  transform: scaleY(1);
}

.toggle:checked+label::before,
.toggle:checked+label::after {
  background-color: var(--main_color);
}

.toggle:checked+label::after {
  transform: rotate(0deg);
}


/***************************************************
    unit 取得単位開閉
***************************************************/
/* 各単位の装飾 【live-program専用】 */
#program_unit .unit_name {
  font-size: 16px;
  font-weight: normal;
  position: relative;
  padding-left: 16px;
}

#program_unit .unit_name::before {
  content: '●';
  display: inline-block;
  position: absolute;
  left: 0.1rem;
  font-size: 6px;
}

#program_unit .unit_content {
  display: none;
}


/* 開閉する場合の装飾 */
#unit .textwidget.custom-html-widget {
  display: contents;
  /* これで不要な余白や表示の崩れを防げます */
}

#unit .unitToggle {
  display: none;
}

#unit .unit-row label {
  cursor: pointer;
  display: block;
  font-weight: bolder;
  position: relative;
}

#unit .unit-row label::before {
  content: "";
  width: 12px;
  height: 12px;
  border-top: 3px solid #666;
  border-right: 3px solid #666;
  -webkit-transform: rotate(135deg);
  position: absolute;
  top: calc(50% - 6px);
  right: 24px !important;
  transform: rotate(135deg);
}

#unit .unit_content {
  height: 0;
  min-height: 0;
  opacity: 0;
  padding: 0 28px;
  transition: .3s;
  visibility: hidden;
}

#unit .unitToggle:checked+label+.unit_content {
  height: auto;
  min-height: 2em;
  opacity: 1;
  padding: 0px 24px 20px;
  transition: all .3s;
  visibility: visible;
}

#unit .unitToggle:checked+label::before {
  transform: rotate(-45deg);
}

/* 各単位の装飾 【home専用】 */
#unit .unit-row {
  border: 1px solid var(--dark_gray);
  background-color: rgb(0, 0, 0, 0.05);
  margin-top: 0.5rem;
  margin-bottom: .5rem;
}

/* 各単位の装飾 【個別ページ専用】 */
#unit_sammary .unit-row .unitToggle,
#unit_sammary .unit-row .unit_content {
  display: none;
}

#unit_sammary .unit-row label {
  position: relative;
}

#unit_sammary .unit-row label::before {
  content: '●';
  display: inline-block;
  position: absolute;
  left: 0.5rem;
  font-size: 6px;
}

/* トップページここまで
***************************************************/



/***************************************************
    下層ページ
***************************************************/
#program_path a:hover {
  color: white;
  background-color: var(--main_color);
}

/*---- table -----------------------*/
.faq_contents_table,
.register_table {
  border-bottom: 1px solid var(--light_gray);
  border-right: 1px solid var(--light_gray);
  width: 100%;
}

.faq_contents_table th,
.faq_contents_table td,
.register_table th,
.register_table td {
  border-top: 1px solid var(--light_gray);
  border-left: 1px solid var(--light_gray);
  padding: 1.2rem;
  text-align: left;
  vertical-align: middle;
  background-color: #fff;
}

.faq_contents_table th {
  background-color: rgb(221, 213, 213, 0.25);
  width: 250px;
}

@media screen and (max-width: 660px) {

  .faq_contents_table th,
  .faq_contents_table td {
    display: block;
    width: 100%;
  }
}

/*---- ごあいさつ -----------------------*/
.img_right {
  width: 180px;
  height: auto;
  margin-right: 0;
  margin-left: auto;
}

/*---- 参加登録ページのボタン -----------------------*/
.btn_register_fixed {
  background-color: rgb(0, 0, 0, 0.3);
  position: fixed;
  bottom: 0;
  z-index: 10;
  text-align: center;
  width: 100%;
}



/***************************************************
						コンタクトフォーム
***************************************************/
.wpcf7-form {
  border-top: 1px solid var(--light_gray);
  margin-top: 2.5em;
}

.wpcf7-form p {
  margin-top: 1.5em;
}

.Form-Item-Label-Required {
  background-color: var(--main_color);
  border-radius: 3px;
  color: #fff;
  display: inline-block;
  font-size: 12px;
  margin-left: 4px;
  padding-top: 4px;
  padding-bottom: 4px;
  width: 48px;
  text-align: center;
}

.wpcf7-form-control-wrap {
  border-bottom: 1px solid var(--light_gray);
  display: block;
  padding-bottom: 1.5em;
  padding-top: .8em;
}

.wpcf7-form-control-wrap input::placeholder,
.wpcf7-form-control-wrap textarea::placeholder {
  color: var(--dark_gray);
}

.wpcf7-form-control-wrap input[type="text"],
.wpcf7-form-control-wrap input[type="email"],
.wpcf7-form-control-wrap input[type="tel"],
.wpcf7-form-control-wrap textarea {
  background: var(--pale_gray);
  border: 1px solid var(--light_gray);
  border-radius: 6px;
  padding-left: 1em;
  padding-right: 1em;
  height: 48px;
  flex: 1;
  width: 100%;
  max-width: 410px;
  font-size: 18px;
}

.wpcf7-form-control-wrap textarea {
  height: 150px;
  width: 100%;
  max-width: 768px;
  padding-bottom: 1em;
  padding-top: 1em;
}

.wpcf7-submit {
  background-color: var(--main_color);
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
  display: block;
  font-weight: bold;
  font-size: 20px;
  letter-spacing: 0.05em;
  margin-top: 32px;
  /* margin-left: auto;
  margin-right: auto; */
  padding-top: 20px;
  padding-bottom: 20px;
  transition: .3s background-color;
  width: 320px;
}

.wpcf7-submit:hover {
  background-color: #03a0b2;
  box-shadow: 5px 5px 5px rgb(0, 0, 0, 0.5);
}

@media only screen and (max-width : 768px) {
  .wpcf7-submit {
    margin-left: auto;
    margin-right: auto;
  }
}


/***************************************************
						プログラム詳細
***************************************************/
/*----PROGRAM詳細---------------------*/

.nav-tabs {
  border-bottom: 1px solid #000;
}

.nav-tabs .nav-link {
  text-align: center;
  border-radius: 0;
  color: #9CA3AF;
  font-weight: bold;
}

.nav-tabs a.nav-link:hover {
  border-bottom: 1px solid #42517e;
  font-weight: bold;
}

.nav-tabs .nav-link.active {
  color: #000;
  font-weight: bold;
  border-top: 1px solid #000;
  border-right: 1px solid #000;
  border-left: 1px solid #000;
  border-bottom: 1px solid #fff;
  background: #fff;
}

.nav-tabs .nav-link.active:hover {
  border-bottom: 1px solid #fff;
}

.nav-tabs .nav-item {
  margin-bottom: -2px;
  cursor: pointer;
}



/***各ルームのカラー***/
/*---ROOM別ボタン---------------*/

.btn_all {
  color: var(--room_all);
  background-color: #fff;
  border-color: var(--room_all);
}

.btn_all:hover,
.btn_all.current {
  color: #fff;
  background-color: var(--room_all);
}

.btn_roomA {
  color: var(--room_a);
  background-color: #fff;
  border-color: var(--room_a);
}

.btn_roomA:hover,
.btn_roomA.current {
  color: #fff;
  background-color: var(--room_a);
}

.btn_roomB {
  color: var(--room_b);
  background-color: #fff;
  border-color: var(--room_b);
}

.btn_roomB:hover,
.btn_roomB.current {
  color: #fff;
  background-color: var(--room_b);
}

.btn_roomC {
  color: var(--room_c);
  background-color: #fff;
  border-color: var(--room_c);
}

.btn_roomC:hover,
.btn_roomC.current {
  color: #fff;
  background-color: var(--room_c);
}

.btn_roomD {
  color: var(--room_d);
  background-color: #fff;
  border-color: var(--room_d);
}

.btn_roomD:hover,
.btn_roomD.current {
  color: #fff;
  background-color: var(--room_d);
}

.btn_roomE {
  color: var(--room_e);
  background-color: #fff;
  border-color: var(--room_e);
}

.btn_roomE:hover,
.btn_roomE.current {
  color: #fff;
  background-color: var(--room_e);
}

.btn_roomF {
  color: var(--room_f);
  background-color: #fff;
  border-color: var(--room_f);
}

.btn_roomF:hover,
.btn_roomF.current {
  color: #fff;
  background-color: var(--room_f);
}


/*---ROOM別詳細部分カラー---------------*/

.roomAll_time {
  background-color: var(--room_all_rgba);
  color: var(--room_all);
  border-right: 3px solid var(--room_all);
}

.text_roomAll {
  color: var(--room_all);
}

.roomA_time {
  background-color: var(--room_a_rgba);
  color: var(--room_a);
  border-right: 3px solid var(--room_a);
}

.text_roomA {
  color: var(--room_a);
}

.roomB_time {
  background-color: var(--room_b_rgba);
  color: var(--room_b);
  border-right: 3px solid var(--room_b);
}

.text_roomB {
  color: var(--room_b);
}

.roomC_time {
  background-color: var(--room_c_rgba);
  color: var(--room_c);
  border-right: 3px solid var(--room_c);
}

.text_roomC {
  color: var(--room_c);
}

.roomD_time {
  background-color: var(--room_d_rgba);
  color: var(--room_d);
  border-right: 3px solid var(--room_d);
}

.text_roomD {
  color: var(--room_d);
}

.roomE_time {
  background-color: var(--room_e_rgba);
  color: var(--room_e);
  border-right: 3px solid var(--room_e);
}

.text_roomE {
  color: var(--room_e);
}

.roomF_time {
  background-color: var(--room_f_rgba);
  color: var(--room_f);
  border-right: 3px solid var(--room_f);
}

.text_roomF {
  color: var(--room_f);
}

@media only screen and (max-width : 768px) {
  .roomA_time {
    border-right: none;
    border-left: 3px solid var(--room_a);
  }

  .roomB_time {
    border-right: none;
    border-left: 3px solid var(--room_b);
  }

  .roomC_time {
    border-right: none;
    border-left: 3px solid var(--room_c);
  }

  .roomD_time {
    border-right: none;
    border-left: 3px solid var(--room_d);
  }

  .roomE_time {
    border-right: none;
    border-left: 3px solid var(--room_e);
  }

  .roomF_time {
    border-right: none;
    border-left: 3px solid var(--room_f);
  }

  .roomAll_time {
    border-right: none;
    border-left: 3px solid var(--room_all);
  }
}


/* 配信時間中のログインボタン */
#live_login {
  animation: 0.2s ease-in-out;
}

@keyframes uyon {
  0% {
    opacity: 1;
    transform: scaleY(1) scaleX(1);
  }

  20% {
    opacity: 0.8;
  }

  70% {
    opacity: 0.2;
    transform: scaleY(1.6) scaleX(1.2);
  }

  80% {
    opacity: 0;
    transform: scaleY(1.6) scaleX(1.2);
  }

  90% {
    opacity: 0;
    transform: scaleY(1) scaleX(1);
  }
}


/***************************************************
				治療戦略
***************************************************/

    .case_section {
        border-left: 4px solid var(--main_color);
        padding: 0 0 4rem;
    }

    .case_title {
      background-color: rgba(0, 122, 136, 0.1); /* 古いブラウザ用フォールバック */
      background-color: color-mix(in srgb, var(--main_color) 10%, transparent);
    }

    .case_title h2 {
        color: var(--main_color);
        position: relative;
    }

    .case_title h2::before {
        content: "●";
        display: inline-block;
        position: absolute;
        left: -0.75rem;
    }

    .section_intro ul li {
        line-height: 1.5;
        padding-bottom: 4px;
    }
    /* .case_section dl dt,
    .case_section dl dd {
        line-height: 2;
    } */

    .section_intro ul dl dt {
        width: 10%;
    }
    .section_intro ul dl dd {
        width: 90%;
    }

    .section_intro ul .case_head {
        display: inline-block;
        border: solid 1px #333;
        border-radius: 4px;
        padding-left: 0.5rem;
        padding-right: 0.5rem;
        margin-right: 0.25rem;
    }

    .section_header,
    .section_body {
        width: 100%;
    }

    .section_header dl {
        flex-grow: 1;
    }

    .section_header p {
        width: 20%;
        height: auto;
    }

    .section_body {
        border: 1px solid var(--main_color);
        /* margin-left: 15%; */
        margin-left: 1.25rem;
        margin-right: 1.25rem;
        margin-top: 1rem;
        /* margin-top: .5rem; */
        width: auto;
    }

    .section_body ul {
        max-width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .section_body li {
        margin-bottom: 1rem;
        margin-top: 1rem;
        width: 100%;
    }

    .section_body li:last-child {
        margin-bottom: 2rem;
        margin-top: 1rem;
        width: 100%;
    }

    .section_body li img,
    .section_body li video  {
        display: block;
        margin: 0 auto;
        /* max-width: 80%; */
    }

    .section_body li.flex img,
    .section_body li video {
        /* max-width: 39%; */
        height: auto;
        /* margin: 0 1% 0 1%; */
    }

    /* 詳しくみるの開閉 */
    .section_body .casesToggle {
        display: none;
    }

    .section_body .btn {
        color: var(--main_color);
        cursor: pointer;
        display: block;
        position: relative;
        text-align: center;
        padding-top: 1rem;
        font-size: 1.125rem;
    }

    .section_body .btn::after {
        content: "";
        width: 12px;
        height: 12px;
        border-top: 3px solid var(--main_color);
        border-right: 3px solid var(--main_color);
        -webkit-transform: rotate(135deg);
        position: absolute;
        top: 50%;
        /* top: calc(50% - 6px); */
        right: 24px;
        transform: rotate(135deg);
        transition: .3s;
    }

    .section_body .cases_content {
        height: 0;
        min-height: 0;
        opacity: 0;
        padding: 0;
        /* margin: 0; */
        transition: .3s all;
        visibility: hidden;
    }

    .section_body .casesToggle:checked+.btn+.cases_content {
        height: auto;
        min-height: 200px;
        opacity: 1;
        padding: 0;
        transition: .3s all;
        visibility: visible;
    }

    .section_body .casesToggle:checked+.btn::after {
        transform: rotate(-45deg);
    }
    
    #case-pdf a:hover {
        color: var(--link_text);
    }
    @media screen and (max-width: 956px) {
        .case_section {
            border-left: none;
        }
    
        .case_title h2::before {
            content: none;
        }

        .section_intro ul dl dt {
            width: 20%;
        }
        .section_intro ul dl dd {
            width: 80%;
        }
        .section_body {
            margin-right: 0;
            margin-left: 0;
        }
        .section_body ul {
            max-width: 90%;
        }

    }


/***************************************************
    モーダル
***************************************************/
/* 画像モーダルの土台 */
.modal_pop_img {
  position: fixed;
  inset: 0;
  z-index: 9997;
  opacity: 0;
  transition: opacity .3s ease; display:none;
}

.modal_pop_img .modal_bg {
  position: fixed;
  inset: 0;
  background: rgb(255, 255, 255, 0.5);
  z-index: 9998;
}

.modal_pop_img .modal_pop_main { 
  position: relative;
  width: 100%; 
  height:100%;
}

.modal_pop_img .modal_close_btn {
  position: fixed;
  top: 20px; 
  right: 20px;
  font-size: 78px;
  line-height: 1;
  color: #333;
  background: none;
  border: 0;
  cursor: pointer;
  z-index: 10000;
}

.modal_pop_img .modal_close_btn:hover { 
  opacity: .7;
}

/* 中央に原寸フィット */
.modal_pop_img .image-container {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  z-index: 9999;
  max-width: 95vw;
  max-height: 85vh;
  box-shadow: 0 0 10px rgba(0,0,0,.5);
}

.modal_pop_img .modal_image {
  display: block;
  max-width: 95vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* サムネの“再生アイコン”は使わないので何も出さない（念のため） */
.popup-trigger-img {
  cursor:zoom-in;
}

@media (max-width:768px) {
  .modal_pop_img .modal_close_btn { 
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 64px;
  }
}



/***************************************************
    PAGE TOP
***************************************************/

/*リンクの形状*/
#page_top {
  width: 60px;
  height: 60px;
  position: fixed;
  right: 0;
  bottom: 0;
  background: rgb(0 0 0 / 30%);
  opacity: 0.6;
  z-index: 9999;
}

#page_top a {
  position: relative;
  display: block;
  width: 60px;
  height: 60px;
  text-decoration: none;
}

#page_top a:hover {
  opacity: 0.3;
}

#page_top a::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  content: '\f106';
  font-size: 25px;
  color: #fff;
  position: absolute;
  width: 30px;
  height: 30px;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin: auto;
  text-align: center;
}