@charset "UTF-8";
/* 作り方ページ専用。写真・番号・タイトル・説明文を完全分離した版 */
body.legacy-wide #MainContents {padding-top:20px;}
body.legacy-wide #MainCenter {text-align:left;}
.mp-howto {max-width:920px;margin:0 auto;font-family:"Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;color:#45413e;font-size:15px;line-height:1.8;}
.mp-howto * {box-sizing:border-box;}
.mp-howto h1,.mp-howto h2,.mp-howto h3,.mp-howto p {margin-top:0;}
.mp-howto-hero {background:#fff5e9;border-top:5px solid #ed811f;padding:23px 27px 24px;margin-bottom:26px;border-radius:4px;}
.mp-howto-eyebrow {font-size:11px;color:#b4691b;letter-spacing:2px;font-weight:700;margin-bottom:4px;}
.mp-howto h1 {font-size:27px;line-height:1.5;color:#7a471d;margin-bottom:8px;}
.mp-howto-hero p {margin:0;color:#615449;}
.mp-howto-prep {display:flex;align-items:center;gap:24px;background:#fff;border:1px solid #efdfcf;border-radius:9px;overflow:hidden;margin-bottom:38px;padding:18px;}
.mp-howto-prep-photo {width:32%;max-width:260px;flex:0 0 32%;}
.mp-howto-prep-photo img {width:100%;height:auto;border-radius:6px;display:block;}
.mp-howto-prep-info {min-width:0;flex:1;}
.mp-howto-prep h2 {font-size:20px;color:#a95812;border-bottom:2px solid #f0c598;padding-bottom:9px;margin-bottom:12px;}
.mp-howto-prep p {margin:0 0 10px;}
.mp-howto-muted {font-size:12px;color:#80766d;}
.mp-howto-section-title {color:#713c13;background:#fff2df;border-left:6px solid #ef8120;font-size:21px;line-height:1.5;padding:10px 15px;margin-bottom:18px;}
.mp-howto-section-title span {font-size:13px;color:#9c724c;margin-left:12px;font-weight:normal;}
.mp-howto-steps {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:35px;align-items:stretch;}
.mp-howto-step {background:#fff;border:1px solid #ecdccf;border-radius:9px;box-shadow:0 2px 9px rgba(120,70,24,.06);overflow:hidden;min-width:0;}
/* 写真は黄色い見出しを切り離した画像。表示は拡大トリミングしない */
.mp-howto-photo {aspect-ratio:4 / 3;display:flex;align-items:center;justify-content:center;background:#f9f8f3;padding:8px;overflow:hidden;border-bottom:1px solid #f1e6d7;}
.mp-howto-photo img {display:block;max-width:100%;width:100%;height:100%;object-fit:contain;object-position:center;border-radius:3px;}
.mp-howto-step-body {padding:13px 15px 17px;}
/* 番号と工程タイトルは画像ではなくHTMLテキストとして管理 */
.mp-howto-step h3 {font-size:16px;line-height:1.5;color:#93480c;margin-bottom:10px;display:flex;gap:11px;align-items:flex-start;}
.mp-howto-num {flex:0 0 34px;min-width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;background:#ed811f;color:#fff;font-weight:800;font-size:16px;font-variant-numeric:tabular-nums;line-height:1;}
.mp-howto-step-title {display:block;min-width:0;padding-top:3px;overflow-wrap:anywhere;}
.mp-howto-step p {font-size:13px;line-height:1.8;margin:0;color:#554c44;}
.mp-howto-caution {background:#fffaf3;border:1px solid #efdfce;padding:18px 22px;border-radius:8px;margin-bottom:35px;}
.mp-howto-caution .mp-howto-section-title {margin-bottom:12px;font-size:19px;}
.mp-howto-caution ul {padding-left:24px;margin:0;}
.mp-howto-caution li+li {margin-top:9px;}
.mp-howto-video {margin-bottom:34px;}
.mp-howto-video>p {margin:0 0 12px;}
.mp-howto-video-wrap {width:100%;max-width:680px;aspect-ratio:16/9;margin:0 auto;overflow:hidden;border-radius:8px;background:#f2f2f2;}
.mp-howto-video-wrap iframe {width:100%;height:100%;border:0;display:block;}
.mp-howto-print {margin-bottom:33px;}
.mp-howto-print-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;}
.mp-howto-print-grid>div {background:#fffcf6;border:1px solid #eadcc9;border-radius:7px;padding:19px;}
.mp-howto-print h3 {font-size:16px;color:#99531b;margin-bottom:8px;}
.mp-howto-print p {font-size:13px;line-height:1.9;margin:0 0 10px;}
.mp-howto-cta {text-align:center;background:#fff0d5;border-radius:8px;padding:23px 20px;margin:6px 0 20px;}
.mp-howto-cta strong {display:block;font-size:20px;color:#84440f;}
.mp-howto-cta p {margin:4px 0 16px;}
.mp-howto-cta a {display:inline-block;background:#e97516;color:#fff!important;font-size:16px;font-weight:700;text-decoration:none;padding:11px 32px;border-radius:6px;}
.mp-howto-cta a:hover {background:#cb5d07;}
@media(max-width:780px) {
 .mp-howto-steps {grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;}
 .mp-howto h1 {font-size:23px;}
}
@media(max-width:550px) {
 body.legacy-wide #MainContents {padding-top:12px;}
 .mp-howto {font-size:14px;}
 .mp-howto-hero {padding:17px 15px;}
 .mp-howto h1 {font-size:21px;}
 .mp-howto-prep {display:block;padding:13px;}
 .mp-howto-prep-photo {width:100%;max-width:320px;margin:0 auto 15px;}
 .mp-howto-steps {grid-template-columns:1fr;gap:16px;}
 .mp-howto-step {max-width:450px;width:100%;margin:0 auto;}
 .mp-howto-photo {aspect-ratio:4 / 3;}
 .mp-howto-section-title {font-size:18px;}
 .mp-howto-print-grid {grid-template-columns:1fr;gap:12px;}
 .mp-howto-caution {padding:14px 12px;}
 .mp-howto-cta strong {font-size:18px;}
}
