:root {
    --navy: #08285d;
    --blue: #0968d8;
    --red: #e84a52;
    --asx-sky: #e9f8ff;
    --asx-cyan: #10b8ce;
    --asx-green: #23b36a;
    --asx-yellow: #ffc928;
    --asx-line: #d9e8f5;
    --asx-text: #14315b;
    --asx-muted: #60728f;
}

body {
    background: #f7fbff;
    color: var(--asx-text);
}

body > header {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid rgba(11, 116, 209, .16);
    box-shadow: 0 8px 24px rgba(13, 78, 145, .08);
}

body > header .container-1200 {
    height: 72px;
}

body > header button {
    min-height: 44px;
    padding: 0 18px;
    border-radius: 3px;
    background: var(--red);
    color: #fff !important;
}

body > header button svg {
    display: none;
}

body > header button span {
    font-size: 0 !important;
}

body > header button span::before {
    content: "無料相談";
    font-size: 14px;
}

body > footer {
    background: linear-gradient(135deg, #006d7a, #003661) !important;
    color: #fff;
    border: 0;
}

body > footer h4,
body > footer a,
body > footer p,
body > footer li {
    color: rgba(255, 255, 255, .9) !important;
}

body > footer .border-t {
    border-color: rgba(255, 255, 255, .18) !important;
}

.detail-wire {
    background-color: #f7fbff;
    background-image: url('/img/articles/section-bg-map.webp?v=20260526-generated');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: var(--asx-text);
    overflow: visible;
}

.detail-wire .wrap {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.detail-hero {
    position: relative;
    isolation: isolate;
    min-height: 260px;
    border-bottom: 1px solid rgba(11, 116, 209, .13);
    background-color: #dff5ff;
    background: url('/img/top-hero-bg.webp') center center / cover no-repeat;
    overflow: hidden;
}

.detail-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, .88) 0%, rgba(255, 255, 255, .52) 42%, rgba(255, 255, 255, .14) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .08));
}

.detail-hero .wrap {
    min-height: 260px;
    display: grid;
    align-items: center;
}

.detail-hero__content {
    width: min(760px, 100%);
    padding: 36px 0 42px;
}

.detail-hero h1 {
    margin: 0;
    color: var(--asx-text);
    font-size: clamp(22px, 2.4vw, 34px);
    font-weight: 900;
    line-height: 1.3;
    letter-spacing: 0;
    text-wrap: balance;
}

.detail-hero__address {
    margin-top: 8px;
    color: #24456f;
    font-size: clamp(15px, 1.25vw, 18px);
    font-weight: 800;
    line-height: 1.55;
}

.detail-hero p {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin: 14px 0 0;
    padding: 0 14px;
    border: 1px solid rgba(11, 116, 209, .18);
    border-radius: 3px;
    background: rgba(255, 255, 255, .86);
    color: var(--blue);
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 10px 28px rgba(16, 88, 153, .1);
}

.detail-wrap {
    position: relative;
    z-index: 1;
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
    padding: 30px 0 62px;
}

.detail-wrap::before,
.detail-wrap::after {
    content: "";
    position: absolute;
    left: 50%;
    z-index: 0;
    width: 100vw;
    transform: translateX(-50%);
    pointer-events: none;
}

.detail-wrap > * {
    position: relative;
    z-index: 1;
}

.detail-wrap::before {
    top: 0;
    height: 600px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .82) 48%, rgba(255, 255, 255, 0) 100%);
}

.detail-wrap::after {
    display: none;
}

.detail-seo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 0 18px;
}

.detail-seo-card {
    border: 1px solid #d8e2ea;
    background: #fff;
    padding: 14px;
}

.detail-seo-card h2 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.45;
}

.detail-seo-card p {
    margin: 0;
    color: #536b84;
    line-height: 1.7;
    font-size: 13px;
    font-weight: 700;
}

.detail-anchor-nav {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: -52px 0 24px;
    padding: 12px;
    border: 1px solid rgba(11, 116, 209, .12);
    border-radius: 3px;
    background: rgba(255, 255, 255, .92);
    box-shadow: 0 18px 45px rgba(20, 75, 130, .12);
    backdrop-filter: blur(10px);
}

.detail-anchor-nav a {
    padding: 9px 12px;
    border: 1px solid rgba(11, 116, 209, .16);
    border-radius: 3px;
    background: #f8fcff;
    color: var(--asx-text);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.detail-anchor-nav a:hover {
    border-color: rgba(11, 116, 209, .32);
    background: #fff;
    box-shadow: 0 8px 18px rgba(11, 116, 209, .11);
    transform: translateY(-1px);
}

.detail-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
    align-items: start;
    min-width: 0;
}

.detail-main > * {
    min-width: 0;
}

.detail-box,
.summary-sidebar,
.summary-box,
.detail-seo-card,
.school-card {
    min-width: 0;
}

.detail-box {
    border: 1px solid rgba(11, 116, 209, .13);
    border-radius: 3px;
    background: #fff;
    padding: 18px;
    margin-bottom: 24px;
    box-shadow: 0 22px 60px rgba(20, 75, 130, .12);
}

.detail-status {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.detail-status span {
    padding: 7px 11px;
    border: 1px solid rgba(11, 116, 209, .16);
    border-radius: 3px;
    background: #f8fcff;
    color: var(--asx-text);
    font-size: 12px;
    font-weight: 900;
}

.detail-status span:first-child {
    border-color: rgba(35, 179, 106, .22);
    background: #effbf5;
    color: #138550;
}

.detail-gallery {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 252px;
    gap: 10px;
    align-items: stretch;
}

.detail-gallery--single {
    grid-template-columns: minmax(0, 1fr);
}

.detail-gallery--single .detail-main-photo {
    min-height: 520px;
}

.detail-main-photo {
    position: relative;
    min-height: 430px;
    border: 1px solid rgba(11, 116, 209, .13);
    border-radius: 3px;
    background: #eef3f6;
    display: grid;
    place-items: center;
    color: #6b7f93;
    font-weight: 900;
    overflow: hidden;
    box-shadow: 0 18px 42px rgba(8, 40, 93, .12);
    text-decoration: none;
}

.detail-main-photo--image img,
.detail-thumb--image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-main-photo--image img {
    transition: transform .28s ease, filter .28s ease;
}

.detail-main-photo--image:hover img {
    transform: scale(1.025);
    filter: saturate(1.04);
}

.detail-gallery-badge,
.detail-gallery-caption,
.detail-thumb-index,
.detail-gallery-open {
    position: absolute;
    z-index: 2;
    border-radius: 3px;
    color: #fff;
    line-height: 1;
}

.detail-gallery-badge {
    top: 12px;
    left: 12px;
    padding: 8px 10px;
    background: rgba(8, 40, 93, .86);
    font-size: 12px;
    font-weight: 900;
}

.detail-gallery-caption {
    right: 12px;
    bottom: 12px;
    max-width: min(420px, calc(100% - 24px));
    padding: 10px 12px;
    background: linear-gradient(90deg, rgba(8, 40, 93, .88), rgba(9, 104, 216, .78));
    font-size: 13px;
    font-weight: 900;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.detail-gallery-open {
    top: 12px;
    right: 12px;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, .56);
    background: rgba(0, 0, 0, .42);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.detail-thumbs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 10px 10px;
    align-content: start;
}

.detail-gallery-side {
    display: grid;
    max-height: 520px;
    gap: 14px;
    align-content: start;
    padding-right: 4px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(9, 104, 216, .34) rgba(239, 247, 255, .72);
}

.detail-gallery-group {
    display: grid;
    gap: 8px;
}

.detail-gallery-group__head {
    display: flex;
    min-height: 28px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .36);
    border-radius: 3px;
    background: linear-gradient(90deg, rgba(8, 40, 93, .88), rgba(9, 104, 216, .78));
    padding: 0 8px;
    box-shadow: 0 10px 22px rgba(8, 40, 93, .14);
}

.detail-gallery-group__head h3 {
    margin: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
}

.detail-gallery-group__head span {
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.detail-thumb {
    position: relative;
    min-height: 0;
    aspect-ratio: 1 / 1;
    border: 1px solid rgba(11, 116, 209, .13);
    border-radius: 3px;
    background: #f8fcff;
    display: grid;
    place-items: center;
    color: #7b8da0;
    font-size: 12px;
    font-weight: 800;
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.detail-thumb--image img {
    transition: transform .22s ease, filter .22s ease;
}

.detail-thumb--image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 40, 93, 0) 45%, rgba(8, 40, 93, .42) 100%);
    opacity: .8;
    transition: opacity .18s ease;
}

.detail-thumb--image:hover {
    border-color: var(--blue);
    box-shadow: 0 10px 22px rgba(8, 40, 93, .16);
    transform: translateY(-1px);
}

.detail-thumb--image:hover img {
    transform: scale(1.05);
    filter: saturate(1.06);
}

.detail-thumb--image:hover::after {
    opacity: .45;
}

.detail-thumb--active {
    border-color: var(--red);
    box-shadow: inset 0 0 0 2px #fff, 0 10px 20px rgba(232, 74, 82, .18);
}

.detail-thumb-index {
    left: 8px;
    bottom: 8px;
    min-width: 22px;
    padding: 5px 7px;
    background: rgba(8, 40, 93, .78);
    font-size: 11px;
    font-weight: 900;
    text-align: center;
}

.gallery-note {
    margin: 14px 0 0;
    padding: 12px 14px;
    border: 1px solid rgba(11, 116, 209, .13);
    border-radius: 3px;
    background: #f8fcff;
    color: var(--asx-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.75;
}

.gallery-note p {
    margin: 0;
}

.gallery-note p + p {
    margin-top: 4px;
}

.article-gallery-lock {
    overflow: hidden;
}

.article-gallery-modal[hidden] {
    display: none;
}

.article-gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 28px;
    background: rgba(3, 17, 39, .84);
    backdrop-filter: blur(14px);
}

.article-gallery-modal__frame {
    position: relative;
    width: min(1120px, 100%);
    max-height: calc(100vh - 56px);
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 12px;
}

.article-gallery-modal__stage {
    position: relative;
    min-height: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 3px;
    background: #06162e;
    overflow: hidden;
    box-shadow: 0 24px 80px rgba(0, 0, 0, .38);
}

.article-gallery-modal__image {
    display: block;
    width: 100%;
    height: min(72vh, 760px);
    object-fit: contain;
    background: #06162e;
}

.article-gallery-modal__meta {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    pointer-events: none;
}

.article-gallery-modal__counter,
.article-gallery-modal__caption {
    border-radius: 3px;
    background: rgba(3, 17, 39, .78);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.45;
    backdrop-filter: blur(8px);
}

.article-gallery-modal__counter {
    flex: 0 0 auto;
    padding: 8px 10px;
}

.article-gallery-modal__caption {
    max-width: min(520px, 70%);
    padding: 8px 10px;
    overflow-wrap: anywhere;
    text-align: right;
}

.article-gallery-modal__close,
.article-gallery-modal__nav,
.article-gallery-modal__thumb {
    border-radius: 3px;
    cursor: pointer;
}

.article-gallery-modal__close,
.article-gallery-modal__nav {
    border: 1px solid rgba(255, 255, 255, .26);
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-weight: 900;
    transition: background .18s ease, border-color .18s ease, transform .18s ease;
}

.article-gallery-modal__close:hover,
.article-gallery-modal__nav:hover {
    border-color: rgba(255, 255, 255, .5);
    background: rgba(255, 255, 255, .18);
    transform: translateY(-1px);
}

.article-gallery-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    min-width: 76px;
    min-height: 38px;
    padding: 0 14px;
}

.article-gallery-modal__nav {
    position: absolute;
    top: 50%;
    z-index: 3;
    min-width: 70px;
    min-height: 42px;
    padding: 0 14px;
    transform: translateY(-50%);
}

.article-gallery-modal__nav:hover {
    transform: translateY(calc(-50% - 1px));
}

.article-gallery-modal__nav--prev {
    left: 12px;
}

.article-gallery-modal__nav--next {
    right: 12px;
}

.article-gallery-modal__thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    gap: 12px 8px;
    align-content: start;
    max-height: 132px;
    padding: 2px 2px 8px;
    overflow: auto;
}

.article-gallery-modal__thumb {
    aspect-ratio: 4 / 3;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .18);
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.article-gallery-modal__thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-gallery-modal__thumb:hover,
.article-gallery-modal__thumb.is-active {
    border-color: #fff;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .28);
    transform: translateY(-1px);
}

.summary-sidebar {
    position: sticky;
    top: 88px;
    display: grid;
    gap: 12px;
    align-self: start;
}

.summary-box {
    border: 1px solid rgba(11, 116, 209, .13);
    border-radius: 3px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(20, 75, 130, .1);
}

.summary-box h2 {
    margin: 0;
    padding: 13px 14px;
    background: linear-gradient(90deg, #f1f9ff, #fff);
    color: var(--asx-text);
    font-size: 15px;
    font-weight: 900;
}

.summary-box dl {
    margin: 0;
    display: grid;
    grid-template-columns: 92px 1fr;
}

.summary-box dt,
.summary-box dd {
    margin: 0;
    padding: 11px 12px;
    border-top: 1px solid #e7f0f8;
    font-size: 12px;
    line-height: 1.6;
}

.summary-box dt {
    background: #f8fcff;
    font-weight: 900;
    color: var(--asx-text);
}

.summary-box dd {
    color: #263f5c;
    overflow-wrap: anywhere;
}

.summary-contact-box {
    border: 1px solid rgba(11, 116, 209, .13);
    border-radius: 3px;
    padding: 14px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .97), rgba(246, 251, 255, .97)),
        radial-gradient(circle at 100% 0, rgba(9, 104, 216, .1), transparent 90px);
    box-shadow: 0 16px 40px rgba(20, 75, 130, .1);
}

.summary-contact-box h3 {
    margin: 0 0 8px;
    color: var(--navy);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.45;
}

.summary-contact-box p {
    margin: 0 0 12px;
    color: #405a77;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.7;
}

.summary-phone-button,
.summary-line-button,
.summary-contact-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 900;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.summary-phone-button {
    background: var(--red);
    color: #fff;
    box-shadow: 0 10px 20px rgba(232, 74, 82, .22);
}

.summary-phone-button:hover {
    background: #cf3942;
    box-shadow: 0 12px 24px rgba(232, 74, 82, .26);
    transform: translateY(-1px);
}

.summary-line-button {
    gap: 8px;
    margin-top: 8px;
    background: #06c755;
    color: #fff;
    box-shadow: 0 10px 20px rgba(6, 199, 85, .22);
}

.summary-line-button::before {
    content: "LINE";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 20px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .18);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0;
}

.summary-line-button:hover {
    background: #05b94f;
    box-shadow: 0 12px 24px rgba(6, 199, 85, .28);
    transform: translateY(-1px);
}

.summary-contact-link {
    margin-top: 8px;
    border: 1px solid rgba(9, 104, 216, .35);
    background: linear-gradient(90deg, var(--asx-cyan), var(--blue));
    color: #fff;
    box-shadow: 0 10px 24px rgba(9, 104, 216, .2);
}

.summary-contact-link:hover {
    border-color: rgba(9, 104, 216, .58);
    background: linear-gradient(90deg, #0aa9d2, #0757bf);
    transform: translateY(-1px);
}

.summary-contact-link--sub {
    border-color: rgba(8, 40, 93, .18);
    background: #fff;
    color: var(--blue);
    box-shadow: 0 8px 18px rgba(8, 40, 93, .08);
}

.summary-contact-link--sub:hover {
    border-color: rgba(9, 104, 216, .36);
    background: #eef7ff;
    color: var(--blue);
}

.room-detail .detail-main-photo--layout {
    background: #fff;
}

.room-detail .detail-main-photo--layout img {
    object-fit: contain;
    padding: 14px;
}

.detail-section-title {
    position: relative;
    margin: 34px 0 14px;
    padding: 0 0 0 14px;
    border: 0;
    background: transparent;
    color: var(--asx-text);
    font-size: 21px;
    font-weight: 900;
    line-height: 1.35;
}

.detail-section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: .12em;
    width: 5px;
    height: 1.1em;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--asx-cyan), var(--blue));
}

.vacancy-summary {
    margin: 0 0 14px;
    padding: 14px;
    border: 1px solid rgba(11, 116, 209, .13);
    border-radius: 3px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(246, 251, 255, .98)),
        radial-gradient(circle at 100% 0, rgba(16, 184, 206, .1), transparent 140px);
    box-shadow: 0 14px 32px rgba(20, 75, 130, .07);
}

.vacancy-summary p {
    margin: 0 0 12px;
    color: var(--asx-text);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.8;
}

.vacancy-summary dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.vacancy-summary div {
    min-width: 0;
    border: 1px solid #e1edf7;
    border-radius: 3px;
    background: #fff;
    padding: 9px 10px;
}

.vacancy-summary dt,
.vacancy-summary dd {
    margin: 0;
    line-height: 1.45;
}

.vacancy-summary dt {
    color: var(--asx-muted);
    font-size: 11px;
    font-weight: 800;
}

.vacancy-summary dd {
    margin-top: 3px;
    color: var(--navy);
    font-size: 13px;
    font-weight: 900;
    overflow-wrap: anywhere;
}

.article-room-list {
    display: grid;
    gap: 12px;
    padding: 12px 14px 16px;
    border: 1px solid rgba(11, 116, 209, .13);
    border-radius: 3px;
    background: #f3f7fa;
    box-shadow: 0 14px 32px rgba(20, 75, 130, .07);
}

.article-room-more {
    display: flex;
    justify-content: center;
    margin: 14px 0 22px;
}

.article-room-more__button {
    min-width: min(100%, 280px);
    min-height: 46px;
    border: 1px solid rgba(9, 104, 216, .35);
    border-radius: 3px;
    background: linear-gradient(135deg, #0b74d1 0%, #05a4e8 100%);
    color: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 12px 24px rgba(9, 104, 216, .2);
    transition: transform .16s ease, box-shadow .16s ease, opacity .16s ease;
}

.article-room-more__button:hover {
    box-shadow: 0 16px 30px rgba(9, 104, 216, .28);
    transform: translateY(-1px);
}

.article-room-more__button.is-expanded {
    border-color: rgba(8, 40, 93, .22);
    background: #fff;
    color: #0968d8;
    box-shadow: 0 8px 18px rgba(8, 40, 93, .08);
}

.article-room-more__button.is-expanded:hover {
    background: #eef7ff;
    box-shadow: 0 12px 24px rgba(9, 104, 216, .16);
}

.article-room-more__button:focus-visible {
    outline: 3px solid rgba(9, 104, 216, .28);
    outline-offset: 3px;
}

.search-room-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 122px;
    gap: 12px;
    align-items: stretch;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 8px 18px rgba(8, 40, 93, .06);
}

.search-room-card__content {
    min-width: 0;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: auto auto;
    gap: 10px 14px;
    padding: 14px 16px;
}

.search-room-plan {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 112px;
    aspect-ratio: 1 / 1;
    display: grid;
    place-items: center;
    align-self: center;
    overflow: hidden;
    border: 1px solid #d8e7f2;
    border-radius: 3px;
    background: #f8fcff;
    color: #7a8aa0;
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.search-room-plan img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: transform .18s ease;
}

.search-room-plan:hover {
    border-color: #0968d8;
    box-shadow: 0 8px 18px rgba(9, 104, 216, .18);
    transform: translateY(-1px);
}

.search-room-plan:hover img {
    transform: scale(1.05);
}

.search-room-card__main,
.search-room-card__sub {
    grid-column: 2;
    display: grid;
    gap: 8px 32px;
    margin: 0;
}

.search-room-card__main {
    grid-template-columns: fit-content(120px) fit-content(120px) fit-content(120px) minmax(max-content, 1fr);
    align-items: center;
    padding: 0;
    background: #fff;
}

.search-room-card__sub {
    grid-template-columns: fit-content(72px) fit-content(90px) fit-content(116px) fit-content(72px) fit-content(108px);
    gap: 8px 32px;
    padding: 10px 0 0;
    border-top: 1px dotted #b9d5e8;
    background: transparent;
}

.search-room-actions {
    min-width: 0;
    min-height: 100%;
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    align-self: stretch;
    padding: 12px 12px 12px 0;
}

.search-room-detail-btn,
.search-contact-btn,
.search-room-line-btn,
.search-favorite-btn {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
    padding: 0 12px;
    font-size: 13px;
    font-weight: 900;
    text-align: center;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease, opacity .16s ease;
}

.search-room-detail-btn {
    display: none;
    background: #0968d8;
    color: #fff;
    box-shadow: 0 10px 20px rgba(9, 104, 216, .2);
}

.search-room-detail-btn:hover,
.search-room-detail-btn:focus-visible {
    background: #0757b8;
    color: #fff;
    box-shadow: 0 10px 20px rgba(9, 104, 216, .26);
    transform: translateY(-1px);
}

.search-contact-btn {
    background: #e84a52;
    color: #fff;
}

.search-contact-btn:hover,
.search-contact-btn:focus-visible {
    background: #cf3942;
    color: #fff;
    box-shadow: 0 10px 20px rgba(232, 74, 82, .24);
    transform: translateY(-1px);
}

.search-room-line-btn {
    background: #06c755;
    color: #fff;
    box-shadow: 0 10px 20px rgba(6, 199, 85, .18);
}

.search-favorite-btn {
    border: 1px solid #b9d5e8;
    background: #fff;
    color: #0968d8;
}

.search-favorite-btn:hover {
    border-color: #0968d8;
    background: #eef7ff;
    color: #0968d8;
    box-shadow: 0 8px 18px rgba(9, 104, 216, .14);
    transform: translateY(-1px);
}

.search-favorite-btn.is-loading {
    opacity: .7;
    pointer-events: none;
}

.search-favorite-btn.is-added {
    border-color: #18a87d;
    background: #ecfdf5;
    color: #0b7f5c;
}

.search-favorite-btn.has-error {
    border-color: #e84a52;
    color: #e84a52;
}

.search-room-card dl div {
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

.search-room-card dt {
    display: block;
    margin-bottom: 4px;
    color: #9aa7b5;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
}

.search-room-card dd {
    margin: 0;
    color: #26364a;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.search-room-card__main dd {
    color: #182a3f;
    font-size: 16px;
    font-weight: 900;
    line-height: 1.25;
}

.search-room-card__sub dd {
    color: #516176;
    font-size: clamp(13px, 1.4vw, 16px);
    font-weight: 900;
    line-height: 1.25;
    white-space: nowrap;
}

.search-room-card__sub .search-room-floor dd {
    color: #075fc7;
}

.search-room-card__sub .search-room-layout dd {
    color: #6d28d9;
}

.search-room-card__sub .search-room-area dd {
    color: #047857;
}

.search-room-card__sub .search-room-direction dd {
    color: #c2410c;
}

.search-room-card__sub .search-room-updated dd {
    color: #111;
}

.search-room-rent dd {
    color: #f43f5e;
}

.search-room-fee dd {
    color: #0968d8;
}

.search-room-brokerage dd {
    color: #ea580c;
}

.article-room-empty {
    padding: 24px;
    border-radius: 3px;
    background: #fff;
    color: var(--asx-muted);
    font-size: 13px;
    font-weight: 900;
    text-align: center;
}

.detail-data-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    background: #fff;
    border-radius: 3px;
    box-shadow: 0 14px 32px rgba(20, 75, 130, .06);
    overflow: hidden;
}

.detail-data-table th,
.detail-data-table td {
    border: 1px solid #e1edf7;
    padding: 11px 13px;
    text-align: left;
    vertical-align: top;
    line-height: 1.65;
    font-size: 13px;
}

.detail-data-table th {
    width: 140px;
    background: #f8fcff;
    color: var(--asx-text);
}

.detail-data-table td {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.detail-data-table__spec-row td {
    padding: 0;
}

.detail-data-table__spec-row--top td {
    border-top-width: 8px;
}

.detail-spec-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 0;
}

.detail-spec-list__item {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    min-width: 0;
}

.detail-spec-list__item:not(:last-child) {
    border-right: 1px solid #e1edf7;
}

.detail-spec-list dt,
.detail-spec-list dd {
    margin: 0;
    padding: 11px 13px;
    line-height: 1.65;
    font-size: 13px;
}

.detail-spec-list dt {
    background: #f8fcff;
    color: var(--asx-text);
    font-weight: 700;
}

.detail-spec-list dd {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.equipment-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border: 1px solid rgba(11, 116, 209, .13);
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(20, 75, 130, .06);
}

.equipment-category {
    display: grid;
    align-content: start;
    gap: 12px;
    min-width: 0;
    border: 1px solid rgba(11, 116, 209, .13);
    border-radius: 3px;
    background: #f8fcff;
    padding: 12px;
}

.equipment-category--empty {
    grid-column: 1 / -1;
}

.equipment-category__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.equipment-category__head h3 {
    margin: 0;
    color: var(--asx-deep);
    font-size: 14px;
    font-weight: 900;
    line-height: 1.3;
}

.equipment-category__head span {
    display: inline-flex;
    min-height: 22px;
    align-items: center;
    border-radius: 3px;
    background: #eef7ff;
    color: var(--blue);
    padding: 0 8px;
    font-size: 11px;
    font-weight: 900;
    white-space: nowrap;
}

.equipment-category__groups {
    display: grid;
    gap: 10px;
}

.equipment-subcategory {
    display: grid;
    gap: 8px;
    border-radius: 3px;
    background: #fff;
    padding: 10px;
}

.equipment-subcategory h4 {
    margin: 0;
    color: #4f647c;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.35;
}

.equipment-category__items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.equipment-category__items span {
    padding: 7px 10px;
    border: 1px solid rgba(11, 116, 209, .16);
    border-radius: 3px;
    background: #fff;
    color: var(--asx-text);
    font-size: 12px;
    font-weight: 800;
}

.evaluation-box {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 0;
    border: 1px solid rgba(11, 116, 209, .13);
    border-radius: 3px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 14px 32px rgba(20, 75, 130, .06);
}

.evaluation-total {
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 18px;
    background: linear-gradient(180deg, #f8fcff, #edf8ff);
    color: var(--asx-text);
}

.evaluation-total span {
    font-size: 12px;
    font-weight: 900;
}

.evaluation-total strong {
    color: var(--blue);
    font-size: 34px;
    line-height: 1;
}

.evaluation-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
}

.evaluation-list div {
    display: grid;
    gap: 4px;
    align-content: center;
    min-width: 0;
    padding: 16px;
    border-left: 1px solid #e1edf7;
}

.evaluation-list dt,
.evaluation-list dd {
    margin: 0;
}

.evaluation-list dt {
    color: var(--asx-muted);
    font-size: 12px;
    font-weight: 900;
}

.evaluation-list dd {
    color: var(--asx-text);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.1;
}

.market-panel {
    display: grid;
    gap: 14px;
}

.market-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.market-summary div {
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(11, 116, 209, .13);
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(20, 75, 130, .06);
}

.market-summary span {
    display: block;
    color: var(--asx-muted);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.5;
}

.market-summary strong {
    display: block;
    margin-top: 4px;
    color: var(--navy);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.1;
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.market-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(11, 116, 209, .13);
    border-radius: 3px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 252, 255, .98)),
        radial-gradient(circle at 100% 0, rgba(16, 184, 206, .12), transparent 190px);
    box-shadow: 0 18px 38px rgba(20, 75, 130, .09);
}

.market-card--wide {
    grid-column: 1 / -1;
}

.market-card__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 12px;
}

.market-card__head h3 {
    margin: 0 0 5px;
    color: var(--navy);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.45;
}

.market-card-title-stacked {
    display: grid;
    gap: 0;
}

.market-card-title-stacked span {
    display: block;
    white-space: nowrap;
}

.market-card__head p {
    max-width: 440px;
    margin: 0;
    color: var(--asx-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.7;
}

.market-chart-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 10px;
}

.market-chart-stats span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    border: 1px solid rgba(9, 104, 216, .14);
    border-radius: 3px;
    background: #fff;
    padding: 4px 9px;
    color: var(--asx-muted);
    font-size: 11px;
    font-weight: 900;
}

.market-chart-stats strong {
    color: var(--navy);
    font-size: 12px;
}

.market-scatter {
    position: relative;
    height: 390px;
    padding: 14px;
    border: 1px solid rgba(9, 104, 216, .13);
    border-radius: 3px;
    background:
        linear-gradient(180deg, #fff, #f7fbff),
        radial-gradient(circle at 88% 10%, rgba(232, 74, 82, .08), transparent 150px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
}

.market-scatter__canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.market-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
    color: var(--asx-muted);
    font-size: 12px;
    font-weight: 900;
}

.market-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.market-legend__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(9, 104, 216, .72);
    box-shadow: 0 0 0 3px rgba(9, 104, 216, .09);
}

.market-legend__dot--target {
    background: var(--red);
    box-shadow: 0 0 0 3px rgba(232, 74, 82, .12);
}

.market-table-wrap {
    margin-top: 12px;
    overflow-x: auto;
    border: 1px solid #e1edf7;
    border-radius: 3px;
}

.market-table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
    background: #fff;
}

.market-table th,
.market-table td {
    padding: 9px 10px;
    border-top: 1px solid #e7f0f8;
    font-size: 12px;
    line-height: 1.5;
    text-align: left;
}

.market-table th {
    border-top: 0;
    background: #f8fcff;
    color: var(--asx-text);
    font-weight: 900;
}

.market-table td {
    color: #263f5c;
    font-weight: 700;
}

.market-table tr.is-target td {
    background: #fff7f7;
    color: var(--navy);
}

.market-bars {
    display: grid;
    gap: 10px;
}

.market-bar-row {
    display: grid;
    grid-template-columns: minmax(104px, 1fr) minmax(120px, 2fr) 86px;
    gap: 9px;
    align-items: center;
}

.market-bars--facilities .market-bar-row {
    grid-template-columns: minmax(160px, 1.4fr) minmax(120px, 2fr) 64px;
}

.market-bar-row__label {
    color: var(--asx-text);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.market-facility-status {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    margin-left: 6px;
    border-radius: 3px;
    padding: 2px 7px;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
}

.market-facility-status.is-included {
    background: #ecfdf5;
    color: #047857;
}

.market-facility-status.is-missing {
    background: #fff1f2;
    color: #e11d48;
}

.market-bar-row__value {
    color: var(--asx-muted);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.45;
    text-align: right;
}

.market-bar {
    display: block;
    width: 100%;
    height: 12px;
}

.market-bar__track {
    fill: #edf5fb;
}

.market-bar__fill {
    fill: var(--blue);
}

.market-bar__fill.is-target {
    fill: #10b981;
}

.market-bar__fill.is-missing {
    fill: #f43f5e;
}

.editor-box {
    margin-top: 12px;
    padding: 16px;
    border: 1px solid rgba(11, 116, 209, .13);
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(20, 75, 130, .06);
}

.editor-box__label {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 3px;
    background: #f0f9ff;
    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
}

.editor-box h3 {
    margin: 10px 0;
    color: var(--asx-text);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.45;
}

.editor-box dl {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.editor-box dl div {
    min-width: 0;
    padding: 10px;
    border: 1px solid #e1edf7;
    border-radius: 3px;
    background: #f8fcff;
}

.editor-box dt,
.editor-box dd,
.editor-box p {
    margin: 0;
}

.editor-box dt {
    color: var(--asx-muted);
    font-size: 11px;
    font-weight: 900;
}

.editor-box dd {
    margin-top: 4px;
    color: var(--asx-text);
    font-size: 13px;
    font-weight: 800;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.editor-box p {
    margin-top: 10px;
    color: var(--asx-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.75;
}

.detail-school-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.detail-school-card {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(11, 116, 209, .13);
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(20, 75, 130, .06);
}

.detail-school-card__image {
    width: 100%;
    aspect-ratio: 99 / 64;
    margin-bottom: 12px;
    border-radius: 3px;
    object-fit: cover;
    background: #eef3f6;
}

.detail-school-card__type {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 3px;
    background: #f0f9ff;
    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
}

.detail-school-card h3 {
    margin: 10px 0 8px;
    color: var(--asx-text);
    font-size: 17px;
    font-weight: 900;
    line-height: 1.45;
}

.detail-school-card a {
    display: inline-block;
    max-width: 100%;
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.detail-school-card p {
    margin: 8px 0 0;
    color: var(--asx-muted);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.75;
}

.detail-school-card__description {
    position: relative;
    max-height: 9.1em;
    margin-top: 8px;
    overflow: hidden;
    transition: max-height .24s ease;
}

.detail-school-card__description::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 3.6em;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff 78%);
    pointer-events: none;
}

.detail-school-card__description.is-expanded {
    max-height: 80em;
}

.detail-school-card__description.is-expanded::after {
    opacity: 0;
}

.detail-school-card__description p:first-child {
    margin-top: 0;
}

.detail-school-card__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    margin-top: 12px;
    border: 1px solid rgba(9, 104, 216, .22);
    border-radius: 3px;
    background: #f7fbff;
    padding: 0 12px;
    color: var(--blue);
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
}

.detail-school-card__toggle:hover,
.detail-school-card__toggle:focus-visible {
    border-color: rgba(9, 104, 216, .42);
    background: #eef7ff;
}

.similar-articles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.similar-article-card {
    min-width: 0;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    overflow: hidden;
    border: 1px solid rgba(11, 116, 209, .13);
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 14px 32px rgba(20, 75, 130, .06);
}

.similar-article-card__image {
    position: relative;
    display: grid;
    min-height: 100%;
    place-items: center;
    overflow: hidden;
    background: #edf5fb;
    color: var(--asx-muted);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.similar-article-card__image img {
    width: 100%;
    height: 100%;
    min-height: 170px;
    object-fit: cover;
    transition: transform .2s ease;
}

.similar-article-card__image:hover img,
.similar-article-card__image:focus-visible img {
    transform: scale(1.04);
}

.similar-article-card__image b {
    position: absolute;
    left: 10px;
    top: 10px;
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    border-radius: 3px;
    padding: 0 8px;
    background: linear-gradient(135deg, #0b74d1, #05a4e8);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    box-shadow: 0 8px 16px rgba(9, 104, 216, .18);
}

.similar-article-card__body {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 10px;
    padding: 14px;
}

.similar-article-card h3 {
    margin: 0;
    color: var(--asx-text);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.45;
}

.similar-article-card h3 a {
    color: inherit;
    text-decoration: none;
}

.similar-article-card h3 a:hover,
.similar-article-card h3 a:focus-visible {
    color: var(--blue);
}

.similar-article-card p {
    margin: 0;
    color: var(--asx-muted);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.similar-article-card dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
}

.similar-article-card dl div {
    min-width: 0;
    border-radius: 3px;
    background: #f5f9fc;
    padding: 8px;
}

.similar-article-card dt,
.similar-article-card dd {
    margin: 0;
}

.similar-article-card dt {
    color: var(--asx-muted);
    font-size: 10px;
    font-weight: 900;
}

.similar-article-card dd {
    margin-top: 3px;
    color: var(--asx-text);
    font-size: 12px;
    font-weight: 900;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.similar-article-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.similar-article-card__meta span {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    border: 1px solid rgba(9, 104, 216, .16);
    border-radius: 3px;
    background: #fff;
    padding: 0 8px;
    color: var(--blue);
    font-size: 11px;
    font-weight: 900;
}

.note-list {
    margin: 0;
    padding: 16px 20px 16px 34px;
    border: 1px solid rgba(255, 201, 40, .28);
    border-radius: 3px;
    background: #fff;
    color: var(--asx-muted);
    line-height: 1.8;
    font-size: 13px;
}

.note-list__highlight {
    color: #ea580c;
    font-weight: 900;
}

.contact-strip {
    border: 1px solid rgba(11, 116, 209, .13);
    border-radius: 3px;
    background: linear-gradient(90deg, #fff, #f2fbff);
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 18px 0;
    box-shadow: 0 14px 32px rgba(20, 75, 130, .06);
}

.contact-strip--with-line {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ricoh360-box,
.youtube-box {
    display: grid;
    gap: 14px;
}

.ricoh360-viewer,
.youtube-viewer {
    min-width: 0;
    padding: 14px;
    border: 1px solid rgba(11, 116, 209, .13);
    border-radius: 3px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .98), rgba(247, 252, 255, .98)),
        radial-gradient(circle at 100% 0, rgba(16, 184, 206, .12), transparent 190px);
    box-shadow: 0 14px 32px rgba(20, 75, 130, .07);
}

.ricoh360-viewer h3,
.youtube-viewer h3 {
    margin: 0 0 10px;
    color: var(--navy);
    font-size: 16px;
    font-weight: 900;
    line-height: 1.45;
}

.ricoh360-viewer__frame,
.youtube-viewer__frame {
    display: block;
    width: 100%;
    min-height: 430px;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: 3px;
    background: #eef3f6;
}

.primary-btn,
.secondary-btn,
.line-btn {
    min-height: 48px;
    border-radius: 3px;
    padding: 0 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: 100%;
    border: 0;
    text-align: center;
    white-space: normal;
    line-height: 1.35;
    font-weight: 900;
    transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}

.primary-btn {
    background: var(--red);
    color: #fff;
    box-shadow: 0 12px 24px rgba(232, 74, 82, .22);
}

.secondary-btn {
    border: 1px solid rgba(9, 104, 216, .35);
    background: linear-gradient(90deg, var(--asx-cyan), var(--blue));
    color: #fff;
    box-shadow: 0 12px 24px rgba(9, 104, 216, .2);
}

.line-btn {
    background: #06c755;
    color: #fff;
    box-shadow: 0 12px 24px rgba(6, 199, 85, .22);
}

.primary-btn:hover,
.primary-btn:focus-visible {
    background: #cf3942;
    color: #fff;
    box-shadow: 0 12px 24px rgba(232, 74, 82, .26);
    transform: translateY(-1px);
    outline: none;
}

.secondary-btn:hover,
.secondary-btn:focus-visible {
    border-color: rgba(9, 104, 216, .58);
    background: linear-gradient(90deg, #0aa9d2, #0757bf);
    color: #fff;
    box-shadow: 0 12px 24px rgba(9, 104, 216, .26);
    transform: translateY(-1px);
    outline: none;
}

.line-btn:hover,
.line-btn:focus-visible {
    background: #05b94f;
    color: #fff;
    box-shadow: 0 12px 24px rgba(6, 199, 85, .28);
    transform: translateY(-1px);
    outline: none;
}

.school-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.school-card {
    border: 1px solid rgba(11, 116, 209, .13);
    border-radius: 3px;
    background: #fff;
    padding: 14px;
    box-shadow: 0 12px 28px rgba(20, 75, 130, .06);
}

.school-card h3 {
    margin: 0 0 8px;
    color: var(--asx-text);
    font-size: 16px;
    font-weight: 800;
}

.school-card p {
    margin: 0;
    color: var(--asx-muted);
    line-height: 1.7;
    font-size: 13px;
    font-weight: 700;
}

.company-map {
    position: relative;
    left: 50%;
    width: 100vw;
    height: 480px;
    margin: 56px 0 -62px;
    transform: translateX(-50%);
    border-top: 1px solid #d8e2ea;
    border-bottom: 1px solid #d8e2ea;
    background: #e8f2f8;
    overflow: hidden;
}

.company-map__canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.company-map .leaflet-container {
    width: 100%;
    height: 100%;
    font-family: inherit;
}

.company-map .leaflet-control-container {
    font-family: inherit;
}

@media (max-width: 900px) {
    .detail-wire {
        background-image: url('/img/articles/section-bg-map-mobile.webp?v=20260526-mobile');
        background-position: center top;
        background-size: 100% auto;
        background-repeat: repeat-y;
        background-attachment: fixed;
    }

    .detail-hero {
        min-height: 220px;
    }

    .detail-hero .wrap {
        min-height: 220px;
    }

    .detail-hero__content {
        padding: 30px 0 44px;
    }

    .detail-wrap {
        width: min(100% - 28px, 1120px);
    }

    .detail-anchor-nav {
        flex-wrap: nowrap;
        margin: -42px 0 20px;
        overflow-x: auto;
    }

    .detail-anchor-nav a {
        flex: 0 0 auto;
    }

    .detail-seo-grid,
    .detail-main,
    .detail-gallery,
    .contact-strip,
    .vacancy-summary dl,
    .evaluation-box,
    .equipment-list,
    .market-summary,
    .market-grid,
    .detail-school-grid,
    .similar-articles,
    .school-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .similar-article-card {
        grid-template-columns: minmax(0, 1fr);
    }

    .similar-article-card__image img {
        min-height: 220px;
    }

    .market-card--wide {
        grid-column: auto;
    }

    .market-card__head {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .market-scatter__canvas {
        height: 100%;
    }

    .market-scatter {
        height: 310px;
    }

    .market-bar-row,
    .market-bars--facilities .market-bar-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .market-bar-row__value {
        text-align: left;
    }

    .ricoh360-viewer__frame,
    .youtube-viewer__frame {
        min-height: 300px;
    }

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

    .evaluation-list div {
        border-top: 1px solid #e1edf7;
    }

    .evaluation-list div:nth-child(odd) {
        border-left: 0;
    }

    .editor-box dl {
        grid-template-columns: minmax(0, 1fr);
    }

    .detail-data-table,
    .detail-data-table tbody,
    .detail-data-table tr,
    .detail-data-table th,
    .detail-data-table td {
        display: block;
        width: 100%;
    }

    .detail-data-table th {
        border-bottom: 0;
    }

    .detail-spec-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .detail-spec-list__item {
        display: block;
    }

    .detail-spec-list__item:not(:last-child) {
        border-right: 1px solid #e1edf7;
    }

    .detail-spec-list dt,
    .detail-spec-list dd {
        padding: 10px 8px;
        font-size: 12px;
    }

    .search-room-card {
        grid-template-columns: minmax(92px, 112px) minmax(0, 1fr);
        gap: 12px;
        align-items: start;
        padding: 14px;
    }

    .search-room-card__content {
        display: contents;
    }

    .search-room-plan {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        align-self: start;
    }

    .search-room-card__main,
    .search-room-card__sub {
        grid-column: 2;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .search-room-card__main {
        grid-row: 1;
    }

    .search-room-card__sub {
        grid-row: 2;
        padding-top: 0;
        border-top: 0;
    }

    .search-room-rent {
        grid-column: 1 / -1;
    }

    .article-room-list .search-room-deposit {
        grid-column: 1 / -1;
    }

    .search-room-actions {
        grid-column: 1;
        grid-row: 2;
        min-height: 40px;
        grid-template-rows: auto auto auto;
        align-self: start;
        padding: 0;
    }

    .search-room-detail-btn {
        display: inline-flex;
    }

    .summary-sidebar {
        position: static;
    }

    .detail-main-photo {
        min-height: 0;
        aspect-ratio: 16 / 11;
    }

    .detail-gallery-side {
        max-height: none;
        padding-right: 0;
        overflow: visible;
    }

    .detail-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .detail-hero h1 {
        font-size: 22px;
    }

    .detail-hero__address {
        font-size: 14px;
    }

    .company-map {
        height: 360px;
    }

}

@media (max-width: 640px) {
    .detail-gallery {
        gap: 8px;
    }

    .detail-main-photo {
        aspect-ratio: 4 / 3;
    }

    .detail-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 8px;
        row-gap: 12px;
    }

    .detail-gallery-caption {
        left: 10px;
        right: 10px;
        bottom: 10px;
        max-width: none;
    }

    .detail-gallery-open {
        top: auto;
        right: 10px;
        bottom: 56px;
    }

    .article-gallery-modal {
        padding: 12px;
    }

    .article-gallery-modal__frame {
        max-height: calc(100vh - 24px);
    }

    .article-gallery-modal__image {
        height: min(68vh, 620px);
    }

    .article-gallery-modal__meta {
        left: 10px;
        right: 10px;
        bottom: 10px;
        align-items: flex-end;
    }

    .article-gallery-modal__caption {
        max-width: 68%;
    }

    .article-gallery-modal__nav {
        top: auto;
        bottom: 12px;
        min-width: 64px;
        min-height: 38px;
        transform: none;
    }

    .article-gallery-modal__nav:hover {
        transform: translateY(-1px);
    }

    .article-gallery-modal__thumbs {
        max-height: 112px;
        grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
        gap: 10px 8px;
    }
}
