@charset "UTF-8";

:root {
    --ink: #263c30;
    --green: #246346;
    --muted: #68786e;
    --line: #e0e6df;
    --paper: #fafbf6;
    --serif: "Hiragino Mincho ProN", "Yu Mincho", serif
}

* {
    box-sizing: border-box
}

.adsbygoogle {
    margin: 16px 0;
    text-align: center;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 18px
}

body {
    font-size: 18px;
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", Meiryo, sans-serif;
    line-height: 1.8
}

a {
    color: var(--green);
    text-decoration: none
}

a:hover {
    text-decoration: underline
}

button,
input {
    font: inherit
}

button {
    cursor: pointer
}

button:disabled {
    cursor: wait;
    opacity: .65
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 3px solid #dcac4b;
    outline-offset: 4px
}

button,
a,
input {
    -webkit-tap-highlight-color: transparent
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line)
}

.header-inner {
    max-width: 1120px;
    margin: auto;
    padding: 15px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-size: 23px;
    font-weight: 700;
    letter-spacing: .07em;
    white-space: nowrap
}

.brand:hover {
    text-decoration: none
}

.header-inner nav {
    display: flex;
    gap: 25px;
    font-size: 15px
}

.header-inner nav a {
    color: var(--ink)
}

main {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 28px 54px
}

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 48px 36px 36px
}

.eyebrow {
    font-size: 13px;
    color: var(--green);
    font-weight: 700;
    letter-spacing: .18em;
    margin: 0 0 11px
}

.hero .eyebrow {
    font-size: 15px;
    letter-spacing: .15em
}

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.55;
    letter-spacing: .06em;
    margin: 9px 0 16px;
    font-weight: 600
}

.hero-description {
    color: var(--muted);
    font-size: 17px;
    line-height: 2.1
}

.hero-art {
    width: 310px;
    height: 280px;
    position: relative;
    flex-shrink: 0;
    display: grid;
    place-items: center
}

.art-circle {
    width: 255px;
    height: 255px;
    border-radius: 50%;
    background: #e9efdc;
    display: grid;
    place-items: center;
    transform: rotate(-8deg)
}

.art-circle img {
    filter: drop-shadow(0 14px 18px #38542b18)
}

.art-label {
    position: absolute;
    background: white;
    border: 1px solid var(--line);
    padding: 7px 24px;
    border-radius: 12px;
    font-size: 16px;
    box-shadow: 0 6px 18px #273c3010;
    letter-spacing: .08em
}

.label-freeze {
    left: -12px;
    top: 22px;
    color: #42748b;
    transform: rotate(-7deg)
}

.label-chill {
    right: -12px;
    top: 97px;
    color: var(--green);
    transform: rotate(6deg)
}

.label-room {
    left: 18px;
    bottom: 7px;
    color: #9a7028;
    transform: rotate(-4deg)
}

.search-section {
    margin: 22px 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px 30px
}

.home-search {
    margin-top: 0;
    box-shadow: 0 12px 36px #274a3610
}

.search-section h2 {
    font-size: 17px;
    margin: 0 0 10px;
    font-weight: 600
}

.search-row {
    display: flex;
    gap: 10px
}

.search-row input {
    min-width: 0;
    flex: 1;
    border: 1px solid #cad6cc;
    border-radius: 8px;
    padding: 12px 20px;
    color: var(--ink);
    background: #fdfefa;
    font-size: 18px
}

.search-row input::placeholder {
    color: #98a298
}

.search-row button {
    border: 0;
    border-radius: 8px;
    background: var(--green);
    color: #fff;
    padding: 11px 24px;
    white-space: nowrap;
    font-size: 16px;
    font-weight: 600
}

.search-row button:hover {
    background: #194d35
}

.search-row button span {
    margin-left: 16px
}

.search-help {
    font-size: 13px;
    color: var(--muted);
    margin: 9px 0 0
}

.examples {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-wrap: wrap;
    margin-top: 14px;
    font-size: 14px
}

.examples>span {
    color: var(--muted);
    margin-right: 4px
}

.examples button {
    background: #f3f6ed;
    border: 1px solid #e1e8d7;
    border-radius: 25px;
    padding: 4px 14px;
    color: #46634a;
    font-size: 14px
}

.examples button:hover {
    background: #e9efdf
}

.examples button span {
    margin-left: 10px
}

.generation-status {
    color: var(--green);
    font-size: 15px
}

.suggestions {
    display: grid;
    border: 1px solid var(--line);
    border-radius: 8px;
    margin-top: 6px
}

.suggestions[hidden] {
    display: none
}

.suggestions a {
    display: block;
    padding: 7px 18px
}

.suggestions a:hover {
    background: #f3f6ed
}

.notice {
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 15px
}

.error {
    background: #fff1ed;
    border: 1px solid #efd5cc;
    color: #9f392c
}

.how-it-works {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 30px 0 41px;
    padding: 0 14px
}

.how-it-works>div {
    position: relative;
    padding-left: 44px
}

.how-it-works span {
    position: absolute;
    left: 0;
    top: 0;
    color: #779378;
    font-family: var(--serif);
    font-size: 25px
}

.how-it-works h3 {
    font-size: 16px;
    margin: 3px 0 3px
}

.how-it-works p {
    font-size: 13px;
    margin: 0;
    color: var(--muted)
}

.content-section {
    margin-top: 36px
}

.content-section h1 {
    font-size: 30px
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 16px;
    margin-bottom: 15px
}

.section-heading .eyebrow {
    margin-bottom: 4px;
    font-size: 12px
}

.section-heading h2 {
    font-family: var(--serif);
    font-size: 25px;
    margin: 0;
    letter-spacing: .06em
}

.section-heading>a {
    font-size: 14px;
    white-space: nowrap
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px
}

.guide-card {
    padding: 16px 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    transition: border-color .15s, transform .15s
}

.guide-card:hover {
    border-color: #98b49a;
    transform: translateY(-2px);
    text-decoration: none
}

.card-name {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 19px;
    font-weight: 600;
    color: var(--ink);
    overflow-wrap: anywhere
}

.card-name>span {
    color: #8da181;
    font-weight: 400
}

.guide-card p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--muted);
    margin: 9px 0 0
}

.empty-state {
    border: 1px dashed #cdd8c8;
    border-radius: 12px;
    background: #f4f7ed;
    padding: 19px 25px;
    text-align: center;
    color: var(--muted);
    font-size: 15px
}

.home-note {
    margin-top: 36px;
    background: #eef2e6;
    padding: 22px 36px;
    border-radius: 12px
}

.home-note h2 {
    font-family: var(--serif);
    font-size: 23px;
    margin: 0 0 9px
}

.home-note p {
    font-size: 15px;
    max-width: 780px
}

.muted {
    color: var(--muted);
    font-size: 15px
}

.site-footer {
    border-top: 1px solid var(--line);
    padding: 26px 24px;
    text-align: center;
    background: #fff
}

.footer-brand {
    font-weight: 600;
    letter-spacing: .1em
}

.site-footer p {
    font-size: 13px;
    color: var(--muted);
    margin: 4px 0 15px
}

.site-footer div {
    display: flex;
    justify-content: center;
    gap: 22px;
    font-size: 14px
}

.site-footer small {
    display: block;
    margin-top: 14px;
    font-size: 12px;
    color: #849084
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0
}

.food-guide {
    max-width: 860px;
    margin: 26px auto 0
}

.breadcrumb {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 21px
}

.breadcrumb span {
    margin: 0 10px
}

.guide-header h1 {
    font-family: var(--serif);
    font-size: 38px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    margin: 8px 0 12px
}

.guide-header h1 span {
    font-size: 26px;
    margin-left: 8px
}

.summary {
    font-size: 17px;
    line-height: 2
}

.guide-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    color: var(--muted);
    font-size: 13px;
    margin: 17px 0 22px
}

.guide-meta button {
    background: white;
    border: 1px solid var(--line);
    padding: 4px 13px;
    color: var(--green);
    border-radius: 6px;
    font-size: 13px
}

.guide-meta button[aria-pressed=true] {
    background: #e9f0df
}

.recommendation {
    background: #e9f0df;
    border-radius: 12px;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 22px
}

.recommendation-label {
    font-size: 14px
}

.recommendation strong {
    font-size: 28px;
    color: var(--green)
}

.recommendation p {
    flex-basis: 100%;
    font-size: 16px;
    margin: 0
}

.assumptions {
    font-size: 14px;
    color: var(--muted);
    padding: 10px 2px
}

.assumptions strong {
    display: block;
    color: var(--ink);
    margin-bottom: 4px
}

.method-nav {
    display: flex;
    gap: 12px;
    margin: 16px 0
}

.method-nav a {
    flex: 1;
    background: #fff;
    padding: 9px 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    text-align: center;
    font-size: 16px
}

.method-nav span {
    margin-left: 18px
}

.table-scroll {
    overflow-x: auto
}

.comparison {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    font-size: 14px;
    min-width: 540px
}

.comparison caption {
    text-align: left;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 11px
}

.comparison th,
.comparison td {
    border-bottom: 1px solid var(--line);
    padding: 12px 16px;
    text-align: left;
    vertical-align: top
}

.comparison thead {
    background: #f0f4e9
}

.comparison th:first-child {
    width: 92px
}

.comparison td:nth-child(2) {
    white-space: nowrap
}

.duration-note {
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 26px
}

.status {
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 5px;
    display: inline-block;
    background: #f0f3eb;
    white-space: nowrap;
    color: #57644f
}

.status.recommended {
    background: #e4efdc;
    color: #38602d
}

.status.possible {
    background: #e8f1f4;
    color: #3c6778
}

.status.conditional {
    background: #fcf0d6;
    color: #896321
}

.status.unsuitable {
    background: #f1e9e7;
    color: #8c655d
}

.method-card {
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 14px;
    padding: 22px 30px;
    margin: 18px 0;
    scroll-margin-top: 19px
}

.method-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px
}

.method-heading h2 {
    margin: 0;
    font-size: 24px;
    font-family: var(--serif)
}

.method-symbol {
    display: inline-block;
    margin-right: 13px;
    color: var(--green)
}

.frozen .method-symbol {
    color: #538092
}

.room .method-symbol {
    color: #b18c43
}

.method-card p {
    font-size: 16px
}

.method-card h3 {
    font-size: 17px;
    margin: 19px 0 9px
}

.method-facts {
    background: #f7f8f3;
    padding: 11px 18px;
    border-radius: 8px;
    font-size: 14px
}

.method-facts>div {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    padding: 4px 0
}

.method-facts dt {
    color: var(--muted)
}

.method-facts dd {
    margin: 0
}

.steps {
    list-style: none;
    counter-reset: step;
    padding: 0
}

.steps li {
    position: relative;
    padding: 4px 0 11px 40px;
    counter-increment: step;
    font-size: 16px
}

.steps li:before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: 4px;
    width: 27px;
    height: 27px;
    background: #edf2e4;
    color: var(--green);
    text-align: center;
    line-height: 27px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: bold
}

.tips {
    background: #f4f7ed;
    border-radius: 8px;
    padding: 1px 20px 9px;
    margin-top: 14px
}

.tips h3 {
    margin-top: 12px
}

.tips ul,
.notes-card ul {
    padding-left: 21px;
    font-size: 16px
}

.tips li,
.notes-card li {
    padding-bottom: 5px
}

.notes-card {
    padding: 18px 28px;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin: 16px 0;
    background: #fff
}

.notes-card h2 {
    font-size: 21px;
    margin-top: 0
}

.safety-box {
    background: #f4f0e5;
    border: 1px solid #e8dfcb;
    padding: 19px 28px;
    border-radius: 12px;
    margin-top: 22px;
    font-size: 14px;
    color: #6c6250
}

.safety-box h2 {
    font-size: 19px;
    color: #625338
}

.reading-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 19px 0
}

.reading-nav a {
    padding: 4px 13px;
    border-radius: 5px;
    background: white;
    border: 1px solid var(--line)
}

.reading-nav a[aria-current=page] {
    background: var(--green);
    color: #fff
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-top: 22px;
    font-size: 15px
}

.error-page {
    max-width: 700px;
    margin: 60px auto
}

.error-card {
    text-align: center;
    background: #fff;
    padding: 34px 45px;
    border: 1px solid var(--line);
    border-radius: 15px
}

.error-card h1 {
    font-size: 26px
}

.error-code {
    font-family: var(--serif);
    color: var(--green);
    font-size: 74px;
    margin: 0
}

.top-link {
    display: inline-block;
    padding: 8px 25px;
    border-radius: 7px;
    background: var(--green);
    color: white;
    margin-top: 11px
}

[hidden] {
    display: none !important
}

@media(max-width:800px) {
    .header-inner {
        padding: 11px 22px;
        flex-wrap: wrap;
        gap: 14px
    }

    .header-inner nav {
        gap: 20px;
        flex-wrap: wrap
    }

    .brand {
        font-size: 21px
    }

    .hero {
        padding: 32px 8px 26px;
        gap: 20px
    }

    .hero-art {
        width: 230px;
        height: 230px
    }

    .art-circle {
        width: 200px;
        height: 200px
    }

    .art-circle img {
        width: 160px;
        height: 160px
    }

    .art-label {
        padding: 4px 15px;
        font-size: 14px
    }

    .label-chill {
        right: 0
    }

    .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .how-it-works {
        gap: 20px;
        padding: 0
    }

    .how-it-works>div {
        padding-left: 34px
    }

    .how-it-works h3 {
        font-size: 14px
    }

    .search-section {
        padding: 18px 24px
    }

    .search-row button {
        padding: 10px 18px;
        font-size: 15px
    }

    .search-row button span {
        margin-left: 8px
    }
}

@media(max-width:560px) {
    main {
        padding: 0 18px 32px
    }

    .header-inner {
        padding: 10px 18px
    }

    .header-inner nav {
        width: 100%;
        gap: 0;
        justify-content: space-between;
        font-size: 13px
    }

    .hero {
        position: relative;
        padding: 26px 0 18px;
        gap: 0;
        align-items: flex-start
    }

    .hero-copy {
        position: relative;
        z-index: 1
    }

    .hero h1 {
        font-size: 40px
    }

    .hero .eyebrow {
        font-size: 12px
    }

    .hero-description {
        font-size: 14px;
        max-width: 240px
    }

    .hero-art {
        width: 125px;
        height: 165px;
        position: absolute;
        right: 0;
        top: 80px
    }

    .art-circle {
        width: 116px;
        height: 116px;
        opacity: .9
    }

    .art-circle img {
        width: 98px;
        height: 98px
    }

    .art-label {
        font-size: 11px;
        padding: 3px 9px
    }

    .label-freeze {
        top: 4px;
        left: -6px
    }

    .label-chill {
        top: 107px;
        right: -3px
    }

    .label-room {
        left: 6px;
        bottom: -3px
    }

    .search-section {
        padding: 15px 16px;
        border-radius: 12px
    }

    .search-row {
        flex-direction: column
    }

    .search-row input {
        width: 100%;
        padding: 10px 12px;
        font-size: 18px
    }

    .search-row button {
        padding: 10px 13px
    }

    .search-help {
        font-size: 12px
    }

    .examples {
        gap: 7px
    }

    .examples>span {
        flex-basis: 100%
    }

    .examples button {
        font-size: 13px;
        padding: 4px 12px
    }

    .how-it-works {
        gap: 12px;
        margin: 22px 0 26px
    }

    .how-it-works>div {
        padding-left: 0;
        padding-top: 24px
    }

    .how-it-works span {
        font-size: 24px
    }

    .how-it-works p {
        font-size: 12px;
        line-height: 1.7
    }

    .how-it-works h3 {
        font-size: 13px
    }

    .content-section {
        margin-top: 24px
    }

    .section-heading h2 {
        font-size: 22px
    }

    .section-heading>a {
        font-size: 12px
    }

    .card-grid {
        grid-template-columns: 1fr;
        gap: 10px
    }

    .guide-card {
        padding: 13px 17px
    }

    .home-note {
        padding: 18px 20px
    }

    .home-note h2 {
        font-size: 20px
    }

    .guide-header h1 {
        font-size: 32px
    }

    .guide-header h1 span {
        display: block;
        margin-left: 0;
        font-size: 22px
    }

    .recommendation,
    .method-card,
    .notes-card,
    .safety-box {
        padding: 16px 18px
    }

    .method-heading h2 {
        font-size: 22px
    }

    .method-facts>div {
        grid-template-columns: 85px 1fr;
        gap: 10px
    }

    .method-facts {
        padding: 9px 12px
    }

    .method-card p,
    .steps li,
    .tips ul,
    .notes-card ul {
        font-size: 15px
    }

    .method-nav a {
        padding: 7px 9px
    }

    .method-nav span {
        margin-left: 10px
    }

    .tips {
        padding: 1px 14px 7px
    }

    .comparison th,
    .comparison td {
        padding: 9px 12px
    }

    .guide-meta {
        gap: 10px
    }

    .error-card {
        padding: 19px 25px
    }

    .error-page {
        margin-top: 30px
    }

    .error-card h1 {
        font-size: 22px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    .guide-card {
        transition: none
    }
}

/* タイトル全文が折り返せるよう、ヒーローの幅とモバイル配置を調整。 */
.hero-copy {
    min-width: 0;
    flex: 1
}

.hero h1 {
    font-size: clamp(32px, 3.8vw, 44px);
    overflow-wrap: anywhere
}

@media(max-width:800px) {
    .hero {
        gap: 24px
    }

    .hero-art {
        width: 190px
    }
}

@media(max-width:560px) {
    .hero {
        display: block
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.65;
        letter-spacing: .03em
    }

    .hero-description {
        max-width: none
    }

    .hero-art {
        position: relative;
        top: auto;
        right: auto;
        margin: 15px auto 0;
        width: 190px;
        height: 165px
    }
}