.traditional-detail-section {
    max-width: 90%;
    margin: 170px auto 0;
    position: relative;
}

/* ものづくりヘッダー */
.traditional-detail-heading {
    text-align: center;
    font-weight: 500;
    font-size: 40px;
    margin-bottom: 40px;
    padding: 0 20px;
}

.traditional-detail-heading-en {
    display: block;
    font-size: 20px;
    color: #666;
    margin-top: 5px;
    margin-bottom: 80px;
}

/* ものづくりコンテンツ全体のコンテナ */
.traditional-detail-container {
    width: 100%;
    margin: 0 auto;
}

/* グリッドレイアウト */
.traditional-detail-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-bottom: 60px;
    justify-items: center; /* 各アイテムをグリッド内で中央揃え */
}

/* 各アイテムのスタイル */
.traditional-detail-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-self: center; /* グリッド内の各アイテムを中央揃え */
}

/* 画像のスタイル */
.traditional-detail-image {
    width: 220px;
    height: 220px;
    background-color: #ccc;
    margin: 0 auto 10px; /* 上下中央揃えを確実にする */
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}


.traditional-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像のアスペクト比を維持しながら領域を埋める */
    object-position: center; /* 画像の中央部分を表示 */
}

/* 商品名のスタイル */
.traditional-detail-name {
    margin: 5px 0;
    font-size: 20px;
}

/* アイコンコンテナのスタイル */
.traditional-detail-icons {
    display: flex;
    justify-content: center;
    margin-top: 5px;
    margin-bottom: 40px;
}

.traditional-detail-icons img {
    width: auto;
    height: 60px;
}

/* アイコンホバー時のスタイル */
.traditional-detail-icons img:hover {
    filter: brightness(0.7); /* 明るさを70%に下げて暗くする */
    cursor: pointer; /* カーソルをポインターに変更 */
}


.traditional-detail-icons img.disabled {
    opacity: 0.2; /* 透明度を下げて薄くする（0.1〜1.0 の範囲で調整） */
    cursor: not-allowed; /* クリック不可のカーソル表示 */
    pointer-events: none; /* クリックイベントを無効化 */
}
