:root {
    --bg: #f8f5f1;
    --bg-soft: #ffffff;
    --panel: rgba(255, 255, 255, 0.82);
    --panel-strong: rgba(255, 255, 255, 0.96);
    --text: #2b241f;
    --muted: #6e6258;
    --faint: #9f948a;
    --line: rgba(73, 53, 38, 0.1);
    --gold: #b98942;
    --gold-soft: #8e6530;
    --white: #ffffff;
    --shadow: 0 24px 60px rgba(120, 90, 55, 0.08);
    --danger: #d14b4b;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
            radial-gradient(circle at 0% 0%, rgba(255, 225, 185, 0.35), transparent 30%),
            radial-gradient(circle at 100% 10%, rgba(255, 210, 210, 0.26), transparent 28%),
            linear-gradient(180deg, #fcfaf7 0%, #f7f2ec 100%);
    font-family: "Helvetica Neue", Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
    line-height: 1.9;
    letter-spacing: 0.02em;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
            linear-gradient(rgba(0,0,0,0.02) 1px, transparent 1px),
            linear-gradient(90deg, rgba(0,0,0,0.02) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent 76%);
    z-index: -1;
}

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

.container {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
}

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    border-bottom: 1px solid rgba(73, 53, 38, 0.08);
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(18px);
}

.header-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    font-weight: 700;
    letter-spacing: 0.12em;
    font-size: 15px;
}

.logo span {
    color: var(--faint);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

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

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 100%;
    bottom: 0;
    height: 1px;
    background: var(--gold);
    transition: right 0.24s ease;
}

nav a:hover {
    color: var(--gold-soft);
}

nav a:hover::after {
    right: 0;
}

.hero {
    background:
            linear-gradient(rgba(248,245,241,0.72), rgba(248,245,241,0.88)),
            url('../images/kv.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100svh;
    display: grid;
    align-items: center;
    padding: 132px 0 72px;
    position: relative;
    overflow: hidden;
}

.hero-layout {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 68px;
    align-items: end;
}

.hero-single {
    grid-template-columns: 1fr;
    max-width: 880px;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.kicker::before {
    content: "";
    width: 56px;
    height: 1px;
    background: var(--gold);
}

h1 {
    margin: 0;
    font-size: clamp(44px, 7vw, 86px);
    line-height: 1.12;
    letter-spacing: 0.03em;
    font-weight: 500;
}

h1 strong {
    display: block;
    color: transparent;
    background: linear-gradient(90deg, #2b241f 0%, #c08b3c 48%, #d8b072 100%);
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: 500;
}

.hero-copy {
    margin-top: 34px;
    max-width: 680px;
    color: var(--muted);
    font-size: 16px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 40px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 999px;
    font-size: 13px;
    letter-spacing: 0.08em;
    transition: 0.22s ease;
}

.button.primary {
    color: #fff;
    background: linear-gradient(135deg, #d6ab63, #b57a32);
    box-shadow: 0 16px 36px rgba(181, 122, 50, 0.22);
    font-weight: 700;
}

.button.ghost {
    border: 1px solid var(--line);
    color: var(--text);
    background: rgba(255, 255, 255, 0.72);
}
.button.ghost:hover,
.button.primary:hover {
    transform: translateY(-2px);
}

section {
    position: relative;
}

.section-group {
    padding: 110px 0 0;
}

.section-head {
    margin-bottom: 40px;
}

.section-number {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

h2 {
    margin: 0;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.4;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.section-lead {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 15px;
}

.about-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.glass-panel,
.service-card,
.company-table,
.contact-panel {
    border: 1px solid rgba(255,255,255,0.7);
    background: var(--panel);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.glass-panel {
    border-radius: 28px;
    padding: 32px;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.service-card {
    border-radius: 28px;
    padding: 30px;
    min-height: 270px;
    transition: 0.24s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    background: var(--panel-strong);
}

.service-card .num {
    color: var(--gold);
    font-size: 12px;
    letter-spacing: 0.18em;
}

.service-card h3 {
    margin: 8px 0 14px;
    font-size: 21px;
    line-height: 1.55;
    font-weight: 500;
}

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

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

.company-table {
    width: 100%;
    border-collapse: collapse;
    border-radius: 30px;
    overflow: hidden;
}

.company-table th,
.company-table td {
    padding: 24px 40px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: 0;
}

.company-table th {
    width: 200px;
    color: var(--gold-soft);
    font-size: 14px;
    line-height: 1.9;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 600;
    background: rgba(255,255,255,0.3);
}

.company-table td {
    line-height: 1.7;
}

.contact-form {
    padding: 40px;
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 32px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(18px);
}

.contact-form .font-medium {
    color: var(--danger);
}

.thanks {
    padding: 132px 0 0;
}

.thanks h2 {
    font-size: clamp(30px, 4vw, 40px);
}

footer {
    margin-top: 110px;
    padding: 34px 0 44px;
    color: var(--faint);
    font-size: 12px;
    letter-spacing: 0.08em;
    border-top: 1px solid rgba(73, 53, 38, 0.08);
}

.footer-inner {
    display: flex;
    justify-content: flex-end;
    gap: 24px;
    align-items: center;
}

@media (max-width: 900px) {
    nav {
        display: none;
    }

    .hero-layout,
    .section-head,
    .about-panel,
    .services-grid,
    .contact-panel {
        grid-template-columns: 1fr;
    }

    .section-head {
        margin-bottom: 32px;
    }

    .hero {
        min-height: auto;
        padding-top: 132px;
    }

    .section-group {
        padding: 80px 0 0;
    }

    .company-table th {
        width: 120px;
        padding-right: 0;
    }

    footer {
        margin-top: 80px;
    }
}

@media (max-width: 560px) {
    .container {
        width: min(100% - 32px, 1120px);
    }

    .header-inner {
        height: 68px;
    }

    h1 {
        font-size: 42px;
    }

    .service-card img {
        height: auto;
    }

    .company-table th,
    .company-table td {
        display: block;
        width: 100%;
        padding: 18px 20px;
    }

    .company-table th {
        padding-bottom: 4px;
        border-bottom: none;
    }

    .company-table td {
        padding-top: 4px;
    }

    .contact-form {
        padding: 24px 20px 40px;
    }
}

