:root {
    --color-main: #0d4848;
    --color-text: #1f2a2c;
    --color-muted: #6f7779;
    --color-line: #e2e4e5;
    --color-soft: #e4f3ee;
    --color-bg: #f3f4f4;
    --color-white: #fff;
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--color-bg);
}

body {
    min-height: 100%;
    margin: 0;
    background: var(--color-bg);
    color: var(--color-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    letter-spacing: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
}

.mobile-lp {
    width: min(100%, 430px);
    min-height: 100vh;
    margin: 0 auto;
    overflow: hidden;
    background: var(--color-white);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.desktop-home {
    display: none;
}

.lp-header {
    display: flex;
    min-height: 72px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 18px 10px;
    background: var(--color-white);
}

.lp-logo {
    display: block;
    width: min(50vw, 190px);
}

.lp-logo img {
    width: 100%;
    height: auto;
}

.lp-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.header-action {
    display: grid;
    justify-items: center;
    gap: 1px;
    color: #50575a;
    font-size: 0.78rem;
    line-height: 1.2;
    white-space: nowrap;
}

.header-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.fv {
    position: relative;
    min-height: 352px;
    overflow: hidden;
    background: #fbfaf7;
}

.fv-visual {
    position: absolute;
    inset: 0;
}

.fv-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.fv::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.08));
    pointer-events: none;
}

.fv-copy {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    padding: 100px 24px 0;
    text-align: center;
}

h1 {
    margin: 0 0 12px;
    color: var(--color-main);
    font-size: clamp(1.92rem, 8.15vw, 2.34rem);
    font-weight: 800;
    line-height: 1.3;
}

.fv-copy p {
    margin: 0;
    color: #172325;
    font-size: clamp(0.78rem, 3.35vw, 0.92rem);
    font-weight: 700;
    line-height: 1.72;
}

.search-area {
    padding: 14px 20px;
    border-bottom: 1px solid var(--color-line);
    background: var(--color-white);
}

.search-box {
    display: flex;
    height: 54px;
    align-items: center;
    gap: 12px;
    padding: 0 18px;
    border: 1px solid #d4d8da;
    border-radius: 999px;
    background: var(--color-white);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.01);
}

.search-mark {
    position: relative;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
}

.search-mark::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 2px;
    width: 16px;
    height: 16px;
    border: 2.2px solid #343a3d;
    border-radius: 50%;
}

.search-mark::after {
    content: "";
    position: absolute;
    right: 3px;
    bottom: 4px;
    width: 12px;
    height: 2.4px;
    border-radius: 999px;
    background: #343a3d;
    transform: rotate(45deg);
}

.search-box input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--color-text);
    font: inherit;
    font-size: 1rem;
}

.search-box input::placeholder {
    color: #979da0;
    font-weight: 600;
}

.category-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--color-line);
    background: var(--color-white);
}

.category-item {
    display: grid;
    min-height: 124px;
    place-items: center;
    align-content: center;
    gap: 9px;
    padding: 14px 6px 12px;
    border-right: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    color: #242b2e;
    text-align: center;
    font-size: clamp(0.78rem, 3.45vw, 0.98rem);
    font-weight: 800;
    line-height: 1.35;
}

.category-item:nth-child(3n) {
    border-right: 0;
}

.category-item img {
    width: clamp(76px, 23vw, 104px);
    height: clamp(76px, 23vw, 104px);
    aspect-ratio: 1;
    object-fit: contain;
    object-position: center;
    mix-blend-mode: multiply;
}

.sp-columns {
    padding: 22px 18px 30px;
    background: #f8f6ef;
}

.sp-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.sp-section-head h2 {
    margin: 0;
    color: #172526;
    font-size: 1.12rem;
    line-height: 1.35;
}

.sp-section-head h2::before {
    content: "✣";
    margin-right: 6px;
    color: #83b765;
    font-size: 0.85rem;
}

.sp-section-head a {
    color: #6e9f54;
    font-size: 0.82rem;
    font-weight: 800;
}

.sp-section-head a::after {
    content: " ›";
}

.sp-column-list {
    display: grid;
    gap: 12px;
}

.sp-column-card {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 12px;
    overflow: hidden;
    border: 1px solid #dedbd2;
    border-radius: 8px;
    background: var(--color-white);
}

.sp-column-card img {
    width: 112px;
    height: 100%;
    min-height: 112px;
    object-fit: cover;
}

.sp-column-card div {
    min-width: 0;
    padding: 12px 12px 12px 0;
}

.sp-column-card span {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #dcedd4;
    color: #5f944f;
    font-size: 0.72rem;
    font-weight: 800;
}

.sp-column-card h3 {
    margin: 0 0 7px;
    color: #172526;
    font-size: 0.9rem;
    line-height: 1.48;
}

.sp-column-card time {
    color: #858b8b;
    font-size: 0.74rem;
    font-weight: 700;
}

@media (min-width: 431px) {
    body {
        padding: 0;
    }
}

@media (min-width: 900px) {
    html,
    body {
        background: #f8f6ef;
    }

    .mobile-lp {
        display: none;
    }

    .desktop-home {
        display: block;
        min-height: 100vh;
        background: #f8f6ef;
    }

    .pc-header {
        display: flex;
        height: 78px;
        align-items: center;
        justify-content: space-between;
        padding: 0 clamp(48px, 7vw, 118px);
        border-bottom: 1px solid #e6e1d8;
        background: rgba(255, 255, 255, 0.96);
    }

    .pc-logo {
        width: 226px;
    }

    .pc-logo img {
        width: 100%;
        height: auto;
    }

    .pc-actions {
        display: flex;
        gap: 30px;
        align-items: center;
    }

    .pc-actions a {
        display: grid;
        justify-items: center;
        gap: 2px;
        color: #5b5f5e;
        font-size: 0.82rem;
        font-weight: 700;
    }

    .pc-actions img {
        width: 36px;
        height: 36px;
        object-fit: contain;
        mix-blend-mode: multiply;
    }

    .pc-hero {
        position: relative;
        height: 318px;
        overflow: hidden;
        border-bottom: 1px solid #e6e1d8;
        background: #fbfaf6;
    }

    .pc-hero-bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    .pc-hero-copy {
        position: relative;
        z-index: 1;
        display: grid;
        justify-items: center;
        padding-top: 72px;
        text-align: center;
    }

    .pc-hero-title {
        margin: 0 0 18px;
        color: #0d5452;
        font-size: clamp(2rem, 3.1vw, 3.05rem);
        font-weight: 850;
        line-height: 1.2;
        text-shadow: 0 1px 8px rgba(255, 255, 255, 0.9);
    }

    .pc-hero-lead {
        margin: 0 0 25px;
        color: #1b2a2b;
        font-size: 1.08rem;
        font-weight: 800;
        line-height: 1.75;
        text-shadow: 0 1px 8px rgba(255, 255, 255, 0.9);
    }

    .pc-search {
        display: flex;
        width: min(520px, 42vw);
        height: 54px;
        align-items: center;
        gap: 12px;
        padding: 0 20px;
        border: 1px solid #d9d6cf;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 8px 24px rgba(32, 42, 44, 0.14);
    }

    .pc-search input {
        width: 100%;
        min-width: 0;
        border: 0;
        outline: 0;
        background: transparent;
        color: var(--color-text);
        font: inherit;
        font-size: 1rem;
    }

    .pc-search input::placeholder {
        color: #9aa0a2;
        font-weight: 700;
    }

    .pc-main {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 280px;
        gap: 24px;
        width: min(1100px, calc(100% - 48px));
        margin: 28px auto 0;
        align-items: start;
    }

    .pc-section-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 18px;
    }

    .pc-section-head h2,
    .pc-sidebar h2 {
        position: relative;
        margin: 0;
        color: #1f2f2f;
        font-size: 1.42rem;
        line-height: 1.3;
    }

    .pc-section-head h2::before,
    .pc-sidebar h2::before {
        content: "✣";
        margin-right: 8px;
        color: #83b765;
        font-size: 1rem;
    }

    .pc-section-head a {
        color: #6e9f54;
        font-size: 0.92rem;
        font-weight: 800;
    }

    .pc-section-head a::after {
        content: " ›";
        font-size: 1.1em;
    }

    .pc-guide-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }

    .pc-card {
        overflow: hidden;
        border: 1px solid #dedbd2;
        border-radius: 6px;
        background: #fff;
        box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
    }

    .pc-card img {
        width: 100%;
        height: 96px;
        object-fit: cover;
    }

    .pc-card-body {
        padding: 9px 11px 10px;
    }

    .pc-card-body span {
        display: inline-flex;
        width: fit-content;
        margin-bottom: 7px;
        padding: 2px 8px;
        border-radius: 999px;
        background: #dcedd4;
        color: #5f944f;
        font-size: 0.72rem;
        font-weight: 800;
    }

    .pc-card-body h3 {
        min-height: 3.55em;
        margin: 0 0 9px;
        color: #192526;
        font-size: 0.88rem;
        line-height: 1.45;
    }

    .pc-card-body time {
        color: #858b8b;
        font-size: 0.76rem;
        font-weight: 700;
    }

    .pc-sidebar {
        padding: 16px 9px 9px;
        border: 1px solid #dedbd2;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.88);
    }

    .pc-sidebar h2 {
        margin: 0 12px 13px;
        font-size: 1.05rem;
    }

    .pc-sidebar a {
        display: grid;
        grid-template-columns: 36px 1fr 14px;
        align-items: center;
        gap: 8px;
        min-height: 46px;
        padding: 5px 10px;
        border: 1px solid #e3e0d8;
        border-bottom: 0;
        background: #fff;
        color: #202b2c;
        font-size: 0.92rem;
        font-weight: 800;
    }

    .pc-sidebar a:first-of-type {
        border-radius: 4px 4px 0 0;
    }

    .pc-sidebar a:last-of-type {
        border-bottom: 1px solid #e3e0d8;
        border-radius: 0 0 4px 4px;
    }

    .pc-sidebar a::after {
        content: "›";
        color: #8da879;
        font-size: 1.4rem;
        line-height: 1;
    }

    .pc-sidebar img {
        width: 32px;
        height: 32px;
        object-fit: contain;
        mix-blend-mode: multiply;
    }

    .pc-bottom-banner {
        display: flex;
        width: min(1100px, calc(100% - 48px));
        min-height: 82px;
        align-items: center;
        justify-content: center;
        margin: 26px auto 28px;
        border: 1px solid #dedbd2;
        border-radius: 12px;
        background: linear-gradient(90deg, #fff, #fbf5e8);
        text-align: center;
    }

    .pc-bottom-banner p {
        margin: 0 0 4px;
        color: #679c4f;
        font-size: 1.55rem;
        font-weight: 850;
    }

    .pc-bottom-banner span {
        color: #4b5555;
        font-size: 1rem;
        font-weight: 700;
    }
}

@media (min-width: 900px) and (max-width: 1120px) {
    .pc-main {
        grid-template-columns: minmax(0, 1fr) 250px;
        gap: 18px;
        width: min(100% - 32px, 980px);
    }

    .pc-guide-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .pc-sidebar {
        padding: 14px 8px 8px;
    }

    .pc-sidebar h2 {
        margin-inline: 10px;
        font-size: 0.98rem;
    }

    .pc-sidebar a {
        grid-template-columns: 32px 1fr 12px;
        min-height: 43px;
        gap: 7px;
        padding: 5px 8px;
        font-size: 0.86rem;
    }

    .pc-sidebar img {
        width: 29px;
        height: 29px;
    }
}

@media (max-width: 360px) {
    .lp-header {
        padding-inline: 14px;
    }

    .lp-actions {
        gap: 11px;
    }

    .fv {
        min-height: 330px;
    }

    .fv-copy {
        padding-top: 92px;
    }

    .category-item {
        min-height: 114px;
    }
}
