:root {
    --bg: #f4f8fb;
    --bg-panel: #ffffff;
    --bg-soft: #edf6f9;
    --ink: #102234;
    --ink-muted: #516a7a;
    --line: #ccdae2;
    --line-strong: #a9bfcc;
    --navy: #0f263a;
    --navy-deep: #081826;
    --cyan: #18a6c8;
    --cyan-deep: #066f89;
    --mint: #3dbd9b;
    --accent: #d83f2f;
    --surface: rgba(255, 255, 255, 0.94);
    --surface-strong: #ffffff;
    --shadow-soft: 0 18px 42px rgba(8, 24, 38, 0.08);
    --shadow-panel: 0 14px 32px rgba(8, 24, 38, 0.07);
    --radius: 8px;
}

* {
    box-sizing: border-box;
}

[v-cloak] {
    display: none;
}

html,
body {
    margin: 0;
    padding: 0;
    min-height: 100%;
}

body {
    position: relative;
    font-family: "Zen Kaku Gothic New", system-ui, sans-serif;
    color: var(--ink);
    background:
        linear-gradient(90deg, rgba(15, 38, 58, 0.022) 1px, transparent 1px),
        linear-gradient(180deg, rgba(15, 38, 58, 0.022) 1px, transparent 1px),
        linear-gradient(180deg, #fbfdfe 0%, var(--bg) 46%, #ffffff 100%);
    background-size: 56px 56px, 56px 56px, auto;
    line-height: 1.75;
    text-size-adjust: 100%;
}

:where(.site-main, .site-footer) {
    line-break: strict;
    word-break: normal;
}

:where(.site-main p, .site-main li, .site-main dd, .site-main small, .site-main a, .site-main span) {
    overflow-wrap: break-word;
    text-wrap: pretty;
}

:where(.site-main h1, .site-main h2, .site-main h3, .panel-head p) {
    text-wrap: balance;
    word-break: auto-phrase;
}

.text-phrase {
    display: inline-block;
    max-width: 100%;
    word-break: keep-all;
    overflow-wrap: normal;
}

.text-nowrap {
    white-space: nowrap;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        linear-gradient(115deg, rgba(24, 166, 200, 0.07) 0 1px, transparent 1px 28%),
        linear-gradient(155deg, transparent 0 58%, rgba(216, 63, 47, 0.046) 58% 58.2%, transparent 58.2%);
    opacity: 0.52;
}

.page-transition {
    position: fixed;
    inset: 0;
    z-index: 90;
    opacity: 0;
    pointer-events: none;
    background: rgba(248, 252, 254, 0.94);
    transition: opacity 0.2s ease;
}

a {
    color: inherit;
    text-underline-offset: 0.18em;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    border-bottom: 1px solid rgba(169, 191, 204, 0.72);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
}

.site-header,
.site-main,
.site-footer {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-header-inner {
    width: min(1180px, calc(100% - 2rem));
    min-height: 76px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.brand {
    display: grid;
    gap: 0.15rem;
    text-decoration: none;
    min-width: max-content;
}

.brand-main {
    font-family: "Lexend", system-ui, sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.45rem);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.05;
    color: var(--navy);
    font-style: normal;
    transform: none;
}

.brand-main em {
    color: var(--accent);
    font-style: normal;
}

.brand small {
    color: var(--ink-muted);
    font-family: "Lexend", system-ui, sans-serif;
    font-size: 0.67rem;
    letter-spacing: 0.02em;
}

.site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.42rem;
}

.site-nav a {
    position: relative;
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 0.42rem 0.82rem;
    color: var(--ink);
    font-family: "Lexend", system-ui, sans-serif;
    font-size: 0.9rem;
    text-decoration: none;
    transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.site-nav a:hover,
.site-nav a.active {
    border-color: rgba(32, 166, 200, 0.42);
    background: rgba(32, 166, 200, 0.08);
    color: #075f79;
}

.site-nav a.active::before {
    content: "";
    position: absolute;
    left: 0.55rem;
    right: 0.55rem;
    bottom: 0.25rem;
    height: 2px;
    background: var(--accent);
}

.site-main {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: 2rem 0 4.8rem;
    animation: pageReveal 0.34s ease both;
}

.page-home .site-main {
    width: 100%;
    max-width: none;
    padding: 0;
}

.site-footer {
    padding: 1.3rem 1rem;
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.86);
    color: var(--ink-muted);
    text-align: center;
    font-family: "Lexend", system-ui, sans-serif;
    font-size: 0.84rem;
}

body.is-navigating .page-transition {
    opacity: 1;
}

body.is-navigating .site-header,
body.is-navigating .site-main,
body.is-navigating .site-footer {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

.content-shell {
    display: grid;
    gap: clamp(1.2rem, 2vw, 1.8rem);
}

.home-full-bleed {
    width: 100%;
    gap: 0;
}

.top-visual {
    position: relative;
    min-height: calc(100svh - 72px);
    overflow: hidden;
    isolation: isolate;
    background: #f6fbfd;
}

.top-visual::before,
.top-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.top-visual::before {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.93) 0%, rgba(255, 255, 255, 0.62) 36%, rgba(255, 255, 255, 0.08) 68%, rgba(255, 255, 255, 0.18) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(247, 252, 254, 0.58) 100%);
}

.top-visual::after {
    display: none;
}

.top-visual-media {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: #f6fbfd;
}

.top-visual-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 52% 50%;
    display: block;
    filter: saturate(0.98) contrast(1.02);
    animation: heroDrift 18s ease-in-out infinite alternate;
}

.top-visual-copy {
    position: absolute;
    z-index: 2;
    left: max(1rem, calc((100vw - 1180px) / 2));
    top: clamp(2.4rem, 8vw, 5.2rem);
    width: min(740px, calc(100% - 2rem));
    color: var(--navy);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.top-visual-copy h1,
.top-visual-copy h2 {
    width: min(720px, 100%);
    margin: 0.32rem 0 0;
    font-family: "Lexend", system-ui, sans-serif;
    font-size: clamp(2.3rem, 6vw, 5.4rem);
    line-height: 0.98;
    letter-spacing: 0;
    color: var(--navy);
}

.top-visual-copy h1::after,
.top-visual-copy h2::after {
    content: "";
    display: block;
    width: min(320px, 58%);
    height: 3px;
    margin-top: 1rem;
    background: linear-gradient(90deg, var(--accent), var(--cyan));
}

.top-visual-copy p {
    margin: 0;
    color: var(--cyan-deep);
    font-weight: 700;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: clamp(1.1rem, 2.5vw, 1.65rem);
}

.hero-actions .button {
    min-width: 126px;
}

.information-dock {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: clamp(0.75rem, 2.5vw, 1.45rem);
    transform: translateX(-50%);
    width: min(980px, calc(100% - 2rem));
    max-height: clamp(168px, 30vh, 270px);
    overflow: auto;
    border: 1px solid rgba(183, 201, 211, 0.72);
    border-left: 4px solid var(--cyan);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 18px 32px rgba(19, 36, 51, 0.08);
    backdrop-filter: blur(12px);
    padding: 1rem 1.05rem;
}

.information-dock .panel-head {
    margin-bottom: 0.45rem;
}

.home-content-stack {
    width: min(1180px, calc(100% - 2rem));
    margin: 0 auto;
    padding: clamp(2.2rem, 5vw, 4.2rem) 0 clamp(4.8rem, 7vw, 6.2rem);
    display: grid;
    gap: clamp(2rem, 4.5vw, 3.8rem);
}

.home-section-lead {
    max-width: 920px;
    margin: 0 0 1.35rem;
    color: var(--ink-muted);
    font-size: 1rem;
    line-height: 1.85;
}

.home-card-grid,
.home-split-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
    gap: clamp(1rem, 2vw, 1.35rem);
}

.home-info-card {
    position: relative;
    min-width: 0;
    border: 1px solid rgba(183, 201, 211, 0.78);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.9);
    padding: clamp(1.05rem, 2vw, 1.35rem);
}

.home-info-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 2px;
    background: rgba(32, 166, 200, 0.78);
}

.home-info-card img {
    display: block;
    width: 42px;
    height: 42px;
    margin-bottom: 0.85rem;
}

.home-info-card h3 {
    margin-bottom: 0.55rem;
    font-size: 1.06rem;
}

.home-info-card p {
    margin: 0;
    color: var(--ink-muted);
    line-height: 1.85;
}

.accent-energy::before {
    background: var(--mint);
}

.accent-entertainment::before {
    background: var(--accent);
}

.home-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0.85rem 0 0;
    padding: 0;
    list-style: none;
}

.home-tag-list li {
    border: 1px solid rgba(32, 166, 200, 0.35);
    border-radius: var(--radius);
    background: rgba(32, 166, 200, 0.07);
    padding: 0.28rem 0.55rem;
    color: #075f79;
    font-size: 0.9rem;
    font-weight: 700;
}

.panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(183, 201, 211, 0.74);
    border-radius: var(--radius);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(249, 253, 255, 0.97));
    box-shadow: var(--shadow-panel);
    padding: clamp(1.2rem, 2.6vw, 1.85rem);
}

.panel::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, rgba(32, 166, 200, 0.9), transparent 72%);
}

.page-lead {
    min-height: 172px;
    display: grid;
    align-items: end;
    background:
        linear-gradient(90deg, rgba(8, 24, 38, 0.96) 0%, rgba(15, 38, 58, 0.9) 56%, rgba(6, 111, 137, 0.86) 100%);
    color: #fff;
}

.page-lead::after {
    content: "";
    position: absolute;
    left: clamp(1.2rem, 3vw, 2.2rem);
    bottom: clamp(1rem, 2.4vw, 1.55rem);
    width: min(180px, 42%);
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--cyan));
}

.page-lead .panel-head {
    position: relative;
    z-index: 2;
}

.page-lead h1 {
    color: #fff;
}

.page-lead .panel-head p {
    max-width: 520px;
    color: rgba(230, 244, 250, 0.82);
}

.section-panel h2 {
    margin-bottom: 1rem;
    padding-bottom: 0.45rem;
    border-bottom: 1px solid rgba(216, 226, 232, 0.78);
}

.section-panel {
    padding: clamp(1.35rem, 2.8vw, 2.15rem);
}

.panel h1,
.panel h2,
.panel h3,
.privacy-document h1,
.privacy-document h2 {
    margin: 0 0 0.45rem;
    font-family: "Lexend", "Zen Kaku Gothic New", system-ui, sans-serif;
    color: var(--navy);
    line-height: 1.22;
    letter-spacing: 0;
}

.panel h1,
.privacy-document h1 {
    font-size: clamp(2rem, 4vw, 3.1rem);
}

.panel h2,
.privacy-document h2 {
    font-size: clamp(1.34rem, 2.2vw, 1.78rem);
}

.panel h3 {
    font-size: 1.04rem;
}

.panel-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.85rem 1.2rem;
    margin-bottom: 0.95rem;
}

.panel-head p {
    margin: 0;
    color: var(--ink-muted);
}

.section-kicker,
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.48rem;
    margin: 0 0 0.42rem;
    color: var(--cyan-deep);
    font-family: "Lexend", system-ui, sans-serif;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.section-kicker::before,
.eyebrow::before {
    content: "";
    width: 30px;
    height: 2px;
    background: currentColor;
}

.top-visual-copy .eyebrow::before {
    background: var(--accent);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 0.55rem 0.95rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.button.solid {
    color: #fff;
    background: linear-gradient(90deg, var(--cyan-deep), var(--cyan));
    box-shadow: 0 10px 18px rgba(8, 122, 153, 0.2);
}

.button.solid:hover,
.button.ghost:hover {
    transform: translateY(-1px);
}

.button.ghost {
    border-color: rgba(15, 38, 58, 0.22);
    background: rgba(255, 255, 255, 0.82);
    color: var(--cyan-deep);
}

.button:disabled {
    opacity: 0.62;
    cursor: wait;
}

.news-list,
.plain-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-list li {
    display: grid;
    grid-template-columns: minmax(96px, 128px) minmax(0, 1fr);
    gap: 0.45rem 0.75rem;
    padding: 0.66rem 0;
    border-top: 1px solid var(--line);
}

.news-list li:first-child,
.plain-list li:first-child {
    border-top: none;
    padding-top: 0;
}

.news-list time {
    color: var(--cyan-deep);
    font-family: "Lexend", system-ui, sans-serif;
    font-size: 0.9rem;
}

.news-list a {
    font-weight: 700;
}

.news-list small {
    grid-column: 2;
    display: block;
    color: var(--ink-muted);
    margin-top: 0.05rem;
}

.plain-list li {
    position: relative;
    padding: 0.48rem 0 0.48rem 1rem;
    border-top: 1px solid var(--line);
}

.plain-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.18rem;
    width: 0.34rem;
    height: 0.34rem;
    border-radius: 50%;
    background: var(--cyan);
}

.plain-list.ordered {
    list-style: decimal;
    margin-left: 1.2rem;
}

.plain-list.ordered li {
    border-top: none;
    padding: 0.25rem 0;
}

.plain-list.ordered li::before {
    display: none;
}

.works-category .plain-list li {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.works-category .plain-list li a,
.works-category .plain-list li span {
    min-width: 0;
}

.chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.chip-list li {
    border: 1px solid rgba(32, 166, 200, 0.38);
    border-radius: var(--radius);
    background: rgba(32, 166, 200, 0.08);
    padding: 0.34rem 0.72rem;
    color: #075f79;
    font-weight: 700;
}

.chip-list li a {
    text-decoration: none;
}

.grid-two {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 1rem;
}

.stack {
    display: grid;
    gap: 0.85rem;
}

.section-gap {
    margin-top: 1rem;
}

.meta-list {
    display: grid;
    grid-template-columns: minmax(116px, 160px) minmax(0, 1fr);
    gap: 0;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
}

.meta-list dt,
.meta-list dd {
    min-width: 0;
    padding: 0.58rem 0.7rem;
    border-top: 1px solid var(--line);
}

.meta-list dt:nth-of-type(1),
.meta-list dt:nth-of-type(1) + dd {
    border-top: none;
}

.meta-list dt {
    color: #244e61;
    background: var(--bg-soft);
    font-weight: 700;
}

.meta-list dd {
    margin: 0;
    background: #fff;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
    gap: 1rem;
}

.location-card {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.85rem;
    background: #fff;
}

.location-card h3 {
    margin-bottom: 0.35rem;
}

.location-card p {
    margin: 0;
}

.location-layout {
    display: grid;
    grid-template-columns: minmax(220px, 0.72fr) minmax(360px, 1.55fr);
    gap: 1.1rem;
    align-items: stretch;
}

.location-info {
    display: grid;
    gap: 0.36rem;
    align-content: start;
}

.location-map-shell {
    position: relative;
    width: 100%;
    min-height: 280px;
    max-height: 420px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: #fdfefe;
    overflow: hidden;
}

.location-map-frame,
.location-map-fallback {
    width: 100%;
    min-height: 280px;
    height: clamp(280px, 34vw, 420px);
    display: block;
}

.location-map-frame {
    border: 0;
}

.location-map-fallback {
    object-fit: fill;
}

.location-map-shell.has-google-map .location-map-fallback,
.location-map-shell.is-map-ready .location-map-fallback {
    display: none;
}

.client-simple-list {
    columns: 2 240px;
    margin: 0.25rem 0 0;
    padding: 0;
    list-style: none;
}

.client-simple-list li {
    break-inside: avoid;
    padding: 0.22rem 0 0.22rem 0.85rem;
    position: relative;
}

.client-simple-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.88rem;
    width: 0.28rem;
    height: 0.28rem;
    background: var(--mint);
}

.client-category-groups {
    display: grid;
    gap: 1.05rem;
    margin-top: 0.95rem;
}

.client-category {
    min-width: 0;
    border-top: 1px solid var(--line);
    padding-top: 1.05rem;
    display: grid;
    grid-template-columns: minmax(150px, 0.28fr) minmax(0, 1fr);
    gap: 0.8rem clamp(1rem, 3vw, 2.2rem);
}

.client-category:first-child {
    border-top: none;
    padding-top: 0;
}

.client-category h3 {
    margin: 0;
    padding-top: 0.18rem;
    font-size: clamp(0.98rem, 1.3vw, 1.08rem);
}

.client-detail-list {
    columns: 2 260px;
    column-gap: clamp(1.2rem, 3vw, 2.2rem);
    margin: 0;
    padding: 0;
    list-style: none;
}

.client-detail-list li {
    position: relative;
    min-width: 0;
    break-inside: avoid;
    border-bottom: 1px solid rgba(216, 226, 232, 0.78);
    padding: 0.42rem 0 0.42rem 0.95rem;
}

.client-detail-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.02rem;
    width: 0.34rem;
    height: 1px;
    background: var(--cyan-deep);
}

.client-detail-list a,
.client-detail-list span {
    font-weight: 700;
}

.client-detail-list small {
    display: block;
    margin-top: 0.18rem;
    color: var(--ink-muted);
    font-size: 0.86rem;
    line-height: 1.55;
}

.work-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 1rem;
}

.work-card {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.78);
    padding: 1rem;
}

.work-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.65rem;
}

.work-card-head h3 {
    margin: 0;
}

.work-card-link {
    flex: 0 0 auto;
    border: 1px solid rgba(32, 166, 200, 0.38);
    border-radius: var(--radius);
    padding: 0.24rem 0.52rem;
    color: var(--cyan-deep);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
}

.work-summary-list {
    display: grid;
    gap: 0.42rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.work-summary-list li {
    position: relative;
    padding-left: 1rem;
    color: var(--ink-muted);
    line-height: 1.65;
}

.work-summary-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.72em;
    width: 0.34rem;
    height: 0.34rem;
    border-radius: 50%;
    background: var(--cyan);
}

.static-file-groups {
    display: grid;
    gap: 1rem;
}

.static-file-group {
    border-top: 1px solid var(--line);
    padding-top: 0.95rem;
}

.static-file-group:first-child {
    border-top: 0;
    padding-top: 0;
}

.static-file-list a {
    overflow-wrap: anywhere;
}

.page-home .home-content-stack .section-panel {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: clamp(1.2rem, 2.5vw, 2rem) 0;
}

.page-home .home-content-stack .section-panel::before {
    display: none;
}

.page-home .home-content-stack .section-panel + .section-panel {
    border-top: 1px solid rgba(183, 201, 211, 0.7);
}

.page-home .home-content-stack .section-panel h2 {
    max-width: 940px;
    margin-bottom: 1.15rem;
    border-bottom: 0;
    padding-bottom: 0;
    font-size: clamp(1.42rem, 2.8vw, 2.12rem);
}

.page-home .home-content-stack .panel-head {
    margin-bottom: 1.2rem;
}

.page-home .home-content-stack .panel-head p {
    max-width: 880px;
    line-height: 1.85;
}

.panel.page-lead h1 {
    color: #fff;
}

.panel.page-lead .panel-head p {
    color: rgba(230, 244, 250, 0.84);
}

.page-home .home-info-card {
    border-color: rgba(169, 191, 204, 0.72);
    box-shadow: 0 10px 30px rgba(8, 24, 38, 0.045);
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.page-home .home-info-card:hover {
    border-color: rgba(24, 166, 200, 0.58);
    box-shadow: 0 16px 36px rgba(8, 24, 38, 0.075);
    transform: translateY(-2px);
}

.page-home .home-info-card img {
    opacity: 0.94;
}

.page-about .content-shell,
.page-works .content-shell,
.page-recruit .content-shell,
.page-contact .content-shell {
    gap: clamp(1.5rem, 3vw, 2.4rem);
}

.page-about .page-lead,
.page-works .page-lead,
.page-recruit .page-lead,
.page-contact .page-lead {
    min-height: clamp(150px, 18vw, 210px);
}

.page-about .panel:not(.page-lead),
.page-recruit .panel:not(.page-lead),
.page-contact .panel:not(.page-lead) {
    border-color: rgba(169, 191, 204, 0.68);
}

.page-about .section-panel {
    padding: clamp(1.55rem, 3vw, 2.35rem);
}

.page-about .grid-two {
    gap: clamp(1.2rem, 3vw, 2rem);
}

.page-about .stack {
    gap: 1.05rem;
}

.page-about .section-gap {
    margin-top: 1.35rem;
}

.page-about .rich {
    font-size: 1.02rem;
    line-height: 1.9;
}

.page-about .meta-list dt,
.page-about .meta-list dd {
    padding: 0.68rem 0.82rem;
}

.page-about .plain-list li {
    padding-top: 0.58rem;
    padding-bottom: 0.58rem;
}

.page-about .client-category {
    align-items: start;
}

.page-about .client-detail-list li {
    transition: background-color 0.18s ease;
}

.page-about .client-detail-list li:hover {
    background: rgba(237, 246, 249, 0.58);
}

.page-works .works-category {
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    padding: clamp(1.25rem, 3vw, 2.15rem) 0 0;
}

.page-works .works-category::before {
    display: none;
}

.page-works .works-category + .works-category {
    border-top: 1px solid rgba(183, 201, 211, 0.74);
}

.page-works .works-category h2 {
    max-width: 920px;
    margin-bottom: clamp(1rem, 2vw, 1.35rem);
    border-bottom: 0;
    padding-bottom: 0;
    font-size: clamp(1.38rem, 2.6vw, 2.05rem);
}

.page-works .work-card-grid {
    grid-template-columns: 1fr;
    gap: 0;
    border-top: 1px solid var(--line);
}

.page-works .work-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
    gap: 0.85rem clamp(1rem, 3vw, 2.2rem);
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    background: transparent;
    padding: clamp(1rem, 2vw, 1.35rem) 0;
    transition: background-color 0.18s ease, padding-left 0.18s ease;
}

.page-works .work-card:hover {
    background: rgba(255, 255, 255, 0.56);
    padding-left: 0.5rem;
}

.page-works .work-card-head {
    display: block;
    margin: 0;
}

.page-works .work-card-head h3 {
    font-size: 1.06rem;
}

.page-works .work-card-link {
    display: inline-flex;
    margin-top: 0.45rem;
    border: 0;
    border-radius: 0;
    padding: 0;
    color: var(--cyan-deep);
    font-size: 0.84rem;
}

.page-works .work-summary-list {
    gap: 0.5rem;
}

.page-works .work-summary-list li {
    line-height: 1.75;
}

.page-recruit .chip-list {
    gap: 0.65rem;
}

.page-recruit .chip-list li {
    background: rgba(237, 246, 249, 0.86);
    border-color: rgba(24, 166, 200, 0.5);
}

.page-recruit .meta-list dt,
.page-recruit .meta-list dd {
    padding: 0.84rem 1rem;
}

.page-recruit .cta-panel {
    border-color: rgba(15, 38, 58, 0.12);
    background:
        linear-gradient(135deg, rgba(8, 24, 38, 0.96), rgba(6, 111, 137, 0.92));
    color: #fff;
}

.page-recruit .cta-panel::before {
    background: linear-gradient(180deg, var(--accent), var(--cyan));
}

.page-recruit .cta-panel h2,
.page-recruit .cta-panel .section-kicker {
    color: #fff;
}

.page-recruit .cta-panel p {
    max-width: 860px;
    color: rgba(235, 247, 251, 0.86);
}

.page-recruit .cta-panel .button.solid {
    background: #fff;
    color: var(--cyan-deep);
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
}

.page-contact .contact-form-panel {
    overflow: visible;
}

.page-contact .contact-form-panel .dynamic-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.05rem clamp(1rem, 2vw, 1.35rem);
}

.page-contact .contact-form-panel .field:has(textarea),
.page-contact .contact-form-panel .button,
.page-contact .contact-form-panel [data-submit-status],
.page-contact .contact-form-panel [data-submit-result] {
    grid-column: 1 / -1;
}

.page-contact .field {
    gap: 0.42rem;
}

.page-contact .field label {
    color: var(--navy);
}

.page-contact .field input,
.page-contact .field textarea {
    min-height: 52px;
    background: rgba(255, 255, 255, 0.94);
}

.page-contact .field textarea {
    min-height: 180px;
}

.page-contact .button[type="submit"] {
    margin-top: 0.2rem;
    gap: 0.5rem;
}

.submit-button-progress {
    display: none;
    align-items: center;
    gap: 0.42rem;
}

.button.is-submitting .submit-button-progress {
    display: inline-flex;
}

.submit-button-spinner {
    width: 1rem;
    height: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.44);
    border-top-color: #fff;
    border-radius: 50%;
    animation: submit-spinner 0.72s linear infinite;
}

.submit-status {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin: -0.15rem 0 0;
    color: var(--cyan-deep);
    font-size: 0.94rem;
    font-weight: 700;
}

.submit-status[hidden] {
    display: none;
}

.submit-status::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 0 4px rgba(24, 166, 200, 0.15);
}

.contact-completion-dialog {
    width: min(100% - 2rem, 620px);
    max-height: min(100% - 2rem, 620px);
    margin: auto;
    padding: 0;
    border: 0;
    border-radius: calc(var(--radius) + 4px);
    background: transparent;
    box-shadow: 0 28px 72px rgba(8, 24, 38, 0.3);
    color: var(--ink);
}

.contact-completion-dialog::backdrop {
    background: rgba(8, 24, 38, 0.68);
    backdrop-filter: blur(4px);
}

.contact-completion-dialog__window {
    overflow: hidden;
    border: 1px solid rgba(169, 191, 204, 0.86);
    border-radius: inherit;
    background:
        linear-gradient(135deg, rgba(24, 166, 200, 0.09), transparent 46%),
        var(--surface-strong);
}

.contact-completion-dialog__header,
.contact-completion-dialog__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.15rem;
}

.contact-completion-dialog__header {
    border-bottom: 1px solid var(--line);
}

.contact-completion-dialog__eyebrow {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0;
    color: var(--cyan-deep);
    font-family: "Lexend", system-ui, sans-serif;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.contact-completion-dialog__eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--accent);
}

.contact-completion-dialog__close {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    cursor: pointer;
    font-family: system-ui, sans-serif;
    font-size: 1.55rem;
    line-height: 1;
    transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.contact-completion-dialog__close:hover {
    background: var(--navy);
    color: #fff;
    transform: rotate(90deg);
}

.contact-completion-dialog__close:focus-visible,
.contact-completion-dialog .button:focus-visible {
    outline: 3px solid rgba(24, 166, 200, 0.35);
    outline-offset: 3px;
}

.contact-completion-dialog__body {
    padding: clamp(1.6rem, 5vw, 2.8rem) clamp(1.15rem, 5vw, 2.6rem);
}

.contact-completion-dialog__body h2 {
    margin: 0;
    color: var(--navy);
    font-size: clamp(1.45rem, 4vw, 2rem);
    font-weight: 700;
    line-height: 1.45;
}

.contact-completion-dialog__body p {
    margin: 1.2rem 0 0;
    color: var(--ink);
    font-size: clamp(1rem, 2.3vw, 1.16rem);
    font-weight: 700;
    line-height: 1.85;
}

.contact-completion-dialog__footer {
    justify-content: flex-end;
    border-top: 1px solid var(--line);
    background: rgba(237, 246, 249, 0.65);
}

.contact-completion-dialog__footer .button {
    min-width: 9rem;
}

@keyframes submit-spinner {
    to {
        transform: rotate(360deg);
    }
}

.page-privacy .content-shell {
    justify-items: center;
}

.page-privacy .privacy-document {
    width: min(980px, 100%);
    padding: clamp(1.35rem, 3.2vw, 2.8rem);
    box-shadow: 0 16px 40px rgba(8, 24, 38, 0.065);
}

.page-privacy .privacy-header {
    margin-bottom: 1.35rem;
}

.page-privacy .privacy-document h1 {
    font-size: clamp(1.85rem, 3.5vw, 3.05rem);
    line-height: 1.18;
}

.page-privacy .privacy-paragraph {
    line-height: 1.9;
}

.page-privacy .privacy-section {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
}

.page-privacy .privacy-section h2 {
    color: var(--cyan-deep);
    font-size: clamp(1.02rem, 1.5vw, 1.16rem);
}

.rich p {
    margin-top: 0;
    margin-bottom: 0.85rem;
}

.privacy-document {
    width: min(1080px, 100%);
    margin: 0 auto;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-soft);
    padding: clamp(1.1rem, 3vw, 2.2rem);
}

.privacy-header {
    padding-bottom: 0.9rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--line);
}

.privacy-paragraph {
    margin: 0 0 0.85rem;
}

.privacy-paragraph:last-child {
    margin-bottom: 0;
}

.privacy-paragraph.preserve {
    white-space: pre-wrap;
}

.privacy-section {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid var(--line);
}

.privacy-section h2 {
    font-size: 1.08rem;
}

.privacy-footer {
    margin-top: 1.4rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
    text-align: right;
}

.privacy-footer p {
    margin: 0.18rem 0;
}

.dynamic-form {
    display: grid;
    gap: 0.85rem;
}

.field {
    display: grid;
    gap: 0.36rem;
}

.field label {
    color: #244e61;
    font-weight: 700;
}

.field input,
.field textarea {
    width: 100%;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    background: #fff;
    padding: 0.64rem 0.72rem;
    font: inherit;
}

.field input:focus,
.field textarea:focus {
    border-color: var(--cyan);
    outline: none;
    box-shadow: 0 0 0 3px rgba(32, 166, 200, 0.16);
}

.required {
    display: inline-flex;
    align-items: center;
    min-height: 1.35em;
    margin-left: 0.42rem;
    border-radius: 4px;
    background: var(--accent);
    color: #fff;
    padding: 0.06rem 0.36rem;
    font-size: 0.75rem;
    line-height: 1;
}

.field-error {
    color: #b42323;
    font-size: 0.85rem;
}

.submit-ok,
.submit-ng {
    margin: 0;
    border-radius: var(--radius);
    padding: 0.62rem 0.76rem;
    font-size: 0.92rem;
}

.submit-ok {
    border: 1px solid rgba(37, 155, 118, 0.28);
    background: rgba(61, 189, 155, 0.12);
    color: #0f604d;
}

.submit-ng {
    border: 1px solid rgba(216, 63, 47, 0.28);
    background: rgba(216, 63, 47, 0.1);
    color: #8c1d1d;
}

.muted {
    color: var(--ink-muted);
}

.error-box {
    border: 1px solid rgba(216, 63, 47, 0.34);
    border-radius: var(--radius);
    background: rgba(255, 239, 238, 0.95);
    color: #8c1d1d;
    padding: 0.85rem 1rem;
}

.error-box[v-cloak] {
    display: none !important;
}

.contact-context {
    display: grid;
    gap: 0.6rem;
    border-color: rgba(32, 166, 200, 0.38);
    background: linear-gradient(180deg, #fbfdfe 0%, #f0f8fb 100%);
}

.contact-context[hidden],
.contact-form-panel[hidden] {
    display: none !important;
}

.cta-panel {
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96), rgba(240, 248, 251, 0.96)),
        linear-gradient(135deg, transparent 0 68%, rgba(216, 63, 47, 0.16) 68% 68.3%, transparent 68.3%);
}

.fade-up {
    opacity: 1;
    transform: translateY(0);
    animation: fadeUp 0.42s ease both;
    animation-delay: var(--delay, 0s);
}

.w-100 {
    width: 100% !important;
    max-width: auto !important;
}

@keyframes heroDrift {
    from {
        transform: scale(1.02) translateX(-0.3%);
    }
    to {
        transform: scale(1.055) translateX(0.6%);
    }
}

@keyframes pageReveal {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 980px) {
    .site-header-inner {
        width: min(100% - 1.4rem, 1180px);
        min-height: 68px;
    }

    .top-visual {
        min-height: calc(100svh - 68px);
    }

    .top-visual-copy {
        left: 1rem;
        top: 2.2rem;
        width: min(760px, calc(100% - 2rem));
    }

    .information-dock {
        width: calc(100% - 1.4rem);
    }

    .home-content-stack {
        width: calc(100% - 1.4rem);
    }

    .grid-two,
    .location-layout {
        grid-template-columns: 1fr;
    }

    .client-simple-list {
        columns: 1;
    }

    .client-category {
        grid-template-columns: 1fr;
    }

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

    .page-contact .contact-form-panel .dynamic-form {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    body {
        background-size: 36px 36px, 36px 36px, auto;
    }

    .site-header-inner {
        min-height: 0;
        padding: 0.75rem 0;
        display: grid;
        justify-items: start;
    }

    .brand small {
        display: none;
    }

    .site-nav {
        width: 100%;
        justify-content: start;
        overflow-x: auto;
        padding-bottom: 0.05rem;
        scrollbar-width: thin;
    }

    .site-nav a {
        flex: 0 0 auto;
        min-height: 34px;
        padding: 0.32rem 0.62rem;
        font-size: 0.84rem;
    }

    .site-main {
        width: min(100% - 1rem, 1180px);
        padding-top: 1rem;
        padding-bottom: 3rem;
    }

    .top-visual {
        min-height: calc(100svh - 91px);
    }

    .top-visual-image {
        object-position: 66% 50%;
    }

    .top-visual-copy h1,
    .top-visual-copy h2 {
        font-size: clamp(2rem, 12vw, 3.8rem);
    }

    .hero-actions {
        gap: 0.55rem;
        margin-top: 1rem;
    }

    .hero-actions .button {
        min-width: 110px;
        min-height: 38px;
        padding: 0.48rem 0.72rem;
    }

    .information-dock {
        width: calc(100% - 1rem);
        max-height: min(43svh, 250px);
        bottom: 0.5rem;
        padding: 0.78rem;
    }

    .home-content-stack {
        width: calc(100% - 1rem);
        padding-top: 2rem;
        padding-bottom: 3.4rem;
        gap: 2rem;
    }

    .work-card-head {
        display: grid;
    }

    .news-list li {
        grid-template-columns: 1fr;
        gap: 0.12rem;
    }

    .news-list small {
        grid-column: 1;
    }

    .panel {
        padding: 0.95rem;
    }

    .page-lead {
        min-height: 118px;
        align-items: start;
    }

    .page-lead::after {
        left: 0.95rem;
        bottom: 0.85rem;
        width: 120px;
    }

    .page-lead .panel-head {
        align-items: start;
    }

    .page-lead .panel-head p {
        width: 100%;
    }

    .meta-list {
        grid-template-columns: 1fr;
    }

    .meta-list dt,
    .meta-list dd {
        border-top: 1px solid var(--line);
    }

    .meta-list dt:first-of-type {
        border-top: none;
    }

    .meta-list dd {
        padding-top: 0.35rem;
    }

    .location-map-shell,
    .location-map-frame,
    .location-map-fallback {
        min-height: 210px;
        height: 240px;
        max-height: 260px;
    }

    .page-contact .field textarea {
        min-height: 160px;
    }

    .page-privacy .privacy-document {
        padding: 1.15rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-main,
    .fade-up,
    .top-visual-image {
        animation: none;
    }

    .site-header,
    .site-main,
    .site-footer,
    .page-transition {
        transition: none;
    }
}
