@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;600;700&family=Shippori+Mincho:wght@400;500;600;700&display=swap");

:root {
    --paper: #f7f7f4;
    --surface: #ffffff;
    --ink: #24211d;
    --muted: #625b52;
    --line: #e5ded2;
    --sage: #7f9078;
    --clay: #b66f52;
    --clay-dark: #8d4c37;
    --charcoal: #171615;
    --gold: #c9a45d;
    --radius: 14px;
    --shadow: 0 18px 54px rgba(36, 33, 29, .08);
    --shadow-lift: 0 24px 70px rgba(36, 33, 29, .12);
    --wide: 1180px;
    --font-heading: "Shippori Mincho", "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", serif;
    --font-body: "Helvetica Neue", Arial, "Hiragino Sans", "Yu Gothic", sans-serif;
    font-family: var(--font-body);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-size: 16px;
    line-height: 1.85;
    text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
p,
li,
summary,
span {
    overflow-wrap: anywhere;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(18px, 4vw, 56px);
    border-bottom: 1px solid rgba(223, 222, 216, .9);
    background: rgba(247, 247, 244, .94);
    backdrop-filter: blur(14px);
}

.brand,
.site-footer p {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-weight: 700;
}

.brand {
    font-size: 15px;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--charcoal);
    color: var(--paper);
    font-family: Georgia, serif;
    font-size: 20px;
    line-height: 1;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 24px);
    color: var(--muted);
    font-size: 14px;
    white-space: nowrap;
}

.header-nav a {
    position: relative;
    padding: 8px 0;
}

.header-nav a:hover,
.side-nav a:hover {
    color: var(--ink);
}

.header-nav a::after {
    position: absolute;
    right: 0;
    bottom: 4px;
    left: 0;
    height: 1px;
    background: currentColor;
    content: "";
    opacity: 0;
    transform: scaleX(.7);
    transition: opacity .2s ease, transform .2s ease;
}

.header-nav a:hover::after {
    opacity: .45;
    transform: scaleX(1);
}

.hero {
    display: grid;
    grid-template-columns: minmax(0, .95fr) minmax(380px, .75fr);
    align-items: center;
    gap: clamp(42px, 7vw, 92px);
    width: min(var(--wide), calc(100% - 40px));
    min-height: 74svh;
    margin-inline: auto;
    padding: clamp(64px, 9vw, 128px) 0 clamp(52px, 7vw, 96px);
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--clay-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.23;
    letter-spacing: 0;
}

h1 {
    max-width: 10.2em;
    font-size: clamp(42px, 6.1vw, 76px);
    text-wrap: balance;
}

h2 {
    font-size: clamp(29px, 3.7vw, 46px);
    text-wrap: balance;
}

h3 {
    font-size: 21px;
}

.lead {
    max-width: 660px;
    margin: 24px 0 0;
    color: var(--muted);
    font-size: clamp(16px, 1.45vw, 18px);
    font-weight: 600;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 32px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    min-width: 156px;
    padding: 13px 22px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    font-weight: 700;
    line-height: 1.3;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.button.primary {
    background: var(--ink);
    color: var(--paper);
    box-shadow: 0 12px 28px rgba(36, 33, 29, .16);
}

.button.secondary {
    background: rgba(255, 255, 255, .56);
}

.trust-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-width: 560px;
    margin-top: 18px;
}

.trust-strip span {
    padding: 8px 12px;
    border: 1px solid rgba(127, 144, 120, .28);
    border-radius: 999px;
    background: rgba(255, 255, 255, .66);
    color: #4f5c49;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.hero-panel {
    display: grid;
    gap: 14px;
    padding: 24px;
    border: 1px solid rgba(36, 33, 29, .1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 24px 70px rgba(36, 33, 29, .11);
}

.hero-screen,
.apps-preview {
    position: relative;
    margin: 0;
    overflow: hidden;
    border: 1px solid rgba(36, 33, 29, .1);
    border-radius: var(--radius);
    background: #efeee9;
    box-shadow: 0 18px 54px rgba(36, 33, 29, .1);
}

.hero-screen {
    min-height: clamp(520px, 58vw, 720px);
}

.hero-screen img,
.apps-preview img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-screen::after,
.apps-preview::after {
    position: absolute;
    inset: auto 0 0;
    height: 38%;
    background: linear-gradient(180deg, rgba(23, 22, 21, 0), rgba(23, 22, 21, .7));
    content: "";
}

.hero-screen figcaption,
.apps-preview figcaption {
    position: absolute;
    right: clamp(20px, 4vw, 36px);
    bottom: clamp(20px, 4vw, 36px);
    left: clamp(20px, 4vw, 36px);
    z-index: 1;
    color: var(--paper);
}

.hero-screen figcaption span,
.apps-preview figcaption span {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 999px;
    background: rgba(23, 22, 21, .32);
    color: rgba(255, 255, 255, .86);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
}

.hero-screen figcaption strong,
.apps-preview figcaption strong {
    display: block;
    max-width: 480px;
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 600;
    line-height: 1.3;
}

.panel-card {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(36, 33, 29, .1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .78);
}

.panel-card-main {
    min-height: 250px;
    padding: 74px 40px 38px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .48)),
        url("../../assets/furniture-shop/heroBackgroundImage.png") center / cover;
}

.panel-avatar {
    position: absolute;
    top: 48px;
    right: 48px;
    display: grid;
    width: 82px;
    height: 82px;
    place-items: center;
    border-radius: 50%;
    background: var(--clay);
    color: #fff;
    font-family: var(--font-heading);
    font-size: 36px;
    line-height: 1;
}

.panel-kicker {
    margin: 0 0 14px;
    color: var(--ink);
    font-size: 18px;
    font-weight: 800;
}

.panel-card strong {
    display: block;
    max-width: 520px;
    color: var(--muted);
    font-size: 19px;
    line-height: 1.8;
}

.panel-thumbs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(36, 33, 29, .1);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .78);
}

.panel-thumbs img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: cover;
}

.panel-card-feature {
    padding: 30px 36px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .78), rgba(255, 255, 255, .42)),
        url("../../assets/furniture-shop/qualityMainImage.png") center / cover;
}

.layout {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: clamp(28px, 5vw, 64px);
    width: min(var(--wide), calc(100% - 40px));
    margin-inline: auto;
    padding-bottom: clamp(74px, 10vw, 130px);
}

.side-nav {
    position: sticky;
    top: 92px;
    align-self: start;
    display: grid;
    gap: 8px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .76);
    box-shadow: 0 12px 34px rgba(36, 33, 29, .06);
}

.side-nav p {
    margin: 0 0 8px;
    color: var(--clay-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
}

.side-nav a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
}

.content-flow {
    display: grid;
    gap: clamp(56px, 8vw, 96px);
}

.section-block {
    scroll-margin-top: 96px;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
    margin: 16px 0 0;
    color: var(--muted);
}

.feature-grid,
.app-grid,
.demo-link-grid,
.image-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.feature-card,
.manual-group,
.app-card,
.demo-link-card,
.demo-section-list article,
details,
.notice-block {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .82);
    box-shadow: var(--shadow);
}

.feature-card,
.app-card,
.demo-link-card,
.demo-section-list article,
.image-guide-card {
    position: relative;
    padding: 30px;
    transition: transform .2s ease, box-shadow .2s ease;
}

.feature-card:hover,
.app-card:hover,
.demo-link-card:hover,
.demo-section-list article:hover,
.image-guide-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lift);
}

.feature-card::before,
.manual-group::before,
.app-card::before,
.demo-link-card::before,
.demo-section-list article::before,
.image-guide-card::before {
    display: block;
    width: 38px;
    height: 2px;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--clay), var(--gold));
    content: "";
}

.feature-card > span {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--clay-dark);
    font-family: Georgia, serif;
    font-size: 34px;
    line-height: 1;
}

.card-image,
.demo-card-image,
.mini-card-image,
.image-guide-card img {
    width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    background: #eee6da;
}

.card-image {
    aspect-ratio: 4 / 3.15;
    margin: -10px 0 22px;
    object-position: center top;
    box-shadow: 0 12px 30px rgba(36, 33, 29, .08);
}

.demo-card-image {
    aspect-ratio: 4 / 3.15;
    margin: -10px 0 22px;
    object-position: center top;
    box-shadow: 0 12px 30px rgba(36, 33, 29, .08);
}

.mini-card-image {
    aspect-ratio: 4 / 3.25;
    margin: -8px 0 18px;
    object-position: center top;
}

.feature-card p,
.manual-group li,
.app-card p,
.demo-link-card p,
.demo-section-list p,
details p,
.notice-block li,
.cta-section p,
.site-footer {
    color: var(--muted);
}

.feature-card p,
.app-card p,
.demo-link-card p {
    margin: 14px 0 0;
}

.demo-section-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.demo-section-list span {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--clay-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.demo-section-list p {
    margin: 0;
}

.image-guide-grid {
    margin-bottom: 22px;
}

.image-guide-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .82);
    box-shadow: var(--shadow);
}

.image-guide-card img {
    aspect-ratio: 5 / 4;
}

.image-guide-card span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--clay-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.image-guide-card p {
    margin: 0;
    color: var(--muted);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    color: var(--clay-dark);
    font-weight: 700;
}

.text-link::after {
    content: "->";
}

.demo-site-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    margin-top: 20px;
    padding: 12px 20px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--ink);
    color: var(--paper);
    font-weight: 700;
    line-height: 1.3;
    box-shadow: 0 12px 28px rgba(36, 33, 29, .16);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.demo-site-button::after {
    content: "↗";
    font-size: 1.05em;
    line-height: 1;
}

.demo-site-button:hover,
.demo-site-button:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.manual-list {
    display: grid;
    gap: 16px;
}

.setting-preview {
    display: grid;
    gap: 18px;
    margin-bottom: 24px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .82);
    box-shadow: var(--shadow);
}

.setting-preview-heading {
    max-width: 760px;
}

.setting-preview-heading h3 {
    font-size: clamp(24px, 3vw, 36px);
}

.setting-preview-heading p:not(.eyebrow) {
    margin: 14px 0 0;
    color: var(--muted);
}

.setting-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.setting-preview-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.setting-preview-card img {
    width: 100%;
    aspect-ratio: 4 / 3.2;
    border-radius: calc(var(--radius) - 4px);
    object-fit: cover;
    object-position: center top;
    background: #eee6da;
}

.setting-preview-card span {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--clay-dark);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
}

.setting-preview-card h4 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.35;
}

.setting-preview-card p {
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.manual-group {
    padding: 30px;
}

.manual-group ul,
.notice-block ul {
    display: grid;
    gap: 12px;
    padding-left: 1.2em;
    margin: 18px 0 0;
}

.spec-table {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
}

.spec-row {
    display: grid;
    grid-template-columns: .86fr .82fr 1.5fr;
}

.spec-row + .spec-row {
    border-top: 1px solid var(--line);
}

.spec-row span {
    padding: 20px;
    border-left: 1px solid var(--line);
}

.spec-row span:first-child {
    border-left: 0;
    font-weight: 700;
    color: var(--clay-dark);
}

.spec-head {
    background: var(--charcoal);
    color: var(--paper);
    font-weight: 700;
}

.spec-head span {
    border-color: rgba(255, 255, 255, .16);
}

.notice-block {
    display: grid;
    grid-template-columns: minmax(180px, .4fr) minmax(0, 1fr);
    gap: 24px;
    padding: 32px;
    background: rgba(255, 255, 255, .82);
}

.notice-block h2 {
    font-size: clamp(26px, 3vw, 38px);
}

.notice-block ul {
    margin: 0;
}

.apps-preview {
    min-height: clamp(420px, 48vw, 620px);
    margin-bottom: 18px;
}

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

details {
    padding: 0 22px;
    transition: box-shadow .2s ease, border-color .2s ease;
}

details[open] {
    border-color: rgba(182, 111, 82, .36);
    box-shadow: var(--shadow-lift);
}

summary {
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    padding: 20px 0;
    font-weight: 700;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

summary::before {
    width: 0;
    height: 0;
    border-top: 7px solid transparent;
    border-bottom: 7px solid transparent;
    border-left: 11px solid currentColor;
    content: "";
    flex: 0 0 auto;
    transition: transform .2s ease;
}

details[open] summary::before {
    transform: rotate(90deg);
}

details p {
    margin: 0;
    padding: 0 0 22px;
}

.cta-section {
    display: grid;
    justify-items: center;
    padding: clamp(76px, 10vw, 130px) 20px;
    background:
        linear-gradient(135deg, rgba(127, 144, 120, .22), transparent 42%),
        var(--charcoal);
    color: var(--paper);
    text-align: center;
}

.cta-section h2 {
    max-width: 760px;
}

.cta-section p:not(.eyebrow) {
    max-width: 680px;
    margin: 20px 0 0;
    color: rgba(251, 248, 242, .74);
}

.cta-section .button.secondary {
    border-color: rgba(251, 248, 242, .76);
    color: var(--paper);
}

.site-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px clamp(18px, 4vw, 56px);
    font-size: 14px;
    background: #f7f2e9;
}

.site-footer .brand-mark {
    width: 28px;
    height: 28px;
    font-size: 17px;
}

.footer-links {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links a {
    font-weight: 700;
}

@media (max-width: 980px) {
    .hero,
    .layout {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
    }

    .setting-preview-grid {
        grid-template-columns: 1fr;
    }

    .side-nav {
        position: static;
        grid-template-columns: repeat(3, 1fr);
    }

    .side-nav p {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .header-nav {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 2px;
    }

    .hero,
    .layout {
        width: min(100% - 28px, var(--wide));
    }

    h1 {
        font-size: 38px;
        line-height: 1.18;
    }

    h2 {
        font-size: 30px;
        line-height: 1.2;
    }

    .hero-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .trust-strip {
        gap: 8px;
    }

    .trust-strip span {
        font-size: 12px;
    }

    .hero-panel {
        padding: 16px;
    }

    .hero-screen {
        min-height: 460px;
    }

    .hero-screen figcaption strong,
    .apps-preview figcaption strong {
        font-size: 23px;
    }

    .panel-card-main {
        min-height: 230px;
        padding: 78px 24px 28px;
    }

    .panel-avatar {
        top: 24px;
        right: 24px;
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    .panel-thumbs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .panel-card-feature {
        padding: 24px;
    }

    .feature-grid,
    .app-grid,
    .demo-link-grid,
    .image-guide-grid,
    .demo-section-list,
    .notice-block {
        grid-template-columns: 1fr;
    }

    .image-guide-card {
        grid-template-columns: 1fr;
    }

    .setting-preview {
        padding: 18px;
    }

    .setting-preview-card {
        grid-template-columns: 1fr;
    }

    .setting-preview-card img {
        aspect-ratio: 4 / 3;
    }

    .apps-preview {
        min-height: 460px;
    }

    .side-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .spec-row {
        grid-template-columns: 1fr;
    }

    .spec-row span {
        border-left: 0;
        border-top: 1px solid var(--line);
    }

    .spec-row span:first-child {
        border-top: 0;
    }

    .site-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-links {
        align-items: flex-start;
        flex-direction: column;
        gap: 10px;
    }
}
