* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    -ms-box-sizing: border-box;
    box-sizing: border-box;
}

/*
 * mobileau first
 */
.sp {
    display: inline-block;
}

.pc {
    display: none;
}

.other {
    font-size: 80%;
}

body {
    background-color: #fff;
    font-family: helvetica, arial, YuGothic, "Yu Gothic", "繝｡繧､繝ｪ繧ｪ", sans-serif;
    line-height: 1.5;
}

a {
    color: #000;
    transition-duration: 0.3s;
    text-decoration: none;
}

a:hover {
    opacity: 0.7;
}

.icon_new_window {
    width: 15px;
    height: 15px;
}

header {
    width: 100%;
    height: 60px;
    color: #fff;
    background-color: #316da2;
    padding: 0;
    text-align: left;
    position: fixed;
    z-index: 100;
    top: 0px;
    display: flex;
    align-items: center;
}

header .desc {
    font-size: 14px;
}

header #logo {
    width: 150px;
    margin: 0 20px;
    display: flex;
    align-items: center;
    height: 100%;
}

header #logo img {
    width: 100%;
    display: block;
}

.btn_header_sp {
    display: block;
}

.btn_header_pc {
    display: none;
}

.btn_header_sp {
    padding: 0;
    text-align: right;
    list-style: none;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    font-size: 14px;
}

/* Hamburger menu button */
.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 12px 10px;
    position: absolute;
    right: 10px;
    top: 0;
    z-index: 10;
}

.hamburger-icon {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger-menu:hover .hamburger-icon {
    opacity: 0.7;
}

/* Menu overlay */
.menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
}

.btn_header_toggle_inside {
    display: none;
    list-style: none;
    text-align: center;
    padding: 0;
    margin-top: 60px;
}

.btn_header_toggle_item {
    display: block;
    line-height: 50px;
    background-color: #fff;
    border-bottom: solid 1px #ccc;
    font-weight: bold;
}

.btn_header_toggle_item a {
    display: inline-block;
    line-height: 50px;
    width: 100%;
}

.container {
    margin: 30px 20px 0;
    overflow: hidden;
}

h1.ttl {
    font-size: 22px;
    margin: 60px 0 10px;
    padding: 0;
    line-height: 140%;
    text-align: center;
}

h2.ttl {
    font-size: 22px;
    margin: 60px 0 10px;
    padding: 0;
    line-height: 140%;
    text-align: center;
}

.ttl-sub {
    font-size: 22px;
    text-align: center;
    line-height: 140%;
    margin: 0;
    padding: 0;
}

.desc {
    text-align: center;
    font-size: 12px;
    margin-bottom: 15px;
}

.cal {
    background-color: #333;
    color: #fff;
    padding: 15px 15px 10px;
    z-index: 1;
}

.cal span,
.cal a {
    color: #fff;
    width: 100%;
    height: auto;
    display: inline-block;
    padding: 10px 0;
}

.cal_year {
    font-size: 12px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.cal_year_item {
    padding: 0;
    width: calc((100vw - 75px) / 6);
    text-align: center;
}

.cal_year_month {
    font-size: 14px;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

.cal_year_month_item {
    padding: 0;
    width: calc((100vw - 75px) / 6);
    text-align: center;
}

.cal_year_month_item .inactive {
    color: #666;
}

.year_month {
    font-size: 20px;
    font-weight: bold;
    border-bottom: solid 1px #ccc;
    padding-bottom: 7px;
    margin-top: 70px;
    margin-bottom: 10px;
}

.content {
    margin-bottom: 70px;
}

.content_left {
    margin-bottom: 25px;
}

.content_left_fig {
    width: 100%;
}

.content_left_fig_img {
    width: 100%;
    border: solid 1px #d8d8d8;
}

.content_left_prof {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
}

.content_left_prof_list {
    margin-right: 1px;
    width: calc((100vw - 44px) / 4);
}

.content_left_prof_list img {
    width: 100%;
}

.content_left_sns {
    display: flex;
    list-style: none;
}

.content_left_sns_item {
    margin-right: 5px;
    display: inline-block;
}

.content_left_sns_item.twitter {
    /* margin-top: 4px; */
}

.content_ttl {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.content_ttl a {
    color: #316da2;
    text-decoration: none;
}

.content_ttl a:hover {
    text-decoration: underline;
}

.content_tag {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin-bottom: 30px;
    gap: 4px;
}

.content_tag_item {
    display: inline-flex;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
    color: #fff;
    background-color: #0b43a7ff;
    font-size: 14px;
    margin-right: 5px;
    border-radius: 3px;
}

.header_tag_item {
    display: inline-flex;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
    color: #fff;
    background-color: #0b43a7ff;
    font-size: 14px;
    margin-right: 5px;
    border-radius: 3px;
}

.content_description {
    font-size: 13px;
    color: #000;
    line-height: 1.6;
    margin-top: 8px;
}

.content_detail {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-top: 1.6em;
    margin-bottom: 20px;
    font-size: 13px;
    line-height: 1.8;
}

.content_sponsor {
    font-size: 13px;
    line-height: 1.5;
}

.content_detail dt,
.content_sponsor_detail_ttl {
    width: 25%;
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.content_detail dd,
.content_sponsor_detail_item {
    width: 70%;
    padding-top: 5px;
    padding-bottom: 5px;
}

.content_sponsor_detail {
    background-color: #f5f5f5;
    padding: 20px 30px;
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

#facebook_box {
    padding-right: 30px;
    padding-left: 30px;
    margin: 30px auto 30px;
}

#fb-root {
    display: none;
}

#facebook_box .fb_iframe_widget,
#facebook_box .fb_iframe_widget span,
#facebook_box .fb_iframe_widget span iframe[style] {
    width: 100% !important;
}

footer {
    font-size: 12px;
    text-align: center;
    padding: 20px;
    border-top: solid 1px #ccc;
    line-height: 1.8;
}

.footer_nav {
    margin-bottom: 20px;
}

.top-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 40px;
    height: 40px;
    background-color: #333;
    transition-duration: 0.3;
}

.top-btn:hover {
    opacity: 0.7;
}

.top-btn a {
    display: block;
    width: 100%;
    height: 40px;
    text-indent: -9999px;
    position: relative;
}

.top-btn a:before {
    content: "";
    position: absolute;
    left: 12px;
    top: 15px;
    width: 15px;
    height: 15px;
    border-top: solid 1px #fff;
    border-right: solid 1px #fff;
    transform: rotate(-45deg);
}

/*
 * desktop second
 */
@media screen and (min-width: 768px) {
    .sp {
        display: none;
    }

    .pc {
        display: inline-block;
    }

    .btn_header_sp {
        display: none;
    }

    .hamburger-menu {
        display: none;
    }

    header {
        display: flex;
        height: 90px;
    }

    .btn_header_pc {
        display: flex;
        font-size: 13px;
        list-style: none;
        align-items: stretch;
        padding-right: 30px;
        margin-left: auto;
    }

    .btn_header_item {
        margin-right: 15px;
        display: flex;
    }

    .btn_header_item a {
        display: flex;
        align-items: center;
        justify-content: center;
        border: solid 1px #fff;
        border-radius: 4px;
        color: #fff;
        background-color: #4d9a4d;
        padding: 4px 15px;
        line-height: 1.3;
        text-align: center;
    }

    .container {
        width: 960px;
        margin: auto;
    }

    h1.ttl {
        font-size: 30px;
        text-align: center;
        padding-top: 60px;
        padding-bottom: 15px;
        margin-bottom: 0;
    }

    h2.ttl {
        font-size: 30px;
        text-align: center;
        padding-top: 60px;
        padding-bottom: 15px;
        margin-bottom: 0;
    }

    .ttl-sub {
        font-size: 30px;
        text-align: center;
        padding-bottom: 15px;
        margin-bottom: 0;
    }

    .desc {
        margin-bottom: 30px;
    }

    .cal {
        display: flex;
        flex-wrap: wrap;
        padding-right: 25px;
        padding-left: 25px;
        padding-bottom: 0;
    }

    .cal span,
    .cal a {
        padding: 0;
    }

    .cal_year {
        width: 910px;
        margin-bottom: 5px;
    }

    .cal_year_item {
        width: 150px;
        font-size: 14px;
    }

    .cal_year_month {
        width: 910px;
        margin-bottom: 15px;
    }

    .cal_year_month_item {
        width: 150px;
        font-size: 16px;
    }

    .content {
        display: flex;
    }

    .content_ttl {
        font-size: 22px;
    }

    .content_left {
        width: 280px;
    }

    .content_left_fig {
        padding-right: 5px;
    }

    .content_left_prof_list {
        margin-right: 5px;
        width: 65px;
    }

    .content_main {
        width: 640px;
        margin-left: 40px;
    }

    .content_description {
        font-size: 16px;
    }

    .content_detail {
        font-size: 16px;
        line-height: 2;
        margin-bottom: 40px;
    }

    .content_sponsor {
        font-size: 16px;
    }

    .content_detail dd,
    .content_sponsor_detail_item {
        line-height: 1.7;
    }

    #facebook_box .fb_iframe_widget {
        width: 400px !important;
    }

    #facebook_box .fb_iframe_widget {
        display: block !important;
        margin: 0 auto 70px;
    }

    .bnrArea {
        width: 100%;
        text-align: center;
        margin-bottom: 20px;
        display: flex;
        justify-content: center;
        gap: 20px;

        /* margin-top: 50px; */
        .banner {
            text-align: left;
            max-width: 470px;
            display: block;
            padding-bottom: 1px;

            img {
                max-height: 246px;
                max-width: 470px;
                width: auto;
            }

        }
    }


    /* .bnrArea a {
    max-width: 280px;
    width: 100%;
  }
  .bnrArea img {
    height: 100%;
    width: auto;
  } */
}

.banner_company {
    margin: 0;
    font-size: 12px;
    color: #333;
    margin-top: 5px;
    padding-bottom: 1px;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    padding-bottom: 2px;

    &::before {
        content: 'PR';
        font-size: 10px;
        color: #ccc;
        padding: 2px;
        border-radius: 0;
        text-align: center;
        border: 1px solid #ccc;
        min-width: 25px;
        display: inline-block;
        letter-spacing: 1px;
        height: 15px;
        margin-right: 10px;
    }
}

.banner_text {
    margin: 0;
    color: #333;
    margin-top: 5px;
    font-size: 14px;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.banner_title {
    margin: 0;
    color: #333;
    margin-top: 5px;
    font-size: 14px;
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bnrArea:empty {
    height: 0;
    /* 荳ｭ縺ｫ菴輔ｂ縺ｪ縺��ｴ蜷医�鬮倥＆繧�0縺ｫ險ｭ螳� */
    /* &.pr_icon {
    display:none;
  } */
}

/* .bnrArea.pr_icon {
  position: relative;
}

.bnrArea.pr_icon::before {
  content: 'PR';
  font-size: 10px;
  color: #ccc;
  padding: 2px;
  border-radius: 0;
  text-align: center;
  border: 1px solid #ccc;
  min-width: 25px;
  display: inline-block;
  letter-spacing: 1px;
  height: 15px;
  position: absolute;
  left: 0;
  top: -30px;
} */

@media screen and (max-width: 768px) {
    .bnrArea {
        margin-top: 50px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding-bottom: 20px;

        .banner {
            padding-bottom: 1px;

        }
    }

    .banner_company {
        padding-bottom: 3px;
    }
}

.tag_list_header_container {
    padding: 20px;
    margin-bottom: 10px;
    position: relative;
    height: 170px;
    overflow: hidden;
    transition: .4s;
    box-sizing: border-box;
    background: #e0effcff;
    border: 1px solid #3c78d8;
}

/*グラデーションで隠す擬似要素*/
.tag_list_header_container:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100px;
    background: rgb(0, 0, 0);
    background: linear-gradient(0deg, rgba(255, 255, 255, 1) 70%, rgba(255, 255, 255, 0) 100%);
    transition: .4s;
}

.tag_list_header_container-no-before {
    margin-bottom: initial;
    height: initial;
}

.tag_list_header_container-no-before::before {
    content: none;
}

/*クラス付与時のスタイル*/
.tag_list_header_container.active:before {
    opacity: 0;
    visibility: hidden;
}

/*ボタンのスタイル*/
.btn-tag-list-more {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    width: 100px;
    height: 40px;
    cursor: pointer;
    color: #fff;
    background: #000;
    border: none;
}


.content_tag-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 4px;
}

.header_tag-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 4px;
}

/* ページネーション */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 5px;
}

.page-btn {
    padding: 10px 15px;
    border: 1px solid #ccc;
    background-color: white;
    cursor: pointer;
    border-radius: 4px;
    font-size: 16px;
    transition: background-color 0.2s, color 0.2s;
}

.page-btn:hover:not(.active):not([disabled]) {
    background-color: #eee;
}

.page-btn.active {
    background-color: #007bff;
    color: white;
    border-color: #007bff;
}

.page-btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.ellipsis {
    padding: 10px 5px;
    color: #666;
}

/* ヘッダーナビゲーション */
.header-nav {
    display: none;
}

/* 種別バッジ */
.event-type-badge {
    display: inline-flex;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    border-radius: 3px;
    margin-bottom: 5px;

}

.event-type-badge--event {
    background-color: #316da2;
}

.event-type-badge--seminar {
    background-color: #d35400;
}

.event-manual-tag-list {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    padding: 0;
    margin: 0 0 2px;
}

.event-manual-tag-list-item {
    margin-right: 8px;
    margin-bottom: 4px;
}

.event-speaker-manual-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 4px;
    margin-bottom: 4px;
}

.event-manual-tag-badge {
    display: inline-flex;
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 2px;
    padding-bottom: 2px;
    font-size: 12px;
    color: #fff;
    border-radius: 3px;
    margin-bottom: 5px;
    background-color: #6c757d;
}

@media screen and (min-width: 768px) {
    .header-nav {
        display: flex;
        align-items: center;
        gap: 5px;
        position: absolute;
        left: calc(50% - 340px);
        top: 0;
        height: 100%;
    }

    .header-nav-link {
        color: #fff;
        text-decoration: none;
        font-size: 14px;
        line-height: 1.5;
        font-family: helvetica, arial, YuGothic, "Yu Gothic", "メイリオ", sans-serif;
        -webkit-font-smoothing: auto;
        -moz-osx-font-smoothing: auto;
        padding: 8px 12px;
        border-radius: 3px;
        transition: background-color 0.2s;
    }

    .header-nav-link:hover {
        background-color: rgba(255, 255, 255, 0.15);
        opacity: 1;
    }

    .header-nav-link.active {
        background-color: rgba(255, 255, 255, 0.25);
        font-weight: bold;
    }
}

/* Sort Controls */
.sort-controls {
    text-align: right;
    padding: 10px 15px;
    font-size: 14px;
}

.sort-link {
    color: #666;
    text-decoration: none;
}

.sort-link.active {
    color: #316da2;
    font-weight: bold;
}

.sort-separator {
    color: #ccc;
    margin: 0 5px;
}

.content_tag_item.active {
    background-color: #2a5d8f;
}

.header_tag_item.active {
    background-color: #d35400;
}


.event-image-anchor-link {
    font-size: 14px;
    text-align: center;
}

.event-image-anchor-link a {
    color: #316da2;

}
