@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

:root {
    --zf-ink: #2C2C2C;
    --zf-paper: #F5F5DC;
    --zf-green: #6B8E23;
    --zf-accent: #D35400;
    --zf-border: 2px solid #2C2C2C;
    --zf-font: 'Noto Sans JP', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; outline: none; }

body {
    background-color: var(--zf-paper);
    color: var(--zf-ink);
    font-family: var(--zf-font);
    line-height: 1.5;
    font-size: 15px;
    /* Background Pattern for Density */
    background-image: radial-gradient(var(--zf-ink) 1px, transparent 1px);
    background-size: 10px 10px;
}

a { text-decoration: none; color: inherit; transition: 0.2s; }
img { width: 100%; display: block; object-fit: cover; }
ul { list-style: none; }

.zf-jp-wrap {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--zf-paper);
    border-left: var(--zf-border);
    border-right: var(--zf-border);
    min-height: 100vh;
}

/* HEADER */
.zf-jp-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: var(--zf-border);
    background: var(--zf-green);
    color: var(--zf-paper);
    position: sticky;
    top: 0;
    z-index: 999;
}

.zf-jp-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 1.2rem;
    text-transform: uppercase;
}
.zf-jp-logo img { width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--zf-paper); }

.zf-jp-burger {
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
}
.zf-jp-line { width: 100%; height: 4px; background: var(--zf-paper); border-radius: 2px; }

/* MOBILE MENU OVERLAY */
.zf-jp-menu-ovl {
    position: fixed;
    top: 0; right: -100%;
    width: 80%;
    height: 100%;
    background: var(--zf-ink);
    z-index: 1000;
    transition: 0.3s ease;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    border-left: 2px solid var(--zf-green);
}
.zf-jp-menu-ovl.active { right: 0; }
.zf-jp-menu-link {
    color: var(--zf-paper);
    font-size: 1.2rem;
    font-weight: 700;
    border-bottom: 1px solid #555;
    padding-bottom: 10px;
}
.zf-jp-close {
    position: absolute;
    top: 20px;
    right: 20px;
    color: var(--zf-paper);
    font-size: 2rem;
    cursor: pointer;
    font-weight: 700;
}

/* HERO */
.zf-jp-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: var(--zf-border);
}
.zf-jp-hero-txt {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #fff;
}
.zf-jp-badge {
    background: var(--zf-ink);
    color: var(--zf-paper);
    padding: 5px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-block;
    width: fit-content;
    margin-bottom: 15px;
}
.zf-jp-h1 { font-size: 2.5rem; line-height: 1.2; margin-bottom: 20px; font-weight: 900; }
.zf-jp-lead { font-size: 1rem; margin-bottom: 30px; font-weight: 500; }
.zf-jp-btn {
    background: var(--zf-accent);
    color: #fff;
    padding: 15px;
    text-align: center;
    font-weight: 700;
    border: var(--zf-border);
    box-shadow: 4px 4px 0 var(--zf-ink);
    transition: 0.2s;
}
.zf-jp-btn:hover { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--zf-ink); }
.zf-jp-hero-img { border-left: var(--zf-border); height: 100%; min-height: 400px; }

/* SECTIONS */
.zf-jp-sect { padding: 40px; border-bottom: var(--zf-border); background: #fff; }
.zf-jp-h2 { font-size: 2rem; font-weight: 900; margin-bottom: 30px; border-left: 10px solid var(--zf-green); padding-left: 15px; }

/* BENTO GRID */
.zf-jp-bento {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: var(--zf-ink); /* Gap color */
    border: var(--zf-border);
    padding: 10px;
}
.zf-jp-card {
    background: var(--zf-paper);
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.zf-jp-card-img { height: 150px; border: var(--zf-border); margin-bottom: 15px; }
.zf-jp-h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.zf-jp-p { font-size: 0.9rem; }

/* FORM */
.zf-jp-form-box {
    background: var(--zf-green);
    padding: 30px;
    border: var(--zf-border);
    color: var(--zf-paper);
}
.zf-jp-inp {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: var(--zf-border);
    background: #fff;
    font-weight: 700;
    font-family: inherit;
}
.zf-jp-label { display: block; margin-bottom: 5px; font-weight: 700; font-size: 0.9rem; }

/* FOOTER */
.zf-jp-foot { padding: 40px; background: var(--zf-ink); color: var(--zf-paper); }
.zf-jp-ft-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.zf-jp-ft-lnk { display: block; margin-bottom: 10px; border-bottom: 1px solid #555; padding-bottom: 5px; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .zf-jp-hero { grid-template-columns: 1fr; }
    .zf-jp-hero-img { border-left: none; border-top: var(--zf-border); height: 250px; }
    .zf-jp-bento { grid-template-columns: 1fr; }
    .zf-jp-sect { padding: 20px; }
}