
/* detail.css - VTuber詳細ページ用 (index.cssベース) */

.container {
    max-width: 890px;
    margin: 0 auto;
    padding: 0px;
    font-family: sans-serif;
}

.vtuber-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.vtuber-header .icon {
    width: 100px;
    height: 100px;
    border-radius: 0%;
    object-fit: cover;
    border: 2px solid #ccc;
    flex-shrink: 0;
}

.vtuber-header .info {
    flex: 1;
    line-height: 1.5;
}

.vtuber-header .info .vtuber-info .name {
    font-weight: bold;
    color: #333;
    margin-right: 6px;
    font-size: 16px;
}

.vtuber-header .info .vtuber-info .group-wrapper {
    display: inline;
}

.vtuber-header .info .vtuber-info .group-wrapper .group {
    font-size: 13px;
    color :#666;
}

.vtuber-header .info .vtuber-info .group-wrapper a {
    color: #0066cc;
    text-decoration: none;
}

.vtuber-header .info .vtuber-info .group-wrapper a:hover {
    text-decoration: underline;
}

.section {
    margin-top: 20px;
}

.section h2 {
    font-size: 20px;
  padding: 5px 10px;
  color: #fff;
  background: #5D8AC1;
  -webkit-box-shadow: 5px 5px 0 #666666;
  box-shadow: 5px 5px 0 #666666;
}

.stream-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.stream-item {
    display: flex;
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.stream-item .thumb {
    width: 160px;
    height: 90px;
    object-fit: cover;
    margin-right: 12px;
    border-radius: 4px;
}

.stream-info {
    flex: 1;
}

.stream-info .meta {
    font-size: 0.9em;
    color: #555;
    margin-bottom: 4px;
}

.stream-info .meta a {
    color: #0066cc;
    text-decoration: none;
}

.stream-info .meta a:hover {
    text-decoration: underline;
}

.stream-info .title {
    font-weight: bold;
    margin-bottom: 4px;
    font-size: 14px;
}

.stream-info .tags {
    font-size: 0.9em;
    color: #333;
    margin-bottom: 6px;
}

.stream-info .tags .guest-line {
    font-size: 13px;
    color: #333;
}

.stream-info .tags .guest-line a {
    color: #0066cc;
    text-decoration: none;
}

.stream-info .tags .guest-line a:hover {
    text-decoration: underline;
}

.stream-info .tags .alcohol-line {
    font-size: 13px;
    color: #333;
}

.stream-info .yt-link {
    font-size: 0.9em;
    color: #0066cc;
    text-decoration: none;
}

/* 詳しく見るボタン */
.toggle-detail-btn {
    background-color: #eee;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 13px;
    margin-top: 8px;
}

.detail-box {
    margin-top: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border-left: 3px solid #ccc;
    font-size: 0.9em;
}

.amazon-item {
    display: flex;
    gap: 1em;
    align-items: flex-start;
    margin-bottom: 15px;
}

.amazon-image-link{
    width: 100px;                    /* ✅ 固定幅にする */
    display: flex;
    justify-content: center;         /* 画像を中央揃え */
    align-items: center;
    flex-shrink: 0;
}

.amazon-image-link img {
    width: auto;
    height: auto;
    max-width: 100px;
    max-height: 100px;
    border-radius: 4px;
    object-fit: contain; /* ✅ 画像が収まるように縮小表示 */
    display: block;
}

.amazon-item-text .brand {
    font-size: 11px;
    color: #555;
    margin-bottom: 2px;
}

.amazon-item-text .name {
    font-size: 13px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.amazon-item-text .name a {
    font-size: 13px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
}

.amazon-item-text .name a:hover {
    text-decoration: underline;
}

.ec-buttons {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ec-btn {
    display: flex;               /* ✅ Flexboxで配置 */
    justify-content: center;    /* ✅ 水平方向中央揃え */
    align-items: center;        /* ✅ 垂直方向中央揃え */
    min-width: 120px;
    padding: 6px 8px;
    border-radius: 4px;
    text-decoration: none;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    background-color: gray;
    transition: background 0.2s ease;
    box-sizing: border-box;
    text-align: center;         /* 念のため */
    height: 34px;               /* ✅ 高さ固定（縦中央揃えの安定化） */
}

.ec-btn.amazon {
    background-color: #F79256;
}

.ec-btn.rakuten {
    background-color: #F76956;
}

.ec-btn.yahoo {
    background-color: #66A7FF;
}

.ec-btn:hover {
    opacity: 0.85;
}

.yokunomu-border {
    border-top: 1px solid #ccc;
    padding-bottom: 20px;
}


.load-more-wrapper {
    text-align: center;
    margin: 20px 0;
}

#load-more {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    background-color: #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
}

#load-more:hover {
    background-color: #d0d0d0;
}

.load-more {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    background-color: #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
}

.load-more:hover {
    background-color: #d0d0d0;
}


#load-more-alcohols {
    padding: 10px 20px;
    font-size: 14px;
    border: none;
    background-color: #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
}

#load-more-alcohols:hover {
    background-color: #d0d0d0;
}

.alcohol-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: 0;
}

.alcohol-item {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px;
    width: calc(33.3% - 12px);
    background-color: #fafafa;
    list-style: none;
}

.alcohol-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 16px;
}

.header-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.back-button {
    margin: 20px 0;
    text-align: left;
    font-size: 12px;
}

.back-button .btn {
    display: inline-block;
    background-color: #f0f0f0;
    padding: 8px 16px;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s;
}

.back-button .btn:hover {
    background-color: #e0e0e0;
}

.group-button {
    margin: 20px 0;
    text-align: left;
    font-size: 12px;
}

.group-button .btn {
    display: inline-block;
    background-color: #f0f0f0;
    padding: 8px 16px;
    border-radius: 6px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.2s;
}

.group-button .btn:hover {
    background-color: #e0e0e0;
}


.stats-block {
    margin-top: 20px;
}

.stat-line {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.label {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    font-weight: bold;
    color: #fff;
    min-width: 100px;
    text-align: center;
    margin-right: 10px;
    font-size: 13px;
}

.label.green {
    background-color: #55ACEE;
}

.label.red {
    background-color: #F44336;
}

.value {
    font-size: 13px;
    color: #222;
}

.wordpress-p {
    font-size: 17px;
    font-family:"Yu Gothic UI" ;
    letter-spacing: 1px;
}

.wordpress-p2 {
    padding: 2px 12px;
    margin: 2em 0;
    color: #2c2c2f;
    background: #FF8178;/*背景色*/
    border-radius: 3px;
    width: fit-content;
}

.wordpress-p2 p{
    font-size: 15px;
    font-family:"Yu Gothic UI" ;
    font-weight: bold;
    color: #fff;
    margin: 0px;
}



@media screen and (max-width: 600px) {
  /* 共通の調整 */
  body {
    padding: 0 10px;
    font-size: 14px;
  }

  .container {
    padding: 0px;
  }

  .header-buttons {
    padding: 5px;
  }

  .back-button {
    margin: 0px 0px 5px 0px;
  }

  .group-button {
    margin: 0px 0px 5px 0px;
  }

  .stats-block {
    margin-top: 10px;
  }

  .stream-item {
    display: flex;
    flex-direction: column;
    align-items: center; /* 中央揃え */
  }

  /* サムネイル画像を横幅いっぱいに */
  .stream-item > a {
    width: 100%;
    max-width: 100%;
    display: block;
    text-align: center; /* 中の img を中央揃え */
    margin-bottom: 8px;
  }

  .stream-item .thumb {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    border-radius: 6px;
}

  .toggle-detail-btn {
    display: block;
    margin: 10px auto 5px;
  }
}