@charset "UTF-8";

/* =========================================================
   /jp/recipe/assets/css/takuan-common.css
   gcode: 5002 and 5003
   たくあん漬の素 共通デザイン
   ========================================================= */

.recipe-content-takuan {
    color: #40382f;
    background:
        radial-gradient(circle at 8% 2%, rgba(242, 170, 66, .13), transparent 28%),
        radial-gradient(circle at 94% 18%, rgba(226, 91, 52, .08), transparent 24%),
        linear-gradient(180deg, #fffdf8 0%, #fff9ed 52%, #fffdf9 100%);
    font-family: "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
    font-size: 17px;
    line-height: 1.9;
    overflow: hidden;
}

.recipe-content-takuan,
.recipe-content-takuan * {
    box-sizing: border-box;
}

.recipe-content-takuan img {
    display: block;
    max-width: 100%;
    height: auto;
}

.recipe-content-takuan .recipe-1050-hero {
    position: relative;
    overflow: hidden;
    margin: 0 0 42px;
    background: #f5a33c;
    border-radius: 0 0 38px 38px;
}

.recipe-content-takuan .recipe-1050-hero__image {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.recipe-content-takuan .recipe-1050-hero__image:before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, rgba(255,252,244,.97) 0%, rgba(255,250,237,.92) 40%, rgba(255,247,228,.48) 68%, rgba(255,245,220,.10) 100%);
}

.recipe-content-takuan .recipe-1050-hero__image:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 76px;
    opacity: .48;
    background-image:
        linear-gradient(45deg, rgba(231,126,52,.12) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(231,126,52,.12) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(231,126,52,.12) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(231,126,52,.12) 75%);
    background-size: 24px 24px;
    background-position: 0 0, 0 12px, 12px -12px, -12px 0;
}

.recipe-content-takuan .recipe-1050-hero__inner {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 84px 28px 104px;
}

.recipe-content-takuan .recipe-1050-hero__label {
    display: inline-block;
    margin: 0 0 18px;
    padding: 8px 18px;
    color: #a94d23;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(210,111,49,.28);
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .08em;
}

.recipe-content-takuan .recipe-1050-hero__title {
    max-width: 660px;
    margin: 0 0 24px;
    color: #7e391d;
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
    font-size: 58px;
    font-weight: 700;
    line-height: 1.38;
    letter-spacing: .025em;
    white-space: pre-line;
    text-shadow: 0 2px 12px rgba(255,255,255,.92);
}

.recipe-content-takuan .recipe-1050-hero__lead {
    max-width: 650px;
    margin: 0;
    padding: 20px 24px;
    color: #4b4035;
    background: rgba(255,255,255,.92);
    border-left: 5px solid #e67835;
    border-radius: 8px 18px 18px 8px;
    font-size: 18px;
    line-height: 1.9;
    box-shadow: 0 12px 32px rgba(116,66,29,.09);
}

.recipe-content-takuan .recipe-1050-wrap {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 22px 80px;
}

.recipe-content-takuan .recipe-1050-section {
    margin: 0 0 46px;
}

.recipe-content-takuan .recipe-1050-card {
    position: relative;
    overflow: hidden;
    padding: 42px;
    background: rgba(255,255,255,.97);
    border: 1px solid #eadfce;
    border-radius: 26px;
    box-shadow: 0 14px 38px rgba(105,72,43,.08);
}

.recipe-content-takuan .recipe-1050-card:before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: -88px;
    top: -92px;
    border-radius: 50%;
    background: rgba(246,179,72,.10);
    pointer-events: none;
}

.recipe-content-takuan .recipe-1050-label {
    margin: 0 0 10px;
    color: #c45728;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .1em;
}

.recipe-content-takuan .recipe-1050-title {
    position: relative;
    margin: 0 0 22px;
    color: #793d24;
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
    font-size: 36px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: .02em;
}

.recipe-content-takuan .recipe-1050-title:after {
    content: "";
    display: block;
    width: 74px;
    height: 3px;
    margin-top: 14px;
    background: linear-gradient(90deg, #e87534, #f3bf48);
    border-radius: 99px;
}

.recipe-content-takuan .recipe-1050-lead {
    max-width: 900px;
    margin: 0 0 26px;
    color: #6f6255;
    font-size: 18px;
    line-height: 1.9;
}

.recipe-content-takuan .recipe-1050-text {
    max-width: 920px;
    margin: 0 auto;
}

.recipe-content-takuan .recipe-1050-text p {
    margin: 0 0 1em;
}

.recipe-content-takuan .recipe-1050-text p:last-child {
    margin-bottom: 0;
}

.recipe-content-takuan .recipe-1050-catch {
    position: relative;
    max-width: 980px;
    margin: 0 auto 42px;
    padding: 34px 30px;
    text-align: center;
    border: 1px solid rgba(223,132,53,.28);
    border-radius: 24px;
    background-color: #fffaf0;
    background-image:
        linear-gradient(45deg, rgba(239,164,75,.09) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(239,164,75,.09) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(239,164,75,.09) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(239,164,75,.09) 75%);
    background-size: 26px 26px;
    background-position: 0 0, 0 13px, 13px -13px, -13px 0;
}

.recipe-content-takuan .recipe-1050-catch__main {
    margin: 0 0 10px;
    color: #8b431f;
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.55;
}

.recipe-content-takuan .recipe-1050-catch__sub {
    max-width: 860px;
    margin: 0 auto;
    color: #66584d;
    font-size: 16px;
    line-height: 1.9;
}

.recipe-content-takuan .recipe-1050-section-image,
.recipe-content-takuan .recipe-1050-recipe__image {
    margin: 0 auto 26px;
    overflow: hidden;
    border-radius: 20px;
    background: #f5ecdf;
    border: 1px solid #eee0cd;
}

.recipe-content-takuan .recipe-1050-section-image img,
.recipe-content-takuan .recipe-1050-recipe__image img {
    width: 100%;
}

.recipe-content-takuan .recipe-1050-intro .recipe-1050-section-image,
.recipe-content-takuan .recipe-1050-taste .recipe-1050-section-image,
.recipe-content-takuan .recipe-1050-start .recipe-1050-section-image,
.recipe-content-takuan .recipe-1050-closing .recipe-1050-section-image {
    max-width: 800px;
}

.recipe-content-takuan .recipe-1050-intro .recipe-1050-section-image img,
.recipe-content-takuan .recipe-1050-taste .recipe-1050-section-image img,
.recipe-content-takuan .recipe-1050-start .recipe-1050-section-image img,
.recipe-content-takuan .recipe-1050-closing .recipe-1050-section-image img {
    max-height: 420px;
    object-fit: cover;
}

.recipe-content-takuan .recipe-1050-note {
    background: linear-gradient(135deg, #fffefb 0%, #fff8e9 100%);
    border-color: #ebd4b5;
}

.recipe-content-takuan .recipe-1050-note .recipe-1050-section-image {
    max-width: 760px;
}

.recipe-content-takuan .recipe-1050-note-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
}

.recipe-content-takuan .recipe-1050-note-list li {
    position: relative;
    min-height: 54px;
    padding: 14px 16px 14px 43px;
    background: rgba(255,255,255,.88);
    border: 1px solid #ecdcc8;
    border-radius: 14px;
    line-height: 1.65;
}

.recipe-content-takuan .recipe-1050-note-list li:before {
    content: "●";
    position: absolute;
    left: 17px;
    top: 13px;
    color: #e17534;
    font-size: 16px;
}

.recipe-content-takuan .recipe-1050-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
    margin-top: 26px;
}

.recipe-content-takuan .recipe-1050-feature {
    position: relative;
    padding: 28px 26px 26px;
    overflow: hidden;
    background: #fffdf8;
    border: 1px solid #ead9c2;
    border-radius: 20px;
    box-shadow: 0 8px 22px rgba(100,69,41,.05);
}

.recipe-content-takuan .recipe-1050-feature:nth-child(2n) {
    background: #fff8e8;
}

.recipe-content-takuan .recipe-1050-feature__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    margin: 0 0 14px;
    color: #fff;
    background: #df6d31;
    border-radius: 11px 17px 11px 17px;
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 700;
}

.recipe-content-takuan .recipe-1050-feature__title {
    margin: 0 0 10px;
    color: #7c3d21;
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
    font-size: 24px;
    line-height: 1.5;
}

.recipe-content-takuan .recipe-1050-feature__body {
    margin: 0;
    color: #5e5248;
    line-height: 1.85;
}

.recipe-content-takuan .recipe-1050-section--step-image-cards .recipe-1050-card {
    padding: 46px;
}

.recipe-content-takuan .recipe-1050-recipe-note {
    margin: 0 0 28px;
    padding: 18px 20px;
    color: #6e4d37;
    background: #fff3db;
    border-left: 5px solid #e57b35;
    border-radius: 7px 15px 15px 7px;
    line-height: 1.8;
}

.recipe-content-takuan .recipe-1050-recipe-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.recipe-content-takuan .recipe-1050-recipe-box {
    overflow: hidden;
    background: #fffefa;
    border: 1px solid #eadcca;
    border-radius: 20px;
    box-shadow: 0 9px 24px rgba(106,73,42,.06);
}

.recipe-content-takuan .recipe-1050-recipe-box__visual {
    position: relative;
    margin: 0;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background-color: #f7eee2;
    background-image:
        linear-gradient(45deg, rgba(226,139,61,.07) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(226,139,61,.07) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(226,139,61,.07) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(226,139,61,.07) 75%);
    background-size: 22px 22px;
    background-position: 0 0, 0 11px, 11px -11px, -11px 0;
}

.recipe-content-takuan .recipe-1050-recipe-box__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipe-content-takuan .recipe-1050-recipe-box__body {
    padding: 24px 24px 26px;
}

.recipe-content-takuan .recipe-1050-recipe-box__name {
    margin: 0 0 12px;
    color: #7c3e22;
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
    font-size: 22px;
    line-height: 1.55;
}

.recipe-content-takuan .recipe-1050-recipe-box__point {
    margin: 0 0 12px;
    color: #493f36;
    line-height: 1.8;
}

.recipe-content-takuan .recipe-1050-recipe-box__memo {
    margin: 0;
    padding: 13px 15px;
    color: #715848;
    background: #fff6e5;
    border-radius: 12px;
    font-size: 15px;
    line-height: 1.75;
}

.recipe-content-takuan .recipe-1050-taste {
    background: linear-gradient(145deg, #fffefb 0%, #fff5df 100%);
    border-color: #e9c991;
}

.recipe-content-takuan .recipe-1050-taste-mark {
    display: inline-block;
    margin: 0 0 12px;
    padding: 7px 14px;
    color: #fff;
    background: #d85f2d;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: .08em;
}

.recipe-content-takuan .recipe-1050-taste .recipe-1050-text p {
    position: relative;
    margin: 0 0 12px;
    padding: 17px 18px 17px 48px;
    background: rgba(255,255,255,.9);
    border: 1px solid #ead8bd;
    border-radius: 14px;
}

.recipe-content-takuan .recipe-1050-taste .recipe-1050-text p:before {
    content: "計";
    position: absolute;
    left: 15px;
    top: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: #fff;
    background: #e47a34;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
}

.recipe-content-takuan .recipe-1050-daily-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.recipe-content-takuan .recipe-1050-daily-item {
    padding: 25px 24px;
    background: #fffaf0;
    border: 1px solid #ead7ba;
    border-radius: 18px;
}

.recipe-content-takuan .recipe-1050-daily-item__title {
    margin: 0 0 11px;
    color: #873f20;
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", serif;
    font-size: 22px;
    line-height: 1.5;
}

.recipe-content-takuan .recipe-1050-daily-item__body {
    margin: 0;
    color: #5e5146;
    line-height: 1.82;
}

.recipe-content-takuan .recipe-1050-start {
    border: 2px solid #e4a35b;
    background-color: #fffaf0;
    background-image:
        linear-gradient(45deg, rgba(236,150,64,.07) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(236,150,64,.07) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(236,150,64,.07) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(236,150,64,.07) 75%);
    background-size: 28px 28px;
    background-position: 0 0, 0 14px, 14px -14px, -14px 0;
}

.recipe-content-takuan .recipe-1050-closing {
    text-align: center;
    background: linear-gradient(150deg, #fffefb, #fff3dc);
}

.recipe-content-takuan .recipe-1050-closing .recipe-1050-title:after {
    margin-left: auto;
    margin-right: auto;
}

.recipe-content-takuan .recipe-1050-button {
    display: inline-block;
    margin-top: 24px;
    padding: 14px 26px;
    color: #fff;
    background: linear-gradient(135deg, #df6530, #ef9639);
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 22px rgba(194,91,42,.20);
    transition: transform .2s ease, box-shadow .2s ease;
}

.recipe-content-takuan .recipe-1050-button:hover,
.recipe-content-takuan .recipe-1050-button:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 13px 28px rgba(194,91,42,.28);
}

@media (max-width: 820px) {
    .recipe-content-takuan {
        font-size: 16px;
    }

    .recipe-content-takuan .recipe-1050-hero__image {
        min-height: 500px;
        background-position: 62% center;
    }

    .recipe-content-takuan .recipe-1050-hero__image:before {
        background: linear-gradient(180deg, rgba(255,252,244,.96) 0%, rgba(255,250,239,.90) 58%, rgba(255,245,225,.45) 100%);
    }

    .recipe-content-takuan .recipe-1050-hero__inner {
        padding: 66px 22px 94px;
    }

    .recipe-content-takuan .recipe-1050-hero__title {
        max-width: 100%;
        font-size: 43px;
    }

    .recipe-content-takuan .recipe-1050-hero__lead {
        max-width: 100%;
        font-size: 17px;
    }

    .recipe-content-takuan .recipe-1050-card,
    .recipe-content-takuan .recipe-1050-section--step-image-cards .recipe-1050-card {
        padding: 30px;
    }

    .recipe-content-takuan .recipe-1050-title {
        font-size: 30px;
    }

    .recipe-content-takuan .recipe-1050-feature-grid,
    .recipe-content-takuan .recipe-1050-recipe-list,
    .recipe-content-takuan .recipe-1050-daily-grid {
        grid-template-columns: 1fr;
    }

    .recipe-content-takuan .recipe-1050-note-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .recipe-content-takuan .recipe-1050-hero {
        border-radius: 0 0 24px 24px;
    }

    .recipe-content-takuan .recipe-1050-hero__image {
        min-height: 465px;
    }

    .recipe-content-takuan .recipe-1050-hero__inner {
        padding: 56px 17px 82px;
    }

    .recipe-content-takuan .recipe-1050-hero__label {
        font-size: 13px;
    }

    .recipe-content-takuan .recipe-1050-hero__title {
        font-size: 35px;
        line-height: 1.42;
    }

    .recipe-content-takuan .recipe-1050-hero__lead {
        padding: 16px 17px;
        font-size: 16px;
    }

    .recipe-content-takuan .recipe-1050-wrap {
        padding: 0 14px 62px;
    }

    .recipe-content-takuan .recipe-1050-section {
        margin-bottom: 32px;
    }

    .recipe-content-takuan .recipe-1050-card,
    .recipe-content-takuan .recipe-1050-section--step-image-cards .recipe-1050-card {
        padding: 23px 18px;
        border-radius: 20px;
    }

    .recipe-content-takuan .recipe-1050-title {
        font-size: 26px;
    }

    .recipe-content-takuan .recipe-1050-lead {
        font-size: 16px;
    }

    .recipe-content-takuan .recipe-1050-catch {
        padding: 25px 18px;
        border-radius: 20px;
    }

    .recipe-content-takuan .recipe-1050-catch__main {
        font-size: 23px;
    }

    .recipe-content-takuan .recipe-1050-recipe-box__body {
        padding: 20px 18px 22px;
    }

    .recipe-content-takuan .recipe-1050-recipe-box__name,
    .recipe-content-takuan .recipe-1050-feature__title,
    .recipe-content-takuan .recipe-1050-daily-item__title {
        font-size: 20px;
    }

    .recipe-content-takuan .recipe-1050-note-list li {
        padding-right: 13px;
    }
}

/* =========================================================
   5002・5003共有操作パネル
   ========================================================= */
.recipe-content-takuan {
    --takuan-accent: #df6d31;
    --takuan-accent-dark: #7c3d21;
    --takuan-soft: #fff5df;
    --takuan-line: #e8c38f;
}

.recipe-content-takuan [id] {
    scroll-margin-top: 90px;
}

.recipe-content-takuan .takuan-tools .recipe-1050-card {
    border: 2px solid var(--takuan-line);
    background:
        linear-gradient(145deg, rgba(255,255,255,.98), rgba(255,249,236,.98));
}

.recipe-content-takuan .takuan-tools__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
}

.recipe-content-takuan .takuan-tools__nav a,
.recipe-content-takuan .takuan-print-button,
.recipe-content-takuan .takuan-tools__other a,
.recipe-content-takuan .takuan-calculator__quick button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 9px 17px;
    color: var(--takuan-accent-dark);
    background: #fff;
    border: 1px solid var(--takuan-line);
    border-radius: 999px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.recipe-content-takuan .takuan-tools__nav a:hover,
.recipe-content-takuan .takuan-tools__nav a:focus,
.recipe-content-takuan .takuan-print-button:hover,
.recipe-content-takuan .takuan-print-button:focus,
.recipe-content-takuan .takuan-tools__other a:hover,
.recipe-content-takuan .takuan-tools__other a:focus,
.recipe-content-takuan .takuan-calculator__quick button:hover,
.recipe-content-takuan .takuan-calculator__quick button:focus {
    color: #fff;
    background: var(--takuan-accent);
    transform: translateY(-1px);
}

.recipe-content-takuan .takuan-tools__notice {
    margin: 0 0 24px;
    padding: 18px 20px;
    color: #7c2e18;
    background: #fff0d7;
    border: 2px solid #e98135;
    border-radius: 15px;
    font-weight: 700;
    line-height: 1.8;
}

.recipe-content-takuan .takuan-tools__prep > h3,
.recipe-content-takuan .takuan-calculator > h3 {
    margin: 0 0 14px;
    color: var(--takuan-accent-dark);
    font-family: "Yu Mincho", "YuMincho", "Hiragino Mincho ProN", "MS PMincho", serif;
    font-size: 25px;
    line-height: 1.5;
}

.recipe-content-takuan .takuan-choice {
    margin: 0 0 13px;
    border: 1px solid #ead9c2;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

.recipe-content-takuan .takuan-choice__button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    min-height: 58px;
    padding: 15px 18px;
    color: var(--takuan-accent-dark);
    background: var(--takuan-soft);
    border: 0;
    font: inherit;
    font-size: 19px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.recipe-content-takuan .takuan-choice__button:hover,
.recipe-content-takuan .takuan-choice__button:focus {
    background: #ffe8bf;
}

.recipe-content-takuan .takuan-choice__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    color: #fff;
    background: var(--takuan-accent);
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
}

.recipe-content-takuan .takuan-choice__panel {
    max-height: 0;
    padding: 0 20px;
    overflow: hidden;
    transition: max-height .35s ease, padding .35s ease;
}

.recipe-content-takuan .takuan-choice__panel--open {
    padding-top: 17px;
    padding-bottom: 19px;
}

.recipe-content-takuan .takuan-choice__panel p {
    margin: 0 0 10px;
}

.recipe-content-takuan .takuan-choice__panel p:last-child {
    margin-bottom: 0;
}

.recipe-content-takuan .takuan-choice__note {
    padding: 12px 14px;
    color: #6e4d37;
    background: #fff5e1;
    border-left: 4px solid var(--takuan-accent);
    border-radius: 6px 12px 12px 6px;
    font-size: 15px;
}

.recipe-content-takuan .takuan-calculator {
    margin-top: 30px;
    padding: 25px;
    background: #fff;
    border: 1px solid var(--takuan-line);
    border-radius: 18px;
    transition: box-shadow .25s ease, border-color .25s ease;
}

.recipe-content-takuan .takuan-calculator--flash {
    border-color: var(--takuan-accent);
    box-shadow: 0 0 0 4px rgba(222,109,49,.18);
}

.recipe-content-takuan .takuan-calculator__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin: 16px 0;
}

.recipe-content-takuan .takuan-calculator__quick button {
    min-width: 66px;
}

.recipe-content-takuan .takuan-calculator__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
}

.recipe-content-takuan .takuan-calculator__grid label {
    display: flex;
    flex-direction: column;
    gap: 7px;
    color: #5c4a3e;
    font-weight: 700;
}

.recipe-content-takuan .takuan-calculator__grid label span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 400;
}

.recipe-content-takuan .takuan-calculator input {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 8px 12px;
    color: #40382f;
    background: #fffdf8;
    border: 1px solid #cdbda9;
    border-radius: 10px;
    font: inherit;
    font-size: 18px;
}

.recipe-content-takuan .takuan-calculator__result {
    grid-column: 1 / -1;
    padding: 18px;
    color: var(--takuan-accent-dark);
    background: var(--takuan-soft);
    border-radius: 13px;
    font-size: 18px;
    text-align: center;
}

.recipe-content-takuan .takuan-calculator__result strong {
    display: inline-block;
    min-width: 80px;
    margin: 0 6px;
    color: #a13e1d;
    font-size: 28px;
}

.recipe-content-takuan .takuan-calculator__formula {
    margin: 12px 0 0;
    color: #74675a;
    font-size: 14px;
}

.recipe-content-takuan .takuan-tools__other {
    margin: 28px 0 0;
    text-align: center;
}

@media (max-width: 520px) {
    .recipe-content-takuan .takuan-tools__nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .recipe-content-takuan .takuan-tools__nav a,
    .recipe-content-takuan .takuan-print-button {
        width: 100%;
        padding-left: 10px;
        padding-right: 10px;
        font-size: 14px;
    }

    .recipe-content-takuan .takuan-calculator {
        padding: 20px 16px;
    }

    .recipe-content-takuan .takuan-calculator__grid {
        grid-template-columns: 1fr;
    }

    .recipe-content-takuan .takuan-calculator__result {
        grid-column: auto;
    }
}

/* 印刷はレシピ本体の内側だけを調整する。サイト全体へ無条件指定しない。 */
@media print {
    .recipe-content-takuan {
        color: #222;
        background: #fff;
        font-size: 11pt;
        line-height: 1.55;
        overflow: visible;
    }

    .recipe-content-takuan .recipe-1050-hero__image {
        min-height: 220px;
    }

    .recipe-content-takuan .recipe-1050-hero__inner {
        padding: 24px;
    }

    .recipe-content-takuan .recipe-1050-hero__title {
        font-size: 28pt;
    }

    .recipe-content-takuan .recipe-1050-wrap {
        max-width: none;
        padding: 0;
    }

    .recipe-content-takuan .recipe-1050-section {
        margin-bottom: 18px;
    }

    .recipe-content-takuan .recipe-1050-card,
    .recipe-content-takuan .recipe-1050-section--step-image-cards .recipe-1050-card {
        padding: 20px;
        box-shadow: none;
    }

    .recipe-content-takuan .recipe-1050-feature-grid,
    .recipe-content-takuan .recipe-1050-recipe-list,
    .recipe-content-takuan .recipe-1050-daily-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .recipe-content-takuan .takuan-tools__nav,
    .recipe-content-takuan .takuan-calculator__quick,
    .recipe-content-takuan .takuan-tools__other,
    .recipe-content-takuan .recipe-1050-button {
        display: none;
    }

    .recipe-content-takuan .takuan-choice__panel,
    .recipe-content-takuan .takuan-choice__panel--open {
        max-height: none !important;
        padding: 12px 16px !important;
        overflow: visible !important;
    }

    .recipe-content-takuan .takuan-choice__mark {
        display: none;
    }

    .recipe-content-takuan .takuan-calculator,
    .recipe-content-takuan .recipe-1050-recipe-box,
    .recipe-content-takuan .recipe-1050-daily-item,
    .recipe-content-takuan .recipe-1050-feature,
    .recipe-content-takuan .recipe-1050-section-image,
    .recipe-content-takuan img {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .recipe-content-takuan .recipe-1050-section-image img {
        max-height: 150mm;
        object-fit: contain;
    }
}
