:root {
    --jp-ink: #18211e;
    --jp-deep: #12352e;
    --jp-green: #1f5146;
    --jp-red: #a43b32;
    --jp-red-dark: #7f2c25;
    --jp-gold: #a58b5c;
    --jp-paper: #f6f4ee;
    --jp-cream: #ece8dc;
    --jp-white: #fff;
    --jp-muted: #66706c;
    --jp-line: #d8d4c8;
    --jp-max: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    margin: 0;
    color: var(--jp-ink);
    background: var(--jp-paper);
    font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
    font-size: 16px;
    line-height: 1.9;
    letter-spacing: 0.035em;
    -webkit-font-smoothing: antialiased;
}

body.jp-menu-open {
    overflow: hidden;
}

a {
    color: inherit;
}

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

.jp-container {
    width: min(calc(100% - 48px), var(--jp-max));
    margin-inline: auto;
}

.jp-skip-link {
    position: fixed;
    top: -100px;
    left: 16px;
    z-index: 9999;
    padding: 10px 18px;
    color: #fff;
    background: var(--jp-red);
}

.jp-skip-link:focus {
    top: 10px;
}

.jp-topbar {
    position: relative;
    z-index: 101;
    color: rgba(255, 255, 255, 0.8);
    background: #0d2822;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
}

.jp-topbar-inner {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.jp-topbar p {
    margin: 0;
}

.jp-topbar-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.jp-topbar a {
    color: #fff;
    text-decoration: none;
}

.jp-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 82px;
    color: var(--jp-ink);
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid rgba(216, 212, 200, 0.7);
    transition: box-shadow 0.25s ease, height 0.25s ease;
}

.jp-header.is-scrolled {
    height: 72px;
    box-shadow: 0 8px 30px rgba(24, 33, 30, 0.08);
}

.jp-flash-wrap {
    position: fixed;
    top: 92px;
    right: 22px;
    z-index: 200;
    width: min(420px, calc(100% - 44px));
}

.jp-flash {
    padding: 16px 18px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    color: var(--jp-ink);
    background: #fff;
    border-left: 4px solid var(--jp-green);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16);
    font-size: 0.82rem;
}

.jp-flash-error {
    border-left-color: var(--jp-red);
}

.jp-flash button {
    padding: 0;
    border: 0;
    color: var(--jp-muted);
    background: transparent;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
}

.jp-header-inner {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 30px;
}

.jp-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}

.jp-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.jp-logo span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.jp-logo strong {
    font-family: "Noto Serif JP", serif;
    font-size: 1.1rem;
    letter-spacing: 0.06em;
}

.jp-logo small {
    margin-top: 5px;
    color: var(--jp-muted);
    font-size: 0.52rem;
    letter-spacing: 0.15em;
}

.jp-navigation {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 25px;
}

.jp-navigation a {
    position: relative;
    padding: 8px 0;
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.jp-navigation a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 2px;
    left: 0;
    height: 1px;
    background: var(--jp-red);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.25s ease;
}

.jp-navigation a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.jp-header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.jp-language {
    color: var(--jp-muted);
    font-size: 0.62rem;
    text-decoration: none;
    white-space: nowrap;
}

.jp-header-cta {
    padding: 11px 18px;
    color: #fff;
    background: var(--jp-red);
    font-size: 0.76rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.jp-header-cta:hover {
    background: var(--jp-red-dark);
}

.jp-menu-button {
    display: none;
}

.jp-hero {
    position: relative;
    min-height: 680px;
    height: calc(100vh - 116px);
    max-height: 860px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: #10241f;
}

.jp-hero-image,
.jp-hero-shade {
    position: absolute;
    inset: 0;
}

.jp-hero-image {
    background: url("https://fjwheels-upload.oss-ap-northeast-1.aliyuncs.com/front/hero.jpg") center 58% / cover no-repeat;
    transform: scale(1.015);
    animation: jpHeroReveal 1.4s ease-out both;
}

.jp-hero-shade {
    background:
        linear-gradient(90deg, rgba(12, 31, 26, 0.9) 0%, rgba(12, 31, 26, 0.66) 44%, rgba(12, 31, 26, 0.1) 78%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.34));
}

.jp-hero-content {
    position: relative;
    z-index: 2;
    padding-bottom: 26px;
}

.jp-eyebrow,
.jp-kicker {
    margin: 0 0 20px;
    color: var(--jp-red);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.jp-eyebrow {
    color: #f3d3ca;
}

.jp-hero h1 {
    max-width: 850px;
    margin: 0 0 24px;
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    font-size: clamp(2.5rem, 5vw, 4.65rem);
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.08em;
}

.jp-hero h1 em {
    font-style: normal;
}

.jp-hero-copy {
    max-width: 670px;
    margin: 0 0 34px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(0.95rem, 1.35vw, 1.1rem);
    line-height: 2.05;
}

.jp-hero-actions {
    display: flex;
    gap: 12px;
}

.jp-button {
    min-height: 54px;
    padding: 13px 28px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    border: 1px solid transparent;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-decoration: none;
    transition: background 0.25s ease, border 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.jp-button:hover {
    transform: translateY(-2px);
}

.jp-button-primary {
    color: #fff;
    background: var(--jp-red);
}

.jp-button-primary:hover {
    background: var(--jp-red-dark);
}

.jp-button-ghost {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.58);
    background: rgba(0, 0, 0, 0.08);
}

.jp-button-ghost:hover {
    color: var(--jp-ink);
    background: #fff;
    border-color: #fff;
}

.jp-hero-note {
    position: absolute;
    right: 34px;
    bottom: 29px;
    z-index: 2;
    display: flex;
    gap: 22px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.58rem;
    letter-spacing: 0.18em;
}

.jp-assurance {
    color: #fff;
    background: var(--jp-deep);
}

.jp-assurance-grid {
    min-height: 128px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
}

.jp-assurance-grid > div {
    min-height: 60px;
    padding: 0 28px;
    display: flex;
    align-items: center;
    gap: 15px;
    border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.jp-assurance-grid > div:first-child {
    padding-left: 0;
}

.jp-assurance-grid > div:last-child {
    border-right: 0;
}

.jp-assurance strong {
    flex: 0 0 auto;
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: 1.75rem;
    font-weight: 600;
}

.jp-assurance span {
    color: rgba(255, 255, 255, 0.74);
    font-size: 0.73rem;
    line-height: 1.6;
}

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

.jp-section-heading h2,
.jp-contact h2,
.jp-company h2 {
    margin: 0;
    font-family: "Noto Serif JP", "Yu Mincho", serif;
    font-size: clamp(2rem, 3.5vw, 3.15rem);
    font-weight: 600;
    line-height: 1.62;
    letter-spacing: 0.07em;
}

.jp-intro {
    background: var(--jp-paper);
}

.jp-intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 100px;
}

.jp-intro-copy {
    padding-top: 43px;
}

.jp-intro-copy p {
    margin: 0 0 22px;
    color: var(--jp-muted);
    line-height: 2.25;
}

.jp-text-link {
    margin-top: 15px;
    padding-bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 40px;
    border-bottom: 1px solid var(--jp-ink);
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
}

.jp-trust {
    padding-top: 0;
    background: var(--jp-paper);
}

.jp-trust-heading {
    padding: 54px 58px;
    display: grid;
    grid-template-columns: 1fr 320px;
    align-items: center;
    gap: 70px;
    color: #fff;
    background: var(--jp-deep);
}

.jp-trust-heading h2 {
    margin: 0;
    font-family: "Noto Serif JP", serif;
    font-size: clamp(1.8rem, 3vw, 2.7rem);
    font-weight: 600;
    line-height: 1.65;
    letter-spacing: 0.06em;
}

.jp-trust-heading .jp-kicker {
    color: #efc1b6;
}

.jp-doc-panel {
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #fff;
    text-decoration: none;
}

.jp-doc-panel img {
    width: 58px;
    height: auto;
    flex: 0 0 auto;
}

.jp-doc-panel span {
    display: flex;
    flex-direction: column;
    font-size: 0.7rem;
    line-height: 1.7;
}

.jp-doc-panel small {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.57rem;
    letter-spacing: 0.16em;
}

.jp-doc-panel strong {
    margin: 2px 0;
    font-family: "Noto Serif JP", serif;
    font-size: 1rem;
}

.jp-trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-right: 1px solid var(--jp-line);
}

.jp-trust-grid article {
    min-height: 245px;
    padding: 32px 28px;
    border-bottom: 1px solid var(--jp-line);
    border-left: 1px solid var(--jp-line);
    background: #fff;
}

.jp-trust-grid article > span {
    color: var(--jp-red);
    font-family: "Noto Serif JP", serif;
    font-size: 0.8rem;
}

.jp-trust-grid h3 {
    margin: 28px 0 13px;
    font-family: "Noto Serif JP", serif;
    font-size: 1.05rem;
    font-weight: 600;
}

.jp-trust-grid p {
    margin: 0;
    color: var(--jp-muted);
    font-size: 0.78rem;
    line-height: 1.9;
}

.jp-section-title-row {
    margin-bottom: 56px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 60px;
}

.jp-section-title-row > p {
    max-width: 420px;
    margin: 0 0 12px;
    color: var(--jp-muted);
    font-size: 0.9rem;
    line-height: 2;
}

.jp-services {
    background: #fff;
}

.jp-service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.jp-service-card {
    min-height: 0;
    display: grid;
    grid-template-rows: 250px 1fr;
    border: 1px solid var(--jp-line);
    background: #fff;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jp-service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(24, 33, 30, 0.09);
}

.jp-service-image {
    min-height: 250px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #eeece6;
    transition: transform 0.6s ease;
}

.jp-service-card:hover .jp-service-image {
    transform: scale(1.01);
}

.jp-service-image-private {
    background-image: url("https://fjwheels-upload.oss-ap-northeast-1.aliyuncs.com/front/scene4.jpg");
}

.jp-service-image-small {
    background-image: url("https://fjwheels-upload.oss-ap-northeast-1.aliyuncs.com/front/scene2.jpg");
}

.jp-service-image-group {
    background-image: url("https://fjwheels-upload.oss-ap-northeast-1.aliyuncs.com/front/scene3.jpg");
}

.jp-service-image-transfer {
    background-image: url("https://fjwheels-upload.oss-ap-northeast-1.aliyuncs.com/front/maintenance_workshop.png");
}

.jp-service-body {
    position: relative;
    z-index: 1;
    padding: 38px 34px;
    background: #fff;
}

.jp-service-number {
    position: absolute;
    top: 18px;
    right: 22px;
    color: #ddd9cf;
    font-family: "Noto Serif JP", serif;
    font-size: 2.7rem;
}

.jp-service-en {
    margin: 0 0 19px;
    color: var(--jp-red);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.17em;
}

.jp-service-body h3 {
    margin: 0 0 17px;
    font-family: "Noto Serif JP", serif;
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.6;
}

.jp-service-body > p:not(.jp-service-en) {
    margin: 0 0 24px;
    color: var(--jp-muted);
    font-size: 0.85rem;
    line-height: 2;
}

.jp-service-body a {
    display: inline-flex;
    gap: 30px;
    border-bottom: 1px solid var(--jp-ink);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
}

.jp-journeys {
    color: #fff;
    background: #132d27;
}

.jp-section-heading-light {
    max-width: 780px;
    margin-bottom: 54px;
}

.jp-section-heading-light .jp-kicker {
    color: #e5b7ad;
}

.jp-section-heading-light > p:last-child {
    margin: 20px 0 0;
    color: rgba(255, 255, 255, 0.66);
}

.jp-journey-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.jp-journey-card {
    color: var(--jp-ink);
    background: #fff;
}

.jp-journey-image {
    position: relative;
    height: 235px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    background-color: #0c211c;
}

.jp-journey-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.55));
}

.jp-journey-image span {
    position: absolute;
    right: 18px;
    bottom: 14px;
    z-index: 1;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.jp-journey-south {
    background-image: url("https://fjwheels-upload.oss-ap-northeast-1.aliyuncs.com/front/scene4.jpg");
}

.jp-journey-north {
    background-image: url("https://fjwheels-upload.oss-ap-northeast-1.aliyuncs.com/front/scene2.jpg");
}

.jp-journey-all {
    background-image: url("https://fjwheels-upload.oss-ap-northeast-1.aliyuncs.com/front/scene3.jpg");
}

.jp-journey-body {
    padding: 30px 28px 32px;
}

.jp-journey-body > p {
    margin: 0 0 10px;
    color: var(--jp-red);
    font-size: 0.72rem;
    font-weight: 600;
}

.jp-journey-body h3 {
    margin: 0 0 20px;
    font-family: "Noto Serif JP", serif;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.7;
}

.jp-journey-body ul {
    margin: 0 0 24px;
    padding: 18px 0 0;
    border-top: 1px solid var(--jp-line);
    list-style: none;
}

.jp-journey-body li {
    position: relative;
    margin: 6px 0;
    padding-left: 16px;
    color: var(--jp-muted);
    font-size: 0.78rem;
}

.jp-journey-body li::before {
    content: "";
    position: absolute;
    top: 0.83em;
    left: 0;
    width: 5px;
    height: 5px;
    background: var(--jp-red);
    transform: rotate(45deg);
}

.jp-journey-body a {
    color: var(--jp-ink);
    font-size: 0.78rem;
    font-weight: 600;
    text-decoration: none;
}

.jp-reasons {
    background: var(--jp-paper);
}

.jp-reason-list {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--jp-line);
    list-style: none;
}

.jp-reason-list li {
    min-height: 130px;
    padding: 28px 10px;
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    border-bottom: 1px solid var(--jp-line);
}

.jp-reason-list > li > span {
    color: var(--jp-red);
    font-family: "Noto Serif JP", serif;
    font-size: 1.25rem;
}

.jp-reason-list li div {
    display: grid;
    grid-template-columns: minmax(230px, 0.7fr) 1fr;
    align-items: center;
    gap: 50px;
}

.jp-reason-list h3 {
    margin: 0;
    font-family: "Noto Serif JP", serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.jp-reason-list p {
    margin: 0;
    color: var(--jp-muted);
    font-size: 0.86rem;
}

.jp-flow {
    background: #fff;
}

.jp-section-heading-centered {
    max-width: 760px;
    margin: 0 auto 60px;
    text-align: center;
}

.jp-section-heading-centered > p:last-child {
    margin: 20px 0 0;
    color: var(--jp-muted);
}

.jp-flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--jp-line);
    border-bottom: 1px solid var(--jp-line);
}

.jp-flow-grid article {
    position: relative;
    min-height: 265px;
    padding: 38px 30px;
    border-right: 1px solid var(--jp-line);
}

.jp-flow-grid article:last-child {
    border-right: 0;
}

.jp-flow-grid article:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 50%;
    right: -12px;
    z-index: 1;
    width: 24px;
    color: var(--jp-red);
    background: #fff;
    text-align: center;
}

.jp-flow-grid span {
    display: block;
    margin-bottom: 34px;
    color: var(--jp-red);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.16em;
}

.jp-flow-grid b {
    display: block;
    margin-bottom: 16px;
    font-family: "Noto Serif JP", serif;
    font-size: 1.16rem;
    font-weight: 600;
}

.jp-flow-grid p {
    margin: 0;
    color: var(--jp-muted);
    font-size: 0.8rem;
    line-height: 1.9;
}

.jp-company {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 680px;
    background: var(--jp-cream);
}

.jp-company-image {
    min-height: 620px;
    background: #dcd8cc url("https://fjwheels-upload.oss-ap-northeast-1.aliyuncs.com/front/scene1.jpg") center / contain no-repeat;
}

.jp-company-content {
    max-width: 650px;
    padding: 100px 70px;
}

.jp-company-content > p:not(.jp-kicker) {
    margin: 24px 0 36px;
    color: var(--jp-muted);
    line-height: 2.15;
}

.jp-company dl {
    margin: 0;
    border-top: 1px solid #ccc6b8;
}

.jp-company dl div {
    padding: 15px 0;
    display: grid;
    grid-template-columns: 100px 1fr;
    border-bottom: 1px solid #ccc6b8;
    font-size: 0.8rem;
}

.jp-company dt {
    font-weight: 600;
}

.jp-company dd {
    margin: 0;
    color: var(--jp-muted);
}

.jp-contact {
    padding: 100px 0;
    color: #fff;
    background: var(--jp-green);
}

.jp-contact .jp-kicker {
    color: #efc1b6;
}

.jp-contact-inner {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
    gap: 75px;
}

.jp-contact-copy > p {
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.jp-contact-phone {
    margin-top: 34px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

.jp-contact-phone small {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.66rem;
}

.jp-contact-phone strong {
    margin-top: 2px;
    font-family: "Noto Serif JP", serif;
    font-size: 1.65rem;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.jp-contact-hours {
    margin: 4px 0 0;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.68rem;
}

.jp-quick-form {
    padding: 38px;
    color: var(--jp-ink);
    background: #fff;
}

.jp-form-heading {
    margin-bottom: 28px;
    padding-bottom: 20px;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 15px;
    border-bottom: 1px solid var(--jp-line);
}

.jp-form-heading strong {
    font-family: "Noto Serif JP", serif;
    font-size: 1.25rem;
    font-weight: 600;
}

.jp-form-heading span {
    color: var(--jp-muted);
    font-size: 0.7rem;
}

.jp-hp-field {
    position: absolute;
    left: -9999px;
}

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

.jp-quick-form label {
    margin-bottom: 18px;
    display: block;
}

.jp-quick-form label > span {
    margin-bottom: 7px;
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
}

.jp-quick-form label b {
    margin-left: 6px;
    padding: 1px 5px;
    color: #fff;
    background: var(--jp-red);
    font-size: 0.58rem;
    font-weight: 500;
}

.jp-quick-form input,
.jp-quick-form select,
.jp-quick-form textarea {
    width: 100%;
    padding: 12px 13px;
    border: 1px solid var(--jp-line);
    border-radius: 0;
    color: var(--jp-ink);
    background: #faf9f6;
    font: inherit;
    font-size: 0.82rem;
    outline: none;
}

.jp-quick-form input:focus,
.jp-quick-form select:focus,
.jp-quick-form textarea:focus {
    border-color: var(--jp-red);
    box-shadow: 0 0 0 3px rgba(164, 59, 50, 0.08);
}

.jp-quick-form textarea {
    resize: vertical;
}

.jp-quick-form button {
    width: 100%;
    min-height: 56px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    border: 0;
    color: #fff;
    background: var(--jp-red);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
}

.jp-quick-form button:hover {
    background: var(--jp-red-dark);
}

.jp-form-privacy {
    margin: 10px 0 0;
    color: var(--jp-muted);
    font-size: 0.62rem;
    text-align: center;
}

.jp-footer {
    padding: 72px 0 28px;
    color: rgba(255, 255, 255, 0.7);
    background: #0c1e1a;
}

.jp-footer-main {
    padding-bottom: 55px;
    display: grid;
    grid-template-columns: 1.25fr 0.75fr 0.8fr 100px;
    gap: 55px;
}

.jp-footer-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.jp-footer-brand img {
    width: 50px;
}

.jp-footer-brand div {
    display: flex;
    flex-direction: column;
}

.jp-footer-brand strong {
    color: #fff;
    font-family: "Noto Serif JP", serif;
    font-size: 1.25rem;
}

.jp-footer-brand span {
    margin-top: 5px;
    font-size: 0.57rem;
    letter-spacing: 0.12em;
}

.jp-footer nav,
.jp-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.jp-footer nav a,
.jp-footer-contact a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.76rem;
    text-decoration: none;
}

.jp-footer-contact span {
    font-size: 0.72rem;
}

.jp-footer-doc {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.62rem;
    text-decoration: none;
}

.jp-footer-doc img {
    width: 64px;
    height: auto;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.jp-footer-doc:hover img {
    opacity: 0.88;
    transform: translateY(-2px);
}

.jp-footer-bottom {
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 0.64rem;
}

.jp-footer-bottom a {
    text-decoration: none;
}

.jp-mobile-cta {
    display: none;
}

@keyframes jpHeroReveal {
    from { opacity: 0; transform: scale(1.06); }
    to { opacity: 1; transform: scale(1.015); }
}

@media (max-width: 1120px) {
    .jp-navigation {
        gap: 15px;
    }

    .jp-language {
        display: none;
    }

    .jp-company-content {
        padding-inline: 50px;
    }
}

@media (max-width: 920px) {
    .jp-topbar {
        display: none;
    }

    .jp-header {
        height: 70px;
    }

    .jp-header.is-scrolled {
        height: 64px;
    }

    .jp-header-actions {
        margin-left: auto;
    }

    .jp-header-cta {
        display: none;
    }

    .jp-menu-button {
        width: 46px;
        margin-left: 8px;
        padding: 5px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        border: 0;
        background: transparent;
    }

    .jp-menu-button span {
        width: 25px;
        height: 1px;
        background: var(--jp-ink);
    }

    .jp-menu-button b {
        margin-top: 1px;
        font-size: 0.52rem;
        font-weight: 500;
    }

    .jp-navigation {
        position: fixed;
        top: 64px;
        right: 0;
        bottom: 0;
        left: 0;
        padding: 38px 24px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(246, 244, 238, 0.99);
    }

    .jp-navigation.is-open {
        display: flex;
    }

    .jp-navigation a {
        padding: 18px 4px;
        border-bottom: 1px solid var(--jp-line);
        font-family: "Noto Serif JP", serif;
        font-size: 1rem;
    }

    .jp-hero {
        height: calc(100vh - 70px);
        min-height: 650px;
    }

    .jp-assurance-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 22px 0;
    }

    .jp-assurance-grid > div {
        min-height: 72px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    }

    .jp-assurance-grid > div:nth-child(2) {
        border-right: 0;
    }

    .jp-assurance-grid > div:nth-child(3),
    .jp-assurance-grid > div:nth-child(4) {
        border-bottom: 0;
    }

    .jp-intro-grid {
        gap: 50px;
    }

    .jp-trust-heading {
        padding: 45px 40px;
        grid-template-columns: 1fr 270px;
        gap: 35px;
    }

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

    .jp-service-grid {
        grid-template-columns: 1fr;
    }

    .jp-journey-list {
        padding-bottom: 14px;
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }

    .jp-journey-card {
        flex: 0 0 72%;
        scroll-snap-align: start;
    }

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

    .jp-flow-grid article:nth-child(2) {
        border-right: 0;
    }

    .jp-flow-grid article:nth-child(-n+2) {
        border-bottom: 1px solid var(--jp-line);
    }

    .jp-flow-grid article:nth-child(2)::after {
        display: none;
    }

    .jp-company {
        grid-template-columns: 1fr;
    }

    .jp-company-image {
        min-height: 480px;
    }

    .jp-company-content {
        max-width: none;
        padding: 75px max(24px, calc((100vw - 720px) / 2));
    }

    .jp-contact-inner {
        grid-template-columns: 0.72fr 1.28fr;
        gap: 40px;
    }

    .jp-footer-main {
        grid-template-columns: 1.2fr 0.8fr 0.8fr;
        gap: 40px;
    }

    .jp-footer-doc {
        grid-column: 1 / -1;
        width: fit-content;
        flex-direction: row;
    }
}

@media (max-width: 700px) {
    .jp-container {
        width: min(calc(100% - 36px), var(--jp-max));
    }

    .jp-logo img {
        width: 34px;
        height: 34px;
    }

    .jp-logo small {
        display: none;
    }

    .jp-section {
        padding: 72px 0;
    }

    .jp-hero {
        min-height: 670px;
        align-items: flex-end;
    }

    .jp-hero-image {
        background-position: 62% center;
    }

    .jp-hero-shade {
        background:
            linear-gradient(180deg, rgba(12, 31, 26, 0.12) 5%, rgba(12, 31, 26, 0.9) 74%),
            linear-gradient(90deg, rgba(12, 31, 26, 0.3), rgba(12, 31, 26, 0.06));
    }

    .jp-hero-content {
        padding-bottom: 84px;
    }

    .jp-eyebrow {
        margin-bottom: 14px;
        font-size: 0.6rem;
    }

    .jp-hero h1 {
        font-size: clamp(2rem, 10.8vw, 3rem);
        line-height: 1.55;
        letter-spacing: 0.05em;
    }

    .jp-hero-copy {
        font-size: 0.86rem;
        line-height: 1.9;
    }

    .jp-hero-copy br {
        display: none;
    }

    .jp-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .jp-button {
        width: 100%;
    }

    .jp-hero-note {
        display: none;
    }

    .jp-assurance-grid {
        width: 100%;
    }

    .jp-assurance-grid > div,
    .jp-assurance-grid > div:first-child {
        padding: 12px 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
    }

    .jp-assurance strong {
        font-size: 1.35rem;
    }

    .jp-assurance span {
        font-size: 0.63rem;
    }

    .jp-intro-grid,
    .jp-contact-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .jp-trust-heading {
        padding: 38px 24px;
        grid-template-columns: 1fr;
    }

    .jp-doc-panel {
        max-width: 340px;
    }

    .jp-trust-grid {
        grid-template-columns: 1fr;
    }

    .jp-trust-grid article {
        min-height: 0;
        padding: 25px 24px;
    }

    .jp-trust-grid h3 {
        margin-top: 16px;
    }

    .jp-intro-copy {
        padding-top: 0;
    }

    .jp-section-heading h2,
    .jp-contact h2,
    .jp-company h2 {
        font-size: clamp(1.65rem, 8vw, 2.35rem);
    }

    .jp-section-title-row {
        margin-bottom: 38px;
        display: block;
    }

    .jp-section-title-row > p {
        margin-top: 22px;
    }

    .jp-service-card {
        min-height: 0;
    }

    .jp-service-image {
        min-height: 210px;
    }

    .jp-service-body {
        padding: 30px 24px;
    }

    .jp-journey-card {
        flex-basis: 88%;
    }

    .jp-journey-image {
        height: 240px;
    }

    .jp-reason-list li {
        padding: 25px 0;
        grid-template-columns: 56px 1fr;
        align-items: start;
    }

    .jp-reason-list li div {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .jp-reason-list h3 {
        font-size: 1.05rem;
    }

    .jp-flow-grid {
        grid-template-columns: 1fr;
        border-bottom: 0;
    }

    .jp-flow-grid article {
        min-height: 0;
        padding: 25px 5px;
        border-right: 0;
        border-bottom: 1px solid var(--jp-line);
    }

    .jp-flow-grid article::after {
        display: none;
    }

    .jp-flow-grid span {
        margin-bottom: 12px;
    }

    .jp-company-image {
        min-height: 330px;
    }

    .jp-company-content {
        padding: 65px 18px;
    }

    .jp-company dl div {
        grid-template-columns: 82px 1fr;
    }

    .jp-contact {
        padding: 72px 0 90px;
    }

    .jp-quick-form {
        padding: 28px 20px;
    }

    .jp-form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .jp-form-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 3px;
    }

    .jp-footer {
        padding-bottom: 95px;
    }

    .jp-footer-main {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .jp-footer-doc {
        width: fit-content;
        align-items: flex-start;
    }

    .jp-footer-bottom {
        gap: 15px;
        flex-direction: column;
    }

    .jp-mobile-cta {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 110;
        height: 62px;
        display: grid;
        grid-template-columns: 0.8fr 1.2fr;
        box-shadow: 0 -5px 24px rgba(0, 0, 0, 0.14);
    }

    .jp-mobile-cta a {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        background: var(--jp-deep);
        font-size: 0.78rem;
        font-weight: 600;
        text-decoration: none;
    }

    .jp-mobile-cta a:last-child {
        background: var(--jp-red);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* ==========================================================================
   COMPACT REFINEMENT
   Tighter type scale and denser layout for faster scanning.
   ========================================================================== */

body {
    font-size: 14px;
    line-height: 1.75;
    overflow-x: hidden;
}

.jp-topbar {
    display: none;
}

.jp-container {
    width: min(calc(100% - 40px), 1120px);
}

.jp-header,
.jp-header.is-scrolled {
    height: 64px;
}

.jp-header-inner {
    gap: 22px;
}

.jp-logo img {
    width: 34px;
    height: 34px;
}

.jp-logo strong {
    font-size: 1rem;
}

.jp-logo small {
    margin-top: 3px;
    font-size: 0.46rem;
}

.jp-navigation {
    gap: 20px;
}

.jp-navigation a {
    font-size: 0.72rem;
}

.jp-header-cta {
    padding: 9px 15px;
    font-size: 0.7rem;
}

.jp-hero {
    min-height: 500px;
    height: min(72vh, 650px);
    max-height: 650px;
}

.jp-hero-content {
    padding-bottom: 0;
}

.jp-eyebrow,
.jp-kicker {
    margin-bottom: 13px;
    font-size: 0.64rem;
}

.jp-hero h1 {
    max-width: 700px;
    margin-bottom: 16px;
    font-size: clamp(2.2rem, 4.2vw, 3.45rem);
    line-height: 1.38;
}

.jp-hero-copy {
    max-width: 610px;
    margin-bottom: 24px;
    font-size: 0.92rem;
    line-height: 1.85;
}

.jp-button {
    min-height: 46px;
    padding: 10px 21px;
    gap: 24px;
    font-size: 0.78rem;
}

.jp-assurance-grid {
    min-height: 88px;
}

.jp-assurance-grid > div {
    min-height: 46px;
    padding-inline: 22px;
}

.jp-assurance strong {
    font-size: 1.45rem;
}

.jp-assurance span {
    font-size: 0.65rem;
}

.jp-section {
    padding: 68px 0;
}

.jp-section-heading h2,
.jp-contact h2,
.jp-company h2 {
    font-size: clamp(1.65rem, 2.7vw, 2.35rem);
    line-height: 1.5;
}

.jp-section-title-row {
    margin-bottom: 34px;
}

.jp-section-title-row > p {
    max-width: 360px;
    font-size: 0.8rem;
    line-height: 1.8;
}

.jp-trust {
    padding-top: 58px;
    background: #fff;
}

.jp-trust .jp-container {
    max-width: 960px;
}

.jp-trust-heading {
    padding: 34px 40px;
    grid-template-columns: 1fr 280px;
    gap: 45px;
}

.jp-trust-heading h2 {
    font-size: clamp(1.55rem, 2.6vw, 2.15rem);
    line-height: 1.5;
}

.jp-doc-panel {
    padding: 15px 18px;
    gap: 15px;
}

.jp-doc-panel img {
    width: 46px;
}

.jp-trust-grid article {
    min-height: 172px;
    padding: 23px 20px;
}

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

.jp-trust-grid h3 {
    margin: 16px 0 8px;
    font-size: 0.93rem;
}

.jp-trust-grid p {
    font-size: 0.71rem;
    line-height: 1.75;
}

.jp-service-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.jp-service-card {
    min-height: 235px;
    display: block;
}

.jp-service-image {
    display: none;
}

.jp-service-body {
    min-height: 235px;
    padding: 28px 22px 24px;
}

.jp-service-number {
    top: 10px;
    right: 15px;
    font-size: 2rem;
}

.jp-service-en {
    margin-bottom: 12px;
    font-size: 0.53rem;
}

.jp-service-body h3 {
    margin-bottom: 9px;
    font-size: 1.12rem;
    line-height: 1.45;
}

.jp-service-body > p:not(.jp-service-en) {
    margin-bottom: 15px;
    font-size: 0.74rem;
    line-height: 1.75;
}

.jp-service-body a {
    gap: 20px;
    font-size: 0.7rem;
}

.jp-section-heading-light {
    margin-bottom: 34px;
}

.jp-section-heading-light > p:last-child {
    margin-top: 12px;
    font-size: 0.8rem;
}

.jp-journey-list {
    gap: 16px;
}

.jp-journey-image {
    height: 175px;
    background-size: cover;
}

.jp-journey-south {
    background-position: center 63%;
}

.jp-journey-north {
    background-position: center 48%;
}

.jp-journey-all {
    background-position: center 62%;
}

.jp-journey-body {
    padding: 22px 20px 23px;
}

.jp-journey-body > p {
    margin-bottom: 6px;
    font-size: 0.65rem;
}

.jp-journey-body h3 {
    margin-bottom: 13px;
    font-size: 1.05rem;
    line-height: 1.55;
}

.jp-journey-body ul {
    margin-bottom: 14px;
    padding-top: 12px;
}

.jp-journey-body li,
.jp-journey-body a {
    font-size: 0.68rem;
}

.jp-section-heading-centered {
    margin-bottom: 36px;
}

.jp-section-heading-centered > p:last-child {
    margin-top: 12px;
    font-size: 0.8rem;
}

.jp-flow-grid article {
    min-height: 190px;
    padding: 26px 22px;
}

.jp-flow-grid span {
    margin-bottom: 20px;
}

.jp-flow-grid b {
    margin-bottom: 10px;
    font-size: 1rem;
}

.jp-flow-grid p {
    font-size: 0.72rem;
    line-height: 1.75;
}

.jp-company {
    min-height: 500px;
}

.jp-company-image {
    min-height: 500px;
    background-size: cover;
    background-position: center;
}

.jp-company-content {
    padding: 66px 55px;
}

.jp-company-content > p:not(.jp-kicker) {
    margin: 17px 0 24px;
    font-size: 0.8rem;
    line-height: 1.9;
}

.jp-company dl div {
    padding: 11px 0;
    font-size: 0.72rem;
}

.jp-contact {
    padding: 68px 0;
}

.jp-contact-inner {
    gap: 52px;
}

.jp-contact-copy > p {
    margin-top: 16px;
    font-size: 0.8rem;
}

.jp-contact-phone {
    margin-top: 24px;
}

.jp-contact-phone strong {
    font-size: 1.4rem;
}

.jp-quick-form {
    padding: 28px;
}

.jp-form-heading {
    margin-bottom: 20px;
    padding-bottom: 14px;
}

.jp-form-heading strong {
    font-size: 1.05rem;
}

.jp-quick-form label {
    margin-bottom: 12px;
}

.jp-quick-form input,
.jp-quick-form select,
.jp-quick-form textarea {
    padding: 9px 11px;
    font-size: 0.76rem;
}

.jp-quick-form textarea {
    min-height: 92px;
}

.jp-quick-form button {
    min-height: 47px;
    font-size: 0.78rem;
}

.jp-footer {
    padding-top: 52px;
}

.jp-footer-main {
    padding-bottom: 36px;
}

@media (max-width: 920px) {
    .jp-header-actions {
        display: none;
    }

    .jp-menu-button {
        margin-left: auto;
        display: flex !important;
        flex-shrink: 0;
    }

    .jp-hero {
        min-height: 480px;
        height: 68vh;
    }

    .jp-trust-heading {
        grid-template-columns: 1fr 240px;
    }

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

    .jp-service-card {
        min-height: 225px;
    }

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

@media (max-width: 700px) {
    .jp-container {
        width: calc(100% - 32px);
    }

    .jp-section {
        padding: 50px 0;
    }

    .jp-hero {
        min-height: 540px;
        height: calc(100svh - 64px);
        max-height: 640px;
    }

    .jp-hero-content {
        padding-bottom: 52px;
    }

    .jp-hero h1 {
        max-width: 100%;
        font-size: clamp(1.65rem, 7.7vw, 2rem);
        line-height: 1.48;
        overflow-wrap: anywhere;
    }

    .jp-hero-copy {
        font-size: 0.8rem;
    }

    .jp-button-ghost {
        display: none;
    }

    .jp-assurance-grid {
        padding-block: 10px;
    }

    .jp-assurance-grid > div,
    .jp-assurance-grid > div:first-child {
        min-height: 58px;
        padding: 8px 16px;
    }

    .jp-trust {
        padding-top: 46px;
    }

    .jp-trust-heading {
        padding: 28px 22px;
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .jp-trust-grid {
        grid-template-columns: 1fr;
    }

    .jp-trust-grid article {
        min-height: 0;
        padding: 20px 21px;
    }

    .jp-service-card {
        min-height: 0;
    }

    .jp-service-grid {
        grid-template-columns: 1fr;
    }

    .jp-service-body {
        min-height: 0;
        padding: 23px 21px;
    }

    .jp-journey-image {
        height: 170px;
    }

    .jp-flow-grid article {
        min-height: 0;
        padding: 20px 4px;
    }

    .jp-company-image {
        min-height: 270px;
    }

    .jp-company-content {
        padding: 48px 16px;
    }

    .jp-contact {
        padding: 52px 0 78px;
    }

    .jp-quick-form {
        padding: 23px 18px;
    }
}
