@charset "UTF-8";

/* STAY GOLD / 参照サイトの余白・大きな文字・丸みのある構成を採用 */
:root {
    --blue: #0e63c4;
    --blue-dark: #084785;
    --navy: #102640;
    --ink: #192c40;
    --muted: #333333;
    --pale: #f0f6fb;
    --canvas: #f2f5f8;
    --line: #dce5ee;
    --white: #fff;
    --container: 1180px
}

* {
    box-sizing: border-box
}

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

body {
    margin: 0;
    background: var(--canvas);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans JP", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    font-size: 16px;
    line-height: 1.95;
    overflow-wrap: anywhere
}

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

button,
input,
textarea,
select {
    font: inherit
}

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

h1,
h2,
h3,
p {
    margin: 0
}

ul,
ol {
    padding: 0;
    margin: 0;
    list-style: none
}

a:focus-visible,
summary:focus-visible {
    outline: 3px solid #f5a623;
    outline-offset: 6px
}

a,
summary,
button {
    -webkit-tap-highlight-color: transparent
}

.container {
    max-width: var(--container);
    width: calc(100% - 128px);
    margin-inline: auto
}

.section {
    padding-block: 115px
}

.eyebrow {
    font-size: .875rem;
    letter-spacing: .085em;
    line-height: 1.5;
    color: var(--blue);
    font-weight: 600;
    margin-bottom: 28px
}

.section-heading h2 {
    font-size: clamp(2rem, 3.5vw, 3rem);
    line-height: 1.65;
    font-weight: 500;
    letter-spacing: -.035em
}

.section-top {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 100px;
    align-items: start;
    margin-bottom: 65px
}

.section-intro {
    padding-top: 51px;
    color: var(--muted);
    font-size: 1.0625rem;
    line-height: 2.05
}

.section-name {
    font-size: 2.65rem;
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: -.035em;
    border-bottom: 1px solid var(--line);
    padding-bottom: 28px;
    margin-bottom: 54px
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 15px 28px;
    line-height: 1.5;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: .9375rem;
    font-weight: 600;
    transition: background .2s, box-shadow .2s
}

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

.button-primary:hover {
    background: var(--blue-dark);
    box-shadow: 0 7px 22px #0e63c420
}

.text-link {
    display: inline-block;
    color: var(--blue);
    font-size: .9375rem;
    font-weight: 600;
    padding-block: 7px
}

.text-link:hover {
    color: var(--blue-dark)
}

.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 30;
    padding: 10px 20px;
    background: var(--blue);
    color: white
}

.skip-link:focus {
    top: 16px
}

/* Floating navigation */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 20;
    pointer-events: none
}

.header-inner {
    max-width: 1600px;
    margin: auto;
    padding: 30px 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px
}

.header-inner>* {
    pointer-events: auto
}

.brand {
    display: block;
    flex-shrink: 0;
    width: 205px
}

.desktop-nav {
    display: flex;
    gap: 26px;
    align-items: center;
    padding: 14px 25px;
    background: rgba(255, 255, 255, .94);
    border: 1px solid #ffffffa3;
    border-radius: 18px;
    box-shadow: 0 3px 15px #10264003;
    backdrop-filter: blur(14px);
    font-size: .9375rem
}

.desktop-nav a:hover {
    color: var(--blue)
}

.header-contact {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    background: var(--blue);
    color: white;
    border-radius: 999px;
    min-height: 54px;
    padding: 12px 24px;
    font-size: .9375rem;
    white-space: nowrap
}

.header-contact span {
    font-size: .75rem
}

.header-contact:hover {
    background: var(--blue-dark)
}

/* Large typographic opening */
.hero {
    position: relative;
    isolation: isolate;
    max-width: 1600px;
    margin: auto;
    min-height: 850px;
    overflow: hidden
}

.hero-copy {
    position: relative;
    z-index: 2;
    width: calc(100% - 128px);
    max-width: var(--container);
    margin: auto;
    padding: 208px 0 140px;
    pointer-events: none
}

.hero-copy>* {
    max-width: 730px
}

.hero-copy a {
    pointer-events: auto
}

.hero .eyebrow {
    font-size: .8125rem;
    font-weight: 600;
    letter-spacing: .14em;
    margin-bottom: 23px
}

.hero h1 {
    font-size: clamp(3.8rem, 6.65vw, 6rem);
    font-weight: 450;
    line-height: 1.09;
    letter-spacing: -.055em;
    overflow-wrap: normal
}

.hero h1 span {
    color: var(--blue)
}

.hero-lead {
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.85;
    margin-top: 32px
}

.hero-description {
    max-width: 555px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.95;
    margin-top: 24px
}

.hero-actions {
    display: flex;
    gap: 28px;
    align-items: center;
    margin-top: 28px
}

.hero-visual {
    position: absolute;
    z-index: 0;
    top: 115px;
    right: -40px;
    width: 54%;
    height: calc(100% - 150px);
    min-height: 610px;
    pointer-events: none
}

.hero-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: multiply
}

.image-label {
    position: absolute;
    right: 25px;
    bottom: 28px;
    font-size: .75rem;
    color: #436785;
    letter-spacing: .08em;
    padding: 3px 9px;
    background: #ffffff9e;
    border-radius: 99px
}

.hero-bottom {
    position: absolute;
    bottom: 31px;
    left: 64px;
    right: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    color: var(--muted);
    font-size: .75rem;
    letter-spacing: .025em;
    z-index: 3
}

.hero-bottom p {
    padding: 10px 26px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: .75rem
}

.hero-bottom>a {
    font-size: .875rem;
    color: var(--blue);
    border-bottom: 1px solid #adc6dd
}

.mobile-break {
    display: none
}

/* About: open space and a soft rounded transition */
.about {
    position: relative;
    border-radius: 58px 58px 0 0;
    background: linear-gradient(135deg, #ffffff 35%, #eaf3fc 100%);
    padding-block: 140px
}

.about-grid {
    display: block
}

.about .section-heading h2 {
    font-size: clamp(2.2rem, 4vw, 3.25rem)
}

.about-body {
    margin-top: 47px
}

.large-copy {
    font-size: 1.375rem;
    line-height: 1.95;
    font-weight: 500;
    margin-bottom: 29px
}

.about-body>p:not(.large-copy) {
    color: var(--muted);
    font-size: 1.0625rem;
    margin-top: 24px;
    line-height: 2.15
}

.about-body .button {
    margin-top: 36px
}

/* Service: four wide visual panels */
.services {
    background: white;
    border-radius: 24px;
    margin: 22px 18px 0;
    padding-block: 75px 94px
}

.services .container {
    width: calc(100% - 92px)
}

.services .section-top .eyebrow {
    display: none
}

.services .section-intro {
    padding-top: 3px
}

.services .section-heading h2 {
    font-size: clamp(1.8rem, 2.7vw, 2.4rem)
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px
}

.service-card {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 420px;
    border-radius: 24px;
    background: var(--blue);
    color: white
}

.service-card:nth-child(3) {
    background: var(--blue-dark)
}

.service-card:nth-child(even) {
    background: #e8f2fd;
    color: var(--ink)
}

.service-content {
    position: relative;
    padding: 48px 12px 48px 50px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start
}

.service-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px
}

.service-meta>span {
    font-size: .8125rem;
    line-height: 1.4;
    padding: 4px 12px;
    border: 1px solid #ffffff50;
    border-radius: 999px
}

.service-meta p {
    font-size: .8125rem;
    letter-spacing: .11em;
    opacity: .85
}

.service-card:nth-child(even) .service-meta>span {
    border-color: #a6c6e6
}

.service-card:nth-child(even) .service-meta {
    color: var(--blue)
}

.service-card h3 {
    font-size: clamp(1.7rem, 2.8vw, 2.65rem);
    line-height: 1.5;
    font-weight: 500;
    letter-spacing: -.02em;
    margin-bottom: 19px
}

.service-card h3 br {
    display: none
}

.service-content>p {
    font-size: 1rem;
    line-height: 1.95;
    max-width: 560px;
    opacity: .94
}

.tags {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-top: 23px;
    margin-bottom: 27px
}

.tags li {
    padding: 4px 10px;
    font-size: .8125rem;
    line-height: 1.7;
    background: #ffffff18;
    border: 1px solid #ffffff18;
    border-radius: 999px
}

.service-card:nth-child(even) .tags li {
    background: #ffffff9c;
    border-color: #d4e3f2;
    color: #3e5d7b
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    margin-top: auto;
    padding: 14px 22px;
    border-radius: 999px;
    background: white;
    color: var(--blue);
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.6;
    border: 1px solid #ffffff75
}

.service-link span {
    font-size: .75rem;
    color: var(--muted);
    font-weight: 400
}

.service-link:hover {
    background: #e4effb
}

.service-card:nth-child(even) .service-link {
    background: var(--blue);
    color: white;
    border-color: var(--blue)
}

.service-card:nth-child(even) .service-link span {
    color: #dfedff
}

.service-card:nth-child(even) .service-link:hover {
    background: var(--blue-dark)
}

.service-visual {
    position: relative;
    align-self: stretch;
    display: flex;
    align-items: center;
    min-width: 0
}

.service-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 390px
}

/* Strengths */
.strengths {
    margin: 100px 18px 0;
    border-radius: 32px;
    background: var(--navy);
    color: white;
    padding-block: 90px
}

.strengths .eyebrow {
    color: #90c4fd
}

.strengths .section-intro {
    color: #c5d7e9
}

.strength-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px;
    margin-top: 10px
}

.strength-grid article {
    border-top: 1px solid #445e79;
    padding-top: 29px
}

.strength-number {
    font-size: .875rem;
    color: #90c4fd;
    letter-spacing: .05em
}

.strength-grid h3 {
    font-size: 1.35rem;
    font-weight: 500;
    line-height: 1.85;
    margin: 20px 0
}

.strength-grid p {
    color: #c5d7e9;
    font-size: 1rem
}

/* Scope and image */
.solutions {
    padding-block: 125px
}

.solutions-grid {
    display: grid;
    grid-template-columns: .95fr 1.15fr;
    gap: 80px;
    align-items: center
}

.solutions-visual {
    position: relative;
    background: #eaf2fa;
    border-radius: 30px;
    overflow: hidden
}

.solutions-visual img {
    width: 100%;
    height: 600px;
    object-fit: cover
}

.solutions-visual .image-label {
    right: auto;
    left: 25px
}

.solutions .section-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem)
}

.solutions-intro {
    color: var(--muted);
    margin-top: 22px;
    line-height: 2
}

.solution-list {
    margin: 24px 0 26px
}

.solution-list li {
    padding: 16px 0;
    border-bottom: 1px solid #cfdeeb;
    font-size: 1rem
}

/* Process */
.flow {
    background: white;
    border-radius: 30px;
    margin: 0 18px;
    padding-block: 88px
}

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

.flow-list li {
    border-top: 1px solid var(--line);
    padding-top: 25px
}

.flow-list span {
    font-size: 2.2rem;
    line-height: 1.3;
    color: var(--blue);
    font-weight: 400
}

.flow-list h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 19px 0 12px
}

.flow-list p {
    color: var(--muted)
}

/* Company */
.company-grid {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 100px
}

.company-message {
    font-size: 1.25rem;
    line-height: 1.9;
    color: var(--muted);
    margin-top: 36px
}

.company-table {
    margin: 0;
    border-top: 1px solid #c7d8e8
}

.company-table>div {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 26px;
    padding: 25px 0;
    border-bottom: 1px solid #c7d8e8
}

.company-table dt {
    font-weight: 600
}

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

.company-table a {
    color: var(--blue);
    text-underline-offset: 4px
}

/* Embedded contact */
.contact {
    padding-block: 105px 100px;
    border-radius: 58px 58px 0 0;
    background: #e6f1fc
}

.contact-heading {
    padding-bottom: 70px
}

.contact-heading .eyebrow {
    margin-bottom: 16px
}

.contact-display {
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 450;
    letter-spacing: -.065em;
    line-height: 1.2;
    color: var(--blue)
}

.contact-inner {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: 90px;
    align-items: start
}

.contact h2 {
    font-size: clamp(1.9rem, 3vw, 2.65rem);
    line-height: 1.65;
    font-weight: 500;
    letter-spacing: -.025em
}

.contact-subtitle {
    font-size: .9375rem;
    color: var(--muted);
    margin-bottom: 26px
}

.contact-intro>p:last-of-type {
    margin-top: 24px;
    color: var(--muted)
}

.contact-phone {
    margin-top: 42px;
    padding-top: 28px;
    border-top: 1px solid #b6cfe8
}

.contact-phone span,
.contact-phone small {
    display: block;
    font-size: .875rem;
    color: var(--muted)
}

.contact-phone a {
    font-size: 1.9rem;
    display: block;
    font-weight: 500;
    line-height: 1.9;
    letter-spacing: -.035em;
    color: var(--blue)
}

.contact-form {
    min-width: 0;
    padding: 40px;
    background: white;
    border-radius: 24px;
    color: var(--ink)
}

.contact-form h3 {
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 14px
}

.form-guide {
    color: var(--muted);
    font-size: .875rem;
    margin-bottom: 24px
}

.form-field {
    margin-top: 22px
}

.form-field label {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 9px
}

.required-tag,
.optional-tag {
    display: inline-block;
    font-size: .75rem;
    padding: 2px 9px;
    line-height: 1.6;
    white-space: nowrap;
    border-radius: 99px;
    font-weight: 500;
    vertical-align: middle
}

.required-tag {
    background: var(--blue);
    color: white
}

.optional-tag {
    background: var(--pale);
    color: var(--muted)
}

.contact-form input:not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
    display: block;
    min-width: 0;
    width: 100%;
    min-height: 50px;
    border: 1px solid #c5d5e4;
    background: #f8fbfd;
    border-radius: 9px;
    padding: 13px 15px;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.6;
    transition: border-color .2s
}

.contact-form textarea {
    resize: vertical;
    min-height: 180px
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #617a90;
    opacity: 1
}

.contact-form input:focus-visible,
.contact-form select:focus-visible,
.contact-form textarea:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 2px;
    border-color: var(--blue)
}

.form-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 24px
}

.form-consent input {
    accent-color: var(--blue);
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    margin: 5px 0 0
}

.form-consent label {
    font-size: .875rem;
    line-height: 2;
    cursor: pointer
}

.form-consent a {
    color: var(--blue);
    text-decoration: underline;
    text-underline-offset: 3px
}

.form-status {
    font-size: .875rem;
    line-height: 1.8;
    color: var(--muted);
    margin-top: 22px;
    padding: 15px;
    background: var(--pale);
    border-radius: 9px
}

.form-submit {
    width: 100%;
    margin-top: 23px;
    cursor: pointer
}

.form-submit:disabled {
    background: #e0e8f0;
    color: #53657a;
    cursor: not-allowed
}

/* Footer */
.site-footer {
    padding: 65px 0 30px;
    background: white
}

.footer-top {
    display: flex;
    align-items: center;
    gap: 28px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 36px
}

.footer-top p {
    font-size: .875rem;
    color: var(--muted)
}

.back-top {
    font-size: .875rem;
    color: var(--blue);
    margin-left: auto
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding-top: 30px;
    font-size: .875rem;
    color: var(--muted)
}

.footer-links {
    min-width: 0
}

.footer-bottom nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap
}

.footer-bottom a:hover {
    text-decoration: underline
}

.footer-services {
    display: flex;
    gap: 10px 24px;
    flex-wrap: wrap;
    margin-top: 22px;
    font-size: .8125rem
}

.footer-services>span {
    font-weight: 600;
    color: var(--ink)
}

.footer-bottom small {
    font-size: .75rem;
    white-space: nowrap
}

/* Tablet */
@media(max-width:1200px) {
    .header-inner {
        padding: 25px 32px;
        gap: 20px
    }

    .brand {
        width: 180px
    }

    .desktop-nav {
        gap: 20px;
        padding: 13px 20px
    }

    .header-contact {
        padding-inline: 22px
    }

    .header-contact span {
        display: none
    }

    .container,
    .hero-copy {
        width: calc(100% - 96px)
    }

    .hero h1 {
        font-size: 5rem
    }

    .hero-bottom {
        left: 48px;
        right: 48px
    }

    .section-top {
        gap: 60px
    }

    .service-content {
        padding: 38px 10px 38px 36px
    }

    .service-card h3 {
        font-size: 2rem
    }

    .company-grid {
        gap: 65px
    }

    .contact-inner {
        gap: 55px
    }

    .strength-grid {
        gap: 32px
    }
}

@media(max-width:980px) {
    html {
        scroll-padding-top: 115px
    }

    .desktop-nav {
        display: none
    }

    .header-contact {
        display: none
    }

    .mobile-menu-toggle {
        display: inline-flex
    }

    .hero {
        min-height: 850px
    }

    .hero-copy {
        padding-top: 185px
    }

    .hero h1 {
        font-size: 4.6rem
    }

    .hero-visual {
        right: -100px;
        width: 60%;
        opacity: .66
    }

    .hero-description {
        max-width: 490px
    }

    .hero-bottom p {
        display: none
    }

    .section {
        padding-block: 88px
    }

    .section-top {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-bottom: 45px
    }

    .section-intro {
        padding: 0;
        max-width: 760px
    }

    .about {
        padding-block: 110px
    }

    .about-body {
        max-width: 740px
    }

    .service-card {
        grid-template-columns: 1.2fr .8fr
    }

    .service-card h3 {
        font-size: 1.8rem
    }

    .service-card h3 br {
        display: block
    }

    .service-content {
        padding: 34px 8px 34px 30px
    }

    .service-link {
        gap: 8px;
        padding: 12px 15px
    }

    .service-link span {
        display: none
    }

    .strengths {
        margin-top: 72px
    }

    .strength-grid {
        gap: 26px
    }

    .strength-grid h3 {
        font-size: 1.15rem
    }

    .solutions-grid {
        gap: 38px
    }

    .solutions-visual img {
        height: 540px
    }

    .flow-list {
        grid-template-columns: 1fr 1fr;
        gap: 36px
    }

    .company-grid {
        grid-template-columns: 1fr;
        gap: 42px
    }

    .contact {
        padding-block: 80px
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 40px
    }

    .contact-heading {
        padding-bottom: 50px
    }

    .contact-form {
        max-width: 800px;
        width: 100%;
        justify-self: center
    }

    .contact-phone {
        max-width: 440px;
        margin-top: 28px
    }

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

    .desktop-break {
        display: none
    }
}

/* Smartphone */
@media(max-width:640px) {
    html {
        scroll-padding-top: 25px
    }

    .site-header {
        position: absolute
    }

    .header-inner {
        padding: 20px;
        gap: 12px
    }

    .brand {
        width: 153px
    }

    .header-contact {
        font-size: .8125rem;
        min-height: 44px;
        padding: 10px 16px
    }

    .container,
    .hero-copy {
        width: calc(100% - 40px)
    }

    .hero {
        min-height: 760px
    }

    .hero-copy {
        padding: 154px 0 104px
    }

    .hero-copy>* {
        max-width: 100%
    }

    .hero .eyebrow {
        font-size: .75rem;
        letter-spacing: .07em;
        margin-bottom: 21px
    }

    .hero h1 {
        font-size: clamp(2.2rem, 10.5vw, 3.6rem);
        line-height: 1.14;
        letter-spacing: -.045em
    }

    .hero-lead {
        font-size: 1rem;
        line-height: 1.85;
        margin-top: 27px
    }

    .hero-description {
        font-size: .9375rem;
        margin-top: 23px;
        max-width: 340px
    }

    .hero-actions {
        gap: 18px;
        flex-wrap: wrap;
        margin-top: 27px
    }

    .hero-actions .button {
        padding: 14px 23px;
        min-height: 52px;
        font-size: .875rem
    }

    .hero-actions .text-link {
        font-size: .875rem
    }

    .hero-visual {
        top: 115px;
        right: -160px;
        width: 100%;
        min-height: 490px;
        opacity: .34;
        height: 520px
    }

    .hero-visual .image-label {
        display: none
    }

    .hero-bottom {
        left: 20px;
        right: 20px;
        bottom: 27px;
        font-size: .75rem;
        gap: 20px
    }

    .hero-bottom>a {
        font-size: .8125rem
    }

    .section {
        padding-block: 68px
    }

    .eyebrow {
        font-size: .8125rem;
        margin-bottom: 22px
    }

    .section-heading h2,
    .about .section-heading h2 {
        font-size: 1.8rem;
        line-height: 1.7;
        letter-spacing: -.025em
    }

    .about {
        border-radius: 32px 32px 0 0;
        padding-block: 76px
    }

    .about-body {
        margin-top: 30px
    }

    .large-copy {
        font-size: 1.125rem;
        margin-bottom: 22px
    }

    .about-body>p:not(.large-copy) {
        font-size: 1rem;
        line-height: 2;
        margin-top: 21px
    }

    .about-body .button {
        margin-top: 30px
    }

    .services {
        margin: 14px 10px 0;
        border-radius: 22px;
        padding-block: 38px 45px
    }

    .services .container {
        width: calc(100% - 32px)
    }

    .section-name {
        font-size: 2rem;
        padding-bottom: 21px;
        margin-bottom: 28px
    }

    .section-top {
        margin-bottom: 32px;
        gap: 20px
    }

    .services .section-heading h2 {
        font-size: 1.6rem;
        line-height: 1.75
    }

    .section-intro {
        font-size: 1rem;
        line-height: 1.95
    }

    .section-intro br {
        display: none
    }

    .service-grid {
        gap: 22px
    }

    .service-card {
        display: flex;
        flex-direction: column;
        border-radius: 20px;
        min-height: 0
    }

    .service-content {
        padding: 27px 24px 20px
    }

    .service-meta {
        margin-bottom: 17px
    }

    .service-card h3 {
        font-size: 1.7rem;
        margin-bottom: 16px
    }

    .service-card h3 br {
        display: none
    }

    .service-content>p {
        font-size: .9375rem
    }

    .tags {
        margin-top: 20px;
        margin-bottom: 24px
    }

    .tags li {
        font-size: .75rem;
        padding: 4px 8px
    }

    .service-link {
        max-width: 100%;
        font-size: .875rem;
        margin-top: 0;
        padding: 12px 18px;
        min-height: 48px
    }

    .service-visual {
        height: 185px;
        margin: 0 14px 18px;
        align-self: auto;
        overflow: hidden
    }

    .service-visual img {
        height: 100%;
        width: 100%;
        min-height: 0;
        object-fit: contain
    }

    .strengths {
        margin: 55px 10px 0;
        border-radius: 24px;
        padding-block: 52px
    }

    .strengths .container {
        width: calc(100% - 40px)
    }

    .strength-grid {
        grid-template-columns: 1fr;
        gap: 31px
    }

    .strength-grid article {
        padding-top: 22px
    }

    .strength-grid h3 {
        font-size: 1.25rem;
        line-height: 1.85;
        margin: 14px 0
    }

    .strength-grid h3 br {
        display: none
    }

    .solutions-grid {
        grid-template-columns: 1fr;
        gap: 38px
    }

    .solutions-visual {
        border-radius: 24px
    }

    .solutions-visual img {
        height: 300px
    }

    .solutions .section-heading h2 {
        font-size: 1.8rem
    }

    .solution-list li {
        font-size: .9375rem;
        padding-block: 15px
    }

    .flow {
        margin: 0 10px;
        border-radius: 24px;
        padding-block: 50px
    }

    .flow .container {
        width: calc(100% - 40px)
    }

    .flow-list {
        grid-template-columns: 1fr;
        gap: 27px;
        margin-top: 32px
    }

    .flow-list li {
        display: grid;
        grid-template-columns: 44px 1fr;
        gap: 0 15px;
        padding-top: 22px
    }

    .flow-list span {
        grid-row: 1/3;
        font-size: 1.8rem
    }

    .flow-list h3 {
        font-size: 1.0625rem;
        margin: 0 0 9px
    }

    .flow-list p {
        grid-column: 2;
        font-size: .9375rem
    }

    .company-grid {
        gap: 31px
    }

    .company-message {
        font-size: 1.125rem;
        margin-top: 22px
    }

    .company-table>div {
        grid-template-columns: 95px 1fr;
        gap: 14px;
        padding-block: 20px
    }

    .company-table dt,
    .company-table dd {
        font-size: .9375rem
    }

    .contact {
        border-radius: 32px 32px 0 0;
        padding-block: 62px
    }

    .contact-heading {
        padding-bottom: 38px
    }

    .contact-display {
        font-size: clamp(2.6rem, 13.4vw, 4rem);
        letter-spacing: -.06em
    }

    .contact h2 {
        font-size: 1.8rem
    }

    .contact-subtitle {
        font-size: .875rem;
        margin-bottom: 20px
    }

    .contact-intro>p:last-of-type {
        font-size: .9375rem
    }

    .contact-phone {
        margin-top: 27px;
        padding-top: 23px
    }

    .contact-phone a {
        font-size: 1.8rem
    }

    .contact-form {
        padding: 26px 20px;
        border-radius: 20px
    }

    .contact-form h3 {
        font-size: 1.25rem
    }

    .form-field {
        margin-top: 19px
    }

    .form-field label {
        font-size: .9375rem
    }

    .contact-form input:not([type="checkbox"]),
    .contact-form select,
    .contact-form textarea {
        padding: 12px;
        font-size: 1rem
    }

    .form-status {
        padding: 13px
    }

    .form-submit {
        min-height: 52px
    }

    .site-footer {
        padding-block: 44px 27px
    }

    .footer-top {
        flex-wrap: wrap;
        gap: 15px;
        padding-bottom: 29px
    }

    .footer-top p {
        width: 100%;
        font-size: .8125rem
    }

    .back-top {
        margin-left: 0
    }

    .footer-bottom {
        padding-top: 24px;
        gap: 23px
    }

    .footer-bottom nav {
        gap: 9px 20px;
        font-size: .875rem
    }

    .footer-services {
        gap: 9px 18px;
        margin-top: 22px
    }

    .footer-services>span {
        width: 100%
    }
}

@media(max-width:360px) {
    .brand {
        width: 132px
    }

    .header-inner {
        gap: 9px
    }

    .header-contact {
        padding-inline: 12px
    }

    .mobile-menu-toggle {
        right: 16px
    }

    .hero-actions {
        gap: 13px
    }

    .hero-actions .button {
        padding-inline: 20px
    }

    .hero-bottom {
        gap: 12px
    }
}

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

    * {
        transition: none !important
    }
}

@media print {

    .site-header,
    .hero-actions,
    .hero-bottom,
    .back-top,
    body {
        background: white
    }

    .hero {
        min-height: 0
    }

    .hero-copy {
        padding: 30px 0
    }

    .hero-visual {
        display: none
    }

    .container {
        width: 100%
    }

    .section {
        padding-block: 35px
    }

    .service-card,
    .strength-grid article,
    .flow-list li,
    .company-table>div {
        break-inside: avoid
    }

    .service-card,
    .strengths,
    .contact {
        background: white;
        color: var(--ink)
    }

    .strength-grid p,
    .strengths .section-intro {
        color: var(--muted)
    }

    .service-visual {
        display: none
    }

    .service-card {
        display: block
    }

    .service-content {
        padding: 25px
    }

    .tags li {
        border: 1px solid var(--line)
    }

    .contact-form {
        border: 1px solid var(--line)
    }
}

/* スマートフォンメニュー：画面全体を右から開く */
.mobile-menu-toggle {
    display: none;
    position: fixed;
    right: 28px;
    top: 25px;
    z-index: 25;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--blue);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    pointer-events: auto
}

.mobile-menu-toggle span {
    position: absolute;
    left: 9px;
    width: 30px;
    height: 2px;
    background: currentColor;
    border-radius: 1px
}

.mobile-menu-toggle span:nth-child(1) {
    top: 13px
}

.mobile-menu-toggle span:nth-child(2) {
    top: 23px
}

.mobile-menu-toggle span:nth-child(3) {
    top: 33px
}

.mobile-menu-toggle:focus-visible,
.mobile-menu-close:focus-visible {
    outline: 3px solid #f5a623;
    outline-offset: 3px
}

.mobile-drawer {
    position: fixed;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: white;
    color: var(--ink);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.22, .68, 0, 1);
    -webkit-overflow-scrolling: touch
}

.mobile-drawer::backdrop {
    background: transparent
}

.mobile-drawer.is-open {
    transform: translateX(0)
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 94px;
    padding: 25px 32px 20px;
    padding-right: 90px
}

.mobile-menu-close {
    position: fixed;
    right: 28px;
    top: 25px;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    background: white;
    color: var(--blue);
    cursor: pointer
}

.mobile-menu-close span {
    position: absolute;
    width: 30px;
    height: 2px;
    border-radius: 1px;
    background: currentColor
}

.mobile-menu-close span:first-child {
    transform: rotate(45deg)
}

.mobile-menu-close span:last-child {
    transform: rotate(-45deg)
}

.mobile-drawer-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    max-width: 580px;
    width: calc(100% - 64px);
    margin: 20px auto 30px
}

.mobile-drawer-contact a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 12px 10px;
    font-size: 1.0625rem;
    line-height: 1.5;
    font-weight: 600;
    border-radius: 5px;
    text-align: center
}

.drawer-phone {
    background: var(--pale);
    color: var(--blue)
}

.drawer-contact {
    background: var(--blue);
    color: white
}

.drawer-contact:hover {
    background: var(--blue-dark)
}

.mobile-drawer nav {
    background: #f8fafc;
    border-top: 1px solid var(--line)
}

.mobile-drawer li {
    border-bottom: 1px solid var(--line)
}

.mobile-drawer nav a {
    display: flex;
    gap: 19px;
    align-items: center;
    min-height: 77px;
    padding: 20px 32px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.8
}

.mobile-drawer nav a:hover {
    background: var(--pale);
    color: var(--blue)
}

.mobile-drawer nav a span {
    font-size: .8125rem;
    color: var(--blue);
    font-weight: 600;
    letter-spacing: .03em
}

body.menu-open {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    overflow: hidden
}

@media(max-width:980px) {
    .mobile-menu-toggle {
        display: inline-flex
    }
}

@media(max-width:640px) {

    .mobile-menu-toggle,
    .mobile-menu-close {
        right: 16px;
        top: 18px
    }

    .mobile-drawer-header {
        min-height: 85px;
        padding: 23px 20px 18px;
        padding-right: 80px
    }

    .mobile-drawer-header .brand {
        width: 175px
    }

    .mobile-drawer-contact {
        width: calc(100% - 40px);
        gap: 10px;
        margin-top: 14px;
        margin-bottom: 25px
    }

    .mobile-drawer-contact a {
        font-size: .9375rem;
        min-height: 52px;
        padding: 12px 8px
    }

    .mobile-drawer nav a {
        min-height: 73px;
        padding: 20px;
        font-size: 1rem
    }
}

@media(prefers-reduced-motion:reduce) {
    .mobile-drawer {
        transition: none
    }
}

@media print {

    .mobile-menu-toggle,
    .mobile-drawer {
        display: none
    }
}

.contact-form .contact-trap[hidden] {
  display: none !important;
}

.contact-form .form-status {
  white-space: pre-line;
}

.contact-form .form-status.is-error {
  color: #b42318;
}

.contact-form .form-submit:disabled {
  opacity: .65;
  cursor: wait;
}

#privacy-policy-dialog {
  box-sizing: border-box;
  width: min(760px, calc(100% - 32px));
  max-width: none;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 18px;
  background: #fff;
  color: #334155;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .2);
  overflow: hidden;
}

#privacy-policy-dialog:not([open]) {
  display: none;
}

#privacy-policy-dialog[open] {
  display: flex;
  flex-direction: column;
}

#privacy-policy-dialog::backdrop {
  background: rgba(15, 23, 42, .6);
}

#privacy-policy-dialog .privacy-popup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
  padding: 20px 24px;
  border-bottom: 1px solid #e2e8f0;
}

#privacy-policy-dialog h2 {
  margin: 0;
  color: #0e63c4;
  font-size: clamp(18px, 4vw, 24px);
  line-height: 1.5;
}

#privacy-policy-dialog .privacy-popup-x {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #eef5fc;
  color: #0e63c4;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

#privacy-policy-dialog .privacy-popup-body {
  min-height: 0;
  padding: 24px;
  overflow-y: auto;
  overscroll-behavior: contain;
  font-size: 15px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

#privacy-policy-dialog p {
  margin: 0;
}

#privacy-policy-dialog h3 {
  margin: 24px 0 8px;
  color: #0f172a;
  font-size: 17px;
  line-height: 1.6;
}

#privacy-policy-dialog ul {
  margin: 12px 0 0;
  padding-left: 1.5em;
  list-style: disc;
}

#privacy-policy-dialog .privacy-popup-footer {
  flex-shrink: 0;
  padding: 16px 24px;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

#privacy-policy-dialog .privacy-popup-close {
  padding: 12px 40px;
  border: 0;
  border-radius: 999px;
  background: #0e63c4;
  color: #fff;
  font: inherit;
  cursor: pointer;
}

#privacy-policy-dialog button:focus-visible,
#privacy-policy-dialog .privacy-popup-body:focus-visible {
  outline: 3px solid #0e63c4;
  outline-offset: -4px;
}

@media (max-width: 640px) {
  #privacy-policy-dialog .privacy-popup-header {
    padding: 14px 16px;
  }

  #privacy-policy-dialog .privacy-popup-body {
    padding: 20px 16px;
  }

  #privacy-policy-dialog .privacy-popup-footer {
    padding: 12px 16px;
  }
}