/* スマホ・タブレット用CSS：画面幅860px以下。共通設定は style.css。 */

/* ▼ (max-width:1100px) */
@media (max-width:1100px) {
    .header {
        gap: 22px;
    }

    .nav {
        gap: 18px;
        font-size: 10px;
    }

    .brand {
        width: 174px;
    }

    .header-contact {
        padding: 13px 16px;
        font-size: 10px;
    }

    .hero h1 {
        font-size: 89px;
    }

    .hero-copy {
        top: 24%;
    }

    .future-grid {
        gap: 7%;
    }

    .services-layout {
        gap: 6%;
    }

    .service-row summary strong {
        font-size: 17px;
    }

    .credentials strong {
        font-size: 47px;
    }

    .process-grid {
        gap: 25px;
    }

    .process-grid h3 {
        font-size: 16px;
    }

}

/* ▼ (max-width:860px) */
@media (max-width:860px) {
    .nav {
        display: none;
    }

    .header {
        height: 80px;
    }

    .header-contact {
        margin-left: auto;
    }

    .menu-toggle {
        display: block;
    }

    .header.scrolled {
        height: 68px;
    }

    .mobile-menu {
        display: flex;
        position: fixed;
        inset: 0;
        background: var(--paper);
        padding: 115px var(--pad) 35px;
        flex-direction: column;
        z-index: 35;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity .2s,transform .2s,visibility .2s;
    }

    .mobile-menu.open {
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .mobile-menu>.eyebrow {
        font-size: 9px;
        color: #858e9a;
        margin-bottom: 25px;
    }

    .mobile-menu>a {
        padding: 21px 0;
        border-bottom: 1px solid var(--line);
        font-size: 19px;
        display: flex;
        justify-content: space-between;
    }

    .mobile-menu>a>span {
        font-size: 10px;
        color: var(--accent);
    }

    .mobile-menu>button {
        margin-top: 30px;
        padding: 20px;
        background: var(--accent-surface);
        color: #fff;
        border-radius: 3px;
        font-size: 12px;
    }

    .menu-open .header {
        color: var(--ink);
        background: var(--paper);
    }

    .menu-open .header .brand img {
        filter: none;
    }

    .menu-toggle[aria-expanded=true] span:first-child {
        transform: translateY(3.5px) rotate(45deg);
    }

    .menu-toggle[aria-expanded=true] span:last-child {
        transform: translateY(-3.5px) rotate(-45deg);
    }

    .hero h1 {
        font-size: 83px;
    }

    .hero-chapter {
        display: none;
    }

    .hero-explore {
        width: 108px;
        height: 108px;
    }

    .intro-grid {
        gap: 6%;
    }

    .intro h2 {
        font-size: 45px;
    }

    .intro-body {
        font-size: 12px;
    }

    .intro-body .lead {
        font-size: 15px;
    }

    .credentials strong {
        font-size: 40px;
    }

    .credentials strong span {
        font-size: 13px;
    }

    .credentials>div {
        padding-left: 23px;
    }

    .work-grid {
        column-gap: 24px;
    }

    .legacy-screen {
        width: 96%;
        left: 2%;
        top: 30%;
    }

    .section-heading>p {
        font-size: 11px;
    }

    .services-layout {
        grid-template-columns: 1fr 1.2fr;
        gap: 6%;
    }

    .service-row summary strong {
        font-size: 15px;
    }

    .service-row summary small {
        font-size: 7px;
    }

    .service-row summary {
        padding: 27px 0;
    }

    .service-detail {
        font-size: 11px;
    }

    .specialty {
        padding: 25px;
        gap: 20px;
    }

    .specialty-cta {
        font-size: 10px;
    }

    .specialty-cta b {
        margin-left: 8px;
    }

    .future-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6%;
    }

    .future h2 {
        font-size: 28px;
    }

    .future-promise h3 {
        font-size: 14px;
    }

    .future-promise>p {
        font-size: 11px;
    }

    .process .section-heading {
        display: block;
    }

    .process .section-heading>p {
        margin-top: 20px;
    }

    .process-grid {
        grid-template-columns: 1fr 1fr;
        gap: 35px;
    }

    .company {
        gap: 6%;
    }

    .company-info>div {
        grid-template-columns: 87px 1fr;
        font-size: 10px;
    }

    .company-left h2 {
        font-size: 32px;
    }

    .contact-main>span:first-child {
        font-size: 58px;
    }

    .footer-top>div {
        gap: 20px;
    }

    .footer-top .back-top {
        margin-left: 0;
    }

}

/* ▼ (max-width:600px) */
@media (max-width:600px) {
    :root {
        --pad: 24px;
    }

    html {
        scroll-padding-top: 67px;
    }

    .section-top .small-note {
        display: none;
    }

    .eyebrow {
        font-size: 9px;
        gap: 13px;
    }

    .header {
        height: 76px;
        gap: 12px;
    }

    .brand {
        width: 161px;
    }

    .header-contact {
        font-size: 9px;
        padding: 10px 12px;
    }

    .header-contact span {
        font-size: 13px;
    }

    .menu-toggle {
        width: 29px;
        flex-shrink: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .menu-toggle span {
        width: 25px;
    }

    .hero-sticky {
        height: 100svh;
    }

    .hero-visual {
        inset: 34% -50% -1%;
        transform-origin: 50% 65%;
    }

    .hero-visual img {
        object-position: 52% 50%;
    }

    .hero-shade {
        background: linear-gradient(180deg,#05090f 0%,#05090ff0 25%,#05090f11 65%,#05090f88 86%,#05090fee 100%);
    }

    .hero-copy {
        top: 23%;
        left: 24px;
        right: 24px;
    }

    .hero-kicker {
        font-size: 8px;
        letter-spacing: .12em;
        gap: 8px;
    }

    .hero-location {
        display: none;
    }

    .live-dot {
        width: 5px;
        height: 5px;
    }

    .hero h1 {
        font-size: clamp(49px,11.9vw,71px);
        letter-spacing: -.065em;
        line-height: 1.4;
    }

    .hero-description {
        font-size: 10px;
        margin-top: 24px;
        gap: 12px;
        line-height: 2;
    }

    .mini-line {
        width: 17px;
        margin-top: 10px;
    }

    .hero-explore {
        right: 24px;
        bottom: 17%;
        width: 88px;
        height: 88px;
    }

    .explore-arrow {
        font-size: 22px;
        margin-top: 2px;
    }

    .hero-bottom {
        left: 24px;
        right: 24px;
        bottom: 27px;
        font-size: 6px;
        letter-spacing: .05em;
    }

    .hero-bottom>span:last-child {
        display: none;
    }

    .scroll-hint {
        gap: 8px;
        font-size: 6px;
    }

    .scroll-hint i {
        height: 24px;
    }

    .intro {
        padding-top: 57px;
        padding-bottom: 57px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        margin-top: 40px;
        gap: 0;
    }

    .intro h2 {
        font-size: 42px;
        line-height: 1.5;
    }

    .intro-orbit {
        display: none;
    }

    .intro-body {
        margin-top: 32px;
        font-size: 12px;
        line-height: 2.15;
        padding: 0;
    }

    .intro-body .lead {
        font-size: 15px;
        line-height: 2;
    }

    .intro-body p {
        margin-bottom: 23px;
    }

    .intro-body .text-link {
        font-size: 11px;
        min-width: 208px;
        margin-top: 1px;
    }

    .credentials {
        padding-top: 25px;
        grid-template-columns: 1fr 1fr;
        row-gap: 25px;
    }

    .credentials strong {
        font-size: 40px;
    }

    .credentials strong span {
        font-size: 12px;
        margin-left: 5px;
    }

    .credentials>div {
        padding-left: 20px;
    }

    .credentials>div:last-child {
        grid-column: 1/-1;
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-top: 25px;
    }

    .credentials>div:last-child strong {
        font-size: 30px;
    }

    .credentials p {
        font-size: 9px;
        margin-top: 11px;
    }

    .works {
        padding-top: 56px;
        padding-bottom: 55px;
    }

    .section-heading {
        display: block;
        margin: 35px 0 25px;
    }

    .section-heading h2 {
        font-size: 31px;
        line-height: 1.6;
    }

    .section-heading>p {
        margin-top: 20px;
        padding: 0;
        font-size: 11px;
    }

    .work-filters {
        gap: 21px;
        overflow-x: auto;
        margin-bottom: 26px;
    }

    .work-filters button {
        font-size: 10px;
        padding-bottom: 15px;
    }

    .work-grid {
        row-gap: 31px;
    }

    .work-caption {
        margin-top: 15px;
    }

    .work-caption-arrow {
        font-size: 21px;
    }

    .browser-frame {
        top: 17%;
        left: 11%;
        width: 78%;
    }

    .browser-bar {
        height: 20px;
    }

    .legacy-screen {
        width: 88%;
        left: 6%;
        top: 26%;
    }

    .work-open {
        display: none;
    }

    .works-note {
        font-size: 9px;
        margin-top: 30px;
    }

    .services {
        padding-top: 57px;
        padding-bottom: 55px;
    }

    .services-layout {
        grid-template-columns: 1fr;
        margin-top: 37px;
        gap: 36px;
    }

    .services-title {
        position: static;
    }

    .services-title h2 {
        font-size: 32px;
        line-height: 1.5;
    }

    .services-title>p {
        font-size: 11px;
        margin-top: 20px;
    }

    .services-title .text-link {
        font-size: 11px;
        margin-top: 12px;
    }

    .service-compass {
        display: none;
    }

    .service-row summary {
        padding: 28px 0;
    }

    .service-row summary small {
        font-size: 8px;
        margin-bottom: 12px;
    }

    .service-row summary strong {
        font-size: 17px;
    }

    .service-number {
        font-size: 9px;
    }

    .service-detail {
        font-size: 12px;
    }

    .tags span {
        font-size: 9px;
    }

    .specialty {
        margin-top: 36px;
        padding: 24px 20px;
        gap: 17px;
        flex-wrap: wrap;
    }

    .specialty-icon {
        font-size: 46px;
    }

    .specialty h3 {
        font-size: 19px;
    }

    .specialty p {
        font-size: 10px;
        line-height: 1.8;
    }

    .specialty-cta {
        width: 100%;
        margin-left: 63px;
        font-size: 10px;
    }

    .specialty-cta b {
        margin-left: 24px;
    }

    .future-content {
        padding-top: 50px;
        padding-bottom: 58px;
    }

    .future-grid {
        grid-template-columns: 1fr;
        margin-top: 40px;
        gap: 35px;
    }

    .future-kicker {
        font-size: 7px;
        letter-spacing: .1em;
        margin-bottom: 21px;
    }

    .future h2 {
        font-size: 28px;
        line-height: 1.7;
    }

    .future-grid>div>p:last-child {
        font-size: 11px;
        margin-top: 21px;
    }

    .future-promise {
        padding-top: 27px;
    }

    .plan-mark {
        margin-bottom: 20px;
    }

    .plan-mark img {
        width: 121px;
        height: 68px;
    }

    .future-promise h3 {
        font-size: 15px;
    }

    .future-promise>p {
        font-size: 11px;
    }

    .future-promise .text-link {
        font-size: 10px;
        margin-top: 5px;
        min-width: 215px;
    }

    .future-visual img {
        object-position: 50% 50%;
        opacity: .35;
    }

    .process {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .process .section-heading {
        margin: 35px 0 27px;
    }

    .process .section-heading h2 {
        font-size: 24px;
        line-height: 1.6;
    }

    .process .section-heading>p {
        font-size: 10px;
        margin-top: 12px;
    }

    .process-grid {
        gap: 29px 22px;
    }

    .process-grid li {
        padding-top: 18px;
    }

    .process-grid li>span {
        font-size: 8px;
    }

    .process-grid h3 {
        font-size: 15px;
        margin-top: 18px;
    }

    .process-grid p {
        font-size: 10px;
        line-height: 1.9;
        margin-top: 14px;
    }

    .company {
        padding-top: 50px;
        padding-bottom: 55px;
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .company-left h2 {
        font-size: 32px;
        margin-top: 27px;
    }

    .company-left>p {
        font-size: 12px;
        margin-top: 17px;
    }

    .company-info>div {
        font-size: 11px;
        grid-template-columns: 92px 1fr;
        padding: 17px 0;
    }

    .company-info>div:first-child {
        border-top: 1px solid var(--line);
        padding-top: 17px;
    }

    .contact {
        padding-top: 36px;
        padding-bottom: 37px;
    }

    .contact-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }

    .contact-top .eyebrow {
        font-size: 7px;
        letter-spacing: .1em;
    }

    .contact-status {
        font-size: 8px;
    }

    .contact-main {
        padding: 34px 0 30px;
        align-items: flex-end;
    }

    .contact-main>span:first-child {
        font-size: 40px;
        line-height: 1.5;
    }

    .contact-arrow {
        font-size: 64px;
        padding-bottom: 5px;
    }

    .contact-bottom {
        padding-top: 22px;
        display: block;
    }

    .contact-bottom p {
        font-size: 10px;
    }

    .contact-pill {
        margin-top: 22px;
        font-size: 11px;
        padding: 16px 21px;
    }

    .footer {
        padding-top: 36px;
        padding-bottom: 20px;
    }

    .footer .brand {
        width: 170px;
    }

    .footer-top {
        display: block;
    }

    .footer-top>div {
        margin-top: 28px;
        gap: 20px;
        flex-wrap: wrap;
        font-size: 9px;
    }

    .footer-top .back-top {
        margin-left: auto;
        font-size: 7px;
    }

    .footer-bottom {
        display: block;
        margin-top: 28px;
        font-size: 7px;
        line-height: 2;
    }

    .footer-bottom>span {
        display: block;
    }

    .footer-bottom>span:last-child {
        margin-top: 4px;
        color: #fff;
        font-size: 6px;
    }

    .preview-note {
        font-size: 7px;
        margin-top: 21px;
        padding-top: 17px;
    }

    .dialog-inner {
        padding: 36px 24px;
    }

    .dialog-inner h2 {
        font-size: 26px;
    }

    .dialog-intro {
        font-size: 11px;
    }

    .form-pair {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-preview {
        font-size: 10px;
    }

    form label {
        font-size: 11px;
    }

    .privacy-dialog .dialog-inner>p {
        font-size: 12px;
    }

}

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

    * {
        animation: none !important;
        transition: none !important;
    }

    *:before {
        animation: none !important;
        transition: none !important;
    }

    *:after {
        animation: none !important;
        transition: none !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .hero-sticky {
        position: relative;
    }

    .hero-visual {
        will-change: auto;
    }

    .hero-copy {
        will-change: auto;
    }

    .future-visual img {
        will-change: auto;
    }

}

/* ▼ (max-width:390px) */
@media (max-width:390px) {
    .header {
        gap: 9px;
    }

    .header .brand {
        width: 141px;
    }

    .header-contact {
        padding: 10px;
        font-size: 8px;
    }

    .hero h1 {
        font-size: 11.8vw;
    }

    .contact-main>span:first-child {
        font-size: 36px;
    }

    .contact-arrow {
        font-size: 58px;
    }

    .work-filters {
        gap: 18px;
    }

}

/* ▼ (max-width:1100px) */
@media (max-width:1100px) {
    .work-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        column-gap: 27px;
    }

    .work-caption h3 {
        font-size: 16px;
    }

    .values {
        gap: 7%;
    }

    .values-intro h3 {
        font-size: 23px;
    }

    .journey-readout {
        width: 165px;
    }

    .header-contact {
        padding-left: 18px;
        padding-right: 18px;
    }

}

/* ▼ (max-width:600px) */
@media (max-width:600px) {
    .hero {
        height: 310svh;
    }

    .hero-sticky {
        height: 100svh;
        min-height: 640px;
    }

    .journey-end {
        bottom: max(100svh,640px);
    }

    .journey-readout {
        top: auto;
        bottom: 18%;
        width: 145px;
        gap: 11px;
    }

    .journey-readout strong {
        font-size: 21px;
    }

    .journey-readout>span {
        font-size: 6px;
        letter-spacing: .04em;
    }

    .journey-destination {
        top: 24%;
        right: 24px;
    }

    .journey-destination>span {
        font-size: 7px;
    }

    .journey-destination h2 {
        font-size: 37px;
        margin-top: 18px;
        line-height: 1.5;
    }

    .journey-destination p {
        font-size: 11px;
        margin-top: 17px;
    }

    .journey-credit {
        bottom: 63px;
        font-size: 6px;
        right: 24px;
    }

    .yokohama-marker>span {
        font-size: 8px;
    }

    .hero-explore>span:first-child {
        font-size: 9px;
    }

    .values {
        display: block;
        margin-top: 45px;
        padding-top: 32px;
    }

    .values-intro h3 {
        font-size: 24px;
        margin-top: 20px;
    }

    .values-intro>p {
        font-size: 11px;
        margin-top: 16px;
    }

    .values-list {
        margin-top: 28px;
    }

    .values-list li {
        padding: 17px 0;
    }

    .values-list h4 {
        font-size: 15px;
    }

    .values-list p {
        font-size: 10px;
        margin-top: 6px;
    }

    .credentials {
        margin-top: 35px;
    }

    .work-grid {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }

    .work-image {
        aspect-ratio: 1.3;
    }

    .case-number {
        left: 20px;
        top: 18px;
    }

    .work-caption h3 {
        font-size: 16px;
    }

    .work-type {
        font-size: 8px;
    }

    .work-view {
        font-size: 9px;
        margin-top: 26px;
    }

    .field-preview-copy {
        font-size: 27px;
    }

    .header-contact {
        padding-left: 12px;
        padding-right: 12px;
    }

    .contact-words {
        width: 77px;
        height: 77px;
        font-size: 10px;
        margin-bottom: 10px;
    }

    .contact-main {
        gap: 16px;
    }

    .contact-main>span:first-child {
        font-size: 38px;
    }

    .text-link:after {
        margin-left: 28px;
    }

    .journey-scene #map-canvas {
        filter: brightness(.6) saturate(.9);
    }

}

/* ▼ (max-width:390px) */
@media (max-width:390px) {
    .header-contact {
        padding-left: 10px;
        padding-right: 10px;
    }

    .contact-main>span:first-child {
        font-size: 34px;
    }

    .contact-words {
        width: 65px;
        height: 65px;
        font-size: 9px;
    }

    .journey-destination h2 {
        font-size: 34px;
    }

}

/* ▼ (prefers-reduced-motion:reduce) */
@media (prefers-reduced-motion:reduce) {
    .hero {
        height: 100svh;
        min-height: 640px;
    }

    .hero-sticky {
        position: relative;
        height: 100%;
        min-height: 640px;
    }

    .journey-scene {
        display: none;
    }

    .journey-readout {
        display: none;
    }

    .journey-destination {
        display: none;
    }

    .yokohama-marker {
        display: none;
    }

    .journey-credit {
        display: none;
    }

    .journey-end {
        display: none;
    }

    .hero-explore {
        display: none;
    }

}

/* ▼ (hover:hover) and (pointer:fine) */
@media (hover:hover) and (pointer:fine) {
    .motion-card:hover {
        --work-scale: 1.025;
    }

}

/* ▼ (max-width:600px) */
@media (max-width:600px) {
    .values-list li {
        gap: 10px;
    }

    .values-list li>span {
        font-size: 20px;
    }

    .motion-title .title-line-content {
        transition-duration: .75s,.55s;
    }

    .work-grid .motion-card .legacy-screen {
        transform: translate3d(0,var(--work-shift,0px),0);
    }

    .work-grid .motion-card .browser-frame {
        transform: translate3d(0,var(--work-shift,0px),0);
    }

    .work-grid .motion-card .field-preview {
        transform: translate3d(0,var(--work-shift,0px),0);
    }

    .process-grid li {
        transition-delay: 0ms;
    }

}

/* ▼ (prefers-reduced-motion:reduce) */
@media (prefers-reduced-motion:reduce) {
    .motion-title .title-line-content {
        transform: none !important;
        opacity: 1 !important;
    }

    .work-grid .motion-card .legacy-screen {
        transform: none !important;
        will-change: auto !important;
    }

    .work-grid .motion-card .browser-frame {
        transform: none !important;
        will-change: auto !important;
    }

    .work-grid .motion-card .field-preview {
        transform: none !important;
        will-change: auto !important;
    }

    .work-grid .motion-card .screen-clip img {
        transform: none !important;
        will-change: auto !important;
    }

    .process-grid li:before {
        transform: none !important;
    }

}

/* ▼ (max-width:1100px) */
@media (max-width:1100px) {
    .drone-preview-copy {
        font-size: 17px;
    }

}

/* ▼ (max-width:600px) */
@media (max-width:600px) {
    .drone-preview-copy {
        font-size: 16px;
    }

}

/* ▼ (max-width:600px) */
@media (max-width:600px) {
    .hero-business {
        font-size: 14px;
        margin-top: 16px;
        letter-spacing: .02em;
    }

    .hero h1 {
        margin-top: 15px;
    }

    .hero-description {
        margin-top: 20px;
    }

    .hero-work-link {
        bottom: 100px;
        font-size: 14px;
        padding: 0 12px;
    }

    .work-description {
        font-size: 12px;
        line-height: 1.9;
        margin-top: 9px;
    }

}

/* ▼ (max-width:360px) */
@media (max-width:360px) {
    .hero h1 {
        font-size: clamp(43px,13vw,49px);
    }

    .hero-work-link {
        font-size: 13px;
        padding: 0 10px;
    }

}

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

}

/* ▼ (max-width:860px) and (max-height:760px) */
@media (max-width:860px) and (max-height:760px) {
    .hero-copy {
        top: 17%;
    }

    .hero h1 {
        font-size: clamp(43px,8vw,60px);
        line-height: 1.3;
        margin-top: 16px;
    }

    .hero-business {
        margin-top: 12px;
    }

    .hero-description {
        margin-top: 16px;
    }

}

/* ▼ (max-width:860px) */
@media (max-width:860px) {
    .news {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 54px;
        padding-bottom: 56px;
    }

    .news-heading h2 {
        font-size: 28px;
        margin-top: 17px;
    }

}

/* ▼ (max-width:600px) */
@media (max-width:600px) {
    .news-item summary {
        grid-template-columns: minmax(0,1fr) 18px;
        gap: 8px 18px;
        padding: 22px 0;
        min-height: 92px;
    }

    .news-item time {
        grid-column: 1;
        font-size: 12px;
    }

    .news-item h3 {
        grid-column: 1;
        font-size: 14px;
        line-height: 1.8;
    }

    .news-toggle {
        grid-column: 2;
        grid-row: 1 / 3;
        align-self: center;
    }

    .news-body {
        padding: 0 0 24px;
        font-size: 14px;
        line-height: 1.95;
    }

}

/* ▼ (prefers-reduced-motion:reduce) */
@media (prefers-reduced-motion:reduce) {
    .news-toggle {
        transition: none;
    }

}

/* ▼ お知らせ詳細・一覧：スマホ */
.article-page {
    padding-top: 118px;
    padding-bottom: 64px;
}
.news-archive-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
    padding: 24px 0;
}
.entry-content {
    font-size: 15px;
}
