/* ====================================
   グローバル・基本設定
   ==================================== */
body {
    font-family: 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f8ff; 
    color: #333;
    box-sizing: border-box; 
}

/* ====================================
   カスタムヘッダー 
   ==================================== */
.custom-header-container {
    background-color: #004d7a !important; 
    color: white;
    padding: 20px 10px; 
    text-align: center;
}

.custom-header-container h1 {
    margin: 0;
    font-size: 2.2em;
    letter-spacing: 2px;
}

.custom-header-container p {
    margin-top: 5px; 
    font-size: 1.1em;
    color: #b0e0e6; 
}

/* ====================================
   メインバナーセクション (中央配置)
   ==================================== */
.main-banner-container {
    width: 100%; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    margin: 20px 0 !important; 
    overflow: hidden;
}

.main-banner-image {
    max-width: 100%; 
    height: auto;
    display: block;
    margin: 0 auto; 
}

/* ====================================
   導入文セクション 
   ==================================== */
.introduction-text-container {
    width: 90%; 
    max-width: 1200px; 
    margin: 40px auto 30px; 
    padding: 25px 30px; 
    background-color: #ffffff; 
    border: 3px solid #4682b4; 
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 77, 122, 0.15); 
    text-align: center;
    box-sizing: border-box; 
}

.introduction-text-container h2 {
    color: #004d7a; 
    font-size: 1.8em;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid #b0e0e6;
    display: inline-block;
    padding-bottom: 5px;
}

.introduction-text-container p {
    font-size: 1.1em;
    line-height: 1.8;
    color: #444;
}

/* ====================================
   商品リストと個別の商品ブロック
   ==================================== */
.product-list {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto 40px; 
    padding: 0;
}

.product-block {
    display: flex;
    align-items: stretch; 
    background-color: white;
    border: 1px solid #c0d9e6; 
    border-radius: 12px;
    margin-bottom: 35px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden; 
}

/* ====================================
   POP画像エリア
   ==================================== */
.pop-main {
    flex: 1.2; 
    min-width: 40%;
}

.pop-image-main {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

/* ====================================
   商品詳細エリア
   ==================================== */
.product-detail-area {
    flex: 1;
    padding: 25px 30px;
    min-width: 50%;
    display: flex;
    flex-direction: column;
}

.product-title {
    color: #004d7a; 
    font-size: 1.7em;
    border-bottom: 2px solid #b0e0e6; 
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 20px;
}

.product-info-wrap {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

/* 詳細商品画像 (1/4サイズ相当) */
.product-image-small {
    width: 80px; 
    height: 100px; 
    border-radius: 5px;
    object-fit: contain;
    border: 1px solid #ddd;
}

.product-text-details {
    flex-grow: 1;
}

.description {
    font-size: 1.05em;
    line-height: 1.5;
    margin-bottom: 12px;
    color: #555;
}

.price {
    font-size: 1.6em;
    color: #cc0000;
    margin: 10px 0 15px;
}

.code {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 10px;
}

.buy-button {
    display: inline-block;
    background-color: #4682b4; 
    color: white;
    text-align: center;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.buy-button:hover {
    background-color: #335d88;
}

/* ====================================
   その他の長袖かりゆしウェア バナー 
   ==================================== */
.other-kariyushi-banner {
    text-align: center !important;
    margin: 50px auto !important; 
    width: 80% !important; 
    max-width: 800px !important;
    display: block !important; 
}

.banner-link {
    display: block !important;
    width: 100% !important;
    padding: 20px 30px;
    background-color: #4682b4 !important; 
    color: white !important;
    font-size: 1.5em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 3px solid #b0e0e6; 
}

.banner-link:hover {
    background-color: #335d88; 
    transform: translateY(-2px); 
}

/* ====================================
   レスポンシブ対応
   ==================================== */
@media (max-width: 992px) {
    .product-block {
        flex-direction: column; 
    }
    .pop-main {
        flex: none;
        width: 100%;
        max-height: 250px; 
    }
    .product-detail-area {
        padding: 20px;
        min-width: 100%;
    }
}

@media (max-width: 600px) {
    .introduction-text-container {
        padding: 20px 15px;
    }
    .product-info-wrap {
        flex-direction: column; 
        align-items: center;
    }
    .product-image-small {
        width: 100px; 
        height: 125px; 
    }
    .buy-button {
        width: 100%;
        text-align: center;
    }
    .banner-link {
        font-size: 1.2em;
        padding: 15px 20px;
        width: auto !important;
    }
}