:root {
    --color-text: #1f2937;
    --color-muted: #526072;
    --color-border: #d6dee8;
    --color-bg: #ffffff;
    --color-bg-warm: #fff3e8;
    --color-bg-soft: #f3f5f7;
    --color-bg-cool: #edf5ff;
    --color-bg-accent: #15324b;
    --color-card: #ffffff;
    --color-link: #1d4f7a;
    --color-link-hover: #133754;
    --color-button: #17486f;
    --color-button-text: #ffffff;
    --color-button-alt: transparent;
    --shadow-soft: 0 12px 32px rgba(14, 31, 53, 0.08);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --width-content: 1120px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.accounting-lp {
    margin: 0;
    color: var(--color-text);
    background: var(--color-bg);
    font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
    line-height: 1.8;
}

a {
    color: var(--color-link);
}

a:hover,
a:focus {
    color: var(--color-link-hover);
}

.lp-main {
    display: block;
}

.lp-section {
    padding: 72px 20px;

}

.lp-sectionsec {
    padding: 0px;
}

.lp-sectiontop {
    padding: 0px;
}

.section-inner {
    width: min(100%, var(--width-content));
    margin: 0 auto;
}

.section-inner li {
    font-size: 1.2rem;
    line-height: 2.5rem;
    font-weight: 600;
}

.section-hero {
    background: var(--color-bg);
    padding-top: 88px;
    padding-bottom: 88px;
}

.section-issues {
    background: var(--color-bg-warm);
}

.section-cause,
.section-fit {
    background: var(--color-bg-soft);
}

.section-solution {
    background: var(--color-bg-cool);
}

.section-contact {
    background: var(--color-bg-accent);
    color: #f8fbff;
}

.section-contact a {
    color: #f8fbff;
}

h1,
h2,
h3 {
    line-height: 1.35;
    margin-top: 0;
    letter-spacing: 0.01em;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 24px;
}

h2 {
    font-size: clamp(1.65rem, 3vw, 2.4rem);
    margin-bottom: 20px;
}

h3 {
    font-size: 1.1rem;
    margin-bottom: 12px;
}

p,
ul,
ol,
table {
    margin-top: 0;
    margin-bottom: 20px;
}

p,
li {
    color: var(--color-muted);
}

.section-contact p,
.section-contact li {
    color: rgba(248, 251, 255, 0.9);
}

ul,
ol {
    padding-left: 1.2em;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.card-grid li {
    margin: 15px 0;
    font-size: 1.1rem;
}

.card-grid h3 {
    margin: 10px 0;
    font-size: 2rem;
}

.card-grid>article,
.image-placeholder,
.section-features article,
.section-pricing ul,
.section-flow ol,
.section-faq article {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
}

.card-grid>article,
.section-features article,
.section-faq article {
    padding: 24px;
}

.section-features {
    background: var(--color-bg);
}

.section-features .section-inner {
    display: grid;
    gap: 20px;
}

.section-features .section-inner>p:first-of-type {
    margin-bottom: 4px;
}

.image-placeholder {
    min-height: 220px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-style: dashed;
    background:
        linear-gradient(135deg, rgba(23, 72, 111, 0.05), rgba(23, 72, 111, 0.01));
}

.image-placeholder p {
    margin: 0;
    color: var(--color-link);
    font-weight: 700;
}

.image-placeholder small {
    display: block;
    margin-top: 10px;
    color: var(--color-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 28px 0 32px;
}

.cta-group a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid var(--color-button);
    background: var(--color-button);
    color: var(--color-button-text);
    text-decoration: none;
    font-weight: 700;
}

.cta-group a:nth-child(2),
.cta-group a:nth-child(3) {
    background: var(--color-button-alt);
    color: var(--color-button);
}

.section-contact .cta-group a {
    border-color: rgba(248, 251, 255, 0.7);
    background: #f8fbff;
    color: var(--color-bg-accent);
}

.section-contact .cta-group a:nth-child(2),
.section-contact .cta-group a:nth-child(3) {
    background: transparent;
    color: #f8fbff;
}

table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    background: var(--color-card);
}

caption {
    text-align: left;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text);
}

th,
td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    vertical-align: top;
}

thead th {
    background: #eaf1f8;
    color: var(--color-text);
}

tbody tr:nth-child(even) {
    background: #fbfcfd;
}

.section-flow ol,
.section-pricing ul {
    padding: 24px 24px 24px 42px;
}

.section-flow li,
.section-pricing li {
    margin-bottom: 10px;
}

.section-faq .section-inner {
    display: grid;
    gap: 16px;
}

.section-faq article h3 {
    margin-bottom: 10px;
}

@media (max-width: 820px) {
    .lp-section {
        padding: 56px 16px;
    }

    .section-hero {
        padding-top: 64px;
        padding-bottom: 64px;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .cta-group {
        flex-direction: column;
    }

    .cta-group a {
        width: 100%;
    }

    table,
    thead,
    tbody,
    th,
    td,
    tr {
        display: block;
    }

    thead {
        display: none;
    }

    tbody tr {
        margin-bottom: 18px;
        border-bottom: 1px solid var(--color-border);
    }

    tbody th,
    tbody td {
        border-bottom: none;
        padding: 10px 14px;
    }

    tbody td::before {
        content: "";
    }
}

.section-voice {
    background: #fffaf4;
    padding: 20px 15px;
}

.dialog-list {
    display: grid;
    gap: 20px;
}

.dialog-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 24px;
}

.dialog-role,
.dialog-answer-role {
    display: inline-block;
    margin-bottom: 10px;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 700;
}

.dialog-role {
    background: #fff0dd;
    color: #8a4b12;
}

.dialog-answer-role {
    background: #eaf1f8;
    color: var(--color-link);
}

.dialog-text {
    font-size: 1.5rem;
    color: var(--color-text);
    text-decoration: underline;
    text-decoration-color: rgb(255, 177, 104);
    text-decoration-thickness: 1px;
    text-decoration-style: wavy;
}

.dialog-answer {
    margin-bottom: 0;
}

p {
    font-size: 1.3rem;
}

span.linebol {
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: yellowgreen;
    background: linear-gradient(transparent 60%, yellow 30%);

}

.linebolred {
    color: #12324a;
    background: linear-gradient(transparent 55%, #ffe08a 55%);
    padding: 0 0.15em;
    font-weight: 700;
}

.hero-lead,
.dialog-text,
.strong-message {
    font-size: clamp(1.25rem, 2.2vw, 1.55rem);
}

h2.qa {
    font-size: 2rem;
}

div.image-placeholder img {
    width: 95%;
}

img.qicons {
    margin: 0 15px -15px 0;
}

img.topbghint {
    width: 300px;
    margin: 0rem 0 -17rem -4rem;
}

div.topbghint {
    margin: 0 0 0 17rem;
}

img.secbghint {
    width: 300px;
    margin: -3rem 0 -17rem 1rem;
}

div.topbghint02 {
    margin: 0 0 2rem 21rem;
}

img.topbghint03 {
    width: 300px;
    margin: -3rem 0 -20rem 0rem;
}

div.topbghint03 {
    margin: 0 0 2rem 19rem;
}

img.topbghint04 {
    width: 500px;
    margin: 0rem 34rem -33rem 0;
}

div.topbghint04 {
    margin: 0 0rem 0rem 35rem;
}

img.topbghint05 {
    width: 450px;
    margin: 0rem 0 -30rem 33rem;
}

div.topbghint05 {
    margin: 0 33rem 2rem 0rem;
}

img.topbghint06 {
    width: 400px;
    margin: 0rem 0 -25rem 0rem;
}

div.topbghint06 {
    margin: 0 0 0 24rem;
}

img.topbghint07 {
    width: 400px;
    margin: 0rem 0 -32rem 35rem;
}

div.topbghint07 {
    margin: 0 32rem 2rem 2rem;
}

header {
    padding: 0rem 0rem;
    background-image: url(./img/topbg.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

footer {
    padding: 6rem 5rem;
    background: url(./img/footerbg.png);
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

/*header*/
.site-header {
    position: fixed;
    /*sticky*/
    top: 0;
    width: 100%;
    z-index: 20;
    backdrop-filter: blur(10px);
    background: rgba(14, 110, 255, 0.72);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 12px;
}

.brand img {
    padding: 1px;
    background-color: #0022a9ca;
    place-items: center;
    border-radius: 6px;
    text-decoration: none;
}

.brand a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    margin: 0 0 8px 10px;

}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(234, 255, 0, 0.794), rgba(255, 251, 0, 0.852));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    font-weight: 700;
}

.brand-name {
    font-weight: 600;
    font-size: 1.6em;
    line-height: 1.6em;
    color: #ffffffe1;
    text-shadow: 0 0 10px #ffffff,
        0 0 20px #52abff,
        0 0 30px #177ac6,
        0 0 40px #005ccc
}

.nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-toggle {
    display: none;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    border-radius: 12px;
    padding: 10px 12px;
}

.nav-toggle-lines {
    display: inline-block;
    width: 20px;
    height: 2px;
    background: currentColor;
    position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: currentColor;
}

.nav-toggle-lines::before {
    top: -6px;
}

.nav-toggle-lines::after {
    top: 6px;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 16px;
    align-items: center;
}

.nav-menu a {
    color: var(--muted);
}

.nav-menu a:hover {
    color: var(--text);
    text-decoration: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    background: linear-gradient(135deg, rgba(255, 192, 20, 0.811), rgba(255, 226, 4, 0.793));
    box-shadow: var(--shadow);
    text-decoration: none !important;
    font-weight: 650;
}

.btn:hover {
    filter: brightness(1.06);
}

.btn-ghost {
    color: #1b3f00;
    background: rgba(170, 204, 21, 0.556);
    box-shadow: var(--shadow);

}

.btn-small {
    padding: 10px 12px;
    background: #f4d24a;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 14px;
    box-shadow: 0 8px 20px rgba(0, 60, 120, 0.12);
    font-weight: 700;
}
