@charset "utf-8";

/*================================
  1. 基本設定とリセット
================================*/
body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #ffffff; 
    color: #333;
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: inherit;
}

hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 30px auto; 
    max-width: 960px;
}

/* ヒーロー */
.osechi-hero {
    max-width: 980px;
    margin: 0 auto 16px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .06);
}

.osechi-hero img {
    display: block;
    width: 100%;
    height: auto;
}

/* キャッチコピー */
.catch-copy-section {
    text-align: center;
    padding: 30px 0;
}

.catch-copy {
    font-size: 1.5rem;
    font-weight: 700;
    color: #a0522d; /* 茶色系 */
    margin: 0 0 15px;
}

.text-block {
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 10px;
}

.text-block p {
    margin-bottom: 1em;
}

/*================================
  2. 予約締切 (deadline-section)
================================*/
.deadline-section {
    background-color: #f7e0e0; 
    border: 1px solid #f0cccc;
    padding: 15px 20px;
    margin-bottom: 30px;
    text-align: center;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.deadline-box {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #b03a3a; 
    color: white;
    padding: 10px 20px;
    margin-bottom: 10px;
    font-size: 1.4rem;
    font-weight: 700;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.deadline-title {
    margin-right: 10px;
}

.deadline-section .note {
    font-size: 0.9rem;
    color: #333; /* テキスト色を黒に変更 */
    text-align: left;
    max-width: 700px;
    margin: 0 auto;
}
.deadline-section .note strong {
    font-weight: 700;
}


/*================================
  3. 共通セクションタイトル
================================*/
.section-title-deco {
    background-color: #f0f0f0; 
    border-left: 5px solid #a0522d; 
    padding: 8px 15px;
    margin: 20px 0 20px 0; 
    font-size: 1.2rem;
    font-weight: 700;
}

/* 各セクションのパディング調整 (SP対応) */
.criteria-section,
.shipping-section,
.delivery-type-section:not(.shipping-section) {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px; 
}

/* delivery-type-section内の特定の要素の左右パディングを上書き */
.delivery-type-section p,
.delivery-type-section .delivery-list-box,
.delivery-type-section .bullet-list {
    padding-left: 0;
    padding-right: 0;
}


/*================================
  4. 原材料の選択基準 (criteria-section)
================================*/
.criteria-block {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #ccc;
}

.criteria-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.criteria-header {
    font-size: 1.1rem;
    font-weight: 700;
    color: #444;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px; 
}

.criteria-header::before {
    content: "■"; 
    color: #e5b2a0;
    position: absolute;
    left: 0;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tag {
    background-color: #fff8e1; 
    border: 1px solid #ffcc80; 
    color: #d89617;
    padding: 5px 12px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 700;
}

.text-block {
    text-align: left;
}

.bullet-list {
    list-style: none;
    padding-left: 0;
}

.bullet-list li {
    position: relative;
    padding-left: 1.5em;
    margin-bottom: 5px;
}

.bullet-list li::before {
    content: "・"; 
    position: absolute;
    left: 0;
    color: #a0522d;
    font-weight: 700;
}

.criteria-block .note {
    font-size: 0.85rem;
    color: #888;
    margin-top: 10px;
}

.link-buttons {
    display: flex;
    flex-wrap: wrap; 
    gap: 20px;
    margin: 15px 0;
}

.link-button {
    display: inline-block;
    padding: 8px 15px;
    border: 1px solid #a0522d;
    color: #a0522d;
    background-color: #fff;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}

.link-button:hover {
    background-color: #f5f5f5;
}


/*================================
  5. ご購入前にご確認ください (shipping-header-check)
================================*/
.shipping-header-check {
    max-width: 960px;
    margin: 0 auto 20px; 
    padding: 0 15px; 
}

.shipping-header-check a {
    display: block;
    text-align: left;
}

.shipping-header-check .shipping-date {
    font-size: 1.1rem; 
    color: #444; 
    font-weight: 700;
    text-decoration: none; 
    padding-left: 25px; 
    position: relative; 
}

.shipping-header-check .shipping-date::before {
    content: "■";
    color: #a0522d; 
    position: absolute;
    left: 0;
    font-size: 1em;
    top: 0;
}


/*================================
  6. 発送日 (shipping-section)
================================*/
.shipping-block {
    background-color: #f7f7f7;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.shipping-type-header {
    font-size: 1.1rem;
    font-weight: 700;
    padding-left: 0; 
    position: relative;
}

.shipping-type-header.manufacturer-direct::before,
.shipping-type-header.other-direct::before {
    content: none; 
}

.shipping-block .shipping-date {
    font-size: 1.2rem;
    font-weight: 700;
    color: #b03a3a;
    margin: 5px 0 5px 0; 
}

.shipping-note, .shipping-attention {
    font-size: 0.9rem;
    color: #666;
    margin-left: 0; 
}

/* 警告文の調整 */
.shipping-attention {
    background-color: #fffbe6; 
    border-left: 3px solid #ffd700;
    padding: 10px;
    margin: 20px 0 0 0; 
    color: #a0522d;
}


/*================================
  7. 温度区分 (delivery-type-section) - ボックスデザイン
================================*/
.delivery-type-section {
    max-width: 960px;
    margin: 0 auto 30px;
    padding: 0 15px; 
    background-color: transparent; 
    border: none; 
    border-radius: 0;
}

.delivery-type-section p {
    padding: 0; 
    margin-left: 0; 
    margin-right: 0;
}

.delivery-list-box {
    list-style: none;
    padding: 15px 0; 
    margin: 0 0 15px 0; 
}

.delivery-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0; 
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    
    display: flex;
    align-items: center;
    /* 修正済み: 左寄せを維持 */
    justify-content: flex-start; 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    
    /* 修正済み: 改行を許可 */
    flex-wrap: wrap; 
    min-width: 0; 
    overflow-x: visible; 
}

.item-ok {
    border-color: #d7e8b6;
}

.item-ng .result-ng {
    color: #b03a3a; 
    font-weight: 700;
}

.combination {
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 700;
    white-space: nowrap; 
    /* 修正済み: 結果との間隔を詰める */
    margin-right: 2px; /* 2pxに再調整 */
}

.plus-icon, .arrow-icon {
    /* 修正済み: アイコン前後のマージンを詰める */
    margin: 0 3px; 
    color: #696969;
    font-weight: 400; 
}

.delivery-item .result {
    /* 修正済み: サイズを小さく、改行を禁止 */
    font-size: 0.9rem; 
    font-weight: 700;
    white-space: nowrap; /* 改行を禁止に戻す */
    
    margin-left: 0; 
    text-align: left; 
    
    /* 修正済み: インライン要素として配置し、配置ずれを解消 */
    display: inline-block; 
    flex-grow: 0;
    min-width: auto; 
    padding-right: 5px; /* 右側に微調整用パディング */
}

.temp-tag {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: 700;
    color: white;
    font-size: 1rem;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

.temp-tag.jyo-on {
    background-color: #5c8b20; 
}

.temp-tag.rei-zou {
    background-color: #1e7aa8; 
}

.temp-tag.rei-tou {
    background-color: #3556b3; 
}

.delivery-type-section > p.delivery-note {
    font-size: 0.9rem;
    color: #696969;
    margin-top: 15px;
    margin-left: 0; 
    margin-right: 0;
    padding: 0;
}


/*================================
  8. カテゴリから探すボタン (修正済み)
================================*/
.search-button-area {
    /* 親要素のスタイルはそのまま維持 */
    text-align: center;
    margin: 40px auto;
    max-width: 960px;
}

/* 修正点: 親セレクタ(.search-button-area)を削除し、クラス名単体で指定する */
.category-search-button {
    display: inline-block;
    background-color: #b03a3a !important; /* !importantは維持 */
    color: white !important; /* colorも念のため強制適用 */
    font-size: 1.2rem;
    font-weight: 700;
    padding: 15px 40px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, transform 0.1s;
}


.category-search-button:hover {
    background-color: #c95b5b !important; /* ホバー時も!importantで強制適用 */
    transform: translateY(-1px);
}