:root {
    --color-ink: #24302b;
    --color-muted: #64706a;
    --color-line: #d9ded8;
    --color-paper: #fbfaf6;
    --color-white: #ffffff;
    --color-wood: #b98555;
    --color-wood-dark: #7c573c;
    --color-sage: #697f70;
    --color-sky: #dfe9e7;
    --shadow-soft: 0 18px 50px rgba(36, 48, 43, 0.10);
    --header-height: 76px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--color-ink);
    background: var(--color-paper);
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    line-height: 1.8;
}

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

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(251, 250, 246, 0.94);
    border-bottom: 1px solid rgba(217, 222, 216, 0.9);
    backdrop-filter: blur(14px);
}

.site-header__inner {
    width: min(1120px, calc(100% - 32px));
    min-height: var(--header-height);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 700;
}

.brand__mark {
    width: 78px;
    height: 42px;
    object-fit: contain;
}

.brand__name {
    font-size: 1rem;
    letter-spacing: 0;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 22px;
    color: var(--color-muted);
    font-size: 0.92rem;
    font-weight: 600;
}

.site-nav a {
    text-decoration: none;
}

.site-nav a:hover {
    color: var(--color-wood-dark);
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-white);
}

.nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    background: var(--color-ink);
}

.hero {
    padding: 72px 0 88px;
    background:
        linear-gradient(90deg, rgba(251, 250, 246, 0.96), rgba(251, 250, 246, 0.82)),
        repeating-linear-gradient(90deg, rgba(124, 87, 60, 0.08) 0, rgba(124, 87, 60, 0.08) 1px, transparent 1px, transparent 56px);
}

.hero__inner,
.section__inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

.hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.76fr);
    gap: 64px;
    align-items: center;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--color-sage);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1,
.section h2 {
    margin: 0;
    color: var(--color-ink);
    font-weight: 800;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 760px;
    font-size: clamp(2.45rem, 7vw, 5.4rem);
    line-height: 1.08;
}

.hero__lead {
    max-width: 650px;
    margin: 28px 0 0;
    color: var(--color-muted);
    font-size: 1.08rem;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 34px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-weight: 800;
    text-decoration: none;
}

.button--primary {
    color: var(--color-white);
    background: var(--color-sage);
}

.button--secondary {
    color: var(--color-ink);
    background: var(--color-white);
    border-color: var(--color-line);
}

.hero__visual {
    padding: 36px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(223, 233, 231, 0.62)),
        var(--color-white);
    box-shadow: var(--shadow-soft);
}

.hero__visual img {
    width: min(100%, 420px);
    margin: 0 auto 34px;
}

.hero__visual-text {
    display: grid;
    gap: 10px;
}

.hero__visual-text span {
    padding: 12px 0;
    border-top: 1px solid var(--color-line);
    color: var(--color-muted);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.95rem;
}

.section {
    padding: 86px 0;
}

.section--intro,
.section--contact {
    background: var(--color-white);
}

.section__header {
    max-width: 720px;
    margin-bottom: 36px;
}

.section h2 {
    font-size: clamp(1.75rem, 4vw, 2.65rem);
    line-height: 1.3;
}

.section__header p,
.intro__body,
.works__copy p,
.contact p {
    color: var(--color-muted);
}

.intro {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
}

.intro__body p {
    margin: 0 0 18px;
    font-size: 1.02rem;
}

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

.service-card {
    min-height: 255px;
    padding: 26px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-white);
}

.service-card__number {
    display: inline-block;
    margin-bottom: 42px;
    color: var(--color-wood);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 0.95rem;
    font-weight: 700;
}

.service-card h3 {
    margin: 0 0 12px;
    font-size: 1.25rem;
    line-height: 1.4;
}

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

.work-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 28px;
}

.work-list span {
    padding: 8px 12px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--color-muted);
    font-size: 0.9rem;
}

.section--works {
    background: linear-gradient(135deg, var(--color-sky), rgba(255, 255, 255, 0.92));
}

.works {
    display: grid;
    grid-template-columns: 1fr 0.82fr;
    gap: 42px;
    align-items: center;
}

.works__note {
    margin-top: 20px;
    font-weight: 700;
}

.instagram-panel {
    min-height: 300px;
    padding: 30px;
    border: 1px solid rgba(105, 127, 112, 0.3);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(251, 250, 246, 0.74)),
        repeating-linear-gradient(45deg, rgba(185, 133, 85, 0.08) 0, rgba(185, 133, 85, 0.08) 2px, transparent 2px, transparent 18px);
    box-shadow: var(--shadow-soft);
}

.instagram-panel__label {
    display: inline-flex;
    margin-bottom: 70px;
    color: var(--color-wood-dark);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.instagram-panel h3 {
    margin: 0 0 10px;
    font-size: 1.6rem;
}

.instagram-panel p {
    margin: 0;
    color: var(--color-muted);
}

.flow-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.flow-list li {
    padding: 22px;
    border-left: 3px solid var(--color-sage);
    background: rgba(255, 255, 255, 0.72);
}

.flow-list span {
    color: var(--color-wood);
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 700;
}

.flow-list h3 {
    margin: 12px 0 8px;
    font-size: 1.08rem;
}

.flow-list p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.95rem;
}

.contact {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 42px;
    align-items: start;
}

.contact-card {
    padding: 28px;
    border: 1px solid var(--color-line);
    border-radius: 8px;
    background: var(--color-paper);
}

.contact-card dl {
    margin: 0;
}

.contact-card div {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 18px;
    padding: 16px 0;
    border-bottom: 1px solid var(--color-line);
}

.contact-card div:first-child {
    padding-top: 0;
}

.contact-card div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.contact-card dt {
    color: var(--color-muted);
    font-weight: 700;
}

.contact-card dd {
    margin: 0;
    font-weight: 700;
}

.site-footer {
    padding: 44px 0;
    color: rgba(255, 255, 255, 0.78);
    background: var(--color-ink);
}

.site-footer__inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-footer img {
    width: 112px;
    filter: brightness(0) invert(1);
    opacity: 0.82;
}

.site-footer p,
.site-footer small {
    margin: 0;
}

@media (max-width: 900px) {
    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 8px 16px 18px;
        background: var(--color-paper);
        border-bottom: 1px solid var(--color-line);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 14px 0;
        border-bottom: 1px solid var(--color-line);
    }

    .hero__inner,
    .intro,
    .works,
    .contact {
        grid-template-columns: 1fr;
    }

    .service-grid,
    .flow-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .site-header__inner,
    .hero__inner,
    .section__inner,
    .site-footer__inner {
        width: min(100% - 24px, 1120px);
    }

    .brand__mark {
        width: 66px;
    }

    .brand__name {
        font-size: 0.95rem;
    }

    .hero {
        padding: 48px 0 64px;
    }

    .hero__actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

    .hero__visual {
        padding: 24px;
    }

    .section {
        padding: 64px 0;
    }

    .service-grid,
    .flow-list {
        grid-template-columns: 1fr;
    }

    .contact-card div {
        grid-template-columns: 1fr;
        gap: 4px;
    }

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