@charset "UTF-8";


body {
    font-family: 'Noto Serif JP', serif;
    background-color: #f7f4ef;
    margin: 0;
    padding: 0;
    color: #3c2f2f;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2em;
    background: #fffdf7;
    border: 1px solid #e0dcd5;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

section {
    padding:20px 0 40px;
}
h1 {
    text-align: center;
    color: #7c4d00;
    font-size: 2em;
    margin-bottom: 0.2em;
    border-bottom: 2px solid #c9a063;
    padding-bottom: 0.3em;
}

.intro {
    text-align: center;
    font-size: 1.1em;
    margin-bottom: 2em;
    color: #5c4b3b;
}

.steps .step {
    margin-bottom: 1.5em;
    padding-left: 1em;
    border-left: 5px solid #c9a063;
}

.steps .step h2 {
    margin: 0;
    color: #5a3e2b;
    font-size: 1.3em;
}

.steps .step p {
    margin-top: 0.3em;
    font-size: 1em;
}

.step-image {
    text-align: center;
    margin-top: 0.5em;
}

.step-image img {
    max-width: 100%;
    height: auto;
    border: 1px solid #dcd2bd;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.download-button {
    text-align: center;
    margin: 1em 0 2em;
}

.pdf-btn {
    background-color: #7c4d00;
    color: white;
    padding: 0.6em 1.2em;
    font-size: 1em;
    text-decoration: none;
    border-radius: 8px;
    display: inline-block;
    font-family: 'Noto Serif JP', serif;
}

.pdf-btn:hover {
    background-color: #5e3600;
}

@media print {
    section{
        padding:10px 0 15px;
    }
    body {
        background: #fff !important;
        color: #000 !important;
    }

    /* 印刷に不要な要素を非表示 */
    .print-button,
    .non-print,
    header,
    header .header-icon,
    footer,
    a[href]:after {
        display: none !important;
    }

    /* リンクの装飾・URL表示を無効化 */
    a {
        color: #000 !important;
        text-decoration: none !important;
    }

    /* 用紙サイズに合わせる */
    .container {
        max-width: 100%;
        box-shadow: none;
        border: none;
        padding: 1cm;
    }

    /* ステップ画像のサイズ調整（高解像度対応） */
    .step-image img {
        max-width: 100%;
        height: auto;
    }
}