/*
Theme Name: endoflifecare
Theme URI: 
Template: lightning
Description: 
Author: 
Tags: 
Version: 0.7.0
*/

/*--------------------------------------
汎用
--------------------------------------*/
:root {
  --category-color01: #2d881a;
  --category-color02: #a2ca1c;
  --category-color03: #0fa2d9;
  --category-color04: #64a1e6;
  --category-color05: #1356a2;
}

.pc_off {display: none;}
@media(max-width:767px){.pc_off {display: block;}}
.sp_off {display: block;}
@media(max-width:767px){.sp_off {display: none;}}

a {
  color: var(--vk-color-primary);
}
a:hover {
  color: var(--vk-color-primary-dark);
}
.red {
  color: #b01c1c;
}
.t-c {
  text-align: center;
}
.t-r {
  text-align: right;
}
.pe_none {
  pointer-events: none;
}
.page_btn {
  margin-bottom: 20px;
}
.page_btn a {
  border: 1px solid var(--vk-color-primary);
  background-color: var(--vk-color-primary);
  padding: 10px 20px;
  display: inline-block;
  color: #fff;
  text-decoration: none;
  border-radius: 10px;
  transition: 0.2s;
}
.page_btn a:hover {
  background-color: #fff;
  color: var(--vk-color-primary);
}
h3 {
  border-bottom: 3px dotted var(--vk-color-primary);
  padding: 0 10px 8px;
  margin-top: 3rem;
}
h4 {
  border-left: 5px solid var(--vk-color-primary);
  padding-left: 9px;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
h5 {
  font-weight: normal;
  color: #46ac2a;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
table th,
table td {
  border-color: #333;
}
table th {
  background-color: var(--vk-color-primary);
  color: #fff;
}
table td {
  background-color: #fff;
}
ul.style_none {
  list-style-type: none;
  padding-left: 0.5em;
}

.dl_flex {
  display: flex;
  flex-wrap: wrap;
}
.dl_flex > dt,
.dl_flex > dd {
  margin-bottom: 1rem;
  padding: 5px 10px;
}
.dl_flex > dt {
  width: 20%;
  background-color: var(--vk-color-primary);
  color: #fff;
}
.dl_flex > dd {
  width: 80%;
}
.dl_flex ul,
.dl_flex ol {
  margin-bottom: 0;
}
.dl_flex ul > li:first-child,
.dl_flex ol > li:first-child {
  margin-top: 0;
}
.dl_flex ul > li:last-child,
.dl_flex ol > li:last-child {
  margin-bottom: 0;
}
@media(max-width:767px){
  .dl_flex > dt,
  .dl_flex > dd {
    width: 100%;
  }
}


/*--------------------------------------
ヘッダー
--------------------------------------*/
.header_scrolled .site-header {
  background-color: #000;
}
.site-header--layout--nav-float .site-header-container {
  flex-wrap: wrap;
  margin: 0 calc(50% - 50vw);
  padding: 0;
  max-width: 100%;
}
.site-header--layout--nav-float .site-header-logo {
  padding-left: 0;
  padding-right: 20px;
}
@media(min-width:992px){
  .global-nav {
    display: block;
    width: 100%;
    background-color: #7eb320;
    border-bottom: 5px solid #eac91a;
  }
}
.global-nav--layout--float-right .global-nav-list {
  margin: 0 auto;
  width: 100%;
  max-width: 1180px;
}
.global-nav--layout--float-right .global-nav-list li:last-child {
  margin-left: auto;
}
.global-nav-list > li > a {
  color: #fff;
  transition: 0.2s;
}
.global-nav-list > li > a:hover {
  background-color: #fff;
  color: #7eb320;
}
.global-nav-list > li > ul.sub-menu {
  width: 250px;
}
@media(max-width:991px){
  #site-header {
    position: fixed;
    background-color: #fff;
    top: 0;
  }
  .header_scrolled .header-top,
  .header_scrolled .site-header-logo,
  .header_scrolled .site-header-sub,
  .header_scrolled .vk-campaign-text {
    display: block;
  }
  .site-header-logo img {
    margin: 0;
  }
  .lightning_swiper {
    margin-top: 64px;
  }
}
.vk-mobile-nav-menu-btn {
  border: none;
  width: 40px;
  height: 40px;
  background-color: #f2f2f2;
  top: 13px;
}
.vk-mobile-nav-menu-btn.menu-open {
  border: none;
  background-color: #f2f2f2;
}
.vk-mobile-nav {
  padding-top: 57px;
  background-color: #ffebd0;
}
.vk-mobile-nav nav > ul {
  border-top: 1px solid #863e0a;
}
.vk-mobile-nav .widget_nav_menu ul li a,
.vk-mobile-nav nav ul li a {
  color: #863e0a;
  font-weight: bold;
  border-bottom: 1px solid #863e0a;
}
.global-nav-list li{
  line-height: 1.6;
  font-size: 15px;
}
.global-nav-list > li .global-nav-name {
  font-size: 15px;
}


/* ナビ2 */
@media (min-width: 992px) {
  .global-nav {
    background-color: #fbd258;
    border-bottom: 4px solid #eab001;
    border-left: 2px solid #7b726b;
    border-right: 2px solid #b09c8d;
    box-shadow: 0px 4px 4px #8c8c8c;
    border-top: 2px solid #7b726b;
  }
}
.global-nav-list > li > a {
  color: #863e0a;
}
.global-nav--layout--float-right .global-nav-list li#menu-item-1536 a {
  color: #fff;
  border: 2px solid #fff;
  border-radius: 10px;
  background-color: #5e9f31;
}
.global-nav--layout--float-right .global-nav-list li#menu-item-1536 a:hover {
  background-color: #fff;
  color: #5e9f31;
  border: 2px solid #5e9f31;
}

/*--------------------------------------
フッター
--------------------------------------*/
.site-footer {
  background-color: #f7f7f7;
  color: #333;
}
.footer_page_title {
  color: #333;
}
.footer_info {
  display: flex;
  color: #333;
}
.footer_info > div:first-child {
  margin-right: 10px;
}

/*--------------------------------------
TOP
--------------------------------------*/
.ltg-slide-text-set {
  background-color: #ffffff9e;
/*  font-family: 'Zen Maru Gothic', 'BIZ UDGothic', sans-serif; */
  display: flex;
  align-items: center;
}
.ltg-slide-text-set::after {
  content: "";
  display: block;
  background-image: url(/wp/wp-content/uploads/2023/09/top_point_img01.png);
  height: 150px;
  background-size: contain;
  width: 30%;
  background-repeat: no-repeat;
  background-position-x: left;
  background-position-y: center;
}
.ltg-slide-text-title {
  margin-top: 0;
/*  font-size: 45px; */
}
.ltg-slide-text-title img {
  display: block;
}
/* .ltg-slide-text-title span {
  display: block;
  font-size: 32px;
  line-height: 32px;
}
.ltg-slide-text-caption {
  margin-top: 0 !important;
  font-size: 30px;
  line-height: 30px;
} */
@media(min-width:768px){
  .ltg-slide-text-set {
    padding: 15px 50px;
  }
}
@media(max-width:992px){
  .ltg-slide-text-set::after {
    height: 100px;
  }
/*  .ltg-slide-text-title {
    font-size: 30px;
  }
  .ltg-slide-text-title span {
    font-size: 24px;
    line-height: 24px;
  }
  .ltg-slide-text-caption {
    font-size: 20px;
    line-height: 20px;
  } */
}
@media(max-width:767px){
  .ltg-slide-text-set {
    padding: 10px 5px;
  }
  .ltg-slide-text-set::after {
    height: 50px;
  }
/*  .ltg-slide-text-title {
    font-size: 18px;
  }
  .ltg-slide-text-title span {
    font-size: 14px;
    line-height: 14px;
  }
  .ltg-slide-text-caption {
    font-size: 12px;
    line-height: 12px;
  } */
}
.item-2 .ltg-slide-text-set,
.item-3 .ltg-slide-text-set {
  display: none;
}

.home .entry-body h3:first-child {
  margin-top: 0;
}
.top_tab_box .panel {
  padding: 20px 30px;
}
.top_tab_box .panel .top-posts-list-loop {
  padding-left: 0;
  list-style: none;
  margin: 0;
}
.top_tab_box .panel .top-posts-list-loop > li {
  display: flex;
  font-size: 0.9rem;
  color: #666;
  flex-wrap: wrap;
}
.top_tab_box .panel .top-posts-list-loop .post_date,
.top_tab_box .panel .top-posts-list-loop .post_cat {
  width: 13%;
}
.top_tab_box .panel .top-posts-list-loop .post_cat {
  border: 1px solid;
  padding: 2px 5px;
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
.top_tab_box .panel .top-posts-list-loop .post_new {
  width: 6%;
  color: #ac0000;
  text-align: center;
}
.top-posts-list-loop .post_title {
  width: 68%;
  text-decoration: none;
}
.top_tab_box .panel > p > a {
  background-color: var(--vk-color-primary);
  display: block;
  padding: 10px;
  text-align: center;
  color: #fff;
  border: 1px solid var(--vk-color-primary);
  transition: 0.2s;
  margin-top: 20px;
  text-decoration: none;
  border-radius: 10px;
}
.top_tab_box .panel > p {
  margin-bottom: 10px;
}
.top_tab_box .panel > p > a:hover {
  background-color: #fff;
  color: var(--vk-color-primary);
}
.top_main_btn > div {
  margin-bottom: 30px;
}
.top_main_btn a {
  min-height: 150px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: end;
  border: 1px solid #ccc;
  position: relative;
  z-index: 0;
  font-weight: bold;
  padding: 4px;
  overflow: hidden;
}
.top_main_btn a::before {
  content: "";
  display: block;
  width: 100%;
  height: 2rem;
  position: absolute;
  background-color: #000000a3;
  z-index: -1;
  bottom: 0;
}
.top_main_btn > div a::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transition: 0.6s;
  top: 0;
  left: 0;
}
.top_main_btn > div:nth-child(1) a::after {
  background-image: url(/wp/wp-content/uploads/2023/09/top_icon01.jpg);
}
.top_main_btn > div:nth-child(2) a::after {
  background-image: url(/wp/wp-content/uploads/2023/09/top_icon02.jpg);
}
.top_main_btn > div:nth-child(3) a::after {
  background-image: url(/wp/wp-content/uploads/2023/09/top_icon03.jpg);
}
.top_main_btn > div:nth-child(4) a::after {
  background-image: url(/wp/wp-content/uploads/2023/09/top_icon04.jpg);
}
.top_main_btn > div:nth-child(5) a::after {
  background-image: url(/wp/wp-content/uploads/2023/09/top_icon05.jpg);
}
.top_main_btn > div:nth-child(6) a::after {
  background-image: url(/wp/wp-content/uploads/2023/09/top_icon06.jpg);
}
.top_main_btn a:hover::after {
  transform: scale(1.2);
}

.top_btm_btn > div {
  margin-bottom: 30px;
}
.top_btm_btn > div:first-child a {
  display: flex;
  min-height: 150px;
  border: 1px solid #ccc;
  justify-content: center;
  align-items: center;
  color: #fff;
  transition: 0.2s;
}
.top_btm_btn > div:first-child a:first-child,
.top_btm_btn > div:first-child a:nth-child(2) {
  margin-bottom: 30px;
  min-height: 150px;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: end;
  border: 1px solid #000;
  position: relative;
  z-index: 0;
  font-weight: bold;
  padding: 3px;
  overflow: hidden;
}
.top_btm_btn > div:first-child a:first-child:before,
.top_btm_btn > div:first-child a:nth-child(2):before {
  content: "";
  display: block;
  width: 100%;
  height: 2rem;
  position: absolute;
  background-color: #000000a3;
  z-index: -1;
  bottom: 0;
}
.top_btm_btn > div:first-child a:first-child:after,
.top_btm_btn > div:first-child a:nth-child(2):after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transition: 0.6s;
}
.top_btm_btn > div:first-child a:first-child:after {
  background-image: url(/wp/wp-content/uploads/2023/09/top_icon07.jpg);
}
.top_btm_btn > div:first-child a:nth-child(2):after {
  background-image: url(/wp/wp-content/uploads/2023/09/top_icon08.jpg);
}
.top_btm_btn > div:first-child a:first-child:hover::after,
.top_btm_btn > div:first-child a:nth-child(2):hover::after {
  transform: scale(1.2);
}
.top_btm_btn > div a:last-child {
  background: no-repeat;
  border: none;
}
.top_btm_btn > div a:last-child:hover {
  opacity: 0.8;
}
.top_btm_btn > div a:last-child img {
  width: 100%;
}
.facebook_box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
@media(min-width:768px){
  .top_btm_btn {
/*    max-width: 70%;
    margin: 0 auto; */
  }
}
@media(max-width:767px){
  .top_tab_box .panel .top-posts-list-loop > li {
    margin-bottom: 1.5em;
  }
  .top_tab_box .panel .top-posts-list-loop .post_date {
    width: 100%;
  }
  .top_tab_box .panel .top-posts-list-loop .post_cat{
    width: 50%;
  }
  .top_tab_box .panel .top-posts-list-loop .post_new {
    width: 50%;
    text-align: left;
    padding: 0 15px;
  }
  .top-posts-list-loop .post_title {
    width: 100%;
  }
  .top_main_btn a,
  .top_btm_btn > div a {
    min-height: 100px;
  }
}

/*--------------------------------------
tab
--------------------------------------*/
.tab-wrap{
  margin-bottom: 40px;
}
.tab-group{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: flex-end;
}
.tab{
  flex-grow: 1;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  display: inline-block;
  font-size: 13px;
  font-weight: bold;
  margin: 8px 2px 0;
  padding: 14px 0 12px;
  text-align: center;
  transition: 0.2s;
  vertical-align: bottom;
  border: 1px solid ; 
}
.tab:nth-child(1) {
  background-color: var(--vk-color-primary);
  color: #fff;
  border-color: var(--vk-color-primary);
}
.tab:nth-child(2) {
  background-color: var(--category-color01);
  color: #fff;
  border-color: var(--category-color01);
}
.tab:nth-child(3) {
  background-color: var(--category-color02);
  color: #fff;
  border-color: var(--category-color02);
}
.tab:nth-child(4) {
  background-color: var(--category-color03);
  color: #fff;
  border-color: var(--category-color03);
}
.tab:nth-child(5) {
  background-color: var(--category-color04);
  color: #fff;
  border-color: var(--category-color04);
}
.tab:nth-child(6) {
  background-color: var(--category-color05);
  color: #fff;
  border-color: var(--category-color05);
}
.tab:first-child {
  margin-left: 0;
}
.tab:last-child {
  margin-right: 0;
}
.panel-group{
  min-height:100px;
/*  border:solid 1px #000; */
  background-color: #f7f7f7;
}
.panel{
  display:none;
}
.tab.is-active{
  transition: 0.2s;
  margin-top: 0;
}
.panel.is-show{
  display:block;
}
@media(min-width:768px){
  .tab.is-active{
    padding: 18px 0 16px;
  }
}
@media(max-width:767px){
  .top_tab_box .tab-group {
    margin-bottom: 10px;
  }
  .top_tab_box .tab-group .tab {
    width: 48%;
    border-radius: 10px;
  }
  .tab.is-active {
    background-color: #fff;
    margin-top: 8px;
  }
  .tab:nth-child(1).is-active {
    color: var(--vk-color-primary);
  }
  .tab:nth-child(2).is-active {
    color: var(--category-color01);
  }
  .tab:nth-child(3).is-active {
    color: var(--category-color02);
  }
  .tab:nth-child(4).is-active {
    color: var(--category-color03);
  }
  .tab:nth-child(5).is-active {
    color: var(--category-color04);
  }
  .tab:nth-child(6).is-active {
    color: var(--category-color05);
  }

}
@media screen and (max-width:480px) { 
  .tab{
    padding: 10px 0 10px;
  }
}

/*--------------------------------------
投稿
--------------------------------------*/
.entry-meta-item-updated,
.entry-meta-item-author {
  display: none;
}
.vk_posts.next-prev {
  display: none;
}
/* 学術集会 */
.conference_nav {
  margin-left: -5px;
  margin-right: -5px;
}
.conference_nav > div {
  padding-left: 5px;
  padding-right: 5px;
  margin-bottom: 10px;
}
.conference_nav a {
  display: flex;
  background-color: #fff;
  border: 1px solid var(--vk-color-primary);
  padding: 8px;
  color: var(--vk-color-primary);
  font-size: 0.8rem;
  height: 100%;
  justify-content: center;
  align-items: center;
  transition: 0.2s;
}
.conference_nav a:hover {
  background-color: var(--vk-color-primary);
  color: #fff;
}
.conf_info_list {
  display: flex;
  flex-wrap: wrap;
}
.conf_info_list dt {
  width: 20%;
}
.conf_info_list dd {
  width: 80%;
  margin-bottom: 0.5em;
}
.conf_cate_box {
  margin: 0;
  border: 1px solid #000;
}
.conf_cate_box > div {
  border: 1px solid #000;
  padding: 10px 15px;
  box-sizing: border-box;
  border-collapse: collapse;
}

/*--------------------------------------
投稿アーカイブ
--------------------------------------*/
.archive-header {
  display: none;
}


/*--------------------------------------
固定ページ
--------------------------------------*/
.page-header {
  background-image: url(/wp/wp-content/uploads/2023/09/page-header-bg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 10rem;
  color: #fff;
}
.page_box {
  max-width: 800px;
  margin: 0 auto;
}
@media(max-width:991px){
  .page-header {
    margin-top: 64px;
  }
}

/*--------------------------------------
学会概要
--------------------------------------*/
.society_box {
  max-width: 800px;
  margin: 0 auto;
  justify-content: center;
}
.society_box > div {
  margin-bottom: 30px;
}
.society_box > div > a {
  min-height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  font-size: 1.1rem;
  font-weight: bold;
  border: 1px solid #e3e3e3;
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.society_box > div > a::before {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
  z-index: -1;
  transition: 0.6s;
}
.society_box > div > a:hover::before {
  transform: scale(120%);
}
.society_box > div > a > span {
  background-color: #fffffff0;
  padding: 10px 0;
  width: 100%;
  text-align: center;
}
.society_box > div:nth-child(1) > a:before {
  background-image: url(/wp/wp-content/uploads/2023/10/society_01.jpg);
}
.society_box > div:nth-child(2) > a:before {
  background-image: url(/wp/wp-content/uploads/2023/10/society_02.jpg);
}
.society_box > div:nth-child(3) > a:before {
  background-image: url(/wp/wp-content/uploads/2023/10/society_03.jpg);
}
.society_box > div:nth-child(4) > a:before {
  background-image: url(/wp/wp-content/uploads/2023/10/society_04.jpg);
}
.society_box > div:nth-child(5) > a:before {
  background-image: url(/wp/wp-content/uploads/2023/10/society_05.jpg);
}
.society_box > div:nth-child(6) > a:before {
  background-image: url(/wp/wp-content/uploads/2023/10/society_06.jpg);
}
.society_box > div:nth-child(7) > a:before {
background-image: url(/wp/wp-content/uploads/2024/09/society_07.jpg);
}

/*--------------------------------------
理事長挨拶
--------------------------------------*/
.chairman_img {
  float: left;
  margin-right: 35px;
      margin-bottom: 10px;
}
@media(max-width:767px){
  .chairman_img {
    float: none;
    margin-right: 0;
    text-align: center;
  }
}


/*--------------------------------------
役員名簿
--------------------------------------*/
@media(max-width:767px){
  table.officer_box tr {
    display: flex;
    flex-wrap: wrap;
  }
  table.officer_box th {
    width: 100%;
  }
  table.officer_box td:nth-of-type(2n-1) {
    width: 35%;
  }
  table.officer_box td:nth-of-type(2n) {
    width: 65%;
  }
}

/*--------------------------------------
エンディングストーリー
--------------------------------------*/
.ending_top_title {
  background-color: var(--vk-color-primary);
  padding: 10px 20px;
  color: #fff;
  text-align: center;
}

.toc {
	margin-top: 20px;
}

.post {
	display: block;
    margin: 10px auto;
	font-size: 1.6rem;
	font-weight: 700;
}

/*--------------------------------------
学会誌
--------------------------------------*/
.journal_top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}
.journal_top > div:first-child {
  margin-right: 20px;
}
.journal_top > div:last-child > p {
  margin-bottom: 0;
}

/*--------------------------------------
学術集会
--------------------------------------*/
.conf_btn > a {
  display: inline-block;
  background-color: #fff;
  border: 1px solid var(--vk-color-primary);
  padding: 8px 18px;
  margin-bottom: 20px;
  transition: 0.2s;
}
.conf_btn > a:hover {
  background-color: var(--vk-color-primary);
  color: #fff;
}

/*---GoogleMap・youtube------------------------------------------------------------------*/
.g-map,.y-tube {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    overflow: hidden;
}
.g-map iframe,.y-tube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/*--------------------------------------
学会の風景
--------------------------------------*/
.scenery_box > div > p {
  padding-bottom: 10px;
  margin-top: 10px;
  margin-bottom: 2rem;
}

/*--------------------------------------
研修・セミナー　スケジュール
--------------------------------------*/
table.seminar_schedule tr th:first-child,
table.seminar_schedule tr td:first-child {
  width: 30%;
}
table.seminar_schedule th:last-child,
table.seminar_schedule td:last-child {
  width: 70%;
}

/*--------------------------------------
代議員・役員選挙関連 配下
--------------------------------------*/
.table-layout-15,.table-layout-25,.table-layout-30 {display: flex;}
.table-layout-15 p {min-width: 15%;}
.table-layout-25 p {min-width: 25%;}
.table-layout-30 P {min-width: 30%;}
@media (max-width: 991.98px) {
	.table-layout-15,.table-layout-25 {flex-wrap:wrap; margin-bottom: 10px;}
	.table-layout-15 p,.table-layout-25 p {width: 100%; margin-bottom: 0px;}
	.table-layout-30 p {min-width: 165px; margin-bottom: 0px;}
}

@media print {
	.site-header-logo {display:none;}	
}

/*--------------------------------------
会員向け周知
--------------------------------------*/
.inform ul {
  margin: 0px;
}
.inform ul li {
  margin: 0px;
  list-style: none;
}

/*--------------------------------------
動画コンテンツ
--------------------------------------*/
.popupMovie {
	width: 100%;
}

/*--------------------------------------
EOL学に重要なコンテンツ
--------------------------------------*/
.important_contents {}
.important_contents table {
	margin: 20px 0px;
}
.important_contents table tr:first-child td:last-child {
	font-weight: 700;
	color: #863e0a;
} 
.important_contents table tr td {
	border: 1px dashed #eee;	
}
.important_contents table tr td:first-child {
	width: 20%;
	background-color: var(--vk-color-primary);
    color: #fff;
}
.important_contents table tr td span {
    display: inline-block;
    padding: 3px 5px;
    border: 1px solid #ef8737;
    border-radius: 5px;
    font-size: 0.8rem;
    margin: 0 3px 5px 0;
    color: #ef8737;
}
@media (max-width: 991.98px) {
	.important_contents table tr {
		display: flex;
		flex-wrap: wrap;
	}
	.important_contents table tr td:first-child {
		width: 100%;
	}
	.important_contents table tr td {
		border: none;	
	}
}