@import 'variables.css';

ul.tour-list-container {
    list-style-type: none;
    padding: 0;
}

.tour-list-container,
.tour-list-placeholder-container {
    width: 100%;
    position: relative;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.row-container {
    width: 100%;
    justify-content: space-between;
    margin-bottom: 20px;
    display: flex;
}

.tour-container {
    position: relative;
}

.tour-icon-container {
    width: auto;
    height: 200px;
    margin: 0 0px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    background-color: #fff;
}

.tour-icon-container.odd {
    margin-left: 10px;
}

.tour-icon-container.even {
    margin-right: 10px;
}

.tour-icon-image {
    object-fit: cover; /* 画像が親要素内に収まるように調整 */
    object-position: center; /* 画像を中央に配置 */
    position: absolute;
}

.tour-icon-image img {
    visibility: hidden;
}

.tour-name-container {
    display: flex;
    justify-content: center;
    align-items: center; /* 中央揃え */
    height: 2.6em; /* 2行分の高さ */
    padding: 0 0px 0 0;
    margin-top: 10px;
    text-align: center;
}

.tour-name-container.odd {
    margin-left: 5px;
    margin-right: -5px;
}

.tour-name-container img {
    width: 16px; /* アイコンの固定サイズ */
    height: 16px; /* アイコンの固定サイズ */
    bottom: 3px;
}

.tour-name-container.even {
    margin-right: 5px;
    margin-left: -5px;
}

.tour-name {
    line-height: 1.3em;
    max-height: 2.6em; /* 2行まで表示 */
    overflow: hidden;
}

.tour-name-line {
    color: black;
    margin-left: 4px;
    font-size: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 2行まで表示 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis; /* 省略記号を表示 */
    white-space: normal; /* 折り返しを許可 */
}

.tour-mainname-line, .tour-subname-line {
    display: block;
    margin-left: 4px;
    line-height: 1.4; /* 行間を詰める */
    max-height: 1.5em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tour-mainname-line {
    color: black;
    font-size: 14px;
}

.tour-subname-line {
    color: #909090;
    font-size: 12px;
}

.no-published-tour-comment.show {
    visibility: visible;
}




