/*ヘッダー*/
.header4 {
  height: 100vh;
}

.header4 .jumbotron {
  background-image: url("../img/main4.jpg");
  background-size: cover;
  background-position: center top;
  position: relative;
  height: 90%;
  margin-bottom: 0;
}

.header4-1 {
  height: 100vh;
}

.header4-1 .jumbotron {
  background-image: url("../img/main4.jpg");
  background-size: cover;
  background-position: center top;
  position: relative;
  height: 90%;
  margin-bottom: 0;
}

/* --- 基本リセット --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.product-container {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #ffffff;
    padding: 20px;
}

/* --- 外枠 --- */
.product-card {
    max-width: 800px; /* 表形式なので少しスリムに */
    margin: 0 auto;
    background: #fff;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* --- 商品タイトルと説明 --- */
.product-header h1 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.description {
    margin-bottom: 25px;
    font-size: 0.95rem;
    color: #555;
    white-space: pre-wrap;
}

/* --- 商品情報の表（画像も含む） --- */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ccc;
    table-layout: fixed; /* セルの幅を固定して安定させる */
}

.spec-table th, .spec-table td {
    padding: 15px;
    border: 1px solid #ccc;
    font-size: 0.95rem;
    vertical-align: middle;
}

.spec-table th {
    white-space: nowrap;
    width: 120px; /* 項目名の幅を固定 */
    background-color: #f9f9f9;
    text-align: left;
    font-weight: bold;
    color: #666;
}

/* --- 表の中の画像エリア --- */
.image-cell {
    display: flex;
    flex-direction: column; /* スマホでは縦に2枚 */
    gap: 10px;
    justify-content: center;
}

.image-cell img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 4px;
    border: 1px solid #eee;
    margin: 0 auto;
}

/* --- レスポンシブ設定 (600px以上) --- */
@media (min-width: 600px) {
    /* 表の中の画像を横並びにする */
    .image-cell {
        flex-direction: row; /* 横並び */
    }

    .image-cell img {
        width: calc(50% - 5px); /* 2枚均等 */
    }

    .spec-table th {
        width: 150px; /* PCでは項目名を少し広く */
    }
}
