.scrollable {
    max-height: 500px; /* 必要に応じて高さを調整 */
    overflow-y: auto;
    background-color: var(--bg2);
    /* border: 1px solid var(--border); オプション：スクロール領域を視覚的に分けるための枠線 */
    padding: 10px; /* オプション：内容の内側に余白を追加 */
}

.trend-box {
    padding: 10px;
	margin-bottom: 40px;
} 

.trend-item {
    position: relative;
    overflow: hidden;
}
.trend-image {
    position: absolute;
    right: 0;
    top: 0;
    max-width: 150px;
    max-height: 150px;
}
.trend-content {
    margin-right: 160px; /* Adjust based on the image size */
}

.itai-content {
}

.news-image {
    max-width: 100px;
    max-height: 100px;
    vertical-align: middle;
}


.cocktail {
    display: flex;
}
.cocktail-image img {
    max-width: 200px; /* 写真の最大幅を設定 */
    height: auto;
    border-radius: 10px;
    margin-right: 20px;
}
.cocktail-details {
    flex: 1;
}
.cocktail h2 {
    margin-top: 0;
}
.cocktail ul {
    padding-left: 20px;
}

.p-tit{
  text-align : left;
  padding: 0.4em 0.5em;/*文字の上下 左右の余白*/
  border-left: solid 5px #7db4e6;/*左線*/
  border-bottom: solid 3px #d7d7d7;/*下線*/
  background-color: var(--accent);
}

.p-tit2{
  padding: 0.4em 0.5em;/*文字の上下 左右の余白*/
  border-left: solid 5px #17c4c4;/*左線*/
  border-bottom: solid 3px #b5e3ed;/*下線*/
  background-color: var(--accent);
}

.p-tit3{
  padding: 0.4em 0.5em;/*文字の上下 左右の余白*/
  border-left: solid 5px #4364c1;/*左線*/
  border-bottom: solid 3px #7c98e7;/*下線*/
  background-color: var(--accent);
}

.t-left{
  text-align : left;
}

/* =========================
   Tabs
========================= */

.tabs {
    width: 100%;
}

.tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 0 0 10px;
    padding: 0;
}

.tab-list li {
    padding: 8px 14px;
    cursor: pointer;
    border-radius: 8px;
    background: #1e2430;
    color: #aab4c8;
    user-select: none;
    transition: .2s;
}

.tab-list li:hover {
    background: #2a3447;
    color: #fff;
}

.tab-list li.active {
    background: #4b7cff;
    color: #fff;
}

.tab-content {
    width: 100%;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}



.trend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;

    max-height: 500px; /* ←必要に応じて調整 */
    overflow-y: auto;
    padding-right: 6px; /* スクロールバーのズレ対策 */
}

.trend-card {
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease;
}

.trend-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.trend-card a {
    display: block;
    color: inherit;
    text-decoration: none;
}

.trend-thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.trend-title {
    padding: 12px;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

.itai-content{
    background: var(--panel);
    color: var(--text);
    border: 1px solid var(--border);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
}

/* 本文全部 */
.itai-content *{
    color: var(--text) !important;
    background: transparent !important;
    border-color: var(--border) !important;
}

/* リンク */
.itai-content a{
    color: #69d7ff !important;
}

/* 画像 */
.itai-content img{
    max-width:100%;
    border-radius:8px;
}

/* 引用やテーブル対策 */
.itai-content table,
.itai-content td,
.itai-content blockquote{
    background: rgba(255,255,255,.03) !important;
}