@charset "UTF-8";

/* nomal */
@font-face {
    font-family: 'LINESeedJP';
    src: url('/assets/font/LINESeedJP_OTF_Rg.woff') format('woff'),
        url('/assets/font/LINESeedJP_OTF_Rg.woff2') format('woff2');
    font-weight: normal;
    font-weight: 400;
    font-style: normal;
}

/* bold */
@font-face {
    font-family: 'LINESeedJP';
    src: url('/assets/font/LINESeedJP_OTF_Bd.woff') format('woff'),
        url('/assets/font/LINESeedJP_OTF_Bd.woff2') format('woff2');
    font-weight: bold;
    font-weight: 700;
    font-style: normal;
}

/* EX bold */
@font-face {
    font-family: 'LINESeedJP';
    src: url('/assets/font/LINESeedJP_OTF_Eb.woff') format('woff'),
        url('/assets/font/LINESeedJP_OTF_Eb.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
}

.c-contents-links {
    justify-content: flex-start;
    gap: 1%;
}

.c-contents-links__item{
    width: 32%;
}

.c-side-navi__item__link.is-current {
    display: block;
}


.event-list {
    font-family: 'LINESeedJP', sans-serif !important;
}

.event-list__item {
    display: block;
    width: 100%;
    margin-right: 0;
    /* flex-direction: column; */
}

.event-card {
    border-bottom: 1px solid #e8e8e8;
    box-shadow: unset;
    margin-bottom: 20px;
    display: flex;
    /* justify-content: space-between; */
    padding-top: 0;
}

/* .event-list .event-list__item:last-of-type .event-card{
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: unset;
} */

.event-card .text_box {
    width: calc(100% - 200px);
}


.event-card .is-event_image img {
    max-width: 170px;
    border: 1px solid #e8e8e8;
}

.event-card__map-info {
    margin-bottom: 10px;
    align-items: center;
    justify-content: space-between;
}

.event-card__map-info__item {
    background-color: unset;
    padding: 0;
    font-size: 1rem;
}

.event-card__map-info__item.is-day{
    width: 65px;
}

.event-card__map-info__item.is-time{
    text-indent: -.7rem;
    padding-left: 1.3rem;
    /* margin-left: 0px; */
    line-height: 1.4;
    flex: 1;
}

.en span.event-card__map-info__item.is-booth{
    width: 110px;
}


.event-card__company {
    font-size: 1rem;
    background: unset;
    padding: unset;
    text-decoration: unset;
    margin-bottom: 20px;
    /* ↓会期中↓ */
    /* pointer-events: all !important; */
}

/* .event-card i {
    margin-right: 5px;
} */

span.event-card__map-info__item.is-booth {
    padding: 5px 10px;
    background-color: #eaeaea;
    margin-left: 10px;
    font-size: .9rem;
    width: 137px;
    margin-right: 0;
    margin-left: auto;
}

a.event-card__link{
    margin-bottom: 0;
    /* ↓会期中↓ */
    /* pointer-events: all !important; */
}

.event-list__item:nth-child(n + 3){
    margin-top: 0;
}

.c-contents-links__item:nth-child(n + 3){
    margin-top: 0;
}


@media screen and (max-width: 600px) {
    .event-card {
        display: block;
    }

    .event-card .text_box {
        width: 100%;
        margin-bottom: 10px;
    }

    .is-event_image {
        width: 100%;
        margin: auto;
        text-align: center;
        max-width: 320px;
    }

    .event-card .is-event_image img {
        max-width: 300px;
    }

    a.event-card__link {
        font-size: 1.1rem !important;
    }
}

@media screen and (max-width: 480px) {

}




/* ボーダー打ち消し */
.event-card__schedule{
    border-top:none;
    margin-top: 5px;
}


/* -----------------------------------
出展者イベント
----------------------------------- */
/* CEATECスタイルのグリッドレイアウト */
.event-list {
    font-family: 'LINESeedJP', sans-serif;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch;
    margin: 0 auto;
    max-width: 1200px;
}

.event-list__item {
    width: 100%;
    margin-right: 0;
}

.event-card {
    border: 2px solid rgb(47 103 246 / 14%);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    /* justify-content: space-between; */
    height: 100%;
    overflow: hidden;
    min-height: 500px;
    background: #f3f6ff;
}

.event-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

a.event-card__link{
    padding-right: 0;
    color: #fff;
    /* padding: 0; */
}
/* ヘッダー（ブース番号タグ） */
.event-card__header {
    text-align: right;
    margin: 0 0 10px 0;
    /* position: absolute; */
    top: 60px;
    right: 15px;
    z-index: 10;
    flex-grow: 0;
}

.event-card__booth-tag {
    background-color: #333;
    color: white;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
    white-space: nowrap;
    margin-left: 10px;
}

/* テキストボックス */
.event-card .text_box {
    width: 100%;
    margin-bottom: 0;
    position: relative;
    min-height: 120px;
    display: flex;
    flex-direction: column;
}

/* 会社名 */
.event-card__company {
    margin: 0 0 10px 0;
    padding: 10px 10px 15px 10px;
    line-height: 1.3;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    text-decoration: none;
    background-color: #f5f5f5;
    width: 100%;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex-grow: 0;
    min-height: 65px;
    display: flex;
    align-items: self-start;
    box-sizing: border-box;
    background-color: #ffffff;
    padding: 10px;
    border-radius: 5px;
}

.event-card__company:hover {
    color: #0709de;
}

.event-card__company i {
    margin-right: 8px;
    color: #0709de;
}

/* タイトル */
.event-card__title {
    margin: 0;
    /* margin-top: 10px; */
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
    color: #000;
    flex-grow: 1;
    border-bottom: solid 2px #3460f3;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.event-card__title::before, .event-card__title::after {
    background-color: #0709de;
}


/* 画像 */
.event-card .is-event_image{
    aspect-ratio: 16 / 9;
    /* min-height: 200px; */
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
}
.event-card .is-event_image img{
  display: block;
  max-width: 100%;
  max-height: 180px;
  width: auto;                  /* 横は自動で決める */
  height: auto;                 /* ← ここがポイント！ height:100% をやめる */
  object-fit: contain;          /* 切らない */
  object-position: center;
  flex: 0 0 auto;               /* 画像が縮小され過ぎるのを防ぐ保険 */
  border: none;
  border-radius: 0;
}

/* 情報セクション */
.event-card__info {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    flex-grow: 1;
}

.event-card__schedule,
.event-card__time {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    /* margin: 10px 0 0 0; */
    padding-top: 0;
}

.event-card__time.is-hidden{
    display: none;
}

.event-card__schedule {
    margin-top: 10px;
}

.event-card__schedule__tag{
    padding: 3px 12px;
    border-radius: 4px;
    color: #000;
    opacity: 1;
    background-color: #ffffff;
    border: unset;
}

.event-card__schedule:last-child,
.event-card__time:last-child {
    margin-bottom: 0;
}

.event-card__label {
    font-size: 14px;
    font-weight: bold;
    color: #666;
    min-width: 60px;
    flex-shrink: 0;
}

.event-card__dates,
.event-card__time-value {
    font-size: 14px;
    color: #333;
    font-weight: bold;
}

/* 日付タグのスタイル */
.event-card__dates ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.event-card__dates ul li {
    background: #0709de;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.event-card .description {
    /* margin-top: 15px; */
    font-size: 0.9rem;
    line-height: 1.4;
    display: block;
    /* padding-bottom: 15px; */
    box-sizing: border-box;
    margin-bottom: auto;
    overflow-wrap: anywhere; /* 長いURLでも強制的に折り返す */
    word-break: break-word;  /* 念のため */
    line-break: anywhere;    /* 日本語の詰まりも崩しやすくする（任意） */
}

/* 詳細リンクボタン（CEATECスタイル） */
.event-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto auto 0;
    padding: 8px 15px;
    background: linear-gradient(90deg, #2f67f6 0%, #6022d2 100%);
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    gap: 12px;
    width: 70%;
    border-radius: 10px;
    flex-shrink: 0;
}

.event-card__btn:hover {
    background: linear-gradient(135deg, #84a3f2 0%, #af88f7 100%);
    color: white;
    transform: translateY(-1px);
}

.event-card__btn i {
    font-size: 12px;
    margin-right: 0;
}

/* 768px以下 */
@media screen and (max-width: 768px) {
    .event-list {
        display: block;
    }

    .event-card{
        min-height: 300px;
    }

    .event-card__company {
        min-height: unset;
    }

    .is-event_block{
        display: flex;
        gap: 20px;
    }

    .event-card__info {
        margin-top: 0;
        width: 70%;
    }

    .event-card .is-event_image {
        min-height: 150px;
    }

    .event-card .is-event_image img {
        max-height: 150px;
    }

    .event-list__item:nth-child(n + 2) {
        margin-top: 0;
    }
    .event-card__btn{
        margin-top: 20px;
    }
}

/* 600px以下 */
@media screen and (max-width: 600px) {
    .is-event_image {
        min-height: 120px;
    }
}

/* 480px以下 */
@media screen and (max-width: 480px) {
    .is-event_block {
        display: block;
    }
    .event-card__info {
        margin-top: 15px;
        width: 100%;
    }

    .event-card__schedule, .event-card__time {
        gap: 5px;
    }

    .event-card__btn {
        width: 80%;
    }
}


/* 概要文の調整 */
.event-card .description[data-max-length="80"],
.event-card .description[data-max-length="150"]{
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 開催時間が空の場合は非表示 */
.event-card__time.is-hidden {
    display: none;
}