:root {
    --navy: #102a43;
    --navy-soft: #1f3b57;
    --blue: #1f7ae0;
    --blue-dark: #125bb0;
    --blue-pale: #eaf4ff;
    --orange: #f28b30;
    --orange-pale: #fff1df;
    --cream: #fbf6ec;
    --ink: #213547;
    --muted: #617488;
    --line: #e2e9f0;
    --surface: #fffaf0;
    --white: #ffffff;
    --shadow: 0 22px 60px rgba(16, 42, 67, 0.12);
    --radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

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

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    background: rgba(251, 246, 236, 0.92);
    border-bottom: 1px solid rgba(226, 233, 240, 0.85);
    backdrop-filter: blur(14px);
}

.header-inner {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--navy);
    white-space: nowrap;
}

.logo > span:last-child {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}

.logo strong {
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.logo small {
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.logo-mark {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--blue), #62a7ff);
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(31, 122, 224, 0.22);
    font-weight: 900;
    letter-spacing: -0.04em;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #40566b;
    font-size: 0.86rem;
    font-weight: 800;
}

.header-nav > a:not(.button):hover,
.text-link:hover {
    color: var(--blue);
}

.button {
    min-height: 54px;
    padding: 14px 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--white);
    background: var(--blue);
    border: 1px solid var(--blue);
    border-radius: 999px;
    box-shadow: 0 14px 30px rgba(31, 122, 224, 0.24);
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
    background: var(--blue-dark);
    box-shadow: 0 18px 34px rgba(31, 122, 224, 0.3);
    transform: translateY(-2px);
}

.button-small {
    min-height: 42px;
    padding: 9px 18px;
    font-size: 0.8rem;
}

.button-light {
    color: var(--blue);
    background: var(--white);
    border-color: var(--white);
}

.button-light:hover {
    color: var(--blue-dark);
    background: var(--white);
}

.button-white {
    color: var(--blue);
    background: var(--white);
    border-color: var(--white);
    box-shadow: 0 12px 30px rgba(0, 34, 86, 0.2);
}

.button-white:hover {
    color: var(--blue-dark);
    background: var(--white);
}

.button-outline {
    color: var(--white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: none;
}

.button-outline:hover {
    color: var(--blue);
    background: var(--white);
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 104px 0 112px;
    background:
        radial-gradient(circle at 82% 20%, rgba(242, 139, 48, 0.18), transparent 28%),
        radial-gradient(circle at 18% 12%, rgba(31, 122, 224, 0.14), transparent 25%),
        linear-gradient(145deg, #fffaf0 0%, #ffffff 56%, #edf6ff 100%);
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    right: 4%;
    width: 440px;
    height: 440px;
    opacity: 0.42;
    background-image: radial-gradient(#a9bdd2 1px, transparent 1px);
    background-size: 18px 18px;
    mask-image: linear-gradient(to bottom, #000, transparent);
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.16fr) minmax(340px, 0.84fr);
    align-items: center;
    gap: 58px;
}

.eyebrow {
    margin-bottom: 18px;
    color: var(--blue);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.18em;
}

.hero h1 {
    margin-bottom: 28px;
    color: var(--navy);
    font-size: clamp(2.7rem, 4.3vw, 3.75rem);
    line-height: 1.12;
    letter-spacing: -0.045em;
}

.hero h1 span {
    color: var(--blue);
    white-space: nowrap;
}

.hero-lead {
    max-width: 670px;
    margin-bottom: 34px;
    color: var(--navy-soft);
    font-size: 1.05rem;
    font-weight: 600;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 26px;
}

.text-link {
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 900;
}

.text-link span {
    margin-left: 8px;
    color: var(--orange);
}

.hero-points {
    margin: 42px 0 0;
    padding: 26px 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    border-top: 1px solid var(--line);
    color: #4e6579;
    font-size: 0.82rem;
    font-weight: 800;
    list-style: none;
}

.hero-points li::before {
    content: "";
    width: 7px;
    height: 7px;
    margin-right: 9px;
    display: inline-block;
    background: var(--orange);
    border-radius: 50%;
    vertical-align: 0.12em;
}

.hero-visual {
    position: relative;
    min-height: 520px;
}

.orbit {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(31, 122, 224, 0.18);
}

.orbit-one {
    inset: 24px 16px 32px 28px;
    transform: rotate(-10deg);
}

.orbit-two {
    inset: 62px 58px 72px 64px;
    border-color: rgba(242, 139, 48, 0.25);
    transform: rotate(16deg);
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: 52px 30px;
    background: linear-gradient(135deg, var(--blue), #79b8ff);
    border-radius: 44% 56% 55% 45% / 46% 35% 65% 54%;
    box-shadow: 0 32px 70px rgba(31, 122, 224, 0.26);
    transform: rotate(-6deg);
}

.visual-card {
    position: absolute;
    z-index: 1;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: var(--shadow);
    backdrop-filter: blur(10px);
}

.visual-card-main {
    top: 64px;
    right: 22px;
    left: 22px;
    padding: 24px;
    overflow: hidden;
    border-radius: 26px;
    text-align: center;
}

.visual-card-main p {
    margin-bottom: 8px;
    color: var(--orange);
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.16em;
}

.visual-card-main strong {
    color: var(--navy);
    font-size: 1.55rem;
    line-height: 1.5;
}

.profile-illustration {
    width: min(100%, 260px);
    max-width: 260px;
    height: auto;
    margin: 0 auto 18px;
    display: block;
    border-radius: 24px;
    box-shadow: 0 18px 42px rgba(16, 42, 67, 0.18);
}

.visual-flow {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
}

.visual-flow span {
    padding: 7px 11px;
    color: var(--blue-dark);
    background: var(--blue-pale);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 900;
}

.visual-card-sub {
    padding: 12px 18px 12px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 16px;
    color: var(--navy);
    font-size: 0.76rem;
    font-weight: 900;
}

.visual-card-top {
    top: 20px;
    left: -8px;
}

.visual-card-bottom {
    right: -4px;
    bottom: 28px;
}

.visual-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: var(--orange);
    border-radius: 12px;
    font-size: 0.65rem;
}

.section {
    padding: 108px 0;
    background: var(--white);
}

.section:nth-of-type(even) {
    background: var(--surface);
}

.section-heading {
    max-width: 720px;
    margin-bottom: 52px;
}

.section-heading-center {
    margin-inline: auto;
    text-align: center;
}

.section-heading h2,
.solution h2,
.faq h2,
.contact h2 {
    margin-bottom: 22px;
    color: var(--navy);
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.35;
    letter-spacing: -0.035em;
}

.section-heading p:last-child,
.solution-copy > p {
    margin-bottom: 0;
    color: var(--muted);
}

.problem-list {
    margin: 0 auto;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    list-style: none;
}

.problem-list li {
    min-height: 170px;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(16, 42, 67, 0.04);
    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1.65;
}

.check {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--orange);
    background: var(--orange-pale);
    border-radius: 50%;
    font-size: 0.82rem;
}

.solution-grid {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 78px;
    align-items: start;
}

.solution-copy {
    display: grid;
    gap: 26px;
    color: var(--muted);
}

.note-card {
    padding: 24px;
    display: grid;
    grid-template-columns: 42px 1fr;
    gap: 16px;
    align-items: start;
    color: var(--navy);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 12px 28px rgba(16, 42, 67, 0.06);
}

.note-card span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: var(--orange);
    background: var(--orange-pale);
    border-radius: 14px;
    font-size: 1.2rem;
}

.note-card p {
    margin: 0;
    font-weight: 800;
}

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

.service-card {
    position: relative;
    min-height: 275px;
    padding: 34px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
    border-color: #a8c8ee;
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}

.service-card-accent {
    background: linear-gradient(145deg, #fff7eb, #ffffff);
    border-color: #f8d8b5;
}

.card-number,
.topic-grid span,
.case-list span,
.flow-list span {
    display: block;
    color: var(--blue);
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.14em;
}

.card-number {
    margin-bottom: 34px;
}

.service-card h3,
.topic-grid h3,
.case-list h3,
.flow-list h3 {
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 1.12rem;
}

.service-card p,
.topic-grid p,
.case-list p,
.flow-list p {
    margin-bottom: 0;
    color: var(--muted);
    font-size: 0.88rem;
}

.service-card::after {
    content: "";
    position: absolute;
    right: -28px;
    bottom: -28px;
    width: 86px;
    height: 86px;
    background: var(--blue-pale);
    border-radius: 50%;
}

.cases {
    color: var(--white);
    background: var(--navy) !important;
}

.cases-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 70px;
    align-items: start;
}

.cases .section-heading h2 {
    color: var(--white);
}

.cases .section-heading p {
    color: #adc0d1;
}

.case-list {
    display: grid;
    gap: 14px;
}

.case-list article {
    padding: 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 18px;
}

.case-list span {
    margin-bottom: 10px;
    color: #8fc0ff;
}

.case-list h3 {
    color: var(--white);
}

.case-list p {
    color: #adc0d1;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.topic-grid article {
    min-height: 210px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.topic-grid span {
    margin-bottom: 26px;
    color: var(--orange);
}

.flow-list {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    overflow: hidden;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    list-style: none;
}

.flow-list li {
    position: relative;
    min-height: 190px;
    padding: 30px;
    background: var(--white);
}

.flow-list span {
    margin-bottom: 28px;
}

.faq-grid {
    display: grid;
    grid-template-columns: 0.72fr 1.28fr;
    gap: 72px;
}

.faq-list {
    display: grid;
    gap: 14px;
}

.faq-list details {
    padding: 24px 26px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 18px;
}

.faq-list summary {
    color: var(--navy);
    cursor: pointer;
    font-weight: 900;
}

.faq-list p {
    margin: 14px 0 0;
    color: var(--muted);
    font-size: 0.92rem;
}

.contact {
    padding: 100px 0;
    color: var(--white);
    background:
        radial-gradient(circle at 78% 10%, rgba(255, 255, 255, 0.15), transparent 30%),
        linear-gradient(135deg, var(--blue), #0d4d9a);
}

.contact .eyebrow {
    color: #bfdbff;
}

.contact h2 {
    margin-bottom: 0;
    color: var(--white);
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 0.88fr;
    align-items: end;
    gap: 90px;
}

.contact-content p {
    margin-bottom: 26px;
    color: #e5f0ff;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.contact-content small {
    margin-top: 16px;
    display: block;
    color: #c8ddf8;
    font-size: 0.72rem;
}

.site-footer {
    padding: 34px 0;
    background: #0b2135;
}

.footer-inner {
    display: flex;
    align-items: center;
    gap: 26px;
    color: #96acc0;
}

.logo-footer {
    color: var(--white);
}

.logo-footer small {
    color: #96acc0;
}

.footer-inner p,
.footer-inner small {
    margin: 0;
    font-size: 0.72rem;
}

.footer-inner p {
    max-width: 420px;
}

.footer-inner small {
    margin-left: auto;
}

@media (max-width: 980px) {
    .header-nav > a:not(.button) {
        display: none;
    }

    .hero-grid,
    .solution-grid,
    .cases-grid,
    .faq-grid,
    .contact-inner {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 50px;
    }

    .hero-visual {
        width: min(520px, 100%);
        min-height: 500px;
        margin-inline: auto;
    }

    .problem-list,
    .topic-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .solution-grid,
    .cases-grid,
    .faq-grid,
    .contact-inner {
        gap: 50px;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 32px, 1120px);
    }

    .header-inner {
        min-height: 66px;
        gap: 8px;
    }

    .logo {
        gap: 8px;
    }

    .logo strong {
        font-size: 0.82rem;
    }

    .logo small {
        font-size: 0.58rem;
    }

    .logo-mark {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        font-size: 0.78rem;
    }

    .header-nav {
        gap: 0;
    }

    .header-nav .button {
        min-height: 38px;
        padding: 7px 10px;
        font-size: 0.65rem;
    }

    .hero {
        padding: 70px 0 76px;
    }

    .hero h1 {
        margin-bottom: 22px;
        font-size: clamp(2.45rem, 12vw, 3.45rem);
    }

    .hero h1 span {
        white-space: normal;
    }

    .hero-lead {
        font-size: 0.94rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
    }

    .text-link {
        text-align: center;
    }

    .hero-points {
        align-items: flex-start;
        flex-direction: column;
    }

    .hero-visual {
        min-height: 430px;
    }

    .hero-visual::before {
        inset: 42px 18px;
    }

    .visual-card-main {
        top: 58px;
        right: 8px;
        left: 8px;
        padding: 20px;
    }

    .visual-card-main strong {
        font-size: 1.18rem;
    }

    .profile-illustration {
        width: min(100%, 210px);
        max-width: 210px;
        margin-bottom: 16px;
        border-radius: 20px;
    }

    .visual-card-top {
        top: 48px;
        left: 0;
    }

    .visual-card-bottom {
        right: 0;
        bottom: 30px;
    }

    .section {
        padding: 76px 0;
    }

    .section-heading {
        margin-bottom: 38px;
    }

    .section-heading h2,
    .solution h2,
    .faq h2,
    .contact h2 {
        font-size: 2rem;
    }

    .problem-list,
    .service-grid,
    .topic-grid,
    .flow-list {
        grid-template-columns: 1fr;
    }

    .problem-list li {
        min-height: auto;
        padding: 18px;
        flex-direction: row;
        align-items: center;
        gap: 14px;
    }

    .check {
        flex: 0 0 auto;
    }

    .service-card,
    .topic-grid article {
        min-height: auto;
        padding: 28px;
    }

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

    .flow-list li {
        min-height: auto;
        padding: 26px;
    }

    .flow-list span {
        margin-bottom: 18px;
    }

    .faq-list details {
        padding: 20px;
    }

    .contact {
        padding: 76px 0;
    }

    .contact-inner {
        gap: 32px;
    }

    .contact-actions .button {
        width: 100%;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .footer-inner small {
        margin-left: 0;
    }
}

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

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