/*
Theme Name: LINE & Letters
Version: 1.15.3
Requires PHP: 7.4
Text Domain: line-letters
*/
:root {
    --ink:#171917;
    --accent:#36595b;
    --paper:#fbfaf8;
    --pale:#e8eded;
    --sky:#eaf3f6;
    --stone:#eee9e1;
    --line:#d8dad6;
    --serif:"Noto Serif JP","Yu Mincho","Hiragino Mincho ProN",serif;
    --sans:"Noto Sans JP","Yu Gothic",Meiryo,sans-serif;
}

* {
    box-sizing:border-box;
}

body {
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font:16px/1.75 var(--serif);
}

a {
    color:var(--accent);
    text-underline-offset:.32em;
}

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

h1,h2,h3,p,ol,ul {
    margin:0;
}

h1,h2,h3 {
    line-height:1.35;
    overflow-wrap:anywhere;
}

h1 {
    font-size:clamp(36px,5vw,76px);
    font-weight:600;
}

h2 {
    font-size:clamp(23px,2.65vw,40px);
    font-weight:600;
}

h3 {
    font-size:clamp(18px,2vw,28px);
    font-weight:600;
}

.wrap,.green-content {
    width:min(90%,1390px);
    margin-inline:auto;
}

.green-wide {
    width:min(95%,1500px);
    margin-inline:auto;
}

.skip {
    position:absolute;
    left:-100vw;
}

.skip:focus {
    left:1em;
    top:1em;
    z-index:10;
    background:white;
}

:focus-visible {
    outline:2px solid var(--accent);
    outline-offset:4px;
}

.button {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:var(--accent);
    color:white;
    border:1px solid var(--accent);
    border-radius:4px;
    padding:.64em 1.65em;
    text-decoration:none;
    font:600 1rem/1.45 var(--sans);
    text-align:center;
    cursor:pointer;
}

.button:hover {
    background:#284749;
    color:white;
}

.button:disabled {
    opacity:.65;
    cursor:default;
}

.quiet {
    color:var(--accent);
    background:var(--paper);
}

.bar {
    background:var(--paper);
    border-bottom:1px solid #7e9090;
}

.bar .wrap {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    min-height:74px;
}

.brand {
    color:var(--ink);
    font:500 clamp(20px,2.1vw,32px)/1.25 "DM Sans",Arial,sans-serif;
    letter-spacing:.145em;
    text-decoration:none;
    white-space:nowrap;
}

.bar nav {
    display:flex;
    align-items:center;
    gap:clamp(22px,3.6vw,57px);
    font:650 clamp(14px,1.3vw,20px)/1.4 var(--sans);
}

.bar nav a:not(.button) {
    color:var(--ink);
    text-decoration:none;
}

.bar nav a[aria-current="page"] {
    text-decoration:underline;
    text-decoration-color:var(--accent);
    text-underline-offset:9px;
}

.bar .button {
    font-size:inherit;
    min-width:clamp(140px,13vw,200px);
}

.mobile-nav {
    display:none;
}

.ll-icon {
    width:1.85em;
    height:1.85em;
    color:var(--accent);
    flex:none;
    vertical-align:middle;
}

.green-hero {
    position:relative;
    display:flex;
    align-items:center;
    min-height:clamp(420px,45vw,730px);
    isolation:isolate;
    background:#f2eee8;
}

.green-hero::before {
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    background-image:linear-gradient(90deg,#f9f8f5 0%,#f9f8f5 31%,rgba(249,248,245,.8) 39%,transparent 56%),var(--photo);
    background-size:100% 100%,auto 100%;
    background-position:center,right center;
    background-repeat:no-repeat;
}

.green-hero-copy {
    width:min(90%,1390px);
    margin-inline:auto;
    padding:36px 0;
}

.green-hero-copy h1 {
    max-width:65%;
}

.green-hero-copy p {
    font-size:clamp(16px,1.7vw,25px);
    line-height:1.55;
    max-width:53%;
    margin-top:.65em;
}

.green-hero-copy h1::after,.green-kicker::after,.green-showcase h2::after,.green-story h2::after {
    content:"";
    display:block;
    width:2.25em;
    height:2px;
    background:var(--accent);
    margin:.45em 0 .42em;
}

.green-hero-copy h1::after {
    width:1.05em;
}

.green-hero-copy .green-kicker {
    font-weight:700;
    margin:0 0 .4em;
}

.green-kicker+h1::after {
    display:none;
}

.green-hero .button {
    font-size:clamp(15px,1.45vw,22px);
    margin-top:1.5em;
}

.green-home {
    min-height:clamp(385px,31.25vw,640px);
}

.green-home::before {
    background-image:linear-gradient(90deg,#f9f8f5 0%,#f9f8f5 32%,transparent 44%),var(--photo);
    background-size:100% 100%,65.17% 100%;
}

.green-home h1 {
    font-size:clamp(38px,4.45vw,72px);
    line-height:1.28;
}

.green-home p {
    font-size:clamp(21px,2.3vw,37px);
}

.green-home .button {
    min-width:clamp(195px,17.1vw,270px);
}

.green-duo {
    display:grid;
    grid-template-columns:1fr 1fr;
    padding:clamp(28px,2.9vw,52px) 0 clamp(36px,3.2vw,54px);
}

.green-duo article {
    display:flex;
    gap:clamp(20px,2.6vw,42px);
    padding-left:12%;
    padding-right:3%;
}

.green-duo article+article {
    border-left:1px solid var(--line);
}

.green-duo .ll-icon {
    width:clamp(44px,5.8vw,89px);
    height:clamp(44px,5.8vw,89px);
}

.green-duo p,.green-showcase p {
    font-size:clamp(15px,1.27vw,20px);
    margin-top:.7em;
}

.green-label {
    display:inline-block;
    margin-top:7px;
    padding:4px 1.05em;
    border-radius:9px;
    background:var(--sky);
    color:var(--accent);
    font:600 clamp(14px,1.25vw,20px)/1.55 var(--sans);
}

.green-showcase {
    display:grid;
    grid-template-columns:1fr 1fr .81fr;
    gap:clamp(18px,2.4vw,40px);
    align-items:center;
    padding:clamp(22px,1.9vw,36px) clamp(22px,3.5vw,60px);
    background:var(--stone);
}

.green-showcase img {
    width:100%;
    height:auto;
    border-radius:3px;
}

.green-showcase h3 {
    font-size:clamp(17px,1.55vw,25px);
}

.green-showcase a,.green-guide summary {
    display:inline-block;
    margin-top:10px;
    font-family:var(--sans);
    font-weight:650;
}

.green-content {
    padding-block:clamp(24px,3.2vw,54px) clamp(32px,4vw,65px);
}

.green-content>h2 {
    margin-bottom:.25em;
}

.green-content>p {
    margin-bottom:1.3em;
}

.green-content h3+p {
    margin-top:.25em;
}

.green-section-title {
    padding-left:.55em;
    border-left:3px solid var(--accent);
}

.green-services,.green-plans,.green-table,.green-faq {
    margin-top:clamp(16px,2.1vw,34px);
}

.green-services {
    display:grid;
    gap:14px;
}

.green-services a {
    display:grid;
    grid-template-columns:auto .85fr 1.35fr auto;
    gap:clamp(14px,2.6vw,45px);
    align-items:center;
    padding:clamp(16px,2.3vw,42px);
    color:var(--ink);
    background:var(--stone);
    text-decoration:none;
}

.green-services a:hover {
    background:var(--pale);
}

.green-services p {
    border-left:1px solid var(--line);
    padding-left:1em;
    margin:0!important;
}

.green-services .ll-icon,.green-quote .ll-icon {
    font-size:clamp(22px,2.65vw,41px);
}

.green-services span {
    color:var(--accent);
    font:30px/1 var(--sans);
}

.green-plans {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:clamp(10px,1.4vw,22px);
}

.green-plans article {
    display:flex;
    flex-direction:column;
    align-items:stretch;
    border:1px solid var(--line);
    border-radius:5px;
    padding:clamp(13px,2vw,30px);
}

.green-plans h3,.green-plans .ll-icon {
    text-align:center;
    align-self:center;
}

.green-plans .ll-icon {
    font-size:clamp(21px,2.2vw,36px);
    margin-bottom:12px;
}

.green-plans ul {
    list-style:none;
    padding:.7em .8em;
    background:var(--pale);
    margin:1em 0;
}

.green-plans li::before {
    content:"✓ ";
    color:var(--accent);
}

.green-plans .button {
    margin-top:auto;
}

.green-table {
    border-collapse:collapse;
    width:100%;
    border:1px solid var(--line);
}

.green-table td,.green-table th {
    border:1px solid var(--line);
    padding:.55em .9em;
    text-align:left;
    overflow-wrap:anywhere;
}

.green-table th {
    background:var(--sky);
}

.green-table tbody th {
    width:32%;
}

.green-quote {
    display:flex;
    align-items:center;
    gap:clamp(12px,2.4vw,38px);
    background:var(--stone);
    margin-top:clamp(22px,4vw,62px);
    padding:clamp(15px,2.5vw,44px);
}

.green-quote h3,.green-quote .button {
    flex-shrink:0;
}

.green-steps {
    display:grid;
    gap:12px;
    list-style:none;
    padding:0;
}

.green-steps li {
    display:grid;
    grid-template-columns:46px 1fr;
    align-items:center;
    gap:clamp(12px,2vw,38px);
    position:relative;
}

.green-steps li:not(:last-child)::before {
    content:"";
    position:absolute;
    top:50%;
    bottom:calc(-50% - 12px);
    left:22px;
    border-left:1px solid var(--accent);
}

.green-step-no {
    position:relative;
    display:grid;
    place-items:center;
    width:45px;
    aspect-ratio:1;
    border:2px solid var(--accent);
    border-radius:50%;
    background:var(--paper);
    font:650 .95rem var(--sans);
}

.green-steps li>div {
    display:flex;
    align-items:center;
    gap:clamp(14px,3vw,52px);
    background:var(--pale);
    padding:clamp(12px,1.4vw,24px) clamp(18px,3vw,52px);
    border-radius:4px;
}

.green-steps .ll-icon {
    font-size:clamp(21px,2.5vw,38px);
}

.green-guide {
    display:grid;
    grid-template-columns:36% 1fr;
    background:var(--stone);
    margin-top:16px;
}

.green-guide img,.green-sample img {
    width:100%;
    height:100%;
    object-fit:cover;
}

.green-guide>div,.green-sample {
    padding:clamp(15px,2.25vw,36px);
}

.green-guide summary {
    color:var(--accent);
    cursor:pointer;
    text-decoration:underline;
    text-underline-offset:4px;
}

.green-guide details p {
    margin-top:.5em;
}

.green-sample {
    background:var(--stone);
    border-radius:4px;
}

.green-sample+.green-sample {
    margin-top:18px;
}

.green-sample:has(img) {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:22px;
    align-items:center;
}

.green-sample h2 {
    font-size:clamp(19px,2.4vw,34px);
    margin-bottom:.55em;
}

.green-sample h2 svg {
    margin-right:.4em;
}

.green-sample .button {
    margin-top:1em;
}

.green-filters {
    display:flex;
    justify-content:center;
    gap:14px;
    flex-wrap:wrap;
}

.green-filters button {
    border:0;
    border-radius:4px;
    padding:.6em 1.35em;
    background:var(--pale);
    color:var(--ink);
    font:650 .95rem var(--sans);
    cursor:pointer;
}

.green-filters button[aria-pressed="true"] {
    color:white;
    background:var(--accent);
}

.green-faq details {
    background:var(--paper);
    border:1px solid var(--line);
    border-radius:4px;
    margin-bottom:10px;
}

.green-faq summary {
    display:flex;
    align-items:start;
    gap:.6em;
    padding:.75em 1em;
    cursor:pointer;
    font-weight:700;
    list-style:none;
}

.green-faq summary::after {
    content:"⌄";
    margin-left:auto;
    color:var(--accent);
}

.green-faq details[open] summary::after {
    content:"⌃";
}

.green-faq details p {
    background:var(--pale);
    padding:.8em 1em;
}

.green-faq span {
    color:var(--accent);
    margin-right:.35em;
}

.green-story {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:5%;
}

.green-story article+article {
    padding-left:10%;
    border-left:1px solid var(--line);
}

.green-story p+p {
    margin-top:.7em;
}

.green-about-services {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    background:var(--stone);
    padding:clamp(16px,3vw,50px);
    margin-top:clamp(22px,3vw,50px);
    gap:20px;
}

.green-about-services article {
    display:flex;
    align-items:center;
    gap:1em;
}

.green-about-services article+article {
    border-left:1px solid var(--line);
    padding-left:1em;
}

.green-about-services .ll-icon {
    font-size:clamp(18px,2.4vw,33px);
}

.green-form {
    background:var(--sky);
    padding:clamp(16px,3.5vw,54px);
    border-radius:5px;
    display:grid;
    gap:14px;
}

.green-form label {
    display:grid;
    grid-template-columns:24% 1fr;
    gap:.6em;
    font:650 .95rem var(--sans);
    align-items:start;
}

.green-form label span {
    padding-top:.6em;
}

.green-form b {
    color:#914139;
}

.green-content input,.green-content select,.green-content textarea {
    width:100%;
    background:#fff;
    color:var(--ink);
    border:1px solid #b9bfbc;
    border-radius:5px;
    padding:.63em .85em;
    font:400 1rem/1.5 var(--sans);
}

.site-footer {
    border-top:1px solid var(--line);
    margin-top:28px;
    background:var(--paper);
    padding:20px 0;
}

.site-footer .wrap {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:18px;
}

.site-footer nav {
    display:flex;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:7px 16px;
    font:500 .78rem var(--sans);
}

.site-footer nav a {
    color:var(--ink);
    text-decoration:none;
}

.site-footer .brand {
    font-size:16px;
}

.back-top {
    display:none;
}

.body {
    padding-block:2rem;
}

@media(max-width:930px) {
    .bar nav {
        gap:18px;
    }
    .green-duo article {
        padding-left:5%;
    }
    .green-quote {
        flex-wrap:wrap;
    }
    .green-hero-copy h1,.green-hero-copy p {
        max-width:72%;
    }
}

@media(max-width:700px) {
    body {
        font-size:15px;
    }
    .bar .wrap {
        min-height:60px;
    }
    .bar .wrap>nav {
        display:none;
    }
    .mobile-nav {
        display:block;
    }
    .mobile-nav>summary {
        list-style:none;
        cursor:pointer;
        display:flex;
        align-items:center;
        min-height:44px;
        color:var(--accent);
        font:650 .8rem var(--sans);
        gap:6px;
    }
    .menu-bars {
        width:20px;
        height:13px;
        border-block:1.5px solid;
        position:relative;
    }
    .menu-bars::after {
        content:"";
        position:absolute;
        top:5px;
        left:0;
        right:0;
        border-top:1.5px solid;
    }
    .mobile-nav[open] nav {
        position:absolute;
        top:60px;
        left:0;
        right:0;
        z-index:3;
        background:var(--paper);
        padding:16px 5%;
        box-shadow:0 8px 12px #0002;
    }
    .mobile-nav nav a {
        width:100%;
        padding-block:.4em;
    }
    .mobile-nav nav .button {
        width:auto;
    }
    .green-hero {
        min-height:0;
        display:flex;
        flex-direction:column;
        align-items:stretch;
    }
    .green-hero::before {
        position:static;
        order:2;
        display:block;
        aspect-ratio:2;
        background-image:var(--photo);
        background-size:cover;
        background-position:center 55%;
    }
    .green-home::before {
        aspect-ratio:2.05;
        background-position:center;
    }
    .green-hero-copy {
        padding:23px 0 20px;
    }
    .green-hero-copy h1,.green-hero-copy p {
        max-width:none;
    }
    .green-hero-copy p br {
        display:none;
    }
    .green-hero-copy p {
        margin-top:.5em;
    }
    .green-hero .button {
        margin-top:1em;
    }
    .green-duo,.green-showcase,.green-story,.green-plans,.green-about-services,.green-sample:has(img) {
        grid-template-columns:1fr;
    }
    .green-duo {
        padding:12px 0 24px;
    }
    .green-duo article {
        padding:18px 5%;
    }
    .green-duo article+article,.green-story article+article,.green-about-services article+article {
        border-left:0;
        border-top:1px solid var(--line);
    }
    .green-story article+article,.green-about-services article+article {
        padding:1em 0 0;
    }
    .green-story {
        gap:20px;
    }
    .green-showcase img {
        max-height:200px;
        object-fit:cover;
    }
    .green-services a {
        grid-template-columns:auto 1fr auto;
        gap:6px 14px;
    }
    .green-services .ll-icon {
        grid-row:span 2;
    }
    .green-services p {
        grid-column:2;
        border:0;
        padding:0;
    }
    .green-services span {
        grid-column:3;
        grid-row:1/span 2;
    }
    .green-guide {
        grid-template-columns:30% 1fr;
    }
    .green-steps li {
        grid-template-columns:36px 1fr;
    }
    .green-step-no {
        width:36px;
    }
    .green-steps li:not(:last-child)::before {
        left:17px;
    }
    .green-filters {
        justify-content:flex-start;
        gap:7px;
    }
    .green-filters button {
        padding:.65em .8em;
    }
    .green-form label {
        grid-template-columns:1fr;
    }
    .site-footer .wrap {
        align-items:flex-start;
        flex-direction:column;
    }
    .site-footer nav {
        justify-content:flex-start;
    }
}

@media(max-width:360px) {
    .brand {
        font-size:17px;
    }
    .green-hero h1 {
        font-size:30px;
    }
    .green-guide {
        grid-template-columns:1fr;
    }
    .green-guide img {
        max-height:135px;
    }
}

.green-plan-details {
    margin-top:auto;
}

.green-plan-details summary {
    width:100%;
    list-style:none;
}

.green-plan-details summary::-webkit-details-marker {
    display:none;
}

.green-plan-details p {
    margin-top:.7em;
}

/* Home */
.brand:has(.top-mark) {
    display:inline-flex;
    align-items:center;
    gap:.65em;
}

.top-mark {
    width:1.22em;
    height:1.22em;
    flex:none;
    border-radius:18%;
}

.green-home {
    min-height:clamp(470px,35vw,650px);
}

.green-home h1 {
    font-size:clamp(38px,4.3vw,66px);
}

.green-home .top-lead {
    font-size:clamp(16px,1.35vw,21px);
    max-width:min(37%,510px);
    line-height:1.75;
}

.green-home .top-secondary {
    font-size:clamp(14px,1.1vw,17px);
    max-width:37%;
    line-height:1.65;
}

.top-actions {
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    justify-content:center;
    gap:12px 28px;
    margin-top:24px;
    font:600 1rem/1.5 var(--sans);
}

.green-home .top-actions {
    justify-content:flex-start;
    max-width:43%;
}

.green-home .top-actions .button {
    margin:0;
    font-size:1rem;
    min-width:0;
}

.green-duo {
    grid-template-columns:1.12fr 1fr;
}

.green-duo article {
    padding-left:7%;
}

.green-duo article+article h2 {
    font-size:clamp(20px,2.2vw,33px);
}

.top-section {
    border-top:1px solid var(--line);
    padding-block:clamp(28px,4vw,56px);
}

.top-section>h2 {
    text-align:center;
    font-size:clamp(24px,2.6vw,36px);
    margin-bottom:clamp(20px,2.4vw,34px);
}

.top-section>h2::after {
    content:"";
    display:block;
    width:44px;
    height:2px;
    background:var(--accent);
    margin:.5em auto 0;
}

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

.top-intents a {
    display:grid;
    grid-template-columns:auto 1fr auto;
    align-items:center;
    gap:10px;
    padding:clamp(15px,2vw,28px);
    background:#f8f3e9;
    border:1px solid #e0d9cc;
    border-radius:7px;
    color:var(--ink);
    text-decoration:none;
}

.top-intents a:nth-child(2) {
    background:#f1ece4;
}

.top-intents a:nth-child(3) {
    background:var(--sky);
    border-color:#d3e2e8;
}

.top-intents h3 {
    font-size:clamp(17px,1.55vw,23px);
}

.top-intents p {
    grid-column:1/-1;
    padding-top:10px;
    border-top:1px solid var(--line);
}

.top-intents span {
    color:var(--accent);
    font-size:25px;
}

.top-work {
    display:grid;
    grid-template-columns:1.35fr 1fr;
    gap:14px;
}

.top-project {
    position:relative;
    background:var(--stone);
}

.top-project img {
    width:100%;
    height:100%;
    min-height:240px;
    object-fit:cover;
}

.top-project>div {
    position:absolute;
    bottom:0;
    left:0;
    padding:15px 24px;
    background:var(--paper);
    max-width:92%;
}

.top-work h3 {
    font-size:clamp(20px,1.9vw,28px);
    margin-bottom:8px;
}

.top-translation {
    background:var(--sky);
    padding:clamp(18px,2.8vw,40px);
}

.top-translation dl {
    display:grid;
    grid-template-columns:auto 1fr;
    gap:12px;
    align-items:start;
}

.top-translation dt {
    padding:1px 8px;
    background:#d9ebf0;
    color:var(--accent);
    font-weight:700;
}

.top-translation dd {
    margin:0;
}

.top-process {
    list-style:none;
    padding:0;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:18px;
    position:relative;
    text-align:center;
}

.top-process::before {
    content:"";
    position:absolute;
    top:20px;
    left:12%;
    right:12%;
    border-top:1px solid var(--accent);
}

.top-process li {
    position:relative;
}

.top-process span {
    display:grid;
    place-items:center;
    width:42px;
    height:42px;
    margin:0 auto 10px;
    border:1px solid var(--accent);
    border-radius:50%;
    background:var(--paper);
    color:var(--accent);
    font-weight:700;
}

.top-process h3 {
    font-size:clamp(18px,1.8vw,25px);
    margin-bottom:5px;
}

.top-consult {
    background:var(--sky);
    padding-block:clamp(28px,3.7vw,56px);
    text-align:center;
}

.top-consult p {
    margin-top:8px;
}

.top-footer {
    margin:0;
    background:#f7f4ee;
}

.top-footer .top-footer-grid {
    display:grid;
    grid-template-columns:1.2fr 1fr 1fr auto;
    align-items:start;
    padding-block:12px 23px;
}

.top-footer nav {
    display:grid;
    justify-content:start;
    gap:8px;
}

.top-footer nav strong {
    font-size:.95rem;
    margin-bottom:3px;
}

.top-footer nav a {
    font-size:.87rem;
}

.top-footer nav a:hover {
    text-decoration:underline;
}

.top-footer-brand p {
    font-size:.87rem;
    margin-top:7px;
}

.top-footer .top-footer-end {
    border-top:1px solid var(--line);
    justify-content:center;
    padding-top:12px;
}

@media(max-width:700px) {
    .green-home {
        min-height:0;
    }
    .green-home h1 {
        font-size:clamp(30px,8.6vw,42px);
    }
    .green-home .top-lead,.green-home .top-secondary,.green-home .top-actions {
        max-width:none;
    }
    .green-home .top-actions {
        display:grid;
        justify-content:stretch;
        justify-items:center;
        gap:10px;
        margin-top:16px;
    }
    .green-home .top-actions .button {
        width:100%;
        min-height:44px;
    }
    .green-duo,.top-intents,.top-work,.top-process {
        grid-template-columns:1fr;
    }
    .top-project img {
        height:auto;
        min-height:0;
    }
    .top-project>div {
        position:static;
        max-width:none;
    }
    .top-process {
        text-align:left;
        gap:16px;
    }
    .top-process::before {
        top:18px;
        bottom:calc(1.75em + 22px);
        left:18px;
        right:auto;
        border-top:0;
        border-left:1px solid var(--accent);
    }
    .top-process li {
        display:grid;
        grid-template-columns:38px 1fr;
        gap:3px 14px;
    }
    .top-process span {
        width:37px;
        height:37px;
        grid-row:span 2;
        margin:0;
    }
    .top-process p {
        grid-column:2;
    }
    .top-footer .top-footer-grid {
        grid-template-columns:1fr 1fr;
        gap:20px;
    }
    .top-footer-brand,.top-footer-contact {
        grid-column:1/-1;
    }
    .top-footer-contact .button {
        width:100%;
    }
    .top-footer .top-footer-end {
        align-items:center;
    }
}

/* Compact home layout */
.bar .wrap {
    min-height:64px;
}

.bar .brand {
    font-size:clamp(18px,1.65vw,25px);
}

.bar nav {
    font-size:15px;
    gap:clamp(18px,2.5vw,38px);
}

.bar .button {
    min-width:0;
    padding-inline:1.25em;
}

.home .green-home {
    min-height:clamp(365px,31vw,480px);
}

.home .green-home::before {
    background-size:100% 100%,auto 100%;
}

.home .green-home .green-hero-copy {
    padding-block:26px;
}

.home .green-home h1 {
    font-size:clamp(37px,4vw,60px);
}

.home .green-home .top-lead {
    font-size:clamp(15px,1.18vw,18px);
    line-height:1.65;
    max-width:min(41%,515px);
}

.home .green-home .top-secondary {
    font-size:14px;
    max-width:41%;
}

.home .top-actions {
    margin-top:16px;
    gap:8px 20px;
    font-size:15px;
}

.home .green-home .top-actions .button,.home .top-consult .button {
    font-size:15px;
}

.home .green-duo {
    padding-block:24px 27px;
}

.home .green-duo .ll-icon {
    width:clamp(36px,4.3vw,64px);
    height:clamp(36px,4.3vw,64px);
}

.home .green-duo h2 {
    font-size:clamp(21px,2.15vw,32px);
}

.home .green-duo p {
    font-size:15px;
    line-height:1.7;
}

.home .top-section {
    padding-block:clamp(22px,2.7vw,38px);
}

.home .top-section>h2,.home .top-consult h2 {
    font-size:clamp(23px,2.25vw,33px);
    margin-bottom:16px;
}

.home .top-intents a {
    padding:14px 16px;
    gap:7px;
}

.home .top-intents p,.home .top-process p {
    font-size:15px;
    line-height:1.65;
}

.home .top-project img {
    min-height:190px;
}

.home .top-translation {
    padding:clamp(16px,2.3vw,32px);
}

.home .top-consult {
    padding-block:clamp(22px,2.8vw,40px);
}

.home .top-consult h2 {
    margin-bottom:0;
}

.home .top-footer .top-footer-grid {
    padding-block:4px 16px;
}

@media(max-width:700px) {
    .bar .wrap {
        min-height:60px;
    }
    .home .green-home {
        min-height:0;
    }
    .home .green-home::before {
        background-size:cover;
        aspect-ratio:2.3;
    }
    .home .green-home .green-hero-copy {
        padding-block:18px;
    }
    .home .green-home h1 {
        font-size:clamp(29px,8.2vw,40px);
    }
    .home .green-home .top-lead,.home .green-home .top-secondary,.home .green-home .top-actions {
        max-width:none;
    }
    .home .green-duo {
        padding-block:4px 12px;
    }
    .home .green-duo article {
        padding-block:14px;
    }
    .home .top-project img {
        min-height:0;
    }
}

/* Keep the original hero composition and align the page gutters. */
.wrap,.green-wide,.green-content,.green-hero-copy {
    width:min(1120px,calc(100% - 2 * clamp(20px,7vw,112px)));
}

.home .green-home::before {
    background-size:100% 100%,65.17% auto;
    background-position:center,right bottom;
    background-color:var(--paper);
}

@media(max-width:900px) {
    .bar .wrap>nav {
        display:none;
    }
    .mobile-nav {
        display:block;
    }
    .mobile-nav>summary {
        list-style:none;
        cursor:pointer;
        display:flex;
        align-items:center;
        gap:8px;
        min-height:44px;
        font:650 14px var(--sans);
        color:var(--accent);
    }
    .menu-bars {
        width:20px;
        height:13px;
        border-block:1.5px solid;
        position:relative;
    }
    .menu-bars::after {
        content:"";
        position:absolute;
        top:5px;
        inset-inline:0;
        border-top:1.5px solid;
    }
    .bar {
        position:relative;
    }
    .mobile-nav[open] nav {
        position:absolute;
        top:100%;
        inset-inline:0;
        z-index:3;
        display:grid;
        gap:8px;
        background:var(--paper);
        padding:16px max(20px,7vw);
        box-shadow:0 8px 12px #0002;
    }
    .mobile-nav nav a {
        padding-block:8px;
    }
    .home .green-home {
        display:flex;
        flex-direction:column;
        align-items:stretch;
        min-height:0;
    }
    .home .green-home::before {
        position:static;
        order:2;
        aspect-ratio:1001/479;
        background-image:var(--photo);
        background-size:contain;
        background-position:center;
    }
    .home .green-home .top-lead,.home .green-home .top-secondary,.home .green-home .top-actions {
        max-width:none;
    }
}

@media(max-width:700px) {
    .wrap,.green-wide,.green-content,.green-hero-copy {
        width:calc(100% - 36px);
    }
    .home .green-duo article {
        padding-inline:0;
        min-width:0;
        gap:12px;
    }
    .top-intents a {
        grid-template-columns:auto minmax(0,1fr) auto;
    }
    .top-footer .top-footer-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

/* Keep the navigation visible while scrolling. */
.bar {
    position:sticky;
    top:0;
    z-index:20;
}

body.admin-bar .bar {
    top:32px;
}

:where(main [id], main[id]) {
    scroll-margin-top:90px;
}

body.admin-bar :where(main [id], main[id]) {
    scroll-margin-top:122px;
}

@media(max-width:782px) {
    body.admin-bar .bar {
        top:46px;
    }
}

@media(max-width:600px) {

    /* WordPress's toolbar scrolls away at this width. */
    body.admin-bar .bar {
        top:0;
    }
}

/* Inner pages use the same gutters, type scale and palette as the home page. */
.ll-inner .ll-inner-hero {
    min-height:clamp(300px,27vw,420px);
    background:var(--paper);
}

.ll-inner .ll-inner-hero::before {
    background-image:linear-gradient(90deg,var(--paper) 31%,rgba(251,250,248,.93) 37%,rgba(251,250,248,0) 57%),var(--photo);
    background-size:100% 100%,59% auto;
    background-position:center,right center;
}

.ll-inner-hero h1 {
    max-width:43%;
    font-size:clamp(32px,3.35vw,52px);
    line-height:1.34;
}

.ll-inner-hero .green-kicker {
    font-size:15px;
    color:var(--accent);
}

.ll-inner-hero h1+p {
    max-width:41%;
    font-size:clamp(15px,1.25vw,18px);
    line-height:1.7;
}

.ll-inner-hero .button {
    font-size:15px;
    margin-top:1.1em;
}

.ll-inner .green-content {
    padding-block:clamp(24px,3vw,44px) clamp(34px,4vw,58px);
}

.ll-inner .green-content h2 {
    font-size:clamp(23px,2.25vw,33px);
}

.ll-inner .green-content h3 {
    font-size:clamp(18px,1.7vw,25px);
}

.ll-inner .green-content p,.ll-inner .green-content li,.ll-inner .green-table {
    font-size:15px;
    line-height:1.75;
}

.ll-inner .green-plans ul,.ll-inner .green-table th,.ll-inner .green-steps li>div,.ll-inner .green-faq details p,.ll-inner .green-filters button:not([aria-pressed="true"]) {
    background:var(--sky);
}

.ll-inner .green-plans article,.ll-inner .green-faq details {
    border-color:var(--line);
}

.ll-inner .green-services a {
    grid-template-columns:auto minmax(0,.85fr) minmax(0,1.35fr) auto;
}

.ll-inner .green-guide>div,.ll-inner .green-sample>div {
    min-width:0;
}

@media(max-width:900px) {
    .ll-inner .ll-inner-hero {
        min-height:0;
        display:flex;
        flex-direction:column;
        align-items:stretch;
    }
    .ll-inner .ll-inner-hero::before {
        position:static;
        order:2;
        aspect-ratio:2.3;
        background-image:var(--photo);
        background-size:cover;
        background-position:center 55%;
    }
    .ll-inner-hero .green-hero-copy {
        padding-block:22px;
    }
    .ll-inner-hero h1,.ll-inner-hero h1+p {
        max-width:none;
    }
    .ll-inner-hero h1 br {
        display:none;
    }
    .ll-inner .green-plans .button {
        padding-inline:.75em;
    }
}

@media(max-width:700px) {
    .ll-inner-hero h1 {
        font-size:clamp(28px,7.7vw,36px);
    }
    .ll-inner .green-services a {
        grid-template-columns:auto minmax(0,1fr) auto;
    }
    .ll-inner .green-story {
        grid-template-columns:minmax(0,1fr);
    }
    .ll-inner .green-quote {
        align-items:flex-start;
    }
    .ll-inner .green-table td,.ll-inner .green-table th {
        padding:.45em .58em;
    }
}

/* Information for visitors considering an enquiry. */
.ll-followup {
    margin-top:clamp(28px,4vw,56px);
    padding-top:clamp(24px,3vw,42px);
    border-top:1px solid var(--line);
}

.ll-followup>h2 {
    text-align:center;
}

.ll-followup>h2::after {
    content:"";
    display:block;
    width:44px;
    height:2px;
    background:var(--accent);
    margin:.55em auto .65em;
}

.ll-followup-intro {
    max-width:46em;
    margin-inline:auto;
    text-align:center;
}

.ll-followup-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:14px;
    margin-top:22px;
}

.ll-followup-grid article {
    background:var(--sky);
    padding:clamp(16px,2.3vw,28px);
    border-radius:5px;
}

.ll-inner .ll-followup-grid h3 {
    font-size:clamp(17px,1.45vw,21px);
    margin-bottom:8px;
}

.ll-followup-action {
    text-align:center;
    margin-top:22px;
}

@media(max-width:700px) {
    .ll-followup-grid {
        grid-template-columns:1fr;
        gap:10px;
    }
    .ll-followup-intro {
        text-align:left;
    }
}

/* Readable copy and balanced Japanese card titles. */
body {
    font:400 16px/1.75 var(--sans);
}

h1,h2,h3 {
    font-family:var(--serif);
}

.ll-green :is(p,li,dd,dt,td,th),
.ll-inner .green-content :is(p,li),
.ll-inner .green-table,
.home .green-duo p,
.home .top-intents p,
.home .top-process p,
.home .green-home .top-lead,
.home .green-home .top-secondary,
.ll-inner-hero h1+p {
    font-size:16px;
    line-height:1.75;
}

.home .green-home::before {
    background-image:linear-gradient(90deg,var(--paper) 0 41%,rgba(251,250,248,.94) 45%,transparent 56%),var(--photo);
}

.top-intents a {
    grid-template-columns:auto minmax(0,1fr) auto;
    column-gap:8px;
    padding-inline:clamp(10px,1vw,16px);
}

.top-intents h3 {
    font-family:var(--sans);
    font-size:clamp(16px,1.45vw,21px);
    text-wrap:balance;
    overflow-wrap:normal;
}

@media(max-width:900px) {
    .home .green-home::before {
        background-image:var(--photo);
    }
}

.bar .wrap>nav {
    gap:clamp(12px,1.65vw,27px);
}

.top-maintenance {
    text-align:center;
    margin-top:20px;
}

.ll-maintenance {
    background:var(--stone);
    padding:clamp(16px,2.3vw,28px);
    margin-top:20px;
    border-radius:5px;
}

.ll-maintenance a {
    display:inline-block;
    margin-top:8px;
}

@media(max-width:1040px) and (min-width:901px) {
    .bar .wrap>nav {
        gap:12px;
        font-size:14px;
    }
    .bar .wrap>nav .button {
        padding-inline:1em;
    }
}

.ll-plan-compare {
    margin:clamp(32px,5vw,64px) 0;
    text-align:center;
}

.ll-plan-compare h2 {
    margin-bottom:.5em;
}

.ll-compare-scroll {
    overflow-x:auto;
    margin-top:18px;
    border:1px solid var(--line);
    border-radius:5px;
}

.ll-compare-scroll table {
    width:100%;
    min-width:660px;
    border-collapse:collapse;
    table-layout:fixed;
    background:var(--paper);
}

.ll-compare-scroll :is(th,td) {
    padding:.7em .75em;
    border-bottom:1px dashed var(--line);
    border-inline-end:1px solid var(--line);
}

.ll-compare-scroll thead th {
    background:var(--accent);
    color:white;
}

.ll-compare-scroll tbody th {
    background:var(--sky);
    text-align:left;
}

.ll-compare-scroll tbody td:nth-child(3) {
    background:#f0f6f7;
}

.ll-compare-scroll tbody tr:first-child td {
    font-weight:700;
    color:var(--accent);
}

.ll-compare-scroll tr:last-child td,.ll-compare-scroll tbody tr:last-child th {
    border-bottom:0;
}

.ll-inner .green-content .ll-compare-hint {
    display:none;
}

.ll-back-top {
    position:fixed;
    right:max(14px,env(safe-area-inset-right));
    bottom:max(14px,env(safe-area-inset-bottom));
    z-index:19;
    display:none;
    place-content:center;
    justify-items:center;
    width:54px;
    height:54px;
    border:1px solid var(--sky);
    border-radius:50%;
    background:var(--accent);
    color:var(--paper);
    text-decoration:none;
    box-shadow:0 3px 12px #0002;
    font:700 10px/1.2 var(--sans);
    letter-spacing:.08em;
}

.ll-back-top.is-visible {
    display:grid;
}

.ll-back-top span:first-child {
    font-size:20px;
    color:var(--sky);
}

.ll-back-top:hover {
    background:#284749;
}

@media(max-width:800px) {
    .ll-inner .green-content .ll-compare-hint {
        display:block;
        margin-top:.5em;
    }
    .ll-compare-scroll tr>:first-child {
        position:sticky;
        left:0;
        width:132px;
        box-shadow:1px 0 var(--line);
    }
}

.ll-plan-compare {
    background:#f5f2ec;
    padding:clamp(22px,4vw,52px) clamp(12px,3vw,40px);
}

.ll-inner .green-content .ll-compare-category {
    font-size:clamp(24px,3vw,40px);
    font-weight:750;
    line-height:1.2;
    color:var(--accent);
    margin:0 0 8px;
}

.ll-plan-compare h2::after {
    content:"";
    display:block;
    width:52px;
    height:2px;
    background:var(--accent);
    margin:.7em auto;
}

.ll-compare-scroll {
    margin-top:24px;
    padding-top:40px;
    border:0;
    border-radius:0;
}

.ll-compare-scroll thead th {
    height:65px;
    background:#487074;
}

.ll-compare-scroll thead th:first-child {
    background:transparent;
    color:var(--ink);
}

.ll-compare-scroll thead th:nth-child(3) {
    background:var(--accent);
}

.ll-compare-scroll thead th:nth-child(4) {
    background:#2c4c4e;
}

.ll-compare-featured {
    position:relative;
}

.ll-compare-badge {
    position:absolute;
    right:6px;
    top:-36px;
    display:grid;
    place-items:center;
    width:66px;
    height:66px;
    border-radius:50%;
    background:#d8eaf0;
    color:#24484a;
    box-shadow:0 3px 8px #0002;
    font-size:13px;
}

.ll-compare-badge::after {
    content:"";
    position:absolute;
    bottom:5px;
    left:4px;
    border:7px solid transparent;
    border-left-color:#d8eaf0;
    transform:rotate(20deg);
}

.ll-compare-scroll tbody tr:first-child td {
    font-size:clamp(17px,1.8vw,24px);
}

@media(max-width:800px) {
    .ll-compare-scroll {
        margin-top:10px;
    }
    .ll-compare-scroll thead th:first-child {
        background:#f5f2ec;
        z-index:1;
    }
}

@media(max-width:900px) {
    .mobile-nav>summary {
        width:44px;
        height:44px;
        justify-content:center;
    }
    .mobile-nav>summary::-webkit-details-marker {
        display:none;
    }
    .mobile-nav .menu-bars {
        width:22px;
        height:15px;
        color:var(--accent);
    }
    .mobile-nav .menu-bars::after {
        top:5px;
    }
    .mobile-nav[open]>summary .menu-bars {
        border-color:transparent;
    }
    .mobile-nav[open]>summary .menu-bars::before,
 .mobile-nav[open]>summary .menu-bars::after {
        content:"";
        position:absolute;
        inset-inline:0;
        top:5px;
        border-top:1.5px solid;
        transform:rotate(45deg);
    }
    .mobile-nav[open]>summary .menu-bars::after {
        transform:rotate(-45deg);
    }
    .bar .mobile-nav[open]>nav {
        gap:0;
        padding-block:8px 18px;
        background:var(--paper);
        max-height:calc(100dvh - 110px);
        overflow:auto;
        border-bottom:1px solid var(--line);
    }
    .bar .mobile-nav nav>a:not(.button) {
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:12px;
        min-height:50px;
        padding:10px 12px;
        border-bottom:1px solid var(--line);
        font-size:16px;
    }
    .bar .mobile-nav nav>a:not(.button)::after {
        content:"";
        width:7px;
        height:7px;
        border-top:1.5px solid var(--accent);
        border-right:1.5px solid var(--accent);
        transform:rotate(45deg);
    }
    .bar .mobile-nav nav>a[aria-current="page"]:not(.button) {
        background:var(--sky);
        color:var(--accent);
        text-decoration:none;
    }
    .bar .mobile-nav nav>a.button {
        display:flex;
        justify-content:center;
        min-height:46px;
        margin-top:14px;
    }
}

/* A shared photo frame and type scale for the main inner pages. */
.ll-inner .ll-aligned-hero {
    --hero-photo-height:clamp(320px,31vw,410px);
    width:min(1120px,calc(100% - 2 * clamp(20px,7vw,112px)));
    margin-inline:auto;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1.22fr);
    align-items:center;
    gap:clamp(20px,4vw,54px);
    padding-block:clamp(20px,3vw,40px);
    min-height:0;
}

.ll-inner .ll-aligned-hero::before {
    display:none;
}

.ll-aligned-hero .ll-hero-photo {
    display:block;
    width:100%;
    height:var(--hero-photo-height);
    object-fit:cover;
    object-position:center;
    border-radius:4px;
}

.ll-aligned-hero .green-hero-copy {
    grid-column:1;
    grid-row:1;
    width:100%;
    padding:0;
}

.ll-aligned-hero h1 {
    max-width:none;
    font-size:clamp(32px,3.8vw,53px);
    line-height:1.24;
    font-weight:600;
    letter-spacing:.025em;
    text-wrap:balance;
}

.ll-aligned-hero h1+p {
    max-width:27em;
    line-height:1.8;
    margin-top:.9em;
}

.ll-aligned-hero .green-kicker {
    font:650 14px/1.5 var(--sans);
    letter-spacing:.09em;
    margin-bottom:12px;
}

@media(max-width:900px) {
    .ll-inner .ll-aligned-hero {
        --hero-photo-height:clamp(190px,44vw,300px);
        display:flex;
        flex-direction:column;
        align-items:stretch;
    }
    .ll-aligned-hero h1 {
        font-size:clamp(28px,6.6vw,40px);
    }
}

@media(max-width:700px) {
    .ll-inner .ll-aligned-hero {
        width:calc(100% - 36px);
    }
}

/* Keep the photography bright with a light backing behind the copy. */
.home .green-home::before {
    position:absolute;
    inset:0;
    order:0;
    aspect-ratio:auto;
    background-image:linear-gradient(90deg,rgba(251,250,248,.96) 0%,rgba(251,250,248,.94) 38%,transparent 66%),var(--photo);
    background-size:100% 100%,cover;
    background-position:center,center;
}

.ll-inner .ll-aligned-hero {
    position:relative;
    display:flex;
    align-items:center;
    padding:0;
    gap:0;
    min-height:clamp(320px,31vw,410px);
}

.ll-inner .ll-aligned-hero::before {
    display:block;
    position:absolute;
    inset:0;
    height:auto;
    width:auto;
    aspect-ratio:auto;
    background:linear-gradient(90deg,var(--paper) 2%,rgba(251,250,248,.98) 32%,rgba(251,250,248,.82) 45%,transparent 69%) center/cover no-repeat,var(--photo) right center/68% auto no-repeat;
}

.ll-aligned-hero .green-hero-copy {
    width:100%;
    padding:24px clamp(14px,2vw,30px);
}

.ll-aligned-hero h1,.ll-aligned-hero h1+p {
    max-width:52%;
}

@media(max-width:900px) {
    .ll-inner .ll-aligned-hero {
        display:flex;
        flex-direction:column;
        justify-content:center;
        min-height:0;
    }
    .ll-inner .ll-aligned-hero::before,.home .green-home::before {
        background-image:linear-gradient(180deg,var(--paper) 0%,rgba(251,250,248,.98) 30%,rgba(251,250,248,.82) 53%,transparent 80%),var(--photo);
        background-size:100% 100%,100% auto;
        background-position:center,bottom center;
    }
    .ll-aligned-hero .green-hero-copy,.home .green-home .green-hero-copy {
        padding-bottom:clamp(115px,34vw,245px);
    }
    .ll-aligned-hero h1,.ll-aligned-hero h1+p {
        max-width:100%;
    }
}

/* Site-wide footer */
.top-footer {
    background:#edf2ee;
    border-top:3px solid var(--accent);
    padding-block:clamp(28px,4vw,58px) 0;
}

.site-footer.top-footer .top-footer-grid {
    grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,.9fr) auto;
    gap:clamp(16px,3vw,44px);
    padding:0 0 30px;
}

.top-footer .top-footer-brand .brand {
    font-size:clamp(17px,1.55vw,23px);
    letter-spacing:.09em;
}

.top-footer .top-footer-brand p {
    margin-top:12px;
    color:var(--accent);
}

.top-footer nav strong {
    color:var(--accent);
    padding-bottom:8px;
    border-bottom:1px solid #c8d6d0;
}

.top-footer nav a {
    display:flex;
    align-items:baseline;
    gap:8px;
    line-height:1.55;
}

.top-footer nav a::before {
    content:"›";
    color:var(--accent);
    font-weight:700;
}

.top-footer-contact {
    padding:14px;
    background:var(--paper);
    border:1px solid #c8d6d0;
    border-radius:6px;
}

.top-footer-contact p {
    font-size:13px;
    font-weight:650;
    color:var(--accent);
    margin-bottom:8px;
}

.top-footer .top-footer-contact .button {
    width:100%;
    padding-inline:1em;
    white-space:nowrap;
}

.top-footer .top-footer-end {
    padding:14px 0;
    border-color:#c8d6d0;
    color:var(--accent);
}

@media(max-width:900px) {
    .site-footer.top-footer .top-footer-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
    .top-footer-brand,.top-footer-contact {
        grid-column:1/-1;
    }
}

/* The photo remains visible behind the hero on both screen sizes. */
.home .green-home::before {
    background-size:100% 100%,cover;
    background-position:center,65% center;
}

.site-footer.top-footer .top-footer-contact {
    background:var(--accent);
    border-color:var(--accent);
    padding:16px;
}

.site-footer.top-footer .top-footer-contact p {
    color:var(--paper);
}

.site-footer.top-footer .top-footer-contact .button {
    background:var(--paper);
    color:var(--accent);
    border-color:var(--paper);
}

@media(max-width:900px) {
    .home .green-home::before,.ll-inner .ll-aligned-hero::before {
        background-size:100% 100%,cover;
        background-position:center,70% center;
        background-image:linear-gradient(180deg,rgba(251,250,248,.99) 0%,rgba(251,250,248,.94) 47%,rgba(251,250,248,.75) 60%,transparent 88%),var(--photo);
    }
    .home .green-home .green-hero-copy,.ll-aligned-hero .green-hero-copy {
        padding-bottom:clamp(94px,25vw,190px);
    }
    .site-footer.top-footer .top-footer-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:20px;
    }
    .site-footer.top-footer nav {
        width:100%;
        min-width:0;
    }
    .site-footer.top-footer nav a {
        min-height:34px;
    }
    .site-footer.top-footer .top-footer-contact {
        width:100%;
    }
    .site-footer.top-footer .top-footer-contact .button {
        min-height:44px;
    }
}

/* Home refinements */
.home .green-home::before {
    background-position:center,center;
    background-image:linear-gradient(90deg,var(--paper) 0%,rgba(251,250,248,.97) 34%,rgba(251,250,248,.4) 49%,transparent 65%),var(--photo);
}

.home .green-duo article {
    display:grid;
    grid-template-columns:auto minmax(0,1fr);
    align-items:start;
}

.home .green-duo .ll-icon {
    width:52px;
    height:52px;
    padding:8px;
    border:1px solid #c5d6d2;
    border-radius:12px;
    background:#e9f0ec;
}

.home .green-duo article+article h2 {
    font-size:clamp(19px,1.8vw,25px);
}

.top-intents a,.home .top-intents a {
    grid-template-columns:minmax(0,1fr) auto;
    gap:10px 14px;
    padding:clamp(16px,2vw,27px);
    border:1px solid #d5dfd9;
    border-top:4px solid var(--accent);
    background:#f0f4ef;
    transition:box-shadow .2s,border-color .2s;
}

.top-intents a:nth-child(2) {
    background:#f5efe5;
}

.top-intents a:nth-child(3) {
    background:var(--sky);
}

.top-intents a:hover,.top-intents a:focus-visible {
    border-color:var(--accent);
    box-shadow:0 7px 18px #36595b22;
}

.top-intents .ll-icon {
    grid-column:1;
    width:42px;
    height:42px;
    padding:7px;
    background:var(--paper);
    border-radius:9px;
}

.top-intents h3 {
    grid-column:1;
}

.top-intents a>span {
    grid-row:2;
    grid-column:2;
    border-radius:50%;
    width:29px;
    height:29px;
    background:var(--accent);
    color:white;
    text-align:center;
    line-height:26px;
}

.top-intents p {
    margin:0;
    border-color:#c8d7d0;
}

.top-work {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:clamp(14px,2vw,24px);
}

.top-project,.top-translation {
    display:flex;
    flex-direction:column;
    border:1px solid #d0ded9;
    border-radius:8px;
    overflow:hidden;
}

.home .top-project img {
    width:100%;
    height:auto;
    aspect-ratio:2.35;
    min-height:0;
    object-fit:cover;
}

.top-project>div {
    position:static;
    max-width:none;
    margin-top:auto;
    padding:19px 24px;
    background:#edf3ee;
}

.top-translation {
    justify-content:center;
    background:#eaf3f4;
}

.top-translation-icon .ll-icon {
    width:47px;
    height:47px;
    margin-bottom:8px;
}

.top-translation dl {
    padding:10px 0;
    border-block:1px solid #c8dadd;
}

.top-translation>a {
    align-self:flex-start;
}

.top-process::before {
    display:none;
}

.top-process li {
    padding:16px 12px;
    background:#eff4ef;
    border:1px solid #d3dfd7;
    border-radius:7px;
}

.top-process li:nth-child(even) {
    background:#eaf3f4;
}

.top-step-visual {
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    margin-bottom:10px;
}

.top-step-visual .ll-icon {
    width:38px;
    height:38px;
}

.top-process .top-step-visual span {
    width:auto;
    height:auto;
    margin:0;
    padding:2px 7px;
    border:0;
    border-radius:4px;
    background:var(--accent);
    color:white;
    font-size:13px;
}

.site-footer.top-footer {
    background:#234342;
    color:#f8f8ef;
    border-top:4px solid #90b2a6;
}

.site-footer.top-footer .top-footer-grid {
    grid-template-columns:minmax(0,1.45fr) repeat(3,minmax(0,1fr));
}

.site-footer.top-footer .brand,.site-footer.top-footer nav a,.site-footer.top-footer nav strong,.site-footer.top-footer .top-footer-brand p,.site-footer.top-footer .top-footer-end {
    color:#f8f8ef;
}

.site-footer.top-footer nav strong,.site-footer.top-footer .top-footer-end {
    border-color:#71918a;
}

.site-footer.top-footer nav a::before {
    color:#c2ddd3;
}

.site-footer.top-footer .top-footer-brand .button {
    margin-top:14px;
    background:#f8f8ef;
    color:#234342;
    border-color:#f8f8ef;
}

@media(max-width:900px) {
    .home .green-home::before {
        background-image:linear-gradient(180deg,var(--paper) 0%,rgba(251,250,248,.97) 41%,rgba(251,250,248,.7) 58%,transparent 83%),var(--photo);
        background-position:center,72% center;
    }
    .site-footer.top-footer .top-footer-grid {
        grid-template-columns:repeat(3,minmax(0,1fr));
    }
}

@media(max-width:700px) {
    .top-work {
        grid-template-columns:minmax(0,1fr);
    }
    .top-process li {
        grid-template-columns:64px minmax(0,1fr);
    }
    .top-step-visual {
        grid-row:span 2;
        flex-direction:column;
        gap:5px;
        margin:0;
    }
    .top-process p {
        margin:0;
    }
    .site-footer.top-footer .top-footer-grid {
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

/* Home hero, sample actions and production flow. */
.home .green-home::before {
    background-color:#f9f7f1;
    background-size:100% 100%,auto 100%;
    background-position:center,right bottom;
    background-repeat:no-repeat;
    background-image:linear-gradient(90deg,#f9f7f1 10%,rgba(249,247,241,.93) 29%,rgba(249,247,241,.66) 40%,transparent 59%),var(--photo);
}

.top-work .button,.top-consult .button {
    min-height:48px;
}

.top-project .button,.top-translation .button {
    margin-top:8px;
}

.button.top-alt-button {
    background:#e1edf0;
    color:#234342;
    border-color:#9bbbc0;
}

.button.top-alt-button:hover {
    background:#cde1e5;
}

.home .top-process-section {
    background:#eaf0eb;
    padding-inline:clamp(16px,3vw,40px);
    margin-block:10px 32px;
    border:1px solid #d1ded6;
    border-radius:10px;
}

.top-process-section .top-process {
    gap:clamp(10px,2vw,24px);
    text-align:left;
}

.top-process-section .top-process li {
    background:var(--paper);
    border:0;
    border-top:3px solid var(--accent);
    padding:18px 15px;
}

.top-process-section .top-step-visual {
    justify-content:space-between;
}

.top-process-section .top-step-visual span {
    background:#dce9e2;
    color:var(--accent);
}

.top-process-section .top-maintenance {
    margin-top:24px;
}

.home .top-consult {
    background:linear-gradient(115deg,#e8f1ef,#eaf3f6);
    border-top:1px solid #d3e2df;
}

.top-consult .top-actions>.button {
    min-width:min(100%,185px);
}

@media(max-width:900px) {
    .home .green-home::before {
        background-image:linear-gradient(180deg,#f9f7f1 0%,rgba(249,247,241,.96) 41%,rgba(249,247,241,.62) 61%,transparent 82%),var(--photo);
        background-size:100% 100%,100% auto;
        background-position:center,center bottom;
    }
    .home .green-home .green-hero-copy {
        padding-bottom:clamp(120px,37vw,280px);
    }
    .mobile-nav:not([open]) .menu-bars::after {
        display:none;
    }
}

@media(max-width:700px) {
    .top-work .button {
        width:100%;
    }
    .top-process-section .top-process li {
        border-top:0;
        border-inline-start:3px solid var(--accent);
    }
    .top-process-section .top-step-visual {
        justify-content:center;
    }
    .top-consult .top-actions>.button {
        flex:1 1 140px;
        min-width:0;
    }
}

/* Let the wall and its natural shadows show through behind the copy. */
.home .green-home::before {
    background-image:linear-gradient(90deg,rgba(249,247,241,.88),rgba(249,247,241,.34) 30%,transparent 54%),var(--photo);
}

.top-project>div {
    flex:1;
    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

.top-project>div .button,.top-translation>.button {
    margin-top:auto;
}

.top-project h3,.top-translation dl {
    margin-bottom:16px;
}

.home .top-process-section {
    background:transparent;
    border:0;
    border-top:1px solid var(--line);
    border-radius:0;
    padding-inline:0;
}

.top-process-section .top-process {
    text-align:center;
}

.top-process-section .top-process::before {
    display:block;
    top:27px;
}

.top-process-section .top-process li {
    background:transparent;
    border:0;
    padding:0 8px;
}

.top-process-section .top-step-visual {
    position:relative;
    justify-content:center;
    width:56px;
    height:56px;
    margin:0 auto 20px;
    background:var(--paper);
    border:1px solid #a4bbb0;
    border-radius:50%;
}

.top-process-section .top-step-visual .ll-icon {
    width:29px;
    height:29px;
}

.top-process-section .top-step-visual span {
    position:absolute;
    right:-10px;
    top:-7px;
    background:var(--accent);
    color:white;
}

@media(max-width:900px) {
    .home .green-home::before {
        background-image:linear-gradient(180deg,#f9f7f1 0 35%,rgba(249,247,241,.92) 49%,rgba(249,247,241,.25) 73%,transparent 91%),var(--photo);
    }
}

@media(max-width:700px) {
    .top-process-section .top-process {
        text-align:left;
        gap:22px;
    }
    .top-process-section .top-process::before {
        top:26px;
        bottom:30px;
        left:28px;
    }
    .top-process-section .top-process li {
        padding:0;
    }
    .top-process-section .top-step-visual {
        margin:0;
    }
}

/* The complete hero is one photographic backdrop beneath live copy. */
.home .green-home::before {
    background-image:linear-gradient(90deg,rgba(251,250,248,.27) 0%,rgba(251,250,248,.16) 42%,transparent 58%),var(--photo);
    background-size:100% 100%,cover;
    background-position:center,right center;
}

@media(max-width:900px) {
    .home .green-home::before {
        background-image:linear-gradient(180deg,rgba(251,250,248,.34) 0%,rgba(251,250,248,.12) 45%,transparent 65%),var(--photo-mobile);
        background-size:100% 100%,cover;
        background-position:center,center bottom;
    }
    .home .green-home .green-hero-copy {
        padding-bottom:clamp(165px,40vw,290px);
    }
}

/* Bring the desk scene closer to the hero copy on desktop. */
@media(min-width:901px) {
    .home .green-home::before {
        background-size:100% 100%,max(118%,1740px) auto;
        background-position:center,92% 77%;
    }
    .home .green-home .top-actions {
        max-width:52%;
        gap:12px 14px;
    }
}

@media(max-width:700px) {
    .home .green-home .green-hero-copy {
        padding-top:24px;
        padding-bottom:clamp(112px,31vw,218px);
    }
    .home .green-home::before {
        background-image:linear-gradient(180deg,rgba(251,250,248,.8),rgba(251,250,248,.64) 56%,transparent 76%),var(--photo-mobile);
        background-position:center,center 82%;
    }
    .home .green-home .top-lead,.home .green-home .top-secondary {
        font-size:15px;
        line-height:1.7;
    }
    .home .green-home .top-actions {
        display:grid;
        grid-template-columns:minmax(0,1fr);
        justify-items:stretch;
        gap:8px;
    }
    .home .green-home .top-actions>.button {
        width:100%;
        min-height:44px;
    }
    .site-footer.top-footer {
        padding-top:24px;
    }
    .site-footer.top-footer .top-footer-grid {
        gap:14px 16px;
        padding-bottom:17px;
    }
    .site-footer.top-footer .top-footer-brand p {
        margin-top:5px;
    }
    .site-footer.top-footer .top-footer-brand .button {
        margin-top:10px;
        min-height:44px;
    }
    .site-footer.top-footer nav {
        gap:0;
    }
    .site-footer.top-footer nav a {
        display:flex;
        align-items:center;
        min-height:44px;
        font-size:13px;
    }
    .site-footer.top-footer nav:last-child {
        grid-column:1/-1;
        grid-template-columns:repeat(2,minmax(0,1fr));
        column-gap:16px;
        border-top:1px solid #71918a;
        padding-top:12px;
    }
    .site-footer.top-footer nav:last-child strong {
        grid-column:1/-1;
        border:0;
        padding-bottom:0;
    }
    .site-footer.top-footer .top-footer-end {
        padding-inline:48px;
    }
}

.ll-mobile-consult {
    display:none;
}

@media(max-width:700px) {
    .home .green-home .green-hero-copy {
        padding-bottom:clamp(130px,36vw,240px);
    }
    .home .green-home::before {
        background-image:linear-gradient(180deg,#fbfaf8 0%,rgba(251,250,248,.57) 26%,rgba(251,250,248,.18) 53%,transparent 69%),var(--photo-mobile);
        background-position:center,center calc(100% + clamp(22px,8vw,50px));
    }
    body:has(.ll-mobile-consult) {
        padding-bottom:calc(64px + env(safe-area-inset-bottom));
    }
    .ll-mobile-consult {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
        position:fixed;
        z-index:19;
        inset-inline:0;
        bottom:0;
        padding:8px max(12px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));
        background:#234342;
        border-top:1px solid #90b2a6;
    }
    .ll-mobile-consult a {
        display:flex;
        align-items:center;
        justify-content:center;
        gap:.5em;
        min-height:46px;
        padding:5px;
        border:1px solid #c1d7cf;
        border-radius:4px;
        background:#edf3ee;
        color:#234342;
        text-decoration:none;
        font:650 14px/1.4 var(--sans);
    }
    .ll-mobile-consult a:last-child {
        background:transparent;
        color:#fbfaf8;
    }
    .ll-mobile-consult a:focus-visible {
        outline-color:#fbfaf8;
        outline-offset:-3px;
    }
    .ll-mobile-consult+.ll-back-top {
        bottom:calc(74px + env(safe-area-inset-bottom));
    }
}

@media(max-width:700px) {
    .home .green-home::before {
        background-image:linear-gradient(180deg,rgba(251,250,248,.48),rgba(251,250,248,.35) 50%,transparent 72%),var(--photo-mobile);
        background-size:100% 100%,cover;
        background-position:center,center bottom;
    }
    .home .green-home .green-hero-copy {
        padding-top:22px;
        padding-bottom:clamp(175px,47vw,270px);
    }
    .home .green-home .top-lead,.home .green-home .top-secondary {
        max-width:32ch;
    }
    .home .green-home .top-actions {
        width:min(100%,320px);
    }
    body:has(.ll-mobile-consult) .site-footer.top-footer .top-footer-brand>.button {
        display:none;
    }
    .ll-mobile-consult a {
        gap:10px;
    }
    .ll-consult-arrow {
        position:relative;
        display:block;
        width:15px;
        height:1px;
        background:currentColor;
        flex:none;
    }
    .ll-consult-arrow::after {
        content:"";
        position:absolute;
        right:0;
        top:50%;
        width:6px;
        height:6px;
        border-top:1px solid currentColor;
        border-right:1px solid currentColor;
        transform:translateY(-50%) rotate(45deg);
    }
}

/* Reference photo, with its original baked-in copy excluded. */
.home .green-home::before {
    background-color:#f6f3ee;
    background-image:linear-gradient(90deg,#f6f3ee 0%,#f6f3ee 33%,rgba(246,243,238,.8) 43%,transparent 60%),var(--photo);
    background-size:100% 100%,auto 100%;
    background-position:center,right bottom;
}

@media(max-width:900px) {
    .home .green-home::before {
        background-image:linear-gradient(180deg,#f6f3ee 0%,#f6f3ee 46%,rgba(246,243,238,.84) 58%,transparent 80%),var(--photo-mobile);
        background-size:100% 100%,100% auto;
        background-position:center,center bottom;
    }
    .home .green-home .green-hero-copy {
        padding-bottom:clamp(165px,47vw,350px);
    }
}

.home .green-home::before {
    background-size:100% 100%,auto 100%;
}

@media(min-width:901px) {
    .home .green-home::before {
        background-size:100% 100%,61% auto;
        background-position:center,right center;
        background-image:linear-gradient(90deg,#f6f3ee 36%,rgba(246,243,238,.68) 43%,transparent 57%),var(--photo);
    }
}

@media(max-width:900px) {
    .home .green-home::before {
        background-size:100% 100%,100% auto;
    }
    .home .green-home .green-hero-copy {
        padding-bottom:clamp(130px,34vw,310px);
    }
}

@media(min-width:901px) {
    .home .green-home::before {
        background-color:#f7f4ef;
        background-size:100% 100%,max(80%,1050px) auto;
        background-position:center,right 60%;
        background-image:linear-gradient(90deg,#f7f4ef 0 20%,rgba(247,244,239,.93) 30%,rgba(247,244,239,.83) 42%,transparent 61%),var(--photo);
    }
}

@media(max-width:900px) {
    .home .green-home::before {
        background-position:center,center bottom;
    }
    .home .green-home .green-hero-copy {
        padding-bottom:clamp(160px,43vw,340px);
    }
}

/* Match the sample panels and give both actions the same baseline. */
.home .top-work {
    --work-pad:clamp(18px,2.4vw,32px);
}

.home .top-work .top-project {
    position:relative;
    isolation:isolate;
    min-height:clamp(275px,29vw,380px);
    justify-content:flex-end;
}

.home .top-project img {
    position:absolute;
    inset:0;
    z-index:-2;
    width:100%;
    height:100%;
    aspect-ratio:auto;
    object-fit:cover;
}

.home .top-project::after {
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    background:linear-gradient(180deg,transparent 25%,rgba(18,45,40,.92) 100%);
}

.home .top-project>div {
    flex:none;
    margin:0;
    padding:var(--work-pad);
    background:none;
    color:white;
}

.home .top-project>div .button {
    background:#fbfaf8;
    color:#234342;
    border-color:#fbfaf8;
}

.home .top-project>div .button:hover {
    background:#e3f0ea;
}

.home .top-translation {
    padding:var(--work-pad);
    justify-content:flex-start;
}

.top-translation-heading {
    display:flex;
    align-items:center;
    gap:14px;
}

.top-translation-heading .ll-icon {
    width:42px;
    height:42px;
}

.top-work .top-translation-heading h3 {
    margin:0;
}

.home .top-translation>.button {
    margin-top:auto;
}

.home .top-translation dl {
    margin-block:20px;
}

.top-flow-intro {
    text-align:center;
    margin:0 auto 26px;
    max-width:40em;
}

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

.top-flow li {
    display:grid;
    grid-template-columns:42px minmax(0,1fr);
    gap:10px;
    position:relative;
    border-top:1px solid #c5d6ce;
    padding-top:14px;
}

.top-flow li:not(:last-child)::after {
    content:"";
    position:absolute;
    top:-4px;
    right:-14px;
    width:7px;
    height:7px;
    border-top:1px solid var(--accent);
    border-right:1px solid var(--accent);
    transform:rotate(45deg);
}

.top-flow-number {
    display:block;
    color:var(--accent);
    font:700 12px/1.5 var(--sans);
    letter-spacing:.1em;
}

.top-flow h3 {
    font-size:clamp(16px,1.5vw,22px);
    margin:2px 0 6px;
}

.home .top-flow p {
    font-size:15px;
    line-height:1.65;
    margin:0;
}

@media(max-width:900px) {
    .top-flow {
        grid-template-columns:minmax(0,1fr);
        gap:0;
        max-width:580px;
        margin-inline:auto;
    }
    .top-flow li {
        grid-template-columns:48px minmax(0,1fr);
        gap:14px;
        border:0;
        padding:0 0 22px;
    }
    .top-flow li:last-child {
        padding-bottom:0;
    }
    .top-flow li:not(:last-child)::after {
        top:42px;
        bottom:0;
        left:20px;
        right:auto;
        width:1px;
        height:auto;
        border:0;
        background:#a6bfb2;
        transform:none;
    }
}

/* Next steps after the homepage production flow. */
.top-flow-links {
    display:grid;
    gap:12px;
    width:min(100%,620px);
    margin:28px auto 0;
}

.top-flow-buttons {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;
}

.top-guide-link {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:6px 8px;
    text-align:center;
    color:var(--green,#234342);
    font-weight:700;
    font-size:clamp(13px,3.6vw,16px);
    text-decoration:underline;
    text-underline-offset:5px;
}

.top-guide-link:hover {
    text-decoration-thickness:2px;
}

@media(max-width:700px) {
    .home .top-consult .top-consult-contact {
        display:none;
    }
    .home .top-consult p {
        text-wrap:balance;
    }
}

.top-flow-support {
    display:grid;
    grid-template-columns:auto minmax(0,1fr) auto;
    align-items:center;
    gap:12px;
    min-height:64px;
    padding:12px 16px;
    border:1px solid #c5d6ce;
    border-radius:5px;
    background:#eef3ef;
    color:#234342;
    text-decoration:none;
    line-height:1.45;
}

.top-flow-support:hover {
    background:#e2ede5;
    border-color:var(--accent);
}

.top-flow-support strong,.top-flow-support small {
    display:block;
}

.top-flow-support strong {
    font-size:15px;
}

.top-flow-support small {
    margin-top:3px;
    font-size:13px;
}

.top-flow-support .ll-icon {
    width:27px;
    height:27px;
}

.top-flow-chevron {
    width:8px;
    height:8px;
    border-top:1px solid currentColor;
    border-right:1px solid currentColor;
    transform:rotate(45deg);
}

/* Approved homepage sample and production-flow design. */
.home .top-work {
    gap:0;
    border-radius:10px;
    overflow:hidden;
}

.home .top-work .top-project,.home .top-work .top-translation {
    border:0;
    border-radius:0;
}

.home .top-project>div {
    text-align:center;
    align-items:center;
}

.home .top-translation {
    background:#e8ebdf;
}

.home .top-translation dl {
    gap:0 12px;
    align-items:center;
    border-color:#a7b7aa;
    padding:0;
}

.home .top-translation dt {
    background:#d2dfd2;
}

.home .top-translation dd {
    padding-block:10px;
}

.home .top-translation dd+dt,.home .top-translation dt+dd:not(:first-of-type) {
    border-top:1px solid #a7b7aa;
}

.home .top-work .button {
    width:min(100%,260px);
    align-self:center;
}

@media(min-width:901px) {
    .home .top-flow {
        background:#e8ebdf;
        border-radius:36px;
        padding:24px 24px 28px;
        gap:24px;
    }
    .home .top-flow li {
        display:block;
        text-align:center;
        border:0;
        padding:0;
    }
    .home .top-flow h3 {
        min-height:2.7em;
        display:grid;
        place-items:center;
    }
    .home .top-flow p {
        text-align:left;
    }
}

@media(max-width:700px) {
    .home .top-work {
        gap:12px;
        overflow:visible;
    }
    .home .top-work .top-project,.home .top-work .top-translation {
        border-radius:9px;
    }
    .home .top-work .top-project {
        min-height:220px;
    }
    .home .top-translation>.button {
        width:100%;
    }
}

@media(min-width:901px) {
    .home .green-home .top-actions {
        width:max-content;
        max-width:100%;
        gap:10px 12px;
    }
    .home .green-home .top-actions .button {
        padding-inline:clamp(12px,1.4vw,22px);
        white-space:nowrap;
    }
    .home .top-flow h3 {
        min-height:2.8em;
        display:block;
        align-content:center;
    }
    .home .top-flow h3 span {
        display:block;
    }
}

@media(min-width:701px) {
    .home .top-intents a {
        grid-template-rows:42px minmax(2.7em,auto) 1fr;
        align-items:start;
    }
    .home .top-intents a>span {
        align-self:center;
    }
}

/* Balance the sample panels and align the four production steps. */
.home .top-work {
    grid-template-columns:repeat(2,minmax(0,1fr));
}

.home .top-work .top-project {
    min-height:clamp(265px,26vw,330px);
}

.home .top-translation dl {
    margin-block:clamp(12px,1.6vw,20px);
}

.home .top-translation dd {
    padding-block:8px;
}

.home .top-translation-heading .ll-icon {
    flex:none;
}

@media(min-width:901px) {
    .home .top-work .top-project>div,.home .top-work .top-translation {
        padding-block:24px;
    }
    .home .top-flow {
        border-radius:22px;
        background:linear-gradient(115deg,#edf2e9,#e7ede2);
        padding:24px clamp(16px,2.2vw,30px);
    }
    .home .top-flow li {
        display:grid;
        grid-template-columns:minmax(0,1fr);
        grid-template-rows:auto auto;
        align-content:start;
        gap:10px;
    }
    .home .top-flow li>div:last-child {
        display:grid;
        grid-template-rows:auto 3em 1fr;
    }
    .home .top-flow h3 {
        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;
        min-height:0;
        margin:0;
        line-height:1.28;
        font-size:clamp(16px,1.45vw,21px);
    }
    .home .top-flow h3 wbr {
        display:none;
    }
    .home .top-flow p {
        padding-top:7px;
    }
    .home .top-flow li:not(:last-child)::after {
        top:10px;
        right:-22px;
    }
}

@media(max-width:700px) {
    .home .top-work {
        grid-template-columns:minmax(0,1fr);
    }
    .home .top-work .top-project {
        min-height:220px;
    }
    .home .top-flow h3 {
        text-wrap:balance;
    }
}

/* Numbered timeline on the homepage. */
.home .top-flow-number {
    position:relative;
    z-index:1;
    display:grid;
    place-items:center;
    width:36px;
    height:36px;
    border:1px solid var(--accent);
    border-radius:50%;
    background:var(--paper);
    letter-spacing:0;
}

.home .top-flow li:not(:last-child)::after {
    content:"";
    border:0;
    background:#75958e;
    transform:none;
}

@media(min-width:901px) {
    .home .top-flow-number {
        margin-inline:auto;
    }
    .home .top-flow li>div:last-child {
        grid-template-rows:3em auto;
    }
    .home .top-flow li:not(:last-child)::after {
        top:18px;
        left:50%;
        right:auto;
        width:calc(100% + 24px);
        height:1px;
    }
}

@media(max-width:900px) {
    .home .top-flow {
        background:#edf2e9;
        border-radius:16px;
        padding:20px 16px;
    }
    .home .top-flow li {
        grid-template-columns:36px minmax(0,1fr);
    }
    .home .top-flow li:not(:last-child)::after {
        top:18px;
        bottom:-18px;
        left:17px;
    }
}

/* 追従ヘッダー：スクロール時の配色 */
.bar {
    transition:background-color 180ms ease, border-color 180ms ease;
}

.bar.is-scrolled {
    background:#234342;
    border-color:#526f6d;
}

.bar.is-scrolled .brand,
.bar.is-scrolled .wrap>nav a:not(.button) {
    color:var(--paper);
    text-decoration-color:currentColor;
}

.bar.is-scrolled .wrap>nav .button {
    color:#234342;
    background:var(--paper);
    border-color:var(--paper);
}

.bar.is-scrolled .mobile-nav>summary .menu-bars,
.bar.is-scrolled .mobile-nav>summary .menu-bars::before,
.bar.is-scrolled .mobile-nav>summary .menu-bars::after {
    background-color:var(--paper);
}

.bar.is-scrolled .mobile-nav[open]>summary .menu-bars {
    background-color:transparent;
}

@media (prefers-reduced-motion:reduce) {
    .bar {
        transition:none;
    }
}

/* 下層ヒーロー：全面写真と中央揃えの白文字 */
.ll-inner .ll-photo-hero {
    width:100%;
    min-height:clamp(340px,33vw,490px);
    justify-content:center;
    isolation:isolate;
    background:#234342;
}

.ll-inner .ll-photo-hero::before {
    inset:0;
    background:radial-gradient(ellipse at center,rgba(15,26,24,.52) 5%,rgba(15,26,24,.25) 42%,transparent 76%),var(--photo) var(--hero-focus,center)/cover no-repeat;
    filter:brightness(1.10);
    z-index:-1;
}

.ll-inner .ll-photo-hero .green-hero-copy {
    width:min(100%,780px);
    margin-inline:auto;
    padding:36px 22px;
    text-align:center;
}

.ll-inner .ll-photo-hero h1,
.ll-inner .ll-photo-hero h1+p,
.ll-inner .ll-photo-hero .green-kicker {
    color:#fff;
    margin-inline:auto;
    text-shadow:0 1px 4px rgba(0,0,0,.45);
}

.ll-inner .ll-photo-hero h1 {
    max-width:100%;
    font-size:clamp(29px,3.5vw,48px);
}

.ll-inner .ll-photo-hero h1+p {
    max-width:38em;
    font-size:clamp(14px,1.2vw,16px);
}

.ll-inner .ll-photo-hero h1::after,
.ll-inner .ll-photo-hero .green-kicker::after {
    margin-inline:auto;
    background:rgba(255,255,255,.75);
}

/* スマホではページごとの被写体に合わせてトリミング位置を調整 */
@media (max-width:700px) {
    .ll-inner .ll-photo-hero-services {
        --hero-focus:24% center;
    }

    .ll-inner .ll-photo-hero-pricing,
    .ll-inner .ll-photo-hero-contact {
        --hero-focus:76% center;
    }

    .ll-inner .ll-photo-hero-about {
        --hero-focus:38% center;
    }

    .ll-inner .ll-photo-hero-maintenance {
        --hero-focus:58% center;
    }
}

/* サービス・制作の流れ・お問い合わせ */
.ll-service-feature,
.ll-content-contact .wpcf7 {
    background:var(--pale);
    border-radius:8px;
    padding:clamp(18px,4vw,44px);
    margin-bottom:24px;
}

.ll-content-contact .wpcf7 :is(input:not([type=submit]):not([type=checkbox]):not([type=radio]),select,textarea) {
    width:100%;
    min-height:44px;
    font-size:16px;
}

.ll-content-process .green-step-no {
    border-width:1px;
}

.ll-content-process .green-steps h3 {
    margin:0 0 .4em;
}

@media (min-width:901px) {
    .ll-content-process .green-steps {
        grid-template-columns:repeat(6,minmax(0,1fr));
        gap:16px;
    }

    .ll-content-process .green-steps li {
        grid-template-columns:minmax(0,1fr);
        grid-template-rows:45px 1fr;
        align-items:stretch;
        gap:12px;
    }

    .ll-content-process .green-step-no {
        margin-inline:auto;
    }

    .ll-content-process .green-steps li:not(:last-child)::before {
        inset:22px auto auto 50%;
        width:calc(100% + 16px);
        border:0;
        border-top:1px solid var(--accent);
    }

    .ll-content-process .green-steps li>div {
        display:block;
        padding:14px;
    }
}

@media (max-width:700px) {
    .ll-content-guides .green-guide {
        grid-template-columns:minmax(0,1fr);
    }

    .ll-content-guides .green-guide img {
        width:100%;
        aspect-ratio:16/9;
        object-fit:cover;
    }
}

/* 本文デザイン：サービス、プラン、制作の流れ、事例、相談フォーム */
.ll-service-feature {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    align-items:center;
    gap:clamp(20px,4vw,48px);
}

.ll-feature-photo,
.ll-plan-photo {
    display:block;
    width:100%;
    aspect-ratio:16/10;
    object-fit:cover;
    border-radius:5px;
}

.ll-plan-photo {
    margin-bottom:16px;
}

.ll-scope dt {
    margin-top:14px;
    color:var(--accent);
    font-weight:700;
}

.ll-scope dd {
    margin:0;
}

.ll-price-details {
    display:none;
}

.ll-content-process .green-steps {
    grid-template-columns:minmax(0,1fr);
    gap:12px;
}

.ll-content-process .green-steps li {
    grid-template-columns:45px minmax(0,1fr);
    grid-template-rows:auto;
    align-items:center;
}

.ll-content-process .green-steps li:not(:last-child)::before {
    inset:50% auto calc(-50% - 12px) 22px;
    width:0;
    border:0;
    border-left:1px solid var(--accent);
}

.ll-content-process .green-steps li>div {
    padding:clamp(14px,2vw,24px);
}

.ll-sample-notes {
    display:grid;
    gap:10px;
    margin-block:16px;
}

.ll-sample-notes section {
    padding:12px 14px;
    background:#e8eeeb;
    border-radius:4px;
}

.ll-sample-notes h3,
.ll-sample-notes p {
    margin:0;
}

.ll-content-samples .green-sample:has(img)>img {
    order:-1;
}

.ll-content-faq .green-filters {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.ll-content-faq .green-filters button {
    min-height:44px;
}

.ll-content-faq .green-faq details[hidden] {
    display:none;
}

.ll-contact-intro {
    text-align:center;
    margin-bottom:28px;
}

.ll-contact-layout {
    display:grid;
    grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);
    align-items:start;
    gap:clamp(24px,5vw,60px);
}

.ll-contact-prep {
    border-top:2px solid var(--accent);
    padding-top:20px;
}

.ll-contact-prep li+li {
    margin-top:8px;
}

.ll-contact-fields label {
    display:block;
    font-weight:600;
}

.ll-contact-fields p {
    margin-block:0 14px;
}

.ll-contact-fields input[type=submit] {
    min-height:48px;
    width:100%;
    background:var(--accent);
    color:#fff;
    border:0;
    border-radius:4px;
    cursor:pointer;
}

@media (max-width:700px) {
    .ll-service-feature,
    .ll-contact-layout {
        grid-template-columns:minmax(0,1fr);
    }

    .ll-content-pricing .green-table:has(+.ll-price-details) {
        display:none;
    }

    .ll-price-details {
        display:grid;
        gap:8px;
        margin-block:20px;
    }

    .ll-price-details details {
        padding:12px 16px;
        background:#e8eeeb;
        border-radius:4px;
    }

    .ll-price-details summary {
        cursor:pointer;
        font-weight:700;
    }
}

/* トップ本文：Web制作を主役にしたサービス紹介 */
@media (min-width:701px) {
    .home .green-duo {
        grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);
    }
}

.home .green-duo>article {
    border:1px solid #cfdbd7;
    border-radius:6px;
    padding:clamp(18px,3vw,36px);
    background:#f8f7f3;
}

.home .green-duo>article:first-child {
    background:#e8eeeb;
}

.ll-content-maintenance .ll-followup-grid>article {
    border-top:2px solid var(--accent);
}

/* 本文：制作案のカード、比較表、専門性 */
.ll-content-pricing .green-table thead th,
.ll-content-samples .green-table thead th {
    color:#fff;
    background:#345658;
}

.ll-content-plans .green-plans article {
    border-color:#cfdbd7;
    background:#fbfaf8;
}

.ll-content-faq .green-faq details {
    border:0;
    border-top:1px solid #bfd0cb;
    border-radius:0;
    background:transparent;
}

.ll-content-faq .green-faq details[open] p {
    border-radius:4px;
    background:#e8eeeb;
}

.ll-content-guides .green-guide {
    border:1px solid #cfdbd7;
    border-radius:6px;
    overflow:hidden;
    background:#fbfaf8;
}

.ll-content-maintenance .ll-followup-grid>article,
.ll-maintenance-prep,
.ll-contact-prep {
    background:#e8eeeb;
    padding:clamp(16px,3vw,30px);
    border-radius:6px;
}

.ll-maintenance-prep {
    margin-top:28px;
}

.ll-expertise {
    margin-top:clamp(32px,5vw,72px);
}

.ll-expertise-services {
    display:grid;
    grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);
    gap:20px;
    margin-bottom:clamp(28px,5vw,56px);
}

.ll-expertise-services article {
    border:1px solid #cfdbd7;
    border-radius:6px;
    overflow:hidden;
    background:#fbfaf8;
}

.ll-expertise-services article>h2 {
    margin:0;
    padding:16px 22px;
    background:#345658;
    color:#fff;
}

.ll-expertise-services article>div {
    padding:20px 22px;
}

@media (min-width:1000px) {
    .ll-expertise>.ll-followup-grid {
        grid-template-columns:repeat(4,minmax(0,1fr));
    }
}

@media (max-width:700px) {
    .ll-expertise-services {
        grid-template-columns:minmax(0,1fr);
    }
}

/* 参考デザイン：本文の比較表、ガイド、ストーリー */
.ll-compare-mobile {
    display:none;
}

.ll-content-samples .green-sample:has(>img) {
    grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);
    align-items:center;
    gap:clamp(16px,3vw,32px);
    background:transparent;
}

.ll-content-samples .green-sample:has(>img)>img {
    width:100%;
    border-radius:6px;
}

.ll-editorial-story {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    gap:24px;
}

.ll-editorial-story article {
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    column-gap:clamp(20px,4vw,48px);
    align-content:center;
}

.ll-editorial-story article>img {
    grid-row:span 3;
    width:100%;
    height:100%;
    min-height:220px;
    object-fit:cover;
    border-radius:5px;
}

.ll-editorial-story article:first-child>img {
    grid-column:2;
    grid-row:1 / span 3;
}

.ll-guide-list,
.ll-content-maintenance .ll-followup-grid {
    display:grid;
    gap:16px;
}

@media (min-width:901px) {
    .ll-guide-list {
        grid-template-columns:repeat(3,minmax(0,1fr));
    }

    .ll-guide-list .green-guide {
        display:block;
    }

    .ll-guide-list .green-guide img {
        width:100%;
        aspect-ratio:16/9;
        object-fit:cover;
    }

    .ll-content-process .green-steps {
        grid-template-columns:repeat(6,minmax(0,1fr));
        gap:0;
    }

    .ll-content-process .green-steps li {
        display:block;
        padding-inline:14px;
    }

    .ll-content-process .green-steps li:not(:last-child)::before {
        inset:58px 0 0 auto;
        border-color:#bfd0cb;
    }

    .ll-content-process .green-step-no {
        margin:0 0 10px;
    }

    .ll-content-process .green-steps li>div {
        padding:0;
        background:transparent;
    }

    .ll-content-process .green-steps h3 {
        min-height:3em;
    }
}

@media (max-width:700px) {
    .ll-plan-compare:has(.ll-compare-mobile) .ll-compare-scroll,
    .ll-plan-compare:has(.ll-compare-mobile) .ll-compare-hint {
        display:none;
    }

    .ll-compare-mobile {
        display:grid;
        gap:8px;
    }

    .ll-compare-mobile details {
        padding:10px 14px;
        background:#e8eeeb;
        border-radius:5px;
    }

    .ll-compare-mobile summary {
        padding-block:5px;
        font-weight:700;
        cursor:pointer;
    }

    .ll-compare-mobile dl {
        display:grid;
        grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);
        gap:6px 10px;
    }

    .ll-compare-mobile dd {
        margin:0;
    }

    .ll-editorial-story article,
    .ll-content-samples .green-sample:has(>img) {
        grid-template-columns:minmax(0,1fr);
    }

    .ll-editorial-story article:first-child>img,
    .ll-editorial-story article>img {
        grid-area:auto;
        min-height:0;
        aspect-ratio:16/9;
        margin-bottom:12px;
    }
}
