@charset "euc-jp";
/* 標準可変メディア
   メモ : 可変メディアでは、HTML からメディアの高さおよび幅の属性を削除する必要がある
   http://www.alistapart.com/articles/fluid-images/ 
*/

.kikan {
    padding: 0.5em 1em;
    margin: 2em 0;
    color:black;
    background: #FFF;
    border: solid 3px #D9619E;
    border-radius: 10px;
}
.kikan p {
    margin: 0; 
    padding: 0;
    font-size: 16px;
    text-align: center; 
    font-weight: normal; /* middleは無効なためnormalに修正 */
    color: black;
}
.kikan p strong {
    font-size: 17px;
    font-weight: bold;
}

.kikan2 {
    padding: 0.5em 1em;
    margin: 2em 0;
    color: #FFF;
    background: #9C6123;
    border: 3px solid #9C6123;
    border-radius: 10px;
}
.kikan2 p {
    margin: 0; 
    padding: 0;
    font-size: 16px;
    text-align: center; 
    font-weight: normal;
}
.kikan2 p strong {
    font-size: 17px;
    font-weight: bold;
}

/* デスクトップレイアウト : 769 px 〜最大 1232 px。モバイルレイアウトとタブレットレイアウトからスタイルを継承。 */
@media only screen and (min-width: 769px) {
    .kikan {
        padding: 0.5em 1em;
        margin: 2em 0;
        color: #D9619E;
        background: #FFF;
        border: solid 3px #D9619E;
        border-radius: 10px;
    }
    .kikan p {
        margin: 0; 
        padding: 0;
        font-size: 22px;
        text-align: center; 
        font-weight: normal;
    }
    .kikan p strong {
        font-size: 24px;
        font-weight: bold;
    }
    
    .kikan2 {
        padding: 0.5em 1em;
        margin: 2em 0;
        color: #FFF;
        background: #9C6123;
        border: 3px solid #9C6123;
        border-radius: 10px;
    }
    .kikan2 p {
        margin: 0; 
        padding: 0;
        font-size: 22px;
        text-align: center; 
        font-weight: normal;
    }
    .kikan2 p strong {
        font-size: 30px;
        font-weight: bold;
    }
}	

/* =========================================
   ここから ハロウィン特集用CSS
   ========================================= */


/* 他のコンテナ設定を上書きして画面両端まで背景を広げる強力な指定 */
.hw24-page-wrapper {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif !important;
    background-color: #fff9f0 !important; /* 薄いオレンジ背景を優先 */
    color: #333 !important;
    position: relative !important;
    overflow-x: hidden !important;
    line-height: 1.5 !important;
    /* 親要素の幅指定や余白を無視して画面幅いっぱいにするテクニック */
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 0 !important;
}

.hw24-page-wrapper a {
    text-decoration: none;
    color: inherit;
}

.hw24-content-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
}

/* トップバナー */
.hw24-top-banner {
    width: 100%;
    margin-bottom: 50px;
    text-align: center;
}
.hw24-top-banner img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

/* LINEUP セクション */
.hw24-lineup-area {
    text-align: center;
    margin-bottom: 50px;
}
.hw24-lineup-heading {
    font-size: 28px;
    color: #6b4c9a;
    letter-spacing: 5px;
    margin-bottom: 30px;
    font-family: serif;
    font-weight: bold;
}
.hw24-lineup-nav {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.hw24-lineup-link {
    flex: 1;
    position: relative;
    background-color: #fff;
    border: 2px solid #f39c12;
    border-radius: 20px;
    padding: 15px 0;
    font-weight: bold;
    color: #6b4c9a;
    font-family: serif;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.hw24-lineup-link:hover {
    background-color: #fff3e0;
    transform: translateY(-3px);
}
.hw24-lineup-icon {
    position: absolute;
    top: -20px;
    left: -10px;
    width: 40px;
    height: auto;
}

/* カテゴリセクション */
.hw24-category-block {
    margin-bottom: 60px;
    padding-top: 20px;
}
.hw24-category-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 30px;
}
.hw24-category-heading {
    font-size: 24px;
    color: #6b4c9a;
    font-family: serif;
    letter-spacing: 3px;
    text-align: left;
    flex-grow: 1;
    font-weight: bold;
}
.hw24-view-all-link {
    background-color: #6b4c9a;
    color: #fff !important;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
}
.hw24-view-all-link:hover {
    background-color: #8364b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(107, 76, 154, 0.3);
}

/* 商品一覧グリッド */
.hw24-item-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

/* 商品カード */
.hw24-item-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    position: relative;
    box-sizing: border-box;
}
.hw24-item-image {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    margin-bottom: 15px;
}
.hw24-item-code {
    font-size: 10px;
    color: #888;
    margin-bottom: 5px;
    text-align: left;
}
.hw24-item-name {
    font-size: 11px;
    margin-bottom: 15px;
    line-height: 1.4;
    color: #555;
    height: 60px;
    overflow: hidden;
    text-align: left;
}
.hw24-buy-link {
    display: inline-block;
    background-color: #f39c12;
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.3s ease;
}
.hw24-buy-link:hover {
    background-color: #e67e22;
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(243, 156, 18, 0.3);
}
.hw24-card-deco {
    position: absolute;
    top: -15px;
    right: -10px;
    width: 35px;
    height: auto;
    z-index: 2;
    pointer-events: none;
}

/* 背景のランダム装飾用コンテナ */
.hw24-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.hw24-bg-deco-item {
    position: absolute;
    opacity: 0.3;
}

/* =========================================
   スマートフォン用レスポンシブ対応 (768px以下)
   ========================================= */
@media screen and (max-width: 768px) {
    .hw24-content-container {
        padding: 10px;
    }
    .hw24-lineup-nav {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .hw24-lineup-link {
        font-size: 14px;
        padding: 12px 0;
    }
    .hw24-category-head {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
    .hw24-category-heading {
        font-size: 18px;
        letter-spacing: 1px;
    }
    .hw24-view-all-link {
        font-size: 12px;
        padding: 6px 12px;
    }
    .hw24-item-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .hw24-item-card {
        padding: 10px;
    }
    .hw24-item-name {
        height: 45px;
    }
    .hw24-buy-link {
        padding: 8px 10px;
        width: 100%;
        box-sizing: border-box;
    }
}