@charset "UTF-8";

/* =========================================
   Base Styles
   ========================================= */
body {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    color: #4a3b32;
    line-height: 1.8;
    margin: 0;
    padding: 0;
    background-color: #fdfdfb;
    -webkit-font-smoothing: antialiased;
}

.lp-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.responsive-img {
    width: 100%;
    height: auto;
    display: block;
}

/* 汎用クラス */
.sp-only { display: none; }
@media screen and (max-width: 768px) {
    .sp-only { display: inline; }
}

/* =========================================
   Main Visual Adjustment (修正箇所)
   ========================================= */
.main-visual {
    text-align: center; /* 画像を中央寄せ */
    background-color: #fff;
}

.mv-img {
    width: 100%;
    height: auto;
    max-width: 700px; /* PCでの最大幅を指定（好みで調整可） */
    margin: 0 auto;
    display: block;
}

@media screen and (max-width: 768px) {
    .mv-img {
        max-width: 100%; /* スマホではフル幅に戻す */
    }
}

/* =========================================
   Sections
   ========================================= */
.content-section {
    padding: 60px 40px;
}
@media screen and (max-width: 768px) {
    .content-section { padding: 40px 20px; }
}

/* 見出しスタイル */
.section-title-mincho {
    font-family: "Noto Serif JP", serif;
    font-size: 2rem;
    color: #8c6443;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.sub-title {
    font-size: 1.3rem;
    color: #5d4037;
    border-left: 6px solid #c5a065;
    padding-left: 15px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.sub-title-center {
    font-size: 1.4rem;
    color: #5d4037;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 700;
}
.sub-title-center .small-note {
    font-size: 0.9rem;
    font-weight: normal;
}

/* =========================================
   Intro Section
   ========================================= */
.intro-section {
    background-image: url('https://www.gaia-ochanomizu.co.jp/img/category/misozairyo/misokit_02.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 80px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-content-box {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 50px;
    max-width: 680px;
    width: 100%;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

.intro-text {
    font-size: 1.05rem;
    line-height: 2.2;
    text-align: left;
    display: inline-block;
}

@media screen and (max-width: 768px) {
    .intro-section { padding: 40px 15px; }
    .intro-content-box { padding: 30px 20px; }
    .section-title-mincho { font-size: 1.5rem; margin-bottom: 20px; }
    .intro-text { font-size: 0.95rem; line-height: 1.9; }
}

/* =========================================
   Producer Section
   ========================================= */
.producer-section {
    background-color: #faf9f6;
}
.producer-name {
    text-align: right;
    font-weight: bold;
    color: #888;
    margin-top: 15px;
}

/* =========================================
   Table Section
   ========================================= */
.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.design-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.design-table th {
    background-color: #e8e2d2;
    color: #5d4037;
    padding: 15px;
    font-weight: bold;
    border: 1px solid #d4cbb8;
    white-space: nowrap;
}

.design-table td {
    padding: 15px;
    border: 1px solid #d4cbb8;
    background-color: #fff;
    vertical-align: middle;
}
.design-table td.v-middle {
    vertical-align: middle;
}

.sp-label { display: none; }

@media screen and (max-width: 640px) {
    .design-table thead { display: none; }
    .design-table tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #d4cbb8;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }
    .design-table td {
        display: block;
        border: none;
        border-bottom: 1px solid #eee;
        padding: 12px 15px;
        text-align: left;
    }
    .design-table td:last-child { border-bottom: none; }
    
    .sp-label {
        display: inline-block;
        font-weight: bold;
        color: #8c6443;
        background: #f4f0e6;
        padding: 2px 8px;
        border-radius: 3px;
        font-size: 0.8rem;
        margin-right: 10px;
        min-width: 70px;
        text-align: center;
    }
}

.recipe-note {
    background-color: #fffbf0;
    border: 1px dashed #dcd0b0;
    padding: 20px;
    font-size: 0.9rem;
}
.recipe-note p { margin: 5px 0; }
.recipe-note .small { font-size: 0.8rem; color: #777; margin-top: 5px; }

/* =========================================
   Warning Section (修正箇所)
   ========================================= */
.warning-box {
    border: 1px solid #c84e4e;
    padding: 30px;
    background-color: #fff;
}
/* 見出しも赤字で目立たせる */
.warning-title {
    color: #c84e4e;
    font-size: 1.25rem; /* サイズ調整 */
    margin: 0 0 20px 0;
    font-weight: bold;
    text-align: center;
    border-bottom: 1px dashed #c84e4e;
    padding-bottom: 15px;
}

.warning-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}
.warning-list li {
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.6;
}
.warning-list li::before {
    content: "●";
    position: absolute;
    left: 0;
    color: #c84e4e;
}

@media screen and (max-width: 768px) {
    .warning-box { padding: 20px; }
    .warning-title { font-size: 1.1rem; text-align: left; }
}

/* 新規追加：スケジュールテーブル用スタイル */
.schedule-wrap {
    margin-top: 20px;
    overflow-x: auto;
}
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    max-width: 600px;
    margin: 0 auto; /* 中央寄せ */
}
.schedule-table th {
    background-color: #c84e4e;
    color: #fff;
    padding: 12px;
    border: 1px solid #c84e4e;
    font-weight: bold;
}
.schedule-table td {
    padding: 12px 15px;
    border: 1px solid #ddd;
    text-align: left;
    background-color: #fff;
}
.schedule-table tr:nth-child(even) td {
    background-color: #fcfcfc;
}

/* =========================================
   Space Adjustment (間隔調整)
   ========================================= */

/* 上のセクション（材料表）の下余白を減らす */
.spec-section {
    padding-bottom: 0;
}

/* 下のセクション（ご注意・スケジュール）の上余白を減らす */
.warning-section {
    padding-top: 20px; /* 少しだけ余白を残す（0にするとくっつきすぎます） */
}

/* スマホ表示時の微調整 */
@media screen and (max-width: 768px) {
    .spec-section {
        padding-bottom: 0;
    }
    .warning-section {
        padding-top: 20px;
    }
}