:root {
    --realestate-theme-color: #8A9BD0;
    --tech-theme-color: #2AB1C4;
    --giken-theme-color: #FD564A;
}



.division-page {
    background: #fff;
    color: #111;
    padding: 0 0 96px;
}

.division-page .page-shell {
    width: min(1240px, calc(100vw - 40px));
}

.division-eyebrow {
    margin: 0 0 2px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #000000;
    opacity: 0.4;
}

.division-breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    color: rgba(0, 0, 0, 0.4);

    padding: 24px 48px;
    width: 1334px;
    margin: 0 auto;
}

.division-breadcrumb a {
    color: inherit;
}

.division-hero {
    padding: 0 0 28px;
}

.division-hero__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2rem, 4.6vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.01em;
}

.division-section,
.division-link-grid {
    margin-top: 36px;
}

.division-section {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding-top: 20px;
}

.division-section--message::before {
    content: "MESSAGE";
    font-family: var(--font-display);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(0, 0, 0, 0.4);
}

.division-copy {
    display: grid;
    gap: 14px;
    max-width: 42rem;
}

.division-copy p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.85;
    color: rgba(17, 17, 17, 0.74);
}

.division-section__header {
    display: grid;
    gap: 4px;
    align-content: start;
}

.division-section__header h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: 1.18;
    letter-spacing: -0.01em;
}

.division-section__body {
    min-width: 0;
}

.division-list,
.division-note-list {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}

.division-list-item,
.division-note-list li {
    padding: 14px 0;
    border-bottom: 1px solid #D9D9D9;
}

.division-list-item:first-child,
.division-note-list li:first-child {
    border-top: 1px solid #D9D9D9;
}

.division-list-item h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 0.82rem;
}

.division-list-item p,
.division-note-list li {
    color: rgba(17, 17, 17, 0.74);
}

.division-list-item p {
    margin: 10px 0 0;
    font-size: 0.92rem;
    line-height: 1.8;
}

.division-note-list li {
    font-size: 0.92rem;
    line-height: 1.8;
}

.division-link-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.division-link-card {
    display: grid;
    gap: 6px;
    min-height: 155px;
    padding: 18px;
    border: 1px solid #D9D9D9;
    align-content: center;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.division-link-card:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.division-link-card__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    font-weight: 700;
    line-height: 1.08;
}

.division-link-card__label {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    color: rgba(0, 0, 0, 0.4);
}

.division-link-card:hover .division-link-card__label {
    color: rgba(255, 255, 255, 0.72);
}

.division-page--tech {
    --tech-bg: #ffffff;
    --tech-ink: #050505;
    --tech-muted: rgba(5, 5, 5, 0.58);
    --tech-line: rgba(5, 5, 5, 0.14);
    --tech-panel: #ffffff;
    --tech-accent: #e6ff3f;
    position: relative;
    overflow: hidden;
    background: #ffffff;
    color: var(--tech-ink);
}


.division-page--tech .page-shell {
    position: relative;
    width: min(1240px, calc(100vw - 96px));
}

.division-page--tech .division-eyebrow {
    color: var(--tech-muted);
}

.tech-breadcrumb {
    color: var(--tech-muted);
}

/* ── HERO ─────────────────────────────────────────────── */
.tech-hero {
    padding: 0 0;
}

.tech-hero__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: clamp(28px, 4.5vw, 56px);
}

.tech-hero__bar-logo {
    display: block;
    width: clamp(240px, 40vw, 450px);
    height: auto;
}

.tech-hero__label {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.tech-hero__label-ja {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--tech-ink);
}

.tech-hero__label-en {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--tech-muted);
}

.tech-hero__bar-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--tech-muted);
    letter-spacing: 0.04em;
    display: none;
    /* only visible on wide screens */
}

.tech-hero__copy {
    position: relative;
}

.tech-hero__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 6.0vw, 6.5rem);
    font-weight: 600;
    line-height: 1.18;
    letter-spacing: 0.06em;
    color: var(--tech-ink);
    word-break: keep-all;
}

.tech-hero__title-line {
    display: inline;
}

.tech-hero__title small {
    font-size: 0.42em;
    vertical-align: super;
    letter-spacing: 0;
}

.tech-hero__title-accent {
    position: relative;
    display: inline;
    white-space: nowrap;
}

.tech-hero__title-accent::after {
    content: "";
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--tech-theme-color);
    display: inline-block;
    position: absolute;
    left: 46.5%;
    bottom: 2px;
    transform: translate(-50%);
    z-index: -1;
}

.giken-hero__title-accent::after {
    background: #ff7f75;
    left: 46%;
}

.tech-hero__desc {
    max-width: 46em;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #000000;
    font-weight: 700;
    margin-bottom: 0;
}

.tech-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: clamp(18px, 1.6vw, 18px) 0 0;
    font-size: 0.94rem;
    font-weight: 700;
    color: var(--tech-theme-color);
}

.tech-hero__cta svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.tech-hero__cta:hover svg {
    animation: hover-icon-bounce 0.1s ease-in-out;
}

.giken-hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: clamp(12px, 1.6vw, 18px) 0 0;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--giken-theme-color);
}

.giken-hero__cta svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.giken-hero__cta:hover svg {
    animation: hover-icon-bounce 0.1s ease-in-out;
}

.tech-hero__footnote {
    margin: clamp(14px, 1.8vw, 20px) 0 0;
    font-size: 0.62rem;
    line-height: 1.7;
    color: rgba(5, 5, 5, 0.28);
}

.tech-hero__strip {
    overflow: hidden;
    margin: clamp(32px, 1vw, 60px) calc(50% - 50vw) 0;
    padding: 24px 0;
    background-color: var(--tech-theme-color);
}

.giken-hero__strip {
    background-color: var(--giken-theme-color);
}

.realestate-hero__strip {
    background-color: #fff;
}

.tech-hero__strip-track-left {
    display: flex;
    gap: 0;
    width: max-content;
    padding: 12px 0 12px;
    animation: tech-strip-scroll-to-left 90s linear infinite;
    will-change: transform;
    transform: translateZ(0);
}

.tech-hero__strip-track-right {
    display: flex;
    gap: 0;
    width: max-content;
    padding: 12px 0 12px;
    animation: tech-strip-scroll-to-right 90s linear infinite;
    will-change: transform;
    transform: translateZ(0);
}

.tech-hero__strip-track:hover {
    animation-play-state: paused;
}

.tech-hero__strip-item {
    flex: 0 0 calc(100vw / 3);
    width: calc(100vw / 3);
    min-width: 0;
    min-height: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    margin-right: 24px;
}

.tech-hero__strip-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    object-fit: cover;
}

.tech-hero__strip-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background-color: #edece5;
    background-image:
        repeating-linear-gradient(0deg, transparent 0, transparent 19px, rgba(5, 5, 5, .06) 19px, rgba(5, 5, 5, .06) 20px),
        repeating-linear-gradient(90deg, transparent 0, transparent 19px, rgba(5, 5, 5, .06) 19px, rgba(5, 5, 5, .06) 20px);
    background-size: 20px 20px;
}


@keyframes tech-strip-scroll-to-left {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@keyframes tech-strip-scroll-to-right {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes tech-placeholder-scan {
    0% {
        background-position: 0 0, 0 0, 0 -35%;
    }

    100% {
        background-position: 0 0, 0 0, 0 135%;
    }
}

@media (prefers-reduced-motion: reduce) {

    .tech-hero__strip-track-left,
    .tech-hero__strip-track-right,
    .tech-work-card:hover .tech-work-card__no-img {
        animation: none;
    }
}

/* legacy selector referenced elsewhere */
.tech-service-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.tech-hero__panel-copy {
    margin: 0;
    padding-left: clamp(16px, 2vw, 24px);
    border-left: 1px solid var(--tech-line);
    color: var(--tech-ink);
    font-size: clamp(0.82rem, 1vw, 0.96rem);
    font-weight: 700;
    line-height: 1.75;
}

.tech-hero__panel li,
.tech-service-card__tags li {
    padding: 8px 10px;
    border: 1px solid var(--tech-line);
    border-radius: 999px;
    background: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.tech-hero__panel li:hover {
    background: var(--tech-ink);
    border-color: var(--tech-ink);
    color: #fff;
}

.tech-domains {
    margin-top: clamp(32px, 16vw, 100px);
    background: var(--tech-bg);
}

/* .tech-domains__inner {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    padding-left: max(20px, calc((100vw - 1240px) / 2));
    padding-right: max(20px, calc((100vw - 1240px) / 2));
} */

.tech-domains__item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: clamp(12px, 3vw, 36px);
    padding: clamp(14px, 2vw, 26px) 0;
    border-bottom: 1px solid rgba(5, 5, 5, 0.07);
}

.tech-domains__item:first-child {
    border-top: 1px solid rgba(5, 5, 5, 0.07);
}

.tech-domains__name {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 3.8vw, 5.8rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--tech-ink);
    margin: 0;
    flex: 1 1 auto;
    min-width: 0;
    transition: color 0.28s ease;
}

.tech-domains__item:hover .tech-domains__name {
    color: var(--tech-muted);
}

.tech-domains__tags {
    font-size: 0.75rem;
    line-height: 1.65;
    color: var(--tech-muted);
    margin: 0;
    text-align: right;
    flex: 0 0 auto;
}

.tech-works {
    margin-top: clamp(80px, 10vw, 140px);
}

.section-logo {
    position: absolute;
    display: block;
    max-width: 32%;
    height: auto;
    opacity: 0.25;
    left: 68%;
    top: 0%;
}

.tech-works__heading {
    margin-bottom: clamp(20px, 3vw, 32px);
}

.tech-works__heading h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.6vw, 2.55rem);
    line-height: 1.16;
    letter-spacing: -0.035em;
}

.tech-works__filters {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 0;
    border-bottom: 1.6px solid rgb(5, 5, 5, 0.07);
    margin-bottom: clamp(22px, 3.5vw, 36px);
    scrollbar-width: none;
    touch-action: pan-x;

}

.tech-works__filters::-webkit-scrollbar {
    display: none;
}

.tech-works__filter-btn {
    flex-shrink: 0;
    padding: 12px 0;
    margin-right: clamp(22px, 3vw, 36px);
    margin-bottom: -1px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: transparent;
    color: var(--tech-muted);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: color 0.18s ease, border-color 0.18s ease;
}

.tech-works__filter-btn:hover {
    color: var(--tech-ink);
}

.tech-works__filter-btn.is-active {
    border-width: 5px;
    padding: 2px;
    color: var(--tech-theme-color);
    border-bottom-color: var(--tech-theme-color);
    background: transparent;
}

.tech-works__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px 12px;
}

.tech-work-card {
    display: block;
    color: var(--tech-ink);
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    /* border-bottom: solid 2px #e6e6e6; */
}

.tech-work-card__thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: rgba(5, 5, 5, 0.07);
}

.tech-work-card__thumb img,
.tech-work-card__no-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border: 1px solid rgb(229, 229, 229);
    transition: transform 0.42s ease;
}

.tech-work-card:hover .tech-work-card__thumb img {
    transform: scale(1.04);
}

.tech-work-card__no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 9px;
    background-color: #d8d8d8;
    background-size: 20px 20px, 20px 20px, 100% 35%;
    background-repeat: repeat, repeat, no-repeat;
    background-position: 0 0, 0 0, 0 -35%;
}

.tech-work-card__no-img[hidden] {
    display: none;
}

.tech-work-card__no-img::before {
    content: '';
    display: block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(5, 5, 5, .18);
    box-shadow: inset 0 0 0 8px rgba(5, 5, 5, .08);
    flex-shrink: 0;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.tech-work-card__no-img::after {
    content: 'NO PREVIEW';
    font-size: 0.46rem;
    letter-spacing: 0.26em;
    color: rgba(5, 5, 5, .2);
    font-weight: 700;
    text-transform: uppercase;
    font-family: var(--font-display), monospace;
    transition: color 0.3s ease;
}

.tech-work-card:hover .tech-work-card__no-img {
    animation: tech-placeholder-scan 1.2s ease-in-out;
}

.tech-work-card:hover .tech-work-card__no-img::before {
    border-color: rgba(5, 5, 5, .3);
    box-shadow: inset 0 0 0 8px rgba(5, 5, 5, .13);
}

.tech-work-card:hover .tech-work-card__no-img::after {
    color: rgba(5, 5, 5, .32);
}

.tech-work-card__meta {
    padding: 9px 0 0;
    display: grid;
    gap: 3px;
}

.tech-work-card__cat {
    font-family: var(--font-display);
    font-size: 0.62rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: #000000;
    opacity: 0.4;
}

.tech-work-card__title {
    margin: 0;
    font-size: 0.84rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--tech-ink);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    min-height: calc(1.45em * 2);
    /* 1行で終わっても2行分の高さを確保 */
}

.tech-work-card__desc {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 4px 0 0;
    padding-bottom: 8px;
    font-size: 0.78rem;
    color: var(--tech-theme-color);
    line-height: 1.6;
    border-bottom: solid 2px #e8e8e8;
    /* グレーの土台(常に全体) */
    min-width: 0;
    position: relative;
}

.tech-work-card__desc::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: var(--desc-text-width, 40%);
    /* 一旦固定値、後で調整 */
    height: 2px;
    background: var(--tech-theme-color);
}

.tech-work-card__hover:hover .tech-work-card__desc::before,
.tech-work-card__hover.is-tapped .tech-work-card__desc::before {
    opacity: 0;
}

/* ホバーで全体に広がる水色(アニメーション) */
.tech-work-card__desc::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0%;
    height: 2px;
    background: var(--tech-theme-color);
    transition: width 0.35s ease;
}

.tech-work-card__hover:hover .tech-work-card__desc::after,
.tech-work-card__hover.is-tapped .tech-work-card__desc::after {
    width: 100%;
}

.tech-work-card__desc-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.tech-work-card__arrow {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: #000;
    opacity: 0.2;
    transition: opacity 0.2s ease;
}

@keyframes hover-icon-bounce {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-6px);
    }

    100% {
        transform: translateX(0);
    }
}

/* ホバー時に矢印が黒色になる */
.tech-work-card__hover:hover .tech-work-card__arrow,
.tech-work-card__hover.is-tapped .tech-work-card__arrow {
    opacity: 1;
    animation: hover-icon-bounce 0.1s ease-in-out;
}

.tech-work-card__hover:has(.tech-work-card[style*="display: none"]) {
    display: none;
}

.tech-works__empty {
    grid-column: 1 / -1;
    padding: clamp(48px, 8vw, 80px) 0;
    text-align: center;
    color: var(--tech-muted);
    font-size: 0.9rem;
    letter-spacing: 0.06em;
}

.tech-message,
.tech-services,
.tech-process,
.tech-cta,
.tech-link-grid {
    margin-top: clamp(80px, 10vw, 140px);
}

.tech-message {
    margin-top: 0;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(320px, 26.5vw, 540px);
    padding: clamp(68px, 7.8vw, 150px) max(20px, calc((100vw - 1240px) / 2));
    overflow: hidden;
    border-bottom: 2px solid rgba(255, 255, 255, 0.9);
    background: #000;
    color: #fff;
}

.tech-message__ghost {
    position: absolute;
    z-index: 0;
    margin: 0;
    font-family: var(--font-display);
    font-weight: 900;
    line-height: 0.98;
    letter-spacing: -0.04em;
    color: rgba(255, 255, 255, 0.07);
    pointer-events: none;
    user-select: none;
}

.tech-message__ghost--left {
    top: clamp(30px, 3.2vw, 44px);
    left: clamp(34px, 5.2vw, 108px);
    display: grid;
    gap: clamp(42px, 3.4vw, 72px);
    font-size: clamp(5.6rem, 7.2vw, 9rem);
}

.tech-message__ghost--right {
    top: clamp(28px, 3vw, 38px);
    right: clamp(54px, 9vw, 188px);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: clamp(5.2rem, 6.8vw, 8.5rem);
}

.tech-process .division-eyebrow {
    color: rgba(255, 255, 255, 0.56);
}

.tech-process .tech-section-heading h2 {
    color: #fff;
}

.tech-section-heading {
    display: grid;
    gap: 12px;
    max-width: 48rem;
}

.tech-section-heading .division-eyebrow::before,
.tech-services .division-eyebrow::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 2px;
    margin-right: 8px;
    background: currentColor;
    vertical-align: middle;
    margin-bottom: 2px;
    opacity: 0.5;
}

.tech-section-heading h2,
.tech-cta h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.6vw, 2.55rem);
    line-height: 1.16;
    letter-spacing: -0.035em;
}

.tech-message__body {
    display: grid;
    position: relative;
    z-index: 1;
    gap: clamp(22px, 2vw, 34px);
    width: min(63vw, 1300px);
    max-width: 100%;
}

.tech-message__body p {
    margin: 0;
    font-size: clamp(1.02rem, 1.2vw, 1.5rem);
    font-weight: 600;
    line-height: 1.55;
    color: #fff;
}

.tech-message__line {
    display: inline;
}

.tech-message__body .tech-message__note {
    margin-top: clamp(8px, 0.8vw, 14px);
    font-size: clamp(0.76rem, 0.88vw, 1.08rem);
    font-weight: 700;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
}

.tech-service-list {
    display: grid;
    gap: 0;
    margin-top: clamp(28px, 4vw, 48px);
    border-top: 1px solid var(--tech-ink);
}

.tech-service-card {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr) minmax(230px, 0.36fr);
    gap: clamp(18px, 3.5vw, 44px);
    padding: clamp(36px, 5vw, 64px) clamp(18px, 3vw, 34px);
    border-bottom: 1px solid var(--tech-line);
    align-items: start;
    background: rgba(255, 255, 255, 0.58);
    transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.tech-service-card:hover {
    transform: translateY(-4px);
    background: #fff;
}

.tech-service-card--tiles {
    grid-template-columns: 72px minmax(0, 1fr);
}

.tech-service-card--tiles .tech-service-card__tags {
    display: none;
}

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

.tech-service-card:nth-child(even):hover {
    background: #141414;
}

.tech-service-card:nth-child(even) .tech-service-card__number,
.tech-service-card:nth-child(even) .tech-service-card__lead,
.tech-service-card:nth-child(even) .tech-service-card__block p {
    color: rgba(255, 255, 255, 0.68);
}

.tech-service-card:nth-child(even) .tech-service-card__tags li {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.tech-service-card__number,
.tech-process-card span {
    margin: 0;
    font-family: var(--font-display);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--tech-muted);
}

.tech-process-card span {
    color: rgba(255, 255, 255, 0.28);
    font-size: clamp(2.6rem, 4.2vw, 4.8rem);
    line-height: 0.88;
    letter-spacing: -0.05em;
}

.tech-service-card:nth-child(odd) .tech-service-card__number {
    color: rgba(5, 5, 5, 0.32);
}

.tech-service-card__main {
    display: grid;
    gap: 12px;
}

.tech-service-card__lead {
    margin: 0;
    color: var(--tech-muted);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.tech-service-card h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 2.7vw, 2.7rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.tech-service-card__blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
    gap: 0;
    margin-top: clamp(14px, 2vw, 22px);
    border-top: 1px solid currentColor;
    border-left: 1px solid currentColor;
}

.tech-ad-blocks {
    grid-template-columns: repeat(var(--tech-ad-block-count, 3), minmax(0, 1fr));
    gap: clamp(14px, 2.4vw, 28px);
    margin-top: clamp(24px, 3.8vw, 42px);
    border: 0;
}

.tech-service-card__block {
    display: grid;
    gap: 10px;
    min-height: 150px;
    padding: clamp(16px, 2.2vw, 22px);
    border-right: 1px solid currentColor;
    border-bottom: 1px solid currentColor;
}

.tech-service-card__block h4 {
    margin: 0;
    font-size: 0.96rem;
    line-height: 1.45;
    letter-spacing: 0;
}

.tech-service-card__block p {
    margin: 0;
    color: var(--tech-muted);
    font-size: 0.78rem;
    line-height: 1.8;
}

.tech-ad-block {
    position: relative;
    height: clamp(190px, 18vw, 240px);
    background: #f4f4f4;
    color: var(--tech-ink);
    overflow: hidden;
    border-radius: 6px;
    border: 1px solid transparent;
    transition: background-color 0.22s ease, transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.tech-ad-block:hover:not([open]) {
    background: #e8e8e8;
    border-color: rgba(5, 5, 5, 0.18);
    box-shadow: 0 4px 20px rgba(5, 5, 5, 0.1);
    transform: translateY(-2px);
}

.tech-ad-block[open] {
    background: var(--tech-ink);
    color: #fff;
    border-top: 2px solid rgba(255, 255, 255, 0.18);
}

.tech-ad-block[open]:hover {
    background: var(--tech-ink);
}

.tech-ad-block summary {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-sizing: border-box;
    padding: clamp(24px, 3vw, 38px);
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    list-style: none;
}

.tech-ad-block summary::-webkit-details-marker {
    display: none;
}

.tech-ad-block__label {
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.05vw, 2rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.tech-ad-block__title {
    margin-top: 10px;
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.45;
}

.tech-ad-block__icon {
    position: absolute;
    right: clamp(18px, 2vw, 26px);
    bottom: clamp(18px, 2vw, 26px);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--tech-ink);
    transition: background-color 0.22s ease, transform 0.22s ease;
}

.tech-ad-block:hover:not([open]) .tech-ad-block__icon {
    background: #222;
    transform: scale(1.12);
}

.tech-ad-block[open] .tech-ad-block__label,
.tech-ad-block[open] .tech-ad-block__title {
    display: none;
}

.tech-ad-block[open] .tech-ad-block__icon {
    background: #fff;
}

.tech-ad-block__icon::before,
.tech-ad-block__icon::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 14px;
    height: 4px;
    border-radius: 999px;
    background: #fff;
    content: "";
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.tech-ad-block[open] .tech-ad-block__icon::before,
.tech-ad-block[open] .tech-ad-block__icon::after {
    background: var(--tech-ink);
}

.tech-ad-block__icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.tech-ad-block[open] .tech-ad-block__icon::after {
    transform: translate(-50%, -50%) rotate(0deg);
}

.tech-ad-block p {
    margin: -16px clamp(22px, 3vw, 38px) clamp(24px, 3vw, 38px);
    color: rgba(5, 5, 5, 0.66);
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.85;
    text-align: left;
}

.tech-ad-block[open] summary {
    position: absolute;
    inset: 0;
    z-index: 2;
    height: 100%;
    padding: 0;
    pointer-events: none;
}

.tech-ad-block[open] .tech-ad-block__icon {
    pointer-events: auto;
}

.tech-ad-block[open] p {
    display: grid;
    height: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: clamp(32px, 4vw, 44px) clamp(24px, 3.4vw, 38px);
    align-items: center;
    color: #fff;
    font-size: clamp(0.78rem, 0.95vw, 0.9rem);
    font-weight: 500;
    line-height: 1.7;
}

.tech-process {
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    display: grid;
    gap: clamp(28px, 4vw, 48px);
    padding: clamp(58px, 7vw, 92px) max(20px, calc((100vw - 1240px) / 2));
    background: #050505;
    color: #fff;
}

.tech-process__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent;
}

.tech-process-card {
    display: grid;
    gap: 20px;
    min-height: 280px;
    padding: clamp(24px, 3vw, 36px);
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    align-content: start;
    background: rgba(255, 255, 255, 0.04);
}

.tech-process-card:last-child {
    border-right: 0;
}

.tech-process-card h3 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2.2vw, 1.9rem);
    letter-spacing: -0.03em;
}

.tech-process-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.86rem;
    line-height: 1.8;
}

.tech-cta {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.34fr);
    gap: clamp(24px, 4vw, 52px);
    align-items: end;
    min-height: clamp(300px, 28vw, 440px);
    padding: clamp(42px, 6vw, 78px);
    overflow: hidden;
    border: 1px solid var(--tech-ink);
    background: #050505;
    color: #fff;
}

.tech-cta .division-eyebrow {
    color: rgba(255, 255, 255, 0.58);
}

.tech-cta__ghost {
    position: absolute;
    right: clamp(-18px, 2vw, 30px);
    bottom: clamp(-18px, -1vw, -8px);
    z-index: -1;
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(5.2rem, 13vw, 13.5rem);
    font-weight: 900;
    line-height: 0.8;
    letter-spacing: -0.065em;
    color: rgba(255, 255, 255, 0.055);
    pointer-events: none;
    user-select: none;
}

.tech-cta__copy {
    display: grid;
    gap: 16px;
    max-width: 56rem;
}

.tech-cta__copy p:not(.division-eyebrow) {
    max-width: 38rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.66);
    font-size: clamp(0.92rem, 1.15vw, 1.05rem);
    font-weight: 700;
    line-height: 1.9;
}

.tech-cta__action {
    display: grid;
    gap: 18px;
    justify-items: stretch;
    padding: clamp(18px, 2.4vw, 26px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
}

.tech-cta__action span {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: rgba(255, 255, 255, 0.52);
}

.tech-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 164px;
    min-height: 50px;
    padding: 13px 24px;
    border: 1px solid var(--tech-accent);
    background: var(--tech-accent);
    color: var(--tech-ink);
    font-family: var(--font-display);
    font-size: 0.86rem;
    font-weight: 800;
    transition: transform 0.22s ease, box-shadow 0.22s ease, background-color 0.22s ease;
}

.tech-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(5, 5, 5, 0.22);
}

.tech-button::after {
    content: "";
    width: 0.52em;
    height: 0.52em;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    transform: rotate(45deg);
}

.division-page--tech .division-link-card {
    background: rgba(255, 255, 255, 0.72);
}

.division-page--tech .division-link-card:hover {
    background: var(--tech-ink);
    border-color: var(--tech-ink);
}

@media (min-width: 9px) {}

@media (max-width: 980px) {

    .tech-hero,
    .tech-message,
    .tech-service-card,
    .tech-cta {
        grid-template-columns: 1fr;
    }

    .tech-hero {
        min-height: auto;
        padding-top: 36px;
        padding-bottom: clamp(42px, 5vw, 70px);
        align-items: start;
    }

    .tech-hero__title-accent::after {
        width: 10px;
        height: 10px;
        left: 46.5%;
        bottom: 1px;
    }


    .tech-hero__bar-link {
        display: none;
    }

    .tech-domains__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        padding: 18px 0;
    }

    .tech-domains__name {
        font-size: clamp(1.9rem, 9vw, 3.6rem);
    }

    .tech-domains__tags {
        text-align: left;
        font-size: 0.7rem;
    }

    .tech-works__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .tech-works__head {
        flex-direction: column;
        align-items: flex-start;
    }

    .tech-message {
        min-height: 380px;
        padding: 48px max(20px, calc((100vw - 1240px) / 2));
    }

    .tech-message__body {
        width: min(78vw, 760px);
    }

    .tech-message__ghost--left {
        left: 28px;
        gap: 44px;
        font-size: clamp(4.4rem, 12vw, 7rem);
    }

    .tech-message__ghost--right {
        right: 32px;
        font-size: clamp(4.1rem, 11vw, 6.5rem);
    }

    .tech-service-card {
        gap: 16px;
    }

    .tech-service-card__blocks {
        grid-template-columns: 1fr;
    }

    .tech-ad-blocks {
        grid-template-columns: repeat(var(--tech-ad-block-count, 3), minmax(0, 1fr));
        gap: 14px;
    }

    .tech-ad-block {
        height: 178px;
    }

    .tech-ad-block__label {
        font-size: clamp(1rem, 2.8vw, 1.35rem);
    }

    .tech-service-card__tags {
        max-width: 100%;
    }

    .tech-process__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tech-process-card:nth-child(2) {
        border-right: 0;
    }

    .tech-process-card:nth-child(1),
    .tech-process-card:nth-child(2) {
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .section-logo {
        max-width: 45%;
        left: 55%;
        top: -1%;
    }

}

@media (max-width: 640px) {
    .tech-hero {
        padding: clamp(28px, 4vw, 52px) 0 0;
    }

    .tech-hero__title-accent::after {
        width: 10px;
        height: 10px;
        left: 49%;
        bottom: 1px;
    }

    .giken-hero__title-accent::after {
        background: #ff7f75;
        left: 49%;
        bottom: 0px;
    }

    .division-page--tech .page-shell {
        width: min(100vw - 24px, 100%);
    }

    .tech-hero__bar-logo {
        width: clamp(240px, 24vw, 340px);
    }

    .tech-hero__strip {
        padding: 0;
    }

    .tech-hero__strip-item {
        position: relative;
        flex: 0 0 280px;
        width: 280px;
        height: 175px;
        margin-right: 24px;
        min-width: 0;
        aspect-ratio: 16 / 10;
        overflow: hidden;
    }

    .tech-hero__strip-item img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .tech-hero__title {
        font-size: 11vw;
        line-height: 1.18;
        letter-spacing: 0;
        word-break: keep-all;
    }

    .tech-hero__title .sub {
        font-size: 8vw;
    }

    .tech-section-heading h2,
    .tech-cta h2 {
        font-size: clamp(1.45rem, 7.4vw, 2.05rem);
    }

    .tech-works__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tech-message,
    .tech-works,
    .tech-services,
    .tech-process,
    .tech-cta,
    .tech-link-grid {
        margin-top: 64px;
    }

    .tech-message {
        margin-top: 0;
        min-height: 430px;
        padding: 72px max(12px, calc((100vw - 1240px) / 2));
    }

    .tech-message__body {
        width: 100%;
        gap: 18px;
    }

    .tech-message__body p {
        font-size: clamp(0.96rem, 4.2vw, 1.16rem);
        line-height: 1.8;
    }

    .tech-message__line {
        display: block;
    }

    .tech-message__body .tech-message__note {
        font-size: 0.72rem;
    }

    .tech-message__ghost--left {
        top: 22px;
        left: 14px;
        gap: 28px;
        font-size: clamp(3rem, 16vw, 4.8rem);
    }

    .tech-message__ghost--right {
        top: 24px;
        right: 8px;
        font-size: clamp(2.9rem, 15vw, 4.5rem);
    }

    .tech-service-card h3 {
        font-size: clamp(1.12rem, 5.6vw, 1.55rem);
    }

    .tech-service-card {
        padding: 28px 18px;
    }

    .tech-ad-blocks {
        grid-template-columns: 1fr;
    }

    .tech-ad-block {
        height: 180px;
    }

    .tech-ad-block summary {
        padding: 24px;
    }

    .tech-ad-block__label {
        font-size: clamp(1.45rem, 8vw, 2rem);
    }

    .tech-service-card__number {
        margin-bottom: 2px;
    }

    .tech-service-card:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.58);
    }

    .tech-service-card:nth-child(even):hover {
        background: var(--tech-ink);
    }

    .tech-process__grid {
        grid-template-columns: 1fr;
    }

    .tech-process-card,
    .tech-process-card:nth-child(2) {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.16);
    }

    .tech-process-card:last-child {
        border-bottom: 0;
    }

    .tech-cta {
        grid-template-columns: 1fr;
        min-height: 0;
        padding: 28px;
    }

    .tech-cta__ghost {
        right: -10px;
        bottom: auto;
        top: 20px;
        font-size: clamp(4rem, 20vw, 7rem);
    }

    .tech-cta__copy {
        gap: 14px;
    }

    .tech-cta__action {
        padding: 18px;
    }

    .tech-button {
        width: 100%;
    }

    .section-logo {
        max-width: 75%;
        left: 26%;
        top: 0%;
    }

    .tech-hero__title-line {
        display: block;
    }
}

.division-page--giken {
    background:
        linear-gradient(180deg, rgba(11, 12, 12, 0.88) 0 520px, transparent 520px),
        repeating-linear-gradient(135deg, rgba(230, 170, 34, 0.07) 0 1px, transparent 1px 18px),
        linear-gradient(180deg, #f7f3ea 0%, #ece7dc 48%, #171716 48%, #171716 100%);
    color: #161616;
}

.division-page--giken .page-shell {
    width: min(1180px, calc(100vw - 40px));
}

.division-page--giken .division-breadcrumb {
    color: rgba(255, 255, 255, 0.62);
}

.giken-hero {
    position: relative;
    overflow: hidden;
    min-height: 640px;
    padding: clamp(28px, 4.5vw, 56px);
    background:
        linear-gradient(90deg, rgba(11, 12, 12, 0.98) 0%, rgba(11, 12, 12, 0.82) 48%, rgba(11, 12, 12, 0.34) 100%),
        radial-gradient(circle at 84% 20%, rgba(230, 170, 34, 0.28), transparent 24%),
        linear-gradient(135deg, #131414 0%, #34312a 100%);
    color: #fff;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.giken-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: linear-gradient(90deg, #000 0%, transparent 78%);
    pointer-events: none;
}

.giken-hero::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(560px, 54vw);
    height: 18px;
    background: repeating-linear-gradient(135deg, #e6aa22 0 18px, #171716 18px 34px);
}

.giken-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    min-height: 528px;
}

.division-page--giken .division-eyebrow {
    color: #e6aa22;
}

.giken-hero__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3rem, 6.5vw, 5.4rem);
    line-height: 1.04;
    letter-spacing: 0;
    text-shadow: 0 18px 44px rgba(0, 0, 0, 0.36);
}

.giken-hero__lead {
    max-width: 42rem;
    margin: 26px 0 0;
    font-size: clamp(1rem, 1.35vw, 1.08rem);
    line-height: 2;
    color: rgba(255, 255, 255, 0.82);
}

.giken-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

.giken-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 13px 24px;
    border: 1px solid currentColor;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.2;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.giken-button:hover {
    transform: translateY(-2px);
}

.giken-button--primary {
    border-color: #e6aa22;
    background: #e6aa22;
    color: #121212;
}

.giken-button--primary:hover {
    border-color: #f3c659;
    background: #f3c659;
}

.giken-button--ghost {
    border-color: rgba(255, 255, 255, 0.28);
    color: #fff;
}

.giken-button--ghost:hover {
    border-color: #fff;
    background: #fff;
    color: #111;
}

.giken-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    margin: 28px 0 0;
    padding: 0;
}

.giken-hero__tags li {
    padding: 9px 14px;
    border: 1px solid rgba(230, 170, 34, 0.34);
    background: rgba(230, 170, 34, 0.09);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.88);
}

.giken-hero__visual {
    position: relative;
    min-height: 462px;
}

.giken-hero__photo {
    position: absolute;
    inset: 0 0 72px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 36%),
        linear-gradient(140deg, rgba(230, 170, 34, 0.14) 0 22%, transparent 22% 100%),
        radial-gradient(circle at 32% 18%, rgba(255, 255, 255, 0.16), transparent 16%),
        linear-gradient(135deg, #59554d 0%, #252421 46%, #111 100%);
    box-shadow: 0 26px 62px rgba(0, 0, 0, 0.34);
}

.giken-hero__photo::before {
    content: "";
    position: absolute;
    inset: 12% -14% auto auto;
    width: 84%;
    height: 52%;
    border: 16px solid rgba(230, 170, 34, 0.7);
    border-left: 0;
    transform: rotate(-16deg);
}

.giken-hero__photo::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    background:
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 2px, transparent 2px 72px),
        linear-gradient(0deg, rgba(0, 0, 0, 0.68), transparent);
}

.giken-hero__beam {
    position: absolute;
    display: block;
    height: 22px;
    background: #c0b7a6;
    box-shadow: 0 12px 0 rgba(255, 255, 255, 0.08);
    transform-origin: left center;
}

.giken-hero__beam--one {
    left: 9%;
    top: 62%;
    width: 86%;
    transform: rotate(-19deg);
}

.giken-hero__beam--two {
    left: 2%;
    top: 76%;
    width: 76%;
    transform: rotate(12deg);
}

.giken-hero__spark {
    position: absolute;
    display: block;
    width: 74px;
    height: 74px;
    border: 1px solid rgba(230, 170, 34, 0.65);
}

.giken-hero__spark--one {
    right: 12%;
    top: 17%;
}

.giken-hero__spark--two {
    right: 30%;
    bottom: 18%;
    width: 44px;
    height: 44px;
}

.giken-hero__meta {
    position: absolute;
    right: 22px;
    bottom: 0;
    left: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    background: #fff;
    color: #111;
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.22);
}

.giken-hero__meta-block {
    display: grid;
    gap: 7px;
    min-height: 108px;
    padding: 18px;
    border-right: 1px solid #ddd7cb;
}

.giken-hero__meta-block span {
    font-size: 0.66rem;
    letter-spacing: 0.16em;
    color: rgba(17, 17, 17, 0.45);
}

.giken-hero__meta-block strong {
    font-family: var(--font-display);
    font-size: 0.98rem;
    line-height: 1.45;
    color: #111;
}

.giken-band {
    margin-top: 0;
}

.giken-band__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
}

.giken-band__item {
    display: grid;
    gap: 10px;
    min-height: 138px;
    padding: 24px 28px;
    background: #e6aa22;
    color: #111;
    border-right: 1px solid rgba(17, 17, 17, 0.16);
    align-content: center;
}

.giken-band__item strong {
    font-family: var(--font-display);
    font-size: clamp(1.7rem, 3.4vw, 2.5rem);
    line-height: 1;
}

.giken-band__item span {
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: rgba(17, 17, 17, 0.64);
}

.giken-section,
.division-page--giken .division-link-grid {
    margin-top: clamp(54px, 8vw, 86px);
}

.giken-section__header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 28px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 2px solid #171716;
}

.giken-section__header h2,
.giken-cta h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.85rem, 4vw, 3.15rem);
    line-height: 1.15;
    letter-spacing: 0;
}

.giken-service-list,
.giken-strength-list,
.giken-flow-list,
.giken-faq-list {
    display: grid;
    gap: 0;
}

.giken-service-card {
    display: grid;
    grid-template-columns: minmax(220px, 0.62fr) minmax(0, 0.82fr) minmax(220px, 0.56fr);
    gap: 28px;
    padding: 28px 0;
    border-bottom: 1px solid #c9c0ad;
}

.giken-strength-card {
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.giken-service-card:first-child,
.giken-flow-item:first-child,
.giken-faq-item:first-child {
    border-top: 1px solid #c9c0ad;
}

.giken-strength-card:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.giken-service-card__heading {
    display: grid;
    gap: 8px;
}

.giken-service-card__copy,
.giken-flow-item__step {
    margin: 0;
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    color: rgba(0, 0, 0, 0.44);
}

.giken-service-card h3,
.giken-strength-card h3,
.giken-flow-item h3,
.giken-faq-item h3 {
    margin: 0;
    font-family: var(--font-display);
}

.giken-service-card h3 {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
}

.giken-service-card__body,
.giken-strength-card p,
.giken-flow-item p,
.giken-faq-item p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.8;
    color: rgba(17, 17, 17, 0.74);
}

.giken-service-card__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
    align-content: start;
}

.giken-service-card__list li {
    padding: 8px 10px;
    background: #fff;
    border: 1px solid #d8cfbd;
    font-size: 0.78rem;
    font-weight: 700;
    color: rgba(17, 17, 17, 0.72);
}

.giken-service-card__list li::before {
    content: none;
}

.giken-section--accent {
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: clamp(54px, 8vw, 88px) max(20px, calc((100vw - 1180px) / 2));
    background:
        linear-gradient(90deg, rgba(230, 170, 34, 0.12), transparent 42%),
        #171716;
    color: #fff;
}

.giken-section--accent .giken-section__header {
    border-bottom-color: rgba(255, 255, 255, 0.22);
}

.giken-section--accent .division-eyebrow {
    color: #e6aa22;
}

.giken-section--accent~.giken-section {
    color: #fff;
}

.giken-section--accent~.giken-section .giken-section__header {
    border-bottom-color: rgba(255, 255, 255, 0.22);
}

.giken-section--accent~.giken-section .division-eyebrow {
    color: #e6aa22;
}

.giken-section--accent~.giken-section .giken-flow-item,
.giken-section--accent~.giken-section .giken-faq-item,
.giken-section--accent~.giken-section .giken-flow-item:first-child,
.giken-section--accent~.giken-section .giken-faq-item:first-child {
    border-color: rgba(255, 255, 255, 0.18);
}

.giken-section--accent~.giken-section .giken-flow-item p,
.giken-section--accent~.giken-section .giken-faq-item p {
    color: rgba(255, 255, 255, 0.72);
}

.giken-strength-card h3 {
    font-size: clamp(1.18rem, 2vw, 1.55rem);
}

.giken-strength-card p {
    color: rgba(255, 255, 255, 0.72);
}

.giken-faq-list {
    gap: 0;
}

.giken-flow-item {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 18px;
    padding: 24px 0;
    border-bottom: 1px solid #c9c0ad;
}

.giken-flow-item__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    padding-top: 0;
    background: #171716;
    color: #e6aa22;
    font-weight: 700;
}

.giken-faq-item {
    display: grid;
    grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1.1fr);
    gap: 22px;
    padding: 22px 0;
    border-bottom: 1px solid #c9c0ad;
}

.giken-faq-item h3 {
    font-size: 1.05rem;
}

.giken-cta {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-top: clamp(54px, 8vw, 86px);
    padding: clamp(30px, 5vw, 48px);
    background:
        linear-gradient(90deg, rgba(230, 170, 34, 0.9) 0 8px, transparent 8px),
        linear-gradient(135deg, #26241f 0%, #121212 100%);
    color: #fff;
}

.giken-cta p:not(.division-eyebrow) {
    max-width: 42rem;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, 0.72);
}

.division-page--giken .division-link-grid {
    padding-bottom: 8px;
}

.division-page--giken .division-link-card {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.division-page--giken .division-link-card:hover {
    background: #e6aa22;
    border-color: #e6aa22;
    color: #111;
}

.division-page--giken .division-link-card__label {
    color: rgba(255, 255, 255, 0.54);
}

.division-page--giken .division-link-card:hover .division-link-card__label {
    color: rgba(17, 17, 17, 0.58);
}

@media (max-width: 980px) {
    .division-breadcrumb {
        padding: 24px 48px;
    }

    .division-link-grid {
        grid-template-columns: 1fr;
    }

    .division-section {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .giken-hero__inner,
    .giken-band__grid {
        grid-template-columns: 1fr;
    }

    .giken-hero {
        min-height: auto;
    }

    .giken-hero__inner {
        min-height: 0;
    }

    .giken-hero__visual {
        min-height: 430px;
    }

    .giken-service-card,
    .giken-strength-card,
    .giken-faq-item {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .giken-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .division-page {
        /* padding-top: 28px; */
        padding-top: 0px;
    }

    .division-breadcrumb {
        background: #f2f2f2;
        padding: 24px;
    }

    .division-section,
    .division-link-grid {
        margin-top: 32px;
    }

    .division-page .page-shell {
        /* width: min(100vw - 24px, 100%); */
        width: min(100vw - 42px, 100%);
    }

    .division-link-card {
        min-height: 120px;
        padding: 18px;
    }

    .giken-hero {
        padding: 24px 20px 26px;
    }

    .giken-hero__title {
        font-size: clamp(2.72rem, 15vw, 4.1rem);
    }

    .giken-hero__actions,
    .giken-button {
        width: 100%;
    }

    .giken-hero__visual {
        min-height: 360px;
    }

    .giken-hero__photo {
        inset: 0 0 118px;
    }

    .giken-hero__meta {
        right: 10px;
        left: 10px;
        grid-template-columns: 1fr;
    }

    .giken-hero__meta-block {
        min-height: auto;
        padding: 12px 14px;
        border-right: 0;
        border-bottom: 1px solid #ddd7cb;
    }

    .giken-section__header {
        display: grid;
        gap: 6px;
    }

    .giken-flow-item {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* Giken airy photo-led layout */
.division-page--giken {
    background: #fff;
    color: #111;
    padding-bottom: 120px;
}

.division-page--giken .page-shell {
    width: min(1240px, calc(100vw - 40px));
}

.division-page--giken .division-breadcrumb {
    color: rgba(17, 17, 17, 0.45);
}

.division-page--giken .division-eyebrow {
    color: rgba(17, 17, 17, 0.36);
}

.giken-photo-placeholder {
    position: relative;
    display: grid;
    min-height: 280px;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.18), transparent 44%),
        linear-gradient(135deg, #d7d7d2 0%, #bfc1bd 48%, #e9e8e2 100%);
    color: rgba(17, 17, 17, 0.36);
    place-items: center;
}

.giken-photo-placeholder::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.06) 0 1px, transparent 1px),
        linear-gradient(rgba(0, 0, 0, 0.04) 0 1px, transparent 1px);
    background-size: 84px 84px;
    opacity: 0.55;
}

.giken-photo-placeholder span {
    position: relative;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
}

.giken-hero {
    min-height: 0;
    padding: 0;
    overflow: visible;
    background: transparent;
    color: #111;
    box-shadow: none;
}

.giken-hero::before,
.giken-hero::after,
.giken-hero__photo,
.giken-hero__beam,
.giken-hero__spark {
    content: none;
    display: none;
}

.giken-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 0.68fr) minmax(420px, 1fr);
    gap: clamp(44px, 7vw, 96px);
    min-height: 0;
    align-items: end;
}

.giken-hero__copy {
    padding: clamp(52px, 8vw, 112px) 0 36px;
}

.giken-hero__title {
    max-width: 8.8em;
    font-size: clamp(2.65rem, 5.2vw, 4.8rem);
    line-height: 1.08;
    text-shadow: none;
}

.giken-hero__lead {
    max-width: 34rem;
    margin-top: 34px;
    color: rgba(17, 17, 17, 0.62);
}

.giken-hero__actions {
    gap: 14px;
    margin-top: 36px;
}

.giken-button {
    min-width: 176px;
    min-height: 52px;
    border-radius: 0;
    transform: none;
}

.giken-button:hover {
    transform: none;
}

.giken-button--primary {
    border-color: #111;
    background: #111;
    color: #fff;
}

.giken-button--primary:hover {
    border-color: #555;
    background: #555;
}

.giken-button--ghost {
    border-color: rgba(17, 17, 17, 0.18);
    color: #111;
}

.giken-button--ghost:hover {
    border-color: #111;
    background: #111;
    color: #fff;
}

.giken-hero__tags {
    gap: 8px;
    margin-top: 30px;
}

.giken-hero__tags li {
    border-color: rgba(17, 17, 17, 0.12);
    background: transparent;
    color: rgba(17, 17, 17, 0.52);
}

.giken-hero__visual {
    min-height: 0;
    padding-top: clamp(28px, 5vw, 64px);
}

.giken-photo-placeholder--hero {
    min-height: clamp(460px, 54vw, 720px);
}

.giken-hero__meta {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    width: min(88%, 560px);
    margin: -62px 0 0 auto;
    background: #fff;
    color: #111;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.1);
}

.giken-hero__meta-block {
    min-height: 104px;
    border-color: #e6e6e1;
}

.giken-band {
    margin-top: clamp(86px, 12vw, 150px);
}

.giken-band__grid {
    gap: 1px;
    background: #e7e7e2;
}

.giken-band__item {
    min-height: 170px;
    padding: 32px;
    background: #f8f8f5;
    border: 0;
}

.giken-band__item strong {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.giken-section,
.division-page--giken .division-link-grid {
    margin-top: clamp(96px, 13vw, 170px);
}

.giken-section__header {
    display: grid;
    max-width: 720px;
    gap: 12px;
    margin-bottom: clamp(32px, 5vw, 64px);
    padding-bottom: 0;
    border-bottom: 0;
}

.giken-section__header h2,
.giken-cta h2 {
    font-size: clamp(1.55rem, 2.8vw, 2.35rem);
    line-height: 1.36;
}

.giken-service-list {
    gap: clamp(82px, 10vw, 132px);
}

.giken-service-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(300px, 0.62fr);
    gap: clamp(34px, 6vw, 86px);
    padding: 0;
    border: 0;
    align-items: center;
}

.giken-service-card:first-child,
.giken-flow-item:first-child,
.giken-faq-item:first-child {
    border-top: 0;
}

.giken-service-card:nth-child(even) {
    grid-template-columns: minmax(300px, 0.62fr) minmax(0, 0.9fr);
}

.giken-service-card:nth-child(even) .giken-service-card__photo {
    order: 2;
}

.giken-service-card__photo {
    grid-row: 1 / span 3;
    grid-column: 1;
    min-height: clamp(380px, 44vw, 620px);
}

.giken-service-card:nth-child(even) .giken-service-card__photo {
    grid-column: 2;
}

.giken-service-card__heading,
.giken-service-card__body,
.giken-service-card__list {
    grid-column: 2;
}

.giken-service-card:nth-child(even) .giken-service-card__heading,
.giken-service-card:nth-child(even) .giken-service-card__body,
.giken-service-card:nth-child(even) .giken-service-card__list {
    grid-column: 1;
}

.giken-service-card__heading {
    align-self: end;
}

.giken-service-card__copy {
    color: rgba(17, 17, 17, 0.42);
}

.giken-service-card h3 {
    font-size: clamp(1.45rem, 2.25vw, 2rem);
    line-height: 1.32;
}

.giken-service-card__body {
    margin-top: -52px;
    align-self: center;
    color: rgba(17, 17, 17, 0.62);
}

.giken-service-card__list {
    margin-top: -42px;
    align-self: start;
}

.giken-service-card__list li {
    background: #f6f6f2;
    border-color: transparent;
    color: rgba(17, 17, 17, 0.52);
}

.giken-section--accent {
    margin-right: 0;
    margin-left: 0;
    padding: 0;
    background: transparent;
    color: #111;
}

.giken-wide-photo {
    min-height: clamp(420px, 48vw, 680px);
    margin-bottom: clamp(56px, 7vw, 96px);
}

.giken-section--accent .giken-section__header {
    border-bottom: 0;
}

.giken-section--accent .division-eyebrow {
    color: rgba(17, 17, 17, 0.36);
}

.giken-strength-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: #e7e7e2;
}

.giken-strength-card,
.giken-strength-card:first-child {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: 250px;
    padding: clamp(28px, 4vw, 44px);
    background: #f8f8f5;
    border: 0;
}

.giken-strength-card h3 {
    font-size: clamp(1.08rem, 1.65vw, 1.34rem);
    line-height: 1.45;
}

.giken-strength-card p {
    color: rgba(17, 17, 17, 0.62);
}

.giken-section--accent~.giken-section {
    color: #111;
}

.giken-section--accent~.giken-section .giken-section__header {
    border-bottom: 0;
}

.giken-section--accent~.giken-section .division-eyebrow {
    color: rgba(17, 17, 17, 0.36);
}

.giken-flow-list,
.giken-faq-list {
    border-top: 1px solid #e5e5e0;
}

.giken-flow-item,
.giken-faq-item,
.giken-section--accent~.giken-section .giken-flow-item,
.giken-section--accent~.giken-section .giken-faq-item,
.giken-section--accent~.giken-section .giken-flow-item:first-child,
.giken-section--accent~.giken-section .giken-faq-item:first-child {
    border-color: #e5e5e0;
}

.giken-flow-item {
    grid-template-columns: 120px minmax(0, 1fr);
    padding: 30px 0;
}

.giken-flow-item__step {
    width: auto;
    height: auto;
    justify-content: flex-start;
    background: transparent;
    color: rgba(17, 17, 17, 0.36);
}

.giken-section--accent~.giken-section .giken-flow-item p,
.giken-section--accent~.giken-section .giken-faq-item p {
    color: rgba(17, 17, 17, 0.62);
}

.giken-faq-item {
    padding: 30px 0;
}

.giken-cta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    margin-top: clamp(96px, 13vw, 170px);
    padding: clamp(44px, 6vw, 72px);
    background: #f2f2ed;
    color: #111;
}

.giken-cta p:not(.division-eyebrow) {
    color: rgba(17, 17, 17, 0.62);
}

.division-page--giken .division-link-card {
    background: #fff;
    border-color: #e5e5e0;
    color: #111;
}

.division-page--giken .division-link-card:hover {
    background: #111;
    border-color: #111;
    color: #fff;
}

.division-page--giken .division-link-card__label {
    color: rgba(17, 17, 17, 0.42);
}

.division-page--giken .division-link-card:hover .division-link-card__label {
    color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 980px) {

    .giken-hero__inner,
    .giken-service-card,
    .giken-service-card:nth-child(even),
    .giken-cta {
        grid-template-columns: 1fr;
    }

    .giken-service-card:nth-child(even) .giken-service-card__photo {
        order: 0;
    }

    .giken-service-card__heading,
    .giken-service-card__photo,
    .giken-service-card__body,
    .giken-service-card__list,
    .giken-service-card:nth-child(even) .giken-service-card__heading,
    .giken-service-card:nth-child(even) .giken-service-card__photo,
    .giken-service-card:nth-child(even) .giken-service-card__body,
    .giken-service-card:nth-child(even) .giken-service-card__list {
        grid-column: auto;
        grid-row: auto;
        margin-top: 0;
    }

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

}

@media (max-width: 640px) {
    .division-page--giken .page-shell {
        width: min(100vw - 24px, 100%);
    }

    .giken-hero__copy {
        padding-top: 42px;
    }

    .giken-hero__title {
        font-size: clamp(2.25rem, 11vw, 3.2rem);
    }

    .giken-photo-placeholder--hero,
    .giken-service-card__photo,
    .giken-wide-photo {
        min-height: 320px;
    }

    .giken-hero__meta {
        width: calc(100% - 20px);
        grid-template-columns: 1fr;
        margin-top: -36px;
    }

    .giken-band__grid {
        grid-template-columns: 1fr;
    }

    .giken-flow-item,
    .giken-faq-item {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .giken-cta {
        padding: 28px;
    }
}

/* Giken shadcn-inspired polish */
.division-page--giken {
    --giken-background: #ffffff;
    --giken-foreground: #09090b;
    --giken-card: #ffffff;
    --giken-muted: #f4f4f5;
    --giken-muted-foreground: #71717a;
    --giken-border: #e4e4e7;
    --giken-ring: #18181b;
    --giken-radius: 8px;
    background: var(--giken-background);
    color: var(--giken-foreground);
}

.division-page--giken .division-eyebrow {
    margin-bottom: 10px;
    color: var(--giken-muted-foreground);
    font-size: 0.7rem;
    letter-spacing: 0.14em;
}

.division-page--giken .division-breadcrumb {
    color: var(--giken-muted-foreground);
}

.giken-photo-placeholder {
    border: 1px solid var(--giken-border);
    border-radius: var(--giken-radius);
    background-image: url("../images/giken-work-01.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    color: transparent;
    box-shadow: 0 1px 2px rgba(9, 9, 11, 0.04);
}

.giken-photo-placeholder::before {
    background:
        linear-gradient(180deg, rgba(9, 9, 11, 0.02), rgba(9, 9, 11, 0.16)),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 42%);
    background-size: auto;
    opacity: 1;
}

.giken-photo-placeholder span {
    display: none;
}

.giken-photo-placeholder--hero,
.giken-service-card__photo,
.giken-wide-photo {
    min-height: 0;
}

.giken-photo-placeholder--hero {
    aspect-ratio: 16 / 11;
}

.giken-service-card__photo {
    aspect-ratio: 4 / 3;
}

.giken-wide-photo {
    aspect-ratio: 16 / 7;
}

.giken-photo-placeholder--hero,
.giken-wide-photo {
    background-image: url("../images/giken-work-04.png");
}

.giken-wide-photo {
    background-image: url("../images/giken-wide-photo.png");
    background-position: center;
}

.giken-photo-placeholder--hero {
    background-image:
        linear-gradient(90deg, rgba(9, 9, 11, 0.22), transparent 42%),
        url("../images/giken-hero.png");
    background-position: center;
}

.giken-service-card:nth-child(1) .giken-photo-placeholder {
    background-image: url("../images/giken-work-01.png");
}

.giken-service-card:nth-child(2) .giken-photo-placeholder {
    background-image: url("../images/giken-work-02.png");
}

.giken-service-card:nth-child(3) .giken-photo-placeholder {
    background-image: url("../images/giken-work-03.png");
}

@media (max-width: 640px) {

    .giken-photo-placeholder--hero,
    .giken-service-card__photo,
    .giken-wide-photo {
        min-height: 0;
    }

    .giken-photo-placeholder--hero,
    .giken-wide-photo {
        aspect-ratio: 4 / 3;
    }
}

.giken-hero__copy {
    padding-bottom: 44px;
}

.giken-hero__title {
    max-width: 9em;
    font-weight: 700;
    letter-spacing: 0;
}

.giken-hero__lead,
.giken-service-card__body,
.giken-strength-card p,
.giken-flow-item p,
.giken-faq-item p,
.giken-section--accent~.giken-section .giken-flow-item p,
.giken-section--accent~.giken-section .giken-faq-item p,
.giken-cta p:not(.division-eyebrow) {
    color: var(--giken-muted-foreground);
}

.giken-button {
    border-radius: 6px;
    font-size: 0.86rem;
    box-shadow: 0 1px 2px rgba(9, 9, 11, 0.06);
}

.giken-button--primary {
    border-color: var(--giken-foreground);
    background: var(--giken-foreground);
}

.giken-button--primary:hover {
    border-color: #27272a;
    background: #27272a;
}

.giken-button--ghost {
    border-color: var(--giken-border);
    background: var(--giken-card);
    color: var(--giken-foreground);
}

.giken-button--ghost:hover {
    border-color: #d4d4d8;
    background: var(--giken-muted);
    color: var(--giken-foreground);
}

.giken-hero__tags li,
.giken-service-card__list li {
    border: 1px solid var(--giken-border);
    border-radius: 999px;
    background: var(--giken-muted);
    color: #52525b;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.giken-hero__meta {
    border: 1px solid var(--giken-border);
    border-radius: var(--giken-radius);
    box-shadow: 0 12px 30px rgba(9, 9, 11, 0.08);
}

.giken-hero__meta-block {
    border-color: var(--giken-border);
}

.giken-hero__meta-block span {
    color: var(--giken-muted-foreground);
}

.giken-band__grid,
.giken-strength-list {
    gap: 16px;
    background: transparent;
}

.giken-band__item,
.giken-strength-card,
.giken-strength-card:first-child {
    border: 1px solid var(--giken-border);
    border-radius: var(--giken-radius);
    background: var(--giken-card);
    box-shadow: 0 1px 2px rgba(9, 9, 11, 0.04);
}

.giken-band__item span,
.giken-flow-item__step {
    color: var(--giken-muted-foreground);
}

.giken-section__header {
    max-width: 640px;
}

.giken-section__header h2,
.giken-cta h2 {
    max-width: 13em;
}

.giken-service-card__heading,
.giken-service-card__body,
.giken-service-card__list {
    border-radius: var(--giken-radius);
}

.giken-flow-list,
.giken-faq-list {
    border-top-color: var(--giken-border);
}

.giken-flow-item,
.giken-faq-item,
.giken-section--accent~.giken-section .giken-flow-item,
.giken-section--accent~.giken-section .giken-faq-item,
.giken-section--accent~.giken-section .giken-flow-item:first-child,
.giken-section--accent~.giken-section .giken-faq-item:first-child {
    border-color: var(--giken-border);
}

.giken-cta {
    border: 1px solid var(--giken-border);
    border-radius: var(--giken-radius);
    background: var(--giken-muted);
}

.division-page--giken .division-link-card {
    border-color: var(--giken-border);
    border-radius: var(--giken-radius);
}

@media (max-width: 640px) {
    .giken-button {
        width: 100%;
    }
}

/* Giken depth and motion pass */
.division-page--giken {
    --giken-accent: #c47a24;
    --giken-accent-soft: #fff3e3;
    --giken-accent-ink: #7c3f12;
    --giken-deep: #16211d;
    --giken-deep-soft: #eef4f1;
    background:
        linear-gradient(180deg, #ffffff 0 720px, transparent 720px),
        radial-gradient(circle at 10% 22%, rgba(196, 122, 36, 0.09), transparent 22rem),
        radial-gradient(circle at 92% 48%, rgba(22, 33, 29, 0.08), transparent 24rem),
        #ffffff;
}

.division-page--giken .page-shell {
    position: relative;
}

.division-page--giken .division-eyebrow {
    color: var(--giken-accent-ink);
}

.division-page--giken .division-eyebrow span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 18px;
    margin-right: 8px;
    border: 1px solid rgba(196, 122, 36, 0.28);
    border-radius: 999px;
    background: rgba(196, 122, 36, 0.08);
    color: var(--giken-accent-ink);
    font-size: 0.62rem;
    letter-spacing: 0;
}

.giken-hero {
    position: relative;
    min-height: clamp(620px, 72vw, 820px);
    display: grid;
    align-items: end;
    padding: clamp(34px, 5vw, 64px);
    overflow: hidden;
    border: 1px solid var(--giken-border);
    border-radius: 10px;
    background:
        linear-gradient(90deg, rgba(9, 9, 11, 0.78) 0%, rgba(9, 9, 11, 0.58) 42%, rgba(9, 9, 11, 0.16) 100%),
        linear-gradient(180deg, rgba(9, 9, 11, 0.12), rgba(9, 9, 11, 0.56)),
        url("../images/giken-hero.png") center / cover no-repeat;
    color: #fff;
}

.giken-hero::before {
    content: "";
    position: absolute;
    top: 7%;
    left: -4%;
    width: 104px;
    height: 104px;
    border: 1px solid rgba(196, 122, 36, 0.22);
    border-radius: 999px;
    pointer-events: none;
}

.giken-hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 34%;
    background: linear-gradient(180deg, transparent, rgba(9, 9, 11, 0.62));
    pointer-events: none;
}

.giken-hero__inner {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, 0.7fr) minmax(320px, 0.45fr);
    align-items: end;
    gap: clamp(28px, 5vw, 70px);
    width: 100%;
}

.giken-hero__copy {
    padding: 0;
}

.giken-hero__title {
    color: #fff;
    text-wrap: balance;
}

.giken-hero__title::after {
    content: "";
    display: block;
    width: 72px;
    height: 3px;
    margin-top: 28px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--giken-accent), rgba(196, 122, 36, 0));
}

.giken-hero__lead {
    color: rgba(255, 255, 255, 0.78);
}

.giken-hero__tags li {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.11);
    color: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(10px);
}

.giken-hero__tags li:first-child {
    border-color: rgba(240, 181, 107, 0.38);
    background: rgba(196, 122, 36, 0.28);
    color: #fff3e3;
}

.giken-hero .division-eyebrow {
    color: #f0b56b;
}

.giken-hero .giken-button--ghost {
    border-color: rgba(255, 255, 255, 0.26);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(10px);
}

.giken-hero .giken-button--ghost:hover {
    border-color: rgba(255, 255, 255, 0.55);
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.giken-hero__visual {
    position: absolute;
    inset: 0;
    min-height: 0;
    padding: 0;
    pointer-events: none;
}

.giken-photo-placeholder {
    overflow: hidden;
    transition: transform 0.45s ease, box-shadow 0.45s ease, filter 0.45s ease;
}

.giken-hero__visual {
    position: relative;
}

.giken-hero__visual-label {
    position: absolute;
    z-index: 2;
    top: clamp(22px, 3vw, 34px);
    right: clamp(18px, 3vw, 34px);
    margin: 0;
    padding: 6px 9px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    border-radius: 999px;
    background: rgba(9, 9, 11, 0.24);
    color: rgba(255, 255, 255, 0.72);
    font-family: var(--font-display);
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    backdrop-filter: blur(8px);
}

.giken-hero__meta {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    align-self: end;
    width: 100%;
    margin: 0;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
    box-shadow: none;
    backdrop-filter: blur(16px);
}

.giken-hero__meta-block {
    min-height: 98px;
    border-color: rgba(255, 255, 255, 0.14);
}

.giken-hero__meta-block span {
    color: rgba(255, 255, 255, 0.58);
}

.giken-hero__meta-block strong {
    color: #fff;
}

.giken-photo-placeholder::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 38%, rgba(196, 122, 36, 0.1));
    opacity: 0;
    transition: opacity 0.45s ease;
    pointer-events: none;
}

.giken-hero__visual:hover .giken-photo-placeholder,
.giken-service-card:hover .giken-photo-placeholder,
.giken-section--accent:hover .giken-wide-photo {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(9, 9, 11, 0.11);
    filter: saturate(1.04) contrast(1.02);
}

.giken-hero__visual:hover .giken-photo-placeholder::after,
.giken-service-card:hover .giken-photo-placeholder::after,
.giken-section--accent:hover .giken-wide-photo::after {
    opacity: 1;
}

.giken-button--primary {
    border-color: var(--giken-deep);
    background: var(--giken-deep);
}

.giken-button--primary:hover {
    border-color: var(--giken-accent);
    background: var(--giken-accent);
}

.giken-button--ghost:hover {
    border-color: var(--giken-accent);
    background: var(--giken-accent-soft);
}

.giken-hero__tags li,
.giken-service-card__list li {
    background: linear-gradient(180deg, #fff, var(--giken-muted));
}

.giken-hero__tags li:first-child,
.giken-service-card__list li:first-child {
    border-color: rgba(196, 122, 36, 0.28);
    background: var(--giken-accent-soft);
    color: var(--giken-accent-ink);
}

.giken-band {
    position: relative;
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: clamp(34px, 5vw, 58px) max(20px, calc((100vw - 1240px) / 2));
    background:
        linear-gradient(90deg, rgba(196, 122, 36, 0.08), transparent 42%),
        var(--giken-deep-soft);
}

.giken-band__item {
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(10px);
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.giken-band__item:hover {
    transform: translateY(-2px);
    border-color: rgba(196, 122, 36, 0.28);
    box-shadow: 0 14px 34px rgba(9, 9, 11, 0.08);
}

.giken-band__item strong {
    color: var(--giken-deep);
}

.giken-section--services {
    position: relative;
    z-index: 0;
}

.giken-section--services::before,
.giken-section--flow::before,
.giken-section--faq::before {
    content: "";
    position: absolute;
    inset: -64px calc(50% - 50vw) -64px;
    z-index: -1;
    pointer-events: none;
}

.giken-section--services::before {
    background: linear-gradient(180deg, transparent, rgba(244, 244, 245, 0.72) 12%, rgba(244, 244, 245, 0.72) 88%, transparent);
}

.giken-service-card {
    position: relative;
}

.giken-service-card::before {
    content: "";
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: calc(100% + clamp(12px, 2vw, 24px));
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(196, 122, 36, 0.32), transparent);
}

.giken-service-card:nth-child(even)::before {
    right: calc(100% + clamp(12px, 2vw, 24px));
    left: auto;
}

.giken-service-card__copy {
    color: var(--giken-accent-ink);
}

.giken-service-card h3,
.giken-strength-card h3,
.giken-flow-item h3,
.giken-faq-item h3 {
    text-wrap: balance;
}

.giken-section--accent {
    margin-right: calc(50% - 50vw);
    margin-left: calc(50% - 50vw);
    padding: clamp(70px, 9vw, 116px) max(20px, calc((100vw - 1240px) / 2));
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 38%),
        var(--giken-deep);
    color: #fff;
}

.giken-section--accent .division-eyebrow {
    color: #f0b56b;
}

.giken-section--accent .giken-section__header h2,
.giken-section--accent .giken-strength-card h3 {
    color: #fff;
}

.giken-section--accent .giken-strength-card,
.giken-section--accent .giken-strength-card:first-child {
    gap: 16px;
    min-height: 0;
    padding: clamp(24px, 3.2vw, 36px);
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    box-shadow: none;
}

.giken-section--accent .giken-strength-list {
    gap: clamp(12px, 1.8vw, 18px);
}

.giken-section--accent .giken-strength-card h3 {
    line-height: 1.42;
}

.giken-section--accent .giken-strength-card p {
    max-width: 34rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.68);
}

.giken-section--accent .giken-wide-photo {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.24);
}

.giken-section--flow,
.giken-section--faq {
    position: relative;
    z-index: 0;
}

.giken-section--flow::before {
    background:
        linear-gradient(90deg, rgba(196, 122, 36, 0.08), transparent 34%),
        #fbfaf7;
}

.giken-section--faq::before {
    background:
        linear-gradient(90deg, transparent, rgba(22, 33, 29, 0.045) 48%, transparent),
        #fff;
}

.giken-flow-item,
.giken-faq-item {
    transition: background-color 0.25s ease, padding-left 0.25s ease, padding-right 0.25s ease;
}

.giken-flow-item:hover,
.giken-faq-item:hover {
    padding-right: 18px;
    padding-left: 18px;
    background: rgba(255, 255, 255, 0.72);
}

.giken-flow-item__step {
    color: var(--giken-accent-ink);
}

.giken-cta {
    background:
        linear-gradient(135deg, rgba(196, 122, 36, 0.13), transparent 40%),
        var(--giken-muted);
}

.giken-cta__actions {
    display: grid;
    justify-items: end;
    gap: 12px;
}

.giken-cta__actions span {
    max-width: 18rem;
    color: var(--giken-muted-foreground);
    font-size: 0.78rem;
    line-height: 1.7;
    text-align: right;
}

.division-page--giken .division-link-card:hover {
    background: var(--giken-deep);
    border-color: var(--giken-deep);
}

.division-page--giken .js-reveal {
    transition-duration: 0.85s;
    transition-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
}

.division-page--giken .giken-service-card.js-reveal:nth-child(2) {
    transition-delay: 0.08s;
}

.division-page--giken .giken-service-card.js-reveal:nth-child(3) {
    transition-delay: 0.16s;
}

@media (prefers-reduced-motion: reduce) {

    .division-page--giken .js-reveal,
    .giken-photo-placeholder,
    .giken-photo-placeholder::after,
    .giken-flow-item,
    .giken-faq-item {
        transition: none;
    }
}

@media (max-width: 980px) {

    .giken-band,
    .giken-section--accent {
        margin-right: calc(50% - 50vw);
        margin-left: calc(50% - 50vw);
    }

    .giken-service-card::before {
        content: none;
    }
}

@media (max-width: 640px) {

    .giken-hero::before,
    .giken-hero__title::after {
        display: none;
    }

    .giken-flow-item:hover,
    .giken-faq-item:hover {
        padding-right: 0;
        padding-left: 0;
        background: transparent;
    }

    .giken-hero__visual-label {
        top: 54px;
        right: 10px;
        max-width: calc(100% - 20px);
        white-space: normal;
    }

    .giken-cta__actions {
        justify-items: start;
    }

    .giken-cta__actions span {
        text-align: left;
    }
}

/* Hero background final overrides */
.division-page--giken .giken-hero {
    min-height: clamp(660px, 72vw, 820px);
    display: grid;
    align-items: end;
    padding: clamp(42px, 5vw, 68px);
    overflow: hidden;
    border: 1px solid var(--giken-border);
    border-radius: 10px;
    background:
        linear-gradient(90deg, rgba(9, 9, 11, 0.78) 0%, rgba(9, 9, 11, 0.58) 42%, rgba(9, 9, 11, 0.16) 100%),
        linear-gradient(180deg, rgba(9, 9, 11, 0.12), rgba(9, 9, 11, 0.56)),
        url("../images/giken-hero.png") center / cover no-repeat;
    color: #fff;
}

.division-page--giken .giken-hero__inner {
    position: relative;
    z-index: 1;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.38fr);
    align-items: end;
    column-gap: clamp(36px, 6vw, 92px);
    row-gap: 28px;
    min-height: 0;
    width: 100%;
}

.division-page--giken .giken-hero__copy {
    padding: 0;
}

.division-page--giken .giken-hero__visual {
    position: absolute;
    inset: 0;
    min-height: 0;
    padding: 0;
    pointer-events: none;
}

.division-page--giken .giken-hero__title {
    max-width: 10.8em;
    color: #fff;
    word-break: keep-all;
    overflow-wrap: normal;
}

.division-page--giken .giken-hero__lead {
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.78);
}

.division-page--giken .giken-hero__actions {
    margin-top: 32px;
}

.division-page--giken .giken-hero__tags {
    max-width: 34rem;
    margin-top: 24px;
}

.division-page--giken .giken-hero__tags li {
    border-color: rgba(255, 255, 255, 0.56);
    background: rgba(255, 255, 255, 0.86);
    color: #18181b;
    box-shadow: 0 8px 20px rgba(9, 9, 11, 0.12);
    backdrop-filter: blur(10px);
}

.division-page--giken .giken-hero__tags li:first-child {
    border-color: rgba(240, 181, 107, 0.72);
    background: rgba(255, 243, 227, 0.94);
    color: var(--giken-accent-ink);
}

.division-page--giken .giken-hero__visual-label {
    position: static;
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    margin: 0 0 12px;
    text-align: left;
}

.division-page--giken .giken-hero__meta {
    position: relative;
    right: auto;
    bottom: auto;
    left: auto;
    align-self: end;
    width: 100%;
    max-width: 480px;
    margin: 0;
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.11);
    color: #fff;
    box-shadow: none;
    backdrop-filter: blur(16px);
}

.division-page--giken .giken-hero__meta-block {
    min-height: 92px;
    padding: 16px;
    border-color: rgba(255, 255, 255, 0.14);
}

.division-page--giken .giken-hero__meta-block span {
    color: rgba(255, 255, 255, 0.58);
}

.division-page--giken .giken-hero__meta-block strong {
    color: #fff;
}

@media (max-width: 980px) {
    .division-page--giken .giken-hero__inner {
        grid-template-columns: 1fr;
    }

    .division-page--giken .giken-hero__meta {
        max-width: 640px;
    }

    .division-page--giken .giken-hero__title {
        max-width: 12em;
        font-size: clamp(2.7rem, 8.2vw, 4.3rem);
    }
}

@media (max-width: 640px) {
    .division-page--giken .giken-hero {
        min-height: 720px;
        padding: 28px 20px;
        border-radius: 8px;
        background:
            linear-gradient(180deg, rgba(9, 9, 11, 0.7) 0%, rgba(9, 9, 11, 0.54) 46%, rgba(9, 9, 11, 0.72) 100%),
            url("../images/giken-hero.png") center / cover no-repeat;
    }

    .division-page--giken .giken-hero__meta {
        width: 100%;
        max-width: none;
        grid-template-columns: 1fr;
    }

    .division-page--giken .giken-hero__title {
        max-width: none;
        font-size: clamp(2.15rem, 9.2vw, 3.35rem);
        line-height: 1.18;
    }

    .division-page--giken .giken-hero__meta-block {
        min-height: auto;
        padding: 12px 14px;
    }

    .division-page--giken .giken-hero__visual-label {
        max-width: 100%;
        text-align: left;
    }
}

.division-page--giken .giken-band {
    margin-top: clamp(52px, 7vw, 84px);
}

/* ============================================================
   Real Estate Page
   ============================================================ */

.division-page--realestate {
    background: #fff;
    color: #111;
    padding: 0 0 clamp(80px, 10vw, 120px);
}

.division-page--realestate .page-shell {
    position: relative;
    width: min(1080px, calc(100vw - 40px));
}

/* Hero */

.realestate-hero {
    background: #fff;
    color: #000;
    overflow-x: clip;
}

.realestate-hero__shell {
    width: min(1080px, calc(100vw - 40px));
    margin: 0 auto;
    padding-top: 44px;
}

.realestate-breadcrumb {
    color: rgba(0, 0, 0, 0.4);
    width: 1164px;
}

.realestate-breadcrumb a {
    color: inherit;
}

.realestate-hero__content {
    background: #f2f2f2;
    margin-inline: calc(50% - 50vw);
    padding: 0 calc(50vw - 50%) clamp(72px, 9vw, 120px);
}

/* 見出しラベル（DMM: コーポレートメッセージ相当） */
.realestate-hero__heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    padding: 78px 0 24px;
}

.realestate-hero__label {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(1080px, calc(100vw - 40px));
    margin: 0 auto;
}

@media (max-width: 980px) {
    .realestate-hero__label {
        width: min(1000px, calc(100vw - 40px));
    }
}

@media (max-width: 640px) {
    .realestate-hero__label {
        width: min(100vw - 42px, 100%);
    }
}

.realestate-hero__label svg {
    width: 1em;
    height: 1em;
    margin-right: -8px;
    margin-bottom: -3px;
    vertical-align: middle;
    fill: currentColor;
}

/* メイン：左列（コピー＋ブランド）＋右列（メッセージ縦中央） */
.realestate-hero__main {
    display: grid;
    grid-template-columns: 51% 1fr;
    grid-template-rows: auto auto;
    column-gap: clamp(16px, 2.4vw, 42px);
}

.realestate-hero__copy {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.realestate-hero__catchphrase {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(40px, 6.4vw, 82px);
    font-weight: 800;
    line-height: 1.5;
    letter-spacing: 0.3em;
    color: #000;
}

.realestate-hero__message {
    grid-column: 2;
    grid-row: 1 / 3;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(22px, 2.4vw, 32px);
}

.realestate-hero__message p {
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(15px, 1.7vw, 22px);
    line-height: 2;
    font-weight: 700;
    color: #000;
}

.realestate-hero__brand {
    grid-column: 1;
    grid-row: 2;
    margin: clamp(30px, 3.4vw, 44px) 0 0;
}

.realestate-hero__brand img {
    display: block;
    width: calc(92% - 12px);
    height: auto;
    max-width: 620px;
}

/* Links */
.division-page--realestate .realestate-links__section {
    position: relative;
}

.realestate-links {
    padding-top: clamp(72px, 9vw, 112px);
}

.realestate-links__section {
    margin-top: clamp(56px, 7vw, 88px);
}

.realestate-links__section:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.realestate-links__header {
    margin-bottom: clamp(24px, 3vw, 40px);
}

.realestate-links__header h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.6vw, 2.55rem);
    font-weight: 700;
    line-height: 1.16;
    letter-spacing: -0.035em;
    color: #111;
}

.realestate-links__lead {
    margin: clamp(10px, 1.2vw, 14px) 0 0;
    font-family: var(--font-body);
    font-size: clamp(0.78rem, 0.95vw, 0.9rem);
    line-height: 1.8;
    color: rgba(17, 17, 17, 0.55);
}

/* LINEバッジ */
.realestate-sns-card__note {
    position: absolute;
    top: clamp(10px, 1.2vw, 14px);
    left: clamp(10px, 1.2vw, 14px);
    padding: 4px 9px;
    background: #fff;
    color: #06c755;
    font-family: var(--font-body);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.4;
    border-radius: 2px;
}

.realestate-links__grid {
    display: grid;
    gap: clamp(14px, 1.8vw, 22px);
    margin: 0 auto;
}

.realestate-links__grid--search {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    position: relative;
}

.realestate-links__grid--sns {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 400px;
}

.realestate-link-card {
    display: block;
    overflow: hidden;
    border: 1px solid #e8e8e3;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.realestate-link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(17, 17, 17, 0.09);
    border-color: #bbb;
}

.realestate-link-card img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* 物件検索カード（ブランドカラー背景＋ロゴ自然サイズ） */
.realestate-link-card--search {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: none;
}

.realestate-link-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(110px, 11vw, 150px);
    overflow: hidden;
}

/* HOMES：ブランドオレンジ */
.realestate-links__grid--search .realestate-link-card:nth-child(1) .realestate-link-card__logo {
    background: #f05c1e;
}

/* AtHome：ホワイト */
.realestate-links__grid--search .realestate-link-card:nth-child(2) .realestate-link-card__logo {
    background: #fff;
    border: 1px solid #e8e8e2;
    border-bottom: 1px solid #e8e8e2;
}

.realestate-link-card__logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 52%;
    max-height: 44px;
    object-fit: contain;
    transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.realestate-link-card--search:hover .realestate-link-card__logo img {
    transform: scale(1.06);
}

.realestate-link-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-family: var(--font-display);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(17, 17, 17, 0.32);
}

.realestate-link-card__body {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.2vw, 14px);
    padding: clamp(16px, 1.8vw, 22px) clamp(16px, 1.8vw, 22px);
    background: #fff;
    border: 1px solid #e8e8e2;
    border-top: none;
    flex: 1;
}

.realestate-link-card__desc {
    display: block;
    font-family: var(--font-body);
    font-size: clamp(0.7rem, 0.82vw, 0.8rem);
    line-height: 1.75;
    font-weight: 400;
    color: rgba(17, 17, 17, 0.6);
}

.realestate-link-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    font-size: clamp(0.7rem, 0.8vw, 0.76rem);
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #111;
    padding-bottom: 2px;
    border-bottom: 1px solid currentColor;
    transition: gap 0.2s ease, opacity 0.2s ease;
    align-self: flex-start;
}

.realestate-link-card--search:hover .realestate-link-card__cta {
    gap: 10px;
    opacity: 0.6;
}

/* SNSボタンの背景 */
.realestate-link-card--sns {
    aspect-ratio: 2 / 2;
    background: var(--sns-color, #111);
    border: none;
    overflow: hidden;
    position: relative;
    border-radius: 50%;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.realestate-link-card--sns:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

.realestate-sns-card__inner {
    display: grid;
    grid-template-rows: 1fr auto;
    width: 100%;
    height: 100%;
    color: #fff;
}

/* アイコンエリア（中央） */
.realestate-sns-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 2vw, 24px);
}

.realestate-sns-card__icon svg {
    display: block;
    width: clamp(44px, 5.5vw, 64px);
    height: clamp(44px, 5.5vw, 64px);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.realestate-link-card--sns:hover .realestate-sns-card__icon svg {
    transform: scale(1.18);
}

.realestate-link-card--sns:hover .realestate-sns-card__name::after {
    opacity: 1;
    transform: translate(2px, -2px);
}

/* Responsive */

@media (max-width: 980px) {

    .realestate-hero__heading {
        padding: 24px 0;
        background-color: #fff;
    }

    .realestate-hero__main {
        display: flex;
        flex-wrap: wrap;
        /* margin: 0 8px; */
    }

    .realestate-hero__copy {
        flex: 0 0 100%;
    }

    .realestate-hero__message {
        flex: 0 0 100%;
        margin-top: clamp(28px, 5vw, 44px);
    }

    .realestate-hero__brand {
        flex: 0 0 100%;
        margin-top: clamp(30px, 5vw, 44px);
    }
}

@media (max-width: 640px) {
    .realestate-hero__catchphrase {
        font-size: clamp(30px, 9vw, 42px);
        letter-spacing: 0.4em;
    }

    .realestate-links__grid--search {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
    404 Not Found Page
   ============================================================ */

.page-404 {
    padding: 66px 21px 104px;
    margin: 0 auto;
    text-align: center;
}

.page-404__title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    text-align: center;
}

.page-404__lead {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
}

.page-404__desc {
    font-size: 0.9rem;

    font-weight: 700;
    line-height: 2;
    margin: 39px auto 0;
    padding: 0 216px;
    text-align: left;
}

@media (max-width: 980px) {
    .page-404__lead {
        font-size: 1.2rem;
    }

    .page-404__desc {
        padding: 0 8px;
    }
}
