/* --- 共通リセット・ベース設定 --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background-color: #f8f9fa;
    line-height: 1.8;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ヘッダー --- */
.site-header {
    background-color: #111;
    color: #fff;
    text-align: center;
    padding: 0 20px 50px;
    margin-bottom: 40px;
}

.header-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
}

.title-image {
    max-width: 100%;
    height: auto;
    width: 732px;
    height: 512px;
    object-fit: contain;
}

.header-lead {
    font-size: 0.95rem;
    color: #ccc;
    max-width: 650px;
    margin: 0 auto 30px;
    line-height: 1.8;
    letter-spacing: 0.03em;
}

/* --- ブランドリスト（1カラム） --- */
.main-content {
    padding-bottom: 60px;
}

.brand-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

/* --- ブランドカード（左：写真 / 右：紹介文・リンク） --- */
.brand-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 35px;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* --- 左側：商品写真エリア --- */
.brand-image {
    flex: 0 0 280px; /* 写真の基準幅 */
    display: flex;
    justify-content: center;
    align-items: center;
}

.brand-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

/* --- 右側：コンテンツエリア --- */
.brand-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* 左寄せ */
    text-align: left;
}

/* --- メーカー名 --- */
.brand-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #111;
    letter-spacing: 0.05em;
}

/* --- 紹介文 --- */
.brand-description {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
}

/* --- ボタンエリア --- */
.brand-action {
    width: 100%;
}

.btn-link {
    display: inline-block;
    background-color: #111;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 10px 28px;
    border-radius: 4px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-link:hover {
    background-color: #444;
    transform: translateY(-2px);
}

/* --- レスポンシブ調整（スマホやタブレット向け：縦並びに切り替え） --- */
@media (max-width: 768px) {
    .site-header{
        margin-inline: calc(var(--lps--spacing--page-gutter) * -1);
        width: calc(100% + (var(--lps--spacing--page-gutter) * 2));
        padding-bottom: 40px
    }
    .container {
        padding: 0;
    }
    .title-image {
        width: 100%;
        height: auto;
    }
    .site-header {
        padding: 0 0 20px;
    }
    .header-image-wrapper {
        margin-bottom: 20px;
    }
    .header-lead {
        font-size: 1rem;
        text-align: left;
        padding: 0 5%;
        margin-bottom: 20px;
    }
    .brand-card {
        flex-direction: column; /* スマホでは上下に積む */
        padding: 24px 20px;
        gap: 20px;
    }
    .brand-image {
        flex: none;
        width: 100%;
    }
    .brand-content {
        align-items: center; /* スマホでは中央寄せに戻すなどお好みで */
        text-align: center;
    }
    .brand-name {
        font-size: 1.25rem;
    }
    .brand-description {
        font-size: 1rem;
        text-align: left;
    }
    .btn-link {
        width: 100%;
        text-align: center;
    }
}

/* ブランド特徴タグのスタイル */
.brand-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px; 
  margin: 4px 0 20px 0; 
}
.brand-tags .tag {
  display: inline-block;
  padding: 4px 10px;
  font-size: 13px;
  color: #333333;
  background-color: #f0f0f0;
  border-radius: 4px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
@media (max-width: 768px) {
    .brand-tags {
      margin-bottom: 25px;
    }
}

/* 商品allリンク */
.brand-action-all   {
    width: 100%;
    text-align: center;
}
.brand-action-all .btn-link {
    display: inline-block;
    background-color: #111;
    color: #fff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 10px 28px;
    width: 500px;
    border-radius: 4px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
.site-header .brand-action-all .btn-link {
    display: inline-block;
    background-color: #333;
    border: 1px solid #666;
    color: #FFF;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: normal;
    padding: 10px 28px;
    width: 380px;
    border-radius: 4px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}
@media (max-width: 768px) {
    .site-header .brand-action-all .btn-link,
    .brand-action-all .btn-link{
        font-size: 0.9rem;
        font-weight: 600;
        padding: 10px;
        width: 80%;
    }
}