:root {
    --bg: #fbfbfa;
    --paper: #ffffff;
    --ink: #2b2b2b;
    --muted: #7a7a7a;
    --line: #e9e7e3;
    --shadow: 0 10px 30px rgba(0, 0, 0, .06);

    --radius: 22px;
    --max: 1040px;

    --serif: "Playfair Display", serif;
    --sans: "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    font-family: var(--sans);
    color: var(--ink);
    background: var(--bg);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    width: min(var(--max), 92vw);
    margin: 0 auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(1.2) blur(8px);
    background: rgba(251, 251, 250, .8);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
}

.brand {
    font-family: var(--serif);
    text-decoration: none;
    color: var(--ink);
    letter-spacing: .04em;
}

.nav {
    display: flex;
    gap: 18px;
}

.nav a {
    color: var(--ink);
    text-decoration: none;
    font-size: 14px;
    opacity: .9;
}

.nav a:hover {
    opacity: 1;
}

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.hamburger span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
    margin: 5px auto;
    border-radius: 2px;
}

.spMenu {
    display: none;
    padding: 18px 10px 26px;
    border-top: 1px solid var(--line);
}

.spMenu a {
    display: block;
    padding: 12px 0;
    text-decoration: none;
    color: var(--ink);
}

.spMenu .btn {
    margin-top: 10px;
    text-align: center;
    color: #fff;
}

.spMenu.is-open {
    display: block;
}

/* Hero */
.hero {
    padding: 34px 0 20px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 28px;
    align-items: center;
}

.hero-kicker {
    margin: 0 0 8px;
    color: var(--muted);
    letter-spacing: .14em;
    text-transform: uppercase;
    font-size: 12px;
}

.hero-title {
    margin: 0;
    font-family: var(--serif);
    font-size: 52px;
    line-height: 1.05;
}

.hero-sub {
    margin: 10px 0 14px;
    color: var(--muted);
}

.hero-desc {
    margin: 0 0 18px;
    line-height: 1.9;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-visual {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
}

.hero-visual img {
    aspect-ratio: 4 / 3;
    width: 100%;
    object-fit: cover;
}

/* Sections */
.section {
    padding: 48px 0;
}

.section.soft {
    background: rgba(255, 255, 255, .6);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.section-title {
    margin: 0 0 12px;
    font-size: 22px;
    letter-spacing: .08em;
}

.section-lead {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.9;
}

.center {
    text-align: center;
}

.muted {
    color: var(--muted);
}

/* About */
.about-grid {
    display: grid;
    grid-template-columns: 1fr .9fr;
    gap: 28px;
    align-items: start;
}

.about-meta {
    margin: 18px 0 0;
    display: grid;
    gap: 10px;
}

.about-meta div {
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper);
    box-shadow: var(--shadow);
}

.about-meta dt {
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 6px;
}

.about-meta dd {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}

.about-photo {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.about-photo img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

/* Cards */
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 18px;
}

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px 16px;
    box-shadow: var(--shadow);
}

.card h3 {
    margin: 0 0 8px;
    font-size: 16px;
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
}

.skills {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.skill-img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 8px;
}

/* Works */
.section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}


.text-link:hover {
    color: var(--ink);
}

.works-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.work {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
    text-decoration: none;
    color: var(--ink);
    transition: transform .25s ease, box-shadow .25s ease;
}

.work:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
}

.work img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .35s ease;
}

.work:hover img {
    transform: scale(1.03);
}

.work-cap {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(255, 255, 255, .85);
    border: 1px solid var(--line);
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    line-height: 1;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    border: 1px solid var(--line);
}

.btn-primary {
    background: #caa45c;
    color: #fff;
    border-color: transparent;
}

.btn-ghost {
    background: transparent;
    color: var(--ink);
}

.btn-ig {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.btn:hover {
    transform: translateY(-1px);
}

.contact-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 18px;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    padding: 20px 0;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid var(--line);
    padding-top: 16px;
}

.to-top {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--paper);
    box-shadow: var(--shadow);
    cursor: pointer;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .cards {
        grid-template-columns: 1fr;
    }

    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .hero-title {
        font-size: 40px;
    }

    .works-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

